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

New YiCAT updates #3800

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
3 changes: 2 additions & 1 deletion en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
<p props="native unreal bp rn electron">After calling this method, if you receive the <apiname keyref="PLAYER_PRELOAD_EVENT_COMPLETE" /> event in the <xref keyref="onPreloadEvent" /> callback, the preload is successful; If you receive the <apiname keyref="PLAYER_PRELOAD_EVENT_ERROR" /> event in the <xref keyref="onPreloadEvent" /> callback, the preload fails.</p>
<p>If the preload is successful and you want to play the media resource, call <xref keyref="playPreloadedSrc" />; if you want to clear the playlist, call <xref keyref="stop" />.</p>
<note type="note">
<p>Agora does not support preloading duplicate media resources to the playlist. However, you can preload the media resources that are being played to the playlist again.</p>
<ul><li>调用该方法前,请确保你已经调用 <xref keyref="open"/> 或 <xref keyref="openWithMediaSource"/> 成功打开媒体资源。</li>
<li>Agora does not support preloading duplicate media resources to the playlist. However, you can preload the media resources that are being played to the playlist again.</li></ul>
</note> </section>
<section id="parameters">
<title>Parameters</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<pt props="ios">parameters</pt>
<pt props="android hmos">screenCaptureParameters</pt>
<pt props="cpp unreal bp rn unity flutter">captureParams</pt>
<pd>The screen sharing encoding parameters. The default video dimension is 1920 x 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See <xref keyref="ScreenCaptureParameters2"/>.</pd>
<pd>The screen sharing encoding parameters. See <xref keyref="ScreenCaptureParameters2"/>.</pd>
</plentry>
</parml> </section>
<section id="return_values">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<plentry>
<pt props="ios">parameters</pt>
<pt props="cpp unreal bp electron unity rn flutter cs">captureParams</pt>
<pd>The screen sharing encoding parameters. The default video resolution is 1920 × 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See <xref keyref="ScreenCaptureParameters2" />.</pd>
<pd>The screen sharing encoding parameters. See <xref keyref="ScreenCaptureParameters2" />.</pd>
</plentry>
</parml> </section>
<section id="return_values">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<plentry>
<pt props="android hmos">screenCaptureParameters</pt>
<pt props="mac cpp unreal bp unity electron rn flutter cs">captureParams</pt>
<pd>The screen sharing encoding parameters. The default video resolution is 1920 × 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See <xref keyref="ScreenCaptureParameters" props="cpp unreal bp electron flutter mac unity cs" /><xref props="android ios" keyref="ScreenCaptureParameters2" />.<note type="attention">The video properties of the screen sharing stream only need to be set through this parameter, and are unrelated to <xref keyref="setVideoEncoderConfiguration"/>.</note>
<pd>The screen sharing encoding parameters. See <xref keyref="ScreenCaptureParameters" props="cpp unreal bp electron flutter mac unity cs" /><xref props="android ios" keyref="ScreenCaptureParameters2" />.<note type="attention">The video properties of the screen sharing stream only need to be set through this parameter, and are unrelated to <xref keyref="setVideoEncoderConfiguration"/>.</note>
</pd>
</plentry>
</parml> </section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<p id="desc1">This callback reports the last mile network conditions of each user in the channel. Last mile refers to the connection between the local device and Agora's edge server.</p>
<p id="desc2">The SDK triggers this callback once every two seconds. If a channel includes multiple users, the SDK triggers this callback as many times.</p>
<p>This callback provides feedback on network quality through sending and receiving broadcast packets within the channel. Excessive broadcast packets can lead to broadcast storms. To prevent broadcast storms from causing a large amount of data transmission within the channel, this callback supports feedback on the network quality of up to 4 remote hosts simultaneously by default.</p>
<note type="note"><ph><parmname>txQuality</parmname> is <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn">Unknown</codeph> when the user is not sending a stream; <parmname>rxQuality</parmname> is <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn">Unknown</codeph> when the user is not receiving a stream.</ph></note> </section>
<note type="note"><ph><parmname>txQuality</parmname> is <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn flutter">Unknown</codeph> when the user is not sending a stream; <parmname>rxQuality</parmname> is <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn flutter">Unknown</codeph> when the user is not receiving a stream.</ph></note> </section>
<section id="parameters">
<title><ph keyref="callback-section-title" /></title>
<parml>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/rtc_api_overview.dita
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@
</strow>
</simpletable>
</section>
<section id="drm" props="native unreal unity flutter rn">
<section id="drm" props="android hmos ios cpp unreal unity flutter rn">
<title><ph props="cn">DRM-protected music</ph></title>
<p props="cpp unreal unity flutter"><ph props="cn">This group of methods is for Android and iOS only.</ph></p>
<simpletable props="cn">
Expand Down
Loading