@rongcloud/plugin-rtc 5.6.9 → 5.6.11
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 +9 -43
- package/dist/index.d.ts +2234 -2451
- package/dist/index.esm.js +14117 -16
- package/dist/index.umd.js +391 -16
- package/package.json +12 -16
- package/dist/index.js +0 -16
package/README.md
CHANGED
|
@@ -1,50 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
## 安装依赖 @rongcloud/plugin-rtc
|
|
1
|
+
## Installation
|
|
3
2
|
|
|
4
|
-
> RTC 消息通信需要依赖 IMLib 进行消息收发,所以需要先安装 IMLib
|
|
5
|
-
### 一、 安装消息通信依赖 IMLib
|
|
6
|
-
|
|
7
|
-
1. 查看最新包所依赖模块
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
npm info "@rongcloud/imlib-next@latest" peerDependencies
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
2. 安装所依赖的模块
|
|
14
|
-
|
|
15
|
-
> npm version > 5.0
|
|
16
|
-
>
|
|
17
|
-
> 将所有依赖安装到 `dependencies` 的位置
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
npx install-peerdeps -x "--save-prod" @rongcloud/imlib-next@latest
|
|
21
3
|
```
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
### 二、 安装音视频通信 RTCLib
|
|
25
|
-
1. 查看最新包所依赖模块
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
npm info "@rongcloud/plugin-rtc@latest" peerDependencies
|
|
4
|
+
npm i @rongcloud/engine@latest @rongcloud/imlib-next@latest
|
|
5
|
+
npm i @rongcloud/plugin-rtc@latest
|
|
29
6
|
```
|
|
30
7
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
> npm version > 5.0
|
|
34
|
-
>
|
|
35
|
-
> 将所有依赖安装到 `dependencies` 的位置
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
npx install-peerdeps -x "--save-prod" @rongcloud/plugin-rtc@latest
|
|
39
|
-
```
|
|
8
|
+
## Use For
|
|
40
9
|
|
|
41
|
-
|
|
10
|
+
* [Meeting](https://doc.rongcloud.cn/meeting/Web/5.X/prepare)
|
|
11
|
+
* [Live](https://doc.rongcloud.cn/live/Web/5.X/prepare)
|
|
42
12
|
|
|
43
|
-
|
|
13
|
+
## Link
|
|
44
14
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
- [初始化](https://doc.rongcloud.cn/live/Web/5.X/quickstart/init)
|
|
48
|
-
- 创建房间并加入
|
|
49
|
-
- 在房间内发布资源
|
|
50
|
-
- 订阅房间内已经发布的资源
|
|
15
|
+
* [APIDoc](https://www.rongcloud.cn/docs/api/js/rtclib/v5/)
|
|
16
|
+
* [Example](https://github.com/rongcloud/rongcloud-rtc-web-demo)
|