SectionPayloadReader
@UnstableApi
interface SectionPayloadReader
PassthroughSectionPayloadReader |
A |
Reads section data.
Summary
Public functions |
|
---|---|
Unit |
consume(sectionData: ParsableByteArray!) Called by a |
Unit |
init( Initializes the section payload reader. |
Public functions
consume
fun consume(sectionData: ParsableByteArray!): Unit
Called by a SectionReader
when a full section is received.
Parameters | |
---|---|
sectionData: ParsableByteArray! |
The data belonging to a section starting from the table_id. If section_syntax_indicator is set to '1', |
init
fun init(
timestampAdjuster: TimestampAdjuster!,
extractorOutput: ExtractorOutput!,
idGenerator: TsPayloadReader.TrackIdGenerator!
): Unit
Initializes the section payload reader.
Parameters | |
---|---|
timestampAdjuster: TimestampAdjuster! |
A timestamp adjuster for offsetting and scaling sample timestamps. |
extractorOutput: ExtractorOutput! |
The |
idGenerator: TsPayloadReader.TrackIdGenerator! |
A |