Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8, 6.9
-
None
Description
When using QCamera on the main thread, such as you do in QML, then switching camera device will create a very noticable stutter in the UI. This is because setting up the new camera connection can take 1-3 seconds in some cases. Switching camera device is currently done on the UI thread, but should probably be done async.
Observed on iOS and macOS.
Note: The same happens when setting a camera to be active.