You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something happened that has drastically increased the WebRTC connection times... Still works and connects eventually but it's currently painfully slow.
The text was updated successfully, but these errors were encountered:
It looks like the delay is browser side - looking at logging on both sides it looks like nothing hits air-infer-api until after the long delay. I suspect it's ICE candidate gathering and may be related to IPv6.
It is possible to reproduce this in my environment by reloading the page. It looks like Chrome fires the icegatheringstatechange => complete event earlier on the first attempt to connect, but if you refresh, it takes much longer. The long term solution is probably to implement Trickle ICE, but the short term solution might be to attempt to connect after a pause in candidate generation. See my very janky branch for some logging related to this: https://github.com/toverainc/air-infer-api/compare/eric/logging-ice-junk?expand=1
Something happened that has drastically increased the WebRTC connection times... Still works and connects eventually but it's currently painfully slow.
The text was updated successfully, but these errors were encountered: