void UAdvancedVoiceLibrary::StartNetworkedVoice(uint8 LocalPlayerNum)
{
IOnlineVoicePtr VoiceInterface = Online::GetVoiceInterface();
if (!VoiceInterface.IsValid())
{
UE_LOG(AdvancedVoiceLog, Warning, TEXT("Start Networked Voice couldn't get the voice interface!"));
return;
}
VoiceInterface->StartNetworkedVoice(LocalPlayerNum);
}
IsValid() always false, and voice chat not working.
Here is my DefaultEngine:
[Voice]
bEnabled=true
[OnlineSubsystem]
DefaultPlatformService=Steam
bHasVoiceEnabled=true
[OnlineSubsystemSteam]
bEnabled=true