Skip to content
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

Release/rtc ng/4.5.0 #3811

Open
wants to merge 148 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
5544119
temp1
Cilla-luodan Oct 11, 2024
bd9ab6d
CSD-65366
Nero-Hu Oct 12, 2024
15ba5e8
temp2
Cilla-luodan Oct 12, 2024
52588c8
sync
Cilla-luodan Oct 12, 2024
88bf000
CSD-65010
Nero-Hu Oct 12, 2024
942d235
rte methods
Suri539 Oct 9, 2024
5e03f6a
InitMediaEngine
Suri539 Oct 10, 2024
29b7dbc
PreloadWithUrl to be finished
Suri539 Oct 11, 2024
80c4078
update
Suri539 Oct 11, 2024
58f055b
1
Suri539 Oct 11, 2024
3fd3a27
add methods
Suri539 Oct 11, 2024
43fdd85
pause to be finished
Suri539 Oct 12, 2024
20cdf76
CSD-64354
Nero-Hu Oct 14, 2024
2b96b2e
fix wording
Nero-Hu Oct 14, 2024
30c3d3e
fix enable
Nero-Hu Oct 14, 2024
0e3c3cc
fix Lut size note
Nero-Hu Oct 14, 2024
431edfc
fix
Nero-Hu Oct 14, 2024
40bb6c3
RtePlayerState&onResolutionChanged tbd
Suri539 Oct 15, 2024
d4fc1b5
onevent tbd
Suri539 Oct 15, 2024
a1abdf1
update
Suri539 Oct 16, 2024
adcb942
1
Cilla-luodan Oct 17, 2024
7f45c81
shift filter 1 & 2
Nero-Hu Oct 17, 2024
03b9805
add type
Nero-Hu Oct 17, 2024
f9aa027
NMS-20533
Cilla-luodan Oct 17, 2024
664444b
450
Suri539 Oct 17, 2024
ed1e827
fix typo
Nero-Hu Oct 18, 2024
122497f
NMS-22321
Nero-Hu Oct 18, 2024
eb5c5e9
update position
Nero-Hu Oct 18, 2024
6a67560
update datatype
Nero-Hu Oct 18, 2024
cf87f34
1
Cilla-luodan Oct 18, 2024
4dfe138
NMS-21559
Nero-Hu Oct 21, 2024
058e1de
TO review comments
Nero-Hu Oct 21, 2024
a292c04
update videodenoise
Nero-Hu Oct 21, 2024
cac3e59
fix publish errors
Nero-Hu Oct 21, 2024
ba15702
fix
Nero-Hu Oct 21, 2024
175c885
update wording
Nero-Hu Oct 21, 2024
b7ae6b1
remove redundant word
Nero-Hu Oct 21, 2024
0807000
remove period
Nero-Hu Oct 22, 2024
142e150
modification
Suri539 Oct 22, 2024
9d305f3
update
Suri539 Oct 23, 2024
2f1c2bd
update
Suri539 Oct 24, 2024
b1183ed
update desc
Nero-Hu Oct 24, 2024
ccd1ac1
update
Suri539 Oct 25, 2024
f6e10b1
review comments
Cilla-luodan Oct 25, 2024
169dd85
1
Cilla-luodan Oct 25, 2024
578f21b
sync with NMS-23793
Cilla-luodan Oct 25, 2024
2855ed6
sync with NMS-23842
Cilla-luodan Oct 25, 2024
440e5bf
RESOLVE COMMENTS
Suri539 Oct 28, 2024
e17b93b
fix type/sourcetype
Nero-Hu Oct 28, 2024
b6ec2c5
update links
Nero-Hu Oct 28, 2024
5d08313
peer review fixes
Nero-Hu Oct 28, 2024
b1b70a4
update keys links
Nero-Hu Oct 28, 2024
d6bf99d
revert unnec changes
Nero-Hu Oct 28, 2024
fa453fd
class-method relation
Suri539 Oct 28, 2024
723b79a
liveshow
jinyuagora Oct 15, 2024
306aaf7
resolve comments
jinyuagora Oct 15, 2024
d3e640a
eglcontext
jinyuagora Oct 16, 2024
ab134d5
resolve comments
jinyuagora Oct 16, 2024
a483386
colorspace
jinyuagora Oct 18, 2024
0452b39
encoding -> capturing
jinyuagora Oct 18, 2024
ad7bbc2
resolve comments
jinyuagora Oct 21, 2024
8cf53af
audiotrack
jinyuagora Oct 21, 2024
5450d78
minor fix
jinyuagora Oct 22, 2024
92e8efb
resolve comments
jinyuagora Oct 28, 2024
e1a1cfd
合图 & 双流
jinyuagora Oct 28, 2024
4a64c30
媒体播放器缓存
jinyuagora Oct 28, 2024
11f4fb7
check
jinyuagora Oct 28, 2024
9ae1a38
1
jinyuagora Oct 28, 2024
47c6f76
fix
jinyuagora Oct 29, 2024
57e191d
update takesnapshot
Nero-Hu Oct 29, 2024
597a9ca
delete redundant methods
Suri539 Oct 29, 2024
d69bfa1
搭车
Cilla-luodan Oct 30, 2024
dff08e5
peer review fixes
Nero-Hu Oct 30, 2024
01e8bf5
resolve comments
jinyuagora Oct 30, 2024
52d7c55
1
jinyuagora Oct 30, 2024
8aff75a
Merge pull request #3803 from AgoraIO/4.5.0-jjj
jinyuagora Oct 30, 2024
d471cca
Sync cn prototype to en prototype
jinyuagora Oct 30, 2024
3202885
Merge pull request #3804 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Oct 30, 2024
40423bd
review cooments
Cilla-luodan Oct 30, 2024
1f09306
Merge branch 'release/rtc-ng/4.5.0' into 4.5.0-ld
Cilla-luodan Oct 30, 2024
9344de5
Merge pull request #3788 from AgoraIO/4.5.0-ld
Cilla-luodan Oct 30, 2024
0397df8
Sync cn prototype to en prototype
Cilla-luodan Oct 30, 2024
a53de13
Merge pull request #3805 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Oct 30, 2024
2d3af04
NMS-22814
Cilla-luodan Oct 31, 2024
0310a30
add 450 release notes
Cilla-luodan Oct 31, 2024
ec24f34
peer review fixes
Nero-Hu Oct 31, 2024
5588f56
add cn props
Nero-Hu Oct 31, 2024
b10b608
Merge pull request #3793 from AgoraIO/4.5.0-hh
Nero-Hu Oct 31, 2024
b130daa
Sync cn prototype to en prototype
Nero-Hu Oct 31, 2024
e0622d5
Merge pull request #3806 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Oct 31, 2024
b965ac0
Update keys-rtc-ng-api-java.ditamap
jinyuagora Oct 31, 2024
16257da
Sync cn prototype to en prototype
jinyuagora Oct 31, 2024
f43280d
Merge pull request #3808 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Oct 31, 2024
046bc77
Merge pull request #3807 from AgoraIO/4.5.0-ld
Cilla-luodan Oct 31, 2024
5cdc1a4
Sync cn prototype to en prototype
Cilla-luodan Oct 31, 2024
c424c36
Merge pull request #3809 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Oct 31, 2024
2878b50
resolve comments
Suri539 Nov 4, 2024
a9b8d15
add release HH
Nero-Hu Nov 4, 2024
eccead2
update
Suri539 Nov 4, 2024
dacc54c
Merge branch '4.5.0-fyy' into release/rtc-ng/4.5.0
Suri539 Nov 4, 2024
e372662
Sync cn prototype to en prototype
Suri539 Nov 4, 2024
51642c2
Merge pull request #3810 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 4, 2024
a75422f
update release notes and add android only methods
Suri539 Nov 4, 2024
a43d6e7
Merge branch 'release/rtc-ng/4.5.0' of github.com:AgoraIO/agora_doc_s…
Suri539 Nov 4, 2024
672c01a
class to interface class
Suri539 Nov 5, 2024
c71df16
add methods in ditamaps
Suri539 Nov 5, 2024
018e125
update maps
Suri539 Nov 5, 2024
9638101
Sync cn prototype to en prototype
Suri539 Nov 5, 2024
54061f3
Merge pull request #3812 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
38c2300
update data type
Suri539 Nov 5, 2024
a76228d
Merge branch 'release/rtc-ng/4.5.0' of github.com:AgoraIO/agora_doc_s…
Suri539 Nov 5, 2024
4bfe064
fix transformation error
Suri539 Nov 5, 2024
31b6e9a
Sync cn prototype to en prototype
Suri539 Nov 5, 2024
2825688
Merge pull request #3813 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
beb6f9a
Update keys-rtc-ng-api-java.ditamap
lemon-chen Nov 5, 2024
9e2e6e0
Sync cn prototype to en prototype
lemon-chen Nov 5, 2024
2ed159a
Merge pull request #3814 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
c4c7bc0
Update release_notes.dita
Suri539 Nov 5, 2024
53d7805
Merge branch 'release/rtc-ng/4.5.0' of github.com:AgoraIO/agora_doc_s…
Suri539 Nov 5, 2024
65977f7
IOS/MAC: update keysmap
Nero-Hu Nov 5, 2024
3ab2412
Sync cn prototype to en prototype
Nero-Hu Nov 5, 2024
2545e33
Merge pull request #3815 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
89c5b2b
add filterEffect in release notes
Nero-Hu Nov 5, 2024
6867c47
Merge branch 'release/rtc-ng/4.5.0' of https://github.com/AgoraIO/ago…
Nero-Hu Nov 5, 2024
ed79e9b
fix errors
Suri539 Nov 5, 2024
e9eef7a
Sync cn prototype to en prototype
Suri539 Nov 5, 2024
21557bb
Merge pull request #3816 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
f837f1a
Update keys-rtc-ng-api-java.ditamap
lemon-chen Nov 5, 2024
cf435d5
Merge branch 'release/rtc-ng/4.5.0' of https://github.com/AgoraIO/ago…
lemon-chen Nov 5, 2024
57a7b81
Sync cn prototype to en prototype
lemon-chen Nov 5, 2024
30c9956
Merge pull request #3817 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
0112391
fix release notes
Nero-Hu Nov 5, 2024
974c1a1
Update keys-rtc-ng-api-java.ditamap
lemon-chen Nov 5, 2024
dae1bc8
Merge branch 'release/rtc-ng/4.5.0' of https://github.com/AgoraIO/ago…
lemon-chen Nov 5, 2024
2b70e0d
Sync cn prototype to en prototype
lemon-chen Nov 5, 2024
02b2298
Merge pull request #3818 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
2e3639c
add codeph in release notes
Nero-Hu Nov 5, 2024
d357f47
Merge branch 'release/rtc-ng/4.5.0' of https://github.com/AgoraIO/ago…
Nero-Hu Nov 5, 2024
b1e12c8
fix release notes
Nero-Hu Nov 5, 2024
62561de
fix release notes again
Nero-Hu Nov 5, 2024
49f99f8
add codeph
Nero-Hu Nov 5, 2024
1771d48
Update keys-rtc-ng-api-java.ditamap
lemon-chen Nov 5, 2024
49701d4
Merge branch 'release/rtc-ng/4.5.0' of https://github.com/AgoraIO/ago…
lemon-chen Nov 5, 2024
a6c5210
remove mac
Nero-Hu Nov 5, 2024
ccec7a0
Merge branch 'release/rtc-ng/4.5.0' of https://github.com/AgoraIO/ago…
lemon-chen Nov 5, 2024
c0fc4f5
Sync cn prototype to en prototype
lemon-chen Nov 5, 2024
68b2ea2
Merge pull request #3819 from AgoraIO/auto/sync-cn-proto-to-en-patch-…
github-actions[bot] Nov 5, 2024
421a826
fix errors and update en release notes
Suri539 Nov 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions dita/RTC-NG/API/api_canvas_addview.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_addview">
<title><ph keyref="AddView"/></title>
<shortdesc id="short"><ph id="shortdesc">添加渲染视图。</ph></shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="AddView"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public void addView(View view, ViewConfig viewConfig) throws RteException;</codeblock>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)addView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">bool AddView(View *view, ViewConfig *config, rte::Error *err)</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>
</section>
<section id="scenario" deliveryTarget="details">
<title>适用场景</title>
<p>当你需要使用播放器播放视频,你可以调用该方法将一个视图(view)添加到视频渲染器中,以便显示视频内容。</p>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="SetCanvas"/> 之前调用。</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>当前仅支持添加一个视图。</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
<parml>
<plentry>
<pt>view</pt>
<pd props="cpp">HWND 窗口句柄值。</pd>
<pd props="android">SurfaceView 对象。</pd>
<pd props="ios">UIView 对象。</pd>
<pd props="mac">NSView 对象。</pd>
</plentry>
<plentry id="config">
<pt>config</pt>
<pd>View 对象的设置,目前请传空。</pd>
</plentry>
<plentry props="cpp apple" conkeyref="SetConfigs_Rte/err">
<pt></pt>
<pd></pd>
</plentry>
</parml> </section>
<section id="return_values" props="cpp apple framework">
<title><ph keyref="return-section-title"/></title>
<p props="flutter">方法成功调用时,无返回值;方法调用失败时,会抛出 <xref keyref="AgoraRtcException"/> 异常,你需要捕获异常并进行处理。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></p>
<p props="cpp apple unreal bp electron unity rn cs">添加视图是否成功:<ul>
<li><codeph><ph keyref="true"/></codeph>:添加视图成功。</li>
<li><codeph><ph keyref="false"/></codeph>:添加视图失败。</li>
</ul>
</p> </section>
<section id="exception" conkeyref="SetAppId/exception" props="android">
<title></title>
<p></p>
</section>
</refbody>
</reference>
56 changes: 56 additions & 0 deletions dita/RTC-NG/API/api_canvas_canvas.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_canvas">
<title><ph keyref="Canvas_Canvas"/></title>
<shortdesc id="short"><ph id="shortdesc">构造一个 Canvas 对象。</ph></shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="Canvas_Canvas"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public Canvas(Rte rte, CanvasInitialConfig config);</codeblock>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec">- (instancetype _Nonnull)initWithRte:(AgoraRte* _Nonnull)rte initialConfig:(AgoraRteCanvasInitialConfig * _Nullable)config;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">Canvas(Rte *rte, CanvasInitialConfig *initial_config);</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>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="InitMediaEngine"/> 之后调用。</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>无。</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
<parml>
<plentry conkeyref="Player_Player/rte">
<pt/>
<pd/>
</plentry>
<plentry>
<pt props="cpp">initial_config</pt>
<pt props="apple android">config</pt>
<pd>Canvas 的对象配置,目前可传空。</pd>
</plentry>
</parml> </section>
</refbody>
</reference>
61 changes: 61 additions & 0 deletions dita/RTC-NG/API/api_canvas_getconfigs.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_getconfigs">
<title><ph keyref="GetConfigs_Canvas"/></title>
<shortdesc id="short"><ph id="shortdesc">获取当前的播放器视频渲染配置。</ph></shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="GetConfigs_Canvas"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public void getConfigs(CanvasConfig config) throws RteException;</codeblock>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)getConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">bool GetConfigs(CanvasConfig *config, Error *err);</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></p>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="Canvas_Canvas"/> 之后调用。</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>无。</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
<parml>
<plentry conkeyref="SetConfigs_Canvas/config">
<pt/>
<pd/>
</plentry>
<plentry props="cpp apple" conkeyref="SetConfigs_Rte/err">
<pt></pt>
<pd></pd>
</plentry>
</parml> </section>
<section id="return_values" props="cpp apple framework" conkeyref="GetConfigs_Rte/return_values"/>
<section id="exception" props="android" conkeyref="SetAppId/exception">
<title></title>
<p></p>
</section>
</refbody>
</reference>
69 changes: 69 additions & 0 deletions dita/RTC-NG/API/api_canvas_removeview.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_removeview">
<title><ph keyref="RemoveView"/></title>
<shortdesc id="short"><ph id="shortdesc">移除渲染视图。</ph></shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="RemoveView"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public void removeView(View view, ViewConfig viewConfig) throws RteException;</codeblock>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)removeView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">bool RemoveView(View *view, ViewConfig *config, rte::Error *err);</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>当你调用 <xref keyref="AddView"/> 添加视图后,如果你需要移除渲染视图,可调用此方法。</p>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需在 <xref keyref="AddView"/> 后调用。</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>一次只能移除一个视图。</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
<parml>
<plentry>
<pt>view</pt>
<pd>需要移除的视图对象。</pd>
</plentry>
<plentry conkeyref="AddView/config">
<pt></pt>
<pd></pd>
</plentry>
<plentry props="cpp apple" conkeyref="SetConfigs_Rte/err">
<pt></pt>
<pd></pd>
</plentry>
</parml> </section>
<section id="return_values" props="cpp apple framework">
<title><ph keyref="return-section-title"/></title>
<p props="flutter">方法成功调用时,无返回值;方法调用失败时,会抛出 <xref keyref="AgoraRtcException"/> 异常,你需要捕获异常并进行处理。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></p>
<p props="cpp apple unreal bp electron unity rn cs">移除视图是否成功:<ul>
<li><codeph><ph keyref="true"/></codeph>:移除视图成功。</li>
<li><codeph><ph keyref="false"/></codeph>:移除视图失败。</li>
</ul>
</p> </section>
<section id="exception" conkeyref="SetAppId/exception" props="android"/>
</refbody>
</reference>
61 changes: 61 additions & 0 deletions dita/RTC-NG/API/api_canvas_setconfigs.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_setconfigs">
<title><ph keyref="SetConfigs_Canvas"/></title>
<shortdesc id="short"><ph id="shortdesc">设置播放器视频渲染配置。</ph></shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="SetConfigs_Canvas"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public void setConfigs(CanvasConfig config) throws RteException;</codeblock>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">bool SetConfigs(CanvasConfig *config, Error *err);</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/>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="OpenWithUrl"/> 之前调用。</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>无。</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
<parml>
<plentry id="config">
<pt>config</pt>
<pd>Canvas 对象的设置,详见 <xref keyref="CanvasConfig"/>。</pd>
</plentry>
<plentry props="apple cpp" conkeyref="SetConfigs_Rte/err">
<pt></pt>
<pd></pd>
</plentry>
</parml> </section>
<section id="return_values" conkeyref="SetConfigs_Rte/return_values" props="apple cpp framework"/>
<section id="exception" conkeyref="SetAppId/exception" props="android">
<title></title>
<p></p>
</section>
</refbody>
</reference>
53 changes: 53 additions & 0 deletions dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvasconfig_getmirrormode">
<title><ph keyref="GetMirrorMode"/></title>
<shortdesc id="short"><ph id="shortdesc">获取当前设置的镜像模式。</ph></shortdesc>
<prolog>
<metadata>
<keywords>
<indexterm keyref="GetMirrorMode"/>
</keywords>
</metadata>
</prolog>
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public Constants.VideoMirrorMode getVideoMirrorMode() throws RteException ;</codeblock>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec">- (AgoraRteVideoMirrorMode)videoMirrorMode:(AgoraRteError * _Nullable)error;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">VideoMirrorMode GetMirrorMode(Error *err = nullptr);</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/>
</section>
<section id="timing" deliveryTarget="details" conkeyref="GetRenderMode/timing"></section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>无。</p>
</section>
<section id="parameters" deliveryTarget="details">
<title><ph props="cpp apple framework">参数</ph></title>
<parml props="cpp apple framework">
<plentry conkeyref="SetConfigs_Rte/err">
<pt/>
<pd/>
</plentry>
</parml> </section>
<section id="return_values">
<title><ph keyref="return-section-title"/></title>
<p>当前设置的镜像模式,详见 <xref keyref="RteVideoMirrorMode"/>。</p></section>
<section id="exception" props="android" conkeyref="SetAppId/exception"></section>
</refbody>
</reference>
Loading
Loading