Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135610

Switching camera device causes UI to stutter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8, 6.9
    • Multimedia
    • None
    • iOS/tvOS/watchOS, macOS

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            npskalerud Nils Petter Skålerud
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes