agora-electron-sdk 4.5.2 → 4.5.3-dev.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 (411) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +6 -3
  3. package/js/example/src/renderer/examples/advanced/VideoEffect/videoEffectHelpers.js +308 -0
  4. package/js/{AgoraSdk.js → ts/AgoraSdk.js} +2 -12
  5. package/js/{Decoder → ts/Decoder}/index.js +1 -1
  6. package/js/{Private → ts/Private}/AgoraBase.js +829 -674
  7. package/js/{Private → ts/Private}/AgoraMediaBase.js +154 -151
  8. package/js/{Private → ts/Private}/AgoraMediaPlayerTypes.js +58 -54
  9. package/js/{Private → ts/Private}/IAgoraLog.js +13 -13
  10. package/js/{Private → ts/Private}/IAgoraMediaEngine.js +4 -4
  11. package/js/{Private → ts/Private}/IAgoraMediaPlayer.js +2 -2
  12. package/js/{Private → ts/Private}/IAgoraMusicContentCenter.js +1 -1
  13. package/js/{Private → ts/Private}/IAgoraRhythmPlayer.js +13 -13
  14. package/js/{Private → ts/Private}/IAgoraRtcEngine.js +150 -94
  15. package/js/{Private → ts/Private}/IAgoraRtcEngineEx.js +3 -3
  16. package/js/{Private → ts/Private}/IAgoraSpatialAudio.js +4 -4
  17. package/js/{Private → ts/Private}/IAudioDeviceManager.js +2 -2
  18. package/js/{Private → ts/Private}/impl/IAgoraMediaPlayerImpl.js +10 -0
  19. package/js/{Private → ts/Private}/impl/IAgoraRtcEngineExImpl.js +74 -0
  20. package/js/{Private → ts/Private}/impl/IAgoraRtcEngineImpl.js +233 -1
  21. package/js/{Private → ts/Private}/internal/IrisApiEngine.js +45 -0
  22. package/js/{Private → ts/Private}/internal/RtcEngineExInternal.js +74 -4
  23. package/js/ts/Private/internal/VideoEffectObjectInternal.js +14 -0
  24. package/js/{Private → ts/Private}/ti/IAgoraRtcEngine-ti.js +2 -0
  25. package/js/{Renderer → ts/Renderer}/AgoraView.js +19 -2
  26. package/js/{Renderer → ts/Renderer}/IRenderer.js +7 -4
  27. package/js/{Renderer → ts/Renderer}/IRendererCache.js +17 -1
  28. package/js/ts/Renderer/RendererCache.js +252 -0
  29. package/js/{Renderer → ts/Renderer}/RendererManager.js +13 -64
  30. package/js/{Renderer → ts/Renderer}/WebCodecsRenderer/index.js +5 -5
  31. package/js/{Renderer → ts/Renderer}/WebCodecsRendererCache.js +13 -1
  32. package/js/{Renderer → ts/Renderer}/WebGLRenderer/index.js +179 -26
  33. package/js/{Renderer → ts/Renderer}/YUVCanvasRenderer/index.js +12 -5
  34. package/js/{Utils.js → ts/Utils.js} +7 -7
  35. package/package.json +25 -12
  36. package/scripts/checkElectron.js +4 -2
  37. package/scripts/download.js +102 -0
  38. package/scripts/downloadPrebuild.js +2 -1
  39. package/scripts/synclib.js +2 -2
  40. package/ts/AgoraSdk.ts +2 -12
  41. package/ts/Decoder/index.ts +5 -1
  42. package/ts/Private/AgoraBase.ts +1259 -1060
  43. package/ts/Private/AgoraMediaBase.ts +351 -324
  44. package/ts/Private/AgoraMediaPlayerTypes.ts +94 -91
  45. package/ts/Private/IAgoraLog.ts +20 -18
  46. package/ts/Private/IAgoraMediaEngine.ts +86 -81
  47. package/ts/Private/IAgoraMediaPlayer.ts +196 -181
  48. package/ts/Private/IAgoraMediaPlayerSource.ts +40 -40
  49. package/ts/Private/IAgoraMusicContentCenter.ts +3 -3
  50. package/ts/Private/IAgoraRhythmPlayer.ts +15 -15
  51. package/ts/Private/IAgoraRtcEngine.ts +2492 -2047
  52. package/ts/Private/IAgoraRtcEngineEx.ts +434 -335
  53. package/ts/Private/IAgoraSpatialAudio.ts +43 -45
  54. package/ts/Private/IAudioDeviceManager.ts +106 -97
  55. package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +12 -0
  56. package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +138 -0
  57. package/ts/Private/impl/IAgoraRtcEngineImpl.ts +331 -0
  58. package/ts/Private/internal/IrisApiEngine.ts +47 -0
  59. package/ts/Private/internal/RtcEngineExInternal.ts +106 -9
  60. package/ts/Private/internal/VideoEffectObjectInternal.ts +14 -0
  61. package/ts/Private/ti/IAgoraRtcEngine-ti.ts +2 -0
  62. package/ts/Renderer/AgoraView.ts +32 -3
  63. package/ts/Renderer/IRenderer.ts +8 -3
  64. package/ts/Renderer/IRendererCache.ts +33 -0
  65. package/ts/Renderer/RendererCache.ts +211 -12
  66. package/ts/Renderer/RendererManager.ts +21 -99
  67. package/ts/Renderer/WebCodecsRenderer/index.ts +9 -6
  68. package/ts/Renderer/WebCodecsRendererCache.ts +17 -1
  69. package/ts/Renderer/WebGLRenderer/index.ts +246 -40
  70. package/ts/Renderer/YUVCanvasRenderer/index.ts +29 -16
  71. package/ts/Types.ts +14 -9
  72. package/ts/Utils.ts +8 -7
  73. package/types/example/src/renderer/examples/advanced/VideoEffect/videoEffectHelpers.d.ts +130 -0
  74. package/types/example/src/renderer/examples/advanced/VideoEffect/videoEffectHelpers.d.ts.map +1 -0
  75. package/types/{AgoraSdk.d.ts → ts/AgoraSdk.d.ts} +2 -12
  76. package/types/ts/AgoraSdk.d.ts.map +1 -0
  77. package/types/ts/Decoder/gpu-utils.d.ts.map +1 -0
  78. package/types/ts/Decoder/index.d.ts.map +1 -0
  79. package/types/ts/Private/AgoraBase.d.ts +5504 -0
  80. package/types/ts/Private/AgoraBase.d.ts.map +1 -0
  81. package/types/ts/Private/AgoraMediaBase.d.ts +1695 -0
  82. package/types/ts/Private/AgoraMediaBase.d.ts.map +1 -0
  83. package/types/ts/Private/AgoraMediaPlayerTypes.d.ts +456 -0
  84. package/types/ts/Private/AgoraMediaPlayerTypes.d.ts.map +1 -0
  85. package/types/ts/Private/IAgoraH265Transcoder.d.ts.map +1 -0
  86. package/types/ts/Private/IAgoraLog.d.ts +91 -0
  87. package/types/ts/Private/IAgoraLog.d.ts.map +1 -0
  88. package/types/ts/Private/IAgoraMediaEngine.d.ts +255 -0
  89. package/types/ts/Private/IAgoraMediaEngine.d.ts.map +1 -0
  90. package/types/ts/Private/IAgoraMediaPlayer.d.ts +662 -0
  91. package/types/ts/Private/IAgoraMediaPlayer.d.ts.map +1 -0
  92. package/types/ts/Private/IAgoraMediaPlayerSource.d.ts +109 -0
  93. package/types/ts/Private/IAgoraMediaPlayerSource.d.ts.map +1 -0
  94. package/types/ts/Private/IAgoraMediaRecorder.d.ts.map +1 -0
  95. package/types/ts/Private/IAgoraMediaStreamingSource.d.ts.map +1 -0
  96. package/types/{Private → ts/Private}/IAgoraMusicContentCenter.d.ts +3 -3
  97. package/types/ts/Private/IAgoraMusicContentCenter.d.ts.map +1 -0
  98. package/types/ts/Private/IAgoraRhythmPlayer.d.ts +65 -0
  99. package/types/ts/Private/IAgoraRhythmPlayer.d.ts.map +1 -0
  100. package/types/ts/Private/IAgoraRtcEngine.d.ts +6504 -0
  101. package/types/ts/Private/IAgoraRtcEngine.d.ts.map +1 -0
  102. package/types/ts/Private/IAgoraRtcEngineEx.d.ts +817 -0
  103. package/types/ts/Private/IAgoraRtcEngineEx.d.ts.map +1 -0
  104. package/types/ts/Private/IAgoraSpatialAudio.d.ts +194 -0
  105. package/types/ts/Private/IAgoraSpatialAudio.d.ts.map +1 -0
  106. package/types/ts/Private/IAudioDeviceManager.d.ts +321 -0
  107. package/types/ts/Private/IAudioDeviceManager.d.ts.map +1 -0
  108. package/types/ts/Private/extension/AgoraBaseExtension.d.ts.map +1 -0
  109. package/types/ts/Private/extension/AgoraMediaBaseExtension.d.ts.map +1 -0
  110. package/types/ts/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +1 -0
  111. package/types/ts/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +1 -0
  112. package/types/ts/Private/extension/IAgoraLogExtension.d.ts.map +1 -0
  113. package/types/ts/Private/extension/IAgoraMediaEngineExtension.d.ts.map +1 -0
  114. package/types/ts/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -0
  115. package/types/ts/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +1 -0
  116. package/types/ts/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -0
  117. package/types/ts/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -0
  118. package/types/ts/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +1 -0
  119. package/types/ts/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +1 -0
  120. package/types/ts/Private/extension/IAgoraRtcEngineExtension.d.ts.map +1 -0
  121. package/types/ts/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +1 -0
  122. package/types/ts/Private/extension/IAudioDeviceManagerExtension.d.ts.map +1 -0
  123. package/types/ts/Private/impl/AgoraBaseImpl.d.ts.map +1 -0
  124. package/types/ts/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -0
  125. package/types/ts/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +1 -0
  126. package/types/ts/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -0
  127. package/types/{Private → ts/Private}/impl/IAgoraMediaPlayerImpl.d.ts +2 -0
  128. package/types/ts/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -0
  129. package/types/ts/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -0
  130. package/types/ts/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -0
  131. package/types/ts/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -0
  132. package/types/{Private → ts/Private}/impl/IAgoraRtcEngineExImpl.d.ts +7 -1
  133. package/types/ts/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
  134. package/types/{Private → ts/Private}/impl/IAgoraRtcEngineImpl.d.ts +27 -1
  135. package/types/ts/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -0
  136. package/types/ts/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -0
  137. package/types/ts/Private/impl/IAudioDeviceManagerImpl.d.ts.map +1 -0
  138. package/types/ts/Private/internal/AgoraH265TranscoderInternal.d.ts.map +1 -0
  139. package/types/ts/Private/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
  140. package/types/ts/Private/internal/AudioDeviceManagerInternal.d.ts.map +1 -0
  141. package/types/ts/Private/internal/IrisApiEngine.d.ts.map +1 -0
  142. package/types/ts/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -0
  143. package/types/ts/Private/internal/MediaEngineInternal.d.ts.map +1 -0
  144. package/types/ts/Private/internal/MediaPlayerInternal.d.ts.map +1 -0
  145. package/types/ts/Private/internal/MediaRecorderInternal.d.ts.map +1 -0
  146. package/types/ts/Private/internal/MusicContentCenterInternal.d.ts.map +1 -0
  147. package/types/{Private → ts/Private}/internal/RtcEngineExInternal.d.ts +10 -4
  148. package/types/ts/Private/internal/RtcEngineExInternal.d.ts.map +1 -0
  149. package/types/ts/Private/internal/VideoEffectObjectInternal.d.ts +7 -0
  150. package/types/ts/Private/internal/VideoEffectObjectInternal.d.ts.map +1 -0
  151. package/types/{Private → ts/Private}/ipc/main.d.ts.map +1 -1
  152. package/types/ts/Private/ipc/renderer.d.ts.map +1 -0
  153. package/types/ts/Private/ti/AgoraBase-ti.d.ts.map +1 -0
  154. package/types/ts/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -0
  155. package/types/ts/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +1 -0
  156. package/types/ts/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +1 -0
  157. package/types/ts/Private/ti/IAgoraLog-ti.d.ts.map +1 -0
  158. package/types/ts/Private/ti/IAgoraMediaEngine-ti.d.ts.map +1 -0
  159. package/types/ts/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -0
  160. package/types/ts/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -0
  161. package/types/ts/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +1 -0
  162. package/types/ts/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +1 -0
  163. package/types/ts/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -0
  164. package/types/ts/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +1 -0
  165. package/types/ts/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -0
  166. package/types/ts/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +1 -0
  167. package/types/ts/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +1 -0
  168. package/types/ts/Private/ti/IAudioDeviceManager-ti.d.ts.map +1 -0
  169. package/types/{Renderer → ts/Renderer}/AgoraView.d.ts +6 -0
  170. package/types/ts/Renderer/AgoraView.d.ts.map +1 -0
  171. package/types/ts/Renderer/CapabilityManager.d.ts.map +1 -0
  172. package/types/{Renderer → ts/Renderer}/IRenderer.d.ts +2 -2
  173. package/types/ts/Renderer/IRenderer.d.ts.map +1 -0
  174. package/types/{Renderer → ts/Renderer}/IRendererCache.d.ts +21 -1
  175. package/types/ts/Renderer/IRendererCache.d.ts.map +1 -0
  176. package/types/{Renderer → ts/Renderer}/RendererCache.d.ts +27 -0
  177. package/types/ts/Renderer/RendererCache.d.ts.map +1 -0
  178. package/types/{Renderer → ts/Renderer}/RendererManager.d.ts +4 -17
  179. package/types/ts/Renderer/RendererManager.d.ts.map +1 -0
  180. package/types/{Renderer → ts/Renderer}/WebCodecsRenderer/index.d.ts +3 -3
  181. package/types/ts/Renderer/WebCodecsRenderer/index.d.ts.map +1 -0
  182. package/types/{Renderer → ts/Renderer}/WebCodecsRendererCache.d.ts +7 -0
  183. package/types/ts/Renderer/WebCodecsRendererCache.d.ts.map +1 -0
  184. package/types/{Renderer → ts/Renderer}/WebGLRenderer/index.d.ts +12 -2
  185. package/types/ts/Renderer/WebGLRenderer/index.d.ts.map +1 -0
  186. package/types/ts/Renderer/WebGLRenderer/webgl-utils.d.ts.map +1 -0
  187. package/types/ts/Renderer/YUVCanvasRenderer/index.d.ts +10 -0
  188. package/types/ts/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -0
  189. package/types/ts/Renderer/index.d.ts.map +1 -0
  190. package/types/{Types.d.ts → ts/Types.d.ts} +11 -6
  191. package/types/ts/Types.d.ts.map +1 -0
  192. package/types/{Utils.d.ts → ts/Utils.d.ts} +1 -1
  193. package/types/ts/Utils.d.ts.map +1 -0
  194. package/js/Renderer/RendererCache.js +0 -100
  195. package/types/AgoraSdk.d.ts.map +0 -1
  196. package/types/Decoder/gpu-utils.d.ts.map +0 -1
  197. package/types/Decoder/index.d.ts.map +0 -1
  198. package/types/Private/AgoraBase.d.ts +0 -5310
  199. package/types/Private/AgoraBase.d.ts.map +0 -1
  200. package/types/Private/AgoraMediaBase.d.ts +0 -1668
  201. package/types/Private/AgoraMediaBase.d.ts.map +0 -1
  202. package/types/Private/AgoraMediaPlayerTypes.d.ts +0 -453
  203. package/types/Private/AgoraMediaPlayerTypes.d.ts.map +0 -1
  204. package/types/Private/IAgoraH265Transcoder.d.ts.map +0 -1
  205. package/types/Private/IAgoraLog.d.ts +0 -89
  206. package/types/Private/IAgoraLog.d.ts.map +0 -1
  207. package/types/Private/IAgoraMediaEngine.d.ts +0 -250
  208. package/types/Private/IAgoraMediaEngine.d.ts.map +0 -1
  209. package/types/Private/IAgoraMediaPlayer.d.ts +0 -648
  210. package/types/Private/IAgoraMediaPlayer.d.ts.map +0 -1
  211. package/types/Private/IAgoraMediaPlayerSource.d.ts +0 -109
  212. package/types/Private/IAgoraMediaPlayerSource.d.ts.map +0 -1
  213. package/types/Private/IAgoraMediaRecorder.d.ts.map +0 -1
  214. package/types/Private/IAgoraMediaStreamingSource.d.ts.map +0 -1
  215. package/types/Private/IAgoraMusicContentCenter.d.ts.map +0 -1
  216. package/types/Private/IAgoraRhythmPlayer.d.ts +0 -65
  217. package/types/Private/IAgoraRhythmPlayer.d.ts.map +0 -1
  218. package/types/Private/IAgoraRtcEngine.d.ts +0 -6103
  219. package/types/Private/IAgoraRtcEngine.d.ts.map +0 -1
  220. package/types/Private/IAgoraRtcEngineEx.d.ts +0 -741
  221. package/types/Private/IAgoraRtcEngineEx.d.ts.map +0 -1
  222. package/types/Private/IAgoraSpatialAudio.d.ts +0 -196
  223. package/types/Private/IAgoraSpatialAudio.d.ts.map +0 -1
  224. package/types/Private/IAudioDeviceManager.d.ts +0 -312
  225. package/types/Private/IAudioDeviceManager.d.ts.map +0 -1
  226. package/types/Private/extension/AgoraBaseExtension.d.ts.map +0 -1
  227. package/types/Private/extension/AgoraMediaBaseExtension.d.ts.map +0 -1
  228. package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +0 -1
  229. package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +0 -1
  230. package/types/Private/extension/IAgoraLogExtension.d.ts.map +0 -1
  231. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts.map +0 -1
  232. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +0 -1
  233. package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +0 -1
  234. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +0 -1
  235. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +0 -1
  236. package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +0 -1
  237. package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +0 -1
  238. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts.map +0 -1
  239. package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +0 -1
  240. package/types/Private/extension/IAudioDeviceManagerExtension.d.ts.map +0 -1
  241. package/types/Private/impl/AgoraBaseImpl.d.ts.map +0 -1
  242. package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +0 -1
  243. package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +0 -1
  244. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +0 -1
  245. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +0 -1
  246. package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +0 -1
  247. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +0 -1
  248. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +0 -1
  249. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +0 -1
  250. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +0 -1
  251. package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +0 -1
  252. package/types/Private/impl/IAudioDeviceManagerImpl.d.ts.map +0 -1
  253. package/types/Private/internal/AgoraH265TranscoderInternal.d.ts.map +0 -1
  254. package/types/Private/internal/AgoraMediaBaseInternal.d.ts.map +0 -1
  255. package/types/Private/internal/AudioDeviceManagerInternal.d.ts.map +0 -1
  256. package/types/Private/internal/IrisApiEngine.d.ts.map +0 -1
  257. package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +0 -1
  258. package/types/Private/internal/MediaEngineInternal.d.ts.map +0 -1
  259. package/types/Private/internal/MediaPlayerInternal.d.ts.map +0 -1
  260. package/types/Private/internal/MediaRecorderInternal.d.ts.map +0 -1
  261. package/types/Private/internal/MusicContentCenterInternal.d.ts.map +0 -1
  262. package/types/Private/internal/RtcEngineExInternal.d.ts.map +0 -1
  263. package/types/Private/ipc/renderer.d.ts.map +0 -1
  264. package/types/Private/ti/AgoraBase-ti.d.ts.map +0 -1
  265. package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +0 -1
  266. package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +0 -1
  267. package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +0 -1
  268. package/types/Private/ti/IAgoraLog-ti.d.ts.map +0 -1
  269. package/types/Private/ti/IAgoraMediaEngine-ti.d.ts.map +0 -1
  270. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +0 -1
  271. package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +0 -1
  272. package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +0 -1
  273. package/types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +0 -1
  274. package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +0 -1
  275. package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +0 -1
  276. package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +0 -1
  277. package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +0 -1
  278. package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +0 -1
  279. package/types/Private/ti/IAudioDeviceManager-ti.d.ts.map +0 -1
  280. package/types/Renderer/AgoraView.d.ts.map +0 -1
  281. package/types/Renderer/CapabilityManager.d.ts.map +0 -1
  282. package/types/Renderer/IRenderer.d.ts.map +0 -1
  283. package/types/Renderer/IRendererCache.d.ts.map +0 -1
  284. package/types/Renderer/RendererCache.d.ts.map +0 -1
  285. package/types/Renderer/RendererManager.d.ts.map +0 -1
  286. package/types/Renderer/WebCodecsRenderer/index.d.ts.map +0 -1
  287. package/types/Renderer/WebCodecsRendererCache.d.ts.map +0 -1
  288. package/types/Renderer/WebGLRenderer/index.d.ts.map +0 -1
  289. package/types/Renderer/WebGLRenderer/webgl-utils.d.ts.map +0 -1
  290. package/types/Renderer/YUVCanvasRenderer/index.d.ts +0 -9
  291. package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +0 -1
  292. package/types/Renderer/index.d.ts.map +0 -1
  293. package/types/Types.d.ts.map +0 -1
  294. package/types/Utils.d.ts.map +0 -1
  295. /package/js/{Decoder → ts/Decoder}/gpu-utils.js +0 -0
  296. /package/js/{Private → ts/Private}/IAgoraH265Transcoder.js +0 -0
  297. /package/js/{Private → ts/Private}/IAgoraMediaPlayerSource.js +0 -0
  298. /package/js/{Private → ts/Private}/IAgoraMediaRecorder.js +0 -0
  299. /package/js/{Private → ts/Private}/IAgoraMediaStreamingSource.js +0 -0
  300. /package/js/{Private → ts/Private}/extension/AgoraBaseExtension.js +0 -0
  301. /package/js/{Private → ts/Private}/extension/AgoraMediaBaseExtension.js +0 -0
  302. /package/js/{Private → ts/Private}/extension/AgoraMediaPlayerTypesExtension.js +0 -0
  303. /package/js/{Private → ts/Private}/extension/IAgoraH265TranscoderExtension.js +0 -0
  304. /package/js/{Private → ts/Private}/extension/IAgoraLogExtension.js +0 -0
  305. /package/js/{Private → ts/Private}/extension/IAgoraMediaEngineExtension.js +0 -0
  306. /package/js/{Private → ts/Private}/extension/IAgoraMediaPlayerExtension.js +0 -0
  307. /package/js/{Private → ts/Private}/extension/IAgoraMediaPlayerSourceExtension.js +0 -0
  308. /package/js/{Private → ts/Private}/extension/IAgoraMediaRecorderExtension.js +0 -0
  309. /package/js/{Private → ts/Private}/extension/IAgoraMusicContentCenterExtension.js +0 -0
  310. /package/js/{Private → ts/Private}/extension/IAgoraRhythmPlayerExtension.js +0 -0
  311. /package/js/{Private → ts/Private}/extension/IAgoraRtcEngineExExtension.js +0 -0
  312. /package/js/{Private → ts/Private}/extension/IAgoraRtcEngineExtension.js +0 -0
  313. /package/js/{Private → ts/Private}/extension/IAgoraSpatialAudioExtension.js +0 -0
  314. /package/js/{Private → ts/Private}/extension/IAudioDeviceManagerExtension.js +0 -0
  315. /package/js/{Private → ts/Private}/impl/AgoraBaseImpl.js +0 -0
  316. /package/js/{Private → ts/Private}/impl/AgoraMediaBaseImpl.js +0 -0
  317. /package/js/{Private → ts/Private}/impl/IAgoraH265TranscoderImpl.js +0 -0
  318. /package/js/{Private → ts/Private}/impl/IAgoraMediaEngineImpl.js +0 -0
  319. /package/js/{Private → ts/Private}/impl/IAgoraMediaPlayerSourceImpl.js +0 -0
  320. /package/js/{Private → ts/Private}/impl/IAgoraMediaRecorderImpl.js +0 -0
  321. /package/js/{Private → ts/Private}/impl/IAgoraMusicContentCenterImpl.js +0 -0
  322. /package/js/{Private → ts/Private}/impl/IAgoraSpatialAudioImpl.js +0 -0
  323. /package/js/{Private → ts/Private}/impl/IAudioDeviceManagerImpl.js +0 -0
  324. /package/js/{Private → ts/Private}/internal/AgoraH265TranscoderInternal.js +0 -0
  325. /package/js/{Private → ts/Private}/internal/AgoraMediaBaseInternal.js +0 -0
  326. /package/js/{Private → ts/Private}/internal/AudioDeviceManagerInternal.js +0 -0
  327. /package/js/{Private → ts/Private}/internal/LocalSpatialAudioEngineInternal.js +0 -0
  328. /package/js/{Private → ts/Private}/internal/MediaEngineInternal.js +0 -0
  329. /package/js/{Private → ts/Private}/internal/MediaPlayerInternal.js +0 -0
  330. /package/js/{Private → ts/Private}/internal/MediaRecorderInternal.js +0 -0
  331. /package/js/{Private → ts/Private}/internal/MusicContentCenterInternal.js +0 -0
  332. /package/js/{Private → ts/Private}/ipc/main.js +0 -0
  333. /package/js/{Private → ts/Private}/ipc/renderer.js +0 -0
  334. /package/js/{Private → ts/Private}/ti/AgoraBase-ti.js +0 -0
  335. /package/js/{Private → ts/Private}/ti/AgoraMediaBase-ti.js +0 -0
  336. /package/js/{Private → ts/Private}/ti/AgoraMediaPlayerTypes-ti.js +0 -0
  337. /package/js/{Private → ts/Private}/ti/IAgoraH265Transcoder-ti.js +0 -0
  338. /package/js/{Private → ts/Private}/ti/IAgoraLog-ti.js +0 -0
  339. /package/js/{Private → ts/Private}/ti/IAgoraMediaEngine-ti.js +0 -0
  340. /package/js/{Private → ts/Private}/ti/IAgoraMediaPlayer-ti.js +0 -0
  341. /package/js/{Private → ts/Private}/ti/IAgoraMediaPlayerSource-ti.js +0 -0
  342. /package/js/{Private → ts/Private}/ti/IAgoraMediaRecorder-ti.js +0 -0
  343. /package/js/{Private → ts/Private}/ti/IAgoraMediaStreamingSource-ti.js +0 -0
  344. /package/js/{Private → ts/Private}/ti/IAgoraMusicContentCenter-ti.js +0 -0
  345. /package/js/{Private → ts/Private}/ti/IAgoraRhythmPlayer-ti.js +0 -0
  346. /package/js/{Private → ts/Private}/ti/IAgoraRtcEngineEx-ti.js +0 -0
  347. /package/js/{Private → ts/Private}/ti/IAgoraSpatialAudio-ti.js +0 -0
  348. /package/js/{Private → ts/Private}/ti/IAudioDeviceManager-ti.js +0 -0
  349. /package/js/{Renderer → ts/Renderer}/CapabilityManager.js +0 -0
  350. /package/js/{Renderer → ts/Renderer}/WebGLRenderer/webgl-utils.js +0 -0
  351. /package/js/{Renderer → ts/Renderer}/index.js +0 -0
  352. /package/js/{Types.js → ts/Types.js} +0 -0
  353. /package/types/{Decoder → ts/Decoder}/gpu-utils.d.ts +0 -0
  354. /package/types/{Decoder → ts/Decoder}/index.d.ts +0 -0
  355. /package/types/{Private → ts/Private}/IAgoraH265Transcoder.d.ts +0 -0
  356. /package/types/{Private → ts/Private}/IAgoraMediaRecorder.d.ts +0 -0
  357. /package/types/{Private → ts/Private}/IAgoraMediaStreamingSource.d.ts +0 -0
  358. /package/types/{Private → ts/Private}/extension/AgoraBaseExtension.d.ts +0 -0
  359. /package/types/{Private → ts/Private}/extension/AgoraMediaBaseExtension.d.ts +0 -0
  360. /package/types/{Private → ts/Private}/extension/AgoraMediaPlayerTypesExtension.d.ts +0 -0
  361. /package/types/{Private → ts/Private}/extension/IAgoraH265TranscoderExtension.d.ts +0 -0
  362. /package/types/{Private → ts/Private}/extension/IAgoraLogExtension.d.ts +0 -0
  363. /package/types/{Private → ts/Private}/extension/IAgoraMediaEngineExtension.d.ts +0 -0
  364. /package/types/{Private → ts/Private}/extension/IAgoraMediaPlayerExtension.d.ts +0 -0
  365. /package/types/{Private → ts/Private}/extension/IAgoraMediaPlayerSourceExtension.d.ts +0 -0
  366. /package/types/{Private → ts/Private}/extension/IAgoraMediaRecorderExtension.d.ts +0 -0
  367. /package/types/{Private → ts/Private}/extension/IAgoraMusicContentCenterExtension.d.ts +0 -0
  368. /package/types/{Private → ts/Private}/extension/IAgoraRhythmPlayerExtension.d.ts +0 -0
  369. /package/types/{Private → ts/Private}/extension/IAgoraRtcEngineExExtension.d.ts +0 -0
  370. /package/types/{Private → ts/Private}/extension/IAgoraRtcEngineExtension.d.ts +0 -0
  371. /package/types/{Private → ts/Private}/extension/IAgoraSpatialAudioExtension.d.ts +0 -0
  372. /package/types/{Private → ts/Private}/extension/IAudioDeviceManagerExtension.d.ts +0 -0
  373. /package/types/{Private → ts/Private}/impl/AgoraBaseImpl.d.ts +0 -0
  374. /package/types/{Private → ts/Private}/impl/AgoraMediaBaseImpl.d.ts +0 -0
  375. /package/types/{Private → ts/Private}/impl/IAgoraH265TranscoderImpl.d.ts +0 -0
  376. /package/types/{Private → ts/Private}/impl/IAgoraMediaEngineImpl.d.ts +0 -0
  377. /package/types/{Private → ts/Private}/impl/IAgoraMediaPlayerSourceImpl.d.ts +0 -0
  378. /package/types/{Private → ts/Private}/impl/IAgoraMediaRecorderImpl.d.ts +0 -0
  379. /package/types/{Private → ts/Private}/impl/IAgoraMusicContentCenterImpl.d.ts +0 -0
  380. /package/types/{Private → ts/Private}/impl/IAgoraSpatialAudioImpl.d.ts +0 -0
  381. /package/types/{Private → ts/Private}/impl/IAudioDeviceManagerImpl.d.ts +0 -0
  382. /package/types/{Private → ts/Private}/internal/AgoraH265TranscoderInternal.d.ts +0 -0
  383. /package/types/{Private → ts/Private}/internal/AgoraMediaBaseInternal.d.ts +0 -0
  384. /package/types/{Private → ts/Private}/internal/AudioDeviceManagerInternal.d.ts +0 -0
  385. /package/types/{Private → ts/Private}/internal/IrisApiEngine.d.ts +0 -0
  386. /package/types/{Private → ts/Private}/internal/LocalSpatialAudioEngineInternal.d.ts +0 -0
  387. /package/types/{Private → ts/Private}/internal/MediaEngineInternal.d.ts +0 -0
  388. /package/types/{Private → ts/Private}/internal/MediaPlayerInternal.d.ts +0 -0
  389. /package/types/{Private → ts/Private}/internal/MediaRecorderInternal.d.ts +0 -0
  390. /package/types/{Private → ts/Private}/internal/MusicContentCenterInternal.d.ts +0 -0
  391. /package/types/{Private → ts/Private}/ipc/main.d.ts +0 -0
  392. /package/types/{Private → ts/Private}/ipc/renderer.d.ts +0 -0
  393. /package/types/{Private → ts/Private}/ti/AgoraBase-ti.d.ts +0 -0
  394. /package/types/{Private → ts/Private}/ti/AgoraMediaBase-ti.d.ts +0 -0
  395. /package/types/{Private → ts/Private}/ti/AgoraMediaPlayerTypes-ti.d.ts +0 -0
  396. /package/types/{Private → ts/Private}/ti/IAgoraH265Transcoder-ti.d.ts +0 -0
  397. /package/types/{Private → ts/Private}/ti/IAgoraLog-ti.d.ts +0 -0
  398. /package/types/{Private → ts/Private}/ti/IAgoraMediaEngine-ti.d.ts +0 -0
  399. /package/types/{Private → ts/Private}/ti/IAgoraMediaPlayer-ti.d.ts +0 -0
  400. /package/types/{Private → ts/Private}/ti/IAgoraMediaPlayerSource-ti.d.ts +0 -0
  401. /package/types/{Private → ts/Private}/ti/IAgoraMediaRecorder-ti.d.ts +0 -0
  402. /package/types/{Private → ts/Private}/ti/IAgoraMediaStreamingSource-ti.d.ts +0 -0
  403. /package/types/{Private → ts/Private}/ti/IAgoraMusicContentCenter-ti.d.ts +0 -0
  404. /package/types/{Private → ts/Private}/ti/IAgoraRhythmPlayer-ti.d.ts +0 -0
  405. /package/types/{Private → ts/Private}/ti/IAgoraRtcEngine-ti.d.ts +0 -0
  406. /package/types/{Private → ts/Private}/ti/IAgoraRtcEngineEx-ti.d.ts +0 -0
  407. /package/types/{Private → ts/Private}/ti/IAgoraSpatialAudio-ti.d.ts +0 -0
  408. /package/types/{Private → ts/Private}/ti/IAudioDeviceManager-ti.d.ts +0 -0
  409. /package/types/{Renderer → ts/Renderer}/CapabilityManager.d.ts +0 -0
  410. /package/types/{Renderer → ts/Renderer}/WebGLRenderer/webgl-utils.d.ts +0 -0
  411. /package/types/{Renderer → ts/Renderer}/index.d.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AudioDeviceInfo = exports.VideoDeviceInfo = exports.SDKBuildInfo = exports.VideoProfileType = exports.MediaDeviceStateType = exports.QualityReportFormatType = exports.IRtcEngine = exports.ExtensionInfo = exports.DirectCdnStreamingMediaOptions = exports.DirectCdnStreamingStats = exports.DirectCdnStreamingState = exports.DirectCdnStreamingReason = exports.Metadata = exports.MaxMetadataSizeType = exports.MetadataType = exports.RtcEngineContext = exports.IVideoDeviceManager = exports.LeaveChannelOptions = exports.FeatureType = exports.ProxyType = exports.ChannelMediaOptions = exports.ImageTrackOptions = exports.AdvancedAudioOptions = exports.ScreenCaptureSourceInfo = exports.ScreenCaptureSourceType = exports.ThumbImageBuffer = exports.Size = exports.ScreenCaptureConfiguration = exports.CameraCapturerConfiguration = exports.CloudProxyType = exports.CameraDirection = exports.PublisherConfiguration = exports.RtmpStreamLifeCycleType = exports.InjectStreamConfig = exports.VideoCompositingLayout = exports.Region = exports.RemoteVideoStats = exports.RemoteAudioStats = exports.LocalVideoStats = exports.PriorityType = exports.StreamFallbackOptions = exports.AudioReverbType = exports.AudioEqualizationBandFrequency = exports.InjectStreamStatus = exports.AudioMixingReasonType = exports.AudioMixingStateType = exports.MediaDeviceType = void 0;
