You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
The text was updated successfully, but these errors were encountered:
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:
Button reset recording:
<button onClick={() => resetRecord(clearBlobUrl)}>Retry</button>
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.
The text was updated successfully, but these errors were encountered: