talk-desktop icon indicating copy to clipboard operation
talk-desktop copied to clipboard

Ask for camera and microphone access on macOS

Open ShGKme opened this issue 2 years ago • 11 comments

Since macOS 10.14 Mojave it is required to ask media access on Mac.

What to do, if the user refuses?

https://www.electronjs.org/docs/latest/api/system-preferences#systempreferencesaskformediaaccessmediatype-macos

ShGKme avatar Mar 21 '23 13:03 ShGKme

I did not explicitly refuse access I believe. Perhaps something I missed so how can I make Talk ask me access again. Or otherwise where can I change these in my system settings.

fabricemous avatar Mar 22 '23 10:03 fabricemous

Happened to me as well, the app did not request permission and I'm not able to use microphones or cameras

gymnae avatar Apr 22 '23 11:04 gymnae

yeah. seems like the cause is already identified and a PR exists to address from march https://github.com/nextcloud/talk-desktop/pull/80 What needs to happen to get that merged and a new build minted?

wolfspyre avatar Jul 14 '23 20:07 wolfspyre

macOS is not in focus until version 1 release, apparently

gymnae avatar Jul 14 '23 22:07 gymnae

I can confirm that under macOS 14 Sonoma the issue still exists: no asking for camera or microphone permission and therefore no usage for calls possible.

bentuna avatar May 02 '24 22:05 bentuna

MacOS Sonoma + Talk Version 0.29.0 (https://github.com/nextcloud-releases/talk-desktop/releases/download/v0.29.0/Nextcloud.Talk-darwin-x64-0.29.0.zip) I wasn't ask to allow mic and camera so impossible to make a call.

cyr06 avatar May 16 '24 09:05 cyr06

I will try to check this issue again next week 👀

ShGKme avatar May 16 '24 10:05 ShGKme

hey people, I've managed to get it to work. Coming from another problem I realised that Talk-Desktop does not ask for camera and microphone permission. I used https://github.com/DocSystem/tccutil to grant them with the following command manually:

Download or clone the python-script to your computer. Then run sudo /usr/bin/python3 ./tccutil.py -p /Applications/Nextcloud\ Talk.app -e --microphone --camera

Bildschirmfoto 2024-07-08 um 08 13 45

Bildschirmfoto 2024-07-08 um 08 21 08

benjamindahl avatar Jul 08 '24 06:07 benjamindahl

Suggestion: title of the bug should be changed to just macOS, because it affects all recent macOS versions

benjamindahl avatar Jul 08 '24 06:07 benjamindahl

hey people, I've managed to get it to work. Coming from another problem I realised that Talk-Desktop does not ask for camera and microphone permission. I used https://github.com/DocSystem/tccutil to grant them with the following command manually:

Download or clone the python-script to your computer. Then run `sudo /usr/bin/python3 ./tccutil.py -p /Applications/Nextcloud\ Talk.app -e --microphone --camera`

Can confirm this worked for me on M2 MBP running Sonoma 14.5.

crckrmn77 avatar Jul 23 '24 17:07 crckrmn77

That's cool! Really. Neat find @benjamindahl THANK YOU FOR SHARING.

THAT BEING SAID, This is NOT A FIX but a (USEFUL) hacky workaround.

The fix is that the application must actually request the privileges it needs.... This is handled for talk by the browser, but as a standalone client, the permissions must be explicitly declared

(I believe the entitlement needs to be baked into the app cert too but I'm not a mac app dev ;) )

wolfspyre avatar Jul 23 '24 20:07 wolfspyre

Using version 0.39.0 on macOS 11.7.10: it does not ask neither seems to be possible manually grant permission on mic and camera! :'(

andrewhotlab avatar Oct 21 '24 12:10 andrewhotlab

Please, confirm that this problem still persist on v1 and which macOS version do you use.

ShGKme avatar Jan 15 '25 20:01 ShGKme

The version 1.0 is working for us on macOS 11.7.x.

andrewhotlab avatar Jan 15 '25 20:01 andrewhotlab

Thanks

ShGKme avatar Jan 15 '25 20:01 ShGKme

works fine great job !

cyr06 avatar Feb 12 '25 19:02 cyr06