Package com.wowza.wms.transport.mpeg2
Class MPEG2SectionAssembler
- Object
-
- com.wowza.wms.transport.mpeg2.MPEG2SectionAssembler
-
- All Implemented Interfaces:
IMPEG2PacketProcessor
public class MPEG2SectionAssembler extends Object implements IMPEG2PacketProcessor
The Class MPEG2SectionAssembler.
-
-
Field Summary
Fields Modifier and Type Field Description static int
INVALID
The Constant INVALID.java.util.List<IMPEG2SectionListener>
listeners
The listeners.
-
Constructor Summary
Constructors Constructor Description MPEG2SectionAssembler()
-
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.void
setHeaderLengthMin(int size)
Sets the header length min.
-
-
-
Field Detail
-
INVALID
public static final int INVALID
The Constant INVALID.- See Also:
- Constant Field Values
-
listeners
public java.util.List<IMPEG2SectionListener> listeners
The listeners.
-
-
Method Detail
-
setHeaderLengthMin
public void setHeaderLengthMin(int size)
Sets the header length min.- Parameters:
size
- the new header length min
-
notifyAdaptationHeaders
public void notifyAdaptationHeaders(boolean notify)
Description copied from interface:IMPEG2PacketProcessor
Notify adaptation headers.- Specified by:
notifyAdaptationHeaders
in interfaceIMPEG2PacketProcessor
- Parameters:
notify
- the notify
-
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
-
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.
-
-