Jump to content
philipp.hofmann

Camera and Microphone Permission for MacOS

Recommended Posts

Hi,

I want to use a video chat in our embedded browser (TTMSFNCWebBrowser).

 

For Android I have to request the CAMERA + RECORD_AUDIO permission beforehand, that's clear.

For Windows, it's helpful to create a TCameraComponent for a short time to get also the allowance beforehand.

For iOS the Video-Chat-Software is asking for the permission to use camera and microphone.

 

But I'm lost with MacOS: I don't find any solution to ask for the permission to use the camera or the microphone in our app beforehand and also the video chat software is not asking for it but displaying an error.
Is there any possibility to add our app in the MacOS camera and microphone permission list beforehand (Mac: How to check app permissions for camera, mic, Photos - 9to5Mac)?

 

Best regards,

Share this post


Link to post

I was so stupid. Set the correct entitlements and it's fine. I don't understand why this entitlements are not set in the CameraComponent example project but there is seems to be the entitlement

 

    <key>com.apple.security.get-task-allow</key>
    <true/>

 

which is not generated in my case. But it's working now.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×