El día jueves, enero 25, 2018 a las 08:36:33p. m. +0100, Christoph Schulz escribió:
> Maybe QtMultimedia detects the webcam and you can use it from there? > > $ cat >cameras.qml <<EOT > import QtQuick 2.4 > import QtMultimedia 5.6 > > ListView { > model: QtMultimedia.availableCameras > delegate: Text { > text: "id: " + modelData.id + ", name: " + modelData.displayName > } > } > EOT > > $ cat >$HOME/.local/share/applications/cameras.desktop <<EOT > [Desktop Entry] > Name=Camera List > Exec=qmlscene $HOME/cameras.qml > Type=Application > X-Ubuntu-Touch=true > EOT > > Then refresh your app scope and start it from there and see if there > are more than the two default cameras (front/back). > > My E4.5's output: > > id: undefined, name: Camera 0 Back facing > id: undefined, name: Camera 1 Front facing > > Hope this helps. Thanks, Christoph, for your hint. It shows only the two plug'ed in cams when the USB one is attached too. Perhaps some permission/confined problem. matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub
signature.asc
Description: PGP signature
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp