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..77481e90df3 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita @@ -0,0 +1,53 @@ + + + + <ph keyref="setLocalVideoDataSourcePosition"/> + Sets 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. + + +
+