@videosdk.live/react-sdk 0.6.6 β†’ 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,92 +1,104 @@
1
1
  <h1 align="center">
2
- <img src="https://static.videosdk.live/videosdk_logo_website_black.png"/><br/>
3
- <p align="center">
4
- Video SDK React App<br/>
5
- <a href="https://videosdk.live/">videosdk.live</a>
6
- </p>
2
+ <img src="https://cdn.videosdk.live/docs/images/react/banner.png" /><br/>
7
3
  </h1>
8
4
 
9
5
  <p align="center">
10
- <a href="https://www.npmjs.com/package/@videosdk.live/react-sdk"><img src="https://img.shields.io/npm/dw/@videosdk.live/react-sdk.svg?style=for-the-badge" alt="NPM downloads"></a>
11
- <a href="https://www.npmjs.com/package/@videosdk.live/react-sdk"><img src="https://img.shields.io/npm/v/@videosdk.live/react-sdk/latest.svg?style=for-the-badge" alt="NPM latest version"></a>
12
- <a href="https://discord.gg/kgAvyxtTxv">
13
- <img src="https://img.shields.io/discord/734858252939952248?logo=discord&style=for-the-badge" />
14
- </a>
15
- <a href="https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fpublish.twitter.com%2F&ref_src=twsrc%5Etfw%7Ctwcamp%5Ebuttonembed%7Ctwterm%5Efollow%7Ctwgr%5Evideo_sdk&screen_name=video_sdk">
16
- <img src="https://img.shields.io/twitter/follow/video_sdk?label=Twitter&logo=twitter&style=for-the-badge" />
17
- </a>
18
- <a href="http://youtube.com/videosdk?sub_confirmation=1">
19
- <img src="https://img.shields.io/youtube/channel/subscribers/UCuY7JzXnpp874oa7uQbUwsA?logo=Youtube&style=for-the-badge" />
20
- </a>
6
+ <a href="https://www.npmjs.com/package/@videosdk.live/react-sdk">
7
+ <img src="https://img.shields.io/npm/dw/@videosdk.live/react-sdk.svg?style=for-the-badge" alt="NPM downloads" />
8
+ </a>
9
+ <a href="https://www.npmjs.com/package/@videosdk.live/react-sdk">
10
+ <img src="https://img.shields.io/npm/v/@videosdk.live/react-sdk/latest.svg?style=for-the-badge" alt="NPM latest version" />
11
+ </a>
12
+ <a href="https://discord.gg/kgAvyxtTxv">
13
+ <img src="https://img.shields.io/discord/734858252939952248?logo=discord&style=for-the-badge" />
14
+ </a>
15
+ <a href="http://youtube.com/videosdk?sub_confirmation=1">
16
+ <img src="https://img.shields.io/youtube/channel/subscribers/UCuY7JzXnpp874oa7uQbUwsA?logo=Youtube&style=for-the-badge"/>
17
+ </a>
21
18
  </p>
22
19
 
23
- ## Features
20
+ # VideoSDK React SDK πŸš€
24
21
 
25
- - Video API with real-time audio, video and data streams
26
- - 5,000+ participants support
27
- - Chat support with rich media.
28
- - Screen sharing with HD and Full HD.
29
- - Play realtime video in meeting
30
- - Connect it with social media such as Facebook, Youtube etc (RTMP out support).
31
- - Intelligent speaker switch
32
- - Record your meetings on cloud
33
- - Customise UI and built other rich features with our new data streams such as whiteboard, poll, Q & A etc.
22
+ Build fast, scalable, and customizable real-time video applications for the web using **VideoSDK**.
23
+ Whether you’re creating a video conferencing app, virtual classroom, or live streaming platform, VideoSDK provides a robust foundation with minimal setup.
34
24
 
35
- ## Browser Support
25
+ ---
36
26
 
