This commit is contained in:
yumoqing 2024-08-21 10:17:14 +08:00
parent 7f8d8317cc
commit 020cce8c8d

View File

@ -157,7 +157,7 @@ bricks.RTCClient = class extends bricks.VBox {
} }
} }
async need_conform_call(peer_info){ async need_conform_call(peer_info){
var w = new Conform({title:'请确认', var w = new bricks.Conform({title:'请确认',
message:'来自' + peer_info.name + '的连接请求'}); message:'来自' + peer_info.name + '的连接请求'});
w.bind('conformed', this.call_accepted.bind(this, peer_info)); w.bind('conformed', this.call_accepted.bind(this, peer_info));
w.bind('cancelled', this.call_rejected.bind(this.peer_info)); w.bind('cancelled', this.call_rejected.bind(this.peer_info));