element-hq / element-android

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

Microphone doesn't work sometimes when calling someone #6839

Open DarkToaster69 opened 2 years ago

DarkToaster69 commented 2 years ago

Steps to reproduce

  1. Where are you starting? What can you see? I'm just calling someone and the microphone doesn't turn on and the green android indicator light indicating that the microphone is used doesn't turn on.

  2. What do you click? I click on the call button.

Outcome

What did you expect?

The microphone to just work and the green indicator light indicating that the microphone is used.

What happened instead?

The microphone didn't work.

Your phone model

Samsung Galaxy S22 Ultra

Operating system version

Android 12

Application version and app store

Element Version 1.4.31, olm 3.2.12 from Google Play Store

Homeserver

matrix.darkly.biz running on Synapse

Will you send logs?

Yes

Are you willing to provide a PR?

No

DeepBlueBubble commented 2 years ago

Same here on Poco X4 GT. I encountered such issue on 1.4.30 and 1.4.32, and then downgraded to 1.4.26 with better situation. However the problem still exists.

amosstevens commented 1 year ago

Pixel 4 - Android 13 QPR2 - Element 1.5.26 (F-Droid)

I'm experiencing the same issue with 2 cases

  1. If i put element in background while I'm calling someone before he/she will answer, the microphone doesn't activate, the green microphone icon indicator in the status bar appears and after a second it disappears

  2. When i'm on element in foreground, but with the camera toggle is deactivated in the status bar, the microphone doesn't activate too during a call


in the first case i found a workaround, you have to deactivate and reactivate the camera and microphone toggles on the status bar during the call

in the second case, that seems to be an upstream bug of the Android 13 AOSP QPR2, and the workaround is reactivate the camera toggle temporarily