This commit is contained in:
yumoqing 2024-08-23 17:39:41 +08:00
parent d49704f764
commit 5dd0ba3e58

View File

@ -51,6 +51,9 @@ bricks.RTCClient = class extends bricks.VBox {
this.remoteVideo.set_style('width','25%');
this.remoteVideo.set_style('height','25%');
this.remoteVodeo.set_style('zIndex', 2);
this.remoteVodeo.set_style('position', 'absolute');
this.remoteVodeo.set_style('bottom', '5px');
this.remoteVodeo.set_style('right', '5px');
} else {
this.local_small = true;
this.remoteVideo.set_style('width','100%');
@ -59,6 +62,9 @@ bricks.RTCClient = class extends bricks.VBox {
this.localVideo.set_style('width','25%');
this.localVideo.set_style('height','25%');
this.localVodeo.set_style('zIndex', 2);
this.localVodeo.set_style('position', 'absolute');
this.localVodeo.set_style('bottom', '5px');
this.localVodeo.set_style('right', '5px');
}
}