useAudioDetection
function useAudioDetection(
silentDetectedSubscribe,
disableAudioSignalDetection,
stream): DeviceStatusInfo | undefined;
Subscribe onSilentDetected signal and set the notice info accordingly
Parameters
| Parameter | Type |
|---|---|
silentDetectedSubscribe | (observer, options?) => Detach |
disableAudioSignalDetection | () => void |
stream | MediaStream | undefined |
Returns
DeviceStatusInfo | undefined
Tooltip info or undefined when it is not applicable