← Back to team overview

touch-packages team mailing list archive

[Bug 1438072] Re: QCameraInfo::availableCameras() returns empty list on qtubuntu, works on xcb

 

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
Touch seeded packages, which is subscribed to qtmultimedia-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1438072

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

Status in Client Developer Experience:
  New
Status in Canonical System Image:
  Confirmed
Status in qtubuntu-camera:
  New
Status in qtmultimedia-opensource-src package in Ubuntu:
  Confirmed

Bug description:
  Based on [1] I've created a small sample app to verify the issue and
  indeed it seems to be broken. QCameraInfo::availableCameras() returns
  an empty list on the BQ phone. It works if the same application is run
  on X11. Attached you'll find the sample app to reproduce. Watch out
  for the qDebug() print in main.cpp.

  [1] https://askubuntu.com/questions/602892/qt-multimedia-doesnt-seem-
  to-work-on-touch

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


References