Skip to content

Commit

Permalink
electron 4.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nero-Hu committed Sep 22, 2023
1 parent e2a7257 commit 4c1ca0d
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
<codeblock props="android" outputclass="language-java">public abstract boolean isFeatureAvailableOnDevice(int type);</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type;</codeblock>
<codeblock props="cpp unreal bp" outputclass="language-cpp">virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0;</codeblock>
<codeblock props="electron" outputclass="language-typescript"/>
<codeblock props="unity cs" outputclass="language-csharp"/>
<codeblock props="rn" outputclass="language-typescript">abstract isFeatureAvailableOnDevice(type: FeatureType): boolean;</codeblock>
<codeblock props="electron rn" outputclass="language-typescript">abstract isFeatureAvailableOnDevice(type: FeatureType): boolean;</codeblock>
<codeblock props="flutter" outputclass="language-dart">Future&lt;bool&gt; isFeatureAvailableOnDevice(FeatureType type);</codeblock> </p>
</section>
<section id="detailed_desc">
Expand Down
3 changes: 1 addition & 2 deletions dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
boolean enabled, ContentInspectConfig config, RtcConnection connection);</codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)enableContentInspectEx:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableContentInspectEx(_:config:connection:));</codeblock>
<codeblock props="cpp unreal bp" outputclass="language-cpp">virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &amp;config, const RtcConnection&amp; connection) = 0;</codeblock>
<codeblock props="electron" outputclass="language-typescript"/>
<codeblock props="unity cs" outputclass="language-csharp"/>
<codeblock props="rn" outputclass="language-typescript">abstract enableContentInspectEx(
<codeblock props="electron rn" outputclass="language-typescript">abstract enableContentInspectEx(
enabled: boolean,
config: ContentInspectConfig,
connection: RtcConnection
Expand Down
2 changes: 2 additions & 0 deletions dita/RTC-NG/API/class_contentinspectconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@

extraInfo?: string;

serverConfig?: string;

modules?: ContentInspectModule[];

moduleCount?: number;
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 @@ -1820,6 +1820,7 @@
<li><xref keyref="EXPERIENCE_POOR_REASON"/></li>
<li><xref keyref="EXPERIENCE_QUALITY_TYPE"/></li>
<li><xref keyref="EXTERNAL_VIDEO_SOURCE_TYPE"/></li>
<li><xref keyref="FeatureType"/></li>
<li><xref keyref="FRAME_RATE"/></li>
<li><xref keyref="HEADPHONE_EQUALIZER_PRESET"/></li>
<li><xref keyref="INTERFACE_ID_TYPE"/></li>
Expand Down
2 changes: 2 additions & 0 deletions dita/RTC-NG/RTC_NG_API_Electron.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
<topicref href="API/toc_video_prenpro.dita" chunk="to-content">
<topicref href="API/toc_snapshot.dita" chunk="to-content">
<topicref keyref="enableContentInspect" toc="no"/>
<topicref keyref="enableContentInspectEx" toc="no"/>
<topicref keyref="takeSnapshot" toc="no"/>
<topicref keyref="takeSnapshotEx" toc="no"/>
<topicref keyref="onSnapshotTaken" toc="no"/>
Expand Down Expand Up @@ -676,6 +677,7 @@
<topicref keyref="getNetworkType" toc="no"/>
<topicref keyref="getNtpWallTimeInMs" toc="no"/>
<topicref keyref="getVersion" toc="no"/>
<topicref keyref="isFeatureAvailableOnDevice" toc="no"/>
<topicref keyref="rate" toc="no"/>
<topicref keyref="sendCustomReportMessage" toc="no"/>
<topicref keyref="sendCustomReportMessageEx" toc="no"/>
Expand Down
126 changes: 126 additions & 0 deletions dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3328,6 +3328,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="enableContentInspectEx" href="../API/api_irtcengineex_enablecontentinspectex.dita">
<topicmeta>
<keywords>
<keyword>enableContentInspectEx</keyword>
</keywords>
</topicmeta>
</keydef>
</topichead>
<topichead navtitle="其他方法">
<keydef keys="enableVideoImageSource" href="../API/api_irtcengine_enablevideoimagesource.dita">
Expand Down Expand Up @@ -3421,6 +3428,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="isFeatureAvailableOnDevice" href="../API/api_irtcengine_isfeatureavailableondevice.dita">
<topicmeta>
<keywords>
<keyword>isFeatureAvailableOnDevice</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="rate" href="../API/api_irtcengine_rate.dita">
<topicmeta>
<keywords>
Expand Down Expand Up @@ -5607,6 +5621,13 @@
<keyword>ContentInspectSupervise</keyword>
</keywords>
</topicmeta>
<keydef keys="CONTENT_INSPECT_IMAGE_MODERATION">
<topicmeta>
<keywords>
<keyword>ContentInspectImageModeration</keyword>
</keywords>
</topicmeta>
</keydef>
</keydef>
<keydef keys="COMPRESSION_PREFERENCE" href="../API/enum_compressionpreference.dita">
<topicmeta>
Expand Down Expand Up @@ -7967,6 +7988,27 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="FeatureType" href="../API/enum_featuretype.dita">
<topicmeta>
<keywords>
<keyword>FeatureType</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="VIDEO_VIRTUAL_BACKGROUND">
<topicmeta>
<keywords>
<keyword>videoVirtualBackground</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="VIDEO_BEAUTY_EFFECT">
<topicmeta>
<keywords>
<keyword>videoBeautyEffect</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="FRAME_RATE" href="../API/enum_framerate.dita">
<topicmeta>
<keywords>
Expand Down Expand Up @@ -8401,6 +8443,62 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureWindowNotSupported</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_NO_PERMISSION">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureNoPermission</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCapturePaused</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureResumed</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_HIDDEN">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureWindowHidden</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureWindowRecoverFromHidden</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureWindowRecoverFromMinimized</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_FAILURE">
<topicmeta>
<keywords>
<keyword>LocalVideoStreamErrorScreenCaptureFailure</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="LOCAL_VIDEO_STREAM_ERROR_DEVICE_SYSTEM_PRESSURE">
<topicmeta>
<keywords>
Expand Down Expand Up @@ -9192,6 +9290,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 Expand Up @@ -10949,6 +11054,27 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="VIDEO_TEXTURE_ID3D11TEXTURE2D">
<topicmeta>
<keywords>
<keyword>VideoTextureId3d11texture2d</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="VIDEO_TEXTURE_2D">
<topicmeta>
<keywords>
<keyword>VideoTexture2d</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="VIDEO_TEXTURE_OES">
<topicmeta>
<keywords>
<keyword>VideoTextureOes</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="VIDEO_PROFILE_TYPE" href="../API/enum_videoprofiletype.dita">
<topicmeta>
<keywords>
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 @@ -2293,7 +2293,7 @@
<topicref keyref="isCameraFocusSupported" props="android ios cpp unreal bp flutter unity rn"/>
<topicref keyref="isCameraTorchSupported" props="android ios cpp unreal bp flutter unity rn"/>
<topicref keyref="isCameraZoomSupported" props="android ios cpp unreal bp flutter unity rn"/>
<topicref keyref="isFeatureAvailableOnDevice" props="native rn flutter unity"/>
<topicref keyref="isFeatureAvailableOnDevice" props="native electron rn flutter unity"/>
<topicref keyref="isSpeakerphoneEnabled" props="android ios cpp unreal bp flutter rn unity"/>
<topicref keyref="isTextureEncodeSupported" props="android"/>
<topicref keyref="joinChannel1" props="native unreal unity"/>
Expand Down

0 comments on commit 4c1ca0d

Please sign in to comment.