This commit is contained in:
yumoqing 2024-08-23 17:55:04 +08:00
parent d6564f1d03
commit f27b5c1669

View File

@ -33,8 +33,6 @@ bricks.RTCClient = class extends bricks.VBox {
this.build_head(); this.build_head();
this.videobox = new bricks.ResponsableBox({css:'filler'}); this.videobox = new bricks.ResponsableBox({css:'filler'});
this.videobox.set_style('position', 'relative'); this.videobox.set_style('position', 'relative');
this.localVideo = new bricks.VideoBox({width:'100%',height:'100%'});
this.remoteVideo = new bricks.VideoBox({width:'25%', 'height':'25%'});
this.videobox.add_widget(this.localVideo); this.videobox.add_widget(this.localVideo);
this.videobox.add_widget(this.remoteVideo); this.videobox.add_widget(this.remoteVideo);
this.add_widget(this.videobox); this.add_widget(this.videobox);