Team based Voice chat?

What would be the best way to go about having team based voice chat? For example, there are 2 teams, with x number of players on each team, and you can only hear your team and not the other team ?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @HooDoo,

    Here is an excerpt from the documentation:

    If you are implementing teams in your game, you can add "team chat" easily as follows:

    - Assign a group number per team.
    - A player should subscribe to the audio group of the team he/she belongs to.
    - Players of the same team can talk to each other by setting the GlobalAudioGroup to the team's audio group number.


    Please check the same documentation page for more information.
    You can also take a look at the source code of the Push To Talk demo.