agora-electron-sdk 0.0.0-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 (369) hide show
  1. package/CHANGELOG.md +315 -0
  2. package/LICENSE +21 -0
  3. package/README.md +143 -0
  4. package/gulpfile.js +52 -0
  5. package/js/AgoraSdk.js +64 -0
  6. package/js/Decoder/gpu-utils.js +74 -0
  7. package/js/Decoder/index.js +172 -0
  8. package/js/Private/AgoraBase.js +3985 -0
  9. package/js/Private/AgoraMediaBase.js +1014 -0
  10. package/js/Private/AgoraMediaPlayerTypes.js +316 -0
  11. package/js/Private/IAgoraH265Transcoder.js +36 -0
  12. package/js/Private/IAgoraLog.js +78 -0
  13. package/js/Private/IAgoraMediaEngine.js +32 -0
  14. package/js/Private/IAgoraMediaPlayer.js +16 -0
  15. package/js/Private/IAgoraMediaPlayerSource.js +3 -0
  16. package/js/Private/IAgoraMediaRecorder.js +10 -0
  17. package/js/Private/IAgoraMediaStreamingSource.js +74 -0
  18. package/js/Private/IAgoraMusicContentCenter.js +157 -0
  19. package/js/Private/IAgoraRhythmPlayer.js +62 -0
  20. package/js/Private/IAgoraRtcEngine.js +982 -0
  21. package/js/Private/IAgoraRtcEngineEx.js +19 -0
  22. package/js/Private/IAgoraSpatialAudio.js +24 -0
  23. package/js/Private/IAudioDeviceManager.js +20 -0
  24. package/js/Private/extension/AgoraBaseExtension.js +3 -0
  25. package/js/Private/extension/AgoraMediaBaseExtension.js +2 -0
  26. package/js/Private/extension/AgoraMediaPlayerTypesExtension.js +2 -0
  27. package/js/Private/extension/IAgoraH265TranscoderExtension.js +2 -0
  28. package/js/Private/extension/IAgoraLogExtension.js +2 -0
  29. package/js/Private/extension/IAgoraMediaEngineExtension.js +2 -0
  30. package/js/Private/extension/IAgoraMediaPlayerExtension.js +2 -0
  31. package/js/Private/extension/IAgoraMediaPlayerSourceExtension.js +2 -0
  32. package/js/Private/extension/IAgoraMediaRecorderExtension.js +2 -0
  33. package/js/Private/extension/IAgoraMusicContentCenterExtension.js +2 -0
  34. package/js/Private/extension/IAgoraRhythmPlayerExtension.js +2 -0
  35. package/js/Private/extension/IAgoraRtcEngineExExtension.js +2 -0
  36. package/js/Private/extension/IAgoraRtcEngineExtension.js +2 -0
  37. package/js/Private/extension/IAgoraSpatialAudioExtension.js +2 -0
  38. package/js/Private/extension/IAudioDeviceManagerExtension.js +2 -0
  39. package/js/Private/impl/AgoraBaseImpl.js +23 -0
  40. package/js/Private/impl/AgoraMediaBaseImpl.js +149 -0
  41. package/js/Private/impl/IAgoraH265TranscoderImpl.js +116 -0
  42. package/js/Private/impl/IAgoraMediaEngineImpl.js +337 -0
  43. package/js/Private/impl/IAgoraMediaPlayerImpl.js +950 -0
  44. package/js/Private/impl/IAgoraMediaPlayerSourceImpl.js +73 -0
  45. package/js/Private/impl/IAgoraMediaRecorderImpl.js +47 -0
  46. package/js/Private/impl/IAgoraMusicContentCenterImpl.js +422 -0
  47. package/js/Private/impl/IAgoraRtcEngineExImpl.js +1042 -0
  48. package/js/Private/impl/IAgoraRtcEngineImpl.js +5167 -0
  49. package/js/Private/impl/IAgoraSpatialAudioImpl.js +358 -0
  50. package/js/Private/impl/IAudioDeviceManagerImpl.js +375 -0
  51. package/js/Private/internal/AgoraH265TranscoderInternal.js +62 -0
  52. package/js/Private/internal/AgoraMediaBaseInternal.js +15 -0
  53. package/js/Private/internal/AudioDeviceManagerInternal.js +44 -0
  54. package/js/Private/internal/IrisApiEngine.js +424 -0
  55. package/js/Private/internal/LocalSpatialAudioEngineInternal.js +7 -0
  56. package/js/Private/internal/MediaEngineInternal.js +122 -0
  57. package/js/Private/internal/MediaPlayerInternal.js +194 -0
  58. package/js/Private/internal/MediaRecorderInternal.js +70 -0
  59. package/js/Private/internal/MusicContentCenterInternal.js +139 -0
  60. package/js/Private/internal/RtcEngineExInternal.js +430 -0
  61. package/js/Private/ipc/main.js +21 -0
  62. package/js/Private/ipc/renderer.js +21 -0
  63. package/js/Private/ti/AgoraBase-ti.js +40 -0
  64. package/js/Private/ti/AgoraMediaBase-ti.js +75 -0
  65. package/js/Private/ti/AgoraMediaPlayerTypes-ti.js +5 -0
  66. package/js/Private/ti/IAgoraH265Transcoder-ti.js +40 -0
  67. package/js/Private/ti/IAgoraLog-ti.js +5 -0
  68. package/js/Private/ti/IAgoraMediaEngine-ti.js +5 -0
  69. package/js/Private/ti/IAgoraMediaPlayer-ti.js +38 -0
  70. package/js/Private/ti/IAgoraMediaPlayerSource-ti.js +50 -0
  71. package/js/Private/ti/IAgoraMediaRecorder-ti.js +5 -0
  72. package/js/Private/ti/IAgoraMediaStreamingSource-ti.js +5 -0
  73. package/js/Private/ti/IAgoraMusicContentCenter-ti.js +42 -0
  74. package/js/Private/ti/IAgoraRhythmPlayer-ti.js +5 -0
  75. package/js/Private/ti/IAgoraRtcEngine-ti.js +141 -0
  76. package/js/Private/ti/IAgoraRtcEngineEx-ti.js +5 -0
  77. package/js/Private/ti/IAgoraSpatialAudio-ti.js +5 -0
  78. package/js/Private/ti/IAudioDeviceManager-ti.js +5 -0
  79. package/js/Renderer/AgoraView.js +161 -0
  80. package/js/Renderer/CapabilityManager.js +99 -0
  81. package/js/Renderer/IRenderer.js +136 -0
  82. package/js/Renderer/IRendererCache.js +75 -0
  83. package/js/Renderer/RendererCache.js +100 -0
  84. package/js/Renderer/RendererManager.js +301 -0
  85. package/js/Renderer/WebCodecsRenderer/index.js +109 -0
  86. package/js/Renderer/WebCodecsRendererCache.js +115 -0
  87. package/js/Renderer/WebGLRenderer/index.js +314 -0
  88. package/js/Renderer/WebGLRenderer/webgl-utils.js +1337 -0
  89. package/js/Renderer/YUVCanvasRenderer/index.js +46 -0
  90. package/js/Renderer/index.js +17 -0
  91. package/js/Types.js +67 -0
  92. package/js/Utils.js +187 -0
  93. package/package.json +167 -0
  94. package/scripts/bootstrap.js +29 -0
  95. package/scripts/build.js +37 -0
  96. package/scripts/buildJS.js +14 -0
  97. package/scripts/checkElectron.js +43 -0
  98. package/scripts/clean.js +16 -0
  99. package/scripts/download.js +105 -0
  100. package/scripts/downloadPrebuild.js +199 -0
  101. package/scripts/getConfig.js +73 -0
  102. package/scripts/logger.js +32 -0
  103. package/scripts/synclib.js +69 -0
  104. package/scripts/util.js +47 -0
  105. package/scripts/zipBuild.js +40 -0
  106. package/ts/AgoraSdk.ts +54 -0
  107. package/ts/Decoder/gpu-utils.ts +92 -0
  108. package/ts/Decoder/index.ts +206 -0
  109. package/ts/Private/AgoraBase.ts +5511 -0
  110. package/ts/Private/AgoraMediaBase.ts +1764 -0
  111. package/ts/Private/AgoraMediaPlayerTypes.ts +464 -0
  112. package/ts/Private/IAgoraH265Transcoder.ts +73 -0
  113. package/ts/Private/IAgoraLog.ts +91 -0
  114. package/ts/Private/IAgoraMediaEngine.ts +316 -0
  115. package/ts/Private/IAgoraMediaPlayer.ts +744 -0
  116. package/ts/Private/IAgoraMediaPlayerSource.ts +137 -0
  117. package/ts/Private/IAgoraMediaRecorder.ts +25 -0
  118. package/ts/Private/IAgoraMediaStreamingSource.ts +81 -0
  119. package/ts/Private/IAgoraMusicContentCenter.ts +455 -0
  120. package/ts/Private/IAgoraRhythmPlayer.ts +67 -0
  121. package/ts/Private/IAgoraRtcEngine.ts +7306 -0
  122. package/ts/Private/IAgoraRtcEngineEx.ts +992 -0
  123. package/ts/Private/IAgoraSpatialAudio.ts +250 -0
  124. package/ts/Private/IAudioDeviceManager.ts +342 -0
  125. package/ts/Private/extension/AgoraBaseExtension.ts +14 -0
  126. package/ts/Private/extension/AgoraMediaBaseExtension.ts +1 -0
  127. package/ts/Private/extension/AgoraMediaPlayerTypesExtension.ts +1 -0
  128. package/ts/Private/extension/IAgoraH265TranscoderExtension.ts +39 -0
  129. package/ts/Private/extension/IAgoraLogExtension.ts +1 -0
  130. package/ts/Private/extension/IAgoraMediaEngineExtension.ts +62 -0
  131. package/ts/Private/extension/IAgoraMediaPlayerExtension.ts +64 -0
  132. package/ts/Private/extension/IAgoraMediaPlayerSourceExtension.ts +1 -0
  133. package/ts/Private/extension/IAgoraMediaRecorderExtension.ts +59 -0
  134. package/ts/Private/extension/IAgoraMusicContentCenterExtension.ts +34 -0
  135. package/ts/Private/extension/IAgoraRhythmPlayerExtension.ts +1 -0
  136. package/ts/Private/extension/IAgoraRtcEngineExExtension.ts +1 -0
  137. package/ts/Private/extension/IAgoraRtcEngineExtension.ts +64 -0
  138. package/ts/Private/extension/IAgoraSpatialAudioExtension.ts +1 -0
  139. package/ts/Private/extension/IAudioDeviceManagerExtension.ts +1 -0
  140. package/ts/Private/impl/AgoraBaseImpl.ts +39 -0
  141. package/ts/Private/impl/AgoraMediaBaseImpl.ts +237 -0
  142. package/ts/Private/impl/IAgoraH265TranscoderImpl.ts +152 -0
  143. package/ts/Private/impl/IAgoraMediaEngineImpl.ts +491 -0
  144. package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +1169 -0
  145. package/ts/Private/impl/IAgoraMediaPlayerSourceImpl.ts +94 -0
  146. package/ts/Private/impl/IAgoraMediaRecorderImpl.ts +59 -0
  147. package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +562 -0
  148. package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +1672 -0
  149. package/ts/Private/impl/IAgoraRtcEngineImpl.ts +7352 -0
  150. package/ts/Private/impl/IAgoraSpatialAudioImpl.ts +495 -0
  151. package/ts/Private/impl/IAudioDeviceManagerImpl.ts +443 -0
  152. package/ts/Private/internal/AgoraH265TranscoderInternal.ts +97 -0
  153. package/ts/Private/internal/AgoraMediaBaseInternal.ts +15 -0
  154. package/ts/Private/internal/AudioDeviceManagerInternal.ts +46 -0
  155. package/ts/Private/internal/IrisApiEngine.ts +598 -0
  156. package/ts/Private/internal/LocalSpatialAudioEngineInternal.ts +3 -0
  157. package/ts/Private/internal/MediaEngineInternal.ts +190 -0
  158. package/ts/Private/internal/MediaPlayerInternal.ts +311 -0
  159. package/ts/Private/internal/MediaRecorderInternal.ts +100 -0
  160. package/ts/Private/internal/MusicContentCenterInternal.ts +208 -0
  161. package/ts/Private/internal/RtcEngineExInternal.ts +647 -0
  162. package/ts/Private/ipc/main.ts +22 -0
  163. package/ts/Private/ipc/renderer.ts +21 -0
  164. package/ts/Private/ti/AgoraBase-ti.ts +16 -0
  165. package/ts/Private/ti/AgoraMediaBase-ti.ts +58 -0
  166. package/ts/Private/ti/AgoraMediaPlayerTypes-ti.ts +11 -0
  167. package/ts/Private/ti/IAgoraH265Transcoder-ti.ts +16 -0
  168. package/ts/Private/ti/IAgoraLog-ti.ts +11 -0
  169. package/ts/Private/ti/IAgoraMediaEngine-ti.ts +11 -0
  170. package/ts/Private/ti/IAgoraMediaPlayer-ti.ts +14 -0
  171. package/ts/Private/ti/IAgoraMediaPlayerSource-ti.ts +26 -0
  172. package/ts/Private/ti/IAgoraMediaRecorder-ti.ts +11 -0
  173. package/ts/Private/ti/IAgoraMediaStreamingSource-ti.ts +11 -0
  174. package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +18 -0
  175. package/ts/Private/ti/IAgoraRhythmPlayer-ti.ts +11 -0
  176. package/ts/Private/ti/IAgoraRtcEngine-ti.ts +119 -0
  177. package/ts/Private/ti/IAgoraRtcEngineEx-ti.ts +11 -0
  178. package/ts/Private/ti/IAgoraSpatialAudio-ti.ts +11 -0
  179. package/ts/Private/ti/IAudioDeviceManager-ti.ts +11 -0
  180. package/ts/Renderer/AgoraView.ts +235 -0
  181. package/ts/Renderer/CapabilityManager.ts +126 -0
  182. package/ts/Renderer/IRenderer.ts +158 -0
  183. package/ts/Renderer/IRendererCache.ts +96 -0
  184. package/ts/Renderer/RendererCache.ts +124 -0
  185. package/ts/Renderer/RendererManager.ts +400 -0
  186. package/ts/Renderer/WebCodecsRenderer/index.ts +145 -0
  187. package/ts/Renderer/WebCodecsRendererCache.ts +137 -0
  188. package/ts/Renderer/WebGLRenderer/index.ts +489 -0
  189. package/ts/Renderer/WebGLRenderer/webgl-utils.js +1510 -0
  190. package/ts/Renderer/YUVCanvasRenderer/index.ts +67 -0
  191. package/ts/Renderer/index.ts +1 -0
  192. package/ts/Types.ts +249 -0
  193. package/ts/Utils.ts +197 -0
  194. package/types/AgoraSdk.d.ts +40 -0
  195. package/types/AgoraSdk.d.ts.map +1 -0
  196. package/types/Decoder/gpu-utils.d.ts +21 -0
  197. package/types/Decoder/gpu-utils.d.ts.map +1 -0
  198. package/types/Decoder/index.d.ts +26 -0
  199. package/types/Decoder/index.d.ts.map +1 -0
  200. package/types/Private/AgoraBase.d.ts +5310 -0
  201. package/types/Private/AgoraBase.d.ts.map +1 -0
  202. package/types/Private/AgoraMediaBase.d.ts +1668 -0
  203. package/types/Private/AgoraMediaBase.d.ts.map +1 -0
  204. package/types/Private/AgoraMediaPlayerTypes.d.ts +453 -0
  205. package/types/Private/AgoraMediaPlayerTypes.d.ts.map +1 -0
  206. package/types/Private/IAgoraH265Transcoder.d.ts +28 -0
  207. package/types/Private/IAgoraH265Transcoder.d.ts.map +1 -0
  208. package/types/Private/IAgoraLog.d.ts +89 -0
  209. package/types/Private/IAgoraLog.d.ts.map +1 -0
  210. package/types/Private/IAgoraMediaEngine.d.ts +250 -0
  211. package/types/Private/IAgoraMediaEngine.d.ts.map +1 -0
  212. package/types/Private/IAgoraMediaPlayer.d.ts +648 -0
  213. package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -0
  214. package/types/Private/IAgoraMediaPlayerSource.d.ts +109 -0
  215. package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -0
  216. package/types/Private/IAgoraMediaRecorder.d.ts +20 -0
  217. package/types/Private/IAgoraMediaRecorder.d.ts.map +1 -0
  218. package/types/Private/IAgoraMediaStreamingSource.d.ts +42 -0
  219. package/types/Private/IAgoraMediaStreamingSource.d.ts.map +1 -0
  220. package/types/Private/IAgoraMusicContentCenter.d.ts +381 -0
  221. package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -0
  222. package/types/Private/IAgoraRhythmPlayer.d.ts +65 -0
  223. package/types/Private/IAgoraRhythmPlayer.d.ts.map +1 -0
  224. package/types/Private/IAgoraRtcEngine.d.ts +6103 -0
  225. package/types/Private/IAgoraRtcEngine.d.ts.map +1 -0
  226. package/types/Private/IAgoraRtcEngineEx.d.ts +741 -0
  227. package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -0
  228. package/types/Private/IAgoraSpatialAudio.d.ts +196 -0
  229. package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -0
  230. package/types/Private/IAudioDeviceManager.d.ts +312 -0
  231. package/types/Private/IAudioDeviceManager.d.ts.map +1 -0
  232. package/types/Private/extension/AgoraBaseExtension.d.ts +14 -0
  233. package/types/Private/extension/AgoraBaseExtension.d.ts.map +1 -0
  234. package/types/Private/extension/AgoraMediaBaseExtension.d.ts +2 -0
  235. package/types/Private/extension/AgoraMediaBaseExtension.d.ts.map +1 -0
  236. package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts +2 -0
  237. package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +1 -0
  238. package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts +24 -0
  239. package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +1 -0
  240. package/types/Private/extension/IAgoraLogExtension.d.ts +2 -0
  241. package/types/Private/extension/IAgoraLogExtension.d.ts.map +1 -0
  242. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts +40 -0
  243. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts.map +1 -0
  244. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts +46 -0
  245. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -0
  246. package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts +2 -0
  247. package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +1 -0
  248. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts +44 -0
  249. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -0
  250. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts +20 -0
  251. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -0
  252. package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts +2 -0
  253. package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +1 -0
  254. package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts +2 -0
  255. package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +1 -0
  256. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts +42 -0
  257. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts.map +1 -0
  258. package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts +2 -0
  259. package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +1 -0
  260. package/types/Private/extension/IAudioDeviceManagerExtension.d.ts +2 -0
  261. package/types/Private/extension/IAudioDeviceManagerExtension.d.ts.map +1 -0
  262. package/types/Private/impl/AgoraBaseImpl.d.ts +3 -0
  263. package/types/Private/impl/AgoraBaseImpl.d.ts.map +1 -0
  264. package/types/Private/impl/AgoraMediaBaseImpl.d.ts +14 -0
  265. package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -0
  266. package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts +15 -0
  267. package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +1 -0
  268. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts +46 -0
  269. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -0
  270. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts +143 -0
  271. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -0
  272. package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts +3 -0
  273. package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -0
  274. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts +11 -0
  275. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -0
  276. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts +67 -0
  277. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -0
  278. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +116 -0
  279. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
  280. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +628 -0
  281. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -0
  282. package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts +47 -0
  283. package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -0
  284. package/types/Private/impl/IAudioDeviceManagerImpl.d.ts +65 -0
  285. package/types/Private/impl/IAudioDeviceManagerImpl.d.ts.map +1 -0
  286. package/types/Private/internal/AgoraH265TranscoderInternal.d.ts +14 -0
  287. package/types/Private/internal/AgoraH265TranscoderInternal.d.ts.map +1 -0
  288. package/types/Private/internal/AgoraMediaBaseInternal.d.ts +8 -0
  289. package/types/Private/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
  290. package/types/Private/internal/AudioDeviceManagerInternal.d.ts +9 -0
  291. package/types/Private/internal/AudioDeviceManagerInternal.d.ts.map +1 -0
  292. package/types/Private/internal/IrisApiEngine.d.ts +69 -0
  293. package/types/Private/internal/IrisApiEngine.d.ts.map +1 -0
  294. package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts +4 -0
  295. package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -0
  296. package/types/Private/internal/MediaEngineInternal.d.ts +23 -0
  297. package/types/Private/internal/MediaEngineInternal.d.ts.map +1 -0
  298. package/types/Private/internal/MediaPlayerInternal.d.ts +30 -0
  299. package/types/Private/internal/MediaPlayerInternal.d.ts.map +1 -0
  300. package/types/Private/internal/MediaRecorderInternal.d.ts +16 -0
  301. package/types/Private/internal/MediaRecorderInternal.d.ts.map +1 -0
  302. package/types/Private/internal/MusicContentCenterInternal.d.ts +31 -0
  303. package/types/Private/internal/MusicContentCenterInternal.d.ts.map +1 -0
  304. package/types/Private/internal/RtcEngineExInternal.d.ts +73 -0
  305. package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -0
  306. package/types/Private/ipc/main.d.ts +2 -0
  307. package/types/Private/ipc/main.d.ts.map +1 -0
  308. package/types/Private/ipc/renderer.d.ts +3 -0
  309. package/types/Private/ipc/renderer.d.ts.map +1 -0
  310. package/types/Private/ti/AgoraBase-ti.d.ts +8 -0
  311. package/types/Private/ti/AgoraBase-ti.d.ts.map +1 -0
  312. package/types/Private/ti/AgoraMediaBase-ti.d.ts +15 -0
  313. package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -0
  314. package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts +7 -0
  315. package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +1 -0
  316. package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts +8 -0
  317. package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +1 -0
  318. package/types/Private/ti/IAgoraLog-ti.d.ts +7 -0
  319. package/types/Private/ti/IAgoraLog-ti.d.ts.map +1 -0
  320. package/types/Private/ti/IAgoraMediaEngine-ti.d.ts +7 -0
  321. package/types/Private/ti/IAgoraMediaEngine-ti.d.ts.map +1 -0
  322. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts +8 -0
  323. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -0
  324. package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts +8 -0
  325. package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -0
  326. package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts +7 -0
  327. package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +1 -0
  328. package/types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts +7 -0
  329. package/types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +1 -0
  330. package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts +8 -0
  331. package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -0
  332. package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts +7 -0
  333. package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +1 -0
  334. package/types/Private/ti/IAgoraRtcEngine-ti.d.ts +10 -0
  335. package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -0
  336. package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts +7 -0
  337. package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +1 -0
  338. package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts +7 -0
  339. package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +1 -0
  340. package/types/Private/ti/IAudioDeviceManager-ti.d.ts +7 -0
  341. package/types/Private/ti/IAudioDeviceManager-ti.d.ts.map +1 -0
  342. package/types/Renderer/AgoraView.d.ts +76 -0
  343. package/types/Renderer/AgoraView.d.ts.map +1 -0
  344. package/types/Renderer/CapabilityManager.d.ts +20 -0
  345. package/types/Renderer/CapabilityManager.d.ts.map +1 -0
  346. package/types/Renderer/IRenderer.d.ts +20 -0
  347. package/types/Renderer/IRenderer.d.ts.map +1 -0
  348. package/types/Renderer/IRendererCache.d.ts +26 -0
  349. package/types/Renderer/IRendererCache.d.ts.map +1 -0
  350. package/types/Renderer/RendererCache.d.ts +24 -0
  351. package/types/Renderer/RendererCache.d.ts.map +1 -0
  352. package/types/Renderer/RendererManager.d.ts +66 -0
  353. package/types/Renderer/RendererManager.d.ts.map +1 -0
  354. package/types/Renderer/WebCodecsRenderer/index.d.ts +14 -0
  355. package/types/Renderer/WebCodecsRenderer/index.d.ts.map +1 -0
  356. package/types/Renderer/WebCodecsRendererCache.d.ts +15 -0
  357. package/types/Renderer/WebCodecsRendererCache.d.ts.map +1 -0
  358. package/types/Renderer/WebGLRenderer/index.d.ts +27 -0
  359. package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -0
  360. package/types/Renderer/WebGLRenderer/webgl-utils.d.ts +1 -0
  361. package/types/Renderer/WebGLRenderer/webgl-utils.d.ts.map +1 -0
  362. package/types/Renderer/YUVCanvasRenderer/index.d.ts +9 -0
  363. package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -0
  364. package/types/Renderer/index.d.ts +2 -0
  365. package/types/Renderer/index.d.ts.map +1 -0
  366. package/types/Types.d.ts +177 -0
  367. package/types/Types.d.ts.map +1 -0
  368. package/types/Utils.d.ts +50 -0
  369. package/types/Utils.d.ts.map +1 -0
