From b4dbc768769bd86cb0352ab95a213e692bd671b9 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 23 Aug 2024 17:57:44 +0800 Subject: [PATCH] bugfix --- bricks/rtc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bricks/rtc.js b/bricks/rtc.js index bc5be6b..c7f4d32 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -33,6 +33,8 @@ bricks.RTCClient = class extends bricks.VBox { this.build_head(); this.videobox = new bricks.ResponsableBox({css:'filler'}); this.videobox.set_style('position', 'relative'); + this.localVideo = new bricks.VideoBox({}); + this.remoteVideo = new bricks.VideoBox({}); this.videobox.add_widget(this.localVideo); this.videobox.add_widget(this.remoteVideo); this.add_widget(this.videobox);