Package com.wowza.wms.transport.mpeg2
Class MPEG2RawAssembler
- Object
-
- com.wowza.wms.transport.mpeg2.MPEG2RawAssembler
-
- All Implemented Interfaces:
IMPEG2PacketProcessor
public class MPEG2RawAssembler extends Object implements IMPEG2PacketProcessor
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<IMPEG2RawListener>
listeners
-
Constructor Summary
Constructors Constructor Description MPEG2RawAssembler()
-
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.
-
-
-
Field Detail
-
listeners
public java.util.List<IMPEG2RawListener> listeners
-
-
Method Detail
-
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
-
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.
-
-