Skip to main content
Version: 2.0.x

Participant Class Events - iOS

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`) {
//
}

Got a Question? Ask us on discord