use proper server

This commit is contained in:
Marks Polakovs 2020-03-28 11:24:06 +01:00
parent 1c57043421
commit 0ce3e73465

View file

@ -21,7 +21,7 @@ export class WebRTCStreamer extends Streamer {
} }
async start(): Promise<void> { async start(): Promise<void> {
this.ws = new WebSocket("ws://localhost:8079/stream"); // TODO this.ws = new WebSocket("ws://audio.ury.org.uk/webstudio/stream"); // TODO
this.ws.onopen = e => { this.ws.onopen = e => {
console.log("WS open"); console.log("WS open");
this.onStateChange(this.mapStateToConnectionState()); this.onStateChange(this.mapStateToConnectionState());