peraxel7 Posted January 31, 2017 Share Posted January 31, 2017 Hello, I noticed in the documentation that WebRTC and Webcam support was being added to Babylon 2.6. So I made a simple example where createFromWebCam is applied to a shadermaterial. That would allow custom pixelshaders to filter the webcam stream which could be useful for blob/edge detection in Augmented Reality applications. Everything works fine on localhost so I created a simple Playground for it. However on Chrome I get permission denied. getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details. So I was wondering if there is something I should do differently, if the Playground needs to update to a HTTPS, or if this is only happening to me? I saved the playground http://www.babylonjs-playground.com/#EETLE#0 which for me shows a black plane. (Ctrl + shift + I) to bring up console with warnings on Chrome. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.