3
+ exports.AudioDeviceInfo = exports.VideoDeviceInfo = exports.SDKBuildInfo = exports.VideoProfileType = exports.MediaDeviceStateType = exports.QualityReportFormatType = exports.IRtcEngine = exports.ExtensionInfo = exports.DirectCdnStreamingMediaOptions = exports.DirectCdnStreamingStats = exports.DirectCdnStreamingState = exports.DirectCdnStreamingReason = exports.Metadata = exports.MaxMetadataSizeType = exports.MetadataType = exports.RtcEngineContext = exports.IVideoEffectObject = exports.VideoEffectAction = exports.VideoEffectNodeId = exports.IVideoDeviceManager = exports.LeaveChannelOptions = exports.FeatureType = exports.ProxyType = exports.ChannelMediaOptions = exports.ImageTrackOptions = exports.AdvancedAudioOptions = exports.ScreenCaptureSourceInfo = exports.ScreenCaptureSourceType = exports.ThumbImageBuffer = exports.Size = exports.ScreenCaptureConfiguration = exports.CameraCapturerConfiguration = exports.CloudProxyType = exports.CameraDirection = exports.PublisherConfiguration = exports.RtmpStreamLifeCycleType = exports.InjectStreamConfig = exports.VideoCompositingLayout = exports.Region = exports.RemoteVideoStats = exports.RemoteAudioStats = exports.LocalVideoStats = exports.PriorityType = exports.StreamFallbackOptions = exports.AudioReverbType = exports.AudioEqualizationBandFrequency = exports.InjectStreamStatus = exports.AudioMixingReasonType = exports.AudioMixingStateType = exports.MediaDeviceType = void 0;
4
4
  require("./extension/IAgoraRtcEngineExtension");
