bugfix
This commit is contained in:
parent
1aae99c212
commit
74899d23c0
@ -233,7 +233,7 @@ bricks.RTCP2PConnect = class {
|
||||
}
|
||||
}
|
||||
async h_callrequest(data){
|
||||
if (this.opts.auto_callaccept){
|
||||
if (this.opts.auto_callaccept || true){
|
||||
var d = {
|
||||
type:'callaccepted',
|
||||
msgto:data.msgfrom
|
||||
@ -242,7 +242,6 @@ bricks.RTCP2PConnect = class {
|
||||
await this.p2pconnect(data.msgfrom, 'responser');
|
||||
return;
|
||||
}
|
||||
this.dispatch('callrequest', data.msgfrom);
|
||||
}
|
||||
async h_callaccepted(data){
|
||||
await this.p2pconnect(data.msgfrom, 'requester');
|
||||
|
Loading…
Reference in New Issue
Block a user