Skip to content

Commit

Permalink
Merge branch 'master' into release/rtc-ng/4.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Sep 26, 2023
2 parents 0fafb2b + f378a27 commit 12fe38f
Show file tree
Hide file tree
Showing 8 changed files with 246 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_adjustcustomaudioplayoutvolume">
<title>adjustCustomAudioPlayoutVolume</title>
<shortdesc id="short"><ph id="shortdesc" /></shortdesc>
<title><ph keyref="adjustCustomAudioPlayoutVolume" /></title>
<shortdesc id="short"><ph id="shortdesc">Adjusts the volume of the custom audio track played locally.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand All @@ -29,16 +29,30 @@
{required int trackId, required int volume});</codeblock>
<codeblock props="reserve" outputclass="language-cpp" /></p>
</section>
<section id="detailed_desc">
<title>Details</title>
<note type="attention">Ensure you have called the <xref keyref="createCustomAudioTrack" /> method to create a custom audio track before calling this method.</note>
<p>If you want to change the volume of the audio to be played locally, you need to call this method again.</p>
</section>
<section id="parameters">
<title>Parameters</title>
<parml>
<plentry>
<plentry conkeyref="adjustCustomAudioPublishVolume/trackid">
<pt />
<pd />
</plentry>
<plentry conkeyref="adjustCustomAudioPublishVolume/volume">
<pt />
<pd />
</plentry>
</parml> </section>
<section id="return_values">
<title>Returns</title>
<title><ph keyref="return-section-title" /></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException" /> exception is thrown; and you need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link" /> for details and resolution suggestions.</ph></p>
<ul>
<li props="native unreal bp rn electron unity cs">0: Success.</li>
<li>&lt; 0: Failure. <ph props="cn">See <xref keyref="error-code-link" /> for details and resolution suggestions.</ph></li>
</ul>
</section>
</refbody>
</reference>
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</plentry>
<plentry id="config">
<pt>config</pt>
<pd><ph>Configuration of video screenshot and upload. See <xref keyref="ContentInspectConfig" />.</ph><note>When the video moderation module is set to video moderation via Agora self-developed extension(<ph keyref="CONTENT_INSPECT_SUPERVISE" />), the video screenshot and upload dynamic library <codeph><ph keyref="moderation" /></codeph> is required. Deleting this library disables the screenshot and upload feature. </note>
<pd><ph>Configuration of video screenshot and upload. See <xref keyref="ContentInspectConfig" />.</ph><note>When the video moderation module is set to video moderation via Agora self-developed extension(<ph keyref="CONTENT_INSPECT_SUPERVISION" />), the video screenshot and upload dynamic library <codeph><ph keyref="moderation" /></codeph> is required. Deleting this library disables the screenshot and upload feature. </note>
</pd>
</plentry>
</parml> </section>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/class_contentinspectmodule.dita
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<p>Types of functional modules:<ul>
<li><ph keyref="CONTENT_INSPECT_INVALID" />(0): (Default) This module has no actual function. Do not set to this value.</li>
<li props="hide"><ph keyref="CONTENT_INSPECT_MODERATION" />(1): Video content moderation. SDK takes screenshots, inspects video content of the video stream in the channel, and uploads the screenshots and moderation results.</li>
<li><ph keyref="CONTENT_INSPECT_SUPERVISE" />(2): Video screenshot and upload via Agora self-developed extension. SDK takes screenshots of the video stream in the channel and uploads them.</li>
<li><ph keyref="CONTENT_INSPECT_SUPERVISION" />(2): Video screenshot and upload via Agora self-developed extension. SDK takes screenshots of the video stream in the channel and uploads them.</li>
<li><ph keyref="CONTENT_INSPECT_IMAGE_MODERATION" />(3): Video screenshot and upload via extensions from Agora Extensions Marketplace. SDK uses video moderation extensions from Agora Extensions Marketplace to take screenshots of the video stream in the channel and uploads them.</li>
</ul></p>
</pd>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/enum_contentinspecttype.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<pd>1: Video content moderation. SDK takes screenshots, inspects video content of the video stream in the channel, and uploads the screenshots and moderation results.</pd>
</plentry>
<plentry>
<pt><ph keyref="CONTENT_INSPECT_SUPERVISE"/></pt>
<pt><ph keyref="CONTENT_INSPECT_SUPERVISION"/></pt>
<pd>2: Video screenshot and upload via Agora self-developed extension. SDK takes screenshots of the video stream in the channel and uploads them.</pd>
</plentry>
<plentry>
Expand Down
9 changes: 8 additions & 1 deletion en-US/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -5801,7 +5801,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="CONTENT_INSPECT_SUPERVISE">
<keydef keys="CONTENT_INSPECT_SUPERVISION">
<topicmeta>
<keywords>
<keyword>contentInspectSupervision</keyword>
Expand Down Expand Up @@ -9301,6 +9301,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="NETWORK_TYPE_MOBILE_5G">
<topicmeta>
<keywords>
<keyword>networkTypeMobile5g</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="ORIENTATION_MODE" href="../API/enum_orientationmode.dita">
<topicmeta>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -5901,7 +5901,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="CONTENT_INSPECT_SUPERVISE">
<keydef keys="CONTENT_INSPECT_SUPERVISION">
<topicmeta>
<keywords>
<keyword>CONTENT_INSPECT_TYPE_SUPERVISE</keyword>
Expand Down
Loading

0 comments on commit 12fe38f

Please sign in to comment.