Function: addVideoChangedListener()
ts
function addVideoChangedListener(listener): EventSubscription;Defined in: Calls.ts:746
Subscribes to video state change events.
Fired when the video state changes for a call.
Parameters
| Parameter | Type | Description |
|---|---|---|
listener | (event) => void | Callback 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.