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
|
@@ -40,7 +40,7 @@ export class MusicChartCollectionImpl implements MusicChartCollection {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
protected getApiTypeFromGet(index: number): string {
|
|
43
|
-
return '
|
|
43
|
+
return 'MusicChartCollection_get_46f8ab7';
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -105,7 +105,7 @@ export class MusicCollectionImpl implements MusicCollection {
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
protected getApiTypeFromGetMusic(index: number): string {
|
|
108
|
-
return '
|
|
108
|
+
return 'MusicCollection_getMusic_8fcdcef';
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -120,7 +120,7 @@ export function processIMusicContentCenterEventHandler(
|
|
|
120
120
|
handler.onMusicChartsResult(
|
|
121
121
|
jsonParams.requestId,
|
|
122
122
|
jsonParams.result,
|
|
123
|
-
jsonParams.
|
|
123
|
+
jsonParams.reason
|
|
124
124
|
);
|
|
125
125
|
}
|
|
126
126
|
break;
|
|
@@ -130,7 +130,7 @@ export function processIMusicContentCenterEventHandler(
|
|
|
130
130
|
handler.onMusicCollectionResult(
|
|
131
131
|
jsonParams.requestId,
|
|
132
132
|
jsonParams.result,
|
|
133
|
-
jsonParams.
|
|
133
|
+
jsonParams.reason
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
136
|
break;
|
|
@@ -141,7 +141,7 @@ export function processIMusicContentCenterEventHandler(
|
|
|
141
141
|
jsonParams.requestId,
|
|
142
142
|
jsonParams.songCode,
|
|
143
143
|
jsonParams.lyricUrl,
|
|
144
|
-
jsonParams.
|
|
144
|
+
jsonParams.reason
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
147
|
break;
|
|
@@ -152,7 +152,7 @@ export function processIMusicContentCenterEventHandler(
|
|
|
152
152
|
jsonParams.requestId,
|
|
153
153
|
jsonParams.songCode,
|
|
154
154
|
jsonParams.simpleInfo,
|
|
155
|
-
jsonParams.
|
|
155
|
+
jsonParams.reason
|
|
156
156
|
);
|
|
157
157
|
}
|
|
158
158
|
break;
|
|
@@ -164,8 +164,8 @@ export function processIMusicContentCenterEventHandler(
|
|
|
164
164
|
jsonParams.songCode,
|
|
165
165
|
jsonParams.percent,
|
|
166
166
|
jsonParams.lyricUrl,
|
|
167
|
-
jsonParams.
|
|
168
|
-
jsonParams.
|
|
167
|
+
jsonParams.state,
|
|
168
|
+
jsonParams.reason
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
171
|
break;
|
|
@@ -217,7 +217,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
217
217
|
protected getApiTypeFromInitialize(
|
|
218
218
|
configuration: MusicContentCenterConfiguration
|
|
219
219
|
): string {
|
|
220
|
-
return '
|
|
220
|
+
return 'MusicContentCenter_initialize_df70304';
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
renewToken(token: string): number {
|
|
@@ -235,7 +235,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
protected getApiTypeFromRenewToken(token: string): string {
|
|
238
|
-
return '
|
|
238
|
+
return 'MusicContentCenter_renewToken_3a2037f';
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
release(): void {
|
|
@@ -263,7 +263,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
263
263
|
protected getApiTypeFromRegisterEventHandler(
|
|
264
264
|
eventHandler: IMusicContentCenterEventHandler
|
|
265
265
|
): string {
|
|
266
|
-
return '
|
|
266
|
+
return 'MusicContentCenter_registerEventHandler_ae49451';
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
unregisterEventHandler(): number {
|
|
@@ -297,7 +297,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
protected getApiTypeFromGetMusicCharts(): string {
|
|
300
|
-
return '
|
|
300
|
+
return 'MusicContentCenter_getMusicCharts_66d4ecd';
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
getMusicCollectionByMusicChartId(
|
|
@@ -337,7 +337,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
337
337
|
pageSize: number,
|
|
338
338
|
jsonOption?: string
|
|
339
339
|
): string {
|
|
340
|
-
return '
|
|
340
|
+
return 'MusicContentCenter_getMusicCollectionByMusicChartId_8cd0b4d';
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
searchMusic(
|
|
@@ -377,7 +377,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
377
377
|
pageSize: number,
|
|
378
378
|
jsonOption?: string
|
|
379
379
|
): string {
|
|
380
|
-
return '
|
|
380
|
+
return 'MusicContentCenter_searchMusic_3f8cf09';
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
preload(songCode: number): string {
|
|
@@ -396,7 +396,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
protected getApiTypeFromPreload(songCode: number): string {
|
|
399
|
-
return '
|
|
399
|
+
return 'MusicContentCenter_preload_d3baeab';
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
removeCache(songCode: number): number {
|
|
@@ -414,7 +414,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
protected getApiTypeFromRemoveCache(songCode: number): string {
|
|
417
|
-
return '
|
|
417
|
+
return 'MusicContentCenter_removeCache_f631116';
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number } {
|
|
@@ -430,7 +430,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
protected getApiTypeFromGetCaches(): string {
|
|
433
|
-
return '
|
|
433
|
+
return 'MusicContentCenter_getCaches_c4f9978';
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
isPreloaded(songCode: number): boolean {
|
|
@@ -448,7 +448,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
protected getApiTypeFromIsPreloaded(songCode: number): string {
|
|
451
|
-
return '
|
|
451
|
+
return 'MusicContentCenter_isPreloaded_f631116';
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
getLyric(songCode: number, lyricType: number = 0): string {
|
|
@@ -472,7 +472,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
472
472
|
songCode: number,
|
|
473
473
|
lyricType: number = 0
|
|
474
474
|
): string {
|
|
475
|
-
return '
|
|
475
|
+
return 'MusicContentCenter_getLyric_5ab5efd';
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
getSongSimpleInfo(songCode: number): string {
|
|
@@ -491,7 +491,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
protected getApiTypeFromGetSongSimpleInfo(songCode: number): string {
|
|
494
|
-
return '
|
|
494
|
+
return 'MusicContentCenter_getSongSimpleInfo_d3baeab';
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
getInternalSongCode(songCode: number, jsonOption: string): number {
|
|
@@ -518,7 +518,7 @@ export class IMusicContentCenterImpl implements IMusicContentCenter {
|
|
|
518
518
|
songCode: number,
|
|
519
519
|
jsonOption: string
|
|
520
520
|
): string {
|
|
521
|
-
return '
|
|
521
|
+
return 'MusicContentCenter_getInternalSongCode_3a3d1e7';
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
|
|
@@ -58,7 +58,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
58
58
|
connection: RtcConnection,
|
|
59
59
|
options: ChannelMediaOptions
|
|
60
60
|
): string {
|
|
61
|
-
return '
|
|
61
|
+
return 'RtcEngineEx_joinChannelEx_a3cd08c';
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
leaveChannelEx(
|
|
@@ -84,7 +84,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
84
84
|
connection: RtcConnection,
|
|
85
85
|
options?: LeaveChannelOptions
|
|
86
86
|
): string {
|
|
87
|
-
return '
|
|
87
|
+
return 'RtcEngineEx_leaveChannelEx_b03ee9a';
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
updateChannelMediaOptionsEx(
|
|
@@ -113,7 +113,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
113
113
|
options: ChannelMediaOptions,
|
|
114
114
|
connection: RtcConnection
|
|
115
115
|
): string {
|
|
116
|
-
return '
|
|
116
|
+
return 'RtcEngineEx_updateChannelMediaOptionsEx_457bb35';
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
setVideoEncoderConfigurationEx(
|
|
@@ -142,7 +142,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
142
142
|
config: VideoEncoderConfiguration,
|
|
143
143
|
connection: RtcConnection
|
|
144
144
|
): string {
|
|
145
|
-
return '
|
|
145
|
+
return 'RtcEngineEx_setVideoEncoderConfigurationEx_4670c1e';
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
setupRemoteVideoEx(canvas: VideoCanvas, connection: RtcConnection): number {
|
|
@@ -165,7 +165,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
165
165
|
canvas: VideoCanvas,
|
|
166
166
|
connection: RtcConnection
|
|
167
167
|
): string {
|
|
168
|
-
return '
|
|
168
|
+
return 'RtcEngineEx_setupRemoteVideoEx_522a409';
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
muteRemoteAudioStreamEx(
|
|
@@ -199,7 +199,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
199
199
|
mute: boolean,
|
|
200
200
|
connection: RtcConnection
|
|
201
201
|
): string {
|
|
202
|
-
return '
|
|
202
|
+
return 'RtcEngineEx_muteRemoteAudioStreamEx_6d93082';
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
muteRemoteVideoStreamEx(
|
|
@@ -233,7 +233,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
233
233
|
mute: boolean,
|
|
234
234
|
connection: RtcConnection
|
|
235
235
|
): string {
|
|
236
|
-
return '
|
|
236
|
+
return 'RtcEngineEx_muteRemoteVideoStreamEx_6d93082';
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
setRemoteVideoStreamTypeEx(
|
|
@@ -267,7 +267,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
267
267
|
streamType: VideoStreamType,
|
|
268
268
|
connection: RtcConnection
|
|
269
269
|
): string {
|
|
270
|
-
return '
|
|
270
|
+
return 'RtcEngineEx_setRemoteVideoStreamTypeEx_01dc428';
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
muteLocalAudioStreamEx(mute: boolean, connection: RtcConnection): number {
|
|
@@ -290,7 +290,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
290
290
|
mute: boolean,
|
|
291
291
|
connection: RtcConnection
|
|
292
292
|
): string {
|
|
293
|
-
return '
|
|
293
|
+
return 'RtcEngineEx_muteLocalAudioStreamEx_3cf17a4';
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
muteLocalVideoStreamEx(mute: boolean, connection: RtcConnection): number {
|
|
@@ -313,7 +313,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
313
313
|
mute: boolean,
|
|
314
314
|
connection: RtcConnection
|
|
315
315
|
): string {
|
|
316
|
-
return '
|
|
316
|
+
return 'RtcEngineEx_muteLocalVideoStreamEx_3cf17a4';
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
muteAllRemoteAudioStreamsEx(
|
|
@@ -342,7 +342,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
342
342
|
mute: boolean,
|
|
343
343
|
connection: RtcConnection
|
|
344
344
|
): string {
|
|
345
|
-
return '
|
|
345
|
+
return 'RtcEngineEx_muteAllRemoteAudioStreamsEx_3cf17a4';
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
muteAllRemoteVideoStreamsEx(
|
|
@@ -371,7 +371,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
371
371
|
mute: boolean,
|
|
372
372
|
connection: RtcConnection
|
|
373
373
|
): string {
|
|
374
|
-
return '
|
|
374
|
+
return 'RtcEngineEx_muteAllRemoteVideoStreamsEx_3cf17a4';
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
setSubscribeAudioBlocklistEx(
|
|
@@ -405,7 +405,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
405
405
|
uidNumber: number,
|
|
406
406
|
connection: RtcConnection
|
|
407
407
|
): string {
|
|
408
|
-
return '
|
|
408
|
+
return 'RtcEngineEx_setSubscribeAudioBlocklistEx_9f1e85c';
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
setSubscribeAudioAllowlistEx(
|
|
@@ -439,7 +439,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
439
439
|
uidNumber: number,
|
|
440
440
|
connection: RtcConnection
|
|
441
441
|
): string {
|
|
442
|
-
return '
|
|
442
|
+
return 'RtcEngineEx_setSubscribeAudioAllowlistEx_9f1e85c';
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
setSubscribeVideoBlocklistEx(
|
|
@@ -473,7 +473,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
473
473
|
uidNumber: number,
|
|
474
474
|
connection: RtcConnection
|
|
475
475
|
): string {
|
|
476
|
-
return '
|
|
476
|
+
return 'RtcEngineEx_setSubscribeVideoBlocklistEx_9f1e85c';
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
setSubscribeVideoAllowlistEx(
|
|
@@ -507,7 +507,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
507
507
|
uidNumber: number,
|
|
508
508
|
connection: RtcConnection
|
|
509
509
|
): string {
|
|
510
|
-
return '
|
|
510
|
+
return 'RtcEngineEx_setSubscribeVideoAllowlistEx_9f1e85c';
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
setRemoteVideoSubscriptionOptionsEx(
|
|
@@ -541,7 +541,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
541
541
|
options: VideoSubscriptionOptions,
|
|
542
542
|
connection: RtcConnection
|
|
543
543
|
): string {
|
|
544
|
-
return '
|
|
544
|
+
return 'RtcEngineEx_setRemoteVideoSubscriptionOptionsEx_3cd36bc';
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
setRemoteVoicePositionEx(
|
|
@@ -580,7 +580,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
580
580
|
gain: number,
|
|
581
581
|
connection: RtcConnection
|
|
582
582
|
): string {
|
|
583
|
-
return '
|
|
583
|
+
return 'RtcEngineEx_setRemoteVoicePositionEx_fc0471c';
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
setRemoteUserSpatialAudioParamsEx(
|
|
@@ -614,7 +614,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
614
614
|
params: SpatialAudioParams,
|
|
615
615
|
connection: RtcConnection
|
|
616
616
|
): string {
|
|
617
|
-
return '
|
|
617
|
+
return 'RtcEngineEx_setRemoteUserSpatialAudioParamsEx_40ca9fb';
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
setRemoteRenderModeEx(
|
|
@@ -653,7 +653,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
653
653
|
mirrorMode: VideoMirrorModeType,
|
|
654
654
|
connection: RtcConnection
|
|
655
655
|
): string {
|
|
656
|
-
return '
|
|
656
|
+
return 'RtcEngineEx_setRemoteRenderModeEx_a72fe4e';
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
enableLoopbackRecordingEx(
|
|
@@ -687,7 +687,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
687
687
|
enabled: boolean,
|
|
688
688
|
deviceName?: string
|
|
689
689
|
): string {
|
|
690
|
-
return '
|
|
690
|
+
return 'RtcEngineEx_enableLoopbackRecordingEx_4f41542';
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
adjustRecordingSignalVolumeEx(
|
|
@@ -716,7 +716,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
716
716
|
volume: number,
|
|
717
717
|
connection: RtcConnection
|
|
718
718
|
): string {
|
|
719
|
-
return '
|
|
719
|
+
return 'RtcEngineEx_adjustRecordingSignalVolumeEx_e84d10e';
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
muteRecordingSignalEx(mute: boolean, connection: RtcConnection): number {
|
|
@@ -739,7 +739,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
739
739
|
mute: boolean,
|
|
740
740
|
connection: RtcConnection
|
|
741
741
|
): string {
|
|
742
|
-
return '
|
|
742
|
+
return 'RtcEngineEx_muteRecordingSignalEx_3cf17a4';
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
adjustUserPlaybackSignalVolumeEx(
|
|
@@ -773,7 +773,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
773
773
|
volume: number,
|
|
774
774
|
connection: RtcConnection
|
|
775
775
|
): string {
|
|
776
|
-
return '
|
|
776
|
+
return 'RtcEngineEx_adjustUserPlaybackSignalVolumeEx_adbd29c';
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
getConnectionStateEx(connection: RtcConnection): ConnectionStateType {
|
|
@@ -793,7 +793,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
793
793
|
protected getApiTypeFromGetConnectionStateEx(
|
|
794
794
|
connection: RtcConnection
|
|
795
795
|
): string {
|
|
796
|
-
return '
|
|
796
|
+
return 'RtcEngineEx_getConnectionStateEx_c81e1a4';
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
enableEncryptionEx(
|
|
@@ -827,7 +827,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
827
827
|
enabled: boolean,
|
|
828
828
|
config: EncryptionConfig
|
|
829
829
|
): string {
|
|
830
|
-
return '
|
|
830
|
+
return 'RtcEngineEx_enableEncryptionEx_10cd872';
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
createDataStreamEx(
|
|
@@ -854,7 +854,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
854
854
|
config: DataStreamConfig,
|
|
855
855
|
connection: RtcConnection
|
|
856
856
|
): string {
|
|
857
|
-
return '
|
|
857
|
+
return 'RtcEngineEx_createDataStreamEx_9f641b6';
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
sendStreamMessageEx(
|
|
@@ -892,7 +892,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
892
892
|
length: number,
|
|
893
893
|
connection: RtcConnection
|
|
894
894
|
): string {
|
|
895
|
-
return '
|
|
895
|
+
return 'RtcEngineEx_sendStreamMessageEx_0c34857';
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
addVideoWatermarkEx(
|
|
@@ -926,7 +926,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
926
926
|
options: WatermarkOptions,
|
|
927
927
|
connection: RtcConnection
|
|
928
928
|
): string {
|
|
929
|
-
return '
|
|
929
|
+
return 'RtcEngineEx_addVideoWatermarkEx_ad7daa3';
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
clearVideoWatermarkEx(connection: RtcConnection): number {
|
|
@@ -946,7 +946,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
946
946
|
protected getApiTypeFromClearVideoWatermarkEx(
|
|
947
947
|
connection: RtcConnection
|
|
948
948
|
): string {
|
|
949
|
-
return '
|
|
949
|
+
return 'RtcEngineEx_clearVideoWatermarkEx_c81e1a4';
|
|
950
950
|
}
|
|
951
951
|
|
|
952
952
|
sendCustomReportMessageEx(
|
|
@@ -995,7 +995,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
995
995
|
value: number,
|
|
996
996
|
connection: RtcConnection
|
|
997
997
|
): string {
|
|
998
|
-
return '
|
|
998
|
+
return 'RtcEngineEx_sendCustomReportMessageEx_833b8a5';
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
enableAudioVolumeIndicationEx(
|
|
@@ -1034,7 +1034,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1034
1034
|
reportVad: boolean,
|
|
1035
1035
|
connection: RtcConnection
|
|
1036
1036
|
): string {
|
|
1037
|
-
return '
|
|
1037
|
+
return 'RtcEngineEx_enableAudioVolumeIndicationEx_ac84f2a';
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
startRtmpStreamWithoutTranscodingEx(
|
|
@@ -1063,7 +1063,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1063
1063
|
url: string,
|
|
1064
1064
|
connection: RtcConnection
|
|
1065
1065
|
): string {
|
|
1066
|
-
return '
|
|
1066
|
+
return 'RtcEngineEx_startRtmpStreamWithoutTranscodingEx_e405325';
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
1069
|
startRtmpStreamWithTranscodingEx(
|
|
@@ -1097,7 +1097,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1097
1097
|
transcoding: LiveTranscoding,
|
|
1098
1098
|
connection: RtcConnection
|
|
1099
1099
|
): string {
|
|
1100
|
-
return '
|
|
1100
|
+
return 'RtcEngineEx_startRtmpStreamWithTranscodingEx_ab121b5';
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
1103
|
updateRtmpTranscodingEx(
|
|
@@ -1126,7 +1126,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1126
1126
|
transcoding: LiveTranscoding,
|
|
1127
1127
|
connection: RtcConnection
|
|
1128
1128
|
): string {
|
|
1129
|
-
return '
|
|
1129
|
+
return 'RtcEngineEx_updateRtmpTranscodingEx_77f3ee8';
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
1132
|
stopRtmpStreamEx(url: string, connection: RtcConnection): number {
|
|
@@ -1149,7 +1149,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1149
1149
|
url: string,
|
|
1150
1150
|
connection: RtcConnection
|
|
1151
1151
|
): string {
|
|
1152
|
-
return '
|
|
1152
|
+
return 'RtcEngineEx_stopRtmpStreamEx_e405325';
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
startOrUpdateChannelMediaRelayEx(
|
|
@@ -1178,65 +1178,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1178
1178
|
configuration: ChannelMediaRelayConfiguration,
|
|
1179
1179
|
connection: RtcConnection
|
|
1180
1180
|
): string {
|
|
1181
|
-
return '
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
startChannelMediaRelayEx(
|
|
1185
|
-
configuration: ChannelMediaRelayConfiguration,
|
|
1186
|
-
connection: RtcConnection
|
|
1187
|
-
): number {
|
|
1188
|
-
const apiType = this.getApiTypeFromStartChannelMediaRelayEx(
|
|
1189
|
-
configuration,
|
|
1190
|
-
connection
|
|
1191
|
-
);
|
|
1192
|
-
const jsonParams = {
|
|
1193
|
-
configuration: configuration,
|
|
1194
|
-
connection: connection,
|
|
1195
|
-
toJSON: () => {
|
|
1196
|
-
return {
|
|
1197
|
-
configuration: configuration,
|
|
1198
|
-
connection: connection,
|
|
1199
|
-
};
|
|
1200
|
-
},
|
|
1201
|
-
};
|
|
1202
|
-
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
1203
|
-
return jsonResults.result;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
protected getApiTypeFromStartChannelMediaRelayEx(
|
|
1207
|
-
configuration: ChannelMediaRelayConfiguration,
|
|
1208
|
-
connection: RtcConnection
|
|
1209
|
-
): string {
|
|
1210
|
-
return 'RtcEngineEx_startChannelMediaRelayEx';
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
updateChannelMediaRelayEx(
|
|
1214
|
-
configuration: ChannelMediaRelayConfiguration,
|
|
1215
|
-
connection: RtcConnection
|
|
1216
|
-
): number {
|
|
1217
|
-
const apiType = this.getApiTypeFromUpdateChannelMediaRelayEx(
|
|
1218
|
-
configuration,
|
|
1219
|
-
connection
|
|
1220
|
-
);
|
|
1221
|
-
const jsonParams = {
|
|
1222
|
-
configuration: configuration,
|
|
1223
|
-
connection: connection,
|
|
1224
|
-
toJSON: () => {
|
|
1225
|
-
return {
|
|
1226
|
-
configuration: configuration,
|
|
1227
|
-
connection: connection,
|
|
1228
|
-
};
|
|
1229
|
-
},
|
|
1230
|
-
};
|
|
1231
|
-
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
1232
|
-
return jsonResults.result;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
protected getApiTypeFromUpdateChannelMediaRelayEx(
|
|
1236
|
-
configuration: ChannelMediaRelayConfiguration,
|
|
1237
|
-
connection: RtcConnection
|
|
1238
|
-
): string {
|
|
1239
|
-
return 'RtcEngineEx_updateChannelMediaRelayEx';
|
|
1181
|
+
return 'RtcEngineEx_startOrUpdateChannelMediaRelayEx_4ad39a8';
|
|
1240
1182
|
}
|
|
1241
1183
|
|
|
1242
1184
|
stopChannelMediaRelayEx(connection: RtcConnection): number {
|
|
@@ -1256,7 +1198,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1256
1198
|
protected getApiTypeFromStopChannelMediaRelayEx(
|
|
1257
1199
|
connection: RtcConnection
|
|
1258
1200
|
): string {
|
|
1259
|
-
return '
|
|
1201
|
+
return 'RtcEngineEx_stopChannelMediaRelayEx_c81e1a4';
|
|
1260
1202
|
}
|
|
1261
1203
|
|
|
1262
1204
|
pauseAllChannelMediaRelayEx(connection: RtcConnection): number {
|
|
@@ -1276,7 +1218,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1276
1218
|
protected getApiTypeFromPauseAllChannelMediaRelayEx(
|
|
1277
1219
|
connection: RtcConnection
|
|
1278
1220
|
): string {
|
|
1279
|
-
return '
|
|
1221
|
+
return 'RtcEngineEx_pauseAllChannelMediaRelayEx_c81e1a4';
|
|
1280
1222
|
}
|
|
1281
1223
|
|
|
1282
1224
|
resumeAllChannelMediaRelayEx(connection: RtcConnection): number {
|
|
@@ -1296,7 +1238,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1296
1238
|
protected getApiTypeFromResumeAllChannelMediaRelayEx(
|
|
1297
1239
|
connection: RtcConnection
|
|
1298
1240
|
): string {
|
|
1299
|
-
return '
|
|
1241
|
+
return 'RtcEngineEx_resumeAllChannelMediaRelayEx_c81e1a4';
|
|
1300
1242
|
}
|
|
1301
1243
|
|
|
1302
1244
|
getUserInfoByUserAccountEx(
|
|
@@ -1326,7 +1268,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1326
1268
|
userAccount: string,
|
|
1327
1269
|
connection: RtcConnection
|
|
1328
1270
|
): string {
|
|
1329
|
-
return '
|
|
1271
|
+
return 'RtcEngineEx_getUserInfoByUserAccountEx_ca39cc6';
|
|
1330
1272
|
}
|
|
1331
1273
|
|
|
1332
1274
|
getUserInfoByUidEx(uid: number, connection: RtcConnection): UserInfo {
|
|
@@ -1350,7 +1292,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1350
1292
|
uid: number,
|
|
1351
1293
|
connection: RtcConnection
|
|
1352
1294
|
): string {
|
|
1353
|
-
return '
|
|
1295
|
+
return 'RtcEngineEx_getUserInfoByUidEx_1e78da1';
|
|
1354
1296
|
}
|
|
1355
1297
|
|
|
1356
1298
|
enableDualStreamModeEx(
|
|
@@ -1384,7 +1326,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1384
1326
|
streamConfig: SimulcastStreamConfig,
|
|
1385
1327
|
connection: RtcConnection
|
|
1386
1328
|
): string {
|
|
1387
|
-
return '
|
|
1329
|
+
return 'RtcEngineEx_enableDualStreamModeEx_4b18f41';
|
|
1388
1330
|
}
|
|
1389
1331
|
|
|
1390
1332
|
setDualStreamModeEx(
|
|
@@ -1418,7 +1360,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1418
1360
|
streamConfig: SimulcastStreamConfig,
|
|
1419
1361
|
connection: RtcConnection
|
|
1420
1362
|
): string {
|
|
1421
|
-
return '
|
|
1363
|
+
return 'RtcEngineEx_setDualStreamModeEx_622d0f3';
|
|
1422
1364
|
}
|
|
1423
1365
|
|
|
1424
1366
|
setHighPriorityUserListEx(
|
|
@@ -1457,7 +1399,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1457
1399
|
option: StreamFallbackOptions,
|
|
1458
1400
|
connection: RtcConnection
|
|
1459
1401
|
): string {
|
|
1460
|
-
return '
|
|
1402
|
+
return 'RtcEngineEx_setHighPriorityUserListEx_8736b5c';
|
|
1461
1403
|
}
|
|
1462
1404
|
|
|
1463
1405
|
takeSnapshotEx(
|
|
@@ -1491,7 +1433,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1491
1433
|
uid: number,
|
|
1492
1434
|
filePath: string
|
|
1493
1435
|
): string {
|
|
1494
|
-
return '
|
|
1436
|
+
return 'RtcEngineEx_takeSnapshotEx_de1c015';
|
|
1495
1437
|
}
|
|
1496
1438
|
|
|
1497
1439
|
enableContentInspectEx(
|
|
@@ -1525,7 +1467,7 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1525
1467
|
config: ContentInspectConfig,
|
|
1526
1468
|
connection: RtcConnection
|
|
1527
1469
|
): string {
|
|
1528
|
-
return '
|
|
1470
|
+
return 'RtcEngineEx_enableContentInspectEx_c4e7f69';
|
|
1529
1471
|
}
|
|
1530
1472
|
|
|
1531
1473
|
startMediaRenderingTracingEx(connection: RtcConnection): number {
|
|
@@ -1545,7 +1487,30 @@ export class IRtcEngineExImpl extends IRtcEngineImpl implements IRtcEngineEx {
|
|
|
1545
1487
|
protected getApiTypeFromStartMediaRenderingTracingEx(
|
|
1546
1488
|
connection: RtcConnection
|
|
1547
1489
|
): string {
|
|
1548
|
-
return '
|
|
1490
|
+
return 'RtcEngineEx_startMediaRenderingTracingEx_c81e1a4';
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
setParametersEx(connection: RtcConnection, parameters: string): number {
|
|
1494
|
+
const apiType = this.getApiTypeFromSetParametersEx(connection, parameters);
|
|
1495
|
+
const jsonParams = {
|
|
1496
|
+
connection: connection,
|
|
1497
|
+
parameters: parameters,
|
|
1498
|
+
toJSON: () => {
|
|
1499
|
+
return {
|
|
1500
|
+
connection: connection,
|
|
1501
|
+
parameters: parameters,
|
|
1502
|
+
};
|
|
1503
|
+
},
|
|
1504
|
+
};
|
|
1505
|
+
const jsonResults = callIrisApi.call(this, apiType, jsonParams);
|
|
1506
|
+
return jsonResults.result;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
protected getApiTypeFromSetParametersEx(
|
|
1510
|
+
connection: RtcConnection,
|
|
1511
|
+
parameters: string
|
|
1512
|
+
): string {
|
|
1513
|
+
return 'RtcEngineEx_setParametersEx_8225ea3';
|
|
1549
1514
|
}
|
|
1550
1515
|
}
|
|
1551
1516
|
|