peerjs-python icon indicating copy to clipboard operation
peerjs-python copied to clipboard

Implement ICE server probing to prevent webrtc service downtime

Open ivelin opened this issue 3 years ago • 1 comments

Currently aiortc does not implement ICETrickle nor is it able to fall back from a failing primary STUN or TURN server to a fall back option provided in the API standard RTCConfiguration list.

As a workaround, we can implement a background thread that periodically (e.g. every minute) polls the servers in the RTCConfig list and removes the dead ones. Respectively as needed, signal the peerjs code to reconnect via healthy servers.

ivelin avatar Oct 26 '20 16:10 ivelin

related to #34 and https://github.com/aiortc/aioice/issues/4

ivelin avatar Oct 26 '20 16:10 ivelin