@rongcloud/plugin-rtc 5.3.0 → 5.3.1-alpha.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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCRTC - v5.3.0
3
- * CommitId - 0fcc19dd9364cd4effa9d9ad18172b0519bb4419
4
- * Fri Jan 07 2022 16:25:27 GMT+0800 (China Standard Time)
2
+ * RCRTC - v5.3.1-alpha.1
3
+ * CommitId - a0420f5d363442c8159ff21bc21d606ff601abcb
4
+ * Thu Jan 20 2022 11:04:43 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  import { EventEmitter, LogLevel, RTCMode, IRuntime, RTCPluginContext, IServerRTCRoomEntry, IReceivedMessage, ErrorCode, IJoinRTCRoomData, KVString, RTCJoinType, IRTCJoinedInfo, IPluginGenerator } from '@rongcloud/engine';
@@ -2129,7 +2129,7 @@ declare class RCLivingPKHandler {
2129
2129
  */
2130
2130
  private readonly _onLeavePKRoom;
2131
2131
  /**
2132
- * PK 邀请超时时间
2132
+ * PK 邀请超时时间,默认 30s
2133
2133
  */
2134
2134
  private readonly _inviteTimeout;
2135
2135
  /**
@@ -2813,6 +2813,11 @@ declare class RCLivingRoom extends RCAbstractRoom {
2813
2813
  * 是否是主房间
2814
2814
  */
2815
2815
  _isMainRoom: boolean);
2816
+ /**
2817
+ * resourceId 有效性验证
2818
+ * @param resourceId
2819
+ */
2820
+ protected _isValidResourceId(resourceId: string): boolean;
2816
2821
  getLivingType(): RCLivingType;
2817
2822
  /**
2818
2823
  * 获取 MCU 配置构建对象
@@ -3088,7 +3093,7 @@ declare class RCRTCClient {
3088
3093
  * @param tag 屏幕共享视轨数据标识
3089
3094
  * @param options
3090
3095
  * @description
3091
- * 支持 Electron 平台下通过制定 `chromeMediaSrouceId` 的方式获取屏幕共享视频。
3096
+ * 支持 Electron 平台下通过制定 `chromeMediaSourceId` 的方式获取屏幕共享视频。
3092
3097
  * 参考:https://www.electronjs.org/docs/api/desktop-capturer
3093
3098
  */
3094
3099
  createScreenVideoTrack(tag?: string, options?: IScreenVideoProfile): Promise<{