Tuesday, December 31, 2019

What is ICE in WebRTC?


What is ICE in WebRTC?
ICE stands for Interactive Connectivity Establishment.

It is a standard method of NAT traversal used in WebRTC
ICE deals with the process of connecting media through NATs by conducting connectivity checks.


ICE collects all available candidates (local IP addresses, reflexive addresses – STUN ones and relayed addresses – TURN ones). All the collected addresses are then sent to the remote peer via SDP.

Once the WebRTC Client has all the collected ICE addresses of itself and its peer, it starts initiating connectivity checks. These checks essentially try sending media over the various addresses until success.


The downside of using ICE is the time it takes, which can be 10s of seconds. To run faster, a new mechanism was added in WebRTC called Trickle ICE.


References
https://webrtcglossary.com/ice/

No comments:

Post a Comment