5
5
  /**
6
- * Media device types.
6
+ * Device type.
7
7
  */
8
8
  var MediaDeviceType;
9
9
  (function (MediaDeviceType) {
@@ -16,79 +16,86 @@ var MediaDeviceType;
16
16
  */
17
17
  MediaDeviceType[MediaDeviceType["AudioPlayoutDevice"] = 0] = "AudioPlayoutDevice";
18
18
  /**
19
- * 1: Audio capturing device.
19
+ * 1: Audio recording device.
20
20
  */
21
21
  MediaDeviceType[MediaDeviceType["AudioRecordingDevice"] = 1] = "AudioRecordingDevice";
22
22
  /**
23
- * 2: Video rendering device (graphics card).
23
+ * 2: Video rendering device (GPU).
24
24
  */
25
25
  MediaDeviceType[MediaDeviceType["VideoRenderDevice"] = 2] = "VideoRenderDevice";
26
26
  /**
27
- * 3: Video capturing device.
27
+ * 3: Video capture device.
28
28
  */
29
29
  MediaDeviceType[MediaDeviceType["VideoCaptureDevice"] = 3] = "VideoCaptureDevice";
30
30
  /**
31
- * 4: Audio playback device for an app.
31
+ * 4: Audio application playback device.
32
32
  */
33
33
  MediaDeviceType[MediaDeviceType["AudioApplicationPlayoutDevice"] = 4] = "AudioApplicationPlayoutDevice";
34
34
  /**
35
- * (For macOS only) 5: Virtual audio playback device (virtual sound card).
35
+ * (macOS only) 5: Virtual audio playback device (virtual sound card).
36
36
  */
37
37
  MediaDeviceType[MediaDeviceType["AudioVirtualPlayoutDevice"] = 5] = "AudioVirtualPlayoutDevice";
38
38
  /**
39
- * (For macOS only) 6: Virtual audio capturing device (virtual sound card).
39
+ * (macOS only) 6: Virtual audio recording device (virtual sound card).
40
40
  */
41
41
  MediaDeviceType[MediaDeviceType["AudioVirtualRecordingDevice"] = 6] = "AudioVirtualRecordingDevice";
42
42
  })(MediaDeviceType = exports.MediaDeviceType || (exports.MediaDeviceType = {}));
