Optional
controlFunction to control user media settings (default: controlMedia)
State Parameters:
Optional
customCustom styles for the card container
Participant's display name
Optional
barColor of the audio waveform bars (default: 'red')
Optional
textColor of text overlays (default: 'white')
Image/Avatar Properties:
Optional
imageURI for participant's avatar image
Optional
roundedWhether to display avatar with rounded corners (default: false)
Optional
imageCustom styles for the avatar image
Controls & Info Properties:
Optional
showWhether to show media control buttons (default: true)
Optional
showWhether to show participant info overlay (default: true)
Optional
videoCustom component for info overlay
Optional
videoCustom component for controls
Optional
controlsPosition of controls overlay (default: 'topLeft')
Optional
infoPosition of info overlay (default: 'bottomLeft')
Media Control:
Complete participant object with metadata
Optional
backgroundBackground color (default: '#2c678f')
Optional
audioAudio level data for this participant's waveform
Styling Properties:
State and context parameters for the card
Custom UI Override:
Optional
customCustom render function for complete card replacement. When provided, this function receives all AudioCardOptions and returns custom JSX.Element. This allows full control over the audio card's appearance and behavior.
Advanced Render Overrides:
Optional
styleAdditional style object for the container
Optional
renderFunction to wrap or replace the default card content while preserving container
Optional
renderFunction to wrap or replace the entire card container
Interface defining the options for the AudioCard component.
AudioCard displays a participant in audio-only mode with waveform visualization, participant info, and optional media controls.
AudioCardOptions
Core Display Properties: