Skip to content

Add MetalView retinaScaleFactor handling #629

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

Conversation

patryk-sredzinski
Copy link
Contributor

Fixes #628 causing pixelated previews on small VideoViews using metal renderer

Copy link

ilo-nanpa bot commented Mar 12, 2025

it seems like you haven't added any nanpa changeset files to this PR.

if this pull request includes changes to code, make sure to add a changeset, by writing a file to .nanpa/<unique-name>.kdl:

minor type="added" "Introduce frobnication algorithm"

refer to the manpage for more information.

@patryk-sredzinski patryk-sredzinski marked this pull request as draft March 12, 2025 13:02
@patryk-sredzinski
Copy link
Contributor Author

Damn, I thought it'll be working, although I have noticed that MTKView calls setContentScaleFactor at some point and sets it back to '1' bringing back the poor quality.

Seems like there has to be changes made for the WebRTC library

@hiroshihorie
Copy link
Member

hiroshihorie commented Mar 12, 2025

Thank you for the pointers, will take a look in WebRTC lib.
Update:
I think it's fixed now, I patched at WebRTC level: #630

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.

Metal renderMode in VideoView looks very pixelated on smaller VideoViews
2 participants