@@ -0,0 +1,982 @@
1
+ "use strict";
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;
4
+ require("./extension/IAgoraRtcEngineExtension");
5
+ /**
6
+ * Media device types.
7
+ */
8
+ var MediaDeviceType;
9
+ (function (MediaDeviceType) {
10
+ /**
11
+ * -1: Unknown device type.
12
+ */
13
+ MediaDeviceType[MediaDeviceType["UnknownAudioDevice"] = -1] = "UnknownAudioDevice";
14
+ /**
15
+ * 0: Audio playback device.
16
+ */
17
+ MediaDeviceType[MediaDeviceType["AudioPlayoutDevice"] = 0] = "AudioPlayoutDevice";
18
+ /**
19
+ * 1: Audio capturing device.
20
+ */
21
+ MediaDeviceType[MediaDeviceType["AudioRecordingDevice"] = 1] = "AudioRecordingDevice";
22
+ /**
23
+ * 2: Video rendering device (graphics card).
24
+ */
25
+ MediaDeviceType[MediaDeviceType["VideoRenderDevice"] = 2] = "VideoRenderDevice";
26
+ /**
27
+ * 3: Video capturing device.
28
+ */
29
+ MediaDeviceType[MediaDeviceType["VideoCaptureDevice"] = 3] = "VideoCaptureDevice";
30
+ /**
31
+ * 4: Audio playback device for an app.
32
+ */
33
+ MediaDeviceType[MediaDeviceType["AudioApplicationPlayoutDevice"] = 4] = "AudioApplicationPlayoutDevice";
34
+ /**
35
+ * (For macOS only) 5: Virtual audio playback device (virtual sound card).
36
+ */
37
+ MediaDeviceType[MediaDeviceType["AudioVirtualPlayoutDevice"] = 5] = "AudioVirtualPlayoutDevice";
38
+ /**
39
+ * (For macOS only) 6: Virtual audio capturing device (virtual sound card).
40
+ */
41
+ MediaDeviceType[MediaDeviceType["AudioVirtualRecordingDevice"] = 6] = "AudioVirtualRecordingDevice";
42
+ })(MediaDeviceType = exports.MediaDeviceType || (exports.MediaDeviceType = {}));
43
+ /**
44
+ * The playback state of the music file.
45
+ */
46
+ var AudioMixingStateType;
47
+ (function (AudioMixingStateType) {
48
+ /**
49
+ * 710: The music file is playing.
50
+ */
51
+ AudioMixingStateType[AudioMixingStateType["AudioMixingStatePlaying"] = 710] = "AudioMixingStatePlaying";
52
+ /**
53
+ * 711: The music file pauses playing.
54
+ */
55
+ AudioMixingStateType[AudioMixingStateType["AudioMixingStatePaused"] = 711] = "AudioMixingStatePaused";
56
+ /**
57
+ * 713: The music file stops playing. The possible reasons include: AudioMixingReasonAllLoopsCompleted (723) AudioMixingReasonStoppedByUser (724)
58
+ */
59
+ AudioMixingStateType[AudioMixingStateType["AudioMixingStateStopped"] = 713] = "AudioMixingStateStopped";
60
+ /**
61
+ * 714: An error occurs during the playback of the audio mixing file. The possible reasons include: AudioMixingReasonCanNotOpen (701) AudioMixingReasonTooFrequentCall (702) AudioMixingReasonInterruptedEof (703)
62
+ */
63
+ AudioMixingStateType[AudioMixingStateType["AudioMixingStateFailed"] = 714] = "AudioMixingStateFailed";
64
+ })(AudioMixingStateType = exports.AudioMixingStateType || (exports.AudioMixingStateType = {}));
65
+ /**
66
+ * The reason why the playback state of the music file changes. Reported in the onAudioMixingStateChanged callback.
67
+ */
68
+ var AudioMixingReasonType;
69
+ (function (AudioMixingReasonType) {
70
+ /**
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.
72
+ */
73
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonCanNotOpen"] = 701] = "AudioMixingReasonCanNotOpen";
74
+ /**
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.
76
+ */
77
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonTooFrequentCall"] = 702] = "AudioMixingReasonTooFrequentCall";
78
+ /**
79
+ * 703: The music file playback is interrupted.
80
+ */
81
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonInterruptedEof"] = 703] = "AudioMixingReasonInterruptedEof";
82
+ /**
83
+ * 721: The music file completes a loop playback.
84
+ */
85
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonOneLoopCompleted"] = 721] = "AudioMixingReasonOneLoopCompleted";
86
+ /**
87
+ * 723: The music file completes all loop playback.
88
+ */
89
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonAllLoopsCompleted"] = 723] = "AudioMixingReasonAllLoopsCompleted";
90
+ /**
91
+ * 724: Successfully call stopAudioMixing to stop playing the music file.
92
+ */
93
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonStoppedByUser"] = 724] = "AudioMixingReasonStoppedByUser";
94
+ /**
95
+ * @ignore
96
+ */
97
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonResumedByUser"] = 726] = "AudioMixingReasonResumedByUser";
98
+ /**
99
+ * 0: The SDK opens music file successfully.
100
+ */
101
+ AudioMixingReasonType[AudioMixingReasonType["AudioMixingReasonOk"] = 0] = "AudioMixingReasonOk";
102
+ })(AudioMixingReasonType = exports.AudioMixingReasonType || (exports.AudioMixingReasonType = {}));
103
+ /**
104
+ * @ignore
105
+ */
106
+ var InjectStreamStatus;
107
+ (function (InjectStreamStatus) {
108
+ /**
109
+ * @ignore
110
+ */
111
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStartSuccess"] = 0] = "InjectStreamStatusStartSuccess";
112
+ /**
113
+ * @ignore
114
+ */
115
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStartAlreadyExists"] = 1] = "InjectStreamStatusStartAlreadyExists";
116
+ /**
117
+ * @ignore
118
+ */
119
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStartUnauthorized"] = 2] = "InjectStreamStatusStartUnauthorized";
120
+ /**
121
+ * @ignore
122
+ */
123
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStartTimedout"] = 3] = "InjectStreamStatusStartTimedout";
124
+ /**
125
+ * @ignore
126
+ */
127
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStartFailed"] = 4] = "InjectStreamStatusStartFailed";
128
+ /**
129
+ * @ignore
130
+ */
131
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStopSuccess"] = 5] = "InjectStreamStatusStopSuccess";
132
+ /**
133
+ * @ignore
134
+ */
135
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStopNotFound"] = 6] = "InjectStreamStatusStopNotFound";
136
+ /**
137
+ * @ignore
138
+ */
139
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStopUnauthorized"] = 7] = "InjectStreamStatusStopUnauthorized";
140
+ /**
141
+ * @ignore
142
+ */
143
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStopTimedout"] = 8] = "InjectStreamStatusStopTimedout";
144
+ /**
145
+ * @ignore
146
+ */
147
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusStopFailed"] = 9] = "InjectStreamStatusStopFailed";
148
+ /**
149
+ * @ignore
150
+ */
151
+ InjectStreamStatus[InjectStreamStatus["InjectStreamStatusBroken"] = 10] = "InjectStreamStatusBroken";
152
+ })(InjectStreamStatus = exports.InjectStreamStatus || (exports.InjectStreamStatus = {}));
153
+ /**
154
+ * The midrange frequency for audio equalization.
155
+ */
156
+ var AudioEqualizationBandFrequency;
157
+ (function (AudioEqualizationBandFrequency) {
158
+ /**
159
+ * 0: 31 Hz
160
+ */
161
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand31"] = 0] = "AudioEqualizationBand31";
162
+ /**
163
+ * 1: 62 Hz
164
+ */
165
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand62"] = 1] = "AudioEqualizationBand62";
166
+ /**
167
+ * 2: 125 Hz
168
+ */
169
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand125"] = 2] = "AudioEqualizationBand125";
170
+ /**
171
+ * 3: 250 Hz
172
+ */
173
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand250"] = 3] = "AudioEqualizationBand250";
174
+ /**
175
+ * 4: 500 Hz
176
+ */
177
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand500"] = 4] = "AudioEqualizationBand500";
178
+ /**
179
+ * 5: 1 kHz
180
+ */
181
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand1k"] = 5] = "AudioEqualizationBand1k";
182
+ /**
183
+ * 6: 2 kHz
184
+ */
185
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand2k"] = 6] = "AudioEqualizationBand2k";
186
+ /**
187
+ * 7: 4 kHz
188
+ */
189
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand4k"] = 7] = "AudioEqualizationBand4k";
190
+ /**
191
+ * 8: 8 kHz
192
+ */
193
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand8k"] = 8] = "AudioEqualizationBand8k";
194
+ /**
195
+ * 9: 16 kHz
196
+ */
197
+ AudioEqualizationBandFrequency[AudioEqualizationBandFrequency["AudioEqualizationBand16k"] = 9] = "AudioEqualizationBand16k";
198
+ })(AudioEqualizationBandFrequency = exports.AudioEqualizationBandFrequency || (exports.AudioEqualizationBandFrequency = {}));
199
+ /**
200
+ * Audio reverberation types.
201
+ */
202
+ var AudioReverbType;
203
+ (function (AudioReverbType) {
204
+ /**
205
+ * 0: The level of the dry signal (dB). The value is between -20 and 10.
206
+ */
207
+ AudioReverbType[AudioReverbType["AudioReverbDryLevel"] = 0] = "AudioReverbDryLevel";
208
+ /**
209
+ * 1: The level of the early reflection signal (wet signal) (dB). The value is between -20 and 10.
210
+ */
211
+ AudioReverbType[AudioReverbType["AudioReverbWetLevel"] = 1] = "AudioReverbWetLevel";
212
+ /**
213
+ * 2: The room size of the reflection. The value is between 0 and 100.
214
+ */
215
+ AudioReverbType[AudioReverbType["AudioReverbRoomSize"] = 2] = "AudioReverbRoomSize";
216
+ /**
217
+ * 3: The length of the initial delay of the wet signal (ms). The value is between 0 and 200.
218
+ */
219
+ AudioReverbType[AudioReverbType["AudioReverbWetDelay"] = 3] = "AudioReverbWetDelay";
220
+ /**
221
+ * 4: The reverberation strength. The value is between 0 and 100.
222
+ */
223
+ AudioReverbType[AudioReverbType["AudioReverbStrength"] = 4] = "AudioReverbStrength";
224
+ })(AudioReverbType = exports.AudioReverbType || (exports.AudioReverbType = {}));
225
+ /**
226
+ * @ignore
227
+ */
228
+ var StreamFallbackOptions;
229
+ (function (StreamFallbackOptions) {
230
+ /**
231
+ * @ignore
232
+ */
233
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionDisabled"] = 0] = "StreamFallbackOptionDisabled";
234
+ /**
235
+ * @ignore
236
+ */
237
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLow"] = 1] = "StreamFallbackOptionVideoStreamLow";
238
+ /**
239
+ * @ignore
240
+ */
241
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionAudioOnly"] = 2] = "StreamFallbackOptionAudioOnly";
242
+ /**
243
+ * @ignore
244
+ */
245
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLayer1"] = 3] = "StreamFallbackOptionVideoStreamLayer1";
246
+ /**
247
+ * @ignore
248
+ */
249
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLayer2"] = 4] = "StreamFallbackOptionVideoStreamLayer2";
250
+ /**
251
+ * @ignore
252
+ */
253
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLayer3"] = 5] = "StreamFallbackOptionVideoStreamLayer3";
254
+ /**
255
+ * @ignore
256
+ */
257
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLayer4"] = 6] = "StreamFallbackOptionVideoStreamLayer4";
258
+ /**
259
+ * @ignore
260
+ */
261
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLayer5"] = 7] = "StreamFallbackOptionVideoStreamLayer5";
262
+ /**
263
+ * @ignore
264
+ */
265
+ StreamFallbackOptions[StreamFallbackOptions["StreamFallbackOptionVideoStreamLayer6"] = 8] = "StreamFallbackOptionVideoStreamLayer6";
266
+ })(StreamFallbackOptions = exports.StreamFallbackOptions || (exports.StreamFallbackOptions = {}));
267
+ /**
268
+ * @ignore
269
+ */
270
+ var PriorityType;
271
+ (function (PriorityType) {
272
+ /**
273
+ * @ignore
274
+ */
275
+ PriorityType[PriorityType["PriorityHigh"] = 50] = "PriorityHigh";
276
+ /**
277
+ * @ignore
278
+ */
279
+ PriorityType[PriorityType["PriorityNormal"] = 100] = "PriorityNormal";
280
+ })(PriorityType = exports.PriorityType || (exports.PriorityType = {}));
281
+ /**
282
+ * The statistics of the local video stream.
283
+ */
284
+ class LocalVideoStats {
285
+ }
286
+ exports.LocalVideoStats = LocalVideoStats;
287
+ /**
288
+ * Audio statistics of the remote user.
289
+ */
290
+ class RemoteAudioStats {
291
+ }
292
+ exports.RemoteAudioStats = RemoteAudioStats;
293
+ /**
294
+ * Statistics of the remote video stream.
295
+ */
296
+ class RemoteVideoStats {
297
+ }
298
+ exports.RemoteVideoStats = RemoteVideoStats;
299
+ /**
300
+ * @ignore
301
+ */
302
+ class Region {
303
+ }
304
+ exports.Region = Region;
305
+ /**
306
+ * @ignore
307
+ */
308
+ class VideoCompositingLayout {
309
+ }
310
+ exports.VideoCompositingLayout = VideoCompositingLayout;
311
+ /**
312
+ * @ignore
313
+ */
314
+ class InjectStreamConfig {
315
+ }
316
+ exports.InjectStreamConfig = InjectStreamConfig;
317
+ /**
318
+ * Lifecycle of the CDN live video stream.
319
+ *
320
+ * Deprecated
321
+ */
322
+ var RtmpStreamLifeCycleType;
323
+ (function (RtmpStreamLifeCycleType) {
324
+ /**
325
+ * Bind to the channel lifecycle. If all hosts leave the channel, the CDN live streaming stops after 30 seconds.
326
+ */
327
+ RtmpStreamLifeCycleType[RtmpStreamLifeCycleType["RtmpStreamLifeCycleBind2channel"] = 1] = "RtmpStreamLifeCycleBind2channel";
328
+ /**
329
+ * Bind to the owner of the RTMP stream. If the owner leaves the channel, the CDN live streaming stops immediately.
330
+ */
331
+ RtmpStreamLifeCycleType[RtmpStreamLifeCycleType["RtmpStreamLifeCycleBind2owner"] = 2] = "RtmpStreamLifeCycleBind2owner";
332
+ })(RtmpStreamLifeCycleType = exports.RtmpStreamLifeCycleType || (exports.RtmpStreamLifeCycleType = {}));
333
+ /**
334
+ * @ignore
335
+ */
336
+ class PublisherConfiguration {
337
+ }
338
+ exports.PublisherConfiguration = PublisherConfiguration;
339
+ /**
340
+ * The camera direction.
341
+ */
342
+ var CameraDirection;
343
+ (function (CameraDirection) {
344
+ /**
345
+ * 0: The rear camera.
346
+ */
347
+ CameraDirection[CameraDirection["CameraRear"] = 0] = "CameraRear";
348
+ /**
349
+ * 1: (Default) The front camera.
350
+ */
351
+ CameraDirection[CameraDirection["CameraFront"] = 1] = "CameraFront";
352
+ })(CameraDirection = exports.CameraDirection || (exports.CameraDirection = {}));
353
+ /**
354
+ * The cloud proxy type.
355
+ */
356
+ var CloudProxyType;
357
+ (function (CloudProxyType) {
358
+ /**
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.
360
+ */
361
+ CloudProxyType[CloudProxyType["NoneProxy"] = 0] = "NoneProxy";
362
+ /**
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.
364
+ */
365
+ CloudProxyType[CloudProxyType["UdpProxy"] = 1] = "UdpProxy";
366
+ /**
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.
368
+ */
369
+ CloudProxyType[CloudProxyType["TcpProxy"] = 2] = "TcpProxy";
370
+ })(CloudProxyType = exports.CloudProxyType || (exports.CloudProxyType = {}));
371
+ /**
372
+ * The camera capturer preference.
373
+ */
374
+ class CameraCapturerConfiguration {
375
+ }
376
+ exports.CameraCapturerConfiguration = CameraCapturerConfiguration;
377
+ /**
378
+ * The configuration of the captured screen.
379
+ */
380
+ class ScreenCaptureConfiguration {
381
+ }
382
+ exports.ScreenCaptureConfiguration = ScreenCaptureConfiguration;
383
+ /**
384
+ * @ignore
385
+ */
386
+ class Size {
387
+ }
388
+ exports.Size = Size;
389
+ /**
390
+ * The image content of the thumbnail or icon. Set in ScreenCaptureSourceInfo.
391
+ *
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.
393
+ */
394
+ class ThumbImageBuffer {
395
+ }
396
+ exports.ThumbImageBuffer = ThumbImageBuffer;
397
+ /**
398
+ * The type of the shared target. Set in ScreenCaptureSourceInfo.
399
+ */
400
+ var ScreenCaptureSourceType;
401
+ (function (ScreenCaptureSourceType) {
402
+ /**
403
+ * -1: Unknown type.
404
+ */
405
+ ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeUnknown"] = -1] = "ScreencapturesourcetypeUnknown";
406
+ /**
407
+ * 0: The shared target is a window.
408
+ */
409
+ ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeWindow"] = 0] = "ScreencapturesourcetypeWindow";
410
+ /**
411
+ * 1: The shared target is a screen of a particular monitor.
412
+ */
413
+ ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeScreen"] = 1] = "ScreencapturesourcetypeScreen";
414
+ /**
415
+ * 2: Reserved parameter
416
+ */
417
+ ScreenCaptureSourceType[ScreenCaptureSourceType["ScreencapturesourcetypeCustom"] = 2] = "ScreencapturesourcetypeCustom";
418
+ })(ScreenCaptureSourceType = exports.ScreenCaptureSourceType || (exports.ScreenCaptureSourceType = {}));
419
+ /**
420
+ * The information about the specified shareable window or screen.
421
+ */
422
+ class ScreenCaptureSourceInfo {
423
+ }
424
+ exports.ScreenCaptureSourceInfo = ScreenCaptureSourceInfo;
425
+ /**
426
+ * The advanced options for audio.
427
+ */
428
+ class AdvancedAudioOptions {
429
+ }
430
+ exports.AdvancedAudioOptions = AdvancedAudioOptions;
431
+ /**
432
+ * Image configurations.
433
+ */
434
+ class ImageTrackOptions {
435
+ }
436
+ exports.ImageTrackOptions = ImageTrackOptions;
437
+ /**
438
+ * The channel media options.
439
+ *
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.
441
+ */
442
+ class ChannelMediaOptions {
443
+ }
444
+ exports.ChannelMediaOptions = ChannelMediaOptions;
445
+ /**
446
+ * The cloud proxy type.
447
+ */
448
+ var ProxyType;
449
+ (function (ProxyType) {
450
+ /**
451
+ * 0: Reserved for future use.
452
+ */
453
+ ProxyType[ProxyType["NoneProxyType"] = 0] = "NoneProxyType";
454
+ /**
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.
456
+ */
457
+ ProxyType[ProxyType["UdpProxyType"] = 1] = "UdpProxyType";
458
+ /**
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.
460
+ */
461
+ ProxyType[ProxyType["TcpProxyType"] = 2] = "TcpProxyType";
462
+ /**
463
+ * 3: Reserved for future use.
464
+ */
465
+ ProxyType[ProxyType["LocalProxyType"] = 3] = "LocalProxyType";
466
+ /**
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.
468
+ */
469
+ ProxyType[ProxyType["TcpProxyAutoFallbackType"] = 4] = "TcpProxyAutoFallbackType";
470
+ /**
471
+ * @ignore
472
+ */
473
+ ProxyType[ProxyType["HttpProxyType"] = 5] = "HttpProxyType";
474
+ /**
475
+ * @ignore
476
+ */
477
+ ProxyType[ProxyType["HttpsProxyType"] = 6] = "HttpsProxyType";
478
+ })(ProxyType = exports.ProxyType || (exports.ProxyType = {}));
479
+ /**
480
+ * The type of the advanced feature.
481
+ */
482
+ var FeatureType;
483
+ (function (FeatureType) {
484
+ /**
485
+ * 1: Virtual background.
486
+ */
487
+ FeatureType[FeatureType["VideoVirtualBackground"] = 1] = "VideoVirtualBackground";
488
+ /**
489
+ * 2: Image enhancement.
490
+ */
491
+ FeatureType[FeatureType["VideoBeautyEffect"] = 2] = "VideoBeautyEffect";
492
+ })(FeatureType = exports.FeatureType || (exports.FeatureType = {}));
493
+ /**
494
+ * The options for leaving a channel.
495
+ */
496
+ class LeaveChannelOptions {
497
+ }
498
+ exports.LeaveChannelOptions = LeaveChannelOptions;
499
+ /**
500
+ * Video device management methods.
501
+ */
502
+ class IVideoDeviceManager {
503
+ }
504
+ exports.IVideoDeviceManager = IVideoDeviceManager;
505
+ /**
506
+ * Configurations for the RtcEngineContext instance.
507
+ */
508
+ class RtcEngineContext {
509
+ }
510
+ exports.RtcEngineContext = RtcEngineContext;
511
+ /**
512
+ * Metadata type of the observer. We only support video metadata for now.
513
+ */
514
+ var MetadataType;
515
+ (function (MetadataType) {
516
+ /**
517
+ * The type of metadata is unknown.
518
+ */
519
+ MetadataType[MetadataType["UnknownMetadata"] = -1] = "UnknownMetadata";
520
+ /**
521
+ * The type of metadata is video.
522
+ */
523
+ MetadataType[MetadataType["VideoMetadata"] = 0] = "VideoMetadata";
524
+ })(MetadataType = exports.MetadataType || (exports.MetadataType = {}));
525
+ /**
526
+ * @ignore
527
+ */
528
+ var MaxMetadataSizeType;
529
+ (function (MaxMetadataSizeType) {
530
+ /**
531
+ * @ignore
532
+ */
533
+ MaxMetadataSizeType[MaxMetadataSizeType["InvalidMetadataSizeInByte"] = -1] = "InvalidMetadataSizeInByte";
534
+ /**
535
+ * @ignore
536
+ */
537
+ MaxMetadataSizeType[MaxMetadataSizeType["DefaultMetadataSizeInByte"] = 512] = "DefaultMetadataSizeInByte";
538
+ /**
539
+ * @ignore
540
+ */
541
+ MaxMetadataSizeType[MaxMetadataSizeType["MaxMetadataSizeInByte"] = 1024] = "MaxMetadataSizeInByte";
542
+ })(MaxMetadataSizeType = exports.MaxMetadataSizeType || (exports.MaxMetadataSizeType = {}));
543
+ /**
544
+ * Media metadata.
545
+ */
546
+ class Metadata {
547
+ }
548
+ exports.Metadata = Metadata;
549
+ /**
550
+ * Reasons for the changes in CDN streaming status.
551
+ */
552
+ var DirectCdnStreamingReason;
553
+ (function (DirectCdnStreamingReason) {
554
+ /**
555
+ * 0: No error.
556
+ */
557
+ DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonOk"] = 0] = "DirectCdnStreamingReasonOk";
558
+ /**
559
+ * 1: A general error; no specific reason. You can try to push the media stream again.
560
+ */
561
+ DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonFailed"] = 1] = "DirectCdnStreamingReasonFailed";
562
+ /**
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.
564
+ */
565
+ DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonAudioPublication"] = 2] = "DirectCdnStreamingReasonAudioPublication";
566
+ /**
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.
568
+ */
569
+ DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonVideoPublication"] = 3] = "DirectCdnStreamingReasonVideoPublication";
570
+ /**
571
+ * 4: Fails to connect to the CDN.
572
+ */
573
+ DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonNetConnect"] = 4] = "DirectCdnStreamingReasonNetConnect";
574
+ /**
575
+ * 5: The URL is already being used. Use a new URL for streaming.
576
+ */
577
+ DirectCdnStreamingReason[DirectCdnStreamingReason["DirectCdnStreamingReasonBadName"] = 5] = "DirectCdnStreamingReasonBadName";
578
+ })(DirectCdnStreamingReason = exports.DirectCdnStreamingReason || (exports.DirectCdnStreamingReason = {}));
579
+ /**
580
+ * The current CDN streaming state.
581
+ */
582
+ var DirectCdnStreamingState;
583
+ (function (DirectCdnStreamingState) {
584
+ /**
585
+ * 0: The initial state before the CDN streaming starts.
586
+ */
587
+ DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateIdle"] = 0] = "DirectCdnStreamingStateIdle";
588
+ /**
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.
590
+ */
591
+ DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateRunning"] = 1] = "DirectCdnStreamingStateRunning";
592
+ /**
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.
594
+ */
595
+ DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateStopped"] = 2] = "DirectCdnStreamingStateStopped";
596
+ /**
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.
598
+ */
599
+ DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateFailed"] = 3] = "DirectCdnStreamingStateFailed";
600
+ /**
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.
602
+ */
603
+ DirectCdnStreamingState[DirectCdnStreamingState["DirectCdnStreamingStateRecovering"] = 4] = "DirectCdnStreamingStateRecovering";
604
+ })(DirectCdnStreamingState = exports.DirectCdnStreamingState || (exports.DirectCdnStreamingState = {}));
605
+ /**
606
+ * The statistics of the current CDN streaming.
607
+ */
608
+ class DirectCdnStreamingStats {
609
+ }
610
+ exports.DirectCdnStreamingStats = DirectCdnStreamingStats;
611
+ /**
612
+ * The media setting options for the host.
613
+ */
614
+ class DirectCdnStreamingMediaOptions {
615
+ }
616
+ exports.DirectCdnStreamingMediaOptions = DirectCdnStreamingMediaOptions;
617
+ /**
618
+ * @ignore
619
+ */
620
+ class ExtensionInfo {
621
+ }
622
+ exports.ExtensionInfo = ExtensionInfo;
623
+ /**
624
+ * The basic interface of the Agora SDK that implements the core functions of real-time communication.
625
+ *
626
+ * IRtcEngine provides the main methods that your app can call. Before calling other APIs, you must call createAgoraRtcEngine to create an IRtcEngine object.
627
+ */
628
+ class IRtcEngine {
629
+ }
630
+ exports.IRtcEngine = IRtcEngine;
631
+ /**
632
+ * @ignore
633
+ */
634
+ var QualityReportFormatType;
635
+ (function (QualityReportFormatType) {
636
+ /**
637
+ * @ignore
638
+ */
639
+ QualityReportFormatType[QualityReportFormatType["QualityReportJson"] = 0] = "QualityReportJson";
640
+ /**
641
+ * @ignore
642
+ */
643
+ QualityReportFormatType[QualityReportFormatType["QualityReportHtml"] = 1] = "QualityReportHtml";
644
+ })(QualityReportFormatType = exports.QualityReportFormatType || (exports.QualityReportFormatType = {}));
645
+ /**
646
+ * Media device states.
647
+ */
648
+ var MediaDeviceStateType;
649
+ (function (MediaDeviceStateType) {
650
+ /**
651
+ * 0: The device is ready for use.
652
+ */
653
+ MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateIdle"] = 0] = "MediaDeviceStateIdle";
654
+ /**
655
+ * 1: The device is in use.
656
+ */
657
+ MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateActive"] = 1] = "MediaDeviceStateActive";
658
+ /**
659
+ * 2: The device is disabled.
660
+ */
661
+ MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateDisabled"] = 2] = "MediaDeviceStateDisabled";
662
+ /**
663
+ * 3: The device is plugged in.
664
+ */
665
+ MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStatePluggedIn"] = 3] = "MediaDeviceStatePluggedIn";
666
+ /**
667
+ * 4: The device is not found.
668
+ */
669
+ MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateNotPresent"] = 4] = "MediaDeviceStateNotPresent";
670
+ /**
671
+ * 8: The device is unplugged.
672
+ */
673
+ MediaDeviceStateType[MediaDeviceStateType["MediaDeviceStateUnplugged"] = 8] = "MediaDeviceStateUnplugged";
674
+ })(MediaDeviceStateType = exports.MediaDeviceStateType || (exports.MediaDeviceStateType = {}));
675
+ /**
676
+ * @ignore
677
+ */
678
+ var VideoProfileType;
679
+ (function (VideoProfileType) {
680
+ /**
681
+ * @ignore
682
+ */
683
+ VideoProfileType[VideoProfileType["VideoProfileLandscape120p"] = 0] = "VideoProfileLandscape120p";
684
+ /**
685
+ * @ignore
686
+ */
687
+ VideoProfileType[VideoProfileType["VideoProfileLandscape120p3"] = 2] = "VideoProfileLandscape120p3";
688
+ /**
689
+ * @ignore
690
+ */
691
+ VideoProfileType[VideoProfileType["VideoProfileLandscape180p"] = 10] = "VideoProfileLandscape180p";
692
+ /**
693
+ * @ignore
694
+ */
695
+ VideoProfileType[VideoProfileType["VideoProfileLandscape180p3"] = 12] = "VideoProfileLandscape180p3";
696
+ /**
697
+ * @ignore
698
+ */
699
+ VideoProfileType[VideoProfileType["VideoProfileLandscape180p4"] = 13] = "VideoProfileLandscape180p4";
700
+ /**
701
+ * @ignore
702
+ */
703
+ VideoProfileType[VideoProfileType["VideoProfileLandscape240p"] = 20] = "VideoProfileLandscape240p";
704
+ /**
705
+ * @ignore
706
+ */
707
+ VideoProfileType[VideoProfileType["VideoProfileLandscape240p3"] = 22] = "VideoProfileLandscape240p3";
708
+ /**
709
+ * @ignore
710
+ */
711
+ VideoProfileType[VideoProfileType["VideoProfileLandscape240p4"] = 23] = "VideoProfileLandscape240p4";
712
+ /**
713
+ * @ignore
714
+ */
715
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p"] = 30] = "VideoProfileLandscape360p";
716
+ /**
717
+ * @ignore
718
+ */
719
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p3"] = 32] = "VideoProfileLandscape360p3";
720
+ /**
721
+ * @ignore
722
+ */
723
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p4"] = 33] = "VideoProfileLandscape360p4";
724
+ /**
725
+ * @ignore
726
+ */
727
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p6"] = 35] = "VideoProfileLandscape360p6";
728
+ /**
729
+ * @ignore
730
+ */
731
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p7"] = 36] = "VideoProfileLandscape360p7";
732
+ /**
733
+ * @ignore
734
+ */
735
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p8"] = 37] = "VideoProfileLandscape360p8";
736
+ /**
737
+ * @ignore
738
+ */
739
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p9"] = 38] = "VideoProfileLandscape360p9";
740
+ /**
741
+ * @ignore
742
+ */
743
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p10"] = 39] = "VideoProfileLandscape360p10";
744
+ /**
745
+ * @ignore
746
+ */
747
+ VideoProfileType[VideoProfileType["VideoProfileLandscape360p11"] = 100] = "VideoProfileLandscape360p11";
748
+ /**
749
+ * @ignore
750
+ */
751
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p"] = 40] = "VideoProfileLandscape480p";
752
+ /**
753
+ * @ignore
754
+ */
755
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p3"] = 42] = "VideoProfileLandscape480p3";
756
+ /**
757
+ * @ignore
758
+ */
759
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p4"] = 43] = "VideoProfileLandscape480p4";
760
+ /**
761
+ * @ignore
762
+ */
763
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p6"] = 45] = "VideoProfileLandscape480p6";
764
+ /**
765
+ * @ignore
766
+ */
767
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p8"] = 47] = "VideoProfileLandscape480p8";
768
+ /**
769
+ * @ignore
770
+ */
771
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p9"] = 48] = "VideoProfileLandscape480p9";
772
+ /**
773
+ * @ignore
774
+ */
775
+ VideoProfileType[VideoProfileType["VideoProfileLandscape480p10"] = 49] = "VideoProfileLandscape480p10";
776
+ /**
777
+ * @ignore
778
+ */
779
+ VideoProfileType[VideoProfileType["VideoProfileLandscape720p"] = 50] = "VideoProfileLandscape720p";
780
+ /**
781
+ * @ignore
782
+ */
783
+ VideoProfileType[VideoProfileType["VideoProfileLandscape720p3"] = 52] = "VideoProfileLandscape720p3";
784
+ /**
785
+ * @ignore
786
+ */
787
+ VideoProfileType[VideoProfileType["VideoProfileLandscape720p5"] = 54] = "VideoProfileLandscape720p5";
788
+ /**
789
+ * @ignore
790
+ */
791
+ VideoProfileType[VideoProfileType["VideoProfileLandscape720p6"] = 55] = "VideoProfileLandscape720p6";
792
+ /**
793
+ * @ignore
794
+ */
795
+ VideoProfileType[VideoProfileType["VideoProfileLandscape1080p"] = 60] = "VideoProfileLandscape1080p";
796
+ /**
797
+ * @ignore
798
+ */
799
+ VideoProfileType[VideoProfileType["VideoProfileLandscape1080p3"] = 62] = "VideoProfileLandscape1080p3";
800
+ /**
801
+ * @ignore
802
+ */
803
+ VideoProfileType[VideoProfileType["VideoProfileLandscape1080p5"] = 64] = "VideoProfileLandscape1080p5";
804
+ /**
805
+ * @ignore
806
+ */
807
+ VideoProfileType[VideoProfileType["VideoProfileLandscape1440p"] = 66] = "VideoProfileLandscape1440p";
808
+ /**
809
+ * @ignore
810
+ */
811
+ VideoProfileType[VideoProfileType["VideoProfileLandscape1440p2"] = 67] = "VideoProfileLandscape1440p2";
812
+ /**
813
+ * @ignore
814
+ */
815
+ VideoProfileType[VideoProfileType["VideoProfileLandscape4k"] = 70] = "VideoProfileLandscape4k";
816
+ /**
817
+ * @ignore
818
+ */
819
+ VideoProfileType[VideoProfileType["VideoProfileLandscape4k3"] = 72] = "VideoProfileLandscape4k3";
820
+ /**
821
+ * @ignore
822
+ */
823
+ VideoProfileType[VideoProfileType["VideoProfilePortrait120p"] = 1000] = "VideoProfilePortrait120p";
824
+ /**
825
+ * @ignore
826
+ */
827
+ VideoProfileType[VideoProfileType["VideoProfilePortrait120p3"] = 1002] = "VideoProfilePortrait120p3";
828
+ /**
829
+ * @ignore
830
+ */
831
+ VideoProfileType[VideoProfileType["VideoProfilePortrait180p"] = 1010] = "VideoProfilePortrait180p";
832
+ /**
833
+ * @ignore
834
+ */
835
+ VideoProfileType[VideoProfileType["VideoProfilePortrait180p3"] = 1012] = "VideoProfilePortrait180p3";
836
+ /**
837
+ * @ignore
838
+ */
839
+ VideoProfileType[VideoProfileType["VideoProfilePortrait180p4"] = 1013] = "VideoProfilePortrait180p4";
840
+ /**
841
+ * @ignore
842
+ */
843
+ VideoProfileType[VideoProfileType["VideoProfilePortrait240p"] = 1020] = "VideoProfilePortrait240p";
844
+ /**
845
+ * @ignore
846
+ */
847
+ VideoProfileType[VideoProfileType["VideoProfilePortrait240p3"] = 1022] = "VideoProfilePortrait240p3";
848
+ /**
849
+ * @ignore
850
+ */
851
+ VideoProfileType[VideoProfileType["VideoProfilePortrait240p4"] = 1023] = "VideoProfilePortrait240p4";
852
+ /**
853
+ * @ignore
854
+ */
855
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p"] = 1030] = "VideoProfilePortrait360p";
856
+ /**
857
+ * @ignore
858
+ */
859
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p3"] = 1032] = "VideoProfilePortrait360p3";
860
+ /**
861
+ * @ignore
862
+ */
863
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p4"] = 1033] = "VideoProfilePortrait360p4";
864
+ /**
865
+ * @ignore
866
+ */
867
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p6"] = 1035] = "VideoProfilePortrait360p6";
868
+ /**
869
+ * @ignore
870
+ */
871
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p7"] = 1036] = "VideoProfilePortrait360p7";
872
+ /**
873
+ * @ignore
874
+ */
875
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p8"] = 1037] = "VideoProfilePortrait360p8";
876
+ /**
877
+ * @ignore
878
+ */
879
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p9"] = 1038] = "VideoProfilePortrait360p9";
880
+ /**
881
+ * @ignore
882
+ */
883
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p10"] = 1039] = "VideoProfilePortrait360p10";
884
+ /**
885
+ * @ignore
886
+ */
887
+ VideoProfileType[VideoProfileType["VideoProfilePortrait360p11"] = 1100] = "VideoProfilePortrait360p11";
888
+ /**
889
+ * @ignore
890
+ */
891
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p"] = 1040] = "VideoProfilePortrait480p";
892
+ /**
893
+ * @ignore
894
+ */
895
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p3"] = 1042] = "VideoProfilePortrait480p3";
896
+ /**
897
+ * @ignore
898
+ */
899
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p4"] = 1043] = "VideoProfilePortrait480p4";
900
+ /**
901
+ * @ignore
902
+ */
903
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p6"] = 1045] = "VideoProfilePortrait480p6";
904
+ /**
905
+ * @ignore
906
+ */
907
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p8"] = 1047] = "VideoProfilePortrait480p8";
908
+ /**
909
+ * @ignore
910
+ */
911
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p9"] = 1048] = "VideoProfilePortrait480p9";
912
+ /**
913
+ * @ignore
914
+ */
915
+ VideoProfileType[VideoProfileType["VideoProfilePortrait480p10"] = 1049] = "VideoProfilePortrait480p10";
916
+ /**
917
+ * @ignore
918
+ */
919
+ VideoProfileType[VideoProfileType["VideoProfilePortrait720p"] = 1050] = "VideoProfilePortrait720p";
920
+ /**
921
+ * @ignore
922
+ */
923
+ VideoProfileType[VideoProfileType["VideoProfilePortrait720p3"] = 1052] = "VideoProfilePortrait720p3";
924
+ /**
925
+ * @ignore
926
+ */
927
+ VideoProfileType[VideoProfileType["VideoProfilePortrait720p5"] = 1054] = "VideoProfilePortrait720p5";
928
+ /**
929
+ * @ignore
930
+ */
931
+ VideoProfileType[VideoProfileType["VideoProfilePortrait720p6"] = 1055] = "VideoProfilePortrait720p6";
932
+ /**
933
+ * @ignore
934
+ */
935
+ VideoProfileType[VideoProfileType["VideoProfilePortrait1080p"] = 1060] = "VideoProfilePortrait1080p";
936
+ /**
937
+ * @ignore
938
+ */
939
+ VideoProfileType[VideoProfileType["VideoProfilePortrait1080p3"] = 1062] = "VideoProfilePortrait1080p3";
940
+ /**
941
+ * @ignore
942
+ */
943
+ VideoProfileType[VideoProfileType["VideoProfilePortrait1080p5"] = 1064] = "VideoProfilePortrait1080p5";
944
+ /**
945
+ * @ignore
946
+ */
947
+ VideoProfileType[VideoProfileType["VideoProfilePortrait1440p"] = 1066] = "VideoProfilePortrait1440p";
948
+ /**
949
+ * @ignore
950
+ */
951
+ VideoProfileType[VideoProfileType["VideoProfilePortrait1440p2"] = 1067] = "VideoProfilePortrait1440p2";
952
+ /**
953
+ * @ignore
954
+ */
955
+ VideoProfileType[VideoProfileType["VideoProfilePortrait4k"] = 1070] = "VideoProfilePortrait4k";
956
+ /**
957
+ * @ignore
958
+ */
959
+ VideoProfileType[VideoProfileType["VideoProfilePortrait4k3"] = 1072] = "VideoProfilePortrait4k3";
960
+ /**
961
+ * @ignore
962
+ */
963
+ VideoProfileType[VideoProfileType["VideoProfileDefault"] = 30] = "VideoProfileDefault";
964
+ })(VideoProfileType = exports.VideoProfileType || (exports.VideoProfileType = {}));
965
+ /**
966
+ * SDK version information.
967
+ */
968
+ class SDKBuildInfo {
969
+ }
970
+ exports.SDKBuildInfo = SDKBuildInfo;
971
+ /**
972
+ * The VideoDeviceInfo class that contains the ID and device name of the video devices.
973
+ */
974
+ class VideoDeviceInfo {
975
+ }
976
+ exports.VideoDeviceInfo = VideoDeviceInfo;
977
+ /**
978
+ * The AudioDeviceInfo class that contains the ID, name and type of the audio devices.
979
+ */
980
+ class AudioDeviceInfo {
981
+ }
982
+ exports.AudioDeviceInfo = AudioDeviceInfo;