An H.264 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... | |
| (instancetype) | - initWithNalu: | 
| Single NAL Unit Mode constructor.  More... | |
| (bool) | - last | 
| Gets whether this is the last nalu in the sequence (i.e.  More... | |
| (NSMutableArray *) | - nalus | 
| Gets the NAL Units.  More... | |
| (int) | - naluType | 
| Gets the type of Payload that is in this packet.  More... | |
| (long long) | - sequenceNumber | 
| Gets the RTP sequence number.  More... | |
| (void) | - setLast: | 
| Sets whether this is the last nalu in the sequence (i.e.  More... | |
| (void) | - setNalus: | 
| Sets the NAL Units.  More... | |
| (void) | - setSequenceNumber: | 
| Sets the RTP sequence number.  More... | |
| Class Methods | |
| (FMLiveSwitchDataBuffer *) | + depacketizeWithPackets: | 
| Depacketizes multiple H264Packets into a single encoded frame.  More... | |
| (FMLiveSwitchDataBuffer *) | + depacketizeWithPackets:packetizationMode: | 
| Depacketizes multiple H264Packets into a single encoded frame.  More... | |
| (int) | + fuEBitMask | 
| Gets the end bit.  More... | |
| (int) | + fuRBitMask | 
| Gets the reserved bit.  More... | |
| (int) | + fuSBitMask | 
| Gets the start bit.  More... | |
| (int) | + maxPacketSize | 
| Gets the maximum packet size (affects packetization).  More... | |
| (FMLiveSwitchH264Packet *) | + packet | 
| Default constuctor.  More... | |
| (NSMutableArray *) | + packetizeWithEncodedData: | 
| Packetizes a single encoded data frame into multiple H264 packets.  More... | |
| (NSMutableArray *) | + packetizeWithEncodedData:packetizationMode: | 
| Packetizes a single encoded data frame into multiple H264 packets.  More... | |
| (FMLiveSwitchH264Packet *) | + packetWithNalu: | 
| Single NAL Unit Mode constructor.  More... | |
| (FMLiveSwitchH264Packet *) | + wrapWithBuffer: | 
| Parses the specified packet bytes.  More... | |
An H.264 packet for RTP.
| - (FMLiveSwitchDataBuffer*) buffer | 
Gets the Packet as a DataBuffer.
| + (FMLiveSwitchDataBuffer*) depacketizeWithPackets: | (NSMutableArray *) | packets | 
Depacketizes multiple H264Packets into a single encoded frame.
Uses packetization mode 0.
| packets | The packets. | 
| + (FMLiveSwitchDataBuffer*) depacketizeWithPackets: | (NSMutableArray *) | packets | |
| packetizationMode: | (int) | packetizationMode | |
Depacketizes multiple H264Packets into a single encoded frame.
| packets | The packets. | 
| packetizationMode | The packetizationMode. | 
| - (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) fuEBitMask | 
Gets the end bit.
| + (int) fuRBitMask | 
Gets the reserved bit.
| + (int) fuSBitMask | 
Gets the start bit.
| - (instancetype) init | 
Default constuctor.
| - (instancetype) initWithNalu: | (FMLiveSwitchH264Nalu *) | nalu | 
Single NAL Unit Mode constructor.
| nalu | The nalu. | 
| - (bool) last | 
Gets whether this is the last nalu in the sequence (i.e.
RTP Marker).
| + (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.
| + (FMLiveSwitchH264Packet*) packet | 
Default constuctor.
| + (NSMutableArray*) packetizeWithEncodedData: | (FMLiveSwitchDataBuffer *) | encodedData | 
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.
| encodedData | The encoded data. | 
| + (NSMutableArray*) packetizeWithEncodedData: | (FMLiveSwitchDataBuffer *) | encodedData | |
| packetizationMode: | (int) | packetizationMode | |
Packetizes a single encoded data frame into multiple H264 packets.
Note: Only STAP-A and Single NALU are supported right now.
| encodedData | The encoded data. | 
| packetizationMode | The packetizationMode. | 
| + (FMLiveSwitchH264Packet*) packetWithNalu: | (FMLiveSwitchH264Nalu *) | nalu | 
Single NAL Unit Mode constructor.
| nalu | The nalu. | 
| - (long long) sequenceNumber | 
Gets the RTP sequence number.
| - (void) setLast: | (bool) | value | 
Sets whether this is the last nalu in the sequence (i.e.
RTP Marker).
| - (void) setNalus: | (NSMutableArray *) | value | 
Sets the NAL Units.
| - (void) setSequenceNumber: | (long long) | value | 
Sets the RTP sequence number.
| + (FMLiveSwitchH264Packet*) wrapWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer | 
Parses the specified packet bytes.
| buffer | The packet bytes. |