# Mic capture error notification

The `MicCaptureErrorNotification` component is based on the `Notification` component that displays as a simple popover. The SDK attaches this component to monitor microphone audio capture and alerts users when their microphone is not capturing audio properly.

![Default UI of MicCaptureErrorNotification component](@video/react/_assets/ui-components/mic-capture-error-notification.png)

## General usage

The component is used by wrapping the component to which it will refer, typically the microphone toggle button:

```tsx
<MicCaptureErrorNotification>
  <ToggleAudioPublishingButton />
</MicCaptureErrorNotification>
```

## Props

### `text`

| Type                    | Default                                                              |
| ----------------------- | -------------------------------------------------------------------- |
| `string` \| `undefined` | `'Your microphone is not capturing audio. Please check your setup.'` |

Text message displayed by the notification.

### `placement`

| Type                       | Default     |
| -------------------------- | ----------- |
| `Placement` \| `undefined` | `undefined` |

Position of the notification relative to the wrapped element. Accepts any valid [Floating UI placement](https://floating-ui.com/docs/computePosition#placement) value (e.g., `'top'`, `'bottom'`, `'left'`, `'right'`).

## Customization

To learn more about creating custom microphone capture detection functionality, have a look at our [broken mic setup tutorial](/video/docs/react/ui-cookbook/broken-mic-setup/).


---

This page was last updated at 2026-07-10T16:05:24.579Z.

For the most recent version of this documentation, visit [https://getstream.io/video/docs/react/ui-components/utility/mic-capture-error-notification/](https://getstream.io/video/docs/react/ui-components/utility/mic-capture-error-notification/).