C++ 虚拟引擎4的VivoxCore

C++ 虚拟引擎4的VivoxCore,c++,unreal-engine4,C++,Unreal Engine4,有没有人将VivoxCore用于虚幻引擎4并知道此错误的含义?我无法真正理解这意味着什么。我试着通读vivox的源代码以及文档,但没有提到错误代码(1105)。此外,这家公司没有回复电子邮件,他们的公共论坛也不活跃。我试着给他们打电话,发电子邮件,使用公共论坛,在线阅读答案,但我什么也没找到,所以stackoverflow是我最后的选择。我希望这里有人能帮助我 LogVivoxVoiceChat: Warning: onConnectFailed server:https://vdx5.www.

有没有人将VivoxCore用于虚幻引擎4并知道此错误的含义?我无法真正理解这意味着什么。我试着通读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);
VoiceChat=(FVivoxVoiceChat*)FVivoxVoiceChat::Get();
如果(!VoiceChat->IsInitialized())
{
GLog->Log(“未初始化,正在尝试初始化”);
语音聊天->初始化();
返回;
}
如果(!VoiceChat->IsConnected())
{
GLog->Log(“未连接,正在尝试连接”);
VoiceChat->Connect(FOnVoiceChatConnectCompleteDelegate::CreateLambda([])(const FVoiceChatResult和Result)
{
}));
返回;
}
FString PlayerName=playernstate->GetPlayerName();
FString LoginToken=VoiceChat->unsecuregetlogintoken(PlayerName);
如果(!VoiceChat->IsLoggedIn())
{
GLog->Log(“未登录,正在尝试登录”);
VoiceChat->Login(0,PlayerName,LoginToken,FOnVoiceChatLoginCompleteDelegate::CreateLambda([])(常量FString和LoggedInPlayerName,常量FVoiceChatResult和Result)
{
}));
返回;
}
FString ChannelName=“TestChannel”;
EVoiceChatChannelType ChannelType=EVoiceChatChannelType::Echo;//回声测试。
拓扑特性;
FString JoinToken=VoiceChat->unsecuregetjointoken(ChannelName、ChannelType、Channel3dProperties);
VoiceChat->JoinChannel(ChannelName、JoinToken、ChannelType、FOnVoiceChatChannelJoinCompleteDelegate::CreateLambda([])(常量FString和JoinedChannelName、常量FVoiceChatResult和Result)
{
GLog->Log(“加入频道成功”);
}),物业);
语音聊天->传输特定频道(频道名称);

此错误表示您的SDK已过时。UE4中包含的SDK已过时:它使用的是后端版本4,但实际版本为5。

此错误表示您的SDK已过时。UE4中包含的SDK已过时:它使用的是后端版本4,但实际版本为5。

如果启用了Vivox接口插件,请尝试禁用它。

如果启用了Vivox接口插件,请尝试禁用它