An H.265 packet for RTP. More...
Public Member Functions | |
fm.liveswitch.DataBuffer | getBuffer () |
Gets the Packet as a DataBuffer. More... | |
boolean | getFragmentEnd () |
Gets if this is the end of a Fragmented Unit. More... | |
boolean | getFragmentStart () |
Gets if this is the start of a Fragmented Unit. More... | |
fm.liveswitch.h265.Nalu[] | getNalus () |
Gets the NAL Units. More... | |
int | getNaluType () |
Gets the type of Payload that is in this packet. More... | |
Packet () | |
Default constuctor. More... | |
void | setNalus (fm.liveswitch.h265.Nalu[] value) |
Sets the NAL Units. More... | |
Static Public Member Functions | |
static fm.liveswitch.h265.Packet | createAggregationPacket (fm.liveswitch.h265.Nalu[] nalus) |
Creates an Aggregation Packet (AP). More... | |
static fm.liveswitch.h265.Packet[] | createFragmentationUnits (fm.liveswitch.h265.Nalu nalu) |
Creates Fragmentation Unit Packets (FUs). More... | |
static fm.liveswitch.h265.Packet | createSingleNaluPacket (fm.liveswitch.h265.Nalu nalu) |
Creates a Single NAL Unit packet. More... | |
static int | getFuHeaderEBitMask () |
Gets the Fragmentation Unit header end bit mask. More... | |
static int | getFuHeaderSBitMask () |
Gets the Fragmentation Unit header start bit mask. More... | |
static int | getFuHeaderTypeBitMask () |
Gets the Fragmentation Unit header type mask. More... | |
static int | getMaxPacketSize () |
Gets the maximum packet size (affects packetization). More... | |
static fm.liveswitch.h265.Packet[] | packetize (fm.liveswitch.DataBuffer encodedData) |
Packetizes a single encoded data frame into one or more H265 packets. More... | |
static fm.liveswitch.h265.Packet | wrap (fm.liveswitch.DataBuffer buffer) |
Parses the specified packet bytes. More... | |
An H.265 packet for RTP.
fm.liveswitch.h265.Packet.Packet | ( | ) |
Default constuctor.
|
static |
Creates an Aggregation Packet (AP).
nalus | The NALUs. |
|
static |
Creates Fragmentation Unit Packets (FUs).
nalu | The NALU. |
|
static |
Creates a Single NAL Unit packet.
nalu | The NALU. |
fm.liveswitch.DataBuffer fm.liveswitch.h265.Packet.getBuffer | ( | ) |
Gets the Packet as a DataBuffer.
boolean fm.liveswitch.h265.Packet.getFragmentEnd | ( | ) |
Gets if this is the end of a Fragmented Unit.
boolean fm.liveswitch.h265.Packet.getFragmentStart | ( | ) |
Gets if this is the start of a Fragmented Unit.
|
static |
Gets the Fragmentation Unit header end bit mask.
|
static |
Gets the Fragmentation Unit header start bit mask.
|
static |
Gets the Fragmentation Unit header type mask.
|
static |
Gets the maximum packet size (affects packetization).
fm.liveswitch.h265.Nalu [] fm.liveswitch.h265.Packet.getNalus | ( | ) |
Gets the NAL Units.
int fm.liveswitch.h265.Packet.getNaluType | ( | ) |
Gets the type of Payload that is in this packet.
|
static |
Packetizes a single encoded data frame into one or more H265 packets.
Only non-interleaved is supported. (sprop-max-don-diff = 0)
encodedData | The encoded data. |
void fm.liveswitch.h265.Packet.setNalus | ( | fm.liveswitch.h265.Nalu[] | value | ) |
Sets the NAL Units.
|
static |
Parses the specified packet bytes.
buffer | The packet bytes. |