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 SummaryFields Modifier and Type Field Description static intINVALIDThe Constant INVALID.java.util.List<IMPEG2SectionListener>listenersThe listeners.
 - 
Constructor SummaryConstructors Constructor Description MPEG2SectionAssembler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyAdaptationHeaders(boolean notify)Notify adaptation headers.voidprocessMpeg2Buffer(int pid, byte[] bytes, int offset, int count)Process mpeg2 raw buffer.voidprocessMpeg2Packet(MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet packet)Process mpeg2 packet.voidsetHeaderLengthMin(int size)Sets the header length min.
 
- 
- 
- 
Field Detail- 
INVALIDpublic static final int INVALID The Constant INVALID.- See Also:
- Constant Field Values
 
 - 
listenerspublic java.util.List<IMPEG2SectionListener> listeners The listeners.
 
- 
 - 
Method Detail- 
setHeaderLengthMinpublic void setHeaderLengthMin(int size) Sets the header length min.- Parameters:
- size- the new header length min
 
 - 
notifyAdaptationHeaderspublic void notifyAdaptationHeaders(boolean notify) Description copied from interface:IMPEG2PacketProcessorNotify adaptation headers.- Specified by:
- notifyAdaptationHeadersin interface- IMPEG2PacketProcessor
- Parameters:
- notify- the notify
 
 - 
processMpeg2Bufferpublic void processMpeg2Buffer(int pid, byte[] bytes, int offset, int count)Description copied from interface:IMPEG2PacketProcessorProcess mpeg2 raw buffer.- Specified by:
- processMpeg2Bufferin interface- IMPEG2PacketProcessor
 
 - 
processMpeg2Packetpublic void processMpeg2Packet(MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet packet) throws java.io.IOException Description copied from interface:IMPEG2PacketProcessorProcess mpeg2 packet.- Specified by:
- processMpeg2Packetin interface- IMPEG2PacketProcessor
- Parameters:
- packet- the packet
- Throws:
- java.io.IOException- Signals that an I/O exception has occurred.
 
 
- 
 
-