Skip to content
Snippets Groups Projects
Commit 35c0a725 authored by Sami Spets's avatar Sami Spets
Browse files

changes

parent 2c840ac5
No related branches found
No related tags found
No related merge requests found
Pipeline #15889 passed
...@@ -123,8 +123,9 @@ const createCard = (url, viewers, uri) => { ...@@ -123,8 +123,9 @@ const createCard = (url, viewers, uri) => {
} }
const connectToStream = () => { const connectToStream = () => {
let ws = new WebSocket('ws://localhost:8080/'); let ws = new WebSocket('ws://localhost:8080/', 'get_stream');
ws.onopen = (e) => { ws.onopen = (e) => {
ws.send("get_stream", current_uri, 0, )
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment