@realsee/live 0.7.3-alpha.0 → 0.7.4

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.
Files changed (143) hide show
  1. package/dist/index.cjs.js +3 -3
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.es.js +687 -130
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/live/controller.d.ts +163 -42
  7. package/dist/live/createLive.d.ts +35 -3
  8. package/dist/live/createLiveReact.d.ts +51 -3
  9. package/dist/live/live.d.ts +501 -50
  10. package/dist/rtc/BrowserRTC.d.ts +63 -0
  11. package/dist/rtc/BrowserRTC4Chime.d.ts +38 -2
  12. package/dist/rtc/CoreRTC.d.ts +65 -1
  13. package/dist/rtc/VRWebViewRTC.d.ts +56 -6
  14. package/dist/typings/live/EventType.d.ts +58 -10
  15. package/dist/typings/live/GetVoiceSign.d.ts +27 -7
  16. package/dist/typings/live/UserInfo.d.ts +70 -0
  17. package/dist/typings/rtc/eventType.d.ts +55 -8
  18. package/dist/utils/appendUri.d.ts +17 -0
  19. package/dist/utils/uuid.d.ts +11 -1
  20. package/docs/.nojekyll +1 -0
  21. package/docs/assets/highlight.css +127 -0
  22. package/docs/assets/icons.js +18 -0
  23. package/docs/assets/icons.svg +1 -0
  24. package/docs/assets/main.js +60 -0
  25. package/docs/assets/navigation.js +1 -0
  26. package/docs/assets/search.js +1 -0
  27. package/docs/assets/style.css +1493 -0
  28. package/docs/classes/BrowserRTC.html +88 -0
  29. package/docs/classes/BrowserRTC4Chime.html +100 -0
  30. package/docs/classes/CoreRTC.html +65 -0
  31. package/docs/classes/Live.html +249 -0
  32. package/docs/classes/Subscribe.html +36 -0
  33. package/docs/classes/VRWebViewRTC.html +72 -0
  34. package/docs/enums/BuiltInRTCType.html +3 -0
  35. package/docs/enums/BuiltinActionType.html +14 -0
  36. package/docs/enums/BuiltinEventType.html +6 -0
  37. package/docs/enums/Command.html +22 -0
  38. package/docs/enums/LiveState.html +8 -0
  39. package/docs/enums/MemUserStatus.html +15 -0
  40. package/docs/enums/MicroStatus.html +6 -0
  41. package/docs/enums/RTCJoinedInfoCodeEnum.html +12 -0
  42. package/docs/enums/RTCType.html +5 -0
  43. package/docs/enums/UserStatus.html +8 -0
  44. package/docs/enums/WebSocketCloseError.html +20 -0
  45. package/docs/enums/WebSocketErrorType.html +8 -0
  46. package/docs/enums/WebSocketState.html +12 -0
  47. package/docs/functions/GetVoiceSignFn.html +20 -0
  48. package/docs/functions/_clearLiveInstanceIfNeed.html +1 -0
  49. package/docs/functions/createLive.html +9 -0
  50. package/docs/functions/createLiveReact.html +110 -0
  51. package/docs/functions/parseLiveMsg.html +4 -0
  52. package/docs/functions/parseWSClsErr.html +1 -0
  53. package/docs/hierarchy.html +1 -0
  54. package/docs/index.html +336 -0
  55. package/docs/interfaces/AttendeeResponse.html +4 -0
  56. package/docs/interfaces/LiveOptions.html +56 -0
  57. package/docs/interfaces/MeetingResponse.html +3 -0
  58. package/docs/interfaces/MeetingSessionConfigurationOptions.html +8 -0
  59. package/docs/interfaces/Permission.html +31 -0
  60. package/docs/interfaces/RTCJoinedInfo.html +7 -0
  61. package/docs/interfaces/RTCProtocol.html +65 -0
  62. package/docs/interfaces/SubscribeMixinType.emit.html +1 -0
  63. package/docs/interfaces/SubscribeMixinType.hasListener.html +1 -0
  64. package/docs/interfaces/SubscribeMixinType.off.html +1 -0
  65. package/docs/interfaces/SubscribeMixinType.on.html +1 -0
  66. package/docs/interfaces/SubscribeMixinType.once.html +1 -0
  67. package/docs/interfaces/VRWebViewRTCOptions.html +22 -0
  68. package/docs/modules/SubscribeMixinType.html +6 -0
  69. package/docs/modules.html +55 -0
  70. package/docs/types/BuiltinMsg.html +2 -0
  71. package/docs/types/EventMap.html +1 -0
  72. package/docs/types/EventType.html +2 -0
  73. package/docs/types/GetVoiceSign.html +3 -0
  74. package/docs/types/GetVoiceSignParams.html +5 -0
  75. package/docs/types/GetVoiceSignReturnType.html +6 -0
  76. package/docs/types/KeyframeEventType.html +2 -0
  77. package/docs/types/LiveBuiltInData.html +1 -0
  78. package/docs/types/LiveConnectOptions.html +8 -0
  79. package/docs/types/LiveEventType.html +41 -0
  80. package/docs/types/LiveMsg.html +2 -0
  81. package/docs/types/LiveProviderPropTypes.html +5 -0
  82. package/docs/types/RTCActionReactCallback.html +1 -0
  83. package/docs/types/RTCEventType.html +29 -0
  84. package/docs/types/ReqLiveMsg.html +6 -0
  85. package/docs/types/RoomInfo.html +1 -0
  86. package/docs/types/UserInfo.html +12 -0
  87. package/docs/types/UserInfoExt.html +5 -0
  88. package/docs/types/UserVolume.html +2 -0
  89. package/docs/types/WebSocketError.html +1 -0
  90. package/package.json +1 -2
  91. package/docs/README.md +0 -437
  92. package/docs/classes/BrowserRTC.md +0 -436
  93. package/docs/classes/BrowserRTC4Chime.md +0 -558
  94. package/docs/classes/CoreRTC.md +0 -448
  95. package/docs/classes/Live.md +0 -770
  96. package/docs/classes/VRWebViewRTC.md +0 -436
  97. package/docs/enumerations/BuiltInRTCType.md +0 -27
  98. package/docs/enumerations/BuiltinActionType.md +0 -81
  99. package/docs/enumerations/BuiltinEventType.md +0 -33
  100. package/docs/enumerations/Command.md +0 -107
  101. package/docs/enumerations/LiveState.md +0 -53
  102. package/docs/enumerations/MemUserStatus.md +0 -67
  103. package/docs/enumerations/MicroStatus.md +0 -33
  104. package/docs/enumerations/RTCJoinedInfoCodeEnum.md +0 -69
  105. package/docs/enumerations/RTCType.md +0 -39
  106. package/docs/enumerations/UserStatus.md +0 -45
  107. package/docs/enumerations/WebSocketCloseError.md +0 -117
  108. package/docs/enumerations/WebSocketErrorType.md +0 -77
  109. package/docs/enumerations/WebSocketState.md +0 -69
  110. package/docs/functions/GetVoiceSignFn.md +0 -27
  111. package/docs/functions/clearLiveInstanceIfNeed.md +0 -17
  112. package/docs/functions/createLive.md +0 -27
  113. package/docs/functions/createLiveReact.md +0 -449
  114. package/docs/functions/parseLiveMsg.md +0 -27
  115. package/docs/functions/parseWSClsErr.md +0 -21
  116. package/docs/globals.md +0 -71
  117. package/docs/interfaces/AttendeeResponse.md +0 -37
  118. package/docs/interfaces/LiveOptions.md +0 -246
  119. package/docs/interfaces/MeetingResponse.md +0 -55
  120. package/docs/interfaces/MeetingSessionConfigurationOptions.md +0 -93
  121. package/docs/interfaces/Permission.md +0 -147
  122. package/docs/interfaces/RTCJoinedInfo.md +0 -67
  123. package/docs/interfaces/RTCProtocol.md +0 -404
  124. package/docs/interfaces/VRWebViewRTCOptions.md +0 -41
  125. package/docs/type-aliases/BuiltinMsg.md +0 -41
  126. package/docs/type-aliases/EventType.md +0 -19
  127. package/docs/type-aliases/GetVoiceSign.md +0 -15
  128. package/docs/type-aliases/GetVoiceSignParams.md +0 -35
  129. package/docs/type-aliases/GetVoiceSignReturnType.md +0 -41
  130. package/docs/type-aliases/KeyframeEventType.md +0 -19
  131. package/docs/type-aliases/LiveBuiltInData.md +0 -47
  132. package/docs/type-aliases/LiveConnectOptions.md +0 -47
  133. package/docs/type-aliases/LiveEventType.md +0 -165
  134. package/docs/type-aliases/LiveMsg.md +0 -53
  135. package/docs/type-aliases/LiveProviderPropTypes.md +0 -27
  136. package/docs/type-aliases/RTCActionReactCallback.md +0 -13
  137. package/docs/type-aliases/RTCEventType.md +0 -65
  138. package/docs/type-aliases/ReqLiveMsg.md +0 -45
  139. package/docs/type-aliases/RoomInfo.md +0 -55
  140. package/docs/type-aliases/UserInfo.md +0 -77
  141. package/docs/type-aliases/UserInfoExt.md +0 -33
  142. package/docs/type-aliases/UserVolume.md +0 -25
  143. package/docs/type-aliases/WebSocketError.md +0 -31
