shengwang-electron-sdk 4.6.2-rc.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 +391 -0
  2. package/LICENSE +21 -0
  3. package/README.md +146 -0
  4. package/gulpfile.js +52 -0
  5. package/js/AgoraSdk.js +54 -0
  6. package/js/Decoder/gpu-utils.js +74 -0
  7. package/js/Decoder/index.js +172 -0
  8. package/js/Private/AgoraBase.js +4292 -0
  9. package/js/Private/AgoraMediaBase.js +1017 -0
  10. package/js/Private/AgoraMediaPlayerTypes.js +320 -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 +160 -0
  19. package/js/Private/IAgoraRhythmPlayer.js +62 -0
  20. package/js/Private/IAgoraRtcEngine.js +1042 -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 +960 -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 +1178 -0
  48. package/js/Private/impl/IAgoraRtcEngineImpl.js +5428 -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 +451 -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 +488 -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 +144 -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 +178 -0
  80. package/js/Renderer/CapabilityManager.js +99 -0
  81. package/js/Renderer/IRenderer.js +139 -0
  82. package/js/Renderer/IRendererCache.js +91 -0
  83. package/js/Renderer/RendererCache.js +252 -0
  84. package/js/Renderer/RendererManager.js +250 -0
  85. package/js/Renderer/WebCodecsRenderer/index.js +109 -0
  86. package/js/Renderer/WebCodecsRendererCache.js +127 -0
  87. package/js/Renderer/WebGLRenderer/index.js +467 -0
  88. package/js/Renderer/WebGLRenderer/webgl-utils.js +1337 -0
  89. package/js/Renderer/YUVCanvasRenderer/index.js +53 -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 +168 -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 +102 -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 +44 -0
  107. package/ts/Decoder/gpu-utils.ts +92 -0
  108. package/ts/Decoder/index.ts +210 -0
  109. package/ts/Private/AgoraBase.ts +5941 -0
  110. package/ts/Private/AgoraMediaBase.ts +1814 -0
  111. package/ts/Private/AgoraMediaPlayerTypes.ts +467 -0
  112. package/ts/Private/IAgoraH265Transcoder.ts +73 -0
  113. package/ts/Private/IAgoraLog.ts +93 -0
  114. package/ts/Private/IAgoraMediaEngine.ts +321 -0
  115. package/ts/Private/IAgoraMediaPlayer.ts +759 -0
  116. package/ts/Private/IAgoraMediaPlayerSource.ts +137 -0
  117. package/ts/Private/IAgoraMediaRecorder.ts +65 -0
  118. package/ts/Private/IAgoraMediaStreamingSource.ts +81 -0
  119. package/ts/Private/IAgoraMusicContentCenter.ts +676 -0
  120. package/ts/Private/IAgoraRhythmPlayer.ts +67 -0
  121. package/ts/Private/IAgoraRtcEngine.ts +7909 -0
  122. package/ts/Private/IAgoraRtcEngineEx.ts +1138 -0
  123. package/ts/Private/IAgoraSpatialAudio.ts +248 -0
  124. package/ts/Private/IAudioDeviceManager.ts +351 -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 +238 -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 +1181 -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 +1912 -0
  149. package/ts/Private/impl/IAgoraRtcEngineImpl.ts +7738 -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 +627 -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 +720 -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 +122 -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 +264 -0
  181. package/ts/Renderer/CapabilityManager.ts +126 -0
  182. package/ts/Renderer/IRenderer.ts +163 -0
  183. package/ts/Renderer/IRendererCache.ts +130 -0
  184. package/ts/Renderer/RendererCache.ts +323 -0
  185. package/ts/Renderer/RendererManager.ts +322 -0
  186. package/ts/Renderer/WebCodecsRenderer/index.ts +148 -0
  187. package/ts/Renderer/WebCodecsRendererCache.ts +153 -0
  188. package/ts/Renderer/WebGLRenderer/index.ts +695 -0
  189. package/ts/Renderer/WebGLRenderer/webgl-utils.js +1510 -0
  190. package/ts/Renderer/YUVCanvasRenderer/index.ts +80 -0
  191. package/ts/Renderer/index.ts +1 -0
  192. package/ts/Types.ts +254 -0
  193. package/ts/Utils.ts +198 -0
  194. package/types/AgoraSdk.d.ts +30 -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 +5728 -0
  201. package/types/Private/AgoraBase.d.ts.map +1 -0
  202. package/types/Private/AgoraMediaBase.d.ts +1717 -0
  203. package/types/Private/AgoraMediaBase.d.ts.map +1 -0
  204. package/types/Private/AgoraMediaPlayerTypes.d.ts +456 -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 +91 -0
  209. package/types/Private/IAgoraLog.d.ts.map +1 -0
  210. package/types/Private/IAgoraMediaEngine.d.ts +255 -0
  211. package/types/Private/IAgoraMediaEngine.d.ts.map +1 -0
  212. package/types/Private/IAgoraMediaPlayer.d.ts +662 -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 +60 -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 +602 -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 +6640 -0
  225. package/types/Private/IAgoraRtcEngine.d.ts.map +1 -0
  226. package/types/Private/IAgoraRtcEngineEx.d.ts +847 -0
  227. package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -0
  228. package/types/Private/IAgoraSpatialAudio.d.ts +194 -0
  229. package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -0
  230. package/types/Private/IAudioDeviceManager.d.ts +321 -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 +145 -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 +128 -0
  279. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
  280. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +656 -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 +77 -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 +82 -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 +47 -0
  349. package/types/Renderer/IRendererCache.d.ts.map +1 -0
  350. package/types/Renderer/RendererCache.d.ts +51 -0
  351. package/types/Renderer/RendererCache.d.ts.map +1 -0
  352. package/types/Renderer/RendererManager.d.ts +53 -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 +22 -0
  357. package/types/Renderer/WebCodecsRendererCache.d.ts.map +1 -0
  358. package/types/Renderer/WebGLRenderer/index.d.ts +37 -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 +10 -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 +182 -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,1178 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IRtcEngineExImpl = void 0;