37
- Visit our official guide for [Browser Support](https://docs.videosdk.live/docs/realtime-communication/see-also/device-browser-support)
27
+ ## Why VideoSDK?
38
28
 
39
- ## Demo App
40
- Check out demo [here](https://demo.videosdk.live/conference-meeting/)
29
+ VideoSDK enables developers to ship production-grade real-time communication features quickly.
41
30
 
42
- ## Prerequisites
31
+ - Supports **5,000+ participants**
32
+ - Low-latency audio, video, and data streams
33
+ - Fully customizable UI and workflows
34
+ - Works across modern browsers
35
+ - Designed for scale and reliability
43
36
 
44
- You must have the following installed:
37
+ ---
45
38
 
46
- - Node.js v12+
47
- - NPM v6+ (comes installed with newer Node versions)
39
+ ## 🌍 Browser Support
48
40
 
49
- # Setup
41
+ VideoSDK supports all major modern browsers.
50
42
 
51
- `@videosdk.live/react-sdk` wraps up our [`@videosdk.live/js-sdk`](https://www.npmjs.com/package/@videosdk.live/js-sdk)
52
- into usable hooks APIs. It simplifies code and concept for react-js
43
+ πŸ“– Full compatibility guide:
44
+ https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/supported-browser
53
45
 
54
- ### Install the library in React
46
+ ---
55
47
 
56
- The easiest way to get started is by installing `@videosdk.live/react-sdk` in your app.
48
+ ## 🎯 Live Demo
57
49
 
58
- **From npm package**:
59
- ```js
60
- npm install @videosdk.live/react-sdk
61
- ```
50
+ Try the live demo to see VideoSDK in action:
51
+ https://demo.videosdk.live/conference-meeting/
62
52
 
63
- **From yarn package**:
64
- ```js
65
- yarn add @videosdk.live/react-sdk
66
- ```
53
+ ---
67
54
 
68
- ### Import the library in your app
55
+ ## βš™οΈ Installation
69
56
 
70
- `react-sdk` provides two most important hook `useMeeting` and `useParticipant`. it also provides `MeetingProvider` and `MeetingConsumer` to listen changes in meeting state and events.
57
+ Get started by installing `@videosdk.live/react-sdk` in your React application.
71
58
 
72
- ```javascript title="Import the library"
73
- import {
74
- MeetingProvider,
75
- useMeeting,
76
- useParticipant,
77
- MeetingConsumer,
78
- } from "@videosdk.live/react-sdk";
59
+ **Using npm**
60
+ ```bash
61
+ npm install @videosdk.live/react-sdk
79
62
  ```
80
63
 
81
- ## Documentation
82
-
83
- Check the components and their usage in our [documentation](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/concept-and-architecture).
84
-
85
- ## Quick Start
86
-
87
- Check the Quick Start guide to our [documentation](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/quick-start).
88
-
89
-
90
- ## Try it out
64
+ **Using yarn**
65
+ ```bash
66
+ yarn add @videosdk.live/react-sdk
67
+ ```
91
68
 
92
- Run the [Code sample](https://github.com/videosdk-live/videosdk-rtc-react-sdk-example) to see it in action.
69
+ ---
70
+
71
+ ## πŸ”₯ Meeting Features
72
+
73
+ Unlock a suite of powerful features to enhance your meetings:
74
+
75
+ | Feature | Documentation | Description |
76
+ |--------|---------------|-------------|
77
+ | πŸ“‹ **Pre-call Setup** | [Setup Precall](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/setup-call/precall) | Configure audio, video, and device preferences before joining a meeting. |
78
+ | ⏳ **Waiting Lobby** | [Waiting Lobby](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/setup-call/waiting-lobby) | Hold participants in a virtual lobby until they’re allowed to join. |
79
+ | 🀝 **Join Meeting** | [Join Meeting](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/setup-call/join-meeting) | Join a meeting with a single action. |
80
+ | πŸšͺ **Leave Meeting** | [Leave Meeting](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/setup-call/leave-end-meeting) | Exit the meeting safely without disrupting others. |
81
+ | 🎀 **Microphone Control** | [Mute / Unmute Mic](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/handling-media/mute-unmute-mic) | Toggle your microphone during the meeting. |
82
+ | πŸ“· **Camera Control** | [Camera On / Off](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/handling-media/on-off-camera) | Enable or disable your camera stream. |
83
+ | πŸ–₯️ **Screen Sharing** | [Screen Share](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/handling-media/screen-share) | Share your entire screen or a specific window. |
84
+ | πŸ“Έ **Image Capture** | [Image Capture](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/handling-media/image-capturer) | Capture images from participant video streams, ideal for Video KYC use cases. |
85
+ | πŸ”Œ **Change Input Devices** | [Switch Input Devices](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/handling-media/change-input-device) | Switch between available audio and video input devices. |
86
+ | πŸ”Š **Audio Output Selection** | [Switch Audio Output](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/handling-media/change-audio-ouptut-device) | Select a preferred speaker or output device. |
87
+ | βš™οΈ **Track Optimization** | [Custom Tracks](https://docs.videosdk.live/react/api/sdk-reference/custom-tracks) | Optimize media tracks for better quality and performance. |
88
+ | πŸ’¬ **In-meeting Chat** | [PubSub Chat](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/collaboration-in-meeting/pubsub) | Exchange real-time messages using a publish–subscribe model. |
89
+ | πŸ“ **Whiteboard** | [Whiteboard](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/collaboration-in-meeting/whiteboard) | Collaborate visually using a shared whiteboard. |
90
+ | πŸ“ **File Sharing** | [File Sharing](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/collaboration-in-meeting/upload-fetch-temporary-file) | Share files securely during the meeting. |
91
+ | πŸ“Ό **Recording** | [Recording](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/recording/Overview) | Record meetings for later playback and auditing. |
92
+ | πŸ“‘ **RTMP Livestreaming** | [RTMP Livestream](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/live-streaming/rtmp-livestream) | Broadcast meetings live to platforms like YouTube or Facebook. |
93
+ | πŸ“ **Real-time Transcription** | [Live Transcription](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/transcription-and-summary/realtime-transcribe-meeting) | Generate real-time transcripts during meetings. |
94
+ | πŸ”‡ **Remote Media Control** | [Remote Media Control](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/control-remote-participant/remote-participant-media) | Control the microphone and camera of remote participants. |
95
+ | 🚫 **Mute All Participants** | [Mute All](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/control-remote-participant/mute-all-participants) | Instantly mute all participants in the meeting. |
96
+ | πŸ—‘οΈ **Remove Participant** | [Remove Participant](https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/control-remote-participant/remove-participant) | Remove a participant from the meeting. |
97
+
98
+ ---
99
+
100
+ ## πŸ§ͺ Sample Application
101
+
102
+ Explore a fully functional React example that demonstrates real-world implementation of the VideoSDK:
103
+
104
+ πŸ‘‰ https://github.com/videosdk-live/videosdk-rtc-react-sdk-example
package/dist/index.js CHANGED
@@ -458,7 +458,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
458
458
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(MeetingProviderContex.Consumer, null, children));
459
459
  };
460
460
 
461
- var version = "0.6.6";
461
+ var version = "0.6.8";
462
462
 
463
463
  var MeetingProvider = function MeetingProvider(_ref) {
464
464
  var children = _ref.children,
@@ -456,7 +456,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
456
456
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MeetingProviderContex.Consumer, null, children));
457
457
  };
458
458
 
459
- var version = "0.6.6";
459
+ var version = "0.6.8";
460
460
 
461
461
  var MeetingProvider = function MeetingProvider(_ref) {
462
462
  var children = _ref.children,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.6.6",
3
+ "version": "0.6.8",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.modern.js",
@@ -10,7 +10,8 @@
10
10
  "build": "microbundle-crl --no-compress --format modern,cjs && yarn copyTypesFolder",
11
11
  "copyTypesFolder": "cp -a ./src/types/ ./dist/types",
12
12
  "prettier": "prettier --write 'src/**/*.js'",
13
- "lint": "eslint 'src/**/*.js'"
13
+ "lint": "eslint 'src/**/*.js'",
14
+ "typedoc": "typedoc"
14
15
  },
15
16
  "peerDependencies": {
16
17
  "react": "^16.13.1 || ^17 || ^18 || ^19"
@@ -39,6 +40,7 @@
39
40
  "prettier": "^1.17.1",
40
41
  "react": "^16.13.1",
41
42
  "test-listen": "^1.1.0",
43
+ "typedoc": "^0.28.15",
42
44
  "typescript": "^4.7.4"
43
45
  },
44
46
  "eslintConfig": {
@@ -74,7 +76,7 @@
74
76
  }
75
77
  },
76
78
  "dependencies": {
77
- "@videosdk.live/js-sdk": "0.5.5",
79
+ "@videosdk.live/js-sdk": "0.5.7",
78
80
  "events": "^3.3.0"
79
81
  }
80
82
  }