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

Error was throw when use 'clearBlobUrl' function #104

Open
Cress1004 opened this issue Jun 29, 2022 · 0 comments
Open

Error was throw when use 'clearBlobUrl' function #104

Cress1004 opened this issue Jun 29, 2022 · 0 comments

Comments

@Cress1004
Copy link

Cress1004 commented Jun 29, 2022

I want to use 'clearBlobUrl' function to clears the existing generated blob url and resets the workflow to its initial idle state. But when I call this function, the message "TypeError: clearBlobUrl is not a function" was throw.
Below is my code using 'clearBlobUrl' function:

  1. Button reset recording:
    <button onClick={() => resetRecord(clearBlobUrl)}>Retry</button>

  2. resetRecord function:
    const resetRecord = (clearBlobUrl) => { setStopRecord(false); setRetry(true); clearBlobUrl(); }
    With 'stopRecording', 'startRecording',... function i use the same syntax and it working fine but with 'clearBlobUrl' function is not.

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

No branches or pull requests

1 participant