diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 9f88afc48a..f86575c0a8 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -961,7 +961,10 @@ bool LLVivoxVoiceClient::endAndDisconnectSession() bool LLVivoxVoiceClient::callbackEndDaemon(const LLSD& data) { - if (!sShuttingDown && mVoiceEnabled) + // Fix WebRTC voice not working on Linux after 2 minutes + //if (!sShuttingDown && mVoiceEnabled) + if (!sShuttingDown && mVoiceEnabled && mIsInitialized) + // { LL_WARNS("Voice") << "SLVoice terminated " << ll_stream_notation_sd(data) << LL_ENDL; terminateAudioSession(false);