How can disable the Photon Voice for a particular player in the game room? Reply me aASAP

I have a more than five player I have to communicate with only one player using Photon Voice2

how can I do it?

Answers

  • vadim
    vadim mod
    edited August 18

    Simply do not join the voice room with a player who isn't meant to communicate.

    Or you can assign a group to the players which need to hear only each other.

    int group = 1;

    voiceConnection.Client.OpChangeGroups(null, new byte[]{group});

    recorder.InterestGroup = group;