Skip to main content
Version: 1.2.x

Participant Class Events

onStreamEnabled

  • onStreamEnabled is a callback which gets triggered whenever a participant's video, audio or screen share stream is enabled.

Example

participantListener.onStreamEnabled(stream: `MediaStream`, forParticipant: `Participant`) {
//
}

onStreamDisabled

  • onStreamDisabled is a callback which gets triggered whenever a participant's video, audio or screen share stream is disabled.

Example

participantListener.onStreamDisabled  (stream: `MediaStream`, forParticipant: `Participant`) {
//
}