setCameraEnabled

suspend fun setCameraEnabled(enabled: Boolean): Boolean

If set to enabled, creates and publishes a camera video track if not already done, and starts the camera.

If set to disabled, mutes and stops the camera.

This will use capture and publish default options from Room.

Return

true if the change was successful, or false if it failed.

See also