@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.
@@ -7,6 +7,7 @@ export declare class BrowserRTC extends CoreRTC {
7
7
  micro: boolean;
8
8
  voiceId: string;
9
9
  private _getVoiceSign;
10
+ checkRequirement: () => Promise<import("trtc-js-sdk").CheckResult>;
10
11
  private $dom;
11
12
  private _trtc;
12
13
  constructor(options: {
@@ -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。