Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_player_getposition.dita
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<plentry props="apple cpp">
<pt props="apple">error</pt>
<pt props="cpp">err</pt>
<pd props="apple">输出参数,表示错误信息。可能返回以下值
<pd props="apple">输出参数,表示错误信息。可能返回以下 AgoraRteErrorCode
<ul>
<li><ph keyref="kRteOk"/>:调用成功。</li>
<li><ph keyref="kRteErrorInvalidOperation"/>:<ul>
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/API/api_player_switchwithurl.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<dd props="native">自 v4.5.1 版本新增。</dd>
</dlentry>
</dl>
<p props="android">请在 SDK 返回播放器状态为 <ph keyref="kRtePlayerStateOpenCompleted"/> 时调用该方法。</p>
<note type="attention" props="apple cpp">该方法仅在播放器打开的是非 RTE URL 时有效。请在 SDK 返回播放器状态为 <ph keyref="kRtePlayerStateOpenCompleted"/> 时调用该方法。</note>
<p>请在 SDK 返回播放器状态为 <ph keyref="kRtePlayerStateOpenCompleted"/> 时调用该方法。</p>
<note type="attention" props="apple cpp">该方法仅在播放器打开的是非 <xref keyref="Rte_Rte"/> URL 时有效。请在 SDK 返回播放器状态为 <ph keyref="kRtePlayerStateOpenCompleted"/> 时调用该方法。</note>
<note type="attention" props="android">该方法仅在播放器打开的是非 RTE URL 时有效。</note>
</section>
<section id="restriction" deliveryTarget="details">
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_playerconfig_setplaybackspeed.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dd props="native">自 v4.5.1 版本新增。</dd>
</dlentry>
</dl>
<p props="android">你可以在调用 <xref keyref="OpenWithUrl"/> 方法之后调用此方法。</p>
<p>你可以在调用 <xref keyref="OpenWithUrl"/> 方法之后调用此方法。</p>
<note type="attention" props="apple cpp">你可以在调用 <xref keyref="OpenWithUrl"/> 方法之后调用此方法。</note>
</section>
<section id="restriction" deliveryTarget="details">
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/API/api_playerinfo_abrsubscriptionlayer.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dd props="android cpp">自 v4.5.1 版本新增。</dd>
</dlentry>
</dl>
<p props="android">该字段仅在打开 RTE URL 时有效。</p>
<p>该字段仅在打开 RTE URL 时有效。</p>
<note type="attention" props="cpp">该字段仅在你打开 RTE URL 时有效。</note>
</section>
<section id="restriction" deliveryTarget="details">
Expand All @@ -49,7 +49,7 @@
</ul>
</p>
<p props="android"><ul>
<li>方法调用成功,返回 <xref keyref="RteAbrSubscriptionLayer"/> 对象,详见 <xref keyref="RteAbrSubscriptionLayer"/>。</li>
<li>方法调用成功,返回 <xref keyref="AbrSubscriptionLayer"/> 对象,详见 <xref keyref="AbrSubscriptionLayer"/>。</li>
</ul>
</p>
</section>
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/API/api_playerinfo_audiochannels.dita
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public int audioChannels()</codeblock>
<codeblock props="android" outputclass="language-java"/>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec"/>
<codeblock props="cpp unreal" outputclass="language-cpp">int AudioChannels() const</codeblock>
Expand Down Expand Up @@ -43,7 +43,7 @@
<li>0: 方法调用成功。</li>
<li>&lt; 0: 方法调用失败。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></li>
</ul>
<p props="cpp android">方法调用成功,返回音频的声道数量。</p>
<p props="cpp">方法调用成功,返回音频的声道数量。</p>
</section>
</refbody>
</reference>
3 changes: 2 additions & 1 deletion dita/RTC-NG/API/api_playerinfo_isaudiomuted.dita
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
<dl outputclass="since">
<dlentry props="native">
<dt>自从:</dt>
<dd props="cpp android">自 v4.5.1 版本新增。</dd>
<dd props="cpp">自 v4.5.1 版本新增。</dd>
<dd props="android">自 v4.4.0 版本新增。</dd>
</dlentry>
</dl>
<p>该方法用于判断播放器是否停止接收音频流。</p>
Expand Down
5 changes: 3 additions & 2 deletions dita/RTC-NG/API/api_playerinfo_isvideomuted.dita
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@
<dl outputclass="since">
<dlentry props="native">
<dt>自从:</dt>
<dd props="cpp android">自 v4.5.1 版本新增。</dd>
<dd props="cpp">自 v4.5.1 版本新增。</dd>
<dd props="android">自 v4.4.0 版本新增。</dd>
</dlentry>
</dl>
<p></p>
<note type="attention" props="cpp android"><codeph>IsVideoMuted</codeph> 接口仅在打开 RTE URL 时有效。</note>
<note type="attention" props="cpp"><xref keyref="IsVideoMuted"/> 接口仅在打开 RTE URL 时有效。</note>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/API/api_playerinfo_state.dita
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<refbody>
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public int state() </codeblock>
<codeblock props="android" outputclass="language-java"/>
<codeblock props="hmos" outputclass="language-arkts"/>
<codeblock props="ios mac" outputclass="language-objectivec"/>
<codeblock props="cpp unreal" outputclass="language-cpp">RtePlayerState State() const</codeblock>
Expand Down Expand Up @@ -43,7 +43,7 @@
<li>0: 方法调用成功。</li>
<li>&lt; 0: 方法调用失败。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></li>
</ul>
<p props="cpp android"><ul>
<p props="cpp"><ul>
<li>方法调用成功,返回当前播放器状态,详见 <xref keyref="RtePlayerState"/>。</li>
</ul>
</p>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_playerinfo_streamcount.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dd props="android cpp">自 v4.5.1 版本新增。</dd>
</dlentry>
</dl>
<p props="android">该方法仅在打开非 RTE URL 时有效。</p>
<p>该方法仅在打开非 RTE URL 时有效。</p>
<note type="attention" props="cpp">该方法在打开非 RTE URL 时有效。</note>
</section>
<section id="restriction" deliveryTarget="details">
Expand Down
2 changes: 2 additions & 0 deletions dita/RTC-NG/API/rtc_api_data_type.dita
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@
<li><xref keyref="AgoraFacePositionInfo"/></li>
<li><xref keyref="AgoraMediaPlayerRenderMode"/></li>
<li><xref keyref="AgoraRhythmPlayerConfig"/></li>
<li><xref keyref="AgoraRtePlayerInfo"/></li>
<li><xref keyref="AudioEncodedFrameObserverConfig"/></li>
<li><xref keyref="AudioFrame"/></li>
<li><xref keyref="AudioParams"/></li>
Expand Down Expand Up @@ -545,6 +546,7 @@
<li props="cn"><xref keyref="AdvancedConfigInfo"/></li>
<li><xref keyref="AgoraRhythmPlayerConfig"/></li>
<li><xref keyref="AgoraRtcDeviceInfo"/></li>
<li><xref keyref="AgoraRtePlayerInfo"/></li>
<li><xref keyref="AudioEncodedFrameObserverConfig"/></li>
<li><xref keyref="AudioFrame"/></li>
<li><xref keyref="AudioParams"/></li>
Expand Down
7 changes: 7 additions & 0 deletions dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -6075,6 +6075,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="AgoraRtePlayerInfo" href="../API/class_agorarteplayerinfo.dita">
<topicmeta>
<keywords>
<keyword>AgoraRtePlayerInfo</keyword>
</keywords>
</topicmeta>
</keydef>
</topichead>
<topichead navtitle="Enums">
<keydef keys="ALPHA_STITCH_MODE" href="../API/enum_alphastitchmode.dita">
Expand Down
7 changes: 7 additions & 0 deletions dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -5686,6 +5686,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="AgoraRtePlayerInfo" href="../API/class_agorarteplayerinfo.dita">
<topicmeta>
<keywords>
<keyword>AgoraRtePlayerInfo</keyword>
</keywords>
</topicmeta>
</keydef>
</topichead>
<topichead navtitle="Enums">
<keydef keys="ALPHA_STITCH_MODE" href="../API/enum_alphastitchmode.dita">
Expand Down
Loading