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

Camera goes black after turning off and on.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.4.3, 6.5.0, 6.6.0
    • 6.4.1
    • Multimedia
    • None
    • Android 11.
    • Android
    • e08d53484 (dev), be95b9a94 (6.5), fd0c96710 (6.4)
    • 2023wk02FOQtforAndroid

    Description

      Using the camera from QtMultimedia has a problem that it does not consistently produce an actual video feed.
      A percentage of the times we get a black feed.

      Please look at the attached tarball on related QTBUG-109168 which has a runnable example to allows you to reproduce it using pure QML.

      Problem: Turning on and off the camera repeatedly will sometimes just create a black feed.

      While the example, on my test device, never gives an error, on the C++ side I've often seen it error with "Device in use". Which created a chuckle as the one using it is this widget.

      My expectation is that the camera produces a valuable feed every single time, especially when no error state is hit.

      Attachments

        Issue Links

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

          Activity

            People

              bartlomiejmoskal Bartlomiej Moskal
              tomz Tom Zander
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes