Meeting Connection Events - Python
VideoSDK offers the on_meeting_state_change()
event, providing information about the current connection state of the meeting.
on_meeting_state_change()
- This event is triggered when the state of a meeting changes.
- The event callback will include the current state of the meeting, which can be one of the following:
CONNECTING
,CONNECTED
,FAILED
,DISCONNECTED
,CLOSING
,CLOSED
. - It can be implement to using the
MeetingEventHandler
class.
Example
Here is an example demonstrating the usage of the event mentioned on this page.
class MyMeetingEventHandler(MeetingEventHandler):
def __init__(self):
super().__init__()
def on_meeting_state_change(self, data):
print("meeting state changed", data)
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