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

Android/iOS non-parity in Camera stack

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.4, 5.13.1, 5.14.0 Alpha
    • 5.12.0
    • Multimedia
    • None
    • Qt 5.12, iOS10+, android API 23
    • Android, iOS/tvOS/watchOS
    • 333aecfd4190b067f29332d3a5087530d92d59b3 (qt/qtmultimedia/5.12)

    Description

      I have an app that was initially developed on iOS. Now I am attempting to use it on Android, and though many things will have to change, this is about one that shouldn't.

      I've discovered that the camera stack in iOS can capture without a VideoOutput connected to the Camera. It goes into "ActiveStatus". But on Android it stops at "LoadedStatus" the work around is minor, add a VideoOutput of zero size and it will continue to "ActiveStatus"

      The error is "QCameraImageCapture error: "Camera not ready" "

      I don't know the exact right answer here - but I feel adding a VideoOutput should not be necessary as I think it presupposes a Viewfinder feature in the application. However if Android requires it, the maybe Qt should provide a null VideoOutput (or whatever) by default?

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            scorp1us Jason Hihn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes