Skip to content

Commit 60e49c9

Browse files
committed
use the generic DesktopCaptureDevice on 10.7 to fix #121
1 parent aa36650 commit 60e49c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/browser/renderer_host/media/in_process_video_capture_device_launcher.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,8 @@ void InProcessVideoCaptureDeviceLauncher::DoStartDesktopCaptureOnDeviceThread(
496496
implementation = kScreenCaptureKitDeviceMac;
497497
}
498498
if (!video_capture_device &&
499-
base::FeatureList::IsEnabled(kDesktopCaptureMacV2)) {
499+
base::FeatureList::IsEnabled(kDesktopCaptureMacV2)
500+
&& __builtin_available(macOS 10.8, *)) {
500501
if ((video_capture_device = CreateDesktopCaptureDeviceMac(desktop_id)))
501502
implementation = kDesktopCaptureDeviceMac;
502503
}

0 commit comments

Comments
 (0)