Package com.wowza.wms.transport.mpeg2
Class MPEG2PESPacket
- Object
-
- com.wowza.wms.rtp.depacketizer.RTPPacket
-
- com.wowza.wms.transport.mpeg2.MPEG2PESPacket
-
public class MPEG2PESPacket extends com.wowza.wms.rtp.depacketizer.RTPPacket
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MPEG2PESPacket.PESHeader
The Class PESHeader.
-
Field Summary
Fields Modifier and Type Field Description int
bufferPos
int
continuityCounter
boolean
continuityCouterError
static int
INVALID
boolean
packetStarted
-
Fields inherited from class com.wowza.wms.rtp.depacketizer.RTPPacket
codec, debugLog, fixH264VideoNALLenStartcodeMix, fixH264WrappingProblems, fragments, frameType, getProperties, isAllISliceKey, isISliceKey, isRTPPacketDebug, nalUnitFilter, sendCodecConfigChanges, seq, size, timecode, timecodeMillis, timeoffset, type
-
-
Constructor Summary
Constructors Constructor Description MPEG2PESPacket()
MPEG2PESPacket(long seq, long timecode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFragment(PacketFragment fragment)
void
clear()
java.util.Map<Integer,java.nio.ByteBuffer>
findPESHeaders()
-
Methods inherited from class com.wowza.wms.rtp.depacketizer.RTPPacket
addFragment, clearFragments, clone, decodeAud, decodeAudNALUnit, getBytes, getCodec, getFirstFragment, getFragments, getFrameType, getH264CodecConfigInfo, getH265CodecConfigInfo, getLastFragment, getSeq, getSize, getTimecode, getTimecodeMillis, getTimeoffset, getType, h264StartCodesToLengths, h265StartCodesToLengths, incSize, isDebugLog, isFixH264WrappingProblems, setCodec, setDebugLog, setFixH264WrappingProblems, setFrameType, setSeq, setSize, setTimecode, setTimecodeMillis, setTimeoffset, setType, toArray, write, write
-
-
-
-
Field Detail
-
INVALID
public static final int INVALID
- See Also:
- Constant Field Values
-
continuityCounter
public int continuityCounter
-
continuityCouterError
public boolean continuityCouterError
-
bufferPos
public int bufferPos
-
packetStarted
public boolean packetStarted
-
-
Method Detail
-
clear
public void clear()
-
addFragment
public void addFragment(PacketFragment fragment)
- Overrides:
addFragment
in classcom.wowza.wms.rtp.depacketizer.RTPPacket
-
findPESHeaders
public java.util.Map<Integer,java.nio.ByteBuffer> findPESHeaders()
-
-