Member Junction
    Preparing search index...

    Options configured for the media worker room client.

    interface MediaWorkerClientOptions {
        avatarStatus?: NativeAvatarStatus;
        channels: number;
        inboundSampleRate: number;
        preBufferMs?: number;
        sampleRate: number;
        video?: NativeRoomVideoOptions;
        videoEncodeWorker?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    avatarStatus?: NativeAvatarStatus

    Where 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.

    channels: number

    Outbound capture channel count (typically 1 for mono).

    inboundSampleRate: number

    Inbound audio stream sample rate (Hz).

    preBufferMs?: number

    Outbound pre-buffer target in milliseconds (default: 150ms).

    sampleRate: number

    Outbound capture sample rate (Hz).

    What 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.

    videoEncodeWorker?: boolean

    Whether 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.