Class OptionsAttribute
The "ice-options" attribute is a session-level attribute. It contains a series of tokens that identify the options supported by the agent.
Inherited Members
Namespace: FM.LiveSwitch.Sdp.Ice
Assembly: FM.LiveSwitch.dll
Syntax
public class OptionsAttribute : Attribute
Constructors
OptionsAttribute(List<OptionTag>)
Initializes a new instance of the OptionsAttribute class.
Declaration
public OptionsAttribute(List<OptionTag> tags)
Parameters
| Type | Name | Description |
|---|---|---|
| List<OptionTag> | tags | The tokens that identify options supported by the agent. |
Properties
Tags
Gets or sets the tokens that identify options supported by the agent.
Declaration
public List<OptionTag> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| List<OptionTag> |
TrickleOptionSet
Gets or sets a value indicating whether trickle-ice is supported.
Declaration
public bool TrickleOptionSet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
FromAttributeValue(String)
Initializes a new instance of the OptionsAttribute class.
Declaration
public static OptionsAttribute FromAttributeValue(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | The attribute value. |
Returns
| Type | Description |
|---|---|
| OptionsAttribute |
GetAttributeValue()
Gets the value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
| Type | Description |
|---|---|
| System.String |