Skip to content
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 limit audio recording time to 5min #185

Open
Nunivenkatarao opened this issue Apr 7, 2018 · 2 comments
Open

How to limit audio recording time to 5min #185

Nunivenkatarao opened this issue Apr 7, 2018 · 2 comments

Comments

@Nunivenkatarao
Copy link

Hi
I have implemented and everything is working fine, But i am not able to restrict the audio recording for 5minutes is there any way to restrict that

I am converting audio to mp3

Thanks

@Isaac-cura
Copy link

In your startRecord method you can fire a timeout to your stopRecord metho like this

startRecord(){
setTimeout(function(){
stopRecord();
},5000);
}

@Isaac-cura
Copy link

5000*60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants