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 intThe Constant INVALID.The listeners. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyAdaptationHeaders(boolean notify) Notify adaptation headers.voidprocessMpeg2Buffer(int pid, byte[] bytes, int offset, int count) Process mpeg2 raw buffer.voidProcess mpeg2 packet.voidsetHeaderLengthMin(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:IMPEG2PacketProcessorNotify adaptation headers.- Specified by:
notifyAdaptationHeadersin interfaceIMPEG2PacketProcessor- Parameters:
notify- the notify
-
processMpeg2Buffer
public void processMpeg2Buffer(int pid, byte[] bytes, int offset, int count) Description copied from interface:IMPEG2PacketProcessorProcess mpeg2 raw buffer.- Specified by:
processMpeg2Bufferin interfaceIMPEG2PacketProcessor
-
processMpeg2Packet
Description copied from interface:IMPEG2PacketProcessorProcess mpeg2 packet.- Specified by:
processMpeg2Packetin interfaceIMPEG2PacketProcessor- Parameters:
packet- the packet- Throws:
IOException- Signals that an I/O exception has occurred.
-