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