fm.liveswitch.sdp.MediaStreamIdentifierAttribute Class Reference

https://datatracker.ietf.org/doc/html/rfc8830#sect-media-stream "Media stream identifier" attribute, which can be used to signal the relationship between a group of MediaStreams and a set of media descriptions Its formatting in SDP [RFC8830] is described by the following Augmented Backus-Naur Form(ABNF) [RFC5234]: More...

Public Member Functions

String getAppData ()
 Gets the app data (may be null). More...
 
String getIdentifier ()
 Gets the identifier. More...
 
 MediaStreamIdentifierAttribute (String attributeValue)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdentifierAttribute class. More...
 
void setAppData (String value)
 Sets the app data (may be null). More...
 
void setIdentifier (String value)
 Sets the identifier. 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.MediaStreamIdentifierAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdentifierAttribute 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://datatracker.ietf.org/doc/html/rfc8830#sect-media-stream "Media stream identifier" attribute, which can be used to signal the relationship between a group of MediaStreams and a set of media descriptions Its formatting in SDP [RFC8830] is described by the following Augmented Backus-Naur Form(ABNF) [RFC5234]:

msid-value = msid-id [ SP msid-appdata ] msid-id = 1*64token-char ; see RFC 4566 msid-appdata = 1*64token-char ; see RFC 4566 The identification-tag MUST be unique within an SDP session description.

Constructor & Destructor Documentation

◆ MediaStreamIdentifierAttribute()

fm.liveswitch.sdp.MediaStreamIdentifierAttribute.MediaStreamIdentifierAttribute ( String  attributeValue)

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

Parameters
attributeValueThe identifier (and optionally app-data).

Member Function Documentation

◆ fromAttributeValue()

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

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

Parameters
valueThe attribute value.

◆ getAppData()

String fm.liveswitch.sdp.MediaStreamIdentifierAttribute.getAppData ( )

Gets the app data (may be null).

◆ getAttributeValue()

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

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getIdentifier()

String fm.liveswitch.sdp.MediaStreamIdentifierAttribute.getIdentifier ( )

Gets the identifier.

◆ setAppData()

void fm.liveswitch.sdp.MediaStreamIdentifierAttribute.setAppData ( String  value)

Sets the app data (may be null).

◆ setIdentifier()

void fm.liveswitch.sdp.MediaStreamIdentifierAttribute.setIdentifier ( String  value)

Sets the identifier.