To the issue:
With getDevices() I can get the list of the devices, but I don't know which one is the default.
Can you please expose a isDefaultInput and IsDefaultOutput values? I think you already have them since you are able to detect the default device for speech detection. Other libraries like node-portaudio expose this values.
Also I would love to have the supportedSamplesRates, not only the default one (defaultSampleRate). This way I can test if the mic will work with webrtcvad or if I show and error to the end user.
To start: Great library!!
To the issue: With
getDevices()
I can get the list of the devices, but I don't know which one is the default.Can you please expose a
isDefaultInput
andIsDefaultOutput
values? I think you already have them since you are able to detect the default device for speech detection. Other libraries likenode-portaudio
expose this values.Also I would love to have the
supportedSamplesRates
, not only the default one (defaultSampleRate
). This way I can test if the mic will work withwebrtcvad
or if I show and error to the end user.Thanks a lot!!