Setup
@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
- YARN
npm install @videosdk.live/react-sdk
yarn add @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

