Package com.wowza.wms.transport.mpeg2
Class MPEG2SectionAssembler
Object
com.wowza.wms.transport.mpeg2.MPEG2SectionAssembler
- All Implemented Interfaces:
IMPEG2PacketProcessor
The Class MPEG2SectionAssembler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The Constant INVALID.The listeners. -
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.void
setHeaderLengthMin
(int size) Sets the header length min.
-
Field Details
-
INVALID
public static final int INVALIDThe Constant INVALID.- See Also:
-
listeners
The listeners.
-
-
Constructor Details
-
MPEG2SectionAssembler
public MPEG2SectionAssembler()
-
-
Method Details
-
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
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.
-