fm.liveswitch.sdp.rtp.SsrcAttribute Class Reference

The SDP media attribute "ssrc" indicates a property (known as a "source-level attribute") of a media source (RTP stream) within an RTP session. More...

Public Member Functions

String getName ()
 Gets the name of the attribute. More...
 
long getSynchronizationSource ()
 Gets the synchronization source. More...
 
String getValue ()
 Gets the attribute value. More...
 
void setValue (String value)
 Sets the attribute value. More...
 
 SsrcAttribute (long synchronizationSource, String attributeName)
 Initializes a new instance of the fm.liveswitch.sdp.rtp.SsrcAttribute class. More...
 
 SsrcAttribute (long synchronizationSource, String attributeName, String attributeValue)
 Initializes a new instance of the fm.liveswitch.sdp.rtp.SsrcAttribute class. More...
 
- Public Member Functions inherited from fm.liveswitch.sdp.Attribute
fm.liveswitch.sdp.AttributeType getAttributeType ()
 Gets this Attribute's Type. More...
 
fm.liveswitch.sdp.AttributeCategory getMultiplexingCategory ()
 Gets the Multiplexing Category of this Attribute. More...
 
void setAttributeType (fm.liveswitch.sdp.AttributeType value)
 Sets this Attribute's Type. More...
 
String toString ()
 Converts this instance to a string. More...
 

Static Public Member Functions

static fm.liveswitch.sdp.rtp.SsrcAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.rtp.SsrcAttribute class. More...
 
- Static Public Member Functions inherited from fm.liveswitch.sdp.Attribute
static fm.liveswitch.sdp.Attribute createAttribute (String name, String value)
 Creates an attribute. More...
 
static String getTypeName (@SuppressWarnings("rawtypes") Class type)
 Gets the name of the attribute type. More...
 
static boolean isMediaLevel (@SuppressWarnings("rawtypes") Class type)
 Determines whether the type applies to media streams. More...
 
static boolean isSessionLevel (@SuppressWarnings("rawtypes") Class type)
 Determines whether the type applies to sessions. More...
 
static fm.liveswitch.sdp.Attribute parse (String s)
 Creates an fm.liveswitch.sdp.ConnectionData instance from a string. More...
 

Protected Member Functions

String getAttributeValue ()
 Gets the internal value of the attribute. More...
 
- Protected Member Functions inherited from fm.liveswitch.sdp.Attribute
 Attribute ()
 
void setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value)
 Sets the Multiplexing Category of this Attribute. More...
 

Detailed Description

The SDP media attribute "ssrc" indicates a property (known as a "source-level attribute") of a media source (RTP stream) within an RTP session.

Constructor & Destructor Documentation

◆ SsrcAttribute() [1/2]

fm.liveswitch.sdp.rtp.SsrcAttribute.SsrcAttribute ( long  synchronizationSource,
String  attributeName 
)

Initializes a new instance of the fm.liveswitch.sdp.rtp.SsrcAttribute class.

Parameters
synchronizationSourceThe synchronization source.
attributeNameName of the attribute.

◆ SsrcAttribute() [2/2]

fm.liveswitch.sdp.rtp.SsrcAttribute.SsrcAttribute ( long  synchronizationSource,
String  attributeName,
String  attributeValue 
)

Initializes a new instance of the fm.liveswitch.sdp.rtp.SsrcAttribute class.

Parameters
synchronizationSourceThe synchronization source.
attributeNameName of the attribute.
attributeValueThe attribute value.

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.rtp.SsrcAttribute fm.liveswitch.sdp.rtp.SsrcAttribute.fromAttributeValue ( String  value)
static

Initializes a new instance of the fm.liveswitch.sdp.rtp.SsrcAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue()

String fm.liveswitch.sdp.rtp.SsrcAttribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getName()

String fm.liveswitch.sdp.rtp.SsrcAttribute.getName ( )

Gets the name of the attribute.

◆ getSynchronizationSource()

long fm.liveswitch.sdp.rtp.SsrcAttribute.getSynchronizationSource ( )

Gets the synchronization source.

◆ getValue()

String fm.liveswitch.sdp.rtp.SsrcAttribute.getValue ( )

Gets the attribute value.

◆ setValue()

void fm.liveswitch.sdp.rtp.SsrcAttribute.setValue ( String  value)

Sets the attribute value.