Back to Content

RTCIceCandidateStats: url property

files/en-us/web/api/rtcicecandidatestats/url/index.md

latest717 B
Original Source

{{APIRef("WebRTC")}}

The {{domxref("RTCIceCandidateStats")}} dictionary's url property specifies the URL of the {{Glossary("ICE")}} server from which the described candidate was obtained. This property is only available for local candidates.

Value

A string specifying the URL of the ICE server from which the candidate described by the RTCIceCandidateStats was obtained. This is the same URL that would be received in the {{domxref("RTCPeerConnection.icecandidate_event", "icecandidate")}} event's {{domxref("RTCPeerConnectionIceEvent.url", "url")}} property.

[!NOTE] This property does not exist for remote candidates.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}