OptionalavatarWhere the agent's avatar stands at this join. A worker restarted after the avatar was taken down joins with
audio-only, so the in-worker client re-applies the bot's attribute (the token still says on) and publishes no
avatar. Absent on a first join.
Outbound capture channel count (typically 1 for mono).
OptionalconnectReject (and fall back) if the worker has not joined the room within this many ms (default: 20000).
OptionaldisconnectMax wait for a graceful worker disconnect before terminating it (default: 5000).
OptionalfallbackBuilds the in-process client used when the worker cannot be started or joined. No fallback when omitted.
OptionalhealthyThe restart counter only resets after the worker has stayed connected this long (default: 60000).
Inbound audio stream sample rate (Hz).
OptionalmaxDo not rejoin with a join token older than this many ms (default: 600000). See file header.
OptionalmaxMax consecutive restart attempts if the worker crashes (default: 3).
OptionalpreOutbound pre-buffer target in milliseconds (default: 150ms).
OptionalrestartFirst restart delay in ms; doubles per attempt (default: 250).
OptionalrestartUpper bound for the restart delay in ms (default: 5000).
Outbound capture sample rate (Hz).
OptionaltelemetryInterval (ms) of the background telemetry refresh while connected (default: 1000; 0 disables).
OptionalvideoWhat the in-worker room client reads for the agent when it watches the meeting. Absent: no video is read (and every video track is unsubscribed). The watcher runs inside the worker: it reads attributes and events there.
OptionalvideoWhether the in-worker room client encodes participant video on its own encode worker (nested in the media worker)
rather than on the media worker's thread. The module factory sets it from MJ_LIVEKIT_VIDEO_ENCODE_WORKER and its
VideoEncodeWorker option; absent means the media worker's thread encodes.
OptionalworkerOptional factory for injecting custom or mock media workers (e.g. for testing).
Options for configuring LiveKitWorkerRoomClient.