[Interest] Mac OS - AVCaptureDevice requestAccessForMediaType:AVMediaTypeVideo crashes application
Hamish Moffatt
hamish at risingsoftware.com
Fri Jan 10 00:33:50 CET 2020
On 10/1/20 4:03 am, Nuno Santos wrote:
> Hi,
>
> I’m trying to setup camera usage permission request for 10.14 (Mojave)
> and 10.15 (Catalina). I have added the camera and microphone
> permissions in the Info.plist as in below:
>
> <key>NSCameraUsageDescription</key>
> <string>This application uses the video camera to communicate with
> another endpoint.</string>
> <key>NSMicrophoneUsageDescription</key>
> <string>This application uses the microphone input to communicate with
> another endpoint.</string>
>
> But the app keeps crashing as soon as the permission code below is
> called when it should prompt for permissions:
Where does it crash? Can you post the stack trace?
Hamish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200109/4bbe678e/attachment.html>
More information about the Interest
mailing list