v0.21.0 restartIce
Support for restartIce has been added.
https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/restartIce
You can reconnect to the network while maintaining the RTCPeerConnection session.
This is useful in scenarios such as:
- Temporary network disconnections
- Switching from Wi-Fi to a mobile network
For usage details, please refer to the sample code and other articles available on Google:
https://github.com/shinyoshiaki/werift-webrtc/blob/c4401dfa2943104992b4846ececddb814281f419/examples/ice/restart/offer.ts