Repository navigation
Difference between 'stop()' and 'cancel()' methods #363
|
Hey there! I'm pretty new to using this package. I like how simple and straightforward the instructions are, that helps a lot, but I have some doubts. I'm implementing a simple recorder and I'm trying to understand the difference between using stop() and cancel(). I am aware that the documentations detail that 'stop' releases the audio resource after invoking it and 'cancel' does this, while also deleting the recorded file/blob. This brought some questions to my mind and I turn to the community for answers today. Any help is appreciated!
|
Answered by
llfbandit
Jul 5, 2024
Replies: 1 comment 1 reply
|
Yes, recording on the same path should overwrite the previous file. |
1 reply
Answer selected by
SebasRebazCoding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, recording on the same path should overwrite the previous file.
cancelmethod is similar tostopplus the deletion of the file/blog recorded.