fm.liveswitch.sdp.MediaStreamIdAttribute Class Reference

https://tools.ietf.org/html/rfc5888#page-4 "Media stream identification" media attribute, which is used for identifying media streams within a session description. More...

Public Member Functions

String getIdentificationTag ()
 Gets the identification tag. More...
 
 MediaStreamIdAttribute (String idValue)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdAttribute 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.MediaStreamIdAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdAttribute 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

https://tools.ietf.org/html/rfc5888#page-4 "Media stream identification" media attribute, which is used for identifying media streams within a session description.

Its formatting in SDP [RFC4566] is described by the following Augmented Backus-Naur Form(ABNF) [RFC5234]:

mid-attribute = "a=mid:" identification-tag identification-tag = token ; token is defined in RFC 4566 The identification-tag MUST be unique within an SDP session description.

Constructor & Destructor Documentation

◆ MediaStreamIdAttribute()

fm.liveswitch.sdp.MediaStreamIdAttribute.MediaStreamIdAttribute ( String  idValue)

Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdAttribute class.

Parameters
idValueThe identifier.

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.MediaStreamIdAttribute fm.liveswitch.sdp.MediaStreamIdAttribute.fromAttributeValue ( String  value)
static

Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue()

String fm.liveswitch.sdp.MediaStreamIdAttribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getIdentificationTag()

String fm.liveswitch.sdp.MediaStreamIdAttribute.getIdentificationTag ( )

Gets the identification tag.