react-native-shengwang 4.6.2-rc.2

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