FMLiveSwitchSdesControlFrame Class Reference

An RTCP SDES packet. More...

Instance Methods

(NSMutableArray *) - chunks
 Gets the source description chunks. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(instancetype) - initWithBuffer:
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(instancetype) - initWithChunk:
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(instancetype) - initWithChunks:
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(int) - sourceCount
 Gets the source count. More...
 
- Instance Methods inherited from FMLiveSwitchMediaControlFrame
(int) - byte1Last5Bits
 Gets the last 5 bits of the first byte. More...
 
(FMLiveSwitchDataBuffer *) - dataBuffer
 Gets the buffer. More...
 
(FMLiveSwitchDataBuffer *) - payload
 Gets the payload. More...
 
(int) - payloadLengthWithPadding
 Gets the length of the payload, in bytes, with padding. More...
 
(int) - payloadType
 Gets the payload type. More...
 
(void) - setByte1Last5Bits:
 Sets the last 5 bits of the first byte. More...
 
(void) - setDataBuffer:
 Sets the buffer. More...
 
(void) - setPayloadLengthWithPadding:
 Sets the length of the payload, in bytes, with padding. More...
 
(void) - setPayloadType:
 Sets the payload type. More...
 
(void) - setVersion:
 Sets the version. More...
 
(NSString *) - streamId
 Gets the stream ID. More...
 
(int) - version
 Gets the version. More...
 
- Instance Methods inherited from FMLiveSwitchDynamic
(NSMutableDictionary< NSString *, id > *) - dynamicProperties
 Gets all dynamic properties on this instance. More...
 
(id- getDynamicValueWithKey:
 Gets a property value from the local cache. More...
 
(void) - setDynamicValueWithKey:value:
 Sets a property value in the local cache. More...
 
(bool) - unsetDynamicValueWithKey:
 Removes a property value from the local cache. More...
 

Class Methods

(int) + fixedPayloadHeaderLength
 Gets the length of the fixed payload header. More...
 
(int) + registeredPayloadType
 Gets the session description payload type. More...
 
(FMLiveSwitchSdesControlFrame *) + sdesControlFrame
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(FMLiveSwitchSdesControlFrame *) + sdesControlFrameWithBuffer:
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(FMLiveSwitchSdesControlFrame *) + sdesControlFrameWithChunk:
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
(FMLiveSwitchSdesControlFrame *) + sdesControlFrameWithChunks:
 Initializes a new instance of the FMLiveSwitchSdesControlFrame class. More...
 
- Class Methods inherited from FMLiveSwitchMediaControlFrame
(NSMutableArray *) + addControlFrames:addControlFrames:index:
 Adds control frames to an array. More...
 
(NSMutableArray *) + addControlFrameWithControlFrames:addControlFrame:index:
 Adds a control frame to an array. More...
 
(int) + fixedHeaderLength
 Gets the length of the fixed header. More...
 
(FMLiveSwitchMediaControlFrame *) + mediaControlFrame
 Initializes a new instance of the FMLiveSwitchMediaControlFrame class. More...
 
(FMLiveSwitchMediaControlFrame *) + mediaControlFrameWithBuffer:
 Initializes a new instance of the FMLiveSwitchMediaControlFrame class. More...
 
(NSMutableArray *) + parseWithDataBuffer:
 Parses a data buffer into an array of control frames. More...
 
(NSMutableArray *) + removeControlFrameWithControlFrames:index:
 Removes a control frame from an array. More...
 
- Class Methods inherited from FMLiveSwitchDynamic
(FMLiveSwitchDynamic *) + dynamic
 
- Class Methods inherited from FMLiveSwitchSerializable
(FMLiveSwitchSerializable *) + serializable
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 

Detailed Description

An RTCP SDES packet.

Method Documentation

◆ chunks

- (NSMutableArray*) chunks

Gets the source description chunks.

◆ fixedPayloadHeaderLength

+ (int) fixedPayloadHeaderLength

Gets the length of the fixed payload header.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Implements FMLiveSwitchMediaControlFrame.

◆ initWithBuffer:

- (instancetype) initWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Parameters
bufferThe buffer.

Implements FMLiveSwitchMediaControlFrame.

◆ initWithChunk:

- (instancetype) initWithChunk: (FMLiveSwitchSdesChunk *)  chunk

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Parameters
chunkThe chunk.

◆ initWithChunks:

- (instancetype) initWithChunks: (NSMutableArray *)  chunks

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Parameters
chunksThe chunks.

◆ registeredPayloadType

+ (int) registeredPayloadType

Gets the session description payload type.

◆ sdesControlFrame

+ (FMLiveSwitchSdesControlFrame*) sdesControlFrame

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

◆ sdesControlFrameWithBuffer:

+ (FMLiveSwitchSdesControlFrame*) sdesControlFrameWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Parameters
bufferThe buffer.

◆ sdesControlFrameWithChunk:

+ (FMLiveSwitchSdesControlFrame*) sdesControlFrameWithChunk: (FMLiveSwitchSdesChunk *)  chunk

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Parameters
chunkThe chunk.

◆ sdesControlFrameWithChunks:

+ (FMLiveSwitchSdesControlFrame*) sdesControlFrameWithChunks: (NSMutableArray *)  chunks

Initializes a new instance of the FMLiveSwitchSdesControlFrame class.

Parameters
chunksThe chunks.

◆ sourceCount

- (int) sourceCount

Gets the source count.