Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voip Delay With 90+ connections. #622

Open
Bitou2k opened this issue Jun 1, 2020 · 12 comments
Open

Voip Delay With 90+ connections. #622

Bitou2k opened this issue Jun 1, 2020 · 12 comments

Comments

@Bitou2k
Copy link

Bitou2k commented Jun 1, 2020

Hello, I am using the vRP2 Voip (WebRTC + nodejs + TURN server)

On my server, up to about 90 connections (players), voip works normally, but when more than 100+ people start to enter, there is a delay in the voice. People talk, and it takes up to 10 seconds of delay to receive the audio of what was said.
I would like to know if you, Imagic, have any suggestions or fixes so that I can continue using voip.
Example, which functions should be async, etc.

I appreciate if I can help.

@Bitou2k
Copy link
Author

Bitou2k commented Jul 4, 2020

Imagic?

@mickeygeecom
Copy link

mickeygeecom commented Jul 4, 2020

Sounds like something else is bottle-necking your server.
Are you getting hitches on the server console?

@Bitou2k
Copy link
Author

Bitou2k commented Jul 30, 2020

Sounds like something else is bottle-necking your server.
Are you getting hitches on the server console?

no man. :/

@benzon
Copy link

benzon commented Oct 16, 2020

Hmm sounds more like a bandwidth bottleneck to be honest.

Got to say i personally dont think WebRTC + nodejs + TURN server - is a good solution for ingame voice, use the integrated mumble og toko makes a lot more sence.

@Disquse
Copy link

Disquse commented Oct 16, 2020

@benzon It seems you're underrating modern WebRTC. Imagic's solution is not very scalable, it's true. But there's lots of ways to make WebRTC voip solution be able to handle hundreds or even thousands of actively talking people. Mumble is good too thought.

@benzon
Copy link

benzon commented Oct 16, 2020

WebRTC works fine nothing there, but requires bandwith, and if you got it on the same server as fivem you might run in to a cap at some point, depends on your provider ofc.

@Disquse
Copy link

Disquse commented Oct 16, 2020

@benzon Mumble and WebRTC both using OPUS, there's almost no difference in bandwidth at the same bitrate (in case if your WebRTC solution is using SFU scheme). And I don't see anything wrong since it's very scaliable.

@Bitou2k
Copy link
Author

Bitou2k commented Oct 25, 2020

There is a WebRTC solution created by one person, for the VioV server, I didn't get to test it, but it seems to be very scalable
https://github.com/Z8pn/VioVoice

I would like to use the vrp2 voip, as it is very simple and effective, you would only have to make it scalable from 200 to 500 players

@ImagicTheCat
Copy link
Member

I'm not satisfied with the VoIP implementation, it's not very good. JavaScript, Node.js and WebRTC are to me overly complicated pieces of software; I don't feel sane when trying to workaround what I don't like / understand. And I can't use things I want with FiveM, like sockets or threads, thus I think I will just delegate by using other people's work.

@AleDema
Copy link

AleDema commented Jan 26, 2021

@ImagicTheCat Does that mean you'll switch to Mumble?

@ImagicTheCat
Copy link
Member

@AleDema Probably not, it would use higher level libraries instead.

@AleDema
Copy link

AleDema commented Jan 26, 2021

@ImagicTheCat I meant the in game implementation of Mumble. It seems like its slowly becoming the standard. NoPixel is using it for voice chat along with RTC for calls/radio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants