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

Hitting resume button starts recording after one second delay #55

Open
levon93 opened this issue Oct 3, 2018 · 2 comments
Open

Hitting resume button starts recording after one second delay #55

levon93 opened this issue Oct 3, 2018 · 2 comments

Comments

@levon93
Copy link

levon93 commented Oct 3, 2018

Hitting resume button starts recording after one second delay approximately, you can easily test it by starting speaking after hitting resume button. Device - Pixel 2
How can I fix this ?

@CrazyOrr
Copy link
Owner

CrazyOrr commented Oct 8, 2018

By the time you can "hit the resume button", all the heavy lifting initializing work should have been done. As you can see in the resumeRecording method, nothing should block.
I'm not able to reproduce this problem on my device. The delay may be caused by other factors, it will be helpful if you can locate the exact line of code which causes the delay.

@levon93
Copy link
Author

levon93 commented Oct 8, 2018

@CrazyOrr okay thank you, I will try, I don't think smth is blocking, because I resumeRecording
after 3 second count down. I couldn't reproduce this on other Android 9 devices, only Pixel 2 for now .

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