IceCandidate
Class that represents an ice candidate used by the MLWebRTC API.
Public Fields
Candidate
Gets the candidate id.
public string Candidate { get; set; }
SdpMLineIndex
Gets the index that indicates which media source is associated with the candidate.
public int SdpMLineIndex { get; set; }
SdpMid
Gets the id of the source media component from which the candidate draws data.
public string SdpMid { get; set; }
Public Methods
IceCandidate Create
Factory method used to create a new IceCandidate object.
public static IceCandidate Create(
string candidate ="",
string sdpMid ="",
int sdpMLineIndex =0
)
Parameters
Type | Name | Description |
---|---|---|
string | candidate | The candidate id. |
string | sdpMid | The id of the source media component from which the candidate draws data. |
int | sdpMLineIndex | Index that indicates which media source is associated with a candidate. |
Returns: An ice candidate object with the given handle.