agora-electron-sdk 4.4.0-dev.1 → 4.4.0

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 (60) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/js/AgoraSdk.js +1 -1
  3. package/js/Private/AgoraBase.js +28 -28
  4. package/js/Private/AgoraMediaBase.js +30 -4
  5. package/js/Private/IAgoraLog.js +4 -0
  6. package/js/Private/IAgoraRhythmPlayer.js +12 -12
  7. package/js/Private/IAgoraRtcEngine.js +64 -64
  8. package/js/Private/impl/IAgoraRtcEngineImpl.js +0 -32
  9. package/js/Private/internal/RtcEngineExInternal.js +9 -3
  10. package/js/Renderer/AgoraView.js +21 -2
  11. package/js/Renderer/IRendererManager.js +15 -2
  12. package/js/Renderer/RendererCache.js +2 -2
  13. package/package.json +9 -5
  14. package/scripts/downloadPrebuild.js +9 -3
  15. package/ts/AgoraSdk.ts +1 -1
  16. package/ts/Private/AgoraBase.ts +35 -31
  17. package/ts/Private/AgoraMediaBase.ts +60 -40
  18. package/ts/Private/IAgoraLog.ts +4 -0
  19. package/ts/Private/IAgoraMediaEngine.ts +8 -19
  20. package/ts/Private/IAgoraMediaPlayer.ts +13 -12
  21. package/ts/Private/IAgoraMusicContentCenter.ts +13 -1
  22. package/ts/Private/IAgoraRhythmPlayer.ts +12 -12
  23. package/ts/Private/IAgoraRtcEngine.ts +296 -262
  24. package/ts/Private/IAgoraRtcEngineEx.ts +35 -34
  25. package/ts/Private/IAudioDeviceManager.ts +4 -4
  26. package/ts/Private/impl/IAgoraRtcEngineImpl.ts +0 -42
  27. package/ts/Private/internal/RtcEngineExInternal.ts +7 -2
  28. package/ts/Renderer/AgoraView.ts +33 -4
  29. package/ts/Renderer/IRendererManager.ts +20 -2
  30. package/ts/Renderer/RendererCache.ts +2 -2
  31. package/ts/Types.ts +1 -1
  32. package/types/AgoraSdk.d.ts +1 -1
  33. package/types/Private/AgoraBase.d.ts +35 -31
  34. package/types/Private/AgoraBase.d.ts.map +1 -1
  35. package/types/Private/AgoraMediaBase.d.ts +59 -40
  36. package/types/Private/AgoraMediaBase.d.ts.map +1 -1
  37. package/types/Private/IAgoraLog.d.ts +5 -1
  38. package/types/Private/IAgoraLog.d.ts.map +1 -1
  39. package/types/Private/IAgoraMediaEngine.d.ts +8 -19
  40. package/types/Private/IAgoraMediaEngine.d.ts.map +1 -1
  41. package/types/Private/IAgoraMediaPlayer.d.ts +13 -12
  42. package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -1
  43. package/types/Private/IAgoraMusicContentCenter.d.ts +13 -1
  44. package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -1
  45. package/types/Private/IAgoraRhythmPlayer.d.ts +12 -12
  46. package/types/Private/IAgoraRtcEngine.d.ts +296 -260
  47. package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
  48. package/types/Private/IAgoraRtcEngineEx.d.ts +35 -34
  49. package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
  50. package/types/Private/IAudioDeviceManager.d.ts +4 -4
  51. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +0 -4
  52. package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
  53. package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -1
  54. package/types/Renderer/AgoraView.d.ts +8 -2
  55. package/types/Renderer/AgoraView.d.ts.map +1 -1
  56. package/types/Renderer/IRendererManager.d.ts.map +1 -1
  57. package/types/Renderer/RendererCache.d.ts +1 -1
  58. package/types/Renderer/RendererCache.d.ts.map +1 -1
  59. package/types/Types.d.ts +1 -1
  60. package/types/Types.d.ts.map +1 -1
@@ -1,53 +1,53 @@
1
1
  import './extension/IAgoraRhythmPlayerExtension';
2
2
 
3
3
  /**
4
- * @ignore
4
+ * Virtual metronome state.
5
5
  */
6
6
  export enum RhythmPlayerStateType {
7
7
  /**
8
- * @ignore
8
+ * (810): The virtual metronome is not enabled or disabled already.
9
9
  */
10
10
  RhythmPlayerStateIdle = 810,
11
11
  /**
12
- * @ignore
12
+ * 811: Opening the beat files.
13
13
  */
14
14
  RhythmPlayerStateOpening = 811,
15
15
  /**
16
- * @ignore
16
+ * 812: Decoding the beat files.
17
17
  */
18
18
  RhythmPlayerStateDecoding = 812,
19
19
  /**
20
- * @ignore
20
+ * 813: The beat files are playing.
21
21
  */
22
22
  RhythmPlayerStatePlaying = 813,
23
23
  /**
24
- * @ignore
24
+ * 814: Failed to start virtual metronome. You can use the reported errorCode to troubleshoot the cause of the error, or you can try to start the virtual metronome again.
25
25
  */
26
26
  RhythmPlayerStateFailed = 814,
27
27
  }
28
28
 
29
29
  /**
30
- * @ignore
30
+ * Virtual Metronome error message.
31
31
  */
32
32
  export enum RhythmPlayerReason {
33
33
  /**
34
- * @ignore
34
+ * (0): The beat files are played normally without errors.
35
35
  */
36
36
  RhythmPlayerReasonOk = 0,
37
37
  /**
38
- * @ignore
38
+ * 1: A general error; no specific reason.
39
39
  */
40
40
  RhythmPlayerReasonFailed = 1,
41
41
  /**
42
- * @ignore
42
+ * 801: There is an error when opening the beat files.
43
43
  */
44
44
  RhythmPlayerReasonCanNotOpen = 801,
45
45
  /**
46
- * @ignore
46
+ * 802: There is an error when playing the beat files.
47
47
  */
48
48
  RhythmPlayerReasonCanNotPlay = 802,
49
49
  /**
50
- * @ignore
50
+ * (803): The duration of the beat file exceeds the limit. The maximum duration is 1.2 seconds.
51
51
  */
52
52
  RhythmPlayerReasonFileOverDurationLimit = 803,
53
53
  }