OptionalcontrolFunction to control user media settings (default: controlMedia)
State Parameters:
OptionalcustomCustom styles for the card container
Participant's display name
OptionalbarColor of the audio waveform bars (default: 'red')
OptionaltextColor of text overlays (default: 'white')
Image/Avatar Properties:
OptionalimageURI for participant's avatar image
OptionalroundedWhether to display avatar with rounded corners (default: false)
OptionalimageCustom styles for the avatar image
Controls & Info Properties:
OptionalshowWhether to show media control buttons (default: true)
OptionalshowWhether to show participant info overlay (default: true)
OptionalvideoCustom component for info overlay
OptionalvideoCustom component for controls
OptionalcontrolsPosition of controls overlay (default: 'topLeft')
OptionalinfoPosition of info overlay (default: 'bottomLeft')
Media Control:
Complete participant object with metadata
OptionalbackgroundBackground color (default: '#2c678f')
OptionalaudioAudio level data for this participant's waveform
Styling Properties:
State and context parameters for the card
Custom UI Override:
OptionalcustomCustom 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:
OptionalstyleAdditional style object for the container
OptionalrenderFunction to wrap or replace the default card content while preserving container
OptionalrenderFunction 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: