I'm facing two problems with the last release (I'm not sure if it's a regression, because I wasn't able to run a previous version.
My Mumble server is fine, because I'm able to connect to this without any problem from mumble client, but in game I've two issues:
[1] 2020/09/06 03:01:50.032997 <4:[1] nico(-1)> Disconnected
[1] 2020/09/06 03:01:50.033047 CELT codec switch 0x8000000b 0x0 (PreferAlpha false) (Opus true)
[1] 2020/09/06 03:01:57.819903 <4:(-1)> New connection: XXXXXXXXXXXX:52945 (4)
[1] 2020/09/06 03:01:58.058103 Client 4 connected without CELT codecs. Faking compat bitstream.
[1] 2020/09/06 03:01:58.058348 CELT codec switch 0x8000000b 0x0 (PreferAlpha true) (Opus true)
[1] 2020/09/06 03:03:08.273483 <1:(-1)> New connection: XXXXXXXXXX:50332 (1)
[1] 2020/09/06 03:03:09.292843 Client 1 connected without CELT codecs. Faking compat bitstream.
Important fact: Cellphone calls works (Laggy, but works) and 2D sound in cars too, is like 3D audio is the problem.
voiceData = {}
radioData = {}
callData = {}
mumbleConfig = {
debug = false, -- enable debug msgs
voiceModes = {
{2.5, "whisper"}, -- Whisper speech distance in gta distance units
{8.0, "normal"}, -- Normal speech distance in gta distance units
{20.0, "shout"}, -- Shout speech distance in gta distance units
},
speakerRange = 1.5, -- Speaker distance in gta distance units (how close you need to be to another player to hear other players on the radio or phone)
callSpeakerEnabled = true, -- Allow players to hear all talking participants of a phone call if standing next to someone that is on the phone
radioEnabled = true, -- Enable or disable using the radio
micClicks = true, -- Are clicks enabled or not
micClickOn = true, -- Is click sound on active
micClickOff = true, -- Is click sound off active
micClickVolume = 0.1, -- How loud a mic click is
radioClickMaxChannel = 100, -- Set the max amount of radio channels that will have local radio clicks enabled
controls = { -- Change default key binds
proximity = {
key = 74, -- H
secondary = 21, -- LEFT SHIFT
}, -- Switch proximity mode
radio = {
pressed = false, -- don't touch
key = 137, -- capital
}, -- Use radio
speaker = {
key = 20, -- Z
secondary = 21, -- LEFT SHIFT
} -- Toggle speaker mode (phone calls)
},
radioChannelNames = { -- Add named radio channels (Defaults to [channel number] MHz)
[1] = "LEO Tac 1",
[2] = "LEO Tac 2",
[3] = "EMS Tac 1",
[4] = "EMS Tac 2",
[500] = "Hurr Durr 500 Hurr Durr",
},
callChannelNames = { -- Add named call channels (Defaults to [channel number])
},
use3dAudio = true, -- Enable 3D Audio
useSendingRangeOnly = true, -- Use sending range only for proximity voice (don't recommend setting this to false)
useNativeAudio = false, -- Use native audio (audio occlusion in interiors)
useExternalServer = true, -- Use an external voice server (bigger servers need this), tutorial: https://forum.cfx.re/t/how-to-host-fivems-voice-chat-mumble-in-another-server/1487449?u=frazzle
externalAddress = "XXXXXXXXXXX",
externalPort = 64738,
use2dAudioInVehicles = true, -- Workaround for hearing vehicle passengers at high speeds
}