Package com.wowza.wms.transport.mpeg2
Class MPEG2VideoPacketProcessor
- Object
-
- com.wowza.wms.transport.mpeg2.MPEG2PESPacketProcessor
-
- com.wowza.wms.transport.mpeg2.MPEG2VideoPacketProcessor
-
- All Implemented Interfaces:
IMPEG2PacketProcessor
public class MPEG2VideoPacketProcessor extends MPEG2PESPacketProcessor
The Class mpeg2VideoPacketProcessor.
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2PESPacketProcessor
continuityCounter, continuityError, currentPacket, INVALID, listener, pesPacket, PID
-
-
Constructor Summary
Constructors Constructor Description MPEG2VideoPacketProcessor(int PID, IMPEG2StreamListener listener)
Instantiates a new mpeg2 video packet processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handlePESData(int length, MPEG2PESPacket.PESHeader header)
Handle pes data.-
Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2PESPacketProcessor
checkContinuity, findPESHeader, getCodec, notifyAdaptationHeaders, processMpeg2Buffer, processMpeg2Packet, processPESHeader, setCodec
-
-
-
-
Constructor Detail
-
MPEG2VideoPacketProcessor
public MPEG2VideoPacketProcessor(int PID, IMPEG2StreamListener listener)
Instantiates a new mpeg2 video packet processor.- Parameters:
PID
- the pidlistener
- the listener
-
-
Method Detail
-
handlePESData
public void handlePESData(int length, MPEG2PESPacket.PESHeader header)
Description copied from class:MPEG2PESPacketProcessor
Handle pes data.- Specified by:
handlePESData
in classMPEG2PESPacketProcessor
- Parameters:
length
- the lengthheader
- the header
-
-