FFmpegRecorder icon indicating copy to clipboard operation
FFmpegRecorder copied to clipboard

Hitting resume button starts recording after one second delay

Open levon93 opened this issue 5 years ago • 2 comments

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 ?

levon93 avatar Oct 03 '18 14:10 levon93

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.

CrazyOrr avatar Oct 08 '18 06:10 CrazyOrr

@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 .

levon93 avatar Oct 08 '18 07:10 levon93