@rongcloud/plugin-rtc 5.6.3-alpha.6 → 5.6.3-alpha.7

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.6.3-alpha.6
3
- * CommitId - 57278f3bdddf532d3b7f4f3cc38e026fe8569537
4
- * Thu Nov 17 2022 16:28:36 GMT+0800 (中国标准时间)
2
+ * RCRTC - v5.6.3-alpha.7
3
+ * CommitId - 58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce
4
+ * Fri Nov 18 2022 11:53:17 GMT+0800 (中国标准时间)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  import { EventEmitter, BasicLogger, INaviInfo, RTCPluginContext, AbsCodec, IPromiseResult, ErrorCode, KVString, IRuntime, IAsyncRes, ConnectionStatus, ConversationType, ISendMsgOptions, IReceivedMessage, EnableLogL, IPluginGenerator } from '@rongcloud/engine';
package/dist/index.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCRTC - v5.6.3-alpha.6
3
- * CommitId - 57278f3bdddf532d3b7f4f3cc38e026fe8569537
4
- * Thu Nov 17 2022 16:28:36 GMT+0800 (中国标准时间)
2
+ * RCRTC - v5.6.3-alpha.7
3
+ * CommitId - 58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce
4
+ * Fri Nov 18 2022 11:53:17 GMT+0800 (中国标准时间)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  import { EventEmitter, isNumber, validate, isObject as isObject$1, ErrorCode, HttpMethod, isArray, ConnectionStatus, notEmptyObject, notEmptyArray, notEmptyString, isString, RTCMode as RTCMode$1, assert, ConversationType, isHttpUrl, isBoolean, isUndefined, forEach, VersionManage, LogL } from '@rongcloud/engine';
@@ -14800,7 +14800,7 @@ const getCommonHeader$1 = () => ({
14800
14800
  'Content-Type': 'application/json;charset=UTF-8',
14801
14801
  'Cache-Control': 'no-cache',
14802
14802
  ClientType: `web|${browserInfo.browser}|${browserInfo.version}`,
14803
- ClientVersion: "5.6.3-alpha.6",
14803
+ ClientVersion: "5.6.3-alpha.7",
14804
14804
  'Client-Session-Id': getUUID(),
14805
14805
  'Request-Id': Date.now().toString(),
14806
14806
  });
@@ -15376,7 +15376,7 @@ const getCommonHeader = () => ({
15376
15376
  'Content-Type': 'application/json;charset=UTF-8',
15377
15377
  'Cache-Control': 'no-cache',
15378
15378
  ClientType: `web|${browserInfo.browser}|${browserInfo.version}`,
15379
- ClientVersion: "5.6.3-alpha.6",
15379
+ ClientVersion: "5.6.3-alpha.7",
15380
15380
  'Client-Session-Id': getUUID(),
15381
15381
  'Request-Id': Date.now().toString(),
15382
15382
  });
