Package com.wowza.wms.transport.mpeg2
Interface IMPEG2PacketProcessor
- All Known Implementing Classes:
MPEG2AudioPacketProcessor,MPEG2PESAssembler,MPEG2PESPacketProcessor,MPEG2RawAssembler,MPEG2RawPacketProcessor,MPEG2SectionAssembler,MPEG2VideoPacketProcessor
public interface IMPEG2PacketProcessor
The Interface Impeg2PacketProcessor.
-
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.
-
Method Details
-
notifyAdaptationHeaders
void notifyAdaptationHeaders(boolean notify) Notify adaptation headers.- Parameters:
notify- the notify
-
processMpeg2Packet
Process mpeg2 packet.- Parameters:
packet- the packet- Throws:
IOException- Signals that an I/O exception has occurred.
-
processMpeg2Buffer
void processMpeg2Buffer(int pid, byte[] bytes, int offset, int count) Process mpeg2 raw buffer.- Parameters:
bytes-offset-count-
-