An H.265 packet for RTP. More...
Instance Methods | |
(FMLiveSwitchDataBuffer *) | - buffer |
Gets the Packet as a DataBuffer. More... | |
(bool) | - fragmentEnd |
Gets if this is the end of a Fragmented Unit. More... | |
(bool) | - fragmentStart |
Gets if this is the start of a Fragmented Unit. More... | |
(instancetype) | - init |
Default constuctor. More... | |
(NSMutableArray *) | - nalus |
Gets the NAL Units. More... | |
(int) | - naluType |
Gets the type of Payload that is in this packet. More... | |
(void) | - setNalus: |
Sets the NAL Units. More... | |
Class Methods | |
(FMLiveSwitchH265Packet *) | + createAggregationPacketWithNalus: |
Creates an Aggregation Packet (AP). More... | |
(NSMutableArray *) | + createFragmentationUnitsWithNalu: |
Creates Fragmentation Unit Packets (FUs). More... | |
(FMLiveSwitchH265Packet *) | + createSingleNaluPacketWithNalu: |
Creates a Single NAL Unit packet. More... | |
(int) | + fuHeaderEBitMask |
Gets the Fragmentation Unit header end bit mask. More... | |
(int) | + fuHeaderSBitMask |
Gets the Fragmentation Unit header start bit mask. More... | |
(int) | + fuHeaderTypeBitMask |
Gets the Fragmentation Unit header type mask. More... | |
(int) | + maxPacketSize |
Gets the maximum packet size (affects packetization). More... | |
(FMLiveSwitchH265Packet *) | + packet |
Default constuctor. More... | |
(NSMutableArray *) | + packetizeWithEncodedData: |
Packetizes a single encoded data frame into one or more H265 packets. More... | |
(FMLiveSwitchH265Packet *) | + wrapWithBuffer: |
Parses the specified packet bytes. More... | |
An H.265 packet for RTP.
- (FMLiveSwitchDataBuffer*) buffer |
Gets the Packet as a DataBuffer.
+ (FMLiveSwitchH265Packet*) createAggregationPacketWithNalus: | (NSMutableArray *) | nalus |
Creates an Aggregation Packet (AP).
nalus | The NALUs. |
+ (NSMutableArray*) createFragmentationUnitsWithNalu: | (FMLiveSwitchH265Nalu *) | nalu |
Creates Fragmentation Unit Packets (FUs).
nalu | The NALU. |
+ (FMLiveSwitchH265Packet*) createSingleNaluPacketWithNalu: | (FMLiveSwitchH265Nalu *) | nalu |
Creates a Single NAL Unit packet.
nalu | The NALU. |
- (bool) fragmentEnd |
Gets if this is the end of a Fragmented Unit.
- (bool) fragmentStart |
Gets if this is the start of a Fragmented Unit.
+ (int) fuHeaderEBitMask |
Gets the Fragmentation Unit header end bit mask.
+ (int) fuHeaderSBitMask |
Gets the Fragmentation Unit header start bit mask.
+ (int) fuHeaderTypeBitMask |
Gets the Fragmentation Unit header type mask.
- (instancetype) init |
Default constuctor.
+ (int) maxPacketSize |
Gets the maximum packet size (affects packetization).
- (NSMutableArray*) nalus |
Gets the NAL Units.
- (int) naluType |
Gets the type of Payload that is in this packet.
+ (FMLiveSwitchH265Packet*) packet |
Default constuctor.
+ (NSMutableArray*) packetizeWithEncodedData: | (FMLiveSwitchDataBuffer *) | encodedData |
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) setNalus: | (NSMutableArray *) | value |
Sets the NAL Units.
+ (FMLiveSwitchH265Packet*) wrapWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Parses the specified packet bytes.
buffer | The packet bytes. |