Fixing video aspect ratio

This commit is contained in:
Ilya Yelagov 2023-01-06 16:54:01 +04:00
parent 2863524530
commit 79e6a2420f

View file

@ -477,7 +477,7 @@ final class MediaStreamVideoComponent: Component {
if aspect <= 0.01 {
aspect = 16.0 / 9
}
} else if !self.hadVideo && !component.isFullscreen {
} else if !self.hadVideo {
aspect = 16.0 / 9
}