43
43
  /**
44
- * The playback state of the music file.
44
+ * Music file playback state.
45
45
  */
46
46
  var AudioMixingStateType;
47
47
  (function (AudioMixingStateType) {
48
48
  /**
49
- * 710: The music file is playing.
49
+ * 710: Music file is playing normally.
50
50
  */
51
51
  AudioMixingStateType[AudioMixingStateType["AudioMixingStatePlaying"] = 710] = "AudioMixingStatePlaying";
52
52
  /**
53
- * 711: The music file pauses playing.
53
+ * 711: Music file playback is paused.
54
54
  */
55
55
  AudioMixingStateType[AudioMixingStateType["AudioMixingStatePaused"] = 711] = "AudioMixingStatePaused";
56
56
  /**
57
- * 713: The music file stops playing. The possible reasons include: AudioMixingReasonAllLoopsCompleted (723) AudioMixingReasonStoppedByUser (724)
57
+ * 713: Music file playback is stopped.
58
+ * This state may be caused by the following reasons:
59
+ * AudioMixingReasonAllLoopsCompleted(723)
60
+ * AudioMixingReasonStoppedByUser(724)
58
61
  */
59
62
  AudioMixingStateType[AudioMixingStateType["AudioMixingStateStopped"] = 713] = "AudioMixingStateStopped";
60
63
  /**
61
- * 714: An error occurs during the playback of the audio mixing file. The possible reasons include: AudioMixingReasonCanNotOpen (701) AudioMixingReasonTooFrequentCall (702) AudioMixingReasonInterruptedEof (703)
64
+ * 714: Error occurred during music file playback.
65
+ * This state may be caused by the following reasons:
66
+ * AudioMixingReasonCanNotOpen(701)
67
+ * AudioMixingReasonTooFrequentCall(702)
68
+ * AudioMixingReasonInterruptedEof(703)
62
69
  */
63
70
  AudioMixingStateType[AudioMixingStateType["AudioMixingStateFailed"] = 714] = "AudioMixingStateFailed";
64
71
  })(AudioMixingStateType = exports.AudioMixingStateType || (exports.AudioMixingStateType = {}));
