OptionalcompactUse compact mode with smaller controls (default: false)
OptionaldefaultThe profile shown as selected when the user has not chosen one — pass the room's current profile so the Advanced section reflects it.
OptionaldefaultThe boost shown when none is remembered — pass the room's current value.
OptionaldisabledDisable all selectors
OptionaliconsCustom icons
OptionallabelsCustom labels for i18n support
Callback when device selection changes
OptionalonCallback when an error occurs during device enumeration or selection
OptionalonCalled with the boost in dB as the slider moves. A gain change, not a device change: adjust a gain node in place, never re-open the microphone.
OptionalorientationOrientation of the selectors (default: 'vertical')
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')OptionalselectedCurrently selected devices
OptionalshowShow the collapsed Advanced section under the microphone, where the user
chooses how it is captured (selectedDevices.audioProfile). Reported
through onDeviceChange and persisted like a device.
OptionalshowShow audio input selector (default: true)
OptionalshowShow audio output selector (default: true)
OptionalshowShow the microphone boost slider in the Advanced section. Only useful
when the app enables the boost stage on the room. Changes are persisted
with the devices and reported through onMicrophoneBoostChange, never
onDeviceChange.
OptionalshowShow the refresh button to re-enumerate devices. Useful when devices are connected/disconnected and the list needs updating. Clears the MediaDeviceManager cache and re-enumerates all devices.
OptionalshowShow video input selector (default: true)
OptionalsxMUI sx styling prop
Props for the DeviceSelector component.
Remarks
DeviceSelector provides dropdown menus to select camera, microphone, and speaker devices. It supports both the Hiyve MediaDeviceManager and direct browser APIs.
Features:
Example
Basic usage:
Example
With MediaDeviceManager: