Closed evancohen closed 7 years ago
This looks awesome, just a few minor (non-blocking) concerns;
arec
just as it does for sox
The API is 👌 since we are pausing and resuming and not recording silence.
We should also call cp.stdout.pause()
and cp.stdout.resume()
so we can use the streams internal isPaused()
method to track the state of the recording.
On top of that, if you could add these methods to the README that would be 🤘
Looks like you've implemented this in v1 #39! Closing this out.
so how to stop streaming i am trying to implement same but can't stop streaming stop and pause is not working
This is a fix for #37. This instructs the child process to hide it's binary output.
Some other idea that I could use your input on:
mute()
andunmute()
- or something else entirely?isPaused()