This commit is contained in:
yumoqing 2024-08-20 14:32:15 +08:00
parent 0f73580d79
commit 84483db88f

View File

@ -153,7 +153,7 @@ bricks.RTCClient = class extends bricks.VBox {
w.bind('cancelled', this.call_rejected.bind(this.peer_info)); w.bind('cancelled', this.call_rejected.bind(this.peer_info));
w.open(); w.open();
} }
call_accepted(peer_info){ async call_accepted(peer_info){
if (this.peer_info){ if (this.peer_info){
this.call_close(); this.call_close();
} }