VirtualBox

Opened 4 years ago

Closed 4 years ago

#19758 closed defect (fixed)

Crash when trying to use webcam passthrough on OSX Catalina (virtualbox doesn't ask for permission) => fixed in SVN/next maintenance

Reported by: gelob Owned by:
Component: USB Version: VirtualBox 6.1.10
Keywords: Cc:
Guest type: Windows Host type: Mac OS X

Description

VirtualBox 6.1.12 r139181 on OSX Catalina 10.15.3.

When trying to use Webcam Passthrough on a Windows 10 VM using OSX as a host, when the Windows 10 VM tries to access the camera, it crashes. I'm pretty certain this is actually expected behavior on OSX. According to Apple if NSCameraUsageDescription and NSMicrophoneUsageDescription is not present in Info.plist when a camera is accessed, the application will be terminated.

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/requesting_authorization_for_media_capture_on_macos

I tried both of the workarounds listed in this forum thread but none of them worked. https://forums.virtualbox.org/viewtopic.php?f=8&t=97141

I did add those keys to the Info.plist and that stopped the crashing, however VirtualBox still doesn't generate these prompts and as such the Camera doesn't work in my VM.

  1. Install VirtualBox, download the extension pack and install that.
  2. Attach webcam to USB port
  3. Start VM, go to Devices > Webcam and select it. On the guest VM open chrome or firefox and go to webcamtests.com to test the webcam. It is detected but can't ever be properly accessed.

Attachments (1)

VBox.log (90.3 KB ) - added by gelob 4 years ago.

Download all attachments as: .zip

Change History (4)

by gelob, 4 years ago

Attachment: VBox.log added

comment:1 by aeichner, 4 years ago

Thanks for the report, we reproduced the issue and are investigating a fix.

comment:2 by aeichner, 4 years ago

Summary: Crash when trying to use webcam passthrough on OSX Catalina (virtualbox doesn't ask for permission)Crash when trying to use webcam passthrough on OSX Catalina (virtualbox doesn't ask for permission) => fixed in SVN/next maintenance

This hsould be fixed in the next maintenance release of VirtualBox, would be great if you could try out the latest 6.1 testbuild from here.

comment:3 by aeichner, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use