This commit is contained in:
yumoqing 2024-08-22 17:49:56 +08:00
parent 88884d1bd3
commit 230d5974dc

View File

@ -39,7 +39,7 @@ bricks.RTCClient = class extends bricks.VBox {
this.add_widget(this.videobox); this.add_widget(this.videobox);
this.pc; this.pc;
this.onlineList= []; this.onlineList= [];
this.socket = this.init_websocket(); this.init_websocket();
} }
init_websocket(){ init_websocket(){
this.socket = new WebSocket(this.signaling_url); this.socket = new WebSocket(this.signaling_url);