-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Camera preview fixes #909
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
Camera preview fixes #909
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
TODO:
|
Users are running into a lot of race conditions in the setup and switching of camera and microphones so we are actorifying them to simplify the logic and avoid race conditions.
window.close()at the wrong time which is the root cause of all these issues.surface.configureinto the window event loop.window.outer_sizefallback thing which is kinda cringe.(CancellationToken, flume::Sender<T>)so we can propogate shutdown quickly fromcamera_feedinto theCameraPreview.methods on ref
Make recording await the camera being ready