agora-electron-sdk 4.3.2 → 4.4.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulpfile.js +3 -1
- package/js/AgoraSdk.js +4 -4
- package/js/Private/AgoraBase.js +367 -326
- package/js/Private/AgoraMediaBase.js +265 -76
- package/js/Private/AgoraMediaPlayerTypes.js +12 -30
- package/js/Private/IAgoraH265Transcoder.js +2 -5
- package/js/Private/IAgoraLog.js +2 -5
- package/js/Private/IAgoraMediaEngine.js +2 -5
- package/js/Private/IAgoraMediaPlayer.js +4 -10
- package/js/Private/IAgoraMediaRecorder.js +2 -5
- package/js/Private/IAgoraMediaStreamingSource.js +2 -5
- package/js/Private/IAgoraMusicContentCenter.js +21 -68
- package/js/Private/IAgoraRhythmPlayer.js +2 -5
- package/js/Private/IAgoraRtcEngine.js +76 -130
- package/js/Private/IAgoraRtcEngineEx.js +5 -28
- package/js/Private/IAgoraSpatialAudio.js +6 -15
- package/js/Private/IAudioDeviceManager.js +2 -5
- package/js/Private/impl/AgoraMediaBaseImpl.js +11 -14
- package/js/Private/impl/IAgoraH265TranscoderImpl.js +43 -46
- package/js/Private/impl/IAgoraMediaEngineImpl.js +155 -172
- package/js/Private/impl/IAgoraMediaPlayerImpl.js +534 -546
- package/js/Private/impl/IAgoraMediaRecorderImpl.js +26 -29
- package/js/Private/impl/IAgoraMusicContentCenterImpl.js +218 -251
- package/js/Private/impl/IAgoraRtcEngineExImpl.js +434 -436
- package/js/Private/impl/IAgoraRtcEngineImpl.js +2445 -2423
- package/js/Private/impl/IAgoraSpatialAudioImpl.js +167 -170
- package/js/Private/impl/IAudioDeviceManagerImpl.js +232 -235
- package/js/Private/internal/AgoraH265TranscoderInternal.js +33 -57
- package/js/Private/internal/AgoraMediaBaseInternal.js +9 -28
- package/js/Private/internal/AudioDeviceManagerInternal.js +24 -44
- package/js/Private/internal/IrisApiEngine.js +94 -145
- package/js/Private/internal/LocalSpatialAudioEngineInternal.js +3 -23
- package/js/Private/internal/MediaEngineInternal.js +69 -94
- package/js/Private/internal/MediaPlayerInternal.js +105 -125
- package/js/Private/internal/MediaRecorderInternal.js +37 -64
- package/js/Private/internal/MusicContentCenterInternal.js +92 -129
- package/js/Private/internal/RtcEngineExInternal.js +213 -243
- package/js/Private/ti/AgoraBase-ti.js +2 -2
- package/js/Private/ti/AgoraMediaBase-ti.js +2 -2
- package/js/Private/ti/AgoraMediaPlayerTypes-ti.js +1 -1
- package/js/Private/ti/IAgoraH265Transcoder-ti.js +2 -2
- package/js/Private/ti/IAgoraLog-ti.js +1 -1
- package/js/Private/ti/IAgoraMediaEngine-ti.js +1 -1
- package/js/Private/ti/IAgoraMediaPlayer-ti.js +2 -2
- package/js/Private/ti/IAgoraMediaPlayerSource-ti.js +2 -2
- package/js/Private/ti/IAgoraMediaRecorder-ti.js +1 -1
- package/js/Private/ti/IAgoraMediaStreamingSource-ti.js +1 -1
- package/js/Private/ti/IAgoraMusicContentCenter-ti.js +2 -2
- package/js/Private/ti/IAgoraRhythmPlayer-ti.js +1 -1
- package/js/Private/ti/IAgoraRtcEngine-ti.js +7 -7
- package/js/Private/ti/IAgoraRtcEngineEx-ti.js +1 -1
- package/js/Private/ti/IAgoraSpatialAudio-ti.js +1 -1
- package/js/Private/ti/IAudioDeviceManager-ti.js +1 -1
- package/js/Renderer/AgoraView.js +100 -145
- package/js/Renderer/IRenderer.js +43 -53
- package/js/Renderer/IRendererManager.js +106 -132
- package/js/Renderer/RendererCache.js +63 -96
- package/js/Renderer/RendererManager.js +35 -69
- package/js/Renderer/WebGLRenderer/index.js +77 -106
- package/js/Renderer/YUVCanvasRenderer/index.js +18 -40
- package/js/Utils.js +45 -64
- package/package.json +9 -7
- package/scripts/checkElectron.js +41 -0
- package/scripts/downloadPrebuild.js +56 -24
- package/scripts/synclib.js +6 -6
- package/ts/Private/AgoraBase.ts +269 -4
- package/ts/Private/AgoraMediaBase.ts +343 -1
- package/ts/Private/IAgoraMediaEngine.ts +3 -3
- package/ts/Private/IAgoraRtcEngine.ts +130 -119
- package/ts/Private/IAgoraRtcEngineEx.ts +14 -9
- package/ts/Private/impl/IAgoraRtcEngineExImpl.ts +30 -0
- package/ts/Private/impl/IAgoraRtcEngineImpl.ts +181 -61
- package/ts/Private/internal/IrisApiEngine.ts +3 -7
- package/ts/Private/internal/MediaEngineInternal.ts +0 -1
- package/ts/Private/internal/RtcEngineExInternal.ts +8 -4
- package/ts/Private/ti/IAgoraRtcEngine-ti.ts +5 -5
- package/ts/Renderer/IRenderer.ts +1 -2
- package/ts/Renderer/IRendererManager.ts +21 -12
- package/ts/Utils.ts +15 -0
- package/types/Private/AgoraBase.d.ts +264 -8
- package/types/Private/AgoraBase.d.ts.map +1 -1
- package/types/Private/AgoraMediaBase.d.ts +336 -1
- package/types/Private/AgoraMediaBase.d.ts.map +1 -1
- package/types/Private/IAgoraMediaEngine.d.ts +3 -3
- package/types/Private/IAgoraRtcEngine.d.ts +106 -116
- package/types/Private/IAgoraRtcEngine.d.ts.map +1 -1
- package/types/Private/IAgoraRtcEngineEx.d.ts +10 -10
- package/types/Private/IAgoraRtcEngineEx.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts +3 -1
- package/types/Private/impl/IAgoraRtcEngineExImpl.d.ts.map +1 -1
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts +13 -5
- package/types/Private/impl/IAgoraRtcEngineImpl.d.ts.map +1 -1
- package/types/Private/internal/IrisApiEngine.d.ts.map +1 -1
- package/types/Private/internal/MediaEngineInternal.d.ts.map +1 -1
- package/types/Private/internal/RtcEngineExInternal.d.ts +1 -0
- package/types/Private/internal/RtcEngineExInternal.d.ts.map +1 -1
- package/types/Renderer/IRenderer.d.ts.map +1 -1
- package/types/Renderer/IRendererManager.d.ts.map +1 -1
- package/types/Utils.d.ts +4 -0
- package/types/Utils.d.ts.map +1 -1
package/js/Private/AgoraBase.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.VideoLayout = exports.SpatialAudioParams = exports.RecorderStreamInfo = exports.LocalAccessPointConfiguration = exports.AdvancedConfigInfo = exports.LogUploadServerInfo = exports.LocalProxyMode = exports.ConfigFetchType = exports.VideoRenderingTracingInfo = exports.MediaTraceEvent = exports.ScreenCaptureParameters2 = exports.ScreenAudioParameters = exports.ScreenVideoParameters = exports.ThreadPriorityType = exports.EarMonitoringFilterType = exports.UserInfo = exports.EchoTestConfiguration = void 0;
|
|
3
|
+
exports.SimulcastConfig = exports.StreamLayerConfig = exports.StreamLayerIndex = exports.SimulcastStreamConfig = exports.SimulcastStreamMode = exports.DataStreamConfig = exports.VideoEncoderConfiguration = exports.FocalLengthInfo = exports.CodecCapInfo = exports.CodecCapLevels = exports.CodecCapMask = exports.CameraFormatType = exports.VideoMirrorModeType = exports.AdvanceOptions = exports.EncodingPreference = exports.CompressionPreference = exports.EncodedVideoFrameInfo = exports.MaxUserAccountLengthType = exports.VideoSubscriptionOptions = exports.VideoStreamType = exports.H264PacketizeMode = exports.AudioPcmDataInfo = exports.EncodedAudioFrameInfo = exports.EncodedAudioFrameAdvancedSettings = exports.WatermarkFitMode = exports.AudioEncodingType = exports.AudioCodecType = exports.SenderOptions = exports.TCcMode = exports.CameraFocalLengthType = exports.VideoCodecType = exports.VideoCodecCapabilityLevel = exports.ScreenCaptureFramerateCapability = exports.VideoDimensions = exports.DegradationPreference = exports.OrientationMode = exports.VideoFrameType = exports.FrameHeight = exports.FrameWidth = exports.FrameRate = exports.VideoOrientation = exports.FitModeType = exports.QualityType = exports.InterfaceIdType = exports.UserOfflineReasonType = exports.AudioSessionOperationRestriction = exports.LicenseErrorType = exports.ErrorCodeType = exports.WarnCodeType = exports.ChannelProfileType = void 0;
|
|
4
|
+
exports.VideoTranscoderError = exports.LocalTranscoderConfiguration = exports.TranscodingVideoStream = exports.LiveTranscoding = exports.TranscodingUser = exports.ConnectionStateType = exports.LiveStreamAdvancedFeature = exports.RtcImage = exports.RtmpStreamingEvent = exports.RtmpStreamPublishReason = exports.RtmpStreamPublishState = exports.LocalAudioStats = exports.AudioCodecProfileType = exports.VideoCodecProfileType = exports.VideoCodecTypeForStream = exports.AudioSampleRateType = exports.Packet = exports.DeviceInfo = exports.AudioVolumeInfo = exports.RemoteVideoDownscaleLevel = exports.VideoTrackInfo = exports.RemoteUserState = exports.RemoteVideoStateReason = exports.RemoteVideoState = exports.RemoteAudioStateReason = exports.RemoteAudioState = exports.LocalVideoStreamReason = exports.LocalVideoStreamState = exports.LocalAudioStreamReason = exports.LocalAudioStreamState = exports.CameraStabilizationMode = exports.CaptureBrightnessLevelType = exports.VideoQoePreferenceType = exports.VideoApplicationScenarioType = exports.ScreenScenarioType = exports.VideoContentHint = exports.VideoFormat = exports.AudioScenarioType = exports.AudioProfileType = exports.AudioAinsMode = exports.ExperiencePoorReason = exports.ExperienceQualityType = exports.ClientRoleOptions = exports.AudienceLatencyLevelType = exports.QualityAdaptIndication = exports.ClientRoleType = exports.RtcStats = exports.WatermarkOptions = exports.WatermarkRatio = exports.Rectangle = void 0;
|
|
5
|
+
exports.UplinkNetworkInfo = exports.ChannelMediaRelayConfiguration = exports.ChannelMediaInfo = exports.ChannelMediaRelayState = exports.ChannelMediaRelayError = exports.AreaCodeEx = exports.AreaCode = exports.AudioEncodedFrameObserverConfig = exports.AudioRecordingConfiguration = exports.AudioEncodedFrameObserverPosition = exports.AudioFileRecordingType = exports.AudioRecordingQualityType = exports.ScreenCaptureParameters = exports.VoiceAiTunerType = exports.HeadphoneEqualizerPreset = exports.VoiceConversionPreset = exports.AudioEffectPreset = exports.VoiceBeautifierPreset = exports.AudioTrackConfig = exports.AudioTrackType = exports.SegmentationProperty = exports.SegModelType = exports.VirtualBackgroundSource = exports.BackgroundBlurDegree = exports.BackgroundSourceType = exports.ColorEnhanceOptions = exports.VideoDenoiserOptions = exports.VideoDenoiserLevel = exports.VideoDenoiserMode = exports.LowlightEnhanceOptions = exports.LowLightEnhanceLevel = exports.LowLightEnhanceMode = exports.FaceShapeBeautyOptions = exports.FaceShapeBeautyStyle = exports.FaceShapeAreaOptions = exports.FaceShapeArea = exports.BeautyOptions = exports.LighteningContrastLevel = exports.VideoCanvas = exports.VideoViewSetupMode = exports.NetworkType = exports.WlAccStats = exports.WlaccSuggestAction = exports.WlaccMessageReason = exports.ClientRoleChangeFailedReason = exports.ConnectionChangedReasonType = exports.LastmileProbeResult = exports.LastmileProbeOneWayResult = exports.LastmileProbeResultState = exports.LastmileProbeConfig = void 0;
|
|
6
|
+
exports.VideoLayout = exports.SpatialAudioParams = exports.RecorderStreamInfo = exports.LocalAccessPointConfiguration = exports.AdvancedConfigInfo = exports.LogUploadServerInfo = exports.LocalProxyMode = exports.ConfigFetchType = exports.VideoRenderingTracingInfo = exports.MediaTraceEvent = exports.ScreenCaptureParameters2 = exports.ScreenAudioParameters = exports.ScreenVideoParameters = exports.ThreadPriorityType = exports.EarMonitoringFilterType = exports.UserInfo = exports.EchoTestConfiguration = exports.StreamPublishState = exports.StreamSubscribeState = exports.PermissionType = exports.UploadErrorReason = exports.EncryptionErrorType = exports.EncryptionConfig = exports.EncryptionMode = exports.DownlinkNetworkInfo = exports.PeerDownlinkInfo = void 0;
|
|
7
7
|
require("./extension/AgoraBaseExtension");
|
|
8
8
|
/**
|
|
9
9
|
* The channel profile.
|
|
@@ -618,7 +618,7 @@ var QualityType;
|
|
|
618
618
|
*/
|
|
619
619
|
QualityType[QualityType["QualityDown"] = 6] = "QualityDown";
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* @ignore
|
|
622
622
|
*/
|
|
623
623
|
QualityType[QualityType["QualityUnsupported"] = 7] = "QualityUnsupported";
|
|
624
624
|
/**
|
|
@@ -795,11 +795,8 @@ var DegradationPreference;
|
|
|
795
795
|
/**
|
|
796
796
|
* The video dimension.
|
|
797
797
|
*/
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}
|
|
801
|
-
return VideoDimensions;
|
|
802
|
-
}());
|
|
798
|
+
class VideoDimensions {
|
|
799
|
+
}
|
|
803
800
|
exports.VideoDimensions = VideoDimensions;
|
|
804
801
|
/**
|
|
805
802
|
* @ignore
|
|
@@ -926,11 +923,8 @@ var TCcMode;
|
|
|
926
923
|
/**
|
|
927
924
|
* @ignore
|
|
928
925
|
*/
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
}
|
|
932
|
-
return SenderOptions;
|
|
933
|
-
}());
|
|
926
|
+
class SenderOptions {
|
|
927
|
+
}
|
|
934
928
|
exports.SenderOptions = SenderOptions;
|
|
935
929
|
/**
|
|
936
930
|
* The codec type of audio.
|
|
@@ -973,6 +967,10 @@ var AudioCodecType;
|
|
|
973
967
|
* @ignore
|
|
974
968
|
*/
|
|
975
969
|
AudioCodecType[AudioCodecType["AudioCodecLpcnet"] = 12] = "AudioCodecLpcnet";
|
|
970
|
+
/**
|
|
971
|
+
* @ignore
|
|
972
|
+
*/
|
|
973
|
+
AudioCodecType[AudioCodecType["AudioCodecOpusmc"] = 13] = "AudioCodecOpusmc";
|
|
976
974
|
})(AudioCodecType = exports.AudioCodecType || (exports.AudioCodecType = {}));
|
|
977
975
|
/**
|
|
978
976
|
* Audio encoding type.
|
|
@@ -1041,29 +1039,20 @@ var WatermarkFitMode;
|
|
|
1041
1039
|
/**
|
|
1042
1040
|
* @ignore
|
|
1043
1041
|
*/
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
}
|
|
1047
|
-
return EncodedAudioFrameAdvancedSettings;
|
|
1048
|
-
}());
|
|
1042
|
+
class EncodedAudioFrameAdvancedSettings {
|
|
1043
|
+
}
|
|
1049
1044
|
exports.EncodedAudioFrameAdvancedSettings = EncodedAudioFrameAdvancedSettings;
|
|
1050
1045
|
/**
|
|
1051
1046
|
* Audio information after encoding.
|
|
1052
1047
|
*/
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
}
|
|
1056
|
-
return EncodedAudioFrameInfo;
|
|
1057
|
-
}());
|
|
1048
|
+
class EncodedAudioFrameInfo {
|
|
1049
|
+
}
|
|
1058
1050
|
exports.EncodedAudioFrameInfo = EncodedAudioFrameInfo;
|
|
1059
1051
|
/**
|
|
1060
1052
|
* @ignore
|
|
1061
1053
|
*/
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}
|
|
1065
|
-
return AudioPcmDataInfo;
|
|
1066
|
-
}());
|
|
1054
|
+
class AudioPcmDataInfo {
|
|
1055
|
+
}
|
|
1067
1056
|
exports.AudioPcmDataInfo = AudioPcmDataInfo;
|
|
1068
1057
|
/**
|
|
1069
1058
|
* @ignore
|
|
@@ -1092,15 +1081,36 @@ var VideoStreamType;
|
|
|
1092
1081
|
* 1: Low-quality video stream.
|
|
1093
1082
|
*/
|
|
1094
1083
|
VideoStreamType[VideoStreamType["VideoStreamLow"] = 1] = "VideoStreamLow";
|
|
1084
|
+
/**
|
|
1085
|
+
* @ignore
|
|
1086
|
+
*/
|
|
1087
|
+
VideoStreamType[VideoStreamType["VideoStreamLayer1"] = 4] = "VideoStreamLayer1";
|
|
1088
|
+
/**
|
|
1089
|
+
* @ignore
|
|
1090
|
+
*/
|
|
1091
|
+
VideoStreamType[VideoStreamType["VideoStreamLayer2"] = 5] = "VideoStreamLayer2";
|
|
1092
|
+
/**
|
|
1093
|
+
* @ignore
|
|
1094
|
+
*/
|
|
1095
|
+
VideoStreamType[VideoStreamType["VideoStreamLayer3"] = 6] = "VideoStreamLayer3";
|
|
1096
|
+
/**
|
|
1097
|
+
* @ignore
|
|
1098
|
+
*/
|
|
1099
|
+
VideoStreamType[VideoStreamType["VideoStreamLayer4"] = 7] = "VideoStreamLayer4";
|
|
1100
|
+
/**
|
|
1101
|
+
* @ignore
|
|
1102
|
+
*/
|
|
1103
|
+
VideoStreamType[VideoStreamType["VideoStreamLayer5"] = 8] = "VideoStreamLayer5";
|
|
1104
|
+
/**
|
|
1105
|
+
* @ignore
|
|
1106
|
+
*/
|
|
1107
|
+
VideoStreamType[VideoStreamType["VideoStreamLayer6"] = 9] = "VideoStreamLayer6";
|
|
1095
1108
|
})(VideoStreamType = exports.VideoStreamType || (exports.VideoStreamType = {}));
|
|
1096
1109
|
/**
|
|
1097
1110
|
* Video subscription options.
|
|
1098
1111
|
*/
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
}
|
|
1102
|
-
return VideoSubscriptionOptions;
|
|
1103
|
-
}());
|
|
1112
|
+
class VideoSubscriptionOptions {
|
|
1113
|
+
}
|
|
1104
1114
|
exports.VideoSubscriptionOptions = VideoSubscriptionOptions;
|
|
1105
1115
|
/**
|
|
1106
1116
|
* The maximum length of the user account.
|
|
@@ -1115,11 +1125,8 @@ var MaxUserAccountLengthType;
|
|
|
1115
1125
|
/**
|
|
1116
1126
|
* Information about externally encoded video frames.
|
|
1117
1127
|
*/
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}
|
|
1121
|
-
return EncodedVideoFrameInfo;
|
|
1122
|
-
}());
|
|
1128
|
+
class EncodedVideoFrameInfo {
|
|
1129
|
+
}
|
|
1123
1130
|
exports.EncodedVideoFrameInfo = EncodedVideoFrameInfo;
|
|
1124
1131
|
/**
|
|
1125
1132
|
* Compression preference for video encoding.
|
|
@@ -1156,11 +1163,8 @@ var EncodingPreference;
|
|
|
1156
1163
|
/**
|
|
1157
1164
|
* Advanced options for video encoding.
|
|
1158
1165
|
*/
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}
|
|
1162
|
-
return AdvanceOptions;
|
|
1163
|
-
}());
|
|
1166
|
+
class AdvanceOptions {
|
|
1167
|
+
}
|
|
1164
1168
|
exports.AdvanceOptions = AdvanceOptions;
|
|
1165
1169
|
/**
|
|
1166
1170
|
* Video mirror mode.
|
|
@@ -1182,6 +1186,20 @@ var VideoMirrorModeType;
|
|
|
1182
1186
|
*/
|
|
1183
1187
|
VideoMirrorModeType[VideoMirrorModeType["VideoMirrorModeDisabled"] = 2] = "VideoMirrorModeDisabled";
|
|
1184
1188
|
})(VideoMirrorModeType = exports.VideoMirrorModeType || (exports.VideoMirrorModeType = {}));
|
|
1189
|
+
/**
|
|
1190
|
+
* @ignore
|
|
1191
|
+
*/
|
|
1192
|
+
var CameraFormatType;
|
|
1193
|
+
(function (CameraFormatType) {
|
|
1194
|
+
/**
|
|
1195
|
+
* @ignore
|
|
1196
|
+
*/
|
|
1197
|
+
CameraFormatType[CameraFormatType["CameraFormatNv12"] = 0] = "CameraFormatNv12";
|
|
1198
|
+
/**
|
|
1199
|
+
* @ignore
|
|
1200
|
+
*/
|
|
1201
|
+
CameraFormatType[CameraFormatType["CameraFormatBgra"] = 1] = "CameraFormatBgra";
|
|
1202
|
+
})(CameraFormatType = exports.CameraFormatType || (exports.CameraFormatType = {}));
|
|
1185
1203
|
/**
|
|
1186
1204
|
* The bit mask of the codec type.
|
|
1187
1205
|
*/
|
|
@@ -1211,49 +1229,34 @@ var CodecCapMask;
|
|
|
1211
1229
|
/**
|
|
1212
1230
|
* The level of the codec capability.
|
|
1213
1231
|
*/
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
}
|
|
1217
|
-
return CodecCapLevels;
|
|
1218
|
-
}());
|
|
1232
|
+
class CodecCapLevels {
|
|
1233
|
+
}
|
|
1219
1234
|
exports.CodecCapLevels = CodecCapLevels;
|
|
1220
1235
|
/**
|
|
1221
1236
|
* The codec capability of the SDK.
|
|
1222
1237
|
*/
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
}
|
|
1226
|
-
return CodecCapInfo;
|
|
1227
|
-
}());
|
|
1238
|
+
class CodecCapInfo {
|
|
1239
|
+
}
|
|
1228
1240
|
exports.CodecCapInfo = CodecCapInfo;
|
|
1229
1241
|
/**
|
|
1230
1242
|
* @ignore
|
|
1231
1243
|
*/
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
}
|
|
1235
|
-
return FocalLengthInfo;
|
|
1236
|
-
}());
|
|
1244
|
+
class FocalLengthInfo {
|
|
1245
|
+
}
|
|
1237
1246
|
exports.FocalLengthInfo = FocalLengthInfo;
|
|
1238
1247
|
/**
|
|
1239
1248
|
* Video encoder configurations.
|
|
1240
1249
|
*/
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
}
|
|
1244
|
-
return VideoEncoderConfiguration;
|
|
1245
|
-
}());
|
|
1250
|
+
class VideoEncoderConfiguration {
|
|
1251
|
+
}
|
|
1246
1252
|
exports.VideoEncoderConfiguration = VideoEncoderConfiguration;
|
|
1247
1253
|
/**
|
|
1248
1254
|
* The configurations for the data stream.
|
|
1249
1255
|
*
|
|
1250
1256
|
* The following table shows the SDK behaviors under different parameter settings:
|
|
1251
1257
|
*/
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
}
|
|
1255
|
-
return DataStreamConfig;
|
|
1256
|
-
}());
|
|
1258
|
+
class DataStreamConfig {
|
|
1259
|
+
}
|
|
1257
1260
|
exports.DataStreamConfig = DataStreamConfig;
|
|
1258
1261
|
/**
|
|
1259
1262
|
* The mode in which the video stream is sent.
|
|
@@ -1276,20 +1279,64 @@ var SimulcastStreamMode;
|
|
|
1276
1279
|
/**
|
|
1277
1280
|
* The configuration of the low-quality video stream.
|
|
1278
1281
|
*/
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}
|
|
1282
|
-
return SimulcastStreamConfig;
|
|
1283
|
-
}());
|
|
1282
|
+
class SimulcastStreamConfig {
|
|
1283
|
+
}
|
|
1284
1284
|
exports.SimulcastStreamConfig = SimulcastStreamConfig;
|
|
1285
|
+
/**
|
|
1286
|
+
* @ignore
|
|
1287
|
+
*/
|
|
1288
|
+
var StreamLayerIndex;
|
|
1289
|
+
(function (StreamLayerIndex) {
|
|
1290
|
+
/**
|
|
1291
|
+
* @ignore
|
|
1292
|
+
*/
|
|
1293
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayer1"] = 0] = "StreamLayer1";
|
|
1294
|
+
/**
|
|
1295
|
+
* @ignore
|
|
1296
|
+
*/
|
|
1297
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayer2"] = 1] = "StreamLayer2";
|
|
1298
|
+
/**
|
|
1299
|
+
* @ignore
|
|
1300
|
+
*/
|
|
1301
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayer3"] = 2] = "StreamLayer3";
|
|
1302
|
+
/**
|
|
1303
|
+
* @ignore
|
|
1304
|
+
*/
|
|
1305
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayer4"] = 3] = "StreamLayer4";
|
|
1306
|
+
/**
|
|
1307
|
+
* @ignore
|
|
1308
|
+
*/
|
|
1309
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayer5"] = 4] = "StreamLayer5";
|
|
1310
|
+
/**
|
|
1311
|
+
* @ignore
|
|
1312
|
+
*/
|
|
1313
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayer6"] = 5] = "StreamLayer6";
|
|
1314
|
+
/**
|
|
1315
|
+
* @ignore
|
|
1316
|
+
*/
|
|
1317
|
+
StreamLayerIndex[StreamLayerIndex["StreamLow"] = 6] = "StreamLow";
|
|
1318
|
+
/**
|
|
1319
|
+
* @ignore
|
|
1320
|
+
*/
|
|
1321
|
+
StreamLayerIndex[StreamLayerIndex["StreamLayerCountMax"] = 7] = "StreamLayerCountMax";
|
|
1322
|
+
})(StreamLayerIndex = exports.StreamLayerIndex || (exports.StreamLayerIndex = {}));
|
|
1323
|
+
/**
|
|
1324
|
+
* @ignore
|
|
1325
|
+
*/
|
|
1326
|
+
class StreamLayerConfig {
|
|
1327
|
+
}
|
|
1328
|
+
exports.StreamLayerConfig = StreamLayerConfig;
|
|
1329
|
+
/**
|
|
1330
|
+
* @ignore
|
|
1331
|
+
*/
|
|
1332
|
+
class SimulcastConfig {
|
|
1333
|
+
}
|
|
1334
|
+
exports.SimulcastConfig = SimulcastConfig;
|
|
1285
1335
|
/**
|
|
1286
1336
|
* The location of the target area relative to the screen or window. If you do not set this parameter, the SDK selects the whole screen or window.
|
|
1287
1337
|
*/
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
}
|
|
1291
|
-
return Rectangle;
|
|
1292
|
-
}());
|
|
1338
|
+
class Rectangle {
|
|
1339
|
+
}
|
|
1293
1340
|
exports.Rectangle = Rectangle;
|
|
1294
1341
|
/**
|
|
1295
1342
|
* The position and size of the watermark on the screen.
|
|
@@ -1298,29 +1345,20 @@ exports.Rectangle = Rectangle;
|
|
|
1298
1345
|
* (xRatio, yRatio) refers to the coordinates of the upper left corner of the watermark, which determines the distance from the upper left corner of the watermark to the upper left corner of the screen.
|
|
1299
1346
|
* The widthRatio determines the width of the watermark.
|
|
1300
1347
|
*/
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
}
|
|
1304
|
-
return WatermarkRatio;
|
|
1305
|
-
}());
|
|
1348
|
+
class WatermarkRatio {
|
|
1349
|
+
}
|
|
1306
1350
|
exports.WatermarkRatio = WatermarkRatio;
|
|
1307
1351
|
/**
|
|
1308
1352
|
* Configurations of the watermark image.
|
|
1309
1353
|
*/
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
}
|
|
1313
|
-
return WatermarkOptions;
|
|
1314
|
-
}());
|
|
1354
|
+
class WatermarkOptions {
|
|
1355
|
+
}
|
|
1315
1356
|
exports.WatermarkOptions = WatermarkOptions;
|
|
1316
1357
|
/**
|
|
1317
1358
|
* Statistics of a call session.
|
|
1318
1359
|
*/
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
}
|
|
1322
|
-
return RtcStats;
|
|
1323
|
-
}());
|
|
1360
|
+
class RtcStats {
|
|
1361
|
+
}
|
|
1324
1362
|
exports.RtcStats = RtcStats;
|
|
1325
1363
|
/**
|
|
1326
1364
|
* The user role in the interactive live streaming.
|
|
@@ -1371,11 +1409,8 @@ var AudienceLatencyLevelType;
|
|
|
1371
1409
|
/**
|
|
1372
1410
|
* Setting of user role properties.
|
|
1373
1411
|
*/
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
}
|
|
1377
|
-
return ClientRoleOptions;
|
|
1378
|
-
}());
|
|
1412
|
+
class ClientRoleOptions {
|
|
1413
|
+
}
|
|
1379
1414
|
exports.ClientRoleOptions = ClientRoleOptions;
|
|
1380
1415
|
/**
|
|
1381
1416
|
* The Quality of Experience (QoE) of the local user when receiving a remote audio stream.
|
|
@@ -1509,11 +1544,8 @@ var AudioScenarioType;
|
|
|
1509
1544
|
/**
|
|
1510
1545
|
* The format of the video frame.
|
|
1511
1546
|
*/
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
}
|
|
1515
|
-
return VideoFormat;
|
|
1516
|
-
}());
|
|
1547
|
+
class VideoFormat {
|
|
1548
|
+
}
|
|
1517
1549
|
exports.VideoFormat = VideoFormat;
|
|
1518
1550
|
/**
|
|
1519
1551
|
* The content hint for screen sharing.
|
|
@@ -1581,6 +1613,10 @@ var VideoApplicationScenarioType;
|
|
|
1581
1613
|
* Bitrate: 500 Kbps 1: The meeting scenario.
|
|
1582
1614
|
*/
|
|
1583
1615
|
VideoApplicationScenarioType[VideoApplicationScenarioType["ApplicationScenarioMeeting"] = 1] = "ApplicationScenarioMeeting";
|
|
1616
|
+
/**
|
|
1617
|
+
* @ignore
|
|
1618
|
+
*/
|
|
1619
|
+
VideoApplicationScenarioType[VideoApplicationScenarioType["ApplicationScenario1v1"] = 2] = "ApplicationScenario1v1";
|
|
1584
1620
|
})(VideoApplicationScenarioType = exports.VideoApplicationScenarioType || (exports.VideoApplicationScenarioType = {}));
|
|
1585
1621
|
/**
|
|
1586
1622
|
* @ignore
|
|
@@ -1862,6 +1898,10 @@ var LocalVideoStreamReason;
|
|
|
1862
1898
|
* @ignore
|
|
1863
1899
|
*/
|
|
1864
1900
|
LocalVideoStreamReason[LocalVideoStreamReason["LocalVideoStreamReasonScreenCaptureResumed"] = 29] = "LocalVideoStreamReasonScreenCaptureResumed";
|
|
1901
|
+
/**
|
|
1902
|
+
* @ignore
|
|
1903
|
+
*/
|
|
1904
|
+
LocalVideoStreamReason[LocalVideoStreamReason["LocalVideoStreamReasonScreenCaptureDisplayDisconnected"] = 30] = "LocalVideoStreamReasonScreenCaptureDisplayDisconnected";
|
|
1865
1905
|
})(LocalVideoStreamReason = exports.LocalVideoStreamReason || (exports.LocalVideoStreamReason = {}));
|
|
1866
1906
|
/**
|
|
1867
1907
|
* Remote audio states.
|
|
@@ -2048,11 +2088,8 @@ var RemoteUserState;
|
|
|
2048
2088
|
/**
|
|
2049
2089
|
* @ignore
|
|
2050
2090
|
*/
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
}
|
|
2054
|
-
return VideoTrackInfo;
|
|
2055
|
-
}());
|
|
2091
|
+
class VideoTrackInfo {
|
|
2092
|
+
}
|
|
2056
2093
|
exports.VideoTrackInfo = VideoTrackInfo;
|
|
2057
2094
|
/**
|
|
2058
2095
|
* @ignore
|
|
@@ -2083,29 +2120,20 @@ var RemoteVideoDownscaleLevel;
|
|
|
2083
2120
|
/**
|
|
2084
2121
|
* The volume information of users.
|
|
2085
2122
|
*/
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
}
|
|
2089
|
-
return AudioVolumeInfo;
|
|
2090
|
-
}());
|
|
2123
|
+
class AudioVolumeInfo {
|
|
2124
|
+
}
|
|
2091
2125
|
exports.AudioVolumeInfo = AudioVolumeInfo;
|
|
2092
2126
|
/**
|
|
2093
2127
|
* The audio device information.
|
|
2094
2128
|
*/
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
}
|
|
2098
|
-
return DeviceInfo;
|
|
2099
|
-
}());
|
|
2129
|
+
class DeviceInfo {
|
|
2130
|
+
}
|
|
2100
2131
|
exports.DeviceInfo = DeviceInfo;
|
|
2101
2132
|
/**
|
|
2102
2133
|
* @ignore
|
|
2103
2134
|
*/
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
}
|
|
2107
|
-
return Packet;
|
|
2108
|
-
}());
|
|
2135
|
+
class Packet {
|
|
2136
|
+
}
|
|
2109
2137
|
exports.Packet = Packet;
|
|
2110
2138
|
/**
|
|
2111
2139
|
* The audio sampling rate of the stream to be pushed to the CDN.
|
|
@@ -2178,11 +2206,8 @@ var AudioCodecProfileType;
|
|
|
2178
2206
|
/**
|
|
2179
2207
|
* Local audio statistics.
|
|
2180
2208
|
*/
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
}
|
|
2184
|
-
return LocalAudioStats;
|
|
2185
|
-
}());
|
|
2209
|
+
class LocalAudioStats {
|
|
2210
|
+
}
|
|
2186
2211
|
exports.LocalAudioStats = LocalAudioStats;
|
|
2187
2212
|
/**
|
|
2188
2213
|
* States of the Media Push.
|
|
@@ -2317,22 +2342,16 @@ var RtmpStreamingEvent;
|
|
|
2317
2342
|
*
|
|
2318
2343
|
* This class sets the properties of the watermark and background images in the live video.
|
|
2319
2344
|
*/
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
}
|
|
2323
|
-
return RtcImage;
|
|
2324
|
-
}());
|
|
2345
|
+
class RtcImage {
|
|
2346
|
+
}
|
|
2325
2347
|
exports.RtcImage = RtcImage;
|
|
2326
2348
|
/**
|
|
2327
2349
|
* The configuration for advanced features of the RTMP or RTMPS streaming with transcoding.
|
|
2328
2350
|
*
|
|
2329
2351
|
* If you want to enable the advanced features of streaming with transcoding, contact.
|
|
2330
2352
|
*/
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
}
|
|
2334
|
-
return LiveStreamAdvancedFeature;
|
|
2335
|
-
}());
|
|
2353
|
+
class LiveStreamAdvancedFeature {
|
|
2354
|
+
}
|
|
2336
2355
|
exports.LiveStreamAdvancedFeature = LiveStreamAdvancedFeature;
|
|
2337
2356
|
/**
|
|
2338
2357
|
* Connection states.
|
|
@@ -2371,38 +2390,26 @@ var ConnectionStateType;
|
|
|
2371
2390
|
/**
|
|
2372
2391
|
* Transcoding configurations of each host.
|
|
2373
2392
|
*/
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
}
|
|
2377
|
-
return TranscodingUser;
|
|
2378
|
-
}());
|
|
2393
|
+
class TranscodingUser {
|
|
2394
|
+
}
|
|
2379
2395
|
exports.TranscodingUser = TranscodingUser;
|
|
2380
2396
|
/**
|
|
2381
2397
|
* Transcoding configurations for Media Push.
|
|
2382
2398
|
*/
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
}
|
|
2386
|
-
return LiveTranscoding;
|
|
2387
|
-
}());
|
|
2399
|
+
class LiveTranscoding {
|
|
2400
|
+
}
|
|
2388
2401
|
exports.LiveTranscoding = LiveTranscoding;
|
|
2389
2402
|
/**
|
|
2390
2403
|
* The video streams for local video mixing.
|
|
2391
2404
|
*/
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
}
|
|
2395
|
-
return TranscodingVideoStream;
|
|
2396
|
-
}());
|
|
2405
|
+
class TranscodingVideoStream {
|
|
2406
|
+
}
|
|
2397
2407
|
exports.TranscodingVideoStream = TranscodingVideoStream;
|
|
2398
2408
|
/**
|
|
2399
2409
|
* The configuration of the video mixing on the local client.
|
|
2400
2410
|
*/
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
}
|
|
2404
|
-
return LocalTranscoderConfiguration;
|
|
2405
|
-
}());
|
|
2411
|
+
class LocalTranscoderConfiguration {
|
|
2412
|
+
}
|
|
2406
2413
|
exports.LocalTranscoderConfiguration = LocalTranscoderConfiguration;
|
|
2407
2414
|
/**
|
|
2408
2415
|
* The error code of the local video mixing failure.
|
|
@@ -2437,11 +2444,8 @@ var VideoTranscoderError;
|
|
|
2437
2444
|
/**
|
|
2438
2445
|
* Configurations of the last-mile network test.
|
|
2439
2446
|
*/
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
}
|
|
2443
|
-
return LastmileProbeConfig;
|
|
2444
|
-
}());
|
|
2447
|
+
class LastmileProbeConfig {
|
|
2448
|
+
}
|
|
2445
2449
|
exports.LastmileProbeConfig = LastmileProbeConfig;
|
|
2446
2450
|
/**
|
|
2447
2451
|
* The status of the last-mile probe test.
|
|
@@ -2464,20 +2468,14 @@ var LastmileProbeResultState;
|
|
|
2464
2468
|
/**
|
|
2465
2469
|
* Results of the uplink or downlink last-mile network test.
|
|
2466
2470
|
*/
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
}
|
|
2470
|
-
return LastmileProbeOneWayResult;
|
|
2471
|
-
}());
|
|
2471
|
+
class LastmileProbeOneWayResult {
|
|
2472
|
+
}
|
|
2472
2473
|
exports.LastmileProbeOneWayResult = LastmileProbeOneWayResult;
|
|
2473
2474
|
/**
|
|
2474
2475
|
* Results of the uplink and downlink last-mile network tests.
|
|
2475
2476
|
*/
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
}
|
|
2479
|
-
return LastmileProbeResult;
|
|
2480
|
-
}());
|
|
2477
|
+
class LastmileProbeResult {
|
|
2478
|
+
}
|
|
2481
2479
|
exports.LastmileProbeResult = LastmileProbeResult;
|
|
2482
2480
|
/**
|
|
2483
2481
|
* Reasons causing the change of the connection state.
|
|
@@ -2517,7 +2515,6 @@ var ConnectionChangedReasonType;
|
|
|
2517
2515
|
* All lowercase English letters: a to z.
|
|
2518
2516
|
* All uppercase English letters: A to Z.
|
|
2519
2517
|
* All numeric characters: 0 to 9.
|
|
2520
|
-
* Space
|
|
2521
2518
|
* "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", ","
|
|
2522
2519
|
*/
|
|
2523
2520
|
ConnectionChangedReasonType[ConnectionChangedReasonType["ConnectionChangedInvalidChannelName"] = 7] = "ConnectionChangedInvalidChannelName";
|
|
@@ -2659,11 +2656,8 @@ var WlaccSuggestAction;
|
|
|
2659
2656
|
/**
|
|
2660
2657
|
* @ignore
|
|
2661
2658
|
*/
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
}
|
|
2665
|
-
return WlAccStats;
|
|
2666
|
-
}());
|
|
2659
|
+
class WlAccStats {
|
|
2660
|
+
}
|
|
2667
2661
|
exports.WlAccStats = WlAccStats;
|
|
2668
2662
|
/**
|
|
2669
2663
|
* Network type.
|
|
@@ -2724,11 +2718,8 @@ var VideoViewSetupMode;
|
|
|
2724
2718
|
/**
|
|
2725
2719
|
* Attributes of the video canvas object.
|
|
2726
2720
|
*/
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
}
|
|
2730
|
-
return VideoCanvas;
|
|
2731
|
-
}());
|
|
2721
|
+
class VideoCanvas {
|
|
2722
|
+
}
|
|
2732
2723
|
exports.VideoCanvas = VideoCanvas;
|
|
2733
2724
|
/**
|
|
2734
2725
|
* The contrast level.
|
|
@@ -2751,12 +2742,93 @@ var LighteningContrastLevel;
|
|
|
2751
2742
|
/**
|
|
2752
2743
|
* Image enhancement options.
|
|
2753
2744
|
*/
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
}
|
|
2757
|
-
return BeautyOptions;
|
|
2758
|
-
}());
|
|
2745
|
+
class BeautyOptions {
|
|
2746
|
+
}
|
|
2759
2747
|
exports.BeautyOptions = BeautyOptions;
|
|
2748
|
+
/**
|
|
2749
|
+
* @ignore
|
|
2750
|
+
*/
|
|
2751
|
+
var FaceShapeArea;
|
|
2752
|
+
(function (FaceShapeArea) {
|
|
2753
|
+
/**
|
|
2754
|
+
* @ignore
|
|
2755
|
+
*/
|
|
2756
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaNone"] = -1] = "FaceShapeAreaNone";
|
|
2757
|
+
/**
|
|
2758
|
+
* @ignore
|
|
2759
|
+
*/
|
|
2760
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaHeadscale"] = 0] = "FaceShapeAreaHeadscale";
|
|
2761
|
+
/**
|
|
2762
|
+
* @ignore
|
|
2763
|
+
*/
|
|
2764
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaForehead"] = 1] = "FaceShapeAreaForehead";
|
|
2765
|
+
/**
|
|
2766
|
+
* @ignore
|
|
2767
|
+
*/
|
|
2768
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaFacecontour"] = 2] = "FaceShapeAreaFacecontour";
|
|
2769
|
+
/**
|
|
2770
|
+
* @ignore
|
|
2771
|
+
*/
|
|
2772
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaFacelength"] = 3] = "FaceShapeAreaFacelength";
|
|
2773
|
+
/**
|
|
2774
|
+
* @ignore
|
|
2775
|
+
*/
|
|
2776
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaFacewidth"] = 4] = "FaceShapeAreaFacewidth";
|
|
2777
|
+
/**
|
|
2778
|
+
* @ignore
|
|
2779
|
+
*/
|
|
2780
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaCheekbone"] = 5] = "FaceShapeAreaCheekbone";
|
|
2781
|
+
/**
|
|
2782
|
+
* @ignore
|
|
2783
|
+
*/
|
|
2784
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaCheek"] = 6] = "FaceShapeAreaCheek";
|
|
2785
|
+
/**
|
|
2786
|
+
* @ignore
|
|
2787
|
+
*/
|
|
2788
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaChin"] = 7] = "FaceShapeAreaChin";
|
|
2789
|
+
/**
|
|
2790
|
+
* @ignore
|
|
2791
|
+
*/
|
|
2792
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaEyescale"] = 8] = "FaceShapeAreaEyescale";
|
|
2793
|
+
/**
|
|
2794
|
+
* @ignore
|
|
2795
|
+
*/
|
|
2796
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaNoselength"] = 9] = "FaceShapeAreaNoselength";
|
|
2797
|
+
/**
|
|
2798
|
+
* @ignore
|
|
2799
|
+
*/
|
|
2800
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaNosewidth"] = 10] = "FaceShapeAreaNosewidth";
|
|
2801
|
+
/**
|
|
2802
|
+
* @ignore
|
|
2803
|
+
*/
|
|
2804
|
+
FaceShapeArea[FaceShapeArea["FaceShapeAreaMouthscale"] = 11] = "FaceShapeAreaMouthscale";
|
|
2805
|
+
})(FaceShapeArea = exports.FaceShapeArea || (exports.FaceShapeArea = {}));
|
|
2806
|
+
/**
|
|
2807
|
+
* @ignore
|
|
2808
|
+
*/
|
|
2809
|
+
class FaceShapeAreaOptions {
|
|
2810
|
+
}
|
|
2811
|
+
exports.FaceShapeAreaOptions = FaceShapeAreaOptions;
|
|
2812
|
+
/**
|
|
2813
|
+
* @ignore
|
|
2814
|
+
*/
|
|
2815
|
+
var FaceShapeBeautyStyle;
|
|
2816
|
+
(function (FaceShapeBeautyStyle) {
|
|
2817
|
+
/**
|
|
2818
|
+
* @ignore
|
|
2819
|
+
*/
|
|
2820
|
+
FaceShapeBeautyStyle[FaceShapeBeautyStyle["FaceShapeBeautyStyleFemale"] = 0] = "FaceShapeBeautyStyleFemale";
|
|
2821
|
+
/**
|
|
2822
|
+
* @ignore
|
|
2823
|
+
*/
|
|
2824
|
+
FaceShapeBeautyStyle[FaceShapeBeautyStyle["FaceShapeBeautyStyleMale"] = 1] = "FaceShapeBeautyStyleMale";
|
|
2825
|
+
})(FaceShapeBeautyStyle = exports.FaceShapeBeautyStyle || (exports.FaceShapeBeautyStyle = {}));
|
|
2826
|
+
/**
|
|
2827
|
+
* @ignore
|
|
2828
|
+
*/
|
|
2829
|
+
class FaceShapeBeautyOptions {
|
|
2830
|
+
}
|
|
2831
|
+
exports.FaceShapeBeautyOptions = FaceShapeBeautyOptions;
|
|
2760
2832
|
/**
|
|
2761
2833
|
* The low-light enhancement mode.
|
|
2762
2834
|
*/
|
|
@@ -2788,11 +2860,8 @@ var LowLightEnhanceLevel;
|
|
|
2788
2860
|
/**
|
|
2789
2861
|
* The low-light enhancement options.
|
|
2790
2862
|
*/
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
}
|
|
2794
|
-
return LowlightEnhanceOptions;
|
|
2795
|
-
}());
|
|
2863
|
+
class LowlightEnhanceOptions {
|
|
2864
|
+
}
|
|
2796
2865
|
exports.LowlightEnhanceOptions = LowlightEnhanceOptions;
|
|
2797
2866
|
/**
|
|
2798
2867
|
* Video noise reduction mode.
|
|
@@ -2829,20 +2898,14 @@ var VideoDenoiserLevel;
|
|
|
2829
2898
|
/**
|
|
2830
2899
|
* Video noise reduction options.
|
|
2831
2900
|
*/
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
}
|
|
2835
|
-
return VideoDenoiserOptions;
|
|
2836
|
-
}());
|
|
2901
|
+
class VideoDenoiserOptions {
|
|
2902
|
+
}
|
|
2837
2903
|
exports.VideoDenoiserOptions = VideoDenoiserOptions;
|
|
2838
2904
|
/**
|
|
2839
2905
|
* The color enhancement options.
|
|
2840
2906
|
*/
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
}
|
|
2844
|
-
return ColorEnhanceOptions;
|
|
2845
|
-
}());
|
|
2907
|
+
class ColorEnhanceOptions {
|
|
2908
|
+
}
|
|
2846
2909
|
exports.ColorEnhanceOptions = ColorEnhanceOptions;
|
|
2847
2910
|
/**
|
|
2848
2911
|
* The custom background.
|
|
@@ -2891,11 +2954,8 @@ var BackgroundBlurDegree;
|
|
|
2891
2954
|
/**
|
|
2892
2955
|
* The custom background.
|
|
2893
2956
|
*/
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
}
|
|
2897
|
-
return VirtualBackgroundSource;
|
|
2898
|
-
}());
|
|
2957
|
+
class VirtualBackgroundSource {
|
|
2958
|
+
}
|
|
2899
2959
|
exports.VirtualBackgroundSource = VirtualBackgroundSource;
|
|
2900
2960
|
/**
|
|
2901
2961
|
* The type of algorithms to user for background processing.
|
|
@@ -2914,11 +2974,8 @@ var SegModelType;
|
|
|
2914
2974
|
/**
|
|
2915
2975
|
* Processing properties for background images.
|
|
2916
2976
|
*/
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
}
|
|
2920
|
-
return SegmentationProperty;
|
|
2921
|
-
}());
|
|
2977
|
+
class SegmentationProperty {
|
|
2978
|
+
}
|
|
2922
2979
|
exports.SegmentationProperty = SegmentationProperty;
|
|
2923
2980
|
/**
|
|
2924
2981
|
* The type of the audio track.
|
|
@@ -2941,11 +2998,8 @@ var AudioTrackType;
|
|
|
2941
2998
|
/**
|
|
2942
2999
|
* The configuration of custom audio tracks.
|
|
2943
3000
|
*/
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
}
|
|
2947
|
-
return AudioTrackConfig;
|
|
2948
|
-
}());
|
|
3001
|
+
class AudioTrackConfig {
|
|
3002
|
+
}
|
|
2949
3003
|
exports.AudioTrackConfig = AudioTrackConfig;
|
|
2950
3004
|
/**
|
|
2951
3005
|
* The options for SDK preset voice beautifier effects.
|
|
@@ -3193,14 +3247,57 @@ var HeadphoneEqualizerPreset;
|
|
|
3193
3247
|
*/
|
|
3194
3248
|
HeadphoneEqualizerPreset[HeadphoneEqualizerPreset["HeadphoneEqualizerInear"] = 67108866] = "HeadphoneEqualizerInear";
|
|
3195
3249
|
})(HeadphoneEqualizerPreset = exports.HeadphoneEqualizerPreset || (exports.HeadphoneEqualizerPreset = {}));
|
|
3250
|
+
/**
|
|
3251
|
+
* @ignore
|
|
3252
|
+
*/
|
|
3253
|
+
var VoiceAiTunerType;
|
|
3254
|
+
(function (VoiceAiTunerType) {
|
|
3255
|
+
/**
|
|
3256
|
+
* @ignore
|
|
3257
|
+
*/
|
|
3258
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerMatureMale"] = 0] = "VoiceAiTunerMatureMale";
|
|
3259
|
+
/**
|
|
3260
|
+
* @ignore
|
|
3261
|
+
*/
|
|
3262
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerFreshMale"] = 1] = "VoiceAiTunerFreshMale";
|
|
3263
|
+
/**
|
|
3264
|
+
* @ignore
|
|
3265
|
+
*/
|
|
3266
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerElegantFemale"] = 2] = "VoiceAiTunerElegantFemale";
|
|
3267
|
+
/**
|
|
3268
|
+
* @ignore
|
|
3269
|
+
*/
|
|
3270
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerSweetFemale"] = 3] = "VoiceAiTunerSweetFemale";
|
|
3271
|
+
/**
|
|
3272
|
+
* @ignore
|
|
3273
|
+
*/
|
|
3274
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerWarmMaleSinging"] = 4] = "VoiceAiTunerWarmMaleSinging";
|
|
3275
|
+
/**
|
|
3276
|
+
* @ignore
|
|
3277
|
+
*/
|
|
3278
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerGentleFemaleSinging"] = 5] = "VoiceAiTunerGentleFemaleSinging";
|
|
3279
|
+
/**
|
|
3280
|
+
* @ignore
|
|
3281
|
+
*/
|
|
3282
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerHuskyMaleSinging"] = 6] = "VoiceAiTunerHuskyMaleSinging";
|
|
3283
|
+
/**
|
|
3284
|
+
* @ignore
|
|
3285
|
+
*/
|
|
3286
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerWarmElegantFemaleSinging"] = 7] = "VoiceAiTunerWarmElegantFemaleSinging";
|
|
3287
|
+
/**
|
|
3288
|
+
* @ignore
|
|
3289
|
+
*/
|
|
3290
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerPowerfulMaleSinging"] = 8] = "VoiceAiTunerPowerfulMaleSinging";
|
|
3291
|
+
/**
|
|
3292
|
+
* @ignore
|
|
3293
|
+
*/
|
|
3294
|
+
VoiceAiTunerType[VoiceAiTunerType["VoiceAiTunerDreamyFemaleSinging"] = 9] = "VoiceAiTunerDreamyFemaleSinging";
|
|
3295
|
+
})(VoiceAiTunerType = exports.VoiceAiTunerType || (exports.VoiceAiTunerType = {}));
|
|
3196
3296
|
/**
|
|
3197
3297
|
* Screen sharing configurations.
|
|
3198
3298
|
*/
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
}
|
|
3202
|
-
return ScreenCaptureParameters;
|
|
3203
|
-
}());
|
|
3299
|
+
class ScreenCaptureParameters {
|
|
3300
|
+
}
|
|
3204
3301
|
exports.ScreenCaptureParameters = ScreenCaptureParameters;
|
|
3205
3302
|
/**
|
|
3206
3303
|
* Recording quality.
|
|
@@ -3263,20 +3360,14 @@ var AudioEncodedFrameObserverPosition;
|
|
|
3263
3360
|
/**
|
|
3264
3361
|
* Recording configurations.
|
|
3265
3362
|
*/
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
}
|
|
3269
|
-
return AudioRecordingConfiguration;
|
|
3270
|
-
}());
|
|
3363
|
+
class AudioRecordingConfiguration {
|
|
3364
|
+
}
|
|
3271
3365
|
exports.AudioRecordingConfiguration = AudioRecordingConfiguration;
|
|
3272
3366
|
/**
|
|
3273
3367
|
* Observer settings for the encoded audio.
|
|
3274
3368
|
*/
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
}
|
|
3278
|
-
return AudioEncodedFrameObserverConfig;
|
|
3279
|
-
}());
|
|
3369
|
+
class AudioEncodedFrameObserverConfig {
|
|
3370
|
+
}
|
|
3280
3371
|
exports.AudioEncodedFrameObserverConfig = AudioEncodedFrameObserverConfig;
|
|
3281
3372
|
/**
|
|
3282
3373
|
* The region for connection, which is the region where the server the SDK connects to is located.
|
|
@@ -3341,6 +3432,10 @@ var AreaCodeEx;
|
|
|
3341
3432
|
* @ignore
|
|
3342
3433
|
*/
|
|
3343
3434
|
AreaCodeEx[AreaCodeEx["AreaCodeUs"] = 2048] = "AreaCodeUs";
|
|
3435
|
+
/**
|
|
3436
|
+
* @ignore
|
|
3437
|
+
*/
|
|
3438
|
+
AreaCodeEx[AreaCodeEx["AreaCodeRu"] = 4096] = "AreaCodeRu";
|
|
3344
3439
|
/**
|
|
3345
3440
|
* @ignore
|
|
3346
3441
|
*/
|
|
@@ -3425,47 +3520,32 @@ var ChannelMediaRelayState;
|
|
|
3425
3520
|
/**
|
|
3426
3521
|
* Channel media information.
|
|
3427
3522
|
*/
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
}
|
|
3431
|
-
return ChannelMediaInfo;
|
|
3432
|
-
}());
|
|
3523
|
+
class ChannelMediaInfo {
|
|
3524
|
+
}
|
|
3433
3525
|
exports.ChannelMediaInfo = ChannelMediaInfo;
|
|
3434
3526
|
/**
|
|
3435
3527
|
* Configuration of cross channel media relay.
|
|
3436
3528
|
*/
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
}
|
|
3440
|
-
return ChannelMediaRelayConfiguration;
|
|
3441
|
-
}());
|
|
3529
|
+
class ChannelMediaRelayConfiguration {
|
|
3530
|
+
}
|
|
3442
3531
|
exports.ChannelMediaRelayConfiguration = ChannelMediaRelayConfiguration;
|
|
3443
3532
|
/**
|
|
3444
3533
|
* The uplink network information.
|
|
3445
3534
|
*/
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
}
|
|
3449
|
-
return UplinkNetworkInfo;
|
|
3450
|
-
}());
|
|
3535
|
+
class UplinkNetworkInfo {
|
|
3536
|
+
}
|
|
3451
3537
|
exports.UplinkNetworkInfo = UplinkNetworkInfo;
|
|
3452
3538
|
/**
|
|
3453
3539
|
* @ignore
|
|
3454
3540
|
*/
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
}
|
|
3458
|
-
return PeerDownlinkInfo;
|
|
3459
|
-
}());
|
|
3541
|
+
class PeerDownlinkInfo {
|
|
3542
|
+
}
|
|
3460
3543
|
exports.PeerDownlinkInfo = PeerDownlinkInfo;
|
|
3461
3544
|
/**
|
|
3462
3545
|
* @ignore
|
|
3463
3546
|
*/
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
}
|
|
3467
|
-
return DownlinkNetworkInfo;
|
|
3468
|
-
}());
|
|
3547
|
+
class DownlinkNetworkInfo {
|
|
3548
|
+
}
|
|
3469
3549
|
exports.DownlinkNetworkInfo = DownlinkNetworkInfo;
|
|
3470
3550
|
/**
|
|
3471
3551
|
* The built-in encryption mode.
|
|
@@ -3514,11 +3594,8 @@ var EncryptionMode;
|
|
|
3514
3594
|
/**
|
|
3515
3595
|
* Built-in encryption configurations.
|
|
3516
3596
|
*/
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
}
|
|
3520
|
-
return EncryptionConfig;
|
|
3521
|
-
}());
|
|
3597
|
+
class EncryptionConfig {
|
|
3598
|
+
}
|
|
3522
3599
|
exports.EncryptionConfig = EncryptionConfig;
|
|
3523
3600
|
/**
|
|
3524
3601
|
* Encryption error type.
|
|
@@ -3641,20 +3718,14 @@ var StreamPublishState;
|
|
|
3641
3718
|
/**
|
|
3642
3719
|
* The configuration of the audio and video call loop test.
|
|
3643
3720
|
*/
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
}
|
|
3647
|
-
return EchoTestConfiguration;
|
|
3648
|
-
}());
|
|
3721
|
+
class EchoTestConfiguration {
|
|
3722
|
+
}
|
|
3649
3723
|
exports.EchoTestConfiguration = EchoTestConfiguration;
|
|
3650
3724
|
/**
|
|
3651
3725
|
* The information of the user.
|
|
3652
3726
|
*/
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
}
|
|
3656
|
-
return UserInfo;
|
|
3657
|
-
}());
|
|
3727
|
+
class UserInfo {
|
|
3728
|
+
}
|
|
3658
3729
|
exports.UserInfo = UserInfo;
|
|
3659
3730
|
/**
|
|
3660
3731
|
* The audio filter types of in-ear monitoring.
|
|
@@ -3711,31 +3782,22 @@ var ThreadPriorityType;
|
|
|
3711
3782
|
/**
|
|
3712
3783
|
* The video configuration for the shared screen stream.
|
|
3713
3784
|
*/
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
}
|
|
3717
|
-
return ScreenVideoParameters;
|
|
3718
|
-
}());
|
|
3785
|
+
class ScreenVideoParameters {
|
|
3786
|
+
}
|
|
3719
3787
|
exports.ScreenVideoParameters = ScreenVideoParameters;
|
|
3720
3788
|
/**
|
|
3721
3789
|
* The audio configuration for the shared screen stream.
|
|
3722
3790
|
*
|
|
3723
3791
|
* Only available where captureAudio is true.
|
|
3724
3792
|
*/
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
}
|
|
3728
|
-
return ScreenAudioParameters;
|
|
3729
|
-
}());
|
|
3793
|
+
class ScreenAudioParameters {
|
|
3794
|
+
}
|
|
3730
3795
|
exports.ScreenAudioParameters = ScreenAudioParameters;
|
|
3731
3796
|
/**
|
|
3732
3797
|
* @ignore
|
|
3733
3798
|
*/
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
}
|
|
3737
|
-
return ScreenCaptureParameters2;
|
|
3738
|
-
}());
|
|
3799
|
+
class ScreenCaptureParameters2 {
|
|
3800
|
+
}
|
|
3739
3801
|
exports.ScreenCaptureParameters2 = ScreenCaptureParameters2;
|
|
3740
3802
|
/**
|
|
3741
3803
|
* The rendering state of the media frame.
|
|
@@ -3754,11 +3816,8 @@ var MediaTraceEvent;
|
|
|
3754
3816
|
/**
|
|
3755
3817
|
* Indicators during video frame rendering progress.
|
|
3756
3818
|
*/
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
}
|
|
3760
|
-
return VideoRenderingTracingInfo;
|
|
3761
|
-
}());
|
|
3819
|
+
class VideoRenderingTracingInfo {
|
|
3820
|
+
}
|
|
3762
3821
|
exports.VideoRenderingTracingInfo = VideoRenderingTracingInfo;
|
|
3763
3822
|
/**
|
|
3764
3823
|
* @ignore
|
|
@@ -3791,54 +3850,36 @@ var LocalProxyMode;
|
|
|
3791
3850
|
/**
|
|
3792
3851
|
* @ignore
|
|
3793
3852
|
*/
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
}
|
|
3797
|
-
return LogUploadServerInfo;
|
|
3798
|
-
}());
|
|
3853
|
+
class LogUploadServerInfo {
|
|
3854
|
+
}
|
|
3799
3855
|
exports.LogUploadServerInfo = LogUploadServerInfo;
|
|
3800
3856
|
/**
|
|
3801
3857
|
* @ignore
|
|
3802
3858
|
*/
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
}
|
|
3806
|
-
return AdvancedConfigInfo;
|
|
3807
|
-
}());
|
|
3859
|
+
class AdvancedConfigInfo {
|
|
3860
|
+
}
|
|
3808
3861
|
exports.AdvancedConfigInfo = AdvancedConfigInfo;
|
|
3809
3862
|
/**
|
|
3810
3863
|
* @ignore
|
|
3811
3864
|
*/
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
}
|
|
3815
|
-
return LocalAccessPointConfiguration;
|
|
3816
|
-
}());
|
|
3865
|
+
class LocalAccessPointConfiguration {
|
|
3866
|
+
}
|
|
3817
3867
|
exports.LocalAccessPointConfiguration = LocalAccessPointConfiguration;
|
|
3818
3868
|
/**
|
|
3819
3869
|
* @ignore
|
|
3820
3870
|
*/
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
}
|
|
3824
|
-
return RecorderStreamInfo;
|
|
3825
|
-
}());
|
|
3871
|
+
class RecorderStreamInfo {
|
|
3872
|
+
}
|
|
3826
3873
|
exports.RecorderStreamInfo = RecorderStreamInfo;
|
|
3827
3874
|
/**
|
|
3828
3875
|
* The spatial audio parameters.
|
|
3829
3876
|
*/
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
}
|
|
3833
|
-
return SpatialAudioParams;
|
|
3834
|
-
}());
|
|
3877
|
+
class SpatialAudioParams {
|
|
3878
|
+
}
|
|
3835
3879
|
exports.SpatialAudioParams = SpatialAudioParams;
|
|
3836
3880
|
/**
|
|
3837
3881
|
* @ignore
|
|
3838
3882
|
*/
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
}
|
|
3842
|
-
return VideoLayout;
|
|
3843
|
-
}());
|
|
3883
|
+
class VideoLayout {
|
|
3884
|
+
}
|
|
3844
3885
|
exports.VideoLayout = VideoLayout;
|