This tutorial covers a short step by step explanation on “how to host fivem’s voice chat in another server”. It could be relevant for you to run the voice chat outside of FXServer for several reasons: performance, DDoS protection. In this tutorial, we aim to deploy the voice server in Linux, but it should be the same steps with Windows.
Requirements
Docker
Go
Setup
IT MAY BE BETTER TO USE MURMUR INSTEAD OF GRUMBLE FOR STABILITY REASON
We are going to use Grumble. Grumble is an implementation of a server for the Mumble voice chat system. It is an alternative to Murmur, the typical Mumble server.
Installation
git clone https://github.com/mumble-voip/grumble.git
cd grumble
go get mumble.info/grumble/cmd/grumble
docker build -t mumble-voip/grumble .
If you want to deploy the voice chat on another port with the same IP you also need to change the default port of grumble in cmd/grumble/server.go.
Join the server
A new native has been introduced MUMBLE_SET_SERVER_ADDRESS to set the server the user should join. This means that you can use and deploy multiple servers.
Hello I’ve successfully implemented this but for some reason when some people join this error happens on grumble, I’ve tried googling it but no success in finding the solution.
Sure, I’ve implemented a reconnect feature and that triggers it way more than usual. Just use the native MumbleIsConnected to check the connection in a thread, if its not connected set it to connect again with the native. (Have to be a certain amount of players for it work, sometimes it worked with 2, other times with 8 and more, worked with 2 when second player joined after me.) @PichotM
I’m no longer doing that because I saw that it auto reconnects, I’m just saying that if you do that it will trigger this error easier than normally. Even without this eventually at some point this error happens and crashes grumble.
So i was setting this up and what i get to know that in grumble user can create the channels then how it gonna work if you know how to fix their ALC then pls help me
It’s not working for me, i’m using mumble-voip resource by Frazzle, it’s working perfect without external voice server, but when i config the external server i can’t hear anyone.
This is how voice server console look (btw i’m using Ubuntu 20.04, i also tried on Ubuntu 19.04)
So I was able to implement this and it seems to be working fine. The only issue we are seeing are the phone calls can be listener by nearby players to the one speaking on the phone and viseversa.
Also the grumble server seems to be really unstable so I have been trying to get murmur(mumble-server) to work instead since it runs native and not trough docker but im ghetting this on the client when trying to connect. Anyone knows how I could resolve this TLS issue?
Good job guys I got it working with murmur @PichotM MumbleCreateChannel is not working when using an external server right?
Also MumbleIsConnected is still returning 1 if I shutdown murmur, is it intended?
Thank
If anyone could make a guide for windows that would be swell ^^
Also, does anyone have an idea or know how many players the normal mumble can hold, and if there is any (100 players = Mute all) like on ts, and if so, how to disable it (Both standard and external answers could be awesome, to guide most amount of people)
I highly recommend to don’t use this for these reasons:
It’s unstable and there is a possibility of a crash
It’s not secured and it does not require any kind of authentication so whoever dumps your server and gain access to that IP and Port can connect to your mumble-server
MumbleIsConnected still return true when you close the mumble server