A VP8 packet fragment. More...
Instance Methods | |
(instancetype) | - initWithHeader:dataBuffer: |
Initializes a new instance of the FMLiveSwitchVp8Fragment class. More... | |
(int) | - keyIndex |
Gets the key index. More... | |
(bool) | - layerSync |
Gets whether layer sync is set. More... | |
(bool) | - nonReferenceFrame |
Gets whether this fragment belongs to a non-reference frame. More... | |
(int) | - partitionIndex |
Gets the partition index. More... | |
(int) | - pictureId |
Gets the picture ID. More... | |
(int) | - rtpSequenceNumber |
Gets the RTP sequence number. More... | |
(long long) | - rtpTimestamp |
Gets the RTP timestamp. More... | |
(bool) | - startOfPartition |
Gets whether this fragment is the start of a partition. More... | |
(int) | - temporalLayerIndex |
Gets the temporal layer index. More... | |
(int) | - temporalLevelZeroIndex |
Gets the temporal level zero index. More... | |
Instance Methods inherited from FMLiveSwitchVideoFragment | |
(FMLiveSwitchDataBuffer *) | - buffer |
Gets the data. More... | |
(void) | - destroy |
Destroys this fragment. More... | |
(bool) | - first |
Gets whether this is the first packet. More... | |
(void) | - free |
Frees the underlying data buffer. More... | |
(instancetype) | - init |
(void) | - keep |
Keeps the underlying data buffer. More... | |
(bool) | - last |
Gets whether this is the last packet. More... | |
(void) | - setBuffer: |
Sets the data. More... | |
(void) | - setFirst: |
Sets whether this is the first packet. More... | |
(void) | - setLast: |
Sets whether this is the last packet. More... | |
Class Methods | |
(FMLiveSwitchVp8Fragment *) | + fragmentWithHeader:dataBuffer: |
Initializes a new instance of the FMLiveSwitchVp8Fragment class. More... | |
Class Methods inherited from FMLiveSwitchVideoFragment | |
(FMLiveSwitchVideoFragment *) | + videoFragment |
A VP8 packet fragment.
+ (FMLiveSwitchVp8Fragment*) fragmentWithHeader: | (FMLiveSwitchRtpPacketHeader *) | header | |
dataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
Initializes a new instance of the FMLiveSwitchVp8Fragment class.
header | The rtp packet header. |
dataBuffer | The data buffer. |
- (instancetype) initWithHeader: | (FMLiveSwitchRtpPacketHeader *) | header | |
dataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
Initializes a new instance of the FMLiveSwitchVp8Fragment class.
header | The rtp packet header. |
dataBuffer | The data buffer. |
- (int) keyIndex |
Gets the key index.
- (bool) layerSync |
Gets whether layer sync is set.
- (bool) nonReferenceFrame |
Gets whether this fragment belongs to a non-reference frame.
- (int) partitionIndex |
Gets the partition index.
- (int) pictureId |
Gets the picture ID.
- (int) rtpSequenceNumber |
Gets the RTP sequence number.
- (long long) rtpTimestamp |
Gets the RTP timestamp.
- (bool) startOfPartition |
Gets whether this fragment is the start of a partition.
- (int) temporalLayerIndex |
Gets the temporal layer index.
- (int) temporalLevelZeroIndex |
Gets the temporal level zero index.