meshenger-app / meshenger-android

P2P Voice/Video phone App for local networks.
GNU General Public License v3.0
650 stars 106 forks source link

Possibility to choose normal audio #135

Open Miala-python opened 5 months ago

Miala-python commented 5 months ago

Hello, Actually, we can only choose between earphones or speakerphones, which say to the device: it's a call. Can you add a function for permits to consider the audio as 'normal' music? Then, we will be able to completely disable the sound if we want, to start music at the same time, and to play sounds on a Bluetooth headset for example.

mwarning commented 5 months ago

By clicking the audio output button during the call (or via the settings), you can switch to speakerphone. This should be the 'normal' music channel (at least I believe so).

Miala-python commented 5 months ago

By clicking the audio output button during the call (or via the settings), you can switch to speakerphone. This should be the 'normal' music channel (at least I believe so).

Not for me: when there is a call, the phone doesn't let me cut the sound.

"Normal" multimedia: 2024_04_13_10_14_16.gif

Earphones: 2024_04_13_10_17_33.gif

Speakerphones: 2024_04_13_10_19_22.gif

Device informations: Screenshot_2024-04-13-10-22-53-361_com.android.settings.jpg

mwarning commented 5 months ago

hm, I have no idea why this is happening. The audo code is cobbeled together. Is this something that you can fix? Merge request are always welcome.

Miala-python commented 5 months ago

Is this something that you can fix? Merge request are always welcome.

Unfortunately, I don't know a lot about android coding. It seems to be specific to calls because I have the same problem with other apps like discord, but only when I'm in calls...

mwarning commented 5 months ago

If you have the same issue with other apps (and Meshenger not being involved), then I do not have much confidence that I can fix this.

Miala-python commented 5 months ago

It's maybe an exclusive functionality of MIUI...

mwarning commented 5 months ago

Could be, but that means that I won't be able to test this myself.