Quantcast
Channel: Photon Voice — Photon Engine
Viewing all articles
Browse latest Browse all 671

Help with Audio Groups

$
0
0
I can't seem to get the following to work. 3 players: Player A - group 1 Player B - group 2 Player C - group 1 Player A should be able to hear Player C Player B should be able to hear ALL Players Player C should be able to hear Player A This is how I believe it should work but it's not working for me: Player A: PhotonVoiceNetwork.Client.GlobalAudioGroup = 1; Player B: PhotonVoiceNetwork.Client.GlobalAudioGroup = 2; // remove all audio groups, and allow player to hear group 1 PhotonVoiceNetwork.Client.ChangeAudioGroups(new byte[0], new byte[1] {1 }); Player C: PhotonVoiceNetwork.Client.GlobalAudioGroup = 1; Any ideas why that isn't working? Both Player A and C work fine, but B can't hear A or C even though I have added it.

Viewing all articles
Browse latest Browse all 671

Latest Images

Trending Articles



Latest Images