element-hq / element-hq/element-ios

Unstable calls

Open
#7,733 0 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.