some comments; allow proximal channel to retry when it drops
parent
76460e8c2c
commit
e5a7c9cc4e
|
|
@ -40,8 +40,11 @@
|
|||
#include "llwebrtc.h"
|
||||
// WebRTC Includes
|
||||
#ifdef WEBRTC_WIN
|
||||
#pragma warning(disable : 4996)
|
||||
#pragma warning(disable : 4068)
|
||||
#pragma warning(disable : 4996) // ignore 'deprecated.' We don't use the functions marked
|
||||
// deprecated in the webrtc headers, but msvc complains anyway.
|
||||
// Clang doesn't, and that's generally what webrtc uses.
|
||||
#pragma warning(disable : 4068) // ignore 'invalid pragma.' There are clang pragma's in
|
||||
// the webrtc headers, which msvc doesn't recognize.
|
||||
#endif // WEBRTC_WIN
|
||||
|
||||
#include "api/scoped_refptr.h"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,10 @@ const S32 XL8_PADDING = 3; // XL8_START_TAG.size() + XL8_END_TAG.size()
|
|||
/** Timeout of outgoing session initialization (in seconds) */
|
||||
const static U32 SESSION_INITIALIZATION_TIMEOUT = 30;
|
||||
|
||||
|
||||
// This enum corresponds to the sim's and adds P2P_CHAT_SESSION,
|
||||
// as webrtc uses the multiagent chat mechanism for p2p calls,
|
||||
// instead of relying on vivox calling.
|
||||
// Don't change this without consulting a server developer.
|
||||
enum EMultiAgentChatSessionType
|
||||
{
|
||||
GROUP_CHAT_SESSION = 0,
|
||||
|
|
|
|||
|
|
@ -732,7 +732,7 @@ void LLVoiceChannelProximal::handleError(EStatusType status)
|
|||
LLNotificationsUtil::add(notify, mNotifyArgs);
|
||||
}
|
||||
|
||||
LLVoiceChannel::handleError(status);
|
||||
// proximal voice remains up and the provider will try to reconnect.
|
||||
}
|
||||
|
||||
void LLVoiceChannelProximal::deactivate()
|
||||
|
|
@ -741,6 +741,7 @@ void LLVoiceChannelProximal::deactivate()
|
|||
{
|
||||
setState(STATE_HUNG_UP);
|
||||
}
|
||||
|
||||
LLVoiceClient::getInstance()->activateSpatialChannel(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue