Video SDK React App
videosdk.live
Features
Browser Support
Visit our official guide for Browser Support
Prerequisites
You must have the following installed:
- Node.js v12+
- NPM v6+ (comes installed with newer Node versions)
Setup
@videosdk.live/react-sdk
wraps up our @videosdk.live/js-sdk
into usable hooks APIs. It simplifies code and concept for react-js
Install the library in React
The easiest way to get started is by installing @videosdk.live/react-sdk
in your app.
From npm package:
npm install @videosdk.live/react-sdk
From yarn package:
yarn add @videosdk.live/react-sdk
Import the library in your app
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 {
MeetingProvider,
useMeeting,
useParticipant,
MeetingConsumer,
} from "@videosdk.live/react-sdk";
Documentation
Check the components and their usage in our documentation.
Try it out
Run the Code sample to see it in action.