Fixes #77 multiple ws stream clients
Compare changes
+ 74
− 21
@@ -11,6 +11,76 @@ let peer_uris = {};
@@ -11,6 +11,76 @@ let peer_uris = {};
@@ -49,13 +119,7 @@ function checkStreams(peer) {
@@ -49,13 +119,7 @@ function checkStreams(peer) {
@@ -144,13 +208,8 @@ app.ws('/', (ws, req) => {
@@ -144,13 +208,8 @@ app.ws('/', (ws, req) => {
@@ -159,13 +218,7 @@ app.ws('/', (ws, req) => {
@@ -159,13 +218,7 @@ app.ws('/', (ws, req) => {