lib-jitsi-meet
    Preparing search index...

    Controller for the local endpoint's remote-audio subscription. The subscription sent to the bridge combines three dimensions: all (the baseline — forward every regular source), include (extra opt-in sources on top) and exclude (sources to drop). The default is all: true.

    The include set has two layers: the base include from setAudioSubscriptionMode, and per-service synthetic subscriptions (audio translation, voice agents — see setServiceIncludes). The message sent to the bridge carries their union, so each layer can change without clobbering the others.

    Index

    Constructors

    Accessors

    Methods

    • Returns the source names currently subscribed for a service.

      Parameters

      • serviceId: string

        The service whose sources to return, e.g. a {@code SyntheticAudioService} value.

      Returns string[]

    • Mutes or unmutes all remote audio by toggling the baseline. The explicit include/exclude overlays (e.g. opted-in translated sources) are preserved so they are restored on unmute rather than lost across the cycle.

      Parameters

      • muted: boolean

        Indicates whether the remote audio should be muted.

      Returns void

    • Re-sends the current audio subscription to the bridge. Used when the bridge channel (re)opens so the bridge always learns the receiver's subscription (the default { all: true } until includes are added).

      Returns void

    • Replaces the set of synthetic sources subscribed for a service and re-sends the effective subscription. Each service replaces only its own set; the bridge always receives the union across services.

      Parameters

      • serviceId: string

        The service whose sources to replace, e.g. a {@code SyntheticAudioService} value.

      • sourceNames: string[]

        The service's full desired set of source names.

      Returns void