[How-to] Host FiveM's voice chat (mumble) in another server

I have found that doing this leads to skips/lag when people talk… Seems like there is no solid solution at this time.

Exactly what I was referring to. I do see a couple of mumble commits this morning. Maybe should give it another try.

How do you use it right now?

Can you say me where the file is localisation ?

Hello
i have this problem

[G] 2021/05/17 11:52:01.796397 Grumble
[G] 2021/05/17 11:52:01.796977 Using data directory: /data
[G] 2021/05/17 11:52:01.797703 Loading server 1
[1] 2021/05/17 11:52:01.803046 Started: listening on [::]:64738 and 0.0.0.0:443
[1] 2021/05/17 11:52:03.324166 <1:(-1)> New connection: ******:11189 (1)
[1] 2021/05/17 11:52:03.499051 Client 1 connected without CELT codecs. Faking co                                                          mpat bitstream.
[1] 2021/05/17 11:52:03.499495 CELT codec switch 0x8000000b 0x0 (PreferAlpha tru                                                          e) (Opus true)
[1] 2021/05/17 11:52:04.042184 <2:(-1)> New connection: ******:54794 (2)
[1] 2021/05/17 11:52:04.282895 Client 2 connected without CELT codecs. Faking co                                                          mpat bitstream.
[1] 2021/05/17 11:52:22.873856 <1:[3] Castiel(-1)> Disconnected
1 Like

The best general fix is to not use murmur or other externals, but to use another FXServer on a separate port and host it off of that.

Murmur reportedly has some incompatibility issues (Which you can see above) which leads to it having high packet loss among other things.

Just set up another FXServer on another port and use it as your mumble server, the mumble port will be the same as whatever you set your FXServer to. If you want to auto-generate the channels just add pma-voice to the server and do setr voice_externalDisallowJoin 1 (which just kicks anyone who tries to join the server)

3 Likes

I tried to get rid of the ■■■■script and I tried to set up an external fxserver running only pma-voice because we are running a 100+ server and don’t want all that traffic on my main server but I can’t make it work together. Server is up and running but the client doesn’t connect to pma-voice. What’s the convars that we need to set up on both servers?

Do you need to call the external server from somewhere else than the convars in server.cfg?

Both servers are on the same machine but using different ports.

I’ve read all the documentation on the pma-voice GitHub and here on the forum but can’t find what I’m missing to make it work.

And as you stated the external murmur doesn’t seems to be the right way it would be nice to have a proper documentation on how to use pma-voice with an external fxserver as you recommend because I’m clearly missing something to make it work. Probably a wrong convars in one off my server.cfg.

Thank you

Hey, if i use pma-voice or mumble-voip i hear other people on my server.
but i i use external server i can’t hear other people, idk why.

It not work too.
What I tried:

  1. set up another FXServer (with only pma-voice enabled) on another port.
  2. add setr voice_externalAddress “myIP” and setr voice_externalPort 30125 to my main server.
  3. Using mumble client connect to “myIP” to make sure player have connected to the another FXServer.
    Result: Players are connected but I cant’ hear, can’t talk.

on same linux server im running 2 FXServers
the first FXserver installed my resources actually im using qbcore also have pma-voice added
config on the first FXserver and port is 30120

setr voice_externalPort 30000
setr voice_externalAddress x.x.x.x
setr voice_externalDisallowJoin 1
setr voice_useNativeAudio true
setr voice_useSendingRangeOnly true
setr voice_defaultCycle "GRAVE"
setr voice_defaultVolume 0.3
setr voice_enableRadioAnim 1
setr voice_syncData 1

second FXserver installed pma-voice and started the server on port 30000
here is the config

setr voice_useNativeAudio true
setr voice_useSendingRangeOnly true
setr voice_defaultCycle "GRAVE"
setr voice_defaultVolume 0.3
setr voice_enableRadioAnim 1
setr voice_syncData 1

im doing it right ?

is this works ?

Hi AvarianKnight,

So I added all of the convars but no audio passes when to players. What am I doing wrong?

Can someone make a video tutorial and explain it?

1 Like

The radio voice works fine, but when you are next to someone the voice does not work. What can be?

Hello. How can I prevent people joining the Mumble server with Mumble client and trolling other players?

This works quite well, but you need to have the same amount of channels as your highest player server ID is. For example, if you have server ID 2500, you must have 2500 channels. I have refered more on that here: Mumble logic

I could make it working external using a Mumble server, but if I set it up as a FXserver just with the pma-voice script, I can not connect to the external “fxserver” mumble server.

I made my channels, i can connect to them. But still doesnt listen or can talk with anyone.
Imagine, if my id is 1, i go to channel 1, and id is 2 i go to channel 2
But its like the micro doesnt work. Or something else.
Do i need change something at ini of murmur?

1 Like

For everyone setting up the external voice server using Fxserver. Make sure to set the max clients same as your prod server limit. It might be clear, but I spent a lot of time there :slight_smile: Hope it helps someone

have you managed to find a way to mute players when hosting the voice server on a different fxserver by any chance?