summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-08-15 09:41:54 -0700
committerBrad Linden <brad@lindenlab.com>2024-08-15 09:41:54 -0700
commit5f26ba801475d1a212b00503197dbc5a77cee1d8 (patch)
treecf8aa8c3189462ea3ac51866be243e6fd8a70be6 /indra/newview/llimview.cpp
parentac330f63fd7ac655bbd06ce5d4ed65430aa2f42a (diff)
parent3ca4bb6bf7ba1367e06705da3968174ff9448d7d (diff)
Merge remote-tracking branch 'origin/release/webrtc-voice' into release/2024.06-atlasaurus
# Conflicts: # indra/newview/llpanelpeople.cpp
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 8a428c45d0..cab71a4a37 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -3859,6 +3859,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;