diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-10-03 21:31:41 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-10-03 21:31:41 +0800 |
| commit | 4a214bc23ca4a99ac57dc0c8e889743c57ae7b29 (patch) | |
| tree | 3fc985239bb4cf8b217fd26a2514a483fbea14da /indra/llwebrtc/llwebrtc.cpp | |
| parent | fb4d02b735df321cd4a2c8c13eb3b8bd58964868 (diff) | |
Omit some WebRTC function override on Crow Misia
which are SetObserver, GetPlayoutDevice and GetRecordingDevice.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
| -rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index 828896f620..993b20cc75 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -292,7 +292,9 @@ void LLWebRTCImpl::init() webrtc::scoped_refptr<webrtc::AudioDeviceModule> realADM = webrtc::AudioDeviceModule::Create(webrtc::AudioDeviceModule::AudioLayer::kPlatformDefaultAudio, mTaskQueueFactory.get()); mDeviceModule = webrtc::make_ref_counted<LLWebRTCAudioDeviceModule>(realADM); +#if !CM_WEBRTC mDeviceModule->SetObserver(this); +#endif }); // The custom processor allows us to retrieve audio data (and levels) |
