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

Move to UDP #30

Closed
TGRHavoc opened this issue Apr 7, 2018 · 0 comments
Closed

Move to UDP #30

TGRHavoc opened this issue Apr 7, 2018 · 0 comments
Assignees
Labels

Comments

@TGRHavoc
Copy link
Owner

TGRHavoc commented Apr 7, 2018

The resource currently uses websockets which, are built on TCP. This causes issues when sending the data from the FiveM server to the clients (ie. Having to wait for previous packets to have been sent before sending more).

So, moving to WebRTC (which is built on top of UDP) might increase the performance by a lot.

I might be able to move the connection onto the server and implement a PHP client that accepts UDP data from the resource running on FiveM.

@TGRHavoc TGRHavoc self-assigned this Apr 7, 2018
@TGRHavoc TGRHavoc changed the title Move to WebRTC Move to UDP Apr 7, 2018
@TGRHavoc TGRHavoc closed this as completed Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant