summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc_impl.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-10-03 21:31:41 +0800
committerErik Kundiman <erik@megapahit.org>2025-10-03 21:31:41 +0800
commit4a214bc23ca4a99ac57dc0c8e889743c57ae7b29 (patch)
tree3fc985239bb4cf8b217fd26a2514a483fbea14da /indra/llwebrtc/llwebrtc_impl.h
parentfb4d02b735df321cd4a2c8c13eb3b8bd58964868 (diff)
Omit some WebRTC function override on Crow Misia
which are SetObserver, GetPlayoutDevice and GetRecordingDevice.
Diffstat (limited to 'indra/llwebrtc/llwebrtc_impl.h')
-rw-r--r--indra/llwebrtc/llwebrtc_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc_impl.h b/indra/llwebrtc/llwebrtc_impl.h
index 34d5e577ed..fbc60d48e3 100644
--- a/indra/llwebrtc/llwebrtc_impl.h
+++ b/indra/llwebrtc/llwebrtc_impl.h
@@ -316,9 +316,11 @@ public:
virtual int GetRecordAudioParameters(AudioParameters* params) override { return inner_->GetRecordAudioParameters(params); }
#endif // WEBRTC_IOS
+#if !CM_WEBRTC
virtual int32_t GetPlayoutDevice() const override { return inner_->GetPlayoutDevice(); }
virtual int32_t GetRecordingDevice() const override { return inner_->GetRecordingDevice(); }
virtual int32_t SetObserver(webrtc::AudioDeviceObserver* observer) override { return inner_->SetObserver(observer); }
+#endif
// tuning microphone energy calculations
float GetMicrophoneEnergy() { return audio_transport_.GetMicrophoneEnergy(); }