Skip to main content

Start Audio Button

A button for starting the agent session's audio track when the browser blocks audio playback.

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 nameTypeDefault
size?
enum
default
variant?
enum
default
room?
Room
label
string
ref?
Ref<HTMLButtonElement>
...props?
ComponentProps<'button'>