SeiReader
@UnstableApi
class SeiReader
Consumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.
Summary
Public constructors |
|---|
Public functions |
|
|---|---|
Unit |
clear()Drops any 'buffered for re-ordering' messages. |
Unit |
consume(pesTimeUs: Long, seiBuffer: ParsableByteArray!) |
Unit |
createTracks( |
Unit |
flush()Immediately passes any 'buffered for re-ordering' messages to the |
Unit |
setReorderingQueueSize(reorderingQueueSize: Int)Sets the maximum number of SEI buffers that need to be kept in order to re-order from decode to presentation order. |
Public constructors
Public functions
createTracks
fun createTracks(
extractorOutput: ExtractorOutput!,
idGenerator: TsPayloadReader.TrackIdGenerator!
): Unit
flush
fun flush(): Unit
Immediately passes any 'buffered for re-ordering' messages to the outputs passed to the constructor, using consume.
setReorderingQueueSize
fun setReorderingQueueSize(reorderingQueueSize: Int): Unit
Sets the maximum number of SEI buffers that need to be kept in order to re-order from decode to presentation order.