FMLiveSwitchSdesItem Class Reference

An RTCP source description item. More...

Instance Methods

(FMLiveSwitchDataBuffer *) - dataBuffer
 Gets the data buffer. More...
 
(instancetype) - initWithBuffer:
 Initializes a new instance of the FMLiveSwitchSdesItem class. More...
 
(instancetype) - initWithType:text:
 Initializes a new instance of the FMLiveSwitchSdesItem class. More...
 
(int) - length
 Gets the length. More...
 
(NSString *) - text
 Gets the text. More...
 
(int) - type
 Gets the type. More...
 

Class Methods

(int) + fixedPayloadHeaderLength
 Gets the fixed payload header length. More...
 
(FMLiveSwitchSdesItem *) + sdesItemWithBuffer:
 Initializes a new instance of the FMLiveSwitchSdesItem class. More...
 
(FMLiveSwitchSdesItem *) + sdesItemWithType:text:
 Initializes a new instance of the FMLiveSwitchSdesItem class. More...
 

Detailed Description

An RTCP source description item.

Method Documentation

◆ dataBuffer

- (FMLiveSwitchDataBuffer*) dataBuffer

Gets the data buffer.

◆ fixedPayloadHeaderLength

+ (int) fixedPayloadHeaderLength

Gets the fixed payload header length.

◆ initWithBuffer:

- (instancetype) initWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchSdesItem class.

Parameters
bufferThe buffer.

◆ initWithType:text:

- (instancetype) initWithType: (int)  type
text: (NSString *)  text 

Initializes a new instance of the FMLiveSwitchSdesItem class.

Parameters
typeThe type.
textThe text.

◆ length

- (int) length

Gets the length.

◆ sdesItemWithBuffer:

+ (FMLiveSwitchSdesItem*) sdesItemWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchSdesItem class.

Parameters
bufferThe buffer.

◆ sdesItemWithType:text:

+ (FMLiveSwitchSdesItem*) sdesItemWithType: (int)  type
text: (NSString *)  text 

Initializes a new instance of the FMLiveSwitchSdesItem class.

Parameters
typeThe type.
textThe text.

◆ text

- (NSString*) text

Gets the text.

◆ type

- (int) type

Gets the type.