agora-electron-sdk 4.1.1-rc.1 → 4.2.0-dev.13

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 (358) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +143 -143
  3. package/gulpfile.js +5 -4
  4. package/js/AgoraSdk.js +62 -60
  5. package/js/Private/AgoraBase.js +4575 -3269
  6. package/js/Private/AgoraMediaBase.js +968 -564
  7. package/js/Private/AgoraMediaPlayerTypes.js +422 -310
  8. package/js/Private/IAgoraLog.js +86 -74
  9. package/js/Private/IAgoraMediaEngine.js +32 -32
  10. package/js/Private/IAgoraMediaPlayer.js +16 -16
  11. package/js/Private/IAgoraMediaPlayerSource.js +3 -3
  12. package/js/Private/IAgoraMediaRecorder.js +12 -12
  13. package/js/Private/IAgoraMediaStreamingSource.js +84 -0
  14. package/js/Private/IAgoraMusicContentCenter.js +239 -81
  15. package/js/Private/IAgoraRhythmPlayer.js +70 -62
  16. package/js/Private/IAgoraRtcEngine.js +1807 -948
  17. package/js/Private/IAgoraRtcEngineEx.js +26 -18
  18. package/js/Private/IAgoraSpatialAudio.js +74 -30
  19. package/js/Private/IAudioDeviceManager.js +20 -20
  20. package/js/Private/extension/AgoraBaseExtension.js +2 -2
  21. package/js/Private/extension/AgoraMediaBaseExtension.js +2 -2
  22. package/js/Private/extension/AgoraMediaPlayerTypesExtension.js +2 -2
  23. package/js/Private/extension/IAgoraLogExtension.js +2 -2
  24. package/js/Private/extension/IAgoraMediaEngineExtension.js +2 -2
  25. package/js/Private/extension/IAgoraMediaPlayerExtension.js +2 -2
  26. package/js/Private/extension/IAgoraMediaPlayerSourceExtension.js +2 -2
  27. package/js/Private/extension/IAgoraMediaRecorderExtension.js +2 -2
  28. package/js/Private/extension/IAgoraMusicContentCenterExtension.js +2 -2
  29. package/js/Private/extension/IAgoraRhythmPlayerExtension.js +2 -2
  30. package/js/Private/extension/IAgoraRtcEngineExExtension.js +2 -2
  31. package/js/Private/extension/IAgoraRtcEngineExtension.js +2 -2
  32. package/js/Private/extension/IAgoraSpatialAudioExtension.js +2 -2
  33. package/js/Private/extension/IAudioDeviceManagerExtension.js +2 -2
  34. package/js/Private/impl/AgoraBaseImpl.js +23 -23
  35. package/js/Private/impl/AgoraMediaBaseImpl.js +118 -138
  36. package/js/Private/impl/IAgoraMediaEngineImpl.js +287 -325
  37. package/js/Private/impl/IAgoraMediaPlayerImpl.js +932 -938
  38. package/js/Private/impl/IAgoraMediaPlayerSourceImpl.js +63 -63
  39. package/js/Private/impl/IAgoraMediaRecorderImpl.js +47 -67
  40. package/js/Private/impl/IAgoraMusicContentCenterImpl.js +353 -323
  41. package/js/Private/impl/IAgoraRtcEngineExImpl.js +945 -907
  42. package/js/Private/impl/IAgoraRtcEngineImpl.js +4742 -4702
  43. package/js/Private/impl/IAgoraSpatialAudioImpl.js +362 -362
  44. package/js/Private/impl/IAudioDeviceManagerImpl.js +375 -375
  45. package/js/Private/internal/AudioDeviceManagerInternal.js +44 -44
  46. package/js/Private/internal/IrisApiEngine.js +391 -382
  47. package/js/Private/internal/LocalSpatialAudioEngineInternal.js +46 -46
  48. package/js/Private/internal/MediaEngineInternal.js +119 -123
  49. package/js/Private/internal/MediaPlayerInternal.js +215 -213
  50. package/js/Private/internal/MediaRecorderInternal.js +82 -81
  51. package/js/Private/internal/MusicContentCenterInternal.js +128 -130
  52. package/js/Private/internal/RtcEngineExInternal.js +422 -363
  53. package/js/Private/internal/emitter/EventEmitter.js +111 -111
  54. package/js/Private/ti/AgoraBase-ti.js +40 -40
  55. package/js/Private/ti/AgoraMediaBase-ti.js +71 -73
  56. package/js/Private/ti/AgoraMediaPlayerTypes-ti.js +5 -5
  57. package/js/Private/ti/IAgoraLog-ti.js +5 -5
  58. package/js/Private/ti/IAgoraMediaEngine-ti.js +5 -5
  59. package/js/Private/ti/IAgoraMediaPlayer-ti.js +38 -42
  60. package/js/Private/ti/IAgoraMediaPlayerSource-ti.js +48 -48
  61. package/js/Private/ti/IAgoraMediaRecorder-ti.js +5 -5
  62. package/js/Private/ti/IAgoraMediaStreamingSource-ti.js +5 -0
  63. package/js/Private/ti/IAgoraMusicContentCenter-ti.js +41 -41
  64. package/js/Private/ti/IAgoraRhythmPlayer-ti.js +5 -5
  65. package/js/Private/ti/IAgoraRtcEngine-ti.js +139 -139
  66. package/js/Private/ti/IAgoraRtcEngineEx-ti.js +5 -5
  67. package/js/Private/ti/IAgoraSpatialAudio-ti.js +5 -5
  68. package/js/Private/ti/IAudioDeviceManager-ti.js +5 -5
  69. package/js/Renderer/AgoraView.js +128 -131
  70. package/js/Renderer/IRenderer.js +40 -48
  71. package/js/Renderer/IRendererManager.js +9 -0
  72. package/js/Renderer/RendererManager.js +479 -392
  73. package/js/Renderer/{GlRenderer → WebGLRenderer}/index.js +469 -473
  74. package/js/Renderer/{GlRenderer → WebGLRenderer}/webgl-utils.js +1337 -1337
  75. package/js/Renderer/YUVCanvasRenderer/index.js +195 -185
  76. package/js/Renderer/index.js +18 -0
  77. package/js/Types.js +17 -29
  78. package/js/Utils.js +168 -173
  79. package/package.json +61 -103
  80. package/scripts/bootstrap.js +1 -1
  81. package/scripts/build.js +1 -0
  82. package/scripts/buildJS.js +3 -3
  83. package/scripts/clean.js +2 -1
  84. package/scripts/downloadPrebuild.js +5 -5
  85. package/scripts/getConfig.js +3 -2
  86. package/scripts/synclib.js +8 -5
  87. package/scripts/util.js +3 -2
  88. package/scripts/zipBuild.js +2 -1
  89. package/ts/AgoraSdk.ts +9 -6
  90. package/ts/Private/AgoraBase.ts +278 -173
  91. package/ts/Private/AgoraMediaBase.ts +167 -100
  92. package/ts/Private/AgoraMediaPlayerTypes.ts +1 -1
  93. package/ts/Private/IAgoraMediaEngine.ts +43 -56
  94. package/ts/Private/IAgoraMediaPlayer.ts +90 -104
  95. package/ts/Private/IAgoraMediaPlayerSource.ts +3 -8
  96. package/ts/Private/IAgoraMediaRecorder.ts +8 -35
  97. package/ts/Private/IAgoraMediaStreamingSource.ts +80 -0
  98. package/ts/Private/IAgoraMusicContentCenter.ts +93 -12
  99. package/ts/Private/IAgoraRtcEngine.ts +807 -910
  100. package/ts/Private/IAgoraRtcEngineEx.ts +187 -191
  101. package/ts/Private/IAgoraSpatialAudio.ts +40 -22
  102. package/ts/Private/IAudioDeviceManager.ts +35 -13
  103. package/ts/Private/extension/IAgoraMediaEngineExtension.ts +1 -1
  104. package/ts/Private/extension/IAgoraMediaPlayerExtension.ts +4 -7
  105. package/ts/Private/extension/IAgoraMediaRecorderExtension.ts +6 -1
  106. package/ts/Private/extension/IAgoraMusicContentCenterExtension.ts +1 -1
  107. package/ts/Private/extension/IAgoraRtcEngineExtension.ts +4 -4
  108. package/ts/Private/impl/AgoraBaseImpl.ts +3 -3
  109. package/ts/Private/impl/AgoraMediaBaseImpl.ts +36 -42
  110. package/ts/Private/impl/IAgoraMediaEngineImpl.ts +79 -127
  111. package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +106 -106
  112. package/ts/Private/impl/IAgoraMediaRecorderImpl.ts +13 -45
  113. package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +61 -16
  114. package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +129 -59
  115. package/ts/Private/impl/IAgoraRtcEngineImpl.ts +490 -416
  116. package/ts/Private/impl/IAgoraSpatialAudioImpl.ts +5 -3
  117. package/ts/Private/impl/IAudioDeviceManagerImpl.ts +4 -2
  118. package/ts/Private/internal/AudioDeviceManagerInternal.ts +6 -5
  119. package/ts/Private/internal/IrisApiEngine.ts +41 -32
  120. package/ts/Private/internal/LocalSpatialAudioEngineInternal.ts +17 -13
  121. package/ts/Private/internal/MediaEngineInternal.ts +9 -11
  122. package/ts/Private/internal/MediaPlayerInternal.ts +42 -31
  123. package/ts/Private/internal/MediaRecorderInternal.ts +24 -22
  124. package/ts/Private/internal/MusicContentCenterInternal.ts +16 -18
  125. package/ts/Private/internal/RtcEngineExInternal.ts +189 -66
  126. package/ts/Private/ti/AgoraMediaBase-ti.ts +9 -10
  127. package/ts/Private/ti/IAgoraMediaPlayer-ti.ts +0 -5
  128. package/{js/Private/ti/AgoraMediaPlayerTypes-ti.d.ts → ts/Private/ti/IAgoraMediaStreamingSource-ti.ts} +11 -6
  129. package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +4 -4
  130. package/ts/Private/ti/IAgoraRtcEngine-ti.ts +4 -4
  131. package/ts/Renderer/AgoraView.ts +12 -7
  132. package/ts/Renderer/IRenderer.ts +11 -16
  133. package/ts/Renderer/IRendererManager.ts +35 -0
  134. package/ts/Renderer/RendererManager.ts +146 -82
  135. package/ts/Renderer/{GlRenderer → WebGLRenderer}/index.ts +36 -51
  136. package/ts/Renderer/YUVCanvasRenderer/index.ts +41 -25
  137. package/ts/Renderer/index.ts +2 -0
  138. package/ts/Types.ts +43 -23
  139. package/ts/Utils.ts +7 -12
  140. package/types/AgoraSdk.d.ts +38 -36
  141. package/types/AgoraSdk.d.ts.map +1 -0
  142. package/types/Private/AgoraBase.d.ts +4455 -4358
  143. package/types/Private/AgoraBase.d.ts.map +1 -0
  144. package/types/Private/AgoraMediaBase.d.ts +1125 -1070
  145. package/types/Private/AgoraMediaBase.d.ts.map +1 -0
  146. package/types/Private/AgoraMediaPlayerTypes.d.ts +409 -408
  147. package/types/Private/AgoraMediaPlayerTypes.d.ts.map +1 -0
  148. package/types/Private/IAgoraLog.d.ts +81 -80
  149. package/types/Private/IAgoraLog.d.ts.map +1 -0
  150. package/types/Private/IAgoraMediaEngine.d.ts +184 -193
  151. package/types/Private/IAgoraMediaEngine.d.ts.map +1 -0
  152. package/types/Private/IAgoraMediaPlayer.d.ts +533 -546
  153. package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -0
  154. package/types/Private/IAgoraMediaPlayerSource.d.ts +83 -88
  155. package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -0
  156. package/types/Private/IAgoraMediaRecorder.d.ts +29 -49
  157. package/types/Private/IAgoraMediaRecorder.d.ts.map +1 -0
  158. package/types/Private/IAgoraMediaStreamingSource.d.ts +42 -0
  159. package/types/Private/IAgoraMediaStreamingSource.d.ts.map +1 -0
  160. package/types/Private/IAgoraMusicContentCenter.d.ts +336 -255
  161. package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -0
  162. package/types/Private/IAgoraRhythmPlayer.d.ts +65 -64
  163. package/types/Private/IAgoraRhythmPlayer.d.ts.map +1 -0
  164. package/types/Private/IAgoraRtcEngine.d.ts +4948 -5058
  165. package/types/Private/IAgoraRtcEngine.d.ts.map +1 -0
  166. package/types/Private/IAgoraRtcEngineEx.d.ts +554 -570
  167. package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -0
  168. package/types/Private/IAgoraSpatialAudio.d.ts +266 -248
  169. package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -0
  170. package/types/Private/IAudioDeviceManager.d.ts +255 -233
  171. package/types/Private/IAudioDeviceManager.d.ts.map +1 -0
  172. package/types/Private/extension/AgoraBaseExtension.d.ts +2 -1
  173. package/types/Private/extension/AgoraBaseExtension.d.ts.map +1 -0
  174. package/types/Private/extension/AgoraMediaBaseExtension.d.ts +2 -1
  175. package/types/Private/extension/AgoraMediaBaseExtension.d.ts.map +1 -0
  176. package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts +2 -1
  177. package/types/Private/extension/AgoraMediaPlayerTypesExtension.d.ts.map +1 -0
  178. package/types/Private/extension/IAgoraLogExtension.d.ts +2 -1
  179. package/types/Private/extension/IAgoraLogExtension.d.ts.map +1 -0
  180. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts +41 -40
  181. package/types/Private/extension/IAgoraMediaEngineExtension.d.ts.map +1 -0
  182. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts +47 -46
  183. package/types/Private/extension/IAgoraMediaPlayerExtension.d.ts.map +1 -0
  184. package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts +2 -1
  185. package/types/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts.map +1 -0
  186. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts +45 -40
  187. package/types/Private/extension/IAgoraMediaRecorderExtension.d.ts.map +1 -0
  188. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts +21 -20
  189. package/types/Private/extension/IAgoraMusicContentCenterExtension.d.ts.map +1 -0
  190. package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts +2 -1
  191. package/types/Private/extension/IAgoraRhythmPlayerExtension.d.ts.map +1 -0
  192. package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts +2 -1
  193. package/types/Private/extension/IAgoraRtcEngineExExtension.d.ts.map +1 -0
  194. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts +43 -42
  195. package/types/Private/extension/IAgoraRtcEngineExtension.d.ts.map +1 -0
  196. package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts +2 -1
  197. package/types/Private/extension/IAgoraSpatialAudioExtension.d.ts.map +1 -0
  198. package/types/Private/extension/IAudioDeviceManagerExtension.d.ts +2 -1
  199. package/types/Private/extension/IAudioDeviceManagerExtension.d.ts.map +1 -0
  200. package/types/Private/impl/AgoraBaseImpl.d.ts +3 -2
  201. package/types/Private/impl/AgoraBaseImpl.d.ts.map +1 -0
  202. package/types/Private/impl/AgoraMediaBaseImpl.d.ts +9 -7
  203. package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -0
  204. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts +40 -43
  205. package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -0
  206. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts +141 -141
  207. package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -0
  208. package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts +3 -2
  209. package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -0
  210. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts +11 -13
  211. package/types/Private/impl/IAgoraMediaRecorderImpl.d.ts.map +1 -0
  212. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts +59 -51
  213. package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -0
  214. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +106 -101
  215. package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -0
  216. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +570 -566
  217. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -0
  218. package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts +49 -48
  219. package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -0
  220. package/types/Private/impl/IAudioDeviceManagerImpl.d.ts +65 -64
  221. package/types/Private/impl/IAudioDeviceManagerImpl.d.ts.map +1 -0
  222. package/types/Private/internal/AudioDeviceManagerInternal.d.ts +9 -8
  223. package/types/Private/internal/AudioDeviceManagerInternal.d.ts.map +1 -0
  224. package/types/Private/internal/IrisApiEngine.d.ts +148 -146
  225. package/types/Private/internal/IrisApiEngine.d.ts.map +1 -0
  226. package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts +19 -18
  227. package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -0
  228. package/types/Private/internal/MediaEngineInternal.d.ts +22 -21
  229. package/types/Private/internal/MediaEngineInternal.d.ts.map +1 -0
  230. package/types/Private/internal/MediaPlayerInternal.d.ts +34 -33
  231. package/types/Private/internal/MediaPlayerInternal.d.ts.map +1 -0
  232. package/types/Private/internal/MediaRecorderInternal.d.ts +18 -15
  233. package/types/Private/internal/MediaRecorderInternal.d.ts.map +1 -0
  234. package/types/Private/internal/MusicContentCenterInternal.d.ts +40 -39
  235. package/types/Private/internal/MusicContentCenterInternal.d.ts.map +1 -0
  236. package/types/Private/internal/RtcEngineExInternal.d.ts +80 -73
  237. package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -0
  238. package/{js → types}/Private/internal/emitter/EventEmitter.d.ts +60 -59
  239. package/types/Private/internal/emitter/EventEmitter.d.ts.map +1 -0
  240. package/types/Private/ti/AgoraBase-ti.d.ts +8 -7
  241. package/types/Private/ti/AgoraBase-ti.d.ts.map +1 -0
  242. package/types/Private/ti/AgoraMediaBase-ti.d.ts +14 -12
  243. package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -0
  244. package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts +7 -6
  245. package/types/Private/ti/AgoraMediaPlayerTypes-ti.d.ts.map +1 -0
  246. package/types/Private/ti/IAgoraLog-ti.d.ts +7 -6
  247. package/types/Private/ti/IAgoraLog-ti.d.ts.map +1 -0
  248. package/types/Private/ti/IAgoraMediaEngine-ti.d.ts +7 -6
  249. package/types/Private/ti/IAgoraMediaEngine-ti.d.ts.map +1 -0
  250. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts +8 -8
  251. package/types/Private/ti/IAgoraMediaPlayer-ti.d.ts.map +1 -0
  252. package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts +8 -7
  253. package/types/Private/ti/IAgoraMediaPlayerSource-ti.d.ts.map +1 -0
  254. package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts +7 -6
  255. package/types/Private/ti/IAgoraMediaRecorder-ti.d.ts.map +1 -0
  256. package/{js/Private/ti/IAgoraMediaRecorder-ti.d.ts → types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts} +7 -6
  257. package/types/Private/ti/IAgoraMediaStreamingSource-ti.d.ts.map +1 -0
  258. package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts +8 -7
  259. package/types/Private/ti/IAgoraMusicContentCenter-ti.d.ts.map +1 -0
  260. package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts +7 -6
  261. package/types/Private/ti/IAgoraRhythmPlayer-ti.d.ts.map +1 -0
  262. package/types/Private/ti/IAgoraRtcEngine-ti.d.ts +10 -9
  263. package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -0
  264. package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts +7 -6
  265. package/types/Private/ti/IAgoraRtcEngineEx-ti.d.ts.map +1 -0
  266. package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts +7 -6
  267. package/types/Private/ti/IAgoraSpatialAudio-ti.d.ts.map +1 -0
  268. package/types/Private/ti/IAudioDeviceManager-ti.d.ts +7 -6
  269. package/types/Private/ti/IAudioDeviceManager-ti.d.ts.map +1 -0
  270. package/types/Renderer/AgoraView.d.ts +70 -70
  271. package/types/Renderer/AgoraView.d.ts.map +1 -0
  272. package/types/Renderer/IRenderer.d.ts +22 -21
  273. package/types/Renderer/IRenderer.d.ts.map +1 -0
  274. package/types/Renderer/IRendererManager.d.ts +18 -0
  275. package/types/Renderer/IRendererManager.d.ts.map +1 -0
  276. package/types/Renderer/RendererManager.d.ts +154 -71
  277. package/types/Renderer/RendererManager.d.ts.map +1 -0
  278. package/types/Renderer/{GlRenderer → WebGLRenderer}/index.d.ts +49 -59
  279. package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -0
  280. package/types/Renderer/WebGLRenderer/webgl-utils.d.ts +1 -0
  281. package/types/Renderer/WebGLRenderer/webgl-utils.d.ts.map +1 -0
  282. package/types/Renderer/YUVCanvasRenderer/index.d.ts +16 -16
  283. package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -0
  284. package/types/Renderer/index.d.ts +3 -0
  285. package/types/Renderer/index.d.ts.map +1 -0
  286. package/types/Types.d.ts +280 -260
  287. package/types/Types.d.ts.map +1 -0
  288. package/types/Utils.d.ts +59 -58
  289. package/types/Utils.d.ts.map +1 -0
  290. package/js/AgoraSdk.d.ts +0 -36
  291. package/js/Private/AgoraBase.d.ts +0 -4358
  292. package/js/Private/AgoraMediaBase.d.ts +0 -1070
  293. package/js/Private/AgoraMediaPlayerTypes.d.ts +0 -408
  294. package/js/Private/IAgoraLog.d.ts +0 -80
  295. package/js/Private/IAgoraMediaEngine.d.ts +0 -193
  296. package/js/Private/IAgoraMediaPlayer.d.ts +0 -546
  297. package/js/Private/IAgoraMediaPlayerSource.d.ts +0 -88
  298. package/js/Private/IAgoraMediaRecorder.d.ts +0 -49
  299. package/js/Private/IAgoraMusicContentCenter.d.ts +0 -255
  300. package/js/Private/IAgoraRhythmPlayer.d.ts +0 -64
  301. package/js/Private/IAgoraRtcEngine.d.ts +0 -5058
  302. package/js/Private/IAgoraRtcEngineEx.d.ts +0 -570
  303. package/js/Private/IAgoraSpatialAudio.d.ts +0 -248
  304. package/js/Private/IAudioDeviceManager.d.ts +0 -233
  305. package/js/Private/extension/AgoraBaseExtension.d.ts +0 -1
  306. package/js/Private/extension/AgoraMediaBaseExtension.d.ts +0 -1
  307. package/js/Private/extension/AgoraMediaPlayerTypesExtension.d.ts +0 -1
  308. package/js/Private/extension/IAgoraLogExtension.d.ts +0 -1
  309. package/js/Private/extension/IAgoraMediaEngineExtension.d.ts +0 -40
  310. package/js/Private/extension/IAgoraMediaPlayerExtension.d.ts +0 -46
  311. package/js/Private/extension/IAgoraMediaPlayerSourceExtension.d.ts +0 -1
  312. package/js/Private/extension/IAgoraMediaRecorderExtension.d.ts +0 -40
  313. package/js/Private/extension/IAgoraMusicContentCenterExtension.d.ts +0 -20
  314. package/js/Private/extension/IAgoraRhythmPlayerExtension.d.ts +0 -1
  315. package/js/Private/extension/IAgoraRtcEngineExExtension.d.ts +0 -1
  316. package/js/Private/extension/IAgoraRtcEngineExtension.d.ts +0 -42
  317. package/js/Private/extension/IAgoraSpatialAudioExtension.d.ts +0 -1
  318. package/js/Private/extension/IAudioDeviceManagerExtension.d.ts +0 -1
  319. package/js/Private/impl/AgoraBaseImpl.d.ts +0 -2
  320. package/js/Private/impl/AgoraMediaBaseImpl.d.ts +0 -7
  321. package/js/Private/impl/IAgoraMediaEngineImpl.d.ts +0 -43
  322. package/js/Private/impl/IAgoraMediaPlayerImpl.d.ts +0 -141
  323. package/js/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts +0 -2
  324. package/js/Private/impl/IAgoraMediaRecorderImpl.d.ts +0 -13
  325. package/js/Private/impl/IAgoraMusicContentCenterImpl.d.ts +0 -51
  326. package/js/Private/impl/IAgoraRtcEngineExImpl.d.ts +0 -101
  327. package/js/Private/impl/IAgoraRtcEngineImpl.d.ts +0 -566
  328. package/js/Private/impl/IAgoraSpatialAudioImpl.d.ts +0 -48
  329. package/js/Private/impl/IAudioDeviceManagerImpl.d.ts +0 -64
  330. package/js/Private/internal/AudioDeviceManagerInternal.d.ts +0 -8
  331. package/js/Private/internal/IrisApiEngine.d.ts +0 -146
  332. package/js/Private/internal/LocalSpatialAudioEngineInternal.d.ts +0 -18
  333. package/js/Private/internal/MediaEngineInternal.d.ts +0 -21
  334. package/js/Private/internal/MediaPlayerInternal.d.ts +0 -33
  335. package/js/Private/internal/MediaRecorderInternal.d.ts +0 -15
  336. package/js/Private/internal/MusicContentCenterInternal.d.ts +0 -39
  337. package/js/Private/internal/RtcEngineExInternal.d.ts +0 -73
  338. package/js/Private/ti/AgoraBase-ti.d.ts +0 -7
  339. package/js/Private/ti/AgoraMediaBase-ti.d.ts +0 -12
  340. package/js/Private/ti/IAgoraLog-ti.d.ts +0 -6
  341. package/js/Private/ti/IAgoraMediaEngine-ti.d.ts +0 -6
  342. package/js/Private/ti/IAgoraMediaPlayer-ti.d.ts +0 -8
  343. package/js/Private/ti/IAgoraMediaPlayerSource-ti.d.ts +0 -7
  344. package/js/Private/ti/IAgoraMusicContentCenter-ti.d.ts +0 -7
  345. package/js/Private/ti/IAgoraRhythmPlayer-ti.d.ts +0 -6
  346. package/js/Private/ti/IAgoraRtcEngine-ti.d.ts +0 -9
  347. package/js/Private/ti/IAgoraRtcEngineEx-ti.d.ts +0 -6
  348. package/js/Private/ti/IAgoraSpatialAudio-ti.d.ts +0 -6
  349. package/js/Private/ti/IAudioDeviceManager-ti.d.ts +0 -6
  350. package/js/Renderer/AgoraView.d.ts +0 -70
  351. package/js/Renderer/GlRenderer/index.d.ts +0 -59
  352. package/js/Renderer/GlRenderer/webgl-utils.d.ts +0 -0
  353. package/js/Renderer/IRenderer.d.ts +0 -21
  354. package/js/Renderer/RendererManager.d.ts +0 -71
  355. package/js/Renderer/YUVCanvasRenderer/index.d.ts +0 -16
  356. package/js/Types.d.ts +0 -260
  357. package/js/Utils.d.ts +0 -58
  358. /package/ts/Renderer/{GlRenderer → WebGLRenderer}/webgl-utils.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgoraMediaPlayerTypes.d.ts","sourceRoot":"","sources":["../../ts/Private/AgoraMediaPlayerTypes.ts"],"names":[],"mappings":"AAAA,OAAO,4CAA4C,CAAC;AACpD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,eAAe,IAAI;IACnB;;OAEG;IACH,kBAAkB,IAAI;IACtB;;OAEG;IACH,wBAAwB,IAAI;IAC5B;;OAEG;IACH,kBAAkB,IAAI;IACtB;;OAEG;IACH,iBAAiB,IAAI;IACrB;;OAEG;IACH,4BAA4B,IAAI;IAChC;;OAEG;IACH,oCAAoC,IAAI;IACxC;;OAEG;IACH,kBAAkB,IAAI;IACtB;;OAEG;IACH,0BAA0B,KAAK;IAC/B;;OAEG;IACH,2BAA2B,KAAK;IAChC;;OAEG;IACH,0BAA0B,KAAK;IAC/B;;OAEG;IACH,0BAA0B,KAAK;IAC/B;;OAEG;IACH,uBAAuB,KAAK;IAC5B;;OAEG;IACH,4BAA4B,KAAK;IACjC;;OAEG;IACH,2BAA2B,KAAK;IAChC;;OAEG;IACH,iBAAiB,MAAM;CACxB;AAED;;GAEG;AACH,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,eAAe,IAAI;IACnB;;OAEG;IACH,2BAA2B,KAAK;IAChC;;OAEG;IACH,mBAAmB,KAAK;IACxB;;OAEG;IACH,qBAAqB,KAAK;IAC1B;;OAEG;IACH,6BAA6B,KAAK;IAClC;;OAEG;IACH,4BAA4B,KAAK;IACjC;;OAEG;IACH,4BAA4B,KAAK;IACjC;;OAEG;IACH,4BAA4B,K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AM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED;;GAEG;AACH,qBAAa,WAAW;IACtB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
