|
|
@ -149,7 +149,6 @@ export class EditorComponent {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// this.client = new WebSocket(`ws://127.0.0.1:3000/live/${idRoom}`);
|
|
|
|
|
|
|
|
this.client = new WebSocket(`${environment.webSocketUrl}/live/${idRoom}`);
|
|
|
|
this.client = new WebSocket(`${environment.webSocketUrl}/live/${idRoom}`);
|
|
|
|
this.client.addEventListener('open', async () => {
|
|
|
|
this.client.addEventListener('open', async () => {
|
|
|
|
let conn = new Connection(this.client!);
|
|
|
|
let conn = new Connection(this.client!);
|
|
|
|