element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

Unstable calls #7733

Open Saddamus opened 5 months ago

Saddamus commented 5 months ago

Steps to reproduce

In case of increased ping latency or short outage like some single pocket loss between ios devices, call is being disconnected. Not sure how to debug to get the exact reason, the app just displays: "An error occured. Please try again later".

Outcome

What did you expect?

WebRTC deals very well with different network conditions. In case of connectivity issues. pending call should reinivte the session and continue.

What happened instead?

Call is being dropped immediately - no reconnection attempt. What i can guess by watching TURN server logs is that device affected by pure network condition is trying to re-establish connection by sending bindings, but device where network is stable, just displays error and hangs up.

Your phone model

IphoneX

Operating system version

IOS 16.2

Application version

Element 1.11.5

Homeserver

Synapse

Will you send logs?

Yes