Implementing that API in qtubuntu-camera requires implementing the
following 2 interfaces in our QMediaServiceProviderPlugin:

QMediaServiceSupportedDevicesInterface 
http://doc.qt.io/qt-5/qmediaservicesupporteddevicesinterface.html
Implementing essentially the following methods:
devices(..)
deviceDescription(..)

QMediaServiceCameraInfoInterface 
http://doc.qt.io/qt-5/qmediaservicecamerainfointerface.html
Implementing essentially the following methods:
cameraPosition(..)
cameraOrientation(..)

This will require APIs currently unexposed in libhybris to be exposed.

While at it it would be good to fix AalVideoDeviceSelectorControl which
hardcodes camera information at the moment.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1438072

Title:
  QCameraInfo::availableCameras() returns empty list on qtubuntu, works
  on xcb

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1438072/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to