<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi, sorry not to asnwer earlier, I got some higher priority task to deal with first.</div><div>Thanks to all those who answered, it helped me understand.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">>  Hi all,<br>
>  I am currently trying to access the front camera of the Jolla phone. I<br>
>  managed to get a VideoOutput to display the rear camera using import<br>
>  QtMultimedia 5.0 but I do not understand how to change to the front<br>
>  camera.<br>
<br>
You cannot do that from QML. You need to have some C++ glue for that.<br>
<br>
You create a C++ class inheriting QObject which gets passed Camera::mediaObject from QML<br>
<br>
>From that mediaObject, get QMediaService:<br>
<a href="http://doc.qt.io/qt-5/qmediaobject.html#service" target="_blank">http://doc.qt.io/qt-5/qmediaobject.html#service</a><br>
<br>
Then request QVideoDeviceSelectorControl control. Use that to switch the devixe.<br></blockquote><div><br></div><div>Thanks a lot for your answer <span style="font-size:12.8000001907349px">Mohammed Hassan</span>. I got to try that today and it works perfectly. That's exactly what I needed.</div><div><br></div><div>Thanks again,</div><div>Billy</div></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><p></p><p></p></div></div></div></div></div>
</div></div>