Error Events - Python
VideoSDK provides the on_error()
event which informs you about any error happening during the meeting.
on_error()
- This event is triggered whenever an invalid configuration is provided or server/network errors arise. In such cases, the event will trigger with a specific error code and message.
- It is particularly useful for development-level troubleshooting during SDK integration.
- 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_error(self, data):
print("meeting error", 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