summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-09-16 16:38:28 +0800
committerErik Kundiman <erik@megapahit.org>2024-09-16 16:38:28 +0800
commit16ecc9d734341618299327c7699168274341a864 (patch)
tree1fcfc018867ca6f96b4e52321cfdae8ad8272278 /indra/llwebrtc/llwebrtc.cpp
parentb282315fa1429a5b9872cfa773745f7ad65c1e19 (diff)
WebRTC on Fedora & openSUSE without breaking CEF
Thanks to the Linux x86-64 WebRTC binary from Zenichi Amano (crow-misia). https://megapahit.com/show_bug.cgi?id=64 Haven't been tested on openSUSE, but it should work.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.cpp')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index 83350dd457..9b3dde4d0f 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -203,7 +203,7 @@ void LLWebRTCImpl::init()
mTuningDeviceModule->SetPlayoutDevice(mPlayoutDevice);
mTuningDeviceModule->SetRecordingDevice(mRecordingDevice);
mTuningDeviceModule->EnableBuiltInAEC(false);
-#if __x86_64__ && !__FreeBSD__
+#if !CM_WEBRTC
mTuningDeviceModule->SetAudioDeviceSink(this);
#endif
mTuningDeviceModule->InitMicrophone();