From 3ab24124d2120140e71273596312a4397919a0db Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 5 Nov 2024 07:33:38 +0000 Subject: [PATCH] Sync cn prototype to en prototype --- .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 785 +++++++++++++++++- .../config/keys-rtc-ng-api-macos.ditamap | 785 +++++++++++++++++- 2 files changed, 1566 insertions(+), 4 deletions(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index bb1ac3db55d..5c15eb60018 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -274,6 +274,41 @@ + + + + AgoraRteCanvas + + + + + + + AgoraRte + + + + + + + AgoraRtePlayerConfig + + + + + + + AgoraRtePlayerConfig + + + + + + + AgoraRtePlayerObserver + + + @@ -848,6 +883,361 @@ + + + + + addView:config:error: + + + + + + + initWithRte:initialConfig: + + + + + + + code + + + + + + + message + + + + + + + autoPlay: + + + + + + + getFromBridge: + + + + + + + initWithInitialConfig: + + + + + + + initMediaEngine:error: + + + + + + + registerObserver:error: + + + + + + + unregisterObserver:error: + + + + + + + setAutoPlay:error: + + + + + + + setAppId:error: + + + + + + + setCanvas:error: + + + + + + + setVideoMirrorMode:error: + + + + + + + setAbrFallbackLayer:error: + + + + + + + setAbrSubscriptionLayer:error: + + + + + + + abrFallbackLayer: + + + + + + + abrSubscriptionLayer: + + + + + + + appId: + + + + + + + getStats: + + + + + + + videoMirrorMode: + + + + + + + videoRenderMode: + + + + + + + muteAudio: + + + + + + + muteVideo: + + + + + + + setConfigs:error: + + + + + + + setConfigs:error: + + + + + + + setConfigs:error: + + + + + + + setVideoMirrorMode:error: + + + + + + + setJsonParameter:error: + + + + + + + setJsonParameter:error: + + + + + + + getConfigs:error: + + + + + + + getConfigs:error: + + + + + + + getConfigs:error: + + + + + + + getInfo:error: + + + + + + + jsonParameter: + + + + + + + jsonParameter: + + + + + + + + pause: + + + + + + + play: + + + + + + + initWithRte:initialConfig: + + + + + + + preloadWithUrl:error: + + + + + + + removeView:config:error: + + + + + + + registerObserver:error: + + + + + + + pause: + + + + + + + openWithUrl:startTime:cb: + + + + + + + unregisterObserver:error: + + + + + + + + + onEvent: + + + + + + + onMetadata:data: + + + + + + + onPlayerInfoUpdated: + + + + + + + onResolutionChanged: + + + + + + + onStateChanged:newState:error: + + + + @@ -4801,6 +5191,13 @@ + + + + AgoraRteCanvasConfig + + + @@ -4871,6 +5268,13 @@ + + + + AgoraRteConfig + + + @@ -4927,6 +5331,13 @@ + + + + AgoraRteError + + + @@ -5228,10 +5639,24 @@ - + + + + AgoraImage + + + + + + + AgoraRtePlayerInfo + + + + - AgoraImage + AgoraRtePlayerStats @@ -10277,6 +10702,160 @@ + + + + AgoraRteAbrFallbackLayer + + + + + + + AgoraRteAbrFallbackDisabled + + + + + + + AgoraRteAbrFallbackLow + + + + + + + AgoraRteAbrFallbackAudioOnly + + + + + + + AgoraRteAbrFallbackLayer1 + + + + + + + AgoraRteAbrFallbackLayer2 + + + + + + + AgoraRteAbrFallbackLayer3 + + + + + + + AgoraRteAbrFallbackLayer4 + + + + + + + AgoraRteAbrFallbackLayer5 + + + + + + + AgoraRteAbrFallbackLayer6 + + + + + + + AgoraRteErrorCode + + + + + + + AgoraRteOk + + + + + + + AgoraRteErrorDefault + + + + + + + AgoraRteErrorInvalidArgument + + + + + + + AgoraRteErrorInvalidOperation + + + + + + + AgoraRteErrorNetworkError + + + + + + + AgoraRteErrorAuthenticationFailed + + + + + + + AgoraRteErrorStreamNotFound + + + + + + + AgoraRteVideoMirrorMode + + + + + + + AgoraRteVideoMirrorModeAuto + + + + + + + AgoraRteVideoMirrorModeEnabled + + + + + + + AgoraRteVideoMirrorModeDisabled + + + @@ -10431,6 +11010,104 @@ + + + + AgoraRteAbrSubscriptionLayer + + + + + + + AgoraRteAbrSubscriptionHigh + + + + + + + AgoraRteAbrSubscriptionLow + + + + + + + AgoraRteAbrSubscriptionLayer1 + + + + + + + AgoraRteAbrSubscriptionLayer2 + + + + + + + AgoraRteAbrSubscriptionLayer3 + + + + + + + AgoraRteAbrSubscriptionLayer4 + + + + + + + AgoraRteAbrSubscriptionLayer5 + + + + + + + kRteAbrSubscriptionLayer6 + + + + + + + AgoraRteVideoRenderMode + + + + + + + AgoraRteVideoRenderModeHidden + + + + + + + AgoraRteVideoRenderModeFit + + + + + + + AgoraRtePlayerMetadataType + + + + + + + AgoraRtePlayerMetadataTypeSei + + + @@ -10613,6 +11290,47 @@ + + + + AgoraRtePlayerEvent + + + + + + + AgoraRtePlayerEventFreezeStart + + + + + + + AgoraRtePlayerEventFreezeStop + + + + + + + AgoraRtePlayerEventAuthenticationWillExpire + + + + + + + AgoraRtePlayerEventAbrFallbackToAudioOnlyLayer + + + + + + AgoraRtePlayerEventAbrRecoverFromAudioOnlyLayer + + + @@ -10801,6 +11519,69 @@ AgoraRtmpStreamingStateDisconnecting + + + + + AgoraRtePlayerState + + + + + + + AgoraRtePlayerStateIdle + + + + + + + AgoraRtePlayerStateOpening + + + + + + + AgoraRtePlayerStateOpenCompleted + + + + + + + AgoraRtePlayerStatePlaying + + + + + + + AgoraRtePlayerStatePaused + + + + + + + AgoraRtePlayerStatePlaybackCompleted + + + + + + + AgoraRtePlayerStateStopped + + + + + + + AgoraRtePlayerStateFailed + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index aeadc1b5a26..39dba662c1a 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -231,6 +231,41 @@ + + + + AgoraRteCanvas + + + + + + + AgoraRte + + + + + + + AgoraRtePlayerConfig + + + + + + + AgoraRtePlayerConfig + + + + + + + AgoraRtePlayerObserver + + + @@ -805,6 +840,361 @@ + + + + + addView:config:error: + + + + + + + initWithRte:initialConfig: + + + + + + + code + + + + + + + message + + + + + + + autoPlay: + + + + + + + getFromBridge: + + + + + + + initWithInitialConfig: + + + + + + + initMediaEngine:error: + + + + + + + registerObserver:error: + + + + + + + unregisterObserver:error: + + + + + + + setAutoPlay:error: + + + + + + + setAppId:error: + + + + + + + setCanvas:error: + + + + + + + setVideoMirrorMode:error: + + + + + + + setAbrFallbackLayer:error: + + + + + + + setAbrSubscriptionLayer:error: + + + + + + + abrFallbackLayer: + + + + + + + abrSubscriptionLayer: + + + + + + + appId: + + + + + + + getStats: + + + + + + + videoMirrorMode: + + + + + + + videoRenderMode: + + + + + + + muteAudio: + + + + + + + muteVideo: + + + + + + + setConfigs:error: + + + + + + + setConfigs:error: + + + + + + + setConfigs:error: + + + + + + + setVideoMirrorMode:error: + + + + + + + setJsonParameter:error: + + + + + + + setJsonParameter:error: + + + + + + + getConfigs:error: + + + + + + + getConfigs:error: + + + + + + + getConfigs:error: + + + + + + + getInfo:error: + + + + + + + jsonParameter: + + + + + + + jsonParameter: + + + + + + + + pause: + + + + + + + play: + + + + + + + initWithRte:initialConfig: + + + + + + + preloadWithUrl:error: + + + + + + + removeView:config:error: + + + + + + + registerObserver:error: + + + + + + + pause: + + + + + + + openWithUrl:startTime:cb: + + + + + + + unregisterObserver:error: + + + + + + + + + onEvent: + + + + + + + onMetadata:data: + + + + + + + onPlayerInfoUpdated: + + + + + + + onResolutionChanged: + + + + + + + onStateChanged:newState:error: + + + + @@ -4496,6 +4886,13 @@ + + + + AgoraRteCanvasConfig + + + @@ -4559,6 +4956,13 @@ + + + + AgoraRteConfig + + + @@ -4615,6 +5019,13 @@ + + + + AgoraRteError + + + @@ -4860,10 +5271,24 @@ - + + + + AgoraImage + + + + + + + AgoraRtePlayerInfo + + + + - AgoraImage + AgoraRtePlayerStats @@ -9750,6 +10175,160 @@ + + + + AgoraRteAbrFallbackLayer + + + + + + + AgoraRteAbrFallbackDisabled + + + + + + + AgoraRteAbrFallbackLow + + + + + + + AgoraRteAbrFallbackAudioOnly + + + + + + + AgoraRteAbrFallbackLayer1 + + + + + + + AgoraRteAbrFallbackLayer2 + + + + + + + AgoraRteAbrFallbackLayer3 + + + + + + + AgoraRteAbrFallbackLayer4 + + + + + + + AgoraRteAbrFallbackLayer5 + + + + + + + AgoraRteAbrFallbackLayer6 + + + + + + + AgoraRteErrorCode + + + + + + + AgoraRteOk + + + + + + + AgoraRteErrorDefault + + + + + + + AgoraRteErrorInvalidArgument + + + + + + + AgoraRteErrorInvalidOperation + + + + + + + AgoraRteErrorNetworkError + + + + + + + AgoraRteErrorAuthenticationFailed + + + + + + + AgoraRteErrorStreamNotFound + + + + + + + AgoraRteVideoMirrorMode + + + + + + + AgoraRteVideoMirrorModeAuto + + + + + + + AgoraRteVideoMirrorModeEnabled + + + + + + + AgoraRteVideoMirrorModeDisabled + + + @@ -9904,6 +10483,104 @@ + + + + AgoraRteAbrSubscriptionLayer + + + + + + + AgoraRteAbrSubscriptionHigh + + + + + + + AgoraRteAbrSubscriptionLow + + + + + + + AgoraRteAbrSubscriptionLayer1 + + + + + + + AgoraRteAbrSubscriptionLayer2 + + + + + + + AgoraRteAbrSubscriptionLayer3 + + + + + + + AgoraRteAbrSubscriptionLayer4 + + + + + + + AgoraRteAbrSubscriptionLayer5 + + + + + + + kRteAbrSubscriptionLayer6 + + + + + + + AgoraRteVideoRenderMode + + + + + + + AgoraRteVideoRenderModeHidden + + + + + + + AgoraRteVideoRenderModeFit + + + + + + + AgoraRtePlayerMetadataType + + + + + + + AgoraRtePlayerMetadataTypeSei + + + @@ -10086,6 +10763,47 @@ + + + + AgoraRtePlayerEvent + + + + + + + AgoraRtePlayerEventFreezeStart + + + + + + + AgoraRtePlayerEventFreezeStop + + + + + + + AgoraRtePlayerEventAuthenticationWillExpire + + + + + + + AgoraRtePlayerEventAbrFallbackToAudioOnlyLayer + + + + + + AgoraRtePlayerEventAbrRecoverFromAudioOnlyLayer + + + @@ -10274,6 +10992,69 @@ AgoraRtmpStreamingStateDisconnecting + + + + + AgoraRtePlayerState + + + + + + + AgoraRtePlayerStateIdle + + + + + + + AgoraRtePlayerStateOpening + + + + + + + AgoraRtePlayerStateOpenCompleted + + + + + + + AgoraRtePlayerStatePlaying + + + + + + + AgoraRtePlayerStatePaused + + + + + + + AgoraRtePlayerStatePlaybackCompleted + + + + + + + AgoraRtePlayerStateStopped + + + + + + + AgoraRtePlayerStateFailed + +