Skip to main content

check_default_input_device

Function check_default_input_device 

Source
pub fn check_default_input_device() -> Result<String, CaptureError>
Available on crate feature microphone and non-target_family=wasm only.
Expand description

Checks the default microphone as LiveStream::open does, without opening a stream, because that triggers the permission prompt. Returns the device name.