Tuesday 23 October 2018

What kind of server do I need for signalhub?

So, I'm trying to make this as short as I can: I'm trying to rebuild the p2p chat browser program front this video: https://ift.tt/2R86EDf At about 28:00 he starts talking about the signalserver, and that he has running already one on his computer. The github description of signalhub says that I should use the command line api, but I couldn't figure out what this is. My problem is that the browser always returns "Uncaught (in promise) TypeError: Failed to fetch localhost:9000/v1/test-app-demo/cjnm5ahhz0000a1ik1evlsutf:1 GET http://localhost:9000/v1/test-app-demo/cjnm5ahhz0000a1ik1evlsutf net::ERR_FAILED", although a I got a "signalhub listening on port 9000" (through json). I read something about a node server has to be used, but I got know idea how to do this.https://ift.tt/2q5ud42 The code I am using for this, of course in browser browserified.Edit: Grammar, sry not a native speaker ^

Submitted October 23, 2018 at 09:13PM by jannjul

No comments:

Post a Comment