I created a script to split players into 5 mumble channels based on player coords and players nearby, i found out that there is an issue when enabling/disabling voip
Incident
Using infinity, when a client enable/disable the voip in the settings he won’t be able to set voice channel until a clear voice channel is done.
Repro
Requires :
At least 2 players and a server using Infinity/Bigmode
A script that set the voice channel to a defined channel every 250ms using :
NETWORK_SET_VOICE_CHANNEL(int channel)
Get player A and player B close enough to be able to talk and hear each others,
when both can hear each others, one of the two players should disable/enable voip,
Voila! you won’t be able to hear or talk even if you SET_VOICE_CHANNEL to the same voice channel until you use :
NETWORK_CLEAR_VOICE_CHANNEL()
Video
Keep in mind :
There is a script that : NetworkSetVoiceChannel every 250ms based on coords and players nearby.
Until 00:24 you’ll see that everything works as intended
At 00:25 I disable/enable VOIP and then i can’t hear the player nearby
At 00:31 I press my key that NetworkClearVoiceChannel() and then everything works as intended
Hey!
I just reproduced this one the same way, I actually managed to check what channel the player is currently in by using MumbleGetVoiceChannelFromServerId, it always returned 0 no matter what channel I set using NetworkSetVoiceChannel, until I turned voice off and on again on settings.