Interface ElementaryStreamReader

    • Method Detail

      • seek

        void seek()
        Deprecated.
        Notifies the reader that a seek has occurred.
      • packetStarted

        void packetStarted​(long pesTimeUs,
                           @com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Flags int flags)
        Deprecated.
        Called when a packet starts.
        Parameters:
        pesTimeUs - The timestamp associated with the packet.
        flags - See TsPayloadReader.Flags.
      • consume

        void consume​(ParsableByteArray data)
              throws ParserException
        Deprecated.
        Consumes (possibly partial) data from the current packet.
        Parameters:
        data - The data to consume.
        Throws:
        ParserException - If the data could not be parsed.
      • packetFinished

        void packetFinished()
        Deprecated.
        Called when a packet ends.