question

Mubashar Bilal avatar image
Mubashar Bilal asked

I am using playfab party for voice chat in a unity project for Android and IOS. I am facing the following issues:

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Mubashar Bilal avatar image Mubashar Bilal commented ·

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);

0 Likes 0 ·
Mubashar Bilal avatar image Mubashar Bilal commented ·

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

0 Likes 0 ·

1 Answer

·
Seth Du avatar image
Seth Du answered

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.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Mubashar Bilal avatar image Mubashar Bilal commented ·

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.

0 Likes 0 ·
Seth Du avatar image Seth Du ♦ Mubashar Bilal commented ·

Since you are able to create and connect to the Party network, I don't see any issues in this code snippet. You may find dedicated support from Xbox developer forum.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.