Open HuguesDug opened 5 months ago
Thanks for reporting @HuguesDug Is there any chance you can try out the same setup but with an other smartphone? Just to try out it's related to the device...
I will see what I can do to test with another phone. But not easy to setup.
I was now able to reproduce this with a Redmi Note 7.
NC talk android app version: 18.0.0 & 19.0.0RC4 Nextcloud server version: 29.0.0 RC5 & 30.0.0 dev
So it's something related to devices. So far no idea, i will investigate further..
Super ! (as you are able to reproduce, you will have a chance to fix).
Good luck. Looking forward the Bug Fix
I have the exact same issue. Mic not working on my Nokia 7.2. When using my tablet (Nokia T20) the mic is working.
Same thing on Nokia 6.2. As a workaround I installed Talk 17.0.2 from GitHub releases.
@Selaron Did you downgrade?
Yes I downgrade from 18 to 17, but I don't know the exact point release that made microphone stop working.
Downgrade step by step to version 15.1.x with no success. I guess it's messages only until I get a new phone. When reinstalling 19.0.0 I got a hint from the phone that I can use ptt in the call. Sadly, there is no icon for that.
I downgraded step by step to version 15.1.x with no success. I guess it's messages only until I get a new phone. I also tried on an Fairphone 3+ and it was the same disapointing result as with the Nokia 7.2
When reinstalling 19.0.0 I got a hint from the phone that I can use ptt in the call. Sadly, there is no icon for that.
Push to talk is when holding the muted mic button. Then it's unmuted while holding. It's kind of a "hidden feature", thus the hint. Anyway this is not related to the issue at all.
I tried to find this out again but it turned out the mic on my redmi device was not working at all :exploding_head: (so also not for other apps). After a device restart it worked again and also for the Talk app calls. So i must assume i was never able to reproduce the actual problem of this github issue. This also explains why i was not able to find anything while debugging. So bad news is: i don't have a device to reproduce.
What would help to narrow down this issue is if you could send the diagnosis report of the talk app (Settings > Advanced category > Diagnosis > choose copy from upper right corner menu).
If you are using older app version where the issue does not occur (17.0.2 for @Selaron ?), the diagnosis screen is not available. Then please send these infos:
Here it is
Generation of system report
4 juil. 2024 03:47:30
Appareil
HUAWEI EML-L09
Version Android
28
Services Google Play
Les services Google Play sont disponibles
Nom de l’application
Nextcloud Talk
Version de l'app
v19.0.1
Build flavor
gplay
Paramètres pour la batterie
Optimisation de la batterie ignorée, tout va bien
Calls notification channel enabled?
Oui
Messages notification channel enabled?
Oui
Jeton de poussé Firebase
crYsz...
Latest firebase push token generation
Inconnu
Latest firebase push token fetch
4 juil. 2024 03:46:27
Utilisateurs enregistrés
1
Serveur
Utilisateur
yyyyyyy xxxxxxx
User status enabled?
Oui
Server notification app installed?
Oui
Latest push registration at server
4 juil. 2024 03:46:29
Latest push registration at push proxy
4 juil. 2024 03:46:30
Version du serveur
29.0.3
Version du serveur Talk
19.0.4
Signaling Mode
Interne
And another one from Jan B
Diagnosis
juli 2024 08:02:30
HMD Global Nokia 7.2
Google Play services are not available. Notifications are not supported
Nextcloud Talk
v19.0.1
generic
1
N N
Ja
Ja
29.0.3
19.0.4
Internal
Generación del reporte del sistema
10 jul. 2024 14:59:54
Dispositivo
samsung SM-T561
Versión de Android
25
Servicios de Google Play
Los servicios de Google Play no están disponibles. Las notificaciones no están soportadas
Nombre de la app
Nextcloud Talk
Versión de la App
v19.0.1
Build flavor
gplay
Usuarios registrados
1
Servidor
Usuario
Casa
¿Los estados de usuario están habilitados?
SÃ
¿La app de notificaciones de servidor está instalada?
SÃ
Versión del servidor
29.0.3
Versión de Talk del servidor
19.0.4
Modo de señalización
Externo
Generación del reporte del sistema
10 jul 2024 3:05:46 p. m.
Dispositivo
Raspberry Pi 4
Versión de Android
34
Servicios de Google Play
Los servicios de Google Play no están disponibles. Las notificaciones no están soportadas
Nombre de la app
Nextcloud Talk
Versión de la App
v18.1.0
Build flavor
generic
Usuarios registrados
1
Servidor
Usuario
Casa
¿Los estados de usuario están habilitados?
SÃ
¿La app de notificaciones de servidor está instalada?
SÃ
Versión del servidor
29.0.3
Versión de Talk del servidor
19.0.4
Modo de señalización
Externo
Erzeugung des Systemberichts
25.07.2024 21:10:41
Gerät
HMD Global Nokia 6.2
Android-Version
30
Google Play-Dienste
Google Play-Dienste sind verfügbar
App-Name
Nextcloud Talk
App-Version
v19.0.1
Build flavor
gplay
Batterie-Einstellungen
Die Batterieoptimierung wird nicht ignoriert. Dies sollte geändert werden!
Anrufbenachrichtigungskanal aktiviert?
Ja
Nachrichtenbenachrichtigungskanal aktiviert?
Ja
Firebase-Push-Token
dZOlZ...
Neueste Firebase-Push-Token-Generation
Unbekannt
Neuester Firebase-Push-Token-Abruf
25.07.2024 21:02:52
Registrierte Benutzer
2
Server
yes
Benutzer
Me
Benutzerstatus aktiviert?
Ja
Server-Benachrichtigungs-App installiert?
Ja
Aktuelle Push-Registrierung am Server
25.07.2024 21:03:00
Aktuelle Push-Registrierung beim Push-Proxy
25.07.2024 21:03:01
Serverversion
29.0.3
Serverversion von Talk
19.0.7
Signalisierungsmodus
Tried both: Intern and Extern, no sound thru microphone
Version 17.1.0RC1 is the first version after 17.0.2 that silences the microphone, while 17.0.2 works well.
Same problem with a Samsung S8 running Android 9 and Talk 19.0.1 Mic is enabled, with permission, but other callers can't hear anything. I will try 17.0.2 tonight
Having same issue. Hereby the findings on my device (Motorola Moto G6 Plus, LineageOs21,Android 14) which can maybe help to find a solution: When the V19.0.1 is cleanly installed, the very first call has correct working microphone. All following calls don't have working microphone. When I then clear cache and data for the app, the same process can be repeated, so first call working, following calls not. Following tested versions all have this issue: 20.0.0-rc2, 19.0.1, 18.1.0, 17.1.3 and 17.1.0. Just like others mentioned, version 17.0.2 is working without microphone issues. So looks like it was introduced in 17.1.0.
Was able to debug the application on the device. The culprit seems to be the startMicInputDetection() in the CallActivity. The very first time a call is started, the mic permission was not yet given, so the micInputAudioRecordThread was not initialized in this method. In this scenario audio came through. The following times, the micInputAudioRecordThread is initialized as the permission was given and the microphone input is thereby being additionally captured through micInputAudioRecorder. From then on, sound is not emitted to others. When I bridge the startMicInputDetection and skip its content, microphone is working every time. In 17.1.0 this extra micInputAudioRecordThread was also introduced, so this confirms the case. It's not an issue on other devices I own and I don't know much about the internals, but maybe some devices don't cope well with this kind of 'double' read of the microphone stream? I hope this info can lead you guys to a solution. Feel free to ping if tests would be necessary.
When issue occurs logcat is emitting following error:
2024-09-11 23:45:06.961 1070-15992 audio_hw_primary android.hardware.audio.service E start_input_stream: use case assigned already in use, stream(0xeea86310)usecase(20: audio-record)
For reference, I have the same issue on a Oneplus 3t
I experienced this on a Motorola phone. Downgrading to 17.0.2 is working well so far.
Steps to reproduce
Receive a talk call Answer the call, voice only You hear the other participant, but it does not hear you Toggling microphone mute/unmute does not change the problem
Expected behaviour
Both sides should hear each other
Actual behaviour
I was hearing perfectly the other, he was not.
On my side, an android phone, on the other side a iphone. Having a call with the same participant on his phone, using the web version of talk, it works perfectly. So, problem is from the android phone.
Authorizations have been checked, use of microphone is OK.
No error message.
Device brand and model
HUAWEI EML-L09 (P20)
Android version
28
Nextcloud Talk app version
18.1.0
Nextcloud server version
28.0.4
Talk version
18.0.6
Custom Signaling server configured
Yes (specify version in Additional Information)
Custom TURN server configured
Yes
Custom STUN server configured
Yes
Android logs
No response
Server log
Additional information
No response