Skip to content

Commit

Permalink
Merge branch 'master' into release/showroom
Browse files Browse the repository at this point in the history
  • Loading branch information
kelzr committed Sep 12, 2023
2 parents 8507a98 + 7eca4e6 commit a637bbd
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 31 deletions.
3 changes: 2 additions & 1 deletion dita/RTC-NG/API/api_irtcengine_preloadchannel.dita
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
<pd>在服务端生成的用于鉴权的动态密钥。详见<xref keyref="guide-token"/>。
<p>Token 过期后,根据预加载频道的数量,你可以通过不同方式来传入用于预加载频道的新 Token:
<ul><li>预加载一个频道时:调用此方法来传入新的 Token。</li>
<li>预加载多个频道时:<ul><li>如果你使用了通配的 Token,调用 <xref keyref="updatePreloadChannelToken"/> 来更新所有预加载频道的 Token。</li>
<li>预加载多个频道时:<ul><li>如果你使用了通配的 Token,调用 <xref keyref="updatePreloadChannelToken"/> 来更新所有预加载频道的 Token。
<note type="note" id="uid">生成通配 Token 时,用户 ID 不得设为 0。详见 <xref keyref="wildcard-token"/>。</note></li>
<li>如果你使用了不同的 Token:调用此方法并传入你的用户 ID、对应的频道名和更新后的 Token。</li></ul></li></ul></p>
</pd>
</plentry>
Expand Down
10 changes: 0 additions & 10 deletions dita/RTC-NG/API/class_videoencoderconfiguration.dita
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
public static final int DEFAULT_MIN_BITRATE_EQUAL_TO_TARGET_BITRATE = -2;
public VideoDimensions dimensions;
public int frameRate;
public int minFrameRate;
public int bitrate;
public int minBitrate;
public ORIENTATION_MODE orientationMode;
Expand All @@ -146,7 +145,6 @@
public VideoEncoderConfiguration() {
this.dimensions = new VideoDimensions(640, 480);
this.frameRate = FRAME_RATE.FRAME_RATE_FPS_15.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = STANDARD_BITRATE;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE;
Expand All @@ -159,7 +157,6 @@
ORIENTATION_MODE orientationMode) {
this.dimensions = dimensions;
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand All @@ -172,7 +169,6 @@
ORIENTATION_MODE orientationMode, MIRROR_MODE_TYPE mirrorMode) {
this.dimensions = dimensions;
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand All @@ -185,7 +181,6 @@
int width, int height, FRAME_RATE frameRate, int bitrate, ORIENTATION_MODE orientationMode) {
this.dimensions = new VideoDimensions(width, height);
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand All @@ -198,7 +193,6 @@
ORIENTATION_MODE orientationMode, MIRROR_MODE_TYPE mirrorMode) {
this.dimensions = new VideoDimensions(width, height);
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand Down Expand Up @@ -481,10 +475,6 @@
<pt>frameRate</pt>
<pd>视频编码的帧率(fps),默认值为 15。详见 <xref keyref="FRAME_RATE"/>。</pd>
</plentry>
<plentry props="native unreal bp">
<pt>minFramerate</pt>
<pd>视频的最小帧率。默认值为 -1。</pd>
</plentry>
<plentry>
<pt>bitrate</pt>
<pd>
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/API/rtc_api_overview_ng.dita
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@
<strow props="electron flutter rn unity">
<stentry><xref keyref="sendMetaData"/></stentry>
<stentry><ph conkeyref="sendMetaData/shortdesc"/></stentry>
</strow>
</strow>
</simpletable> <simpletable>
<sthead>
<stentry>事件</stentry>
Expand Down Expand Up @@ -2562,7 +2562,7 @@
<stentry><xref keyref="setApplicationMute"/></stentry>
<stentry><ph conkeyref="setApplicationMute/shortdesc"/></stentry>
</strow>
<strow>
<strow props="hide">
<stentry><xref keyref="isApplicationMute"/></stentry>
<stentry><ph conkeyref="isApplicationMute/shortdesc"/></stentry>
</strow>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/RTC_NG_API_Blueprint.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
<topicref keyref="getRecordingDeviceInfo" toc="no"/>
<topicref keyref="getRecordingDeviceMute" toc="no" props="hide"/>
<topicref keyref="getRecordingDeviceVolume" toc="no" props="hide"/>
<topicref keyref="isApplicationMute" toc="no"/>
<topicref keyref="isApplicationMute" toc="no" props="hide"/>
<topicref keyref="isSpeakerphoneEnabled" toc="no"/>
<topicref keyref="release_IAudioDeviceCollection" toc="no"/>
<topicref keyref="release_IAudioDeviceManager" toc="no"/>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/RTC_NG_API_CPP.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@
<topicref keyref="getRecordingDeviceInfo" toc="no"/>
<topicref keyref="getRecordingDeviceMute" toc="no" props="hide"/>
<topicref keyref="getRecordingDeviceVolume" toc="no" props="hide"/>
<topicref keyref="isApplicationMute" toc="no"/>
<topicref keyref="isApplicationMute" toc="no" props="hide"/>
<topicref keyref="isSpeakerphoneEnabled" toc="no"/>
<topicref keyref="release_IAudioDeviceCollection" toc="no"/>
<topicref keyref="release_IAudioDeviceManager" toc="no"/>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/RTC_NG_API_Unreal.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@
<topicref keyref="getRecordingDeviceInfo" toc="no"/>
<topicref keyref="getRecordingDeviceMute" toc="no" props="hide"/>
<topicref keyref="getRecordingDeviceVolume" toc="no" props="hide"/>
<topicref keyref="isApplicationMute" toc="no"/>
<topicref keyref="isApplicationMute" toc="no" props="hide"/>
<topicref keyref="isSpeakerphoneEnabled" toc="no"/>
<topicref keyref="release_IAudioDeviceCollection" toc="no"/>
<topicref keyref="release_IAudioDeviceManager" toc="no"/>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3204,7 +3204,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="isApplicationMute" href="../API/api_iaudiodevicecollection_isapplicationmute.dita">
<keydef keys="isApplicationMute" href="../API/api_iaudiodevicecollection_isapplicationmute.dita" prop="hide">
<topicmeta>
<keywords>
<keyword>isApplicationMute</keyword>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3225,7 +3225,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="isApplicationMute" href="../API/api_iaudiodevicecollection_isapplicationmute.dita">
<keydef keys="isApplicationMute" href="../API/api_iaudiodevicecollection_isapplicationmute.dita" props="hide">
<topicmeta>
<keywords>
<keyword>isApplicationMute</keyword>
Expand Down
4 changes: 2 additions & 2 deletions dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
<keydef keys="getMute" href="../API/api_imediaplayer_getmute.dita">
<topicmeta>
<keywords>
<keyword>isMuted</keyword>
<keyword>getMute</keyword>
</keywords>
</topicmeta>
</keydef>
Expand Down Expand Up @@ -9744,7 +9744,7 @@
</keywords>
</topicmeta>
</keydef>

<keydef keys="REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY">
<topicmeta>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3204,7 +3204,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="isApplicationMute" href="../API/api_iaudiodevicecollection_isapplicationmute.dita">
<keydef keys="isApplicationMute" href="../API/api_iaudiodevicecollection_isapplicationmute.dita" prop="hide">
<topicmeta>
<keywords>
<keyword>isApplicationMute</keyword>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/relations-rtc-ng-api.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -2835,7 +2835,7 @@
<topicref keyref="getCount_IAudioDeviceCollection"/>
<topicref keyref="getDefaultDevice_IAudioDeviceCollection"/>
<topicref keyref="getDevice_IAudioDeviceCollection"/>
<topicref keyref="isApplicationMute"/>
<topicref keyref="isApplicationMute" props="hide"/>
<topicref keyref="release_IAudioDeviceCollection"/>
<topicref keyref="setApplicationMute"/>
<topicref keyref="setApplicationVolume"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<section id="detailed_desc">
<title>Details</title>
<p>You can call this method before sharing a screen or window to get a list of shareable screens and windows, which enables a user to use thumbnails in the list to easily choose a particular screen or window to share. This list also contains important information such as window ID and screen ID, with which you can call <xref keyref="startScreenCaptureByWindowId" /> or <xref keyref="startScreenCaptureByDisplayId" /> to start the sharing.</p>
<note type="note" props="cpp unreal bp unity flutter">This method applies to macOS and Windows only.</note>
<note type="note" props="cpp unreal bp unity flutter">This method applies to macOS and Windows only.</note>
</section>
<section id="parameters">
<title>Parameters</title>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<plentry id="token">
<pt>token</pt>
<pd>The token generated on your server for authentication. See <xref keyref="guide-token" />.<p>When the token for preloading channels expires, you can update the token based on the number of channels you preload.<ul><li>When preloading one channel, calling this method to pass in the new token.</li>
<li>When preloading more than one channels:<ul><li>If you use a wildcard token for all preloaded channels, call <xref keyref="updatePreloadChannelToken" /> to update the token.</li>
<li>When preloading more than one channels:<ul><li>If you use a wildcard token for all preloaded channels, call <xref keyref="updatePreloadChannelToken" /> to update the token.<note type="note" id="uid">When generating a wildcard token, ensure the user ID is not set as 0. See <xref keyref="wildcard-token" />.</note></li>
<li>If you use different tokens to preload different channels, call this method to pass in your user ID, channel name and the new token.</li></ul></li></ul></p>
</pd>
</plentry>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<li>Call this method before joining a channel, and then call <xref keyref="joinChannel2" /> to join a channel and set <parmname>publishScreenTrack</parmname> or <parmname>publishSecondaryScreenTrack</parmname> to <codeph><ph keyref="true" /></codeph> to start screen sharing.</li>
<li>Call this method after joining a channel, and then call <xref keyref="updateChannelMediaOptions" /> and set <parmname>publishScreenTrack</parmname> or <parmname>publishSecondaryScreenTrack</parmname> to <codeph><ph keyref="true" /></codeph> to start screen sharing.</li>
</ul></p>
<note type="attention" props="cpp unreal bp flutter unity">This method is for Windows and macOS only.</note>
<note type="attention" props="cpp unreal bp flutter unity">This method is for Windows and macOS only.</note>
</section>
<section id="parameters">
<title>Parameters</title>
Expand Down
6 changes: 0 additions & 6 deletions en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
public static final int DEFAULT_MIN_BITRATE_EQUAL_TO_TARGET_BITRATE = -2;
public VideoDimensions dimensions;
public int frameRate;
public int minFrameRate;
public int bitrate;
public int minBitrate;
public ORIENTATION_MODE orientationMode;
Expand All @@ -146,7 +145,6 @@
public VideoEncoderConfiguration() {
this.dimensions = new VideoDimensions(640, 480);
this.frameRate = FRAME_RATE.FRAME_RATE_FPS_15.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = STANDARD_BITRATE;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE;
Expand All @@ -159,7 +157,6 @@
ORIENTATION_MODE orientationMode) {
this.dimensions = dimensions;
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand All @@ -172,7 +169,6 @@
ORIENTATION_MODE orientationMode, MIRROR_MODE_TYPE mirrorMode) {
this.dimensions = dimensions;
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand All @@ -185,7 +181,6 @@
int width, int height, FRAME_RATE frameRate, int bitrate, ORIENTATION_MODE orientationMode) {
this.dimensions = new VideoDimensions(width, height);
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand All @@ -198,7 +193,6 @@
ORIENTATION_MODE orientationMode, MIRROR_MODE_TYPE mirrorMode) {
this.dimensions = new VideoDimensions(width, height);
this.frameRate = frameRate.getValue();
this.minFrameRate = DEFAULT_MIN_FRAMERATE;
this.bitrate = bitrate;
this.minBitrate = DEFAULT_MIN_BITRATE;
this.orientationMode = orientationMode;
Expand Down

0 comments on commit a637bbd

Please sign in to comment.