Skip to main content
Version: 0.x.x

Network Events - React

VideoSDK offers the onQualityLimitation event, providing information about any quality limitations detected or resolved during the meeting.

onQualityLimitation

  • 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 useMeeting hook.

Example

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

import { useMeeting } from "@videosdk.live/react-sdk";

function onQualityLimitation(data) {
const { type, state, timestamp } = data;
}

const {
meetingId
...
} = useMeeting({
onQualityLimitation,
...
});

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