Skip to content

Commit

Permalink
captureDevices を static にする
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Nov 1, 2023
1 parent 9850b2b commit 488d952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac/mac_capturer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ - (void)capturer:(RTCVideoCapturer*)capturer
return rtc::make_ref_counted<MacCapturer>(c);
}

NSArray<AVCaptureDevice*>* captureDevices() {
static NSArray<AVCaptureDevice*>* captureDevices() {
// macOS では USB で接続されたカメラも取得する
#if defined(SORA_CPP_SDK_MACOS)
// AVCaptureDeviceTypeExternal の利用には macOS 14 以上が必要だが、 GitHub Actions では macOS 14 が利用出来ないため一時的に古い API を使う
Expand Down

0 comments on commit 488d952

Please sign in to comment.