-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Change WebRTC & Bun Support #38
Comments
Have you tried PeerJS? |
Thanks for your suggestion. However, I believe PeerJS might be irrelevant in this context because i think it’s a library designed to simplify WebRTC usage in web browsers. Since our focus here is on server-side WebRTC functionality in Node.js, PeerJS doesn't directly address our needs. What do you think? |
They have a server also I thought https://github.com/peers/peerjs-server Btw does haxball.js have a developer discord? |
No, we don't have a discord server for developers. |
Done with #40 |
A new branch,
node-datachannel
, has been created to replace the previouswrtc
module with thenode-datachannel
module. This change aims to provide a more efficient and flexible approach to handling WebRTC within thehaxball.js
.Changes:
wrtc
tonode-datachannel
is expected to improve both performance and stability when managing WebRTC.How to Test:
To begin testing this new branch, please follow the steps below:
haxball.js
's version to this branch in yourpackage.json
npm install
orbun install
(andbun pm trust node-datachannel
)Known Issue with Bun:
There is a currently unconfirmed bug with Bun when using the node-datachannel library. Please apply the workaround provided in the issue linked below until it is resolved: murat-dogan/node-datachannel#318
Feedback Needed:
Your feedback is essential to ensure the stability and compatibility of this change. Specifically, I’m interested in:
node-datachannel
library.The text was updated successfully, but these errors were encountered: