fm.liveswitch.sdp.MediaStreamIdSemanticAttribute Class Reference

https://tools.ietf.org/html/draft-ietf-mmusic-msid-08 - NB: Removed in subsequent drafts, most likely will not be used eventually. More...

Public Member Functions

String getMsIdList ()
 Gets the space-delimited list of msids for which a given semantic is used. More...
 
 MediaStreamIdSemanticAttribute (fm.liveswitch.sdp.MediaStreamIdSemanticToken semanticToken)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdSemanticAttribute class. More...
 
 MediaStreamIdSemanticAttribute (fm.liveswitch.sdp.MediaStreamIdSemanticToken semanticToken, String msidList)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdSemanticAttribute class. More...
 
void setMsIdList (String value)
 Sets the space-delimited list of msids for which a given semantic is used. 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.MediaStreamIdSemanticAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.MediaStreamIdSemanticAttribute 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/draft-ietf-mmusic-msid-08 - NB: Removed in subsequent drafts, most likely will not be used eventually.

Used here for compatibility with Google Chrome and Mozilla Firefox.

A session-level attribute is defined for signalling the semantics associated with an msid grouping.This allows msid groupings with different semantics to coexist.

This OPTIONAL attribute gives the group identifier and its group semantic; it carries the same meaning as the ssrc-group-attr of RFC 5576 section 4.2, but uses the identifier of the group rather than a list of SSRC values.

This attribute MUST be present if "a=msid" is used.

An empty list of identifiers is an indication that the sender supports the indicated semantic, but has no msid groupings of the given type in the present SDP.

An identifier of "*" is an indication that all "a=msid" lines in the SDP have this specific semantic. If "*" is not used, each msid-id in the SDP MUST appear in one and only one "msid-semantic" line. The name of the attribute is "msid-semantic". The value of the attribute is given by the following ABNF:

msid-semantic-value = msid - semantic msid-list msid-semantic = token ; see RFC 4566 msid-list = *(" " msid-id) / " *"

The semantic field holds values from the IANA registriy "Semantics for the msid-semantic SDP attribute" (which is defined in Section 6 of https://tools.ietf.org/html/draft-ietf-mmusic-msid-08 ).

An example msid-semantic might look like this, if a semantic LS was registered by IANA for the same purpose as the existing LS grouping semantic:

a= msid-semantic:LS xyzzy forolow

This means that the SDP description has two lip sync groups, with the group identifiers xyzzy and forolow, respectively.

The msid-semantic attribute can occur more than once, but MUST NOT occur more than once with the same msid-semantic value.

Constructor & Destructor Documentation

◆ MediaStreamIdSemanticAttribute() [1/2]

fm.liveswitch.sdp.MediaStreamIdSemanticAttribute.MediaStreamIdSemanticAttribute ( fm.liveswitch.sdp.MediaStreamIdSemanticToken  semanticToken)

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

Parameters
semanticTokenThe semantic token.

◆ MediaStreamIdSemanticAttribute() [2/2]

fm.liveswitch.sdp.MediaStreamIdSemanticAttribute.MediaStreamIdSemanticAttribute ( fm.liveswitch.sdp.MediaStreamIdSemanticToken  semanticToken,
String  msidList 
)

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

Parameters
semanticTokenThe semantic token.
msidListThe msid list for the given semantic token.

Member Function Documentation

◆ fromAttributeValue()

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

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

Parameters
valueThe attribute value.

◆ getAttributeValue()

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

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getMsIdList()

String fm.liveswitch.sdp.MediaStreamIdSemanticAttribute.getMsIdList ( )

Gets the space-delimited list of msids for which a given semantic is used.

An empty list of identifiers is an indication that the sender supports the indicated semantic, but has no msid groupings of the given type in the present SDP.

An identifier of "*" is an indication that all "a=msid" lines in the SDP have this specific semantic. If "*" is not used, each msid-id in the SDP MUST appear in one and only one "msid-semantic" line.

◆ setMsIdList()

void fm.liveswitch.sdp.MediaStreamIdSemanticAttribute.setMsIdList ( String  value)

Sets the space-delimited list of msids for which a given semantic is used.

An empty list of identifiers is an indication that the sender supports the indicated semantic, but has no msid groupings of the given type in the present SDP.

An identifier of "*" is an indication that all "a=msid" lines in the SDP have this specific semantic. If "*" is not used, each msid-id in the SDP MUST appear in one and only one "msid-semantic" line.