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.
ufrag = RTCIceParameters.usernameFragment;
A
DOMString
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.
见
RTCIceCandidate.usernameFragment
to learn more about username fragments and their role in a connection.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIceParameters.usernameFragment' in that specification. |
候选推荐 | 最初的规范。 |
No compatibility data found. Please contribute data for "api.RTCIceParameters.usernameFragment" (depth: 1) to the MDN 兼容性数据存储库 .
RTCIceParameters
password
usernameFragment
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent