usernameFragment property

String? get usernameFragment

The read-only usernameFragment property on the RTCIceCandidate interface is a string indicating the username fragment ("ufrag") that uniquely identifies a single ICE interaction session.

This value is specified using the usernameFragment property in the candidateInfo options object that is passed to the RTCIceCandidate.RTCIceCandidate constructor. If you call the constructor with an m-line string instead of the options object, the value of usernameFragment is extracted from the specified candidate m-line string.

Note that 24 bits of the username fragment are required to be randomized by the browser. See Randomization below for details.

Implementation

external String? get usernameFragment;