From bb43a5226b3136317bb13b7d4f4116d0e68d5bb4 Mon Sep 17 00:00:00 2001 From: Bjoseph Wombat Date: Mon, 11 May 2015 10:23:29 -0400 Subject: Backed out changeset: 5eee69247775 --- indra/newview/llvoicevivox.cpp | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) (limited to 'indra') diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 5e92d3f340..6ac8d84771 100755 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -60,7 +60,6 @@ #include "lltrans.h" #include "llviewerwindow.h" #include "llviewercamera.h" -#include "llversioninfo.h" #include "llviewernetwork.h" #include "llnotificationsutil.h" @@ -507,8 +506,7 @@ void LLVivoxVoiceClient::connectorCreate() << ".log" << "" << loglevel << "" << "" - << "" << LLVersionInfo::getChannel().c_str() << " " << LLVersionInfo::getVersion().c_str() << "" - //<< "" //Name can cause problems per vivox. + << "" //Name can cause problems per vivox. << "12" << "\n\n\n"; @@ -1763,31 +1761,21 @@ void LLVivoxVoiceClient::sessionCreateSendMessage(sessionState *session, bool st LL_DEBUGS("Voice") << "With voice font: " << session->mVoiceFontID << " (" << font_index << ")" << LL_ENDL; session->mCreateInProgress = true; - if (startAudio) + if(startAudio) { session->mMediaConnectInProgress = true; } std::ostringstream stream; - - if (!session->mGroupHandle.empty()) { - // reuse the current session group - stream - << "mSIPURI << "\" action=\"SessionGroup.AddSession.1\">" - << "" << session->mGroupHandle << ""; - } - else { - stream - << "mSIPURI << "\" action=\"Session.Create.1\">" - << "" << mAccountHandle << ""; - } - - stream << "" << session->mSIPURI << ""; + stream + << "mSIPURI << "\" action=\"Session.Create.1\">" + << "" << mAccountHandle << "" + << "" << session->mSIPURI << ""; static const std::string allowed_chars = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" - "0123456789" - "-._~"; + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + "0123456789" + "-._~"; if(!session->mHash.empty()) { @@ -2535,7 +2523,6 @@ void LLVivoxVoiceClient::sendPositionalUpdate(void) stream << ""; - stream << "1"; //do not generate responses for update requests stream << "\n\n\n"; } @@ -3085,12 +3072,11 @@ void LLVivoxVoiceClient::reapSession(sessionState *session) { if(session) { -/* if(!session->mHandle.empty()) + if(!session->mHandle.empty()) { LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (non-null session handle)" << LL_ENDL; } - else*/ - if(session->mCreateInProgress) + else if(session->mCreateInProgress) { LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (create in progress)" << LL_ENDL; } -- cgit v1.2.3