public final class SpliceInfoSectionReader extends java.lang.Object implements SectionPayloadReader
| Constructor and Description |
|---|
SpliceInfoSectionReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(ParsableByteArray sectionData)
Called by a
SectionReader when a full section is received. |
void |
init(TimestampAdjuster timestampAdjuster,
ExtractorOutput extractorOutput,
TsPayloadReader.TrackIdGenerator idGenerator)
Initializes the section payload reader.
|
public void init(TimestampAdjuster timestampAdjuster, ExtractorOutput extractorOutput, TsPayloadReader.TrackIdGenerator idGenerator)
SectionPayloadReaderinit in interface SectionPayloadReadertimestampAdjuster - A timestamp adjuster for offsetting and scaling sample timestamps.extractorOutput - The ExtractorOutput that receives the extracted data.idGenerator - A PesReader.TrackIdGenerator that generates unique track ids for the
TrackOutputs.public void consume(ParsableByteArray sectionData)
SectionPayloadReaderSectionReader when a full section is received.consume in interface SectionPayloadReadersectionData - The data belonging to a section starting from the table_id. If
section_syntax_indicator is set to '1', sectionData excludes the CRC_32 field.
Otherwise, all bytes belonging to the table section are included.