element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.39k stars 731 forks source link

Calls fails to negotiate for a second time #6345

Open Doomsdayrs opened 2 years ago

Doomsdayrs commented 2 years ago

Steps to reproduce

  1. Have both WiFi and Cell connected
  2. Be in a video call
  3. Turn off WiFi
  4. Notice element is trying to connect the call
  5. Call resumes over cellular
  6. Wait a bit
  7. Connect WiFi
  8. Wait for android to force element to use WiFi for network traffic
  9. Element returns to trying to connect
  10. Notice element does not send a call setup request

Outcome

What did you expect?

Element can maintain a call regardless of network swapping.

What happened instead?

Element does not send call negotiations during the second network swap.

Killing the app will lead the the call being stuck with a "Hang up" button. Instead of a "reconnect" button.

Your phone model

OP8T

Operating system version

11.0

Application version and app store

1.4.19 [40104190] (F-4ea2b193)

Homeserver

matrix.org

Will you send logs?

Yes

Are you willing to provide a PR?

No

Doomsdayrs commented 2 years ago

Can confirm this still occurs on the latest release 1.4.34