setCameraActive

inline suspend fun MediaSession.setCameraActive(active: Boolean)(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