Member Junction
    Preparing search index...

    A remote participant's published track, subscribed or not. VERIFY against @livekit/rtc-node: RemoteTrackPublication (sid, source, muted getters; the SDK keeps one object per publication and passes it to every event).

    interface RtcTrackPublication {
        muted?: boolean;
        sid?: string;
        source?: number;
        setSubscribed?(subscribed: boolean): void;
    }
    Index

    Properties

    Methods

    Properties

    muted?: boolean

    Whether the publisher muted it. VERIFY: updated BEFORE TrackMuted / TrackUnmuted is emitted.

    sid?: string

    The track sid.

    source?: number

    The track source (TrackSource: camera and screen share are video; microphone and screen-share audio are not).

    Methods

    • Asks the server to send (or stop sending) this track to the bot; the SDK answers with TrackSubscribed / TrackUnsubscribed. Remote publications only. VERIFY against @livekit/rtc-node: RemoteTrackPublication.setSubscribed.

      Parameters

      • subscribed: boolean

      Returns void