65
72
  /**
66
- * The reason why the playback state of the music file changes. Reported in the onAudioMixingStateChanged callback.
73
+ * Reason for music file playback state change. Reported in the onAudioMixingStateChanged callback.
67
74
  */
68
75
  var AudioMixingReasonType;
69
76
  (function (AudioMixingReasonType) {
70
77
  /**
71
- * 701: The SDK cannot open the music file. For example, the local music file does not exist, the SDK does not support the file format, or the the SDK cannot access the music file URL.
78
+ * 701: Failed to open the music file. For example, the local music file does not exist, the file format is not supported, or the online music file URL is not accessible.
72
79
  */
73
80
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonCanNotOpen"] = 701] = "AudioMixingReasonCanNotOpen";
74
81
  /**
75
- * 702: The SDK opens the music file too frequently. If you need to call startAudioMixing multiple times, ensure that the call interval is more than 500 ms.
82
+ * 702: Music file opened too frequently. If you need to call startAudioMixing multiple times, make sure the interval between calls is greater than 500 ms.
76
83
  */
77
84
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonTooFrequentCall"] = 702] = "AudioMixingReasonTooFrequentCall";
78
85
  /**
79
- * 703: The music file playback is interrupted.
86
+ * 703: Music file playback was interrupted.
80
87
  */
81
88
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonInterruptedEof"] = 703] = "AudioMixingReasonInterruptedEof";
82
89
  /**
83
- * 721: The music file completes a loop playback.
90
+ * 721: One loop of the music file playback completed.
84
91
  */
85
92
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonOneLoopCompleted"] = 721] = "AudioMixingReasonOneLoopCompleted";
86
93
  /**
87
- * 723: The music file completes all loop playback.
94
+ * 723: All loops of the music file playback completed.
88
95
  */
89
96
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonAllLoopsCompleted"] = 723] = "AudioMixingReasonAllLoopsCompleted";
90
97
  /**
91
- * 724: Successfully call stopAudioMixing to stop playing the music file.
98
+ * 724: Successfully called stopAudioMixing to stop music file playback.
92
99
  */
93
100
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonStoppedByUser"] = 724] = "AudioMixingReasonStoppedByUser";
94
101
  /**
@@ -96,7 +103,7 @@ var AudioMixingReasonType;
96
103
  */
97
104
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonResumedByUser"] = 726] = "AudioMixingReasonResumedByUser";
98
105
  /**
99
- * 0: The SDK opens music file successfully.
106
+ * 0: Successfully opened the music file.
100
107
  */
101
108
  AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonOk"] = 0] = "AudioMixingReasonOk";
102
109
  })(AudioMixingReasonType = exports.AudioMixingReasonType || (exports.AudioMixingReasonType = {}));
