LiveKit JS Client SDK - v2.25.0
    Preparing search index...

    Interface ParticipantHooksExperimental

    What an extension contributes to remote participant bookkeeping.

    interface ParticipantHooks {
        onParticipantCreated?(
            participant: RemoteParticipant,
            info: ParticipantInfo,
        ): void;
        onParticipantUpdates?(infos: ParticipantInfo[]): void;
    }
    Index
    • Experimental

      Runs after the room creates a remote participant from a ParticipantInfo.

      Parameters

      Returns void

    • Experimental

      Runs after the room applied a participant update (join, update, reconnect).

      Parameters

      • infos: ParticipantInfo[]

      Returns void