Class SdpLanguageAttribute
This can be a session-level attribute or a media-level attribute. As a session-level attribute, it specifies the language for the session description. As a media-level attribute, it specifies the language for any media-level SDP information field associated with that media. Multiple sdplang attributes can be provided either at session or media level if multiple languages in the session description or media use multiple languages, in which case the order of the attributes indicates the order of importance of the various languages in the session or media from most important to least important.
Inherited Members
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class SdpLanguageAttribute : Attribute
Constructors
SdpLanguageAttribute(String)
Initializes a new instance of the SdpLanguageAttribute class.
Declaration
public SdpLanguageAttribute(string languageTag)
Parameters
Type | Name | Description |
---|---|---|
System.String | languageTag | The language for either the session description (if used as a session-level attribute) or any media-level SDP information field associated with that media (if used as a media-level attribute). |
Properties
LanguageTag
Gets or sets the language for either the session description (if used as a session-level attribute) or any media-level SDP information field associated with that media (if used as a media-level attribute).
Declaration
public string LanguageTag { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the SdpLanguageAttribute class.
Declaration
public static SdpLanguageAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
SdpLanguageAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |