Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error in MacOS #69

Open
kirankumar-ravuri opened this issue May 12, 2023 · 0 comments
Open

Build Error in MacOS #69

kirankumar-ravuri opened this issue May 12, 2023 · 0 comments

Comments

@kirankumar-ravuri
Copy link

Hi All,

I am trying to build the libraries in Mac with MacOS13.3.sdk.

I am getting below error

../../modules/desktop_capture/mac/screen_capturer_mac.mm:453:11: error: 'CGDisplayStreamUpdateGetRects' is only available on macOS 13.0 or newer [-Werror,-Wunguarded-availability-new] CGDisplayStreamUpdateGetRects(updateRef, kCGDisplayStreamUpdateDirtyRects, &count);

Then I tried changing minimum supported version to -mmacosx-version-min=13.0. Then I got below error

../../sdk/objc/components/capturer/RTCCameraVideoCapturer.m:129:27: error: 'devicesWithMediaType:' is deprecated: first deprecated in macOS 10.15 - Use AVCaptureDeviceDiscoverySession instead. [-Werror,-Wdeprecated-declarations]

Would someone like to give any inputs ?

BRs
Kiran

@kirankumar-ravuri kirankumar-ravuri changed the title Build Error Build Error in MacOS May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant