FMLiveSwitchTransportCCPacketStatusChunk Class Reference

An RTCP transport-wide congestion control (transport-cc) packet status chunk. More...

Instance Methods

(FMLiveSwitchDataBuffer *) - dataBuffer
 Gets the data buffer. More...
 
(instancetype) - initWithType:
 Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class. More...
 
(instancetype) - initWithType:dataBuffer:
 Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class. More...
 
(bool) - type
 Gets the type. More...
 

Class Methods

(FMLiveSwitchTransportCCPacketStatusChunk *) + transportCCPacketStatusChunkWithType:
 Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class. More...
 
(FMLiveSwitchTransportCCPacketStatusChunk *) + transportCCPacketStatusChunkWithType:dataBuffer:
 Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class. More...
 

Detailed Description

An RTCP transport-wide congestion control (transport-cc) packet status chunk.

Method Documentation

◆ dataBuffer

- (FMLiveSwitchDataBuffer*) dataBuffer

Gets the data buffer.

◆ initWithType:

- (instancetype) initWithType: (bool)  type

Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class.

Parameters
typeThe type.

◆ initWithType:dataBuffer:

- (instancetype) initWithType: (bool)  type
dataBuffer: (FMLiveSwitchDataBuffer *)  dataBuffer 

Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class.

Parameters
typeThe type.
dataBufferThe data buffer.

◆ transportCCPacketStatusChunkWithType:

+ (FMLiveSwitchTransportCCPacketStatusChunk*) transportCCPacketStatusChunkWithType: (bool)  type

Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class.

Parameters
typeThe type.

◆ transportCCPacketStatusChunkWithType:dataBuffer:

Initializes a new instance of the FMLiveSwitchTransportCCPacketStatusChunk class.

Parameters
typeThe type.
dataBufferThe data buffer.

◆ type

- (bool) type

Gets the type.

A value of true indicates that this is a status vector chunk. A value of false indicates that this is a run length chunk.