Hi, sorry not to asnwer earlier, I got some higher priority task to deal with first. Thanks to all those who answered, it helped me understand.
> > Hi all, > > I am currently trying to access the front camera of the Jolla phone. I > > managed to get a VideoOutput to display the rear camera using import > > QtMultimedia 5.0 but I do not understand how to change to the front > > camera. > > You cannot do that from QML. You need to have some C++ glue for that. > > You create a C++ class inheriting QObject which gets passed > Camera::mediaObject from QML > > >From that mediaObject, get QMediaService: > http://doc.qt.io/qt-5/qmediaobject.html#service > > Then request QVideoDeviceSelectorControl control. Use that to switch the > devixe. > Thanks a lot for your answer Mohammed Hassan. I got to try that today and it works perfectly. That's exactly what I needed. Thanks again, Billy
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org