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