-
Notifications
You must be signed in to change notification settings - Fork 50
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
How to stop Microm after recording is finished? #24
Comments
The only way to remove the icon is by stopping the stream. Currently, Created #25 so we can have a low-level access to the stream and use it. For removing the red icon, we would end up with something like this: let stream, mp3;
function start() {
microm.record().then(s => {
stream = s;
console.log('recording...');
});
}
function stop() {
microm.stop().then(result => {
mp3 = result;
stream.getAudioTracks().forEach(track => track.stop()); // removes the red icon
});
} |
Should |
There was an issue for it, but the guy solved with a workaround: If they don't, maybe microm should do it in the |
How to stop Microm or destroy after recording, because recording icon on tab is not hiding..
I use Chrome 57 on Ubuntu 16
@zzarcon
Thanks
The text was updated successfully, but these errors were encountered: