[SailfishDevel] Front camera access
billy at aito-touch.com
Tue Feb 10 12:18:24 UTC 2015
Hi, sorry not to asnwer earlier, I got some higher priority task to deal
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:
> Then request QVideoDeviceSelectorControl control. Use that to switch the
Thanks a lot for your answer Mohammed Hassan. I got to try that today and
it works perfectly. That's exactly what I needed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel