Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add physical and logical resolution. #315

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

guidou
Copy link
Collaborator

@guidou guidou commented Feb 20, 2025

Add physical and logical resolution to MediaTrackSettings


Preview | Diff

@guidou guidou requested review from jan-ivar and youennf February 20, 2025 13:08
@jan-ivar
Copy link
Member

With our recent decision in yesterday's meetin I think we can use this instead:

track.getCapabilities().max.width
track.getCapabilities().max.height

...to hold physical resolution instead.

@jan-ivar
Copy link
Member

And instead of logicalWidth and logicalHeight we could expose pixelRatio instead.

@jan-ivar
Copy link
Member

@youennf your thoughts on this?

@guidou
Copy link
Collaborator Author

guidou commented Feb 24, 2025

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.

2 participants