# Rounding overlapping RTC views

**URL:** <https://react-native-webrtc.discourse.group/t/rounding-overlapping-rtc-views/1731>\
**Category:** General040642add70aa006ef56b5af5b5acae3\
**Created:** [March 28, 2023, 8:55am UTC](https://react-native-webrtc.discourse.group/t/rounding-overlapping-rtc-views/1731 "2023-03-28T08:55:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![giliop](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@giliop](https://react-native-webrtc.discourse.group/u/giliop)\
**Post date:** [March 28, 2023, 8:55am UTC](https://react-native-webrtc.discourse.group/t/rounding-overlapping-rtc-views/1731/1 "2023-03-28T08:55:37Z")

</div>

I have a video call app with two RTC views, one in the background and a smaller one overlapping it.  
The background RTCview has zOrder 0 and the small one zOrder 1.

I have wrapped the small RTCView with a View, and set the borderRadius with overflow “hidden”, which works when I don’t have the RTCview background rendered. If the background of the small RTCView is anything but the other RTCView, the overflow “hidden” works.

Has anyone figured out a way to manipulate the RTC view in this situation? Even diving deeper into the package code to manipulate the GL rendering?

---

<div class="post-metadata">

**Author:** ![Haisam](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/haisam/32/664_2.png) [@Haisam](https://react-native-webrtc.discourse.group/u/Haisam)\
**Post date:** [March 31, 2023, 3:39pm UTC](https://react-native-webrtc.discourse.group/t/rounding-overlapping-rtc-views/1731/2 "2023-03-31T15:39:55Z")

</div>

Having the same issue! any solutions please

---

<div class="post-metadata">

**Author:** ![8BallBomBom](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/8ballbombom/32/710_2.png) [@8BallBomBom](https://react-native-webrtc.discourse.group/u/8BallBomBom)\
**Post date:** [April 4, 2023, 2:04pm UTC](https://react-native-webrtc.discourse.group/t/rounding-overlapping-rtc-views/1731/3 "2023-04-04T14:04:53Z")

</div>

You will find that on iOS you won’t experience the issue due to how the rendering is slightly different.  
As for Android though, due to the way SurfaceViews are handled things get a little complicated.  
We would essentially have to refactor/redo the RTCView to support overlapping/masking when you have multiple moving textures on top of one another.

Simply put, known issue for a very long time and might get fixed in the future.  
But either way we’re open to contributions 👍
