QML Camera always returns NULL for supportedViewfinderResolutions() on Android
My app uses video processing (RTMP stream). For that, I did it through QVideoProbe, that gives me right bits() and QVideoFrame's width() and height(), and RTMP stream is great. But... Resolution of camera is always the constant and there is big troubles for streaming videos, that have resolution more than 1280x720.
Tried to change viewfinder's resolutions on QML side (through Camera on various states UnloadedState / LoadedState / ActiveState) and, also, on C++ side (through QCamera), but supportedViewfinderResolutions() is always NULL (I'm using Android API 16, v4.1)
How can I set resolution for Camera? Any solution?