RTCIceCandidatePair
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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.
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
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-rtcicecandidatepair> |