Skip to content

Function: reportVideo() ​

ts
function reportVideo(id, enabled): Promise<void>;

Defined in: Calls.ts:731

Reports a video state change for a call.

Use this to inform the system when video is enabled or disabled.

Parameters ​

ParameterTypeDescription
idstringThe call session ID.
enabledbooleanWhether video is enabled.

Returns ​

Promise<void>

See ​

addVideoChangedListener — the inverse direction (system-side video state changes).