Usage
A button will be rendered below if audio playback is blocked.
Features
- Displays a button for starting the agent session's audio tracks when the browser blocks audio playback
Installation
pnpm dlx shadcn@latest add @agents-ui/start-audio-button
Props
| Prop name | Type | Default |
|---|---|---|
size? | enum | default |
variant? | enum | default |
room? | Room | – |
label | string | – |
ref? | Ref<HTMLButtonElement> | – |
...props? | ComponentProps<'button'> | |