agora-rte-sdk 3.10.0 → 3.10.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/lib/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  export type { AgoraRteScene } from './core/scene/type';
2
2
  export type { AgoraRteUserInfo, AgoraRteStreamJoinConfig, AgoraRteLocalStreamCreateConfig, AgoraRteScenePropertiesUpdatedEvent, AgoraRteScenePropertiesDeletedEvent, AgoraRteNetworkQualityEvent, AgoraRteMediaStreamEvent, } from './core/scene/type';
3
3
  export type { AgoraRteMediaControl } from './core/media/type';
4
- export type { AgoraRteCameraPosition } from './core/media/type';
4
+ export { AgoraRteCameraPosition } from './core/media/type';
5
5
  export type { AgoraRteEngineConfig, AgoraRteMessage, AgoraRteDualVideoStreamConfig } from './type';
6
6
  export { AgoraRteConnectionState, AgoraRteLatencyLevel, AgoraRteRegion } from './type';
7
7
  export type { AgoraRtePerformanceInfo } from './core/monitor/type';
8
8
  export type { AgoraRtcNetworkStats, AgoraRtcWindowInfo, AgoraRtcDisplayInfo, AgoraRtcDeviceInfo, AgoraRtcPlayAudioRawDataObserver, AgoraRtcLocalVideoStats, AgoraRtcLocalAudioStats, AgoraRtcRemoteVideoStats, AgoraRtcRemoteAudioStats, AgoraRtcDimensions, } from './core/rtc/type';
9
+ export { AgoraRteVideoOutputOrientationMode } from './core/rtc/type';
9
10
  export type { AgoraRteStreamEncryptionConfig } from './core/type';
10
11
  export type { AgoraRteMonitor } from './core/monitor';
11
12
  export type { AgoraRteMediaControlObserver, AgoraRteScreenCaptureType } from './core/media/type';
package/lib/index.js CHANGED
@@ -10,10 +10,16 @@ Object.defineProperty(exports, "AgoraRestfulClientImpl", {
10
10
  return _restfulClient.AgoraRestfulClientImpl;
11
11
  }
12
12
  });
13
+ Object.defineProperty(exports, "AgoraRteCameraPosition", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _type.AgoraRteCameraPosition;
17
+ }
18
+ });
13
19
  Object.defineProperty(exports, "AgoraRteConnectionState", {
14
20
  enumerable: true,
15
21
  get: function get() {
16
- return _type.AgoraRteConnectionState;
22
+ return _type2.AgoraRteConnectionState;
17
23
  }
18
24
  });
19
25
  Object.defineProperty(exports, "AgoraRteEngine", {
@@ -25,13 +31,19 @@ Object.defineProperty(exports, "AgoraRteEngine", {
25
31
  Object.defineProperty(exports, "AgoraRteLatencyLevel", {
26
32
  enumerable: true,
27
33
  get: function get() {
28
- return _type.AgoraRteLatencyLevel;
34
+ return _type2.AgoraRteLatencyLevel;
29
35
  }
30
36
  });
31
37
  Object.defineProperty(exports, "AgoraRteRegion", {
32
38
  enumerable: true,
33
39
  get: function get() {
34
- return _type.AgoraRteRegion;
40
+ return _type2.AgoraRteRegion;
41
+ }
42
+ });
43
+ Object.defineProperty(exports, "AgoraRteVideoOutputOrientationMode", {
44
+ enumerable: true,
45
+ get: function get() {
46
+ return _type3.AgoraRteVideoOutputOrientationMode;
35
47
  }
36
48
  });
37
49
  Object.defineProperty(exports, "convertStreamTypeToPublishState", {
@@ -40,7 +52,9 @@ Object.defineProperty(exports, "convertStreamTypeToPublishState", {
40
52
  return _streamType.convertStreamTypeToPublishState;
41
53
  }
42
54
  });
43
- var _type = require("./type");
55
+ var _type = require("./core/media/type");
56
+ var _type2 = require("./type");
57
+ var _type3 = require("./core/rtc/type");
44
58
  var _streamType = require("./core/scene/helpers/stream-type");
45
59
  var _engine = require("./core/engine");
46
60
  var _restfulClient = require("./plugin/restful-client");
@@ -410,6 +410,7 @@ var AgoraRtcClientImpl = exports.AgoraRtcClientImpl = /*#__PURE__*/function (_Ag
410
410
  sourceManager: this.sourceManager,
411
411
  canvasTagPool: this.canvasTagPool
412
412
  };
413
+
413
414
  // 在RTC SDK先调用 prview 再开采集会导致render异常。
414
415
  // 所以需要保存在_cameraPreviewTaskManager 中,在采集开启的时候开始render
415
416
  if (this._sourceManager.isCameraCapturingByDeviceId(deviceId)) {
package/lib-es/index.js CHANGED
@@ -1,4 +1,6 @@
1
+ export { AgoraRteCameraPosition } from './core/media/type';
1
2
  export { AgoraRteConnectionState, AgoraRteLatencyLevel, AgoraRteRegion } from './type';
3
+ export { AgoraRteVideoOutputOrientationMode } from './core/rtc/type';
2
4
  export { convertStreamTypeToPublishState } from './core/scene/helpers/stream-type';
3
5
  export { AgoraRteEngineImpl as AgoraRteEngine } from './core/engine';
4
6
  export { AgoraRestfulClientImpl } from './plugin/restful-client';
@@ -403,6 +403,7 @@ export var AgoraRtcClientImpl = /*#__PURE__*/function (_AgoraRtcClient) {
403
403
  sourceManager: this.sourceManager,
404
404
  canvasTagPool: this.canvasTagPool
405
405
  };
406
+
406
407
  // 在RTC SDK先调用 prview 再开采集会导致render异常。
407
408
  // 所以需要保存在_cameraPreviewTaskManager 中,在采集开启的时候开始render
408
409
  if (this._sourceManager.isCameraCapturingByDeviceId(deviceId)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-rte-sdk",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "SDK for building interactive scenarios",
5
5
  "author": "agora.io",
6
6
  "license": "ISC",
@@ -29,7 +29,7 @@
29
29
  "@types/sinon": "^17.0.2",
30
30
  "@types/ua-parser-js": "^0.7.35",
31
31
  "agora-token": "^2.0.3",
32
- "agora-toolchain": "3.10.0",
32
+ "agora-toolchain": "3.10.1",
33
33
  "core-js": "^3.33.3",
34
34
  "electron": "22.3.27",
35
35
  "husky": "^9.0.11",
@@ -44,7 +44,7 @@
44
44
  "agora-extension-ai-denoiser": "^1.0.0",
45
45
  "agora-extension-beauty-effect": "^1.0.1-beta",
46
46
  "agora-extension-virtual-background": "^2.1.0",
47
- "agora-foundation": "3.10.0",
47
+ "agora-foundation": "3.10.1",
48
48
  "agora-rtc-sdk-ng": "4.23.3",
49
49
  "agora-rtm": "2.2.2-3",
50
50
  "await-to-js": "^3.0.0",