FMIceLinkH264Packet Class Reference
Inherits from | NSObject |
---|---|
Declared in | FMIceLinkH264Packet.h FMIceLinkH264Packet.m |
– buffer
Gets the Packet as a DataBuffer.
- (FMIceLinkDataBuffer *)buffer
Discussion
Gets the Packet as a DataBuffer.
Declared In
FMIceLinkH264Packet.h
+ depacketizeWithPackets:
Depacketizes multiple H264Packets into a single encoded frame.
Uses packetization mode 0.
+ (FMIceLinkDataBuffer *)depacketizeWithPackets:(NSMutableArray *)packets
Parameters
packets |
The packets. |
---|
Discussion
Depacketizes multiple H264Packets into a single encoded frame.
Uses packetization mode 0.
Declared In
FMIceLinkH264Packet.h
+ depacketizeWithPackets:packetizationMode:
Depacketizes multiple H264Packets into a single encoded frame.
+ (FMIceLinkDataBuffer *)depacketizeWithPackets:(NSMutableArray *)packets packetizationMode:(int)packetizationMode
Parameters
packets |
The packets. |
---|---|
packetizationMode |
The packetizationMode. |
Discussion
Depacketizes multiple H264Packets into a single encoded frame.
Declared In
FMIceLinkH264Packet.h
– fragmentEnd
Gets if this is the end of a Fragmented Unit.
- (bool)fragmentEnd
Discussion
Gets if this is the end of a Fragmented Unit.
Declared In
FMIceLinkH264Packet.h
– fragmentStart
Gets if this is the start of a Fragmented Unit.
- (bool)fragmentStart
Discussion
Gets if this is the start of a Fragmented Unit.
Declared In
FMIceLinkH264Packet.h
+ fuEBitMask
Gets the end bit.
+ (int)fuEBitMask
Discussion
Gets the end bit.
Declared In
FMIceLinkH264Packet.h
+ fuRBitMask
Gets the reserved bit.
+ (int)fuRBitMask
Discussion
Gets the reserved bit.
Declared In
FMIceLinkH264Packet.h
+ fuSBitMask
Gets the start bit.
+ (int)fuSBitMask
Discussion
Gets the start bit.
Declared In
FMIceLinkH264Packet.h
– init
Default constuctor.
- (instancetype)init
Discussion
Default constuctor.
Declared In
FMIceLinkH264Packet.h
– initWithNalu:
Single NAL Unit Mode constructor.
- (instancetype)initWithNalu:(FMIceLinkH264Nalu *)nalu
Parameters
nalu |
The nalu. |
---|
Discussion
Single NAL Unit Mode constructor.
Declared In
FMIceLinkH264Packet.h
– last
Gets whether this is the last nalu in the sequence (i.e. RTP Marker).
- (bool)last
Discussion
Gets whether this is the last nalu in the sequence (i.e. RTP Marker).
Declared In
FMIceLinkH264Packet.h
+ maxPacketSize
Gets the maximum [packet](#//api/name/packet) size (affects packetization).
+ (int)maxPacketSize
Discussion
Gets the maximum [packet](#//api/name/packet) size (affects packetization).
Declared In
FMIceLinkH264Packet.h
– nalus
Gets the NAL Units.
- (NSMutableArray *)nalus
Discussion
Gets the NAL Units.
Declared In
FMIceLinkH264Packet.h
– naluType
Gets the type of Payload that is in this [packet](#//api/name/packet).
- (int)naluType
Discussion
Gets the type of Payload that is in this [packet](#//api/name/packet).
Declared In
FMIceLinkH264Packet.h
+ packet
Default constuctor.
+ (FMIceLinkH264Packet *)packet
Discussion
Default constuctor.
Declared In
FMIceLinkH264Packet.h
+ packetizeWithEncodedData:
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.
+ (NSMutableArray *)packetizeWithEncodedData:(FMIceLinkDataBuffer *)encodedData
Parameters
encodedData |
The encoded data. |
---|
Discussion
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.
Declared In
FMIceLinkH264Packet.h
+ packetizeWithEncodedData:packetizationMode:
Packetizes a single encoded data frame into multiple H264 packets.
Note: Only STAP-A and Single NALU are supported right now.
+ (NSMutableArray *)packetizeWithEncodedData:(FMIceLinkDataBuffer *)encodedData packetizationMode:(int)packetizationMode
Parameters
encodedData |
The encoded data. |
---|---|
packetizationMode |
The packetizationMode. |
Discussion
Packetizes a single encoded data frame into multiple H264 packets.
Note: Only STAP-A and Single NALU are supported right now.
Declared In
FMIceLinkH264Packet.h
+ packetWithNalu:
Single NAL Unit Mode constructor.
+ (FMIceLinkH264Packet *)packetWithNalu:(FMIceLinkH264Nalu *)nalu
Parameters
nalu |
The nalu. |
---|
Discussion
Single NAL Unit Mode constructor.
Declared In
FMIceLinkH264Packet.h
– sequenceNumber
Gets the RTP sequence number.
- (long long)sequenceNumber
Discussion
Gets the RTP sequence number.
Declared In
FMIceLinkH264Packet.h
– setLast:
Sets whether this is the [last](#//api/name/last) nalu in the sequence (i.e. RTP Marker).
- (void)setLast:(bool)value
Discussion
Sets whether this is the [last](#//api/name/last) nalu in the sequence (i.e. RTP Marker).
Declared In
FMIceLinkH264Packet.h
– setNalus:
Sets the NAL Units.
- (void)setNalus:(NSMutableArray *)value
Discussion
Sets the NAL Units.
Declared In
FMIceLinkH264Packet.h
– setSequenceNumber:
Sets the RTP sequence number.
- (void)setSequenceNumber:(long long)value
Discussion
Sets the RTP sequence number.
Declared In
FMIceLinkH264Packet.h
+ wrapWithBuffer:
Parses the specified [packet](#//api/name/packet) bytes.
+ (FMIceLinkH264Packet *)wrapWithBuffer:(FMIceLinkDataBuffer *)buffer
Parameters
buffer |
The packet bytes. |
---|
Discussion
Parses the specified [packet](#//api/name/packet) bytes.
Declared In
FMIceLinkH264Packet.h