Speaking while muted notification

The SpeakingWhileMuted component is based on Notification component that is a simple popover. The SDK attaches the component to ToggleAudioPublishingButton. The popover rendering is controlled by sound detection mechanism put in place by createSoundDetector() function.

Default UI of SpeakingWhileMutedNotification component

General usage

The component is used by wrapping the component to which it will refer:

<SpeakingWhileMutedNotification>
  <ToggleAudioPublishingButton />
</SpeakingWhileMutedNotification>

Props

text

TypeDefault
string | undefined'You are muted. Unmute to speak.'

Text message displayed by the notification.

Customization

To learn more about creating sound detection functionality, have a look at our speaking-while-muted tutorial.

© Getstream.io, Inc. All Rights Reserved.