Merge pull request #2372 from secondlife/roxie/webrtc-fix-mac-p2p-hang
Fix hang when incoming p2p or group calls throw up dialog.meow-7.2.2
commit
27fa9b8138
|
|
@ -549,13 +549,19 @@ void LLWebRTCVoiceClient::voiceConnectionCoro()
|
|||
updatePosition();
|
||||
}
|
||||
}
|
||||
|
||||
sessionState::processSessionStates();
|
||||
if (mProcessChannels && voiceEnabled && !mHidden)
|
||||
{
|
||||
sendPositionUpdate(false);
|
||||
updateOwnVolume();
|
||||
}
|
||||
LL::WorkQueue::postMaybe(mMainQueue,
|
||||
[=] {
|
||||
if (sShuttingDown)
|
||||
{
|
||||
return;
|
||||
}
|
||||
sessionState::processSessionStates();
|
||||
if (mProcessChannels && voiceEnabled && !mHidden)
|
||||
{
|
||||
sendPositionUpdate(false);
|
||||
updateOwnVolume();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
catch (const LLCoros::Stop&)
|
||||
|
|
@ -2221,6 +2227,7 @@ void LLVoiceWebRTCConnection::OnIceCandidate(const llwebrtc::LLWebRTCIceCandidat
|
|||
void LLVoiceWebRTCConnection::processIceUpdates()
|
||||
{
|
||||
mOutstandingRequests++;
|
||||
|
||||
LLCoros::getInstance()->launch("LLVoiceWebRTCConnection::processIceUpdatesCoro",
|
||||
boost::bind(&LLVoiceWebRTCConnection::processIceUpdatesCoro, this->shared_from_this()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue