Class RTCIceParameters
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The RTCIceParameters dictionary specifies the username fragment and password assigned to an ICE session.
[ToObject]
public class RTCIceParameters
- Inheritance
-
RTCIceParameters
- Inherited Members
Remarks
During ICE negotiation, each peer's username fragment and password are recorded in an RTCIceParameters object, which can be obtained from the RTCIceTransport by calling its GetLocalParameters() or GetRemoteParameters() method, depending on which end interests you.
Constructors
RTCIceParameters()
public RTCIceParameters()
Fields
IceLite
[Value("iceLite")]
public bool IceLite
Field Value
Password
The RTCIceParameters
dictionary's password property specifies the ICE
password that, in tandem with the UsernameFragment, uniquely identifies an ICE session for its entire
duration.
[Value("password")]
public string Password
Field Value
- string
A string containing the password that corresponds to the transport's
usernameFragmentstring
Remarks
UsernameFragment
The RTCIceParameters dictionary'susernameFragment property specifies the username fragment
("ufrag") that uniquely identifies the corresponding ICE session for the duration of the
current ICE session.
[Value("usernameFragment")]
public string UsernameFragment
Field Value
- string
A string containing the username fragment that, in tandem with the
Password, uniquely identify the ICE session
being used by the transport. The string may be up to 256 characters long.See UsernameFragment to learn more about username
fragments and their role in a connection.