Open sndsh7 opened 3 years ago
working with MacBook safari and chrome android phones it's working fine but whenever i try to open web page on iPhone it getting black screen please help me out from this please provide guidance
`Promise.all([ faceapi.nets.tinyFaceDetector.loadFromUri('/models'), // faceapi.nets.faceLandmark68Net.loadFromUri('/models'), // faceapi.nets.faceRecognitionNet.loadFromUri('/models'), faceapi.nets.faceExpressionNet.loadFromUri('/models') ]).then(startVideo)
function startVideo() { navigator.mediaDevices.getUserMedia( { video: {} } // stream => video.srcObject = stream, // err => console.error(err), ).then((stream)=>{video.srcObject = stream;},(err)=>console.log(err)); }`
Is there any solution to this?
DId anyone found out any solution for this?
working with MacBook safari and chrome android phones it's working fine but whenever i try to open web page on iPhone it getting black screen please help me out from this please provide guidance
`Promise.all([ faceapi.nets.tinyFaceDetector.loadFromUri('/models'), // faceapi.nets.faceLandmark68Net.loadFromUri('/models'), // faceapi.nets.faceRecognitionNet.loadFromUri('/models'), faceapi.nets.faceExpressionNet.loadFromUri('/models') ]).then(startVideo)
function startVideo() { navigator.mediaDevices.getUserMedia( { video: {} } // stream => video.srcObject = stream, // err => console.error(err), ).then((stream)=>{video.srcObject = stream;},(err)=>console.log(err)); }`