FMLiveSwitchVp9Fragment Class Reference

A VP9 packet fragment. More...

Instance Methods

(instancetype) - initWithHeader:dataBuffer:
 Initializes a new instance of the FMLiveSwitchVp9Fragment class. 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

(FMLiveSwitchVp9Fragment *) + fragmentWithHeader:dataBuffer:
 Initializes a new instance of the FMLiveSwitchVp9Fragment class. More...
 
- Class Methods inherited from FMLiveSwitchVideoFragment
(FMLiveSwitchVideoFragment *) + videoFragment
 

Detailed Description

A VP9 packet fragment.

Method Documentation

◆ fragmentWithHeader:dataBuffer:

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

Initializes a new instance of the FMLiveSwitchVp9Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.

◆ initWithHeader:dataBuffer:

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

Initializes a new instance of the FMLiveSwitchVp9Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.