Back to Exoplayer

SeiReader (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/ts/SeiReader.html

latest2.8 KB
Original Source

Package com.google.android.exoplayer2.extractor.ts

Class SeiReader


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classSeiReaderextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Consumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | SeiReader​(List<Format> closedCaptionFormats) | Deprecated. |

Method Summary

All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | consume​(long pesTimeUs, ParsableByteArray seiBuffer) | Deprecated. | | void | createTracks​(ExtractorOutput extractorOutput, TsPayloadReader.TrackIdGenerator idGenerator) | Deprecated. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

- 

SeiReader

public SeiReader​([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Format](../../Format.html "class in com.google.android.exoplayer2")> closedCaptionFormats)

Deprecated. Parameters:closedCaptionFormats - A list of formats for the closed caption channels to expose.

Method Detail

- 

createTracks

public void createTracks​([ExtractorOutput](../ExtractorOutput.html "interface in com.google.android.exoplayer2.extractor")extractorOutput,[TsPayloadReader.TrackIdGenerator](TsPayloadReader.TrackIdGenerator.html "class in com.google.android.exoplayer2.extractor.ts")idGenerator)

Deprecated.

- 

consume

public void consume​(long pesTimeUs,[ParsableByteArray](../../util/ParsableByteArray.html "class in com.google.android.exoplayer2.util")seiBuffer)

Deprecated.