-
-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue #266 fix #275
issue #266 fix #275
Conversation
Don't work on my side: no preview displayed in Chrome 72 and do an error on console in Firefox 65. |
@llaske now added support for Firefox 65 and Chrome 72 . Earlier was tested on electron on macosx but now tested on chrome and Firefox also . |
It's now work on Chrome but not on Firefox: the photo is displayed but it never recorded. There is an error on console:
Plus, could you remove |
@llaske now it shall work on all platforms. |
Unfortunately I've got the same issue on Firefox. |
@llaske Works perfectly on my Firefox without any error on console . can you please try again 2-3 times as the error you were getting will be solved by just restarting your browser. It is a issue in Firefox browser. ref - https://stackoverflow.com/questions/44780856/firefox-html5-audio-media-resource-could-not-be-decoded-onmediasinkaudioerror |
Hmmm. Seems to works now. Strange. |
@llaske everything works perfectly now . |
if(navigator.getUserMedia){ | ||
navigator.getUserMedia({video:true},handleVideo,videoError); | ||
} | ||
// navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || navigator.oGetUserMedia ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must not leave commented code
Nice. It works now. |
done |
Good work. Thanks. |
Preview is added while taking a picture in Record activity .