-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New YiCAT updates #3749
New YiCAT updates #3749
Conversation
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> | ||
<reference id="api_imediaplayer_setvideoframedelegate"> | ||
<title><ph keyref="setVideoFrameDelegate"/></title> | ||
<shortdesc id="short"><ph id="shortdesc">注册媒体播放器的视频观测器对象。</ph></shortdesc> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件里里有裸奔的需要整体处理一下子
</section> | ||
<section id="detailed_desc"> | ||
<title>Details</title> | ||
<p>When calling this method to register a video observer, you can register<xref keyref="AgoraRtcMediaPlayerVideoFrameDelegate"/> 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.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tag 错位
<codeblock props="flutter" outputclass="language-dart"/> </p> | ||
</section> | ||
<section id="detailed_desc"> | ||
<p>You need to register the callback when calling the <xref keyref="setVideoFrameDelegate"/> method. 成功注册后,媒体播放器会在捕捉到每个视频帧时触发该回调,你需要在该回调的返回值中设置期望的视频数据格式。</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文
</section> | ||
<section id="detailed_desc"> | ||
<title>Details</title> | ||
<p>当媒体播放器获取到视频源的像素缓冲区时会触发此回调,并报告 CVPixelBufferRef 类型的像素缓冲区的详细信息。 你可以利用这些数据进行图像处理和分析、自定义渲染等。</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文
No description provided.