jeromeetienne / threex.webar

three.js extensions for Augmented Reality
http://jeromeetienne.github.io/threex.webar/examples/basic.html
313 stars 81 forks source link

MediaStreamTrack.getSources() deprecated #11

Open einarbmag opened 7 years ago

einarbmag commented 7 years ago

MediaStreamTrack.getSources() was removed in Chrome 56, https://www.chromestatus.com/feature/4765305641369600

the recommended solution is to use MediaDevices.enumerateDevices() instead.

jeromeetienne commented 7 years ago

thanks, btw im working on ar.js now. which have the last API

https://github.com/jeromeetienne/ar.js

einarbmag commented 7 years ago

Ah, cool! Hadn't done a thorough search, just looking into AR for the first time now and noticed that the demo wasn't working on Chrome. Will look into your new API.