Skip to content

Add UI for setting stream resolution (in width) - #252

Open
Luhav wants to merge 1 commit into
screego:masterfrom
Luhav:master
Open

Add UI for setting stream resolution (in width)#252
Luhav wants to merge 1 commit into
screego:masterfrom
Luhav:master

Conversation

@Luhav

@LuhavLuhav commented Sep 8, 2026

Copy link
Copy Markdown

As requested in #228, adds a setting field for stream resolution defined by the width.

It's defined by width (as opposed to height) so that two monitors of the same resolution class but of different aspect ratios (such as 16:9 1920x1080 & 16:10 1920x1200) are both treated the same way (as opposed to the 16:10 stream being scaled down to some weird non-integer resolution). The default is 1920, to make 1080p, but of course can be set to any arbitrary number.

Comment threadui/src/settings.ts
constdefaults: Settings={
displayMode: VideoDisplayMode.FitToWindow,
framerate: 30,
width: 1920,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default should be unlimited, meaning no width set on the getDisplayMedia query. Screego is optimized for code sharing and having the highest resolution should be the default.

There should also be a way to limit by height. So there should be two settings "Max Stream Width (px)" and "Max Stream Height (px)" where empty means no limit.

Sign up for freeto 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.

2 participants

@Luhav@jmattheis