Skip to main content

useAudioDetection

function useAudioDetection(
silentDetectedSubscribe,
disableAudioSignalDetection,
stream): DeviceStatusInfo | undefined;

Subscribe onSilentDetected signal and set the notice info accordingly

Parameters

ParameterType
silentDetectedSubscribe(observer, options?) => Detach
disableAudioSignalDetection() => void
streamMediaStream | undefined

Returns

DeviceStatusInfo | undefined

Tooltip info or undefined when it is not applicable