diff options
author | Roxanne Skelly <roxie@lindenlab.com> | 2024-04-17 11:08:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 11:08:07 -0700 |
commit | da79a4d23ad10fa8a508b48e4e2c6cd9651f0295 (patch) | |
tree | cfbda9cd28b3af635ecc7ac45e25ffbbaa49dc3f /indra/newview/llvoicewebrtc.cpp | |
parent | 75a9ed38c045464e4c3be58c67552e3856089312 (diff) | |
parent | eac8043ee50c7418477c0c84d4ec0ec7094673c3 (diff) |
Merge pull request #1256 from secondlife/roxie/webrtc-voice
[WebRTC] Update webrtc.lib to address issue with voice bars not appearing.
Diffstat (limited to 'indra/newview/llvoicewebrtc.cpp')
-rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp index 710067c2bf..7743d6362a 100644 --- a/indra/newview/llvoicewebrtc.cpp +++ b/indra/newview/llvoicewebrtc.cpp @@ -2192,6 +2192,7 @@ void LLVoiceWebRTCConnection::processIceUpdatesCoro() if (LLWebRTCVoiceClient::isShuttingDown()) { + mOutstandingRequests--; return; } @@ -2281,6 +2282,7 @@ void LLVoiceWebRTCConnection::OnRenegotiationNeeded() { setVoiceConnectionState(VOICE_STATE_SESSION_RETRY); } + mCurrentStatus = LLVoiceClientStatusObserver::ERROR_UNKNOWN; }); } @@ -2369,6 +2371,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnectionCoro() { LL_DEBUGS("Voice") << "no capabilities for voice provisioning; waiting " << LL_ENDL; setVoiceConnectionState(VOICE_STATE_SESSION_RETRY); + mOutstandingRequests--; return; } @@ -2376,6 +2379,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnectionCoro() if (url.empty()) { setVoiceConnectionState(VOICE_STATE_SESSION_RETRY); + mOutstandingRequests--; return; } @@ -2405,6 +2409,7 @@ void LLVoiceWebRTCConnection::breakVoiceConnectionCoro() if (LLWebRTCVoiceClient::isShuttingDown()) { + mOutstandingRequests--; return; } |