@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 +79 -67
- package/dist/index.js +1 -1
- package/dist/index.modern.js +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,92 +1,104 @@
|
|
|
1
1
|
<h1 align="center">
|
|
2
|
-
<img src="https://
|
|
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"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
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
|
-
|
|
20
|
+
# VideoSDK React SDK π
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
25
|
+
---
|
|
36
26
|
|
|
37
|
-
|
|
27
|
+
## Why VideoSDK?
|
|
38
28
|
|
|
39
|
-
|
|
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
|
-
|
|
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
|
-
|
|
37
|
+
---
|
|
45
38
|
|
|
46
|
-
|
|
47
|
-
- NPM v6+ (comes installed with newer Node versions)
|
|
39
|
+
## π Browser Support
|
|
48
40
|
|
|
49
|
-
|
|
41
|
+
VideoSDK supports all major modern browsers.
|
|
50
42
|
|
|
51
|
-
|
|
52
|
-
|
|
43
|
+
π Full compatibility guide:
|
|
44
|
+
https://docs.videosdk.live/react/guide/video-and-audio-calling-api-sdk/supported-browser
|
|
53
45
|
|
|
54
|
-
|
|
46
|
+
---
|
|
55
47
|
|
|
56
|
-
|
|
48
|
+
## π― Live Demo
|
|
57
49
|
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
64
|
-
```js
|
|
65
|
-
yarn add @videosdk.live/react-sdk
|
|
66
|
-
```
|
|
53
|
+
---
|
|
67
54
|
|
|
68
|
-
|
|
55
|
+
## βοΈ Installation
|
|
69
56
|
|
|
70
|
-
|
|
57
|
+
Get started by installing `@videosdk.live/react-sdk` in your React application.
|
|
71
58
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
|
|
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.
|
|
461
|
+
var version = "0.6.8";
|
|
462
462
|
|
|
463
463
|
var MeetingProvider = function MeetingProvider(_ref) {
|
|
464
464
|
var children = _ref.children,
|
package/dist/index.modern.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
79
|
+
"@videosdk.live/js-sdk": "0.5.7",
|
|
78
80
|
"events": "^3.3.0"
|
|
79
81
|
}
|
|
80
82
|
}
|