add comments

pull/560/head
Ryan Zhao 2 years ago
parent 80b18f0715
commit 65d78533c9

@ -55,7 +55,7 @@ class RemoteVideoView: RTCMTLVideoView {
self.videoContentMode = .scaleAspectFit
}
}
// if not a mobile ratio, always use .scaleAspectFit
if frameRatio < 1.5 {
self.videoContentMode = .scaleAspectFit
}

Loading…
Cancel
Save