Html5: Play On Speakers Stream From Microphone On Ubuntu
I am learning html5 and want to try to play on speakers what I say on microphone. So I wrote the following js code: navigator.getUserMedia = navigator.getUserMedia ||navigator.webk
Solution 1:
It works for me on both firefox and chrome (I'm on a Macbook Pro OSX 10.11)
https://jsfiddle.net/greggman/g88v7p8c/
Note it doesn't run on stackoverflow because using the mic requires HTTPS (at least on Chrome, didn't check firefox). If the page is not HTTPS then I get
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 httpsgoo.gl/rStTGz for more details.`
stupid stackoverflow won't let me post the actual message from chrome because stackoverflow bans goo.gl
Post a Comment for "Html5: Play On Speakers Stream From Microphone On Ubuntu"