From e31234d00638ccbf839ad97eede6a2f93488c67a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 21 Aug 2024 17:43:12 +0800 Subject: [PATCH] bugfix --- bricks/rtc.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bricks/rtc.js b/bricks/rtc.js index 80d08a5..1640edc 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -20,6 +20,7 @@ bricks.RTCClient = class extends bricks.VBox { { "signaling_url": "ice_url": + "auto_call_accept":false "info":{ "id": "name": @@ -225,6 +226,10 @@ bricks.RTCClient = class extends bricks.VBox { console.log('onlineList branch exe'); break; case 'callRequest': + if (this.auto_call_recept){ + this.call_accepted(d.from); + return + } this.need_conform_call(d.from); console.log('callRequest branch exe'); break;