summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-03-24 20:42:32 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-03-24 20:42:32 -0700
commit8d14df5984382de0aea12ba5d8ef4eba22b9976e (patch)
tree6b99fe2021ed410251785e6f559b6fe03a315dce /indra
parent6047b61b2afc7eea0292e76920699aa7973bc33d (diff)
Not sending proper voice server type down when breaking a connection
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoicewebrtc.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp
index 6aab67ca63..a8bc468f4c 100644
--- a/indra/newview/llvoicewebrtc.cpp
+++ b/indra/newview/llvoicewebrtc.cpp
@@ -2363,7 +2363,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnection()
LLSD body;
body["logout"] = TRUE;
body["viewer_session"] = mViewerSession;
- body["voice_server_type"] = REPORTED_VOICE_SERVER_TYPE;
+ body["voice_server_type"] = WEBRTC_VOICE_SERVER_TYPE;
LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t httpAdapter(
new LLCoreHttpUtil::HttpCoroutineAdapter("LLVoiceWebRTCAdHocConnection::breakVoiceConnection",
@@ -2419,9 +2419,7 @@ void LLVoiceWebRTCSpatialConnection::requestVoiceConnection()
LLSD body;
LLSD jsep;
jsep["type"] = "offer";
- {
- jsep["sdp"] = mChannelSDP;
- }
+ jsep["sdp"] = mChannelSDP;
body["jsep"] = jsep;
if (mParcelLocalID != INVALID_PARCEL_ID)
{