Class RemoteCandidatesAttribute
The attribute contains a connection-address and port for each component. The ordering of components is irrelevant. However, a value MUST be present for each component of a media stream. This attribute MUST be included in an offer by a controlling agent for a media stream that is Completed, and MUST NOT be included in any other case.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp.Ice
Assembly: FM.LiveSwitch.dll
Syntax
public class RemoteCandidatesAttribute : Attribute
Constructors
RemoteCandidatesAttribute(RemoteCandidate[])
Initializes a new instance of the RemoteCandidatesAttribute class.
Declaration
public RemoteCandidatesAttribute(RemoteCandidate[] candidates)
Parameters
Type | Name | Description |
---|---|---|
RemoteCandidate[] | candidates | The array of remote candidates. |
Properties
Candidates
Gets or sets the array of remote candidates.
Declaration
public RemoteCandidate[] Candidates { get; }
Property Value
Type | Description |
---|---|
RemoteCandidate[] |
Methods
FromAttributeValue(String)
Initializes a new instance of the RemoteCandidatesAttribute class.
Declaration
public static RemoteCandidatesAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
RemoteCandidatesAttribute |
GetAttributeValue()
Gets the value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |