agora-electron-sdk 4.2.1 → 4.2.2-dev.6
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 +15 -0
- package/js/AgoraSdk.js +3 -1
- package/js/Private/AgoraBase.js +215 -61
- package/js/Private/AgoraMediaBase.js +13 -9
- package/js/Private/IAgoraRtcEngine.js +19 -56
- package/js/Private/IAgoraRtcEngineEx.js +2 -1
- package/js/Private/IAgoraSpatialAudio.js +3 -1
- package/js/Private/impl/IAgoraMediaEngineImpl.js +12 -6
- package/js/Private/impl/IAgoraMusicContentCenterImpl.js +55 -16
- package/js/Private/impl/IAgoraRtcEngineImpl.js +105 -14
- package/js/Private/internal/MusicContentCenterInternal.js +3 -0
- package/js/Private/internal/RtcEngineExInternal.js +26 -6
- package/js/Private/ti/AgoraMediaBase-ti.js +13 -13
- package/js/Private/ti/IAgoraMusicContentCenter-ti.js +3 -2
- package/js/Private/ti/IAgoraRtcEngine-ti.js +2 -2
- package/js/Renderer/WebGLRenderer/index.js +19 -19
- package/js/Renderer/YUVCanvasRenderer/index.js +1 -1
- package/package.json +3 -3
- package/scripts/zipBuild.js +3 -1
- package/ts/AgoraSdk.ts +3 -1
- package/ts/Private/AgoraBase.ts +473 -185
- package/ts/Private/AgoraMediaBase.ts +104 -71
- package/ts/Private/AgoraMediaPlayerTypes.ts +10 -7
- package/ts/Private/IAgoraLog.ts +7 -3
- package/ts/Private/IAgoraMediaEngine.ts +88 -43
- package/ts/Private/IAgoraMediaPlayer.ts +173 -80
- package/ts/Private/IAgoraMediaPlayerSource.ts +17 -8
- package/ts/Private/IAgoraMusicContentCenter.ts +25 -4
- package/ts/Private/IAgoraRtcEngine.ts +1846 -854
- package/ts/Private/IAgoraRtcEngineEx.ts +311 -152
- package/ts/Private/IAgoraSpatialAudio.ts +97 -39
- package/ts/Private/IAudioDeviceManager.ts +75 -31
- package/ts/Private/impl/IAgoraMediaEngineImpl.ts +12 -6
- package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +72 -21
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +134 -15
- package/ts/Private/internal/MusicContentCenterInternal.ts +4 -0
- package/ts/Private/internal/RtcEngineExInternal.ts +43 -13
- package/ts/Private/ti/AgoraMediaBase-ti.ts +13 -13
- package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +3 -2
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +2 -2
- package/ts/Renderer/WebGLRenderer/index.ts +26 -21
- package/ts/Renderer/YUVCanvasRenderer/index.ts +1 -1
- package/types/AgoraSdk.d.ts +3 -1
- package/types/AgoraSdk.d.ts.map +1 -1
- package/types/Private/AgoraBase.d.ts +467 -185
- package/types/Private/AgoraBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaBase.d.ts +104 -68
- package/types/Private/AgoraMediaBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaPlayerTypes.d.ts +10 -7
- package/types/Private/AgoraMediaPlayerTypes.d.ts.map +1 -1
- package/types/Private/IAgoraLog.d.ts +7 -3
- package/types/Private/IAgoraLog.d.ts.map +1 -1
- package/types/Private/IAgoraMediaEngine.d.ts +88 -43
- package/types/Private/IAgoraMediaEngine.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayer.d.ts +173 -80
- package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayerSource.d.ts +17 -8
- package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -1
- package/types/Private/IAgoraMusicContentCenter.d.ts +17 -5
- package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngine.d.ts +1832 -851
- package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngineEx.d.ts +311 -152
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
- package/types/Private/IAgoraSpatialAudio.d.ts +97 -39
- package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -1
- package/types/Private/IAudioDeviceManager.d.ts +75 -31
- package/types/Private/IAudioDeviceManager.d.ts.map +1 -1
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts +2 -2
- package/types/Private/impl/IAgoraMediaEngineImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts +9 -5
- package/types/Private/impl/IAgoraMusicContentCenterImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +16 -4
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts +1 -0
- 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/IAgoraMusicContentCenter-ti.d.ts.map +1 -1
- package/types/Renderer/WebGLRenderer/index.d.ts +1 -1
- package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [4.2.2-dev.6](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.1...v4.2.2-dev.6) (2023-07-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* CSD-57577 ex callback issue ([#1032](https://github.com/AgoraIO-Extensions/Electron-SDK/issues/1032)) ([82b53ac](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/82b53ac89ee8d4c18ce2fe3608d176d1b4140103))
|
|
9
|
+
* CSD-57615 render mode not working on software renderer ([1097ebc](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/1097ebcdf21cb6f5c66821174e8f46ec470976db))
|
|
10
|
+
* CSD-57699 removeEventListener `webglcontextlost` while unbind ([2a280c8](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/2a280c87242fe3abecb61bc23ffb0996029d6fec))
|
|
11
|
+
* CSD-58183 getScreenCaptureSources memory leak ([0bc9ee6](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/0bc9ee6700a52979fa2c1d72cb3b738d5786f8a8))
|
|
12
|
+
* getApiTypeFromPreload ([d79444d](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/d79444d169abaa08b5361cad382fa8e03e7fdf5b))
|
|
13
|
+
* getApiTypeFromPreloadChannelWithUserAccount ([426f1d8](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/426f1d8073647321b7290b5495c7cacc65ae77a7))
|
|
14
|
+
* jira NMS-13855 ([04baa1e](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/04baa1edf4acc900a7c2e0e9798b613c367ed9e5))
|
|
15
|
+
* NMS-14097 app css issue ([8e1a2cc](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/8e1a2cccf93ff5a908f437dfc8e8c582051968d7))
|
|
16
|
+
* some error ([4e74203](https://github.com/AgoraIO-Extensions/Electron-SDK/commit/4e7420350c516e7b940c9e7a9ca3b9571c587239))
|
|
17
|
+
|
|
3
18
|
## [4.2.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.0...v4.2.1) (2023-06-30)
|
|
4
19
|
|
|
5
20
|
|
package/js/AgoraSdk.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./Utils"), exports);
|
|
|
37
37
|
var instance = new RtcEngineExInternal_1.RtcEngineExInternal();
|
|
38
38
|
/**
|
|
39
39
|
* Creates one IRtcEngineEx object.
|
|
40
|
+
*
|
|
40
41
|
* Currently, the Agora RTC SDK v4.x supports creating only one IRtcEngineEx object for each app.
|
|
41
42
|
*
|
|
42
43
|
* @returns
|
|
@@ -49,7 +50,8 @@ function createAgoraRtcEngine(options) {
|
|
|
49
50
|
exports.createAgoraRtcEngine = createAgoraRtcEngine;
|
|
50
51
|
/**
|
|
51
52
|
* Gets one IMediaPlayerCacheManager instance.
|
|
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.
|
|
53
55
|
*
|
|
54
56
|
* @returns
|
|
55
57
|
* The IMediaPlayerCacheManager instance.
|