Skip to content

Function: addSetMutedActionListener()

ts
function addSetMutedActionListener(listener): EventSubscription;

Defined in: Calls.ts:708

Subscribes to set muted action events.

Fired when the system requests to set the mute state (e.g., user pressed mute button). Apply the change to your media connection when you receive this event.

Parameters

ParameterTypeDescription
listener(event) => voidCallback invoked when set muted action is requested.

Returns

EventSubscription

A subscription that can be removed by calling .remove().

See

setMuted — for the app-initiated direction (programmatic mute toggle).

Released under the MIT License.