From 5eee046bb7d62e24df6c35018b3c5383f87ab587 Mon Sep 17 00:00:00 2001 From: Aimee Linden Date: Mon, 1 Feb 2010 12:03:15 +0000 Subject: Fix EXT-4770 : Voice muting not working properly due to a change in the Vivox API Added Audio to the SetParticipantMuteForMe message. Reviewed by Lynx --- indra/newview/llvoiceclient.cpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'indra/newview/llvoiceclient.cpp') diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 560c2ab469..c062dd1732 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -3439,12 +3439,17 @@ void LLVoiceClient::sendPositionalUpdate(void) << "" << volume << "" << "\n\n\n"; - // Send a "mute for me" command for the user - stream << "" - << "" << getAudioSessionHandle() << "" - << "" << p->mURI << "" - << "" << (mute?"1":"0") << "" - << "\n\n\n"; + if(!mAudioSession->mIsP2P) + { + // Send a "mute for me" command for the user + // Doesn't work in P2P sessions + stream << "" + << "" << getAudioSessionHandle() << "" + << "" << p->mURI << "" + << "" << (mute?"1":"0") << "" + << "Audio" + << "\n\n\n"; + } } p->mVolumeDirty = false; -- cgit v1.2.3