Open angekouf opened 2 years ago
This solves issue #728
Bump as I still have this issue. Can we merge the commit?
LGTM @muaz-khan
I have rebased the branch to use the latest version of the repo @muaz-khan
This would be great, can't use setRecordingDuration because of this
@muaz-khan Are you still maintaining this repo?
I have added a check in the
handleRecordingDuration
function to make sure the Recorder is still mounted when the callback to the setTimeout is called.This is needed because if the Recorder is unmounted after the recording ends and the user stops the recording before reaching the time limit, then an error occurs since![image](https://user-images.githubusercontent.com/2971906/128152740-4f75ccc7-28c6-44d2-b19f-b5a81305015a.png)
self
isnull
.