有没有人在虚幻引擎4上使用过VivoxCore,知道这个错误是什么意思?我不能真正理解这是什么意思。我试着通读了vivox的源代码和文档,但没有提到错误代码(1105)。此外,制作此功能的公司不会回复电子邮件,他们的公共论坛也不活跃。我试着给他们打电话,给他们发电子邮件,使用公共论坛,在线阅读寻求答案,但我什么也没找到,所以stackoverflow是我最后的选择。我希望这里有人能帮助我。
LogVivoxVoiceChat: Warning: onConnectFailed server:https://vdx5.www.vivox.com/api2 error:SIP Backend Required (1105)下面是我的代码:
VoiceChat = (FVivoxVoiceChat*)FVivoxVoiceChat::Get();
if (!VoiceChat->IsInitialized())
{
GLog->Log("Is not initialized, trying to initialize.");
VoiceChat->Initialize();
return;
}
if (!VoiceChat->IsConnected())
{
GLog->Log("Is not connected, trying to connect.");
VoiceChat->Connect(FOnVoiceChatConnectCompleteDelegate::CreateLambda([](const FVoiceChatResult& Result)
{
}));
return;
}
FString PlayerName = PlayerState->GetPlayerName();
FString LoginToken = VoiceChat->InsecureGetLoginToken(PlayerName);
if (!VoiceChat->IsLoggedIn())
{
GLog->Log("Is not logged in, trying to login.");
VoiceChat->Login(0, PlayerName, LoginToken, FOnVoiceChatLoginCompleteDelegate::CreateLambda([](const FString& LoggedInPlayerName, const FVoiceChatResult& Result)
{
}));
return;
}
FString ChannelName = "TestChannel";
EVoiceChatChannelType ChannelType = EVoiceChatChannelType::Echo; // Echo for testing.
TOptional<FVoiceChatChannel3dProperties> Channel3dProperties;
FString JoinToken = VoiceChat->InsecureGetJoinToken(ChannelName, ChannelType, Channel3dProperties);
VoiceChat->JoinChannel(ChannelName, JoinToken, ChannelType, FOnVoiceChatChannelJoinCompleteDelegate::CreateLambda([](const FString& JoinedChannelName, const FVoiceChatResult& Result)
{
GLog->Log("JOin Channel successful");
}), Channel3dProperties);
VoiceChat->TransmitToSpecificChannel(ChannelName);发布于 2020-10-26 23:41:51
这个错误意味着你有一个过时的SDK。UE4中包含的SDK已经过时了:它使用的是后台版本4,但实际版本是5。
发布于 2021-02-19 21:30:32
尝试禁用Vivox界面插件(如果已启用)。
https://stackoverflow.com/questions/62804567
复制相似问题