summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
authorRoxanne Skelly <roxie@lindenlab.com>2024-08-09 13:34:06 -0700
committerGitHub <noreply@github.com>2024-08-09 13:34:06 -0700
commit5cff84ff34652b8db50187cfe504def601add823 (patch)
tree8186343e4dcdc5e3f4a46415b3b04ff266a77749 /indra/newview/llvoiceclient.cpp
parent4e0819b2dc2f062a68cc32d5b1ec22214fb1fd28 (diff)
parent227b212dc67998098d09b7f15e852ed6cd7ac83a (diff)
Merge pull request #2244 from secondlife/roxie/webrtc-teleport
[WebRTC] After transition through WebRTC -> Vivox -> WebRTC regions, voice dot is on but no voice is transmitted.
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r--indra/newview/llvoiceclient.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp
index 495d521894..5132b9bb07 100644
--- a/indra/newview/llvoiceclient.cpp
+++ b/indra/newview/llvoiceclient.cpp
@@ -281,10 +281,8 @@ void LLVoiceClient::setNonSpatialVoiceModule(const std::string &voice_server_typ
void LLVoiceClient::setHidden(bool hidden)
{
- if (mSpatialVoiceModule)
- {
- mSpatialVoiceModule->setHidden(hidden);
- }
+ LLWebRTCVoiceClient::getInstance()->setHidden(hidden);
+ LLVivoxVoiceClient::getInstance()->setHidden(hidden);
}
void LLVoiceClient::terminate()