diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index f9a73d557e86785..deef229da83da16 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -8349,6 +8349,7 @@ /en-US/docs/Web/API/RTCIceCandidatePairStats/circuitBreakerTriggerCoun /en-US/docs/Web/API/RTCIceCandidatePairStats/circuitBreakerTriggerCount /en-US/docs/Web/API/RTCIceCandidatePairStats/contentRequestsSent /en-US/docs/Web/API/RTCIceCandidatePairStats/consentRequestsSent /en-US/docs/Web/API/RTCIceCandidateStats/ip /en-US/docs/Web/API/RTCIceCandidateStats/address +/en-US/docs/Web/API/RTCIceCandidateType /en-US/docs/Web/API/RTCIceCandidate/type /en-US/docs/Web/API/RTCIceConnectionState /en-US/docs/Web/API/RTCPeerConnection/iceConnectionState /en-US/docs/Web/API/RTCIceGatheringState /en-US/docs/Web/API/RTCPeerConnection/iceGatheringState /en-US/docs/Web/API/RTCInboundRtpStreamStats/lastPacketReceivedTimesta /en-US/docs/Web/API/RTCInboundRtpStreamStats/lastPacketReceivedTimestamp diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 0d3163c2d286422..28eb4a5d55d3498 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -72276,13 +72276,6 @@ "Sheppy" ] }, - "Web/API/RTCIceCandidateType": { - "modified": "2020-10-15T22:06:15.113Z", - "contributors": [ - "sideshowbarker", - "Sheppy" - ] - }, "Web/API/RTCIceComponent": { "modified": "2020-10-15T22:06:08.263Z", "contributors": [ diff --git a/files/en-us/web/api/rtcicecandidate/index.html b/files/en-us/web/api/rtcicecandidate/index.html index 36c72510b0331a1..e1d6af816cfd8f4 100644 --- a/files/en-us/web/api/rtcicecandidate/index.html +++ b/files/en-us/web/api/rtcicecandidate/index.html @@ -64,7 +64,7 @@
protocol
is "tcp"
, tcpType
represents the type of TCP candidate. Otherwise, tcpType
is null
.RTCIceCandidate.type
.usernameFragment
, even across ICE restarts.A {{domxref("DOMString")}} whose value is one of those defined by the - {{domxref("RTCIceCandidateType")}} enumerated type.
- -{{page("/en-US/docs/Web/API/RTCIceCandidateType", "Values")}}
+A {{domxref("DOMString")}} whose value is one of those defined below. These candidate types are listed in order of priority; the higher in the list they are, the more efficient they are.
+ +host
srflx
ip
indicates an intermediary address assigned by the {{Glossary("STUN")}} server to represent the candidate's peer anonymously.prflx
ip
is an intermediary address assigned by the STUN server to represent the candidate's peer anonymously.relay
If type
is null
, that information was missing from the
{{domxref("RTCIceCandidate.candidate", "candidate")}}'s a-line, which will cause
diff --git a/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.html b/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.html
index 6853a22d0b86c69..37cb8fc3306c843 100644
--- a/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.html
+++ b/files/en-us/web/api/rtcicecandidatestats/candidatetype/index.html
@@ -29,9 +29,7 @@
A {{domxref("DOMString")}} whose value is one of the strings found in the - {{domxref("RTCIceCandidateType")}} enumerated - type:{{page("/en-US/docs/Web/API/RTCIceCandidateType", "value-list")}}
+A {{domxref("DOMString")}} whose value is one of the strings found in RTCIceCandidate.type
.
ip
and only accepted IP addresses.RTCIceCandidate.type
, indicating what kind of candidate the object provides statistics for.false
. For local candidates, it's value is true
if the candidate has been deleted or released. For host candidates, true
means that any network resources (usually a network socket) associated with the candidate have already been released. For {{Glossary("TURN")}} candidates, the TURN allocation is no longer active for deleted candidates. This property is not present for remote candidates.The WebRTC API's RTCIceCandidateType
enumerated type provides a set of {{domxref("DOMString")}} values representing the types of {{Glossary("ICE")}} candidate that can arrive. These strings are taken directly from the candidate
a-line in {{Glossary("SDP")}}.
These candidate types are listed in order of priority; the higher in the list they are, the more efficient they are.
- -host
srflx
ip
indicates an intermediary address assigned by the {{Glossary("STUN")}} server to represent the candidate's peer anonymously.prflx
ip
is an intermediary address assigned by the STUN server to represent the candidate's peer anonymously.relay
The RTCIceCandidateType
enumeration is used by the {{domxref("RTCIceCandidate.type", "type")}} property of {{domxref("RTCIceCandidate")}} objects, as well as when reporting statistics on candidates using {{domxref("RTCIceCandidateStats.candidateType")}}.
{{Compat}}