Implement ICE restarts
Open
feature request
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 983
- PR merge metrics
- No merged PRs in 30d
Description
When network conditions change or the current route is congested, it's possible to restart ICE and gather/select a new candidate pair. Apparently this happens very frequently with cellular networks or with certain types of NATs.
Restart is done by calling `createOffer` with the `iceRestart` option when `iceConnectionState == 'failed'`.
As an optimization, ICE restart can be done preemptively when `iceConnectionState == 'disconnected'` (before `'failed'`) and it won't immediately bounce back to `connected`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.