@@ -18684,7 +18684,7 @@ class PolarisReporter {
18684
18684
  * 加入房间
18685
18685
  */
18686
18686
  sendR1() {
18687
- const rtcVersion = "5.6.3-alpha.6";
18687
+ const rtcVersion = "5.6.3-alpha.7";
18688
18688
  const imVersion = this._context.getCoreVersion();
18689
18689
  const platform = 'web';
18690
18690
  const pcName = navigator.platform;
@@ -18834,7 +18834,7 @@ class PolarisHttpReporter {
18834
18834
  _formatR1Data() {
18835
18835
  return {
18836
18836
  joinTime: this._context.userJoinTime || 0,
18837
- rtcVersion: "5.6.3-alpha.6",
18837
+ rtcVersion: "5.6.3-alpha.7",
18838
18838
  imVersion: this._context.getCoreVersion(),
18839
18839
  platform: 'web',
18840
18840
  device: navigator.platform,
@@ -21833,7 +21833,7 @@ class OnSignalReconnectedCommand extends BaseCommand {
21833
21833
  * 处理全量的房间数据
21834
21834
  */
21835
21835
  const CDNUris = (_e = data.roomInfo.filter((item) => item.key === 'cdn_uris')[0]) === null || _e === void 0 ? void 0 : _e.value;
21836
- handleFullRoomData(data, store, this.callbacks, invoker, this.subhook, CDNUris, traceId);
21836
+ yield handleFullRoomData(data, store, this.callbacks, invoker, this.subhook, CDNUris, traceId);
21837
21837
  (_g = (_f = store.context) === null || _f === void 0 ? void 0 : _f.logger) === null || _g === void 0 ? void 0 : _g.info(RCLoggerTag.L_ABSTRACT_ROOM_IM_RECONNECTED_R, JSON.stringify({
21838
21838
  status: RCLoggerStatus.SUCCESSED,
21839
21839
  roomData: data,
@@ -22183,7 +22183,7 @@ class PullRTCRoomStatusCommand extends BaseCommand {
22183
22183
  */
22184
22184
  if (bFullStatus) {
22185
22185
  const { urisData, CDNUris } = transPullFullUsersData(usersData);
22186
- handleFullRoomData(urisData, store, this._callbacks, invoker, this._subhook, CDNUris, this._traceId);
22186
+ yield handleFullRoomData(urisData, store, this._callbacks, invoker, this._subhook, CDNUris, this._traceId);
22187
22187
  return { code };
22188
22188
  }
22189
22189
  /**
@@ -28084,7 +28084,7 @@ class RCRTCClient extends RCMediaStreamCapture {
28084
28084
  }
28085
28085
  reportSDKInfo() {
28086
28086
  this._context.reportSDKInfo({
28087
- 'plugin-rtc': "5.6.3-alpha.6",
28087
+ 'plugin-rtc': "5.6.3-alpha.7",
28088
28088
  });
28089
28089
  }
28090
28090
  }
@@ -29077,7 +29077,7 @@ const installer = {
29077
29077
  console.error('Please use the https protocol or use `http://localhost` to open the page!');
29078
29078
  return false;
29079
29079
  }
29080
- VersionManage.add('plugin-rtc', "5.6.3-alpha.6");
29080
+ VersionManage.add('plugin-rtc', "5.6.3-alpha.7");
29081
29081
  if (!VersionManage.validEngine("^5.6.0")) {
29082
29082
  console.error(`The current engine version '${VersionManage.getInfo().engine}' error, plugin-rtc required engine version at least '${"^5.6.0"}'.`);
29083
29083
  return false;
@@ -29091,8 +29091,8 @@ const installer = {
29091
29091
  RTCLogger.setLogger(originLogger);
29092
29092
  logger.setLogger(originLogger);
29093
29093
  originLogger.warn(RCLoggerTag.L_INDEX_INSTALL_RTC_PLUGIN_O, JSON.stringify({
29094
- 'RCRTC Version': "5.6.3-alpha.6",
29095
- Commit: "57278f3bdddf532d3b7f4f3cc38e026fe8569537",
29094
+ 'RCRTC Version': "5.6.3-alpha.7",
29095
+ Commit: "58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce",
29096
29096
  'browserInfo.browser': browserInfo.browser,
29097
29097
  'browserInfo.supportsUnifiedPlan': browserInfo.supportsUnifiedPlan,
29098
29098
  'browserInfo.version': browserInfo.version,
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCRTC - v5.6.3-alpha.6
3
- * CommitId - 57278f3bdddf532d3b7f4f3cc38e026fe8569537
4
- * Thu Nov 17 2022 16:28:36 GMT+0800 (中国标准时间)
2
+ * RCRTC - v5.6.3-alpha.7
3
+ * CommitId - 58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce
4
+ * Fri Nov 18 2022 11:53:17 GMT+0800 (中国标准时间)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  'use strict';
@@ -14804,7 +14804,7 @@ const getCommonHeader$1 = () => ({
14804
14804
  'Content-Type': 'application/json;charset=UTF-8',
14805
14805
  'Cache-Control': 'no-cache',
14806
14806
  ClientType: `web|${browserInfo.browser}|${browserInfo.version}`,
14807
- ClientVersion: "5.6.3-alpha.6",
14807
+ ClientVersion: "5.6.3-alpha.7",
14808
14808
  'Client-Session-Id': getUUID(),
14809
14809
  'Request-Id': Date.now().toString(),
14810
14810
  });
@@ -15380,7 +15380,7 @@ const getCommonHeader = () => ({
15380
15380
  'Content-Type': 'application/json;charset=UTF-8',
15381
15381
  'Cache-Control': 'no-cache',
15382
15382
  ClientType: `web|${browserInfo.browser}|${browserInfo.version}`,
15383
- ClientVersion: "5.6.3-alpha.6",
15383
+ ClientVersion: "5.6.3-alpha.7",
15384
15384
  'Client-Session-Id': getUUID(),
15385
15385
  'Request-Id': Date.now().toString(),
15386
15386
  });
@@ -18688,7 +18688,7 @@ class PolarisReporter {
18688
18688
  * 加入房间
18689
18689
  */
18690
18690
  sendR1() {
18691
- const rtcVersion = "5.6.3-alpha.6";
18691
+ const rtcVersion = "5.6.3-alpha.7";
18692
18692
  const imVersion = this._context.getCoreVersion();
18693
18693
  const platform = 'web';
18694
18694
  const pcName = navigator.platform;
@@ -18838,7 +18838,7 @@ class PolarisHttpReporter {
18838
18838
  _formatR1Data() {
18839
18839
  return {
18840
18840
  joinTime: this._context.userJoinTime || 0,
18841
- rtcVersion: "5.6.3-alpha.6",
18841
+ rtcVersion: "5.6.3-alpha.7",
18842
18842
  imVersion: this._context.getCoreVersion(),
18843
18843
  platform: 'web',
18844
18844
  device: navigator.platform,
@@ -21837,7 +21837,7 @@ class OnSignalReconnectedCommand extends BaseCommand {
21837
21837
  * 处理全量的房间数据
21838
21838
  */
21839
21839
  const CDNUris = (_e = data.roomInfo.filter((item) => item.key === 'cdn_uris')[0]) === null || _e === void 0 ? void 0 : _e.value;
21840
- handleFullRoomData(data, store, this.callbacks, invoker, this.subhook, CDNUris, traceId);
21840
+ yield handleFullRoomData(data, store, this.callbacks, invoker, this.subhook, CDNUris, traceId);
21841
21841
  (_g = (_f = store.context) === null || _f === void 0 ? void 0 : _f.logger) === null || _g === void 0 ? void 0 : _g.info(RCLoggerTag.L_ABSTRACT_ROOM_IM_RECONNECTED_R, JSON.stringify({
21842
21842
  status: RCLoggerStatus.SUCCESSED,
21843
21843
  roomData: data,
@@ -22187,7 +22187,7 @@ class PullRTCRoomStatusCommand extends BaseCommand {
22187
22187
  */
22188
22188
  if (bFullStatus) {
22189
22189
  const { urisData, CDNUris } = transPullFullUsersData(usersData);
22190
- handleFullRoomData(urisData, store, this._callbacks, invoker, this._subhook, CDNUris, this._traceId);
22190
+ yield handleFullRoomData(urisData, store, this._callbacks, invoker, this._subhook, CDNUris, this._traceId);
22191
22191
  return { code };
22192
22192
  }
22193
22193
  /**
@@ -28088,7 +28088,7 @@ class RCRTCClient extends RCMediaStreamCapture {
28088
28088
  }
28089
28089
  reportSDKInfo() {
28090
28090
  this._context.reportSDKInfo({
28091
- 'plugin-rtc': "5.6.3-alpha.6",
28091
+ 'plugin-rtc': "5.6.3-alpha.7",
28092
28092
  });
28093
28093
  }
28094
28094
  }
@@ -29081,7 +29081,7 @@ const installer = {
29081
29081
  console.error('Please use the https protocol or use `http://localhost` to open the page!');
29082
29082
  return false;
29083
29083
  }
29084
- engine.VersionManage.add('plugin-rtc', "5.6.3-alpha.6");
29084
+ engine.VersionManage.add('plugin-rtc', "5.6.3-alpha.7");
29085
29085
  if (!engine.VersionManage.validEngine("^5.6.0")) {
29086
29086
  console.error(`The current engine version '${engine.VersionManage.getInfo().engine}' error, plugin-rtc required engine version at least '${"^5.6.0"}'.`);
29087
29087
  return false;
@@ -29095,8 +29095,8 @@ const installer = {
29095
29095
  RTCLogger.setLogger(originLogger);
29096
29096
  logger.setLogger(originLogger);
29097
29097
  originLogger.warn(RCLoggerTag.L_INDEX_INSTALL_RTC_PLUGIN_O, JSON.stringify({
29098
- 'RCRTC Version': "5.6.3-alpha.6",
29099
- Commit: "57278f3bdddf532d3b7f4f3cc38e026fe8569537",
29098
+ 'RCRTC Version': "5.6.3-alpha.7",
29099
+ Commit: "58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce",
29100
29100
  'browserInfo.browser': browserInfo.browser,
29101
29101
  'browserInfo.supportsUnifiedPlan': browserInfo.supportsUnifiedPlan,
29102
29102
  'browserInfo.version': browserInfo.version,
package/dist/index.umd.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
- * RCRTC - v5.6.3-alpha.6
3
- * CommitId - 57278f3bdddf532d3b7f4f3cc38e026fe8569537
4
- * Thu Nov 17 2022 16:28:36 GMT+0800 (中国标准时间)
2
+ * RCRTC - v5.6.3-alpha.7
3
+ * CommitId - 58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce
4
+ * Fri Nov 18 2022 11:53:17 GMT+0800 (中国标准时间)
5
5
  * ©2020 RongCloud, Inc. All rights reserved.
6
6
  */
7
7
  (function (global, factory) {
@@ -14804,7 +14804,7 @@
14804
14804
  'Content-Type': 'application/json;charset=UTF-8',
14805
14805
  'Cache-Control': 'no-cache',
14806
14806
  ClientType: `web|${browserInfo.browser}|${browserInfo.version}`,
14807
- ClientVersion: "5.6.3-alpha.6",
14807
+ ClientVersion: "5.6.3-alpha.7",
14808
14808
  'Client-Session-Id': getUUID(),
14809
14809
  'Request-Id': Date.now().toString(),
14810
14810
  });
@@ -15380,7 +15380,7 @@
15380
15380
  'Content-Type': 'application/json;charset=UTF-8',
15381
15381
  'Cache-Control': 'no-cache',
15382
15382
  ClientType: `web|${browserInfo.browser}|${browserInfo.version}`,
15383
- ClientVersion: "5.6.3-alpha.6",
15383
+ ClientVersion: "5.6.3-alpha.7",
15384
15384
  'Client-Session-Id': getUUID(),
15385
15385
  'Request-Id': Date.now().toString(),
15386
15386
  });
@@ -18688,7 +18688,7 @@
18688
18688
  * 加入房间
18689
18689
  */
18690
18690
  sendR1() {
18691
- const rtcVersion = "5.6.3-alpha.6";
18691
+ const rtcVersion = "5.6.3-alpha.7";
18692
18692
  const imVersion = this._context.getCoreVersion();
18693
18693
  const platform = 'web';
18694
18694
  const pcName = navigator.platform;
@@ -18838,7 +18838,7 @@
18838
18838
  _formatR1Data() {
18839
18839
  return {
18840
18840
  joinTime: this._context.userJoinTime || 0,
18841
- rtcVersion: "5.6.3-alpha.6",
18841
+ rtcVersion: "5.6.3-alpha.7",
18842
18842
  imVersion: this._context.getCoreVersion(),
18843
18843
  platform: 'web',
18844
18844
  device: navigator.platform,
@@ -21837,7 +21837,7 @@
21837
21837
  * 处理全量的房间数据
21838
21838
  */
21839
21839
  const CDNUris = (_e = data.roomInfo.filter((item) => item.key === 'cdn_uris')[0]) === null || _e === void 0 ? void 0 : _e.value;
21840
- handleFullRoomData(data, store, this.callbacks, invoker, this.subhook, CDNUris, traceId);
21840
+ yield handleFullRoomData(data, store, this.callbacks, invoker, this.subhook, CDNUris, traceId);
21841
21841
  (_g = (_f = store.context) === null || _f === void 0 ? void 0 : _f.logger) === null || _g === void 0 ? void 0 : _g.info(RCLoggerTag.L_ABSTRACT_ROOM_IM_RECONNECTED_R, JSON.stringify({
21842
21842
  status: RCLoggerStatus.SUCCESSED,
21843
21843
  roomData: data,
@@ -22187,7 +22187,7 @@
22187
22187
  */
22188
22188
  if (bFullStatus) {
22189
22189
  const { urisData, CDNUris } = transPullFullUsersData(usersData);
22190
- handleFullRoomData(urisData, store, this._callbacks, invoker, this._subhook, CDNUris, this._traceId);
22190
+ yield handleFullRoomData(urisData, store, this._callbacks, invoker, this._subhook, CDNUris, this._traceId);
22191
22191
  return { code };
22192
22192
  }
22193
22193
  /**
@@ -28088,7 +28088,7 @@
28088
28088
  }
28089
28089
  reportSDKInfo() {
28090
28090
  this._context.reportSDKInfo({
28091
- 'plugin-rtc': "5.6.3-alpha.6",
28091
+ 'plugin-rtc': "5.6.3-alpha.7",
28092
28092
  });
28093
28093
  }
28094
28094
  }
@@ -29081,7 +29081,7 @@ message probuf {
29081
29081
  console.error('Please use the https protocol or use `http://localhost` to open the page!');
29082
29082
  return false;
29083
29083
  }
29084
- engine.VersionManage.add('plugin-rtc', "5.6.3-alpha.6");
29084
+ engine.VersionManage.add('plugin-rtc', "5.6.3-alpha.7");
29085
29085
  if (!engine.VersionManage.validEngine("^5.6.0")) {
29086
29086
  console.error(`The current engine version '${engine.VersionManage.getInfo().engine}' error, plugin-rtc required engine version at least '${"^5.6.0"}'.`);
29087
29087
  return false;
@@ -29095,8 +29095,8 @@ message probuf {
29095
29095
  RTCLogger.setLogger(originLogger);
29096
29096
  logger.setLogger(originLogger);
29097
29097
  originLogger.warn(RCLoggerTag.L_INDEX_INSTALL_RTC_PLUGIN_O, JSON.stringify({
29098
- 'RCRTC Version': "5.6.3-alpha.6",
29099
- Commit: "57278f3bdddf532d3b7f4f3cc38e026fe8569537",
29098
+ 'RCRTC Version': "5.6.3-alpha.7",
29099
+ Commit: "58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce",
29100
29100
  'browserInfo.browser': browserInfo.browser,
29101
29101
  'browserInfo.supportsUnifiedPlan': browserInfo.supportsUnifiedPlan,
29102
29102
  'browserInfo.version': browserInfo.version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rongcloud/plugin-rtc",
3
- "version": "5.6.3-alpha.6",
3
+ "version": "5.6.3-alpha.7",
4
4
  "description": "@rongcloud/plugin-rtc",
5
5
  "main": "./dist/index.js",
6
6
  "__attrs__": {
@@ -33,5 +33,5 @@
33
33
  "peerDependencies": {
34
34
  "@rongcloud/engine": "^5.6.0"
35
35
  },
36
- "__commit__": "57278f3bdddf532d3b7f4f3cc38e026fe8569537"
36
+ "__commit__": "58b37e81b5a25ac7a7c2ed16fa4f996fdc6004ce"
37
37
  }