Creates a new instance of the ReceiverAudioController.
Gets the current audio subscription.
The current audio subscription.
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.
Indicates whether the remote audio should be muted.
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).
Sets the full audio subscription (all / include / exclude). No-op when nothing changed. Also accepts the legacy { mode, list } message for backwards compatibility, normalising it to the current shape.
The subscription to apply.
Replaces the set of additionally-included sources (e.g. translated sources), preserving the all
baseline and any excludes.
The full set of source names to include on top of the baseline.
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, e.g. bridge-injected translated audio) andexclude(sources to drop). The default isall: true.