mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00

On specific Macbooks (no exact pattern, unfortunately), video from an integrated camera is not captured. Changed AVCaptureVideoDataOutput pixel format configuration as in Chromium which solved the problem. https://chromium.googlesource.com/chromium/src/media/+/master/capture/video/mac/video_capture_device_avfoundation_mac.mm FourCharCode best_fourcc = kCVPixelFormatType_422YpCbCr8; Tested with external cameras as well. Bug: webrtc:8958 Differential Revision: https://phabricator.services.mozilla.com/D51733 --HG-- extra : moz-landing-system : lando