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.
localAn RTCIceCandidate describing the configuration of the local end of the connection.
remoteThe RTCIceCandidate describing the configuration of the remote end of the connection.
See RTCIceTransport.onselectedcandidatepairchange for example code.
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidatePair