[Interest] Qt Mac OS - App crashes when opening camera - Namespace TCC, Code 0x0

Hamish Moffatt hamish at risingsoftware.com
Wed Dec 18 00:35:48 CET 2019


On 18/12/19 9:18 am, Nuno Santos wrote:
> Hamish,
>
> Thanks for your reply.
>
> I’ve have .plist entries for camera and microphone already.
>
> Can you point me which api call is necessary? Some keywords so that I can google faster?


I didn't write our code that does this, but I see the following calls 
(from Objective-C):

AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeAudio

AVCaptureDevice requestAccessForMediaType:AVMediaTypeAudio



cheers

Hamish



More information about the Interest mailing list