Skip to content

Commit

Permalink
Merge branch '4.2.2-bugfix-0803' of https://github.com/AgoraIO/agora_…
Browse files Browse the repository at this point in the history
…doc_source into 4.2.2-bugfix-0803
  • Loading branch information
Nero-Hu committed Aug 3, 2023
2 parents 09c1a90 + 3bed4ff commit b715df0
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<section id="prototype">
<p outputclass="codeblock">
<codeblock props="android" outputclass="language-java">public abstract IAgoraMusicPlayer createMusicPlayer();</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (id&lt;AgoraMusicPlayerProtocol>)createMusicPlayerWithDelegate:(id&lt;AgoraRtcMediaPlayerDelegate>_Nullable)delegate NS_SWIFT_NAME(createMusicPlayer(delegate:));</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (id&lt;AgoraMusicPlayerProtocol> _Nullable)createMusicPlayerWithDelegate:(id&lt;AgoraRtcMediaPlayerDelegate> _Nullable)delegate NS_SWIFT_NAME(createMusicPlayer(delegate:));</codeblock>
<codeblock props="cpp unreal bp" outputclass="language-cpp">virtual agora_refptr&lt;IMusicPlayer> createMusicPlayer() = 0;</codeblock>
<codeblock props="electron" outputclass="language-typescript">abstract createMusicPlayer(): IMusicPlayer;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public abstract IMusicPlayer CreateMusicPlayer();</codeblock>
Expand Down
5 changes: 3 additions & 2 deletions dita/RTC-NG/API/api_irtcengine_joinchannel2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ int JoinChannel(FString token, FString channelId, int64 uid, const FChannelMedia
<parml>
<plentry id="token">
<pt>token</pt>
<pd>在服务端生成的用于鉴权的动态密钥。详见<xref keyref="guide-token"/>。</pd>
<pd>在服务端生成的用于鉴权的动态密钥。详见<xref keyref="guide-token"/>。
<note type="note">如果你需要同时加入多个频道或在频道间频繁切换,声网推荐你使用通配 Token 以避免每加入一个新的频道都需向服务端申请一个新的 Token,详见 <xref keyref="wildcard-token"/>。</note></pd>
</plentry>
<plentry id="channelID">
<pt>channelId</pt>
Expand Down Expand Up @@ -117,4 +118,4 @@ int JoinChannel(FString token, FString channelId, int64 uid, const FChannelMedia
</ul></li>
</ul> </section>
</refbody>
</reference>
</reference>
24 changes: 12 additions & 12 deletions dita/RTC-NG/API/class_externalvideoframe.dita
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
</ul>
</pd>
</plentry>
<plentry props="android cpp unreal bp unity rn electron flutter cs">
<plentry>
<pt props="cpp unreal bp unity electron rn flutter cs">buffer</pt>
<pt props="android">buf</pt>
<pt props="ios mac">dataBuf</pt>
Expand All @@ -322,17 +322,17 @@
<pd>iOS 纹理的 Buffer。</pd>
</plentry>
<plentry>
<pt>stride</pt>
<pd>传入视频帧的行间距,单位为像素而不是字节。对于 Texture,该值指的是 Texture 的宽度。
<p props="ios mac">
<dl outputclass="deprecated">
<dlentry>
<dt>弃用:</dt>
<dd>用 <parmname>strideInPixels</parmname> 代替。</dd>
</dlentry>
</dl>
</p>
</pd>
<pt>stride</pt>
<pd>传入视频帧的行间距,单位为像素而不是字节。对于 Texture,该值指的是 Texture 的宽度。
<p props="ios mac">
<dl outputclass="deprecated">
<dlentry>
<dt>弃用:</dt>
<dd>用 <parmname>strideInPixels</parmname> 代替。</dd>
</dlentry>
</dl>
</p>
</pd>
</plentry>
<plentry props="ios mac">
<pt>strideInPixels</pt>
Expand Down
1 change: 1 addition & 0 deletions dita/RTC-NG/API/rtc_api_data_type.dita
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<li><xref keyref="ChannelMediaOptions"/></li>
<li><xref keyref="ChannelMediaRelayConfiguration"/></li>
<li><xref keyref="ClientRoleOptions"/></li>
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="CodecCapInfo"/>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -4528,7 +4528,7 @@
<keydef keys="CodecCapInfo" href="../API/class_codeccapinfo.dita">
<topicmeta>
<keywords>
<keyword>CodecCapAgoraVideoCodecCapInfoInfo</keyword>
<keyword>AgoraVideoCodecCapInfoInfo</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -4243,7 +4243,7 @@
<keydef keys="CodecCapInfo" href="../API/class_codeccapinfo.dita">
<topicmeta>
<keywords>
<keyword>CodecCapAgoraVideoCodecCapInfoInfo</keyword>
<keyword>AgoraVideoCodecCapInfoInfo</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -4528,7 +4528,7 @@
<keydef keys="CodecCapInfo" href="../API/class_codeccapinfo.dita">
<topicmeta>
<keywords>
<keyword>CodecCapAgoraVideoCodecCapInfoInfo</keyword>
<keyword>AgoraVideoCodecCapInfoInfo</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -4243,7 +4243,7 @@
<keydef keys="CodecCapInfo" href="../API/class_codeccapinfo.dita">
<topicmeta>
<keywords>
<keyword>CodecCapAgoraVideoCodecCapInfoInfo</keyword>
<keyword>AgoraVideoCodecCapInfoInfo</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down

0 comments on commit b715df0

Please sign in to comment.