Skip to main content
Version: 0.0.x

Meeting Event Handler - Python

VideoSDK provides several types of events that can be listened to in order to determine the current state of the meeting.

Here are the events specifically related to the meeting:

on_meeting_joined()

  • This event is triggered when the meeting is successfully joined.
  • It can be implement to using the MeetingEventHandler class.

on_meeting_left()

  • This event is triggered when the meeting is left.
  • It can be implement to using the MeetingEventHandler class.

on_speaker_changed()

  • This event is triggered when there is a change in the active speaker during the meeting.
  • It can be implement to using the MeetingEventHandler class.

on_participant_joined()

  • This event is triggered when the participant is successfully joined in the meeting.
  • It can be implement to using the MeetingEventHandler class.

on_participant_left()

  • This event is triggered when the participant is left from the meeting.
  • It can be implement to using the MeetingEventHandler class.

Example

Here is an example demonstrating the usage of all the events mentioned on this page.

class MyMeetingEventHandler(MeetingEventHandler):
def __init__(self):
super().__init__()

def on_meeting_joined(self, data):
print("meeting joined")

def on_meeting_left(self, data):
print("meeting left")

def on_speaker_changed(self, data):
print("active speaker changed", data)

def on_participant_joined(self, participant):
print("participant joined", participant)

def on_participant_left(self, participant):
print("participant left", participant)

API Reference

The API references for all the methods and events utilized in this guide are provided below.

Got a Question? Ask us on discord