Secure WebSocket
This commit is contained in:
parent
d55ceee821
commit
4b901c4424
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export class WebRTCStreamer extends Streamer {
|
||||||
}
|
}
|
||||||
|
|
||||||
async start(): Promise<void> {
|
async start(): Promise<void> {
|
||||||
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 => {
|
this.ws.onopen = e => {
|
||||||
console.log("WS open");
|
console.log("WS open");
|
||||||
this.onStateChange(this.mapStateToConnectionState());
|
this.onStateChange(this.mapStateToConnectionState());
|
||||||
|
|
Loading…
Reference in a new issue