AvarianKnight / pma-voice

An easy drag n' drop resource that gives you a wrapper to use FiveM's built-in mumble voice.
MIT License
225 stars 192 forks source link

Voice Stops working until toggle off then on #309

Closed FBFezz closed 1 year ago

FBFezz commented 2 years ago

Did you read the README?: There's a lot of information in the README, if you ask a question that is answered in the README, you will be told to "Read the README" Yes

Describe the bug When Player A is speaking it then cuts out, Player B wont notice until Player A seems to be very quiet. Player A will toggle the voice on and off and then they can be heard by Player B

To Reproduce Steps to reproduce the behavior: N/A Seems to be "Random" although someone pointed out to me that it happened to them when their cpu usage was high

Expected behavior Voice to Work Continuously and not cut out

Server Info:

Additional context When it Happens people get this in F8 (ignore the errors its the pma bit that it shows) https://cdn.discordapp.com/attachments/963882047846350900/963905225880653854/unknown.png https://cdn.discordapp.com/attachments/895439954757439519/961357046136053820/unknown.png

Nexxed commented 2 years ago

Those screenshots only show that the client is reconnecting to the mumble server (probably caused by them toggling voice off/on).

If you're using an external mumble server, I'd try switching back to FXServer's built-in voice server, as in our case, it's been unreliable and inconsistent with players complaining about similar issues.

FBFezz commented 2 years ago

We are on FXServer's built in voice server and think that's the problem

AvarianKnight commented 2 years ago

I'm not sure what the issue could be, the logs you provided was just the info provided from mumbleConnecting where pma-voice will handle the initial state and set all of their channels/proximity/targets, etc.

Make sure none of your other resources are touching any mumble natives or NetworkSetVoice* natives

Besides that CPU doesn't seem to be the factor here, I had two local clients and used CPU-Z to stress the CPU and couldn't replicate any of the issues

We are on FXServer's built in voice server and think that's the problem

Doubtful, the built in voice server works perfectly fine for us and we haven't had any reported voice issues either

FBFezz commented 2 years ago

Weirdly enough had someone upgrade their pc who was getting said issue and had mad high cpu usage and when he upgraded the issue has stopped for him

CodeRedDev commented 2 years ago

Until now I can't confirm the CPU usage part but a lot of players are experiencing this thing where they have to turn off and on their voice chat to hear each other again.

I'm using the default pma-voice with some adjustments to voice range (in the config) and an added feature to mute oneself. But besides that it's the clear pma-voice.

CodeRedDev commented 2 years ago

Could it maybe be that in-game voice is negatively influenced by big MLOs? Like the game is obviously influenced and it hands the bad performance over to voice?

shruog commented 2 years ago

Could it maybe be that in-game voice is negatively influenced by big MLOs? Like the game is obviously influenced and it hands the bad performance over to voice?

you fix the problem? i have this too with some peoples

WooAf commented 2 years ago

I'm having the same problem, using external servers right now, been the same with internal server

Draakje10 commented 2 years ago

also have this problem sadly

Draakje10 commented 2 years ago

okey so i guess i figured out the issue. So when a new client joins he can speak to the older client but cant hear what the newer one has to say. unless they turn voice chat on and off again which reconnects the server. i dont have a fix but hope this helps in finding it

Edit: When client a which joined first talks to client b who joins second, client a can hear client b BUT client b canNOT hear client a.

Leksap commented 1 year ago

any update on this

Leksap commented 1 year ago

found the issue for me is that i use a proxy on my server