This commit is contained in:
yumoqing 2024-08-20 14:26:42 +08:00
parent d3ad09dd1c
commit 9df406bd64

View File

@ -148,7 +148,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 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));
w.open(); w.open();