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.
Implementing that API in qtubuntu-camera requires implementing the following 2 interfaces in our QMediaServicePr oviderPlugin:
QMediaServiceSu pportedDevicesI nterface http:// doc.qt. io/qt-5/ qmediaservicesu pporteddevicesi nterface. html on(..)
Implementing essentially the following methods:
devices(..)
deviceDescripti
QMediaServiceCa meraInfoInterfa ce http:// doc.qt. io/qt-5/ qmediaserviceca merainfointerfa ce.html on(..)
Implementing essentially the following methods:
cameraPosition(..)
cameraOrientati
This will require APIs currently unexposed in libhybris to be exposed.
While at it it would be good to fix AalVideoDeviceS electorControl which hardcodes camera information at the moment.