onStreamDisabled

open fun onStreamDisabled(stream: RTCStream)

Called when this participant stops publishing a track — they muted, turned the camera off, or stopped sharing. Drop any view bound to it.

A participant that turns everything off is still in the room and keeps their tile.

Parameters

stream

the stream that ended. Its track is already gone, so do not read from it.