@agatx/serenada-core
    Preparing search index...

    Class SerenadaServerProvider

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    capabilities: { handlesReconnection: boolean } = ...
    version: 1

    Methods

    • Deliver a message only to peerId. In particular, a targeted participant_media_state is ephemeral compatibility state: providers and their relays must not broadcast it, persist it, or replay it in room snapshots.

      Parameters

      • peerId: string
      • type: string
      • payload: unknown

      Returns void

    • Install (or clear) a gate consulted before each periodic TURN refresh. The gate returns false to skip the refresh — used by the session to suppress refreshes while every peer is on a direct ICE path, so the call remains independent of signaling for the refresh cadence.

      Parameters

      • gate: (() => Promise<boolean>) | null

      Returns void