diff --git a/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita b/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita
index 676a696e2af..b35df05fe13 100644
--- a/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita
@@ -18,11 +18,20 @@
- (AgoraFaceShapeAreaOptions * _Nullable)getFaceShapeAreaOptions:(AgoraFaceShapeArea) area sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(getFaceShapeAreaOptions(_:sourceType:));
virtual int getFaceShapeAreaOptions(agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA shapeArea, FaceShapeAreaOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int GetFaceShapeAreaOptions(EUABT_FACE_SHAPE_AREA shapeArea, FUABT_FaceShapeAreaOptions& options, EUABT_MEDIA_SOURCE_TYPE type = EUABT_MEDIA_SOURCE_TYPE::PRIMARY_CAMERA_SOURCE);
+ abstract getFaceShapeAreaOptions(
+ shapeArea: FaceShapeArea,
+ type?: MediaSourceType
+ ): FaceShapeAreaOptions;
+ public abstract int GetFaceShapeAreaOptions(FACE_SHAPE_AREA shapeArea, ref FaceShapeAreaOptions options, MEDIA_SOURCE_TYPE type = MEDIA_SOURCE_TYPE.PRIMARY_CAMERA_SOURCE);
+ abstract getFaceShapeAreaOptions(
+ shapeArea: FaceShapeArea,
+ type?: MediaSourceType
+ ): FaceShapeAreaOptions;
+ Future<FaceShapeAreaOptions> getFaceShapeAreaOptions(
+ {required FaceShapeArea shapeArea,
+ MediaSourceType type = MediaSourceType.primaryCameraSource});
调用限制
无。
@@ -49,8 +58,8 @@
参数
- shapeArea
- area
+ area
+ shapeArea
美型部位。详见 。
美型部位:
@@ -72,7 +81,7 @@
-
+
@@ -83,12 +92,12 @@
- 方法成功调用时,无返回值;方法调用失败时,会抛出 异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
-
diff --git a/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita b/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita
index 80c14bce42d..0daf01fefa7 100644
--- a/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita
@@ -18,11 +18,17 @@
- (AgoraFaceShapeBeautyOptions * _Nullable)getFaceShapeBeautyOptions:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(getFaceShapeBeautyOptions(_:));
virtual int getFaceShapeBeautyOptions(FaceShapeBeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int GetFaceShapeBeautyOptions(FUABT_FaceShapeBeautyOptions & options, EUABT_MEDIA_SOURCE_TYPE type = EUABT_MEDIA_SOURCE_TYPE::PRIMARY_CAMERA_SOURCE);
+ abstract getFaceShapeBeautyOptions(
+ type?: MediaSourceType
+ ): FaceShapeBeautyOptions;
+ public abstract int GetFaceShapeBeautyOptions(ref FaceShapeBeautyOptions options, MEDIA_SOURCE_TYPE type = MEDIA_SOURCE_TYPE.PRIMARY_CAMERA_SOURCE);
+ abstract getFaceShapeBeautyOptions(
+ type?: MediaSourceType
+ ): FaceShapeBeautyOptions;
+ Future<FaceShapeBeautyOptions> getFaceShapeBeautyOptions(
+ {MediaSourceType type = MediaSourceType.primaryCameraSource});
调用限制
无。
@@ -48,7 +54,7 @@
参数
-
+
@@ -60,12 +66,12 @@
- 方法成功调用时,无返回值;方法调用失败时,会抛出 异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
-
diff --git a/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita
index da31e5d7584..cd4a395301e 100644
--- a/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita
@@ -19,9 +19,9 @@
virtual int setExternalMediaProjection(void* mediaProjection) = 0;
-
-
-
+ public abstract int SetExternalMediaProjection(IntPtr mediaProjection);
+ abstract setExternalMediaProjection(mediaProjection: any): number;
+ Future<void> setExternalMediaProjection(int mediaProjection);
@@ -30,7 +30,7 @@
- v4.5.0
- 该方法仅适用于 Android。
+ 该方法仅适用于 Android。
成功调用该方法后,你设置的外部 MediaProjection 会替换掉 SDK 申请的 MediaProjection 采集屏幕视频流。
当停止屏幕共享或销毁 时,SDK 会自动释放 MediaProjection。
@@ -44,7 +44,7 @@
+
调用限制
在调用该方法前,必须先申请 MediaProjection 权限。
diff --git a/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita b/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita
index 5a01a581576..efa4a2d784b 100644
--- a/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita
@@ -19,9 +19,9 @@
virtual int setExternalRemoteEglContext(void* eglContext) = 0;
-
-
-
+ public abstract int SetExternalRemoteEglContext(IntPtr eglContext);
+ abstract setExternalRemoteEglContext(eglContext: any): number;
+ Future<void> setExternalRemoteEglContext(int eglContext);
diff --git a/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita b/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita
index ce79afa1326..3ba4e72357f 100644
--- a/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita
@@ -18,11 +18,20 @@
- (int)setFaceShapeAreaOptions:(AgoraFaceShapeAreaOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFaceShapeAreaOptions(_:sourceType:));
virtual int setFaceShapeAreaOptions(const FaceShapeAreaOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetFaceShapeAreaOptions(const FUABT_FaceShapeAreaOptions& options, EUABT_MEDIA_SOURCE_TYPE type = EUABT_MEDIA_SOURCE_TYPE::PRIMARY_CAMERA_SOURCE);
+ abstract setFaceShapeAreaOptions(
+ options: FaceShapeAreaOptions,
+ type?: MediaSourceType
+ ): number;
+ public abstract int SetFaceShapeAreaOptions(FaceShapeAreaOptions options, MEDIA_SOURCE_TYPE type = MEDIA_SOURCE_TYPE.PRIMARY_CAMERA_SOURCE);
+ abstract setFaceShapeAreaOptions(
+ options: FaceShapeAreaOptions,
+ type?: MediaSourceType
+ ): number;
+ Future<void> setFaceShapeAreaOptions(
+ {required FaceShapeAreaOptions options,
+ MediaSourceType type = MediaSourceType.primaryCameraSource});
@@ -31,14 +40,14 @@
- v4.5.0
- 如果在 方法中实现的预设美型效果达不到预期,你可以通过该方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果,详见。
+ 如果在 方法中实现的预设美型效果达不到预期,你可以通过该方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果。详见。
该方法和 均可用于设置美型部位选项,区别在于该方法支持指定应用美型效果的媒体源。
+
@@ -63,7 +72,7 @@
-4:当前设备不支持该功能,可能的原因有:
- 当前设备能力不满足美颜的使用要求,建议更换性能更高的设备。
- - 当前设备版本低于 Android 4.4,不支持该操作,建议更换设备或升级操作系统。
+ - 当前设备版本低于 Android 4.4,不支持该操作,建议更换设备或升级操作系统。
diff --git a/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita
index ec77b500e40..a29a70d8e5d 100644
--- a/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita
@@ -30,7 +30,7 @@
v4.5.0
- 如果在 方法中实现的预设美型效果达不到预期,你可以通过该方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果,详见。
+ 如果在 方法中实现的预设美型效果达不到预期,你可以通过该方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果。详见。
diff --git a/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita b/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita
index b1a48a8e85c..3c4361b5af4 100644
--- a/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita
@@ -18,11 +18,23 @@
- (int)setFaceShapeBeautyOptions:(BOOL)enable options:(AgoraFaceShapeBeautyOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFaceShapeBeautyOptions(_:options:sourceType:));
virtual int setFaceShapeBeautyOptions(bool enabled, const FaceShapeBeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetFaceShapeBeautyOptions(bool enabled, const FUABT_FaceShapeBeautyOptions& options, EUABT_MEDIA_SOURCE_TYPE type = EUABT_MEDIA_SOURCE_TYPE::PRIMARY_CAMERA_SOURCE);
+ abstract setFaceShapeBeautyOptions(
+ enabled: boolean,
+ options: FaceShapeBeautyOptions,
+ type?: MediaSourceType
+ ): number;
+ public abstract int SetFaceShapeBeautyOptions(bool enabled, FaceShapeBeautyOptions options, MEDIA_SOURCE_TYPE type = MEDIA_SOURCE_TYPE.PRIMARY_CAMERA_SOURCE);
+ abstract setFaceShapeBeautyOptions(
+ enabled: boolean,
+ options: FaceShapeBeautyOptions,
+ type?: MediaSourceType
+ ): number;
+ Future<void> setFaceShapeBeautyOptions(
+ {required bool enabled,
+ required FaceShapeBeautyOptions options,
+ MediaSourceType type = MediaSourceType.primaryCameraSource});
@@ -31,18 +43,19 @@
- v4.5.0
- 调用该方法可对人脸各部位进行修饰,使用预设的参数一次性实现瘦脸、大眼、瘦鼻等微整形效果,支持微调整体的修饰力度,详见。
+ 调用该方法可对人脸各部位进行修饰,使用预设的参数一次性实现瘦脸、大眼、瘦鼻等微整形效果,支持微调整体的修饰力度。详见。
该方法和 均可用于设置美型效果选项,区别在于该方法支持指定应用美型效果的媒体源。
美型属于增值服务,计费方式详见。
+
调用限制
- - 该方法仅适用于 Android 4.4 及以上版本。
+ - 该方法仅适用于 Android 4.4 及以上版本。
+ - 在 Android 平台上,该方法仅适用于 Android 4.4 及以上版本。
- 该方法依赖于视频增强动态库 ,如果删除该动态库会导致无法正常开启该功能。
- 该功能对设备性能要求较高,调用该方法时 SDK 会自动对当前设备能力进行检查。
@@ -79,7 +92,7 @@
-4:当前设备不支持该功能,可能的原因有:
- 当前设备能力不满足美颜的使用要求,建议更换性能更高的设备。
- - 当前设备版本低于 Android 4.4,不支持该操作,建议更换设备或升级操作系统。
+ - 当前设备版本低于 Android 4.4,不支持该操作,建议更换设备或升级操作系统。
diff --git a/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita
index ea42e983883..56b0534b963 100644
--- a/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita
@@ -30,7 +30,7 @@
v4.5.0
- 调用该方法可对脸部指定部位进行调整,从而实现瘦脸、大眼、瘦鼻等微整形效果,详见。
+ 调用该方法可对脸部指定部位进行调整,从而实现瘦脸、大眼、瘦鼻等微整形效果。详见。
diff --git a/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita b/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita
index b1732696a6c..06521ce2cf5 100644
--- a/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita
@@ -18,11 +18,23 @@
- (int)setFilterEffectOptions:(BOOL)enable options:(AgoraFilterEffectOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFilterEffectOptions(_:options:sourceType:));
virtual int setFilterEffectOptions(bool enabled, const FilterEffectOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetFilterEffectOptions(bool enabled, const FUABT_FilterEffectOptions& options, EUABT_MEDIA_SOURCE_TYPE type = EUABT_MEDIA_SOURCE_TYPE::PRIMARY_CAMERA_SOURCE);
+ abstract setFilterEffectOptions(
+ enabled: boolean,
+ options: FilterEffectOptions,
+ type?: MediaSourceType
+ ): number;
+ public abstract int SetFilterEffectOptions(bool enabled, FilterEffectOptions options, MEDIA_SOURCE_TYPE type = MEDIA_SOURCE_TYPE.PRIMARY_CAMERA_SOURCE);
+ abstract setFilterEffectOptions(
+ enabled: boolean,
+ options: FilterEffectOptions,
+ type?: MediaSourceType
+ ): number;
+ Future<void> setFilterEffectOptions(
+ {required bool enabled,
+ required FilterEffectOptions options,
+ MediaSourceType type = MediaSourceType.primaryCameraSource});
调用限制
diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita
index 1bc5b8e42fa..f8abf9e020f 100644
--- a/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita
@@ -18,11 +18,19 @@ targetFps:(int)targetFps;
public abstract int setLocalRenderTargetFps(Constants.VideoSourceType sourceType, int targetFps);
virtual int setLocalRenderTargetFps(VIDEO_SOURCE_TYPE sourceType, int targetFps) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetLocalRenderTargetFps(EUABT_VIDEO_SOURCE_TYPE sourceType, int targetFps);
+ abstract setLocalRenderTargetFps(
+ sourceType: VideoSourceType,
+ targetFps: number
+ ): number;
+ public abstract int SetLocalRenderTargetFps(VIDEO_SOURCE_TYPE sourceType, int targetFps);
+ abstract setLocalRenderTargetFps(
+ sourceType: VideoSourceType,
+ targetFps: number
+ ): number;
+ Future<void> setLocalRenderTargetFps(
+ {required VideoSourceType sourceType, required int targetFps});
@@ -40,7 +48,7 @@ targetFps:(int)targetFps;
+
调用限制
无。
diff --git a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita
index f00c47f8182..a0b34f51b37 100644
--- a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita
@@ -19,8 +19,8 @@
- (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:));
virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
- UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
- int SetLowlightEnhanceOptions(bool enabled, const FLowlightEnhanceOptions& options, EMEDIA_SOURCE_TYPE type);
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetLowlightEnhanceOptions(bool enabled, const FUABT_LowlightEnhanceOptions& options, EUABT_MEDIA_SOURCE_TYPE type);
abstract setLowlightEnhanceOptions(
enabled: boolean,
options: LowlightEnhanceOptions,
@@ -48,7 +48,7 @@
+
调用限制
@@ -56,8 +56,8 @@
- 暗光增强对设备性能有一定要求。开启暗光增强后,如果设备出现严重发烫等问题,建议你将暗光增强等级修改为消耗性能较少的等级或关闭暗光增强功能。
- 如果要实现优先画质 () 的暗光增强,需要先调用 实现视频降噪,具体对应关系如下:
- - 暗光增强为自动模式 () 时,视频降噪需设置为优先画质 ()、自动模式 ()。
- - 暗光增强为手动模式 () 时,视频降噪需设置为优先画质 ()、手动模式 ()。
+ - 暗光增强为自动模式 () 时,视频降噪需设置为优先画质 ()、自动模式 ()。
+ - 暗光增强为手动模式 () 时,视频降噪需设置为优先画质 ()、手动模式 ()。
diff --git a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita
index db2ac1fcb35..d0517612f6e 100644
--- a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita
@@ -17,8 +17,9 @@
boolean enabled, LowLightEnhanceOptions options, Constants.MediaSourceType sourceType);
- (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:sourceType:));
-
-
+ virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetLowlightEnhanceOptions(bool enabled, const FUABT_LowlightEnhanceOptions& options, EUABT_MEDIA_SOURCE_TYPE type);
@@ -42,10 +43,6 @@
-
- type
- 媒体资源类型,详见 。
-
diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita
index bf998b2d33b..fc6b677c86b 100644
--- a/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita
@@ -17,11 +17,12 @@
- (int)setRemoteRenderTargetFps:(int)targetFps;
virtual int setRemoteRenderTargetFps(int targetFps) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetRemoteRenderTargetFps(int targetFps);
+ abstract setRemoteRenderTargetFps(targetFps: number): number;
+ public abstract int SetRemoteRenderTargetFps(int targetFps);
+ abstract setRemoteRenderTargetFps(targetFps: number): number;
+ Future<void> setRemoteRenderTargetFps(int targetFps);
调用限制
无。
diff --git a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita
index ceb120c42c0..45aaac06357 100644
--- a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita
@@ -19,8 +19,8 @@
- (int)setVideoDenoiserOptions:(BOOL)enable options:(AgoraVideoDenoiserOptions* _Nullable)options NS_SWIFT_NAME(setVideoDenoiserOptions(_:options:));
virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
- UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
- int SetVideoDenoiserOptions(bool enabled, const FVideoDenoiserOptions& options, EMEDIA_SOURCE_TYPE type);
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int SetVideoDenoiserOptions(bool enabled, const FUABT_VideoDenoiserOptions& options, EUABT_MEDIA_SOURCE_TYPE type);
abstract setVideoDenoiserOptions(
enabled: boolean,
options: VideoDenoiserOptions,
@@ -56,7 +56,7 @@
+
调用限制
@@ -71,7 +71,7 @@
enabled
enable
是否开启视频降噪功能:
-
+
- : 开启视频降噪功能。
- :(默认)关闭视频降噪功能。
diff --git a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita
index 5679567d32d..5e0bb5aed26 100644
--- a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita
@@ -44,10 +44,6 @@
-
-
-
-
diff --git a/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita b/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita
index 5e935eb83a3..48d75189600 100644
--- a/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita
+++ b/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita
@@ -17,11 +17,12 @@
- (int)startLocalAudioMixer:(AgoraLocalAudioMixerConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalAudioMixer(_:));
virtual int startLocalAudioMixer(const LocalAudioMixerConfiguration& config) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int StartLocalAudioMixer(const FUABT_LocalAudioMixerConfiguration& config);
+ abstract startLocalAudioMixer(config: LocalAudioMixerConfiguration): number;
+ public abstract int StartLocalAudioMixer(LocalAudioMixerConfiguration config);
+ abstract startLocalAudioMixer(config: LocalAudioMixerConfiguration): number;
+ Future<void> startLocalAudioMixer(LocalAudioMixerConfiguration config);
调用限制
为了保证音频质量,建议参与本地合流的音频流数量不超过 10 个。
diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita
index b4d09d894c4..5393dab31be 100644
--- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita
+++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita
@@ -28,7 +28,7 @@
regionRect: Rectangle,
captureParams: ScreenCaptureParameters
): number;
- public abstract int StartScreenCaptureByWindowId(view_t windowId, Rectangle regionRect, ScreenCaptureParameters captureParams);
+ public abstract int StartScreenCaptureByWindowId(long windowId, Rectangle regionRect, ScreenCaptureParameters captureParams);
abstract startScreenCaptureByWindowId(
windowId: any,
regionRect: Rectangle,
diff --git a/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita b/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita
index 30fb53839f4..d9e10fff443 100644
--- a/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita
+++ b/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita
@@ -17,11 +17,12 @@
- (int)stopLocalAudioMixer NS_SWIFT_NAME(stopLocalAudioMixer());
virtual int stopLocalAudioMixer() = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int StopLocalAudioMixer();
+ abstract stopLocalAudioMixer(): number;
+ public abstract int StopLocalAudioMixer();
+ abstract stopLocalAudioMixer(): number;
+ Future<void> stopLocalAudioMixer();
调用限制
无。
diff --git a/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita b/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita
index e03d688bb42..b16451ca318 100644
--- a/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita
+++ b/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita
@@ -17,11 +17,13 @@
- (NSInteger)takeSnapshotWithConfig:(NSInteger)uid config:(AgoraSnapshotConfig* _Nonnull)config NS_SWIFT_NAME(takeSnapshotWithConfig(_:config:));
virtual int takeSnapshot(uid_t uid, const media::SnapshotConfig& config) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int TakeSnapshotWithConfig(int64 uid, const FUABT_SnapshotConfig& config);
+ abstract takeSnapshotWithConfig(uid: number, config: SnapshotConfig): number;
+ public abstract int TakeSnapshot(uint uid, SnapshotConfig config);
+ abstract takeSnapshotWithConfig(uid: number, config: SnapshotConfig): number;
+ Future<void> takeSnapshotWithConfig(
+ {required int uid, required SnapshotConfig config});
调用限制
-
+
- 该方法是异步操作,调用返回时 SDK 并没有真正获取截图。
- 调用该方法返回时 SDK 并没有真正获取截图。
- 该方法用于本地视频截图时,是对 中指定发布的视频流进行截图。
diff --git a/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita
index 93a02ece0e0..f9f93cea745 100644
--- a/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita
+++ b/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita
@@ -17,11 +17,17 @@
- (int)updateLocalAudioMixerConfiguration:(AgoraLocalAudioMixerConfiguration* _Nonnull)config NS_SWIFT_NAME(updateLocalAudioMixerConfiguration(_:));
virtual int updateLocalAudioMixerConfiguration(const LocalAudioMixerConfiguration& config) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int UpdateLocalAudioMixerConfiguration(const FUABT_LocalAudioMixerConfiguration& config);
+ abstract updateLocalAudioMixerConfiguration(
+ config: LocalAudioMixerConfiguration
+ ): number;
+ public abstract int UpdateLocalAudioMixerConfiguration(LocalAudioMixerConfiguration config);
+ abstract updateLocalAudioMixerConfiguration(
+ config: LocalAudioMixerConfiguration
+ ): number;
+ Future<void> updateLocalAudioMixerConfiguration(
+ LocalAudioMixerConfiguration config);
diff --git a/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita b/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita
index ee7dec4acbe..7381c42a5cc 100644
--- a/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita
+++ b/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita
@@ -17,18 +17,30 @@
- (NSInteger)takeSnapshotExWithConfig:(AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid config:(AgoraSnapshotConfig* _Nonnull)config NS_SWIFT_NAME(takeSnapshotExWithConfig(_:uid:config:));
virtual int takeSnapshotEx(const RtcConnection& connection, uid_t uid, const media::SnapshotConfig& config) = 0;
-
-
-
-
-
+ UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
+ int TakeSnapshotWithConfigEx(const FUABT_RtcConnection& connection, int64 uid, const FUABT_SnapshotConfig& config);
+ abstract takeSnapshotWithConfigEx(
+ connection: RtcConnection,
+ uid: number,
+ config: SnapshotConfig
+ ): number;
+ public abstract int TakeSnapshotEx(RtcConnection connection, uint uid, SnapshotConfig config);
+ abstract takeSnapshotWithConfigEx(
+ connection: RtcConnection,
+ uid: number,
+ config: SnapshotConfig
+ ): number;
+ Future<void> takeSnapshotWithConfigEx(
+ {required RtcConnection connection,
+ required int uid,
+ required SnapshotConfig config});
+
diff --git a/dita/RTC-NG/API/class_audiotrackconfig.dita b/dita/RTC-NG/API/class_audiotrackconfig.dita
index 7c425f5025d..f436dd4ee1e 100644
--- a/dita/RTC-NG/API/class_audiotrackconfig.dita
+++ b/dita/RTC-NG/API/class_audiotrackconfig.dita
@@ -47,32 +47,27 @@ struct FAudioTrackConfig
};
export class AudioTrackConfig {
enableLocalPlayback?: boolean;
+ enableAudioProcessing?: boolean;
}
public class AudioTrackConfig
- {
- public bool enableLocalPlayback;
-
- public AudioTrackConfig(bool enableLocalPlayback)
- {
- this.enableLocalPlayback = enableLocalPlayback;
- }
-
- public AudioTrackConfig()
- {
- enableLocalPlayback = true;
- }
-
- };
+{
+ public bool enableLocalPlayback;
+ public bool enableAudioProcessing;
+}
export class AudioTrackConfig {
enableLocalPlayback?: boolean;
+ enableAudioProcessing?: boolean;
}
- @JsonSerializable(explicitToJson: true, includeIfNull: false)
-class AudioTrackConfig {
- const AudioTrackConfig({this.enableLocalPlayback});
+ class AudioTrackConfig {
+ const AudioTrackConfig(
+ {this.enableLocalPlayback, this.enableAudioProcessing});
@JsonKey(name: 'enableLocalPlayback')
final bool? enableLocalPlayback;
+ @JsonKey(name: 'enableAudioProcessing')
+ final bool? enableAudioProcessing;
+
factory AudioTrackConfig.fromJson(Map<String, dynamic> json) =>
_$AudioTrackConfigFromJson(json);
@@ -92,7 +87,7 @@ class AudioTrackConfig {
-
+
enableAudioProcessing
是否启用音频处理模块:
diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita
index b2de1d3b9ae..5e3892c5a98 100644
--- a/dita/RTC-NG/API/class_externalvideoframe.dita
+++ b/dita/RTC-NG/API/class_externalvideoframe.dita
@@ -175,6 +175,7 @@ struct ExternalVideoFrame {
alphaStitchMode?: AlphaStitchMode;
d3d11Texture2d?: any;
textureSliceIndex?: number;
+ colorSpace?: ColorSpace;
}
public class ExternalVideoFrame
{
@@ -199,6 +200,7 @@ struct ExternalVideoFrame {
public ALPHA_STITCH_MODE alphaStitchMode;
public IntPtr d3d11Texture2d;
public int textureSliceIndex;
+ public ColorSpace colorSpace;
};
export class ExternalVideoFrame {
type?: VideoBufferType;
@@ -220,6 +222,7 @@ struct ExternalVideoFrame {
alphaBuffer?: Uint8Array;
fillAlphaBuffer?: boolean;
alphaStitchMode?: AlphaStitchMode;
+ colorSpace?: ColorSpace;
}
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class ExternalVideoFrame {
@@ -244,7 +247,8 @@ class ExternalVideoFrame {
this.fillAlphaBuffer,
this.alphaStitchMode,
this.d3d11Texture2d,
- this.textureSliceIndex});
+ this.textureSliceIndex,
+ this.colorSpace});
@JsonKey(name: 'type')
final VideoBufferType? type;
@@ -309,6 +313,9 @@ class ExternalVideoFrame {
@JsonKey(name: 'textureSliceIndex')
final int? textureSliceIndex;
+ @JsonKey(name: 'colorSpace')
+ final ColorSpace? colorSpace;
+
factory ExternalVideoFrame.fromJson(Map<String, dynamic> json) =>
_$ExternalVideoFrameFromJson(json);
@@ -521,7 +528,7 @@ class ExternalVideoFrame {
time
传入的视频帧的时间戳,以毫秒为单位。不正确的时间戳会导致丢帧或者音视频不同步。
-
+
diff --git a/dita/RTC-NG/API/class_faceshapeareaoptions.dita b/dita/RTC-NG/API/class_faceshapeareaoptions.dita
index 08daedaeacf..3e32dd93fbf 100644
--- a/dita/RTC-NG/API/class_faceshapeareaoptions.dita
+++ b/dita/RTC-NG/API/class_faceshapeareaoptions.dita
@@ -46,18 +46,38 @@
FACE_SHAPE_AREA_NOSEWIDTH = 10,
FACE_SHAPE_AREA_MOUTHSCALE = 11,
};
-
+
FACE_SHAPE_AREA shapeArea;
int shapeIntensity;
-
+
FaceShapeAreaOptions(FACE_SHAPE_AREA shapeArea, int areaIntensity) : shapeArea(shapeArea), shapeIntensity(areaIntensity) {}
FaceShapeAreaOptions() : shapeArea(FACE_SHAPE_AREA_NONE), shapeIntensity(0) {}
};
-
-
+ USTRUCT(BlueprintType)
+struct FUABT_FaceShapeAreaOptions {
+
+ GENERATED_BODY()
+
+public:
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_FACE_SHAPE_AREA shapeArea = EUABT_FACE_SHAPE_AREA::FACE_SHAPE_AREA_NONE;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ int shapeIntensity = 0;
+
+};
+ export class FaceShapeAreaOptions {
+ shapeArea?: FaceShapeArea;
+ shapeIntensity?: number;
+}
+ export class FaceShapeAreaOptions {
+ shapeArea?: FaceShapeArea;
+ shapeIntensity?: number;
+}
@@ -94,4 +114,4 @@
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/API/class_faceshapebeautyoptions.dita b/dita/RTC-NG/API/class_faceshapebeautyoptions.dita
index 0d4c4250e0b..02c9774d47a 100644
--- a/dita/RTC-NG/API/class_faceshapebeautyoptions.dita
+++ b/dita/RTC-NG/API/class_faceshapebeautyoptions.dita
@@ -23,19 +23,58 @@
FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0,
FACE_SHAPE_BEAUTY_STYLE_MALE = 1,
};
-
+
FACE_SHAPE_BEAUTY_STYLE shapeStyle;
-
+
int styleIntensity;
-
+
FaceShapeBeautyOptions(FACE_SHAPE_BEAUTY_STYLE shapeStyle, int styleIntensity) : shapeStyle(shapeStyle), styleIntensity(styleIntensity) {}
FaceShapeBeautyOptions() : shapeStyle(FACE_SHAPE_BEAUTY_STYLE_FEMALE), styleIntensity(50) {}
};
-
-
-
-
+ USTRUCT(BlueprintType)
+struct FUABT_FaceShapeBeautyOptions {
+ GENERATED_BODY()
+
+public:
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_FACE_SHAPE_BEAUTY_STYLE shapeStyle = EUABT_FACE_SHAPE_BEAUTY_STYLE::FACE_SHAPE_BEAUTY_STYLE_FEMALE;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ int styleIntensity = 50;
+};
+ export class FaceShapeBeautyOptions {
+ shapeStyle?: FaceShapeBeautyStyle;
+ styleIntensity?: number;
+}
+ public class FaceShapeBeautyOptions
+ {
+ public FACE_SHAPE_BEAUTY_STYLE shapeStyle;
+
+ public int styleIntensity;
+ }
+ export class FaceShapeBeautyOptions {
+ shapeStyle?: FaceShapeBeautyStyle;
+ styleIntensity?: number;
+}
+
+class FaceShapeBeautyOptions {
+
+ const FaceShapeBeautyOptions({this.shapeStyle, this.styleIntensity});
+
+ @JsonKey(name: 'shapeStyle')
+ final FaceShapeBeautyStyle? shapeStyle;
+
+ @JsonKey(name: 'styleIntensity')
+ final int? styleIntensity;
+
+ factory FaceShapeBeautyOptions.fromJson(Map<String, dynamic> json) =>
+ _$FaceShapeBeautyOptionsFromJson(json);
+
+ Map<String, dynamic> toJson() => _$FaceShapeBeautyOptionsToJson(this);
+}
+
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/API/class_filtereffectoptions.dita b/dita/RTC-NG/API/class_filtereffectoptions.dita
index 83e3c8ec375..c83bb8de808 100644
--- a/dita/RTC-NG/API/class_filtereffectoptions.dita
+++ b/dita/RTC-NG/API/class_filtereffectoptions.dita
@@ -19,13 +19,32 @@
struct FilterEffectOptions {
const char * path;
float strength;
-
+
FilterEffectOptions(const char * lut3dPath, float filterStrength) : path(lut3dPath), strength(filterStrength) {}
FilterEffectOptions() : path(OPTIONAL_NULLPTR), strength(0.5) {}
};
-
-
+ USTRUCT(BlueprintType)
+struct FUABT_FilterEffectOptions {
+ GENERATED_BODY()
+
+public:
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ FString path;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ float strength = 0.5;
+};
+
+ export class FilterEffectOptions {
+ path?: string;
+ strength?: number;
+}
+ export class FilterEffectOptions {
+ path?: string;
+ strength?: number;
+}
@@ -59,4 +78,4 @@ LUT_3D_SIZE 32
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita b/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita
index 6f8f514341d..5952ff288e4 100644
--- a/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita
+++ b/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita
@@ -37,11 +37,53 @@
bool syncWithLocalMic;
LocalAudioMixerConfiguration() : streamCount(0), syncWithLocalMic(true) {}
};
-
-
-
-
-
+ USTRUCT(BlueprintType)
+struct FUABT_LocalAudioMixerConfiguration {
+
+ GENERATED_BODY()
+
+public:
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ TArray<FUABT_MixedAudioStream> sourceStreams;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ bool syncWithLocalMic;
+};
+ export class LocalAudioMixerConfiguration {
+ streamCount?: number;
+ audioInputStreams?: MixedAudioStream[];
+ syncWithLocalMic?: boolean;
+}
+ public class LocalAudioMixerConfiguration
+{
+ public uint streamCount;
+ public MixedAudioStream[] audioInputStreams;
+ public bool syncWithLocalMic
+}
+ export class LocalAudioMixerConfiguration {
+ streamCount?: number;
+ audioInputStreams?: MixedAudioStream[];
+ syncWithLocalMic?: boolean;
+}
+ class LocalAudioMixerConfiguration {
+ const LocalAudioMixerConfiguration(
+ {this.streamCount, this.audioInputStreams, this.syncWithLocalMic});
+
+ @JsonKey(name: 'streamCount')
+ final int? streamCount;
+
+ @JsonKey(name: 'audioInputStreams')
+ final List<MixedAudioStream>? audioInputStreams;
+
+ @JsonKey(name: 'syncWithLocalMic')
+ final bool? syncWithLocalMic;
+
+ factory LocalAudioMixerConfiguration.fromJson(Map<String, dynamic> json) =>
+ _$LocalAudioMixerConfigurationFromJson(json);
+
+ Map<String, dynamic> toJson() => _$LocalAudioMixerConfigurationToJson(this);
+}
@@ -55,7 +97,7 @@
-
+
streamCount
在本地进行合流的音频流数量。
@@ -65,7 +107,7 @@
syncWithLocalMic
- 合流后的音频流是否使用本地麦克风采集的音频帧时间戳:
+ 合流后的音频流是否使用本地麦克风采集的音频帧时间戳:
- :(默认)使用本地麦克风采集的音频帧时间戳。如果要所有本地采集的音频流保持同步,你可以将参数设置为该值。
- :不使用本地麦克风采集的音频帧时间戳,SDK 会采用合流的音频帧被构建时的时间戳。
diff --git a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita
index 90074b48bd5..2ba954f9884 100644
--- a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita
+++ b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita
@@ -49,27 +49,16 @@
};
USTRUCT(BlueprintType)
-struct FLowlightEnhanceOptions
+struct FUABT_LowlightEnhanceOptions
{
GENERATED_BODY()
+
public:
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LowlightEnhanceOptions")
- ELOW_LIGHT_ENHANCE_MODE mode = ELOW_LIGHT_ENHANCE_MODE::LOW_LIGHT_ENHANCE_AUTO;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LowlightEnhanceOptions")
- ELOW_LIGHT_ENHANCE_LEVEL level = ELOW_LIGHT_ENHANCE_LEVEL::LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY;
- FLowlightEnhanceOptions(){}
- FLowlightEnhanceOptions(const agora::rtc::LowlightEnhanceOptions & AgoraData){
- mode = static_cast<ELOW_LIGHT_ENHANCE_MODE>(AgoraData.mode);
- level = static_cast<ELOW_LIGHT_ENHANCE_LEVEL>(AgoraData.level);
- }
- agora::rtc::LowlightEnhanceOptions CreateAgoraData() const {
- agora::rtc::LowlightEnhanceOptions AgoraData;
- AgoraData.mode = static_cast<agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_MODE>(mode);
- AgoraData.level = static_cast<agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_LEVEL>(level);
- return AgoraData;
- }
- void FreeAgoraData(agora::rtc::LowlightEnhanceOptions& AgoraData) const {
- }
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_LOW_LIGHT_ENHANCE_MODE mode = EUABT_LOW_LIGHT_ENHANCE_MODE::LOW_LIGHT_ENHANCE_AUTO;
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_LOW_LIGHT_ENHANCE_LEVEL level = EUABT_LOW_LIGHT_ENHANCE_LEVEL::LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY;
};
public class LowlightEnhanceOptions
{
@@ -89,15 +78,15 @@ public:
}
};
export class LowlightEnhanceOptions {
-
+
mode?: LowLightEnhanceMode;
-
+
level?: LowLightEnhanceLevel;
}
export class LowlightEnhanceOptions {
-
+
mode?: LowLightEnhanceMode;
-
+
level?: LowLightEnhanceLevel;
}
class LowlightEnhanceOptions {
@@ -114,7 +103,7 @@ public:
_$LowlightEnhanceOptionsFromJson(json);
Map<String, dynamic> toJson() => _$LowlightEnhanceOptionsToJson(this);
-}
+}
diff --git a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita
index 09476438c5d..1b26d637cfb 100644
--- a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita
+++ b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita
@@ -51,15 +51,15 @@
}
}
export class MediaRecorderConfiguration {
-
+
public storagePath: string;
-
+
public containerFormat: number = AgoraMediaRecorder.CONTAINER_MP4;
-
+
public streamType: number = AgoraMediaRecorder.STREAM_TYPE_BOTH;
-
+
public maxDurationMs: number = 120000;
-
+
public recorderInfoUpdateInterval: number = 0;
public constructor(storagePath: string, containerFormat: number, streamType: number,
maxDurationMs: number, recorderInfoUpdateInterval: number) {
@@ -138,16 +138,17 @@ struct FMediaRecorderConfiguration
int recorderInfoUpdateInterval;
};
export class MediaRecorderConfiguration {
-
storagePath?: string;
-
containerFormat?: MediaRecorderContainerFormat;
-
streamType?: MediaRecorderStreamType;
-
maxDurationMs?: number;
-
recorderInfoUpdateInterval?: number;
+ width?: number;
+ height?: number;
+ fps?: number;
+ sample_rate?: number;
+ channel_num?: number;
+ videoSourceType?: VideoSourceType;
}
public struct MediaRecorderConfiguration {
public string storagePath;
@@ -155,27 +156,41 @@ struct FMediaRecorderConfiguration
public MediaRecorderStreamType streamType;
public int maxDurationMs;
public int recorderInfoUpdateInterval;
+ public int width;
+ public int height;
+ public int fps;
+ public int sample_rate;
+ public int channel_num;
+ public VIDEO_SOURCE_TYPE videoSourceType;
};
export class MediaRecorderConfiguration {
-
storagePath?: string;
-
containerFormat?: MediaRecorderContainerFormat;
-
streamType?: MediaRecorderStreamType;
-
maxDurationMs?: number;
-
recorderInfoUpdateInterval?: number;
+ width?: number;
+ height?: number;
+ fps?: number;
+ sample_rate?: number;
+ channel_num?: number;
+ videoSourceType?: VideoSourceType;
}
- class MediaRecorderConfiguration {
+ @JsonSerializable(explicitToJson: true, includeIfNull: false)
+class MediaRecorderConfiguration {
const MediaRecorderConfiguration(
{this.storagePath,
this.containerFormat,
this.streamType,
this.maxDurationMs,
- this.recorderInfoUpdateInterval});
+ this.recorderInfoUpdateInterval,
+ this.width,
+ this.height,
+ this.fps,
+ this.sampleRate,
+ this.channelNum,
+ this.videoSourceType});
@JsonKey(name: 'storagePath')
final String? storagePath;
@@ -192,6 +207,24 @@ struct FMediaRecorderConfiguration
@JsonKey(name: 'recorderInfoUpdateInterval')
final int? recorderInfoUpdateInterval;
+ @JsonKey(name: 'width')
+ final int? width;
+
+ @JsonKey(name: 'height')
+ final int? height;
+
+ @JsonKey(name: 'fps')
+ final int? fps;
+
+ @JsonKey(name: 'sample_rate')
+ final int? sampleRate;
+
+ @JsonKey(name: 'channel_num')
+ final int? channelNum;
+
+ @JsonKey(name: 'videoSourceType')
+ final VideoSourceType? videoSourceType;
+
factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) =>
_$MediaRecorderConfigurationFromJson(json);
@@ -239,49 +272,51 @@ struct FMediaRecorderConfiguration
recorderInfoUpdateInterval
录制信息更新间隔,单位为毫秒,取值范围为 [1000,10000]。SDK 会根据该值的设置触发 回调,报告更新后的录制信息。
-
+
width
录制视频的宽度 (px),宽 × 高的最大值不应超过 3840 × 2160。
- 该参数仅在 调用 且将 中的 type设置为 时需要传入。
+ 该参数仅在 调用 且将 中的 type设置为 时需要传入。
该参数仅在 调用 且将 的 recorderStreamType 为 0 时需要传入。
-
+
height
录制视频的高度 (px),宽 × 高的最大值不超过 3840 × 2160。
- 该参数仅在 调用 且将 中的 type设置为 时需要传入。
+ 该参数仅在 调用 且将 中的 type设置为 时需要传入。
该参数仅在 调用 且将 的 recorderStreamType 为 0 时需要传入。
-
+
fps
录制视频的帧率,最高值不超过 30,如: 5、10、15、24、30 等。
- 该参数仅在 调用 且将 中的 type设置为 时需要传入。
+ 该参数仅在 调用 且将 中的 type设置为 时需要传入。
该参数仅在 调用 且将 的 recorderStreamType 为 0 时需要传入。
-
- sample_rate
+
+ sample_rate
+ sampleRate
录制音频的采样率 (Hz),可设置为 16000,32000,44100 或 48000。
- 该参数仅在 调用 且将 中的 type设置为 时需要传入。
- 该参数仅在 调用 且将 的 recorderStreamType 为 0 时需要传入。
+ 该参数仅在 调用 且将 中的 type设置为 时需要传入。
+ 该参数仅在调用 且将 的 recorderStreamType 为 0 时需要传入。
-
- channel_num
+
+ channel_num
+ channelNum
录制音频的声道数:
- 该参数仅在 调用 且将 中的 type设置为 时需要传入。
+ 该参数仅在 调用 且将 中的 type设置为 时需要传入。
该参数仅在 调用 且将 的 recorderStreamType 为 0 时需要传入。
-
+
videoSourceType
录制视频源的类型。详见 。
- 该参数仅在 调用 且将 中的 type设置为 时需要传入。
+ 该参数仅在 调用 且将 中的 type设置为 时需要传入。
该参数仅在 调用 且将 的 recorderStreamType 为 0 时需要传入。
diff --git a/dita/RTC-NG/API/class_mixedaudiostream.dita b/dita/RTC-NG/API/class_mixedaudiostream.dita
index 4fba9c0c8e8..86e51d272c2 100644
--- a/dita/RTC-NG/API/class_mixedaudiostream.dita
+++ b/dita/RTC-NG/API/class_mixedaudiostream.dita
@@ -48,11 +48,66 @@
channelId(channel),
trackId(track) {}
};
-
-
-
-
-
+ USTRUCT(BlueprintType)
+struct FUABT_MixedAudioStream {
+
+ GENERATED_BODY()
+
+public:
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_AUDIO_SOURCE_TYPE sourceType = EUABT_AUDIO_SOURCE_TYPE::AUDIO_SOURCE_MICROPHONE;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ int64 remoteUserUid;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ FString channelName;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ int64 trackId;
+};
+ export class MixedAudioStream {
+ sourceType?: AudioSourceType;
+ remoteUserUid?: number;
+ channelId?: string;
+ trackId?: number;
+}
+ public class MixedAudioStream
+{
+ public AUDIO_SOURCE_TYPE sourceType;
+ public uint remoteUserUid;
+ public string channelId;
+ public uint trackId;
+ }
+ export class MixedAudioStream {
+ sourceType?: AudioSourceType;
+ remoteUserUid?: number;
+ channelId?: string;
+ trackId?: number;
+}
+ class MixedAudioStream {
+
+ const MixedAudioStream(
+ {this.sourceType, this.remoteUserUid, this.channelId, this.trackId});
+
+ @JsonKey(name: 'sourceType')
+ final AudioSourceType? sourceType;
+
+ @JsonKey(name: 'remoteUserUid')
+ final int? remoteUserUid;
+
+ @JsonKey(name: 'channelId')
+ final String? channelId;
+
+ @JsonKey(name: 'trackId')
+ final int? trackId;
+
+ factory MixedAudioStream.fromJson(Map<String, dynamic> json) =>
+ _$MixedAudioStreamFromJson(json);
+
+ Map<String, dynamic> toJson() => _$MixedAudioStreamToJson(this);
+}
diff --git a/dita/RTC-NG/API/class_recorderstreaminfo.dita b/dita/RTC-NG/API/class_recorderstreaminfo.dita
index 5438c358061..cd7bade353e 100644
--- a/dita/RTC-NG/API/class_recorderstreaminfo.dita
+++ b/dita/RTC-NG/API/class_recorderstreaminfo.dita
@@ -12,9 +12,9 @@
public int recorderStreamType;
}
export class RecorderStreamInfo {
-
+
public uid: number = 0;
-
+
public channelId: string;
public constructor() {
this.uid = 0;
@@ -50,20 +50,23 @@ struct FRecorderStreamInfo {
int64 uid;
};
- export class RecorderStreamInfo {
- channelId?: string;
- uid?: number;
-}
+ RecorderStreamInfo {
+ channelId?: string;
+ uid?: number;
+ type?: RecorderStreamType;
+ }
public class RecorderStreamInfo
{
public string channelId;
public uint uid;
+ public RecorderStreamType type;
};
- export class RecorderStreamInfo {
- channelId?: string;
- uid?: number;
-}
+ RecorderStreamInfo {
+ channelId?: string;
+ uid?: number;
+ type?: RecorderStreamType;
+ }
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class RecorderStreamInfo {
const RecorderStreamInfo({this.channelId, this.uid});
@@ -74,6 +77,9 @@ class RecorderStreamInfo {
@JsonKey(name: 'uid')
final int? uid;
+ @JsonKey(name: 'type')
+ final RecorderStreamType? type;
+
factory RecorderStreamInfo.fromJson(Map<String, dynamic> json) =>
_$RecorderStreamInfoFromJson(json);
@@ -99,7 +105,7 @@ class RecorderStreamInfo {
uid
需录制的用户 ID。
-
+
type
需录制的视频流类型,详见 。
diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita
index 341c2fdefc7..ab411ecf5cd 100644
--- a/dita/RTC-NG/API/class_rtcengineconfig.dita
+++ b/dita/RTC-NG/API/class_rtcengineconfig.dita
@@ -18,7 +18,7 @@
public IMediaExtensionObserver mExtensionObserver;
public LogConfig mLogConfig;
public String mNativeLibPath;
- public boolean mDomainLimit;
+ public boolean mDomainLimit;
public void addExtension(String providerName) {
mExtensionList.add(providerName);
@@ -26,11 +26,12 @@
}
export class RtcEngineConfig{
- public mContext:Context | null = null;
- public mAppId:string | null = null;
- public mEventHandler: IRtcEngineEventHandler | null = null;
- public mLogConfig?:LogConfig;
-}
+ public mContext:Context;
+ public mAppId:string;
+ public mEventHandler: IRtcEngineEventHandler ;
+ public mLogConfig?:LogConfig;
+ public areaCode: Constants.AreaCode = Constants.AreaCode.GLOB;
+ }
__attribute__((visibility("default"))) @interface AgoraRtcEngineConfig: NSObject
@property (copy, nonatomic) NSString * _Nullable appId;
@@ -70,19 +71,19 @@ struct FRtcEngineContext
EAgoraBPuEventHandlerType EventHandlerCreationType = EAgoraBPuEventHandlerType::EventHandler;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext")
FString appId = "";
-
-
+
+
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext")
ECHANNEL_PROFILE_TYPE channelProfile = ECHANNEL_PROFILE_TYPE::CHANNEL_PROFILE_LIVE_BROADCASTING;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext")
FString license = "";
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext")
EAUDIO_SCENARIO_TYPE audioScenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT;
-
-
+
+
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext")
FENUMWRAP_AREA_CODE areaCode = EENUMCUSTOM_AREA_CODE::AREA_CODE_GLOB;
-
+
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext")
FLogConfig logConfig;
@@ -100,11 +101,11 @@ struct FRtcEngineContext
FRtcEngineContext() {}
agora::rtc::RtcEngineContext CreateAgoraData() const {
agora::rtc::RtcEngineContext AgoraData;
-
+
SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.appId, this->appId)
-
+
AgoraData.channelProfile = (agora::CHANNEL_PROFILE_TYPE)channelProfile;
-
+
SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.license, this->license)
AgoraData.audioScenario = (agora::rtc::AUDIO_SCENARIO_TYPE)audioScenario;
AgoraData.areaCode = areaCode.GetRawValue();
@@ -113,7 +114,7 @@ struct FRtcEngineContext
AgoraData.useExternalEglContext = useExternalEglContext;
AgoraData.domainLimit = domainLimit;
AgoraData.autoRegisterAgoraExtensions = autoRegisterAgoraExtensions;
-
+
return AgoraData;
}
diff --git a/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/dita/RTC-NG/API/class_screencaptureconfiguration.dita
index e61e9403b46..9d6975fa4cf 100644
--- a/dita/RTC-NG/API/class_screencaptureconfiguration.dita
+++ b/dita/RTC-NG/API/class_screencaptureconfiguration.dita
@@ -90,18 +90,30 @@ public:
}
public class ScreenCaptureConfiguration
{
+ public bool isCaptureWindow;
+ public long displayId;
+ public Rectangle screenRect;
+ public long windowId;
+
+ public ScreenCaptureParameters @params;
+ public Rectangle regionRect;
+
public ScreenCaptureConfiguration()
{
- isCaptureWindow = false;
- displayId = 0;
+ this.isCaptureWindow = false;
+ this.displayId = 0;
+ this.windowId = 0;
}
- public bool isCaptureWindow { set; get; }
- public uint displayId { set; get; }
- public Rectangle screenRect { set; get; }
- public uint windowId { set; get; }
- public ScreenCaptureParameters parameters { set; get; }
- public Rectangle regionRect { set; get; }
+ public ScreenCaptureConfiguration(bool isCaptureWindow, long displayId, Rectangle screenRect, long windowId, ScreenCaptureParameters @params, Rectangle regionRect)
+ {
+ this.isCaptureWindow = isCaptureWindow;
+ this.displayId = displayId;
+ this.screenRect = screenRect;
+ this.windowId = windowId;
+ this.@params = @params;
+ this.regionRect = regionRect;
+ }
}
export class ScreenCaptureConfiguration {
diff --git a/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/dita/RTC-NG/API/class_screencapturesourceinfo.dita
index 607faf82b32..f854b3dbcbf 100644
--- a/dita/RTC-NG/API/class_screencapturesourceinfo.dita
+++ b/dita/RTC-NG/API/class_screencapturesourceinfo.dita
@@ -143,7 +143,7 @@ public:
public class ScreenCaptureSourceInfo
{
public ScreenCaptureSourceType type;
- public view_t sourceId;
+ public long sourceId;
public string sourceName;
public ThumbImageBuffer thumbImage;
public ThumbImageBuffer iconImage;
@@ -151,7 +151,7 @@ public:
public string sourceTitle;
public bool primaryMonitor;
public Rectangle position;
- public view_t sourceDisplayId;
+ public long sourceDisplayId;
};
class ScreenCaptureSourceInfo {
diff --git a/dita/RTC-NG/API/class_snapshotconfig.dita b/dita/RTC-NG/API/class_snapshotconfig.dita
index 401653f3ae3..3b5139befca 100644
--- a/dita/RTC-NG/API/class_snapshotconfig.dita
+++ b/dita/RTC-NG/API/class_snapshotconfig.dita
@@ -22,10 +22,47 @@
media::base::VIDEO_MODULE_POSITION position;
SnapshotConfig() :filePath(NULL), position(media::base::POSITION_PRE_ENCODER) {}
};
-
-
-
-
+ USTRUCT(BlueprintType)
+struct FUABT_SnapshotConfig {
+
+ GENERATED_BODY()
+
+public:
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ FString filePath;
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_VIDEO_MODULE_POSITION position = EUABT_VIDEO_MODULE_POSITION::POSITION_PRE_ENCODER;
+};
+ export class SnapshotConfig {
+ filePath?: string;
+ position?: VideoModulePosition;
+}
+ public class SnapshotConfig
+ {
+ public string filePath;
+
+ public VIDEO_MODULE_POSITION position;
+ }
+ export class SnapshotConfig {
+ filePath?: string;
+ position?: VideoModulePosition;
+}
+ class SnapshotConfig {
+ const SnapshotConfig({this.filePath, this.position});
+
+ @JsonKey(name: 'filePath')
+ final String? filePath;
+
+ @JsonKey(name: 'position')
+ final VideoModulePosition? position;
+
+ factory SnapshotConfig.fromJson(Map<String, dynamic> json) =>
+ _$SnapshotConfigFromJson(json);
+
+ Map<String, dynamic> toJson() => _$SnapshotConfigToJson(this);
+}
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/API/class_videodenoiseroptions.dita b/dita/RTC-NG/API/class_videodenoiseroptions.dita
index 22cd91a5b51..fbf71090e43 100644
--- a/dita/RTC-NG/API/class_videodenoiseroptions.dita
+++ b/dita/RTC-NG/API/class_videodenoiseroptions.dita
@@ -50,32 +50,21 @@
};
USTRUCT(BlueprintType)
-struct FVideoDenoiserOptions
+struct FUABT_VideoDenoiserOptions
{
GENERATED_BODY()
+
public:
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoDenoiserOptions")
- EVIDEO_DENOISER_MODE mode = EVIDEO_DENOISER_MODE::VIDEO_DENOISER_AUTO;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoDenoiserOptions")
- EVIDEO_DENOISER_LEVEL level = EVIDEO_DENOISER_LEVEL::VIDEO_DENOISER_LEVEL_HIGH_QUALITY;
- FVideoDenoiserOptions(){}
- FVideoDenoiserOptions(const agora::rtc::VideoDenoiserOptions & AgoraData){
- mode = static_cast<EVIDEO_DENOISER_MODE>(AgoraData.mode);
- level = static_cast<EVIDEO_DENOISER_LEVEL>(AgoraData.level);
- }
- agora::rtc::VideoDenoiserOptions CreateAgoraData() const {
- agora::rtc::VideoDenoiserOptions AgoraData;
- AgoraData.mode = static_cast<agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_MODE>(mode);
- AgoraData.level = static_cast<agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_LEVEL>(level);
- return AgoraData;
- }
- void FreeAgoraData(agora::rtc::VideoDenoiserOptions& AgoraData) const {
- }
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_VIDEO_DENOISER_MODE mode = EUABT_VIDEO_DENOISER_MODE::VIDEO_DENOISER_AUTO;
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_VIDEO_DENOISER_LEVEL level = EUABT_VIDEO_DENOISER_LEVEL ::VIDEO_DENOISER_LEVEL_HIGH_QUALITY;
};
export class VideoDenoiserOptions {
-
+
mode?: VideoDenoiserMode;
-
+
level?: VideoDenoiserLevel;
}
public class VideoDenoiserOptions
@@ -96,9 +85,9 @@ public:
}
};
export class VideoDenoiserOptions {
-
+
mode?: VideoDenoiserMode;
-
+
level?: VideoDenoiserLevel;
}
class VideoDenoiserOptions {
@@ -114,7 +103,7 @@ public:
_$VideoDenoiserOptionsFromJson(json);
Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this);
-}
+}
@@ -140,4 +129,4 @@ public:
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita
index fc457bae25b..f659d2dee3a 100644
--- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita
+++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita
@@ -350,74 +350,47 @@
}
};
USTRUCT(BlueprintType)
-struct FVideoEncoderConfiguration
+struct FUABT_VideoEncoderConfiguration
{
GENERATED_BODY()
+
public:
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
- EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_NONE;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
- FVideoDimensions dimensions = FVideoDimensions();
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
+
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_VIDEO_CODEC_TYPE codecType = EUABT_VIDEO_CODEC_TYPE::VIDEO_CODEC_NONE;
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ FUABT_VideoDimensions dimensions = FUABT_VideoDimensions();
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
int frameRate = 15;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
int bitrate = 0;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
int minBitrate = -1;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
- EORIENTATION_MODE orientationMode = EORIENTATION_MODE::ORIENTATION_MODE_ADAPTIVE;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
- EDEGRADATION_PREFERENCE degradationPreference = EDEGRADATION_PREFERENCE::MAINTAIN_QUALITY;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
- EVIDEO_MIRROR_MODE_TYPE mirrorMode = EVIDEO_MIRROR_MODE_TYPE::VIDEO_MIRROR_MODE_DISABLED;
- UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration")
- FAdvanceOptions advanceOptions = FAdvanceOptions();
- FVideoEncoderConfiguration(){}
- FVideoEncoderConfiguration(const agora::rtc::VideoEncoderConfiguration & AgoraData){
- codecType = static_cast<EVIDEO_CODEC_TYPE>(AgoraData.codecType);
- dimensions = FVideoDimensions(AgoraData.dimensions);
- frameRate = AgoraData.frameRate;
- bitrate = AgoraData.bitrate;
- minBitrate = AgoraData.minBitrate;
- orientationMode = static_cast<EORIENTATION_MODE>(AgoraData.orientationMode);
- degradationPreference = static_cast<EDEGRADATION_PREFERENCE>(AgoraData.degradationPreference);
- mirrorMode = static_cast<EVIDEO_MIRROR_MODE_TYPE>(AgoraData.mirrorMode);
- advanceOptions = FAdvanceOptions(AgoraData.advanceOptions);
- }
- agora::rtc::VideoEncoderConfiguration CreateAgoraData() const {
- agora::rtc::VideoEncoderConfiguration AgoraData;
- AgoraData.codecType = static_cast<agora::rtc::VIDEO_CODEC_TYPE>(codecType);
- AgoraData.dimensions = dimensions.CreateAgoraData();
- AgoraData.frameRate = frameRate;
- AgoraData.bitrate = bitrate;
- AgoraData.minBitrate = minBitrate;
- AgoraData.orientationMode = static_cast<agora::rtc::ORIENTATION_MODE>(orientationMode);
- AgoraData.degradationPreference = static_cast<agora::rtc::DEGRADATION_PREFERENCE>(degradationPreference);
- AgoraData.mirrorMode = static_cast<agora::rtc::VIDEO_MIRROR_MODE_TYPE>(mirrorMode);
- AgoraData.advanceOptions = advanceOptions.CreateAgoraData();
- return AgoraData;
- }
- void FreeAgoraData(agora::rtc::VideoEncoderConfiguration& AgoraData) const {
- dimensions.FreeAgoraData(AgoraData.dimensions);
- advanceOptions.FreeAgoraData(AgoraData.advanceOptions);
- }
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_ORIENTATION_MODE orientationMode = EUABT_ORIENTATION_MODE::ORIENTATION_MODE_ADAPTIVE;
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_DEGRADATION_PREFERENCE degradationPreference = EUABT_DEGRADATION_PREFERENCE::MAINTAIN_QUALITY;
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ EUABT_VIDEO_MIRROR_MODE_TYPE mirrorMode = EUABT_VIDEO_MIRROR_MODE_TYPE::VIDEO_MIRROR_MODE_DISABLED;
+ UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
+ FUABT_AdvanceOptions advanceOptions = FUABT_AdvanceOptions();
};
export class VideoEncoderConfiguration {
-
+
codecType?: VideoCodecType;
-
+
dimensions?: VideoDimensions;
-
+
frameRate?: number;
-
+
bitrate?: number;
-
+
minBitrate?: number;
-
+
orientationMode?: OrientationMode;
-
+
degradationPreference?: DegradationPreference;
-
+
mirrorMode?: VideoMirrorModeType;
advanceOptions?: AdvanceOptions;
@@ -500,21 +473,21 @@ public:
}
}
export class VideoEncoderConfiguration {
-
+
codecType?: VideoCodecType;
-
+
dimensions?: VideoDimensions;
-
+
frameRate?: number;
-
+
bitrate?: number;
-
+
minBitrate?: number;
-
+
orientationMode?: OrientationMode;
-
+
degradationPreference?: DegradationPreference;
-
+
mirrorMode?: VideoMirrorModeType;
advanceOptions?: AdvanceOptions;
@@ -562,7 +535,7 @@ public:
_$VideoEncoderConfigurationFromJson(json);
Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this);
-}
+}
@@ -572,8 +545,8 @@ public:
dimensions
视频编码的分辨率 (px),详见 。该参数用于衡量编码质量,以长 × 宽表示,默认值为 960 × 540。用户可以自行设置分辨率。
- 用户可以自行设置分辨率,也可以在如下列表中直接选择想要的分辨率:
-
+
用户可以自行设置分辨率,也可以在如下列表中直接选择想要的分辨率:
+
- :视频分辨率为 120 × 120。
- :视频分辨率为 160 × 120。
diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita
index b861000164d..41b754df902 100644
--- a/dita/RTC-NG/API/class_videoframe.dita
+++ b/dita/RTC-NG/API/class_videoframe.dita
@@ -559,6 +559,7 @@ struct FVideoFrame {
alphaStitchMode?: AlphaStitchMode;
+ colorSpace?: ColorSpace;
}
public class VideoFrame
{
@@ -607,6 +608,10 @@ struct FVideoFrame {
public byte[] alphaBuffer;
public ALPHA_STITCH_MODE alphaStitchMode;
+
+ public IVideoFrameMetaInfo metaInfo;
+
+ public ColorSpace colorSpace;
};
export class VideoFrame {
@@ -646,6 +651,7 @@ struct FVideoFrame {
alphaStitchMode?: AlphaStitchMode;
+ colorSpace?: ColorSpace;
}
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class VideoFrame {
@@ -669,7 +675,8 @@ class VideoFrame {
this.alphaBuffer,
this.alphaStitchMode,
this.pixelBuffer,
- this.metaInfo});
+ this.metaInfo;
+ this.colorSpace});
@JsonKey(name: 'type')
final VideoPixelFormat? type;
@@ -732,6 +739,9 @@ class VideoFrame {
@JsonKey(name: 'metaInfo')
final VideoFrameMetaInfo? metaInfo;
+ @JsonKey(name: 'colorSpace')
+ final ColorSpace? colorSpace;
+
factory VideoFrame.fromJson(Map<String, dynamic> json) =>
_$VideoFrameFromJson(json);
@@ -866,7 +876,7 @@ class VideoFrame {
pixelBuffer
将数据填充到 CVPixelBuffer。
-
+
colorSpace
视频帧的色彩空间属性,默认情况下会应用 Full Range 和 BT.709 标准配置。你可以根据自定义采集、自定义渲染的业务需求进行自定义设置,详见 。
diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita
index df1502856f5..74be6f71bab 100644
--- a/dita/RTC-NG/API/rtc_api_data_type.dita
+++ b/dita/RTC-NG/API/rtc_api_data_type.dita
@@ -653,7 +653,10 @@
+
+
+
@@ -665,6 +668,7 @@
+
@@ -701,6 +705,7 @@
+
@@ -858,6 +863,9 @@
+
+
+
@@ -871,6 +879,7 @@
+
@@ -880,6 +889,7 @@
+
@@ -914,9 +924,10 @@
+
-
+
@@ -977,6 +988,9 @@
+
+
+
@@ -990,6 +1004,7 @@
+
@@ -999,6 +1014,7 @@
+
@@ -1035,9 +1051,10 @@
+
-
+
@@ -1098,6 +1115,9 @@
+
+
+
@@ -1107,6 +1127,7 @@
+
@@ -1156,6 +1177,7 @@
+
@@ -1751,6 +1773,7 @@
+
@@ -1782,6 +1805,8 @@
+
+
@@ -1830,6 +1855,7 @@
+
@@ -2034,6 +2060,7 @@
+
@@ -2062,6 +2089,8 @@
+
+
@@ -2105,11 +2134,11 @@
+
-
@@ -2143,6 +2172,7 @@
+
@@ -2173,6 +2203,7 @@
+
@@ -2203,6 +2234,8 @@
+
+
@@ -2245,11 +2278,11 @@
+
-
@@ -2283,6 +2316,7 @@
+
@@ -2313,6 +2347,7 @@
+
@@ -2343,6 +2378,8 @@
+
+
@@ -2386,6 +2423,7 @@
+
diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita
index 0e4158644e6..3df97a7d0c9 100644
--- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita
+++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita
@@ -42,6 +42,9 @@
+
+
+
@@ -52,6 +55,7 @@
+
@@ -62,6 +66,7 @@
+
@@ -104,6 +109,7 @@
+
@@ -162,6 +168,9 @@
+
+
+
@@ -224,6 +233,7 @@
+
@@ -275,6 +285,7 @@
+
@@ -305,6 +316,8 @@
+
+
@@ -350,6 +363,7 @@
+
@@ -420,6 +434,7 @@
+
@@ -450,6 +465,8 @@
+
+
@@ -542,4 +559,4 @@
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita
index 080b7c27cf0..59e422fd47e 100644
--- a/dita/RTC-NG/API/rtc_api_overview.dita
+++ b/dita/RTC-NG/API/rtc_api_overview.dita
@@ -584,15 +584,15 @@
-
+
-
+
-
+
@@ -959,7 +959,7 @@
(仅适用于 Android 和 iOS)
-
+
(仅适用于 Android)
@@ -1028,7 +1028,7 @@
-
+
@@ -1376,9 +1376,9 @@
-
+
- (仅适用于 Android)
+ (仅适用于 Android)
@@ -2583,11 +2583,11 @@
(仅适用于 Windows)
-
+
(仅适用于 Windows)
-
+
(仅适用于 Windows)
diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap
index 9885a2e2e6d..d2403723bd1 100644
--- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap
@@ -320,7 +320,9 @@
+
+
@@ -334,8 +336,13 @@
+
+
+
+
+
@@ -366,9 +373,11 @@
+
+
@@ -728,7 +737,7 @@
-
+
@@ -741,7 +750,7 @@
-
+
@@ -821,4 +830,4 @@
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap
index 746a44e0013..fbeb9c2d459 100644
--- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap
@@ -793,7 +793,7 @@
-
+
@@ -806,7 +806,7 @@
-
+
diff --git a/dita/RTC-NG/RTC_NG_API_Electron.ditamap b/dita/RTC-NG/RTC_NG_API_Electron.ditamap
index 715d31e56c6..4cd7e4c5ca8 100644
--- a/dita/RTC-NG/RTC_NG_API_Electron.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_Electron.ditamap
@@ -94,6 +94,10 @@
+
+
+
+
@@ -106,6 +110,12 @@
+
+
+
+
+
+
@@ -198,6 +208,11 @@
+
+
+
+
+
@@ -291,15 +306,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -322,32 +350,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -502,7 +512,6 @@
-
@@ -517,6 +526,7 @@
+
@@ -647,6 +657,7 @@
+
@@ -660,6 +671,7 @@
+
diff --git a/dita/RTC-NG/RTC_NG_API_Flutter.ditamap b/dita/RTC-NG/RTC_NG_API_Flutter.ditamap
index 6a7db2377bf..6d79bbd2e3f 100644
--- a/dita/RTC-NG/RTC_NG_API_Flutter.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_Flutter.ditamap
@@ -303,13 +303,16 @@
-
+
+
+
+
@@ -322,8 +325,13 @@
+
+
+
+
+
@@ -362,8 +370,15 @@
+
+
+
+
+
+
+
@@ -383,7 +398,8 @@
-
+
+
@@ -675,6 +691,7 @@
+
@@ -684,6 +701,7 @@
+
diff --git a/dita/RTC-NG/RTC_NG_API_RN.ditamap b/dita/RTC-NG/RTC_NG_API_RN.ditamap
index 43b7a0febd2..6c6053eda2b 100644
--- a/dita/RTC-NG/RTC_NG_API_RN.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_RN.ditamap
@@ -93,6 +93,10 @@
+
+
+
+
@@ -105,6 +109,12 @@
+
+
+
+
+
+
@@ -195,6 +205,11 @@
+
+
+
+
+
@@ -273,6 +288,7 @@
+
@@ -287,15 +303,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -322,32 +351,14 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -374,6 +385,7 @@
+
@@ -498,20 +510,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dita/RTC-NG/RTC_NG_API_Unity.ditamap b/dita/RTC-NG/RTC_NG_API_Unity.ditamap
index 1ef6abcd172..405ea3f525f 100644
--- a/dita/RTC-NG/RTC_NG_API_Unity.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_Unity.ditamap
@@ -86,6 +86,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -192,6 +202,11 @@
+
+
+
+
+
@@ -270,6 +285,7 @@
+
@@ -282,22 +298,35 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -325,33 +354,13 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -361,6 +370,8 @@
+
+
@@ -383,7 +394,8 @@
-
+
+
@@ -506,20 +518,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -691,14 +703,14 @@
-
+
-
+
@@ -772,4 +784,4 @@
-
+
\ No newline at end of file
diff --git a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap
index 2f4cb93f10e..8af7dd0df41 100644
--- a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap
@@ -210,6 +210,11 @@
+
+
+
+
+
@@ -297,6 +302,7 @@
+
@@ -316,7 +322,9 @@
+
+
@@ -330,8 +338,13 @@
+
+
+
+
+
@@ -362,9 +375,11 @@
+
+
@@ -396,6 +411,7 @@
+
@@ -720,7 +736,7 @@
-
+
@@ -733,7 +749,7 @@
-
+
diff --git a/dita/RTC-NG/RTC_NG_Release_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_Release_Blueprint.ditamap
new file mode 100644
index 00000000000..0d1f2b4f643
--- /dev/null
+++ b/dita/RTC-NG/RTC_NG_Release_Blueprint.ditamap
@@ -0,0 +1,17 @@
+
+
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap
index ec9e6afed07..ff2b336b4bf 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap
@@ -1215,6 +1215,20 @@
+
+
+
+ SetLocalRenderTargetFps
+
+
+
+
+
+
+ SetRemoteRenderTargetFps
+
+
+
@@ -1310,6 +1324,20 @@
+
+
+
+ GetFaceShapeAreaOptions
+
+
+
+
+
+
+ GetFaceShapeBeautyOptions
+
+
+
@@ -1345,6 +1373,27 @@
+
+
+
+ SetFaceShapeAreaOptions
+
+
+
+
+
+
+ SetFaceShapeBeautyOptions
+
+
+
+
+
+
+ SetFilterEffectOptions
+
+
+
@@ -1592,6 +1641,13 @@
+
+
+
+ TakeSnapshotWithConfigEx
+
+
+
@@ -2726,6 +2782,29 @@
+
+
+
+
+ StartLocalAudioMixer
+
+
+
+
+
+
+ StopLocalAudioMixer
+
+
+
+
+
+
+ UpdateLocalAudioMixerConfiguration
+
+
+
+
@@ -4018,6 +4097,13 @@
+
+
+
+ TakeSnapshotWithConfig
+
+
+
@@ -5407,6 +5493,27 @@
+
+
+
+ FUABT_FaceShapeAreaOptions
+
+
+
+
+
+
+ FUABT_FaceShapeBeautyOptions
+
+
+
+
+
+
+ FUABT_FilterEffectOptions
+
+
+
@@ -5533,10 +5640,24 @@
+
+
+
+ FUABT_MixedAudioStream
+
+
+
+
+
+
+ FUABT_LocalAudioMixerConfiguration
+
+
+
- FLowlightEnhanceOptions
+ FUABT_LowlightEnhanceOptions
@@ -5676,7 +5797,7 @@
- FRtcConnection
+ FUABT_RtcConnection
@@ -5764,6 +5885,13 @@
+
+
+
+ FUABT_SnapshotConfig
+
+
+
@@ -5837,21 +5965,21 @@
- FVideoDenoiserOptions
+ FUABT_VideoDenoiserOptions
- FVideoDimensions
+ FUABT_VideoDimensions
- FVideoEncoderConfiguration
+ FUABT_VideoEncoderConfiguration
@@ -5934,6 +6062,69 @@
+
+
+
+ EUABT_AUDIO_SOURCE_TYPE
+
+
+
+
+
+
+ AUDIO_SOURCE_MICROPHONE
+
+
+
+
+
+
+ AUDIO_SOURCE_CUSTOM
+
+
+
+
+
+
+ AUDIO_SOURCE_MEDIA_PLAYER
+
+
+
+
+
+
+ AUDIO_SOURCE_LOOPBACK_RECORDING
+
+
+
+
+
+
+ AUDIO_SOURCE_MIXED_STREAM
+
+
+
+
+
+
+ AUDIO_SOURCE_REMOTE_USER
+
+
+
+
+
+
+ AUDIO_SOURCE_REMOTE_CHANNEL
+
+
+
+
+
+
+ AUDIO_SOURCE_UNKNOWN
+
+
+
@@ -6592,6 +6783,13 @@
+
+
+
+ PREFER_COMPRESSION_AUTO
+
+
+
@@ -8212,7 +8410,14 @@
- EDEGRADATION_PREFERENCE
+ EUABT_DEGRADATION_PREFERENCE
+
+
+
+
+
+
+ MAINTAIN_AUTO
@@ -8846,6 +9051,125 @@
+
+
+
+ EUABT_FACE_SHAPE_AREA
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NONE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_HEADSCALE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FOREHEAD
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACECONTOUR
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACELENGTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACEWIDTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHEEKBONE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHEEK
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHIN
+
+
+
+
+
+
+ FACE_SHAPE_AREA_EYESCALE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NOSELENGTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NOSEWIDTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_MOUTHSCALE
+
+
+
+
+
+
+ EUABT_FACE_SHAPE_BEAUTY_STYLE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE_FEMALE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE_MALE
+
+
+
@@ -9556,7 +9880,7 @@
- ELOW_LIGHT_ENHANCE_LEVEL
+ EUABT_LOW_LIGHT_ENHANCE_LEVEL
@@ -10060,7 +10384,7 @@
- EMEDIA_SOURCE_TYPE
+ EUABT_MEDIA_SOURCE_TYPE
@@ -10354,7 +10678,7 @@
- EORIENTATION_MODE
+ EUABT_ORIENTATION_MODE
@@ -10900,7 +11224,7 @@
- FAdvanceOptions
+ FUABT_AdvanceOptions
@@ -11716,6 +12040,13 @@
+
+
+
+ APPLICATION_SCENARIO_LIVESHOW
+
+
+
@@ -11796,7 +12127,7 @@
- EVIDEO_DENOISER_LEVEL
+ EUABT_VIDEO_DENOISER_LEVEL
@@ -11824,7 +12155,7 @@
- EVIDEO_SOURCE_TYPE
+ EUABT_VIDEO_SOURCE_TYPE
@@ -12034,7 +12365,7 @@
- EVIDEO_CODEC_TYPE
+ EUABT_VIDEO_CODEC_TYPE
@@ -12223,7 +12554,7 @@
- EVIDEO_MIRROR_MODE_TYPE
+ EUABT_VIDEO_MIRROR_MODE_TYPE
@@ -12251,7 +12582,7 @@
- EVIDEO_MODULE_POSITION
+ EUABT_VIDEO_MODULE_POSITION
@@ -12934,4 +13265,4 @@
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
index 62f937fcd3e..8be293ba31c 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
@@ -3971,21 +3971,17 @@
-
+
- href="../API/api_iaudiodevicemanager_setrecordingdevicemute.dita"
- setRecordingDeviceMute
-
+ setRecordingDeviceMute
-
+
- href="../API/api_iaudiodevicemanager_getrecordingdevicemute.dita"
- getRecordingDeviceMute
-
+ getRecordingDeviceMute
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap
index f042a9914db..fa99e0bd3c3 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap
@@ -1108,6 +1108,20 @@
+
+
+
+ setLocalRenderTargetFps
+
+
+
+
+
+
+ setRemoteRenderTargetFps
+
+
+
@@ -1203,6 +1217,20 @@
+
+
+
+ getFaceShapeAreaOptions
+
+
+
+
+
+
+ getFaceShapeBeautyOptions
+
+
+
@@ -1238,6 +1266,27 @@
+
+
+
+ setFaceShapeAreaOptions
+
+
+
+
+
+
+ setFaceShapeBeautyOptions
+
+
+
+
+
+
+ setFilterEffectOptions
+
+
+
@@ -1452,6 +1501,13 @@
+
+
+
+ takeSnapshotWithConfigEx
+
+
+
@@ -2424,6 +2480,29 @@
+
+
+
+
+ startLocalAudioMixer
+
+
+
+
+
+
+ stopLocalAudioMixer
+
+
+
+
+
+
+ updateLocalAudioMixerConfiguration
+
+
+
+
@@ -2941,6 +3020,20 @@
+
+
+
+ setRecordingDeviceMute
+
+
+
+
+
+
+ getRecordingDeviceMute
+
+
+
@@ -3473,6 +3566,13 @@
+
+
+
+ takeSnapshotWithConfig
+
+
+
@@ -4827,6 +4927,27 @@
+
+
+
+ FaceShapeAreaOptions
+
+
+
+
+
+
+ FaceShapeBeautyOptions
+
+
+
+
+
+
+ FilterEffectOptions
+
+
+
@@ -4943,6 +5064,20 @@
MediaSource
+
+
+
+
+
+
+ MixedAudioStream
+
+
+
+
+
+
+ LocalAudioMixerConfiguration
@@ -5149,20 +5284,27 @@
-
-
-
- SpatialAudioParams
-
-
-
-
-
-
- SpatialAudioZone
-
-
-
+
+
+
+ SnapshotConfig
+
+
+
+
+
+
+ SpatialAudioParams
+
+
+
+
+
+
+ SpatialAudioZone
+
+
+
@@ -5690,6 +5832,69 @@
+
+
+
+ AudioSourceType
+
+
+
+
+
+
+ AudioSourceMicrophone
+
+
+
+
+
+
+ AudioSourceCustom
+
+
+
+
+
+
+ AudioSourceMediaPlayer
+
+
+
+
+
+
+ AudioSourceLoopbackRecording
+
+
+
+
+
+
+ AudioSourceMixedStream
+
+
+
+
+
+
+ AudioSourceRemoteUser
+
+
+
+
+
+
+ AudioSourceRemoteChannel
+
+
+
+
+
+
+ AudioSourceUnknown
+
+
+
@@ -5872,6 +6077,13 @@
+
+
+
+ PreferCompressionAuto
+
+
+
@@ -7629,6 +7841,13 @@
+
+
+
+ MaintainAuto
+
+
+
@@ -8256,6 +8475,125 @@
ExperienceQualityBad
+
+
+
+
+
+
+ FaceShapeArea
+
+
+
+
+
+
+ FaceShapeAreaNone
+
+
+
+
+
+
+ FaceShapeAreaHeadscale
+
+
+
+
+
+
+ FaceShapeAreaForehead
+
+
+
+
+
+
+ FaceShapeAreaFacecontour
+
+
+
+
+
+
+ FaceShapeAreaFacelength
+
+
+
+
+
+
+ FaceShapeAreaFacewidth
+
+
+
+
+
+
+ FaceShapeAreaCheekbone
+
+
+
+
+
+
+ FaceShapeAreaCheek
+
+
+
+
+
+
+ FaceShapeAreaChin
+
+
+
+
+
+
+ FaceShapeAreaEyescale
+
+
+
+
+
+
+ FaceShapeAreaNoselength
+
+
+
+
+
+
+ FaceShapeAreaNosewidth
+
+
+
+
+
+
+ FaceShapeAreaMouthscale
+
+
+
+
+
+
+ FaceShapeBeautyStyle
+
+
+
+
+
+
+ FaceShapeBeautyStyleFemale
+
+
+
+
+
+
+ FaceShapeBeautyStyleMale
@@ -9015,6 +9353,13 @@
+
+
+
+ MediaDeviceStatePluggedIn
+
+
+
@@ -10163,6 +10508,27 @@
+
+
+
+ RecorderStreamType
+
+
+
+
+
+
+ Rtc
+
+
+
+
+
+
+ Preview
+
+
+
@@ -10807,6 +11173,13 @@
+
+
+
+ ApplicationScenarioLiveshow
+
+
+
@@ -10898,7 +11271,7 @@
-
+
VideoDenoiserLevelStrength
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap
index 96fafab5e72..2440540f108 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap
@@ -1151,6 +1151,20 @@
+
+
+
+ setLocalRenderTargetFps
+
+
+
+
+
+
+ setRemoteRenderTargetFps
+
+
+
@@ -1246,6 +1260,20 @@
+
+
+
+ getFaceShapeAreaOptions
+
+
+
+
+
+
+ getFaceShapeBeautyOptions
+
+
+
@@ -1281,6 +1309,27 @@
+
+
+
+ setFaceShapeAreaOptions
+
+
+
+
+
+
+ setFaceShapeBeautyOptions
+
+
+
+
+
+
+ setFilterEffectOptions
+
+
+
@@ -1495,6 +1544,13 @@
+
+
+
+ takeSnapshotWithConfigEx
+
+
+
@@ -1581,6 +1637,13 @@
+
+
+
+ setExternalMediaProjection
+
+
+
@@ -2441,6 +2504,13 @@
+
+
+
+ setExternalRemoteEglContext
+
+
+
@@ -2500,6 +2570,29 @@
+
+
+
+
+ startLocalAudioMixer
+
+
+
+
+
+
+ stopLocalAudioMixer
+
+
+
+
+
+
+ updateLocalAudioMixerConfiguration
+
+
+
+
@@ -3160,6 +3253,20 @@
+
+
+
+ setRecordingDeviceMute
+
+
+
+
+
+
+ getRecordingDeviceMute
+
+
+
@@ -3610,6 +3717,13 @@
+
+
+
+ takeSnapshotWithConfig
+
+
+
@@ -4728,13 +4842,6 @@
-
-
-
- AudioTrackConfig
-
-
-
@@ -4742,6 +4849,13 @@
+
+
+
+ AudioTrackConfig
+
+
+
@@ -4903,6 +5017,27 @@
+
+
+
+ FaceShapeAreaOptions
+
+
+
+
+
+
+ FaceShapeBeautyOptions
+
+
+
+
+
+
+ FilterEffectOptions
+
+
+
@@ -5015,6 +5150,20 @@
+
+
+
+ MixedAudioStream
+
+
+
+
+
+
+ LocalAudioMixerConfiguration
+
+
+
@@ -5232,6 +5381,13 @@
+
+
+
+ SnapshotConfig
+
+
+
@@ -5948,6 +6104,13 @@
+
+
+
+ preferCompressionAuto
+
+
+
@@ -6858,6 +7021,69 @@
+
+
+
+ AudioSourceType
+
+
+
+
+
+
+ audioSourceMicrophone
+
+
+
+
+
+
+ audioSourceCustom
+
+
+
+
+
+
+ audioSourceMediaPlayer
+
+
+
+
+
+
+ audioSourceLoopbackRecording
+
+
+
+
+
+
+ audioSourceMixedStream
+
+
+
+
+
+
+ audioSourceRemoteUser
+
+
+
+
+
+
+ audioSourceRemoteChannel
+
+
+
+
+
+
+ audioSourceUnknown
+
+
+
@@ -7502,6 +7728,13 @@
+
+
+
+ maintainAuto
+
+
+
@@ -8132,6 +8365,125 @@
+
+
+
+ FaceShapeArea
+
+
+
+
+
+
+ faceShapeAreaNone
+
+
+
+
+
+
+ faceShapeAreaHeadscale
+
+
+
+
+
+
+ faceShapeAreaForehead
+
+
+
+
+
+
+ faceShapeAreaFacecontour
+
+
+
+
+
+
+ faceShapeAreaFacelength
+
+
+
+
+
+
+ faceShapeAreaFacewidth
+
+
+
+
+
+
+ faceShapeAreaCheekbone
+
+
+
+
+
+
+ faceShapeAreaCheek
+
+
+
+
+
+
+ faceShapeAreaChin
+
+
+
+
+
+
+ faceShapeAreaEyescale
+
+
+
+
+
+
+ faceShapeAreaNoselength
+
+
+
+
+
+
+ faceShapeAreaNosewidth
+
+
+
+
+
+
+ faceShapeAreaMouthscale
+
+
+
+
+
+
+ FaceShapeBeautyStyle
+
+
+
+
+
+
+ faceShapeBeautyStyleFemale
+
+
+
+
+
+
+ faceShapeBeautyStyleMale
+
+
+
@@ -8895,6 +9247,13 @@
+
+
+
+ mediaDeviceStatePluggedIn
+
+
+
@@ -10190,6 +10549,27 @@
+
+
+
+ RecorderStreamType
+
+
+
+
+
+
+ rtc
+
+
+
+
+
+
+ preview
+
+
+
@@ -10820,6 +11200,13 @@
+
+
+
+ applicationScenarioLiveshow
+
+
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap
index 80eba449e27..1baa2330cc7 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap
@@ -1136,6 +1136,20 @@
+
+
+
+ setLocalRenderTargetFps
+
+
+
+
+
+
+ setRemoteRenderTargetFps
+
+
+
@@ -1220,13 +1234,6 @@
-
-
-
- FocalLengthInfo
-
-
-
@@ -1245,6 +1252,20 @@
+
+
+
+ getFaceShapeAreaOptions
+
+
+
+
+
+
+ getFaceShapeBeautyOptions
+
+
+
@@ -1280,6 +1301,27 @@
+
+
+
+ setFaceShapeAreaOptions
+
+
+
+
+
+
+ setFaceShapeBeautyOptions
+
+
+
+
+
+
+ setFilterEffectOptions
+
+
+
@@ -1487,6 +1529,13 @@
+
+
+
+ takeSnapshotWithConfigEx
+
+
+
@@ -1580,6 +1629,13 @@
+
+
+
+ setExternalMediaProjection
+
+
+
@@ -2405,6 +2461,13 @@
+
+
+
+ setExternalRemoteEglContext
+
+
+
@@ -2464,6 +2527,29 @@
+
+
+
+
+ startLocalAudioMixer
+
+
+
+
+
+
+ stopLocalAudioMixer
+
+
+
+
+
+
+ updateLocalAudioMixerConfiguration
+
+
+
+
@@ -3452,6 +3538,13 @@
+
+
+
+ takeSnapshotWithConfig
+
+
+
@@ -4787,6 +4880,34 @@
+
+
+
+ FaceShapeAreaOptions
+
+
+
+
+
+
+ FaceShapeBeautyOptions
+
+
+
+
+
+
+ FilterEffectOptions
+
+
+
+
+
+
+ FocalLengthInfo
+
+
+
@@ -4899,6 +5020,20 @@
+
+
+
+ MixedAudioStream
+
+
+
+
+
+
+ LocalAudioMixerConfiguration
+
+
+
@@ -5087,6 +5222,13 @@
SimulcastStreamConfig
+
+
+
+
+ SnapshotConfig
+
+
@@ -5629,6 +5771,69 @@
+
+
+
+ AudioSourceType
+
+
+
+
+
+
+ AudioSourceMicrophone
+
+
+
+
+
+
+ AudioSourceCustom
+
+
+
+
+
+
+ AudioSourceMediaPlayer
+
+
+
+
+
+
+ AudioSourceLoopbackRecording
+
+
+
+
+
+
+ AudioSourceMixedStream
+
+
+
+
+
+
+ AudioSourceRemoteUser
+
+
+
+
+
+
+ AudioSourceRemoteChannel
+
+
+
+
+
+
+ AudioSourceUnknown
+
+
+
@@ -5853,6 +6058,13 @@
+
+
+
+ PreferCompressionAuto
+
+
+
@@ -7645,6 +7857,13 @@
+
+
+
+ MaintainAuto
+
+
+
@@ -8275,6 +8494,125 @@
+
+
+
+ FaceShapeArea
+
+
+
+
+
+
+ FaceShapeAreaNone
+
+
+
+
+
+
+ FaceShapeAreaHeadscale
+
+
+
+
+
+
+ FaceShapeAreaForehead
+
+
+
+
+
+
+ FaceShapeAreaFacecontour
+
+
+
+
+
+
+ FaceShapeAreaFacelength
+
+
+
+
+
+
+ FaceShapeAreaFacewidth
+
+
+
+
+
+
+ FaceShapeAreaCheekbone
+
+
+
+
+
+
+ FaceShapeAreaCheek
+
+
+
+
+
+
+ FaceShapeAreaChin
+
+
+
+
+
+
+ FaceShapeAreaEyescale
+
+
+
+
+
+
+ FaceShapeAreaNoselength
+
+
+
+
+
+
+ FaceShapeAreaNosewidth
+
+
+
+
+
+
+ FaceShapeAreaMouthscale
+
+
+
+
+
+
+ FaceShapeBeautyStyle
+
+
+
+
+
+
+ FaceShapeBeautyStyleFemale
+
+
+
+
+
+
+ FaceShapeBeautyStyleMale
+
+
+
@@ -8975,6 +9313,13 @@
+
+
+
+ MediaDeviceStatePluggedIn
+
+
+
@@ -10130,6 +10475,27 @@
+
+
+
+ RecorderStreamType
+
+
+
+
+
+
+ Rtc
+
+
+
+
+
+
+ Preview
+
+
+
@@ -10767,6 +11133,13 @@
+
+
+
+ ApplicationScenarioLiveshow
+
+
+
@@ -10858,7 +11231,7 @@
-
+
VideoDenoiserLevelStrength
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap
index b6083d7ce2f..a0f58388058 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap
@@ -1089,6 +1089,20 @@
+
+
+
+ SetLocalRenderTargetFps
+
+
+
+
+
+
+ SetRemoteRenderTargetFps
+
+
+
@@ -1177,6 +1191,20 @@
+
+
+
+ GetFaceShapeAreaOptions
+
+
+
+
+
+
+ GetFaceShapeBeautyOptions
+
+
+
@@ -1219,6 +1247,27 @@
+
+
+
+ SetFaceShapeAreaOptions
+
+
+
+
+
+
+ SetFaceShapeBeautyOptions
+
+
+
+
+
+
+ SetFilterEffectOptions
+
+
+
@@ -1506,7 +1555,14 @@
- TakeSnapshotEx
+ TakeSnapshotEx [1/2]
+
+
+
+
+
+
+ TakeSnapshotEx [2/2]
@@ -1610,6 +1666,13 @@
+
+
+
+ SetExternalMediaProjection
+
+
+
@@ -2509,6 +2572,13 @@
+
+
+
+ SetExternalRemoteEglContext
+
+
+
@@ -2568,6 +2638,29 @@
+
+
+
+
+ StartLocalAudioMixer
+
+
+
+
+
+
+ StopLocalAudioMixer
+
+
+
+
+
+
+ UpdateLocalAudioMixerConfiguration
+
+
+
+
@@ -3304,14 +3397,14 @@
-
+
SetRecordingDeviceMute
-
+
GetRecordingDeviceMute
@@ -3682,7 +3775,14 @@
- TakeSnapshot
+ TakeSnapshot [1/2]
+
+
+
+
+
+
+ TakeSnapshot [2/2]
@@ -5030,6 +5130,27 @@
ExtensionContext
+
+
+
+
+ FaceShapeAreaOptions
+
+
+
+
+
+
+ FaceShapeBeautyOptions
+
+
+
+
+
+
+ FilterEffectOptions
+
+
@@ -5157,6 +5278,20 @@
+
+
+
+ MixedAudioStream
+
+
+
+
+
+
+ LocalAudioMixerConfiguration
+
+
+
@@ -5362,6 +5497,13 @@
+
+
+
+ SnapshotConfig
+
+
+
@@ -6883,6 +7025,13 @@
+
+
+
+ APPLICATION_SCENARIO_LIVESHOW
+
+
+
@@ -6925,6 +7074,69 @@
+
+
+
+ AUDIO_SOURCE_TYPE
+
+
+
+
+
+
+ AUDIO_SOURCE_MICROPHONE
+
+
+
+
+
+
+ AUDIO_SOURCE_CUSTOM
+
+
+
+
+
+
+ AUDIO_SOURCE_MEDIA_PLAYER
+
+
+
+
+
+
+ AUDIO_SOURCE_LOOPBACK_RECORDING
+
+
+
+
+
+
+ AUDIO_SOURCE_MIXED_STREAM
+
+
+
+
+
+
+ AUDIO_SOURCE_REMOTE_USER
+
+
+
+
+
+
+ AUDIO_SOURCE_REMOTE_CHANNEL
+
+
+
+
+
+
+ AUDIO_SOURCE_UNKNOWN
+
+
+
@@ -7037,6 +7249,13 @@
+
+
+
+ PREFER_COMPRESSION_AUTO
+
+
+
@@ -7863,6 +8082,13 @@
+
+
+
+ MAINTAIN_AUTO
+
+
+
@@ -8556,6 +8782,125 @@
+
+
+
+ FACE_SHAPE_AREA
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NONE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_HEADSCALE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FOREHEAD
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACECONTOUR
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACELENGTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACEWIDTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHEEKBONE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHEEK
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHIN
+
+
+
+
+
+
+ FACE_SHAPE_AREA_EYESCALE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NOSELENGTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NOSEWIDTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_MOUTHSCALE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE_FEMALE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE_MALE
+
+
+
@@ -9256,6 +9601,13 @@
+
+
+
+ MEDIA_DEVICE_STATE_PLUGGED_IN
+
+
+
@@ -10698,6 +11050,27 @@
+
+
+
+ RecorderStreamType
+
+
+
+
+
+
+ RTC
+
+
+
+
+
+
+ PREVIEW
+
+
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap
index e4216b8eb72..2785b01950e 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap
@@ -1166,6 +1166,20 @@
+
+
+
+ setLocalRenderTargetFps
+
+
+
+
+
+
+ setRemoteRenderTargetFps
+
+
+
@@ -1261,6 +1275,20 @@
+
+
+
+ getFaceShapeAreaOptions
+
+
+
+
+
+
+ getFaceShapeBeautyOptions
+
+
+
@@ -1296,6 +1324,27 @@
+
+
+
+ setFaceShapeAreaOptions
+
+
+
+
+
+
+ setFaceShapeBeautyOptions
+
+
+
+
+
+
+ setFilterEffectOptions
+
+
+
@@ -1543,6 +1592,13 @@
+
+
+
+ takeSnapshotEx [2/2]
+
+
+
@@ -1685,6 +1741,13 @@
+
+
+
+ setExternalMediaProjection
+
+
+
@@ -2611,6 +2674,13 @@
+
+
+
+ setExternalRemoteEglContext
+
+
+
@@ -2684,6 +2754,29 @@
+
+
+
+
+ startLocalAudioMixer
+
+
+
+
+
+
+ stopLocalAudioMixer
+
+
+
+
+
+
+ updateLocalAudioMixerConfiguration
+
+
+
+
@@ -3955,6 +4048,13 @@
+
+
+
+ takeSnapshot [2/2]
+
+
+
@@ -5344,6 +5444,27 @@
+
+
+
+ FaceShapeAreaOptions
+
+
+
+
+
+
+ FaceShapeBeautyOptions
+
+
+
+
+
+
+ FilterEffectOptions
+
+
+
@@ -5477,6 +5598,20 @@
+
+
+
+ MixedAudioStream
+
+
+
+
+
+
+ LocalAudioMixerConfiguration
+
+
+
@@ -5708,6 +5843,13 @@
+
+
+
+ SnapshotConfig
+
+
+
@@ -6242,6 +6384,69 @@
+
+
+
+ AUDIO_SOURCE_TYPE
+
+
+
+
+
+
+ AUDIO_SOURCE_MICROPHONE
+
+
+
+
+
+
+ AUDIO_SOURCE_CUSTOM
+
+
+
+
+
+
+ AUDIO_SOURCE_MEDIA_PLAYER
+
+
+
+
+
+
+ AUDIO_SOURCE_LOOPBACK_RECORDING
+
+
+
+
+
+
+ AUDIO_SOURCE_MIXED_STREAM
+
+
+
+
+
+
+ AUDIO_SOURCE_REMOTE_USER
+
+
+
+
+
+
+ AUDIO_SOURCE_REMOTE_CHANNEL
+
+
+
+
+
+
+ AUDIO_SOURCE_UNKNOWN
+
+
+
@@ -6536,6 +6741,13 @@
+
+
+
+ PREFER_COMPRESSION_AUTO
+
+
+
@@ -8300,6 +8512,13 @@
+
+
+
+ MAINTAIN_AUTO
+
+
+
@@ -8930,6 +9149,125 @@
+
+
+
+ FACE_SHAPE_AREA
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NONE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_HEADSCALE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FOREHEAD
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACECONTOUR
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACELENGTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_FACEWIDTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHEEKBONE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHEEK
+
+
+
+
+
+
+ FACE_SHAPE_AREA_CHIN
+
+
+
+
+
+
+ FACE_SHAPE_AREA_EYESCALE
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NOSELENGTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_NOSEWIDTH
+
+
+
+
+
+
+ FACE_SHAPE_AREA_MOUTHSCALE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE_FEMALE
+
+
+
+
+
+
+ FACE_SHAPE_BEAUTY_STYLE_MALE
+
+
+
@@ -11093,6 +11431,27 @@
+
+
+
+ RecorderStreamType
+
+
+
+
+
+
+ RTC
+
+
+
+
+
+
+ PREVIEW
+
+
+
@@ -11793,6 +12152,13 @@
+
+
+
+ APPLICATION_SCENARIO_LIVESHOW
+
+
+
@@ -13515,4 +13881,4 @@
-
\ No newline at end of file
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-electron.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-electron.ditamap
index 1479630c116..69d62307cc2 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-links-electron.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-links-electron.ditamap
@@ -53,6 +53,13 @@
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap
index cff7fd5b5a0..030e5379365 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap
@@ -74,6 +74,13 @@
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap
index 834db554074..8a7050c9326 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap
@@ -67,6 +67,13 @@
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap
index f4c392d3080..b1c8dfc4bb8 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap
@@ -68,6 +68,13 @@
+
diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap
index dd44362634b..d4207a2265c 100644
--- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap
+++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap
@@ -2435,7 +2435,7 @@
-
+
@@ -2539,7 +2539,7 @@
-
+
@@ -2857,7 +2857,7 @@
-
+
@@ -2865,7 +2865,7 @@
-
+
@@ -3066,7 +3066,7 @@
-
+
@@ -3310,7 +3310,7 @@
-
+
@@ -3336,7 +3336,7 @@
-
+
@@ -3368,7 +3368,7 @@
-
+
@@ -3392,7 +3392,7 @@
-
+
@@ -3405,7 +3405,7 @@
-
+
diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita
index f316fd0ff7a..fe93f018b77 100644
--- a/dita/RTC-NG/release/release_notes.dita
+++ b/dita/RTC-NG/release/release_notes.dita
@@ -17,8 +17,8 @@
自 4.5.0 起,RTC SDK 和 RTM SDK (2.2.0 及以上版本) 都包含 aosl.dll 库。如果你通过 CDN 手动集成 RTC SDK 且同时集成了 RTM SDK,为避免冲突,请手动删除版本较低的 aosl.dll 库。4.5.0 RTC SDK aosl.dll 库版本为 1.2.13。你可以通过查看 aosl.dll 文件的属性来得知库的版本信息。
- - 成员参数类型变更
-
为提升各框架对 Native SDK 的适配性,该版本对一些 API 中的成员或参数做了如下修改:
+ - 成员参数类型变更
+
为提升各框架对 Native SDK 的适配性,该版本对一些 API 中的成员或参数做了如下修改:
@@ -31,7 +31,7 @@
-
+
displayId
由 uint32_t 型变更为 int64_t 型
@@ -39,25 +39,25 @@
windowId
- 由 view_t 型变更为 int64_t 型
+ 由 view_t 型变更为 int64_t 型由 view_t 型变更为 long 型
displayId
- 由 uint32_t 型变更为 int64_t 型
+ 由 uint32_t 型变更为 int64_t 型由 unit 型变更为 long 型
windowId
- 由 view_t 型变更为 int64_t 型
+ 由 view_t 型变更为 int64_t 型由 unit 型变更为 long 型
sourceDisplayId
- 由 view_t 型变更为 int64_t 型
+ 由 view_t 型变更为 int64_t 型由 view_t 型变更为 long 型
sourceId
- 默认值由 nullptr 变更为 0
+ 默认值由 nullptr 变更为 0由 view_t 型变更为 long 型
@@ -71,8 +71,8 @@
该版本调整了强效视频降噪的实现方式,删除了 ,改为调用 启用视频降噪后,调用 方法启用美颜磨皮功能,二者搭配使用以获得更好的视频降噪效果。实现强效降噪时,推荐磨皮参数设置详见 。
此外,受该调整影响,实现画质优先的暗光增强效果时,需要先开启视频降噪并采用特定设置,详见 。
- - 摄像头插拔状态变更 (macOS, Windows)
-
在之前版本中,当摄像头拔出并重新插入时, 回调会将设备状态报告为 (1)(设备正在使用)。该版本起,摄像头重新插入后,设备状态将改为 (0)(设备就绪)。
+ - 摄像头插拔状态变更 (macOS, Windows)
+
在之前版本中,当摄像头拔出并重新插入时, 回调会将设备状态报告为 (1)(设备正在使用)。该版本起,摄像头重新插入后,设备状态将改为 (0)(设备就绪)。
在之前版本中,摄像头拔出并重新插入后不会自动恢复采集。该版本起,摄像头重新插入后将自动恢复采集。
- 视频编码偏好变更
@@ -109,7 +109,7 @@
该版本新增 和 方法,支持设置视频在本地和远端渲染时的最大帧率,SDK 进行视频渲染的实际帧率会尽量接近该值。
在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)或者远端使用中低端设备的场景下,你可以通过这一组方法限制视频渲染帧率,从而减小 CPU 消耗、提升系统性能。
- - URL 拉流播放
+
- URL 拉流播放
URL 拉流播放功能主要用于直播场景,观众端可以直接通过 打开特定的 URL 来播放实时媒体流,无需加入频道、订阅等步骤,极大简化了观众端观看直播流的 API 调用。
在播放的过程中,观众端可以通过 设置订阅视频大小流,并可以在大小流之间实现平滑切换。如果对视频体验有更高要求,可以联系开通 ABR(Adaptive Bitrate,自适应码率)功能。启用该功能后,可以自定义不同层级的视频流分辨率,观众可以实现不同分辨率视频流的平滑切换。
当网络情况不稳定时,观众端可以调用 来设置订阅的视频流的回退选项。SDK 会以你指定的最低质量层级对应的视频流分辨率为下限,在此范围内根据网络状况动态调整分辨率。
有关该功能的实现步骤,详见 。
@@ -128,9 +128,9 @@
- 外部 MediaProjection (Android)
该版本新增 方法,该方法支持你自行设置外部 MediaProjection,并取代 SDK 申请的 MediaProjection。
- 如果你具备自行申请 MediaProjection 的开发能力,可通过该功能实现更加灵活的屏幕采集。有关具体实现方法,详见《屏幕共享》。
+ 如果你具备自行申请 MediaProjection 的开发能力,可通过该功能实现更加灵活的屏幕采集。
- - EGL 环境上下文 (Android)
+
- EGL 环境上下文 (Android)
该版本新增了 方法,用于设置远端视频流渲染的 EGL 环境上下文。使用 Texture 格式的视频数据进行远端视频自渲染时,你可以通过该方法替换 SDK 默认的远端 EGL 环境上下文,实现统一的 EGL 上下文管理。
- 色彩空间设置
@@ -138,8 +138,8 @@
- 其他
- - 回调新增 枚举,表示当前正在使用的视频采集设备已经断开连接(例如,被拔出)。(Windows)
- - 新增 枚举,表示设备已插入。
+ - 回调新增 枚举,表示当前正在使用的视频采集设备已经断开连接(例如,被拔出)。(Windows)
+ - 新增 枚举,表示设备已插入。
该版本修复了以下问题:
- - 调用 共享屏幕时,通过 regionRect 指定的窗口采集区域不准确,导致接收端看到的屏幕共享窗口宽高错误。(Windows)
- - 当发送端视频源类型为 JPEG 格式时,偶现接收端帧率低于预期。(Android、iOS)
- - 在播放音乐内容中心的音乐资源时,偶现杂音和卡顿。(Android)
- - 在 App 没有获取麦克风权限时,通过 播放伴奏音乐偶现卡顿。(Android)
- - 音视频互动过程中被系统来电打断后,通过 回调上报的用户音量错误。(Android)
- - 在接收端默认订阅视频小流、加入频道时不自动订阅任何视频流的前提下,加入频道后调用 (uid,false) 恢复接收视频流,但接收到的视频流为视频大流,不符合预期。(Android)
- - Windows 7 系统下进行音视频互动,偶现找不到系统文件的报错。(Windows)
- - 调用 或 设置 SDK 使用的音频采集或播放设备不跟随系统默认的音频播放设备,当音频设备被移除时,本地音频状态回调 没有被触发,不符合预期。(Windows)
- - 音视频互动过程中,偶现接收端听发送端没有声音。(iOS)
- - 音视频互动过程中,如果发送端设备的系统版本为 iOS 17,偶现接收端听不到来自发送端的声音。(iOS)
- - 直播场景下,观众端因切换网络导致断开连接,重新连接直播间花费的时间长于预期。(iOS)
- - App 启动后使用媒体播放器播放在线媒体资源,播放无声。(iOS)
- - 音视频互动过程中被系统其他 App 打断后恢复,偶现音频采集无声。(iOS)
+ - 调用 共享屏幕时,通过 regionRect 指定的窗口采集区域不准确,导致接收端看到的屏幕共享窗口宽高错误。(Windows)
+ - 当发送端视频源类型为 JPEG 格式时,偶现接收端帧率低于预期。(Android、iOS)
+ - 在播放音乐内容中心的音乐资源时,偶现杂音和卡顿。(Android)
+ - 在 App 没有获取麦克风权限时,通过 播放伴奏音乐偶现卡顿。(Android)
+ - 音视频互动过程中被系统来电打断后,通过 回调上报的用户音量错误。(Android)
+ - 在接收端默认订阅视频小流、加入频道时不自动订阅任何视频流的前提下,加入频道后调用 (uid,false) 恢复接收视频流,但接收到的视频流为视频大流,不符合预期。(Android)
+ - Windows 7 系统下进行音视频互动,偶现找不到系统文件的报错。(Windows)
+ - 调用 或 设置 SDK 使用的音频采集或播放设备不跟随系统默认的音频播放设备,当音频设备被移除时,本地音频状态回调 没有被触发,不符合预期。(Windows)
+ - 音视频互动过程中,偶现接收端听发送端没有声音。(iOS)
+ - 音视频互动过程中,如果发送端设备的系统版本为 iOS 17,偶现接收端听不到来自发送端的声音。(iOS)
+ - 直播场景下,观众端因切换网络导致断开连接,重新连接直播间花费的时间长于预期。(iOS)
+ - App 启动后使用媒体播放器播放在线媒体资源,播放无声。(iOS)
+ - 音视频互动过程中被系统其他 App 打断后恢复,偶现音频采集无声。(iOS)
- 调用 后,立即调用 暂停播放音乐文件不生效。
- - 音视频互动过程中偶现崩溃。(Android)
+ - 音视频互动过程中偶现崩溃。(Android)