WebcamRequestListener

Answers a webcam-enable request from another participant. Handed to RoomEventListener.onWebcamRequested; valid only for that one request.

Functions

Link copied to clipboard
abstract fun accept()

Turns the local webcam on. Enabling is asynchronous, so the camera is live once the local participant's ParticipantEventListener.onStreamEnabled fires, not when this returns.

Link copied to clipboard
abstract fun reject()

Declines, locally. Nothing is sent back — the asker sees no rejection, only their request timing out on the server.