An H.264 packet for RTP.
More...
◆ Packet() [1/2]
fm.liveswitch.h264.Packet.Packet |
( |
| ) |
|
◆ Packet() [2/2]
Single NAL Unit Mode constructor.
- Parameters
-
◆ depacketize() [1/2]
Depacketizes multiple H264Packets into a single encoded frame.
Uses packetization mode 0.
- Parameters
-
◆ depacketize() [2/2]
Depacketizes multiple H264Packets into a single encoded frame.
- Parameters
-
packets | The packets. |
packetizationMode | The packetizationMode. |
◆ getBuffer()
◆ getFragmentEnd()
boolean fm.liveswitch.h264.Packet.getFragmentEnd |
( |
| ) |
|
Gets if this is the end of a Fragmented Unit.
◆ getFragmentStart()
boolean fm.liveswitch.h264.Packet.getFragmentStart |
( |
| ) |
|
Gets if this is the start of a Fragmented Unit.
◆ getFuEBitMask()
static int fm.liveswitch.h264.Packet.getFuEBitMask |
( |
| ) |
|
|
static |
◆ getFuRBitMask()
static int fm.liveswitch.h264.Packet.getFuRBitMask |
( |
| ) |
|
|
static |
◆ getFuSBitMask()
static int fm.liveswitch.h264.Packet.getFuSBitMask |
( |
| ) |
|
|
static |
◆ getLast()
boolean fm.liveswitch.h264.Packet.getLast |
( |
| ) |
|
Gets whether this is the last nalu in the sequence (i.e.
RTP Marker).
◆ getMaxPacketSize()
static int fm.liveswitch.h264.Packet.getMaxPacketSize |
( |
| ) |
|
|
static |
Gets the maximum packet size (affects packetization).
◆ getNalus()
◆ getNaluType()
int fm.liveswitch.h264.Packet.getNaluType |
( |
| ) |
|
Gets the type of Payload that is in this packet.
◆ getSequenceNumber()
long fm.liveswitch.h264.Packet.getSequenceNumber |
( |
| ) |
|
Gets the RTP sequence number.
◆ packetize() [1/2]
Packetizes a single encoded data frame into multiple H264 packets.
Note: Only STAP-A and Single NALU are supported right now. Uses packetization mode 0.
- Parameters
-
encodedData | The encoded data. |
◆ packetize() [2/2]
Packetizes a single encoded data frame into multiple H264 packets.
Note: Only STAP-A and Single NALU are supported right now.
- Parameters
-
encodedData | The encoded data. |
packetizationMode | The packetizationMode. |
◆ setLast()
void fm.liveswitch.h264.Packet.setLast |
( |
boolean |
value | ) |
|
Sets whether this is the last nalu in the sequence (i.e.
RTP Marker).
◆ setNalus()
◆ setSequenceNumber()
void fm.liveswitch.h264.Packet.setSequenceNumber |
( |
long |
value | ) |
|
Sets the RTP sequence number.
◆ wrap()
Parses the specified packet bytes.
- Parameters
-