IMPEG2PacketProcessorpublic class MPEG2SectionAssembler extends Object implements IMPEG2PacketProcessor
| Modifier and Type | Field | Description |
|---|---|---|
static int |
INVALID |
The Constant INVALID.
|
java.util.List<IMPEG2SectionListener> |
listeners |
The listeners.
|
| Constructor | Description |
|---|---|
MPEG2SectionAssembler() |
| Modifier and Type | Method | 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.
|
void |
setHeaderLengthMin(int size) |
Sets the header length min.
|
public static final int INVALID
public java.util.List<IMPEG2SectionListener> 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.public void setHeaderLengthMin(int size)
size - the new header length min