Skip to content

Commit

Permalink
Merge pull request #3418 from AgoraIO/4.2.4-bugfix-1116
Browse files Browse the repository at this point in the history
bugfix-1116
  • Loading branch information
Cilla-luodan authored Nov 16, 2023
2 parents 11a2edf + 2583ced commit 24da887
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 35 deletions.
12 changes: 6 additions & 6 deletions dita/RTC-NG/API/class_channelmediaoptions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -705,12 +705,12 @@ class ChannelMediaOptions {
</plentry>
<plentry>
<pt>publishCustomVideoTrack</pt>
<pd>设置是否发布自定义采集的视频:

<ul>
<li><codeph><ph keyref="true"/></codeph>:发布自定义采集的视频。</li>
<li><codeph><ph keyref="false"/></codeph>:不发布自定义采集到的视频。</li>
</ul></pd>
<pd>设置是否发布自定义采集的视频:
<ul>
<li><codeph><ph keyref="true"/></codeph>:发布自定义采集的视频。</li>
<li><codeph><ph keyref="false" ></codeph>:不发布自定义采集到的视频。</li>
</ul>
<note type="warning"> 在不需要发布视频流时,需确保将该参数设置为 <codeph><ph keyref="false"/></codeph>,否则即使不发视频流,也会计入视频时长用量并产生相关费用。 </note> </pd>
</plentry>
<plentry>
<pt>publishEncodedVideoTrack</pt>
Expand Down
7 changes: 2 additions & 5 deletions dita/RTC-NG/API/class_logconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ struct FLogConfig {
<pd>
<p>日志文件的完整路径。请确保你指定的目录存在且可写。你可以通过该参数修改日志文件名。</p>
<p props="cpp unreal bp unity electron rn cs">默认路径为:



<ul>
<li props="cpp unreal bp unity rn flutter">Android:<filepath id="android-path">/storage/emulated/0/Android/data/&lt;packagename&gt;/files/agorasdk.log</filepath>。</li>
<li props="cpp unreal bp unity rn flutter">iOS:<filepath id="ios-path">App Sandbox/Library/caches/agorasdk.log</filepath>。</li>
Expand All @@ -119,7 +116,7 @@ struct FLogConfig {
</plentry>
<plentry>
<pt>fileSizeInKB</pt>
<pd>单个 <codeph>agorasdk.log</codeph> 日志文件的大小,单位为 KB,取值范围为 [128,20480],默认值为 2,048 KB。如果你将 <codeph>fileSizeInKByte</codeph> 设为小于 128 KB,SDK 会自动调整到 128 KB;如果你将 <codeph>fileSizeInKByte</codeph> 设为大于 20,480 KB,SDK 会自动调整到 20,480 KB。</pd>
<pd>单个 <codeph>agorasdk.log</codeph> 日志文件的大小,单位为 KB,取值范围为 [128,20480],默认值为 1,024 KB。如果你将 <codeph>fileSizeInKByte</codeph> 设为小于 128 KB,SDK 会自动调整到 128 KB;如果你将 <codeph>fileSizeInKByte</codeph> 设为大于 20,480 KB,SDK 会自动调整到 20,480 KB。</pd>
<pd>
<note id="note_vwq_yfm_kqb" type="attention">
<p>该方法仅用于设置 <codeph>agorasdk.log</codeph> 文件的大小,对 <codeph>agoraapi.log</codeph> 不生效。</p>
Expand All @@ -134,4 +131,4 @@ struct FLogConfig {
</plentry>
</parml> </section>
</refbody>
</reference>
</reference>
45 changes: 21 additions & 24 deletions dita/RTC-NG/API/rtc_api_data_type.dita
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
<li><xref keyref="DataStreamConfig"/></li>
Expand Down Expand Up @@ -95,10 +96,8 @@
<li><xref keyref="ScreenCaptureConfiguration"/></li>
<li><xref keyref="ScreenCaptureParameters"/></li>
<li><xref keyref="ScreenCaptureParameters2"/>
<ul>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
</ul></li>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
<li><xref keyref="ScreenCaptureSourceInfo"/></li>
<li><xref keyref="SegmentationProperty"/></li>
<li><xref keyref="SimulcastStreamConfig"/></li>
Expand Down Expand Up @@ -159,6 +158,7 @@
<li><xref keyref="ClientRoleOptions"/></li>
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="DataStreamConfig"/></li>
<li><xref keyref="DeviceInfo"/></li>
Expand Down Expand Up @@ -226,10 +226,8 @@
<li><xref keyref="RtcImage"/></li>
<li><xref keyref="RtcStats"/></li>
<li><xref keyref="ScreenCaptureParameters2"/>
<ul>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
</ul></li>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
<li><xref keyref="SegmentationProperty"/></li>
<li><xref keyref="SimulcastStreamConfig"/></li>
<li><xref keyref="SpatialAudioParams"/></li>
Expand Down Expand Up @@ -294,6 +292,7 @@
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
<li><xref keyref="DataStreamConfig"/></li>
Expand Down Expand Up @@ -346,10 +345,8 @@
<li><xref keyref="RtcImage"/></li>
<li><xref keyref="RtcStats"/></li>
<li><xref keyref="ScreenCaptureParameters2"/>
<ul>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
</ul></li>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
<li><xref keyref="SegmentationProperty"/></li>
<li><xref keyref="SimulcastStreamConfig"/></li>
<li><xref keyref="SpatialAudioParams"/></li>
Expand Down Expand Up @@ -393,6 +390,7 @@
<li><xref keyref="ClientRoleOptions"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
<li><xref keyref="DataStreamConfig"/></li>
Expand Down Expand Up @@ -489,6 +487,7 @@
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ClientRoleOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
Expand Down Expand Up @@ -542,10 +541,8 @@
<li><xref keyref="ScreenCaptureConfiguration"/></li>
<li><xref keyref="ScreenCaptureParameters"/></li>
<li><xref keyref="ScreenCaptureParameters2"/>
<ul>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
</ul></li>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
<li><xref keyref="ScreenCaptureSourceInfo"/></li>
<li><xref keyref="SegmentationProperty"/></li>
<li><xref keyref="SimulcastStreamConfig"/></li>
Expand Down Expand Up @@ -594,6 +591,7 @@
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ClientRoleOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
Expand Down Expand Up @@ -691,6 +689,7 @@
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
<li><xref keyref="DataStreamConfig"/></li>
Expand Down Expand Up @@ -806,6 +805,7 @@
<li><xref keyref="ClientRoleOptions"/></li>
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
Expand Down Expand Up @@ -872,10 +872,8 @@
<li><xref keyref="RtcRendererViewProps"/></li>
<li><xref keyref="RtcStats"/></li>
<li><xref keyref="ScreenCaptureParameters2"/>
<ul>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
</ul></li>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
<li><xref keyref="SegmentationProperty"/></li>
<li><xref keyref="SimulcastStreamConfig"/></li>
<li><xref keyref="SDKBuildInfo"/></li>
Expand Down Expand Up @@ -925,6 +923,7 @@
<li props="cn"><xref keyref="ClimaxSegment"/></li>
<li><xref keyref="ColorEnhanceOptions"/></li>
<li><xref keyref="CodecCapInfo"/></li>
<li><xref keyref="CodecCapLevels"/></li>
<li><xref keyref="ContentInspectConfig"/></li>
<li><xref keyref="ContentInspectModule"/></li>
<li><xref keyref="DataStreamConfig"/></li>
Expand Down Expand Up @@ -986,10 +985,8 @@
<li><xref keyref="ScreenCaptureConfiguration"/></li>
<li><xref keyref="ScreenCaptureParameters"/></li>
<li><xref keyref="ScreenCaptureParameters2"/>
<ul>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
</ul></li>
<li><xref keyref="ScreenAudioParameters"/></li>
<li><xref keyref="ScreenVideoParameters"/></li>
<li><xref keyref="ScreenCaptureSourceInfo"/></li>
<li><xref keyref="SegmentationProperty"/></li>
<li><xref keyref="SDKBuildInfo"/></li>
Expand Down

0 comments on commit 24da887

Please sign in to comment.