4
+ const IAgoraRtcEngineImpl_1 = require("./IAgoraRtcEngineImpl");
5
+ // @ts-ignore
6
+ class IRtcEngineExImpl extends IAgoraRtcEngineImpl_1.IRtcEngineImpl {
7
+ joinChannelEx(token, connection, options) {
8
+ const apiType = this.getApiTypeFromJoinChannelEx(token, connection, options);
9
+ const jsonParams = {
10
+ token: token,
11
+ connection: connection,
12
+ options: options,
13
+ toJSON: () => {
14
+ return {
15
+ token: token,
16
+ connection: connection,
17
+ options: options,
18
+ };
19
+ },
20
+ };
21
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
22
+ return jsonResults.result;
23
+ }
24
+ getApiTypeFromJoinChannelEx(token, connection, options) {
25
+ return 'RtcEngineEx_joinChannelEx_a3cd08c';
26
+ }
27
+ leaveChannelEx(connection, options) {
28
+ const apiType = this.getApiTypeFromLeaveChannelEx(connection, options);
29
+ const jsonParams = {
30
+ connection: connection,
31
+ options: options,
32
+ toJSON: () => {
33
+ return {
34
+ connection: connection,
35
+ options: options,
36
+ };
37
+ },
38
+ };
39
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
40
+ return jsonResults.result;
41
+ }
42
+ getApiTypeFromLeaveChannelEx(connection, options) {
43
+ return 'RtcEngineEx_leaveChannelEx_b03ee9a';
44
+ }
45
+ leaveChannelWithUserAccountEx(channelId, userAccount, options) {
46
+ const apiType = this.getApiTypeFromLeaveChannelWithUserAccountEx(channelId, userAccount, options);
47
+ const jsonParams = {
48
+ channelId: channelId,
49
+ userAccount: userAccount,
50
+ options: options,
51
+ toJSON: () => {
52
+ return {
53
+ channelId: channelId,
54
+ userAccount: userAccount,
55
+ options: options,
56
+ };
57
+ },
58
+ };
59
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
60
+ return jsonResults.result;
61
+ }
62
+ getApiTypeFromLeaveChannelWithUserAccountEx(channelId, userAccount, options) {
63
+ return 'RtcEngineEx_leaveChannelWithUserAccountEx_8bbe372';
64
+ }
65
+ updateChannelMediaOptionsEx(options, connection) {
66
+ const apiType = this.getApiTypeFromUpdateChannelMediaOptionsEx(options, connection);
67
+ const jsonParams = {
68
+ options: options,
69
+ connection: connection,
70
+ toJSON: () => {
71
+ return {
72
+ options: options,
73
+ connection: connection,
74
+ };
75
+ },
76
+ };
77
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
78
+ return jsonResults.result;
79
+ }
80
+ getApiTypeFromUpdateChannelMediaOptionsEx(options, connection) {
81
+ return 'RtcEngineEx_updateChannelMediaOptionsEx_457bb35';
82
+ }
83
+ setVideoEncoderConfigurationEx(config, connection) {
84
+ const apiType = this.getApiTypeFromSetVideoEncoderConfigurationEx(config, connection);
85
+ const jsonParams = {
86
+ config: config,
87
+ connection: connection,
88
+ toJSON: () => {
89
+ return {
90
+ config: config,
91
+ connection: connection,
92
+ };
93
+ },
94
+ };
95
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
96
+ return jsonResults.result;
97
+ }
98
+ getApiTypeFromSetVideoEncoderConfigurationEx(config, connection) {
99
+ return 'RtcEngineEx_setVideoEncoderConfigurationEx_4670c1e';
100
+ }
101
+ setupRemoteVideoEx(canvas, connection) {
102
+ const apiType = this.getApiTypeFromSetupRemoteVideoEx(canvas, connection);
103
+ const jsonParams = {
104
+ canvas: canvas,
105
+ connection: connection,
106
+ toJSON: () => {
107
+ return {
108
+ canvas: canvas,
109
+ connection: connection,
110
+ };
111
+ },
112
+ };
113
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
114
+ return jsonResults.result;
115
+ }
116
+ getApiTypeFromSetupRemoteVideoEx(canvas, connection) {
117
+ return 'RtcEngineEx_setupRemoteVideoEx_522a409';
118
+ }
119
+ muteRemoteAudioStreamEx(uid, mute, connection) {
120
+ const apiType = this.getApiTypeFromMuteRemoteAudioStreamEx(uid, mute, connection);
121
+ const jsonParams = {
122
+ uid: uid,
123
+ mute: mute,
124
+ connection: connection,
125
+ toJSON: () => {
126
+ return {
127
+ uid: uid,
128
+ mute: mute,
129
+ connection: connection,
130
+ };
131
+ },
132
+ };
133
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
134
+ return jsonResults.result;
135
+ }
136
+ getApiTypeFromMuteRemoteAudioStreamEx(uid, mute, connection) {
137
+ return 'RtcEngineEx_muteRemoteAudioStreamEx_6d93082';
138
+ }
139
+ muteRemoteVideoStreamEx(uid, mute, connection) {
140
+ const apiType = this.getApiTypeFromMuteRemoteVideoStreamEx(uid, mute, connection);
141
+ const jsonParams = {
142
+ uid: uid,
143
+ mute: mute,
144
+ connection: connection,
145
+ toJSON: () => {
146
+ return {
147
+ uid: uid,
148
+ mute: mute,
149
+ connection: connection,
150
+ };
151
+ },
152
+ };
153
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
154
+ return jsonResults.result;
155
+ }
156
+ getApiTypeFromMuteRemoteVideoStreamEx(uid, mute, connection) {
157
+ return 'RtcEngineEx_muteRemoteVideoStreamEx_6d93082';
158
+ }
159
+ setRemoteVideoStreamTypeEx(uid, streamType, connection) {
160
+ const apiType = this.getApiTypeFromSetRemoteVideoStreamTypeEx(uid, streamType, connection);
161
+ const jsonParams = {
162
+ uid: uid,
163
+ streamType: streamType,
164
+ connection: connection,
165
+ toJSON: () => {
166
+ return {
167
+ uid: uid,
168
+ streamType: streamType,
169
+ connection: connection,
170
+ };
171
+ },
172
+ };
173
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
174
+ return jsonResults.result;
175
+ }
176
+ getApiTypeFromSetRemoteVideoStreamTypeEx(uid, streamType, connection) {
177
+ return 'RtcEngineEx_setRemoteVideoStreamTypeEx_01dc428';
178
+ }
179
+ muteLocalAudioStreamEx(mute, connection) {
180
+ const apiType = this.getApiTypeFromMuteLocalAudioStreamEx(mute, connection);
181
+ const jsonParams = {
182
+ mute: mute,
183
+ connection: connection,
184
+ toJSON: () => {
185
+ return {
186
+ mute: mute,
187
+ connection: connection,
188
+ };
189
+ },
190
+ };
191
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
192
+ return jsonResults.result;
193
+ }
194
+ getApiTypeFromMuteLocalAudioStreamEx(mute, connection) {
195
+ return 'RtcEngineEx_muteLocalAudioStreamEx_3cf17a4';
196
+ }
197
+ muteLocalVideoStreamEx(mute, connection) {
198
+ const apiType = this.getApiTypeFromMuteLocalVideoStreamEx(mute, connection);
199
+ const jsonParams = {
200
+ mute: mute,
201
+ connection: connection,
202
+ toJSON: () => {
203
+ return {
204
+ mute: mute,
205
+ connection: connection,
206
+ };
207
+ },
208
+ };
209
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
210
+ return jsonResults.result;
211
+ }
212
+ getApiTypeFromMuteLocalVideoStreamEx(mute, connection) {
213
+ return 'RtcEngineEx_muteLocalVideoStreamEx_3cf17a4';
214
+ }
215
+ muteAllRemoteAudioStreamsEx(mute, connection) {
216
+ const apiType = this.getApiTypeFromMuteAllRemoteAudioStreamsEx(mute, connection);
217
+ const jsonParams = {
218
+ mute: mute,
219
+ connection: connection,
220
+ toJSON: () => {
221
+ return {
222
+ mute: mute,
223
+ connection: connection,
224
+ };
225
+ },
226
+ };
227
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
228
+ return jsonResults.result;
229
+ }
230
+ getApiTypeFromMuteAllRemoteAudioStreamsEx(mute, connection) {
231
+ return 'RtcEngineEx_muteAllRemoteAudioStreamsEx_3cf17a4';
232
+ }
233
+ muteAllRemoteVideoStreamsEx(mute, connection) {
234
+ const apiType = this.getApiTypeFromMuteAllRemoteVideoStreamsEx(mute, connection);
235
+ const jsonParams = {
236
+ mute: mute,
237
+ connection: connection,
238
+ toJSON: () => {
239
+ return {
240
+ mute: mute,
241
+ connection: connection,
242
+ };
243
+ },
244
+ };
245
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
246
+ return jsonResults.result;
247
+ }
248
+ getApiTypeFromMuteAllRemoteVideoStreamsEx(mute, connection) {
249
+ return 'RtcEngineEx_muteAllRemoteVideoStreamsEx_3cf17a4';
250
+ }
251
+ setSubscribeAudioBlocklistEx(uidList, uidNumber, connection) {
252
+ const apiType = this.getApiTypeFromSetSubscribeAudioBlocklistEx(uidList, uidNumber, connection);
253
+ const jsonParams = {
254
+ uidList: uidList,
255
+ uidNumber: uidNumber,
256
+ connection: connection,
257
+ toJSON: () => {
258
+ return {
259
+ uidList: uidList,
260
+ uidNumber: uidNumber,
261
+ connection: connection,
262
+ };
263
+ },
264
+ };
265
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
266
+ return jsonResults.result;
267
+ }
268
+ getApiTypeFromSetSubscribeAudioBlocklistEx(uidList, uidNumber, connection) {
269
+ return 'RtcEngineEx_setSubscribeAudioBlocklistEx_9f1e85c';
270
+ }
271
+ setSubscribeAudioAllowlistEx(uidList, uidNumber, connection) {
272
+ const apiType = this.getApiTypeFromSetSubscribeAudioAllowlistEx(uidList, uidNumber, connection);
273
+ const jsonParams = {
274
+ uidList: uidList,
275
+ uidNumber: uidNumber,
276
+ connection: connection,
277
+ toJSON: () => {
278
+ return {
279
+ uidList: uidList,
280
+ uidNumber: uidNumber,
281
+ connection: connection,
282
+ };
283
+ },
284
+ };
285
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
286
+ return jsonResults.result;
287
+ }
288
+ getApiTypeFromSetSubscribeAudioAllowlistEx(uidList, uidNumber, connection) {
289
+ return 'RtcEngineEx_setSubscribeAudioAllowlistEx_9f1e85c';
290
+ }
291
+ setSubscribeVideoBlocklistEx(uidList, uidNumber, connection) {
292
+ const apiType = this.getApiTypeFromSetSubscribeVideoBlocklistEx(uidList, uidNumber, connection);
293
+ const jsonParams = {
294
+ uidList: uidList,
295
+ uidNumber: uidNumber,
296
+ connection: connection,
297
+ toJSON: () => {
298
+ return {
299
+ uidList: uidList,
300
+ uidNumber: uidNumber,
301
+ connection: connection,
302
+ };
303
+ },
304
+ };
305
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
306
+ return jsonResults.result;
307
+ }
308
+ getApiTypeFromSetSubscribeVideoBlocklistEx(uidList, uidNumber, connection) {
309
+ return 'RtcEngineEx_setSubscribeVideoBlocklistEx_9f1e85c';
310
+ }
311
+ setSubscribeVideoAllowlistEx(uidList, uidNumber, connection) {
312
+ const apiType = this.getApiTypeFromSetSubscribeVideoAllowlistEx(uidList, uidNumber, connection);
313
+ const jsonParams = {
314
+ uidList: uidList,
315
+ uidNumber: uidNumber,
316
+ connection: connection,
317
+ toJSON: () => {
318
+ return {
319
+ uidList: uidList,
320
+ uidNumber: uidNumber,
321
+ connection: connection,
322
+ };
323
+ },
324
+ };
325
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
326
+ return jsonResults.result;
327
+ }
328
+ getApiTypeFromSetSubscribeVideoAllowlistEx(uidList, uidNumber, connection) {
329
+ return 'RtcEngineEx_setSubscribeVideoAllowlistEx_9f1e85c';
330
+ }
331
+ setRemoteVideoSubscriptionOptionsEx(uid, options, connection) {
332
+ const apiType = this.getApiTypeFromSetRemoteVideoSubscriptionOptionsEx(uid, options, connection);
333
+ const jsonParams = {
334
+ uid: uid,
335
+ options: options,
336
+ connection: connection,
337
+ toJSON: () => {
338
+ return {
339
+ uid: uid,
340
+ options: options,
341
+ connection: connection,
342
+ };
343
+ },
344
+ };
345
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
346
+ return jsonResults.result;
347
+ }
348
+ getApiTypeFromSetRemoteVideoSubscriptionOptionsEx(uid, options, connection) {
349
+ return 'RtcEngineEx_setRemoteVideoSubscriptionOptionsEx_3cd36bc';
350
+ }
351
+ setRemoteVoicePositionEx(uid, pan, gain, connection) {
352
+ const apiType = this.getApiTypeFromSetRemoteVoicePositionEx(uid, pan, gain, connection);
353
+ const jsonParams = {
354
+ uid: uid,
355
+ pan: pan,
356
+ gain: gain,
357
+ connection: connection,
358
+ toJSON: () => {
359
+ return {
360
+ uid: uid,
361
+ pan: pan,
362
+ gain: gain,
363
+ connection: connection,
364
+ };
365
+ },
366
+ };
367
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
368
+ return jsonResults.result;
369
+ }
370
+ getApiTypeFromSetRemoteVoicePositionEx(uid, pan, gain, connection) {
371
+ return 'RtcEngineEx_setRemoteVoicePositionEx_fc0471c';
372
+ }
373
+ setRemoteUserSpatialAudioParamsEx(uid, params, connection) {
374
+ const apiType = this.getApiTypeFromSetRemoteUserSpatialAudioParamsEx(uid, params, connection);
375
+ const jsonParams = {
376
+ uid: uid,
377
+ params: params,
378
+ connection: connection,
379
+ toJSON: () => {
380
+ return {
381
+ uid: uid,
382
+ params: params,
383
+ connection: connection,
384
+ };
385
+ },
386
+ };
387
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
388
+ return jsonResults.result;
389
+ }
390
+ getApiTypeFromSetRemoteUserSpatialAudioParamsEx(uid, params, connection) {
391
+ return 'RtcEngineEx_setRemoteUserSpatialAudioParamsEx_40ca9fb';
392
+ }
393
+ setRemoteRenderModeEx(uid, renderMode, mirrorMode, connection) {
394
+ const apiType = this.getApiTypeFromSetRemoteRenderModeEx(uid, renderMode, mirrorMode, connection);
395
+ const jsonParams = {
396
+ uid: uid,
397
+ renderMode: renderMode,
398
+ mirrorMode: mirrorMode,
399
+ connection: connection,
400
+ toJSON: () => {
401
+ return {
402
+ uid: uid,
403
+ renderMode: renderMode,
404
+ mirrorMode: mirrorMode,
405
+ connection: connection,
406
+ };
407
+ },
408
+ };
409
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
410
+ return jsonResults.result;
411
+ }
412
+ getApiTypeFromSetRemoteRenderModeEx(uid, renderMode, mirrorMode, connection) {
413
+ return 'RtcEngineEx_setRemoteRenderModeEx_a72fe4e';
414
+ }
415
+ enableLoopbackRecordingEx(connection, enabled, deviceName) {
416
+ const apiType = this.getApiTypeFromEnableLoopbackRecordingEx(connection, enabled, deviceName);
417
+ const jsonParams = {
418
+ connection: connection,
419
+ enabled: enabled,
420
+ deviceName: deviceName,
421
+ toJSON: () => {
422
+ return {
423
+ connection: connection,
424
+ enabled: enabled,
425
+ deviceName: deviceName,
426
+ };
427
+ },
428
+ };
429
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
430
+ return jsonResults.result;
431
+ }
432
+ getApiTypeFromEnableLoopbackRecordingEx(connection, enabled, deviceName) {
433
+ return 'RtcEngineEx_enableLoopbackRecordingEx_4f41542';
434
+ }
435
+ adjustRecordingSignalVolumeEx(volume, connection) {
436
+ const apiType = this.getApiTypeFromAdjustRecordingSignalVolumeEx(volume, connection);
437
+ const jsonParams = {
438
+ volume: volume,
439
+ connection: connection,
440
+ toJSON: () => {
441
+ return {
442
+ volume: volume,
443
+ connection: connection,
444
+ };
445
+ },
446
+ };
447
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
448
+ return jsonResults.result;
449
+ }
450
+ getApiTypeFromAdjustRecordingSignalVolumeEx(volume, connection) {
451
+ return 'RtcEngineEx_adjustRecordingSignalVolumeEx_e84d10e';
452
+ }
453
+ muteRecordingSignalEx(mute, connection) {
454
+ const apiType = this.getApiTypeFromMuteRecordingSignalEx(mute, connection);
455
+ const jsonParams = {
456
+ mute: mute,
457
+ connection: connection,
458
+ toJSON: () => {
459
+ return {
460
+ mute: mute,
461
+ connection: connection,
462
+ };
463
+ },
464
+ };
465
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
466
+ return jsonResults.result;
467
+ }
468
+ getApiTypeFromMuteRecordingSignalEx(mute, connection) {
469
+ return 'RtcEngineEx_muteRecordingSignalEx_3cf17a4';
470
+ }
471
+ adjustUserPlaybackSignalVolumeEx(uid, volume, connection) {
472
+ const apiType = this.getApiTypeFromAdjustUserPlaybackSignalVolumeEx(uid, volume, connection);
473
+ const jsonParams = {
474
+ uid: uid,
475
+ volume: volume,
476
+ connection: connection,
477
+ toJSON: () => {
478
+ return {
479
+ uid: uid,
480
+ volume: volume,
481
+ connection: connection,
482
+ };
483
+ },
484
+ };
485
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
486
+ return jsonResults.result;
487
+ }
488
+ getApiTypeFromAdjustUserPlaybackSignalVolumeEx(uid, volume, connection) {
489
+ return 'RtcEngineEx_adjustUserPlaybackSignalVolumeEx_adbd29c';
490
+ }
491
+ getConnectionStateEx(connection) {
492
+ const apiType = this.getApiTypeFromGetConnectionStateEx(connection);
493
+ const jsonParams = {
494
+ connection: connection,
495
+ toJSON: () => {
496
+ return {
497
+ connection: connection,
498
+ };
499
+ },
500
+ };
501
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
502
+ return jsonResults.result;
503
+ }
504
+ getApiTypeFromGetConnectionStateEx(connection) {
505
+ return 'RtcEngineEx_getConnectionStateEx_c81e1a4';
506
+ }
507
+ enableEncryptionEx(connection, enabled, config) {
508
+ const apiType = this.getApiTypeFromEnableEncryptionEx(connection, enabled, config);
509
+ const jsonParams = {
510
+ connection: connection,
511
+ enabled: enabled,
512
+ config: config,
513
+ toJSON: () => {
514
+ return {
515
+ connection: connection,
516
+ enabled: enabled,
517
+ config: config,
518
+ };
519
+ },
520
+ };
521
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
522
+ return jsonResults.result;
523
+ }
524
+ getApiTypeFromEnableEncryptionEx(connection, enabled, config) {
525
+ return 'RtcEngineEx_enableEncryptionEx_10cd872';
526
+ }
527
+ createDataStreamEx(config, connection) {
528
+ const apiType = this.getApiTypeFromCreateDataStreamEx(config, connection);
529
+ const jsonParams = {
530
+ config: config,
531
+ connection: connection,
532
+ toJSON: () => {
533
+ return {
534
+ config: config,
535
+ connection: connection,
536
+ };
537
+ },
538
+ };
539
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
540
+ const streamId = jsonResults.streamId;
541
+ return streamId;
542
+ }
543
+ getApiTypeFromCreateDataStreamEx(config, connection) {
544
+ return 'RtcEngineEx_createDataStreamEx_9f641b6';
545
+ }
546
+ sendStreamMessageEx(streamId, data, length, connection) {
547
+ const apiType = this.getApiTypeFromSendStreamMessageEx(streamId, data, length, connection);
548
+ const jsonParams = {
549
+ streamId: streamId,
550
+ data: data,
551
+ length: length,
552
+ connection: connection,
553
+ toJSON: () => {
554
+ return {
555
+ streamId: streamId,
556
+ length: length,
557
+ connection: connection,
558
+ };
559
+ },
560
+ };
561
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
562
+ return jsonResults.result;
563
+ }
564
+ getApiTypeFromSendStreamMessageEx(streamId, data, length, connection) {
565
+ return 'RtcEngineEx_sendStreamMessageEx_0c34857';
566
+ }
567
+ sendRdtMessageEx(uid, type, data, length, connection) {
568
+ const apiType = this.getApiTypeFromSendRdtMessageEx(uid, type, data, length, connection);
569
+ const jsonParams = {
570
+ uid: uid,
571
+ type: type,
572
+ data: data,
573
+ length: length,
574
+ connection: connection,
575
+ toJSON: () => {
576
+ return {
577
+ uid: uid,
578
+ type: type,
579
+ data: data,
580
+ length: length,
581
+ connection: connection,
582
+ };
583
+ },
584
+ };
585
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
586
+ return jsonResults.result;
587
+ }
588
+ getApiTypeFromSendRdtMessageEx(uid, type, data, length, connection) {
589
+ return 'RtcEngineEx_sendRdtMessageEx_3a2998e';
590
+ }
591
+ sendMediaControlMessageEx(uid, data, length, connection) {
592
+ const apiType = this.getApiTypeFromSendMediaControlMessageEx(uid, data, length, connection);
593
+ const jsonParams = {
594
+ uid: uid,
595
+ data: data,
596
+ length: length,
597
+ connection: connection,
598
+ toJSON: () => {
599
+ return {
600
+ uid: uid,
601
+ data: data,
602
+ length: length,
603
+ connection: connection,
604
+ };
605
+ },
606
+ };
607
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
608
+ return jsonResults.result;
609
+ }
610
+ getApiTypeFromSendMediaControlMessageEx(uid, data, length, connection) {
611
+ return 'RtcEngineEx_sendMediaControlMessageEx_907822a';
612
+ }
613
+ addVideoWatermarkEx(watermarkUrl, options, connection) {
614
+ const apiType = this.getApiTypeFromAddVideoWatermarkEx(watermarkUrl, options, connection);
615
+ const jsonParams = {
616
+ watermarkUrl: watermarkUrl,
617
+ options: options,
618
+ connection: connection,
619
+ toJSON: () => {
620
+ return {
621
+ watermarkUrl: watermarkUrl,
622
+ options: options,
623
+ connection: connection,
624
+ };
625
+ },
626
+ };
627
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
628
+ return jsonResults.result;
629
+ }
630
+ getApiTypeFromAddVideoWatermarkEx(watermarkUrl, options, connection) {
631
+ return 'RtcEngineEx_addVideoWatermarkEx_ad7daa3';
632
+ }
633
+ removeVideoWatermarkEx(id, connection) {
634
+ const apiType = this.getApiTypeFromRemoveVideoWatermarkEx(id, connection);
635
+ const jsonParams = {
636
+ id: id,
637
+ connection: connection,
638
+ toJSON: () => {
639
+ return {
640
+ id: id,
641
+ connection: connection,
642
+ };
643
+ },
644
+ };
645
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
646
+ return jsonResults.result;
647
+ }
648
+ getApiTypeFromRemoveVideoWatermarkEx(id, connection) {
649
+ return 'RtcEngineEx_removeVideoWatermarkEx_e405325';
650
+ }
651
+ clearVideoWatermarkEx(connection) {
652
+ const apiType = this.getApiTypeFromClearVideoWatermarkEx(connection);
653
+ const jsonParams = {
654
+ connection: connection,
655
+ toJSON: () => {
656
+ return {
657
+ connection: connection,
658
+ };
659
+ },
660
+ };
661
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
662
+ return jsonResults.result;
663
+ }
664
+ getApiTypeFromClearVideoWatermarkEx(connection) {
665
+ return 'RtcEngineEx_clearVideoWatermarkEx_c81e1a4';
666
+ }
667
+ sendCustomReportMessageEx(id, category, event, label, value, connection) {
668
+ const apiType = this.getApiTypeFromSendCustomReportMessageEx(id, category, event, label, value, connection);
669
+ const jsonParams = {
670
+ id: id,
671
+ category: category,
672
+ event: event,
673
+ label: label,
674
+ value: value,
675
+ connection: connection,
676
+ toJSON: () => {
677
+ return {
678
+ id: id,
679
+ category: category,
680
+ event: event,
681
+ label: label,
682
+ value: value,
683
+ connection: connection,
684
+ };
685
+ },
686
+ };
687
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
688
+ return jsonResults.result;
689
+ }
690
+ getApiTypeFromSendCustomReportMessageEx(id, category, event, label, value, connection) {
691
+ return 'RtcEngineEx_sendCustomReportMessageEx_833b8a5';
692
+ }
693
+ enableAudioVolumeIndicationEx(interval, smooth, reportVad, connection) {
694
+ const apiType = this.getApiTypeFromEnableAudioVolumeIndicationEx(interval, smooth, reportVad, connection);
695
+ const jsonParams = {
696
+ interval: interval,
697
+ smooth: smooth,
698
+ reportVad: reportVad,
699
+ connection: connection,
700
+ toJSON: () => {
701
+ return {
702
+ interval: interval,
703
+ smooth: smooth,
704
+ reportVad: reportVad,
705
+ connection: connection,
706
+ };
707
+ },
708
+ };
709
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
710
+ return jsonResults.result;
711
+ }
712
+ getApiTypeFromEnableAudioVolumeIndicationEx(interval, smooth, reportVad, connection) {
713
+ return 'RtcEngineEx_enableAudioVolumeIndicationEx_ac84f2a';
714
+ }
715
+ startRtmpStreamWithoutTranscodingEx(url, connection) {
716
+ const apiType = this.getApiTypeFromStartRtmpStreamWithoutTranscodingEx(url, connection);
717
+ const jsonParams = {
718
+ url: url,
719
+ connection: connection,
720
+ toJSON: () => {
721
+ return {
722
+ url: url,
723
+ connection: connection,
724
+ };
725
+ },
726
+ };
727
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
728
+ return jsonResults.result;
729
+ }
730
+ getApiTypeFromStartRtmpStreamWithoutTranscodingEx(url, connection) {
731
+ return 'RtcEngineEx_startRtmpStreamWithoutTranscodingEx_e405325';
732
+ }
733
+ startRtmpStreamWithTranscodingEx(url, transcoding, connection) {
734
+ const apiType = this.getApiTypeFromStartRtmpStreamWithTranscodingEx(url, transcoding, connection);
735
+ const jsonParams = {
736
+ url: url,
737
+ transcoding: transcoding,
738
+ connection: connection,
739
+ toJSON: () => {
740
+ return {
741
+ url: url,
742
+ transcoding: transcoding,
743
+ connection: connection,
744
+ };
745
+ },
746
+ };
747
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
748
+ return jsonResults.result;
749
+ }
750
+ getApiTypeFromStartRtmpStreamWithTranscodingEx(url, transcoding, connection) {
751
+ return 'RtcEngineEx_startRtmpStreamWithTranscodingEx_ab121b5';
752
+ }
753
+ updateRtmpTranscodingEx(transcoding, connection) {
754
+ const apiType = this.getApiTypeFromUpdateRtmpTranscodingEx(transcoding, connection);
755
+ const jsonParams = {
756
+ transcoding: transcoding,
757
+ connection: connection,
758
+ toJSON: () => {
759
+ return {
760
+ transcoding: transcoding,
761
+ connection: connection,
762
+ };
763
+ },
764
+ };
765
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
766
+ return jsonResults.result;
767
+ }
768
+ getApiTypeFromUpdateRtmpTranscodingEx(transcoding, connection) {
769
+ return 'RtcEngineEx_updateRtmpTranscodingEx_77f3ee8';
770
+ }
771
+ stopRtmpStreamEx(url, connection) {
772
+ const apiType = this.getApiTypeFromStopRtmpStreamEx(url, connection);
773
+ const jsonParams = {
774
+ url: url,
775
+ connection: connection,
776
+ toJSON: () => {
777
+ return {
778
+ url: url,
779
+ connection: connection,
780
+ };
781
+ },
782
+ };
783
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
784
+ return jsonResults.result;
785
+ }
786
+ getApiTypeFromStopRtmpStreamEx(url, connection) {
787
+ return 'RtcEngineEx_stopRtmpStreamEx_e405325';
788
+ }
789
+ startOrUpdateChannelMediaRelayEx(configuration, connection) {
790
+ const apiType = this.getApiTypeFromStartOrUpdateChannelMediaRelayEx(configuration, connection);
791
+ const jsonParams = {
792
+ configuration: configuration,
793
+ connection: connection,
794
+ toJSON: () => {
795
+ return {
796
+ configuration: configuration,
797
+ connection: connection,
798
+ };
799
+ },
800
+ };
801
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
802
+ return jsonResults.result;
803
+ }
804
+ getApiTypeFromStartOrUpdateChannelMediaRelayEx(configuration, connection) {
805
+ return 'RtcEngineEx_startOrUpdateChannelMediaRelayEx_4ad39a8';
806
+ }
807
+ stopChannelMediaRelayEx(connection) {
808
+ const apiType = this.getApiTypeFromStopChannelMediaRelayEx(connection);
809
+ const jsonParams = {
810
+ connection: connection,
811
+ toJSON: () => {
812
+ return {
813
+ connection: connection,
814
+ };
815
+ },
816
+ };
817
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
818
+ return jsonResults.result;
819
+ }
820
+ getApiTypeFromStopChannelMediaRelayEx(connection) {
821
+ return 'RtcEngineEx_stopChannelMediaRelayEx_c81e1a4';
822
+ }
823
+ pauseAllChannelMediaRelayEx(connection) {
824
+ const apiType = this.getApiTypeFromPauseAllChannelMediaRelayEx(connection);
825
+ const jsonParams = {
826
+ connection: connection,
827
+ toJSON: () => {
828
+ return {
829
+ connection: connection,
830
+ };
831
+ },
832
+ };
833
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
834
+ return jsonResults.result;
835
+ }
836
+ getApiTypeFromPauseAllChannelMediaRelayEx(connection) {
837
+ return 'RtcEngineEx_pauseAllChannelMediaRelayEx_c81e1a4';
838
+ }
839
+ resumeAllChannelMediaRelayEx(connection) {
840
+ const apiType = this.getApiTypeFromResumeAllChannelMediaRelayEx(connection);
841
+ const jsonParams = {
842
+ connection: connection,
843
+ toJSON: () => {
844
+ return {
845
+ connection: connection,
846
+ };
847
+ },
848
+ };
849
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
850
+ return jsonResults.result;
851
+ }
852
+ getApiTypeFromResumeAllChannelMediaRelayEx(connection) {
853
+ return 'RtcEngineEx_resumeAllChannelMediaRelayEx_c81e1a4';
854
+ }
855
+ getUserInfoByUserAccountEx(userAccount, connection) {
856
+ const apiType = this.getApiTypeFromGetUserInfoByUserAccountEx(userAccount, connection);
857
+ const jsonParams = {
858
+ userAccount: userAccount,
859
+ connection: connection,
860
+ toJSON: () => {
861
+ return {
862
+ userAccount: userAccount,
863
+ connection: connection,
864
+ };
865
+ },
866
+ };
867
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
868
+ const userInfo = jsonResults.userInfo;
869
+ return userInfo;
870
+ }
871
+ getApiTypeFromGetUserInfoByUserAccountEx(userAccount, connection) {
872
+ return 'RtcEngineEx_getUserInfoByUserAccountEx_ca39cc6';
873
+ }
874
+ getUserInfoByUidEx(uid, connection) {
875
+ const apiType = this.getApiTypeFromGetUserInfoByUidEx(uid, connection);
876
+ const jsonParams = {
877
+ uid: uid,
878
+ connection: connection,
879
+ toJSON: () => {
880
+ return {
881
+ uid: uid,
882
+ connection: connection,
883
+ };
884
+ },
885
+ };
886
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
887
+ const userInfo = jsonResults.userInfo;
888
+ return userInfo;
889
+ }
890
+ getApiTypeFromGetUserInfoByUidEx(uid, connection) {
891
+ return 'RtcEngineEx_getUserInfoByUidEx_1e78da1';
892
+ }
893
+ enableDualStreamModeEx(enabled, streamConfig, connection) {
894
+ const apiType = this.getApiTypeFromEnableDualStreamModeEx(enabled, streamConfig, connection);
895
+ const jsonParams = {
896
+ enabled: enabled,
897
+ streamConfig: streamConfig,
898
+ connection: connection,
899
+ toJSON: () => {
900
+ return {
901
+ enabled: enabled,
902
+ streamConfig: streamConfig,
903
+ connection: connection,
904
+ };
905
+ },
906
+ };
907
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
908
+ return jsonResults.result;
909
+ }
910
+ getApiTypeFromEnableDualStreamModeEx(enabled, streamConfig, connection) {
911
+ return 'RtcEngineEx_enableDualStreamModeEx_4b18f41';
912
+ }
913
+ setDualStreamModeEx(mode, streamConfig, connection) {
914
+ const apiType = this.getApiTypeFromSetDualStreamModeEx(mode, streamConfig, connection);
915
+ const jsonParams = {
916
+ mode: mode,
917
+ streamConfig: streamConfig,
918
+ connection: connection,
919
+ toJSON: () => {
920
+ return {
921
+ mode: mode,
922
+ streamConfig: streamConfig,
923
+ connection: connection,
924
+ };
925
+ },
926
+ };
927
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
928
+ return jsonResults.result;
929
+ }
930
+ getApiTypeFromSetDualStreamModeEx(mode, streamConfig, connection) {
931
+ return 'RtcEngineEx_setDualStreamModeEx_622d0f3';
932
+ }
933
+ setSimulcastConfigEx(simulcastConfig, connection) {
934
+ const apiType = this.getApiTypeFromSetSimulcastConfigEx(simulcastConfig, connection);
935
+ const jsonParams = {
936
+ simulcastConfig: simulcastConfig,
937
+ connection: connection,
938
+ toJSON: () => {
939
+ return {
940
+ simulcastConfig: simulcastConfig,
941
+ connection: connection,
942
+ };
943
+ },
944
+ };
945
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
946
+ return jsonResults.result;
947
+ }
948
+ getApiTypeFromSetSimulcastConfigEx(simulcastConfig, connection) {
949
+ return 'RtcEngineEx_setSimulcastConfigEx_bd8d7d0';
950
+ }
951
+ setHighPriorityUserListEx(uidList, uidNum, option, connection) {
952
+ const apiType = this.getApiTypeFromSetHighPriorityUserListEx(uidList, uidNum, option, connection);
953
+ const jsonParams = {
954
+ uidList: uidList,
955
+ uidNum: uidNum,
956
+ option: option,
957
+ connection: connection,
958
+ toJSON: () => {
959
+ return {
960
+ uidList: uidList,
961
+ uidNum: uidNum,
962
+ option: option,
963
+ connection: connection,
964
+ };
965
+ },
966
+ };
967
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
968
+ return jsonResults.result;
969
+ }
970
+ getApiTypeFromSetHighPriorityUserListEx(uidList, uidNum, option, connection) {
971
+ return 'RtcEngineEx_setHighPriorityUserListEx_8736b5c';
972
+ }
973
+ takeSnapshotEx(connection, uid, filePath) {
974
+ const apiType = this.getApiTypeFromTakeSnapshotEx(connection, uid, filePath);
975
+ const jsonParams = {
976
+ connection: connection,
977
+ uid: uid,
978
+ filePath: filePath,
979
+ toJSON: () => {
980
+ return {
981
+ connection: connection,
982
+ uid: uid,
983
+ filePath: filePath,
984
+ };
985
+ },
986
+ };
987
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
988
+ return jsonResults.result;
989
+ }
990
+ getApiTypeFromTakeSnapshotEx(connection, uid, filePath) {
991
+ return 'RtcEngineEx_takeSnapshotEx_de1c015';
992
+ }
993
+ enableContentInspectEx(enabled, config, connection) {
994
+ const apiType = this.getApiTypeFromEnableContentInspectEx(enabled, config, connection);
995
+ const jsonParams = {
996
+ enabled: enabled,
997
+ config: config,
998
+ connection: connection,
999
+ toJSON: () => {
1000
+ return {
1001
+ enabled: enabled,
1002
+ config: config,
1003
+ connection: connection,
1004
+ };
1005
+ },
1006
+ };
1007
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1008
+ return jsonResults.result;
1009
+ }
1010
+ getApiTypeFromEnableContentInspectEx(enabled, config, connection) {
1011
+ return 'RtcEngineEx_enableContentInspectEx_c4e7f69';
1012
+ }
1013
+ startMediaRenderingTracingEx(connection) {
1014
+ const apiType = this.getApiTypeFromStartMediaRenderingTracingEx(connection);
1015
+ const jsonParams = {
1016
+ connection: connection,
1017
+ toJSON: () => {
1018
+ return {
1019
+ connection: connection,
1020
+ };
1021
+ },
1022
+ };
1023
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1024
+ return jsonResults.result;
1025
+ }
1026
+ getApiTypeFromStartMediaRenderingTracingEx(connection) {
1027
+ return 'RtcEngineEx_startMediaRenderingTracingEx_c81e1a4';
1028
+ }
1029
+ setParametersEx(connection, parameters) {
1030
+ const apiType = this.getApiTypeFromSetParametersEx(connection, parameters);
1031
+ const jsonParams = {
1032
+ connection: connection,
1033
+ parameters: parameters,
1034
+ toJSON: () => {
1035
+ return {
1036
+ connection: connection,
1037
+ parameters: parameters,
1038
+ };
1039
+ },
1040
+ };
1041
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1042
+ return jsonResults.result;
1043
+ }
1044
+ getApiTypeFromSetParametersEx(connection, parameters) {
1045
+ return 'RtcEngineEx_setParametersEx_8225ea3';
1046
+ }
1047
+ getCallIdEx(connection) {
1048
+ const apiType = this.getApiTypeFromGetCallIdEx(connection);
1049
+ const jsonParams = {
1050
+ connection: connection,
1051
+ toJSON: () => {
1052
+ return {
1053
+ connection: connection,
1054
+ };
1055
+ },
1056
+ };
1057
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1058
+ const callId = jsonResults.callId;
1059
+ return callId;
1060
+ }
1061
+ getApiTypeFromGetCallIdEx(connection) {
1062
+ return 'RtcEngineEx_getCallIdEx_b13f7c4';
1063
+ }
1064
+ sendAudioMetadataEx(connection, metadata, length) {
1065
+ const apiType = this.getApiTypeFromSendAudioMetadataEx(connection, metadata, length);
1066
+ const jsonParams = {
1067
+ connection: connection,
1068
+ metadata: metadata,
1069
+ length: length,
1070
+ toJSON: () => {
1071
+ return {
1072
+ connection: connection,
1073
+ metadata: metadata,
1074
+ length: length,
1075
+ };
1076
+ },
1077
+ };
1078
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1079
+ return jsonResults.result;
1080
+ }
1081
+ getApiTypeFromSendAudioMetadataEx(connection, metadata, length) {
1082
+ return 'RtcEngineEx_sendAudioMetadataEx_e2bf1c4';
1083
+ }
1084
+ preloadEffectEx(connection, soundId, filePath, startPos = 0) {
1085
+ const apiType = this.getApiTypeFromPreloadEffectEx(connection, soundId, filePath, startPos);
1086
+ const jsonParams = {
1087
+ connection: connection,
1088
+ soundId: soundId,
1089
+ filePath: filePath,
1090
+ startPos: startPos,
1091
+ toJSON: () => {
1092
+ return {
1093
+ connection: connection,
1094
+ soundId: soundId,
1095
+ filePath: filePath,
1096
+ startPos: startPos,
1097
+ };
1098
+ },
1099
+ };
1100
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1101
+ return jsonResults.result;
1102
+ }
1103
+ getApiTypeFromPreloadEffectEx(connection, soundId, filePath, startPos = 0) {
1104
+ return 'RtcEngineEx_preloadEffectEx_c9fae88';
1105
+ }
1106
+ playEffectEx(connection, soundId, filePath, loopCount, pitch, pan, gain, publish = false, startPos = 0) {
1107
+ const apiType = this.getApiTypeFromPlayEffectEx(connection, soundId, filePath, loopCount, pitch, pan, gain, publish, startPos);
1108
+ const jsonParams = {
1109
+ connection: connection,
1110
+ soundId: soundId,
1111
+ filePath: filePath,
1112
+ loopCount: loopCount,
1113
+ pitch: pitch,
1114
+ pan: pan,
1115
+ gain: gain,
1116
+ publish: publish,
1117
+ startPos: startPos,
1118
+ toJSON: () => {
1119
+ return {
1120
+ connection: connection,
1121
+ soundId: soundId,
1122
+ filePath: filePath,
1123
+ loopCount: loopCount,
1124
+ pitch: pitch,
1125
+ pan: pan,
1126
+ gain: gain,
1127
+ publish: publish,
1128
+ startPos: startPos,
1129
+ };
1130
+ },
1131
+ };
1132
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1133
+ return jsonResults.result;
1134
+ }
1135
+ getApiTypeFromPlayEffectEx(connection, soundId, filePath, loopCount, pitch, pan, gain, publish = false, startPos = 0) {
1136
+ return 'RtcEngineEx_playEffectEx_ae5345c';
1137
+ }
1138
+ takeSnapshotWithConfigEx(connection, uid, config) {
1139
+ const apiType = this.getApiTypeFromTakeSnapshotWithConfigEx(connection, uid, config);
1140
+ const jsonParams = {
1141
+ connection: connection,
1142
+ uid: uid,
1143
+ config: config,
1144
+ toJSON: () => {
1145
+ return {
1146
+ connection: connection,
1147
+ uid: uid,
1148
+ config: config,
1149
+ };
1150
+ },
1151
+ };
1152
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1153
+ return jsonResults.result;
1154
+ }
1155
+ getApiTypeFromTakeSnapshotWithConfigEx(connection, uid, config) {
1156
+ return 'RtcEngineEx_takeSnapshotEx_b856417';
1157
+ }
1158
+ addVideoWatermarkWithConfigEx(config, connection) {
1159
+ const apiType = this.getApiTypeFromAddVideoWatermarkWithConfigEx(config, connection);
1160
+ const jsonParams = {
1161
+ config: config,
1162
+ connection: connection,
1163
+ toJSON: () => {
1164
+ return {
1165
+ config: config,
1166
+ connection: connection,
1167
+ };
1168
+ },
1169
+ };
1170
+ const jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
1171
+ return jsonResults.result;
1172
+ }
1173
+ getApiTypeFromAddVideoWatermarkWithConfigEx(config, connection) {
1174
+ return 'RtcEngineEx_addVideoWatermarkEx_985f23a';
1175
+ }
1176
+ }
1177
+ exports.IRtcEngineExImpl = IRtcEngineExImpl;
1178
+ const IrisApiEngine_1 = require("../internal/IrisApiEngine");