From a1301dac68e5295d20a1d62934e9b051eee4bf6d Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 25 Sep 2023 16:33:39 +0800 Subject: [PATCH] syn cn maps to en and add unity proto --- ...irtcengine_isfeatureavailableondevice.dita | 2 +- .../config/keys-rtc-ng-api-electron.ditamap | 149 +++++++++++++++++- .../RTC-NG/config/keys-rtc-ng-api-rn.ditamap | 62 +++++++- .../config/keys-rtc-ng-api-unity.ditamap | 149 +++++++++++++----- 4 files changed, 322 insertions(+), 40 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita index 2c5bb56c89e..1326b7c43e8 100644 --- a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita +++ b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita @@ -16,7 +16,7 @@ public abstract boolean isFeatureAvailableOnDevice(int type); - (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type; virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; - + public abstract bool IsFeatureAvailableOnDevice(FeatureType type); abstract isFeatureAvailableOnDevice(type: FeatureType): boolean; Future<bool> isFeatureAvailableOnDevice(FeatureType type);

diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap index e951addddab..fb072612816 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap @@ -736,7 +736,7 @@ - + setPlayerOptionInString @@ -2742,6 +2742,13 @@ + + + + setPlaybackDeviceMute + + + @@ -2805,6 +2812,13 @@ + + + + getPlaybackDeviceMute + + + @@ -2921,6 +2935,13 @@ + + + + adjustCustomAudioPlayoutVolume + + + @@ -3307,6 +3328,13 @@ + + + + enableContentInspectEx + + + @@ -3400,6 +3428,13 @@ + + + + isFeatureAvailableOnDevice + + + @@ -5586,6 +5621,13 @@ ContentInspectSupervise + + + + ContentInspectImageModeration + + + @@ -7946,6 +7988,27 @@ + + + + FeatureType + + + + + + + videoVirtualBackground + + + + + + + videoBeautyEffect + + + @@ -8380,6 +8443,62 @@ + + + + LocalVideoStreamErrorScreenCaptureWindowNotSupported + + + + + + + LocalVideoStreamErrorScreenCaptureNoPermission + + + + + + + LocalVideoStreamErrorScreenCapturePaused + + + + + + + LocalVideoStreamErrorScreenCaptureResumed + + + + + + + LocalVideoStreamErrorScreenCaptureWindowHidden + + + + + + + LocalVideoStreamErrorScreenCaptureWindowRecoverFromHidden + + + + + + + LocalVideoStreamErrorScreenCaptureWindowRecoverFromMinimized + + + + + + + LocalVideoStreamErrorScreenCaptureFailure + + + @@ -9171,6 +9290,13 @@ + + + + NetworkTypeMobile5g + + + @@ -10928,6 +11054,27 @@ + + + + VideoTextureId3d11texture2d + + + + + + + VideoTexture2d + + + + + + + VideoTextureOes + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap index 80c469b281d..dad044489bf 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap @@ -764,7 +764,7 @@ - + setPlayerOptionInString @@ -2901,6 +2901,15 @@ + + + + + adjustCustomAudioPlayoutVolume + + + + @@ -3302,6 +3311,13 @@ + + + + enableContentInspectEx + + + @@ -3381,6 +3397,13 @@ + + + + isFeatureAvailableOnDevice + + + @@ -5536,6 +5559,13 @@ ContentInspectSupervise + + + + ContentInspectImageModeration + + + @@ -7896,6 +7926,27 @@ + + + + FeatureType + + + + + + + videoVirtualBackground + + + + + + + videoBeautyEffect + + + @@ -9142,6 +9193,13 @@ + + + + NetworkTypeMobile5g + + + @@ -11928,4 +11986,4 @@ - \ No newline at end of file + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap index 8aff11849b6..c287eff3549 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap @@ -724,14 +724,14 @@ - + SetPlayerOption [1/2] - + setPlayerOption [2/2] @@ -3237,14 +3237,14 @@ - + SetPlaybackDeviceMute - + GetPlaybackDeviceMute @@ -3339,6 +3339,13 @@ + + + + AdjustCustomAudioPlayoutVolume + + + @@ -3431,7 +3438,7 @@ - + Preload [2/2] @@ -3515,14 +3522,14 @@ - + GetInternalSongCode - + GetSongSimpleInfo @@ -3573,7 +3580,7 @@ - + OnSongSimpleInfoResult @@ -3596,6 +3603,13 @@ + + + + EnableContentInspectEx + + + @@ -3747,6 +3761,13 @@ + + + + IsFeatureAvailableOnDevice + + + @@ -4423,20 +4444,6 @@ - - - - GetObservedFramePosition - - - - - - - GetVideoFormatPreference - - - @@ -4497,20 +4504,13 @@ - + GetMaxMetadataSize - - - - OnReadyToSendMetadata - - - @@ -6947,17 +6947,17 @@ - + - CONTENT_INSPECT_MODERATION + CONTENT_INSPECT_SUPERVISE - + - CONTENT_INSPECT_SUPERVISION + CONTENT_INSPECT_IMAGE_MODERATION @@ -8340,6 +8340,27 @@ + + + + FeatureType + + + + + + + VIDEO_VIRTUAL_BACKGROUND + + + + + + + VIDEO_BEAUTY_EFFECT + + + @@ -8767,6 +8788,13 @@ + + + + LOCAL_VIDEO_STREAM_ERROR_DEVICE_SYSTEM_PRESSURE + + + @@ -8774,10 +8802,45 @@ - + - LOCAL_VIDEO_STREAM_ERROR_DEVICE_SYSTEM_PRESSURE + LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_NO_PERMISSION + + + + + + + LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED + + + + + + + LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED + + + + + + + LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_HIDDEN + + + + + + + LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN + + + + + + + LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED @@ -9684,6 +9747,13 @@ + + + + NETWORK_TYPE_MOBILE_5G + + + @@ -11644,6 +11714,13 @@ + + + + VIDEO_TEXTURE_ID3D11TEXTURE2D + + +