@@ -151,7 +158,7 @@ var InjectStreamStatus;
151
158
  InjectStreamStatus[InjectStreamStatus["InjectStreamStatusBroken"] = 10] = "InjectStreamStatusBroken";
152
159
  })(InjectStreamStatus = exports.InjectStreamStatus || (exports.InjectStreamStatus = {}));
153
160
  /**
154
- * The midrange frequency for audio equalization.
161
+ * Center frequency of voice effect equalization bands.
155
162
  */
156
163
  var AudioEqualizationBandFrequency;
157
164
  (function (AudioEqualizationBandFrequency) {
@@ -197,28 +204,28 @@ var AudioEqualizationBandFrequency;
197
204
  AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand16k"] = 9] = "AudioEqualizationBand16k";
198
205
  })(AudioEqualizationBandFrequency = exports.AudioEqualizationBandFrequency || (exports.AudioEqualizationBandFrequency = {}));
199
206
  /**
200
- * Audio reverberation types.
207
+ * Audio reverb types.
201
208
  */
202
209
  var AudioReverbType;
203
210
  (function (AudioReverbType) {
204
211
  /**
205
- * 0: The level of the dry signal (dB). The value is between -20 and 10.
212
+ * 0: Original sound intensity, also known as dry signal, range [-20,10], unit: dB.
206
213
  */
207
214
  AudioReverbType[AudioReverbType["AudioReverbDryLevel"] = 0] = "AudioReverbDryLevel";
208
215
  /**
209
- * 1: The level of the early reflection signal (wet signal) (dB). The value is between -20 and 10.
216
+ * 1: Early reflection signal intensity, also known as wet signal, range [-20,10], unit: dB.
210
217
  */
211
218
  AudioReverbType[AudioReverbType["AudioReverbWetLevel"] = 1] = "AudioReverbWetLevel";
212
219
  /**
213
- * 2: The room size of the reflection. The value is between 0 and 100.
220
+ * 2: Room size for desired reverb effect. Generally, the larger the room, the stronger the reverb. Range [0,100], unit: dB.
214
221
  */
215
222
  AudioReverbType[AudioReverbType["AudioReverbRoomSize"] = 2] = "AudioReverbRoomSize";
216
223
  /**
217
- * 3: The length of the initial delay of the wet signal (ms). The value is between 0 and 200.
224
+ * 3: Initial delay length of the wet signal, range [0,200], unit: milliseconds.
218
225
  */
219
226
  AudioReverbType[AudioReverbType["AudioReverbWetDelay"] = 3] = "AudioReverbWetDelay";
220
227
  /**
221
- * 4: The reverberation strength. The value is between 0 and 100.
228
+ * 4: Intensity of reverb persistence, range [0,100].
222
229
  */
223
230
  AudioReverbType[AudioReverbType["AudioReverbStrength"] = 4] = "AudioReverbStrength";
224
231
  })(AudioReverbType = exports.AudioReverbType || (exports.AudioReverbType = {}));
@@ -279,7 +286,7 @@ var PriorityType;
279
286
  PriorityType[PriorityType["PriorityNormal"] = 100] = "PriorityNormal";
280
287
  })(PriorityType = exports.PriorityType || (exports.PriorityType = {}));
281
288
  /**
282
- * The statistics of the local video stream.
289
+ * Local video stream statistics.
283
290
  */
284
291
  class LocalVideoStats {
285
292
  }
@@ -315,18 +322,18 @@ class InjectStreamConfig {
315
322
  }
316
323
  exports.InjectStreamConfig = InjectStreamConfig;
317
324
  /**
318
- * Lifecycle of the CDN live video stream.
325
+ * Lifecycle of server-side transcoding streaming.
319
326
  *
320
- * Deprecated
327
+ * Deprecated Deprecated
321
328
  */
322
329
  var RtmpStreamLifeCycleType;
323
330
  (function (RtmpStreamLifeCycleType) {
324
331
  /**
325
- * Bind to the channel lifecycle. If all hosts leave the channel, the CDN live streaming stops after 30 seconds.
332
+ * Bound to the channel lifecycle. When all hosts leave the channel, server-side transcoding streaming stops after 30 seconds.
326
333
  */
327
334
  RtmpStreamLifeCycleType[RtmpStreamLifeCycleType["RtmpStreamLifeCycleBind2channel"] = 1] = "RtmpStreamLifeCycleBind2channel";
328
335
  /**
329
- * Bind to the owner of the RTMP stream. If the owner leaves the channel, the CDN live streaming stops immediately.
336
+ * Bound to the lifecycle of the host who starts the server-side transcoding streaming. When the host leaves, the streaming stops immediately.
330
337
  */
331
338
  RtmpStreamLifeCycleType[RtmpStreamLifeCycleType["RtmpStreamLifeCycleBind2owner"] = 2] = "RtmpStreamLifeCycleBind2owner";
332
339
  })(RtmpStreamLifeCycleType = exports.RtmpStreamLifeCycleType || (exports.RtmpStreamLifeCycleType = {}));
@@ -337,45 +344,45 @@ class PublisherConfiguration {
337
344
  }
338
345
  exports.PublisherConfiguration = PublisherConfiguration;
339
346
  /**
340
- * The camera direction.
347
+ * Camera direction.
341
348
  */
342
349
  var CameraDirection;
343
350
  (function (CameraDirection) {
344
351
  /**
345
- * 0: The rear camera.
352
+ * 0: Rear camera.
346
353
  */
347
354
  CameraDirection[CameraDirection["CameraRear"] = 0] = "CameraRear";
348
355
  /**
349
- * 1: (Default) The front camera.
356
+ * 1: (Default) Front camera.
350
357
  */
351
358
  CameraDirection[CameraDirection["CameraFront"] = 1] = "CameraFront";
352
359
  })(CameraDirection = exports.CameraDirection || (exports.CameraDirection = {}));
353
360
  /**
354
- * The cloud proxy type.
361
+ * Cloud proxy types.
355
362
  */
356
363
  var CloudProxyType;
357
364
  (function (CloudProxyType) {
358
365
  /**
359
- * 0: The automatic mode. The SDK has this mode enabled by default. In this mode, the SDK attempts a direct connection to SD-RTN and automatically switches to TCP/TLS 443 if the attempt fails.
366
+ * 0: Auto mode. This is the default mode enabled by the SDK. In this mode, the SDK first tries to connect via SD-RTN™. If that fails, it automatically switches to TLS 443.
360
367
  */
361
368
  CloudProxyType[CloudProxyType["NoneProxy"] = 0] = "NoneProxy";
362
369
  /**
363
- * 1: The cloud proxy for the UDP protocol, that is, the Force UDP cloud proxy mode. In this mode, the SDK always transmits data over UDP.
370
+ * 1: UDP protocol cloud proxy, i.e., Force UDP mode. In this mode, the SDK always transmits data using the UDP protocol.
364
371
  */
365
372
  CloudProxyType[CloudProxyType["UdpProxy"] = 1] = "UdpProxy";
366
373
  /**
367
- * 2: The cloud proxy for the TCP (encryption) protocol, that is, the Force TCP cloud proxy mode. In this mode, the SDK always transmits data over TCP/TLS 443.
374
+ * 2: TCP (encrypted) protocol cloud proxy, i.e., Force TCP mode. In this mode, the SDK always transmits data using TLS 443.
368
375
  */
369
376
  CloudProxyType[CloudProxyType["TcpProxy"] = 2] = "TcpProxy";
370
377
  })(CloudProxyType = exports.CloudProxyType || (exports.CloudProxyType = {}));
371
378
  /**
372
- * The camera capturer preference.
379
+ * Camera capture configuration.
373
380
  */
374
381
  class CameraCapturerConfiguration {
375
382
  }
376
383
  exports.CameraCapturerConfiguration = CameraCapturerConfiguration;
377
384
  /**
378
- * The configuration of the captured screen.
385
+ * Screen capture configuration.
379
386
  */
380
387
  class ScreenCaptureConfiguration {
381
388
  }
@@ -387,84 +394,84 @@ class Size {
387
394
  }
388
395
  exports.Size = Size;
389
396
  /**
390
- * The image content of the thumbnail or icon. Set in ScreenCaptureSourceInfo.
397
+ * Image content of a thumbnail or icon. Set in ScreenCaptureSourceInfo.
391
398
  *
392
- * The default image is in the ARGB format. If you need to use another format, you need to convert the image on your own.
399
+ * The image is in ARGB format by default. If you need another format, please convert it manually.
393
400
  */
394
401
  class ThumbImageBuffer {
395
402
  }
396
403
  exports.ThumbImageBuffer = ThumbImageBuffer;
397
404
  /**
398
- * The type of the shared target. Set in ScreenCaptureSourceInfo.
405
+ * Type of the sharing target. Set in ScreenCaptureSourceInfo.
399
406
  */
