I just stumbled upon a blog post of play canvas regarding the access to webcamera by using getUserMedia
I would really appreciate if you can help me into this.
Check out PlayCanvasAR on GitHub:
It uses getUserMedia for AR purposes. The particular line of interest is here: