VirtualBox

4 年 前 建立

4 年 前 結束

#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

回報者: gelob 負責人:
元件: USB 版本: VirtualBox 6.1.10
關鍵字: 副本:
Guest type: Windows Host type: Mac OS X

描述

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.

附加檔案 (1)

VBox.log (90.3 KB ) - 4 年 前, 由 gelob 新增

下載所有附檔: .zip

更動歷史 (4)

4 年 前gelob 編輯

附檔: 新增 VBox.log

comment:1 4 年 前aeichner 編輯

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

comment:2 4 年 前aeichner 編輯

摘要: 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 4 年 前aeichner 編輯

狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette