Simple voice chat not working

Hi,

I am trying to set up a simple voice chat on my server for my friend and me. I followed the guide here, but it does not work. I tried the domain and shared IP for the voice_host=, but it’s not working. I also input the public port from Playit into the port= category.

On the client side, I am using Fabric and have the correct version of both the Fabric API and simple voice chat. When I open the server on my computer, I see it in the bottom right, but it shows the not connected symbol. When I use push to talk it says its not connected but in the server logs I get:

[19:12:55 INFO]: [voicechat] Received secret request of Enspist (17) [19:12:55 INFO]: [voicechat] Sent secret to Enspist

So I know it sees something. Here is the voicechat-server.properties file output (I removed the port and IP address for security reasons but they are there in the actual file):

Simple Voice Chat server config v2.4.30

The port of the voice chat server
Setting this to “-1” sets the port to the Minecraft servers port (Not recommended)
port= PORT NUMBER
The IP address to bind the voice chat server on
Leave empty to use ‘server-ip’ of server.properties
To bind to the wildcard address, use ‘*’
bind_address=
The distance to where the voice can be heard
max_voice_distance=48.0
The multiplier the voice distance will be reduced by when sneaking
crouch_distance_multiplier=1.0
The multiplier the voice distance will be reduced by when whispering
whisper_distance_multiplier=0.5
The opus codec
codec=VOIP The maximum size in bytes in a voice packet
Set this to a lower value if your voice packets don’t arrive
mtu_size=1024
The frequency in which keep alive packets are sent
Setting this to a higher value may result in timeouts
keep_alive=1000
If group chats are allowed
enable_groups=true
The host name that clients should use to connect to the voice chat
This may also include a port, e.g. ‘example.com:24454
Don’t change this value if you don’t know what you are doing
voice_host= DOMAIN/ SHARED IP ADDRESS
If players are allowed to record the voice chat
allow_recording=true
If spectators are allowed to talk to other players
spectator_interaction=false
If spectators can talk to players they are spectating
spectator_player_possession=false
If players without the mod should get kicked from the server
force_voice_chat=false
The amount of milliseconds, the server should wait to check if the player has the mod installed
Only active when force_voice_chat is set to true
login_timeout=10000
The range where the voice chat should broadcast audio to
A value <0 means ‘max_voice_distance’
broadcast_range=-1.0

I feel like I am doing something wrong but idk so here I am asking for help.

you need to create a tunnel for udp as voice chat uses UDP connection

and then configure the voice chat to use the UDP TUNNEL that you have created

Yeah, I am trying to do so, but nothing is happening. It simply tells me “dont host malware” and I click “okay” and thats that. Nothing happens. Anyone know a fix?

1 Like

After you click okay, you need to select UDP again from the menu.

  1. On playit.gg create a Custom TCP+UDP tunnel. Leave the Local Port field empty.
    This tunnel will be used for both the server and the VC.
    Link it to your agent if it’s already running.
  2. In server.properties change the server-port to whichever number was assigned by playit.
    This means that if your address is random-word.at.ply.gg:12345 use the 12345.
  3. You should not have to change anything in Plasmo’s config. It will reuse your servers IP and port number by default.
  4. Connect to the server using provided IP

You can also setup

  1. Create a UDP tunnel using the port 24454 (default port for Simple Voice Chat)
  2. Go to your server folder and go to config/voicechat/voicechat-server.properties
  3. Leave the “port=24454” and change “voice_host=” to “voice_host=random-word.at.ply.gg:12345”