agora-electron-sdk 4.2.6 → 4.3.0-dev.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 +20 -0
- package/js/Private/AgoraBase.js +139 -174
- package/js/Private/AgoraMediaBase.js +49 -20
- package/js/Private/AgoraMediaPlayerTypes.js +32 -23
- package/js/Private/IAgoraH265Transcoder.js +39 -0
- package/js/Private/IAgoraMediaStreamingSource.js +32 -32
- package/js/Private/IAgoraMusicContentCenter.js +19 -19
- package/js/Private/IAgoraRhythmPlayer.js +9 -9
- package/js/Private/IAgoraRtcEngine.js +12 -12
- package/js/Private/IAgoraSpatialAudio.js +3 -31
- package/js/Private/extension/IAgoraH265TranscoderExtension.js +2 -0
- package/js/Private/impl/AgoraMediaBaseImpl.js +26 -2
- package/js/Private/impl/IAgoraH265TranscoderImpl.js +119 -0
- package/js/Private/impl/IAgoraMediaEngineImpl.js +13 -13
- package/js/Private/impl/IAgoraMediaPlayerImpl.js +92 -74
- package/js/Private/impl/IAgoraMediaPlayerSourceImpl.js +12 -2
- package/js/Private/impl/IAgoraMediaRecorderImpl.js +2 -2
- package/js/Private/impl/IAgoraMusicContentCenterImpl.js +20 -20
- package/js/Private/impl/IAgoraRtcEngineExImpl.js +66 -84
- package/js/Private/impl/IAgoraRtcEngineImpl.js +456 -440
- package/js/Private/impl/IAgoraSpatialAudioImpl.js +157 -181
- package/js/Private/impl/IAudioDeviceManagerImpl.js +22 -22
- package/js/Private/internal/AgoraH265TranscoderInternal.js +86 -0
- package/js/Private/internal/AgoraMediaBaseInternal.js +34 -0
- package/js/Private/internal/IrisApiEngine.js +35 -20
- package/js/Private/internal/LocalSpatialAudioEngineInternal.js +0 -39
- package/js/Private/internal/MediaPlayerInternal.js +22 -21
- package/js/Private/internal/MusicContentCenterInternal.js +1 -4
- package/js/Private/internal/RtcEngineExInternal.js +101 -134
- package/js/Private/ti/AgoraMediaBase-ti.js +1 -1
- package/js/Private/ti/IAgoraH265Transcoder-ti.js +40 -0
- package/js/Private/ti/IAgoraMediaPlayerSource-ti.js +4 -2
- package/js/Private/ti/IAgoraMusicContentCenter-ti.js +5 -5
- package/js/Private/ti/IAgoraRtcEngine-ti.js +12 -11
- package/js/Renderer/AgoraView.js +28 -14
- package/js/Renderer/IRenderer.js +65 -17
- package/js/Renderer/IRendererManager.js +230 -0
- package/js/Renderer/RendererCache.js +170 -0
- package/js/Renderer/RendererManager.js +49 -460
- package/js/Renderer/WebGLRenderer/index.js +82 -234
- package/js/Renderer/YUVCanvasRenderer/index.js +27 -147
- package/js/Types.js +6 -6
- package/js/Utils.js +37 -88
- package/package.json +4 -3
- package/scripts/clean.js +12 -0
- package/scripts/synclib.js +8 -2
- package/ts/Private/AgoraBase.ts +225 -201
- package/ts/Private/AgoraMediaBase.ts +63 -25
- package/ts/Private/AgoraMediaPlayerTypes.ts +67 -24
- package/ts/Private/IAgoraH265Transcoder.ts +73 -0
- package/ts/Private/IAgoraLog.ts +1 -0
- package/ts/Private/IAgoraMediaEngine.ts +12 -7
- package/ts/Private/IAgoraMediaPlayer.ts +47 -21
- package/ts/Private/IAgoraMediaPlayerSource.ts +27 -6
- package/ts/Private/IAgoraMediaStreamingSource.ts +38 -37
- package/ts/Private/IAgoraMusicContentCenter.ts +20 -20
- package/ts/Private/IAgoraRhythmPlayer.ts +7 -6
- package/ts/Private/IAgoraRtcEngine.ts +407 -364
- package/ts/Private/IAgoraRtcEngineEx.ts +25 -61
- package/ts/Private/IAgoraSpatialAudio.ts +80 -191
- package/ts/Private/IAudioDeviceManager.ts +27 -14
- package/ts/Private/extension/IAgoraH265TranscoderExtension.ts +39 -0
- package/ts/Private/impl/AgoraMediaBaseImpl.ts +25 -1
- package/ts/Private/impl/IAgoraH265TranscoderImpl.ts +152 -0
- package/ts/Private/impl/IAgoraMediaEngineImpl.ts +13 -13
- package/ts/Private/impl/IAgoraMediaPlayerImpl.ts +110 -81
- package/ts/Private/impl/IAgoraMediaPlayerSourceImpl.ts +17 -2
- package/ts/Private/impl/IAgoraMediaRecorderImpl.ts +2 -2
- package/ts/Private/impl/IAgoraMusicContentCenterImpl.ts +21 -21
- package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +71 -106
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +589 -572
- package/ts/Private/impl/IAgoraSpatialAudioImpl.ts +211 -218
- package/ts/Private/impl/IAudioDeviceManagerImpl.ts +22 -22
- package/ts/Private/internal/AgoraH265TranscoderInternal.ts +97 -0
- package/ts/Private/internal/AgoraMediaBaseInternal.ts +15 -0
- package/ts/Private/internal/IrisApiEngine.ts +42 -27
- package/ts/Private/internal/LocalSpatialAudioEngineInternal.ts +1 -86
- package/ts/Private/internal/MediaPlayerInternal.ts +20 -29
- package/ts/Private/internal/MusicContentCenterInternal.ts +1 -5
- package/ts/Private/internal/RtcEngineExInternal.ts +91 -204
- package/ts/Private/ti/AgoraMediaBase-ti.ts +1 -1
- package/ts/Private/ti/IAgoraH265Transcoder-ti.ts +16 -0
- package/ts/Private/ti/IAgoraMediaPlayerSource-ti.ts +4 -2
- package/ts/Private/ti/IAgoraMusicContentCenter-ti.ts +5 -5
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +12 -11
- package/ts/Renderer/AgoraView.ts +29 -19
- package/ts/Renderer/IRenderer.ts +71 -22
- package/ts/Renderer/IRendererManager.ts +273 -19
- package/ts/Renderer/RendererCache.ts +167 -0
- package/ts/Renderer/RendererManager.ts +62 -607
- package/ts/Renderer/WebGLRenderer/index.ts +117 -295
- package/ts/Renderer/YUVCanvasRenderer/index.ts +45 -198
- package/ts/Types.ts +17 -194
- package/ts/Utils.ts +36 -100
- package/types/Private/AgoraBase.d.ts +219 -200
- package/types/Private/AgoraBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaBase.d.ts +63 -27
- package/types/Private/AgoraMediaBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaPlayerTypes.d.ts +65 -24
- 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.map +1 -1
- package/types/Private/IAgoraMediaEngine.d.ts +11 -6
- package/types/Private/IAgoraMediaEngine.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayer.d.ts +42 -20
- package/types/Private/IAgoraMediaPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraMediaPlayerSource.d.ts +23 -6
- package/types/Private/IAgoraMediaPlayerSource.d.ts.map +1 -1
- package/types/Private/IAgoraMediaStreamingSource.d.ts.map +1 -1
- package/types/Private/IAgoraMusicContentCenter.d.ts +19 -19
- package/types/Private/IAgoraMusicContentCenter.d.ts.map +1 -1
- package/types/Private/IAgoraRhythmPlayer.d.ts +6 -6
- package/types/Private/IAgoraRhythmPlayer.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngine.d.ts +329 -293
- package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngineEx.d.ts +21 -53
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
- package/types/Private/IAgoraSpatialAudio.d.ts +56 -167
- package/types/Private/IAgoraSpatialAudio.d.ts.map +1 -1
- package/types/Private/IAudioDeviceManager.d.ts +27 -14
- package/types/Private/IAudioDeviceManager.d.ts.map +1 -1
- package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts +24 -0
- package/types/Private/extension/IAgoraH265TranscoderExtension.d.ts.map +1 -0
- package/types/Private/impl/AgoraMediaBaseImpl.d.ts +5 -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/IAgoraMediaPlayerImpl.d.ts +6 -4
- package/types/Private/impl/IAgoraMediaPlayerImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraMediaPlayerSourceImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +2 -4
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +30 -25
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts +20 -22
- package/types/Private/impl/IAgoraSpatialAudioImpl.d.ts.map +1 -1
- package/types/Private/internal/AgoraH265TranscoderInternal.d.ts +14 -0
- package/types/Private/internal/AgoraH265TranscoderInternal.d.ts.map +1 -0
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts +8 -0
- package/types/Private/internal/AgoraMediaBaseInternal.d.ts.map +1 -0
- package/types/Private/internal/IrisApiEngine.d.ts +5 -2
- package/types/Private/internal/IrisApiEngine.d.ts.map +1 -1
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts +0 -15
- package/types/Private/internal/LocalSpatialAudioEngineInternal.d.ts.map +1 -1
- package/types/Private/internal/MediaPlayerInternal.d.ts.map +1 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts +0 -1
- package/types/Private/internal/MusicContentCenterInternal.d.ts.map +1 -1
- package/types/Private/internal/RtcEngineExInternal.d.ts +7 -13
- package/types/Private/internal/RtcEngineExInternal.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/IAgoraMediaPlayerSource-ti.d.ts.map +1 -1
- package/types/Private/ti/IAgoraRtcEngine-ti.d.ts.map +1 -1
- package/types/Renderer/AgoraView.d.ts +4 -4
- package/types/Renderer/AgoraView.d.ts.map +1 -1
- package/types/Renderer/IRenderer.d.ts +11 -9
- package/types/Renderer/IRenderer.d.ts.map +1 -1
- package/types/Renderer/IRendererManager.d.ts +50 -12
- package/types/Renderer/IRendererManager.d.ts.map +1 -1
- package/types/Renderer/RendererCache.d.ts +36 -0
- package/types/Renderer/RendererCache.d.ts.map +1 -0
- package/types/Renderer/RendererManager.d.ts +13 -139
- package/types/Renderer/RendererManager.d.ts.map +1 -1
- package/types/Renderer/WebGLRenderer/index.d.ts +3 -18
- package/types/Renderer/WebGLRenderer/index.d.ts.map +1 -1
- package/types/Renderer/YUVCanvasRenderer/index.d.ts +4 -10
- package/types/Renderer/YUVCanvasRenderer/index.d.ts.map +1 -1
- package/types/Types.d.ts +11 -187
- package/types/Types.d.ts.map +1 -1
- package/types/Utils.d.ts +3 -20
- package/types/Utils.d.ts.map +1 -1
|
@@ -44,7 +44,7 @@ var MusicChartCollectionImpl = /** @class */ (function () {
|
|
|
44
44
|
return jsonResults.result;
|
|
45
45
|
};
|
|
46
46
|
MusicChartCollectionImpl.prototype.getApiTypeFromGet = function (index) {
|
|
47
|
-
return '
|
|
47
|
+
return 'MusicChartCollection_get_46f8ab7';
|
|
48
48
|
};
|
|
49
49
|
return MusicChartCollectionImpl;
|
|
50
50
|
}());
|
|
@@ -103,7 +103,7 @@ var MusicCollectionImpl = /** @class */ (function () {
|
|
|
103
103
|
return jsonResults.result;
|
|
104
104
|
};
|
|
105
105
|
MusicCollectionImpl.prototype.getApiTypeFromGetMusic = function (index) {
|
|
106
|
-
return '
|
|
106
|
+
return 'MusicCollection_getMusic_8fcdcef';
|
|
107
107
|
};
|
|
108
108
|
return MusicCollectionImpl;
|
|
109
109
|
}());
|
|
@@ -112,27 +112,27 @@ function processIMusicContentCenterEventHandler(handler, event, jsonParams) {
|
|
|
112
112
|
switch (event) {
|
|
113
113
|
case 'onMusicChartsResult':
|
|
114
114
|
if (handler.onMusicChartsResult !== undefined) {
|
|
115
|
-
handler.onMusicChartsResult(jsonParams.requestId, jsonParams.result, jsonParams.
|
|
115
|
+
handler.onMusicChartsResult(jsonParams.requestId, jsonParams.result, jsonParams.reason);
|
|
116
116
|
}
|
|
117
117
|
break;
|
|
118
118
|
case 'onMusicCollectionResult':
|
|
119
119
|
if (handler.onMusicCollectionResult !== undefined) {
|
|
120
|
-
handler.onMusicCollectionResult(jsonParams.requestId, jsonParams.result, jsonParams.
|
|
120
|
+
handler.onMusicCollectionResult(jsonParams.requestId, jsonParams.result, jsonParams.reason);
|
|
121
121
|
}
|
|
122
122
|
break;
|
|
123
123
|
case 'onLyricResult':
|
|
124
124
|
if (handler.onLyricResult !== undefined) {
|
|
125
|
-
handler.onLyricResult(jsonParams.requestId, jsonParams.songCode, jsonParams.lyricUrl, jsonParams.
|
|
125
|
+
handler.onLyricResult(jsonParams.requestId, jsonParams.songCode, jsonParams.lyricUrl, jsonParams.reason);
|
|
126
126
|
}
|
|
127
127
|
break;
|
|
128
128
|
case 'onSongSimpleInfoResult':
|
|
129
129
|
if (handler.onSongSimpleInfoResult !== undefined) {
|
|
130
|
-
handler.onSongSimpleInfoResult(jsonParams.requestId, jsonParams.songCode, jsonParams.simpleInfo, jsonParams.
|
|
130
|
+
handler.onSongSimpleInfoResult(jsonParams.requestId, jsonParams.songCode, jsonParams.simpleInfo, jsonParams.reason);
|
|
131
131
|
}
|
|
132
132
|
break;
|
|
133
133
|
case 'onPreLoadEvent':
|
|
134
134
|
if (handler.onPreLoadEvent !== undefined) {
|
|
135
|
-
handler.onPreLoadEvent(jsonParams.requestId, jsonParams.songCode, jsonParams.percent, jsonParams.lyricUrl, jsonParams.
|
|
135
|
+
handler.onPreLoadEvent(jsonParams.requestId, jsonParams.songCode, jsonParams.percent, jsonParams.lyricUrl, jsonParams.state, jsonParams.reason);
|
|
136
136
|
}
|
|
137
137
|
break;
|
|
138
138
|
}
|
|
@@ -185,7 +185,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
185
185
|
return jsonResults.result;
|
|
186
186
|
};
|
|
187
187
|
IMusicContentCenterImpl.prototype.getApiTypeFromInitialize = function (configuration) {
|
|
188
|
-
return '
|
|
188
|
+
return 'MusicContentCenter_initialize_df70304';
|
|
189
189
|
};
|
|
190
190
|
IMusicContentCenterImpl.prototype.renewToken = function (token) {
|
|
191
191
|
var apiType = this.getApiTypeFromRenewToken(token);
|
|
@@ -201,7 +201,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
201
201
|
return jsonResults.result;
|
|
202
202
|
};
|
|
203
203
|
IMusicContentCenterImpl.prototype.getApiTypeFromRenewToken = function (token) {
|
|
204
|
-
return '
|
|
204
|
+
return 'MusicContentCenter_renewToken_3a2037f';
|
|
205
205
|
};
|
|
206
206
|
IMusicContentCenterImpl.prototype.release = function () {
|
|
207
207
|
var apiType = this.getApiTypeFromRelease();
|
|
@@ -223,7 +223,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
223
223
|
return jsonResults.result;
|
|
224
224
|
};
|
|
225
225
|
IMusicContentCenterImpl.prototype.getApiTypeFromRegisterEventHandler = function (eventHandler) {
|
|
226
|
-
return '
|
|
226
|
+
return 'MusicContentCenter_registerEventHandler_ae49451';
|
|
227
227
|
};
|
|
228
228
|
IMusicContentCenterImpl.prototype.unregisterEventHandler = function () {
|
|
229
229
|
var apiType = this.getApiTypeFromUnregisterEventHandler();
|
|
@@ -251,7 +251,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
251
251
|
return requestId;
|
|
252
252
|
};
|
|
253
253
|
IMusicContentCenterImpl.prototype.getApiTypeFromGetMusicCharts = function () {
|
|
254
|
-
return '
|
|
254
|
+
return 'MusicContentCenter_getMusicCharts_66d4ecd';
|
|
255
255
|
};
|
|
256
256
|
IMusicContentCenterImpl.prototype.getMusicCollectionByMusicChartId = function (musicChartId, page, pageSize, jsonOption) {
|
|
257
257
|
var apiType = this.getApiTypeFromGetMusicCollectionByMusicChartId(musicChartId, page, pageSize, jsonOption);
|
|
@@ -274,7 +274,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
274
274
|
return requestId;
|
|
275
275
|
};
|
|
276
276
|
IMusicContentCenterImpl.prototype.getApiTypeFromGetMusicCollectionByMusicChartId = function (musicChartId, page, pageSize, jsonOption) {
|
|
277
|
-
return '
|
|
277
|
+
return 'MusicContentCenter_getMusicCollectionByMusicChartId_8cd0b4d';
|
|
278
278
|
};
|
|
279
279
|
IMusicContentCenterImpl.prototype.searchMusic = function (keyWord, page, pageSize, jsonOption) {
|
|
280
280
|
var apiType = this.getApiTypeFromSearchMusic(keyWord, page, pageSize, jsonOption);
|
|
@@ -297,7 +297,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
297
297
|
return requestId;
|
|
298
298
|
};
|
|
299
299
|
IMusicContentCenterImpl.prototype.getApiTypeFromSearchMusic = function (keyWord, page, pageSize, jsonOption) {
|
|
300
|
-
return '
|
|
300
|
+
return 'MusicContentCenter_searchMusic_3f8cf09';
|
|
301
301
|
};
|
|
302
302
|
IMusicContentCenterImpl.prototype.preload = function (songCode) {
|
|
303
303
|
var apiType = this.getApiTypeFromPreload(songCode);
|
|
@@ -314,7 +314,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
314
314
|
return requestId;
|
|
315
315
|
};
|
|
316
316
|
IMusicContentCenterImpl.prototype.getApiTypeFromPreload = function (songCode) {
|
|
317
|
-
return '
|
|
317
|
+
return 'MusicContentCenter_preload_d3baeab';
|
|
318
318
|
};
|
|
319
319
|
IMusicContentCenterImpl.prototype.removeCache = function (songCode) {
|
|
320
320
|
var apiType = this.getApiTypeFromRemoveCache(songCode);
|
|
@@ -330,7 +330,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
330
330
|
return jsonResults.result;
|
|
331
331
|
};
|
|
332
332
|
IMusicContentCenterImpl.prototype.getApiTypeFromRemoveCache = function (songCode) {
|
|
333
|
-
return '
|
|
333
|
+
return 'MusicContentCenter_removeCache_f631116';
|
|
334
334
|
};
|
|
335
335
|
IMusicContentCenterImpl.prototype.getCaches = function () {
|
|
336
336
|
var apiType = this.getApiTypeFromGetCaches();
|
|
@@ -344,7 +344,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
344
344
|
};
|
|
345
345
|
};
|
|
346
346
|
IMusicContentCenterImpl.prototype.getApiTypeFromGetCaches = function () {
|
|
347
|
-
return '
|
|
347
|
+
return 'MusicContentCenter_getCaches_c4f9978';
|
|
348
348
|
};
|
|
349
349
|
IMusicContentCenterImpl.prototype.isPreloaded = function (songCode) {
|
|
350
350
|
var apiType = this.getApiTypeFromIsPreloaded(songCode);
|
|
@@ -360,7 +360,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
360
360
|
return jsonResults.result;
|
|
361
361
|
};
|
|
362
362
|
IMusicContentCenterImpl.prototype.getApiTypeFromIsPreloaded = function (songCode) {
|
|
363
|
-
return '
|
|
363
|
+
return 'MusicContentCenter_isPreloaded_f631116';
|
|
364
364
|
};
|
|
365
365
|
IMusicContentCenterImpl.prototype.getLyric = function (songCode, lyricType) {
|
|
366
366
|
if (lyricType === void 0) { lyricType = 0; }
|
|
@@ -381,7 +381,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
381
381
|
};
|
|
382
382
|
IMusicContentCenterImpl.prototype.getApiTypeFromGetLyric = function (songCode, lyricType) {
|
|
383
383
|
if (lyricType === void 0) { lyricType = 0; }
|
|
384
|
-
return '
|
|
384
|
+
return 'MusicContentCenter_getLyric_5ab5efd';
|
|
385
385
|
};
|
|
386
386
|
IMusicContentCenterImpl.prototype.getSongSimpleInfo = function (songCode) {
|
|
387
387
|
var apiType = this.getApiTypeFromGetSongSimpleInfo(songCode);
|
|
@@ -398,7 +398,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
398
398
|
return requestId;
|
|
399
399
|
};
|
|
400
400
|
IMusicContentCenterImpl.prototype.getApiTypeFromGetSongSimpleInfo = function (songCode) {
|
|
401
|
-
return '
|
|
401
|
+
return 'MusicContentCenter_getSongSimpleInfo_d3baeab';
|
|
402
402
|
};
|
|
403
403
|
IMusicContentCenterImpl.prototype.getInternalSongCode = function (songCode, jsonOption) {
|
|
404
404
|
var apiType = this.getApiTypeFromGetInternalSongCode(songCode, jsonOption);
|
|
@@ -417,7 +417,7 @@ var IMusicContentCenterImpl = /** @class */ (function () {
|
|
|
417
417
|
return internalSongCode;
|
|
418
418
|
};
|
|
419
419
|
IMusicContentCenterImpl.prototype.getApiTypeFromGetInternalSongCode = function (songCode, jsonOption) {
|
|
420
|
-
return '
|
|
420
|
+
return 'MusicContentCenter_getInternalSongCode_3a3d1e7';
|
|
421
421
|
};
|
|
422
422
|
return IMusicContentCenterImpl;
|
|
423
423
|
}());
|
|
@@ -41,7 +41,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
41
41
|
return jsonResults.result;
|
|
42
42
|
};
|
|
43
43
|
IRtcEngineExImpl.prototype.getApiTypeFromJoinChannelEx = function (token, connection, options) {
|
|
44
|
-
return '
|
|
44
|
+
return 'RtcEngineEx_joinChannelEx_a3cd08c';
|
|
45
45
|
};
|
|
46
46
|
IRtcEngineExImpl.prototype.leaveChannelEx = function (connection, options) {
|
|
47
47
|
var apiType = this.getApiTypeFromLeaveChannelEx(connection, options);
|
|
@@ -59,7 +59,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
59
59
|
return jsonResults.result;
|
|
60
60
|
};
|
|
61
61
|
IRtcEngineExImpl.prototype.getApiTypeFromLeaveChannelEx = function (connection, options) {
|
|
62
|
-
return '
|
|
62
|
+
return 'RtcEngineEx_leaveChannelEx_b03ee9a';
|
|
63
63
|
};
|
|
64
64
|
IRtcEngineExImpl.prototype.updateChannelMediaOptionsEx = function (options, connection) {
|
|
65
65
|
var apiType = this.getApiTypeFromUpdateChannelMediaOptionsEx(options, connection);
|
|
@@ -77,7 +77,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
77
77
|
return jsonResults.result;
|
|
78
78
|
};
|
|
79
79
|
IRtcEngineExImpl.prototype.getApiTypeFromUpdateChannelMediaOptionsEx = function (options, connection) {
|
|
80
|
-
return '
|
|
80
|
+
return 'RtcEngineEx_updateChannelMediaOptionsEx_457bb35';
|
|
81
81
|
};
|
|
82
82
|
IRtcEngineExImpl.prototype.setVideoEncoderConfigurationEx = function (config, connection) {
|
|
83
83
|
var apiType = this.getApiTypeFromSetVideoEncoderConfigurationEx(config, connection);
|
|
@@ -95,7 +95,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
95
95
|
return jsonResults.result;
|
|
96
96
|
};
|
|
97
97
|
IRtcEngineExImpl.prototype.getApiTypeFromSetVideoEncoderConfigurationEx = function (config, connection) {
|
|
98
|
-
return '
|
|
98
|
+
return 'RtcEngineEx_setVideoEncoderConfigurationEx_4670c1e';
|
|
99
99
|
};
|
|
100
100
|
IRtcEngineExImpl.prototype.setupRemoteVideoEx = function (canvas, connection) {
|
|
101
101
|
var apiType = this.getApiTypeFromSetupRemoteVideoEx(canvas, connection);
|
|
@@ -113,7 +113,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
113
113
|
return jsonResults.result;
|
|
114
114
|
};
|
|
115
115
|
IRtcEngineExImpl.prototype.getApiTypeFromSetupRemoteVideoEx = function (canvas, connection) {
|
|
116
|
-
return '
|
|
116
|
+
return 'RtcEngineEx_setupRemoteVideoEx_522a409';
|
|
117
117
|
};
|
|
118
118
|
IRtcEngineExImpl.prototype.muteRemoteAudioStreamEx = function (uid, mute, connection) {
|
|
119
119
|
var apiType = this.getApiTypeFromMuteRemoteAudioStreamEx(uid, mute, connection);
|
|
@@ -133,7 +133,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
133
133
|
return jsonResults.result;
|
|
134
134
|
};
|
|
135
135
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteRemoteAudioStreamEx = function (uid, mute, connection) {
|
|
136
|
-
return '
|
|
136
|
+
return 'RtcEngineEx_muteRemoteAudioStreamEx_6d93082';
|
|
137
137
|
};
|
|
138
138
|
IRtcEngineExImpl.prototype.muteRemoteVideoStreamEx = function (uid, mute, connection) {
|
|
139
139
|
var apiType = this.getApiTypeFromMuteRemoteVideoStreamEx(uid, mute, connection);
|
|
@@ -153,7 +153,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
153
153
|
return jsonResults.result;
|
|
154
154
|
};
|
|
155
155
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteRemoteVideoStreamEx = function (uid, mute, connection) {
|
|
156
|
-
return '
|
|
156
|
+
return 'RtcEngineEx_muteRemoteVideoStreamEx_6d93082';
|
|
157
157
|
};
|
|
158
158
|
IRtcEngineExImpl.prototype.setRemoteVideoStreamTypeEx = function (uid, streamType, connection) {
|
|
159
159
|
var apiType = this.getApiTypeFromSetRemoteVideoStreamTypeEx(uid, streamType, connection);
|
|
@@ -173,7 +173,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
173
173
|
return jsonResults.result;
|
|
174
174
|
};
|
|
175
175
|
IRtcEngineExImpl.prototype.getApiTypeFromSetRemoteVideoStreamTypeEx = function (uid, streamType, connection) {
|
|
176
|
-
return '
|
|
176
|
+
return 'RtcEngineEx_setRemoteVideoStreamTypeEx_01dc428';
|
|
177
177
|
};
|
|
178
178
|
IRtcEngineExImpl.prototype.muteLocalAudioStreamEx = function (mute, connection) {
|
|
179
179
|
var apiType = this.getApiTypeFromMuteLocalAudioStreamEx(mute, connection);
|
|
@@ -191,7 +191,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
191
191
|
return jsonResults.result;
|
|
192
192
|
};
|
|
193
193
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteLocalAudioStreamEx = function (mute, connection) {
|
|
194
|
-
return '
|
|
194
|
+
return 'RtcEngineEx_muteLocalAudioStreamEx_3cf17a4';
|
|
195
195
|
};
|
|
196
196
|
IRtcEngineExImpl.prototype.muteLocalVideoStreamEx = function (mute, connection) {
|
|
197
197
|
var apiType = this.getApiTypeFromMuteLocalVideoStreamEx(mute, connection);
|
|
@@ -209,7 +209,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
209
209
|
return jsonResults.result;
|
|
210
210
|
};
|
|
211
211
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteLocalVideoStreamEx = function (mute, connection) {
|
|
212
|
-
return '
|
|
212
|
+
return 'RtcEngineEx_muteLocalVideoStreamEx_3cf17a4';
|
|
213
213
|
};
|
|
214
214
|
IRtcEngineExImpl.prototype.muteAllRemoteAudioStreamsEx = function (mute, connection) {
|
|
215
215
|
var apiType = this.getApiTypeFromMuteAllRemoteAudioStreamsEx(mute, connection);
|
|
@@ -227,7 +227,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
227
227
|
return jsonResults.result;
|
|
228
228
|
};
|
|
229
229
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteAllRemoteAudioStreamsEx = function (mute, connection) {
|
|
230
|
-
return '
|
|
230
|
+
return 'RtcEngineEx_muteAllRemoteAudioStreamsEx_3cf17a4';
|
|
231
231
|
};
|
|
232
232
|
IRtcEngineExImpl.prototype.muteAllRemoteVideoStreamsEx = function (mute, connection) {
|
|
233
233
|
var apiType = this.getApiTypeFromMuteAllRemoteVideoStreamsEx(mute, connection);
|
|
@@ -245,7 +245,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
245
245
|
return jsonResults.result;
|
|
246
246
|
};
|
|
247
247
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteAllRemoteVideoStreamsEx = function (mute, connection) {
|
|
248
|
-
return '
|
|
248
|
+
return 'RtcEngineEx_muteAllRemoteVideoStreamsEx_3cf17a4';
|
|
249
249
|
};
|
|
250
250
|
IRtcEngineExImpl.prototype.setSubscribeAudioBlocklistEx = function (uidList, uidNumber, connection) {
|
|
251
251
|
var apiType = this.getApiTypeFromSetSubscribeAudioBlocklistEx(uidList, uidNumber, connection);
|
|
@@ -265,7 +265,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
265
265
|
return jsonResults.result;
|
|
266
266
|
};
|
|
267
267
|
IRtcEngineExImpl.prototype.getApiTypeFromSetSubscribeAudioBlocklistEx = function (uidList, uidNumber, connection) {
|
|
268
|
-
return '
|
|
268
|
+
return 'RtcEngineEx_setSubscribeAudioBlocklistEx_9f1e85c';
|
|
269
269
|
};
|
|
270
270
|
IRtcEngineExImpl.prototype.setSubscribeAudioAllowlistEx = function (uidList, uidNumber, connection) {
|
|
271
271
|
var apiType = this.getApiTypeFromSetSubscribeAudioAllowlistEx(uidList, uidNumber, connection);
|
|
@@ -285,7 +285,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
285
285
|
return jsonResults.result;
|
|
286
286
|
};
|
|
287
287
|
IRtcEngineExImpl.prototype.getApiTypeFromSetSubscribeAudioAllowlistEx = function (uidList, uidNumber, connection) {
|
|
288
|
-
return '
|
|
288
|
+
return 'RtcEngineEx_setSubscribeAudioAllowlistEx_9f1e85c';
|
|
289
289
|
};
|
|
290
290
|
IRtcEngineExImpl.prototype.setSubscribeVideoBlocklistEx = function (uidList, uidNumber, connection) {
|
|
291
291
|
var apiType = this.getApiTypeFromSetSubscribeVideoBlocklistEx(uidList, uidNumber, connection);
|
|
@@ -305,7 +305,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
305
305
|
return jsonResults.result;
|
|
306
306
|
};
|
|
307
307
|
IRtcEngineExImpl.prototype.getApiTypeFromSetSubscribeVideoBlocklistEx = function (uidList, uidNumber, connection) {
|
|
308
|
-
return '
|
|
308
|
+
return 'RtcEngineEx_setSubscribeVideoBlocklistEx_9f1e85c';
|
|
309
309
|
};
|
|
310
310
|
IRtcEngineExImpl.prototype.setSubscribeVideoAllowlistEx = function (uidList, uidNumber, connection) {
|
|
311
311
|
var apiType = this.getApiTypeFromSetSubscribeVideoAllowlistEx(uidList, uidNumber, connection);
|
|
@@ -325,7 +325,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
325
325
|
return jsonResults.result;
|
|
326
326
|
};
|
|
327
327
|
IRtcEngineExImpl.prototype.getApiTypeFromSetSubscribeVideoAllowlistEx = function (uidList, uidNumber, connection) {
|
|
328
|
-
return '
|
|
328
|
+
return 'RtcEngineEx_setSubscribeVideoAllowlistEx_9f1e85c';
|
|
329
329
|
};
|
|
330
330
|
IRtcEngineExImpl.prototype.setRemoteVideoSubscriptionOptionsEx = function (uid, options, connection) {
|
|
331
331
|
var apiType = this.getApiTypeFromSetRemoteVideoSubscriptionOptionsEx(uid, options, connection);
|
|
@@ -345,7 +345,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
345
345
|
return jsonResults.result;
|
|
346
346
|
};
|
|
347
347
|
IRtcEngineExImpl.prototype.getApiTypeFromSetRemoteVideoSubscriptionOptionsEx = function (uid, options, connection) {
|
|
348
|
-
return '
|
|
348
|
+
return 'RtcEngineEx_setRemoteVideoSubscriptionOptionsEx_3cd36bc';
|
|
349
349
|
};
|
|
350
350
|
IRtcEngineExImpl.prototype.setRemoteVoicePositionEx = function (uid, pan, gain, connection) {
|
|
351
351
|
var apiType = this.getApiTypeFromSetRemoteVoicePositionEx(uid, pan, gain, connection);
|
|
@@ -367,7 +367,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
367
367
|
return jsonResults.result;
|
|
368
368
|
};
|
|
369
369
|
IRtcEngineExImpl.prototype.getApiTypeFromSetRemoteVoicePositionEx = function (uid, pan, gain, connection) {
|
|
370
|
-
return '
|
|
370
|
+
return 'RtcEngineEx_setRemoteVoicePositionEx_fc0471c';
|
|
371
371
|
};
|
|
372
372
|
IRtcEngineExImpl.prototype.setRemoteUserSpatialAudioParamsEx = function (uid, params, connection) {
|
|
373
373
|
var apiType = this.getApiTypeFromSetRemoteUserSpatialAudioParamsEx(uid, params, connection);
|
|
@@ -387,7 +387,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
387
387
|
return jsonResults.result;
|
|
388
388
|
};
|
|
389
389
|
IRtcEngineExImpl.prototype.getApiTypeFromSetRemoteUserSpatialAudioParamsEx = function (uid, params, connection) {
|
|
390
|
-
return '
|
|
390
|
+
return 'RtcEngineEx_setRemoteUserSpatialAudioParamsEx_40ca9fb';
|
|
391
391
|
};
|
|
392
392
|
IRtcEngineExImpl.prototype.setRemoteRenderModeEx = function (uid, renderMode, mirrorMode, connection) {
|
|
393
393
|
var apiType = this.getApiTypeFromSetRemoteRenderModeEx(uid, renderMode, mirrorMode, connection);
|
|
@@ -409,7 +409,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
409
409
|
return jsonResults.result;
|
|
410
410
|
};
|
|
411
411
|
IRtcEngineExImpl.prototype.getApiTypeFromSetRemoteRenderModeEx = function (uid, renderMode, mirrorMode, connection) {
|
|
412
|
-
return '
|
|
412
|
+
return 'RtcEngineEx_setRemoteRenderModeEx_a72fe4e';
|
|
413
413
|
};
|
|
414
414
|
IRtcEngineExImpl.prototype.enableLoopbackRecordingEx = function (connection, enabled, deviceName) {
|
|
415
415
|
var apiType = this.getApiTypeFromEnableLoopbackRecordingEx(connection, enabled, deviceName);
|
|
@@ -429,7 +429,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
429
429
|
return jsonResults.result;
|
|
430
430
|
};
|
|
431
431
|
IRtcEngineExImpl.prototype.getApiTypeFromEnableLoopbackRecordingEx = function (connection, enabled, deviceName) {
|
|
432
|
-
return '
|
|
432
|
+
return 'RtcEngineEx_enableLoopbackRecordingEx_4f41542';
|
|
433
433
|
};
|
|
434
434
|
IRtcEngineExImpl.prototype.adjustRecordingSignalVolumeEx = function (volume, connection) {
|
|
435
435
|
var apiType = this.getApiTypeFromAdjustRecordingSignalVolumeEx(volume, connection);
|
|
@@ -447,7 +447,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
447
447
|
return jsonResults.result;
|
|
448
448
|
};
|
|
449
449
|
IRtcEngineExImpl.prototype.getApiTypeFromAdjustRecordingSignalVolumeEx = function (volume, connection) {
|
|
450
|
-
return '
|
|
450
|
+
return 'RtcEngineEx_adjustRecordingSignalVolumeEx_e84d10e';
|
|
451
451
|
};
|
|
452
452
|
IRtcEngineExImpl.prototype.muteRecordingSignalEx = function (mute, connection) {
|
|
453
453
|
var apiType = this.getApiTypeFromMuteRecordingSignalEx(mute, connection);
|
|
@@ -465,7 +465,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
465
465
|
return jsonResults.result;
|
|
466
466
|
};
|
|
467
467
|
IRtcEngineExImpl.prototype.getApiTypeFromMuteRecordingSignalEx = function (mute, connection) {
|
|
468
|
-
return '
|
|
468
|
+
return 'RtcEngineEx_muteRecordingSignalEx_3cf17a4';
|
|
469
469
|
};
|
|
470
470
|
IRtcEngineExImpl.prototype.adjustUserPlaybackSignalVolumeEx = function (uid, volume, connection) {
|
|
471
471
|
var apiType = this.getApiTypeFromAdjustUserPlaybackSignalVolumeEx(uid, volume, connection);
|
|
@@ -485,7 +485,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
485
485
|
return jsonResults.result;
|
|
486
486
|
};
|
|
487
487
|
IRtcEngineExImpl.prototype.getApiTypeFromAdjustUserPlaybackSignalVolumeEx = function (uid, volume, connection) {
|
|
488
|
-
return '
|
|
488
|
+
return 'RtcEngineEx_adjustUserPlaybackSignalVolumeEx_adbd29c';
|
|
489
489
|
};
|
|
490
490
|
IRtcEngineExImpl.prototype.getConnectionStateEx = function (connection) {
|
|
491
491
|
var apiType = this.getApiTypeFromGetConnectionStateEx(connection);
|
|
@@ -501,7 +501,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
501
501
|
return jsonResults.result;
|
|
502
502
|
};
|
|
503
503
|
IRtcEngineExImpl.prototype.getApiTypeFromGetConnectionStateEx = function (connection) {
|
|
504
|
-
return '
|
|
504
|
+
return 'RtcEngineEx_getConnectionStateEx_c81e1a4';
|
|
505
505
|
};
|
|
506
506
|
IRtcEngineExImpl.prototype.enableEncryptionEx = function (connection, enabled, config) {
|
|
507
507
|
var apiType = this.getApiTypeFromEnableEncryptionEx(connection, enabled, config);
|
|
@@ -521,7 +521,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
521
521
|
return jsonResults.result;
|
|
522
522
|
};
|
|
523
523
|
IRtcEngineExImpl.prototype.getApiTypeFromEnableEncryptionEx = function (connection, enabled, config) {
|
|
524
|
-
return '
|
|
524
|
+
return 'RtcEngineEx_enableEncryptionEx_10cd872';
|
|
525
525
|
};
|
|
526
526
|
IRtcEngineExImpl.prototype.createDataStreamEx = function (config, connection) {
|
|
527
527
|
var apiType = this.getApiTypeFromCreateDataStreamEx(config, connection);
|
|
@@ -540,7 +540,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
540
540
|
return streamId;
|
|
541
541
|
};
|
|
542
542
|
IRtcEngineExImpl.prototype.getApiTypeFromCreateDataStreamEx = function (config, connection) {
|
|
543
|
-
return '
|
|
543
|
+
return 'RtcEngineEx_createDataStreamEx_9f641b6';
|
|
544
544
|
};
|
|
545
545
|
IRtcEngineExImpl.prototype.sendStreamMessageEx = function (streamId, data, length, connection) {
|
|
546
546
|
var apiType = this.getApiTypeFromSendStreamMessageEx(streamId, data, length, connection);
|
|
@@ -561,7 +561,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
561
561
|
return jsonResults.result;
|
|
562
562
|
};
|
|
563
563
|
IRtcEngineExImpl.prototype.getApiTypeFromSendStreamMessageEx = function (streamId, data, length, connection) {
|
|
564
|
-
return '
|
|
564
|
+
return 'RtcEngineEx_sendStreamMessageEx_0c34857';
|
|
565
565
|
};
|
|
566
566
|
IRtcEngineExImpl.prototype.addVideoWatermarkEx = function (watermarkUrl, options, connection) {
|
|
567
567
|
var apiType = this.getApiTypeFromAddVideoWatermarkEx(watermarkUrl, options, connection);
|
|
@@ -581,7 +581,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
581
581
|
return jsonResults.result;
|
|
582
582
|
};
|
|
583
583
|
IRtcEngineExImpl.prototype.getApiTypeFromAddVideoWatermarkEx = function (watermarkUrl, options, connection) {
|
|
584
|
-
return '
|
|
584
|
+
return 'RtcEngineEx_addVideoWatermarkEx_ad7daa3';
|
|
585
585
|
};
|
|
586
586
|
IRtcEngineExImpl.prototype.clearVideoWatermarkEx = function (connection) {
|
|
587
587
|
var apiType = this.getApiTypeFromClearVideoWatermarkEx(connection);
|
|
@@ -597,7 +597,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
597
597
|
return jsonResults.result;
|
|
598
598
|
};
|
|
599
599
|
IRtcEngineExImpl.prototype.getApiTypeFromClearVideoWatermarkEx = function (connection) {
|
|
600
|
-
return '
|
|
600
|
+
return 'RtcEngineEx_clearVideoWatermarkEx_c81e1a4';
|
|
601
601
|
};
|
|
602
602
|
IRtcEngineExImpl.prototype.sendCustomReportMessageEx = function (id, category, event, label, value, connection) {
|
|
603
603
|
var apiType = this.getApiTypeFromSendCustomReportMessageEx(id, category, event, label, value, connection);
|
|
@@ -623,7 +623,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
623
623
|
return jsonResults.result;
|
|
624
624
|
};
|
|
625
625
|
IRtcEngineExImpl.prototype.getApiTypeFromSendCustomReportMessageEx = function (id, category, event, label, value, connection) {
|
|
626
|
-
return '
|
|
626
|
+
return 'RtcEngineEx_sendCustomReportMessageEx_833b8a5';
|
|
627
627
|
};
|
|
628
628
|
IRtcEngineExImpl.prototype.enableAudioVolumeIndicationEx = function (interval, smooth, reportVad, connection) {
|
|
629
629
|
var apiType = this.getApiTypeFromEnableAudioVolumeIndicationEx(interval, smooth, reportVad, connection);
|
|
@@ -645,7 +645,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
645
645
|
return jsonResults.result;
|
|
646
646
|
};
|
|
647
647
|
IRtcEngineExImpl.prototype.getApiTypeFromEnableAudioVolumeIndicationEx = function (interval, smooth, reportVad, connection) {
|
|
648
|
-
return '
|
|
648
|
+
return 'RtcEngineEx_enableAudioVolumeIndicationEx_ac84f2a';
|
|
649
649
|
};
|
|
650
650
|
IRtcEngineExImpl.prototype.startRtmpStreamWithoutTranscodingEx = function (url, connection) {
|
|
651
651
|
var apiType = this.getApiTypeFromStartRtmpStreamWithoutTranscodingEx(url, connection);
|
|
@@ -663,7 +663,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
663
663
|
return jsonResults.result;
|
|
664
664
|
};
|
|
665
665
|
IRtcEngineExImpl.prototype.getApiTypeFromStartRtmpStreamWithoutTranscodingEx = function (url, connection) {
|
|
666
|
-
return '
|
|
666
|
+
return 'RtcEngineEx_startRtmpStreamWithoutTranscodingEx_e405325';
|
|
667
667
|
};
|
|
668
668
|
IRtcEngineExImpl.prototype.startRtmpStreamWithTranscodingEx = function (url, transcoding, connection) {
|
|
669
669
|
var apiType = this.getApiTypeFromStartRtmpStreamWithTranscodingEx(url, transcoding, connection);
|
|
@@ -683,7 +683,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
683
683
|
return jsonResults.result;
|
|
684
684
|
};
|
|
685
685
|
IRtcEngineExImpl.prototype.getApiTypeFromStartRtmpStreamWithTranscodingEx = function (url, transcoding, connection) {
|
|
686
|
-
return '
|
|
686
|
+
return 'RtcEngineEx_startRtmpStreamWithTranscodingEx_ab121b5';
|
|
687
687
|
};
|
|
688
688
|
IRtcEngineExImpl.prototype.updateRtmpTranscodingEx = function (transcoding, connection) {
|
|
689
689
|
var apiType = this.getApiTypeFromUpdateRtmpTranscodingEx(transcoding, connection);
|
|
@@ -701,7 +701,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
701
701
|
return jsonResults.result;
|
|
702
702
|
};
|
|
703
703
|
IRtcEngineExImpl.prototype.getApiTypeFromUpdateRtmpTranscodingEx = function (transcoding, connection) {
|
|
704
|
-
return '
|
|
704
|
+
return 'RtcEngineEx_updateRtmpTranscodingEx_77f3ee8';
|
|
705
705
|
};
|
|
706
706
|
IRtcEngineExImpl.prototype.stopRtmpStreamEx = function (url, connection) {
|
|
707
707
|
var apiType = this.getApiTypeFromStopRtmpStreamEx(url, connection);
|
|
@@ -719,7 +719,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
719
719
|
return jsonResults.result;
|
|
720
720
|
};
|
|
721
721
|
IRtcEngineExImpl.prototype.getApiTypeFromStopRtmpStreamEx = function (url, connection) {
|
|
722
|
-
return '
|
|
722
|
+
return 'RtcEngineEx_stopRtmpStreamEx_e405325';
|
|
723
723
|
};
|
|
724
724
|
IRtcEngineExImpl.prototype.startOrUpdateChannelMediaRelayEx = function (configuration, connection) {
|
|
725
725
|
var apiType = this.getApiTypeFromStartOrUpdateChannelMediaRelayEx(configuration, connection);
|
|
@@ -737,43 +737,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
737
737
|
return jsonResults.result;
|
|
738
738
|
};
|
|
739
739
|
IRtcEngineExImpl.prototype.getApiTypeFromStartOrUpdateChannelMediaRelayEx = function (configuration, connection) {
|
|
740
|
-
return '
|
|
741
|
-
};
|
|
742
|
-
IRtcEngineExImpl.prototype.startChannelMediaRelayEx = function (configuration, connection) {
|
|
743
|
-
var apiType = this.getApiTypeFromStartChannelMediaRelayEx(configuration, connection);
|
|
744
|
-
var jsonParams = {
|
|
745
|
-
configuration: configuration,
|
|
746
|
-
connection: connection,
|
|
747
|
-
toJSON: function () {
|
|
748
|
-
return {
|
|
749
|
-
configuration: configuration,
|
|
750
|
-
connection: connection,
|
|
751
|
-
};
|
|
752
|
-
},
|
|
753
|
-
};
|
|
754
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
755
|
-
return jsonResults.result;
|
|
756
|
-
};
|
|
757
|
-
IRtcEngineExImpl.prototype.getApiTypeFromStartChannelMediaRelayEx = function (configuration, connection) {
|
|
758
|
-
return 'RtcEngineEx_startChannelMediaRelayEx';
|
|
759
|
-
};
|
|
760
|
-
IRtcEngineExImpl.prototype.updateChannelMediaRelayEx = function (configuration, connection) {
|
|
761
|
-
var apiType = this.getApiTypeFromUpdateChannelMediaRelayEx(configuration, connection);
|
|
762
|
-
var jsonParams = {
|
|
763
|
-
configuration: configuration,
|
|
764
|
-
connection: connection,
|
|
765
|
-
toJSON: function () {
|
|
766
|
-
return {
|
|
767
|
-
configuration: configuration,
|
|
768
|
-
connection: connection,
|
|
769
|
-
};
|
|
770
|
-
},
|
|
771
|
-
};
|
|
772
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
773
|
-
return jsonResults.result;
|
|
774
|
-
};
|
|
775
|
-
IRtcEngineExImpl.prototype.getApiTypeFromUpdateChannelMediaRelayEx = function (configuration, connection) {
|
|
776
|
-
return 'RtcEngineEx_updateChannelMediaRelayEx';
|
|
740
|
+
return 'RtcEngineEx_startOrUpdateChannelMediaRelayEx_4ad39a8';
|
|
777
741
|
};
|
|
778
742
|
IRtcEngineExImpl.prototype.stopChannelMediaRelayEx = function (connection) {
|
|
779
743
|
var apiType = this.getApiTypeFromStopChannelMediaRelayEx(connection);
|
|
@@ -789,7 +753,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
789
753
|
return jsonResults.result;
|
|
790
754
|
};
|
|
791
755
|
IRtcEngineExImpl.prototype.getApiTypeFromStopChannelMediaRelayEx = function (connection) {
|
|
792
|
-
return '
|
|
756
|
+
return 'RtcEngineEx_stopChannelMediaRelayEx_c81e1a4';
|
|
793
757
|
};
|
|
794
758
|
IRtcEngineExImpl.prototype.pauseAllChannelMediaRelayEx = function (connection) {
|
|
795
759
|
var apiType = this.getApiTypeFromPauseAllChannelMediaRelayEx(connection);
|
|
@@ -805,7 +769,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
805
769
|
return jsonResults.result;
|
|
806
770
|
};
|
|
807
771
|
IRtcEngineExImpl.prototype.getApiTypeFromPauseAllChannelMediaRelayEx = function (connection) {
|
|
808
|
-
return '
|
|
772
|
+
return 'RtcEngineEx_pauseAllChannelMediaRelayEx_c81e1a4';
|
|
809
773
|
};
|
|
810
774
|
IRtcEngineExImpl.prototype.resumeAllChannelMediaRelayEx = function (connection) {
|
|
811
775
|
var apiType = this.getApiTypeFromResumeAllChannelMediaRelayEx(connection);
|
|
@@ -821,7 +785,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
821
785
|
return jsonResults.result;
|
|
822
786
|
};
|
|
823
787
|
IRtcEngineExImpl.prototype.getApiTypeFromResumeAllChannelMediaRelayEx = function (connection) {
|
|
824
|
-
return '
|
|
788
|
+
return 'RtcEngineEx_resumeAllChannelMediaRelayEx_c81e1a4';
|
|
825
789
|
};
|
|
826
790
|
IRtcEngineExImpl.prototype.getUserInfoByUserAccountEx = function (userAccount, connection) {
|
|
827
791
|
var apiType = this.getApiTypeFromGetUserInfoByUserAccountEx(userAccount, connection);
|
|
@@ -840,7 +804,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
840
804
|
return userInfo;
|
|
841
805
|
};
|
|
842
806
|
IRtcEngineExImpl.prototype.getApiTypeFromGetUserInfoByUserAccountEx = function (userAccount, connection) {
|
|
843
|
-
return '
|
|
807
|
+
return 'RtcEngineEx_getUserInfoByUserAccountEx_ca39cc6';
|
|
844
808
|
};
|
|
845
809
|
IRtcEngineExImpl.prototype.getUserInfoByUidEx = function (uid, connection) {
|
|
846
810
|
var apiType = this.getApiTypeFromGetUserInfoByUidEx(uid, connection);
|
|
@@ -859,7 +823,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
859
823
|
return userInfo;
|
|
860
824
|
};
|
|
861
825
|
IRtcEngineExImpl.prototype.getApiTypeFromGetUserInfoByUidEx = function (uid, connection) {
|
|
862
|
-
return '
|
|
826
|
+
return 'RtcEngineEx_getUserInfoByUidEx_1e78da1';
|
|
863
827
|
};
|
|
864
828
|
IRtcEngineExImpl.prototype.enableDualStreamModeEx = function (enabled, streamConfig, connection) {
|
|
865
829
|
var apiType = this.getApiTypeFromEnableDualStreamModeEx(enabled, streamConfig, connection);
|
|
@@ -879,7 +843,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
879
843
|
return jsonResults.result;
|
|
880
844
|
};
|
|
881
845
|
IRtcEngineExImpl.prototype.getApiTypeFromEnableDualStreamModeEx = function (enabled, streamConfig, connection) {
|
|
882
|
-
return '
|
|
846
|
+
return 'RtcEngineEx_enableDualStreamModeEx_4b18f41';
|
|
883
847
|
};
|
|
884
848
|
IRtcEngineExImpl.prototype.setDualStreamModeEx = function (mode, streamConfig, connection) {
|
|
885
849
|
var apiType = this.getApiTypeFromSetDualStreamModeEx(mode, streamConfig, connection);
|
|
@@ -899,7 +863,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
899
863
|
return jsonResults.result;
|
|
900
864
|
};
|
|
901
865
|
IRtcEngineExImpl.prototype.getApiTypeFromSetDualStreamModeEx = function (mode, streamConfig, connection) {
|
|
902
|
-
return '
|
|
866
|
+
return 'RtcEngineEx_setDualStreamModeEx_622d0f3';
|
|
903
867
|
};
|
|
904
868
|
IRtcEngineExImpl.prototype.setHighPriorityUserListEx = function (uidList, uidNum, option, connection) {
|
|
905
869
|
var apiType = this.getApiTypeFromSetHighPriorityUserListEx(uidList, uidNum, option, connection);
|
|
@@ -921,7 +885,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
921
885
|
return jsonResults.result;
|
|
922
886
|
};
|
|
923
887
|
IRtcEngineExImpl.prototype.getApiTypeFromSetHighPriorityUserListEx = function (uidList, uidNum, option, connection) {
|
|
924
|
-
return '
|
|
888
|
+
return 'RtcEngineEx_setHighPriorityUserListEx_8736b5c';
|
|
925
889
|
};
|
|
926
890
|
IRtcEngineExImpl.prototype.takeSnapshotEx = function (connection, uid, filePath) {
|
|
927
891
|
var apiType = this.getApiTypeFromTakeSnapshotEx(connection, uid, filePath);
|
|
@@ -941,7 +905,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
941
905
|
return jsonResults.result;
|
|
942
906
|
};
|
|
943
907
|
IRtcEngineExImpl.prototype.getApiTypeFromTakeSnapshotEx = function (connection, uid, filePath) {
|
|
944
|
-
return '
|
|
908
|
+
return 'RtcEngineEx_takeSnapshotEx_de1c015';
|
|
945
909
|
};
|
|
946
910
|
IRtcEngineExImpl.prototype.enableContentInspectEx = function (enabled, config, connection) {
|
|
947
911
|
var apiType = this.getApiTypeFromEnableContentInspectEx(enabled, config, connection);
|
|
@@ -961,7 +925,7 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
961
925
|
return jsonResults.result;
|
|
962
926
|
};
|
|
963
927
|
IRtcEngineExImpl.prototype.getApiTypeFromEnableContentInspectEx = function (enabled, config, connection) {
|
|
964
|
-
return '
|
|
928
|
+
return 'RtcEngineEx_enableContentInspectEx_c4e7f69';
|
|
965
929
|
};
|
|
966
930
|
IRtcEngineExImpl.prototype.startMediaRenderingTracingEx = function (connection) {
|
|
967
931
|
var apiType = this.getApiTypeFromStartMediaRenderingTracingEx(connection);
|
|
@@ -977,7 +941,25 @@ var IRtcEngineExImpl = /** @class */ (function (_super) {
|
|
|
977
941
|
return jsonResults.result;
|
|
978
942
|
};
|
|
979
943
|
IRtcEngineExImpl.prototype.getApiTypeFromStartMediaRenderingTracingEx = function (connection) {
|
|
980
|
-
return '
|
|
944
|
+
return 'RtcEngineEx_startMediaRenderingTracingEx_c81e1a4';
|
|
945
|
+
};
|
|
946
|
+
IRtcEngineExImpl.prototype.setParametersEx = function (connection, parameters) {
|
|
947
|
+
var apiType = this.getApiTypeFromSetParametersEx(connection, parameters);
|
|
948
|
+
var jsonParams = {
|
|
949
|
+
connection: connection,
|
|
950
|
+
parameters: parameters,
|
|
951
|
+
toJSON: function () {
|
|
952
|
+
return {
|
|
953
|
+
connection: connection,
|
|
954
|
+
parameters: parameters,
|
|
955
|
+
};
|
|
956
|
+
},
|
|
957
|
+
};
|
|
958
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
959
|
+
return jsonResults.result;
|
|
960
|
+
};
|
|
961
|
+
IRtcEngineExImpl.prototype.getApiTypeFromSetParametersEx = function (connection, parameters) {
|
|
962
|
+
return 'RtcEngineEx_setParametersEx_8225ea3';
|
|
981
963
|
};
|
|
982
964
|
return IRtcEngineExImpl;
|
|
983
965
|
}(IAgoraRtcEngineImpl_1.IRtcEngineImpl));
|