Skip to content

Add optional resolution for incoming browser stream#2038

Open
cryptosebek wants to merge 2 commits intoAlexxIT:masterfrom
cryptosebek:browser-streaming-resolution
Open

Add optional resolution for incoming browser stream#2038
cryptosebek wants to merge 2 commits intoAlexxIT:masterfrom
cryptosebek:browser-streaming-resolution

Conversation

@cryptosebek
Copy link

Adds optional resolution constraint for browser camera via URL parameter.

Usage:

  • ?resolution=1280x720 - request specific resolution
  • ?resolution=1920x1080@30 - request resolution with framerate

This allows users to control camera quality when using browser as an incoming stream source.

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 15, 2026

The idea is good, but I'm not sure about the parameter names. They should be the same as in the rest of go2rtc.
For example, the parameters width and height are now more common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants