Posts

Post not yet marked as solved
7 Replies
25k Views
Since iOS 11, getUserMedia is supposed to finally work on Apple devices.But in fact it does not work.The JavaScript sample code below works on all other OS: Blackberry, Android, etc...Except on iOS as usual.navigator.getUserMedia = ( navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.mediaDevices.getUserMedia);navigator.getUserMedia({video: true ,audio: false}, gotStream, noStream);function gotStream(stream){ video.src = getUrl(stream);}When executed on a https connection, it asks for webcam detection, but nothing appears on the video: blank.It is the same issue as described by other developers below:https://stackoverflow.com/questions/45692526/ios-11-getusermedia-not-workingWas somebody able to have getUserMedia works on iOS?
Posted
by Valmeras.
Last updated
.