CEF Embedded Camera Security on Mac OSX
Posted: Fri Jan 21, 2022 12:44 pm
Hello All.
I am running OSX 12.1 "Monterey". My embedded app is using WebRTC. When I launch the page, I do not get a prompt for permission to use the camera. On (this version?) of Mac OSX, the only way to GET permissions is to have the OS prompt you the first time it attempts access. Unfortunately, it never prompts, so permission is impossible (without draconian, unsupportable measures). There is no way on OSX to pro-actively give permissions. (Dumb).
Oddly, the same page when run from the chrome browser does indeed prompt and all is well. But hitting the same page with CEF embedded, I never get a prompt. Anyone know why? I tried editing the "plist" for the app, but it doesn't yield any different results.
Has anyone else run into this issue? Anyone know how to solve this mess?
- fc
I am running OSX 12.1 "Monterey". My embedded app is using WebRTC. When I launch the page, I do not get a prompt for permission to use the camera. On (this version?) of Mac OSX, the only way to GET permissions is to have the OS prompt you the first time it attempts access. Unfortunately, it never prompts, so permission is impossible (without draconian, unsupportable measures). There is no way on OSX to pro-actively give permissions. (Dumb).
Oddly, the same page when run from the chrome browser does indeed prompt and all is well. But hitting the same page with CEF embedded, I never get a prompt. Anyone know why? I tried editing the "plist" for the app, but it doesn't yield any different results.
Has anyone else run into this issue? Anyone know how to solve this mess?
- fc