Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ringtone plays through the "speaker mode" system instead of the "default calling" system when calling someone. #4781

Closed
viasux opened this issue Dec 20, 2021 · 13 comments · Fixed by #4799
Labels
A-VoIP O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@viasux
Copy link

viasux commented Dec 20, 2021

Steps to reproduce

  1. Call an individual
  2. Put the phone up to your head, assuming it will behave like normal.
  3. Experience hearing loss from the phone blaring at an unadjustable volume on speaker mode.
  4. The call itself starts and it is no longer speaker mode, without any user interaction.

Outcome

What did you expect?

I expected that the phone would behave like normal and not play at maximum "speaker mode" volume without me specifying for that to happen

What happened instead?

The app likely caused me hearing damage, this has happened multiple times because it is the practical behavior of every calling app I've ever used. Kind of annoyed because both the notification noise on the desktop app & this have been physically damaging to me & others and they don't seem to be getting worked on. (see element-hq/element-web#5891 (comment))

Your phone model

Pixel 4a 5G

Operating system version

Android 11

Application version and app store

Element version 1.3.9 Olm version 3.2.4

Homeserver

yiff.social

Will you send logs?

No

@viasux viasux added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Dec 20, 2021
@ouchadam
Copy link
Contributor

this sounds like an awful bug, to confirm the issue is

  1. start a voice call
  2. the app incorrectly defaults to the speaker

for extra context the outgoing ringing volume is currently controlled by the media volume and different oems/skins/android OS's handle the volume controls slightly differently

Android 10 (MIUI) Android 11 (One UI) Android 11 (One UI) expanded
miui-in-call-volume b4a046a5-440b-4800-a312-3d9bc090436a 1bf8e823-c5e4-4626-af32-81003bbb2797

@ouchadam ouchadam added A-VoIP O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels Dec 21, 2021
@viasux
Copy link
Author

viasux commented Dec 21, 2021

this sounds like an awful bug, to confirm the issue is

  1. start a voice call
  2. the app incorrectly defaults to the speaker

for extra context the outgoing ringing volume is currently controlled by the media volume and different oems/skins/android OS's handle the volume controls slightly differently

Android 10 (MIUI) Android 11 (One UI) Android 11 (One UI) expanded
miui-in-call-volume b4a046a5-440b-4800-a312-3d9bc090436a 1bf8e823-c5e4-4626-af32-81003bbb2797

Yes, except the ringtone is the only part which starts in speaker mode. It then reverts back to normal after. Im running lineageos 18.1 btw. Ive attached an image of what my sound system looks like.Screenshot_20211221-103447_GitHub.png

@bmarty
Copy link
Member

bmarty commented Jan 5, 2022

Should be fixed in 1.3.13 🤞

@viasux
Copy link
Author

viasux commented Jan 9, 2022

Should be fixed in 1.3.13 🤞

Nope! Still happening.

@ouchadam
Copy link
Contributor

to double check, which build was used? (we haven't released 1.3.13 yet)

@viasux
Copy link
Author

viasux commented Jan 10, 2022

to double check, which build was used? (we haven't released 1.3.13 yet)

Oh im not using the updated version then, sorry!

@AnisTaluqdar
Copy link

@bmarty I can confirm. still, the same problem is occurring in 1.3.13.

@ouchadam
Copy link
Contributor

@AnisTaluqdar are you also running Lineage OS?

@AnisTaluqdar
Copy link

AnisTaluqdar commented Jan 12, 2022

@AnisTaluqdar are you also running Lineage OS?

no. Android 10 with Gplay

@ouchadam
Copy link
Contributor

👍

and to confirm your issue, when starting an audio call, the speaker is used instead of ear piece (using the 1.3.13 apk or beta from the play store)

@AnisTaluqdar
Copy link

AnisTaluqdar commented Jan 12, 2022

In audio call It use ear piece but the sound is related to media volume instead of calling volume. And sorry the android version is 10 not 11.

@AnisTaluqdar
Copy link

Other messenger use always call volume whether it is in speaker or ear piece but element always use media volume in my phone even in 1.3.13

@ouchadam
Copy link
Contributor

ahhh! that sounds like #3391 which hasn't been addressed yet (outgoing call ringtones using the media volume)

this issue #4781 is for the device speaker incorrectly being used for the ringing when starting an audio call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-VoIP O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants