I'm trying to detect the available cameras in the device, and get some basic properties of them, like still image resolution (which should equal to image sensor resolution), video recording resolution, presence of LED flash, etc. I'm trying QT calls from C++ code like this:
QCameraInfo::defaultCamera().deviceName() QList<qcamerainfo> cameras = QCameraInfo::availableCameras(); QList<qbytearray> devices = QCamera::availableDevices();
It doesn't seem to work at all on the Jolla Phone, it runs very slowly and causes the app to hang for seconds. And it returns 9 camera devices, from /dev/video0 through /dev/video8 on the Jolla Tablet, which is even more strange. What am I doing wrong?
![]() | 2 | No.2 Revision |
I'm trying to detect the available cameras in the device, and get some basic properties of them, like still image resolution (which should equal to image sensor resolution), video recording resolution, presence of LED flash, etc. I'm trying QT calls from C++ code like this:
QCameraInfo::defaultCamera().deviceName()
It doesn't seem to work at all on the Jolla Phone, it runs very slowly and causes the app to hang for seconds. And it returns 9 camera devices, from /dev/video0 through /dev/video8 on the Jolla Tablet, which is even more strange. What am I doing wrong?
![]() | 3 | retagged |
I'm trying to detect the available cameras in the device, and get some basic properties of them, like still image resolution (which should equal to image sensor resolution), video recording resolution, presence of LED flash, etc. I'm trying QT calls from C++ code like this:
QCameraInfo::defaultCamera().deviceName()
QList<QCameraInfo> cameras = QCameraInfo::availableCameras();
QList<QByteArray> devices = QCamera::availableDevices();
It doesn't seem to work at all on the Jolla Phone, it runs very slowly and causes the app to hang for seconds. And it returns 9 camera devices, from /dev/video0 through /dev/video8 on the Jolla Tablet, which is even more strange. What am I doing wrong?
![]() | 4 | retagged |
I'm trying to detect the available cameras in the device, and get some basic properties of them, like still image resolution (which should equal to image sensor resolution), video recording resolution, presence of LED flash, etc. I'm trying QT calls from C++ code like this:
QCameraInfo::defaultCamera().deviceName()
QList<QCameraInfo> cameras = QCameraInfo::availableCameras();
QList<QByteArray> devices = QCamera::availableDevices();
It doesn't seem to work at all on the Jolla Phone, it runs very slowly and causes the app to hang for seconds. And it returns 9 camera devices, from /dev/video0 through /dev/video8 on the Jolla Tablet, which is even more strange. What am I doing wrong?
![]() | 5 | retagged |
I'm trying to detect the available cameras in the device, and get some basic properties of them, like still image resolution (which should equal to image sensor resolution), video recording resolution, presence of LED flash, etc. I'm trying QT calls from C++ code like this:
QCameraInfo::defaultCamera().deviceName()
QList<QCameraInfo> cameras = QCameraInfo::availableCameras();
QList<QByteArray> devices = QCamera::availableDevices();
It doesn't seem to work at all on the Jolla Phone, it runs very slowly and causes the app to hang for seconds. And it returns 9 camera devices, from /dev/video0 through /dev/video8 on the Jolla Tablet, which is even more strange. What am I doing wrong?