Giter Club home page Giter Club logo

mumble-voip-fivem's Introduction

mumble-voip

A tokovoip replacement that uses fivems mumble voip

  • Radios (one radio channel per player for now)
  • Radio mic clicks
  • Calls
  • Facial animations when talking
  • Phone Speaker mode toggle
  • Hear nearby calls
  • HTML UI
  • Voice chat & Microphone disabled warning messages
  • 3D Proximity base audio
  • Onesync/Infinity/Beyond support
  • Grid system for voice channels

Exports

Client

Setters
Export Description Parameter(s)
SetMumbleProperty Set config options string, any
SetRadioChannel Set radio channel int
SetCallChannel Set call channel int
SetRadioChannelName Set name of radio channel int, string
SetCallChannelName Set name of call channel int, string

Supported TokoVOIP Exports

Export Description Parameter(s)
SetTokoProperty Set config options string, any
addPlayerToRadio Set radio channel int
removePlayerFromRadio Remove player from radio
addPlayerToCall Set call channel int
removePlayerFromCall Remove player from call
Getters
Export Description Parameter(s) Return type
GetPlayersInRadioChannel Returns players in a radio channel int table or false
GetPlayersInRadioChannels Returns players in radio channels int, int, ... table
GetPlayersInAllRadioChannels Returns players in every radio channel table
GetPlayersInPlayerRadioChannel Returns players in a player radio channel int table or false
GetPlayerRadioChannel Returns player radio channel int int
GetPlayerCallChannel Returns player call channel int int

Server

Setters
Export Description Parameter(s)
SetPlayerRadioName Set player name on radio list int, string

Credits

  • @Itokoyamato for TokoVOIP
  • @Nardah and @crunchFiveM for Testing
  • @blattersturm for the grid concept

mumble-voip-fivem's People

Contributors

developer-bear avatar frazzie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mumble-voip-fivem's Issues

No spectate voice

There is an issue where you cant talk to the person you are spectating. this might help. I am not an expert with voice stuff but this might help.

local function SendVoiceToPlayer(intPlayer, boolSend)
Citizen.InvokeNative(0x97DD4C5944CC2E6A, intPlayer, boolSend)
end
You know better ๐Ÿ˜„

OneSync Infinity

It doesn't actually work with infinity, might need to fix this

Sometime when we are not in the same instance we can hear each others and when we're not in the same instance we can't hear anyone from radio or phone

easyadmin?

is it possible to make, that admin can hear voices when spectating person?

setr voice_useNativeAudio 1

after fivem update, i'm using convar setr voice_useNativeAudio 1, because old convars not working any more, but people when don't talk, they have talking animations.

Project rename request

Greetings,

As a member of The Mumble team I am kindly requesting a rename of your project from "mumble-voip" to something more consistent with your project. We feel that since our group page has held this name for some time, your project name may lead to confusion in the developer and user community when trying to find both of our projects in GitHub. I would encourage you to search the new name you pick for your project in GitHub to make sure it is unique. I apologize if this causes any inconvenience to your developers and users.

Thank you,

Mumble voip + rp radio Without Onesync

Hi, the onesync server works great, but I would need a server without onesync. Is it possible to set it somehow?
The radio on the server without onesync simply cannot be heard.

Problem with Installing | Don't know if right here?

Hey there. If this is the wrong place for this, please just tell me. I think i have a Problem with Installing this script. So I can hear everyone from everywhere. I downloaded this script, put it on my server and added "setr voice_use3dAudio true" and "setr voice_useSendingRangeOnly true" to my server.cfg. Are there any other steps or resources or something else I need? I'm running on ESX without Onesync.

Insanely minor nitpick

So, technically on a trunked radio system (one where you would get the talk-permit tone), you would not have an MDC1200 chirp at the end of the transmission (MDC1200's primary purpose is essentially made redundant in a TRS). Assuming you somehow had MDC on a TRS, you also wouldn't hear it at the end of your own transmission (subscriber units don't broadcast their MDC PTT-ID tails), you'd only hear it from other subscribers.

A realistic end-of-transmission sound would be a SpectraTAC comparator click like the one I've attached here - those would be heard at the end of your and anyone else's transmissions.

eot_click.zip

error happens in f8 constantly

citizen:.scripting/lua/scheduler.lua:901: no such export getPlayerData in resource mumble-voip

no clue what causes this.
just error code for client.lua line 229. nothing broken or wrong with the code there.
constantly scrolls in f8 even when mumble voip is commented out. relogging server doesnt help at all either.

can't hear people

Hello i did everthing correct but i can't hear people ingame, and my radio doens't show up with the keybinds or /radio

high speed problem

little problem under infinity, if we are in a vehicle and we move forward and we speak at the same time it does not work correctly, the sound cuts

voiceModes broke

With default resource you can't switch back voiceModes. It works 1 time to the "Shouting" and it stops from switching.

Can only hear other players while in the same vehicle; they can always hear me

The script is running with the default 1.5.3 config settings, and have verified my and the other players settings are identical and mics is working properly. When we ride in the same vehicle, we are able to talk and hear eachother. When we are outside of the vehicle, they can hear me but I no longer hear them. The other player is standing near when outside of vehicles, and should be within distance.

Debug messaages below from the other player getting in and out of the car.
https://i.imgur.com/KNAMffA.png

radio not working

hii

i have install the mumble voip and the radio but i can't hear and no one can hear any one on the radio's

but we can talk normal and hear each other

cant hear people talking

Hi sir Frazzle,

I was wondering if how can we hear the players talking when we spectate them? i am using easyadmin and vMenu for the admin spectate command.

Thank you for the help.

People cant hear me.

People cant hear me but when i go to the setting and turn microphone sensitivity and microphone volume to the max then they can hear me. Why this is heppening?

IDEA : players can see others in same radio

First of all, thank you for all the work you doing for Fivem community. You are a legend.

My idea is something like discord overlay, to show when somebody is in same radio channel with you
I tried it with drawtext and it is very high usage as would expect..
Thank you

Feature Request: isPlayerTalking

Something like NetworkPlayerTalking so for example it can be used for drawing talking players on screen or use it on idoverhead and maybe more

An idea for spectator voice

I am not sure will it work or not,
But the idea is maybe have some export like setTalkingPed(ped) and instead of getting own player pedId coords, get the one that we just set.
Sorry for my english , hope this make sense

insanely high hitch warning

so , i am using mumble-voip and rp-radio for about 10 days now , and after i am using it , and after it when players reach +40 , everybody get laggy so bad...

Not connected to Mumble

In the bottom right, it says warning not connected to mumble and I can hear people who are very far away as if it was global chat I am unsure what is going on.

Mumble VOIP & RP-Radio issues

Hello Frazzle,

I hope you are doing well, I have recently installed mumble VoIP and RP radio, I will list below my issues:

Mumble VOIP:

Currently, Mumble VOIP is server-wide, regardless of what distance someone is at, they are heard, I am also using setr voice_use3dAudio true & setr voice_useSendingRangeOnly true. This isn't making any changes

RP-Radio:
RP Radio isn't being loaded into my server correctly at all, It isn't loaded even though it says its been started.

Feature Request: SetCallChannelName

Hi is it possible to request a CallChannel name set so that when (for us maybe others) we use random generated SQL id's to connect the Call channel for both players to the same channel, would be good if we can actually set the channel name so that we can display either persons number as the channel instead?

Regards
Chris,

Bug Voice For All

Players become more than 100 people, the sound does not work well and the distance does not work and they work freely for everyone

no rp-radio working and gcphone

updated to dev version, but rp-radio seems not working, other players on the same Mhz can't hear you, when calling to gcphone, can't hear each other.

voiceData error

hello, when updated to newest version (4 days ago), getting voiceData error

People cant hear me.

People cant hear me only when i turn microphone sensitivity and microphone volume to the max. I dont know how to fix it?
A restart didnt solve the issue.

Radio options

Hey i have question. Can i restrict when player is not in job in ESX ? Or exist any api for creating radio stations dynamically? Thanks

some bugs in dev mode

hello, sometimes rp-radio stop working with newest mumble-voip. also sometimes players cant hear each other when speaking together, they need to restart their voice settings and go from other people and come back.

  • when can't hear each other, rp-radio working

Can Hear Everyone

Hey, so I installed it on my server but the problem is I can hear everyone what should I do?

spectate

when admin spectates person and stop spectating, player who was spectated can hear him talking

Robotic sound

Hi there!

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. When I make a call, vices are like robots (Again that doesn't happen with desktop client).

In Mumble server log I can see that:

[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.
  1. In game, proximity voice chat is not working fine, anyone are able to listen other users. If debug is enabled I can see "Current Chunk: 249, Nearby Chunks: 249" but anyone listen anyone.

Important fact: Cellphone calls works (Laggy, but works) and 2D sound in cars too, is like 3D audio is the problem.

Troubleshooting

  • OneSync is enabled
  • UDP and TCP ports are enabled
  • Mumble config:
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
}

FXServer 2907
Server OS: Ubuntu
Players: 3

Any clue? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.