Package com.wowza.wms.transport.mpeg2
Class MPEG2AudioPacketProcessor
- Object
-
- com.wowza.wms.transport.mpeg2.MPEG2PESPacketProcessor
-
- com.wowza.wms.transport.mpeg2.MPEG2AudioPacketProcessor
-
- All Implemented Interfaces:
IMPEG2PacketProcessor
public class MPEG2AudioPacketProcessor extends MPEG2PESPacketProcessor
The Class MPEG2AudioPacketProcessor.
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2PESPacketProcessor
continuityCounter, continuityError, currentPacket, INVALID, listener, pesPacket, PID
-
-
Constructor Summary
Constructors Constructor Description MPEG2AudioPacketProcessor(int PID, IMPEG2StreamListener listener)
Instantiates a new MPEG2 audio 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
-
MPEG2AudioPacketProcessor
public MPEG2AudioPacketProcessor(int PID, IMPEG2StreamListener listener)
Instantiates a new MPEG2 audio 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
-
-