Guidance on best UX with video size/format

Hi Guys,

Just wanted to check if you guys can share some guidance or knowledge regarding a more UX aspect?
My DEV team is struggling a bit with different stream size/format especially when considering Mobile devices.
For example: the video can be horizontal/vertical, the format can change during the session.
Any ideas on best approach on how to keep everything consistent regardless of stream size/format on both ends (receiver and sender?)

Thanks a lot for your feedback!
Paweł

We use this layout system in several demos: