Skip to main content
Version: 1.0.x

Participant Class Events


streamEnabled

  • This event will be emitted when any participant starts consuming or producing stream of any type.

Example

room.localParticipant.on(Events.streamEnabled, (Stream stream){
// do something
});

streamDisabled

  • This event will be emitted when any participant stops consuming or producing stream of any type.

Example

room.localParticipant.on(Events.streamDisabled, (Stream stream){
// do something
});

streamPaused

  • This event will be emitted when any participant pauses consuming or producing stream of any type.

Example

room.localParticipant.on(Events.streamPaused, (Stream stream){
// do something
});

streamResumed

  • This event will be emitted when any participant resumes consuming or producing stream of any type.

Example

room.localParticipant.on(Events.streamResumed, (Stream stream){
// do something
});