Package com.wowza.wms.transport.mpeg2
Class MPEG2RawPacketProcessor
- Object
-
- com.wowza.wms.transport.mpeg2.MPEG2RawPacketProcessor
-
- All Implemented Interfaces:
IMPEG2PacketProcessor
public class MPEG2RawPacketProcessor extends Object implements IMPEG2PacketProcessor
-
-
Constructor Summary
Constructors Constructor Description MPEG2RawPacketProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyAdaptationHeaders(boolean notify)
Notify adaptation headers.void
processMpeg2Buffer(int pid, byte[] bytes, int offset, int count)
Process mpeg2 raw buffer.void
processMpeg2Packet(MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet packet)
Process mpeg2 packet.
-
-
-
Method Detail
-
notifyAdaptationHeaders
public void notifyAdaptationHeaders(boolean notify)
Description copied from interface:IMPEG2PacketProcessor
Notify adaptation headers.- Specified by:
notifyAdaptationHeaders
in interfaceIMPEG2PacketProcessor
- Parameters:
notify
- the notify
-
processMpeg2Packet
public void processMpeg2Packet(MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet packet) throws java.io.IOException
Description copied from interface:IMPEG2PacketProcessor
Process mpeg2 packet.- Specified by:
processMpeg2Packet
in interfaceIMPEG2PacketProcessor
- Parameters:
packet
- the packet- Throws:
java.io.IOException
- Signals that an I/O exception has occurred.
-
processMpeg2Buffer
public void processMpeg2Buffer(int pid, byte[] bytes, int offset, int count)
Description copied from interface:IMPEG2PacketProcessor
Process mpeg2 raw buffer.- Specified by:
processMpeg2Buffer
in interfaceIMPEG2PacketProcessor
-
-