@@ -1,436 +0,0 @@
1
- [**如视 Live SDK**](../README.md) • **Docs**
2
-
3
- ***
4
-
5
- [如视 Live SDK](../globals.md) / VRWebViewRTC
6
-
7
- # Class: VRWebViewRTC
8
-
9
- rtc 基础抽象类
10
-
11
- ## Extends
12
-
13
- - [`CoreRTC`](CoreRTC.md)
14
-
15
- ## Constructors
16
-
17
- ### new VRWebViewRTC()
18
-
19
- > **new VRWebViewRTC**(`__namedParameters`): [`VRWebViewRTC`](VRWebViewRTC.md)
20
-
21
- #### Parameters
22
-
23
- • **\_\_namedParameters**: [`VRWebViewRTCOptions`](../interfaces/VRWebViewRTCOptions.md)
24
-
25
- #### Returns
26
-
27
- [`VRWebViewRTC`](VRWebViewRTC.md)
28
-
29
- #### Overrides
30
-
31
- [`CoreRTC`](CoreRTC.md).[`constructor`](CoreRTC.md#constructors)
32
-
33
- #### Defined in
34
-
35
- rtc/VRWebViewRTC.ts:33
36
-
37
- ## Properties
38
-
39
- ### joined
40
-
41
- > **joined**: `boolean` = `false`
42
-
43
- 是否已经加入房间
44
-
45
- #### Overrides
46
-
47
- [`CoreRTC`](CoreRTC.md).[`joined`](CoreRTC.md#joined)
48
-
49
- #### Defined in
50
-
51
- rtc/VRWebViewRTC.ts:13
52
-
53
- ***
54
-
55
- ### micro
56
-
57
- > **micro**: `boolean` = `false`
58
-
59
- 麦克风状态
60
-
61
- #### Overrides
62
-
63
- [`CoreRTC`](CoreRTC.md).[`micro`](CoreRTC.md#micro)
64
-
65
- #### Defined in
66
-
67
- rtc/VRWebViewRTC.ts:14
68
-
69
- ***
70
-
71
- ### type
72
-
73
- > **type**: [`RTCType`](../enumerations/RTCType.md) = `RTCType.RealseeVRWebViewRTC`
74
-
75
- rtc 实现类型
76
-
77
- #### Overrides
78
-
79
- [`CoreRTC`](CoreRTC.md).[`type`](CoreRTC.md#type)
80
-
81
- #### Defined in
82
-
83
- rtc/VRWebViewRTC.ts:12
84
-
85
- ***
86
-
87
- ### voiceId
88
-
89
- > **voiceId**: `string` = `""`
90
-
91
- 语音房间ID
92
-
93
- #### Overrides
94
-
95
- [`CoreRTC`](CoreRTC.md).[`voiceId`](CoreRTC.md#voiceid)
96
-
97
- #### Defined in
98
-
99
- rtc/VRWebViewRTC.ts:15
100
-
101
- ## Accessors
102
-
103
- ### jsBridge
104
-
105
- > `get` **jsBridge**(): `JSBridgeProtocol`
106
-
107
- #### Returns
108
-
109
- `JSBridgeProtocol`
110
-
111
- #### Defined in
112
-
113
- rtc/VRWebViewRTC.ts:29
114
-
115
- ## Methods
116
-
117
- ### detectMicro()
118
-
119
- > **detectMicro**(): `Promise`\<`boolean`\>
120
-
121
- 监测麦克风权限
122
-
123
- #### Returns
124
-
125
- `Promise`\<`boolean`\>
126
-
127
- #### Overrides
128
-
129
- [`CoreRTC`](CoreRTC.md).[`detectMicro`](CoreRTC.md#detectmicro)
130
-
131
- #### Defined in
132
-
133
- rtc/VRWebViewRTC.ts:296
134
-
135
- ***
136
-
137
- ### emit()
138
-
139
- > **emit**\<`K`\>(`name`, ...`data`): `boolean`
140
-
141
- 触发事件
142
-
143
- #### Type Parameters
144
-
145
- • **K** *extends* keyof [`RTCEventType`](../type-aliases/RTCEventType.md)
146
-
147
- 预设的监听事件名称
148
-
149
- #### Parameters
150
-
151
- • **name**: `K`
152
-
153
- 事件类型
154
-
155
- • ...**data**: `Parameters`\<[`RTCEventType`](../type-aliases/RTCEventType.md)\[`K`\]\>
156
-
157
- 触发事件的数据
158
-
159
- #### Returns
160
-
161
- `boolean`
162
-
163
- canceled 是否被触发取消
164
-
165
- #### Inherited from
166
-
167
- [`CoreRTC`](CoreRTC.md).[`emit`](CoreRTC.md#emit)
168
-
169
- #### Defined in
170
-
171
- utils/subscribe.ts:115
172
-
173
- ***
174
-
175
- ### hasListener()
176
-
177
- > **hasListener**(`name`): `boolean`
178
-
179
- 判断是否注册了事件
180
-
181
- #### Parameters
182
-
183
- • **name**: keyof [`RTCEventType`](../type-aliases/RTCEventType.md)
184
-
185
- 事件类型
186
-
187
- #### Returns
188
-
189
- `boolean`
190
-
191
- #### Inherited from
192
-
193
- [`CoreRTC`](CoreRTC.md).[`hasListener`](CoreRTC.md#haslistener)
194
-
195
- #### Defined in
196
-
197
- utils/subscribe.ts:41
198
-
199
- ***
200
-
201
- ### join()
202
-
203
- > **join**(`options`): `Promise`\<`boolean`\>
204
-
205
- 加入语音房间
206
-
207
- #### Parameters
208
-
209
- • **options**
210
-
211
- • **options.roomId**: `string`
212
-
213
- • **options.type**: [`RTCType`](../enumerations/RTCType.md)
214
-
215
- • **options.userId**: `string`
216
-
217
- • **options.voiceId**: `string`
218
-
219
- #### Returns
220
-
221
- `Promise`\<`boolean`\>
222
-
223
- #### Overrides
224
-
225
- [`CoreRTC`](CoreRTC.md).[`join`](CoreRTC.md#join)
226
-
227
- #### Defined in
228
-
229
- rtc/VRWebViewRTC.ts:69
230
-
231
- ***
232
-
233
- ### off()
234
-
235
- > **off**\<`K`\>(`name`?, `callback`?): `void`
236
-
237
- 解除事件
238
-
239
- 如果 name 不传的话解除对应所有事件
240
- 如果 name, callback 不传的话解除所有name的所有事件
241
-
242
- #### Type Parameters
243
-
244
- • **K** *extends* keyof [`RTCEventType`](../type-aliases/RTCEventType.md)
245
-
246
- 预设的监听事件名称
247
-
248
- #### Parameters
249
-
250
- • **name?**: `K`
251
-
252
- 事件类型
253
-
254
- • **callback?**
255
-
256
- 事件回调函数
257
-
258
- #### Returns
259
-
260
- `void`
261
-
262
- #### Inherited from
263
-
264
- [`CoreRTC`](CoreRTC.md).[`off`](CoreRTC.md#off)
265
-
266
- #### Defined in
267
-
268
- utils/subscribe.ts:87
269
-
270
- ***
271
-
272
- ### on()
273
-
274
- > **on**\<`K`\>(`name`, `callback`, `once`?): () => `void`
275
-
276
- 注册事件
277
-
278
- #### Type Parameters
279
-
280
- • **K** *extends* keyof [`RTCEventType`](../type-aliases/RTCEventType.md)
281
-
282
- 预设的监听事件名称
283
-
284
- #### Parameters
285
-
286
- • **name**: `K`
287
-
288
- 事件类型
289
-
290
- • **callback**
291
-
292
- 事件回调函数
293
-
294
- • **once?**: `boolean`
295
-
296
- 是否只执行一次
297
-
298
- #### Returns
299
-
300
- `Function`
301
-
302
- 解除事件
303
-
304
- ##### Returns
305
-
306
- `void`
307
-
308
- #### Inherited from
309
-
310
- [`CoreRTC`](CoreRTC.md).[`on`](CoreRTC.md#on)
311
-
312
- #### Defined in
313
-
314
- utils/subscribe.ts:55
315
-
316
- ***
317
-
318
- ### once()
319
-
320
- > **once**\<`K`\>(`name`, `callback`): () => `void`
321
-
322
- 注册事件(是否只执行一次)
323
-
324
- #### Type Parameters
325
-
326
- • **K** *extends* keyof [`RTCEventType`](../type-aliases/RTCEventType.md)
327
-
328
- 预设的监听事件名称
329
-
330
- #### Parameters
331
-
332
- • **name**: `K`
333
-
334
- 事件类型
335
-
336
- • **callback**
337
-
338
- 事件回调函数
339
-
340
- #### Returns
341
-
342
- `Function`
343
-
344
- 解除事件
345
-
346
- ##### Returns
347
-
348
- `void`
349
-
350
- #### Inherited from
351
-
352
- [`CoreRTC`](CoreRTC.md).[`once`](CoreRTC.md#once)
353
-
354
- #### Defined in
355
-
356
- utils/subscribe.ts:74
357
-
358
- ***
359
-
360
- ### quit()
361
-
362
- > **quit**(): `Promise`\<`boolean`\>
363
-
364
- 退出房间
365
-
366
- #### Returns
367
-
368
- `Promise`\<`boolean`\>
369
-
370
- #### Overrides
371
-
372
- [`CoreRTC`](CoreRTC.md).[`quit`](CoreRTC.md#quit)
373
-
374
- #### Defined in
375
-
376
- rtc/VRWebViewRTC.ts:281
377
-
378
- ***
379
-
380
- ### reJoin()
381
-
382
- > **reJoin**(): `Promise`\<`boolean`\>
383
-
384
- 重连
385
-
386
- #### Returns
387
-
388
- `Promise`\<`boolean`\>
389
-
390
- #### Defined in
391
-
392
- rtc/VRWebViewRTC.ts:111
393
-
394
- ***
395
-
396
- ### shock()
397
-
398
- > **shock**(): `void`
399
-
400
- 震动
401
-
402
- #### Returns
403
-
404
- `void`
405
-
406
- #### Overrides
407
-
408
- [`CoreRTC`](CoreRTC.md).[`shock`](CoreRTC.md#shock)
409
-
410
- #### Defined in
411
-
412
- rtc/VRWebViewRTC.ts:325
413
-
414
- ***
415
-
416
- ### toggleMicro()
417
-
418
- > **toggleMicro**(`flag`?): `Promise`\<`boolean`\>
419
-
420
- 修改麦克风状态
421
-
422
- #### Parameters
423
-
424
- • **flag?**: `boolean`
425
-
426
- #### Returns
427
-
428
- `Promise`\<`boolean`\>
429
-
430
- #### Overrides
431
-
432
- [`CoreRTC`](CoreRTC.md).[`toggleMicro`](CoreRTC.md#togglemicro)
433
-
434
- #### Defined in
435
-
436
- rtc/VRWebViewRTC.ts:310
@@ -1,27 +0,0 @@
1
- [**如视 Live SDK**](../README.md) • **Docs**
2
-
3
- ***
4
-
5
- [如视 Live SDK](../globals.md) / BuiltInRTCType
6
-
7
- # Enumeration: BuiltInRTCType
8
-
9
- ## Enumeration Members
10
-
11
- ### RealseeXChimeRTC
12
-
13
- > **RealseeXChimeRTC**: `"chime"`
14
-
15
- #### Defined in
16
-
17
- typings/rtc/type.ts:12
18
-
19
- ***
20
-
21
- ### RealseeXTRTC
22
-
23
- > **RealseeXTRTC**: `"trtc"`
24
-
25
- #### Defined in
26
-
27
- typings/rtc/type.ts:11
@@ -1,81 +0,0 @@
1
- [**如视 Live SDK**](../README.md) • **Docs**
2
-
3
- ***
4
-
5
- [如视 Live SDK](../globals.md) / BuiltinActionType
6
-
7
- # Enumeration: BuiltinActionType
8
-
9
- 内置事件行为类型。
10
-
11
- ## Enumeration Members
12
-
13
- ### RoomClose
14
-
15
- > **RoomClose**: `"close"`
16
-
17
- 关闭房间。
18
-
19
- #### Defined in
20
-
21
- typings/live/LiveMsg.ts:90
22
-
23
- ***
24
-
25
- ### UserInfo
26
-
27
- > **UserInfo**: `"change_info"`
28
-
29
- 更新用户信息。
30
-
31
- #### Defined in
32
-
33
- typings/live/LiveMsg.ts:86
34
-
35
- ***
36
-
37
- ### UserMicroStatus
38
-
39
- > **UserMicroStatus**: `"change_micro_status"`
40
-
41
- 修改麦克风状态。
42
-
43
- #### Defined in
44
-
45
- typings/live/LiveMsg.ts:70
46
-
47
- ***
48
-
49
- ### UserMicroStatusSync
50
-
51
- > **UserMicroStatusSync**: `"sync_micro_status"`
52
-
53
- 同步当前用户状态:客户端麦克风状态已经修改成功,通知服务端
54
-
55
- #### Defined in
56
-
57
- typings/live/LiveMsg.ts:74
58
-
59
- ***
60
-
61
- ### UserPermission
62
-
63
- > **UserPermission**: `"change_permission"`
64
-
65
- 调整某些用户的权限。
66
-
67
- #### Defined in
68
-
69
- typings/live/LiveMsg.ts:78
70
-
71
- ***
72
-
73
- ### UserStatus
74
-
75
- > **UserStatus**: `"change_status"`
76
-
77
- 用户状态发生改变。
78
-
79
- #### Defined in
80
-
81
- typings/live/LiveMsg.ts:82
@@ -1,33 +0,0 @@
1
- [**如视 Live SDK**](../README.md) • **Docs**
2
-
3
- ***
4
-
5
- [如视 Live SDK](../globals.md) / BuiltinEventType
6
-
7
- # Enumeration: BuiltinEventType
8
-
9
- 内置事件类型。
10
-
11
- ## Enumeration Members
12
-
13
- ### RoomChange
14
-
15
- > **RoomChange**: `"room_change"`
16
-
17
- 变更房间状态。
18
-
19
- #### Defined in
20
-
21
- typings/live/LiveMsg.ts:60
22
-
23
- ***
24
-
25
- ### UserChange
26
-
27
- > **UserChange**: `"user_change"`
28
-
29
- 变更用户状态。
30
-
31
- #### Defined in
32
-
33
- typings/live/LiveMsg.ts:56
@@ -1,107 +0,0 @@
1
- [**如视 Live SDK**](../README.md) • **Docs**
2
-
3
- ***
4
-
5
- [如视 Live SDK](../globals.md) / Command
6
-
7
- # Enumeration: Command
8
-
9
- WebSocket 通信指令
10
- - 下行:服务端推送数据
11
- - 上行:客户端上报数据
12
-
13
- ## Enumeration Members
14
-
15
- ### BuiltinMsg
16
-
17
- > **BuiltinMsg**: `"BUILTIN_MSG"`
18
-
19
- 内置消息:下行、上行
20
-
21
- #### Defined in
22
-
23
- typings/live/LiveMsg.ts:16
24
-
25
- ***
26
-
27
- ### CustomEvent
28
-
29
- > **CustomEvent**: `"CUSTOM_EVENT"`
30
-
31
- 自定义广播事件消息:下行、上行
32
-
33
- #### Defined in
34
-
35
- typings/live/LiveMsg.ts:18
36
-
37
- ***
38
-
39
- ### KeyframeSync
40
-
41
- > **KeyframeSync**: `"KEYFRAME_SYNC"`
42
-
43
- 帧数据同步:下行、上行
44
-
45
- #### Defined in
46
-
47
- typings/live/LiveMsg.ts:20
48
-
49
- ***
50
-
51
- ### RoomInfo
52
-
53
- > **RoomInfo**: `"ROOM_INFO"`
54
-
55
- 房间信息:下行
56
-
57
- #### Defined in
58
-
59
- typings/live/LiveMsg.ts:10
60
-
61
- ***
62
-
63
- ### RTCInfo
64
-
65
- > **RTCInfo**: `"RTC_INFO"`
66
-
67
- RTC信息:下行
68
-
69
- #### Defined in
70
-
71
- typings/live/LiveMsg.ts:12
72
-
73
- ***
74
-
75
- ### SelfUserInfo
76
-
77
- > **SelfUserInfo**: `"SELF_USER_INFO"`
78
-
79
- 当前用户信息:下行
80
-
81
- #### Defined in
82
-
83
- typings/live/LiveMsg.ts:8
84
-
85
- ***
86
-
87
- ### UserKickOut
88
-
89
- > **UserKickOut**: `"USER_KICK_OUT"`
90
-
91
- 被踢出房间:下行
92
-
93
- #### Defined in
94
-
95
- typings/live/LiveMsg.ts:22
96
-
97
- ***
98
-
99
- ### UserList
100
-
101
- > **UserList**: `"USER_LIST"`
102
-
103
- 用户列表:下行
104
-
105
- #### Defined in
106
-
107
- typings/live/LiveMsg.ts:14
@@ -1,53 +0,0 @@
1
- [**如视 Live SDK**](../README.md) • **Docs**
2
-
3
- ***
4
-
5
- [如视 Live SDK](../globals.md) / LiveState
6
-
7
- # Enumeration: LiveState
8
-
9
- ## Enumeration Members
10
-
11
- ### CLOSED
12
-
13
- > **CLOSED**: `3`
14
-
15
- 连接已关闭或者链接失败
16
-
17
- #### Defined in
18
-
19
- typings/live/LiveState.ts:20
20
-
21
- ***
22
-
23
- ### CONNECTING
24
-
25
- > **CONNECTING**: `0`
26
-
27
- 正在链接中
28
-
29
- #### Defined in
30
-
31
- typings/live/LiveState.ts:10
32
-
33
- ***
34
-
35
- ### NOTINITIALIZED
36
-
37
- > **NOTINITIALIZED**: `-1`
38
-
39
- #### Defined in
40
-
41
- typings/live/LiveState.ts:5
42
-
43
- ***
44
-
45
- ### OPEN
46
-
47
- > **OPEN**: `1`
48
-
49
- 已经链接并且可以通讯
50
-
51
- #### Defined in
52
-
53
- typings/live/LiveState.ts:15