OptionalaudioSelected audio device ID
OptionalcolorsCustom colors
OptionaldefaultThe profile used for the preview's microphone and shown as selected when the user has not chosen one — pass the room's current profile.
OptionaldefaultThe boost used by the meter and shown when none is remembered.
OptionalheightHeight of the preview (default: 300)
OptionallabelsCustom labels for i18n support
Optionallayout'stacked' (default): video, meter, then the controls, top to bottom.
'side': video + meter on the left, controls on the right — for wide,
short containers, where a stacked preview with the Advanced section open
would not fit. The video stretches to the controls' height (height is
its minimum).
OptionalonCallback when devices change
OptionalonCallback when an error occurs during device enumeration or selection
OptionalonCalled with the boost in dB as the slider moves. The preview adjusts its meter's gain in place — the camera and microphone are not re-opened.
OptionalonCallback when user is ready to join
OptionalpersistEnable persistence of device selections across sessions. When enabled, selections are saved automatically and restored on mount.
true to enable with default storage key ('hiyve-selected-devices')OptionalreadyLabel for the ready button (default: 'Join') - deprecated, use labels.readyButton
OptionalrenderRender props for advanced customization
OptionalselectorIcons to pass to nested DeviceSelector
OptionalselectorLabels to pass to nested DeviceSelector
OptionalshowShow the selector's Advanced section (capture profile). The preview opens its own microphone with the chosen profile's constraints, so the level meter shows what the room will send.
OptionalshowShow audio level indicator (default: true)
OptionalshowShow the audio output device selector.
OptionalshowShow device selector controls (default: true)
OptionalshowShow the microphone boost slider (passed to DeviceSelector); the preview's meter reflects the boost.
OptionalshowShow the refresh button to re-enumerate devices.
OptionalshowShow video preview (default: true)
OptionalstylesCustom styles
OptionalsxMUI sx styling prop
OptionalvideoSelected video device ID
OptionalwidthWidth of the preview (default: 400)
Props for DevicePreview component