From 8f12ba4ea83c65913caab2c2274e619999cc6d9a Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:26:49 +0800 Subject: [PATCH] New translations --- ...ngine_setlocalvideodatasourceposition.dita | 53 +++++++++++++++++++ .../dita/RTC-NG/API/enum_alphastitchmode.dita | 40 ++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita create mode 100644 en-US/dita/RTC-NG/API/enum_alphastitchmode.dita diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita new file mode 100644 index 00000000000..fc03a624f7f --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita @@ -0,0 +1,53 @@ + + + + <ph keyref="setLocalVideoDataSourcePosition"/> + Set the observation position of the local video frame. + + + + + + + + +
+

+ + + + + + + public abstract int SetLocalVideoDataSourcePosition(VIDEO_MODULE_POSITION position); + +

+
+
+
+ Call timing +

Call this method after creating a view.

+
+
+ Restrictions +

This method only supports observing local video data rendered through and its subclasses.

+
+
+ Parameters + + + position + The observation position of the video frame. See . +
  • This method currently only supports setting the observation position to or .
  • +
  • The video frames obtained at are not cropped and have a high frame rate, while the video frames obtained at are cropped before being sent, with a frame rate lower than or equal to the frame rate of the camera capture.
+
+
+
+ <ph keyref="return-section-title"/> +

When the method call succeeds, there is no return value; when fails, the exception is thrown. You need to catch the exception and handle it accordingly. See for details and resolution suggestions.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+ + diff --git a/en-US/dita/RTC-NG/API/enum_alphastitchmode.dita b/en-US/dita/RTC-NG/API/enum_alphastitchmode.dita new file mode 100644 index 00000000000..63d95bd3245 --- /dev/null +++ b/en-US/dita/RTC-NG/API/enum_alphastitchmode.dita @@ -0,0 +1,40 @@ + + + + <ph keyref="ALPHA_STITCH_MODE"/> + The relative position of alphaBuffer and video frames. + +
+
+ +
Since
+
v4.4.0
+
+
+
+
+ Enumerator + + + + 0: (Default) Only video frame, that is, alphaBuffer is not stitched with the video frame. + + + + 1: alphaBuffer is above the video frame. + + + + 2: alphaBuffer is below the video frame. + + + + 3: alphaBuffer is to the left of the video frame. + + + + 4: alphaBuffer is to the right of the video frame. + + +
+