I am trying to open a back video camera in old phone(android version 5.0). As these old device not supported navigator.mediaDevices && navigator.mediaDevices.getUserMedia so i am dependent only on webkitGetUserMedia. I have a success to open up a camera and show video but it is only using front camera and i need a back camera video. Here is my code
if(navigator.webkitGetUserMedia) { // WebKit-prefixed
navigator.webkitGetUserMedia({video: true}, function(stream){
video.src = window.webkitURL.createObjectURL(stream);
video.play();
}, errBack);
I don't find any documentation related to this. Is there any way to open up back camera using webkitGetUserMedia? Secondly As i am using in cordova based application and by default Cordova use default system webview(Have option to use crosswalk but dont want to mix up it with cordova based app) is there any possibility to integrate any other webview to achieve this(getUserMedia etc) ?
You need to change the facing mode
or