agora-electron-sdk 4.2.6 → 4.2.7-build.1-rc.1
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.
- package/CHANGELOG.md +194 -7
- package/gulpfile.js +14 -5
- package/js/AgoraSdk.js +2 -12
- package/js/Private/AgoraBase.js +711 -626
- package/js/Private/AgoraMediaBase.js +159 -92
- package/js/Private/AgoraMediaPlayerTypes.js +58 -58
- package/js/Private/IAgoraH265Transcoder.js +39 -0
- package/js/Private/IAgoraLog.js +13 -13
- package/js/Private/IAgoraMediaEngine.js +4 -4
- package/js/Private/IAgoraMediaPlayer.js +2 -2
- package/js/Private/IAgoraMediaStreamingSource.js +32 -32
- package/js/Private/IAgoraMusicContentCenter.js +20 -2
- package/js/Private/IAgoraRhythmPlayer.js +7 -7
- package/js/Private/IAgoraRtcEngine.js +164 -165
- package/js/Private/IAgoraRtcEngineEx.js +3 -3
- package/js/Private/IAgoraSpatialAudio.js +5 -5
- package/js/Private/IAudioDeviceManager.js +2 -2
- package/js/Private/impl/AgoraMediaBaseImpl.js +35 -1
- package/js/Private/impl/IAgoraH265TranscoderImpl.js +119 -0
- package/js/Private/impl/IAgoraMediaEngineImpl.js +14 -0
- package/js/Private/impl/IAgoraMediaPlayerImpl.js +44 -26
- package/js/Private/impl/IAgoraMusicContentCenterImpl.js +32 -2
- package/js/Private/impl/IAgoraRtcEngineExImpl.js +117 -0
- package/js/Private/impl/IAgoraRtcEngineImpl.js +191 -57
- package/js/Private/internal/AgoraMediaBaseInternal.js +34 -0
- package/js/Private/internal/IrisApiEngine.js +5 -0
- package/js/Private/internal/MediaEngineInternal.js +0 -1
- package/js/Private/internal/MusicContentCenterInternal.js +3 -0
- package/js/Private/internal/RtcEngineExInternal.js +27 -9
- package/js/Private/ti/AgoraMediaBase-ti.js +5 -1
- package/js/Private/ti/IAgoraH265Transcoder-ti.js +40 -0
- package/js/Private/ti/IAgoraRtcEngine-ti.js +4 -3
- package/js/Renderer/IRenderer.js +5 -1
- package/js/Renderer/RendererManager.js +36 -20
- package/js/Renderer/WebGLRenderer/index.js +47 -14
- package/js/Renderer/YUVCanvasRenderer/index.js +8 -4
- package/package.json +17 -6
- package/scripts/buildJS.js +3 -3
- package/scripts/checkElectron.js +41 -0
- package/scripts/clean.js +6 -23
- package/scripts/downloadPrebuild.js +88 -3
- package/scripts/synclib.js +40 -14
- package/scripts/util.js +29 -0
- package/ts/AgoraSdk.ts +2 -12
- package/ts/Private/AgoraBase.ts +1068 -975
- package/ts/Private/AgoraMediaBase.ts +369 -252
- package/ts/Private/AgoraMediaPlayerTypes.ts +92 -88
- package/ts/Private/IAgoraH265Transcoder.ts +73 -0
- package/ts/Private/IAgoraLog.ts +21 -18
- package/ts/Private/IAgoraMediaEngine.ts +95 -90
- package/ts/Private/IAgoraMediaPlayer.ts +236 -189
- package/ts/Private/IAgoraMediaPlayerSource.ts +34 -33
- package/ts/Private/IAgoraMediaStreamingSource.ts +38 -37
- package/ts/Private/IAgoraMusicContentCenter.ts +31 -3
- package/ts/Private/IAgoraRhythmPlayer.ts +10 -9
- package/ts/Private/IAgoraRtcEngine.ts +2347 -2282
- package/ts/Private/IAgoraRtcEngineEx.ts +451 -347
- package/ts/Private/IAgoraSpatialAudio.ts +104 -107
- package/ts/Private/IAudioDeviceManager.ts +123 -92
- package/ts/Private/impl/AgoraMediaBaseImpl.ts +39 -0
- package/ts/Private/impl/IAgoraH265TranscoderImpl.ts +152 -0
- package/ts/Private/impl/IAgoraMediaEngineImpl.ts +19 -0
- package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +62 -33
- package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +39 -2
- package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +192 -0
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +258 -87
- package/ts/Private/impl/IAudioDeviceManagerImpl.ts +1 -1
- package/ts/Private/internal/AgoraMediaBaseInternal.ts +15 -0
- package/ts/Private/internal/AudioDeviceManagerInternal.ts +1 -1
- package/ts/Private/internal/IrisApiEngine.ts +5 -0
- package/ts/Private/internal/MediaEngineInternal.ts +0 -1
- package/ts/Private/internal/MusicContentCenterInternal.ts +5 -0
- package/ts/Private/internal/RtcEngineExInternal.ts +28 -8
- package/ts/Private/ti/AgoraMediaBase-ti.ts +5 -0
- package/ts/Private/ti/IAgoraH265Transcoder-ti.ts +16 -0
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +4 -3
- package/ts/Renderer/IRenderer.ts +11 -1
- package/ts/Renderer/RendererManager.ts +50 -26
- package/ts/Renderer/WebGLRenderer/index.ts +79 -15
- package/ts/Renderer/YUVCanvasRenderer/index.ts +8 -8
- package/ts/Types.ts +22 -1
- package/types/AgoraSdk.d.ts +2 -12
- package/types/AgoraSdk.d.ts.map +1 -1
- package/types/Private/AgoraBase.d.ts +1072 -980
- package/types/Private/AgoraBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaBase.d.ts +366 -254
- package/types/Private/AgoraMediaBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaPlayerTypes.d.ts +91 -88
- package/types/Private/AgoraMediaPlayerTypes.d.ts.map +1 -1
- package/types/Private/IAgoraH265Transcoder.d.ts +28 -0
- package/types/Private/IAgoraH265Transcoder.d.ts.map +1 -0
- package/types/Private/IAgoraLog.d.ts +20 -18
- package/types/Private/IAgoraLog.d.ts.map +1 -1
- package/types/Private/IAgoraMediaEngine.d.ts +94 -91
- package/types/Private/IAgoraMediaEngine.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayer.d.ts +231 -188
- package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayerSource.d.ts +34 -33
- package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -1
- package/types/Private/IAgoraMediaStreamingSource.d.ts.map +1 -1
- package/types/Private/IAgoraMusicContentCenter.d.ts +28 -3
- package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -1
- package/types/Private/IAgoraRhythmPlayer.d.ts +9 -9
- package/types/Private/IAgoraRhythmPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngine.d.ts +2331 -2282
- package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngineEx.d.ts +421 -347
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
- package/types/Private/IAgoraSpatialAudio.d.ts +104 -107
- package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -1
- package/types/Private/IAudioDeviceManager.d.ts +123 -92
- package/types/Private/IAudioDeviceManager.d.ts.map +1 -1
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts +6 -1
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts +15 -0
- package/types/Private/impl/IAgoraH265TranscoderImpl.d.ts.map +1 -0
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts +3 -1
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts +6 -4
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts +5 -1
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +12 -2
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +25 -7
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
- package/types/Private/impl/IAudioDeviceManagerImpl.d.ts +1 -1
- package/types/Private/impl/IAudioDeviceManagerImpl.d.ts.map +1 -1
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts +8 -0
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
- package/types/Private/internal/AudioDeviceManagerInternal.d.ts +1 -1
- package/types/Private/internal/AudioDeviceManagerInternal.d.ts.map +1 -1
- package/types/Private/internal/IrisApiEngine.d.ts.map +1 -1
- package/types/Private/internal/MediaEngineInternal.d.ts.map +1 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts +2 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts.map +1 -1
- package/types/Private/internal/RtcEngineExInternal.d.ts +1 -0
- package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -1
- package/types/Private/ti/AgoraMediaBase-ti.d.ts +1 -0
- package/types/Private/ti/AgoraMediaBase-ti.d.ts.map +1 -1
- package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts +8 -0
- package/types/Private/ti/IAgoraH265Transcoder-ti.d.ts.map +1 -0
- package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -1
- package/types/Renderer/IRenderer.d.ts +2 -1
- package/types/Renderer/IRenderer.d.ts.map +1 -1
- package/types/Renderer/RendererManager.d.ts +3 -5
- package/types/Renderer/RendererManager.d.ts.map +1 -1
- package/types/Renderer/WebGLRenderer/index.d.ts +3 -1
- package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -1
- package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -1
- package/types/Types.d.ts +21 -1
- package/types/Types.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,213 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
## [4.2.
|
|
3
|
+
## [4.2.7-build.1-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.143-dev.1...v4.2.7-build.1-rc.1) (2026-09-10)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
### Bug Fixes
|
|
7
7
|
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
* **ci:** allow Electron Windows packages in CodeSign ([#1464](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1464)) ([3b05479](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/3b054797a9f6c03e4440ca291ebae67be7b8a058))
|
|
9
|
+
|
|
10
|
+
## [4.2.7-build.143-dev.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.140-rc.1...v4.2.7-build.143-dev.1) (2026-09-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* normalize preview version for Terra ([#1458](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1458)) ([#1463](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1463)) ([fd29e39](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/fd29e3945f4329a3e7695edb8c56690fc2d3ad4f))
|
|
16
|
+
|
|
17
|
+
## [4.2.7-build.140-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.138-rc.2...v4.2.7-build.140-rc.1) (2026-05-15)
|
|
18
|
+
|
|
19
|
+
## [4.2.7-build.138-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.138-rc.1...v4.2.7-build.138-rc.2) (2026-04-10)
|
|
20
|
+
|
|
21
|
+
## [4.2.7-build.138-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.135-rc.1...v4.2.7-build.138-rc.1) (2026-04-08)
|
|
22
|
+
|
|
23
|
+
## [4.2.7-build.135-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.129-rc.2...v4.2.7-build.135-rc.1) (2026-03-17)
|
|
24
|
+
|
|
25
|
+
## [4.2.7-build.129-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.129-rc.1...v4.2.7-build.129-rc.2) (2026-03-02)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* alpha crash in electron 24 ([#1395](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1395)) ([0f22429](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/0f224299346b1176fbb83b7e901442bbbf7af67f))
|
|
31
|
+
|
|
32
|
+
## [4.2.7-build.129-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.168-rc.1...v4.2.7-build.129-rc.1) (2026-02-09)
|
|
33
|
+
|
|
34
|
+
## [4.2.6-build.168-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.127-rc.2...v4.2.6-build.168-rc.1) (2026-01-19)
|
|
35
|
+
|
|
36
|
+
## [4.2.7-build.127-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.7-build.127-rc.1...v4.2.7-build.127-rc.2) (2025-11-05)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* alpha can not change at any time ([#1341](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1341)) ([5f3d2a1](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/5f3d2a12c2102e66928b12078d85027d1d1f0d4b))
|
|
42
|
+
|
|
43
|
+
## [4.2.7-build.127-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.205-rc.3...v4.2.7-build.127-rc.1) (2025-10-31)
|
|
44
|
+
|
|
45
|
+
## [4.2.6-build.205-rc.3](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.205-rc.2...v4.2.6-build.205-rc.3) (2025-09-22)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* alpha issues in 4.2 ([#1332](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1332)) ([ae24266](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/ae2426699221bb46c24a24a13133211fe4231f7b))
|
|
51
|
+
|
|
52
|
+
## [4.2.6-build.205-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.205-rc.1...v4.2.6-build.205-rc.2) (2025-09-03)
|
|
11
53
|
|
|
12
54
|
|
|
13
55
|
### Features
|
|
14
56
|
|
|
15
|
-
*
|
|
57
|
+
* alpha in 4.2 ([#1326](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1326)) ([03da17e](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/03da17e2eb5bee0ba4c562cf0cab4d0070b34623))
|
|
58
|
+
|
|
59
|
+
## [4.2.6-build.205-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.204-rc.1...v4.2.6-build.205-rc.1) (2025-08-19)
|
|
60
|
+
|
|
61
|
+
## [4.2.6-build.204-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.203-rc.2...v4.2.6-build.204-rc.1) (2025-08-08)
|
|
62
|
+
|
|
63
|
+
## [4.2.6-build.203-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.159-rc.2...v4.2.6-build.203-rc.2) (2025-07-31)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Features
|
|
67
|
+
|
|
68
|
+
* support 4.2.6.203 ([#1315](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1315)) ([23c2fbf](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/23c2fbffc41ef35880116ab971ed62024e3ce08a)), closes [#1314](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1314)
|
|
69
|
+
|
|
70
|
+
## [4.2.6-build.203-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.159-rc.2...v4.2.6-build.203-rc.1) (2025-07-29)
|
|
71
|
+
|
|
72
|
+
## [4.2.6-build.159-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.157-rc.1...v4.2.6-build.159-rc.2) (2025-04-15)
|
|
73
|
+
|
|
74
|
+
## [4.2.6-build.157-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.159-rc.1...v4.2.6-build.157-rc.1) (2025-04-14)
|
|
75
|
+
|
|
76
|
+
## [4.2.6-build.159-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.152-rc.1...v4.2.6-build.159-rc.1) (2025-04-10)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Features
|
|
80
|
+
|
|
81
|
+
* support 4.2.6.159 ([#1282](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1282)) ([4d90aa1](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/4d90aa1df96adfbf8782e922a9e29f6ad7763e7f)), closes [#1281](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1281)
|
|
82
|
+
|
|
83
|
+
## [4.2.6-build.152-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.155-rc.1...v4.2.6-build.152-rc.1) (2025-02-21)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* support 4.2.6.152 ([#1267](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1267)) ([81ec1de](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/81ec1de3a86fa6ee0c6f04890b811947a73cad86)), closes [#1266](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1266)
|
|
89
|
+
|
|
90
|
+
## [4.2.6-build.155-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.154-rc.1...v4.2.6-build.155-rc.1) (2025-01-21)
|
|
91
|
+
|
|
92
|
+
## [4.2.6-build.154-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.153-rc.1...v4.2.6-build.154-rc.1) (2025-01-15)
|
|
93
|
+
|
|
94
|
+
## [4.2.6-build.153-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.20-rc.1...v4.2.6-build.153-rc.1) (2025-01-06)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Features
|
|
98
|
+
|
|
99
|
+
* support 4.2.6.153 ([#1255](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1255)) ([149cf1f](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/149cf1fcc8d697fcc1832975b9e029bf0e529c09)), closes [#1254](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1254)
|
|
100
|
+
|
|
101
|
+
## [4.2.6-build.20-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.128-rc.2...v4.2.6-build.20-rc.1) (2024-12-18)
|
|
102
|
+
|
|
103
|
+
## [4.2.6-build.128-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.19-rc.1...v4.2.6-build.128-rc.2) (2024-10-22)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Features
|
|
107
|
+
|
|
108
|
+
* support 4.2.6.128 ([#1237](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1237)) ([90b8461](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/90b84612226fd7451da73ecd7afc3f90dcebc99b))
|
|
109
|
+
|
|
110
|
+
## [4.2.6-build.128-dev.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.19-rc.1...v4.2.6-build.128-dev.1) (2024-10-21)
|
|
111
|
+
|
|
112
|
+
## [4.2.6-build.19-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.127-rc.1...v4.2.6-build.19-rc.1) (2024-10-17)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
* support 4.2.6.19 ([#1234](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1234)) ([83b070b](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/83b070b7a91708137bfdada8182800f0b4d50380)), closes [#1233](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1233)
|
|
118
|
+
|
|
119
|
+
## [4.2.6-build.127-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.126-rc.1...v4.2.6-build.127-rc.1) (2024-09-04)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* support 4.2.6.127 ([#1223](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1223)) ([30962c1](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/30962c1d6941d3e439f8cae57d9486b1f7ed0c7a))
|
|
125
|
+
|
|
126
|
+
## [4.2.6-build.126-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.11-rc.1...v4.2.6-build.126-rc.1) (2024-08-26)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### Features
|
|
130
|
+
|
|
131
|
+
* download electron special build ([5b6e022](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/5b6e022a7d11dde6b8eadcdc1bf5253401a323a3))
|
|
132
|
+
* support 4.2.6.126 ([#1221](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1221)) ([f800339](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/f800339a29ef14d38e543d8544de7e27a01c9393))
|
|
133
|
+
* support 4.2.6.14 ([#1207](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1207)) ([c6da39e](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/c6da39ee30e3b179696964c15630904540b7c479)), closes [#1208](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1208)
|
|
134
|
+
* support 4.2.6.140, use standalone iris ([#1199](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1199)) ([0df25b6](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/0df25b6a77478eab911faee7fe2023da8a48faef))
|
|
135
|
+
* support 4.2.6.16 ([#1216](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1216)) ([ad7f606](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/ad7f606e70ef020684954989114ffa6df9ef28d8)), closes [#1215](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1215)
|
|
136
|
+
|
|
137
|
+
## [4.2.6-build.16-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.11-rc.1...v4.2.6-build.16-rc.1) (2024-08-15)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Features
|
|
141
|
+
|
|
142
|
+
* download electron special build ([5b6e022](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/5b6e022a7d11dde6b8eadcdc1bf5253401a323a3))
|
|
143
|
+
* support 4.2.6.14 ([#1207](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1207)) ([c6da39e](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/c6da39ee30e3b179696964c15630904540b7c479)), closes [#1208](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1208)
|
|
144
|
+
* support 4.2.6.140, use standalone iris ([#1199](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1199)) ([0df25b6](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/0df25b6a77478eab911faee7fe2023da8a48faef))
|
|
145
|
+
|
|
146
|
+
## [4.2.6-build.14-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.11-rc.1...v4.2.6-build.14-rc.1) (2024-07-01)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Features
|
|
150
|
+
|
|
151
|
+
* support 4.2.6.140, use standalone iris ([#1199](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1199)) ([0df25b6](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/0df25b6a77478eab911faee7fe2023da8a48faef))
|
|
152
|
+
* support AgoraALD ([60a216b](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/60a216bc49026f0cb7240c50267cd29ec948cc84))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
### Reverts
|
|
156
|
+
|
|
157
|
+
* Revert "chore: optimize" ([ec68585](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/ec68585c0198bb93b42643d68f08d59ec6816951))
|
|
158
|
+
|
|
159
|
+
## [4.2.6-build.140-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.11-rc.1...v4.2.6-build.140-rc.1) (2024-06-18)
|
|
160
|
+
|
|
161
|
+
## [4.2.6-build.11-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.9-rc.1...v4.2.6-build.11-rc.1) (2024-05-31)
|
|
162
|
+
|
|
163
|
+
## [4.2.6-build.9-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.8-rc.1...v4.2.6-build.9-rc.1) (2024-04-08)
|
|
164
|
+
|
|
165
|
+
## [4.2.6-build.8-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.7-rc.1...v4.2.6-build.8-rc.1) (2024-03-28)
|
|
166
|
+
|
|
167
|
+
## [4.2.6-build.7-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.6-dev.1...v4.2.6-build.7-rc.1) (2024-03-08)
|
|
168
|
+
|
|
169
|
+
## [4.2.6-build.6-dev.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.5-rc.1...v4.2.6-build.6-dev.1) (2024-02-23)
|
|
170
|
+
|
|
171
|
+
## [4.2.6-build.5-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.3-rc.1...v4.2.6-build.5-rc.1) (2024-01-26)
|
|
172
|
+
|
|
173
|
+
## [4.2.6-build.5-dev.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.3-rc.1...v4.2.6-build.5-dev.1) (2024-01-25)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### Bug Fixes
|
|
177
|
+
|
|
178
|
+
* set preserveDrawingBuffer true to fix canvas.toDataURL can not work ([7452bb0](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/7452bb0b3a08040266f0d90c9f0e5ecfc475f751))
|
|
179
|
+
|
|
180
|
+
## [4.2.6-dev.5-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.3-rc.1...v4.2.6-dev.5-rc.1) (2024-01-25)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
* set preserveDrawingBuffer true to fix canvas.toDataURL can not work ([7452bb0](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/7452bb0b3a08040266f0d90c9f0e5ecfc475f751))
|
|
186
|
+
|
|
187
|
+
## [4.2.6-build.3-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.121-rc.2...v4.2.6-build.3-rc.1) (2023-12-29)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
### Features
|
|
191
|
+
|
|
192
|
+
* adapt nativeSDK to 4.2.6.3 ([#1148](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1148)) ([4e125d4](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/4e125d453728eba1dc8a5742b2936d663b56a9c3)), closes [#1147](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1147)
|
|
193
|
+
|
|
194
|
+
## [4.2.6-build.121-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.121-rc.1...v4.2.6-build.121-rc.2) (2023-12-18)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
### Bug Fixes
|
|
198
|
+
|
|
199
|
+
* fix close hardware acceleration will cause black screen issue ([994a834](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/994a834df1b953b7c99b33418ada390a9a2eaa6d))
|
|
200
|
+
|
|
201
|
+
## [4.2.6-build.121-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.1-rc.1...v4.2.6-build.121-rc.1) (2023-12-15)
|
|
202
|
+
|
|
203
|
+
## [4.2.6-build.1-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.6-build.1-dev.1...v4.2.6-build.1-rc.1) (2023-11-24)
|
|
16
204
|
|
|
17
|
-
## [4.2.6-
|
|
205
|
+
## [4.2.6-build.1-dev.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.4...v4.2.6-build.1-dev.1) (2023-11-16)
|
|
18
206
|
|
|
19
207
|
|
|
20
208
|
### Bug Fixes
|
|
21
209
|
|
|
22
210
|
* jira CSD-60920 render issue after ([#1110](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1110)) ([5730d86](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/5730d86d136539d79f50b1e92ba9ec5049196488))
|
|
23
|
-
* jira CSD-61288 CSD-60920 renderer issue ([341491d](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/341491dfac72e1614df5ad32f0b40198d6a046dd))
|
|
24
211
|
* use `setTimeout` intead of `setInterval` ([#1097](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1097)) ([9df0579](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/9df057989846e5e7e5fb4a00c6a1208f5728b9d8))
|
|
25
212
|
|
|
26
213
|
|
package/gulpfile.js
CHANGED
|
@@ -2,7 +2,14 @@ const gulp = require('gulp');
|
|
|
2
2
|
|
|
3
3
|
const build = require('./scripts/build');
|
|
4
4
|
const buildJS = require('./scripts/buildJS');
|
|
5
|
-
const
|
|
5
|
+
const checkElectron = require('./scripts/checkElectron');
|
|
6
|
+
const {
|
|
7
|
+
buildDir,
|
|
8
|
+
jsDir,
|
|
9
|
+
cleanDir,
|
|
10
|
+
destIrisSDKDir,
|
|
11
|
+
destNativeSDKDir,
|
|
12
|
+
} = require('./scripts/clean');
|
|
6
13
|
const downloadPrebuild = require('./scripts/downloadPrebuild');
|
|
7
14
|
const getConfig = require('./scripts/getConfig');
|
|
8
15
|
const logger = require('./scripts/logger');
|
|
@@ -13,13 +20,14 @@ const config = getConfig();
|
|
|
13
20
|
logger.info(`Get Config: \n${JSON.stringify(config, undefined, 4)}`);
|
|
14
21
|
|
|
15
22
|
const clean = async (cb) => {
|
|
16
|
-
await
|
|
17
|
-
await
|
|
18
|
-
await
|
|
23
|
+
await cleanDir(destIrisSDKDir);
|
|
24
|
+
await cleanDir(destNativeSDKDir);
|
|
25
|
+
await cleanDir(buildDir);
|
|
26
|
+
await cleanDir(jsDir);
|
|
19
27
|
cb();
|
|
20
28
|
};
|
|
21
29
|
|
|
22
|
-
const totalBuild = gulp.series(clean, syncLib, build, buildJS);
|
|
30
|
+
const totalBuild = gulp.series(clean, syncLib, checkElectron, build, buildJS);
|
|
23
31
|
|
|
24
32
|
const wrapDownloadPreBuild = async (cb) => {
|
|
25
33
|
await downloadPrebuild(cb);
|
|
@@ -36,6 +44,7 @@ exports.clean = clean;
|
|
|
36
44
|
exports.build = build;
|
|
37
45
|
exports.buildJS = buildJS;
|
|
38
46
|
exports.zipBuild = zipBuild;
|
|
47
|
+
exports.checkElectron = checkElectron;
|
|
39
48
|
exports.totalBuild = totalBuild;
|
|
40
49
|
exports.NPM_Install = NPM_Install;
|
|
41
50
|
|
package/js/AgoraSdk.js
CHANGED
|
@@ -36,12 +36,7 @@ __exportStar(require("./Types"), exports);
|
|
|
36
36
|
__exportStar(require("./Utils"), exports);
|
|
37
37
|
var instance = new RtcEngineExInternal_1.RtcEngineExInternal();
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* Currently, the Agora RTC SDK v4.x supports creating only one IRtcEngineEx object for each app.
|
|
42
|
-
*
|
|
43
|
-
* @returns
|
|
44
|
-
* One IRtcEngineEx object.
|
|
39
|
+
* @ignore
|
|
45
40
|
*/
|
|
46
41
|
function createAgoraRtcEngine(options) {
|
|
47
42
|
Object.assign(Utils_1.AgoraEnv, options);
|
|
@@ -49,12 +44,7 @@ function createAgoraRtcEngine(options) {
|
|
|
49
44
|
}
|
|
50
45
|
exports.createAgoraRtcEngine = createAgoraRtcEngine;
|
|
51
46
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* When you successfully call this method, the SDK returns a media player cache manager instance. The cache manager is a singleton pattern. Therefore, multiple calls to this method returns the same instance. Make sure the IRtcEngine is initialized before you call this method.
|
|
55
|
-
*
|
|
56
|
-
* @returns
|
|
57
|
-
* The IMediaPlayerCacheManager instance.
|
|
47
|
+
* @ignore
|
|
58
48
|
*/
|
|
59
49
|
function getMediaPlayerCacheManager() {
|
|
60
50
|
return new IAgoraMediaPlayerImpl_1.IMediaPlayerCacheManagerImpl();
|