fm.liveswitch.SdesChunk Class Reference

An RTCP source description chunk. More...

Public Member Functions

String getCanonicalName ()
 Gets the Canonical Name (if set) in this SDES chunk. More...
 
fm.liveswitch.DataBuffer getDataBuffer ()
 Gets the data buffer. More...
 
String getMid ()
 Gets the Media Stream Indentification (if set) in this SDES chunk. More...
 
fm.liveswitch.SdesItem[] getSourceDescriptionItems ()
 Gets the source description items. More...
 
long getSynchronizationSource ()
 Gets the SSRC/CSRC identifier. More...
 
 SdesChunk (fm.liveswitch.DataBuffer buffer)
 Initializes a new instance of the fm.liveswitch.SdesChunk class. More...
 
 SdesChunk (long synchronizationSource, fm.liveswitch.SdesItem sourceDescriptionItem)
 Initializes a new instance of the fm.liveswitch.SdesChunk class. More...
 
 SdesChunk (long synchronizationSource, fm.liveswitch.SdesItem[] sourceDescriptionItems)
 Initializes a new instance of the fm.liveswitch.SdesChunk class. More...
 
void setSynchronizationSource (long value)
 Sets the SSRC/CSRC identifier. More...
 

Static Public Member Functions

static int getFixedPayloadHeaderLength ()
 Gets the fixed payload header length. More...
 

Detailed Description

An RTCP source description chunk.

Constructor & Destructor Documentation

◆ SdesChunk() [1/3]

fm.liveswitch.SdesChunk.SdesChunk ( fm.liveswitch.DataBuffer  buffer)

Initializes a new instance of the fm.liveswitch.SdesChunk class.

Parameters
bufferThe buffer.

◆ SdesChunk() [2/3]

fm.liveswitch.SdesChunk.SdesChunk ( long  synchronizationSource,
fm.liveswitch.SdesItem  sourceDescriptionItem 
)

Initializes a new instance of the fm.liveswitch.SdesChunk class.

Parameters
synchronizationSourceThe synchronization source.
sourceDescriptionItemThe source description item.

◆ SdesChunk() [3/3]

fm.liveswitch.SdesChunk.SdesChunk ( long  synchronizationSource,
fm.liveswitch.SdesItem[]  sourceDescriptionItems 
)

Initializes a new instance of the fm.liveswitch.SdesChunk class.

Parameters
synchronizationSourceThe synchronization source.
sourceDescriptionItemsThe source description items.

Member Function Documentation

◆ getCanonicalName()

String fm.liveswitch.SdesChunk.getCanonicalName ( )

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

◆ getDataBuffer()

fm.liveswitch.DataBuffer fm.liveswitch.SdesChunk.getDataBuffer ( )

Gets the data buffer.

◆ getFixedPayloadHeaderLength()

static int fm.liveswitch.SdesChunk.getFixedPayloadHeaderLength ( )
static

Gets the fixed payload header length.

◆ getMid()

String fm.liveswitch.SdesChunk.getMid ( )

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

◆ getSourceDescriptionItems()

fm.liveswitch.SdesItem [] fm.liveswitch.SdesChunk.getSourceDescriptionItems ( )

Gets the source description items.

◆ getSynchronizationSource()

long fm.liveswitch.SdesChunk.getSynchronizationSource ( )

Gets the SSRC/CSRC identifier.

◆ setSynchronizationSource()

void fm.liveswitch.SdesChunk.setSynchronizationSource ( long  value)

Sets the SSRC/CSRC identifier.