This commit is contained in:
yumoqing 2024-08-23 17:57:44 +08:00
parent f27b5c1669
commit b4dbc76876

View File

@ -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);