The RTCIceCandidatePair dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints. It is used as the return value from RTCIceTransport.getSelectedCandidatePair() to identify the currently-selected candidate pair identified by the ICE agent.
On this page
RTCIceCandidatePair
Instance properties
-
local -
An
RTCIceCandidatedescribing the configuration of the local end of the connection. -
remote -
The
RTCIceCandidatedescribing the configuration of the remote end of the connection.
Examples
See RTCIceTransport.onselectedcandidatepairchange for example code.
Specifications
No specification found
No specification data found for api.RTCIceCandidatePair.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Browser compatibility
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidatePair