This commit is contained in:
yumoqing 2024-10-09 15:15:13 +08:00
parent d8c26731ce
commit 1d908d1419

View File

@ -36,7 +36,7 @@ bricks.Signaling = class {
init_websocket(){ init_websocket(){
this.socket = new WebSocket(this.signaling_url); this.socket = new WebSocket(this.signaling_url);
this.socket.onmessage = this.signal_recvdata.bind(this); this.socket.onmessage = this.signaling_recvdata.bind(this);
this.socket.onopen = this.login.bind(this); this.socket.onopen = this.login.bind(this);
this.socket.onclose = function(){ this.socket.onclose = function(){
this.init_websockset(); this.init_websockset();