Rounded VideoView
HakanSAYAR opened this issue · 2 comments
HakanSAYAR commented
Description
Hi Devs, I'm developing a P2P&Group video call application using your SDK. I set the videoView's contentMode to .scaleAspectFit
. But I got black lines on left and right or top and bottom depends on video frames that I get receiving. How can I get videoView filled with video feed by having the same aspect ratio or by setting the content mode on videoView?
Versions
Video app version: 3.7
iOS version: 15.2.1
Device: iPhone 7
Xcode version: 13
timrozum commented
Hi @HakanSAYAR, I think .scaleAspectFill
should provide the behavior you need.
https://developer.apple.com/documentation/uikit/uiview/contentmode/scaleaspectfill
timrozum commented
Going to close this out but let me know if you have more questions.