From 92171a42c99a7fcd1751d2b6fae492c5aac466e0 Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Sun, 24 Mar 2024 20:42:32 -0700 Subject: Not sending proper voice server type down when breaking a connection --- indra/newview/llvoicewebrtc.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'indra') 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) { -- cgit v1.2.3