From 133616e28b4f0c40e81c42090ca99bddbff09a9c Mon Sep 17 00:00:00 2001 From: Hecklezz Date: Thu, 21 May 2026 02:31:32 +1000 Subject: [PATCH] Fix WebRTC voice not working on Linux after 2 minutes --- indra/newview/llvoicevivox.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);