OptionalaudioLocal audio tracks to publish on join.
OptionalbandwidthLimits on incoming media, controlling how subscribed tracks share bandwidth.
OptionalconnectionMilliseconds to wait for the Room to connect before giving up. On expiry
the promise rejects with a RoomConnectTimeoutError and the partially
built Room is disposed. Defaults to 30000. Pass 0 to wait indefinitely.
OptionaldataLocal data tracks to publish on join.
OptionalenableAutomatically subscribe to remote participants' tracks. When false, tracks must be subscribed to explicitly.
OptionalenableEnable dominant-speaker detection, which powers Room.dominantSpeaker and the dominantSpeakerChanged event.
OptionalenableEnable Twilio Insights telemetry for this Room.
OptionalencodingInitial send-bitrate limits; equivalent to calling LocalParticipant.setEncodingParameters after connect.
OptionaliceOverrides for ICE candidate gathering and transport policy.
OptionalnameRoom name to connect to. When omitted, the Room SID is used as its name.
OptionalnetworkEnable network-quality reporting. Pass true for default verbosity
(local=1, remote=0) or an object to set verbosities individually.
Setting false (or omitting) disables reporting.
OptionalpreferredPreferred audio codecs in descending priority.
OptionalpreferredPreferred video codecs in descending priority.
OptionalreceiveSubscribe to live transcriptions, delivered via the Room's transcription event.
OptionalregionSignaling region to connect through (e.g. us1, gll for lowest-latency).
OptionalvideoHow outgoing video encodings are selected.
OptionalvideoLocal video tracks to publish on join.
Options for connect. All fields are optional; omitted feature toggles fall back to Room/server defaults.