bugfix
This commit is contained in:
parent
4a48b85fc1
commit
e31234d006
@ -20,6 +20,7 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
{
|
{
|
||||||
"signaling_url":
|
"signaling_url":
|
||||||
"ice_url":
|
"ice_url":
|
||||||
|
"auto_call_accept":false
|
||||||
"info":{
|
"info":{
|
||||||
"id":
|
"id":
|
||||||
"name":
|
"name":
|
||||||
@ -225,6 +226,10 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
console.log('onlineList branch exe');
|
console.log('onlineList branch exe');
|
||||||
break;
|
break;
|
||||||
case 'callRequest':
|
case 'callRequest':
|
||||||
|
if (this.auto_call_recept){
|
||||||
|
this.call_accepted(d.from);
|
||||||
|
return
|
||||||
|
}
|
||||||
this.need_conform_call(d.from);
|
this.need_conform_call(d.from);
|
||||||
console.log('callRequest branch exe');
|
console.log('callRequest branch exe');
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user