Join / Leave Channel
Inherit from EasyManager.cs
using EasyCodeForVivox;
public class VivoxManager : EasyManager
{
}Inject EasyChannel
using EasyCodeForVivox;
using EasyCodeForVivox.Extensions;
using UnityEngine;
using VivoxUnity;
using Zenject;
public class VivoxChannel : MonoBehaviour
{
EasyChannel _channel;
[Inject]
public void Initialize(EasyChannel channel)
{
_channel = channel;
}
}The following examples use the same method 2 methods but in different ways. I will break down the method parameters of each method before explaining how to use them
JoinChannel
Type
Parameter
Explanation
JoinChannelRegion - Used for large scale games - Vivox Documentation
Type
Parameter
Explanation
Joining an Echo Channel
This type of channel is used for Mic testing. Check out this blog post for more info
EasyManager
EasyChannel
Joining a Non-Positional (Conference) Channel
This type of channel is normal chat - Vivox Documentation
EasyManager
EasyChannel
Joining a 3D Channel
This type of channel is for 3d video games where Audio/Voice and Text capabilities are based on how close you are to other players. - Vivox Documentation
EasyManager
EasyChannel
Joining a 3D Channel in Specific Region
This is used for large scale games or when using multiple channels such as 3DPositional (for all players) and NonPositional (for squad members). Vivox Documentation
EasyManager
EasyChannel
Joining a NonPositional Channel in Specific Region
This is used for large scale games or when using multiple channels such as 3DPositional (for all players) and NonPositional (for squad members). Vivox Documentation
EasyManager
EasyChannel
Last updated