On Android, there is a very little problem of echo effect, voice is also heard by transmitter after a tiny gap.
On IOS, voice chat not working, when IOS app join the network app crashes after giving error 'invalid argument specified' , i am using following to create network on android app and join network on IOS app
//Create Network Code
PlayFabNetworkConfiguration config = new PlayFabNetworkConfiguration(); config.MaxPlayerCount = 2; PlayFabMultiplayerManager.Get().CreateAndJoinNetwork(config);
//Join Network Code
PlayFabMultiplayerManager.Get().JoinNetwork(netId);
private void OnRemotePlayerJoined(object sender, PlayFabPlayer player)
{
if (!speakerStatus)
player.IsMuted = true;
else
player.IsMuted = false;
}
The above code is giving error ''invalid argument specified'.
Please note that the error is printed two times in the console
In terms of echo effect, you may consult the Xbox developer forum for more information.
In addition, have you referred the documentation -- iOS getting started - PlayFab | Microsoft Docs, to set up PlayFabNetworkConfiguration? There is detailed sample code that you may use to compared with your project.
private void OnRemotePlayerJoined(object sender, PlayFabPlayer player)
{
if (!speakerStatus)
player.IsMuted = true;
else
player.IsMuted = false;
}
This function is giving error "invalid argument specified" when i try to mute remote player on joining on both android and ios.
3 People are following this question.