Signal Relay between Client and Geckos Server #125
Unanswered
alexanderson1993
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There! Thanks for making Geckos; it's a great project.
I've got an interesting problem that I hope to solve. My game is being distributed as an Electron app, which means the servers are running inside a LAN and players are connecting directly to the HTTP server using IP addresses. This is fine, but I feel it can be improved.
Since Geckos data channels work over WebRTC anyway, is it possible to have another cloud-based server act as the signaling server between a client and a Geckos server? Basically that cloud server would receive all of the description and candidate information from the client and Geckos server and relay them between each other, but the data channel would still be peer to peer between the client and Geckos server.
This would make games over the internet much easier to do. When a Geckos server starts up, it registers with the cloud server. The client goes to a website hosted by the cloud server and picks their server from the list. The WebRTC handshake is relayed through the cloud server, and the game goes from there.
Is such a thing currently possible in Geckos, or would significant adjustments/a fork be necessary?
Beta Was this translation helpful? Give feedback.
All reactions