fm.liveswitch.sdp.rtp.SimulcastAttribute Class Reference

The SDP media attribute "simulcast" describes, independently for send and receive directions, the number of simulcast RTP streams as well as potential alternative formats for each simulcast RTP stream. More...

Public Member Functions

fm.liveswitch.sdp.rtp.SimulcastStreamDescription getDescription1 ()
 Gets the first description. More...
 
fm.liveswitch.sdp.rtp.SimulcastStreamDescription getDescription2 ()
 Gets the second description. More...
 
int getDraftVersion ()
 Gets the version of the IETF draft to comply with. More...
 
fm.liveswitch.sdp.rtp.SimulcastStreamDescription getReceiveDescription ()
 Gets the 'receive' description. More...
 
fm.liveswitch.sdp.rtp.SimulcastStreamDescription getSendDescription ()
 Gets the 'send' description. More...
 
void setDraftVersion (int value)
 Sets the version of the IETF draft to comply with. More...
 
 SimulcastAttribute (fm.liveswitch.sdp.rtp.SimulcastStreamDescription description)
 Initializes a new instance of the fm.liveswitch.sdp.rtp.SimulcastAttribute class. More...
 
 SimulcastAttribute (fm.liveswitch.sdp.rtp.SimulcastStreamDescription description1, fm.liveswitch.sdp.rtp.SimulcastStreamDescription description2)
 Initializes a new instance of the fm.liveswitch.sdp.rtp.SimulcastAttribute 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.SimulcastAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.rtp.SimulcastAttribute 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 "simulcast" describes, independently for send and receive directions, the number of simulcast RTP streams as well as potential alternative formats for each simulcast RTP stream.

Constructor & Destructor Documentation

◆ SimulcastAttribute() [1/2]

fm.liveswitch.sdp.rtp.SimulcastAttribute.SimulcastAttribute ( fm.liveswitch.sdp.rtp.SimulcastStreamDescription  description)

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

Parameters
descriptionThe description.

◆ SimulcastAttribute() [2/2]

fm.liveswitch.sdp.rtp.SimulcastAttribute.SimulcastAttribute ( fm.liveswitch.sdp.rtp.SimulcastStreamDescription  description1,
fm.liveswitch.sdp.rtp.SimulcastStreamDescription  description2 
)

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

Parameters
description1The first description.
description2The second description.

Member Function Documentation

◆ fromAttributeValue()

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

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

Parameters
valueThe attribute value.

◆ getAttributeValue()

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

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getDescription1()

fm.liveswitch.sdp.rtp.SimulcastStreamDescription fm.liveswitch.sdp.rtp.SimulcastAttribute.getDescription1 ( )

Gets the first description.

◆ getDescription2()

fm.liveswitch.sdp.rtp.SimulcastStreamDescription fm.liveswitch.sdp.rtp.SimulcastAttribute.getDescription2 ( )

Gets the second description.

◆ getDraftVersion()

int fm.liveswitch.sdp.rtp.SimulcastAttribute.getDraftVersion ( )

Gets the version of the IETF draft to comply with.

https://tools.ietf.org/html/draft-ietf-mmusic-sdp-simulcast

◆ getReceiveDescription()

fm.liveswitch.sdp.rtp.SimulcastStreamDescription fm.liveswitch.sdp.rtp.SimulcastAttribute.getReceiveDescription ( )

Gets the 'receive' description.

◆ getSendDescription()

fm.liveswitch.sdp.rtp.SimulcastStreamDescription fm.liveswitch.sdp.rtp.SimulcastAttribute.getSendDescription ( )

Gets the 'send' description.

◆ setDraftVersion()

void fm.liveswitch.sdp.rtp.SimulcastAttribute.setDraftVersion ( int  value)

Sets the version of the IETF draft to comply with.

https://tools.ietf.org/html/draft-ietf-mmusic-sdp-simulcast