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,373 @@
1
+ import { callIrisApi } from '../internal/call';
2
+
3
+ // @ts-ignore
4
+ export class IAudioDeviceManagerImpl {
5
+ enumeratePlaybackDevices() {
6
+ const apiType = this.getApiTypeFromEnumeratePlaybackDevices();
7
+ const jsonParams = {};
8
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
9
+ return jsonResults.result;
10
+ }
11
+ getApiTypeFromEnumeratePlaybackDevices() {
12
+ return 'AudioDeviceManager_enumeratePlaybackDevices';
13
+ }
14
+ enumerateRecordingDevices() {
15
+ const apiType = this.getApiTypeFromEnumerateRecordingDevices();
16
+ const jsonParams = {};
17
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
18
+ return jsonResults.result;
19
+ }
20
+ getApiTypeFromEnumerateRecordingDevices() {
21
+ return 'AudioDeviceManager_enumerateRecordingDevices';
22
+ }
23
+ setPlaybackDevice(deviceId) {
24
+ const apiType = this.getApiTypeFromSetPlaybackDevice(deviceId);
25
+ const jsonParams = {
26
+ deviceId: deviceId,
27
+ toJSON: () => {
28
+ return {
29
+ deviceId: deviceId
30
+ };
31
+ }
32
+ };
33
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
34
+ return jsonResults.result;
35
+ }
36
+ getApiTypeFromSetPlaybackDevice(deviceId) {
37
+ return 'AudioDeviceManager_setPlaybackDevice_4ad5f6e';
38
+ }
39
+ getPlaybackDevice() {
40
+ const apiType = this.getApiTypeFromGetPlaybackDevice();
41
+ const jsonParams = {};
42
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
43
+ const deviceId = jsonResults.deviceId;
44
+ return deviceId;
45
+ }
46
+ getApiTypeFromGetPlaybackDevice() {
47
+ return 'AudioDeviceManager_getPlaybackDevice_73b9872';
48
+ }
49
+ getPlaybackDeviceInfo() {
50
+ const apiType = this.getApiTypeFromGetPlaybackDeviceInfo();
51
+ const jsonParams = {};
52
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
53
+ return jsonResults.result;
54
+ }
55
+ getApiTypeFromGetPlaybackDeviceInfo() {
56
+ return 'AudioDeviceManager_getPlaybackDeviceInfo_ed3a96d';
57
+ }
58
+ setPlaybackDeviceVolume(volume) {
59
+ const apiType = this.getApiTypeFromSetPlaybackDeviceVolume(volume);
60
+ const jsonParams = {
61
+ volume: volume,
62
+ toJSON: () => {
63
+ return {
64
+ volume: volume
65
+ };
66
+ }
67
+ };
68
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
69
+ return jsonResults.result;
70
+ }
71
+ getApiTypeFromSetPlaybackDeviceVolume(volume) {
72
+ return 'AudioDeviceManager_setPlaybackDeviceVolume_46f8ab7';
73
+ }
74
+ getPlaybackDeviceVolume() {
75
+ const apiType = this.getApiTypeFromGetPlaybackDeviceVolume();
76
+ const jsonParams = {};
77
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
78
+ const volume = jsonResults.volume;
79
+ return volume;
80
+ }
81
+ getApiTypeFromGetPlaybackDeviceVolume() {
82
+ return 'AudioDeviceManager_getPlaybackDeviceVolume_915cb25';
83
+ }
84
+ setRecordingDevice(deviceId) {
85
+ const apiType = this.getApiTypeFromSetRecordingDevice(deviceId);
86
+ const jsonParams = {
87
+ deviceId: deviceId,
88
+ toJSON: () => {
89
+ return {
90
+ deviceId: deviceId
91
+ };
92
+ }
93
+ };
94
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
95
+ return jsonResults.result;
96
+ }
97
+ getApiTypeFromSetRecordingDevice(deviceId) {
98
+ return 'AudioDeviceManager_setRecordingDevice_4ad5f6e';
99
+ }
100
+ getRecordingDevice() {
101
+ const apiType = this.getApiTypeFromGetRecordingDevice();
102
+ const jsonParams = {};
103
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
104
+ const deviceId = jsonResults.deviceId;
105
+ return deviceId;
106
+ }
107
+ getApiTypeFromGetRecordingDevice() {
108
+ return 'AudioDeviceManager_getRecordingDevice_73b9872';
109
+ }
110
+ getRecordingDeviceInfo() {
111
+ const apiType = this.getApiTypeFromGetRecordingDeviceInfo();
112
+ const jsonParams = {};
113
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
114
+ return jsonResults.result;
115
+ }
116
+ getApiTypeFromGetRecordingDeviceInfo() {
117
+ return 'AudioDeviceManager_getRecordingDeviceInfo_ed3a96d';
118
+ }
119
+ setRecordingDeviceVolume(volume) {
120
+ const apiType = this.getApiTypeFromSetRecordingDeviceVolume(volume);
121
+ const jsonParams = {
122
+ volume: volume,
123
+ toJSON: () => {
124
+ return {
125
+ volume: volume
126
+ };
127
+ }
128
+ };
129
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
130
+ return jsonResults.result;
131
+ }
132
+ getApiTypeFromSetRecordingDeviceVolume(volume) {
133
+ return 'AudioDeviceManager_setRecordingDeviceVolume_46f8ab7';
134
+ }
135
+ getRecordingDeviceVolume() {
136
+ const apiType = this.getApiTypeFromGetRecordingDeviceVolume();
137
+ const jsonParams = {};
138
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
139
+ const volume = jsonResults.volume;
140
+ return volume;
141
+ }
142
+ getApiTypeFromGetRecordingDeviceVolume() {
143
+ return 'AudioDeviceManager_getRecordingDeviceVolume_915cb25';
144
+ }
145
+ setLoopbackDevice(deviceId) {
146
+ const apiType = this.getApiTypeFromSetLoopbackDevice(deviceId);
147
+ const jsonParams = {
148
+ deviceId: deviceId,
149
+ toJSON: () => {
150
+ return {
151
+ deviceId: deviceId
152
+ };
153
+ }
154
+ };
155
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
156
+ return jsonResults.result;
157
+ }
158
+ getApiTypeFromSetLoopbackDevice(deviceId) {
159
+ return 'AudioDeviceManager_setLoopbackDevice_4ad5f6e';
160
+ }
161
+ getLoopbackDevice() {
162
+ const apiType = this.getApiTypeFromGetLoopbackDevice();
163
+ const jsonParams = {};
164
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
165
+ const deviceId = jsonResults.deviceId;
166
+ return deviceId;
167
+ }
168
+ getApiTypeFromGetLoopbackDevice() {
169
+ return 'AudioDeviceManager_getLoopbackDevice_73b9872';
170
+ }
171
+ setPlaybackDeviceMute(mute) {
172
+ const apiType = this.getApiTypeFromSetPlaybackDeviceMute(mute);
173
+ const jsonParams = {
174
+ mute: mute,
175
+ toJSON: () => {
176
+ return {
177
+ mute: mute
178
+ };
179
+ }
180
+ };
181
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
182
+ return jsonResults.result;
183
+ }
184
+ getApiTypeFromSetPlaybackDeviceMute(mute) {
185
+ return 'AudioDeviceManager_setPlaybackDeviceMute_5039d15';
186
+ }
187
+ getPlaybackDeviceMute() {
188
+ const apiType = this.getApiTypeFromGetPlaybackDeviceMute();
189
+ const jsonParams = {};
190
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
191
+ const mute = jsonResults.mute;
192
+ return mute;
193
+ }
194
+ getApiTypeFromGetPlaybackDeviceMute() {
195
+ return 'AudioDeviceManager_getPlaybackDeviceMute_d942327';
196
+ }
197
+ setRecordingDeviceMute(mute) {
198
+ const apiType = this.getApiTypeFromSetRecordingDeviceMute(mute);
199
+ const jsonParams = {
200
+ mute: mute,
201
+ toJSON: () => {
202
+ return {
203
+ mute: mute
204
+ };
205
+ }
206
+ };
207
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
208
+ return jsonResults.result;
209
+ }
210
+ getApiTypeFromSetRecordingDeviceMute(mute) {
211
+ return 'AudioDeviceManager_setRecordingDeviceMute_5039d15';
212
+ }
213
+ getRecordingDeviceMute() {
214
+ const apiType = this.getApiTypeFromGetRecordingDeviceMute();
215
+ const jsonParams = {};
216
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
217
+ const mute = jsonResults.mute;
218
+ return mute;
219
+ }
220
+ getApiTypeFromGetRecordingDeviceMute() {
221
+ return 'AudioDeviceManager_getRecordingDeviceMute_d942327';
222
+ }
223
+ startPlaybackDeviceTest(testAudioFilePath) {
224
+ const apiType = this.getApiTypeFromStartPlaybackDeviceTest(testAudioFilePath);
225
+ const jsonParams = {
226
+ testAudioFilePath: testAudioFilePath,
227
+ toJSON: () => {
228
+ return {
229
+ testAudioFilePath: testAudioFilePath
230
+ };
231
+ }
232
+ };
233
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
234
+ return jsonResults.result;
235
+ }
236
+ getApiTypeFromStartPlaybackDeviceTest(testAudioFilePath) {
237
+ return 'AudioDeviceManager_startPlaybackDeviceTest_3a2037f';
238
+ }
239
+ stopPlaybackDeviceTest() {
240
+ const apiType = this.getApiTypeFromStopPlaybackDeviceTest();
241
+ const jsonParams = {};
242
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
243
+ return jsonResults.result;
244
+ }
245
+ getApiTypeFromStopPlaybackDeviceTest() {
246
+ return 'AudioDeviceManager_stopPlaybackDeviceTest';
247
+ }
248
+ startRecordingDeviceTest(indicationInterval) {
249
+ const apiType = this.getApiTypeFromStartRecordingDeviceTest(indicationInterval);
250
+ const jsonParams = {
251
+ indicationInterval: indicationInterval,
252
+ toJSON: () => {
253
+ return {
254
+ indicationInterval: indicationInterval
255
+ };
256
+ }
257
+ };
258
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
259
+ return jsonResults.result;
260
+ }
261
+ getApiTypeFromStartRecordingDeviceTest(indicationInterval) {
262
+ return 'AudioDeviceManager_startRecordingDeviceTest_46f8ab7';
263
+ }
264
+ stopRecordingDeviceTest() {
265
+ const apiType = this.getApiTypeFromStopRecordingDeviceTest();
266
+ const jsonParams = {};
267
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
268
+ return jsonResults.result;
269
+ }
270
+ getApiTypeFromStopRecordingDeviceTest() {
271
+ return 'AudioDeviceManager_stopRecordingDeviceTest';
272
+ }
273
+ startAudioDeviceLoopbackTest(indicationInterval) {
274
+ const apiType = this.getApiTypeFromStartAudioDeviceLoopbackTest(indicationInterval);
275
+ const jsonParams = {
276
+ indicationInterval: indicationInterval,
277
+ toJSON: () => {
278
+ return {
279
+ indicationInterval: indicationInterval
280
+ };
281
+ }
282
+ };
283
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
284
+ return jsonResults.result;
285
+ }
286
+ getApiTypeFromStartAudioDeviceLoopbackTest(indicationInterval) {
287
+ return 'AudioDeviceManager_startAudioDeviceLoopbackTest_46f8ab7';
288
+ }
289
+ stopAudioDeviceLoopbackTest() {
290
+ const apiType = this.getApiTypeFromStopAudioDeviceLoopbackTest();
291
+ const jsonParams = {};
292
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
293
+ return jsonResults.result;
294
+ }
295
+ getApiTypeFromStopAudioDeviceLoopbackTest() {
296
+ return 'AudioDeviceManager_stopAudioDeviceLoopbackTest';
297
+ }
298
+ followSystemPlaybackDevice(enable) {
299
+ const apiType = this.getApiTypeFromFollowSystemPlaybackDevice(enable);
300
+ const jsonParams = {
301
+ enable: enable,
302
+ toJSON: () => {
303
+ return {
304
+ enable: enable
305
+ };
306
+ }
307
+ };
308
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
309
+ return jsonResults.result;
310
+ }
311
+ getApiTypeFromFollowSystemPlaybackDevice(enable) {
312
+ return 'AudioDeviceManager_followSystemPlaybackDevice_5039d15';
313
+ }
314
+ followSystemRecordingDevice(enable) {
315
+ const apiType = this.getApiTypeFromFollowSystemRecordingDevice(enable);
316
+ const jsonParams = {
317
+ enable: enable,
318
+ toJSON: () => {
319
+ return {
320
+ enable: enable
321
+ };
322
+ }
323
+ };
324
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
325
+ return jsonResults.result;
326
+ }
327
+ getApiTypeFromFollowSystemRecordingDevice(enable) {
328
+ return 'AudioDeviceManager_followSystemRecordingDevice_5039d15';
329
+ }
330
+ followSystemLoopbackDevice(enable) {
331
+ const apiType = this.getApiTypeFromFollowSystemLoopbackDevice(enable);
332
+ const jsonParams = {
333
+ enable: enable,
334
+ toJSON: () => {
335
+ return {
336
+ enable: enable
337
+ };
338
+ }
339
+ };
340
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
341
+ return jsonResults.result;
342
+ }
343
+ getApiTypeFromFollowSystemLoopbackDevice(enable) {
344
+ return 'AudioDeviceManager_followSystemLoopbackDevice_5039d15';
345
+ }
346
+ release() {
347
+ const apiType = this.getApiTypeFromRelease();
348
+ const jsonParams = {};
349
+ callIrisApi.call(this, apiType, jsonParams);
350
+ }
351
+ getApiTypeFromRelease() {
352
+ return 'AudioDeviceManager_release';
353
+ }
354
+ getPlaybackDefaultDevice() {
355
+ const apiType = this.getApiTypeFromGetPlaybackDefaultDevice();
356
+ const jsonParams = {};
357
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
358
+ return jsonResults.result;
359
+ }
360
+ getApiTypeFromGetPlaybackDefaultDevice() {
361
+ return 'AudioDeviceManager_getPlaybackDefaultDevice';
362
+ }
363
+ getRecordingDefaultDevice() {
364
+ const apiType = this.getApiTypeFromGetRecordingDefaultDevice();
365
+ const jsonParams = {};
366
+ const jsonResults = callIrisApi.call(this, apiType, jsonParams);
367
+ return jsonResults.result;
368
+ }
369
+ getApiTypeFromGetRecordingDefaultDevice() {
370
+ return 'AudioDeviceManager_getRecordingDefaultDevice';
371
+ }
372
+ }
373
+ //# sourceMappingURL=IAudioDeviceManagerImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["callIrisApi","IAudioDeviceManagerImpl","enumeratePlaybackDevices","apiType","getApiTypeFromEnumeratePlaybackDevices","jsonParams","jsonResults","call","result","enumerateRecordingDevices","getApiTypeFromEnumerateRecordingDevices","setPlaybackDevice","deviceId","getApiTypeFromSetPlaybackDevice","toJSON","getPlaybackDevice","getApiTypeFromGetPlaybackDevice","getPlaybackDeviceInfo","getApiTypeFromGetPlaybackDeviceInfo","setPlaybackDeviceVolume","volume","getApiTypeFromSetPlaybackDeviceVolume","getPlaybackDeviceVolume","getApiTypeFromGetPlaybackDeviceVolume","setRecordingDevice","getApiTypeFromSetRecordingDevice","getRecordingDevice","getApiTypeFromGetRecordingDevice","getRecordingDeviceInfo","getApiTypeFromGetRecordingDeviceInfo","setRecordingDeviceVolume","getApiTypeFromSetRecordingDeviceVolume","getRecordingDeviceVolume","getApiTypeFromGetRecordingDeviceVolume","setLoopbackDevice","getApiTypeFromSetLoopbackDevice","getLoopbackDevice","getApiTypeFromGetLoopbackDevice","setPlaybackDeviceMute","mute","getApiTypeFromSetPlaybackDeviceMute","getPlaybackDeviceMute","getApiTypeFromGetPlaybackDeviceMute","setRecordingDeviceMute","getApiTypeFromSetRecordingDeviceMute","getRecordingDeviceMute","getApiTypeFromGetRecordingDeviceMute","startPlaybackDeviceTest","testAudioFilePath","getApiTypeFromStartPlaybackDeviceTest","stopPlaybackDeviceTest","getApiTypeFromStopPlaybackDeviceTest","startRecordingDeviceTest","indicationInterval","getApiTypeFromStartRecordingDeviceTest","stopRecordingDeviceTest","getApiTypeFromStopRecordingDeviceTest","startAudioDeviceLoopbackTest","getApiTypeFromStartAudioDeviceLoopbackTest","stopAudioDeviceLoopbackTest","getApiTypeFromStopAudioDeviceLoopbackTest","followSystemPlaybackDevice","enable","getApiTypeFromFollowSystemPlaybackDevice","followSystemRecordingDevice","getApiTypeFromFollowSystemRecordingDevice","followSystemLoopbackDevice","getApiTypeFromFollowSystemLoopbackDevice","release","getApiTypeFromRelease","getPlaybackDefaultDevice","getApiTypeFromGetPlaybackDefaultDevice","getRecordingDefaultDevice","getApiTypeFromGetRecordingDefaultDevice"],"sourceRoot":"../../../src","sources":["impl/IAudioDeviceManagerImpl.ts"],"mappings":"AAEA,SAASA,WAAW,QAAQ,kBAAkB;;AAE9C;AACA,OAAO,MAAMC,uBAAuB,CAAgC;EAClEC,wBAAwBA,CAAA,EAAsB;IAC5C,MAAMC,OAAO,GAAG,IAAI,CAACC,sCAAsC,CAAC,CAAC;IAC7D,MAAMC,UAAU,GAAG,CAAC,CAAC;IACrB,MAAMC,WAAW,GAAGN,WAAW,CAACO,IAAI,CAAC,IAAI,EAAEJ,OAAO,EAAEE,UAAU,CAAC;IAC/D,OAAOC,WAAW,CAACE,MAAM;EAC3B;EAEUJ,sCAAsCA,CAAA,EAAW;IACzD,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itter } from 'react-native';
2
+ import { handleEvent } from './internal/IrisApiEngine';
3
+ import { RtcEngineExInternal } from './internal/RtcEngineExInternal';
4
+ export const showRPSystemBroadcastPickerView = AgoraRtcNg.showRPSystemBroadcastPickerView;
5
+ export * from './AgoraBase';
6
+ export * from './AgoraMediaBase';
7
+ export * from './AgoraMediaPlayerTypes';
8
+ export * from './IAgoraLog';
9
+ export * from './IAgoraMediaEngine';
10
+ export * from './IAgoraMediaPlayer';
11
+ export * from './IAgoraMediaPlayerSource';
12
+ export * from './IAgoraMediaRecorder';
13
+ export * from './IAgoraMusicContentCenter';
14
+ export * from './IAgoraRhythmPlayer';
15
+ export * from './IAgoraRtcEngine';
16
+ export * from './IAgoraRtcEngineEx';
17
+ export * from './IAgoraSpatialAudio';
18
+ export * from './IAudioDeviceManager';
19
+ export * from './AgoraRtcRenderView';
20
+ export * from './IAgoraPip';
21
+ export { isDebuggable, setDebuggable } from './Utils';
22
+ export { callIrisApi } from './internal/call';
23
+ const AgoraEventEmitter = new NativeEventEmitter(AgoraRtcNg);
24
+ AgoraEventEmitter.addListener('AgoraRtcNg:onEvent', handleEvent);
25
+ const instance = new RtcEngineExInternal();
26
+
27
+ /**
28
+ * @ignore
29
+ */
30
+ export function createAgoraRtcEngine() {
31
+ return instance;
32
+ }
33
+
34
+ /**
35
+ * @ignore
36
+ */
37
+ export function getMediaPlayerCacheManager() {
38
+ return new IMediaPlayerCacheManagerImpl();
39
+ }
40
+ export default createAgoraRtcEngine;
41
+ import AgoraRtcNg from './specs';
42
+ import { IMediaPlayerCacheManagerImpl } from './impl/IAgoraMediaPlayerImpl';
43
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["NativeEventEmitter","handleEvent","RtcEngineExInternal","showRPSystemBroadcastPickerView","AgoraRtcNg","isDebuggable","setDebuggable","callIrisApi","AgoraEventEmitter","addListener","instance","createAgoraRtcEngine","getMediaPlayerCacheManager","IMediaPlayerCacheManagerImpl"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,cAAc;AAIjD,SAASC,WAAW,QAAQ,0BAA0B;AACtD,SAASC,mBAAmB,QAAQ,gCAAgC;AAEpE,OAAO,MAAMC,+BAA+B,GAC1CC,UAAU,CAACD,+BAA+B;AAE5C,cAAc,aAAa;AAC3B,cAAc,kBAAkB;AAChC,cAAc,yBAAyB;AACvC,cAAc,aAAa;AAC3B,cAAc,qBAAqB;AACnC,cAAc,qBAAqB;AACnC,cAAc,2BAA2B;AACzC,cAAc,uBAAuB;AACrC,cAAc,4BAA4B;AAC1C,cAAc,sBAAsB;AACpC,cAAc,mBAAmB;AACjC,cAAc,qBAAqB;AACnC,cAAc,sBAAsB;AACpC,cAAc,uBAAuB;AACrC,cAAc,sBAAsB;AACpC,cAAc,aAAa;AAC3B,SAASE,YAAY,EAAEC,aAAa,QAAQ,SAAS;AACrD,SAASC,WAAW,QAAQ,iBAAiB;AAE7C,MAAMC,iBAAiB,GAAG,IAAIR,kBAAkB,CAACI,UAAU,CAAC;AAC5DI,iBAAiB,CAACC,WAAW,CAAC,oBAAoB,EAAER,WAAW,CAAC;AAEhE,MAAMS,QAAQ,GAAG,IAAIR,mBAAmB,CAAC,CAAC;;AAE1C;AACA;AACA;AACA,OAAO,SAASS,oBAAoBA,CAAA,EAAe;EACjD,OAAOD,QAAQ;AACjB;;AAEA;AACA;AACA;AACA,OAAO,SAASE,0BAA0BA,CAAA,EAA6B;EACrE,OAAO,IAAIC,4BAA4B,CAAC,CAAC;AAC3C;AAEA,eAAeF,oBAAoB;AAEnC,OAAOP,UAAU,MAAM,SAAS;AAEhC,SAASS,4BAA4B,QAAQ,8BAA8B","ignoreList":[]}
@@ -0,0 +1,58 @@
1
+ import { createCheckers } from 'ts-interface-checker';
2
+ import { IH265TranscoderImpl } from '../impl/IAgoraH265TranscoderImpl';
3
+ import IAgoraH265TranscoderTI from '../ti/IAgoraH265Transcoder-ti';
4
+ const checkers = createCheckers(IAgoraH265TranscoderTI);
5
+ import { DeviceEventEmitter, EVENT_TYPE } from './event';
6
+ export class H265TranscoderInternal extends IH265TranscoderImpl {
7
+ static _h265_transcoder_observers = [];
8
+ release() {
9
+ H265TranscoderInternal._h265_transcoder_observers = [];
10
+ this.removeAllListeners();
11
+ }
12
+ _addListenerPreCheck(eventType) {
13
+ var _checkers$IH265Transc;
14
+ if ((_checkers$IH265Transc = checkers.IH265TranscoderObserver) !== null && _checkers$IH265Transc !== void 0 && _checkers$IH265Transc.strictTest({
15
+ [eventType]: undefined
16
+ })) {
17
+ if (H265TranscoderInternal._h265_transcoder_observers.length === 0) {
18
+ this.registerTranscoderObserver({});
19
+ }
20
+ }
21
+ return true;
22
+ }
23
+ addListener(eventType, listener) {
24
+ this._addListenerPreCheck(eventType);
25
+ const callback = (eventProcessor, data) => {
26
+ if (eventProcessor.type(data) !== EVENT_TYPE.IAgoraH265Transcoder) {
27
+ return;
28
+ }
29
+ eventProcessor.func.map(it => {
30
+ it({
31
+ [eventType]: listener
32
+ }, eventType, data);
33
+ });
34
+ };
35
+ // @ts-ignore
36
+ listener.agoraCallback = callback;
37
+ DeviceEventEmitter.addListener(eventType, callback);
38
+ }
39
+ removeListener(eventType, listener) {
40
+ DeviceEventEmitter.removeListener(eventType,
41
+ // @ts-ignore
42
+ (listener === null || listener === void 0 ? void 0 : listener.agoraCallback) ?? listener);
43
+ }
44
+ removeAllListeners(eventType) {
45
+ DeviceEventEmitter.removeAllListeners(eventType);
46
+ }
47
+ registerTranscoderObserver(observer) {
48
+ if (!H265TranscoderInternal._h265_transcoder_observers.find(value => value === observer)) {
49
+ H265TranscoderInternal._h265_transcoder_observers.push(observer);
50
+ }
51
+ return super.registerTranscoderObserver(observer);
52
+ }
53
+ unregisterTranscoderObserver(observer) {
54
+ H265TranscoderInternal._h265_transcoder_observers = H265TranscoderInternal._h265_transcoder_observers.filter(value => value !== observer);
55
+ return super.unregisterTranscoderObserver(observer);
56
+ }
57
+ }
58
+ //# sourceMappingURL=AgoraH265TranscoderInternal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createCheckers","IH265TranscoderImpl","IAgoraH265TranscoderTI","checkers","DeviceEventEmitter","EVENT_TYPE","H265TranscoderInternal","_h265_transcoder_observers","release","removeAllListeners","_addListenerPreCheck","eventType","_checkers$IH265Transc","IH265TranscoderObserver","strictTest","undefined","length","registerTranscoderObserver","addListener","listener","callback","eventProcessor","data","type","IAgoraH265Transcoder","func","map","it","agoraCallback","removeListener","observer","find","value","push","unregisterTranscoderObserver","filter"],"sourceRoot":"../../../src","sources":["internal/AgoraH265TranscoderInternal.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,sBAAsB;AAIrD,SAASC,mBAAmB,QAAQ,kCAAkC;AAEtE,OAAOC,sBAAsB,MAAM,+BAA+B;AAElE,MAAMC,QAAQ,GAAGH,cAAc,CAACE,sBAAsB,CAAC;AAEvD,SAASE,kBAAkB,EAAEC,UAAU,QAAwB,SAAS;AAExE,OAAO,MAAMC,sBAAsB,SAASL,mBAAmB,CAAC;EAC9D,OAAOM,0BAA0B,GAA8B,EAAE;EAEjEC,OAAOA,CAAA,EAAG;IACRF,sBAAsB,CAACC,0BAA0B,GAAG,EAAE;IACtD,IAAI,CAACE,kBAAkB,CAAC,CAAC;EAC3B;EAEAC,oBAAoBA,CAClBC,SAAoB,EACX;IAAA,IAAAC,qBAAA;IACT,KAAAA,qBAAA,GACET,QAAQ,CAACU,uBAAuB,cAAAD,qBAAA,eAAhCA,qBAAA,CAAkCE,UAAU,CAAC;MAC3C,CAACH,SAAS,GAAGI;IACf,CAAC,CAAC,EACF;MACA,IAAIT,sBAAsB,CAACC,0BAA0B,CAACS,MAAM,KAAK,CAAC,EAAE;QAClE,IAAI,CAACC,0BAA0B,CAAC,CAAC,CAAC,CAAC;MACrC;IACF;IACA,OAAO,IAAI;EACb;EAEAC,WAAWA,CACTP,SAAoB,EACpBQ,QAAyC,EACnC;IACN,IAAI,CAACT,oBAAoB,CAAC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@ -0,0 +1,13 @@
1
+ import { IVideoFrameMetaInfoImpl } from '../impl/AgoraMediaBaseImpl';
2
+ export class VideoFrameMetaInfoInternal extends IVideoFrameMetaInfoImpl {
3
+ constructor(videoFrameMetaInfo) {
4
+ super();
5
+ this._videoFrameMetaInfo = videoFrameMetaInfo;
6
+ }
7
+ getMetaInfoStr(key) {
8
+ var _this$_videoFrameMeta;
9
+ // @ts-ignore
10
+ return (_this$_videoFrameMeta = this._videoFrameMetaInfo) === null || _this$_videoFrameMeta === void 0 ? void 0 : _this$_videoFrameMeta[key];
11
+ }
12
+ }
13
+ //# sourceMappingURL=AgoraMediaBaseInternal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["IVideoFrameMetaInfoImpl","VideoFrameMetaInfoInternal","constructor","videoFrameMetaInfo","_videoFrameMetaInfo","getMetaInfoStr","key","_this$_videoFrameMeta"],"sourceRoot":"../../../src","sources":["internal/AgoraMediaBaseInternal.ts"],"mappings":"AACA,SAASA,uBAAuB,QAAQ,4BAA4B;AAEpE,OAAO,MAAMC,0BAA0B,SAASD,uBAAuB,CAAC;EAEtEE,WAAWA,CAACC,kBAAmD,EAAE;IAC/D,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,mBAAmB,GAAGD,kBAAkB;EAC/C;EAESE,cAAcA,CAACC,GAAgB,EAAU;IAAA,IAAAC,qBAAA;IAChD;IACA,QAAAA,qBAAA,GAAO,IAAI,CAACH,mBAAmB,cAAAG,qBAAA,uBAAxBA,qBAAA,CAA2BD,GAAG,CAAC;EACxC;AACF","ignoreList":[]}
@@ -0,0 +1,92 @@
1
+ import { createCheckers } from 'ts-interface-checker';
2
+ import AgoraRtcNg from '../specs';
3
+ import IAgoraPipTI from '../ti/IAgoraPip-ti';
4
+ import { DeviceEventEmitter, EVENT_TYPE } from './event';
5
+ const checkers = createCheckers(IAgoraPipTI);
6
+ export function processAgoraPipObserver(handler, event, jsonParams) {
7
+ switch (event) {
8
+ case 'onPipStateChanged':
9
+ if (handler.onPipStateChanged !== undefined) {
10
+ handler.onPipStateChanged(jsonParams.state, jsonParams.error);
11
+ }
12
+ break;
13
+ }
14
+ }
15
+ export class AgoraPipInternal {
16
+ static _agora_pip_observers = [];
17
+ pipIsSupported() {
18
+ return AgoraRtcNg.pipIsSupported();
19
+ }
20
+ pipIsAutoEnterSupported() {
21
+ return AgoraRtcNg.pipIsAutoEnterSupported();
22
+ }
23
+ isPipActivated() {
24
+ return AgoraRtcNg.isPipActivated();
25
+ }
26
+ pipSetup(options) {
27
+ if (typeof options === 'object') {
28
+ return AgoraRtcNg.pipSetup(options);
29
+ } else {
30
+ return false;
31
+ }
32
+ }
33
+ pipStart() {
34
+ return AgoraRtcNg.pipStart();
35
+ }
36
+ pipStop() {
37
+ AgoraRtcNg.pipStop();
38
+ }
39
+ pipDispose() {
40
+ AgoraRtcNg.pipDispose();
41
+ }
42
+ release() {
43
+ AgoraPipInternal._agora_pip_observers = [];
44
+ this.removeAllListeners();
45
+ this.pipDispose();
46
+ }
47
+ _addListenerPreCheck(eventType) {
48
+ var _checkers$AgoraPipSta;
49
+ if ((_checkers$AgoraPipSta = checkers.AgoraPipStateChangedObserver) !== null && _checkers$AgoraPipSta !== void 0 && _checkers$AgoraPipSta.strictTest({
50
+ [eventType]: undefined
51
+ })) {
52
+ if (AgoraPipInternal._agora_pip_observers.length === 0) {
53
+ console.error('Please call `registerPipObserver` before you want to receive event by `addListener`');
54
+ return false;
55
+ }
56
+ }
57
+ return true;
58
+ }
59
+ addListener(eventType, listener) {
60
+ this._addListenerPreCheck(eventType);
61
+ const callback = (eventProcessor, data) => {
62
+ if (eventProcessor.type(data) !== EVENT_TYPE.IAgoraPip) {
63
+ return;
64
+ }
65
+ eventProcessor.func.map(it => {
66
+ it({
67
+ [eventType]: listener
68
+ }, eventType, data);
69
+ });
70
+ };
71
+ // @ts-ignore
72
+ listener.agoraCallback = callback;
73
+ DeviceEventEmitter.addListener(eventType, callback);
74
+ }
75
+ removeListener(eventType, listener) {
76
+ DeviceEventEmitter.removeListener(eventType,
77
+ // @ts-ignore
78
+ (listener === null || listener === void 0 ? void 0 : listener.agoraCallback) ?? listener);
79
+ }
80
+ removeAllListeners(eventType) {
81
+ DeviceEventEmitter.removeAllListeners(eventType);
82
+ }
83
+ registerPipStateChangedObserver(observer) {
84
+ if (!AgoraPipInternal._agora_pip_observers.find(value => value === observer)) {
85
+ AgoraPipInternal._agora_pip_observers.push(observer);
86
+ }
87
+ }
88
+ unregisterPipStateChangedObserver(observer) {
89
+ AgoraPipInternal._agora_pip_observers = AgoraPipInternal._agora_pip_observers.filter(value => value !== observer);
90
+ }
91
+ }
92
+ //# sourceMappingURL=AgoraPipInternal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createCheckers","AgoraRtcNg","IAgoraPipTI","DeviceEventEmitter","EVENT_TYPE","checkers","processAgoraPipObserver","handler","event","jsonParams","onPipStateChanged","undefined","state","error","AgoraPipInternal","_agora_pip_observers","pipIsSupported","pipIsAutoEnterSupported","isPipActivated","pipSetup","options","pipStart","pipStop","pipDispose","release","removeAllListeners","_addListenerPreCheck","eventType","_checkers$AgoraPipSta","AgoraPipStateChangedObserver","strictTest","length","console","addListener","listener","callback","eventProcessor","data","type","IAgoraPip","func","map","it","agoraCallback","removeListener","registerPipStateChangedObserver","observer","find","value","push","unregisterPipStateChangedObserver","filter"],"sourceRoot":"../../../src","sources":["internal/AgoraPipInternal.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,sBAAsB;AAQrD,OAAOC,UAAU,MAAM,UAAU;AACjC,OAAOC,WAAW,MAAM,oBAAoB;AAE5C,SAASC,kBAAkB,EAAEC,UAAU,QAAwB,SAAS;AAExE,MAAMC,QAAQ,GAAGL,cAAc,CAACE,WAAW,CAAC;AAE5C,OAAO,SAASI,uBAAuBA,CACrCC,OAAqC,EACrCC,KAAa,EACbC,UAAe,EACf;EACA,QAAQD,KAAK;IACX,KAAK,mBAAmB;MACtB,IAAID,OAAO,CAACG,iBAAiB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