How to change background color of MobileRTCVideoView on ios?

How to change background color of MobileRTCVideoView on ios?

Hi @Vasyl,

Can you please provide a screenshot of exactly what you are trying to change the color of?

Thanks!


I use custom UI.
Red squares are frames for MobileRTCVideoView and I use MobileRTCVideoAspect_Original - so the video does not cover the full area - and black stripes remain.
I want to change the color of these black stripes !!!

Hi @Vasyl,

It is not possible to change these, but you can remove these by changing the video aspect via setVideoAspect. For example, using MobileRTCVideoAspect_PanAndScan will crop the video to fit the view, resulting in the bars being removed.

Thanks!