FMLiveSwitchSdesChunk Class Reference

An RTCP source description chunk. More...

Instance Methods

(NSString *) - canonicalName
 Gets the Canonical Name (if set) in this SDES chunk. More...
 
(FMLiveSwitchDataBuffer *) - dataBuffer
 Gets the data buffer. More...
 
(instancetype) - initWithBuffer:
 Initializes a new instance of the FMLiveSwitchSdesChunk class. More...
 
(instancetype) - initWithSynchronizationSource:sourceDescriptionItem:
 Initializes a new instance of the FMLiveSwitchSdesChunk class. More...
 
(instancetype) - initWithSynchronizationSource:sourceDescriptionItems:
 Initializes a new instance of the FMLiveSwitchSdesChunk class. More...
 
(NSString *) - mid
 Gets the Media Stream Indentification (if set) in this SDES chunk. More...
 
(void) - setSynchronizationSource:
 Sets the SSRC/CSRC identifier. More...
 
(NSMutableArray *) - sourceDescriptionItems
 Gets the source description items. More...
 
(long long) - synchronizationSource
 Gets the SSRC/CSRC identifier. More...
 

Class Methods

(int) + fixedPayloadHeaderLength
 Gets the fixed payload header length. More...
 
(FMLiveSwitchSdesChunk *) + sdesChunkWithBuffer:
 Initializes a new instance of the FMLiveSwitchSdesChunk class. More...
 
(FMLiveSwitchSdesChunk *) + sdesChunkWithSynchronizationSource:sourceDescriptionItem:
 Initializes a new instance of the FMLiveSwitchSdesChunk class. More...
 
(FMLiveSwitchSdesChunk *) + sdesChunkWithSynchronizationSource:sourceDescriptionItems:
 Initializes a new instance of the FMLiveSwitchSdesChunk class. More...
 

Detailed Description

An RTCP source description chunk.

Method Documentation

◆ canonicalName

- (NSString*) canonicalName

Gets the Canonical Name (if set) in this SDES chunk.

◆ 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 FMLiveSwitchSdesChunk class.

Parameters
bufferThe buffer.

◆ initWithSynchronizationSource:sourceDescriptionItem:

- (instancetype) initWithSynchronizationSource: (long long)  synchronizationSource
sourceDescriptionItem: (FMLiveSwitchSdesItem *)  sourceDescriptionItem 

Initializes a new instance of the FMLiveSwitchSdesChunk class.

Parameters
synchronizationSourceThe synchronization source.
sourceDescriptionItemThe source description item.

◆ initWithSynchronizationSource:sourceDescriptionItems:

- (instancetype) initWithSynchronizationSource: (long long)  synchronizationSource
sourceDescriptionItems: (NSMutableArray *)  sourceDescriptionItems 

Initializes a new instance of the FMLiveSwitchSdesChunk class.

Parameters
synchronizationSourceThe synchronization source.
sourceDescriptionItemsThe source description items.

◆ mid

- (NSString*) mid

Gets the Media Stream Indentification (if set) in this SDES chunk.

◆ sdesChunkWithBuffer:

+ (FMLiveSwitchSdesChunk*) sdesChunkWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

Initializes a new instance of the FMLiveSwitchSdesChunk class.

Parameters
bufferThe buffer.

◆ sdesChunkWithSynchronizationSource:sourceDescriptionItem:

+ (FMLiveSwitchSdesChunk*) sdesChunkWithSynchronizationSource: (long long)  synchronizationSource
sourceDescriptionItem: (FMLiveSwitchSdesItem *)  sourceDescriptionItem 

Initializes a new instance of the FMLiveSwitchSdesChunk class.

Parameters
synchronizationSourceThe synchronization source.
sourceDescriptionItemThe source description item.

◆ sdesChunkWithSynchronizationSource:sourceDescriptionItems:

+ (FMLiveSwitchSdesChunk*) sdesChunkWithSynchronizationSource: (long long)  synchronizationSource
sourceDescriptionItems: (NSMutableArray *)  sourceDescriptionItems 

Initializes a new instance of the FMLiveSwitchSdesChunk class.

Parameters
synchronizationSourceThe synchronization source.
sourceDescriptionItemsThe source description items.

◆ setSynchronizationSource:

- (void) setSynchronizationSource: (long long)  value

Sets the SSRC/CSRC identifier.

◆ sourceDescriptionItems

- (NSMutableArray*) sourceDescriptionItems

Gets the source description items.

◆ synchronizationSource

- (long long) synchronizationSource

Gets the SSRC/CSRC identifier.