Back to Content

RTCIceParameters: usernameFragment property

files/en-us/web/api/rtciceparameters/usernamefragment/index.md

latest651 B
Original Source

{{APIRef("WebRTC")}}

The {{domxref("RTCIceParameters")}} dictionary's usernameFragment property specifies the username fragment ("ufrag") that uniquely identifies the corresponding ICE session for the duration of the current ICE session.

Value

A string containing the username fragment that, in tandem with the {{domxref("RTCIceParameters.password", "password")}}, uniquely identify the ICE session being used by the transport. The string may be up to 256 characters long.

See {{domxref("RTCIceCandidate.usernameFragment")}} to learn more about username fragments and their role in a connection.

Specifications

{{Specifications}}