agora-electron-sdk 4.2.6 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -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
|
@@ -122,7 +122,7 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
122
122
|
break;
|
|
123
123
|
case 'onLocalVideoStateChanged':
|
|
124
124
|
if (handler.onLocalVideoStateChanged !== undefined) {
|
|
125
|
-
handler.onLocalVideoStateChanged(jsonParams.source, jsonParams.state, jsonParams.
|
|
125
|
+
handler.onLocalVideoStateChanged(jsonParams.source, jsonParams.state, jsonParams.reason);
|
|
126
126
|
}
|
|
127
127
|
break;
|
|
128
128
|
case 'onRemoteVideoStateChanged':
|
|
@@ -170,16 +170,16 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
170
170
|
handler.onUserEnableLocalVideo(jsonParams.connection, jsonParams.remoteUid, jsonParams.enabled);
|
|
171
171
|
}
|
|
172
172
|
break;
|
|
173
|
-
case 'onLocalAudioStats':
|
|
174
|
-
if (handler.onLocalAudioStats !== undefined) {
|
|
175
|
-
handler.onLocalAudioStats(jsonParams.connection, jsonParams.stats);
|
|
176
|
-
}
|
|
177
|
-
break;
|
|
178
173
|
case 'onRemoteAudioStats':
|
|
179
174
|
if (handler.onRemoteAudioStats !== undefined) {
|
|
180
175
|
handler.onRemoteAudioStats(jsonParams.connection, jsonParams.stats);
|
|
181
176
|
}
|
|
182
177
|
break;
|
|
178
|
+
case 'onLocalAudioStats':
|
|
179
|
+
if (handler.onLocalAudioStats !== undefined) {
|
|
180
|
+
handler.onLocalAudioStats(jsonParams.connection, jsonParams.stats);
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
183
|
case 'onLocalVideoStats':
|
|
184
184
|
if (handler.onLocalVideoStats !== undefined) {
|
|
185
185
|
handler.onLocalVideoStats(jsonParams.source, jsonParams.stats);
|
|
@@ -222,7 +222,7 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
222
222
|
break;
|
|
223
223
|
case 'onRhythmPlayerStateChanged':
|
|
224
224
|
if (handler.onRhythmPlayerStateChanged !== undefined) {
|
|
225
|
-
handler.onRhythmPlayerStateChanged(jsonParams.state, jsonParams.
|
|
225
|
+
handler.onRhythmPlayerStateChanged(jsonParams.state, jsonParams.reason);
|
|
226
226
|
}
|
|
227
227
|
break;
|
|
228
228
|
case 'onConnectionLost':
|
|
@@ -270,19 +270,19 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
270
270
|
handler.onFirstLocalAudioFramePublished(jsonParams.connection, jsonParams.elapsed);
|
|
271
271
|
}
|
|
272
272
|
break;
|
|
273
|
-
case 'onFirstRemoteAudioFrame':
|
|
274
|
-
if (handler.onFirstRemoteAudioFrame !== undefined) {
|
|
275
|
-
handler.onFirstRemoteAudioFrame(jsonParams.connection, jsonParams.userId, jsonParams.elapsed);
|
|
276
|
-
}
|
|
277
|
-
break;
|
|
278
273
|
case 'onFirstRemoteAudioDecoded':
|
|
279
274
|
if (handler.onFirstRemoteAudioDecoded !== undefined) {
|
|
280
275
|
handler.onFirstRemoteAudioDecoded(jsonParams.connection, jsonParams.uid, jsonParams.elapsed);
|
|
281
276
|
}
|
|
282
277
|
break;
|
|
278
|
+
case 'onFirstRemoteAudioFrame':
|
|
279
|
+
if (handler.onFirstRemoteAudioFrame !== undefined) {
|
|
280
|
+
handler.onFirstRemoteAudioFrame(jsonParams.connection, jsonParams.userId, jsonParams.elapsed);
|
|
281
|
+
}
|
|
282
|
+
break;
|
|
283
283
|
case 'onLocalAudioStateChanged':
|
|
284
284
|
if (handler.onLocalAudioStateChanged !== undefined) {
|
|
285
|
-
handler.onLocalAudioStateChanged(jsonParams.connection, jsonParams.state, jsonParams.
|
|
285
|
+
handler.onLocalAudioStateChanged(jsonParams.connection, jsonParams.state, jsonParams.reason);
|
|
286
286
|
}
|
|
287
287
|
break;
|
|
288
288
|
case 'onRemoteAudioStateChanged':
|
|
@@ -322,7 +322,7 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
322
322
|
break;
|
|
323
323
|
case 'onRtmpStreamingStateChanged':
|
|
324
324
|
if (handler.onRtmpStreamingStateChanged !== undefined) {
|
|
325
|
-
handler.onRtmpStreamingStateChanged(jsonParams.url, jsonParams.state, jsonParams.
|
|
325
|
+
handler.onRtmpStreamingStateChanged(jsonParams.url, jsonParams.state, jsonParams.reason);
|
|
326
326
|
}
|
|
327
327
|
break;
|
|
328
328
|
case 'onRtmpStreamingEvent':
|
|
@@ -345,11 +345,6 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
345
345
|
handler.onChannelMediaRelayStateChanged(jsonParams.state, jsonParams.code);
|
|
346
346
|
}
|
|
347
347
|
break;
|
|
348
|
-
case 'onChannelMediaRelayEvent':
|
|
349
|
-
if (handler.onChannelMediaRelayEvent !== undefined) {
|
|
350
|
-
handler.onChannelMediaRelayEvent(jsonParams.code);
|
|
351
|
-
}
|
|
352
|
-
break;
|
|
353
348
|
case 'onLocalPublishFallbackToAudioOnly':
|
|
354
349
|
if (handler.onLocalPublishFallbackToAudioOnly !== undefined) {
|
|
355
350
|
handler.onLocalPublishFallbackToAudioOnly(jsonParams.isFallbackOrRecover);
|
|
@@ -410,6 +405,21 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
410
405
|
handler.onUserInfoUpdated(jsonParams.uid, jsonParams.info);
|
|
411
406
|
}
|
|
412
407
|
break;
|
|
408
|
+
case 'onUserAccountUpdated':
|
|
409
|
+
if (handler.onUserAccountUpdated !== undefined) {
|
|
410
|
+
handler.onUserAccountUpdated(jsonParams.connection, jsonParams.remoteUid, jsonParams.remoteUserAccount);
|
|
411
|
+
}
|
|
412
|
+
break;
|
|
413
|
+
case 'onVideoRenderingTracingResult':
|
|
414
|
+
if (handler.onVideoRenderingTracingResult !== undefined) {
|
|
415
|
+
handler.onVideoRenderingTracingResult(jsonParams.connection, jsonParams.uid, jsonParams.currentEvent, jsonParams.tracingInfo);
|
|
416
|
+
}
|
|
417
|
+
break;
|
|
418
|
+
case 'onLocalVideoTranscoderError':
|
|
419
|
+
if (handler.onLocalVideoTranscoderError !== undefined) {
|
|
420
|
+
handler.onLocalVideoTranscoderError(jsonParams.stream, jsonParams.error);
|
|
421
|
+
}
|
|
422
|
+
break;
|
|
413
423
|
case 'onUploadLogResult':
|
|
414
424
|
if (handler.onUploadLogResult !== undefined) {
|
|
415
425
|
handler.onUploadLogResult(jsonParams.connection, jsonParams.requestId, jsonParams.success, jsonParams.reason);
|
|
@@ -435,6 +445,11 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
435
445
|
handler.onVideoPublishStateChanged(jsonParams.source, jsonParams.channel, jsonParams.oldState, jsonParams.newState, jsonParams.elapseSinceLastState);
|
|
436
446
|
}
|
|
437
447
|
break;
|
|
448
|
+
case 'onTranscodedStreamLayoutInfo':
|
|
449
|
+
if (handler.onTranscodedStreamLayoutInfo !== undefined) {
|
|
450
|
+
handler.onTranscodedStreamLayoutInfo(jsonParams.connection, jsonParams.uid, jsonParams.width, jsonParams.height, jsonParams.layoutCount, jsonParams.layoutlist);
|
|
451
|
+
}
|
|
452
|
+
break;
|
|
438
453
|
case 'onExtensionEvent':
|
|
439
454
|
if (handler.onExtensionEvent !== undefined) {
|
|
440
455
|
handler.onExtensionEvent(jsonParams.provider, jsonParams.extension, jsonParams.key, jsonParams.value);
|
|
@@ -455,19 +470,9 @@ function processIRtcEngineEventHandler(handler, event, jsonParams) {
|
|
|
455
470
|
handler.onExtensionError(jsonParams.provider, jsonParams.extension, jsonParams.error, jsonParams.message);
|
|
456
471
|
}
|
|
457
472
|
break;
|
|
458
|
-
case '
|
|
459
|
-
if (handler.
|
|
460
|
-
handler.
|
|
461
|
-
}
|
|
462
|
-
break;
|
|
463
|
-
case 'onLocalVideoTranscoderError':
|
|
464
|
-
if (handler.onLocalVideoTranscoderError !== undefined) {
|
|
465
|
-
handler.onLocalVideoTranscoderError(jsonParams.stream, jsonParams.error);
|
|
466
|
-
}
|
|
467
|
-
break;
|
|
468
|
-
case 'onVideoRenderingTracingResult':
|
|
469
|
-
if (handler.onVideoRenderingTracingResult !== undefined) {
|
|
470
|
-
handler.onVideoRenderingTracingResult(jsonParams.connection, jsonParams.uid, jsonParams.currentEvent, jsonParams.tracingInfo);
|
|
473
|
+
case 'onSetRtmFlagResult':
|
|
474
|
+
if (handler.onSetRtmFlagResult !== undefined) {
|
|
475
|
+
handler.onSetRtmFlagResult(jsonParams.connection, jsonParams.code);
|
|
471
476
|
}
|
|
472
477
|
break;
|
|
473
478
|
}
|
|
@@ -500,7 +505,7 @@ var IVideoDeviceManagerImpl = /** @class */ (function () {
|
|
|
500
505
|
return jsonResults.result;
|
|
501
506
|
};
|
|
502
507
|
IVideoDeviceManagerImpl.prototype.getApiTypeFromSetDevice = function (deviceIdUTF8) {
|
|
503
|
-
return '
|
|
508
|
+
return 'VideoDeviceManager_setDevice_4ad5f6e';
|
|
504
509
|
};
|
|
505
510
|
IVideoDeviceManagerImpl.prototype.getDevice = function () {
|
|
506
511
|
var apiType = this.getApiTypeFromGetDevice();
|
|
@@ -510,7 +515,7 @@ var IVideoDeviceManagerImpl = /** @class */ (function () {
|
|
|
510
515
|
return deviceIdUTF8;
|
|
511
516
|
};
|
|
512
517
|
IVideoDeviceManagerImpl.prototype.getApiTypeFromGetDevice = function () {
|
|
513
|
-
return '
|
|
518
|
+
return 'VideoDeviceManager_getDevice_73b9872';
|
|
514
519
|
};
|
|
515
520
|
IVideoDeviceManagerImpl.prototype.numberOfCapabilities = function (deviceIdUTF8) {
|
|
516
521
|
var apiType = this.getApiTypeFromNumberOfCapabilities(deviceIdUTF8);
|
|
@@ -526,7 +531,7 @@ var IVideoDeviceManagerImpl = /** @class */ (function () {
|
|
|
526
531
|
return jsonResults.result;
|
|
527
532
|
};
|
|
528
533
|
IVideoDeviceManagerImpl.prototype.getApiTypeFromNumberOfCapabilities = function (deviceIdUTF8) {
|
|
529
|
-
return '
|
|
534
|
+
return 'VideoDeviceManager_numberOfCapabilities_3a2037f';
|
|
530
535
|
};
|
|
531
536
|
IVideoDeviceManagerImpl.prototype.getCapability = function (deviceIdUTF8, deviceCapabilityNumber) {
|
|
532
537
|
var apiType = this.getApiTypeFromGetCapability(deviceIdUTF8, deviceCapabilityNumber);
|
|
@@ -545,7 +550,7 @@ var IVideoDeviceManagerImpl = /** @class */ (function () {
|
|
|
545
550
|
return capability;
|
|
546
551
|
};
|
|
547
552
|
IVideoDeviceManagerImpl.prototype.getApiTypeFromGetCapability = function (deviceIdUTF8, deviceCapabilityNumber) {
|
|
548
|
-
return '
|
|
553
|
+
return 'VideoDeviceManager_getCapability_ddeefdd';
|
|
549
554
|
};
|
|
550
555
|
IVideoDeviceManagerImpl.prototype.startDeviceTest = function (hwnd) {
|
|
551
556
|
var apiType = this.getApiTypeFromStartDeviceTest(hwnd);
|
|
@@ -561,7 +566,7 @@ var IVideoDeviceManagerImpl = /** @class */ (function () {
|
|
|
561
566
|
return jsonResults.result;
|
|
562
567
|
};
|
|
563
568
|
IVideoDeviceManagerImpl.prototype.getApiTypeFromStartDeviceTest = function (hwnd) {
|
|
564
|
-
return '
|
|
569
|
+
return 'VideoDeviceManager_startDeviceTest_a55f55f';
|
|
565
570
|
};
|
|
566
571
|
IVideoDeviceManagerImpl.prototype.stopDeviceTest = function () {
|
|
567
572
|
var apiType = this.getApiTypeFromStopDeviceTest();
|
|
@@ -597,7 +602,7 @@ function processIDirectCdnStreamingEventHandler(handler, event, jsonParams) {
|
|
|
597
602
|
switch (event) {
|
|
598
603
|
case 'onDirectCdnStreamingStateChanged':
|
|
599
604
|
if (handler.onDirectCdnStreamingStateChanged !== undefined) {
|
|
600
|
-
handler.onDirectCdnStreamingStateChanged(jsonParams.state, jsonParams.
|
|
605
|
+
handler.onDirectCdnStreamingStateChanged(jsonParams.state, jsonParams.reason, jsonParams.message);
|
|
601
606
|
}
|
|
602
607
|
break;
|
|
603
608
|
case 'onDirectCdnStreamingStats':
|
|
@@ -612,23 +617,6 @@ exports.processIDirectCdnStreamingEventHandler = processIDirectCdnStreamingEvent
|
|
|
612
617
|
var IRtcEngineImpl = /** @class */ (function () {
|
|
613
618
|
function IRtcEngineImpl() {
|
|
614
619
|
}
|
|
615
|
-
IRtcEngineImpl.prototype.release = function (sync) {
|
|
616
|
-
if (sync === void 0) { sync = false; }
|
|
617
|
-
var apiType = this.getApiTypeFromRelease(sync);
|
|
618
|
-
var jsonParams = {
|
|
619
|
-
sync: sync,
|
|
620
|
-
toJSON: function () {
|
|
621
|
-
return {
|
|
622
|
-
sync: sync,
|
|
623
|
-
};
|
|
624
|
-
},
|
|
625
|
-
};
|
|
626
|
-
IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
627
|
-
};
|
|
628
|
-
IRtcEngineImpl.prototype.getApiTypeFromRelease = function (sync) {
|
|
629
|
-
if (sync === void 0) { sync = false; }
|
|
630
|
-
return 'RtcEngine_release';
|
|
631
|
-
};
|
|
632
620
|
IRtcEngineImpl.prototype.initialize = function (context) {
|
|
633
621
|
var apiType = this.getApiTypeFromInitialize(context);
|
|
634
622
|
var jsonParams = {
|
|
@@ -643,7 +631,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
643
631
|
return jsonResults.result;
|
|
644
632
|
};
|
|
645
633
|
IRtcEngineImpl.prototype.getApiTypeFromInitialize = function (context) {
|
|
646
|
-
return '
|
|
634
|
+
return 'RtcEngine_initialize_0320339';
|
|
647
635
|
};
|
|
648
636
|
IRtcEngineImpl.prototype.getVersion = function () {
|
|
649
637
|
var apiType = this.getApiTypeFromGetVersion();
|
|
@@ -652,7 +640,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
652
640
|
return jsonResults.result;
|
|
653
641
|
};
|
|
654
642
|
IRtcEngineImpl.prototype.getApiTypeFromGetVersion = function () {
|
|
655
|
-
return '
|
|
643
|
+
return 'RtcEngine_getVersion_915cb25';
|
|
656
644
|
};
|
|
657
645
|
IRtcEngineImpl.prototype.getErrorDescription = function (code) {
|
|
658
646
|
var apiType = this.getApiTypeFromGetErrorDescription(code);
|
|
@@ -668,7 +656,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
668
656
|
return jsonResults.result;
|
|
669
657
|
};
|
|
670
658
|
IRtcEngineImpl.prototype.getApiTypeFromGetErrorDescription = function (code) {
|
|
671
|
-
return '
|
|
659
|
+
return 'RtcEngine_getErrorDescription_46f8ab7';
|
|
672
660
|
};
|
|
673
661
|
IRtcEngineImpl.prototype.queryCodecCapability = function () {
|
|
674
662
|
var apiType = this.getApiTypeFromQueryCodecCapability();
|
|
@@ -682,7 +670,16 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
682
670
|
};
|
|
683
671
|
};
|
|
684
672
|
IRtcEngineImpl.prototype.getApiTypeFromQueryCodecCapability = function () {
|
|
685
|
-
return '
|
|
673
|
+
return 'RtcEngine_queryCodecCapability_ddf4f31';
|
|
674
|
+
};
|
|
675
|
+
IRtcEngineImpl.prototype.queryDeviceScore = function () {
|
|
676
|
+
var apiType = this.getApiTypeFromQueryDeviceScore();
|
|
677
|
+
var jsonParams = {};
|
|
678
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
679
|
+
return jsonResults.result;
|
|
680
|
+
};
|
|
681
|
+
IRtcEngineImpl.prototype.getApiTypeFromQueryDeviceScore = function () {
|
|
682
|
+
return 'RtcEngine_queryDeviceScore';
|
|
686
683
|
};
|
|
687
684
|
IRtcEngineImpl.prototype.preloadChannel = function (token, channelId, uid) {
|
|
688
685
|
var apiType = this.getApiTypeFromPreloadChannel(token, channelId, uid);
|
|
@@ -702,7 +699,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
702
699
|
return jsonResults.result;
|
|
703
700
|
};
|
|
704
701
|
IRtcEngineImpl.prototype.getApiTypeFromPreloadChannel = function (token, channelId, uid) {
|
|
705
|
-
return '
|
|
702
|
+
return 'RtcEngine_preloadChannel_a0779eb';
|
|
706
703
|
};
|
|
707
704
|
IRtcEngineImpl.prototype.preloadChannelWithUserAccount = function (token, channelId, userAccount) {
|
|
708
705
|
var apiType = this.getApiTypeFromPreloadChannelWithUserAccount(token, channelId, userAccount);
|
|
@@ -722,7 +719,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
722
719
|
return jsonResults.result;
|
|
723
720
|
};
|
|
724
721
|
IRtcEngineImpl.prototype.getApiTypeFromPreloadChannelWithUserAccount = function (token, channelId, userAccount) {
|
|
725
|
-
return '
|
|
722
|
+
return 'RtcEngine_preloadChannelWithUserAccount_0e4f59e';
|
|
726
723
|
};
|
|
727
724
|
IRtcEngineImpl.prototype.updatePreloadChannelToken = function (token) {
|
|
728
725
|
var apiType = this.getApiTypeFromUpdatePreloadChannelToken(token);
|
|
@@ -738,7 +735,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
738
735
|
return jsonResults.result;
|
|
739
736
|
};
|
|
740
737
|
IRtcEngineImpl.prototype.getApiTypeFromUpdatePreloadChannelToken = function (token) {
|
|
741
|
-
return '
|
|
738
|
+
return 'RtcEngine_updatePreloadChannelToken_3a2037f';
|
|
742
739
|
};
|
|
743
740
|
IRtcEngineImpl.prototype.joinChannel = function (token, channelId, uid, options) {
|
|
744
741
|
var apiType = this.getApiTypeFromJoinChannel(token, channelId, uid, options);
|
|
@@ -760,7 +757,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
760
757
|
return jsonResults.result;
|
|
761
758
|
};
|
|
762
759
|
IRtcEngineImpl.prototype.getApiTypeFromJoinChannel = function (token, channelId, uid, options) {
|
|
763
|
-
return '
|
|
760
|
+
return 'RtcEngine_joinChannel_cdbb747';
|
|
764
761
|
};
|
|
765
762
|
IRtcEngineImpl.prototype.updateChannelMediaOptions = function (options) {
|
|
766
763
|
var apiType = this.getApiTypeFromUpdateChannelMediaOptions(options);
|
|
@@ -776,7 +773,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
776
773
|
return jsonResults.result;
|
|
777
774
|
};
|
|
778
775
|
IRtcEngineImpl.prototype.getApiTypeFromUpdateChannelMediaOptions = function (options) {
|
|
779
|
-
return '
|
|
776
|
+
return 'RtcEngine_updateChannelMediaOptions_7bfc1d7';
|
|
780
777
|
};
|
|
781
778
|
IRtcEngineImpl.prototype.leaveChannel = function (options) {
|
|
782
779
|
var apiType = this.getApiTypeFromLeaveChannel(options);
|
|
@@ -792,7 +789,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
792
789
|
return jsonResults.result;
|
|
793
790
|
};
|
|
794
791
|
IRtcEngineImpl.prototype.getApiTypeFromLeaveChannel = function (options) {
|
|
795
|
-
return '
|
|
792
|
+
return 'RtcEngine_leaveChannel_2c0e3aa';
|
|
796
793
|
};
|
|
797
794
|
IRtcEngineImpl.prototype.renewToken = function (token) {
|
|
798
795
|
var apiType = this.getApiTypeFromRenewToken(token);
|
|
@@ -808,7 +805,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
808
805
|
return jsonResults.result;
|
|
809
806
|
};
|
|
810
807
|
IRtcEngineImpl.prototype.getApiTypeFromRenewToken = function (token) {
|
|
811
|
-
return '
|
|
808
|
+
return 'RtcEngine_renewToken_3a2037f';
|
|
812
809
|
};
|
|
813
810
|
IRtcEngineImpl.prototype.setChannelProfile = function (profile) {
|
|
814
811
|
var apiType = this.getApiTypeFromSetChannelProfile(profile);
|
|
@@ -824,7 +821,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
824
821
|
return jsonResults.result;
|
|
825
822
|
};
|
|
826
823
|
IRtcEngineImpl.prototype.getApiTypeFromSetChannelProfile = function (profile) {
|
|
827
|
-
return '
|
|
824
|
+
return 'RtcEngine_setChannelProfile_a78fa4f';
|
|
828
825
|
};
|
|
829
826
|
IRtcEngineImpl.prototype.setClientRole = function (role, options) {
|
|
830
827
|
var apiType = this.getApiTypeFromSetClientRole(role, options);
|
|
@@ -842,7 +839,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
842
839
|
return jsonResults.result;
|
|
843
840
|
};
|
|
844
841
|
IRtcEngineImpl.prototype.getApiTypeFromSetClientRole = function (role, options) {
|
|
845
|
-
return '
|
|
842
|
+
return 'RtcEngine_setClientRole_b46cc48';
|
|
846
843
|
};
|
|
847
844
|
IRtcEngineImpl.prototype.startEchoTest = function (config) {
|
|
848
845
|
var apiType = this.getApiTypeFromStartEchoTest(config);
|
|
@@ -858,7 +855,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
858
855
|
return jsonResults.result;
|
|
859
856
|
};
|
|
860
857
|
IRtcEngineImpl.prototype.getApiTypeFromStartEchoTest = function (config) {
|
|
861
|
-
return '
|
|
858
|
+
return 'RtcEngine_startEchoTest_16140d7';
|
|
862
859
|
};
|
|
863
860
|
IRtcEngineImpl.prototype.stopEchoTest = function () {
|
|
864
861
|
var apiType = this.getApiTypeFromStopEchoTest();
|
|
@@ -885,7 +882,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
885
882
|
return jsonResults.result;
|
|
886
883
|
};
|
|
887
884
|
IRtcEngineImpl.prototype.getApiTypeFromEnableMultiCamera = function (enabled, config) {
|
|
888
|
-
return '
|
|
885
|
+
return 'RtcEngine_enableMultiCamera_bffe023';
|
|
889
886
|
};
|
|
890
887
|
IRtcEngineImpl.prototype.enableVideo = function () {
|
|
891
888
|
var apiType = this.getApiTypeFromEnableVideo();
|
|
@@ -921,7 +918,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
921
918
|
};
|
|
922
919
|
IRtcEngineImpl.prototype.getApiTypeFromStartPreview = function (sourceType) {
|
|
923
920
|
if (sourceType === void 0) { sourceType = AgoraMediaBase_1.VideoSourceType.VideoSourceCameraPrimary; }
|
|
924
|
-
return '
|
|
921
|
+
return 'RtcEngine_startPreview_4fd718e';
|
|
925
922
|
};
|
|
926
923
|
IRtcEngineImpl.prototype.stopPreview = function (sourceType) {
|
|
927
924
|
if (sourceType === void 0) { sourceType = AgoraMediaBase_1.VideoSourceType.VideoSourceCameraPrimary; }
|
|
@@ -939,7 +936,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
939
936
|
};
|
|
940
937
|
IRtcEngineImpl.prototype.getApiTypeFromStopPreview = function (sourceType) {
|
|
941
938
|
if (sourceType === void 0) { sourceType = AgoraMediaBase_1.VideoSourceType.VideoSourceCameraPrimary; }
|
|
942
|
-
return '
|
|
939
|
+
return 'RtcEngine_stopPreview_4fd718e';
|
|
943
940
|
};
|
|
944
941
|
IRtcEngineImpl.prototype.startLastmileProbeTest = function (config) {
|
|
945
942
|
var apiType = this.getApiTypeFromStartLastmileProbeTest(config);
|
|
@@ -955,7 +952,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
955
952
|
return jsonResults.result;
|
|
956
953
|
};
|
|
957
954
|
IRtcEngineImpl.prototype.getApiTypeFromStartLastmileProbeTest = function (config) {
|
|
958
|
-
return '
|
|
955
|
+
return 'RtcEngine_startLastmileProbeTest_c4de423';
|
|
959
956
|
};
|
|
960
957
|
IRtcEngineImpl.prototype.stopLastmileProbeTest = function () {
|
|
961
958
|
var apiType = this.getApiTypeFromStopLastmileProbeTest();
|
|
@@ -980,7 +977,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
980
977
|
return jsonResults.result;
|
|
981
978
|
};
|
|
982
979
|
IRtcEngineImpl.prototype.getApiTypeFromSetVideoEncoderConfiguration = function (config) {
|
|
983
|
-
return '
|
|
980
|
+
return 'RtcEngine_setVideoEncoderConfiguration_89677d8';
|
|
984
981
|
};
|
|
985
982
|
IRtcEngineImpl.prototype.setBeautyEffectOptions = function (enabled, options, type) {
|
|
986
983
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
@@ -1002,7 +999,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1002
999
|
};
|
|
1003
1000
|
IRtcEngineImpl.prototype.getApiTypeFromSetBeautyEffectOptions = function (enabled, options, type) {
|
|
1004
1001
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
1005
|
-
return '
|
|
1002
|
+
return 'RtcEngine_setBeautyEffectOptions_e7635d1';
|
|
1006
1003
|
};
|
|
1007
1004
|
IRtcEngineImpl.prototype.setLowlightEnhanceOptions = function (enabled, options, type) {
|
|
1008
1005
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
@@ -1024,7 +1021,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1024
1021
|
};
|
|
1025
1022
|
IRtcEngineImpl.prototype.getApiTypeFromSetLowlightEnhanceOptions = function (enabled, options, type) {
|
|
1026
1023
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
1027
|
-
return '
|
|
1024
|
+
return 'RtcEngine_setLowlightEnhanceOptions_4f9f013';
|
|
1028
1025
|
};
|
|
1029
1026
|
IRtcEngineImpl.prototype.setVideoDenoiserOptions = function (enabled, options, type) {
|
|
1030
1027
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
@@ -1046,7 +1043,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1046
1043
|
};
|
|
1047
1044
|
IRtcEngineImpl.prototype.getApiTypeFromSetVideoDenoiserOptions = function (enabled, options, type) {
|
|
1048
1045
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
1049
|
-
return '
|
|
1046
|
+
return 'RtcEngine_setVideoDenoiserOptions_4e9fccc';
|
|
1050
1047
|
};
|
|
1051
1048
|
IRtcEngineImpl.prototype.setColorEnhanceOptions = function (enabled, options, type) {
|
|
1052
1049
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
@@ -1068,7 +1065,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1068
1065
|
};
|
|
1069
1066
|
IRtcEngineImpl.prototype.getApiTypeFromSetColorEnhanceOptions = function (enabled, options, type) {
|
|
1070
1067
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
1071
|
-
return '
|
|
1068
|
+
return 'RtcEngine_setColorEnhanceOptions_ecae2b3';
|
|
1072
1069
|
};
|
|
1073
1070
|
IRtcEngineImpl.prototype.enableVirtualBackground = function (enabled, backgroundSource, segproperty, type) {
|
|
1074
1071
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
@@ -1092,7 +1089,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1092
1089
|
};
|
|
1093
1090
|
IRtcEngineImpl.prototype.getApiTypeFromEnableVirtualBackground = function (enabled, backgroundSource, segproperty, type) {
|
|
1094
1091
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.PrimaryCameraSource; }
|
|
1095
|
-
return '
|
|
1092
|
+
return 'RtcEngine_enableVirtualBackground_6dd8ee4';
|
|
1096
1093
|
};
|
|
1097
1094
|
IRtcEngineImpl.prototype.setupRemoteVideo = function (canvas) {
|
|
1098
1095
|
var apiType = this.getApiTypeFromSetupRemoteVideo(canvas);
|
|
@@ -1108,7 +1105,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1108
1105
|
return jsonResults.result;
|
|
1109
1106
|
};
|
|
1110
1107
|
IRtcEngineImpl.prototype.getApiTypeFromSetupRemoteVideo = function (canvas) {
|
|
1111
|
-
return '
|
|
1108
|
+
return 'RtcEngine_setupRemoteVideo_acc9c38';
|
|
1112
1109
|
};
|
|
1113
1110
|
IRtcEngineImpl.prototype.setupLocalVideo = function (canvas) {
|
|
1114
1111
|
var apiType = this.getApiTypeFromSetupLocalVideo(canvas);
|
|
@@ -1124,7 +1121,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1124
1121
|
return jsonResults.result;
|
|
1125
1122
|
};
|
|
1126
1123
|
IRtcEngineImpl.prototype.getApiTypeFromSetupLocalVideo = function (canvas) {
|
|
1127
|
-
return '
|
|
1124
|
+
return 'RtcEngine_setupLocalVideo_acc9c38';
|
|
1128
1125
|
};
|
|
1129
1126
|
IRtcEngineImpl.prototype.setVideoScenario = function (scenarioType) {
|
|
1130
1127
|
var apiType = this.getApiTypeFromSetVideoScenario(scenarioType);
|
|
@@ -1140,7 +1137,23 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1140
1137
|
return jsonResults.result;
|
|
1141
1138
|
};
|
|
1142
1139
|
IRtcEngineImpl.prototype.getApiTypeFromSetVideoScenario = function (scenarioType) {
|
|
1143
|
-
return '
|
|
1140
|
+
return 'RtcEngine_setVideoScenario_c02cd1c';
|
|
1141
|
+
};
|
|
1142
|
+
IRtcEngineImpl.prototype.setVideoQoEPreference = function (qoePreference) {
|
|
1143
|
+
var apiType = this.getApiTypeFromSetVideoQoEPreference(qoePreference);
|
|
1144
|
+
var jsonParams = {
|
|
1145
|
+
qoePreference: qoePreference,
|
|
1146
|
+
toJSON: function () {
|
|
1147
|
+
return {
|
|
1148
|
+
qoePreference: qoePreference,
|
|
1149
|
+
};
|
|
1150
|
+
},
|
|
1151
|
+
};
|
|
1152
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
1153
|
+
return jsonResults.result;
|
|
1154
|
+
};
|
|
1155
|
+
IRtcEngineImpl.prototype.getApiTypeFromSetVideoQoEPreference = function (qoePreference) {
|
|
1156
|
+
return 'RtcEngine_setVideoQoEPreference_c4a3d9f';
|
|
1144
1157
|
};
|
|
1145
1158
|
IRtcEngineImpl.prototype.enableAudio = function () {
|
|
1146
1159
|
var apiType = this.getApiTypeFromEnableAudio();
|
|
@@ -1178,7 +1191,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1178
1191
|
};
|
|
1179
1192
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioProfile = function (profile, scenario) {
|
|
1180
1193
|
if (scenario === void 0) { scenario = AgoraBase_1.AudioScenarioType.AudioScenarioDefault; }
|
|
1181
|
-
return '
|
|
1194
|
+
return 'RtcEngine_setAudioProfile_d944543';
|
|
1182
1195
|
};
|
|
1183
1196
|
IRtcEngineImpl.prototype.setAudioScenario = function (scenario) {
|
|
1184
1197
|
var apiType = this.getApiTypeFromSetAudioScenario(scenario);
|
|
@@ -1194,7 +1207,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1194
1207
|
return jsonResults.result;
|
|
1195
1208
|
};
|
|
1196
1209
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioScenario = function (scenario) {
|
|
1197
|
-
return '
|
|
1210
|
+
return 'RtcEngine_setAudioScenario_c36f5c1';
|
|
1198
1211
|
};
|
|
1199
1212
|
IRtcEngineImpl.prototype.enableLocalAudio = function (enabled) {
|
|
1200
1213
|
var apiType = this.getApiTypeFromEnableLocalAudio(enabled);
|
|
@@ -1210,7 +1223,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1210
1223
|
return jsonResults.result;
|
|
1211
1224
|
};
|
|
1212
1225
|
IRtcEngineImpl.prototype.getApiTypeFromEnableLocalAudio = function (enabled) {
|
|
1213
|
-
return '
|
|
1226
|
+
return 'RtcEngine_enableLocalAudio_5039d15';
|
|
1214
1227
|
};
|
|
1215
1228
|
IRtcEngineImpl.prototype.muteLocalAudioStream = function (mute) {
|
|
1216
1229
|
var apiType = this.getApiTypeFromMuteLocalAudioStream(mute);
|
|
@@ -1226,7 +1239,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1226
1239
|
return jsonResults.result;
|
|
1227
1240
|
};
|
|
1228
1241
|
IRtcEngineImpl.prototype.getApiTypeFromMuteLocalAudioStream = function (mute) {
|
|
1229
|
-
return '
|
|
1242
|
+
return 'RtcEngine_muteLocalAudioStream_5039d15';
|
|
1230
1243
|
};
|
|
1231
1244
|
IRtcEngineImpl.prototype.muteAllRemoteAudioStreams = function (mute) {
|
|
1232
1245
|
var apiType = this.getApiTypeFromMuteAllRemoteAudioStreams(mute);
|
|
@@ -1242,7 +1255,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1242
1255
|
return jsonResults.result;
|
|
1243
1256
|
};
|
|
1244
1257
|
IRtcEngineImpl.prototype.getApiTypeFromMuteAllRemoteAudioStreams = function (mute) {
|
|
1245
|
-
return '
|
|
1258
|
+
return 'RtcEngine_muteAllRemoteAudioStreams_5039d15';
|
|
1246
1259
|
};
|
|
1247
1260
|
IRtcEngineImpl.prototype.setDefaultMuteAllRemoteAudioStreams = function (mute) {
|
|
1248
1261
|
var apiType = this.getApiTypeFromSetDefaultMuteAllRemoteAudioStreams(mute);
|
|
@@ -1258,7 +1271,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1258
1271
|
return jsonResults.result;
|
|
1259
1272
|
};
|
|
1260
1273
|
IRtcEngineImpl.prototype.getApiTypeFromSetDefaultMuteAllRemoteAudioStreams = function (mute) {
|
|
1261
|
-
return '
|
|
1274
|
+
return 'RtcEngine_setDefaultMuteAllRemoteAudioStreams_5039d15';
|
|
1262
1275
|
};
|
|
1263
1276
|
IRtcEngineImpl.prototype.muteRemoteAudioStream = function (uid, mute) {
|
|
1264
1277
|
var apiType = this.getApiTypeFromMuteRemoteAudioStream(uid, mute);
|
|
@@ -1276,7 +1289,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1276
1289
|
return jsonResults.result;
|
|
1277
1290
|
};
|
|
1278
1291
|
IRtcEngineImpl.prototype.getApiTypeFromMuteRemoteAudioStream = function (uid, mute) {
|
|
1279
|
-
return '
|
|
1292
|
+
return 'RtcEngine_muteRemoteAudioStream_dbdc15a';
|
|
1280
1293
|
};
|
|
1281
1294
|
IRtcEngineImpl.prototype.muteLocalVideoStream = function (mute) {
|
|
1282
1295
|
var apiType = this.getApiTypeFromMuteLocalVideoStream(mute);
|
|
@@ -1292,7 +1305,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1292
1305
|
return jsonResults.result;
|
|
1293
1306
|
};
|
|
1294
1307
|
IRtcEngineImpl.prototype.getApiTypeFromMuteLocalVideoStream = function (mute) {
|
|
1295
|
-
return '
|
|
1308
|
+
return 'RtcEngine_muteLocalVideoStream_5039d15';
|
|
1296
1309
|
};
|
|
1297
1310
|
IRtcEngineImpl.prototype.enableLocalVideo = function (enabled) {
|
|
1298
1311
|
var apiType = this.getApiTypeFromEnableLocalVideo(enabled);
|
|
@@ -1308,7 +1321,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1308
1321
|
return jsonResults.result;
|
|
1309
1322
|
};
|
|
1310
1323
|
IRtcEngineImpl.prototype.getApiTypeFromEnableLocalVideo = function (enabled) {
|
|
1311
|
-
return '
|
|
1324
|
+
return 'RtcEngine_enableLocalVideo_5039d15';
|
|
1312
1325
|
};
|
|
1313
1326
|
IRtcEngineImpl.prototype.muteAllRemoteVideoStreams = function (mute) {
|
|
1314
1327
|
var apiType = this.getApiTypeFromMuteAllRemoteVideoStreams(mute);
|
|
@@ -1324,7 +1337,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1324
1337
|
return jsonResults.result;
|
|
1325
1338
|
};
|
|
1326
1339
|
IRtcEngineImpl.prototype.getApiTypeFromMuteAllRemoteVideoStreams = function (mute) {
|
|
1327
|
-
return '
|
|
1340
|
+
return 'RtcEngine_muteAllRemoteVideoStreams_5039d15';
|
|
1328
1341
|
};
|
|
1329
1342
|
IRtcEngineImpl.prototype.setDefaultMuteAllRemoteVideoStreams = function (mute) {
|
|
1330
1343
|
var apiType = this.getApiTypeFromSetDefaultMuteAllRemoteVideoStreams(mute);
|
|
@@ -1340,7 +1353,23 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1340
1353
|
return jsonResults.result;
|
|
1341
1354
|
};
|
|
1342
1355
|
IRtcEngineImpl.prototype.getApiTypeFromSetDefaultMuteAllRemoteVideoStreams = function (mute) {
|
|
1343
|
-
return '
|
|
1356
|
+
return 'RtcEngine_setDefaultMuteAllRemoteVideoStreams_5039d15';
|
|
1357
|
+
};
|
|
1358
|
+
IRtcEngineImpl.prototype.setRemoteDefaultVideoStreamType = function (streamType) {
|
|
1359
|
+
var apiType = this.getApiTypeFromSetRemoteDefaultVideoStreamType(streamType);
|
|
1360
|
+
var jsonParams = {
|
|
1361
|
+
streamType: streamType,
|
|
1362
|
+
toJSON: function () {
|
|
1363
|
+
return {
|
|
1364
|
+
streamType: streamType,
|
|
1365
|
+
};
|
|
1366
|
+
},
|
|
1367
|
+
};
|
|
1368
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
1369
|
+
return jsonResults.result;
|
|
1370
|
+
};
|
|
1371
|
+
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteDefaultVideoStreamType = function (streamType) {
|
|
1372
|
+
return 'RtcEngine_setRemoteDefaultVideoStreamType_5a94eb0';
|
|
1344
1373
|
};
|
|
1345
1374
|
IRtcEngineImpl.prototype.muteRemoteVideoStream = function (uid, mute) {
|
|
1346
1375
|
var apiType = this.getApiTypeFromMuteRemoteVideoStream(uid, mute);
|
|
@@ -1358,7 +1387,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1358
1387
|
return jsonResults.result;
|
|
1359
1388
|
};
|
|
1360
1389
|
IRtcEngineImpl.prototype.getApiTypeFromMuteRemoteVideoStream = function (uid, mute) {
|
|
1361
|
-
return '
|
|
1390
|
+
return 'RtcEngine_muteRemoteVideoStream_dbdc15a';
|
|
1362
1391
|
};
|
|
1363
1392
|
IRtcEngineImpl.prototype.setRemoteVideoStreamType = function (uid, streamType) {
|
|
1364
1393
|
var apiType = this.getApiTypeFromSetRemoteVideoStreamType(uid, streamType);
|
|
@@ -1376,7 +1405,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1376
1405
|
return jsonResults.result;
|
|
1377
1406
|
};
|
|
1378
1407
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteVideoStreamType = function (uid, streamType) {
|
|
1379
|
-
return '
|
|
1408
|
+
return 'RtcEngine_setRemoteVideoStreamType_9e6406e';
|
|
1380
1409
|
};
|
|
1381
1410
|
IRtcEngineImpl.prototype.setRemoteVideoSubscriptionOptions = function (uid, options) {
|
|
1382
1411
|
var apiType = this.getApiTypeFromSetRemoteVideoSubscriptionOptions(uid, options);
|
|
@@ -1394,23 +1423,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1394
1423
|
return jsonResults.result;
|
|
1395
1424
|
};
|
|
1396
1425
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteVideoSubscriptionOptions = function (uid, options) {
|
|
1397
|
-
return '
|
|
1398
|
-
};
|
|
1399
|
-
IRtcEngineImpl.prototype.setRemoteDefaultVideoStreamType = function (streamType) {
|
|
1400
|
-
var apiType = this.getApiTypeFromSetRemoteDefaultVideoStreamType(streamType);
|
|
1401
|
-
var jsonParams = {
|
|
1402
|
-
streamType: streamType,
|
|
1403
|
-
toJSON: function () {
|
|
1404
|
-
return {
|
|
1405
|
-
streamType: streamType,
|
|
1406
|
-
};
|
|
1407
|
-
},
|
|
1408
|
-
};
|
|
1409
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
1410
|
-
return jsonResults.result;
|
|
1411
|
-
};
|
|
1412
|
-
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteDefaultVideoStreamType = function (streamType) {
|
|
1413
|
-
return 'RtcEngine_setRemoteDefaultVideoStreamType';
|
|
1426
|
+
return 'RtcEngine_setRemoteVideoSubscriptionOptions_0b6b258';
|
|
1414
1427
|
};
|
|
1415
1428
|
IRtcEngineImpl.prototype.setSubscribeAudioBlocklist = function (uidList, uidNumber) {
|
|
1416
1429
|
var apiType = this.getApiTypeFromSetSubscribeAudioBlocklist(uidList, uidNumber);
|
|
@@ -1428,7 +1441,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1428
1441
|
return jsonResults.result;
|
|
1429
1442
|
};
|
|
1430
1443
|
IRtcEngineImpl.prototype.getApiTypeFromSetSubscribeAudioBlocklist = function (uidList, uidNumber) {
|
|
1431
|
-
return '
|
|
1444
|
+
return 'RtcEngine_setSubscribeAudioBlocklist_2d31fd5';
|
|
1432
1445
|
};
|
|
1433
1446
|
IRtcEngineImpl.prototype.setSubscribeAudioAllowlist = function (uidList, uidNumber) {
|
|
1434
1447
|
var apiType = this.getApiTypeFromSetSubscribeAudioAllowlist(uidList, uidNumber);
|
|
@@ -1446,7 +1459,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1446
1459
|
return jsonResults.result;
|
|
1447
1460
|
};
|
|
1448
1461
|
IRtcEngineImpl.prototype.getApiTypeFromSetSubscribeAudioAllowlist = function (uidList, uidNumber) {
|
|
1449
|
-
return '
|
|
1462
|
+
return 'RtcEngine_setSubscribeAudioAllowlist_2d31fd5';
|
|
1450
1463
|
};
|
|
1451
1464
|
IRtcEngineImpl.prototype.setSubscribeVideoBlocklist = function (uidList, uidNumber) {
|
|
1452
1465
|
var apiType = this.getApiTypeFromSetSubscribeVideoBlocklist(uidList, uidNumber);
|
|
@@ -1464,7 +1477,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1464
1477
|
return jsonResults.result;
|
|
1465
1478
|
};
|
|
1466
1479
|
IRtcEngineImpl.prototype.getApiTypeFromSetSubscribeVideoBlocklist = function (uidList, uidNumber) {
|
|
1467
|
-
return '
|
|
1480
|
+
return 'RtcEngine_setSubscribeVideoBlocklist_2d31fd5';
|
|
1468
1481
|
};
|
|
1469
1482
|
IRtcEngineImpl.prototype.setSubscribeVideoAllowlist = function (uidList, uidNumber) {
|
|
1470
1483
|
var apiType = this.getApiTypeFromSetSubscribeVideoAllowlist(uidList, uidNumber);
|
|
@@ -1482,7 +1495,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1482
1495
|
return jsonResults.result;
|
|
1483
1496
|
};
|
|
1484
1497
|
IRtcEngineImpl.prototype.getApiTypeFromSetSubscribeVideoAllowlist = function (uidList, uidNumber) {
|
|
1485
|
-
return '
|
|
1498
|
+
return 'RtcEngine_setSubscribeVideoAllowlist_2d31fd5';
|
|
1486
1499
|
};
|
|
1487
1500
|
IRtcEngineImpl.prototype.enableAudioVolumeIndication = function (interval, smooth, reportVad) {
|
|
1488
1501
|
var apiType = this.getApiTypeFromEnableAudioVolumeIndication(interval, smooth, reportVad);
|
|
@@ -1502,7 +1515,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1502
1515
|
return jsonResults.result;
|
|
1503
1516
|
};
|
|
1504
1517
|
IRtcEngineImpl.prototype.getApiTypeFromEnableAudioVolumeIndication = function (interval, smooth, reportVad) {
|
|
1505
|
-
return '
|
|
1518
|
+
return 'RtcEngine_enableAudioVolumeIndication_39794a0';
|
|
1506
1519
|
};
|
|
1507
1520
|
IRtcEngineImpl.prototype.startAudioRecording = function (config) {
|
|
1508
1521
|
var apiType = this.getApiTypeFromStartAudioRecording(config);
|
|
@@ -1518,7 +1531,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1518
1531
|
return jsonResults.result;
|
|
1519
1532
|
};
|
|
1520
1533
|
IRtcEngineImpl.prototype.getApiTypeFromStartAudioRecording = function (config) {
|
|
1521
|
-
return '
|
|
1534
|
+
return 'RtcEngine_startAudioRecording_e32bb3b';
|
|
1522
1535
|
};
|
|
1523
1536
|
IRtcEngineImpl.prototype.registerAudioEncodedFrameObserver = function (config, observer) {
|
|
1524
1537
|
var apiType = this.getApiTypeFromRegisterAudioEncodedFrameObserver(config, observer);
|
|
@@ -1535,7 +1548,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1535
1548
|
return jsonResults.result;
|
|
1536
1549
|
};
|
|
1537
1550
|
IRtcEngineImpl.prototype.getApiTypeFromRegisterAudioEncodedFrameObserver = function (config, observer) {
|
|
1538
|
-
return '
|
|
1551
|
+
return 'RtcEngine_registerAudioEncodedFrameObserver_ed4a177';
|
|
1539
1552
|
};
|
|
1540
1553
|
IRtcEngineImpl.prototype.stopAudioRecording = function () {
|
|
1541
1554
|
var apiType = this.getApiTypeFromStopAudioRecording();
|
|
@@ -1567,7 +1580,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1567
1580
|
return jsonResults.result;
|
|
1568
1581
|
};
|
|
1569
1582
|
IRtcEngineImpl.prototype.getApiTypeFromDestroyMediaPlayer = function (mediaPlayer) {
|
|
1570
|
-
return '
|
|
1583
|
+
return 'RtcEngine_destroyMediaPlayer_328a49b';
|
|
1571
1584
|
};
|
|
1572
1585
|
IRtcEngineImpl.prototype.createMediaRecorder = function (info) {
|
|
1573
1586
|
var apiType = this.getApiTypeFromCreateMediaRecorder(info);
|
|
@@ -1583,7 +1596,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1583
1596
|
return jsonResults.result;
|
|
1584
1597
|
};
|
|
1585
1598
|
IRtcEngineImpl.prototype.getApiTypeFromCreateMediaRecorder = function (info) {
|
|
1586
|
-
return '
|
|
1599
|
+
return 'RtcEngine_createMediaRecorder_f779617';
|
|
1587
1600
|
};
|
|
1588
1601
|
IRtcEngineImpl.prototype.destroyMediaRecorder = function (mediaRecorder) {
|
|
1589
1602
|
var apiType = this.getApiTypeFromDestroyMediaRecorder(mediaRecorder);
|
|
@@ -1597,7 +1610,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1597
1610
|
return jsonResults.result;
|
|
1598
1611
|
};
|
|
1599
1612
|
IRtcEngineImpl.prototype.getApiTypeFromDestroyMediaRecorder = function (mediaRecorder) {
|
|
1600
|
-
return '
|
|
1613
|
+
return 'RtcEngine_destroyMediaRecorder_95cdef5';
|
|
1601
1614
|
};
|
|
1602
1615
|
IRtcEngineImpl.prototype.startAudioMixing = function (filePath, loopback, cycle, startPos) {
|
|
1603
1616
|
if (startPos === void 0) { startPos = 0; }
|
|
@@ -1621,7 +1634,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1621
1634
|
};
|
|
1622
1635
|
IRtcEngineImpl.prototype.getApiTypeFromStartAudioMixing = function (filePath, loopback, cycle, startPos) {
|
|
1623
1636
|
if (startPos === void 0) { startPos = 0; }
|
|
1624
|
-
return '
|
|
1637
|
+
return 'RtcEngine_startAudioMixing_1ee1b1e';
|
|
1625
1638
|
};
|
|
1626
1639
|
IRtcEngineImpl.prototype.stopAudioMixing = function () {
|
|
1627
1640
|
var apiType = this.getApiTypeFromStopAudioMixing();
|
|
@@ -1664,7 +1677,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1664
1677
|
return jsonResults.result;
|
|
1665
1678
|
};
|
|
1666
1679
|
IRtcEngineImpl.prototype.getApiTypeFromSelectAudioTrack = function (index) {
|
|
1667
|
-
return '
|
|
1680
|
+
return 'RtcEngine_selectAudioTrack_46f8ab7';
|
|
1668
1681
|
};
|
|
1669
1682
|
IRtcEngineImpl.prototype.getAudioTrackCount = function () {
|
|
1670
1683
|
var apiType = this.getApiTypeFromGetAudioTrackCount();
|
|
@@ -1689,7 +1702,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1689
1702
|
return jsonResults.result;
|
|
1690
1703
|
};
|
|
1691
1704
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustAudioMixingVolume = function (volume) {
|
|
1692
|
-
return '
|
|
1705
|
+
return 'RtcEngine_adjustAudioMixingVolume_46f8ab7';
|
|
1693
1706
|
};
|
|
1694
1707
|
IRtcEngineImpl.prototype.adjustAudioMixingPublishVolume = function (volume) {
|
|
1695
1708
|
var apiType = this.getApiTypeFromAdjustAudioMixingPublishVolume(volume);
|
|
@@ -1705,7 +1718,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1705
1718
|
return jsonResults.result;
|
|
1706
1719
|
};
|
|
1707
1720
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustAudioMixingPublishVolume = function (volume) {
|
|
1708
|
-
return '
|
|
1721
|
+
return 'RtcEngine_adjustAudioMixingPublishVolume_46f8ab7';
|
|
1709
1722
|
};
|
|
1710
1723
|
IRtcEngineImpl.prototype.getAudioMixingPublishVolume = function () {
|
|
1711
1724
|
var apiType = this.getApiTypeFromGetAudioMixingPublishVolume();
|
|
@@ -1730,7 +1743,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1730
1743
|
return jsonResults.result;
|
|
1731
1744
|
};
|
|
1732
1745
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustAudioMixingPlayoutVolume = function (volume) {
|
|
1733
|
-
return '
|
|
1746
|
+
return 'RtcEngine_adjustAudioMixingPlayoutVolume_46f8ab7';
|
|
1734
1747
|
};
|
|
1735
1748
|
IRtcEngineImpl.prototype.getAudioMixingPlayoutVolume = function () {
|
|
1736
1749
|
var apiType = this.getApiTypeFromGetAudioMixingPlayoutVolume();
|
|
@@ -1773,7 +1786,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1773
1786
|
return jsonResults.result;
|
|
1774
1787
|
};
|
|
1775
1788
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioMixingPosition = function (pos) {
|
|
1776
|
-
return '
|
|
1789
|
+
return 'RtcEngine_setAudioMixingPosition_46f8ab7';
|
|
1777
1790
|
};
|
|
1778
1791
|
IRtcEngineImpl.prototype.setAudioMixingDualMonoMode = function (mode) {
|
|
1779
1792
|
var apiType = this.getApiTypeFromSetAudioMixingDualMonoMode(mode);
|
|
@@ -1789,7 +1802,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1789
1802
|
return jsonResults.result;
|
|
1790
1803
|
};
|
|
1791
1804
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioMixingDualMonoMode = function (mode) {
|
|
1792
|
-
return '
|
|
1805
|
+
return 'RtcEngine_setAudioMixingDualMonoMode_38a5515';
|
|
1793
1806
|
};
|
|
1794
1807
|
IRtcEngineImpl.prototype.setAudioMixingPitch = function (pitch) {
|
|
1795
1808
|
var apiType = this.getApiTypeFromSetAudioMixingPitch(pitch);
|
|
@@ -1805,7 +1818,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1805
1818
|
return jsonResults.result;
|
|
1806
1819
|
};
|
|
1807
1820
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioMixingPitch = function (pitch) {
|
|
1808
|
-
return '
|
|
1821
|
+
return 'RtcEngine_setAudioMixingPitch_46f8ab7';
|
|
1809
1822
|
};
|
|
1810
1823
|
IRtcEngineImpl.prototype.getEffectsVolume = function () {
|
|
1811
1824
|
var apiType = this.getApiTypeFromGetEffectsVolume();
|
|
@@ -1830,7 +1843,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1830
1843
|
return jsonResults.result;
|
|
1831
1844
|
};
|
|
1832
1845
|
IRtcEngineImpl.prototype.getApiTypeFromSetEffectsVolume = function (volume) {
|
|
1833
|
-
return '
|
|
1846
|
+
return 'RtcEngine_setEffectsVolume_46f8ab7';
|
|
1834
1847
|
};
|
|
1835
1848
|
IRtcEngineImpl.prototype.preloadEffect = function (soundId, filePath, startPos) {
|
|
1836
1849
|
if (startPos === void 0) { startPos = 0; }
|
|
@@ -1852,7 +1865,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1852
1865
|
};
|
|
1853
1866
|
IRtcEngineImpl.prototype.getApiTypeFromPreloadEffect = function (soundId, filePath, startPos) {
|
|
1854
1867
|
if (startPos === void 0) { startPos = 0; }
|
|
1855
|
-
return '
|
|
1868
|
+
return 'RtcEngine_preloadEffect_282ba8c';
|
|
1856
1869
|
};
|
|
1857
1870
|
IRtcEngineImpl.prototype.playEffect = function (soundId, filePath, loopCount, pitch, pan, gain, publish, startPos) {
|
|
1858
1871
|
if (publish === void 0) { publish = false; }
|
|
@@ -1886,7 +1899,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1886
1899
|
IRtcEngineImpl.prototype.getApiTypeFromPlayEffect = function (soundId, filePath, loopCount, pitch, pan, gain, publish, startPos) {
|
|
1887
1900
|
if (publish === void 0) { publish = false; }
|
|
1888
1901
|
if (startPos === void 0) { startPos = 0; }
|
|
1889
|
-
return '
|
|
1902
|
+
return 'RtcEngine_playEffect_531a783';
|
|
1890
1903
|
};
|
|
1891
1904
|
IRtcEngineImpl.prototype.playAllEffects = function (loopCount, pitch, pan, gain, publish) {
|
|
1892
1905
|
if (publish === void 0) { publish = false; }
|
|
@@ -1912,7 +1925,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1912
1925
|
};
|
|
1913
1926
|
IRtcEngineImpl.prototype.getApiTypeFromPlayAllEffects = function (loopCount, pitch, pan, gain, publish) {
|
|
1914
1927
|
if (publish === void 0) { publish = false; }
|
|
1915
|
-
return '
|
|
1928
|
+
return 'RtcEngine_playAllEffects_20d7df2';
|
|
1916
1929
|
};
|
|
1917
1930
|
IRtcEngineImpl.prototype.getVolumeOfEffect = function (soundId) {
|
|
1918
1931
|
var apiType = this.getApiTypeFromGetVolumeOfEffect(soundId);
|
|
@@ -1928,7 +1941,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1928
1941
|
return jsonResults.result;
|
|
1929
1942
|
};
|
|
1930
1943
|
IRtcEngineImpl.prototype.getApiTypeFromGetVolumeOfEffect = function (soundId) {
|
|
1931
|
-
return '
|
|
1944
|
+
return 'RtcEngine_getVolumeOfEffect_46f8ab7';
|
|
1932
1945
|
};
|
|
1933
1946
|
IRtcEngineImpl.prototype.setVolumeOfEffect = function (soundId, volume) {
|
|
1934
1947
|
var apiType = this.getApiTypeFromSetVolumeOfEffect(soundId, volume);
|
|
@@ -1946,7 +1959,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1946
1959
|
return jsonResults.result;
|
|
1947
1960
|
};
|
|
1948
1961
|
IRtcEngineImpl.prototype.getApiTypeFromSetVolumeOfEffect = function (soundId, volume) {
|
|
1949
|
-
return '
|
|
1962
|
+
return 'RtcEngine_setVolumeOfEffect_4e92b3c';
|
|
1950
1963
|
};
|
|
1951
1964
|
IRtcEngineImpl.prototype.pauseEffect = function (soundId) {
|
|
1952
1965
|
var apiType = this.getApiTypeFromPauseEffect(soundId);
|
|
@@ -1962,7 +1975,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1962
1975
|
return jsonResults.result;
|
|
1963
1976
|
};
|
|
1964
1977
|
IRtcEngineImpl.prototype.getApiTypeFromPauseEffect = function (soundId) {
|
|
1965
|
-
return '
|
|
1978
|
+
return 'RtcEngine_pauseEffect_46f8ab7';
|
|
1966
1979
|
};
|
|
1967
1980
|
IRtcEngineImpl.prototype.pauseAllEffects = function () {
|
|
1968
1981
|
var apiType = this.getApiTypeFromPauseAllEffects();
|
|
@@ -1987,7 +2000,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
1987
2000
|
return jsonResults.result;
|
|
1988
2001
|
};
|
|
1989
2002
|
IRtcEngineImpl.prototype.getApiTypeFromResumeEffect = function (soundId) {
|
|
1990
|
-
return '
|
|
2003
|
+
return 'RtcEngine_resumeEffect_46f8ab7';
|
|
1991
2004
|
};
|
|
1992
2005
|
IRtcEngineImpl.prototype.resumeAllEffects = function () {
|
|
1993
2006
|
var apiType = this.getApiTypeFromResumeAllEffects();
|
|
@@ -2012,7 +2025,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2012
2025
|
return jsonResults.result;
|
|
2013
2026
|
};
|
|
2014
2027
|
IRtcEngineImpl.prototype.getApiTypeFromStopEffect = function (soundId) {
|
|
2015
|
-
return '
|
|
2028
|
+
return 'RtcEngine_stopEffect_46f8ab7';
|
|
2016
2029
|
};
|
|
2017
2030
|
IRtcEngineImpl.prototype.stopAllEffects = function () {
|
|
2018
2031
|
var apiType = this.getApiTypeFromStopAllEffects();
|
|
@@ -2037,7 +2050,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2037
2050
|
return jsonResults.result;
|
|
2038
2051
|
};
|
|
2039
2052
|
IRtcEngineImpl.prototype.getApiTypeFromUnloadEffect = function (soundId) {
|
|
2040
|
-
return '
|
|
2053
|
+
return 'RtcEngine_unloadEffect_46f8ab7';
|
|
2041
2054
|
};
|
|
2042
2055
|
IRtcEngineImpl.prototype.unloadAllEffects = function () {
|
|
2043
2056
|
var apiType = this.getApiTypeFromUnloadAllEffects();
|
|
@@ -2062,7 +2075,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2062
2075
|
return jsonResults.result;
|
|
2063
2076
|
};
|
|
2064
2077
|
IRtcEngineImpl.prototype.getApiTypeFromGetEffectDuration = function (filePath) {
|
|
2065
|
-
return '
|
|
2078
|
+
return 'RtcEngine_getEffectDuration_3a2037f';
|
|
2066
2079
|
};
|
|
2067
2080
|
IRtcEngineImpl.prototype.setEffectPosition = function (soundId, pos) {
|
|
2068
2081
|
var apiType = this.getApiTypeFromSetEffectPosition(soundId, pos);
|
|
@@ -2080,7 +2093,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2080
2093
|
return jsonResults.result;
|
|
2081
2094
|
};
|
|
2082
2095
|
IRtcEngineImpl.prototype.getApiTypeFromSetEffectPosition = function (soundId, pos) {
|
|
2083
|
-
return '
|
|
2096
|
+
return 'RtcEngine_setEffectPosition_4e92b3c';
|
|
2084
2097
|
};
|
|
2085
2098
|
IRtcEngineImpl.prototype.getEffectCurrentPosition = function (soundId) {
|
|
2086
2099
|
var apiType = this.getApiTypeFromGetEffectCurrentPosition(soundId);
|
|
@@ -2096,7 +2109,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2096
2109
|
return jsonResults.result;
|
|
2097
2110
|
};
|
|
2098
2111
|
IRtcEngineImpl.prototype.getApiTypeFromGetEffectCurrentPosition = function (soundId) {
|
|
2099
|
-
return '
|
|
2112
|
+
return 'RtcEngine_getEffectCurrentPosition_46f8ab7';
|
|
2100
2113
|
};
|
|
2101
2114
|
IRtcEngineImpl.prototype.enableSoundPositionIndication = function (enabled) {
|
|
2102
2115
|
var apiType = this.getApiTypeFromEnableSoundPositionIndication(enabled);
|
|
@@ -2112,7 +2125,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2112
2125
|
return jsonResults.result;
|
|
2113
2126
|
};
|
|
2114
2127
|
IRtcEngineImpl.prototype.getApiTypeFromEnableSoundPositionIndication = function (enabled) {
|
|
2115
|
-
return '
|
|
2128
|
+
return 'RtcEngine_enableSoundPositionIndication_5039d15';
|
|
2116
2129
|
};
|
|
2117
2130
|
IRtcEngineImpl.prototype.setRemoteVoicePosition = function (uid, pan, gain) {
|
|
2118
2131
|
var apiType = this.getApiTypeFromSetRemoteVoicePosition(uid, pan, gain);
|
|
@@ -2132,7 +2145,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2132
2145
|
return jsonResults.result;
|
|
2133
2146
|
};
|
|
2134
2147
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteVoicePosition = function (uid, pan, gain) {
|
|
2135
|
-
return '
|
|
2148
|
+
return 'RtcEngine_setRemoteVoicePosition_250b42d';
|
|
2136
2149
|
};
|
|
2137
2150
|
IRtcEngineImpl.prototype.enableSpatialAudio = function (enabled) {
|
|
2138
2151
|
var apiType = this.getApiTypeFromEnableSpatialAudio(enabled);
|
|
@@ -2148,7 +2161,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2148
2161
|
return jsonResults.result;
|
|
2149
2162
|
};
|
|
2150
2163
|
IRtcEngineImpl.prototype.getApiTypeFromEnableSpatialAudio = function (enabled) {
|
|
2151
|
-
return '
|
|
2164
|
+
return 'RtcEngine_enableSpatialAudio_5039d15';
|
|
2152
2165
|
};
|
|
2153
2166
|
IRtcEngineImpl.prototype.setRemoteUserSpatialAudioParams = function (uid, params) {
|
|
2154
2167
|
var apiType = this.getApiTypeFromSetRemoteUserSpatialAudioParams(uid, params);
|
|
@@ -2166,7 +2179,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2166
2179
|
return jsonResults.result;
|
|
2167
2180
|
};
|
|
2168
2181
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteUserSpatialAudioParams = function (uid, params) {
|
|
2169
|
-
return '
|
|
2182
|
+
return 'RtcEngine_setRemoteUserSpatialAudioParams_65a7855';
|
|
2170
2183
|
};
|
|
2171
2184
|
IRtcEngineImpl.prototype.setVoiceBeautifierPreset = function (preset) {
|
|
2172
2185
|
var apiType = this.getApiTypeFromSetVoiceBeautifierPreset(preset);
|
|
@@ -2182,7 +2195,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2182
2195
|
return jsonResults.result;
|
|
2183
2196
|
};
|
|
2184
2197
|
IRtcEngineImpl.prototype.getApiTypeFromSetVoiceBeautifierPreset = function (preset) {
|
|
2185
|
-
return '
|
|
2198
|
+
return 'RtcEngine_setVoiceBeautifierPreset_4dd6319';
|
|
2186
2199
|
};
|
|
2187
2200
|
IRtcEngineImpl.prototype.setAudioEffectPreset = function (preset) {
|
|
2188
2201
|
var apiType = this.getApiTypeFromSetAudioEffectPreset(preset);
|
|
@@ -2198,7 +2211,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2198
2211
|
return jsonResults.result;
|
|
2199
2212
|
};
|
|
2200
2213
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioEffectPreset = function (preset) {
|
|
2201
|
-
return '
|
|
2214
|
+
return 'RtcEngine_setAudioEffectPreset_92ea92c';
|
|
2202
2215
|
};
|
|
2203
2216
|
IRtcEngineImpl.prototype.setVoiceConversionPreset = function (preset) {
|
|
2204
2217
|
var apiType = this.getApiTypeFromSetVoiceConversionPreset(preset);
|
|
@@ -2214,7 +2227,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2214
2227
|
return jsonResults.result;
|
|
2215
2228
|
};
|
|
2216
2229
|
IRtcEngineImpl.prototype.getApiTypeFromSetVoiceConversionPreset = function (preset) {
|
|
2217
|
-
return '
|
|
2230
|
+
return 'RtcEngine_setVoiceConversionPreset_d14ee73';
|
|
2218
2231
|
};
|
|
2219
2232
|
IRtcEngineImpl.prototype.setAudioEffectParameters = function (preset, param1, param2) {
|
|
2220
2233
|
var apiType = this.getApiTypeFromSetAudioEffectParameters(preset, param1, param2);
|
|
@@ -2234,7 +2247,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2234
2247
|
return jsonResults.result;
|
|
2235
2248
|
};
|
|
2236
2249
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioEffectParameters = function (preset, param1, param2) {
|
|
2237
|
-
return '
|
|
2250
|
+
return 'RtcEngine_setAudioEffectParameters_73bc670';
|
|
2238
2251
|
};
|
|
2239
2252
|
IRtcEngineImpl.prototype.setVoiceBeautifierParameters = function (preset, param1, param2) {
|
|
2240
2253
|
var apiType = this.getApiTypeFromSetVoiceBeautifierParameters(preset, param1, param2);
|
|
@@ -2254,7 +2267,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2254
2267
|
return jsonResults.result;
|
|
2255
2268
|
};
|
|
2256
2269
|
IRtcEngineImpl.prototype.getApiTypeFromSetVoiceBeautifierParameters = function (preset, param1, param2) {
|
|
2257
|
-
return '
|
|
2270
|
+
return 'RtcEngine_setVoiceBeautifierParameters_f3cf745';
|
|
2258
2271
|
};
|
|
2259
2272
|
IRtcEngineImpl.prototype.setVoiceConversionParameters = function (preset, param1, param2) {
|
|
2260
2273
|
var apiType = this.getApiTypeFromSetVoiceConversionParameters(preset, param1, param2);
|
|
@@ -2274,7 +2287,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2274
2287
|
return jsonResults.result;
|
|
2275
2288
|
};
|
|
2276
2289
|
IRtcEngineImpl.prototype.getApiTypeFromSetVoiceConversionParameters = function (preset, param1, param2) {
|
|
2277
|
-
return '
|
|
2290
|
+
return 'RtcEngine_setVoiceConversionParameters_2f5022e';
|
|
2278
2291
|
};
|
|
2279
2292
|
IRtcEngineImpl.prototype.setLocalVoicePitch = function (pitch) {
|
|
2280
2293
|
var apiType = this.getApiTypeFromSetLocalVoicePitch(pitch);
|
|
@@ -2290,7 +2303,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2290
2303
|
return jsonResults.result;
|
|
2291
2304
|
};
|
|
2292
2305
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalVoicePitch = function (pitch) {
|
|
2293
|
-
return '
|
|
2306
|
+
return 'RtcEngine_setLocalVoicePitch_bdb36bb';
|
|
2294
2307
|
};
|
|
2295
2308
|
IRtcEngineImpl.prototype.setLocalVoiceFormant = function (formantRatio) {
|
|
2296
2309
|
var apiType = this.getApiTypeFromSetLocalVoiceFormant(formantRatio);
|
|
@@ -2306,7 +2319,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2306
2319
|
return jsonResults.result;
|
|
2307
2320
|
};
|
|
2308
2321
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalVoiceFormant = function (formantRatio) {
|
|
2309
|
-
return '
|
|
2322
|
+
return 'RtcEngine_setLocalVoiceFormant_bdb36bb';
|
|
2310
2323
|
};
|
|
2311
2324
|
IRtcEngineImpl.prototype.setLocalVoiceEqualization = function (bandFrequency, bandGain) {
|
|
2312
2325
|
var apiType = this.getApiTypeFromSetLocalVoiceEqualization(bandFrequency, bandGain);
|
|
@@ -2324,7 +2337,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2324
2337
|
return jsonResults.result;
|
|
2325
2338
|
};
|
|
2326
2339
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalVoiceEqualization = function (bandFrequency, bandGain) {
|
|
2327
|
-
return '
|
|
2340
|
+
return 'RtcEngine_setLocalVoiceEqualization_d14012c';
|
|
2328
2341
|
};
|
|
2329
2342
|
IRtcEngineImpl.prototype.setLocalVoiceReverb = function (reverbKey, value) {
|
|
2330
2343
|
var apiType = this.getApiTypeFromSetLocalVoiceReverb(reverbKey, value);
|
|
@@ -2342,7 +2355,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2342
2355
|
return jsonResults.result;
|
|
2343
2356
|
};
|
|
2344
2357
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalVoiceReverb = function (reverbKey, value) {
|
|
2345
|
-
return '
|
|
2358
|
+
return 'RtcEngine_setLocalVoiceReverb_29c2013';
|
|
2346
2359
|
};
|
|
2347
2360
|
IRtcEngineImpl.prototype.setHeadphoneEQPreset = function (preset) {
|
|
2348
2361
|
var apiType = this.getApiTypeFromSetHeadphoneEQPreset(preset);
|
|
@@ -2358,7 +2371,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2358
2371
|
return jsonResults.result;
|
|
2359
2372
|
};
|
|
2360
2373
|
IRtcEngineImpl.prototype.getApiTypeFromSetHeadphoneEQPreset = function (preset) {
|
|
2361
|
-
return '
|
|
2374
|
+
return 'RtcEngine_setHeadphoneEQPreset_b679644';
|
|
2362
2375
|
};
|
|
2363
2376
|
IRtcEngineImpl.prototype.setHeadphoneEQParameters = function (lowGain, highGain) {
|
|
2364
2377
|
var apiType = this.getApiTypeFromSetHeadphoneEQParameters(lowGain, highGain);
|
|
@@ -2376,7 +2389,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2376
2389
|
return jsonResults.result;
|
|
2377
2390
|
};
|
|
2378
2391
|
IRtcEngineImpl.prototype.getApiTypeFromSetHeadphoneEQParameters = function (lowGain, highGain) {
|
|
2379
|
-
return '
|
|
2392
|
+
return 'RtcEngine_setHeadphoneEQParameters_4e92b3c';
|
|
2380
2393
|
};
|
|
2381
2394
|
IRtcEngineImpl.prototype.setLogFile = function (filePath) {
|
|
2382
2395
|
var apiType = this.getApiTypeFromSetLogFile(filePath);
|
|
@@ -2392,7 +2405,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2392
2405
|
return jsonResults.result;
|
|
2393
2406
|
};
|
|
2394
2407
|
IRtcEngineImpl.prototype.getApiTypeFromSetLogFile = function (filePath) {
|
|
2395
|
-
return '
|
|
2408
|
+
return 'RtcEngine_setLogFile_3a2037f';
|
|
2396
2409
|
};
|
|
2397
2410
|
IRtcEngineImpl.prototype.setLogFilter = function (filter) {
|
|
2398
2411
|
var apiType = this.getApiTypeFromSetLogFilter(filter);
|
|
@@ -2408,7 +2421,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2408
2421
|
return jsonResults.result;
|
|
2409
2422
|
};
|
|
2410
2423
|
IRtcEngineImpl.prototype.getApiTypeFromSetLogFilter = function (filter) {
|
|
2411
|
-
return '
|
|
2424
|
+
return 'RtcEngine_setLogFilter_2626ac7';
|
|
2412
2425
|
};
|
|
2413
2426
|
IRtcEngineImpl.prototype.setLogLevel = function (level) {
|
|
2414
2427
|
var apiType = this.getApiTypeFromSetLogLevel(level);
|
|
@@ -2424,7 +2437,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2424
2437
|
return jsonResults.result;
|
|
2425
2438
|
};
|
|
2426
2439
|
IRtcEngineImpl.prototype.getApiTypeFromSetLogLevel = function (level) {
|
|
2427
|
-
return '
|
|
2440
|
+
return 'RtcEngine_setLogLevel_f125d83';
|
|
2428
2441
|
};
|
|
2429
2442
|
IRtcEngineImpl.prototype.setLogFileSize = function (fileSizeInKBytes) {
|
|
2430
2443
|
var apiType = this.getApiTypeFromSetLogFileSize(fileSizeInKBytes);
|
|
@@ -2440,7 +2453,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2440
2453
|
return jsonResults.result;
|
|
2441
2454
|
};
|
|
2442
2455
|
IRtcEngineImpl.prototype.getApiTypeFromSetLogFileSize = function (fileSizeInKBytes) {
|
|
2443
|
-
return '
|
|
2456
|
+
return 'RtcEngine_setLogFileSize_2626ac7';
|
|
2444
2457
|
};
|
|
2445
2458
|
IRtcEngineImpl.prototype.uploadLogFile = function () {
|
|
2446
2459
|
var apiType = this.getApiTypeFromUploadLogFile();
|
|
@@ -2450,7 +2463,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2450
2463
|
return requestId;
|
|
2451
2464
|
};
|
|
2452
2465
|
IRtcEngineImpl.prototype.getApiTypeFromUploadLogFile = function () {
|
|
2453
|
-
return '
|
|
2466
|
+
return 'RtcEngine_uploadLogFile_66d4ecd';
|
|
2454
2467
|
};
|
|
2455
2468
|
IRtcEngineImpl.prototype.setLocalRenderMode = function (renderMode, mirrorMode) {
|
|
2456
2469
|
if (mirrorMode === void 0) { mirrorMode = AgoraBase_1.VideoMirrorModeType.VideoMirrorModeAuto; }
|
|
@@ -2470,7 +2483,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2470
2483
|
};
|
|
2471
2484
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalRenderMode = function (renderMode, mirrorMode) {
|
|
2472
2485
|
if (mirrorMode === void 0) { mirrorMode = AgoraBase_1.VideoMirrorModeType.VideoMirrorModeAuto; }
|
|
2473
|
-
return '
|
|
2486
|
+
return 'RtcEngine_setLocalRenderMode_cfb201b';
|
|
2474
2487
|
};
|
|
2475
2488
|
IRtcEngineImpl.prototype.setRemoteRenderMode = function (uid, renderMode, mirrorMode) {
|
|
2476
2489
|
var apiType = this.getApiTypeFromSetRemoteRenderMode(uid, renderMode, mirrorMode);
|
|
@@ -2490,7 +2503,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2490
2503
|
return jsonResults.result;
|
|
2491
2504
|
};
|
|
2492
2505
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteRenderMode = function (uid, renderMode, mirrorMode) {
|
|
2493
|
-
return '
|
|
2506
|
+
return 'RtcEngine_setRemoteRenderMode_6771ce0';
|
|
2494
2507
|
};
|
|
2495
2508
|
IRtcEngineImpl.prototype.setLocalVideoMirrorMode = function (mirrorMode) {
|
|
2496
2509
|
var apiType = this.getApiTypeFromSetLocalVideoMirrorMode(mirrorMode);
|
|
@@ -2506,7 +2519,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2506
2519
|
return jsonResults.result;
|
|
2507
2520
|
};
|
|
2508
2521
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalVideoMirrorMode = function (mirrorMode) {
|
|
2509
|
-
return '
|
|
2522
|
+
return 'RtcEngine_setLocalVideoMirrorMode_b8a6c69';
|
|
2510
2523
|
};
|
|
2511
2524
|
IRtcEngineImpl.prototype.enableDualStreamMode = function (enabled, streamConfig) {
|
|
2512
2525
|
var apiType = this.getApiTypeFromEnableDualStreamMode(enabled, streamConfig);
|
|
@@ -2524,7 +2537,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2524
2537
|
return jsonResults.result;
|
|
2525
2538
|
};
|
|
2526
2539
|
IRtcEngineImpl.prototype.getApiTypeFromEnableDualStreamMode = function (enabled, streamConfig) {
|
|
2527
|
-
return '
|
|
2540
|
+
return 'RtcEngine_enableDualStreamMode_9822d8a';
|
|
2528
2541
|
};
|
|
2529
2542
|
IRtcEngineImpl.prototype.setDualStreamMode = function (mode, streamConfig) {
|
|
2530
2543
|
var apiType = this.getApiTypeFromSetDualStreamMode(mode, streamConfig);
|
|
@@ -2542,7 +2555,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2542
2555
|
return jsonResults.result;
|
|
2543
2556
|
};
|
|
2544
2557
|
IRtcEngineImpl.prototype.getApiTypeFromSetDualStreamMode = function (mode, streamConfig) {
|
|
2545
|
-
return '
|
|
2558
|
+
return 'RtcEngine_setDualStreamMode_b3a4f6c';
|
|
2546
2559
|
};
|
|
2547
2560
|
IRtcEngineImpl.prototype.enableCustomAudioLocalPlayback = function (trackId, enabled) {
|
|
2548
2561
|
var apiType = this.getApiTypeFromEnableCustomAudioLocalPlayback(trackId, enabled);
|
|
@@ -2560,7 +2573,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2560
2573
|
return jsonResults.result;
|
|
2561
2574
|
};
|
|
2562
2575
|
IRtcEngineImpl.prototype.getApiTypeFromEnableCustomAudioLocalPlayback = function (trackId, enabled) {
|
|
2563
|
-
return '
|
|
2576
|
+
return 'RtcEngine_enableCustomAudioLocalPlayback_9566341';
|
|
2564
2577
|
};
|
|
2565
2578
|
IRtcEngineImpl.prototype.setRecordingAudioFrameParameters = function (sampleRate, channel, mode, samplesPerCall) {
|
|
2566
2579
|
var apiType = this.getApiTypeFromSetRecordingAudioFrameParameters(sampleRate, channel, mode, samplesPerCall);
|
|
@@ -2582,7 +2595,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2582
2595
|
return jsonResults.result;
|
|
2583
2596
|
};
|
|
2584
2597
|
IRtcEngineImpl.prototype.getApiTypeFromSetRecordingAudioFrameParameters = function (sampleRate, channel, mode, samplesPerCall) {
|
|
2585
|
-
return '
|
|
2598
|
+
return 'RtcEngine_setRecordingAudioFrameParameters_bd46d1d';
|
|
2586
2599
|
};
|
|
2587
2600
|
IRtcEngineImpl.prototype.setPlaybackAudioFrameParameters = function (sampleRate, channel, mode, samplesPerCall) {
|
|
2588
2601
|
var apiType = this.getApiTypeFromSetPlaybackAudioFrameParameters(sampleRate, channel, mode, samplesPerCall);
|
|
@@ -2604,7 +2617,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2604
2617
|
return jsonResults.result;
|
|
2605
2618
|
};
|
|
2606
2619
|
IRtcEngineImpl.prototype.getApiTypeFromSetPlaybackAudioFrameParameters = function (sampleRate, channel, mode, samplesPerCall) {
|
|
2607
|
-
return '
|
|
2620
|
+
return 'RtcEngine_setPlaybackAudioFrameParameters_bd46d1d';
|
|
2608
2621
|
};
|
|
2609
2622
|
IRtcEngineImpl.prototype.setMixedAudioFrameParameters = function (sampleRate, channel, samplesPerCall) {
|
|
2610
2623
|
var apiType = this.getApiTypeFromSetMixedAudioFrameParameters(sampleRate, channel, samplesPerCall);
|
|
@@ -2624,7 +2637,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2624
2637
|
return jsonResults.result;
|
|
2625
2638
|
};
|
|
2626
2639
|
IRtcEngineImpl.prototype.getApiTypeFromSetMixedAudioFrameParameters = function (sampleRate, channel, samplesPerCall) {
|
|
2627
|
-
return '
|
|
2640
|
+
return 'RtcEngine_setMixedAudioFrameParameters_ee7e270';
|
|
2628
2641
|
};
|
|
2629
2642
|
IRtcEngineImpl.prototype.setEarMonitoringAudioFrameParameters = function (sampleRate, channel, mode, samplesPerCall) {
|
|
2630
2643
|
var apiType = this.getApiTypeFromSetEarMonitoringAudioFrameParameters(sampleRate, channel, mode, samplesPerCall);
|
|
@@ -2646,7 +2659,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2646
2659
|
return jsonResults.result;
|
|
2647
2660
|
};
|
|
2648
2661
|
IRtcEngineImpl.prototype.getApiTypeFromSetEarMonitoringAudioFrameParameters = function (sampleRate, channel, mode, samplesPerCall) {
|
|
2649
|
-
return '
|
|
2662
|
+
return 'RtcEngine_setEarMonitoringAudioFrameParameters_bd46d1d';
|
|
2650
2663
|
};
|
|
2651
2664
|
IRtcEngineImpl.prototype.setPlaybackAudioFrameBeforeMixingParameters = function (sampleRate, channel) {
|
|
2652
2665
|
var apiType = this.getApiTypeFromSetPlaybackAudioFrameBeforeMixingParameters(sampleRate, channel);
|
|
@@ -2664,7 +2677,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2664
2677
|
return jsonResults.result;
|
|
2665
2678
|
};
|
|
2666
2679
|
IRtcEngineImpl.prototype.getApiTypeFromSetPlaybackAudioFrameBeforeMixingParameters = function (sampleRate, channel) {
|
|
2667
|
-
return '
|
|
2680
|
+
return 'RtcEngine_setPlaybackAudioFrameBeforeMixingParameters_4e92b3c';
|
|
2668
2681
|
};
|
|
2669
2682
|
IRtcEngineImpl.prototype.enableAudioSpectrumMonitor = function (intervalInMS) {
|
|
2670
2683
|
if (intervalInMS === void 0) { intervalInMS = 100; }
|
|
@@ -2682,7 +2695,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2682
2695
|
};
|
|
2683
2696
|
IRtcEngineImpl.prototype.getApiTypeFromEnableAudioSpectrumMonitor = function (intervalInMS) {
|
|
2684
2697
|
if (intervalInMS === void 0) { intervalInMS = 100; }
|
|
2685
|
-
return '
|
|
2698
|
+
return 'RtcEngine_enableAudioSpectrumMonitor_46f8ab7';
|
|
2686
2699
|
};
|
|
2687
2700
|
IRtcEngineImpl.prototype.disableAudioSpectrumMonitor = function () {
|
|
2688
2701
|
var apiType = this.getApiTypeFromDisableAudioSpectrumMonitor();
|
|
@@ -2705,7 +2718,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2705
2718
|
return jsonResults.result;
|
|
2706
2719
|
};
|
|
2707
2720
|
IRtcEngineImpl.prototype.getApiTypeFromRegisterAudioSpectrumObserver = function (observer) {
|
|
2708
|
-
return '
|
|
2721
|
+
return 'RtcEngine_registerAudioSpectrumObserver_0406ea7';
|
|
2709
2722
|
};
|
|
2710
2723
|
IRtcEngineImpl.prototype.unregisterAudioSpectrumObserver = function (observer) {
|
|
2711
2724
|
var apiType = this.getApiTypeFromUnregisterAudioSpectrumObserver(observer);
|
|
@@ -2719,7 +2732,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2719
2732
|
return jsonResults.result;
|
|
2720
2733
|
};
|
|
2721
2734
|
IRtcEngineImpl.prototype.getApiTypeFromUnregisterAudioSpectrumObserver = function (observer) {
|
|
2722
|
-
return '
|
|
2735
|
+
return 'RtcEngine_unregisterAudioSpectrumObserver_0406ea7';
|
|
2723
2736
|
};
|
|
2724
2737
|
IRtcEngineImpl.prototype.adjustRecordingSignalVolume = function (volume) {
|
|
2725
2738
|
var apiType = this.getApiTypeFromAdjustRecordingSignalVolume(volume);
|
|
@@ -2735,7 +2748,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2735
2748
|
return jsonResults.result;
|
|
2736
2749
|
};
|
|
2737
2750
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustRecordingSignalVolume = function (volume) {
|
|
2738
|
-
return '
|
|
2751
|
+
return 'RtcEngine_adjustRecordingSignalVolume_46f8ab7';
|
|
2739
2752
|
};
|
|
2740
2753
|
IRtcEngineImpl.prototype.muteRecordingSignal = function (mute) {
|
|
2741
2754
|
var apiType = this.getApiTypeFromMuteRecordingSignal(mute);
|
|
@@ -2751,7 +2764,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2751
2764
|
return jsonResults.result;
|
|
2752
2765
|
};
|
|
2753
2766
|
IRtcEngineImpl.prototype.getApiTypeFromMuteRecordingSignal = function (mute) {
|
|
2754
|
-
return '
|
|
2767
|
+
return 'RtcEngine_muteRecordingSignal_5039d15';
|
|
2755
2768
|
};
|
|
2756
2769
|
IRtcEngineImpl.prototype.adjustPlaybackSignalVolume = function (volume) {
|
|
2757
2770
|
var apiType = this.getApiTypeFromAdjustPlaybackSignalVolume(volume);
|
|
@@ -2767,7 +2780,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2767
2780
|
return jsonResults.result;
|
|
2768
2781
|
};
|
|
2769
2782
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustPlaybackSignalVolume = function (volume) {
|
|
2770
|
-
return '
|
|
2783
|
+
return 'RtcEngine_adjustPlaybackSignalVolume_46f8ab7';
|
|
2771
2784
|
};
|
|
2772
2785
|
IRtcEngineImpl.prototype.adjustUserPlaybackSignalVolume = function (uid, volume) {
|
|
2773
2786
|
var apiType = this.getApiTypeFromAdjustUserPlaybackSignalVolume(uid, volume);
|
|
@@ -2785,7 +2798,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2785
2798
|
return jsonResults.result;
|
|
2786
2799
|
};
|
|
2787
2800
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustUserPlaybackSignalVolume = function (uid, volume) {
|
|
2788
|
-
return '
|
|
2801
|
+
return 'RtcEngine_adjustUserPlaybackSignalVolume_88641bf';
|
|
2789
2802
|
};
|
|
2790
2803
|
IRtcEngineImpl.prototype.setLocalPublishFallbackOption = function (option) {
|
|
2791
2804
|
var apiType = this.getApiTypeFromSetLocalPublishFallbackOption(option);
|
|
@@ -2801,7 +2814,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2801
2814
|
return jsonResults.result;
|
|
2802
2815
|
};
|
|
2803
2816
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalPublishFallbackOption = function (option) {
|
|
2804
|
-
return '
|
|
2817
|
+
return 'RtcEngine_setLocalPublishFallbackOption_c29b788';
|
|
2805
2818
|
};
|
|
2806
2819
|
IRtcEngineImpl.prototype.setRemoteSubscribeFallbackOption = function (option) {
|
|
2807
2820
|
var apiType = this.getApiTypeFromSetRemoteSubscribeFallbackOption(option);
|
|
@@ -2817,7 +2830,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2817
2830
|
return jsonResults.result;
|
|
2818
2831
|
};
|
|
2819
2832
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteSubscribeFallbackOption = function (option) {
|
|
2820
|
-
return '
|
|
2833
|
+
return 'RtcEngine_setRemoteSubscribeFallbackOption_c29b788';
|
|
2821
2834
|
};
|
|
2822
2835
|
IRtcEngineImpl.prototype.setHighPriorityUserList = function (uidList, uidNum, option) {
|
|
2823
2836
|
var apiType = this.getApiTypeFromSetHighPriorityUserList(uidList, uidNum, option);
|
|
@@ -2837,7 +2850,86 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2837
2850
|
return jsonResults.result;
|
|
2838
2851
|
};
|
|
2839
2852
|
IRtcEngineImpl.prototype.getApiTypeFromSetHighPriorityUserList = function (uidList, uidNum, option) {
|
|
2840
|
-
return '
|
|
2853
|
+
return 'RtcEngine_setHighPriorityUserList_ab88726';
|
|
2854
|
+
};
|
|
2855
|
+
IRtcEngineImpl.prototype.enableExtension = function (provider, extension, enable, type) {
|
|
2856
|
+
if (enable === void 0) { enable = true; }
|
|
2857
|
+
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2858
|
+
var apiType = this.getApiTypeFromEnableExtension(provider, extension, enable, type);
|
|
2859
|
+
var jsonParams = {
|
|
2860
|
+
provider: provider,
|
|
2861
|
+
extension: extension,
|
|
2862
|
+
enable: enable,
|
|
2863
|
+
type: type,
|
|
2864
|
+
toJSON: function () {
|
|
2865
|
+
return {
|
|
2866
|
+
provider: provider,
|
|
2867
|
+
extension: extension,
|
|
2868
|
+
enable: enable,
|
|
2869
|
+
type: type,
|
|
2870
|
+
};
|
|
2871
|
+
},
|
|
2872
|
+
};
|
|
2873
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
2874
|
+
return jsonResults.result;
|
|
2875
|
+
};
|
|
2876
|
+
IRtcEngineImpl.prototype.getApiTypeFromEnableExtension = function (provider, extension, enable, type) {
|
|
2877
|
+
if (enable === void 0) { enable = true; }
|
|
2878
|
+
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2879
|
+
return 'RtcEngine_enableExtension_0b60a2c';
|
|
2880
|
+
};
|
|
2881
|
+
IRtcEngineImpl.prototype.setExtensionProperty = function (provider, extension, key, value, type) {
|
|
2882
|
+
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2883
|
+
var apiType = this.getApiTypeFromSetExtensionProperty(provider, extension, key, value, type);
|
|
2884
|
+
var jsonParams = {
|
|
2885
|
+
provider: provider,
|
|
2886
|
+
extension: extension,
|
|
2887
|
+
key: key,
|
|
2888
|
+
value: value,
|
|
2889
|
+
type: type,
|
|
2890
|
+
toJSON: function () {
|
|
2891
|
+
return {
|
|
2892
|
+
provider: provider,
|
|
2893
|
+
extension: extension,
|
|
2894
|
+
key: key,
|
|
2895
|
+
value: value,
|
|
2896
|
+
type: type,
|
|
2897
|
+
};
|
|
2898
|
+
},
|
|
2899
|
+
};
|
|
2900
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
2901
|
+
return jsonResults.result;
|
|
2902
|
+
};
|
|
2903
|
+
IRtcEngineImpl.prototype.getApiTypeFromSetExtensionProperty = function (provider, extension, key, value, type) {
|
|
2904
|
+
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2905
|
+
return 'RtcEngine_setExtensionProperty_520ac55';
|
|
2906
|
+
};
|
|
2907
|
+
IRtcEngineImpl.prototype.getExtensionProperty = function (provider, extension, key, bufLen, type) {
|
|
2908
|
+
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2909
|
+
var apiType = this.getApiTypeFromGetExtensionProperty(provider, extension, key, bufLen, type);
|
|
2910
|
+
var jsonParams = {
|
|
2911
|
+
provider: provider,
|
|
2912
|
+
extension: extension,
|
|
2913
|
+
key: key,
|
|
2914
|
+
buf_len: bufLen,
|
|
2915
|
+
type: type,
|
|
2916
|
+
toJSON: function () {
|
|
2917
|
+
return {
|
|
2918
|
+
provider: provider,
|
|
2919
|
+
extension: extension,
|
|
2920
|
+
key: key,
|
|
2921
|
+
buf_len: bufLen,
|
|
2922
|
+
type: type,
|
|
2923
|
+
};
|
|
2924
|
+
},
|
|
2925
|
+
};
|
|
2926
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
2927
|
+
var value = jsonResults.value;
|
|
2928
|
+
return value;
|
|
2929
|
+
};
|
|
2930
|
+
IRtcEngineImpl.prototype.getApiTypeFromGetExtensionProperty = function (provider, extension, key, bufLen, type) {
|
|
2931
|
+
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2932
|
+
return 'RtcEngine_getExtensionProperty_38c9723';
|
|
2841
2933
|
};
|
|
2842
2934
|
IRtcEngineImpl.prototype.enableLoopbackRecording = function (enabled, deviceName) {
|
|
2843
2935
|
var apiType = this.getApiTypeFromEnableLoopbackRecording(enabled, deviceName);
|
|
@@ -2855,7 +2947,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2855
2947
|
return jsonResults.result;
|
|
2856
2948
|
};
|
|
2857
2949
|
IRtcEngineImpl.prototype.getApiTypeFromEnableLoopbackRecording = function (enabled, deviceName) {
|
|
2858
|
-
return '
|
|
2950
|
+
return 'RtcEngine_enableLoopbackRecording_0b8eb79';
|
|
2859
2951
|
};
|
|
2860
2952
|
IRtcEngineImpl.prototype.adjustLoopbackSignalVolume = function (volume) {
|
|
2861
2953
|
var apiType = this.getApiTypeFromAdjustLoopbackSignalVolume(volume);
|
|
@@ -2871,7 +2963,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2871
2963
|
return jsonResults.result;
|
|
2872
2964
|
};
|
|
2873
2965
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustLoopbackSignalVolume = function (volume) {
|
|
2874
|
-
return '
|
|
2966
|
+
return 'RtcEngine_adjustLoopbackSignalVolume_46f8ab7';
|
|
2875
2967
|
};
|
|
2876
2968
|
IRtcEngineImpl.prototype.getLoopbackRecordingVolume = function () {
|
|
2877
2969
|
var apiType = this.getApiTypeFromGetLoopbackRecordingVolume();
|
|
@@ -2898,7 +2990,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2898
2990
|
return jsonResults.result;
|
|
2899
2991
|
};
|
|
2900
2992
|
IRtcEngineImpl.prototype.getApiTypeFromEnableInEarMonitoring = function (enabled, includeAudioFilters) {
|
|
2901
|
-
return '
|
|
2993
|
+
return 'RtcEngine_enableInEarMonitoring_077cf5f';
|
|
2902
2994
|
};
|
|
2903
2995
|
IRtcEngineImpl.prototype.setInEarMonitoringVolume = function (volume) {
|
|
2904
2996
|
var apiType = this.getApiTypeFromSetInEarMonitoringVolume(volume);
|
|
@@ -2914,7 +3006,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2914
3006
|
return jsonResults.result;
|
|
2915
3007
|
};
|
|
2916
3008
|
IRtcEngineImpl.prototype.getApiTypeFromSetInEarMonitoringVolume = function (volume) {
|
|
2917
|
-
return '
|
|
3009
|
+
return 'RtcEngine_setInEarMonitoringVolume_46f8ab7';
|
|
2918
3010
|
};
|
|
2919
3011
|
IRtcEngineImpl.prototype.loadExtensionProvider = function (path, unloadAfterUse) {
|
|
2920
3012
|
if (unloadAfterUse === void 0) { unloadAfterUse = false; }
|
|
@@ -2934,7 +3026,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2934
3026
|
};
|
|
2935
3027
|
IRtcEngineImpl.prototype.getApiTypeFromLoadExtensionProvider = function (path, unloadAfterUse) {
|
|
2936
3028
|
if (unloadAfterUse === void 0) { unloadAfterUse = false; }
|
|
2937
|
-
return '
|
|
3029
|
+
return 'RtcEngine_loadExtensionProvider_7a174df';
|
|
2938
3030
|
};
|
|
2939
3031
|
IRtcEngineImpl.prototype.setExtensionProviderProperty = function (provider, key, value) {
|
|
2940
3032
|
var apiType = this.getApiTypeFromSetExtensionProviderProperty(provider, key, value);
|
|
@@ -2954,7 +3046,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2954
3046
|
return jsonResults.result;
|
|
2955
3047
|
};
|
|
2956
3048
|
IRtcEngineImpl.prototype.getApiTypeFromSetExtensionProviderProperty = function (provider, key, value) {
|
|
2957
|
-
return '
|
|
3049
|
+
return 'RtcEngine_setExtensionProviderProperty_0e4f59e';
|
|
2958
3050
|
};
|
|
2959
3051
|
IRtcEngineImpl.prototype.registerExtension = function (provider, extension, type) {
|
|
2960
3052
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
@@ -2976,86 +3068,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
2976
3068
|
};
|
|
2977
3069
|
IRtcEngineImpl.prototype.getApiTypeFromRegisterExtension = function (provider, extension, type) {
|
|
2978
3070
|
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2979
|
-
return '
|
|
2980
|
-
};
|
|
2981
|
-
IRtcEngineImpl.prototype.enableExtension = function (provider, extension, enable, type) {
|
|
2982
|
-
if (enable === void 0) { enable = true; }
|
|
2983
|
-
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
2984
|
-
var apiType = this.getApiTypeFromEnableExtension(provider, extension, enable, type);
|
|
2985
|
-
var jsonParams = {
|
|
2986
|
-
provider: provider,
|
|
2987
|
-
extension: extension,
|
|
2988
|
-
enable: enable,
|
|
2989
|
-
type: type,
|
|
2990
|
-
toJSON: function () {
|
|
2991
|
-
return {
|
|
2992
|
-
provider: provider,
|
|
2993
|
-
extension: extension,
|
|
2994
|
-
enable: enable,
|
|
2995
|
-
type: type,
|
|
2996
|
-
};
|
|
2997
|
-
},
|
|
2998
|
-
};
|
|
2999
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3000
|
-
return jsonResults.result;
|
|
3001
|
-
};
|
|
3002
|
-
IRtcEngineImpl.prototype.getApiTypeFromEnableExtension = function (provider, extension, enable, type) {
|
|
3003
|
-
if (enable === void 0) { enable = true; }
|
|
3004
|
-
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
3005
|
-
return 'RtcEngine_enableExtension';
|
|
3006
|
-
};
|
|
3007
|
-
IRtcEngineImpl.prototype.setExtensionProperty = function (provider, extension, key, value, type) {
|
|
3008
|
-
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
3009
|
-
var apiType = this.getApiTypeFromSetExtensionProperty(provider, extension, key, value, type);
|
|
3010
|
-
var jsonParams = {
|
|
3011
|
-
provider: provider,
|
|
3012
|
-
extension: extension,
|
|
3013
|
-
key: key,
|
|
3014
|
-
value: value,
|
|
3015
|
-
type: type,
|
|
3016
|
-
toJSON: function () {
|
|
3017
|
-
return {
|
|
3018
|
-
provider: provider,
|
|
3019
|
-
extension: extension,
|
|
3020
|
-
key: key,
|
|
3021
|
-
value: value,
|
|
3022
|
-
type: type,
|
|
3023
|
-
};
|
|
3024
|
-
},
|
|
3025
|
-
};
|
|
3026
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3027
|
-
return jsonResults.result;
|
|
3028
|
-
};
|
|
3029
|
-
IRtcEngineImpl.prototype.getApiTypeFromSetExtensionProperty = function (provider, extension, key, value, type) {
|
|
3030
|
-
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
3031
|
-
return 'RtcEngine_setExtensionProperty';
|
|
3032
|
-
};
|
|
3033
|
-
IRtcEngineImpl.prototype.getExtensionProperty = function (provider, extension, key, bufLen, type) {
|
|
3034
|
-
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
3035
|
-
var apiType = this.getApiTypeFromGetExtensionProperty(provider, extension, key, bufLen, type);
|
|
3036
|
-
var jsonParams = {
|
|
3037
|
-
provider: provider,
|
|
3038
|
-
extension: extension,
|
|
3039
|
-
key: key,
|
|
3040
|
-
buf_len: bufLen,
|
|
3041
|
-
type: type,
|
|
3042
|
-
toJSON: function () {
|
|
3043
|
-
return {
|
|
3044
|
-
provider: provider,
|
|
3045
|
-
extension: extension,
|
|
3046
|
-
key: key,
|
|
3047
|
-
buf_len: bufLen,
|
|
3048
|
-
type: type,
|
|
3049
|
-
};
|
|
3050
|
-
},
|
|
3051
|
-
};
|
|
3052
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3053
|
-
var value = jsonResults.value;
|
|
3054
|
-
return value;
|
|
3055
|
-
};
|
|
3056
|
-
IRtcEngineImpl.prototype.getApiTypeFromGetExtensionProperty = function (provider, extension, key, bufLen, type) {
|
|
3057
|
-
if (type === void 0) { type = AgoraMediaBase_1.MediaSourceType.UnknownMediaSource; }
|
|
3058
|
-
return 'RtcEngine_getExtensionProperty';
|
|
3071
|
+
return 'RtcEngine_registerExtension_fd62af4';
|
|
3059
3072
|
};
|
|
3060
3073
|
IRtcEngineImpl.prototype.setCameraCapturerConfiguration = function (config) {
|
|
3061
3074
|
var apiType = this.getApiTypeFromSetCameraCapturerConfiguration(config);
|
|
@@ -3071,7 +3084,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3071
3084
|
return jsonResults.result;
|
|
3072
3085
|
};
|
|
3073
3086
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraCapturerConfiguration = function (config) {
|
|
3074
|
-
return '
|
|
3087
|
+
return 'RtcEngine_setCameraCapturerConfiguration_afa93b3';
|
|
3075
3088
|
};
|
|
3076
3089
|
IRtcEngineImpl.prototype.createCustomVideoTrack = function () {
|
|
3077
3090
|
var apiType = this.getApiTypeFromCreateCustomVideoTrack();
|
|
@@ -3096,7 +3109,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3096
3109
|
return jsonResults.result;
|
|
3097
3110
|
};
|
|
3098
3111
|
IRtcEngineImpl.prototype.getApiTypeFromCreateCustomEncodedVideoTrack = function (senderOption) {
|
|
3099
|
-
return '
|
|
3112
|
+
return 'RtcEngine_createCustomEncodedVideoTrack_0e9dc99';
|
|
3100
3113
|
};
|
|
3101
3114
|
IRtcEngineImpl.prototype.destroyCustomVideoTrack = function (videoTrackId) {
|
|
3102
3115
|
var apiType = this.getApiTypeFromDestroyCustomVideoTrack(videoTrackId);
|
|
@@ -3112,7 +3125,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3112
3125
|
return jsonResults.result;
|
|
3113
3126
|
};
|
|
3114
3127
|
IRtcEngineImpl.prototype.getApiTypeFromDestroyCustomVideoTrack = function (videoTrackId) {
|
|
3115
|
-
return '
|
|
3128
|
+
return 'RtcEngine_destroyCustomVideoTrack_3019423';
|
|
3116
3129
|
};
|
|
3117
3130
|
IRtcEngineImpl.prototype.destroyCustomEncodedVideoTrack = function (videoTrackId) {
|
|
3118
3131
|
var apiType = this.getApiTypeFromDestroyCustomEncodedVideoTrack(videoTrackId);
|
|
@@ -3128,7 +3141,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3128
3141
|
return jsonResults.result;
|
|
3129
3142
|
};
|
|
3130
3143
|
IRtcEngineImpl.prototype.getApiTypeFromDestroyCustomEncodedVideoTrack = function (videoTrackId) {
|
|
3131
|
-
return '
|
|
3144
|
+
return 'RtcEngine_destroyCustomEncodedVideoTrack_3019423';
|
|
3132
3145
|
};
|
|
3133
3146
|
IRtcEngineImpl.prototype.switchCamera = function () {
|
|
3134
3147
|
var apiType = this.getApiTypeFromSwitchCamera();
|
|
@@ -3198,7 +3211,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3198
3211
|
return jsonResults.result;
|
|
3199
3212
|
};
|
|
3200
3213
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraZoomFactor = function (factor) {
|
|
3201
|
-
return '
|
|
3214
|
+
return 'RtcEngine_setCameraZoomFactor_685e803';
|
|
3202
3215
|
};
|
|
3203
3216
|
IRtcEngineImpl.prototype.enableFaceDetection = function (enabled) {
|
|
3204
3217
|
var apiType = this.getApiTypeFromEnableFaceDetection(enabled);
|
|
@@ -3214,7 +3227,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3214
3227
|
return jsonResults.result;
|
|
3215
3228
|
};
|
|
3216
3229
|
IRtcEngineImpl.prototype.getApiTypeFromEnableFaceDetection = function (enabled) {
|
|
3217
|
-
return '
|
|
3230
|
+
return 'RtcEngine_enableFaceDetection_5039d15';
|
|
3218
3231
|
};
|
|
3219
3232
|
IRtcEngineImpl.prototype.getCameraMaxZoomFactor = function () {
|
|
3220
3233
|
var apiType = this.getApiTypeFromGetCameraMaxZoomFactor();
|
|
@@ -3241,7 +3254,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3241
3254
|
return jsonResults.result;
|
|
3242
3255
|
};
|
|
3243
3256
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraFocusPositionInPreview = function (positionX, positionY) {
|
|
3244
|
-
return '
|
|
3257
|
+
return 'RtcEngine_setCameraFocusPositionInPreview_f282d50';
|
|
3245
3258
|
};
|
|
3246
3259
|
IRtcEngineImpl.prototype.setCameraTorchOn = function (isOn) {
|
|
3247
3260
|
var apiType = this.getApiTypeFromSetCameraTorchOn(isOn);
|
|
@@ -3257,7 +3270,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3257
3270
|
return jsonResults.result;
|
|
3258
3271
|
};
|
|
3259
3272
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraTorchOn = function (isOn) {
|
|
3260
|
-
return '
|
|
3273
|
+
return 'RtcEngine_setCameraTorchOn_5039d15';
|
|
3261
3274
|
};
|
|
3262
3275
|
IRtcEngineImpl.prototype.setCameraAutoFocusFaceModeEnabled = function (enabled) {
|
|
3263
3276
|
var apiType = this.getApiTypeFromSetCameraAutoFocusFaceModeEnabled(enabled);
|
|
@@ -3273,7 +3286,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3273
3286
|
return jsonResults.result;
|
|
3274
3287
|
};
|
|
3275
3288
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraAutoFocusFaceModeEnabled = function (enabled) {
|
|
3276
|
-
return '
|
|
3289
|
+
return 'RtcEngine_setCameraAutoFocusFaceModeEnabled_5039d15';
|
|
3277
3290
|
};
|
|
3278
3291
|
IRtcEngineImpl.prototype.isCameraExposurePositionSupported = function () {
|
|
3279
3292
|
var apiType = this.getApiTypeFromIsCameraExposurePositionSupported();
|
|
@@ -3300,7 +3313,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3300
3313
|
return jsonResults.result;
|
|
3301
3314
|
};
|
|
3302
3315
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraExposurePosition = function (positionXinView, positionYinView) {
|
|
3303
|
-
return '
|
|
3316
|
+
return 'RtcEngine_setCameraExposurePosition_f282d50';
|
|
3304
3317
|
};
|
|
3305
3318
|
IRtcEngineImpl.prototype.isCameraExposureSupported = function () {
|
|
3306
3319
|
var apiType = this.getApiTypeFromIsCameraExposureSupported();
|
|
@@ -3325,7 +3338,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3325
3338
|
return jsonResults.result;
|
|
3326
3339
|
};
|
|
3327
3340
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraExposureFactor = function (factor) {
|
|
3328
|
-
return '
|
|
3341
|
+
return 'RtcEngine_setCameraExposureFactor_685e803';
|
|
3329
3342
|
};
|
|
3330
3343
|
IRtcEngineImpl.prototype.isCameraAutoExposureFaceModeSupported = function () {
|
|
3331
3344
|
var apiType = this.getApiTypeFromIsCameraAutoExposureFaceModeSupported();
|
|
@@ -3350,7 +3363,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3350
3363
|
return jsonResults.result;
|
|
3351
3364
|
};
|
|
3352
3365
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraAutoExposureFaceModeEnabled = function (enabled) {
|
|
3353
|
-
return '
|
|
3366
|
+
return 'RtcEngine_setCameraAutoExposureFaceModeEnabled_5039d15';
|
|
3354
3367
|
};
|
|
3355
3368
|
IRtcEngineImpl.prototype.setDefaultAudioRouteToSpeakerphone = function (defaultToSpeaker) {
|
|
3356
3369
|
var apiType = this.getApiTypeFromSetDefaultAudioRouteToSpeakerphone(defaultToSpeaker);
|
|
@@ -3366,7 +3379,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3366
3379
|
return jsonResults.result;
|
|
3367
3380
|
};
|
|
3368
3381
|
IRtcEngineImpl.prototype.getApiTypeFromSetDefaultAudioRouteToSpeakerphone = function (defaultToSpeaker) {
|
|
3369
|
-
return '
|
|
3382
|
+
return 'RtcEngine_setDefaultAudioRouteToSpeakerphone_5039d15';
|
|
3370
3383
|
};
|
|
3371
3384
|
IRtcEngineImpl.prototype.setEnableSpeakerphone = function (speakerOn) {
|
|
3372
3385
|
var apiType = this.getApiTypeFromSetEnableSpeakerphone(speakerOn);
|
|
@@ -3382,7 +3395,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3382
3395
|
return jsonResults.result;
|
|
3383
3396
|
};
|
|
3384
3397
|
IRtcEngineImpl.prototype.getApiTypeFromSetEnableSpeakerphone = function (speakerOn) {
|
|
3385
|
-
return '
|
|
3398
|
+
return 'RtcEngine_setEnableSpeakerphone_5039d15';
|
|
3386
3399
|
};
|
|
3387
3400
|
IRtcEngineImpl.prototype.isSpeakerphoneEnabled = function () {
|
|
3388
3401
|
var apiType = this.getApiTypeFromIsSpeakerphoneEnabled();
|
|
@@ -3407,7 +3420,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3407
3420
|
return jsonResults.result;
|
|
3408
3421
|
};
|
|
3409
3422
|
IRtcEngineImpl.prototype.getApiTypeFromSetRouteInCommunicationMode = function (route) {
|
|
3410
|
-
return '
|
|
3423
|
+
return 'RtcEngine_setRouteInCommunicationMode_46f8ab7';
|
|
3411
3424
|
};
|
|
3412
3425
|
IRtcEngineImpl.prototype.getScreenCaptureSources = function (thumbSize, iconSize, includeScreen) {
|
|
3413
3426
|
var apiType = this.getApiTypeFromGetScreenCaptureSources(thumbSize, iconSize, includeScreen);
|
|
@@ -3427,7 +3440,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3427
3440
|
return jsonResults.result;
|
|
3428
3441
|
};
|
|
3429
3442
|
IRtcEngineImpl.prototype.getApiTypeFromGetScreenCaptureSources = function (thumbSize, iconSize, includeScreen) {
|
|
3430
|
-
return '
|
|
3443
|
+
return 'RtcEngine_getScreenCaptureSources_f3e02cb';
|
|
3431
3444
|
};
|
|
3432
3445
|
IRtcEngineImpl.prototype.setAudioSessionOperationRestriction = function (restriction) {
|
|
3433
3446
|
var apiType = this.getApiTypeFromSetAudioSessionOperationRestriction(restriction);
|
|
@@ -3443,7 +3456,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3443
3456
|
return jsonResults.result;
|
|
3444
3457
|
};
|
|
3445
3458
|
IRtcEngineImpl.prototype.getApiTypeFromSetAudioSessionOperationRestriction = function (restriction) {
|
|
3446
|
-
return '
|
|
3459
|
+
return 'RtcEngine_setAudioSessionOperationRestriction_c492897';
|
|
3447
3460
|
};
|
|
3448
3461
|
IRtcEngineImpl.prototype.startScreenCaptureByDisplayId = function (displayId, regionRect, captureParams) {
|
|
3449
3462
|
var apiType = this.getApiTypeFromStartScreenCaptureByDisplayId(displayId, regionRect, captureParams);
|
|
@@ -3463,7 +3476,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3463
3476
|
return jsonResults.result;
|
|
3464
3477
|
};
|
|
3465
3478
|
IRtcEngineImpl.prototype.getApiTypeFromStartScreenCaptureByDisplayId = function (displayId, regionRect, captureParams) {
|
|
3466
|
-
return '
|
|
3479
|
+
return 'RtcEngine_startScreenCaptureByDisplayId_7cf6800';
|
|
3467
3480
|
};
|
|
3468
3481
|
IRtcEngineImpl.prototype.startScreenCaptureByScreenRect = function (screenRect, regionRect, captureParams) {
|
|
3469
3482
|
var apiType = this.getApiTypeFromStartScreenCaptureByScreenRect(screenRect, regionRect, captureParams);
|
|
@@ -3483,7 +3496,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3483
3496
|
return jsonResults.result;
|
|
3484
3497
|
};
|
|
3485
3498
|
IRtcEngineImpl.prototype.getApiTypeFromStartScreenCaptureByScreenRect = function (screenRect, regionRect, captureParams) {
|
|
3486
|
-
return '
|
|
3499
|
+
return 'RtcEngine_startScreenCaptureByScreenRect_e286286';
|
|
3487
3500
|
};
|
|
3488
3501
|
IRtcEngineImpl.prototype.getAudioDeviceInfo = function () {
|
|
3489
3502
|
var apiType = this.getApiTypeFromGetAudioDeviceInfo();
|
|
@@ -3493,7 +3506,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3493
3506
|
return deviceInfo;
|
|
3494
3507
|
};
|
|
3495
3508
|
IRtcEngineImpl.prototype.getApiTypeFromGetAudioDeviceInfo = function () {
|
|
3496
|
-
return '
|
|
3509
|
+
return 'RtcEngine_getAudioDeviceInfo_505aa0c';
|
|
3497
3510
|
};
|
|
3498
3511
|
IRtcEngineImpl.prototype.startScreenCaptureByWindowId = function (windowId, regionRect, captureParams) {
|
|
3499
3512
|
var apiType = this.getApiTypeFromStartScreenCaptureByWindowId(windowId, regionRect, captureParams);
|
|
@@ -3513,7 +3526,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3513
3526
|
return jsonResults.result;
|
|
3514
3527
|
};
|
|
3515
3528
|
IRtcEngineImpl.prototype.getApiTypeFromStartScreenCaptureByWindowId = function (windowId, regionRect, captureParams) {
|
|
3516
|
-
return '
|
|
3529
|
+
return 'RtcEngine_startScreenCaptureByWindowId_5ab7e59';
|
|
3517
3530
|
};
|
|
3518
3531
|
IRtcEngineImpl.prototype.setScreenCaptureContentHint = function (contentHint) {
|
|
3519
3532
|
var apiType = this.getApiTypeFromSetScreenCaptureContentHint(contentHint);
|
|
@@ -3529,7 +3542,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3529
3542
|
return jsonResults.result;
|
|
3530
3543
|
};
|
|
3531
3544
|
IRtcEngineImpl.prototype.getApiTypeFromSetScreenCaptureContentHint = function (contentHint) {
|
|
3532
|
-
return '
|
|
3545
|
+
return 'RtcEngine_setScreenCaptureContentHint_8ad2c79';
|
|
3533
3546
|
};
|
|
3534
3547
|
IRtcEngineImpl.prototype.updateScreenCaptureRegion = function (regionRect) {
|
|
3535
3548
|
var apiType = this.getApiTypeFromUpdateScreenCaptureRegion(regionRect);
|
|
@@ -3545,7 +3558,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3545
3558
|
return jsonResults.result;
|
|
3546
3559
|
};
|
|
3547
3560
|
IRtcEngineImpl.prototype.getApiTypeFromUpdateScreenCaptureRegion = function (regionRect) {
|
|
3548
|
-
return '
|
|
3561
|
+
return 'RtcEngine_updateScreenCaptureRegion_6b327a8';
|
|
3549
3562
|
};
|
|
3550
3563
|
IRtcEngineImpl.prototype.updateScreenCaptureParameters = function (captureParams) {
|
|
3551
3564
|
var apiType = this.getApiTypeFromUpdateScreenCaptureParameters(captureParams);
|
|
@@ -3561,7 +3574,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3561
3574
|
return jsonResults.result;
|
|
3562
3575
|
};
|
|
3563
3576
|
IRtcEngineImpl.prototype.getApiTypeFromUpdateScreenCaptureParameters = function (captureParams) {
|
|
3564
|
-
return '
|
|
3577
|
+
return 'RtcEngine_updateScreenCaptureParameters_a2eef93';
|
|
3565
3578
|
};
|
|
3566
3579
|
IRtcEngineImpl.prototype.startScreenCapture = function (captureParams) {
|
|
3567
3580
|
var apiType = this.getApiTypeFromStartScreenCapture(captureParams);
|
|
@@ -3577,25 +3590,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3577
3590
|
return jsonResults.result;
|
|
3578
3591
|
};
|
|
3579
3592
|
IRtcEngineImpl.prototype.getApiTypeFromStartScreenCapture = function (captureParams) {
|
|
3580
|
-
return '
|
|
3581
|
-
};
|
|
3582
|
-
IRtcEngineImpl.prototype.startScreenCaptureBySourceType = function (sourceType, config) {
|
|
3583
|
-
var apiType = this.getApiTypeFromStartScreenCaptureBySourceType(sourceType, config);
|
|
3584
|
-
var jsonParams = {
|
|
3585
|
-
sourceType: sourceType,
|
|
3586
|
-
config: config,
|
|
3587
|
-
toJSON: function () {
|
|
3588
|
-
return {
|
|
3589
|
-
sourceType: sourceType,
|
|
3590
|
-
config: config,
|
|
3591
|
-
};
|
|
3592
|
-
},
|
|
3593
|
-
};
|
|
3594
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3595
|
-
return jsonResults.result;
|
|
3596
|
-
};
|
|
3597
|
-
IRtcEngineImpl.prototype.getApiTypeFromStartScreenCaptureBySourceType = function (sourceType, config) {
|
|
3598
|
-
return 'RtcEngine_startScreenCaptureBySourceType';
|
|
3593
|
+
return 'RtcEngine_startScreenCapture_270da41';
|
|
3599
3594
|
};
|
|
3600
3595
|
IRtcEngineImpl.prototype.updateScreenCapture = function (captureParams) {
|
|
3601
3596
|
var apiType = this.getApiTypeFromUpdateScreenCapture(captureParams);
|
|
@@ -3611,7 +3606,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3611
3606
|
return jsonResults.result;
|
|
3612
3607
|
};
|
|
3613
3608
|
IRtcEngineImpl.prototype.getApiTypeFromUpdateScreenCapture = function (captureParams) {
|
|
3614
|
-
return '
|
|
3609
|
+
return 'RtcEngine_updateScreenCapture_270da41';
|
|
3615
3610
|
};
|
|
3616
3611
|
IRtcEngineImpl.prototype.queryScreenCaptureCapability = function () {
|
|
3617
3612
|
var apiType = this.getApiTypeFromQueryScreenCaptureCapability();
|
|
@@ -3636,7 +3631,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3636
3631
|
return jsonResults.result;
|
|
3637
3632
|
};
|
|
3638
3633
|
IRtcEngineImpl.prototype.getApiTypeFromSetScreenCaptureScenario = function (screenScenario) {
|
|
3639
|
-
return '
|
|
3634
|
+
return 'RtcEngine_setScreenCaptureScenario_13de7b4';
|
|
3640
3635
|
};
|
|
3641
3636
|
IRtcEngineImpl.prototype.stopScreenCapture = function () {
|
|
3642
3637
|
var apiType = this.getApiTypeFromStopScreenCapture();
|
|
@@ -3647,22 +3642,6 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3647
3642
|
IRtcEngineImpl.prototype.getApiTypeFromStopScreenCapture = function () {
|
|
3648
3643
|
return 'RtcEngine_stopScreenCapture';
|
|
3649
3644
|
};
|
|
3650
|
-
IRtcEngineImpl.prototype.stopScreenCaptureBySourceType = function (sourceType) {
|
|
3651
|
-
var apiType = this.getApiTypeFromStopScreenCaptureBySourceType(sourceType);
|
|
3652
|
-
var jsonParams = {
|
|
3653
|
-
sourceType: sourceType,
|
|
3654
|
-
toJSON: function () {
|
|
3655
|
-
return {
|
|
3656
|
-
sourceType: sourceType,
|
|
3657
|
-
};
|
|
3658
|
-
},
|
|
3659
|
-
};
|
|
3660
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3661
|
-
return jsonResults.result;
|
|
3662
|
-
};
|
|
3663
|
-
IRtcEngineImpl.prototype.getApiTypeFromStopScreenCaptureBySourceType = function (sourceType) {
|
|
3664
|
-
return 'RtcEngine_stopScreenCaptureBySourceType';
|
|
3665
|
-
};
|
|
3666
3645
|
IRtcEngineImpl.prototype.getCallId = function () {
|
|
3667
3646
|
var apiType = this.getApiTypeFromGetCallId();
|
|
3668
3647
|
var jsonParams = {};
|
|
@@ -3671,7 +3650,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3671
3650
|
return callId;
|
|
3672
3651
|
};
|
|
3673
3652
|
IRtcEngineImpl.prototype.getApiTypeFromGetCallId = function () {
|
|
3674
|
-
return '
|
|
3653
|
+
return 'RtcEngine_getCallId_66d4ecd';
|
|
3675
3654
|
};
|
|
3676
3655
|
IRtcEngineImpl.prototype.rate = function (callId, rating, description) {
|
|
3677
3656
|
var apiType = this.getApiTypeFromRate(callId, rating, description);
|
|
@@ -3691,7 +3670,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3691
3670
|
return jsonResults.result;
|
|
3692
3671
|
};
|
|
3693
3672
|
IRtcEngineImpl.prototype.getApiTypeFromRate = function (callId, rating, description) {
|
|
3694
|
-
return '
|
|
3673
|
+
return 'RtcEngine_rate_f1a0070';
|
|
3695
3674
|
};
|
|
3696
3675
|
IRtcEngineImpl.prototype.complain = function (callId, description) {
|
|
3697
3676
|
var apiType = this.getApiTypeFromComplain(callId, description);
|
|
@@ -3709,7 +3688,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3709
3688
|
return jsonResults.result;
|
|
3710
3689
|
};
|
|
3711
3690
|
IRtcEngineImpl.prototype.getApiTypeFromComplain = function (callId, description) {
|
|
3712
|
-
return '
|
|
3691
|
+
return 'RtcEngine_complain_ccad422';
|
|
3713
3692
|
};
|
|
3714
3693
|
IRtcEngineImpl.prototype.startRtmpStreamWithoutTranscoding = function (url) {
|
|
3715
3694
|
var apiType = this.getApiTypeFromStartRtmpStreamWithoutTranscoding(url);
|
|
@@ -3725,7 +3704,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3725
3704
|
return jsonResults.result;
|
|
3726
3705
|
};
|
|
3727
3706
|
IRtcEngineImpl.prototype.getApiTypeFromStartRtmpStreamWithoutTranscoding = function (url) {
|
|
3728
|
-
return '
|
|
3707
|
+
return 'RtcEngine_startRtmpStreamWithoutTranscoding_3a2037f';
|
|
3729
3708
|
};
|
|
3730
3709
|
IRtcEngineImpl.prototype.startRtmpStreamWithTranscoding = function (url, transcoding) {
|
|
3731
3710
|
var apiType = this.getApiTypeFromStartRtmpStreamWithTranscoding(url, transcoding);
|
|
@@ -3743,7 +3722,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3743
3722
|
return jsonResults.result;
|
|
3744
3723
|
};
|
|
3745
3724
|
IRtcEngineImpl.prototype.getApiTypeFromStartRtmpStreamWithTranscoding = function (url, transcoding) {
|
|
3746
|
-
return '
|
|
3725
|
+
return 'RtcEngine_startRtmpStreamWithTranscoding_f76aa1a';
|
|
3747
3726
|
};
|
|
3748
3727
|
IRtcEngineImpl.prototype.updateRtmpTranscoding = function (transcoding) {
|
|
3749
3728
|
var apiType = this.getApiTypeFromUpdateRtmpTranscoding(transcoding);
|
|
@@ -3759,26 +3738,26 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3759
3738
|
return jsonResults.result;
|
|
3760
3739
|
};
|
|
3761
3740
|
IRtcEngineImpl.prototype.getApiTypeFromUpdateRtmpTranscoding = function (transcoding) {
|
|
3762
|
-
return '
|
|
3741
|
+
return 'RtcEngine_updateRtmpTranscoding_91368d4';
|
|
3763
3742
|
};
|
|
3764
|
-
IRtcEngineImpl.prototype.
|
|
3765
|
-
var apiType = this.
|
|
3743
|
+
IRtcEngineImpl.prototype.startLocalVideoTranscoder = function (config) {
|
|
3744
|
+
var apiType = this.getApiTypeFromStartLocalVideoTranscoder(config);
|
|
3766
3745
|
var jsonParams = {
|
|
3767
|
-
|
|
3746
|
+
config: config,
|
|
3768
3747
|
toJSON: function () {
|
|
3769
3748
|
return {
|
|
3770
|
-
|
|
3749
|
+
config: config,
|
|
3771
3750
|
};
|
|
3772
3751
|
},
|
|
3773
3752
|
};
|
|
3774
3753
|
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3775
3754
|
return jsonResults.result;
|
|
3776
3755
|
};
|
|
3777
|
-
IRtcEngineImpl.prototype.
|
|
3778
|
-
return '
|
|
3756
|
+
IRtcEngineImpl.prototype.getApiTypeFromStartLocalVideoTranscoder = function (config) {
|
|
3757
|
+
return 'RtcEngine_startLocalVideoTranscoder_90f9e33';
|
|
3779
3758
|
};
|
|
3780
|
-
IRtcEngineImpl.prototype.
|
|
3781
|
-
var apiType = this.
|
|
3759
|
+
IRtcEngineImpl.prototype.updateLocalTranscoderConfiguration = function (config) {
|
|
3760
|
+
var apiType = this.getApiTypeFromUpdateLocalTranscoderConfiguration(config);
|
|
3782
3761
|
var jsonParams = {
|
|
3783
3762
|
config: config,
|
|
3784
3763
|
toJSON: function () {
|
|
@@ -3790,24 +3769,24 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3790
3769
|
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3791
3770
|
return jsonResults.result;
|
|
3792
3771
|
};
|
|
3793
|
-
IRtcEngineImpl.prototype.
|
|
3794
|
-
return '
|
|
3772
|
+
IRtcEngineImpl.prototype.getApiTypeFromUpdateLocalTranscoderConfiguration = function (config) {
|
|
3773
|
+
return 'RtcEngine_updateLocalTranscoderConfiguration_90f9e33';
|
|
3795
3774
|
};
|
|
3796
|
-
IRtcEngineImpl.prototype.
|
|
3797
|
-
var apiType = this.
|
|
3775
|
+
IRtcEngineImpl.prototype.stopRtmpStream = function (url) {
|
|
3776
|
+
var apiType = this.getApiTypeFromStopRtmpStream(url);
|
|
3798
3777
|
var jsonParams = {
|
|
3799
|
-
|
|
3778
|
+
url: url,
|
|
3800
3779
|
toJSON: function () {
|
|
3801
3780
|
return {
|
|
3802
|
-
|
|
3781
|
+
url: url,
|
|
3803
3782
|
};
|
|
3804
3783
|
},
|
|
3805
3784
|
};
|
|
3806
3785
|
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
3807
3786
|
return jsonResults.result;
|
|
3808
3787
|
};
|
|
3809
|
-
IRtcEngineImpl.prototype.
|
|
3810
|
-
return '
|
|
3788
|
+
IRtcEngineImpl.prototype.getApiTypeFromStopRtmpStream = function (url) {
|
|
3789
|
+
return 'RtcEngine_stopRtmpStream_3a2037f';
|
|
3811
3790
|
};
|
|
3812
3791
|
IRtcEngineImpl.prototype.stopLocalVideoTranscoder = function () {
|
|
3813
3792
|
var apiType = this.getApiTypeFromStopLocalVideoTranscoder();
|
|
@@ -3834,7 +3813,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3834
3813
|
return jsonResults.result;
|
|
3835
3814
|
};
|
|
3836
3815
|
IRtcEngineImpl.prototype.getApiTypeFromStartCameraCapture = function (sourceType, config) {
|
|
3837
|
-
return '
|
|
3816
|
+
return 'RtcEngine_startCameraCapture_f3692cc';
|
|
3838
3817
|
};
|
|
3839
3818
|
IRtcEngineImpl.prototype.stopCameraCapture = function (sourceType) {
|
|
3840
3819
|
var apiType = this.getApiTypeFromStopCameraCapture(sourceType);
|
|
@@ -3850,7 +3829,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3850
3829
|
return jsonResults.result;
|
|
3851
3830
|
};
|
|
3852
3831
|
IRtcEngineImpl.prototype.getApiTypeFromStopCameraCapture = function (sourceType) {
|
|
3853
|
-
return '
|
|
3832
|
+
return 'RtcEngine_stopCameraCapture_4fd718e';
|
|
3854
3833
|
};
|
|
3855
3834
|
IRtcEngineImpl.prototype.setCameraDeviceOrientation = function (type, orientation) {
|
|
3856
3835
|
var apiType = this.getApiTypeFromSetCameraDeviceOrientation(type, orientation);
|
|
@@ -3868,7 +3847,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3868
3847
|
return jsonResults.result;
|
|
3869
3848
|
};
|
|
3870
3849
|
IRtcEngineImpl.prototype.getApiTypeFromSetCameraDeviceOrientation = function (type, orientation) {
|
|
3871
|
-
return '
|
|
3850
|
+
return 'RtcEngine_setCameraDeviceOrientation_025aae8';
|
|
3872
3851
|
};
|
|
3873
3852
|
IRtcEngineImpl.prototype.setScreenCaptureOrientation = function (type, orientation) {
|
|
3874
3853
|
var apiType = this.getApiTypeFromSetScreenCaptureOrientation(type, orientation);
|
|
@@ -3886,7 +3865,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3886
3865
|
return jsonResults.result;
|
|
3887
3866
|
};
|
|
3888
3867
|
IRtcEngineImpl.prototype.getApiTypeFromSetScreenCaptureOrientation = function (type, orientation) {
|
|
3889
|
-
return '
|
|
3868
|
+
return 'RtcEngine_setScreenCaptureOrientation_025aae8';
|
|
3890
3869
|
};
|
|
3891
3870
|
IRtcEngineImpl.prototype.getConnectionState = function () {
|
|
3892
3871
|
var apiType = this.getApiTypeFromGetConnectionState();
|
|
@@ -3909,7 +3888,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3909
3888
|
return jsonResults.result;
|
|
3910
3889
|
};
|
|
3911
3890
|
IRtcEngineImpl.prototype.getApiTypeFromRegisterEventHandler = function (eventHandler) {
|
|
3912
|
-
return '
|
|
3891
|
+
return 'RtcEngine_registerEventHandler_5fc0465';
|
|
3913
3892
|
};
|
|
3914
3893
|
IRtcEngineImpl.prototype.unregisterEventHandler = function (eventHandler) {
|
|
3915
3894
|
var apiType = this.getApiTypeFromUnregisterEventHandler(eventHandler);
|
|
@@ -3923,7 +3902,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3923
3902
|
return jsonResults.result;
|
|
3924
3903
|
};
|
|
3925
3904
|
IRtcEngineImpl.prototype.getApiTypeFromUnregisterEventHandler = function (eventHandler) {
|
|
3926
|
-
return '
|
|
3905
|
+
return 'RtcEngine_unregisterEventHandler_5fc0465';
|
|
3927
3906
|
};
|
|
3928
3907
|
IRtcEngineImpl.prototype.setRemoteUserPriority = function (uid, userPriority) {
|
|
3929
3908
|
var apiType = this.getApiTypeFromSetRemoteUserPriority(uid, userPriority);
|
|
@@ -3941,7 +3920,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3941
3920
|
return jsonResults.result;
|
|
3942
3921
|
};
|
|
3943
3922
|
IRtcEngineImpl.prototype.getApiTypeFromSetRemoteUserPriority = function (uid, userPriority) {
|
|
3944
|
-
return '
|
|
3923
|
+
return 'RtcEngine_setRemoteUserPriority_f34115b';
|
|
3945
3924
|
};
|
|
3946
3925
|
IRtcEngineImpl.prototype.setEncryptionMode = function (encryptionMode) {
|
|
3947
3926
|
var apiType = this.getApiTypeFromSetEncryptionMode(encryptionMode);
|
|
@@ -3957,7 +3936,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3957
3936
|
return jsonResults.result;
|
|
3958
3937
|
};
|
|
3959
3938
|
IRtcEngineImpl.prototype.getApiTypeFromSetEncryptionMode = function (encryptionMode) {
|
|
3960
|
-
return '
|
|
3939
|
+
return 'RtcEngine_setEncryptionMode_3a2037f';
|
|
3961
3940
|
};
|
|
3962
3941
|
IRtcEngineImpl.prototype.setEncryptionSecret = function (secret) {
|
|
3963
3942
|
var apiType = this.getApiTypeFromSetEncryptionSecret(secret);
|
|
@@ -3973,7 +3952,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3973
3952
|
return jsonResults.result;
|
|
3974
3953
|
};
|
|
3975
3954
|
IRtcEngineImpl.prototype.getApiTypeFromSetEncryptionSecret = function (secret) {
|
|
3976
|
-
return '
|
|
3955
|
+
return 'RtcEngine_setEncryptionSecret_3a2037f';
|
|
3977
3956
|
};
|
|
3978
3957
|
IRtcEngineImpl.prototype.enableEncryption = function (enabled, config) {
|
|
3979
3958
|
var apiType = this.getApiTypeFromEnableEncryption(enabled, config);
|
|
@@ -3991,7 +3970,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
3991
3970
|
return jsonResults.result;
|
|
3992
3971
|
};
|
|
3993
3972
|
IRtcEngineImpl.prototype.getApiTypeFromEnableEncryption = function (enabled, config) {
|
|
3994
|
-
return '
|
|
3973
|
+
return 'RtcEngine_enableEncryption_421c27b';
|
|
3995
3974
|
};
|
|
3996
3975
|
IRtcEngineImpl.prototype.createDataStream = function (config) {
|
|
3997
3976
|
var apiType = this.getApiTypeFromCreateDataStream(config);
|
|
@@ -4008,7 +3987,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4008
3987
|
return streamId;
|
|
4009
3988
|
};
|
|
4010
3989
|
IRtcEngineImpl.prototype.getApiTypeFromCreateDataStream = function (config) {
|
|
4011
|
-
return '
|
|
3990
|
+
return 'RtcEngine_createDataStream_5862815';
|
|
4012
3991
|
};
|
|
4013
3992
|
IRtcEngineImpl.prototype.sendStreamMessage = function (streamId, data, length) {
|
|
4014
3993
|
var apiType = this.getApiTypeFromSendStreamMessage(streamId, data, length);
|
|
@@ -4027,7 +4006,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4027
4006
|
return jsonResults.result;
|
|
4028
4007
|
};
|
|
4029
4008
|
IRtcEngineImpl.prototype.getApiTypeFromSendStreamMessage = function (streamId, data, length) {
|
|
4030
|
-
return '
|
|
4009
|
+
return 'RtcEngine_sendStreamMessage_8715a45';
|
|
4031
4010
|
};
|
|
4032
4011
|
IRtcEngineImpl.prototype.addVideoWatermark = function (watermarkUrl, options) {
|
|
4033
4012
|
var apiType = this.getApiTypeFromAddVideoWatermark(watermarkUrl, options);
|
|
@@ -4045,7 +4024,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4045
4024
|
return jsonResults.result;
|
|
4046
4025
|
};
|
|
4047
4026
|
IRtcEngineImpl.prototype.getApiTypeFromAddVideoWatermark = function (watermarkUrl, options) {
|
|
4048
|
-
return '
|
|
4027
|
+
return 'RtcEngine_addVideoWatermark_7480410';
|
|
4049
4028
|
};
|
|
4050
4029
|
IRtcEngineImpl.prototype.clearVideoWatermarks = function () {
|
|
4051
4030
|
var apiType = this.getApiTypeFromClearVideoWatermarks();
|
|
@@ -4088,7 +4067,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4088
4067
|
return jsonResults.result;
|
|
4089
4068
|
};
|
|
4090
4069
|
IRtcEngineImpl.prototype.getApiTypeFromEnableWebSdkInteroperability = function (enabled) {
|
|
4091
|
-
return '
|
|
4070
|
+
return 'RtcEngine_enableWebSdkInteroperability_5039d15';
|
|
4092
4071
|
};
|
|
4093
4072
|
IRtcEngineImpl.prototype.sendCustomReportMessage = function (id, category, event, label, value) {
|
|
4094
4073
|
var apiType = this.getApiTypeFromSendCustomReportMessage(id, category, event, label, value);
|
|
@@ -4112,7 +4091,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4112
4091
|
return jsonResults.result;
|
|
4113
4092
|
};
|
|
4114
4093
|
IRtcEngineImpl.prototype.getApiTypeFromSendCustomReportMessage = function (id, category, event, label, value) {
|
|
4115
|
-
return '
|
|
4094
|
+
return 'RtcEngine_sendCustomReportMessage_56d6589';
|
|
4116
4095
|
};
|
|
4117
4096
|
IRtcEngineImpl.prototype.registerMediaMetadataObserver = function (observer, type) {
|
|
4118
4097
|
var apiType = this.getApiTypeFromRegisterMediaMetadataObserver(observer, type);
|
|
@@ -4129,7 +4108,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4129
4108
|
return jsonResults.result;
|
|
4130
4109
|
};
|
|
4131
4110
|
IRtcEngineImpl.prototype.getApiTypeFromRegisterMediaMetadataObserver = function (observer, type) {
|
|
4132
|
-
return '
|
|
4111
|
+
return 'RtcEngine_registerMediaMetadataObserver_8701fec';
|
|
4133
4112
|
};
|
|
4134
4113
|
IRtcEngineImpl.prototype.unregisterMediaMetadataObserver = function (observer, type) {
|
|
4135
4114
|
var apiType = this.getApiTypeFromUnregisterMediaMetadataObserver(observer, type);
|
|
@@ -4146,13 +4125,13 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4146
4125
|
return jsonResults.result;
|
|
4147
4126
|
};
|
|
4148
4127
|
IRtcEngineImpl.prototype.getApiTypeFromUnregisterMediaMetadataObserver = function (observer, type) {
|
|
4149
|
-
return '
|
|
4128
|
+
return 'RtcEngine_unregisterMediaMetadataObserver_8701fec';
|
|
4150
4129
|
};
|
|
4151
|
-
IRtcEngineImpl.prototype.startAudioFrameDump = function (channelId,
|
|
4152
|
-
var apiType = this.getApiTypeFromStartAudioFrameDump(channelId,
|
|
4130
|
+
IRtcEngineImpl.prototype.startAudioFrameDump = function (channelId, uid, location, uuid, passwd, durationMs, autoUpload) {
|
|
4131
|
+
var apiType = this.getApiTypeFromStartAudioFrameDump(channelId, uid, location, uuid, passwd, durationMs, autoUpload);
|
|
4153
4132
|
var jsonParams = {
|
|
4154
4133
|
channel_id: channelId,
|
|
4155
|
-
|
|
4134
|
+
uid: uid,
|
|
4156
4135
|
location: location,
|
|
4157
4136
|
uuid: uuid,
|
|
4158
4137
|
passwd: passwd,
|
|
@@ -4161,7 +4140,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4161
4140
|
toJSON: function () {
|
|
4162
4141
|
return {
|
|
4163
4142
|
channel_id: channelId,
|
|
4164
|
-
|
|
4143
|
+
uid: uid,
|
|
4165
4144
|
location: location,
|
|
4166
4145
|
uuid: uuid,
|
|
4167
4146
|
passwd: passwd,
|
|
@@ -4173,19 +4152,19 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4173
4152
|
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4174
4153
|
return jsonResults.result;
|
|
4175
4154
|
};
|
|
4176
|
-
IRtcEngineImpl.prototype.getApiTypeFromStartAudioFrameDump = function (channelId,
|
|
4177
|
-
return '
|
|
4155
|
+
IRtcEngineImpl.prototype.getApiTypeFromStartAudioFrameDump = function (channelId, uid, location, uuid, passwd, durationMs, autoUpload) {
|
|
4156
|
+
return 'RtcEngine_startAudioFrameDump_aad7331';
|
|
4178
4157
|
};
|
|
4179
|
-
IRtcEngineImpl.prototype.stopAudioFrameDump = function (channelId,
|
|
4180
|
-
var apiType = this.getApiTypeFromStopAudioFrameDump(channelId,
|
|
4158
|
+
IRtcEngineImpl.prototype.stopAudioFrameDump = function (channelId, uid, location) {
|
|
4159
|
+
var apiType = this.getApiTypeFromStopAudioFrameDump(channelId, uid, location);
|
|
4181
4160
|
var jsonParams = {
|
|
4182
4161
|
channel_id: channelId,
|
|
4183
|
-
|
|
4162
|
+
uid: uid,
|
|
4184
4163
|
location: location,
|
|
4185
4164
|
toJSON: function () {
|
|
4186
4165
|
return {
|
|
4187
4166
|
channel_id: channelId,
|
|
4188
|
-
|
|
4167
|
+
uid: uid,
|
|
4189
4168
|
location: location,
|
|
4190
4169
|
};
|
|
4191
4170
|
},
|
|
@@ -4193,8 +4172,8 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4193
4172
|
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4194
4173
|
return jsonResults.result;
|
|
4195
4174
|
};
|
|
4196
|
-
IRtcEngineImpl.prototype.getApiTypeFromStopAudioFrameDump = function (channelId,
|
|
4197
|
-
return '
|
|
4175
|
+
IRtcEngineImpl.prototype.getApiTypeFromStopAudioFrameDump = function (channelId, uid, location) {
|
|
4176
|
+
return 'RtcEngine_stopAudioFrameDump_a4c9af4';
|
|
4198
4177
|
};
|
|
4199
4178
|
IRtcEngineImpl.prototype.setAINSMode = function (enabled, mode) {
|
|
4200
4179
|
var apiType = this.getApiTypeFromSetAINSMode(enabled, mode);
|
|
@@ -4212,7 +4191,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4212
4191
|
return jsonResults.result;
|
|
4213
4192
|
};
|
|
4214
4193
|
IRtcEngineImpl.prototype.getApiTypeFromSetAINSMode = function (enabled, mode) {
|
|
4215
|
-
return '
|
|
4194
|
+
return 'RtcEngine_setAINSMode_4df3049';
|
|
4216
4195
|
};
|
|
4217
4196
|
IRtcEngineImpl.prototype.registerLocalUserAccount = function (appId, userAccount) {
|
|
4218
4197
|
var apiType = this.getApiTypeFromRegisterLocalUserAccount(appId, userAccount);
|
|
@@ -4230,7 +4209,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4230
4209
|
return jsonResults.result;
|
|
4231
4210
|
};
|
|
4232
4211
|
IRtcEngineImpl.prototype.getApiTypeFromRegisterLocalUserAccount = function (appId, userAccount) {
|
|
4233
|
-
return '
|
|
4212
|
+
return 'RtcEngine_registerLocalUserAccount_ccad422';
|
|
4234
4213
|
};
|
|
4235
4214
|
IRtcEngineImpl.prototype.joinChannelWithUserAccount = function (token, channelId, userAccount, options) {
|
|
4236
4215
|
var apiType = this.getApiTypeFromJoinChannelWithUserAccount(token, channelId, userAccount, options);
|
|
@@ -4252,7 +4231,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4252
4231
|
return jsonResults.result;
|
|
4253
4232
|
};
|
|
4254
4233
|
IRtcEngineImpl.prototype.getApiTypeFromJoinChannelWithUserAccount = function (token, channelId, userAccount, options) {
|
|
4255
|
-
return '
|
|
4234
|
+
return 'RtcEngine_joinChannelWithUserAccount_4685af9';
|
|
4256
4235
|
};
|
|
4257
4236
|
IRtcEngineImpl.prototype.joinChannelWithUserAccountEx = function (token, channelId, userAccount, options) {
|
|
4258
4237
|
var apiType = this.getApiTypeFromJoinChannelWithUserAccountEx(token, channelId, userAccount, options);
|
|
@@ -4274,7 +4253,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4274
4253
|
return jsonResults.result;
|
|
4275
4254
|
};
|
|
4276
4255
|
IRtcEngineImpl.prototype.getApiTypeFromJoinChannelWithUserAccountEx = function (token, channelId, userAccount, options) {
|
|
4277
|
-
return '
|
|
4256
|
+
return 'RtcEngine_joinChannelWithUserAccountEx_268b977';
|
|
4278
4257
|
};
|
|
4279
4258
|
IRtcEngineImpl.prototype.getUserInfoByUserAccount = function (userAccount) {
|
|
4280
4259
|
var apiType = this.getApiTypeFromGetUserInfoByUserAccount(userAccount);
|
|
@@ -4291,7 +4270,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4291
4270
|
return userInfo;
|
|
4292
4271
|
};
|
|
4293
4272
|
IRtcEngineImpl.prototype.getApiTypeFromGetUserInfoByUserAccount = function (userAccount) {
|
|
4294
|
-
return '
|
|
4273
|
+
return 'RtcEngine_getUserInfoByUserAccount_c6a8f08';
|
|
4295
4274
|
};
|
|
4296
4275
|
IRtcEngineImpl.prototype.getUserInfoByUid = function (uid) {
|
|
4297
4276
|
var apiType = this.getApiTypeFromGetUserInfoByUid(uid);
|
|
@@ -4308,7 +4287,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4308
4287
|
return userInfo;
|
|
4309
4288
|
};
|
|
4310
4289
|
IRtcEngineImpl.prototype.getApiTypeFromGetUserInfoByUid = function (uid) {
|
|
4311
|
-
return '
|
|
4290
|
+
return 'RtcEngine_getUserInfoByUid_6b7aee8';
|
|
4312
4291
|
};
|
|
4313
4292
|
IRtcEngineImpl.prototype.startOrUpdateChannelMediaRelay = function (configuration) {
|
|
4314
4293
|
var apiType = this.getApiTypeFromStartOrUpdateChannelMediaRelay(configuration);
|
|
@@ -4324,39 +4303,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4324
4303
|
return jsonResults.result;
|
|
4325
4304
|
};
|
|
4326
4305
|
IRtcEngineImpl.prototype.getApiTypeFromStartOrUpdateChannelMediaRelay = function (configuration) {
|
|
4327
|
-
return '
|
|
4328
|
-
};
|
|
4329
|
-
IRtcEngineImpl.prototype.startChannelMediaRelay = function (configuration) {
|
|
4330
|
-
var apiType = this.getApiTypeFromStartChannelMediaRelay(configuration);
|
|
4331
|
-
var jsonParams = {
|
|
4332
|
-
configuration: configuration,
|
|
4333
|
-
toJSON: function () {
|
|
4334
|
-
return {
|
|
4335
|
-
configuration: configuration,
|
|
4336
|
-
};
|
|
4337
|
-
},
|
|
4338
|
-
};
|
|
4339
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4340
|
-
return jsonResults.result;
|
|
4341
|
-
};
|
|
4342
|
-
IRtcEngineImpl.prototype.getApiTypeFromStartChannelMediaRelay = function (configuration) {
|
|
4343
|
-
return 'RtcEngine_startChannelMediaRelay';
|
|
4344
|
-
};
|
|
4345
|
-
IRtcEngineImpl.prototype.updateChannelMediaRelay = function (configuration) {
|
|
4346
|
-
var apiType = this.getApiTypeFromUpdateChannelMediaRelay(configuration);
|
|
4347
|
-
var jsonParams = {
|
|
4348
|
-
configuration: configuration,
|
|
4349
|
-
toJSON: function () {
|
|
4350
|
-
return {
|
|
4351
|
-
configuration: configuration,
|
|
4352
|
-
};
|
|
4353
|
-
},
|
|
4354
|
-
};
|
|
4355
|
-
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4356
|
-
return jsonResults.result;
|
|
4357
|
-
};
|
|
4358
|
-
IRtcEngineImpl.prototype.getApiTypeFromUpdateChannelMediaRelay = function (configuration) {
|
|
4359
|
-
return 'RtcEngine_updateChannelMediaRelay';
|
|
4306
|
+
return 'RtcEngine_startOrUpdateChannelMediaRelay_e68f0a4';
|
|
4360
4307
|
};
|
|
4361
4308
|
IRtcEngineImpl.prototype.stopChannelMediaRelay = function () {
|
|
4362
4309
|
var apiType = this.getApiTypeFromStopChannelMediaRelay();
|
|
@@ -4399,7 +4346,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4399
4346
|
return jsonResults.result;
|
|
4400
4347
|
};
|
|
4401
4348
|
IRtcEngineImpl.prototype.getApiTypeFromSetDirectCdnStreamingAudioConfiguration = function (profile) {
|
|
4402
|
-
return '
|
|
4349
|
+
return 'RtcEngine_setDirectCdnStreamingAudioConfiguration_ac39c15';
|
|
4403
4350
|
};
|
|
4404
4351
|
IRtcEngineImpl.prototype.setDirectCdnStreamingVideoConfiguration = function (config) {
|
|
4405
4352
|
var apiType = this.getApiTypeFromSetDirectCdnStreamingVideoConfiguration(config);
|
|
@@ -4415,7 +4362,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4415
4362
|
return jsonResults.result;
|
|
4416
4363
|
};
|
|
4417
4364
|
IRtcEngineImpl.prototype.getApiTypeFromSetDirectCdnStreamingVideoConfiguration = function (config) {
|
|
4418
|
-
return '
|
|
4365
|
+
return 'RtcEngine_setDirectCdnStreamingVideoConfiguration_89677d8';
|
|
4419
4366
|
};
|
|
4420
4367
|
IRtcEngineImpl.prototype.startDirectCdnStreaming = function (eventHandler, publishUrl, options) {
|
|
4421
4368
|
var apiType = this.getApiTypeFromStartDirectCdnStreaming(eventHandler, publishUrl, options);
|
|
@@ -4434,7 +4381,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4434
4381
|
return jsonResults.result;
|
|
4435
4382
|
};
|
|
4436
4383
|
IRtcEngineImpl.prototype.getApiTypeFromStartDirectCdnStreaming = function (eventHandler, publishUrl, options) {
|
|
4437
|
-
return '
|
|
4384
|
+
return 'RtcEngine_startDirectCdnStreaming_ed8d77b';
|
|
4438
4385
|
};
|
|
4439
4386
|
IRtcEngineImpl.prototype.stopDirectCdnStreaming = function () {
|
|
4440
4387
|
var apiType = this.getApiTypeFromStopDirectCdnStreaming();
|
|
@@ -4459,7 +4406,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4459
4406
|
return jsonResults.result;
|
|
4460
4407
|
};
|
|
4461
4408
|
IRtcEngineImpl.prototype.getApiTypeFromUpdateDirectCdnStreamingMediaOptions = function (options) {
|
|
4462
|
-
return '
|
|
4409
|
+
return 'RtcEngine_updateDirectCdnStreamingMediaOptions_d2556c8';
|
|
4463
4410
|
};
|
|
4464
4411
|
IRtcEngineImpl.prototype.startRhythmPlayer = function (sound1, sound2, config) {
|
|
4465
4412
|
var apiType = this.getApiTypeFromStartRhythmPlayer(sound1, sound2, config);
|
|
@@ -4479,7 +4426,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4479
4426
|
return jsonResults.result;
|
|
4480
4427
|
};
|
|
4481
4428
|
IRtcEngineImpl.prototype.getApiTypeFromStartRhythmPlayer = function (sound1, sound2, config) {
|
|
4482
|
-
return '
|
|
4429
|
+
return 'RtcEngine_startRhythmPlayer_e1f6565';
|
|
4483
4430
|
};
|
|
4484
4431
|
IRtcEngineImpl.prototype.stopRhythmPlayer = function () {
|
|
4485
4432
|
var apiType = this.getApiTypeFromStopRhythmPlayer();
|
|
@@ -4504,7 +4451,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4504
4451
|
return jsonResults.result;
|
|
4505
4452
|
};
|
|
4506
4453
|
IRtcEngineImpl.prototype.getApiTypeFromConfigRhythmPlayer = function (config) {
|
|
4507
|
-
return '
|
|
4454
|
+
return 'RtcEngine_configRhythmPlayer_b36c805';
|
|
4508
4455
|
};
|
|
4509
4456
|
IRtcEngineImpl.prototype.takeSnapshot = function (uid, filePath) {
|
|
4510
4457
|
var apiType = this.getApiTypeFromTakeSnapshot(uid, filePath);
|
|
@@ -4522,7 +4469,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4522
4469
|
return jsonResults.result;
|
|
4523
4470
|
};
|
|
4524
4471
|
IRtcEngineImpl.prototype.getApiTypeFromTakeSnapshot = function (uid, filePath) {
|
|
4525
|
-
return '
|
|
4472
|
+
return 'RtcEngine_takeSnapshot_1922dd1';
|
|
4526
4473
|
};
|
|
4527
4474
|
IRtcEngineImpl.prototype.enableContentInspect = function (enabled, config) {
|
|
4528
4475
|
var apiType = this.getApiTypeFromEnableContentInspect(enabled, config);
|
|
@@ -4540,7 +4487,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4540
4487
|
return jsonResults.result;
|
|
4541
4488
|
};
|
|
4542
4489
|
IRtcEngineImpl.prototype.getApiTypeFromEnableContentInspect = function (enabled, config) {
|
|
4543
|
-
return '
|
|
4490
|
+
return 'RtcEngine_enableContentInspect_e15e514';
|
|
4544
4491
|
};
|
|
4545
4492
|
IRtcEngineImpl.prototype.adjustCustomAudioPublishVolume = function (trackId, volume) {
|
|
4546
4493
|
var apiType = this.getApiTypeFromAdjustCustomAudioPublishVolume(trackId, volume);
|
|
@@ -4558,7 +4505,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4558
4505
|
return jsonResults.result;
|
|
4559
4506
|
};
|
|
4560
4507
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustCustomAudioPublishVolume = function (trackId, volume) {
|
|
4561
|
-
return '
|
|
4508
|
+
return 'RtcEngine_adjustCustomAudioPublishVolume_f8da2ca';
|
|
4562
4509
|
};
|
|
4563
4510
|
IRtcEngineImpl.prototype.adjustCustomAudioPlayoutVolume = function (trackId, volume) {
|
|
4564
4511
|
var apiType = this.getApiTypeFromAdjustCustomAudioPlayoutVolume(trackId, volume);
|
|
@@ -4576,7 +4523,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4576
4523
|
return jsonResults.result;
|
|
4577
4524
|
};
|
|
4578
4525
|
IRtcEngineImpl.prototype.getApiTypeFromAdjustCustomAudioPlayoutVolume = function (trackId, volume) {
|
|
4579
|
-
return '
|
|
4526
|
+
return 'RtcEngine_adjustCustomAudioPlayoutVolume_f8da2ca';
|
|
4580
4527
|
};
|
|
4581
4528
|
IRtcEngineImpl.prototype.setCloudProxy = function (proxyType) {
|
|
4582
4529
|
var apiType = this.getApiTypeFromSetCloudProxy(proxyType);
|
|
@@ -4592,7 +4539,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4592
4539
|
return jsonResults.result;
|
|
4593
4540
|
};
|
|
4594
4541
|
IRtcEngineImpl.prototype.getApiTypeFromSetCloudProxy = function (proxyType) {
|
|
4595
|
-
return '
|
|
4542
|
+
return 'RtcEngine_setCloudProxy_39d115e';
|
|
4596
4543
|
};
|
|
4597
4544
|
IRtcEngineImpl.prototype.setLocalAccessPoint = function (config) {
|
|
4598
4545
|
var apiType = this.getApiTypeFromSetLocalAccessPoint(config);
|
|
@@ -4608,7 +4555,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4608
4555
|
return jsonResults.result;
|
|
4609
4556
|
};
|
|
4610
4557
|
IRtcEngineImpl.prototype.getApiTypeFromSetLocalAccessPoint = function (config) {
|
|
4611
|
-
return '
|
|
4558
|
+
return 'RtcEngine_setLocalAccessPoint_798c8c7';
|
|
4612
4559
|
};
|
|
4613
4560
|
IRtcEngineImpl.prototype.setAdvancedAudioOptions = function (options, sourceType) {
|
|
4614
4561
|
if (sourceType === void 0) { sourceType = 0; }
|
|
@@ -4628,7 +4575,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4628
4575
|
};
|
|
4629
4576
|
IRtcEngineImpl.prototype.getApiTypeFromSetAdvancedAudioOptions = function (options, sourceType) {
|
|
4630
4577
|
if (sourceType === void 0) { sourceType = 0; }
|
|
4631
|
-
return '
|
|
4578
|
+
return 'RtcEngine_setAdvancedAudioOptions_38d986b';
|
|
4632
4579
|
};
|
|
4633
4580
|
IRtcEngineImpl.prototype.setAVSyncSource = function (channelId, uid) {
|
|
4634
4581
|
var apiType = this.getApiTypeFromSetAVSyncSource(channelId, uid);
|
|
@@ -4646,7 +4593,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4646
4593
|
return jsonResults.result;
|
|
4647
4594
|
};
|
|
4648
4595
|
IRtcEngineImpl.prototype.getApiTypeFromSetAVSyncSource = function (channelId, uid) {
|
|
4649
|
-
return '
|
|
4596
|
+
return 'RtcEngine_setAVSyncSource_bf26e54';
|
|
4650
4597
|
};
|
|
4651
4598
|
IRtcEngineImpl.prototype.enableVideoImageSource = function (enable, options) {
|
|
4652
4599
|
var apiType = this.getApiTypeFromEnableVideoImageSource(enable, options);
|
|
@@ -4664,7 +4611,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4664
4611
|
return jsonResults.result;
|
|
4665
4612
|
};
|
|
4666
4613
|
IRtcEngineImpl.prototype.getApiTypeFromEnableVideoImageSource = function (enable, options) {
|
|
4667
|
-
return '
|
|
4614
|
+
return 'RtcEngine_enableVideoImageSource_5f39ea0';
|
|
4668
4615
|
};
|
|
4669
4616
|
IRtcEngineImpl.prototype.getCurrentMonotonicTimeInMs = function () {
|
|
4670
4617
|
var apiType = this.getApiTypeFromGetCurrentMonotonicTimeInMs();
|
|
@@ -4689,7 +4636,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4689
4636
|
return jsonResults.result;
|
|
4690
4637
|
};
|
|
4691
4638
|
IRtcEngineImpl.prototype.getApiTypeFromEnableWirelessAccelerate = function (enabled) {
|
|
4692
|
-
return '
|
|
4639
|
+
return 'RtcEngine_enableWirelessAccelerate_5039d15';
|
|
4693
4640
|
};
|
|
4694
4641
|
IRtcEngineImpl.prototype.getNetworkType = function () {
|
|
4695
4642
|
var apiType = this.getApiTypeFromGetNetworkType();
|
|
@@ -4714,7 +4661,7 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4714
4661
|
return jsonResults.result;
|
|
4715
4662
|
};
|
|
4716
4663
|
IRtcEngineImpl.prototype.getApiTypeFromSetParameters = function (parameters) {
|
|
4717
|
-
return '
|
|
4664
|
+
return 'RtcEngine_setParameters_3a2037f';
|
|
4718
4665
|
};
|
|
4719
4666
|
IRtcEngineImpl.prototype.startMediaRenderingTracing = function () {
|
|
4720
4667
|
var apiType = this.getApiTypeFromStartMediaRenderingTracing();
|
|
@@ -4757,7 +4704,67 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4757
4704
|
return jsonResults.result;
|
|
4758
4705
|
};
|
|
4759
4706
|
IRtcEngineImpl.prototype.getApiTypeFromIsFeatureAvailableOnDevice = function (type) {
|
|
4760
|
-
return '
|
|
4707
|
+
return 'RtcEngine_isFeatureAvailableOnDevice_a694b62';
|
|
4708
|
+
};
|
|
4709
|
+
IRtcEngineImpl.prototype.startScreenCaptureBySourceType = function (sourceType, config) {
|
|
4710
|
+
var apiType = this.getApiTypeFromStartScreenCaptureBySourceType(sourceType, config);
|
|
4711
|
+
var jsonParams = {
|
|
4712
|
+
sourceType: sourceType,
|
|
4713
|
+
config: config,
|
|
4714
|
+
toJSON: function () {
|
|
4715
|
+
return {
|
|
4716
|
+
sourceType: sourceType,
|
|
4717
|
+
config: config,
|
|
4718
|
+
};
|
|
4719
|
+
},
|
|
4720
|
+
};
|
|
4721
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4722
|
+
return jsonResults.result;
|
|
4723
|
+
};
|
|
4724
|
+
IRtcEngineImpl.prototype.getApiTypeFromStartScreenCaptureBySourceType = function (sourceType, config) {
|
|
4725
|
+
return 'RtcEngine_startScreenCaptureBySourceType';
|
|
4726
|
+
};
|
|
4727
|
+
IRtcEngineImpl.prototype.stopScreenCaptureBySourceType = function (sourceType) {
|
|
4728
|
+
var apiType = this.getApiTypeFromStopScreenCaptureBySourceType(sourceType);
|
|
4729
|
+
var jsonParams = {
|
|
4730
|
+
sourceType: sourceType,
|
|
4731
|
+
toJSON: function () {
|
|
4732
|
+
return {
|
|
4733
|
+
sourceType: sourceType,
|
|
4734
|
+
};
|
|
4735
|
+
},
|
|
4736
|
+
};
|
|
4737
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4738
|
+
return jsonResults.result;
|
|
4739
|
+
};
|
|
4740
|
+
IRtcEngineImpl.prototype.getApiTypeFromStopScreenCaptureBySourceType = function (sourceType) {
|
|
4741
|
+
return 'RtcEngine_stopScreenCaptureBySourceType';
|
|
4742
|
+
};
|
|
4743
|
+
IRtcEngineImpl.prototype.release = function (sync) {
|
|
4744
|
+
if (sync === void 0) { sync = false; }
|
|
4745
|
+
var apiType = this.getApiTypeFromRelease(sync);
|
|
4746
|
+
var jsonParams = {
|
|
4747
|
+
sync: sync,
|
|
4748
|
+
toJSON: function () {
|
|
4749
|
+
return {
|
|
4750
|
+
sync: sync,
|
|
4751
|
+
};
|
|
4752
|
+
},
|
|
4753
|
+
};
|
|
4754
|
+
IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4755
|
+
};
|
|
4756
|
+
IRtcEngineImpl.prototype.getApiTypeFromRelease = function (sync) {
|
|
4757
|
+
if (sync === void 0) { sync = false; }
|
|
4758
|
+
return 'RtcEngine_release';
|
|
4759
|
+
};
|
|
4760
|
+
IRtcEngineImpl.prototype.startPreviewWithoutSourceType = function () {
|
|
4761
|
+
var apiType = this.getApiTypeFromStartPreviewWithoutSourceType();
|
|
4762
|
+
var jsonParams = {};
|
|
4763
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4764
|
+
return jsonResults.result;
|
|
4765
|
+
};
|
|
4766
|
+
IRtcEngineImpl.prototype.getApiTypeFromStartPreviewWithoutSourceType = function () {
|
|
4767
|
+
return 'RtcEngine_startPreviewWithoutSourceType';
|
|
4761
4768
|
};
|
|
4762
4769
|
IRtcEngineImpl.prototype.getAudioDeviceManager = function () {
|
|
4763
4770
|
var apiType = this.getApiTypeFromGetAudioDeviceManager();
|
|
@@ -4804,6 +4811,15 @@ var IRtcEngineImpl = /** @class */ (function () {
|
|
|
4804
4811
|
IRtcEngineImpl.prototype.getApiTypeFromGetLocalSpatialAudioEngine = function () {
|
|
4805
4812
|
return 'RtcEngine_getLocalSpatialAudioEngine';
|
|
4806
4813
|
};
|
|
4814
|
+
IRtcEngineImpl.prototype.getH265Transcoder = function () {
|
|
4815
|
+
var apiType = this.getApiTypeFromGetH265Transcoder();
|
|
4816
|
+
var jsonParams = {};
|
|
4817
|
+
var jsonResults = IrisApiEngine_1.callIrisApi.call(this, apiType, jsonParams);
|
|
4818
|
+
return jsonResults.result;
|
|
4819
|
+
};
|
|
4820
|
+
IRtcEngineImpl.prototype.getApiTypeFromGetH265Transcoder = function () {
|
|
4821
|
+
return 'RtcEngine_getH265Transcoder';
|
|
4822
|
+
};
|
|
4807
4823
|
IRtcEngineImpl.prototype.sendMetaData = function (metadata, sourceType) {
|
|
4808
4824
|
var apiType = this.getApiTypeFromSendMetaData(metadata, sourceType);
|
|
4809
4825
|
var jsonParams = {
|