diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-10-03 20:10:31 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-10-03 20:19:58 +0800 |
| commit | 88cdce3f8e30c393d8e1979629162442adeac203 (patch) | |
| tree | 8b82c0f37cd11cb413610f09943d9f5f0caaa143 /indra/newview/llvoicewebrtc.cpp | |
| parent | 2b610653c8a7b090c677d515894af7318f81ac18 (diff) | |
| parent | 79909b8a335b9fdeaefe384528284538e8dae6a4 (diff) | |
Merge tag 'Second_Life_Release#79909b8a-2025.07' into 2025.07
Diffstat (limited to 'indra/newview/llvoicewebrtc.cpp')
| -rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index a56305599d..39a0671bb2 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -691,7 +691,10 @@ LLVoiceDeviceList& LLWebRTCVoiceClient::getCaptureDevices() void LLWebRTCVoiceClient::setCaptureDevice(const std::string& name) { - mWebRTCDeviceInterface->setCaptureDevice(name); + if (mWebRTCDeviceInterface) + { + mWebRTCDeviceInterface->setCaptureDevice(name); + } } void LLWebRTCVoiceClient::setDevicesListUpdated(bool state) { @@ -778,7 +781,10 @@ LLVoiceDeviceList& LLWebRTCVoiceClient::getRenderDevices() void LLWebRTCVoiceClient::setRenderDevice(const std::string& name) { - mWebRTCDeviceInterface->setRenderDevice(name); + if (mWebRTCDeviceInterface) + { + mWebRTCDeviceInterface->setRenderDevice(name); + } } void LLWebRTCVoiceClient::tuningStart() |