400
407
  var ScreenCaptureSourceType;
401
408
  (function (ScreenCaptureSourceType) {
402
409
  /**
403
- * -1: Unknown type.
410
+ * -1: Unknown.
404
411
  */
405
412
  ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeUnknown"] = -1] = "ScreencapturesourcetypeUnknown";
406
413
  /**
407
- * 0: The shared target is a window.
414
+ * 0: The sharing target is a specific window.
408
415
  */
409
416
  ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeWindow"] = 0] = "ScreencapturesourcetypeWindow";
410
417
  /**
411
- * 1: The shared target is a screen of a particular monitor.
418
+ * 1: The sharing target is the screen of a specific monitor.
412
419
  */
413
420
  ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeScreen"] = 1] = "ScreencapturesourcetypeScreen";
414
421
  /**
415
- * 2: Reserved parameter
422
+ * 2: Reserved parameter.
416
423
  */
417
424
  ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeCustom"] = 2] = "ScreencapturesourcetypeCustom";
418
425
  })(ScreenCaptureSourceType = exports.ScreenCaptureSourceType || (exports.ScreenCaptureSourceType = {}));
419
426
  /**
420
- * The information about the specified shareable window or screen.
427
+ * Information about shareable windows or screens.
421
428
  */
422
429
  class ScreenCaptureSourceInfo {
423
430
  }
424
431
  exports.ScreenCaptureSourceInfo = ScreenCaptureSourceInfo;
425
432
  /**
426
- * The advanced options for audio.
433
+ * Advanced options for audio.
427
434
  */
428
435
  class AdvancedAudioOptions {
429
436
  }
430
437
  exports.AdvancedAudioOptions = AdvancedAudioOptions;
431
438
  /**
432
- * Image configurations.
439
+ * Settings options for filler image.
433
440
  */
434
441
  class ImageTrackOptions {
435
442
  }
436
443
  exports.ImageTrackOptions = ImageTrackOptions;
437
444
  /**
438
- * The channel media options.
445
+ * Channel media configuration options.
439
446
  *
440
- * Agora supports publishing multiple audio streams and one video stream at the same time and in the same RtcConnection. For example, publishMicrophoneTrack, publishCustomAudioTrack, and publishMediaPlayerAudioTrack can be set as true at the same time, but only one of publishCameraTrack, publishScreenTrack, publishCustomVideoTrack, or publishEncodedVideoTrack can be set as true. Agora recommends that you set member parameter values yourself according to your business scenario, otherwise the SDK will automatically assign values to member parameters.
447
+ * RtcConnection publishMicrophoneTrack publishCustomAudioTrack publishMediaPlayerAudioTrack true publishCameraTrack publishScreenTrack publishCustomVideoTrack publishEncodedVideoTrack true It is recommended that you configure the member parameters based on your business scenario. Otherwise, the SDK will automatically assign values to the member parameters.
441
448
  */
442
449
  class ChannelMediaOptions {
443
450
  }
444
451
  exports.ChannelMediaOptions = ChannelMediaOptions;
445
452
  /**
446
- * The cloud proxy type.
453
+ * Proxy type.
447
454
  */
448
455
  var ProxyType;
449
456
  (function (ProxyType) {
450
457
  /**
451
- * 0: Reserved for future use.
458
+ * 0: Reserved parameter, not supported yet.
452
459
  */
453
460
  ProxyType[ProxyType["NoneProxyType"] = 0] = "NoneProxyType";
454
461
  /**
455
- * 1: The cloud proxy for the UDP protocol, that is, the Force UDP cloud proxy mode. In this mode, the SDK always transmits data over UDP.
462
+ * 1: Cloud proxy using UDP protocol, i.e., Force UDP cloud proxy mode. In this mode, the SDK always transmits data via the UDP protocol.
456
463
  */
457
464
  ProxyType[ProxyType["UdpProxyType"] = 1] = "UdpProxyType";
458
465
  /**
459
- * 2: The cloud proxy for the TCP (encryption) protocol, that is, the Force TCP cloud proxy mode. In this mode, the SDK always transmits data over TCP/TLS 443.
466
+ * 2: Cloud proxy using TCP (encrypted) protocol, i.e., Force TCP cloud proxy mode. In this mode, the SDK always transmits data via TLS 443.
460
467
  */
461
468
  ProxyType[ProxyType["TcpProxyType"] = 2] = "TcpProxyType";
462
469
  /**
463
- * 3: Reserved for future use.
470
+ * 3: Reserved parameter, not supported yet.
464
471
  */
465
472
  ProxyType[ProxyType["LocalProxyType"] = 3] = "LocalProxyType";
466
473
  /**
467
- * 4: Automatic mode. In this mode, the SDK attempts a direct connection to SD-RTN and automatically switches to TCP/TLS 443 if the attempt fails.
474
+ * 4: Auto mode. In this mode, the SDK first attempts to connect to SD-RTN™. If the connection fails, it automatically switches to TLS 443.
468
475
  */
469
476
  ProxyType[ProxyType["TcpProxyAutoFallbackType"] = 4] = "TcpProxyAutoFallbackType";
470
477
  /**
@@ -477,21 +484,21 @@ var ProxyType;
477
484
  ProxyType[ProxyType["HttpsProxyType"] = 6] = "HttpsProxyType";
478
485
  })(ProxyType = exports.ProxyType || (exports.ProxyType = {}));
479
486
  /**
480
- * The type of the advanced feature.
487
+ * Advanced feature types.
481
488
  */
482
489
  var FeatureType;
483
490
  (function (FeatureType) {
484
491
  /**
485
- * 1: Virtual background.
492
+ * 1: Virtual background feature.
486
493
  */
487
494
  FeatureType[FeatureType["VideoVirtualBackground"] = 1] = "VideoVirtualBackground";
488
495
  /**
489
- * 2: Image enhancement.
496
+ * 2: Beauty effect feature.
490
497
  */
491
498
  FeatureType[FeatureType["VideoBeautyEffect"] = 2] = "VideoBeautyEffect";
492
499
  })(FeatureType = exports.FeatureType || (exports.FeatureType = {}));
493
500
  /**
494
- * The options for leaving a channel.
501
+ * Options for leaving the channel.
495
502
  */
496
503
  class LeaveChannelOptions {
497
504
  }
@@ -503,22 +510,70 @@ class IVideoDeviceManager {
503
510
  }
504
511
  exports.IVideoDeviceManager = IVideoDeviceManager;
505
512
  /**
506
- * Configurations for the RtcEngineContext instance.
513
+ * Video effect node types.
514
+ *
515
+ * Since Available since v4.6.2.
516
+ */
517
+ var VideoEffectNodeId;
518
+ (function (VideoEffectNodeId) {
519
+ /**
520
+ * (1): Beauty effect node.
521
+ */
522
+ VideoEffectNodeId[VideoEffectNodeId["Beauty"] = 1] = "Beauty";
523
+ /**
524
+ * (2): Style makeup effect node.
525
+ */
526
+ VideoEffectNodeId[VideoEffectNodeId["StyleMakeup"] = 2] = "StyleMakeup";
527
+ /**
528
+ * (4): Filter effect node.
529
+ */
530
+ VideoEffectNodeId[VideoEffectNodeId["Filter"] = 4] = "Filter";
531
+ /**
532
+ * @ignore
533
+ */
534
+ VideoEffectNodeId[VideoEffectNodeId["Sticker"] = 8] = "Sticker";
535
+ })(VideoEffectNodeId = exports.VideoEffectNodeId || (exports.VideoEffectNodeId = {}));
536
+ /**
537
+ * Action types performed on video effect nodes.
538
+ *
539
+ * Since Available since v4.6.2.
540
+ */
541
+ var VideoEffectAction;
542
+ (function (VideoEffectAction) {
543
+ /**
544
+ * (1): Save the current parameters of the video effect.
545
+ */
546
+ VideoEffectAction[VideoEffectAction["Save"] = 1] = "Save";
547
+ /**
548
+ * (2): Reset the video effect to its default parameters.
549
+ */
550
+ VideoEffectAction[VideoEffectAction["Reset"] = 2] = "Reset";
551
+ })(VideoEffectAction = exports.VideoEffectAction || (exports.VideoEffectAction = {}));
552
+ /**
553
+ * Used to manage and configure video effects, such as beauty filters, style makeup, and filters.
554
+ *
555
+ * Since Available since v4.6.2.
556
+ */
557
+ class IVideoEffectObject {
558
+ }
559
+ exports.IVideoEffectObject = IVideoEffectObject;
560
+ /**
561
+ * Defines RtcEngineContext.
507
562
  */
508
563
  class RtcEngineContext {
509
564
  }
510
565
  exports.RtcEngineContext = RtcEngineContext;
511
566
  /**
512
- * Metadata type of the observer. We only support video metadata for now.
567
+ * The Metadata type of the observer. Currently supports video Metadata only.
513
568
  */
514
569
  var MetadataType;
515
570
  (function (MetadataType) {
516
571
  /**
517
- * The type of metadata is unknown.
572
+ * -1: Unknown Metadata type.
518
573
  */
519
574
  MetadataType[MetadataType["UnknownMetadata"] = -1] = "UnknownMetadata";
520
575
  /**
521
- * The type of metadata is video.
576
+ * 0: Metadata type is video.
522
577
  */
523
578
  MetadataType[MetadataType["VideoMetadata"] = 0] = "VideoMetadata";
524
579
  })(MetadataType = exports.MetadataType || (exports.MetadataType = {}));
@@ -547,69 +602,69 @@ class Metadata {
547
602
  }
548
603
  exports.Metadata = Metadata;
549
604
  /**
550
- * Reasons for the changes in CDN streaming status.
605
+ * @ignore
551
606
  */
552
607
  var DirectCdnStreamingReason;
553
608
  (function (DirectCdnStreamingReason) {
554
609
  /**
555
- * 0: No error.
610
+ * @ignore
556
611
  */
557
612
  DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonOk"] = 0] = "DirectCdnStreamingReasonOk";
558
613
  /**
559
- * 1: A general error; no specific reason. You can try to push the media stream again.
614
+ * @ignore
560
615
  */
561
616
  DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonFailed"] = 1] = "DirectCdnStreamingReasonFailed";
562
617
  /**
563
- * 2: An error occurs when pushing audio streams. For example, the local audio capture device is not working properly, is occupied by another process, or does not get the permission required.
618
+ * @ignore
564
619
  */
565
620
  DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonAudioPublication"] = 2] = "DirectCdnStreamingReasonAudioPublication";
566
621
  /**
567
- * 3: An error occurs when pushing video streams. For example, the local video capture device is not working properly, is occupied by another process, or does not get the permission required.
622
+ * @ignore
568
623
  */
569
624
  DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonVideoPublication"] = 3] = "DirectCdnStreamingReasonVideoPublication";
570
625
  /**
571
- * 4: Fails to connect to the CDN.
626
+ * @ignore
572
627
  */
573
628
  DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonNetConnect"] = 4] = "DirectCdnStreamingReasonNetConnect";
574
629
  /**
575
- * 5: The URL is already being used. Use a new URL for streaming.
630
+ * @ignore
576
631
  */
577
632
  DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonBadName"] = 5] = "DirectCdnStreamingReasonBadName";
578
633
  })(DirectCdnStreamingReason = exports.DirectCdnStreamingReason || (exports.DirectCdnStreamingReason = {}));
579
634
  /**
580
- * The current CDN streaming state.
635
+ * @ignore
581
636
  */
582
637
  var DirectCdnStreamingState;
583
638
  (function (DirectCdnStreamingState) {
584
639
  /**
585
- * 0: The initial state before the CDN streaming starts.
640
+ * @ignore
586
641
  */
587
642
  DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateIdle"] = 0] = "DirectCdnStreamingStateIdle";
588
643
  /**
589
- * 1: Streams are being pushed to the CDN. The SDK returns this value when you call the startDirectCdnStreaming method to push streams to the CDN.
644
+ * @ignore
590
645
  */
591
646
  DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateRunning"] = 1] = "DirectCdnStreamingStateRunning";
592
647
  /**
593
- * 2: Stops pushing streams to the CDN. The SDK returns this value when you call the stopDirectCdnStreaming method to stop pushing streams to the CDN.
648
+ * @ignore
594
649
  */
595
650
  DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateStopped"] = 2] = "DirectCdnStreamingStateStopped";
596
651
  /**
597
- * 3: Fails to push streams to the CDN. You can troubleshoot the issue with the information reported by the onDirectCdnStreamingStateChanged callback, and then push streams to the CDN again.
652
+ * @ignore
598
653
  */
599
654
  DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateFailed"] = 3] = "DirectCdnStreamingStateFailed";
600
655
  /**
601
- * 4: Tries to reconnect the Agora server to the CDN. The SDK attempts to reconnect a maximum of 10 times; if the connection is not restored, the streaming state becomes DirectCdnStreamingStateFailed.
656
+ * @ignore
602
657
  */
603
658
  DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateRecovering"] = 4] = "DirectCdnStreamingStateRecovering";
604
659
  })(DirectCdnStreamingState = exports.DirectCdnStreamingState || (exports.DirectCdnStreamingState = {}));
605
660
  /**
606
- * The statistics of the current CDN streaming.
661
+ * @ignore
607
662
  */
608
663
  class DirectCdnStreamingStats {
609
664
  }
610
665
  exports.DirectCdnStreamingStats = DirectCdnStreamingStats;
611
666
  /**
612
- * The media setting options for the host.
667
+ * @ignore
613
668
  */
614
669
  class DirectCdnStreamingMediaOptions {
615
670
  }
@@ -621,9 +676,10 @@ class ExtensionInfo {
621
676
  }
622
677
  exports.ExtensionInfo = ExtensionInfo;
623
678
  /**
624
- * The basic interface of the Agora SDK that implements the core functions of real-time communication.
679
+ * The base interface class of the RTC SDK that implements the main functions of real-time audio and video.
625
680
  *
626
- * IRtcEngine provides the main methods that your app can call. Before calling other APIs, you must call createAgoraRtcEngine to create an IRtcEngine object.
681
+ * IRtcEngine provides the main methods for the app to call.
682
+ * You must call createAgoraRtcEngine to create an IRtcEngine object before calling other APIs.
627
683
  */
628
684
  class IRtcEngine {
629
685
  }
@@ -643,32 +699,32 @@ var QualityReportFormatType;
643
699
  QualityReportFormatType[QualityReportFormatType["QualityReportHtml"] = 1] = "QualityReportHtml";
644
700
  })(QualityReportFormatType = exports.QualityReportFormatType || (exports.QualityReportFormatType = {}));
