RTCIceParameters
TheRTCIceParameters
dictionary specifies the username fragment and password assigned to anICE session.
During ICE negotiation, each peer's username fragment and password are recorded in anRTCIceParameters
object, which can be obtained from theRTCIceTransport
by calling itsgetLocalParameters()
orgetRemoteParameters()
method, depending on which end interests you.
Instance properties
usernameFragment
A string specifying the value of the ICE session's username fragment field,
ufrag
.password
A string specifying the session's password string.
Usage notes
The username fragment and password uniquely identify the remote peer for the duration of the ICE session, and are used to both ensure security and to avoid crosstalk across multiple ongoing ICE sessions. SeeRTCIceCandidate.usernameFragment
for further information.
Specifications
Specification |
---|
WebRTC: Real-Time Communication in Browsers # rtciceparameters |