Any idea to solve problem of rendering multiple layout

Description
this topic is not a bug report but I’m wondering about how you guys handle layout.

I try to make a layout like a google meet but I got a problem when a video is not rendered then I need to show the username element instead and all element was overlapped on the screen with canvas. also when I was open screen sharing I cannot handle the video layout to get the space for sharing a canvas

if you guys have a good tip or algorithm to solve the problem. please share in the comment

Hey @nslog0 ,

Checkout our sample app which has some good examples for gallery view layouts and screenshare layouts:

Thanks,
Tommy