@realsee/live 0.5.0-alpha.8 → 0.5.2-dev.1
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/dist/live/createLive.d.ts +1 -1
- package/dist/live/createLiveReact.d.ts +4 -4
- package/dist/live/live.d.ts +1 -1
- package/dist/realsee-live.cjs.development.js +33 -24
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +34 -25
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +849 -1015
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/dist/rtc/BrowserRTC.d.ts +1 -0
- package/dist/typings/rtc/protocol.d.ts +5 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/BrowserRTC.html +10 -10
- package/docs/interfaces/RTCProtocol.html +12 -10
- package/docs/modules.html +10 -4
- package/package.json +6 -5
package/dist/rtc/BrowserRTC.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CheckResult } from 'trtc-js-sdk';
|
|
1
2
|
import { Subscribe } from '../../utils/subscribe';
|
|
2
3
|
import { RTCEventType } from './eventType';
|
|
3
4
|
import { RTCType } from './type';
|
|
@@ -21,6 +22,10 @@ export interface RTCProtocol extends Subscribe<RTCEventType> {
|
|
|
21
22
|
* rtc 实现类型
|
|
22
23
|
*/
|
|
23
24
|
type: RTCType;
|
|
25
|
+
/**
|
|
26
|
+
* 检查rtc的系统依赖是否满足
|
|
27
|
+
*/
|
|
28
|
+
checkRequirement?(): Promise<CheckResult>;
|
|
24
29
|
/**
|
|
25
30
|
* 加入房间。
|
|
26
31
|
* @param voiceId (又称呼`roomId`),当前语音房间Id。
|