summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicewebrtc.cpp
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:50:49 -0700
commit92171a42c99a7fcd1751d2b6fae492c5aac466e0 (patch)
tree39f746cba090a9b45085207104d4ead61a7adbda /indra/newview/llvoicewebrtc.cpp
parent32e3a39e277d5cdf9085627a9f5b3dd3cbc11376 (diff)
Not sending proper voice server type down when breaking a connection
Diffstat (limited to 'indra/newview/llvoicewebrtc.cpp')
-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 80e7323b6f..31ad5b7a5d 100644
--- a/indra/newview/llvoicewebrtc.cpp
+++ b/indra/newview/llvoicewebrtc.cpp
@@ -2374,7 +2374,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnectionCoro()
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",
@@ -2437,9 +2437,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)
{