Package com.wowza.wms.transport.mpeg2
Class MPEG2RawPacketProcessor
Object
com.wowza.wms.transport.mpeg2.MPEG2RawPacketProcessor
- All Implemented Interfaces:
IMPEG2PacketProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyAdaptationHeaders
(boolean notify) Notify adaptation headers.void
processMpeg2Buffer
(int pid, byte[] bytes, int offset, int count) Process mpeg2 raw buffer.void
Process mpeg2 packet.
-
Constructor Details
-
MPEG2RawPacketProcessor
public MPEG2RawPacketProcessor()
-
-
Method Details
-
notifyAdaptationHeaders
public void notifyAdaptationHeaders(boolean notify) Description copied from interface:IMPEG2PacketProcessor
Notify adaptation headers.- Specified by:
notifyAdaptationHeaders
in interfaceIMPEG2PacketProcessor
- Parameters:
notify
- the notify
-
processMpeg2Packet
Description copied from interface:IMPEG2PacketProcessor
Process mpeg2 packet.- Specified by:
processMpeg2Packet
in interfaceIMPEG2PacketProcessor
- Parameters:
packet
- the packet- Throws:
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
-