Skip to content
Live Audio Room

Configuration reference

Every VoxeraAudioRoom parameter and the main VoxeraAudioRoomConfig fields.

VoxeraAudioRoom

ParameterRequiredDescription
appIdYesYour App ID
appKeyYesYour publishable App Key
userIdYesThe local user's identity
userNameYesThe local user's display name
roomIdYesThe room to join or create
roomOwnerIdYesThe owner's identity, used to detect the host and for owner-only actions
layoutModeNoThe layout to use. The default, '3', has 9 seats. See layout modes.
modesNoCustom VoxeraRoomModes to register
configNoA VoxeraAudioRoomConfig
controllerNoAn existing VoxeraRoomController, for example after minimizing
tokenProviderNoA function returning a prefetched token. See Fast first join.
onControllerReadyNoReceives the controller
onConnectionChangedNoReceives bool isConnected
onSeatTapNoReplaces the built-in seat sheet
onSeatChangedNoReceives List<SeatState> seats
onConnectErrorNoReplaces the built-in connect error view
tokenBaseUrl, engineBaseUrlNoOnly for a different deployment

adminIds still exists for older code, but it's deprecated. Use controller.assignAdmin.

VoxeraAudioRoomConfig

Behavior

FieldDefaultDescription
showControlsBartrueShows the controls bar
showSeatNamestrueShows names under seats
enableMinimizetrueAllows minimizing
turnOnMicrophoneWhenJoiningfalseJoins with the microphone on
useSpeakerWhenJoiningtrueStarts on the loudspeaker
hostSeatIndex0The seat the host takes
autoHostMictrueA host or admin joins with the microphone on
autoSeatHosttrueThe host takes hostSeatIndex if it's empty
useDefaultBackgroundtruePaints theme.background when there's no backgroundWidget
roomMusicModetrackSee Room music
userInRoomAttributesnoneAttributes shared with others, such as name and avatar

Look and feel

FieldDescription
theme, stringsSee Theming and strings
headerWidget, messagesWidget, controlsBarWidget, backgroundWidget, foregroundWidget, pkWidgetSection overrides
seatBuilder, avatarBuilder, emptySeatBuilder, lockedSeatBuilderSeat builders