Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Allow users to manually select webcam parameters #16

Closed
DemiMarie opened this issue May 7, 2021 · 3 comments
Closed

Allow users to manually select webcam parameters #16

DemiMarie opened this issue May 7, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@DemiMarie
Copy link
Collaborator

For resolution and frame rate, we can make a reasonable default choice based on heuristics, such as “highest resolution, then fastest frame rate” or “fastest frame rate, then highest resolution”. However, users might very well want to override the defaults. Ideally, this could be done via a GUI, but a configuration file would be okay for now.

@ElliotKillick ElliotKillick added the enhancement New feature or request label May 8, 2021
@DemiMarie
Copy link
Collaborator Author

From real-world experience, this is a hard requirement. My laptop’s webcam has a max resolution of 1280x720, but this causes Zoom to slow to a crawl. So it turns out that we cannot actually provide useful defaults here.

@ElliotKillick
Copy link
Owner

My computer handles 1920x1080 just fine with Zoom. Try making the video preview smaller or hiding it completely (by right-clicking). It's this playback of raw video that takes all the performance.

The only real solution for fixing the performance is switching from streaming raw video to JPEGs as we have made progress towards in #13.

Of course, this does increase attack surface but I think it's worth it. This will still be a much, much smaller attack surface than connecting the USB device from sys-usb.

@ElliotKillick
Copy link
Owner

Also, I have all 4 of my vCPUs assigned to the qube I use for Zoom.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants