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,121 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.IH265TranscoderImpl = void 0;
7
+ exports.processIH265TranscoderObserver = processIH265TranscoderObserver;
8
+ var _call = require("../internal/call");
9
+ function processIH265TranscoderObserver(handler, event, jsonParams) {
10
+ switch (event) {
11
+ case 'onEnableTranscode':
12
+ if (handler.onEnableTranscode !== undefined) {
13
+ handler.onEnableTranscode(jsonParams.result);
14
+ }
15
+ break;
16
+ case 'onQueryChannel':
17
+ if (handler.onQueryChannel !== undefined) {
18
+ handler.onQueryChannel(jsonParams.result, jsonParams.originChannel, jsonParams.transcodeChannel);
19
+ }
20
+ break;
21
+ case 'onTriggerTranscode':
22
+ if (handler.onTriggerTranscode !== undefined) {
23
+ handler.onTriggerTranscode(jsonParams.result);
24
+ }
25
+ break;
26
+ }
27
+ }
28
+
29
+ // @ts-ignore
30
+ class IH265TranscoderImpl {
31
+ enableTranscode(token, channel, uid) {
32
+ const apiType = this.getApiTypeFromEnableTranscode(token, channel, uid);
33
+ const jsonParams = {
34
+ token: token,
35
+ channel: channel,
36
+ uid: uid,
37
+ toJSON: () => {
38
+ return {
39
+ token: token,
40
+ channel: channel,
41
+ uid: uid
42
+ };
43
+ }
44
+ };
45
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
46
+ return jsonResults.result;
47
+ }
48
+ getApiTypeFromEnableTranscode(token, channel, uid) {
49
+ return 'H265Transcoder_enableTranscode_a0779eb';
50
+ }
51
+ queryChannel(token, channel, uid) {
52
+ const apiType = this.getApiTypeFromQueryChannel(token, channel, uid);
53
+ const jsonParams = {
54
+ token: token,
55
+ channel: channel,
56
+ uid: uid,
57
+ toJSON: () => {
58
+ return {
59
+ token: token,
60
+ channel: channel,
61
+ uid: uid
62
+ };
63
+ }
64
+ };
65
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
66
+ return jsonResults.result;
67
+ }
68
+ getApiTypeFromQueryChannel(token, channel, uid) {
69
+ return 'H265Transcoder_queryChannel_a0779eb';
70
+ }
71
+ triggerTranscode(token, channel, uid) {
72
+ const apiType = this.getApiTypeFromTriggerTranscode(token, channel, uid);
73
+ const jsonParams = {
74
+ token: token,
75
+ channel: channel,
76
+ uid: uid,
77
+ toJSON: () => {
78
+ return {
79
+ token: token,
80
+ channel: channel,
81
+ uid: uid
82
+ };
83
+ }
84
+ };
85
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
86
+ return jsonResults.result;
87
+ }
88
+ getApiTypeFromTriggerTranscode(token, channel, uid) {
89
+ return 'H265Transcoder_triggerTranscode_a0779eb';
90
+ }
91
+ registerTranscoderObserver(observer) {
92
+ const apiType = this.getApiTypeFromRegisterTranscoderObserver(observer);
93
+ const jsonParams = {
94
+ observer: observer,
95
+ toJSON: () => {
96
+ return {};
97
+ }
98
+ };
99
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
100
+ return jsonResults.result;
101
+ }
102
+ getApiTypeFromRegisterTranscoderObserver(observer) {
103
+ return 'H265Transcoder_registerTranscoderObserver_e1ee996';
104
+ }
105
+ unregisterTranscoderObserver(observer) {
106
+ const apiType = this.getApiTypeFromUnregisterTranscoderObserver(observer);
107
+ const jsonParams = {
108
+ observer: observer,
109
+ toJSON: () => {
110
+ return {};
111
+ }
112
+ };
113
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
114
+ return jsonResults.result;
115
+ }
116
+ getApiTypeFromUnregisterTranscoderObserver(observer) {
117
+ return 'H265Transcoder_unregisterTranscoderObserver_e1ee996';
118
+ }
119
+ }
120
+ exports.IH265TranscoderImpl = IH265TranscoderImpl;
121
+ //# sourceMappingURL=IAgoraH265TranscoderImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_call","require","processIH265TranscoderObserver","handler","event","jsonParams","onEnableTranscode","undefined","result","onQueryChannel","originChannel","transcodeChannel","onTriggerTranscode","IH265TranscoderImpl","enableTranscode","token","channel","uid","apiType","getApiTypeFromEnableTranscode","toJSON","jsonResults","callIrisApi","call","queryChannel","getApiTypeFromQueryChannel","triggerTranscode","getApiTypeFromTriggerTranscode","registerTranscoderObserver","observer","getApiTypeFromRegisterTranscoderObserver","unregisterTranscoderObserver","getApiTypeFromUnregisterTranscoderObserver","exports"],"sourceRoot":"../../../src","sources":["impl/IAgoraH265TranscoderImpl.ts"],"mappings":";;;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAEO,SAASC,8BAA8BA,CAC5CC,OAAgC,EAChCC,KAAa,EACbC,UAAe,EACf;EACA,QAAQD,KAAK;IACX,KAAK,mBAAmB;MACtB,IAAID,OAAO,CAACG,iBAAiB,KAAKC,SAAS,EAAE;QAC3CJ,OAAO,CAACG,iBAAiB,CAACD,UAAU,CAACG,MAAM,CAAC;MAC9C;MACA;IAEF,KAAK,gBAAgB;MACnB,IAAIL,OAAO,CAACM,cAAc,KAAKF,SAAS,EAAE;QACxCJ,OAAO,CAACM,cAAc,CACpBJ,UAAU,CAACG,MAAM,EACjBH,UAAU,CAACK,aAAa,EACxBL,UAAU,CAACM,gBACb,CAAC;MACH;MACA;IAEF,KAAK,oBAAoB;MACvB,IAAIR,OAAO,CAACS,kBAAkB,KAAKL,SAAS,EAAE;QAC5CJ,OAAO,CAACS,kBAAkB,CAACP,UAAU,CAACG,MAAM,CAAC;MAC/C;MACA;EACJ;AACF;;AAEA;AACO,MAAMK,mBAAmB,CAA4B;EAC1DC,eAAeA,CAACC,KAAa,EAAEC,OAAe,EAAEC,GAAW,EAAU;IACnE,MAAMC,OAAO,GAAG,IAAI,CAACC,6BAA6B,CAACJ,KAAK,EAAEC,OAAO,EAAEC,GAAG,CAAC;IACvE,MAAMZ,UAAU,GAAG;MACjBU,KAAK,EAAEA,KAAK;MACZC,OAAO,EAAEA,OAAO;MAChBC,GAAG,EAAEA,GAAG;MACRG,MAAM,EAAEA,CAAA,KAAM;QACZ,OAAO;UACLL,KAAK,EAAEA,KAAK;UACZC,OAAO,EAAEA,OAAO;UAChBC,GAAG,EAAEA;QACP,CAAC;MACH;IACF,CAAC;IACD,MAAMI,WAAW,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iBAAW,CAACC,IAAI,CAAC,IAAI,EAAEL,OAAO,EAAEb,UAAU,CAAC;IAC/D,OAAOgB,WAAW,CAACb,MAAM;EAC3B;EAEUmB,8BAA8BA,CACtCZ,KAAa,EACbC,OAAe,EACfC,GAAW,EACH;IACR,OAAO,yCAAyC;EAClD;EAEAW,0BAA0BA,CAACC,QAAiC,EAAU;IACpE,MAAMX,OAAO,GAAG,IAAI,CAACY,wCAAwC,CAACD,QAAQ,CAAC;IACvE,MAAMxB,UAAU,GAAG;MACjBwB,QAAQ,EAAEA,QAAQ;MAClBT,MAAM,EAAEA,CAAA,KAAM;QACZ,OAAO,CAAC,CAAC;MACX;IACF,CAAC;IACD,MAAMC,WAAW,GAAGC,iBAAW,CAACC,IAAI,CAAC,IAAI,EAAEL,OAAO,EAAEb,UAAU,CAAC;IAC/D,OAAOgB,WAAW,CAACb,MAAM;EAC3B;EAEUsB,wCAAwCA,CAChDD,QAAiC,EACzB;IACR,OAAO,mDAAmD;EAC5D;EAEAE,4BAA4BA,CAACF,QAAiC,EAAU;IACtE,MAAMX,OAAO,GAAG,IAAI,CAACc,0CAA0C,CAACH,QAAQ,CAAC;IACzE,MAAMxB,UAAU,GAAG;MACjBwB,QAAQ,EAAEA,QAAQ;MAClBT,MAAM,EAAEA,CAAA,KAAM;QACZ,OAAO,CAAC,CAAC;MACX;IACF,CAAC;IACD,MAAMC,WAAW,GAAGC,iBAAW,CAACC,IAAI,CAAC,IAAI,EAAEL,OAAO,EAAEb,UAAU,CAAC;IAC/D,OAAOgB,WAAW,CAACb,MAAM;EAC3B;EAEUwB,0CAA0CA,CAClDH,QAAiC,EACzB;IACR,OAAO,qDAAqD;EAC9D;AACF;AAACI,OAAA,CAAApB,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -0,0 +1,341 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.IMediaEngineImpl = void 0;
7
+ var _AgoraBase = require("../AgoraBase");
8
+ var _AgoraMediaBase = require("../AgoraMediaBase");
9
+ var _call = require("../internal/call");
10
+ // @ts-ignore
11
+ class IMediaEngineImpl {
12
+ registerAudioFrameObserver(observer) {
13
+ const apiType = this.getApiTypeFromRegisterAudioFrameObserver(observer);
14
+ const jsonParams = {
15
+ observer: observer,
16
+ toJSON: () => {
17
+ return {};
18
+ }
19
+ };
20
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
21
+ return jsonResults.result;
22
+ }
23
+ getApiTypeFromRegisterAudioFrameObserver(observer) {
24
+ return 'MediaEngine_registerAudioFrameObserver_d873a64';
25
+ }
26
+ registerVideoFrameObserver(observer) {
27
+ const apiType = this.getApiTypeFromRegisterVideoFrameObserver(observer);
28
+ const jsonParams = {
29
+ observer: observer,
30
+ toJSON: () => {
31
+ return {};
32
+ }
33
+ };
34
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
35
+ return jsonResults.result;
36
+ }
37
+ getApiTypeFromRegisterVideoFrameObserver(observer) {
38
+ return 'MediaEngine_registerVideoFrameObserver_2cc0ef1';
39
+ }
40
+ registerVideoEncodedFrameObserver(observer) {
41
+ const apiType = this.getApiTypeFromRegisterVideoEncodedFrameObserver(observer);
42
+ const jsonParams = {
43
+ observer: observer,
44
+ toJSON: () => {
45
+ return {};
46
+ }
47
+ };
48
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
49
+ return jsonResults.result;
50
+ }
51
+ getApiTypeFromRegisterVideoEncodedFrameObserver(observer) {
52
+ return 'MediaEngine_registerVideoEncodedFrameObserver_d45d579';
53
+ }
54
+ registerFaceInfoObserver(observer) {
55
+ const apiType = this.getApiTypeFromRegisterFaceInfoObserver(observer);
56
+ const jsonParams = {
57
+ observer: observer,
58
+ toJSON: () => {
59
+ return {};
60
+ }
61
+ };
62
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
63
+ return jsonResults.result;
64
+ }
65
+ getApiTypeFromRegisterFaceInfoObserver(observer) {
66
+ return 'MediaEngine_registerFaceInfoObserver_0303ed6';
67
+ }
68
+ pushAudioFrame(frame, trackId = 0) {
69
+ const apiType = this.getApiTypeFromPushAudioFrame(frame, trackId);
70
+ const jsonParams = {
71
+ frame: frame,
72
+ trackId: trackId,
73
+ toJSON: () => {
74
+ return {
75
+ frame: frame,
76
+ trackId: trackId
77
+ };
78
+ }
79
+ };
80
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
81
+ return jsonResults.result;
82
+ }
83
+ getApiTypeFromPushAudioFrame(frame, trackId = 0) {
84
+ return 'MediaEngine_pushAudioFrame_c71f4ab';
85
+ }
86
+ pullAudioFrame(frame) {
87
+ const apiType = this.getApiTypeFromPullAudioFrame(frame);
88
+ const jsonParams = {
89
+ frame: frame,
90
+ toJSON: () => {
91
+ return {
92
+ frame: frame
93
+ };
94
+ }
95
+ };
96
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
97
+ return jsonResults.result;
98
+ }
99
+ getApiTypeFromPullAudioFrame(frame) {
100
+ return 'MediaEngine_pullAudioFrame_2c74a9c';
101
+ }
102
+ setExternalVideoSource(enabled, useTexture, sourceType = _AgoraMediaBase.ExternalVideoSourceType.VideoFrame, encodedVideoOption = new _AgoraBase.SenderOptions()) {
103
+ const apiType = this.getApiTypeFromSetExternalVideoSource(enabled, useTexture, sourceType, encodedVideoOption);
104
+ const jsonParams = {
105
+ enabled: enabled,
106
+ useTexture: useTexture,
107
+ sourceType: sourceType,
108
+ encodedVideoOption: encodedVideoOption,
109
+ toJSON: () => {
110
+ return {
111
+ enabled: enabled,
112
+ useTexture: useTexture,
113
+ sourceType: sourceType,
114
+ encodedVideoOption: encodedVideoOption
115
+ };
116
+ }
117
+ };
118
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
119
+ return jsonResults.result;
120
+ }
121
+ getApiTypeFromSetExternalVideoSource(enabled, useTexture, sourceType = _AgoraMediaBase.ExternalVideoSourceType.VideoFrame, encodedVideoOption = new _AgoraBase.SenderOptions()) {
122
+ return 'MediaEngine_setExternalVideoSource_fff99b6';
123
+ }
124
+ setExternalRemoteEglContext(eglContext) {
125
+ const apiType = this.getApiTypeFromSetExternalRemoteEglContext(eglContext);
126
+ const jsonParams = {
127
+ eglContext: eglContext,
128
+ toJSON: () => {
129
+ return {
130
+ eglContext: eglContext
131
+ };
132
+ }
133
+ };
134
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
135
+ return jsonResults.result;
136
+ }
137
+ getApiTypeFromSetExternalRemoteEglContext(eglContext) {
138
+ return 'MediaEngine_setExternalRemoteEglContext_f337cbf';
139
+ }
140
+ setExternalAudioSource(enabled, sampleRate, channels, localPlayback = false, publish = true) {
141
+ const apiType = this.getApiTypeFromSetExternalAudioSource(enabled, sampleRate, channels, localPlayback, publish);
142
+ const jsonParams = {
143
+ enabled: enabled,
144
+ sampleRate: sampleRate,
145
+ channels: channels,
146
+ localPlayback: localPlayback,
147
+ publish: publish,
148
+ toJSON: () => {
149
+ return {
150
+ enabled: enabled,
151
+ sampleRate: sampleRate,
152
+ channels: channels,
153
+ localPlayback: localPlayback,
154
+ publish: publish
155
+ };
156
+ }
157
+ };
158
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
159
+ return jsonResults.result;
160
+ }
161
+ getApiTypeFromSetExternalAudioSource(enabled, sampleRate, channels, localPlayback = false, publish = true) {
162
+ return 'MediaEngine_setExternalAudioSource_e6538be';
163
+ }
164
+ createCustomAudioTrack(trackType, config) {
165
+ const apiType = this.getApiTypeFromCreateCustomAudioTrack(trackType, config);
166
+ const jsonParams = {
167
+ trackType: trackType,
168
+ config: config,
169
+ toJSON: () => {
170
+ return {
171
+ trackType: trackType,
172
+ config: config
173
+ };
174
+ }
175
+ };
176
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
177
+ return jsonResults.result;
178
+ }
179
+ getApiTypeFromCreateCustomAudioTrack(trackType, config) {
180
+ return 'MediaEngine_createCustomAudioTrack_5a0bf1a';
181
+ }
182
+ destroyCustomAudioTrack(trackId) {
183
+ const apiType = this.getApiTypeFromDestroyCustomAudioTrack(trackId);
184
+ const jsonParams = {
185
+ trackId: trackId,
186
+ toJSON: () => {
187
+ return {
188
+ trackId: trackId
189
+ };
190
+ }
191
+ };
192
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
193
+ return jsonResults.result;
194
+ }
195
+ getApiTypeFromDestroyCustomAudioTrack(trackId) {
196
+ return 'MediaEngine_destroyCustomAudioTrack_6178b5d';
197
+ }
198
+ setExternalAudioSink(enabled, sampleRate, channels) {
199
+ const apiType = this.getApiTypeFromSetExternalAudioSink(enabled, sampleRate, channels);
200
+ const jsonParams = {
201
+ enabled: enabled,
202
+ sampleRate: sampleRate,
203
+ channels: channels,
204
+ toJSON: () => {
205
+ return {
206
+ enabled: enabled,
207
+ sampleRate: sampleRate,
208
+ channels: channels
209
+ };
210
+ }
211
+ };
212
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
213
+ return jsonResults.result;
214
+ }
215
+ getApiTypeFromSetExternalAudioSink(enabled, sampleRate, channels) {
216
+ return 'MediaEngine_setExternalAudioSink_d275ce0';
217
+ }
218
+ enableCustomAudioLocalPlayback(trackId, enabled) {
219
+ const apiType = this.getApiTypeFromEnableCustomAudioLocalPlayback(trackId, enabled);
220
+ const jsonParams = {
221
+ trackId: trackId,
222
+ enabled: enabled,
223
+ toJSON: () => {
224
+ return {
225
+ trackId: trackId,
226
+ enabled: enabled
227
+ };
228
+ }
229
+ };
230
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
231
+ return jsonResults.result;
232
+ }
233
+ getApiTypeFromEnableCustomAudioLocalPlayback(trackId, enabled) {
234
+ return 'MediaEngine_enableCustomAudioLocalPlayback_5f38e8a';
235
+ }
236
+ pushVideoFrame(frame, videoTrackId = 0) {
237
+ const apiType = this.getApiTypeFromPushVideoFrame(frame, videoTrackId);
238
+ const jsonParams = {
239
+ frame: frame,
240
+ videoTrackId: videoTrackId,
241
+ toJSON: () => {
242
+ return {
243
+ frame: frame,
244
+ videoTrackId: videoTrackId
245
+ };
246
+ }
247
+ };
248
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
249
+ return jsonResults.result;
250
+ }
251
+ getApiTypeFromPushVideoFrame(frame, videoTrackId = 0) {
252
+ return 'MediaEngine_pushVideoFrame_4e544e2';
253
+ }
254
+ pushEncodedVideoImage(imageBuffer, length, videoEncodedFrameInfo, videoTrackId = 0) {
255
+ const apiType = this.getApiTypeFromPushEncodedVideoImage(imageBuffer, length, videoEncodedFrameInfo, videoTrackId);
256
+ const jsonParams = {
257
+ imageBuffer: imageBuffer,
258
+ length: length,
259
+ videoEncodedFrameInfo: videoEncodedFrameInfo,
260
+ videoTrackId: videoTrackId,
261
+ toJSON: () => {
262
+ return {
263
+ length: length,
264
+ videoEncodedFrameInfo: videoEncodedFrameInfo,
265
+ videoTrackId: videoTrackId
266
+ };
267
+ }
268
+ };
269
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
270
+ return jsonResults.result;
271
+ }
272
+ getApiTypeFromPushEncodedVideoImage(imageBuffer, length, videoEncodedFrameInfo, videoTrackId = 0) {
273
+ return 'MediaEngine_pushEncodedVideoImage_e71452b';
274
+ }
275
+ release() {
276
+ const apiType = this.getApiTypeFromRelease();
277
+ const jsonParams = {};
278
+ _call.callIrisApi.call(this, apiType, jsonParams);
279
+ }
280
+ getApiTypeFromRelease() {
281
+ return 'MediaEngine_release';
282
+ }
283
+ unregisterAudioFrameObserver(observer) {
284
+ const apiType = this.getApiTypeFromUnregisterAudioFrameObserver(observer);
285
+ const jsonParams = {
286
+ observer: observer,
287
+ toJSON: () => {
288
+ return {};
289
+ }
290
+ };
291
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
292
+ return jsonResults.result;
293
+ }
294
+ getApiTypeFromUnregisterAudioFrameObserver(observer) {
295
+ return 'MediaEngine_unregisterAudioFrameObserver';
296
+ }
297
+ unregisterVideoFrameObserver(observer) {
298
+ const apiType = this.getApiTypeFromUnregisterVideoFrameObserver(observer);
299
+ const jsonParams = {
300
+ observer: observer,
301
+ toJSON: () => {
302
+ return {};
303
+ }
304
+ };
305
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
306
+ return jsonResults.result;
307
+ }
308
+ getApiTypeFromUnregisterVideoFrameObserver(observer) {
309
+ return 'MediaEngine_unregisterVideoFrameObserver';
310
+ }
311
+ unregisterVideoEncodedFrameObserver(observer) {
312
+ const apiType = this.getApiTypeFromUnregisterVideoEncodedFrameObserver(observer);
313
+ const jsonParams = {
314
+ observer: observer,
315
+ toJSON: () => {
316
+ return {};
317
+ }
318
+ };
319
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
320
+ return jsonResults.result;
321
+ }
322
+ getApiTypeFromUnregisterVideoEncodedFrameObserver(observer) {
323
+ return 'MediaEngine_unregisterVideoEncodedFrameObserver';
324
+ }
325
+ unregisterFaceInfoObserver(observer) {
326
+ const apiType = this.getApiTypeFromUnregisterFaceInfoObserver(observer);
327
+ const jsonParams = {
328
+ observer: observer,
329
+ toJSON: () => {
330
+ return {};
331
+ }
332
+ };
333
+ const jsonResults = _call.callIrisApi.call(this, apiType, jsonParams);
334
+ return jsonResults.result;
335
+ }
336
+ getApiTypeFromUnregisterFaceInfoObserver(observer) {
337
+ return 'MediaEngine_unregisterFaceInfoObserver';
338
+ }
339
+ }
340
+ exports.IMediaEngineImpl = IMediaEngineImpl;
341
+ //# sourceMappingURL=IAgoraMediaEngineImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_AgoraBase","require","_AgoraMediaBase","_call","IMediaEngineImpl","registerAudioFrameObserver","observer","apiType","getApiTypeFromRegisterAudioFrameObserver","jsonParams","toJSON","jsonResults","callIrisApi","call","result","registerVideoFrameObserver","getApiTypeFromRegisterVideoFrameObserver","registerVideoEncodedFrameObserver","getApiTypeFromRegisterVideoEncodedFrameObserver","registerFaceInfoObserver","getApiTypeFromRegisterFaceInfoObserver","pushAudioFrame","frame","trackId","getApiTypeFromPushAudioFrame","pullAudioFrame","getApiTypeFromPullAudioFrame","setExternalVideoSource","enabled","useTexture","sourceType","ExternalVideoSourceType","VideoFrame","encodedVideoOption","SenderOptions","getApiTypeFromSetExternalVideoSource","setExternalRemoteEglContext","eglContext","getApiTypeFromSetExternalRemoteEglContext","setExternalAudioSource","sampleRate","channels","localPlayback","publish","getApiTypeFromSetExternalAudioSource","createCustomAudioTrack","trackType","config","getApiTypeFromCreateCustomAudioTrack","destroyCustomAudioTrack","getApiTypeFromDestroyCustomAudioTrack","setExternalAudioSink","getApiTypeFromSetExternalAudioSink","enableCustomAudioLocalPlayback","getApiTypeFromEnableCustomAudioLocalPlayback","pushVideoFrame","videoTrackId","getApiTypeFromPushVideoFrame","pushEncodedVideoImage","imageBuffer","length","videoEncodedFrameInfo","getApiTypeFromPushEncodedVideoImage","release","getApiTypeFromRelease","unregisterAudioFrameObserver","getApiTypeFromUnregisterAudioFrameObserver","unregisterVideoFrameObserver","getApiTypeFromUnregisterVideoFrameObserver","unregisterVideoEncodedFrameObserver","getApiTypeFromUnregisterVideoEncodedFrameObserver","unregisterFaceInfoObserver","getApiTypeFromUnregisterFaceInfoObserver","exports"],"sourceRoot":"../../../src","sources":["impl/IAgoraMediaEngineImpl.ts"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAMA,IAAAC,eAAA,GAAAD,OAAA;AAUA,IAAAE,KAAA,GAAAF,OAAA;AAEA;AACO,MAAMG,gBAAgB,CAAyB;EACpDC,0BAA0BA,CAACC,QAA6B,EAAU;IAChE,MAAMC,OAAO,GAAG,IAAI,CAACC,wCAAwC,CAACF,QAAQ,CAAC;IACvE,MAAMG,UAAU,GAAG;MACjBH,QAAQ,EAAEA,QAAQ;MAClBI,MAAM,EAAEA,CAAA,KAAM;QACZ,OAAO,CAAC,CAAC;MACX;IACF,CAAC;IACD,MAAMC,WAAW,GAAGC,iBAA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