FMLiveSwitchVp8Fragment Class Reference

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
 

Detailed Description

A VP8 packet fragment.

Method Documentation

◆ fragmentWithHeader:dataBuffer:

+ (FMLiveSwitchVp8Fragment*) fragmentWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
dataBuffer: (FMLiveSwitchDataBuffer *)  dataBuffer 

Initializes a new instance of the FMLiveSwitchVp8Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.

◆ initWithHeader:dataBuffer:

- (instancetype) initWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
dataBuffer: (FMLiveSwitchDataBuffer *)  dataBuffer 

Initializes a new instance of the FMLiveSwitchVp8Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.

◆ keyIndex

- (int) keyIndex

Gets the key index.

◆ layerSync

- (bool) layerSync

Gets whether layer sync is set.

◆ nonReferenceFrame

- (bool) nonReferenceFrame

Gets whether this fragment belongs to a non-reference frame.

◆ partitionIndex

- (int) partitionIndex

Gets the partition index.

◆ pictureId

- (int) pictureId

Gets the picture ID.

◆ rtpSequenceNumber

- (int) rtpSequenceNumber

Gets the RTP sequence number.

◆ rtpTimestamp

- (long long) rtpTimestamp

Gets the RTP timestamp.

◆ startOfPartition

- (bool) startOfPartition

Gets whether this fragment is the start of a partition.

◆ temporalLayerIndex

- (int) temporalLayerIndex

Gets the temporal layer index.

◆ temporalLevelZeroIndex

- (int) temporalLevelZeroIndex

Gets the temporal level zero index.