cloud-game: Can't start any game

I got some error when starting the server and can’t start any game on localhost:8000.

2019/09/10 10:30:56 Listening at port: localhost:8000
2019/09/10 10:30:56 Running as worker
2019/09/10 10:30:56 Warn: Failed to create client: dialing: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
2019/09/10 10:30:56 Listening at port: localhost: 9000
.....
.....
2019/09/10 10:31:04 === StartClient ===
2019/09/10 10:31:04 Start peerconnection 1b9e405b-1c5f-4e67-84a8-26d76d84d7de
2019/09/10 10:31:04 Error: Cannot create new webrtc session mDNS: failed to join multicast group
2019/09/10 10:31:04 Overlord: Received sdp request from a worker
2019/09/10 10:31:04 Overlord: Sending back sdp to browser
Connected

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

Wow, Awesome. How did you manage to run in on window. Can you show it so others can run when facing the same issue.

It’s kinda easy. The hardest part is to find proper C libs and link it right to avoid segfaults. I’ll PR a quick guide in the readme.

Regarding to latency, If you are close to the servers, the latency should < 1s. I think if you run on local, you can feel it seamless with 0ms right 😕 And for the discrepancy between PSX and SNES latency, PSX has heavier computation, so it may makes things slower.

Not really seamless. For that, I just did a quick comparison with go-nanoarch (opengl) and there is no latency whatsoever for NES, SNES, PSX cores. Regarding cloud-game, there is no latency only when I run NES core and 2-3 sec overhead othervice. Maybe there is an additional slowdown in the rendering / encoding compared to nanoarch. Anyway, maybe I’ll re-check it later on a desktop pc and open a different issue. (: