From bb3763ca84981139bbdb9291757946a95198ce55 Mon Sep 17 00:00:00 2001 From: Bjoseph Wombat Date: Mon, 11 May 2015 16:29:00 +0100 Subject: Application name added to connector create and a test fix for a race conition in group and P2P calling. --- indra/newview/llvoicevivox.cpp | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'indra/newview/llvoicevivox.cpp') diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 6ac8d84771..5d1e5327ad 100755 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -60,6 +60,7 @@ #include "lltrans.h" #include "llviewerwindow.h" #include "llviewercamera.h" +#include "llversioninfo.h" #include "llviewernetwork.h" #include "llnotificationsutil.h" @@ -501,14 +502,15 @@ void LLVivoxVoiceClient::connectorCreate() << "" << mVoiceAccountServerURI << "" << "Normal" << "" - << "" << logpath << "" - << "Connector" - << ".log" - << "" << loglevel << "" + << "" << logpath << "" + << "Connector" + << ".log" + << "" << loglevel << "" << "" - << "" //Name can cause problems per vivox. - << "12" - << "\n\n\n"; + << "" << LLVersionInfo::getChannel().c_str() << " " << LLVersionInfo::getVersion().c_str() << "" + //<< "" //Name can cause problems per vivox. + << "12" + << "\n\n\n"; writeString(stream.str()); } @@ -2523,6 +2525,7 @@ void LLVivoxVoiceClient::sendPositionalUpdate(void) stream << ""; + stream << "1"; //do not generate responses for update requests stream << "\n\n\n"; } @@ -3072,11 +3075,12 @@ 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