Simply call captureVideo method onLongPress of your recording button. The Progress will stuck for upto ~500-700ms may be because of 'synchronized (mCameraLock)' in captureVideo method. As mMediaRecorder.start() is taking ~300ms, prepapreMediaRecorder is taking ~120ms etc.
Expected Behavior
It should start recording or atleast don't keep UI progressbar animation on hold as soon as onLongPress is called. It is simple to reproduce and doesn't has any specific scenario.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
CameraKit Version: v0.13.4
Android Device: Samsung S6
Android Version: 7.0.0
Steps to Reproduce
Expected Behavior
It should start recording or atleast don't keep UI progressbar animation on hold as soon as onLongPress is called. It is simple to reproduce and doesn't has any specific scenario.