From aad5016c3e37e7a2573dffe7f31d42a8610c6d71 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:10:54 +0800 Subject: [PATCH] New translations --- ...irtcengine_setexternalmediaprojection.dita | 10 +- ...rtcengine_setexternalremoteeglcontext.dita | 6 +- ...api_irtcengine_setfiltereffectoptions.dita | 24 +++-- ...pi_irtcengine_setlocalrendertargetfps.dita | 20 ++-- ..._irtcengine_setlowlightenhanceoptions.dita | 10 +- ...irtcengine_setlowlightenhanceoptions2.dita | 9 +- ...i_irtcengine_setremoterendertargetfps.dita | 13 +-- ...pi_irtcengine_setvideodenoiseroptions.dita | 6 +- ...i_irtcengine_setvideodenoiseroptions2.dita | 4 - .../api_irtcengine_startlocalaudiomixer.dita | 13 +-- ...tcengine_startscreencapturebywindowid.dita | 2 +- .../api_irtcengine_stoplocalaudiomixer.dita | 13 +-- .../API/api_irtcengine_takesnapshot2.dita | 16 +-- ...ne_updatelocalaudiomixerconfiguration.dita | 18 ++-- .../API/api_irtcengineex_takesnapshotex2.dita | 24 +++-- .../RTC-NG/API/class_audiotrackconfig.dita | 31 +++--- .../RTC-NG/API/class_externalvideoframe.dita | 11 ++- .../RTC-NG/API/class_filtereffectoptions.dita | 27 +++++- .../class_localaudiomixerconfiguration.dita | 54 +++++++++-- .../API/class_lowlightenhanceoptions.dita | 35 +++---- .../RTC-NG/API/class_mixedaudiostream.dita | 65 ++++++++++++- .../RTC-NG/API/class_rtcengineconfig.dita | 31 +++--- .../API/class_screencaptureconfiguration.dita | 28 ++++-- .../API/class_screencapturesourceinfo.dita | 4 +- .../dita/RTC-NG/API/class_snapshotconfig.dita | 47 ++++++++- .../API/class_videodenoiseroptions.dita | 37 +++---- .../API/class_videoencoderconfiguration.dita | 97 +++++++------------ en-US/dita/RTC-NG/API/class_videoframe.dita | 14 ++- en-US/dita/RTC-NG/API/rtc_api_data_type.dita | 46 ++++++++- .../RTC-NG/API/rtc_api_data_type_unreal.dita | 19 +++- en-US/dita/RTC-NG/API/rtc_api_overview.dita | 18 ++-- 31 files changed, 486 insertions(+), 266 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita index 87dd8c5930c..c075f4269d4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita +++ b/en-US/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
- This method is for Android only. + This method is for Android only.

After successfully calling this method, the external MediaProjection you set will replace the MediaProjection requested by the SDK to capture the screen video stream.

When the screen sharing is stopped or is destroyed, the SDK will automatically release the MediaProjection.

@@ -44,7 +44,7 @@
Call timing

Call this method after .

-
+
Restrictions

Before calling this method, you must first apply for MediaProjection permission.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita index bb303f9c7d5..944a83940a9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita index d35c345c0c9..0a371c27bf7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita +++ b/en-US/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});

@@ -36,7 +48,7 @@
Call timing

Call this method after calling .

-
+
Restrictions
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita index 66ab8b73d50..9e250cbb312 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita +++ b/en-US/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;
Call timing

You can call this method either before or after joining a channel.

-
+
Restrictions

None.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index f9b8af2cb3f..e43da56cf55 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/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,15 +48,15 @@
Call timing

Call this method after calling .

-
+
Restrictions
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
  • Dark light enhancement has certain requirements for equipment performance. The low-light enhancement feature has certain performance requirements on devices. If your device overheats after you enable low-light enhancement, Agora recommends modifying the low-light enhancement options to a less performance-consuming level or disabling low-light enhancement entirely.
  • If you want to prioritize image quality () when using the low-light enhancement function, you need to first call to achieve video noise reduction, the specific corresponding relationship is as follows:
      -
    • When low light enhancement is set to automatic mode (), video noise reduction needs to be set to prioritize image quality () and automatic mode ().
    • -
    • When low-light enhancement is set to manual mode (), video noise reduction needs to be set to prioritize image quality () and manual mode ().
    • +
    • When low light enhancement is set to automatic mode (), video noise reduction needs to be set to prioritize image quality () and automatic mode ().
    • +
    • When low-light enhancement is set to manual mode (), video noise reduction needs to be set to prioritize image quality () and manual mode ().
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita index de6c52a2728..281623e1968 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita +++ b/en-US/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 - The type of the video source. See . - diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita index db43c3fb6a5..b39776fedee 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita +++ b/en-US/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);

@@ -39,7 +40,7 @@
Call timing

You can call this method either before or after joining a channel.

-
+
Restrictions

None.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index 99f8429e519..f32e4e1256e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/en-US/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, @@ -55,7 +55,7 @@
Call timing

Call this method after calling .

-
+
Restrictions
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita index 32d52248a3c..adcba81d2d6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita @@ -44,10 +44,6 @@ - - - - diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita index 0b638ebbed8..7ed2737e8f4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita +++ b/en-US/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);

@@ -46,7 +47,7 @@
Call timing

You can call this method either before or after joining a channel.

-
+
Restrictions

To ensure audio quality, it is recommended that the number of audio streams to be mixed does not exceed 10.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita index 692ec0a30ab..081cb39f01b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita index f89240256ab..282b69ebadf 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita +++ b/en-US/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();

@@ -35,7 +36,7 @@
Call timing

Call this method after .

-
+
Restrictions

None.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita index 7d4a89fac3e..204f7d73068 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita +++ b/en-US/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});

@@ -30,10 +32,10 @@
Call timing

Call this method after joining a channel.

-
+
Restrictions -
    +
    • The method is asynchronous, and the SDK has not taken the snapshot when the method call returns.
    • The SDK has not taken the snapshot when the method call returns.
    • When used for local video snapshots, this method takes a snapshot for the video streams specified in .
    • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita index 7439ff2525e..b4a9467c0b1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita +++ b/en-US/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);

@@ -35,7 +41,7 @@
Call timing

Call this method after .

-
+
Restrictions
diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita index 08726914d29..21006aa6c18 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita +++ b/en-US/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});

Call timing

Call this method after .

-
+
- \ No newline at end of file + diff --git a/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita index dd6b6e7b24b..70491d5be21 100644 --- a/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita +++ b/en-US/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 @@
<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - + streamCount The number of the audio streams that are mixed locally. diff --git a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index d658d5c9aa5..54272e4cbb0 100644 --- a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita b/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita index af64f1582ff..e579bd5960c 100644 --- a/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita index 4e67bc7ec9e..2b317a253aa 100644 --- a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita index 8fbf87d3e53..edc5e9b753e 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita index 6646c19fc6c..aad86bbe8c6 100644 --- a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/class_snapshotconfig.dita b/en-US/dita/RTC-NG/API/class_snapshotconfig.dita index e48d3d35dbc..75b0ee88fba 100644 --- a/en-US/dita/RTC-NG/API/class_snapshotconfig.dita +++ b/en-US/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); +}

@@ -41,4 +78,4 @@
- \ No newline at end of file + diff --git a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita index 2350ed96847..bb51fd42b85 100644 --- a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/en-US/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); -} +}

@@ -138,4 +127,4 @@ public:
- \ No newline at end of file + diff --git a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita index f08b7004a58..d964f9685b4 100644 --- a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/en-US/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); -} +}

diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 675475f9c7b..6169ab03551 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/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); @@ -863,7 +873,7 @@ class VideoFrame { pixelBuffer Fills the data to CVPixelBuffer. - + colorSpace By default, the color space properties of video frames will apply the Full Range and BT.709 standard configurations. You can configure the settings according your needs for custom video capturing and rendering. See . diff --git a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita index ef1e662e74f..a3c36037019 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/en-US/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index f4f5b8ed59c..00c5f77424b 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/en-US/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/en-US/dita/RTC-NG/API/rtc_api_overview.dita b/en-US/dita/RTC-NG/API/rtc_api_overview.dita index e4721d2a09d..cfc6e220226 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_overview.dita +++ b/en-US/dita/RTC-NG/API/rtc_api_overview.dita @@ -584,15 +584,15 @@ - + - + - + @@ -959,7 +959,7 @@ (For Android and iOS only) - + (For Android only) @@ -1028,7 +1028,7 @@ - + @@ -1376,9 +1376,9 @@ - + - (For Android only) + (For Android only) @@ -2583,11 +2583,11 @@ (For Windows only) - + (For Windows only) - + (For Windows only)