Skip to content

More responsive#390

Open
leoforney wants to merge 2 commits into
NetrisTV:masterfrom
leoforney:master
Open

More responsive#390
leoforney wants to merge 2 commits into
NetrisTV:masterfrom
leoforney:master

Conversation

@leoforney

Copy link
Copy Markdown

Makes the web interface more responsive, not allowing the canvas to fall off the screen

joshfriend added a commit to joshfriend/ws-scrcpy that referenced this pull request Jul 2, 2026
Builds on NetrisTV#390 (Leo Forney). Adds a fitToScreen URL param so a stream can be
deep-linked already fit to its container without going through the Configure
screen. With the canvas now CSS-fit by NetrisTV#390, also re-encode the stream at the
new container bounds (debounced) on window resize when the player is in
fit-to-screen mode, so the feed settles at native resolution instead of being
CSS-scaled. Inert for fixed-resolution streams.
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