public class MPEG2RawAssembler extends Object implements IMPEG2PacketProcessor
| Modifier and Type | Field and Description |
|---|---|
java.util.List<IMPEG2RawListener> |
listeners |
| Constructor and Description |
|---|
MPEG2RawAssembler() |
| Modifier and Type | Method and 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.
|
public java.util.List<IMPEG2RawListener> listeners
public void notifyAdaptationHeaders(boolean notify)
IMPEG2PacketProcessornotifyAdaptationHeaders in interface IMPEG2PacketProcessornotify - the notifypublic void processMpeg2Buffer(int pid,
byte[] bytes,
int offset,
int count)
IMPEG2PacketProcessorprocessMpeg2Buffer in interface IMPEG2PacketProcessorpublic void processMpeg2Packet(MPEG2MPTS.MPEG2MPTSBuffer.MPEG2Packet packet) throws java.io.IOException
IMPEG2PacketProcessorprocessMpeg2Packet in interface IMPEG2PacketProcessorpacket - the packetjava.io.IOException - Signals that an I/O exception has occurred.