Class MPEG2PESPacketProcessor

    • Constructor Detail

      • MPEG2PESPacketProcessor

        public MPEG2PESPacketProcessor()
    • Method Detail

      • setCodec

        public void setCodec​(int codec)
      • getCodec

        public int getCodec()
      • handlePESData

        public abstract void handlePESData​(int length,
                                           MPEG2PESPacket.PESHeader header)
        Handle pes data.
        Parameters:
        length - the length
        header - the header
      • checkContinuity

        public void checkContinuity()
        Check continuity.
      • findPESHeader

        public int findPESHeader()
        Find pes header.
        Returns:
        the int