From 488d952f53a0ef8293efe57301653f54058f977d Mon Sep 17 00:00:00 2001 From: enm10k Date: Wed, 1 Nov 2023 12:14:59 +0900 Subject: [PATCH] =?UTF-8?q?captureDevices=20=E3=82=92=20static=20=E3=81=AB?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mac/mac_capturer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/mac_capturer.mm b/src/mac/mac_capturer.mm index 90cb2d35..481b8d1a 100644 --- a/src/mac/mac_capturer.mm +++ b/src/mac/mac_capturer.mm @@ -91,7 +91,7 @@ - (void)capturer:(RTCVideoCapturer*)capturer return rtc::make_ref_counted(c); } -NSArray* captureDevices() { +static NSArray* captureDevices() { // macOS では USB で接続されたカメラも取得する #if defined(SORA_CPP_SDK_MACOS) // AVCaptureDeviceTypeExternal の利用には macOS 14 以上が必要だが、 GitHub Actions では macOS 14 が利用出来ないため一時的に古い API を使う