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

(COPY) ui: Add camera selector to input #7

Merged
merged 13 commits into from
Dec 13, 2024
Merged

(COPY) ui: Add camera selector to input #7

merged 13 commits into from
Dec 13, 2024

Conversation

yondonfu
Copy link
Owner

This is a copy of #3 with resolved merge conflicts.

victorges and others added 13 commits December 4, 2024 00:06
This was creating issues with the camera selector
as it kept constantly reloading.
We don't need them anymore since we're moving the select to the popup
For some reason it started getting OverconstrainedError
when requesting exact resolution with a deviceId.
Sometimes the camera fails to return a 512x512 stream
when we ask for exact resolution+device. Fix it by creating
a canvas element instead and manually drawing the video
inside, capturing its stream instead.

Man the web is madness.
@yondonfu yondonfu merged commit be498a7 into main Dec 13, 2024
@yondonfu yondonfu deleted the camera-selector branch December 13, 2024 01:38
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