I want to apply roundedShape to MobileRTCVideoView

I use jetpack compose.I want to apply roundedShape to MobileRTCVideoView. I wrote

        factory = ::MobileRTCVideoView,
        update = {        },
        modifier = modifier.clip(RoundedCornerShape(4.dp))

But not working. Isn’t support roundedShape to MobileRTCVideoView now ?
I already see this issue. How to change MobileRTCVideoView Shape to Circle

Which Android Meeting SDK version?

Smartphone (please complete the following information):

  • Device: Pixel 5a
  • OS: 12

Hi @max555, thanks for using the dev forum.

Unfortunately this is still not supported behavior since it will adversely impact the visibility of the video being rendered.

That being said, MobileRTCVideoView extends RelativeLayout, so you should be able to use the same approach as you would with a RelativeLayout. Since this behavior would be specific to your custom UI implementation and not related to any direct usages of the SDK, it is outside of the scope of what we can assist with. If you are still running into issues, I would recommend looking into the official Android documentation or a site like StackOverflow. :slightly_smiling_face: