We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f9e53 commit 334afc9Copy full SHA for 334afc9
src/detection/camera/camera_apple.m
@@ -19,7 +19,8 @@
19
AVCaptureDeviceType deviceType = NULL;
20
21
#ifdef MAC_OS_VERSION_14_0
22
- if (@available(macOS 14.0, *))
+ // Strangely `@available(macOS 14.0, *)` doesn't work here (#1594)
23
+ if (@available(macOS 14.0, *) && &AVCaptureDeviceTypeExternal)
24
{
25
deviceType = AVCaptureDeviceTypeExternal;
26
}
0 commit comments