From 35c0a72515a951a8ca21c04c332d3aea4598cc40 Mon Sep 17 00:00:00 2001 From: Sami Spets <savasp@utu.fi> Date: Thu, 24 Oct 2019 02:17:50 +0300 Subject: [PATCH] changes --- web-service/server/public/js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-service/server/public/js/index.js b/web-service/server/public/js/index.js index ca18fad65..182fca3eb 100644 --- a/web-service/server/public/js/index.js +++ b/web-service/server/public/js/index.js @@ -123,8 +123,9 @@ const createCard = (url, viewers, uri) => { } const connectToStream = () => { - let ws = new WebSocket('ws://localhost:8080/'); + let ws = new WebSocket('ws://localhost:8080/', 'get_stream'); ws.onopen = (e) => { + ws.send("get_stream", current_uri, 0, ) } } -- GitLab