@@ -1,80 +1,81 @@
1
- import './extension/IAgoraLogExtension';
2
- /**
3
- * The output log level of the SDK.
4
- */
5
- export declare enum LogLevel {
6
- /**
7
- * 0: Do not output any log information.
8
- */
9
- LogLevelNone = 0,
10
- /**
11
- * 0x0001: (Default) Output FATAL, ERROR, WARN, and INFO level log information. We recommend setting your log filter to this level.
12
- */
13
- LogLevelInfo = 1,
14
- /**
15
- * 0x0002: Output FATAL, ERROR, and WARN level log information.
16
- */
17
- LogLevelWarn = 2,
18
- /**
19
- * 0x0004: Output FATAL and ERROR level log information.
20
- */
21
- LogLevelError = 4,
22
- /**
23
- * 0x0008: Output FATAL level log information.
24
- */
25
- LogLevelFatal = 8,
26
- /**
27
- * @ignore
28
- */
29
- LogLevelApiCall = 16
30
- }
31
- /**
32
- * The output log level of the SDK.
33
- */
34
- export declare enum LogFilterType {
35
- /**
36
- * 0: Do not output any log information.
37
- */
38
- LogFilterOff = 0,
39
- /**
40
- * 0x080f: Output all log information. Set your log filter to this level if you want to get the most complete log file.
41
- */
42
- LogFilterDebug = 2063,
43
- /**
44
- * 0x000f: Output LogFilterCritical, LogFilterError, LogFilterWarn, and LogFilterInfo level log information. We recommend setting your log filter to this level.
45
- */
46
- LogFilterInfo = 15,
47
- /**
48
- * 0x000e: Output LogFilterCritical, LogFilterError, and LogFilterWarn level log information.
49
- */
50
- LogFilterWarn = 14,
51
- /**
52
- * 0x000c: Output LogFilterCritical and LogFilterError level log information.
53
- */
54
- LogFilterError = 12,
55
- /**
56
- * 0x0008: Output LogFilterCritical level log information.
57
- */
58
- LogFilterCritical = 8,
59
- /**
60
- * @ignore
61
- */
62
- LogFilterMask = 2063
63
- }
64
- /**
65
- * Configuration of Agora SDK log files.
66
- */
67
- export declare class LogConfig {
68
- /**
69
- * The complete path of the log files. Ensure that the path for the log file exists and is writable. You can use this parameter to rename the log files.The default file path is:macOSIf Sandbox is enabled: App~/Library/Logs/agorasdk.log. For example, /Users/<username>/Library/Containers/<AppBundleIdentifier>/Data/Library/Logs/agorasdk.log.If Sandbox is disabled: ~/Library/Logs/agorasdk.log.Windows:C:\Users\<user_name>\AppData\Local\Agora\<process_name>\agorasdk.log。
70
- */
71
- filePath?: string;
72
- /**
73
- * The size (KB) of an agorasdk.log file. The value range is [128,1024]. The default value is 1,024 KB. If you set fileSizeInKByte to a value lower than 128 KB, the SDK adjusts it to 128 KB. If you set fileSizeInKBytes to a value higher than 1,024 KB, the SDK adjusts it to 1,024 KB.
74
- */
75
- fileSizeInKB?: number;
76
- /**
77
- * The output level of the SDK log file. See LogLevel .For example, if you set the log level to WARN, the SDK outputs the logs within levels FATAL, ERROR, and WARN.
78
- */
79
- level?: LogLevel;
80
- }
1
+ import './extension/IAgoraLogExtension';
2
+ /**
3
+ * The output log level of the SDK.
4
+ */
5
+ export declare enum LogLevel {
6
+ /**
7
+ * 0: Do not output any log information.
8
+ */
9
+ LogLevelNone = 0,
10
+ /**
11
+ * 0x0001: (Default) Output FATAL, ERROR, WARN, and INFO level log information. We recommend setting your log filter to this level.
12
+ */
13
+ LogLevelInfo = 1,
14
+ /**
15
+ * 0x0002: Output FATAL, ERROR, and WARN level log information.
16
+ */
17
+ LogLevelWarn = 2,
18
+ /**
19
+ * 0x0004: Output FATAL and ERROR level log information.
20
+ */
21
+ LogLevelError = 4,
22
+ /**
23
+ * 0x0008: Output FATAL level log information.
24
+ */
25
+ LogLevelFatal = 8,
26
+ /**
27
+ * @ignore
28
+ */
29
+ LogLevelApiCall = 16
30
+ }
31
+ /**
32
+ * The output log level of the SDK.
33
+ */
34
+ export declare enum LogFilterType {
35
+ /**
36
+ * 0: Do not output any log information.
37
+ */
38
+ LogFilterOff = 0,
39
+ /**
40
+ * 0x080f: Output all log information. Set your log filter to this level if you want to get the most complete log file.
41
+ */
42
+ LogFilterDebug = 2063,
43
+ /**
44
+ * 0x000f: Output LogFilterCritical, LogFilterError, LogFilterWarn, and LogFilterInfo level log information. We recommend setting your log filter to this level.
45
+ */
46
+ LogFilterInfo = 15,
47
+ /**
48
+ * 0x000e: Output LogFilterCritical, LogFilterError, and LogFilterWarn level log information.
49
+ */
50
+ LogFilterWarn = 14,
51
+ /**
52
+ * 0x000c: Output LogFilterCritical and LogFilterError level log information.
53
+ */
54
+ LogFilterError = 12,
55
+ /**
56
+ * 0x0008: Output LogFilterCritical level log information.
57
+ */
58
+ LogFilterCritical = 8,
59
+ /**
60
+ * @ignore
61
+ */
62
+ LogFilterMask = 2063
63
+ }
64
+ /**
65
+ * Configuration of Agora SDK log files.
66
+ */
67
+ export declare class LogConfig {
68
+ /**
69
+ * The complete path of the log files. Ensure that the path for the log file exists and is writable. You can use this parameter to rename the log files.The default file path is:macOSIf Sandbox is enabled: App~/Library/Logs/agorasdk.log. For example, /Users/<username>/Library/Containers/<AppBundleIdentifier>/Data/Library/Logs/agorasdk.log.If Sandbox is disabled: ~/Library/Logs/agorasdk.log.Windows:C:\Users\<user_name>\AppData\Local\Agora\<process_name>\agorasdk.log。
70
+ */
71
+ filePath?: string;
72
+ /**
73
+ * The size (KB) of an agorasdk.log file. The value range is [128,1024]. The default value is 1,024 KB. If you set fileSizeInKByte to a value lower than 128 KB, the SDK adjusts it to 128 KB. If you set fileSizeInKBytes to a value higher than 1,024 KB, the SDK adjusts it to 1,024 KB.
74
+ */
75
+ fileSizeInKB?: number;
76
+ /**
77
+ * The output level of the SDK log file. See LogLevel .For example, if you set the log level to WARN, the SDK outputs the logs within levels FATAL, ERROR, and WARN.
78
+ */
79
+ level?: LogLevel;
80
+ }
81
+ //# sourceMappingURL=IAgoraLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAgoraLog.d.ts","sourceRoot":"","sources":["../../ts/Private/IAgoraLog.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC,CAAC;AACxC;;GAEG;AACH,oBAAY,QAAQ;IAClB;;OAEG;IACH,YAAY,IAAS;IACrB;;OAEG;IACH,YAAY,IAAS;IACrB;;OAEG;IACH,YAAY,IAAS;IACrB;;OAEG;IACH,aAAa,IAAS;IACtB;;OAEG;IACH,aAAa,IAAS;IACtB;;OAEG;IACH,eAAe,KAAS;CACzB;AAED;;GAEG;AACH,oBAAY,aAAa;IACvB;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,cAAc,OAAS;IACvB;;OAEG;IACH,aAAa,KAAS;IACtB;;OAEG;IACH,aAAa,KAAS;IACtB;;OAEG;IACH,cAAc,KAAS;IACvB;;OAEG;IACH,iBAAiB,IAAS;IAC1B;;OAEG;IACH,aAAa,OAAQ;CACtB;AAED;;GAEG;AACH,qBAAa,SAAS;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB"}
@@ -1,193 +1,184 @@
1
- import './extension/IAgoraMediaEngineExtension';
2
- import { IAudioFrameObserver, IVideoFrameObserver, IVideoEncodedFrameObserver, MediaSourceType, AudioFrame, ExternalVideoSourceType, ExternalVideoFrame } from './AgoraMediaBase';
3
- import { SenderOptions, EncodedVideoFrameInfo } from './AgoraBase';
4
- /**
5
- * The channel mode.
6
- */
7
- export declare enum AudioMixingDualMonoMode {
8
- /**
9
- * @ignore
10
- */
11
- AudioMixingDualMonoAuto = 0,
12
- /**
13
- * 1: Left channel mode. This mode replaces the audio of the right channel with the audio of the left channel, which means the user can only hear the audio of the left channel.
14
- */
15
- AudioMixingDualMonoL = 1,
16
- /**
17
- * 2: Right channel mode. This mode replaces the audio of the left channel with the audio of the right channel, which means the user can only hear the audio of the right channel.
18
- */
19
- AudioMixingDualMonoR = 2,
20
- /**
21
- * 3: Mixed channel mode. This mode mixes the audio of the left channel and the right channel, which means the user can hear the audio of the left channel and the right channel at the same time.
22
- */
23
- AudioMixingDualMonoMix = 3
24
- }
25
- /**
26
- * The IMediaEngine class.
27
- */
28
- export declare abstract class IMediaEngine {
29
- /**
30
- * Registers an audio frame observer object.
31
- * Call this method to register an audio frame observer object (register a callback). When you need the SDK to trigger onMixedAudioFrame , onRecordAudioFrame , onPlaybackAudioFrame or onEarMonitoringAudioFrame callback, you need to use this method to register the callbacks.Ensure that you call this method before joining a channel.
32
- *
33
- * @param observer The observer object instance. See IAudioFrameObserver . Agora recommends calling this method after receiving onLeaveChannel to release the audio observer object.
34
- *
35
- * @returns
36
- * 0: Success.< 0: Failure.
37
- */
38
- abstract registerAudioFrameObserver(observer: IAudioFrameObserver): number;
39
- /**
40
- * Registers a raw video frame observer object.
41
- * If you want to obtain the original video data of some remote users (referred to as group A) and the encoded video data of other remote users (referred to as group B), you can refer to the following steps:Call registerVideoFrameObserver to register the raw video frame observer before joining the channel.Call registerVideoEncodedFrameObserver to register the encoded video frame observer before joining the channel.After joining the channel, get the user IDs of group B users through onUserJoined , and then call setRemoteVideoSubscriptionOptions to set the encodedFrameOnly of this group of users to true.Call muteAllRemoteVideoStreams (false) to start receiving the video streams of all remote users. Then:The raw video data of group A users can be obtained through the callback in IVideoFrameObserver , and the SDK renders the data by default.The encoded video data of group B users can be obtained through the callback in IVideoEncodedFrameObserver .If you want to observe raw video frames (such as YUV or RGBA format), Agora recommends that you implement one IVideoFrameObserver class with this method.When calling this method to register a video observer, you can register callbacks in the IVideoFrameObserver class as needed. After you successfully register the video frame observer, the SDK triggers the registered callbacks each time a video frame is received.Ensure that you call this method before joining a channel.When handling the video data returned in the callbacks, pay attention to the changes in the width and height parameters, which may be adapted under the following circumstances:When network conditions deteriorate, the video resolution decreases incrementally.If the user adjusts the video profile, the resolution of the video returned in the callbacks also changes.
42
- *
43
- * @param observer The observer object instance. See IVideoFrameObserver .
44
- */
45
- abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number;
46
- /**
47
- * Registers a receiver object for the encoded video image.
48
- * If you only want to observe encoded video frames (such as h.264 format) without decoding and rendering the video, Agora recommends that you implement one IVideoEncodedFrameObserver class through this method.If you want to obtain the original video data of some remote users (referred to as group A) and the encoded video data of other remote users (referred to as group B), you can refer to the following steps:Call registerVideoFrameObserver to register the raw video frame observer before joining the channel.Call registerVideoEncodedFrameObserver to register the encoded video frame observer before joining the channel.After joining the channel, get the user IDs of group B users through onUserJoined , and then call setRemoteVideoSubscriptionOptions to set the encodedFrameOnly of this group of users to true.Call muteAllRemoteVideoStreams (false) to start receiving the video streams of all remote users. Then:The raw video data of group A users can be obtained through the callback in IVideoFrameObserver , and the SDK renders the data by default.The encoded video data of group B users can be obtained through the callback in IVideoEncodedFrameObserver .Call this method before joining a channel.
49
- *
50
- * @param observer The video frame observer object. See IVideoEncodedFrameObserver .
51
- *
52
- * @returns
53
- * 0: Success.< 0: Failure.
54
- */
55
- abstract registerVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
56
- /**
57
- * Pushes the external audio frame.
58
- *
59
- * @param type The type of the audio recording device. See MediaSourceType .
60
- *
61
- * @param frame The external audio frame. See AudioFrame .
62
- *
63
- * @param wrap Whether to use the placeholder. Agora recommends using the default value.true: Use the placeholder.false: (Default) Do not use the placeholder.
64
- *
65
- * @param sourceId The ID of external audio source. If you want to publish a custom external audio source, set this parameter to the ID of the corresponding custom audio track you want to publish.
66
- *
67
- * @returns
68
- * 0: Success.< 0: Failure.
69
- */
70
- abstract pushAudioFrame(type: MediaSourceType, frame: AudioFrame, wrap?: boolean, sourceId?: number): number;
71
- /**
72
- * @ignore
73
- */
74
- abstract pushCaptureAudioFrame(frame: AudioFrame): number;
75
- /**
76
- * @ignore
77
- */
78
- abstract pushReverseAudioFrame(frame: AudioFrame): number;
79
- /**
80
- * @ignore
81
- */
82
- abstract pushDirectAudioFrame(frame: AudioFrame): number;
83
- /**
84
- * Pulls the remote audio data.
85
- * Before calling this method, you need to call setExternalAudioSink to notify the app to enable and set the external rendering.After a successful method call, the app pulls the decoded and mixed audio data for playback.This method only supports pulling data from custom audio source. If you need to pull the data captured by the SDK, do not call this method.Call this method after joining a channel.Once you enable the external audio sink, the app will not retrieve any audio data from the onPlaybackAudioFrame callback.The difference between this method and the onPlaybackAudioFrame callback is as follows:The SDK sends the audio data to the app through the onPlaybackAudioFrame callback. Any delay in processing the audio frames may result in audio jitter.After a successful method call, the app automatically pulls the audio data from the SDK. After setting the audio data parameters, the SDK adjusts the frame buffer and avoids problems caused by jitter in the external audio playback.
86
- */
87
- abstract pullAudioFrame(): AudioFrame;
88
- /**
89
- * Configures the external video source.
90
- * Call this method before joining a channel.
91
- *
92
- * @param enabled Whether to use the external video source:true: Use the external video source. The SDK prepares to accept the external video frame.false: (Default) Do not use the external video source.
93
- *
94
- * @param useTexture Whether to use the external video frame in the Texture format.true: Use the external video frame in the Texture format.false: (Default) Do not use the external video frame in the Texture format.
95
- *
96
- * @param sourceType Whether to encode the external video frame, see ExternalVideoSourceType .
97
- *
98
- * @param encodedVideoOption Video encoding options. This parameter needs to be set if sourceType is EncodedVideoFrame. To set this parameter, contact .
99
- *
100
- * @returns
101
- * 0: Success.< 0: Failure.
102
- */
103
- abstract setExternalVideoSource(enabled: boolean, useTexture: boolean, sourceType?: ExternalVideoSourceType, encodedVideoOption?: SenderOptions): number;
104
- /**
105
- * Sets the external captured audio parameters and chooses whether to publish the audio to the remote user.
106
- * Call this method before joining a channel.
107
- *
108
- * @param enabled Whether to enable the external audio source:true: Enable the external audio source.false: (Default) Disable the external audio source.
109
- *
110
- * @param sampleRate The sample rate (Hz) of the external audio source, which can be set as 8000, 16000, 32000, 44100, or 48000.
111
- *
112
- * @param channels The number of channels of the external audio source, which can be set as 1 (Mono) or 2 (Stereo).
113
- *
114
- * @param sourceNumber The number of external audio sources. The value of this parameter should be larger than 0. The SDK creates a corresponding number of custom audio tracks based on this parameter value and names the audio tracks starting from 0. In ChannelMediaOptions , you can set publishCustomAudioSourceId to the audio track ID you want to publish.
115
- *
116
- * @param localPlayback Whether to play the external audio source:true: Play the external audio source.false: (Default) Do not play the external source.
117
- *
118
- * @param publish Whether to publish audio to the remote users:true: (Default) Publish audio to the remote users.false: Do not publish audio to the remote users.
119
- *
120
- * @returns
121
- * 0: Success.< 0: Failure.
122
- */
123
- abstract setExternalAudioSource(enabled: boolean, sampleRate: number, channels: number, sourceNumber?: number, localPlayback?: boolean, publish?: boolean): number;
124
- /**
125
- * Sets the external audio sink.
126
- * This method applies to scenarios where you want to use external audio data for playback. After you set the external audio sink, you can call pullAudioFrame to pull remote audio frames. The app can process the remote audio and play it with the audio effects that you want.
127
- *
128
- * @param enabled Whether to enable or disable the external audio sink:true: Enables the external audio sink.false: (Default) Disables the external audio sink.
129
- *
130
- * @param sampleRate The sample rate (Hz) of the external audio sink, which can be set as 16000, 32000, 44100, or 48000.
131
- *
132
- * @param channels The number of audio channels of the external audio sink:1: Mono.2: Stereo.
133
- *
134
- * @returns
135
- * 0: Success.< 0: Failure.
136
- */
137
- abstract setExternalAudioSink(enabled: boolean, sampleRate: number, channels: number): number;
138
- /**
139
- * @ignore
140
- */
141
- abstract enableCustomAudioLocalPlayback(sourceId: number, enabled: boolean): number;
142
- /**
143
- * @ignore
144
- */
145
- abstract setDirectExternalAudioSource(enable: boolean, localPlayback?: boolean): number;
146
- /**
147
- * Pushes the external raw video frame to the SDK.
148
- * To push the unencoded external raw video frame to the SDK, call createCustomVideoTrack to get the video track ID, set customVideoTrackId as the video track ID you want to publish in the ChannelMediaOptions of each channel, and set publishCustomVideoTrack as true.
149
- *
150
- * @param frame The external raw video frame to be pushed. See ExternalVideoFrame .
151
- *
152
- * @param videoTrackId The video track ID returned by calling the createCustomVideoTrack method. The default value is 0.
153
- *
154
- * @returns
155
- * 0: Success.< 0: Failure.
156
- */
157
- abstract pushVideoFrame(frame: ExternalVideoFrame, videoTrackId?: number): number;
158
- /**
159
- * @ignore
160
- */
161
- abstract pushEncodedVideoImage(imageBuffer: Uint8Array, length: number, videoEncodedFrameInfo: EncodedVideoFrameInfo, videoTrackId?: number): number;
162
- /**
163
- * @ignore
164
- */
165
- abstract release(): void;
166
- /**
167
- * Unregisters an audio frame observer.
168
- *
169
- * @param observer The audio frame observer, reporting the reception of each audio frame. See IAudioFrameObserver .
170
- *
171
- * @returns
172
- * 0: Success.< 0: Failure.
173
- */
174
- abstract unregisterAudioFrameObserver(observer: IAudioFrameObserver): number;
175
- /**
176
- * Unregisters the video frame observer.
177
- *
178
- * @param observer The video observer, reporting the reception of each video frame. See IVideoFrameObserver .
179
- *
180
- * @returns
181
- * 0: Success.< 0: Failure.
182
- */
183
- abstract unregisterVideoFrameObserver(observer: IVideoFrameObserver): number;
184
- /**
185
- * Unregisters a receiver object for the encoded video image.
186
- *
187
- * @param observer The video observer, reporting the reception of each video frame. See IVideoEncodedFrameObserver .
188
- *
189
- * @returns
190
- * 0: Success.< 0: Failure.
191
- */
192
- abstract unregisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
193
- }
1
+ import './extension/IAgoraMediaEngineExtension';
2
+ import { AudioTrackConfig, AudioTrackType, EncodedVideoFrameInfo, SenderOptions } from './AgoraBase';
3
+ import { AudioFrame, ExternalVideoFrame, ExternalVideoSourceType, IAudioFrameObserver, IVideoEncodedFrameObserver, IVideoFrameObserver } from './AgoraMediaBase';
4
+ /**
5
+ * The channel mode.
6
+ */
7
+ export declare enum AudioMixingDualMonoMode {
8
+ /**
9
+ * @ignore
10
+ */
11
+ AudioMixingDualMonoAuto = 0,
12
+ /**
13
+ * 1: Left channel mode. This mode replaces the audio of the right channel with the audio of the left channel, which means the user can only hear the audio of the left channel.
14
+ */
15
+ AudioMixingDualMonoL = 1,
16
+ /**
17
+ * 2: Right channel mode. This mode replaces the audio of the left channel with the audio of the right channel, which means the user can only hear the audio of the right channel.
18
+ */
19
+ AudioMixingDualMonoR = 2,
20
+ /**
21
+ * 3: Mixed channel mode. This mode mixes the audio of the left channel and the right channel, which means the user can hear the audio of the left channel and the right channel at the same time.
22
+ */
23
+ AudioMixingDualMonoMix = 3
24
+ }
25
+ /**
26
+ * The IMediaEngine class.
27
+ */
28
+ export declare abstract class IMediaEngine {
29
+ /**
30
+ * Registers an audio frame observer object.
31
+ * Call this method to register an audio frame observer object (register a callback). When you need the SDK to trigger onMixedAudioFrame , onRecordAudioFrame , onPlaybackAudioFrame or onEarMonitoringAudioFrame callback, you need to use this method to register the callbacks.Ensure that you call this method before joining a channel.
32
+ *
33
+ * @param observer The observer object instance. See IAudioFrameObserver . Agora recommends calling this method after receiving onLeaveChannel to release the audio observer object.
34
+ *
35
+ * @returns
36
+ * 0: Success.< 0: Failure.
37
+ */
38
+ abstract registerAudioFrameObserver(observer: IAudioFrameObserver): number;
39
+ /**
40
+ * Registers a raw video frame observer object.
41
+ * If you want to obtain the original video data of some remote users (referred to as group A) and the encoded video data of other remote users (referred to as group B), you can refer to the following steps:
42
+ * Call registerVideoFrameObserver to register the raw video frame observer before joining the channel.
43
+ * Call registerVideoEncodedFrameObserver to register the encoded video frame observer before joining the channel.
44
+ * After joining the channel, get the user IDs of group B users through onUserJoined , and then call setRemoteVideoSubscriptionOptions to set the encodedFrameOnly of this group of users to true.
45
+ * Call muteAllRemoteVideoStreams (false) to start receiving the video streams of all remote users. Then:
46
+ * The raw video data of group A users can be obtained through the callback in IVideoFrameObserver , and the SDK renders the data by default.
47
+ * The encoded video data of group B users can be obtained through the callback in IVideoEncodedFrameObserver . If you want to observe raw video frames (such as YUV or RGBA format), Agora recommends that you implement one IVideoFrameObserver class with this method.When calling this method to register a video observer, you can register callbacks in the IVideoFrameObserver class as needed. After you successfully register the video frame observer, the SDK triggers the registered callbacks each time a video frame is received.Ensure that you call this method before joining a channel.When handling the video data returned in the callbacks, pay attention to the changes in the width and height parameters, which may be adapted under the following circumstances:When network conditions deteriorate, the video resolution decreases incrementally.If the user adjusts the video profile, the resolution of the video returned in the callbacks also changes.
48
+ *
49
+ * @param observer The observer object instance. See IVideoFrameObserver .
50
+ *
51
+ * @returns
52
+ * 0: Success.< 0: Failure.
53
+ */
54
+ abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number;
55
+ /**
56
+ * Registers a receiver object for the encoded video image.
57
+ * If you only want to observe encoded video frames (such as h.264 format) without decoding and rendering the video, Agora recommends that you implement one IVideoEncodedFrameObserver class through this method.If you want to obtain the original video data of some remote users (referred to as group A) and the encoded video data of other remote users (referred to as group B), you can refer to the following steps:Call registerVideoFrameObserver to register the raw video frame observer before joining the channel.Call registerVideoEncodedFrameObserver to register the encoded video frame observer before joining the channel.After joining the channel, get the user IDs of group B users through onUserJoined , and then call setRemoteVideoSubscriptionOptions to set the encodedFrameOnly of this group of users to true.Call muteAllRemoteVideoStreams (false) to start receiving the video streams of all remote users. Then:The raw video data of group A users can be obtained through the callback in IVideoFrameObserver , and the SDK renders the data by default.The encoded video data of group B users can be obtained through the callback in IVideoEncodedFrameObserver .Call this method before joining a channel.
58
+ *
59
+ * @param observer The video frame observer object. See IVideoEncodedFrameObserver .
60
+ *
61
+ * @returns
62
+ * 0: Success.< 0: Failure.
63
+ */
64
+ abstract registerVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
65
+ /**
66
+ * Pushes the external audio frame.
67
+ *
68
+ * @param type The type of the audio recording device. See MediaSourceType .
69
+ * @param frame The external audio frame. See AudioFrame .
70
+ * @param wrap Whether to use the placeholder. Agora recommends using the default value.true: Use the placeholder.false: (Default) Do not use the placeholder.
71
+ * @param sourceId The ID of external audio source. If you want to publish a custom external audio source, set this parameter to the ID of the corresponding custom audio track you want to publish.
72
+ *
73
+ * @returns
74
+ * 0: Success.< 0: Failure.
75
+ */
76
+ abstract pushAudioFrame(frame: AudioFrame, trackId?: number): number;
77
+ /**
78
+ * Pulls the remote audio data.
79
+ * Before calling this method, you need to call setExternalAudioSink to notify the app to enable and set the external rendering.After a successful method call, the app pulls the decoded and mixed audio data for playback.This method only supports pulling data from custom audio source. If you need to pull the data captured by the SDK, do not call this method.Call this method after joining a channel.Once you enable the external audio sink, the app will not retrieve any audio data from the onPlaybackAudioFrame callback.The difference between this method and the onPlaybackAudioFrame callback is as follows:The SDK sends the audio data to the app through the onPlaybackAudioFrame callback. Any delay in processing the audio frames may result in audio jitter.After a successful method call, the app automatically pulls the audio data from the SDK. After setting the audio data parameters, the SDK adjusts the frame buffer and avoids problems caused by jitter in the external audio playback.
80
+ *
81
+ * @returns
82
+ * The AudioFrame instance, if the method call succeeds.An error code, if the call fails,.
83
+ */
84
+ abstract pullAudioFrame(): AudioFrame;
85
+ /**
86
+ * Configures the external video source.
87
+ * Call this method before joining a channel.
88
+ *
89
+ * @param enabled Whether to use the external video source:true: Use the external video source. The SDK prepares to accept the external video frame.false: (Default) Do not use the external video source.
90
+ * @param useTexture Whether to use the external video frame in the Texture format.true: Use the external video frame in the Texture format.false: (Default) Do not use the external video frame in the Texture format.
91
+ * @param sourceType Whether the external video frame is encoded. See ExternalVideoSourceType .
92
+ * @param encodedVideoOption Video encoding options. This parameter needs to be set if sourceType is EncodedVideoFrame. To set this parameter, contact .
93
+ *
94
+ * @returns
95
+ * 0: Success.< 0: Failure.
96
+ */
97
+ abstract setExternalVideoSource(enabled: boolean, useTexture: boolean, sourceType?: ExternalVideoSourceType, encodedVideoOption?: SenderOptions): number;
98
+ /**
99
+ * Sets the external audio source parameters.
100
+ * Call this method before joining a channel.
101
+ *
102
+ * @param enabled Whether to enable the external audio source:true: Enable the external audio source.false: (Default) Disable the external audio source.
103
+ * @param sampleRate The sample rate (Hz) of the external audio which can be set as 8000, 16000, 32000, 44100, or 48000.
104
+ * @param channels The number of channels of the external audio source, which can be set as 1 (Mono) or 2 (Stereo).
105
+ * @param sourceNumber The number of external audio sources. The value of this parameter should be larger than 0. The SDK creates a corresponding number of custom audio tracks based on this parameter value and names the audio tracks starting from 0. In ChannelMediaOptions , you can set publishCustomAudioSourceId to the audio track ID you want to publish.
106
+ * @param localPlayback Whether to play the external audio source:true: Play the external audio source.false: (Default) Do not play the external source.
107
+ * @param publish Whether to publish audio to the remote users:true: (Default) Publish audio to the remote users.false: Do not publish audio to the remote users.
108
+ *
109
+ * @returns
110
+ * 0: Success.< 0: Failure.
111
+ */
112
+ abstract setExternalAudioSource(enabled: boolean, sampleRate: number, channels: number, localPlayback?: boolean, publish?: boolean): number;
113
+ /**
114
+ * @ignore
115
+ */
116
+ abstract createCustomAudioTrack(trackType: AudioTrackType, config: AudioTrackConfig): number;
117
+ /**
118
+ * @ignore
119
+ */
120
+ abstract destroyCustomAudioTrack(trackId: number): number;
121
+ /**
122
+ * Sets the external audio sink.
123
+ * This method applies to scenarios where you want to use external audio data for playback. After you set the external audio sink, you can call pullAudioFrame to pull remote audio frames. The app can process the remote audio and play it with the audio effects that you want.
124
+ *
125
+ * @param enabled Whether to enable or disable the external audio sink:true: Enables the external audio sink.false: (Default) Disables the external audio sink.
126
+ * @param sampleRate The sample rate (Hz) of the external audio sink, which can be set as 16000, 32000, 44100, or 48000.
127
+ * @param channels The number of audio channels of the external audio sink:1: Mono.2: Stereo.
128
+ *
129
+ * @returns
130
+ * 0: Success.< 0: Failure.
131
+ */
132
+ abstract setExternalAudioSink(enabled: boolean, sampleRate: number, channels: number): number;
133
+ /**
134
+ * @ignore
135
+ */
136
+ abstract enableCustomAudioLocalPlayback(trackId: number, enabled: boolean): number;
137
+ /**
138
+ * Pushes the external raw video frame to the SDK.
139
+ * If you call createCustomVideoTrack method to get the video track ID, set the customVideoTrackId parameter to the video track ID you want to publish in the ChannelMediaOptions of each channel, and set the publishCustomVideoTrack parameter to true, you can call this method to push the unencoded external video frame to the SDK.
140
+ *
141
+ * @param frame The external raw video frame to be pushed. See ExternalVideoFrame .
142
+ * @param videoTrackId The video track ID returned by calling the createCustomVideoTrack method. The default value is 0.
143
+ *
144
+ * @returns
145
+ * 0: Success.< 0: Failure.
146
+ */
147
+ abstract pushVideoFrame(frame: ExternalVideoFrame, videoTrackId?: number): number;
148
+ /**
149
+ * @ignore
150
+ */
151
+ abstract pushEncodedVideoImage(imageBuffer: Uint8Array, length: number, videoEncodedFrameInfo: EncodedVideoFrameInfo, videoTrackId?: number): number;
152
+ /**
153
+ * @ignore
154
+ */
155
+ abstract release(): void;
156
+ /**
157
+ * Unregisters an audio frame observer.
158
+ *
159
+ * @param observer The audio frame observer, reporting the reception of each audio frame. See IAudioFrameObserver .
160
+ *
161
+ * @returns
162
+ * 0: Success.< 0: Failure.
163
+ */
164
+ abstract unregisterAudioFrameObserver(observer: IAudioFrameObserver): number;
165
+ /**
166
+ * Unregisters the video frame observer.
167
+ *
168
+ * @param observer The video observer, reporting the reception of each video frame. See IVideoFrameObserver .
169
+ *
170
+ * @returns
171
+ * 0: Success.< 0: Failure.
172
+ */
173
+ abstract unregisterVideoFrameObserver(observer: IVideoFrameObserver): number;
174
+ /**
175
+ * Unregisters a receiver object for the encoded video image.
176
+ *
177
+ * @param observer The video observer, reporting the reception of each video frame. See IVideoEncodedFrameObserver .
178
+ *
179
+ * @returns
180
+ * 0: Success.< 0: Failure.
181
+ */
182
+ abstract unregisterVideoEncodedFrameObserver(observer: IVideoEncodedFrameObserver): number;
183
+ }
184
+ //# sourceMappingURL=IAgoraMediaEngine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAgoraMediaEngine.d.ts","sourceRoot":"","sources":["../../ts/Private/IAgoraMediaEngine.ts"],"names":[],"mappings":"AAAA,OAAO,wCAAwC,CAAC;AAChD,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,aAAa,EACd,MAAM,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