pion / mediadevices

Go implementation of the MediaDevices API.
https://pion.ly/
MIT License
520 stars 119 forks source link

Fix OSX 14.0 Deprecated Types #535

Closed hexbabe closed 8 months ago

hexbabe commented 8 months ago

Deprecated types documentation I referenced: https://developer.apple.com/documentation/avfoundation/avcapturedevicetypebuiltinmicrophone

https://developer.apple.com/documentation/avfoundation/avcapturedevicetypeexternalunknown

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:loudspeaker: Thoughts on this report? Let us know!.

at-wat commented 8 months ago

Seems failing on MacOS 12 https://github.com/pion/mediadevices/actions/runs/6695092630/job/18191238293?pr=535#step:9:35

./AVFoundationBind/AVFoundationBind.m:192:8: error: use of undeclared identifier 'AVCaptureDeviceTypeMicrophone'; did you mean 'AVCaptureDeviceTypeBuiltInMicrophone'?