Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0
-
None
-
Qt 5.12, iOS10+, android API 23
-
-
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?