From 4b901c442479eb25b24d54ab1d2422c92c3e98d8 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Mon, 30 Mar 2020 20:48:43 +0200 Subject: [PATCH] Secure WebSocket --- src/broadcast/rtc_streamer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/broadcast/rtc_streamer.ts b/src/broadcast/rtc_streamer.ts index 22f04df..396d61b 100644 --- a/src/broadcast/rtc_streamer.ts +++ b/src/broadcast/rtc_streamer.ts @@ -42,7 +42,7 @@ export class WebRTCStreamer extends Streamer { } async start(): Promise { - this.ws = new WebSocket("ws://audio.ury.org.uk/webstudio/stream"); // TODO + this.ws = new WebSocket("wss://audio.ury.org.uk/webstudio/stream"); this.ws.onopen = e => { console.log("WS open"); this.onStateChange(this.mapStateToConnectionState());