Back to Content

RTCIceCandidateStats: foundation property

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

latest759 B
Original Source

{{APIRef("WebRTC")}}{{SeeCompatTable}}

The foundation property of the {{domxref("RTCIceCandidateStats")}} interface is a string that allows correlation of candidates from a common network path on multiple {{domxref("RTCIceTransport")}} objects.

It is the same for two candidates that are of the same type, are using the same transport protocol, originate from the same IP address, use ports that fall within the same range, and come from the same STUN server.

For more information see {{domxref("RTCIceCandidate.foundation")}}.

Value

A string representing the {{domxref("RTCIceCandidate.foundation", "foundation")}} of the corresponding {{domxref("RTCIceCandidate")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}