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!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, recording on the same path should overwrite the previous file. |
Beta Was this translation helpful? Give feedback.
Yes, recording on the same path should overwrite the previous file.
cancel
method is similar tostop
plus the deletion of the file/blog recorded.