Skip to main content
Version: 0.1.x

Setup - React

@videosdk.live/react-sdk wraps up our @videosdk.live/js-sdk into usable hooks APIs. It simplifies code and concept for react-js

@videosdk.live/react-sdk

Install the library in React

The easiest way to get started is by installing @videosdk.live/react-sdk in your app.

npm install @videosdk.live/react-sdk

Import the library in your app

@videosdk.live/react-sdk provides two most important hook useMeeting and useParticipant. it also provides MeetingProvider and MeetingConsumer to listen changes in meeting state and events.

Import the library
import {
MeetingProvider,
useMeeting,
useParticipant,
MeetingConsumer,
} from "@videosdk.live/react-sdk";

Got a Question? Ask us on discord