Network Events - Javascript
VideoSDK offers the quality-limitation
event, providing information about any quality limitations detected or resolved during the meeting.
quality-limitation
- This callback is triggered when a quality limitation is detected or resolved during the meeting.
- Limitations may occur due to congestion, bandwidth issues, or CPU constraints.
- Developers can use this event to gracefully adjust media settings (like reducing video resolution) and restore them once the limitation is resolved.
- It can be subscribed to using the
meeting
object.
Example
Here is an example demonstrating the usage of the event mentioned on this page.
let meeting;
// Initialize Meeting
meeting = VideoSDK.initMeeting({
// Configuration options
});
// Subscribe to the quality-limitation event
meeting.on("quality-limitation", ({ type, state, timestamp }) => {
});
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