agora-electron-sdk 4.1.1 → 4.2.0-beta.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.
Files changed (115) hide show
  1. package/CHANGELOG.md +177 -0
  2. package/js/Private/AgoraBase.js +140 -62
  3. package/js/Private/IAgoraRtcEngine.js +26 -33
  4. package/js/Private/impl/AgoraBaseImpl.js +3 -3
  5. package/js/Private/impl/AgoraMediaBaseImpl.js +15 -5
  6. package/js/Private/impl/IAgoraMediaEngineImpl.js +0 -32
  7. package/js/Private/impl/IAgoraMediaPlayerImpl.js +9 -31
  8. package/js/Private/impl/IAgoraMediaRecorderImpl.js +11 -31
  9. package/js/Private/impl/IAgoraMusicContentCenterImpl.js +4 -63
  10. package/js/Private/impl/IAgoraRtcEngineExImpl.js +30 -28
  11. package/js/Private/impl/IAgoraRtcEngineImpl.js +181 -113
  12. package/js/Private/internal/IrisApiEngine.js +21 -4
  13. package/js/Private/internal/MediaPlayerInternal.js +2 -2
  14. package/js/Private/internal/MediaRecorderInternal.js +18 -13
  15. package/js/Private/internal/RtcEngineExInternal.js +20 -10
  16. package/js/Private/ti/AgoraMediaBase-ti.js +9 -5
  17. package/js/Private/ti/IAgoraMediaPlayer-ti.js +1 -5
  18. package/js/Private/ti/IAgoraMusicContentCenter-ti.js +2 -3
  19. package/js/Private/ti/IAgoraRtcEngine-ti.js +1 -2
  20. package/js/Renderer/RendererManager.js +27 -17
  21. package/js/Renderer/WebGLRenderer/index.js +11 -18
  22. package/js/Renderer/YUVCanvasRenderer/index.js +22 -15
  23. package/package.json +4 -3
  24. package/ts/Private/AgoraBase.ts +134 -56
  25. package/ts/Private/AgoraMediaBase.ts +31 -5
  26. package/ts/Private/IAgoraMediaEngine.ts +0 -10
  27. package/ts/Private/IAgoraMediaPlayer.ts +5 -20
  28. package/ts/Private/IAgoraMediaRecorder.ts +3 -15
  29. package/ts/Private/IAgoraMusicContentCenter.ts +2 -36
  30. package/ts/Private/IAgoraRtcEngine.ts +131 -90
  31. package/ts/Private/IAgoraRtcEngineEx.ts +22 -11
  32. package/ts/Private/extension/IAgoraMediaPlayerExtension.ts +3 -6
  33. package/ts/Private/extension/IAgoraMediaRecorderExtension.ts +5 -0
  34. package/ts/Private/impl/AgoraBaseImpl.ts +3 -3
  35. package/ts/Private/impl/AgoraMediaBaseImpl.ts +34 -4
  36. package/ts/Private/impl/IAgoraMediaEngineImpl.ts +0 -36
  37. package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +18 -41
  38. package/ts/Private/impl/IAgoraMediaRecorderImpl.ts +9 -43
  39. package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +6 -91
  40. package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +61 -46
  41. package/ts/Private/impl/IAgoraRtcEngineImpl.ts +248 -158
  42. package/ts/Private/internal/IrisApiEngine.ts +25 -13
  43. package/ts/Private/internal/MediaPlayerInternal.ts +11 -11
  44. package/ts/Private/internal/MediaRecorderInternal.ts +23 -21
  45. package/ts/Private/internal/RtcEngineExInternal.ts +27 -12
  46. package/ts/Private/ti/AgoraMediaBase-ti.ts +9 -4
  47. package/ts/Private/ti/IAgoraMediaPlayer-ti.ts +0 -5
  48. package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +2 -3
  49. package/ts/Private/ti/IAgoraRtcEngine-ti.ts +1 -2
  50. package/ts/Renderer/RendererManager.ts +29 -17
  51. package/ts/Renderer/WebGLRenderer/index.ts +13 -18
  52. package/ts/Renderer/YUVCanvasRenderer/index.ts +31 -15
  53. package/ts/Types.ts +6 -0
  54. package/types/Private/AgoraBase.d.ts +132 -57
  55. package/types/Private/AgoraBase.d.ts.map +1 -1
  56. package/types/Private/AgoraMediaBase.d.ts +18 -5
  57. package/types/Private/AgoraMediaBase.d.ts.map +1 -1
  58. package/types/Private/IAgoraMediaEngine.d.ts +0 -8
  59. package/types/Private/IAgoraMediaEngine.d.ts.map +1 -1
  60. package/types/Private/IAgoraMediaPlayer.d.ts +3 -16
  61. package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -1
  62. package/types/Private/IAgoraMediaRecorder.d.ts +3 -8
  63. package/types/Private/IAgoraMediaRecorder.d.ts.map +1 -1
  64. package/types/Private/IAgoraMusicContentCenter.d.ts +4 -27
  65. package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -1
  66. package/types/Private/IAgoraRtcEngine.d.ts +107 -75
  67. package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
  68. package/types/Private/IAgoraRtcEngineEx.d.ts +13 -6
  69. package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
  70. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts +1 -1
  71. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts.map +1 -1
  72. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts +3 -3
  73. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -1
  74. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts +5 -1
  75. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -1
  76. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts +1 -1
  77. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -1
  78. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts +1 -1
  79. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts.map +1 -1
  80. package/types/Private/impl/AgoraMediaBaseImpl.d.ts +2 -1
  81. package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -1
  82. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts +0 -4
  83. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -1
  84. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts +6 -9
  85. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -1
  86. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts +6 -9
  87. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -1
  88. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts +2 -8
  89. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -1
  90. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +5 -5
  91. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -1
  92. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +30 -22
  93. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
  94. package/types/Private/internal/IrisApiEngine.d.ts +6 -6
  95. package/types/Private/internal/IrisApiEngine.d.ts.map +1 -1
  96. package/types/Private/internal/MediaPlayerInternal.d.ts +5 -5
  97. package/types/Private/internal/MediaPlayerInternal.d.ts.map +1 -1
  98. package/types/Private/internal/MediaRecorderInternal.d.ts +4 -2
  99. package/types/Private/internal/MediaRecorderInternal.d.ts.map +1 -1
  100. package/types/Private/internal/RtcEngineExInternal.d.ts +6 -6
  101. package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -1
  102. package/types/Private/ti/AgoraMediaBase-ti.d.ts +1 -0
  103. package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -1
  104. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts +0 -1
  105. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -1
  106. package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -1
  107. package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -1
  108. package/types/Renderer/IRenderer.d.ts +1 -1
  109. package/types/Renderer/IRenderer.d.ts.map +1 -1
  110. package/types/Renderer/RendererManager.d.ts +12 -0
  111. package/types/Renderer/RendererManager.d.ts.map +1 -1
  112. package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -1
  113. package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -1
  114. package/types/Types.d.ts +10 -5
  115. package/types/Types.d.ts.map +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,177 @@
