AR.js icon indicating copy to clipboard operation
AR.js copied to clipboard

WebRTC issue-! navigator.mediaDevices not present in your browse

Open lazicoder opened this issue 4 years ago • 2 comments
trafficstars

I tried to do a simple AR.js marker project like example. It worked when I just opened html file on laptop's browser. The problem appeared when I tried deployed it on an API and mapped to KONG to try it on my smart phone. My project can not use the device's camera and it gave the following error:

Webcam Error Name: Message: WebRTC issue-! navigator.mediaDevices not present in your browser

If any one got this error, please help me to solve it. Thanks so much!

lazicoder avatar Apr 06 '21 03:04 lazicoder

you need to run the examples from a https address (SSL enabled)

gontz avatar Apr 11 '21 11:04 gontz

use safari instead of chrome

javascripet avatar Apr 20 '21 09:04 javascripet