3 ms·
I think it was Chrome 48. It also doesn't work for localhost.
by randall 10y ago
I think it was Chrome 48. It also doesn't work for localhost.
- Klathmon 10y agoLocalhost is considered secure context, so it should still work for that... It won't work with file:/// urls, but localhost is fine. At least it was for me in 49 a couple weeks ago.
- artursapek 10y agoIt would be pretty hard to use the API if you couldn't test your code on localhost :P
- nfriedly 10y agoI think you're mistaken about localhost, this works fine for me on localhost:3000 navigator.getUserMedia({ video: true, audio: true }, console.log.bind(console, 'success'), console.log.bind(console, 'error') ); Chrome v50.0.2661.94 (64-bit) on OS X