Skip to content

Commit d2860b9

Browse files
committed
use the generic DesktopCaptureDevice on 10.7 to fix #121
1 parent 338cbf3 commit d2860b9

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
@@ -207,7 +207,8 @@ DesktopCaptureImplementation CreatePlatformDependentVideoCaptureDevice(
207207
if ((device_out = CreateScreenCaptureKitDeviceMac(desktop_id)))
208208
return kScreenCaptureKitDeviceMac;
209209
}
210-
if ((base::FeatureList::IsEnabled(kDesktopCaptureMacV2))) {
210+
if ((base::FeatureList::IsEnabled(kDesktopCaptureMacV2))
211+
&& __builtin_available(macOS 10.8, *)) {
211212
if ((device_out = CreateDesktopCaptureDeviceMac(desktop_id)))
212213
return kDesktopCaptureDeviceMac;
213214
}

0 commit comments

Comments
 (0)