Skip to main content
setLocalVideo(enabled) Requires join() or startCamera() to be called first.

Parameters

enabled
boolean
required
true to enable the camera, false to disable it.

Return value

Returns this for chaining.

Example

// Disable camera
call.setLocalVideo(false);

// Re-enable camera
call.setLocalVideo(true);

See also