3 ms·
Why recorder.send('record') instead of recorder.record() As the latter allows better error control and also add something like record(60). Which would s
by gbraad 6y ago
Why
recorder.send('record')
instead of
recorder.record()
As the latter allows better error control and also add something like record(60). Which would start a timer and stop after 60seconds.
- mattogodoy 6y agoThanks for the suggestion! The `send` command is able to send any of the valid commands, but the library also allows you to do `recorder.rec()` and `recorder.stop()`. Passing the time as an argument is a good idea! I'll take it into account.