element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
GNU Affero General Public License v3.0
1.73k stars 498 forks source link

There is no sound when answering incoming calls in the app. #7721

Open YamatoRyou opened 1 year ago

YamatoRyou commented 1 year ago

Steps to reproduce

  1. Start Element and enter a 1:1 room;
  2. Wait for the call from the other party;
  3. After receiving the call, tap "Answer" in the timeline in the conversation.

Outcome

What did you expect?

n/a

What happened instead?

a) If this incoming call is answered according to step 3, then I cannot hear the other party’s voice during this call, and the other party cannot hear my voice. However, the call time will still be displayed as usual. {FFDA764C-39D7-BFEB-2CCB-B7CB747864E9}

b) If you answer from the lock screen or notification banner, then everything is fine. {67C71C71-61F7-7AD1-1987-DEA2F0665257} {7CD59C46-F7C7-DD7D-A7FC-B0E5084E9EB6}


The network environment during the test was Wi-Fi, with self-hosted Synapse and coturn. I have tested this problem many times using the web client (1.11.50) and Android client (1.6.8), and I can reproduce the fault with a high probability. Estimated failure rate: No sound is heard approximately 9 times out of 10 calls. This glitch only occurs with audio calls. If a video call is established through the above steps, there will be only image but no sound.

Your phone model

iPhone 7 Plus

Operating system version

iOS 15.6.1

Application version

Element iOS 1.11.5 (TestFlight)

Homeserver

Synapse 1.97.0

Will you send logs?

No

NicolasBuquet commented 5 months ago

Bug identified. See this issue in Tchap: https://github.com/tchapgouv/tchap-ios/issues/1047

Fix pushed at Matrix: https://github.com/matrix-org/matrix-ios-sdk/pull/1866