VirtualBox

Ticket #19758 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

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

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

Change History

Changed 4 months ago by gelob

comment:1 Changed 4 months ago by aeichner

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

comment:2 Changed 3 months ago by aeichner

  • Summary changed from Crash when trying to use webcam passthrough on OSX Catalina (virtualbox doesn't ask for permission) to 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 Changed 3 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use