-
Notifications
You must be signed in to change notification settings - Fork 22.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RTCTransportStats.iceLocalUsernameFragment
- Loading branch information
1 parent
03875a1
commit f325376
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
files/en-us/web/api/rtctransportstats/icelocalusernamefragment/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: "RTCTransportStats: iceLocalUsernameFragment property" | ||
short-title: iceLocalUsernameFragment | ||
slug: Web/API/RTCTransportStats/iceLocalUsernameFragment | ||
page-type: web-api-instance-property | ||
browser-compat: api.RTCStatsReport.type_transport.iceLocalUsernameFragment | ||
--- | ||
|
||
{{APIRef("WebRTC")}} | ||
|
||
The **`iceLocalUsernameFragment`** property of the {{domxref("RTCTransportStats")}} dictionary is a string that indicates the local username fragment ("ufrag" or "ice-ufrag") that uniquely identifies the ICE interaction session managed by this transport. | ||
|
||
## Value | ||
|
||
A string containing the username fragment that uniquely identifies the ongoing ICE session on the transport. | ||
The same fragment is used to identify the section for any communication with the STUN server. | ||
The string may be up to 256 characters long, and has no default value. | ||
|
||
This has the same values as the corresponding local {{domxref("RTCIceCandidate.usernameFragment")}} property. | ||
It will change if the connection is renegotiated, for example on ICE restart, or if {{domxref("RTCPeerConnection.setLocalDescription()")}} is called. | ||
|
||
## Specifications | ||
|
||
{{Specifications}} | ||
|
||
## Browser compatibility | ||
|
||
{{Compat}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters