-
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
4.5.0 j #3803
Merged
Merged
4.5.0 j #3803
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
723b79a
liveshow
jinyuagora 306aaf7
resolve comments
jinyuagora d3e640a
eglcontext
jinyuagora ab134d5
resolve comments
jinyuagora a483386
colorspace
jinyuagora 0452b39
encoding -> capturing
jinyuagora ad7bbc2
resolve comments
jinyuagora 8cf53af
audiotrack
jinyuagora 5450d78
minor fix
jinyuagora 92e8efb
resolve comments
jinyuagora e1a1cfd
合图 & 双流
jinyuagora 4a64c30
媒体播放器缓存
jinyuagora 11f4fb7
check
jinyuagora 9ae1a38
1
jinyuagora 47c6f76
fix
jinyuagora d69bfa1
搭车
Cilla-luodan 01e8bf5
resolve comments
jinyuagora 52d7c55
1
jinyuagora File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> | ||
<reference id="api_irtcengine_setexternalremoteeglcontext"> | ||
<title><ph keyref="setExternalRemoteEglContext"/></title> | ||
<shortdesc id="short"><ph id="shortdesc">设置远端视频流渲染的 EGL 环境上下文。</ph></shortdesc> | ||
<prolog> | ||
<metadata> | ||
<keywords> | ||
<indexterm keyref="setExternalRemoteEglContext"/> | ||
</keywords> | ||
</metadata> | ||
</prolog> | ||
<refbody> | ||
<section id="prototype"> | ||
<p outputclass="codeblock"> | ||
<codeblock props="android" outputclass="language-java">public abstract int setExternalRemoteEglContext(Object eglContext);</codeblock> | ||
<codeblock props="hmos" outputclass="language-arkts"/> | ||
<codeblock props="ios mac" outputclass="language-objectivec"/> | ||
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int setExternalRemoteEglContext(void* eglContext) = 0;</codeblock> | ||
<codeblock props="bp" outputclass="language-cpp"/> | ||
<codeblock props="electron" outputclass="language-typescript"/> | ||
<codeblock props="unity cs" outputclass="language-csharp"/> | ||
<codeblock props="rn" outputclass="language-typescript"/> | ||
<codeblock props="flutter" outputclass="language-dart"/> </p> | ||
</section> | ||
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title"> | ||
<dl outputclass="since"> | ||
<dlentry props="native"> | ||
<dt>自从</dt> | ||
<dd>v4.5.0</dd> | ||
</dlentry> | ||
</dl> | ||
<p>通过设置该方法,开发者可以替换 SDK 内部默认的远端 EGL 环境上下文,便于实现统一的 EGL 上下文管理。</p> | ||
<p>引擎销毁时,SDK 会自动释放 EGL 环境上下文。</p> | ||
<note type="attention" props="cpp unreal bp flutter unity rn">该方法仅适用于 Android。</note> | ||
</section> | ||
<section id="scenario" deliveryTarget="details"> | ||
<title>适用场景</title> | ||
<p>该方法适用于使用 Texture 格式的视频数据进行远端视频自渲染的场景。</p> | ||
</section> | ||
<section id="timing" deliveryTarget="details"> | ||
<title>调用时机</title> | ||
<p>该方法需要在加入频道前调用。</p> | ||
</section> | ||
<section id="restriction" deliveryTarget="details"> | ||
<title>调用限制</title> | ||
<p>无。</p> | ||
</section> | ||
<section id="parameters" deliveryTarget="details"> | ||
<title>参数</title> | ||
<parml> | ||
<plentry> | ||
<pt>eglContext</pt> | ||
<pd>用于远端视频流渲染的 EGL 环境上下文对象。</pd> | ||
</plentry> | ||
</parml> </section> | ||
<section id="return_values"> | ||
<title><ph keyref="return-section-title"/></title> | ||
<p props="flutter">方法成功调用时,无返回值;方法调用失败时,会抛出 <xref keyref="AgoraRtcException"/> 异常,你需要捕获异常并进行处理。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></p> | ||
<ul props="native unreal bp electron unity rn cs"> | ||
<li>0: 方法调用成功。</li> | ||
<li>< 0: 方法调用失败。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></li> | ||
</ul> </section> | ||
</refbody> | ||
</reference> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
“远端视频流渲染”该如何理解?意思是说自采集的外部视频流在本地渲染时的 EGL 上下文么?
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.
这个方法和自采集其实没有关系,主要是自渲染
我理解指的是:在本地渲染从远端接收的视频流时,所使用的 EGL 上下文
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.
哦那为了避免歧义,是不是可以改为:设置远端视频流在本地渲染时的 xxx 上下文。
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.
这个要么保持原状吧,两次评审会上没人提问题,刚和开发确认了下他回复也不是很明朗。