diff options
author | Brad Linden <brad@lindenlab.com> | 2024-08-20 09:44:14 -0700 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2024-08-20 09:44:14 -0700 |
commit | 68f712615f6858d66aef1d030fb18debb1a2dae4 (patch) | |
tree | 08a0b93af46ca152d72238dffd9543af1b19ce2c /indra/newview/llimview.cpp | |
parent | 9f7dd0177201fe080c287144b99a70125be1fb2b (diff) | |
parent | 1d017b76292cf8c7afad34ec54d7401e2f1795e5 (diff) |
Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop
# Conflicts:
# autobuild.xml
# indra/newview/llvoicewebrtc.cpp
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r-- | indra/newview/llimview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 33e6d2d1b2..136b59f3a6 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -3861,6 +3861,11 @@ bool LLIMMgr::startCall(const LLUUID& session_id, LLVoiceChannel::EDirection dir { voice_channel->setChannelInfo(voice_channel_info); } + else if (voice_channel->getState() < LLVoiceChannel::STATE_READY) + { + // restart if there wa an error or it was hang up + voice_channel->resetChannelInfo(); + } voice_channel->setCallDirection(direction); voice_channel->activate(); return true; |