Platform docs
Auth, users, webhooks & more

Speaking while muted

Showing visual feedback when users speak while muted improves UX. Observe this state via call.microphone.state.speakingWhileMuted (or the useMicrophoneState().isSpeakingWhileMuted hook).

Best Practices

  • Display prominently - Make the notification clearly visible but non-intrusive
  • Provide quick action - Include an unmute button in the notification
  • Auto-dismiss wisely - Hide notification when user stops speaking or unmutes
  • Use appropriate styling - Warning colors help draw attention

Custom Speaking while muted Component

Read the isSpeakingWhileMuted state from useMicrophoneState hook in useCallStateHooks. Render UI only when true.

Preview of the Speaking While Muted notification component

Example:

import { useCallStateHooks } from "@stream-io/video-react-native-sdk";

export const SpeakingWhileMutedNotification = () => {
  const { useMicrophoneState } = useCallStateHooks();
  const { isSpeakingWhileMuted } = useMicrophoneState();

  if (!isSpeakingWhileMuted) return null;
  return <Text>You are muted. Unmute to speak.</Text>;
};
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Video React Native v1: <Your Question>