Platform docs
Auth, users, webhooks & more
Info:
This is beta documentation for Stream Video React SDK v2. For the latest stable version, see the latest version (v1).

Speaking While Muted

Remind users they're speaking while muted. The SDK includes SpeakingWhileMutedNotification, but here's how to build your own.

Best Practices

  • Position the notification near the microphone toggle button for clear context.
  • Use useMicrophoneState hook - isSpeakingWhileMuted handles detection automatically.
  • Dismiss notification after a few seconds or when user unmutes.

Custom implementation

Show notification when isSpeakingWhileMuted is true:

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

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

  if (!isSpeakingWhileMuted) return null;
  return <div>You are muted</div>;
};
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 v2: <Your Question>