consumeWebcamStreams

open suspend fun consumeWebcamStreams()

Subscribes this device to the participant's camera: with createRoom(autoConsume = false), and again after stopConsumingWebcamStreams. Receive-side only, and waits for a join still running, as consumeMicStreams does.

Takes effect only when the room was created with autoConsume = false.

Events:

Code Example:

lifecycleScope.launch { participant.consumeWebcamStreams() }

See also