1
+
2
+
3
+ # [4.2.0-beta.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.1.1-rc.1...v4.2.0-beta.1) (2023-05-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * `removeListener` not working with same callback ([e8157ce](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/e8157ce8458ced1a27896767ee4b9cb63cf10628))
9
+ * `removeSubscription` not a function ([661840e](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/661840ee0a6d347e94905dc7d5e5d299e6c0d68b))
10
+ * `RendererManager` memory leak ([#952](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/952)) ([421f802](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/421f802a2c27102ba8ff3e165fafe1c65fe26077))
11
+ * `setLocalRenderMode` `setRemoteRenderMode` `setRemoteRenderModeEx` `setLocalVideoMirrorMode` not working ([#951](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/951)) ([27897f2](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/27897f2efbaa1f2cde92b4c578d2d52956c46c82))
12
+ * `setupRemoteVideo` not working ([#950](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/950)) ([1eb1877](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/1eb1877b6c91fba4a7a1f631521292368e4b8361))
13
+ * jira NMS-12422 NMS-12418 ([14bbce6](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/14bbce6e5fcbb2bc82166296a1f56410e5463dc0))
14
+ * NMS-13120 ([1d3f45a](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/1d3f45a536e13cca679012884c827bb7e2ab2887))
15
+ * ProcessVideoRawData not working ([a806482](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/a806482d59acdc0e7160a01a6fdb88ce7c81643b))
16
+
17
+
18
+ ### Features
19
+
20
+ * support main process ([89c2651](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/89c26512cc693103e2f79fdb5eebeb38eac8f2b1))
21
+
22
+ ## [4.1.1-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.1.0...v4.1.1-rc.1) (2023-02-16)
23
+
24
+ # [4.1.0](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.0.1-rc.2...v4.1.0) (2022-12-20)
25
+
26
+
27
+ ### Features
28
+
29
+ * support 4.1.0 ([47003ec](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/47003ec9e67064fa0df864d92bb7b68de690c9f3)), closes [#885](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/885) [#893](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/893) [#897](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/897) [#903](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/903) [#904](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/904) [#907](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/907) [#912](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/912) [#926](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/926) [#931](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/931) [#934](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/934)
30
+
31
+ # [4.1.0](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.0.1-rc.2...v4.1.0) (2022-12-20)
32
+
33
+
34
+ ### Features
35
+
36
+ * support 4.1.0 ([47003ec](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/47003ec9e67064fa0df864d92bb7b68de690c9f3)), closes [#885](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/885) [#893](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/893) [#897](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/897) [#903](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/903) [#904](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/904) [#907](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/907) [#912](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/912) [#926](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/926) [#931](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/931) [#934](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/934)
37
+
38
+ # [4.1.0-rc.4](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.1.0-rc.3...v4.1.0-rc.4) (2022-12-20)
39
+
40
+ # [4.1.0-rc.3](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.1.0-rc.2...v4.1.0-rc.3) (2022-12-20)
41
+
42
+ # [4.1.0-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.1.0-rc.1...v4.1.0-rc.2) (2022-12-20)
43
+
44
+ # [4.1.0-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.0.0...v4.1.0-rc.1) (2022-12-20)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * `deviceCapabilityNumber` issue ([58a38ae](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/58a38ae9046750f35a90a55fe72f4f4dbacbb1b4))
50
+ * `getPlaybackDeviceInfo` and `getRecordingDeviceInfo` issue ([6517c6c](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/6517c6cd96539e4556ca01f3b10376c3ccdab50a))
51
+ * `LocalTranscoderConfiguration` json parse issue #EP-172 ([45cbfe3](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/45cbfe3c04a493a3e888afde6f4bdff898e4ea5d)), closes [#EP-172](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/EP-172)
52
+ * add `setDualStreamMode` method ([9f18cfc](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/9f18cfcdefbea4cb7a3c1948d0e6a0c911a5016a))
53
+ * c++ compile error ([598d04a](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/598d04a2c770fb56f76ecb6e3599fd1407c47f3d))
54
+ * js exception in callback will cause c++ crash #jira/CSD-50832 ([#931](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/931)) ([0e1aaca](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/0e1aacad103f024d4ea1a5d768a88fbbebd1911c))
55
+ * the event which named contains `Ex` not triggered issue (such as `onTokenPrivilegeWillExpire`) ([#892](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/892)) ([abe8b55](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/abe8b55f09c8af23cb9f578c0643d176852cbe11))
56
+
57
+
58
+ ### Features
59
+
60
+ * add `getPlaybackDefaultDevice` and `getRecordingDefaultDevice` ([a6d5501](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/a6d5501860d1ebde57b1dc4463dfd86bbf306463))
61
+ * MusicContentEventHandler ([#907](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/907)) ([cd14d67](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/cd14d6726819343495cc671fad688258ab317e14))
62
+ * support 4.1.0 iris ([#885](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/885)) ([741f024](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/741f0242d7d23c9f92ab10dd1d37acee6a49b400))
63
+
64
+ # [4.0.0](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.0.0-rc.3...v4.0.0) (2022-09-28)
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * set windows msvc link as MT ([341c9ee](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/341c9ee600d5230ac40dd8c6b0226dfaaf96354e))
70
+ * some AudioFrameObserver & VideoFrameObserver issue ([58063be](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/58063be50f8156e24118b707dfe14fd28f03f405))
71
+
72
+
73
+ ### Features
74
+
75
+ * complete,hook ([#881](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/881)) ([a9f679b](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/a9f679b73bb6896e84106a3284e49c86b8ba4927))
76
+
77
+
78
+ ### Reverts
79
+
80
+ * iris url ([60492eb](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/60492ebccb79929a0ff206f013ffd24ba2b2e106))
81
+
82
+ # [4.0.0-rc.3](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.0.0-rc.2...v4.0.0-rc.3) (2022-09-14)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * npm install failed ([8b04ff4](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/8b04ff49a6d7b2b5d54188bb7628bb095f629736))
88
+
89
+ # [4.0.0-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.0.0-rc.1...v4.0.0-rc.2) (2022-09-13)
90
+
91
+
92
+ ### Bug Fixes
93
+
94
+ * cross-env-shell error ([cfdf132](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/cfdf132fe983f897919c32d4513c89249d2f2826))
95
+
96
+ # 4.0.0-rc.1 (2022-09-13)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * build error on windows x64 ([9331172](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/9331172b2ba2db5bf72323a23b7a2ac5b7ebeeb5))
102
+ * download addon version issue ([19d542c](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/19d542c7d9ceba9226ac25ad4f6a4c361d47f31b))
103
+ * setPlayerOptionInInt setPlayerOptionInString this issue ([268ad3b](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/268ad3ba051b15309248151e7be49a35962d8b2b))
104
+ * some issue about AgoraRendererManager ([3415871](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/3415871b0d5a2e93086e8e88ce50d296ab994fff))
105
+ * **fix localaccesspointconfiguration:** fix LocalAccessPointConfiguration ([bf9814f](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/bf9814f0316bde140a7338ecd553da50e9738208))
106
+
107
+
108
+ ### Features
109
+
110
+ * support native 4.0.0-rc.1 ([352a5bb](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/352a5bb654fdd1ce317ebb5d1c0e5e23ecc9f330))
111
+ * **add ci for changelog:** use husky conventional-changelog-cli @commitlint/config-conventional ([e1facd9](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/e1facd9244b6eb18e503493f9cc14af99f09938b))
112
+
113
+ # [4.0.0-beta.3](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/compare/v4.0.0-beta.2...v4.0.0-beta.3) (2022-07-19)
114
+
115
+
116
+ ### Bug Fixes
117
+
118
+ * build error on windows x64 ([9331172](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/9331172b2ba2db5bf72323a23b7a2ac5b7ebeeb5))
119
+ * some issue about AgoraRendererManager ([3415871](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/3415871b0d5a2e93086e8e88ce50d296ab994fff))
120
+
121
+ # [4.0.0-beta.2](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2022-07-13)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * download addon version issue ([19d542c](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/19d542c7d9ceba9226ac25ad4f6a4c361d47f31b))
127
+
128
+ # 4.0.0-beta.1 (2022-07-11)
129
+
130
+
131
+ ### Bug Fixes
132
+
133
+ * **fix localaccesspointconfiguration:** fix LocalAccessPointConfiguration ([bf9814f](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/bf9814f0316bde140a7338ecd553da50e9738208))
134
+
135
+
136
+ ### Features
137
+
138
+ * **add ci for changelog:** use husky conventional-changelog-cli @commitlint/config-conventional ([e1facd9](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/e1facd9244b6eb18e503493f9cc14af99f09938b))
139
+
140
+ ## 3.8.201-alpha.706 (2022-07-05)
141
+
142
+
143
+ ### Bug Fixes
144
+
145
+ * **fix localaccesspointconfiguration:** fix LocalAccessPointConfiguration ([bf9814f](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/bf9814f0316bde140a7338ecd553da50e9738208))
146
+
147
+
148
+ ### Features
149
+
150
+ * **add ci for changelog:** use husky conventional-changelog-cli @commitlint/config-conventional ([e1facd9](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/e1facd9244b6eb18e503493f9cc14af99f09938b))
151
+
152
+
153
+
154
+ ## 3.8.201-alpha.705 (2022-07-05)
155
+
156
+
157
+ ### Features
158
+
159
+ * **add ci for changelog:** use husky conventional-changelog-cli @commitlint/config-conventional ([e1facd9](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/e1facd9244b6eb18e503493f9cc14af99f09938b))
160
+
161
+
162
+
163
+ ## 3.8.201-alpha.629 (2022-06-30)
164
+
165
+
166
+ ### Features
167
+
168
+ * **add ci for changelog:** use husky conventional-changelog-cli @commitlint/config-conventional ([e1facd9](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/e1facd9244b6eb18e503493f9cc14af99f09938b))
169
+
170
+
171
+
172
+ ## 3.8.201-alpha.629 (2022-06-30)
173
+
174
+
175
+ ### Features
176
+
177
+ * **add ci for changelog:** use husky conventional-changelog-cli @commitlint/config-conventional ([e1facd9](https://github.com/AgoraIO-Community/electron-agora-rtc-ng/commit/e1facd9244b6eb18e503493f9cc14af99f09938b))
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ClientRoleOptions = exports.AudienceLatencyLevelType = exports.QualityAdaptIndication = exports.ClientRoleType = exports.RtcStats = exports.WatermarkOptions = exports.WatermarkRatio = exports.Rectangle = exports.SimulcastStreamConfig = exports.SimulcastStreamMode = exports.DataStreamConfig = exports.VideoEncoderConfiguration = exports.CodecCapInfo = exports.CodecCapMask = exports.CameraFormatType = exports.VideoMirrorModeType = exports.AdvanceOptions = exports.EncodingPreference = exports.CompressionPreference = exports.EncodedVideoFrameInfo = exports.VideoSubscriptionOptions = exports.VideoStreamType = exports.H264PacketizeMode = exports.AudioPcmDataInfo = exports.EncodedAudioFrameInfo = exports.EncodedAudioFrameAdvancedSettings = exports.WatermarkFitMode = exports.AudioEncodingType = exports.AudioCodecType = exports.SenderOptions = exports.TCcMode = exports.VideoCodecType = exports.ScreenCaptureCapabilityLevel = exports.VideoDimensions = exports.DegradationPreference = exports.OrientationMode = exports.VideoFrameType = exports.FrameHeight = exports.FrameWidth = exports.FrameRate = exports.VideoOrientation = exports.FitModeType = exports.QualityType = exports.InterfaceIdType = exports.UserOfflineReasonType = exports.AudioSessionOperationRestriction = exports.LicenseErrorType = exports.ErrorCodeType = exports.WarnCodeType = exports.ChannelProfileType = void 0;
4
- exports.VideoCanvas = exports.VideoViewSetupMode = exports.NetworkType = exports.WlAccStats = exports.WlaccSuggestAction = exports.WlaccMessageReason = exports.ClientRoleChangeFailedReason = exports.ConnectionChangedReasonType = exports.LastmileProbeResult = exports.LastmileProbeOneWayResult = exports.LastmileProbeResultState = exports.LastmileProbeConfig = exports.VideoTranscoderError = exports.LocalTranscoderConfiguration = exports.TranscodingVideoStream = exports.LiveTranscoding = exports.TranscodingUser = exports.ConnectionStateType = exports.LiveStreamAdvancedFeature = exports.RtcImage = exports.RtmpStreamingEvent = exports.RtmpStreamPublishErrorType = exports.RtmpStreamPublishState = exports.LocalAudioStats = exports.AudioCodecProfileType = exports.VideoCodecProfileType = exports.VideoCodecTypeForStream = exports.AudioSampleRateType = exports.Packet = exports.DeviceInfo = exports.AudioVolumeInfo = exports.RemoteVideoDownscaleLevel = exports.VideoTrackInfo = exports.RemoteUserState = exports.RemoteVideoStateReason = exports.RemoteVideoState = exports.RemoteAudioStateReason = exports.RemoteAudioState = exports.LocalVideoStreamError = exports.LocalVideoStreamState = exports.LocalAudioStreamError = exports.LocalAudioStreamState = exports.CaptureBrightnessLevelType = exports.ScreenScenarioType = exports.VideoContentHint = exports.VideoFormat = exports.AudioScenarioType = exports.AudioProfileType = exports.ExperiencePoorReason = exports.ExperienceQualityType = void 0;
5
- exports.ScreenAudioParameters = exports.ScreenVideoParameters = exports.ThreadPriorityType = exports.EarMonitoringFilterType = exports.UserInfo = exports.EchoTestConfiguration = exports.StreamPublishState = exports.StreamSubscribeState = exports.MaxUserAccountLengthType = exports.PermissionType = exports.UploadErrorReason = exports.EncryptionErrorType = exports.EncryptionConfig = exports.EncryptionMode = exports.DownlinkNetworkInfo = exports.PeerDownlinkInfo = exports.UplinkNetworkInfo = exports.ChannelMediaRelayConfiguration = exports.ChannelMediaInfo = exports.ChannelMediaRelayState = exports.ChannelMediaRelayEvent = exports.ChannelMediaRelayError = exports.AreaCodeEx = exports.AreaCode = exports.AudioEncodedFrameObserverConfig = exports.AudioRecordingConfiguration = exports.AudioEncodedFrameObserverPosition = exports.AudioFileRecordingType = exports.AudioRecordingQualityType = exports.ScreenCaptureParameters = exports.HeadphoneEqualizerPreset = exports.VoiceConversionPreset = exports.AudioEffectPreset = exports.VoiceBeautifierPreset = exports.AudioTrackConfig = exports.AudioTrackType = exports.SegmentationProperty = exports.SegModelType = exports.VirtualBackgroundSource = exports.BackgroundBlurDegree = exports.BackgroundSourceType = exports.ColorEnhanceOptions = exports.VideoDenoiserOptions = exports.VideoDenoiserLevel = exports.VideoDenoiserMode = exports.LowlightEnhanceOptions = exports.LowLightEnhanceLevel = exports.LowLightEnhanceMode = exports.BeautyOptions = exports.LighteningContrastLevel = void 0;
6
- exports.SpatialAudioParams = exports.VideoRenderingTracingInfo = exports.MediaTraceEvent = exports.ScreenCaptureParameters2 = void 0;
3
+ exports.ExperienceQualityType = exports.ClientRoleOptions = exports.AudienceLatencyLevelType = exports.QualityAdaptIndication = exports.ClientRoleType = exports.RtcStats = exports.WatermarkOptions = exports.WatermarkRatio = exports.Rectangle = exports.SimulcastStreamConfig = exports.SimulcastStreamMode = exports.DataStreamConfig = exports.VideoEncoderConfiguration = exports.CodecCapInfo = exports.CodecCapMask = exports.VideoMirrorModeType = exports.AdvanceOptions = exports.EncodingPreference = exports.CompressionPreference = exports.EncodedVideoFrameInfo = exports.VideoSubscriptionOptions = exports.VideoStreamType = exports.H264PacketizeMode = exports.AudioPcmDataInfo = exports.EncodedAudioFrameInfo = exports.EncodedAudioFrameAdvancedSettings = exports.WatermarkFitMode = exports.AudioEncodingType = exports.AudioCodecType = exports.SenderOptions = exports.TCcMode = exports.VideoCodecType = exports.ScreenCaptureFramerateCapability = exports.VideoDimensions = exports.DegradationPreference = exports.OrientationMode = exports.VideoFrameType = exports.FrameHeight = exports.FrameWidth = exports.FrameRate = exports.VideoOrientation = exports.FitModeType = exports.QualityType = exports.InterfaceIdType = exports.UserOfflineReasonType = exports.AudioSessionOperationRestriction = exports.LicenseErrorType = exports.ErrorCodeType = exports.WarnCodeType = exports.ChannelProfileType = void 0;
4
+ exports.VideoViewSetupMode = exports.NetworkType = exports.WlAccStats = exports.WlaccSuggestAction = exports.WlaccMessageReason = exports.ClientRoleChangeFailedReason = exports.ConnectionChangedReasonType = exports.LastmileProbeResult = exports.LastmileProbeOneWayResult = exports.LastmileProbeResultState = exports.LastmileProbeConfig = exports.VideoTranscoderError = exports.LocalTranscoderConfiguration = exports.TranscodingVideoStream = exports.LiveTranscoding = exports.TranscodingUser = exports.ConnectionStateType = exports.LiveStreamAdvancedFeature = exports.RtcImage = exports.RtmpStreamingEvent = exports.RtmpStreamPublishErrorType = exports.RtmpStreamPublishState = exports.LocalAudioStats = exports.AudioCodecProfileType = exports.VideoCodecProfileType = exports.VideoCodecTypeForStream = exports.AudioSampleRateType = exports.Packet = exports.DeviceInfo = exports.AudioVolumeInfo = exports.RemoteVideoDownscaleLevel = exports.VideoTrackInfo = exports.RemoteUserState = exports.RemoteVideoStateReason = exports.RemoteVideoState = exports.RemoteAudioStateReason = exports.RemoteAudioState = exports.LocalVideoStreamError = exports.LocalVideoStreamState = exports.LocalAudioStreamError = exports.LocalAudioStreamState = exports.CaptureBrightnessLevelType = exports.VideoApplicationScenarioType = exports.ScreenScenarioType = exports.VideoContentHint = exports.VideoFormat = exports.AudioScenarioType = exports.AudioProfileType = exports.AudioAinsMode = exports.ExperiencePoorReason = void 0;
5
+ exports.ScreenVideoParameters = exports.ThreadPriorityType = exports.EarMonitoringFilterType = exports.UserInfo = exports.EchoTestConfiguration = exports.StreamPublishState = exports.StreamSubscribeState = exports.MaxUserAccountLengthType = exports.PermissionType = exports.UploadErrorReason = exports.EncryptionErrorType = exports.EncryptionConfig = exports.EncryptionMode = exports.DownlinkNetworkInfo = exports.PeerDownlinkInfo = exports.UplinkNetworkInfo = exports.ChannelMediaRelayConfiguration = exports.ChannelMediaInfo = exports.ChannelMediaRelayState = exports.ChannelMediaRelayEvent = exports.ChannelMediaRelayError = exports.AreaCodeEx = exports.AreaCode = exports.AudioEncodedFrameObserverConfig = exports.AudioRecordingConfiguration = exports.AudioEncodedFrameObserverPosition = exports.AudioFileRecordingType = exports.AudioRecordingQualityType = exports.ScreenCaptureParameters = exports.HeadphoneEqualizerPreset = exports.VoiceConversionPreset = exports.AudioEffectPreset = exports.VoiceBeautifierPreset = exports.AudioTrackConfig = exports.AudioTrackType = exports.SegmentationProperty = exports.SegModelType = exports.VirtualBackgroundSource = exports.BackgroundBlurDegree = exports.BackgroundSourceType = exports.ColorEnhanceOptions = exports.VideoDenoiserOptions = exports.VideoDenoiserLevel = exports.VideoDenoiserMode = exports.LowlightEnhanceOptions = exports.LowLightEnhanceLevel = exports.LowLightEnhanceMode = exports.BeautyOptions = exports.LighteningContrastLevel = exports.VideoCanvas = void 0;
6
+ exports.SpatialAudioParams = exports.RecorderStreamInfo = exports.ConfigFetchType = exports.VideoRenderingTracingInfo = exports.MediaTraceEvent = exports.ScreenCaptureParameters2 = exports.ScreenAudioParameters = void 0;
7
7
  require("./extension/AgoraBaseExtension");
8
8
  /**
9
9
  * The channel profile.
@@ -551,10 +551,6 @@ var InterfaceIdType;
551
551
  * @ignore
552
552
  */
553
553
  InterfaceIdType[InterfaceIdType["AgoraIidLocalSpatialAudio"] = 11] = "AgoraIidLocalSpatialAudio";
554
- /**
555
- * @ignore
556
- */
557
- InterfaceIdType[InterfaceIdType["AgoraIidMediaRecorder"] = 12] = "AgoraIidMediaRecorder";
558
554
  /**
559
555
  * @ignore
560
556
  */
@@ -567,6 +563,10 @@ var InterfaceIdType;
567
563
  * @ignore
568
564
  */
569
565
  InterfaceIdType[InterfaceIdType["AgoraIidMusicContentCenter"] = 15] = "AgoraIidMusicContentCenter";
566
+ /**
567
+ * @ignore
568
+ */
569
+ InterfaceIdType[InterfaceIdType["AgoraIidH265Transcoder"] = 16] = "AgoraIidH265Transcoder";
570
570
  })(InterfaceIdType = exports.InterfaceIdType || (exports.InterfaceIdType = {}));
571
571
  /**
572
572
  * Network quality types.
@@ -791,21 +791,21 @@ exports.VideoDimensions = VideoDimensions;
791
791
  /**
792
792
  * @ignore
793
793
  */
794
- var ScreenCaptureCapabilityLevel;
795
- (function (ScreenCaptureCapabilityLevel) {
794
+ var ScreenCaptureFramerateCapability;
795
+ (function (ScreenCaptureFramerateCapability) {
796
796
  /**
797
797
  * @ignore
798
798
  */
799
- ScreenCaptureCapabilityLevel[ScreenCaptureCapabilityLevel["ScreenCaptureCapabilityLevel15Fps"] = 0] = "ScreenCaptureCapabilityLevel15Fps";
799
+ ScreenCaptureFramerateCapability[ScreenCaptureFramerateCapability["ScreenCaptureFramerateCapability15Fps"] = 0] = "ScreenCaptureFramerateCapability15Fps";
800
800
  /**
801
801
  * @ignore
802
802
  */
803
- ScreenCaptureCapabilityLevel[ScreenCaptureCapabilityLevel["ScreenCaptureCapabilityLevel30Fps"] = 1] = "ScreenCaptureCapabilityLevel30Fps";
803
+ ScreenCaptureFramerateCapability[ScreenCaptureFramerateCapability["ScreenCaptureFramerateCapability30Fps"] = 1] = "ScreenCaptureFramerateCapability30Fps";
804
804
  /**
805
805
  * @ignore
806
806
  */
807
- ScreenCaptureCapabilityLevel[ScreenCaptureCapabilityLevel["ScreenCaptureCapabilityLevel60Fps"] = 2] = "ScreenCaptureCapabilityLevel60Fps";
808
- })(ScreenCaptureCapabilityLevel = exports.ScreenCaptureCapabilityLevel || (exports.ScreenCaptureCapabilityLevel = {}));
807
+ ScreenCaptureFramerateCapability[ScreenCaptureFramerateCapability["ScreenCaptureFramerateCapability60Fps"] = 2] = "ScreenCaptureFramerateCapability60Fps";
808
+ })(ScreenCaptureFramerateCapability = exports.ScreenCaptureFramerateCapability || (exports.ScreenCaptureFramerateCapability = {}));
809
809
  /**
810
810
  * Video codec types.
811
811
  */
@@ -1212,20 +1212,6 @@ var VideoMirrorModeType;
1212
1212
  */
1213
1213
  VideoMirrorModeType[VideoMirrorModeType["VideoMirrorModeDisabled"] = 2] = "VideoMirrorModeDisabled";
1214
1214
  })(VideoMirrorModeType = exports.VideoMirrorModeType || (exports.VideoMirrorModeType = {}));
1215
- /**
1216
- * @ignore
1217
- */
1218
- var CameraFormatType;
1219
- (function (CameraFormatType) {
1220
- /**
1221
- * @ignore
1222
- */
1223
- CameraFormatType[CameraFormatType["CameraFormatNv12"] = 0] = "CameraFormatNv12";
1224
- /**
1225
- * @ignore
1226
- */
1227
- CameraFormatType[CameraFormatType["CameraFormatBgra"] = 1] = "CameraFormatBgra";
1228
- })(CameraFormatType = exports.CameraFormatType || (exports.CameraFormatType = {}));
1229
1215
  /**
1230
1216
  * The bit mask that indicates the device codec capability.
1231
1217
  */
@@ -1257,13 +1243,13 @@ var CodecCapMask;
1257
1243
  */
1258
1244
  class CodecCapInfo {
1259
1245
  /**
1260
- * @ignore
1246
+ * The video codec types. See VideoCodecType .
1261
1247
  */
1262
- codec_type;
1248
+ codecType;
1263
1249
  /**
1264
- * @ignore
1250
+ * The bit mask of the codec type. See CodecCapMask .
1265
1251
  */
1266
- codec_cap_mask;
1252
+ codecCapMask;
1267
1253
  }
1268
1254
  exports.CodecCapInfo = CodecCapInfo;
1269
1255
  /**
@@ -1660,6 +1646,24 @@ var ExperiencePoorReason;
1660
1646
  */
1661
1647
  ExperiencePoorReason[ExperiencePoorReason["WifiBluetoothCoexist"] = 8] = "WifiBluetoothCoexist";
1662
1648
  })(ExperiencePoorReason = exports.ExperiencePoorReason || (exports.ExperiencePoorReason = {}));
1649
+ /**
1650
+ * AI noise reduction modes.
1651
+ */
1652
+ var AudioAinsMode;
1653
+ (function (AudioAinsMode) {
1654
+ /**
1655
+ * 0: (Default) Balance mode. This mode allows for a balanced performance on noice reduction and time delay.
1656
+ */
1657
+ AudioAinsMode[AudioAinsMode["AinsModeBalanced"] = 0] = "AinsModeBalanced";
1658
+ /**
1659
+ * 1: Aggressive mode. In scenarios where high performance on noise reduction is required, such as live streaming outdoor events, This mode reduces nosies more dramatically, but may sometimes affect the original character of the audio.
1660
+ */
1661
+ AudioAinsMode[AudioAinsMode["AinsModeAggressive"] = 1] = "AinsModeAggressive";
1662
+ /**
1663
+ * 2: Aggressive mode with low latency. The noise reduction delay of this mode is about only half of that of the balance and aggressive modes. It is suitable for scenarios that have high requirements on noise reduction with low latency, such as sing together online in real time.
1664
+ */
1665
+ AudioAinsMode[AudioAinsMode["AinsModeUltralowlatency"] = 2] = "AinsModeUltralowlatency";
1666
+ })(AudioAinsMode = exports.AudioAinsMode || (exports.AudioAinsMode = {}));
1663
1667
  /**
1664
1668
  * The audio profile.
1665
1669
  */
@@ -1786,6 +1790,20 @@ var ScreenScenarioType;
1786
1790
  */
1787
1791
  ScreenScenarioType[ScreenScenarioType["ScreenScenarioRdc"] = 4] = "ScreenScenarioRdc";
1788
1792
  })(ScreenScenarioType = exports.ScreenScenarioType || (exports.ScreenScenarioType = {}));
1793
+ /**
1794
+ * The video application scenarios.
1795
+ */
1796
+ var VideoApplicationScenarioType;
1797
+ (function (VideoApplicationScenarioType) {
1798
+ /**
1799
+ * 0: (Default) The general scenario.
1800
+ */
1801
+ VideoApplicationScenarioType[VideoApplicationScenarioType["ApplicationScenarioGeneral"] = 0] = "ApplicationScenarioGeneral";
1802
+ /**
1803
+ * If set to ApplicationScenarioMeeting (1), the SDK automatically enables the following strategies:In meeting scenarios where low-quality video streams are required to have a high bitrate, the SDK automatically enables multiple technologies used to deal with network congestions, to enhance the performance of the low-quality streams and to ensure the smooth reception by subscribers.The SDK monitors the number of subscribers to the high-quality video stream in real time and dynamically adjusts its configuration based on the number of subscribers.If nobody subscribers to the high-quality stream, the SDK automatically reduces its bitrate and frame rate to save upstream bandwidth.If someone subscribes to the high-quality stream, the SDK resets the high-quality stream to the VideoEncoderConfiguration configuration used in the most recent calling of setVideoEncoderConfiguration . If no configuration has been set by the user previously, the following values are used:Resolution: 1280 × 720Frame rate: 15 fpsBitrate: 1600 KbpsThe SDK monitors the number of subscribers to the low-quality video stream in real time and dynamically enables or disables it based on the number of subscribers.If the user has called setDualStreamMode to set that never send low-quality video stream (DisableSimulcastStream), the dynamic adjustment of the low-quality stream in meeting scenarios will not take effect.If nobody subscribes to the low-quality stream, the SDK automatically disables it to save upstream bandwidth.If someone subscribes to the low-quality stream, the SDK enables the low-quality stream and resets it to the SimulcastStreamConfig configuration used in the most recent calling of setDualStreamMode. If no configuration has been set by the user previously, the following values are used:Resolution: 480 × 272Frame rate: 15 fpsBitrate: 500 Kbps1: The meeting scenario.
1804
+ */
1805
+ VideoApplicationScenarioType[VideoApplicationScenarioType["ApplicationScenarioMeeting"] = 1] = "ApplicationScenarioMeeting";
1806
+ })(VideoApplicationScenarioType = exports.VideoApplicationScenarioType || (exports.VideoApplicationScenarioType = {}));
1789
1807
  /**
1790
1808
  * The brightness level of the video image captured by the local camera.
1791
1809
  */
@@ -1928,9 +1946,9 @@ var LocalVideoStreamError;
1928
1946
  */
1929
1947
  LocalVideoStreamError[LocalVideoStreamError["LocalVideoStreamErrorCaptureFailure"] = 4] = "LocalVideoStreamErrorCaptureFailure";
1930
1948
  /**
1931
- * @ignore
1949
+ * 5: The local video encoding fails.
1932
1950
  */
1933
- LocalVideoStreamError[LocalVideoStreamError["LocalVideoStreamErrorCodecNotSupport"] = 5] = "LocalVideoStreamErrorCodecNotSupport";
1951
+ LocalVideoStreamError[LocalVideoStreamError["LocalVideoStreamErrorEncodeFailure"] = 5] = "LocalVideoStreamErrorEncodeFailure";
1934
1952
  /**
1935
1953
  * @ignore
1936
1954
  */
@@ -2364,10 +2382,6 @@ class LocalAudioStats {
2364
2382
  * The delay of the audio device module when playing or recording audio.
2365
2383
  */
2366
2384
  audioDeviceDelay;
2367
- /**
2368
- * @ignore
2369
- */
2370
- audioPlayoutDelay;
2371
2385
  }
2372
2386
  exports.LocalAudioStats = LocalAudioStats;
2373
2387
  /**
@@ -3152,6 +3166,10 @@ class VideoCanvas {
3152
3166
  * (Optional) Display area of the video frame, see Rectangle . width and height represent the video pixel width and height of the area. The default value is null (width or height is 0), which means that the actual resolution of the video frame is displayed.
3153
3167
  */
3154
3168
  cropArea;
3169
+ /**
3170
+ * (Optional) Whether the receiver enables alpha mask rendering:true: The receiver enables alpha mask rendering.false: (default) The receiver disables alpha mask rendering.Alpha mask rendering can create images with transparent effects and extract portraits from videos. When used in combination with other methods, you can implement effects such as picture-in-picture and watermarking.This property applies to macOS only.The receiver can render alpha channel information only when the sender enables alpha transmission.To enable alpha transmission, .
3171
+ */
3172
+ enableAlphaMask;
3155
3173
  }
3156
3174
  exports.VideoCanvas = VideoCanvas;
3157
3175
  /**
@@ -3305,6 +3323,10 @@ exports.ColorEnhanceOptions = ColorEnhanceOptions;
3305
3323
  */
3306
3324
  var BackgroundSourceType;
3307
3325
  (function (BackgroundSourceType) {
3326
+ /**
3327
+ * 0: Process the background as alpha information without replacement, only separating the portrait and the background. After setting this value, you can call startLocalVideoTranscoder to implement the picture-in-picture effect.
3328
+ */
3329
+ BackgroundSourceType[BackgroundSourceType["BackgroundNone"] = 0] = "BackgroundNone";
3308
3330
  /**
3309
3331
  * 1: (Default) The background image is a solid color.
3310
3332
  */
@@ -3317,6 +3339,10 @@ var BackgroundSourceType;
3317
3339
  * 3: The background is a blurred version of the original background.
3318
3340
  */
3319
3341
  BackgroundSourceType[BackgroundSourceType["BackgroundBlur"] = 3] = "BackgroundBlur";
3342
+ /**
3343
+ * 4: The background is a local video in MP4, AVI, MKV, FLV, or other supported formats.
3344
+ */
3345
+ BackgroundSourceType[BackgroundSourceType["BackgroundVideo"] = 4] = "BackgroundVideo";
3320
3346
  })(BackgroundSourceType = exports.BackgroundSourceType || (exports.BackgroundSourceType = {}));
3321
3347
  /**
3322
3348
  * The degree of blurring applied to the custom background image.
@@ -3486,42 +3512,22 @@ var AudioEffectPreset;
3486
3512
  * Turn off voice effects, that is, use the original voice.
3487
3513
  */
3488
3514
  AudioEffectPreset[AudioEffectPreset["AudioEffectOff"] = 0] = "AudioEffectOff";
3489
- /**
3490
- * @ignore
3491
- */
3492
- AudioEffectPreset[AudioEffectPreset["AudioEffectOffHarmony"] = 33620256] = "AudioEffectOffHarmony";
3493
3515
  /**
3494
3516
  * The voice effect typical of a KTV venue.
3495
3517
  */
3496
3518
  AudioEffectPreset[AudioEffectPreset["RoomAcousticsKtv"] = 33620224] = "RoomAcousticsKtv";
3497
- /**
3498
- * @ignore
3499
- */
3500
- AudioEffectPreset[AudioEffectPreset["RoomAcousticsKtvHarmony"] = 33620240] = "RoomAcousticsKtvHarmony";
3501
3519
  /**
3502
3520
  * The voice effect typical of a concert hall.
3503
3521
  */
3504
3522
  AudioEffectPreset[AudioEffectPreset["RoomAcousticsVocalConcert"] = 33620480] = "RoomAcousticsVocalConcert";
3505
- /**
3506
- * @ignore
3507
- */
3508
- AudioEffectPreset[AudioEffectPreset["RoomAcousticsVocalConcertHarmony"] = 33620496] = "RoomAcousticsVocalConcertHarmony";
3509
3523
  /**
3510
3524
  * The voice effect typical of a recording studio.
3511
3525
  */
3512
3526
  AudioEffectPreset[AudioEffectPreset["RoomAcousticsStudio"] = 33620736] = "RoomAcousticsStudio";
3513
- /**
3514
- * @ignore
3515
- */
3516
- AudioEffectPreset[AudioEffectPreset["RoomAcousticsStudioHarmony"] = 33620752] = "RoomAcousticsStudioHarmony";
3517
3527
  /**
3518
3528
  * The voice effect typical of a vintage phonograph.
3519
3529
  */
3520
3530
  AudioEffectPreset[AudioEffectPreset["RoomAcousticsPhonograph"] = 33620992] = "RoomAcousticsPhonograph";
3521
- /**
3522
- * @ignore
3523
- */
3524
- AudioEffectPreset[AudioEffectPreset["RoomAcousticsPhonographHarmony"] = 33621008] = "RoomAcousticsPhonographHarmony";
3525
3531
  /**
3526
3532
  * The virtual stereo effect, which renders monophonic audio as stereo audio.
3527
3533
  */
@@ -3608,6 +3614,50 @@ var VoiceConversionPreset;
3608
3614
  * A deep voice. To avoid audio distortion, ensure that you use this enumerator to process a male-sounding voice.
3609
3615
  */
3610
3616
  VoiceConversionPreset[VoiceConversionPreset["VoiceChangerBass"] = 50398208] = "VoiceChangerBass";
3617
+ /**
3618
+ * @ignore
3619
+ */
3620
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerCartoon"] = 50398464] = "VoiceChangerCartoon";
3621
+ /**
3622
+ * @ignore
3623
+ */
3624
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerChildlike"] = 50398720] = "VoiceChangerChildlike";
3625
+ /**
3626
+ * @ignore
3627
+ */
3628
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerPhoneOperator"] = 50398976] = "VoiceChangerPhoneOperator";
3629
+ /**
3630
+ * @ignore
3631
+ */
3632
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerMonster"] = 50399232] = "VoiceChangerMonster";
3633
+ /**
3634
+ * @ignore
3635
+ */
3636
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerTransformers"] = 50399488] = "VoiceChangerTransformers";
3637
+ /**
3638
+ * @ignore
3639
+ */
3640
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerGroot"] = 50399744] = "VoiceChangerGroot";
3641
+ /**
3642
+ * @ignore
3643
+ */
3644
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerDarthVader"] = 50400000] = "VoiceChangerDarthVader";
3645
+ /**
3646
+ * @ignore
3647
+ */
3648
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerIronLady"] = 50400256] = "VoiceChangerIronLady";
3649
+ /**
3650
+ * @ignore
3651
+ */
3652
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerShinChan"] = 50400512] = "VoiceChangerShinChan";
3653
+ /**
3654
+ * @ignore
3655
+ */
3656
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerGirlishMan"] = 50400768] = "VoiceChangerGirlishMan";
3657
+ /**
3658
+ * @ignore
3659
+ */
3660
+ VoiceConversionPreset[VoiceConversionPreset["VoiceChangerChipmunk"] = 50401024] = "VoiceChangerChipmunk";
3611
3661
  })(VoiceConversionPreset = exports.VoiceConversionPreset || (exports.VoiceConversionPreset = {}));
3612
3662
  /**
3613
3663
  * Preset headphone equalizer types.
@@ -3838,10 +3888,6 @@ var AreaCodeEx;
3838
3888
  * @ignore
3839
3889
  */
3840
3890
  AreaCodeEx[AreaCodeEx["AreaCodeUs"] = 2048] = "AreaCodeUs";
3841
- /**
3842
- * @ignore
3843
- */
3844
- AreaCodeEx[AreaCodeEx["AreaCodeRu"] = 4096] = "AreaCodeRu";
3845
3891
  /**
3846
3892
  * @ignore
3847
3893
  */
@@ -4280,6 +4326,10 @@ class EchoTestConfiguration {
4280
4326
  * The channel name that identifies each audio and video call loop. To ensure proper loop test functionality, the channel name passed in to identify each loop test cannot be the same when users of the same project (App ID) perform audio and video call loop tests on different devices.
4281
4327
  */
4282
4328
  channelId;
4329
+ /**
4330
+ * The time interval (s) between when you start the call and when the recording plays back. The value range is [2, 10], and the default value is 2.
4331
+ */
4332
+ intervalInSeconds;
4283
4333
  }
4284
4334
  exports.EchoTestConfiguration = EchoTestConfiguration;
4285
4335
  /**
@@ -4455,6 +4505,34 @@ class VideoRenderingTracingInfo {
4455
4505
  remoteJoined2PacketReceived;
4456
4506
  }
4457
4507
  exports.VideoRenderingTracingInfo = VideoRenderingTracingInfo;
4508
+ /**
4509
+ * @ignore
4510
+ */
4511
+ var ConfigFetchType;
4512
+ (function (ConfigFetchType) {
4513
+ /**
4514
+ * @ignore
4515
+ */
4516
+ ConfigFetchType[ConfigFetchType["ConfigFetchTypeInitialize"] = 1] = "ConfigFetchTypeInitialize";
4517
+ /**
4518
+ * @ignore
4519
+ */
4520
+ ConfigFetchType[ConfigFetchType["ConfigFetchTypeJoinChannel"] = 2] = "ConfigFetchTypeJoinChannel";
4521
+ })(ConfigFetchType = exports.ConfigFetchType || (exports.ConfigFetchType = {}));
4522
+ /**
4523
+ * @ignore
4524
+ */
4525
+ class RecorderStreamInfo {
4526
+ /**
4527
+ * @ignore
4528
+ */
4529
+ channelId;
4530
+ /**
4531
+ * @ignore
4532
+ */
4533
+ uid;
4534
+ }
4535
+ exports.RecorderStreamInfo = RecorderStreamInfo;
4458
4536
  /**
4459
4537
  * The spatial audio parameters.
4460
4538
  */