Positional channels are not detected

So I wanted to try and make a multiplayer game with proximity voice chat and I am using NGO with relay for that, that part works fine. The issue appears when I try joining positional channels.

Whenever I join the channel, it appears as one of the active channels and seems to be working fine. However, when someone else tries to join, the channel does not appear to exist for them (I periodically check that with this piece of code)

Debug.Log("Channels available: ");

foreach ( var property in VivoxService.Instance.ActiveChannels )
{
    Debug.Log($"Channel key: {property.Key} count: {property.Value.Count}");

    foreach ( var participant in property.Value)
    {
        Debug.Log($"Participant {participant.DisplayName}");
    }
}
Debug.Log("Finished displaying channels");

The channel just doesn´t seem to exist for other users, and if they try to join, they can only see their own channel and it says only they are connected to such channel.
I already tried it with Group channels and it works just fine, so I am guessing the issue is with posisitional channels only.

Here is my join logic:

private static async Task JoinVivoxChannel(string id)
{
    id = id.ToUpper();

    var channelProperties = new Channel3DProperties();

    var channelOptions = new ChannelOptions();

    Debug.Log($"Trying to join channel {id}");

    await VivoxService.Instance.JoinPositionalChannelAsync(id, ChatCapability.AudioOnly, channelProperties, channelOptions);
}

The id used is the relay code given by relay itself and I also checked any potential desyncs there, but it is the same on every version.

Any ideas why might this be? Am I doing something wrong?

Just in case, I already checked this similiar thread: Resolved - Problem in implementing Vivox Positional channels - Unity Forum However, it seems to be in an old version since I can´t implement the mentioned code and this doc: Vivox Unity SDK 16.0.0 upgrade guide also suggests that I am in a newer version of the package

Hey, KilThrall!

A quick thing to check is that you’re also setting the position of the users to be within proximity of one another (VivoxService.Instance.Set3DPosition(…)).
By default, when joining a positional channel, players are placed in ‘null’ space and need to have their position set at least once.
In general, players will not show up as participants in the channel alongside others that are out of range for them (based on the Channel3DProperties specified when creating the positional channel).

Check out this doc for more details and if this doesn’t resolve your problem, feel free to report back!

Yep, that was the issue. Thank you for the quick response!
On another note, is there any way of attaching the audio from the players to an audio source? I would like to be able to distort the player’s voice depending on some stuff in game, but I am not sure if that’s possible

Sorry for the late response, I didn’t see the update after the initial message :slight_smile:

There is a way of attaching the audio from players to an Audio Source!
Check out the documentation for our Audio Tap Components!
You can apply effects to player audio using an Audio Source in a few different ways depending on the level of granularity you want to apply it (channel-wide, per player, etc,…)
If you’re left with any questions after reading the documentation / trying it out, let me know!

*The Audio Tap Component features are only available in v16.0.0-pre.1+ of the Vivox package but looks like you’re already using that so no worries. Just wanted to note it in case others stumble on this post~