setCameraActiveAsync

open external fun setCameraActiveAsync(active: Boolean): Promise<Void>(source)

The setCameraActive() method of the MediaSession interface is used to indicate to the user agent whether the user's camera is considered to be active.

MDN Reference