Skip to content

Function: addVideoChangedListener() ​

ts
function addVideoChangedListener(listener): EventSubscription;

Defined in: Calls.ts:747

Subscribes to video state change events.

Fired when the video state changes for a call.

Parameters ​

ParameterTypeDescription
listener(event) => voidCallback invoked when video state changes.

Returns ​

EventSubscription

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

See ​

reportVideo — for reporting your app's video state changes back to the system.