Skip to content

Auto fit video in tile depending on orientation of the tile and the source stream#3756

Open
BillCarsonFr wants to merge 6 commits intolivekitfrom
valere/auto_fit_based_on_video_ratio
Open

Auto fit video in tile depending on orientation of the tile and the source stream#3756
BillCarsonFr wants to merge 6 commits intolivekitfrom
valere/auto_fit_based_on_video_ratio

Conversation

@BillCarsonFr
Copy link
Member

@BillCarsonFr BillCarsonFr commented Feb 25, 2026

I moved the logic out to a specific file to make the merging of #3755 easier

Fixes https://github.com/element-hq/voip-internal/issues/468

Before

Mobile video (portrait) are zoomed on desktop (landscape) and the other way around.
It also makes the video looks pixelized

image

After

image

The manual option to fit to frame has been removed in favor of the smart default based on orientation
image

@BillCarsonFr BillCarsonFr changed the title WIP: poc auto fit based on video stream size Auto fit video in tile depending on orientation of the tile and the source stream Feb 27, 2026
@BillCarsonFr BillCarsonFr marked this pull request as ready for review February 27, 2026 08:16
@BillCarsonFr BillCarsonFr requested a review from a team as a code owner February 27, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant