summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-03-07 15:00:04 -0800
committerRoxie Linden <roxie@lindenlab.com>2024-03-07 15:00:04 -0800
commit041946455d3409a95c4faebac2ac54020b418743 (patch)
tree1ba8f57515c1b54db7d49c28c749ee844f89ffbd /indra/newview/llvoicechannel.cpp
parent6719d9fa52d8b981276c8f9e867e3b50b0abef13 (diff)
Send down preferred voice server type when initiating a call
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r--indra/newview/llvoicechannel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index a1eb58447d..4d85f160c2 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -593,6 +593,9 @@ void LLVoiceChannelGroup::voiceCallCapCoro(std::string url)
LLSD postData;
postData["method"] = "call";
postData["session-id"] = mSessionID;
+ LLSD altParams;
+ altParams["preferred_voice_server_type"] = gSavedSettings.getString("VoiceServerType");
+ postData["alt_params"] = altParams;
LL_INFOS("Voice", "voiceCallCapCoro") << "Generic POST for " << url << LL_ENDL;