@rongcloud/plugin-rtc 5.3.2 → 5.3.5

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.2
3
- * CommitId - f6a1d352339c5cf1f9d56f7e73f887fe69b6198a
4
- * Thu Feb 24 2022 17:58:08 GMT+0800 (China Standard Time)
2
+ * RCRTC - v5.3.5
3
+ * CommitId - 812bb452e2979607773fd0096a3730f9fe5b9198
4
+ * Thu Apr 07 2022 00:50:50 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, IRTCUserData, IRTCJoinedInfo, IPluginGenerator } from '@rongcloud/engine';
@@ -2273,6 +2273,11 @@ declare class RCLivingPKHandler {
2273
2273
  };
2274
2274
  }
2275
2275
 
2276
+ interface IPushOtherRooms {
2277
+ roomId: string;
2278
+ autoMix: boolean;
2279
+ sessionId: string;
2280
+ }
2276
2281
  /**
2277
2282
  * 房间抽象基类
2278
2283
  */
@@ -2501,11 +2506,7 @@ declare abstract class RCAbstractRoom {
2501
2506
  /**
2502
2507
  * 获取跨房间连麦需携带参数 pushOtherRooms 的值
2503
2508
  */
2504
- protected _getPushOtherRoomsParams(): {
2505
- roomId: string;
2506
- sessionId: string;
2507
- autoMix: boolean;
2508
- }[] | undefined;
2509
+ protected _getPushOtherRoomsParams(): IPushOtherRooms[];
2509
2510
  /**
2510
2511
  * ice 断线后,尝试重新走 exchange
2511
2512
  */
@@ -2916,6 +2917,10 @@ declare class RCLivingRoom extends RCAbstractRoom {
2916
2917
  * 离开 PK 房间后,如果参与过连麦,pushOtherRooms 需去掉退出的连麦房间配置,重新和 mediaServer 交互
2917
2918
  */
2918
2919
  private _onLeavePKRoom;
2920
+ /**
2921
+ * @override
2922
+ */
2923
+ protected _getPushOtherRoomsParams(): IPushOtherRooms[];
2919
2924
  /**
2920
2925
  * 携带 pushOtherRooms 与 mediaServer 重新交互
2921
2926
  */