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

Ensure Recorder is mounted in handleRecordingDuration function #764

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angekouf
Copy link

@angekouf angekouf commented Aug 4, 2021

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 self is null .
image

@angekouf
Copy link
Author

This solves issue #728

@damiaanh
Copy link

Bump as I still have this issue. Can we merge the commit?

@jur-ng
Copy link

jur-ng commented Nov 28, 2023

LGTM @muaz-khan

@angekouf angekouf reopened this Jan 24, 2024
@angekouf
Copy link
Author

I have rebased the branch to use the latest version of the repo @muaz-khan

@PibeG
Copy link

PibeG commented Mar 1, 2024

This would be great, can't use setRecordingDuration because of this

@damiaanh
Copy link

damiaanh commented Mar 7, 2024

@muaz-khan Are you still maintaining this repo?

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

Successfully merging this pull request may close these issues.

None yet

4 participants