@rongcloud/plugin-call 5.0.5-alpha.1 → 5.0.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,13 +1,13 @@
1
1
  /*
2
- * RCCall - v5.0.5-alpha.1
3
- * CommitId - 92132946bea607c42e2d1fe5fe641bed05997834
4
- * Mon Dec 06 2021 16:29:43 GMT+0800 (China Standard Time)
2
+ * RCCall - v5.0.5
3
+ * CommitId - 87afc0755fbba331ed398046c2aa4f5c245a4e42
4
+ * Thu Dec 09 2021 18:19:17 GMT+0800 (China Standard Time)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  import { ConversationType, RTCJoinType, LogLevel, PluginContext, IRuntime, IRTCJoinedInfo, IPluginGenerator } from '@rongcloud/engine';
8
8
  import { RCCallStateMachine, RCCallErrorCode, RCCallMediaType, IUserData, RCCallUserState, RCCallSessionState, IEndSummary, IOfflineRecord, RCCallLanguage, RCCallEndReason, IInvitedUsers } from '@rongcloud/plugin-call-engine';
9
9
  export { IEndSummary, IInvitedUsers, IOfflineRecord, ISenderInfo, RCCallEndReason, RCCallErrorCode, RCCallLanguage, RCCallMediaType, RCCallSessionState, RCCallUserState } from '@rongcloud/plugin-call-engine';
10
- import { RCRTCClient, IMicphoneAudioProfile, RCRTCRoom, RCTrack, RCRTCCode, IRCRTCStateReport, RCRTCPingResult, RCLocalTrack, ICameraVideoProfile } from '@rongcloud/plugin-rtc';
10
+ import { RCRTCClient, IMicphoneAudioProfile, RCTrack, RCRTCCode, IRCRTCStateReport, RCRTCPingResult, RCLocalTrack, ICameraVideoProfile } from '@rongcloud/plugin-rtc';
11
11
 
12
12
  /**
13
13
  * 产生session的场景
@@ -238,10 +238,6 @@ declare class RCCallSession {
238
238
  * 获得mediaType
239
239
  */
240
240
  getMediaType(): RCCallMediaType;
241
- /**
242
- * 获取 RTC Room 实例
243
- */
244
- getRTCRoomInstance(): RCRTCRoom | null;
245
241
  }
246
242
 
247
243
  interface ISender {
@@ -382,14 +378,6 @@ interface ISessionListener {
382
378
  * @since version 5.1.5
383
379
  */
384
380
  onICEConnectionStateChange?: (state: RTCIceConnectionState, session: RCCallSession) => void;
385
- /**
386
- * 接收到房间信令时回调
387
- */
388
- onMessageReceive?: (name: string, content: any, senderUserId: string, messageUId: string, session: RCCallSession) => void;
389
- /**
390
- * 监听房间属性变更通知
391
- */
392
- onRoomAttributeChange?: (name: string, content: string, session: RCCallSession) => void;
393
381
  }
394
382
  /**
395
383
  * 创建session的options
@@ -547,10 +535,9 @@ declare class RCCallClient {
547
535
  */
548
536
  private _removeSession;
549
537
  /**
550
- * 获取加入通话(已加入 RTC 房间)的用户信息
551
- * @param userId 用户 ID
538
+ * 获取己方其他端加入通话(已加入 RTC 房间)的用户信息
552
539
  */
553
- getJoinedUserInfo(userId: string): Promise<{
540
+ getJoinedRoomInfo(): Promise<{
554
541
  code: RCCallErrorCode;
555
542
  data?: IRTCJoinedInfo[];
556
543
  }>;