Hey @freelancer.nak
Thanks for your feedback.
Typically, video is rendered in a 16/9 aspect ratio. However, on mobile devices, the portrait mode uses a 3/4 capture ratio. When this is rendered remotely in a 16/9 rendering area, large black bars appear.
To avoid this, we applied cropping, changing the 3/4 aspect ratio to 16/9. Due to the difference in aspect ratios, only the central portion of the video is used, which visually gives the impression of being zoomed in. Also mentioned in this thread.
In later versions of the Video SDK, we introduced the video-aspect-ratio-change
event, which notifies you of the original aspect ratio when the rendered aspect ratio differs from the original. This can be used in combination with the originalRatio: true
option in the stream.startVideo
method to optimize the rendering layout.
Thanks
Vic