Skip to content

Ensure Recorder is mounted in handleRecordingDuration function - #764

Open
angekouf wants to merge 1 commit into
muaz-khan:masterfrom
angekouf:master
Open

Ensure Recorder is mounted in handleRecordingDuration function#764
angekouf wants to merge 1 commit into
muaz-khan:masterfrom
angekouf:master

Conversation

@angekouf

@angekouf angekouf commented Aug 4, 2021

Copy link
Copy Markdown

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
Copy Markdown
Author

This solves issue #728

@damiaanh

Copy link
Copy Markdown

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

@jur-ng

jur-ng commented Nov 28, 2023

Copy link
Copy Markdown

LGTM @muaz-khan

@angekouf angekouf reopened this Jan 24, 2024
@angekouf

Copy link
Copy Markdown
Author

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

@PibeG

PibeG commented Mar 1, 2024

Copy link
Copy Markdown

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

@damiaanh

damiaanh commented Mar 7, 2024

Copy link
Copy Markdown

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

4 participants