645
701
  /**
646
- * Media device states.
702
+ * Device state.
647
703
  */
648
704
  var MediaDeviceStateType;
649
705
  (function (MediaDeviceStateType) {
650
706
  /**
651
- * 0: The device is ready for use.
707
+ * 0: Device is ready.
652
708
  */
653
709
  MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateIdle"] = 0] = "MediaDeviceStateIdle";
654
710
  /**
655
- * 1: The device is in use.
711
+ * 1: Device is in use.
656
712
  */
657
713
  MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateActive"] = 1] = "MediaDeviceStateActive";
658
714
  /**
659
- * 2: The device is disabled.
715
+ * 2: Device is disabled.
660
716
  */
661
717
  MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateDisabled"] = 2] = "MediaDeviceStateDisabled";
662
718
  /**
663
- * 3: The device is plugged in.
719
+ * 3: Device is plugged in.
664
720
  */
665
721
  MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStatePluggedIn"] = 3] = "MediaDeviceStatePluggedIn";
666
722
  /**
667
- * 4: The device is not found.
723
+ * 4: Device not present.
668
724
  */
669
725
  MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateNotPresent"] = 4] = "MediaDeviceStateNotPresent";
670
726
  /**
671
- * 8: The device is unplugged.
727
+ * 8: Device is unplugged.
672
728
  */
673
729
  MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateUnplugged"] = 8] = "MediaDeviceStateUnplugged";
674
730
  })(MediaDeviceStateType = exports.MediaDeviceStateType || (exports.MediaDeviceStateType = {}));
@@ -969,13 +1025,13 @@ class SDKBuildInfo {
969
1025
  }
970
1026
  exports.SDKBuildInfo = SDKBuildInfo;
971
1027
  /**
972
- * The VideoDeviceInfo class that contains the ID and device name of the video devices.
1028
+ * The VideoDeviceInfo class contains the video device ID and device name.
973
1029
  */
974
1030
  class VideoDeviceInfo {
975
1031
  }
976
1032
  exports.VideoDeviceInfo = VideoDeviceInfo;
977
1033
  /**
978
- * The AudioDeviceInfo class that contains the ID, name and type of the audio devices.
1034
+ * The AudioDeviceInfo class contains the audio device ID and device name.
979
1035
  */
980
1036
  class AudioDeviceInfo {
981
1037
  }
@@ -4,15 +4,15 @@ exports.IRtcEngineEx = exports.RtcConnection = void 0;
4
4
  require("./extension/IAgoraRtcEngineExExtension");
5
5
  const IAgoraRtcEngine_1 = require("./IAgoraRtcEngine");
6
6
  /**
7
- * Contains connection information.
7
+ * Class containing connection information.
8
8
  */
9
9
  class RtcConnection {
10
10
  }
11
11
  exports.RtcConnection = RtcConnection;
12
12
  /**
13
- * This interface class contains multi-channel methods.
13
+ * Interface class that provides multi-channel methods.
14
14
  *
15
- * Inherited from IRtcEngine.
15
+ * Inherits from IRtcEngine.
16
16
  */
17
17
  class IRtcEngineEx extends IAgoraRtcEngine_1.IRtcEngine {
18
18
  }