fixup tabs
parent
d67a3022d3
commit
1f177d837c
|
|
@ -513,7 +513,6 @@
|
||||||
<key>trusted-sender</key>
|
<key>trusted-sender</key>
|
||||||
<boolean>false</boolean>
|
<boolean>false</boolean>
|
||||||
</map>
|
</map>
|
||||||
|
|
||||||
<!-- Server to client -->
|
<!-- Server to client -->
|
||||||
<key>RequiredVoiceVersion</key>
|
<key>RequiredVoiceVersion</key>
|
||||||
<map>
|
<map>
|
||||||
|
|
|
||||||
|
|
@ -2368,6 +2368,7 @@ void LLCallDialogManager::onVoiceChannelStateChangedInt(const LLVoiceChannel::ES
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LLVoiceChannel::STATE_NO_CHANNEL_INFO :
|
case LLVoiceChannel::STATE_NO_CHANNEL_INFO :
|
||||||
// This will happen in p2p calls using the adhoc
|
// This will happen in p2p calls using the adhoc
|
||||||
// infrastructure, which marks the channel as no channel info
|
// infrastructure, which marks the channel as no channel info
|
||||||
|
|
@ -3261,7 +3262,7 @@ LLUUID LLIMMgr::addP2PSession(const std::string& name,
|
||||||
const LLUUID& other_participant_id,
|
const LLUUID& other_participant_id,
|
||||||
const LLSD& voice_channel_info)
|
const LLSD& voice_channel_info)
|
||||||
{
|
{
|
||||||
LL_WARNS("Voice") << "ADD P2P VOICE CHANNEL INFO: " << voice_channel_info << LL_ENDL;
|
LL_DEBUGS("Voice") << "Add p2p voice channel info: " << voice_channel_info << LL_ENDL;
|
||||||
return addSession(name, IM_NOTHING_SPECIAL, other_participant_id, voice_channel_info);
|
return addSession(name, IM_NOTHING_SPECIAL, other_participant_id, voice_channel_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4126,7 +4127,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL session_type_p2p = input["body"]["voice"].get("invitation_type").asInteger() == EMultiAgentChatSessionType::P2P_CHAT_SESSION;
|
BOOL session_type_p2p = input["body"]["voice"].get("invitation_type").asInteger() == EMultiAgentChatSessionType::P2P_CHAT_SESSION;
|
||||||
LL_WARNS("Voice") << "VOICE DATA: " << input["body"]<< LL_ENDL;
|
LL_DEBUGS("Voice") << "Received P2P voice information from the server: " << input["body"]<< LL_ENDL;
|
||||||
gIMMgr->inviteToSession(
|
gIMMgr->inviteToSession(
|
||||||
input["body"]["session_id"].asUUID(),
|
input["body"]["session_id"].asUUID(),
|
||||||
input["body"]["session_name"].asString(),
|
input["body"]["session_name"].asString(),
|
||||||
|
|
|
||||||
|
|
@ -480,11 +480,11 @@ void audio_update_volume(bool force_update)
|
||||||
|
|
||||||
if (!gViewerWindow->getActive() && (gSavedSettings.getBOOL("MuteWhenMinimized")))
|
if (!gViewerWindow->getActive() && (gSavedSettings.getBOOL("MuteWhenMinimized")))
|
||||||
{
|
{
|
||||||
//voice_inst->setMuteMic(true);
|
voice_inst->setMuteMic(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//voice_inst->setMuteMic(false);
|
voice_inst->setMuteMic(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,8 +120,8 @@ void LLVoiceChannel::setChannelInfo(const LLSD &channelInfo)
|
||||||
|
|
||||||
void LLVoiceChannel::onChange(EStatusType type, const LLSD& channelInfo, bool proximal)
|
void LLVoiceChannel::onChange(EStatusType type, const LLSD& channelInfo, bool proximal)
|
||||||
{
|
{
|
||||||
LL_WARNS("Voice") << channelInfo << LL_ENDL;
|
LL_DEBUGS("Voice") << "Incoming channel info: " << channelInfo << LL_ENDL;
|
||||||
LL_WARNS("Voice") << mChannelInfo << LL_ENDL;
|
LL_DEBUGS("Voice") << "Current channel info: " << mChannelInfo << LL_ENDL;
|
||||||
if (mChannelInfo.isUndefined())
|
if (mChannelInfo.isUndefined())
|
||||||
{
|
{
|
||||||
mChannelInfo = channelInfo;
|
mChannelInfo = channelInfo;
|
||||||
|
|
|
||||||
|
|
@ -303,7 +303,6 @@ void LLVoiceClient::tuningStop()
|
||||||
{
|
{
|
||||||
LLWebRTCVoiceClient::getInstance()->tuningStop();
|
LLWebRTCVoiceClient::getInstance()->tuningStop();
|
||||||
LLVivoxVoiceClient::getInstance()->tuningStop();
|
LLVivoxVoiceClient::getInstance()->tuningStop();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LLVoiceClient::inTuningMode()
|
bool LLVoiceClient::inTuningMode()
|
||||||
|
|
@ -784,8 +783,6 @@ class LLViewerRequiredVoiceVersion : public LLHTTPNode
|
||||||
const LLSD& context,
|
const LLSD& context,
|
||||||
const LLSD& input) const
|
const LLSD& input) const
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
std::string voice_server_type = "vivox";
|
std::string voice_server_type = "vivox";
|
||||||
if (input.has("body") && input["body"].has("voice_server_type"))
|
if (input.has("body") && input["body"].has("voice_server_type"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue