[HELP]Push-ToTalk/Voice Activation

Hey,

I installed the Tokovoip Plugin and use GCPhone for Fivem, i do the tutorial from this script:

My Tokovoip works and call that when I press the button

My question:
Can i set the settings to only Voice activation or something?

When I call someone I have to press my key to speak, after the call my voice activation no longer works. And I have to switch to push to talk in teamspeak to be able to continue talking in-game, can that be changed?

would interest me too

You can fix half of the problem by changing

tokovoip_script/src/c_TokoVoip.lua Line: 143
THIS: if (IsControlPressed(0, self.radioKey) and self.plugin_data.radioChannel ~= -1 and self.config.radioEnabled) then – Talk on radio

TO: if (self.plugin_data.radioChannel ~= -1 and self.config.radioEnabled) then – Talk on radio

it deaktivates that you have to press a button to talk on the phone.
Next Problem is that when you hang up you still have to press a push to talk button

So I just gave up, since there is no answer anywhere and I couldnt fix it. There is a possibility that you have to change some code of the TS Plugin but I didnt try.

My Solution was setting up a reTurn server and letting the calls be redirected through it.

Pros/Cons:

  • You have a more realistic phone because you can actually hear the player twice if he stands right next to you.
  • If you mute yourself in Teamspeak you can still talk on the phone

https://rtcquickstart.org/guide/multi/turn-reTurnServer.html