From 995ac920361a4da2c7492d0f9917b19976a244ad Mon Sep 17 00:00:00 2001
From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com>
Date: Wed, 21 Aug 2024 11:41:31 +0800
Subject: [PATCH] New translations
---
.../API/api_imediaplayer_setvideoframedelegate.dita | 6 +++---
...medelegate_agorartcmediaplayergetvideopixelformat.dita | 8 ++++----
...diaplayervideoframedelegate_didreceivepixelbuffer.dita | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita
index 7fe9ad42178..dd40d26d0e4 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita
@@ -2,7 +2,7 @@
- 注册媒体播放器的视频观测器对象。
+ Register the video observer object of the media player.
@@ -25,14 +25,14 @@
Details
- When calling this method to register a video observer, you can register callbacks in the class as needed. After you successfully register the video frame observer, the SDK triggers the registered callbacks each time a video frame is received.
+ When calling this method to register a video observer, you can register callbacks in the class as needed. After you successfully register the video frame observer, the SDK triggers the registered callbacks each time a video frame is received.
Parameters
delegate
- 接口对象实例,详见 。 Set the value as to release the instance.
+ The delegate instance. See . Set the value as to release the instance.
diff --git a/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita b/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita
index 75ef653d04e..3e7a5b0c766 100644
--- a/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita
+++ b/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita
@@ -2,7 +2,7 @@
- 设置媒体播放器输出的原始视频数据格式。
+ Set the format of raw video data.
@@ -24,12 +24,12 @@
- You need to register the callback when calling the method. 成功注册后,媒体播放器会在捕捉到每个视频帧时触发该回调,你需要在该回调的返回值中设置期望的视频数据格式。
+ You need to register the callback when calling the method. This callback is triggered when the media player receives every video frame. You can set the desired video data format in the return value of this callback.
Returns
- 设置媒体播放器输出的原始数据格式。 See .
- 在默认情况下,原始视频像素格式 () 可能为 I420 或 CVPixelBufferRef。
+ The desired format you set for the raw video data. See .
+ By default, the original video pixel format () may be I420 or CVPixelBufferRef.
diff --git a/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita b/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita
index be18d6b8b41..d1c23f8ab24 100644
--- a/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita
+++ b/en-US/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita
@@ -2,7 +2,7 @@
- 获取视频源的像素缓冲区回调。
+ Occurs when the SDK gets the pixel buffer of the video source.
@@ -26,18 +26,18 @@
Details
- 当媒体播放器获取到视频源的像素缓冲区时会触发此回调,并报告 CVPixelBufferRef 类型的像素缓冲区的详细信息。 你可以利用这些数据进行图像处理和分析、自定义渲染等。
+ When the media player receives the pixel buffer of the video source, this callback is triggered to report the detailed information about the pixel buffer of type CVPixelBufferRef. You can use this information for image processing and analysis, custom rendering, etc.
Parameters
playerKit
- 的实例。
+ The instance.
pixelBuffer
- 一个 CVPixelBufferRef 对象,包含了像素缓冲区的详细信息。
+ A CVPixelBufferRef object that contains detailed information about the pixel buffer.