From 5aedf6510c8b60ba4baa8d978858efaaa4912a2c Mon Sep 17 00:00:00 2001 From: Cilla-luodan Date: Fri, 25 Oct 2024 03:19:28 +0000 Subject: [PATCH] Sync cn prototype to en prototype --- .../RTC-NG/API/class_channelmediaoptions.dita | 2 + ...class_musiccontentcenterconfiguration.dita | 2 +- .../config/keys-rtc-ng-api-harmony.ditamap | 138 ++++++++++-------- 3 files changed, 79 insertions(+), 63 deletions(-) diff --git a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita index 2490141ca87..b9ab3cbb782 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -84,6 +84,8 @@ public audioDelayMs?:number; public mediaPlayerAudioDelayMs?:number; + + public token?:string; public enableBuiltInMediaEncryption?:boolean; diff --git a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita index fe9b6ba6056..b44354be4da 100644 --- a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita @@ -35,7 +35,7 @@ public eventHandler?:IMusicContentCenterEventHandler - public mccDomain:string = "" + public mccDomain?:string } __attribute__((visibility("default"))) @interface AgoraMusicContentCenterConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index b35d2f69ced..42890708875 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -111,7 +111,7 @@ - + IMediaPlayerCacheManager @@ -443,7 +443,7 @@ - getPlaySrc + getPlaySrc [2/2] @@ -834,13 +834,6 @@ - - - - enableAudioQualityIndication - - - @@ -1032,20 +1025,6 @@ - - - - CreateRendererView - - - - - - - CreateTextureView - - - @@ -2484,24 +2463,10 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - - startEchoTest [3/3] + startEchoTest @@ -2819,31 +2784,31 @@ - + - onEvent + onEventWithContext - + - onStarted + onStartedWithContext - + - onStopped + onStoppedWithContext - + - onError + onErrorWithContext @@ -3233,6 +3198,13 @@ + + + + stop [2/2] + + + @@ -3303,6 +3275,13 @@ + + + + destroyMusicPlayer + + + @@ -3373,6 +3352,13 @@ + + + + setPlayMode + + + @@ -8983,105 +8969,105 @@ - PLAYER_EVENT_UNKNOWN + UNKNOWN - PLAYER_EVENT_SEEK_BEGIN + SEEK_BEGIN - PLAYER_EVENT_SEEK_COMPLETE + SEEK_COMPLETE - PLAYER_EVENT_SEEK_ERROR + SEEK_ERROR - PLAYER_EVENT_AUDIO_TRACK_CHANGED + AUDIO_TRACK_CHANGED - PLAYER_EVENT_BUFFER_LOW + BUFFER_LOW - PLAYER_EVENT_BUFFER_RECOVER + BUFFER_RECOVER - PLAYER_EVENT_FREEZE_START + FREEZE_START - PLAYER_EVENT_FREEZE_STOP + FREEZE_STOP - PLAYER_EVENT_SWITCH_BEGIN + SWITCH_BEGIN - PLAYER_EVENT_SWITCH_COMPLETE + SWITCH_COMPLETE - PLAYER_EVENT_SWITCH_ERROR + SWITCH_ERROR - PLAYER_EVENT_FIRST_DISPLAYED + FIRST_DISPLAYED - PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + REACH_CACHE_FILE_MAX_COUNT - PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + REACH_CACHE_FILE_MAX_SIZE @@ -9428,7 +9414,35 @@ - + + + + MusicPlayMode + + + + + + + ORIGINAL + + + + + + + ACCOMPANY + + + + + + + LEAD_SING + + + + PreloadState