|Constructor and Description|
|Modifier and Type||Method and Description|
Consumes the payload of a TS packet.
Initializes the payload reader.
Notifies the reader that a seek has occurred.
public SectionReader(SectionPayloadReader reader)
public void init(TimestampAdjuster timestampAdjuster, ExtractorOutput extractorOutput, TsPayloadReader.TrackIdGenerator idGenerator)
timestampAdjuster- A timestamp adjuster for offsetting and scaling sample timestamps.
ExtractorOutputthat receives the extracted data.
PesReader.TrackIdGeneratorthat generates unique track ids for the
public void seek()
Following a call to this method, the data passed to the next invocation of
will not be a continuation of the data that was previously passed. Hence the reader should
reset any internal state.