diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita index 542d6c13167..0608350b194 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita @@ -17,10 +17,10 @@ - (NSInteger)destroyMusicPlayer:(id<AgoraMusicPlayerProtocol>)musicPlayer; virtual int destroyMusicPlayer(agora_refptr<IMusicPlayer> music_player) = 0; - - - -

+ abstract destroyMusicPlayer(musicPlayer: IMusicPlayer): number; + public abstract int DestroyMusicPlayer(IMusicPlayer music_player); + abstract destroyMusicPlayer(musicPlayer: IMusicPlayer): number; + Future<void> destroyMusicPlayer(MusicPlayer musicPlayer);

@@ -44,9 +44,9 @@ player - musicPlayer - music_player - 对象。 + musicPlayer + music_player + 对象。 指向 对象的指针。
diff --git a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita index 6c44a735040..06f628009fa 100644 --- a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita +++ b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita @@ -17,10 +17,10 @@ - (NSInteger)setPlayMode:(AgoraMusicPlayMode)mode NS_SWIFT_NAME(setPlayMode(mode:)); virtual int setPlayMode(MusicPlayMode mode) = 0; - - - -

+ abstract setPlayMode(mode: MusicPlayMode): number; + public abstract int SetPlayMode(MusicPlayMode mode); + abstract setPlayMode(mode: MusicPlayMode): number; + Future<void> setPlayMode(MusicPlayMode mode);

diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index f33160c4292..7f6fbda3484 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -17,10 +17,11 @@ - (int)enableVoiceAITuner:(bool)enabled type:(AgoraVoiceAITunerType)type NS_SWIFT_NAME(enableVoiceAITuner(_:type:)); virtual int enableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type) = 0; - - - -

+ abstract enableVoiceAITuner(enabled: boolean, type: VoiceAiTunerType): number; + public abstract int EnableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type); + abstract enableVoiceAITuner(enabled: boolean, type: VoiceAiTunerType): number; + Future<void> enableVoiceAITuner( + {required bool enabled, required VoiceAiTunerType type});

diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 05b59fcca08..967ec147045 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -39,8 +39,9 @@

初始化本地用户视图后,你可以调用该方法更新本地用户视图的渲染和镜像模式。该方法只影响本地用户看到的视频画面,不影响本地视频的发布。

- <ph props="native unreal bp electron rn flutter">调用时机</ph> -
  • 请在调用 方法初始化本地视图后,调用该方法。
  • + 调用时机 +
      +
    • 请在调用 方法初始化本地视图后,调用该方法。
    • 你可以在通话中多次调用该方法,多次更新本地用户视图的显示模式。
diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita index c9739273d3e..4b6e6980536 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita @@ -24,22 +24,19 @@ (void)message; } DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionError, FString, provider, FString, extension, int, error, FString, message); - onExtensionError?( - provider: string, - extension: string, + onExtensionErrorWithContext?( + context: ExtensionContext, error: number, message: string ): void; - public virtual void OnExtensionError(string provider, string extension, int error, string message) { } - onExtensionError?( - provider: string, - extension: string, + public virtual void OnExtensionErrorWithContext(ExtensionContext context, int error, string message){} + onExtensionErrorWithContext?( + context: ExtensionContext, error: number, message: string ): void; - final void Function( - String provider, String extension, int error, String message)? - onExtensionError; + final void Function(ExtensionContext context, int error, String message)? + onExtensionErrorWithContext;

@@ -49,18 +46,10 @@ 参数 - context + context extContext 插件上下文信息,详见 - - - - - - extension - 插件的名称。 - error 错误码。详见插件服务商提供的插件文档。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita index 897d7ae90d9..e087c9404bb 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita @@ -24,22 +24,19 @@ (void)value; } DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionEvent, FString, provider, FString, extension, FString, key, FString, value); - onExtensionEvent?( - provider: string, - extension: string, + onExtensionEventWithContext?( + context: ExtensionContext, key: string, value: string ): void; - public virtual void OnExtensionEvent(string provider, string extension, string key, string value) { } - onExtensionEvent?( - provider: string, - extension: string, + public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){} + onExtensionEventWithContext?( + context: ExtensionContext, key: string, value: string ): void; - final void Function( - String provider, String extName, String key, String value)? - onExtensionEvent; + final void Function(ExtensionContext context, String key, String value)? + onExtensionEventWithContext;

@@ -52,15 +49,6 @@ - - - - - - extension - extName - 插件名称。 - diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita index e5cbf60c764..89053d214a0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita @@ -20,10 +20,10 @@ (void)context; } DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStarted, FString, provider, FString, extension); - onExtensionStarted?(provider: string, extension: string): void; - public virtual void OnExtensionStarted(string provider, string extension) { } - onExtensionStarted?(provider: string, extension: string): void; - final void Function(String provider, String extName)? onExtensionStarted; + onExtensionStartedWithContext?(context: ExtensionContext): void; + public virtual void OnExtensionEventWithContext(ExtensionContext context, string key, string value){ } + onExtensionStartedWithContext?(context: ExtensionContext): void; + final void Function(ExtensionContext context)? onExtensionStartedWithContext;

@@ -36,15 +36,6 @@ - - - - - - extension - extName - 插件名称。 -
diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita index d79496baa28..5010f96ece0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita @@ -20,10 +20,10 @@ (void)context; }
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStopped, FString, provider, FString, extension); - onExtensionStopped?(provider: string, extension: string): void; - public virtual void OnExtensionStopped(string provider, string extension) { } - onExtensionStopped?(provider: string, extension: string): void; - final void Function(String provider, String extName)? onExtensionStopped; + onExtensionStoppedWithContext?(context: ExtensionContext): void; + public virtual void OnExtensionStoppedWithContext(ExtensionContext context){ } + onExtensionStoppedWithContext?(context: ExtensionContext): void; + final void Function(ExtensionContext context)? onExtensionStoppedWithContext;

@@ -36,14 +36,6 @@ - - - - - - - -
\ No newline at end of file diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita index c3c361dbecc..1ec204944f9 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita @@ -37,7 +37,8 @@
触发时机 -

当你调用 方法成功加入频道后,SDK 会触发该回调。

+

当你调用 方法成功加入频道后,SDK 会触发该回调。

+

当你调用 方法成功加入频道后,SDK 会触发该回调。

当你调用 方法成功加入频道后,SDK 会触发该回调。

当你调用 方法成功加入频道后,SDK 会触发该回调。

@@ -70,4 +71,4 @@ - \ No newline at end of file + diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index 967b6484454..82aa0a26f7d 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -68,41 +68,52 @@ struct FAdvanceOptions { export class AdvanceOptions { encodingPreference?: EncodingPreference; compressionPreference?: CompressionPreference; + encodeAlpha?: boolean; } public class AdvanceOptions - { - public ENCODING_PREFERENCE encodingPreference { set; get; } - public COMPRESSION_PREFERENCE compressionPreference { set; get; } + { + public ENCODING_PREFERENCE encodingPreference; + public COMPRESSION_PREFERENCE compressionPreference; + public bool encodeAlpha; - public AdvanceOptions() - { - encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; - compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; - } + public AdvanceOptions() + { + this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; + this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; + this.encodeAlpha = false; + } - public AdvanceOptions(ENCODING_PREFERENCE encoding_preference, COMPRESSION_PREFERENCE compression_preference) - { - encodingPreference = encoding_preference; - compressionPreference = compression_preference; - } - } + public AdvanceOptions(ENCODING_PREFERENCE encoding_preference, COMPRESSION_PREFERENCE compression_preference, bool encode_alpha) + { + this.encodingPreference = encoding_preference; + this.compressionPreference = compression_preference; + this.encodeAlpha = encode_alpha; + } + + }
export class AdvanceOptions { encodingPreference?: EncodingPreference; compressionPreference?: CompressionPreference; + encodeAlpha?: boolean; } - class AdvanceOptions { - const AdvanceOptions({this.encodingPreference, this.compressionPreference}); + @JsonSerializable(explicitToJson: true, includeIfNull: false) +class AdvanceOptions { + const AdvanceOptions( + {this.encodingPreference, this.compressionPreference, this.encodeAlpha}); - @JsonKey(name: 'encodingPreference') + @JsonKey(name: 'encodingPreference') final EncodingPreference? encodingPreference; - @JsonKey(name: 'compressionPreference') + @JsonKey(name: 'compressionPreference') final CompressionPreference? compressionPreference; - factory AdvanceOptions.fromJson(Map<String, dynamic> json) => + @JsonKey(name: 'encodeAlpha') + final bool? encodeAlpha; + + factory AdvanceOptions.fromJson(Map<String, dynamic> json) => _$AdvanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this); }

diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index 5940608834a..4660733227d 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -5,7 +5,7 @@ 频道媒体设置选项。
-

+

public class ChannelMediaOptions { public Boolean publishCameraTrack; public Boolean publishSecondaryCameraTrack; @@ -343,6 +343,8 @@ struct FChannelMediaOptions publishTranscodedVideoTrack?: boolean; + publishLipSyncTrack?: boolean; + autoSubscribeAudio?: boolean; autoSubscribeVideo?: boolean; @@ -391,6 +393,7 @@ struct FChannelMediaOptions public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); + public Optional<bool> publishLipSyncTrack = new Optional<bool>(); public Optional<bool> autoSubscribeAudio = new Optional<bool>(); public Optional<bool> autoSubscribeVideo = new Optional<bool>(); public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); @@ -442,6 +445,8 @@ struct FChannelMediaOptions publishTranscodedVideoTrack?: boolean; + publishLipSyncTrack?: boolean; + autoSubscribeAudio?: boolean; autoSubscribeVideo?: boolean; @@ -491,6 +496,8 @@ class ChannelMediaOptions { this.publishMediaPlayerAudioTrack, this.publishMediaPlayerVideoTrack, this.publishTranscodedVideoTrack, + this.publishMixedAudioTrack, + this.publishLipSyncTrack, this.autoSubscribeAudio, this.autoSubscribeVideo, this.enableAudioRecordingOrPlayout, @@ -506,117 +513,755 @@ class ChannelMediaOptions { this.publishRhythmPlayerTrack, this.isInteractiveAudience, this.customVideoTrackId, - this.isAudioFilterable}); + this.isAudioFilterable, + this.parameters}); - @JsonKey(name: 'publishCameraTrack') + @JsonKey(name: 'publishCameraTrack') final bool? publishCameraTrack; - @JsonKey(name: 'publishSecondaryCameraTrack') + @JsonKey(name: 'publishSecondaryCameraTrack') final bool? publishSecondaryCameraTrack; - @JsonKey(name: 'publishThirdCameraTrack') + @JsonKey(name: 'publishThirdCameraTrack') final bool? publishThirdCameraTrack; - @JsonKey(name: 'publishFourthCameraTrack') + @JsonKey(name: 'publishFourthCameraTrack') final bool? publishFourthCameraTrack; - @JsonKey(name: 'publishMicrophoneTrack') + @JsonKey(name: 'publishMicrophoneTrack') final bool? publishMicrophoneTrack; - @JsonKey(name: 'publishScreenCaptureVideo') + @JsonKey(name: 'publishScreenCaptureVideo') final bool? publishScreenCaptureVideo; - @JsonKey(name: 'publishScreenCaptureAudio') + @JsonKey(name: 'publishScreenCaptureAudio') final bool? publishScreenCaptureAudio; - @JsonKey(name: 'publishScreenTrack') + @JsonKey(name: 'publishScreenTrack') final bool? publishScreenTrack; - @JsonKey(name: 'publishSecondaryScreenTrack') + @JsonKey(name: 'publishSecondaryScreenTrack') final bool? publishSecondaryScreenTrack; - @JsonKey(name: 'publishThirdScreenTrack') + @JsonKey(name: 'publishThirdScreenTrack') final bool? publishThirdScreenTrack; - @JsonKey(name: 'publishFourthScreenTrack') + @JsonKey(name: 'publishFourthScreenTrack') final bool? publishFourthScreenTrack; - @JsonKey(name: 'publishCustomAudioTrack') + @JsonKey(name: 'publishCustomAudioTrack') final bool? publishCustomAudioTrack; - @JsonKey(name: 'publishCustomAudioTrackId') + @JsonKey(name: 'publishCustomAudioTrackId') final int? publishCustomAudioTrackId; - @JsonKey(name: 'publishCustomVideoTrack') + @JsonKey(name: 'publishCustomVideoTrack') final bool? publishCustomVideoTrack; - @JsonKey(name: 'publishEncodedVideoTrack') + @JsonKey(name: 'publishEncodedVideoTrack') final bool? publishEncodedVideoTrack; - @JsonKey(name: 'publishMediaPlayerAudioTrack') + @JsonKey(name: 'publishMediaPlayerAudioTrack') final bool? publishMediaPlayerAudioTrack; - @JsonKey(name: 'publishMediaPlayerVideoTrack') + @JsonKey(name: 'publishMediaPlayerVideoTrack') final bool? publishMediaPlayerVideoTrack; - @JsonKey(name: 'publishTranscodedVideoTrack') + @JsonKey(name: 'publishTranscodedVideoTrack') final bool? publishTranscodedVideoTrack; - @JsonKey(name: 'autoSubscribeAudio') + @JsonKey(name: 'publishMixedAudioTrack') + final bool? publishMixedAudioTrack; + + @JsonKey(name: 'autoSubscribeAudio') final bool? autoSubscribeAudio; - @JsonKey(name: 'autoSubscribeVideo') + @JsonKey(name: 'autoSubscribeVideo') final bool? autoSubscribeVideo; - @JsonKey(name: 'enableAudioRecordingOrPlayout') + @JsonKey(name: 'enableAudioRecordingOrPlayout') final bool? enableAudioRecordingOrPlayout; - @JsonKey(name: 'publishMediaPlayerId') + @JsonKey(name: 'publishMediaPlayerId') final int? publishMediaPlayerId; - @JsonKey(name: 'clientRoleType') + @JsonKey(name: 'clientRoleType') final ClientRoleType? clientRoleType; - @JsonKey(name: 'audienceLatencyLevel') + @JsonKey(name: 'audienceLatencyLevel') final AudienceLatencyLevelType? audienceLatencyLevel; - @JsonKey(name: 'defaultVideoStreamType') + @JsonKey(name: 'defaultVideoStreamType') final VideoStreamType? defaultVideoStreamType; - @JsonKey(name: 'channelProfile') + @JsonKey(name: 'channelProfile') final ChannelProfileType? channelProfile; - @JsonKey(name: 'audioDelayMs') + @JsonKey(name: 'audioDelayMs') final int? audioDelayMs; - @JsonKey(name: 'mediaPlayerAudioDelayMs') + @JsonKey(name: 'mediaPlayerAudioDelayMs') final int? mediaPlayerAudioDelayMs; - @JsonKey(name: 'token') + @JsonKey(name: 'token') final String? token; - @JsonKey(name: 'enableBuiltInMediaEncryption') + @JsonKey(name: 'enableBuiltInMediaEncryption') final bool? enableBuiltInMediaEncryption; - @JsonKey(name: 'publishRhythmPlayerTrack') + @JsonKey(name: 'publishRhythmPlayerTrack') final bool? publishRhythmPlayerTrack; - @JsonKey(name: 'isInteractiveAudience') + @JsonKey(name: 'isInteractiveAudience') final bool? isInteractiveAudience; - @JsonKey(name: 'customVideoTrackId') + @JsonKey(name: 'customVideoTrackId') final int? customVideoTrackId; - @JsonKey(name: 'isAudioFilterable') + @JsonKey(name: 'isAudioFilterable') final bool? isAudioFilterable; - factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => + @JsonKey(name: 'parameters') + final String? parameters; + + factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => _$ChannelMediaOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); + Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); }

-
+

+ public class ChannelMediaOptions { + public Boolean publishCameraTrack; + public Boolean publishSecondaryCameraTrack; + public Boolean publishThirdCameraTrack; + public Boolean publishFourthCameraTrack; + public Boolean publishMicrophoneTrack; + public Boolean publishScreenCaptureVideo; + public Boolean publishScreenCaptureAudio; + public Boolean publishCustomAudioTrack; + public Integer publishCustomAudioTrackId; + public Boolean publishCustomVideoTrack; + public Boolean publishEncodedVideoTrack; + public Boolean publishMediaPlayerAudioTrack; + public Boolean publishMediaPlayerVideoTrack; + public Boolean publishTranscodedVideoTrack; + public Boolean publishLipSyncTrack; + public Boolean autoSubscribeAudio; + public Boolean autoSubscribeVideo; + public Boolean enableAudioRecordingOrPlayout; + public Integer publishMediaPlayerId; + public Integer clientRoleType; + public Integer audienceLatencyLevel; + public Integer defaultVideoStreamType; + public Integer channelProfile; + public Integer mediaPlayerAudioDelayMs; + public String token; + public Boolean enableBuiltInMediaEncryption; + public Boolean publishRhythmPlayerTrack; + public Boolean isInteractiveAudience; + public Integer customVideoTrackId; + public Boolean isAudioFilterable; + } + export class ChannelMediaOptions { + + public publishCameraTrack?:boolean; + + public publishSecondaryCameraTrack?:boolean; + + public publishMicrophoneTrack?:boolean; + + public publishScreenCaptureVideo?:boolean; + + public publishScreenCaptureAudio?:boolean; + + public publishCustomAudioTrack?:boolean; + + public publishCustomAudioTrackId?:number; + + public publishCustomVideoTrack?:boolean; + + public publishEncodedVideoTrack?:boolean; + + public publishMediaPlayerAudioTrack?:boolean; + + public publishMediaPlayerVideoTrack?:boolean; + + public publishTranscodedVideoTrack?:boolean; + + public publishMixedAudioTrack?:boolean; + + public autoSubscribeAudio?:boolean; + + public autoSubscribeVideo?:boolean; + + public enableAudioRecordingOrPlayout?:boolean; + + public publishMediaPlayerId?:number; + + public clientRoleType?:number; + + public audienceLatencyLevel?:number; + + public defaultVideoStreamType?:number; + + public channelProfile?:number; + + public audioDelayMs?:number; + + public mediaPlayerAudioDelayMs?:number; + + public enableBuiltInMediaEncryption?:boolean; + + public publishRhythmPlayerTrack?:boolean; + + public isInteractiveAudience?:boolean; + + public customVideoTrackId?:number; + + public isAudioFilterable?:boolean; + + public startPreview?:boolean; + public constructor() { + } + } + __attribute__((visibility("default"))) @interface AgoraRtcChannelMediaOptions : NSObject + @property(assign, nonatomic) BOOL publishCameraTrack; + @property(assign, nonatomic) BOOL publishSecondaryCameraTrack; + @property(assign, nonatomic) BOOL publishMicrophoneTrack; + #if TARGET_OS_IPHONE + @property(assign, nonatomic) BOOL publishScreenCaptureVideo; + @property(assign, nonatomic) BOOL publishScreenCaptureAudio; + #elif TARGET_OS_MAC + @property(assign, nonatomic) BOOL publishThirdCameraTrack; + @property(assign, nonatomic) BOOL publishFourthCameraTrack; + @property(assign, nonatomic) BOOL publishScreenTrack; + @property(assign, nonatomic) BOOL publishSecondaryScreenTrack; + @property(assign, nonatomic) BOOL publishThirdScreenTrack; + @property(assign, nonatomic) BOOL publishFourthScreenTrack; + #endif + @property(assign, nonatomic) BOOL publishCustomAudioTrack; + @property(assign, nonatomic) NSInteger publishCustomAudioTrackId; + + @property(assign, nonatomic) BOOL publishCustomVideoTrack; + @property(assign, nonatomic) BOOL publishEncodedVideoTrack; + @property(assign, nonatomic) BOOL publishMediaPlayerAudioTrack; + @property(assign, nonatomic) BOOL publishMediaPlayerVideoTrack; + @property(assign, nonatomic) BOOL publishTranscodedVideoTrack; + @property(assign, nonatomic) BOOL publishLipSyncTrack; + @property(assign, nonatomic) BOOL autoSubscribeAudio; + @property(assign, nonatomic) BOOL autoSubscribeVideo; + @property(assign, nonatomic) BOOL enableAudioRecordingOrPlayout; + @property(assign, nonatomic) NSInteger publishMediaPlayerId; + @property(assign, nonatomic) AgoraClientRole clientRoleType; + @property(assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; + @property(assign, nonatomic) AgoraVideoStreamType defaultVideoStreamType; + @property(assign, nonatomic) AgoraChannelProfile channelProfile; + @property(copy, nonatomic) NSString * _Nullable token; + @property(assign, nonatomic) BOOL enableBuiltInMediaEncryption; + + @property(assign, nonatomic) BOOL publishRhythmPlayerTrack; + @property(assign, nonatomic) BOOL isInteractiveAudience; + + @property(assign, nonatomic) NSInteger customVideoTrackId; + + @property(assign, nonatomic) BOOL isAudioFilterable; + + @end + struct ChannelMediaOptions { + Optional<bool> publishCameraTrack; + Optional<bool> publishSecondaryCameraTrack; + Optional<bool> publishThirdCameraTrack; + Optional<bool> publishFourthCameraTrack; + Optional<bool> publishMicrophoneTrack; + + #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) + Optional<bool> publishScreenCaptureVideo; + Optional<bool> publishScreenCaptureAudio; + #else + Optional<bool> publishScreenTrack; + Optional<bool> publishSecondaryScreenTrack; + Optional<bool> publishThirdScreenTrack; + Optional<bool> publishFourthScreenTrack; + #endif + + Optional<bool> publishCustomAudioTrack; + Optional<int> publishCustomAudioTrackId; + Optional<bool> publishCustomVideoTrack; + Optional<bool> publishEncodedVideoTrack; + Optional<bool> publishMediaPlayerAudioTrack; + Optional<bool> publishMediaPlayerVideoTrack; + Optional<bool> publishTranscodedVideoTrack; + Optional<bool> publishLipSyncTrack; + Optional<bool> autoSubscribeAudio; + Optional<bool> autoSubscribeVideo; + Optional<bool> enableAudioRecordingOrPlayout; + Optional<int> publishMediaPlayerId; + Optional<CLIENT_ROLE_TYPE> clientRoleType; + Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel; + Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType; + Optional<CHANNEL_PROFILE_TYPE> channelProfile; + Optional<const char*> token; + Optional<bool> enableBuiltInMediaEncryption; + Optional<bool> publishRhythmPlayerTrack; + Optional<bool> isInteractiveAudience; + + Optional<video_track_id_t> customVideoTrackId; + + Optional<bool> isAudioFilterable; + + ChannelMediaOptions() {} + ~ChannelMediaOptions() {} + USTRUCT(BlueprintType) + struct FChannelMediaOptions + { + GENERATED_BODY() + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishCameraTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishSecondaryCameraTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishMicrophoneTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishScreenCaptureVideo; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishScreenCaptureAudio; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishScreenTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishSecondaryScreenTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishCustomAudioTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool publishCustomAudioTrackId_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int publishCustomAudioTrackId; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishCustomVideoTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishEncodedVideoTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishMediaPlayerAudioTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishMediaPlayerVideoTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishTranscodedVideoTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL autoSubscribeAudio; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL autoSubscribeVideo; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL enableAudioRecordingOrPlayout; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool publishMediaPlayerId_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int publishMediaPlayerId; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool clientRoleType_SetValue = true; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + ECLIENT_ROLE_TYPE clientRoleType = ECLIENT_ROLE_TYPE::CLIENT_ROLE_BROADCASTER; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool audienceLatencyLevel_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool defaultVideoStreamType_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EVIDEO_STREAM_TYPE defaultVideoStreamType; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool channelProfile_SetValue = true; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + ECHANNEL_PROFILE_TYPE channelProfile = ECHANNEL_PROFILE_TYPE::CHANNEL_PROFILE_LIVE_BROADCASTING; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool audioDelayMs_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int audioDelayMs; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool mediaPlayerAudioDelayMs_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int mediaPlayerAudioDelayMs; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool token_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + FString token; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL enableBuiltInMediaEncryption; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL publishRhythmPlayerTrack; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL isInteractiveAudience; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool customVideoTrackId_SetValue; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int64 customVideoTrackId; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + AGORAOPTIONAL isAudioFilterable; + }; + struct ChannelMediaOptions { + Optional<bool> publishCameraTrack; + Optional<bool> publishSecondaryCameraTrack; + Optional<bool> publishMicrophoneTrack; + + #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) + Optional<bool> publishScreenCaptureVideo; + Optional<bool> publishScreenCaptureAudio; + #else + Optional<bool> publishScreenTrack; + Optional<bool> publishSecondaryScreenTrack; + #endif + + Optional<bool> publishCustomAudioTrack; + Optional<int> publishCustomAudioTrackId; + Optional<bool> publishCustomVideoTrack; + Optional<bool> publishEncodedVideoTrack; + Optional<bool> publishMediaPlayerAudioTrack; + Optional<bool> publishMediaPlayerVideoTrack; + Optional<bool> publishTranscodedVideoTrack; + Optional<bool> autoSubscribeAudio; + Optional<bool> autoSubscribeVideo; + Optional<bool> enableAudioRecordingOrPlayout; + Optional<int> publishMediaPlayerId; + Optional<CLIENT_ROLE_TYPE> clientRoleType; + Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel; + Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType; + Optional<CHANNEL_PROFILE_TYPE> channelProfile; + Optional<const char*> token; + Optional<bool> enableBuiltInMediaEncryption; + Optional<bool> publishRhythmPlayerTrack; + Optional<bool> isInteractiveAudience; + + Optional<video_track_id_t> customVideoTrackId; + + Optional<bool> isAudioFilterable; + + ChannelMediaOptions() {} + ~ChannelMediaOptions() {} + export class ChannelMediaOptions { + + publishCameraTrack?: boolean; + + publishSecondaryCameraTrack?: boolean; + + publishThirdCameraTrack?: boolean; + + publishFourthCameraTrack?: boolean; + + publishMicrophoneTrack?: boolean; + + publishScreenTrack?: boolean; + + publishSecondaryScreenTrack?: boolean; + + publishThirdScreenTrack?: boolean; + + publishFourthScreenTrack?: boolean; + + publishCustomAudioTrack?: boolean; + + publishCustomAudioTrackId?: number; + + publishCustomVideoTrack?: boolean; + + publishEncodedVideoTrack?: boolean; + + publishMediaPlayerAudioTrack?: boolean; + + publishMediaPlayerVideoTrack?: boolean; + + publishTranscodedVideoTrack?: boolean; + + publishLipSyncTrack?: boolean; + + autoSubscribeAudio?: boolean; + + autoSubscribeVideo?: boolean; + + enableAudioRecordingOrPlayout?: boolean; + + publishMediaPlayerId?: number; + + clientRoleType?: ClientRoleType; + + audienceLatencyLevel?: AudienceLatencyLevelType; + + defaultVideoStreamType?: VideoStreamType; + + channelProfile?: ChannelProfileType; + + token?: string; + + enableBuiltInMediaEncryption?: boolean; + + publishRhythmPlayerTrack?: boolean; + + isInteractiveAudience?: boolean; + + customVideoTrackId?: number; + + isAudioFilterable?: boolean; + } + public class ChannelMediaOptions : OptionalJsonParse + { + public Optional<bool> publishCameraTrack = new Optional<bool>(); + public Optional<bool> publishSecondaryCameraTrack = new Optional<bool>(); + public Optional<bool> publishThirdCameraTrack = new Optional<bool>(); + public Optional<bool> publishFourthCameraTrack = new Optional<bool>(); + public Optional<bool> publishMicrophoneTrack = new Optional<bool>(); + public Optional<bool> publishScreenCaptureVideo = new Optional<bool>(); + public Optional<bool> publishScreenCaptureAudio = new Optional<bool>(); + public Optional<bool> publishScreenTrack = new Optional<bool>(); + public Optional<bool> publishSecondaryScreenTrack = new Optional<bool>(); + public Optional<bool> publishThirdScreenTrack = new Optional<bool>(); + public Optional<bool> publishFourthScreenTrack = new Optional<bool>(); + public Optional<bool> publishCustomAudioTrack = new Optional<bool>(); + public Optional<int> publishCustomAudioTrackId = new Optional<int>(); + public Optional<bool> publishCustomVideoTrack = new Optional<bool>(); + public Optional<bool> publishEncodedVideoTrack = new Optional<bool>(); + public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); + public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); + public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); + public Optional<bool> publishLipSyncTrack = new Optional<bool>(); + public Optional<bool> autoSubscribeAudio = new Optional<bool>(); + public Optional<bool> autoSubscribeVideo = new Optional<bool>(); + public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); + public Optional<int> publishMediaPlayerId = new Optional<int>(); + public Optional<CLIENT_ROLE_TYPE> clientRoleType = new Optional<CLIENT_ROLE_TYPE>(); + public Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel = new Optional<AUDIENCE_LATENCY_LEVEL_TYPE>(); + public Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType = new Optional<VIDEO_STREAM_TYPE>(); + public Optional<CHANNEL_PROFILE_TYPE> channelProfile = new Optional<CHANNEL_PROFILE_TYPE>(); + public Optional<string> token = new Optional<string>(); + public Optional<bool> publishRhythmPlayerTrack = new Optional<bool>(); + public Optional<bool> isInteractiveAudience = new Optional<bool>(); + public Optional<video_track_id_t> customVideoTrackId = new Optional<video_track_id_t>(); + public Optional<bool> isAudioFilterable = new Optional<bool>(); + + } + export class ChannelMediaOptions { + + publishCameraTrack?: boolean; + + publishSecondaryCameraTrack?: boolean; + + publishThirdCameraTrack?: boolean; + + publishFourthCameraTrack?: boolean; + + publishMicrophoneTrack?: boolean; + + publishScreenCaptureVideo?: boolean; + + publishScreenCaptureAudio?: boolean; + + publishSecondaryScreenTrack?: boolean; + + publishThirdScreenTrack?: boolean; + + publishFourthScreenTrack?: boolean; + + publishCustomAudioTrack?: boolean; + + publishCustomAudioTrackId?: number; + + publishCustomVideoTrack?: boolean; + + publishEncodedVideoTrack?: boolean; + + publishMediaPlayerAudioTrack?: boolean; + + publishMediaPlayerVideoTrack?: boolean; + + publishTranscodedVideoTrack?: boolean; + + publishLipSyncTrack?: boolean; + + autoSubscribeAudio?: boolean; + + autoSubscribeVideo?: boolean; + + enableAudioRecordingOrPlayout?: boolean; + + publishMediaPlayerId?: number; + + clientRoleType?: ClientRoleType; + + audienceLatencyLevel?: AudienceLatencyLevelType; + + defaultVideoStreamType?: VideoStreamType; + + channelProfile?: ChannelProfileType; + + token?: string; + + enableBuiltInMediaEncryption?: boolean; + + publishRhythmPlayerTrack?: boolean; + + isInteractiveAudience?: boolean; + + customVideoTrackId?: number; + + isAudioFilterable?: boolean; + } + @JsonSerializable(explicitToJson: true, includeIfNull: false) + class ChannelMediaOptions { + const ChannelMediaOptions( + {this.publishCameraTrack, + this.publishSecondaryCameraTrack, + this.publishThirdCameraTrack, + this.publishFourthCameraTrack, + this.publishMicrophoneTrack, + this.publishScreenCaptureVideo, + this.publishScreenCaptureAudio, + this.publishScreenTrack, + this.publishSecondaryScreenTrack, + this.publishThirdScreenTrack, + this.publishFourthScreenTrack, + this.publishCustomAudioTrack, + this.publishCustomAudioTrackId, + this.publishCustomVideoTrack, + this.publishEncodedVideoTrack, + this.publishMediaPlayerAudioTrack, + this.publishMediaPlayerVideoTrack, + this.publishTranscodedVideoTrack, + this.publishMixedAudioTrack, + this.publishLipSyncTrack, + this.autoSubscribeAudio, + this.autoSubscribeVideo, + this.enableAudioRecordingOrPlayout, + this.publishMediaPlayerId, + this.clientRoleType, + this.audienceLatencyLevel, + this.defaultVideoStreamType, + this.channelProfile, + this.audioDelayMs, + this.mediaPlayerAudioDelayMs, + this.token, + this.enableBuiltInMediaEncryption, + this.publishRhythmPlayerTrack, + this.isInteractiveAudience, + this.customVideoTrackId, + this.isAudioFilterable, + this.parameters}); + + @JsonKey(name: 'publishCameraTrack') + final bool? publishCameraTrack; + + @JsonKey(name: 'publishSecondaryCameraTrack') + final bool? publishSecondaryCameraTrack; + + @JsonKey(name: 'publishThirdCameraTrack') + final bool? publishThirdCameraTrack; + + @JsonKey(name: 'publishFourthCameraTrack') + final bool? publishFourthCameraTrack; + + @JsonKey(name: 'publishMicrophoneTrack') + final bool? publishMicrophoneTrack; + + @JsonKey(name: 'publishScreenCaptureVideo') + final bool? publishScreenCaptureVideo; + + @JsonKey(name: 'publishScreenCaptureAudio') + final bool? publishScreenCaptureAudio; + + @JsonKey(name: 'publishScreenTrack') + final bool? publishScreenTrack; + + @JsonKey(name: 'publishSecondaryScreenTrack') + final bool? publishSecondaryScreenTrack; + + @JsonKey(name: 'publishThirdScreenTrack') + final bool? publishThirdScreenTrack; + + @JsonKey(name: 'publishFourthScreenTrack') + final bool? publishFourthScreenTrack; + + @JsonKey(name: 'publishCustomAudioTrack') + final bool? publishCustomAudioTrack; + + @JsonKey(name: 'publishCustomAudioTrackId') + final int? publishCustomAudioTrackId; + + @JsonKey(name: 'publishCustomVideoTrack') + final bool? publishCustomVideoTrack; + + @JsonKey(name: 'publishEncodedVideoTrack') + final bool? publishEncodedVideoTrack; + + @JsonKey(name: 'publishMediaPlayerAudioTrack') + final bool? publishMediaPlayerAudioTrack; + + @JsonKey(name: 'publishMediaPlayerVideoTrack') + final bool? publishMediaPlayerVideoTrack; + + @JsonKey(name: 'publishTranscodedVideoTrack') + final bool? publishTranscodedVideoTrack; + + @JsonKey(name: 'publishMixedAudioTrack') + final bool? publishMixedAudioTrack; + + @JsonKey(name: 'publishLipSyncTrack') + final bool? publishLipSyncTrack; + + @JsonKey(name: 'autoSubscribeAudio') + final bool? autoSubscribeAudio; + + @JsonKey(name: 'autoSubscribeVideo') + final bool? autoSubscribeVideo; + + @JsonKey(name: 'enableAudioRecordingOrPlayout') + final bool? enableAudioRecordingOrPlayout; + + @JsonKey(name: 'publishMediaPlayerId') + final int? publishMediaPlayerId; + + @JsonKey(name: 'clientRoleType') + final ClientRoleType? clientRoleType; + + @JsonKey(name: 'audienceLatencyLevel') + final AudienceLatencyLevelType? audienceLatencyLevel; + + @JsonKey(name: 'defaultVideoStreamType') + final VideoStreamType? defaultVideoStreamType; + + @JsonKey(name: 'channelProfile') + final ChannelProfileType? channelProfile; + + @JsonKey(name: 'audioDelayMs') + final int? audioDelayMs; + + @JsonKey(name: 'mediaPlayerAudioDelayMs') + final int? mediaPlayerAudioDelayMs; + + @JsonKey(name: 'token') + final String? token; + + @JsonKey(name: 'enableBuiltInMediaEncryption') + final bool? enableBuiltInMediaEncryption; + + @JsonKey(name: 'publishRhythmPlayerTrack') + final bool? publishRhythmPlayerTrack; + + @JsonKey(name: 'isInteractiveAudience') + final bool? isInteractiveAudience; + + @JsonKey(name: 'customVideoTrackId') + final int? customVideoTrackId; + + @JsonKey(name: 'isAudioFilterable') + final bool? isAudioFilterable; + + @JsonKey(name: 'parameters') + final String? parameters; + + factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => + _$ChannelMediaOptionsFromJson(json); + + Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); + } +

+
SDK 支持在同一时间、同一 中发布多路音频流、一路视频流。例如,publishMicrophoneTrackpublishCustomAudioTrackpublishMediaPlayerAudioTrack 可以同时为 publishCameraTrackpublishScreenCaptureVideopublishScreenTrackpublishCustomVideoTrackpublishEncodedVideoTrack 之中同一时间只能有一个为 建议你根据业务场景自行设置成员参数值,否则 SDK 会自动对成员参数进行赋值。
diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita index e83098cd2d4..7e79c88f30a 100644 --- a/dita/RTC-NG/API/class_extensioncontext.dita +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -42,10 +42,71 @@ ExtensionContext():isValid(false), uid(0), providerName(NULL), extensionName(NULL) {} };
- - - -

+ export class ExtensionContext { + + isValid?: boolean; + + uid?: number; + + providerName?: string; + + extensionName?: string; +} + public class ExtensionContext + { + public bool isValid; + public uint uid; + public string providerName; + public string extensionName; + + public ExtensionContext() + { + this.isValid = false; + this.uid = 0; + this.providerName = ""; + this.extensionName = ""; + } + + public ExtensionContext(bool isValid, uint uid, string providerName, string extensionName) + { + this.isValid = isValid; + this.uid = uid; + this.providerName = providerName; + this.extensionName = extensionName; + } + } + export class ExtensionContext { + + isValid?: boolean; + + uid?: number; + + providerName?: string; + + extensionName?: string; +} + @JsonSerializable(explicitToJson: true, includeIfNull: false) +class ExtensionContext { + const ExtensionContext( + {this.isValid, this.uid, this.providerName, this.extensionName}); + + @JsonKey(name: 'isValid') + final bool? isValid; + + @JsonKey(name: 'uid') + final int? uid; + + @JsonKey(name: 'providerName') + final String? providerName; + + @JsonKey(name: 'extensionName') + final String? extensionName; + + factory ExtensionContext.fromJson(Map<String, dynamic> json) => + _$ExtensionContextFromJson(json); + + Map<String, dynamic> toJson() => _$ExtensionContextToJson(this); +}

@@ -72,13 +133,13 @@ uid 用户 ID。0 代表本地用户,大于 0 代表远端用户。 - - - + + providerName + 提供插件的服务商名称。 - - - + + extensionName + 插件的名称。
diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 7e663e8ddb7..ba637e42536 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -20,7 +20,7 @@ public static final int BUFFER_TYPE_ARRAY = 2; public static final int BUFFER_TYPE_TEXTURE = 3; public AgoraVideoFrame() { - format = 10; + format = 10; timeStamp = 0; stride = 0; height = 0; @@ -46,7 +46,7 @@ public float[] transform; public javax.microedition.khronos.egl.EGLContext eglContext10; public android.opengl.EGLContext eglContext14; - + public byte[] buf; public int cropLeft; public int cropTop; @@ -67,20 +67,20 @@ __attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; -@property(assign, nonatomic) CMTime time; +@property(assign, nonatomic) CMTime time; @property(assign, nonatomic) int stride DEPRECATED_MSG_ATTRIBUTE("use strideInPixels instead"); -@property(assign, nonatomic) int strideInPixels; -@property(assign, nonatomic) int height; +@property(assign, nonatomic) int strideInPixels; +@property(assign, nonatomic) int height; @property(assign, nonatomic) CVPixelBufferRef _Nullable textureBuf; @property(strong, nonatomic) IMAGE_CLASS * _Nullable image; -@property(strong, nonatomic) NSData *_Nullable dataBuf; +@property(strong, nonatomic) NSData *_Nullable dataBuf; @property(strong, nonatomic) NSData *_Nullable alphaBuf; @property(assign, nonatomic) AgoraAlphaStitchMode alphaStitchMode; -@property(assign, nonatomic) int cropLeft; -@property(assign, nonatomic) int cropTop; -@property(assign, nonatomic) int cropRight; -@property(assign, nonatomic) int cropBottom; -@property(assign, nonatomic) int rotation; +@property(assign, nonatomic) int cropLeft; +@property(assign, nonatomic) int cropTop; +@property(assign, nonatomic) int cropRight; +@property(assign, nonatomic) int cropBottom; +@property(assign, nonatomic) int rotation; - (void)fillAlphaData; @end struct ExternalVideoFrame { @@ -153,8 +153,13 @@ eglType?: EglContextType; textureId?: number; matrix?: number[]; - metadata_buffer?: Uint8Array; - metadata_size?: number; + metadataBuffer?: Uint8Array; + metadataSize?: number; + alphaBuffer?: Uint8Array; + fillAlphaBuffer?: boolean; + alphaStitchMode?: AlphaStitchMode; + d3d11Texture2d?: any; + textureSliceIndex?: number; } public class ExternalVideoFrame { @@ -172,8 +177,11 @@ public byte[] eglContext; public EGL_CONTEXT_TYPE eglType; public int textureId; - public byte[] metadata_buffer; - public int metadata_size; + public byte[] metadataBuffer; + public int metadataSize; + public byte[] alphaBuffer; + public bool fillAlphaBuffer; + public ALPHA_STITCH_MODE alphaStitchMode; public IntPtr d3d11_texture_2d; public int texture_slice_index; }; @@ -192,8 +200,11 @@ eglType?: EglContextType; textureId?: number; matrix?: number[]; - metadata_buffer?: Uint8Array; - metadata_size?: number; + metadataBuffer?: Uint8Array; + metadataSize?: number; + alphaBuffer?: Uint8Array; + fillAlphaBuffer?: boolean; + alphaStitchMode?: AlphaStitchMode; }
@JsonSerializable(explicitToJson: true, includeIfNull: false) class ExternalVideoFrame { @@ -215,6 +226,9 @@ class ExternalVideoFrame { this.metadataBuffer, this.metadataSize, this.alphaBuffer, + this.fillAlphaBuffer, + this.alphaStitchMode, + this.d3d11Texture2d, this.textureSliceIndex}); @JsonKey(name: 'type') @@ -259,16 +273,25 @@ class ExternalVideoFrame { @JsonKey(name: 'matrix') final List<double>? matrix; - @JsonKey(name: 'metadata_buffer', ignore: true) + @JsonKey(name: 'metadataBuffer', ignore: true) final Uint8List? metadataBuffer; - @JsonKey(name: 'metadata_size') + @JsonKey(name: 'metadataSize') final int? metadataSize; @JsonKey(name: 'alphaBuffer', ignore: true) final Uint8List? alphaBuffer; - @JsonKey(name: 'texture_slice_index') + @JsonKey(name: 'fillAlphaBuffer') + final bool? fillAlphaBuffer; + + @JsonKey(name: 'alphaStitchMode') + final AlphaStitchMode? alphaStitchMode; + + @JsonKey(name: 'd3d11Texture2d', readValue: readIntPtr) + final int? d3d11Texture2d; + + @JsonKey(name: 'textureSliceIndex') final int? textureSliceIndex; factory ExternalVideoFrame.fromJson(Map<String, dynamic> json) => @@ -297,7 +320,7 @@ class ExternalVideoFrame { id="windows-format">像素格式。详见 传入的视频帧的格式,必须指定为下面的某一个值: - +
  • 1: I420。
  • 2: BGRA。
  • @@ -310,7 +333,7 @@ class ExternalVideoFrame {
  • 16: I422。
视频数据的格式: - +
  • 10:TEXTURE_2D。
  • 11:TEXTURE_OES,通常摄像头采集的数据为这种格式。
  • @@ -335,7 +358,7 @@ class ExternalVideoFrame { stride 传入视频帧的行间距,单位为像素而不是字节。对于 Texture,该值指的是 Texture 的宽度。 - +

    @@ -350,7 +373,7 @@ class ExternalVideoFrame { strideInPixels 该帧的行跨度,即相邻两行视频帧之间的像素点数。 - +
    • 该参数单位为像素,不是字节数。
    • @@ -408,32 +431,30 @@ class ExternalVideoFrame { 该参数仅适用于 Texture 格式的视频数据。为一个输入的 4x4 变换矩阵,典型值为一个单位矩阵。 - metadata_buffer - metadataBuffer + metadataBuffer 该参数仅适用于 Texture 格式的视频数据。指 MetaData 的数据缓冲区,默认值为 NULL - metadata_size - metadataSize + metadataSize 该参数仅适用于 Texture 格式的视频数据。指 MetaData 的大小,默认值为 0 - - - - + + d3d11Texture2d + 该参数仅适用于 Windows Texture 格式的视频数据。表示一个指向 ID3D11Texture2D 类型对象的指针,该类型对象被视频帧所使用。 + - alphaBuffer + alphaBuffer alphaBuf

      采用人像分割算法输出的 Alpha 通道数据。该数据跟视频帧的尺寸一致,每个像素点的取值范围为 [0,255],其中 0 代表背景;255 代表前景(人像)。

      你可以通过设置该参数,实现将视频背景自渲染为各种效果,例如:透明、纯色、图片、视频等。

      - 在自定义视频渲染场景下,需确保传入的视频帧和 alphaBuffer 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。 + 在自定义视频渲染场景下,需确保传入的视频帧和 alphaBuffer 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。
      - fillAlphaBuffer + fillAlphaBuffer fillAlphaData - 该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 Alpha 通道数据并自动填入到 alphaBuffer 中: + 该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 Alpha 通道数据并自动填入到 alphaBuffer 中:
      • :提取并填充 Alpha 通道数据。
      • :(默认)不提取填充 Alpha 通道数据。
      • diff --git a/dita/RTC-NG/API/class_metadata.dita b/dita/RTC-NG/API/class_metadata.dita index 1ac893c186b..00f81d9970c 100644 --- a/dita/RTC-NG/API/class_metadata.dita +++ b/dita/RTC-NG/API/class_metadata.dita @@ -57,58 +57,67 @@ struct FAgoraMetadata }; public class Metadata { + public string channelId; public uint uid; public uint size; + public IntPtr buffer; + public long timeStampMs; - public IntPtr buffer + public Metadata() { - set - { - _buffer = (UInt64)value; - } - get - { - return (IntPtr)_buffer; - } + this.channelId = ""; + this.uid = 0; + this.size = 0; + this.buffer = IntPtr.Zero; + this.timeStampMs = 0; } - private UInt64 _buffer; - - public long timeStampMs; - }; + public Metadata(string channelId, uint uid, uint size, IntPtr buffer, long timeStampMs) + { + this.channelId = channelId; + this.uid = uid; + this.size = size; + this.buffer = buffer; + this.timeStampMs = timeStampMs; + } + } export class Metadata { - + channelId?: string; uid?: number; - size?: number; - buffer?: Uint8Array; - timeStampMs?: number; } export class Metadata { - + channelId?: string; uid?: number; - size?: number; - buffer?: Uint8Array; - timeStampMs?: number; } - class Metadata { - const Metadata({this.uid, this.size, this.buffer, this.timeStampMs}); + @JsonSerializable(explicitToJson: true, includeIfNull: false) +class Metadata { + const Metadata( + {this.channelId, this.uid, this.size, this.buffer, this.timeStampMs}); + + @JsonKey(name: 'channelId') + final String? channelId; @JsonKey(name: 'uid') final int? uid; + @JsonKey(name: 'size') final int? size; + @JsonKey(name: 'buffer', ignore: true) final Uint8List? buffer; + @JsonKey(name: 'timeStampMs') final int? timeStampMs; + factory Metadata.fromJson(Map<String, dynamic> json) => _$MetadataFromJson(json); + Map<String, dynamic> toJson() => _$MetadataToJson(this); }

        diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 329f1fbc6e2..d1cf26dfd1d 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -135,7 +135,7 @@ Unspecified(2), BT470M(4), BT470BG(5), - kSMPTE170M(6), + kSMPTE170M(6), kSMPTE240M(7), kFILM(8), kBT2020(9), @@ -421,6 +421,10 @@ struct FVideoFrame { matrix?: number[]; + alphaBuffer?: Uint8Array; + + alphaStitchMode?: AlphaStitchMode; + }
        public class VideoFrame { @@ -462,7 +466,13 @@ struct FVideoFrame { public int textureId; + public IntPtr d3d11Texture2d; + public float[] matrix; + + public byte[] alphaBuffer; + + public ALPHA_STITCH_MODE alphaStitchMode; }; export class VideoFrame { @@ -498,6 +508,10 @@ struct FVideoFrame { matrix?: number[]; + alphaBuffer?: Uint8Array; + + alphaStitchMode?: AlphaStitchMode; + } @JsonSerializable(explicitToJson: true, includeIfNull: false) class VideoFrame { @@ -518,63 +532,76 @@ class VideoFrame { this.metadataSize, this.textureId, this.matrix, - this.pixelBuffer}); + this.alphaBuffer, + this.alphaStitchMode, + this.pixelBuffer, + this.metaInfo}); - @JsonKey(name: 'type') + @JsonKey(name: 'type') final VideoPixelFormat? type; - @JsonKey(name: 'width') + @JsonKey(name: 'width') final int? width; - @JsonKey(name: 'height') + @JsonKey(name: 'height') final int? height; - @JsonKey(name: 'yStride') + @JsonKey(name: 'yStride') final int? yStride; - @JsonKey(name: 'uStride') + @JsonKey(name: 'uStride') final int? uStride; - @JsonKey(name: 'vStride') + @JsonKey(name: 'vStride') final int? vStride; - @JsonKey(name: 'yBuffer', ignore: true) + @JsonKey(name: 'yBuffer', ignore: true) final Uint8List? yBuffer; - @JsonKey(name: 'uBuffer', ignore: true) + @JsonKey(name: 'uBuffer', ignore: true) final Uint8List? uBuffer; - @JsonKey(name: 'vBuffer', ignore: true) + @JsonKey(name: 'vBuffer', ignore: true) final Uint8List? vBuffer; - @JsonKey(name: 'rotation') + @JsonKey(name: 'rotation') final int? rotation; - @JsonKey(name: 'renderTimeMs') + @JsonKey(name: 'renderTimeMs') final int? renderTimeMs; - @JsonKey(name: 'avsync_type') + @JsonKey(name: 'avsync_type') final int? avsyncType; - @JsonKey(name: 'metadata_buffer', ignore: true) + @JsonKey(name: 'metadata_buffer', ignore: true) final Uint8List? metadataBuffer; - @JsonKey(name: 'metadata_size') + @JsonKey(name: 'metadata_size') final int? metadataSize; - @JsonKey(name: 'textureId') + @JsonKey(name: 'textureId') final int? textureId; - @JsonKey(name: 'matrix') - final List<double>? matrix; + @JsonKey(name: 'matrix') + final List<double>? matrix; + + @JsonKey(name: 'alphaBuffer', ignore: true) + final Uint8List? alphaBuffer; - @JsonKey(name: 'pixelBuffer', ignore: true) + @JsonKey(name: 'alphaStitchMode') + final AlphaStitchMode? alphaStitchMode; + + @JsonKey(name: 'pixelBuffer', ignore: true) final Uint8List? pixelBuffer; - factory VideoFrame.fromJson(Map<String, dynamic> json) => + @VideoFrameMetaInfoConverter() + @JsonKey(name: 'metaInfo') + final VideoFrameMetaInfo? metaInfo; + + factory VideoFrame.fromJson(Map<String, dynamic> json) => _$VideoFrameFromJson(json); - Map<String, dynamic> toJson() => _$VideoFrameToJson(this); + Map<String, dynamic> toJson() => _$VideoFrameToJson(this); }

        @@ -688,7 +715,7 @@ class VideoFrame { textureId 该参数仅适用于 Texture 格式的视频数据。Texture ID。 - + d3d11Texture2d 该参数仅适用于 Windows Texture 格式的视频数据。表示一个指向 ID3D11Texture2D 类型对象的指针,该类型对象被视频帧所使用。 @@ -718,17 +745,17 @@ class VideoFrame { 单个像素的宽高比,即每个像素宽度与高度的比值。 - alphaBuffer + alphaBuffer alphaBuf

        采用人像分割算法输出的 Alpha 通道数据。该数据跟视频帧的尺寸一致,每个像素点的取值范围为 [0,255],其中 0 代表背景;255 代表前景(人像)。

        你可以通过设置该参数,实现将视频背景自渲染为各种效果,例如:透明、纯色、图片、视频等。

        - 在自定义视频渲染场景下,需确保传入的视频帧和 alphaBuffer 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。 + 在自定义视频渲染场景下,需确保传入的视频帧和 alphaBuffer 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。
        alphaStitchMode - 当视频帧中包含 Alpha 通道数据时,设置 alphaBuffer 和视频帧的相对位置。详见 + 当视频帧中包含 Alpha 通道数据时,设置 alphaBuffer 和视频帧的相对位置。详见
        • (0):(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
        • (1):alphaBuffer 位于视频帧的上方。
        • diff --git a/dita/RTC-NG/API/enum_localvideostreamreason.dita b/dita/RTC-NG/API/enum_localvideostreamreason.dita index 211c688d266..a01bf08037b 100644 --- a/dita/RTC-NG/API/enum_localvideostreamreason.dita +++ b/dita/RTC-NG/API/enum_localvideostreamreason.dita @@ -128,9 +128,9 @@ 29:(仅适用于 Windows)屏幕采集已从暂停状态中恢复。 - + - 30:(仅适用于 Windows 和 macOS)进行屏幕采集的显示器已断开连接。 + 30:(仅适用于 Windows 和 macOS)进行屏幕采集的显示器已断开连接。 diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index fa698da4ddb..d52c798d28e 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -596,6 +596,7 @@
        • +
        • @@ -800,6 +801,7 @@
        • +
        • @@ -918,6 +920,7 @@
        • +
        • @@ -1038,6 +1041,7 @@
        • +
        • @@ -1125,6 +1129,7 @@
          Enum
            +
          • @@ -1262,7 +1267,6 @@
          • -
          • @@ -1362,268 +1366,269 @@
          • -
          -
            -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • +
          +
            +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
            -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • -
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
          • +
            +
          • @@ -1711,6 +1716,7 @@
          • +
          • @@ -1758,11 +1764,11 @@
          • -
          • +
          • @@ -1895,7 +1901,6 @@
          • -
          • @@ -1905,6 +1910,7 @@
            +
          • @@ -1987,6 +1993,7 @@
          • +
          • @@ -2033,15 +2040,16 @@
          • -
          • +
            +
          • @@ -2125,6 +2133,7 @@
          • +
          • @@ -2171,15 +2180,16 @@
          • -
          • +
            +
          • @@ -2264,6 +2274,7 @@
          • +
          • @@ -2310,11 +2321,11 @@
          • -
          • +
          • diff --git a/dita/RTC-NG/RTC_NG_API_Electron.ditamap b/dita/RTC-NG/RTC_NG_API_Electron.ditamap index 084c9588506..715d31e56c6 100644 --- a/dita/RTC-NG/RTC_NG_API_Electron.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Electron.ditamap @@ -156,6 +156,7 @@ + @@ -518,6 +519,7 @@ + @@ -534,6 +536,7 @@ + @@ -674,10 +677,10 @@ - - - - + + + + @@ -701,8 +704,6 @@ - - diff --git a/dita/RTC-NG/RTC_NG_API_Flutter.ditamap b/dita/RTC-NG/RTC_NG_API_Flutter.ditamap index a0112c1a085..45aa0e30ca7 100644 --- a/dita/RTC-NG/RTC_NG_API_Flutter.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Flutter.ditamap @@ -160,6 +160,7 @@ + @@ -522,6 +523,7 @@ + @@ -538,6 +540,7 @@ + @@ -702,10 +705,10 @@ - - - - + + + + @@ -730,8 +733,6 @@ - - diff --git a/dita/RTC-NG/RTC_NG_API_RN.ditamap b/dita/RTC-NG/RTC_NG_API_RN.ditamap index f53dc13cc86..43b7a0febd2 100644 --- a/dita/RTC-NG/RTC_NG_API_RN.ditamap +++ b/dita/RTC-NG/RTC_NG_API_RN.ditamap @@ -153,6 +153,7 @@ + @@ -514,6 +515,7 @@ + @@ -530,6 +532,7 @@ + @@ -662,10 +665,10 @@ - - - - + + + + @@ -689,8 +692,6 @@ - - diff --git a/dita/RTC-NG/RTC_NG_API_Unity.ditamap b/dita/RTC-NG/RTC_NG_API_Unity.ditamap index 4261d8cddb9..d49f50f0632 100644 --- a/dita/RTC-NG/RTC_NG_API_Unity.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Unity.ditamap @@ -149,6 +149,7 @@ + @@ -448,7 +449,6 @@ - @@ -522,6 +522,7 @@ + @@ -537,6 +538,7 @@ + @@ -714,10 +716,10 @@ - - - - + + + + @@ -742,8 +744,6 @@ - - @@ -752,8 +752,6 @@ - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index c56ea6e11c7..bf4073b8d0e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -12500,510 +12500,6 @@ - - - - VIDEO_PROFILE_TYPE - - - - - - - VIDEO_PROFILE_LANDSCAPE_120P - - - - - - - VIDEO_PROFILE_LANDSCAPE_120P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_180P - - - - - - - VIDEO_PROFILE_LANDSCAPE_180P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_180P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_240P - - - - - - - VIDEO_PROFILE_LANDSCAPE_240P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_240P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_6 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_7 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_8 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_9 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_10 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_11 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_6 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_8 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_9 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_10 - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P_5 - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P_6 - - - - - - - VIDEO_PROFILE_LANDSCAPE_1080P - - - - - - - VIDEO_PROFILE_LANDSCAPE_1080P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_1080P_5 - - - - - - - VIDEO_PROFILE_LANDSCAPE_1440P - - - - - - - VIDEO_PROFILE_LANDSCAPE_1440P_2 - - - - - - - VIDEO_PROFILE_LANDSCAPE_4K - - - - - - - VIDEO_PROFILE_LANDSCAPE_4K_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_120P - - - - - - - VIDEO_PROFILE_PORTRAIT_120P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_180P - - - - - - - VIDEO_PROFILE_PORTRAIT_180P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_180P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_240P - - - - - - - VIDEO_PROFILE_PORTRAIT_240P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_240P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_6 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_7 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_8 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_9 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_10 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_11 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_6 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_8 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_9 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_10 - - - - - - - VIDEO_PROFILE_PORTRAIT_720P - - - - - - - VIDEO_PROFILE_PORTRAIT_720P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_720P_5 - - - - - - - VIDEO_PROFILE_PORTRAIT_720P_6 - - - - - - - VIDEO_PROFILE_PORTRAIT_1080P - - - - - - - VIDEO_PROFILE_PORTRAIT_1080P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_1080P_5 - - - - - - - VIDEO_PROFILE_PORTRAIT_1440P - - - - - - - VIDEO_PROFILE_PORTRAIT_1440P_2 - - - - - - - VIDEO_PROFILE_PORTRAIT_4K - - - - - - - VIDEO_PROFILE_PORTRAIT_4K_3 - - - - - - - VIDEO_PROFILE_DEFAULT - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap index 179ba56dd04..4af0e354d1b 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap @@ -1870,6 +1870,13 @@ + + + + enableVoiceAITuner + + + @@ -2582,31 +2589,31 @@ - + - onExtensionEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -2695,20 +2702,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - @@ -3059,6 +3052,13 @@ + + + + destroyMusicPlayer + + + @@ -3177,6 +3177,34 @@ kMusicContentCenterReasonHttpInternalError + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + @@ -3185,13 +3213,6 @@ - - - - onSongSimpleInfoResult - - - @@ -3213,6 +3234,13 @@ + + + + onSongSimpleInfoResult + + + @@ -3297,6 +3325,13 @@ + + + + setPlayMode + + + @@ -4778,6 +4813,13 @@ + + + + ExtensionContext + + + @@ -5284,6 +5326,48 @@ + + + + AlphaStitchMode + + + + + + + NoAlphaStitch + + + + + + + AlphaStitchUp + + + + + + + AlphaStitchBelow + + + + + + + AlphaStitchLeft + + + + + + + AlphaStitchRight + + + @@ -8700,7 +8784,14 @@ - + + + + LocalVideoStreamReasonScreenCaptureDisplayDisconnected + + + + LocalVideoStreamState @@ -10709,6 +10800,13 @@ + + + + ApplicationScenario1v1 + + + @@ -11395,591 +11493,164 @@ - - - - VideoProfileType - - - - - - - VideoProfileLandscape120p - - - - - - - VideoProfileLandscape120p3 - - - - - - - VideoProfileLandscape180p - - - - - - - VideoProfileLandscape180p3 - - - - - - - VideoProfileLandscape180p4 - - - - - - - VideoProfileLandscape240p - - - - - - - VideoProfileLandscape240p3 - - - - - - - VideoProfileLandscape240p4 - - - - - - - VideoProfileLandscape360p - - - - - - - VideoProfileLandscape360p3 - - - - - - - VideoProfileLandscape360p4 - - - - - - - VideoProfileLandscape360p6 - - - - - - - VideoProfileLandscape360p7 - - - - - - - VideoProfileLandscape360p8 - - - - - - - VideoProfileLandscape360p9 - - - - - - - VideoProfileLandscape360p10 - - - - - - - VideoProfileLandscape360p11 - - - - - - - VideoProfileLandscape480p - - - - - - - VideoProfileLandscape480p3 - - - - - - - VideoProfileLandscape480p4 - - - - - - - VideoProfileLandscape480p6 - - - - - - - VideoProfileLandscape480p8 - - - - - - - VideoProfileLandscape480p9 - - - - - - - VideoProfileLandscape480p10 - - - - - - - VideoProfileLandscape720p - - - - - - - VideoProfileLandscape720p3 - - - - - - - VideoProfileLandscape720p5 - - - - - - - VideoProfileLandscape720p6 - - - - - - - VideoProfileLandscape1080p - - - - - - - VideoProfileLandscape1080p3 - - - - - - - VideoProfileLandscape1080p5 - - - - - - - VideoProfileLandscape1440p - - - - - - - VideoProfileLandscape1440p2 - - - - - - - VideoProfileLandscape4k - - - - - - - VideoProfileLandscape4k3 - - - - - - - VideoProfilePortrait120p - - - - - - - VideoProfilePortrait120p3 - - - - - - - VideoProfilePortrait180p - - - - - - - VideoProfilePortrait180p3 - - - - - - - VideoProfilePortrait180p4 - - - - - - - VideoProfilePortrait240p - - - - - - - VideoProfilePortrait240p3 - - - - - - - VideoProfilePortrait240p4 - - - - - - - VideoProfilePortrait360p - - - - - - - VideoProfilePortrait360p3 - - - - - - - VideoProfilePortrait360p4 - - - - - - - VideoProfilePortrait360p6 - - - - - - - VideoProfilePortrait360p7 - - - - - - - VideoProfilePortrait360p8 - - - - - - - VideoProfilePortrait360p9 - - - - - - - VideoProfilePortrait360p10 - - - - - - - VideoProfilePortrait360p11 - - - - - - - VideoProfilePortrait480p - - - - - - - VideoProfilePortrait480p3 - - - - - - - VideoProfilePortrait480p4 - - - - - - - VideoProfilePortrait480p6 - - - - - - - VideoProfilePortrait480p8 - - - - - - - VideoProfilePortrait480p9 - - - - - - - VideoProfilePortrait480p10 - - - - - - - VideoProfilePortrait720p - - - - + + + + VideoViewSetupMode + + + + + + + VideoViewSetupReplace + + + + + + + VideoViewSetupAdd + + + + + + + VideoViewSetupRemove + + + + - VideoProfilePortrait720p3 + VideoTranscoderError - + - VideoProfilePortrait720p5 + VtErrOk - + - VideoProfilePortrait720p6 + VtErrVideoSourceNotReady - + - VideoProfilePortrait1080p + VtErrInvalidVideoSourceType - + - VideoProfilePortrait1080p3 + VtErrInvalidImagePath - + - VideoProfilePortrait1080p5 + VtErrUnsupportImageFormat - + - VideoProfilePortrait1440p + VtErrInvalidLayout - + - VideoProfilePortrait1440p2 + VtErrInternal - + - VideoProfilePortrait4k + VoiceAiTunerType - + - VideoProfilePortrait4k3 + VoiceAiTunerMatureMale - + - VideoProfileDefault + VoiceAiTunerFreshMale - - - - VideoViewSetupMode - - - - - - - VideoViewSetupReplace - - - - - - - VideoViewSetupAdd - - - - - - - VideoViewSetupRemove - - - - + - VideoTranscoderError + VoiceAiTunerElegantFemale - + - VtErrOk + VoiceAiTunerSweetFemale - + - VtErrVideoSourceNotReady + VoiceAiTunerWarmMaleSinging - + - VtErrInvalidVideoSourceType + VoiceAiTunerGentleFemaleSinging - + - VtErrInvalidImagePath + VoiceAiTunerHuskyMaleSinging - + - VtErrUnsupportImageFormat + VoiceAiTunerWarmElegantFemaleSinging - + - VtErrInvalidLayout + VoiceAiTunerPowerfulMaleSinging - + - VtErrInternal + VoiceAiTunerDreamyFemaleSinging diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap index 7408c54b4a8..96fafab5e72 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap @@ -1911,6 +1911,13 @@ + + + + enableVoiceAITuner + + + @@ -2673,31 +2680,31 @@ - + - onExtensionEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -2772,20 +2779,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - @@ -3278,6 +3271,13 @@ + + + + destroyMusicPlayer + + + @@ -3390,90 +3390,6 @@ - - - - MusicCacheStatusType - - - - - - - musicCacheStatusTypeCached - - - - - - - musicCacheStatusTypeCaching - - - - - - - MusicContentCenterStateReason - - - - - - - kMusicContentCenterReasonOk - - - - - - - kMusicContentCenterReasonError - - - - - - - kMusicContentCenterReasonGateway - - - - - - - kMusicContentCenterReasonPermissionAndResource - - - - - - - kMusicContentCenterReasonInternalDataParse - - - - - - - kMusicContentCenterReasonMusicLoading - - - - - - - kMusicContentCenterReasonMusicDecryption - - - - - - - kMusicContentCenterReasonHttpInternalError - - - @@ -3593,6 +3509,13 @@ + + + + setPlayMode + + + @@ -4966,6 +4889,13 @@ + + + + ExtensionContext + + + @@ -5472,6 +5402,48 @@ + + + + AlphaStitchMode + + + + + + + noAlphaStitch + + + + + + + alphaStitchUp + + + + + + + alphaStitchBelow + + + + + + + alphaStitchLeft + + + + + + + alphaStitchRight + + + @@ -8678,6 +8650,13 @@ + + + + localVideoStreamReasonScreenCaptureDisplayDisconnected + + + @@ -9448,6 +9427,118 @@ + + + + MusicCacheStatusType + + + + + + + musicCacheStatusTypeCached + + + + + + + musicCacheStatusTypeCaching + + + + + + + MusicContentCenterStateReason + + + + + + + kMusicContentCenterReasonOk + + + + + + + kMusicContentCenterReasonError + + + + + + + kMusicContentCenterReasonGateway + + + + + + + kMusicContentCenterReasonPermissionAndResource + + + + + + + kMusicContentCenterReasonInternalDataParse + + + + + + + kMusicContentCenterReasonMusicLoading + + + + + + + kMusicContentCenterReasonMusicDecryption + + + + + + + kMusicContentCenterReasonHttpInternalError + + + + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + @@ -10722,6 +10813,13 @@ + + + + applicationScenario1v1 + + + @@ -11380,591 +11478,164 @@ - - - - VideoProfileType - - - - - - - videoProfileLandscape120p - - - - - - - videoProfileLandscape120p3 - - - - - - - videoProfileLandscape180p - - - - + - videoProfileLandscape180p3 + VideoViewSetupMode - + - videoProfileLandscape180p4 + videoViewSetupReplace - + - videoProfileLandscape240p + videoViewSetupAdd - + - videoProfileLandscape240p3 + videoViewSetupRemove - + - videoProfileLandscape240p4 + VideoTranscoderError - + - videoProfileLandscape360p + vtErrOk - + - videoProfileLandscape360p3 + vtErrVideoSourceNotReady - + - videoProfileLandscape360p4 + vtErrInvalidVideoSourceType - + - videoProfileLandscape360p6 + vtErrInvalidImagePath - + - videoProfileLandscape360p7 + vtErrUnsupportImageFormat - + - videoProfileLandscape360p8 + vtErrInvalidLayout - + - videoProfileLandscape360p9 + vtErrInternal - + - videoProfileLandscape360p10 + VoiceAiTunerType - + - videoProfileLandscape360p11 + voiceAiTunerMatureMale - + - videoProfileLandscape480p + voiceAiTunerFreshMale - + - videoProfileLandscape480p3 + voiceAiTunerElegantFemale - + - videoProfileLandscape480p4 + voiceAiTunerSweetFemale - + - videoProfileLandscape480p6 + voiceAiTunerWarmMaleSinging - + - videoProfileLandscape480p8 + voiceAiTunerGentleFemaleSinging - + - videoProfileLandscape480p9 + voiceAiTunerHuskyMaleSinging - + - videoProfileLandscape480p10 + voiceAiTunerWarmElegantFemaleSinging - + - videoProfileLandscape720p + voiceAiTunerPowerfulMaleSinging - + - videoProfileLandscape720p3 - - - - - - - videoProfileLandscape720p5 - - - - - - - videoProfileLandscape720p6 - - - - - - - videoProfileLandscape1080p - - - - - - - videoProfileLandscape1080p3 - - - - - - - videoProfileLandscape1080p5 - - - - - - - videoProfileLandscape1440p - - - - - - - videoProfileLandscape1440p2 - - - - - - - videoProfileLandscape4k - - - - - - - videoProfileLandscape4k3 - - - - - - - videoProfilePortrait120p - - - - - - - videoProfilePortrait120p3 - - - - - - - videoProfilePortrait180p - - - - - - - videoProfilePortrait180p3 - - - - - - - videoProfilePortrait180p4 - - - - - - - videoProfilePortrait240p - - - - - - - videoProfilePortrait240p3 - - - - - - - videoProfilePortrait240p4 - - - - - - - videoProfilePortrait360p - - - - - - - videoProfilePortrait360p3 - - - - - - - videoProfilePortrait360p4 - - - - - - - videoProfilePortrait360p6 - - - - - - - videoProfilePortrait360p7 - - - - - - - videoProfilePortrait360p8 - - - - - - - videoProfilePortrait360p9 - - - - - - - videoProfilePortrait360p10 - - - - - - - videoProfilePortrait360p11 - - - - - - - videoProfilePortrait480p - - - - - - - videoProfilePortrait480p3 - - - - - - - videoProfilePortrait480p4 - - - - - - - videoProfilePortrait480p6 - - - - - - - videoProfilePortrait480p8 - - - - - - - videoProfilePortrait480p9 - - - - - - - videoProfilePortrait480p10 - - - - - - - videoProfilePortrait720p - - - - - - - videoProfilePortrait720p3 - - - - - - - videoProfilePortrait720p5 - - - - - - - videoProfilePortrait720p6 - - - - - - - videoProfilePortrait1080p - - - - - - - videoProfilePortrait1080p3 - - - - - - - videoProfilePortrait1080p5 - - - - - - - videoProfilePortrait1440p - - - - - - - videoProfilePortrait1440p2 - - - - - - - videoProfilePortrait4k - - - - - - - videoProfilePortrait4k3 - - - - - - - videoProfileDefault - - - - - - - VideoViewSetupMode - - - - - - - videoViewSetupReplace - - - - - - - videoViewSetupAdd - - - - - - - videoViewSetupRemove - - - - - - - VideoTranscoderError - - - - - - - vtErrOk - - - - - - - vtErrVideoSourceNotReady - - - - - - - vtErrInvalidVideoSourceType - - - - - - - vtErrInvalidImagePath - - - - - - - vtErrUnsupportImageFormat - - - - - - - vtErrInvalidLayout - - - - - - - vtErrInternal + voiceAiTunerDreamyFemaleSinging diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 5bdfb7bef82..c0c5975466f 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -11533,517 +11533,6 @@ - - - - AgoraVideoProfile - - - - - - - AgoraVideoProfileInvalid - - - - - - - AgoraVideoProfileLandscape120P - - - - - - - AgoraVideoProfileLandscape120P_3 - - - - - - - AgoraVideoProfileLandscape180P - - - - - - - AgoraVideoProfileLandscape180P_3 - - - - - - - AgoraVideoProfileLandscape180P_4 - - - - - - - AgoraVideoProfileLandscape240P - - - - - - - AgoraVideoProfileLandscape240P_3 - - - - - - - AgoraVideoProfileLandscape240P_4 - - - - - - - AgoraVideoProfileLandscape360P - - - - - - - AgoraVideoProfileLandscape360P_3 - - - - - - - AgoraVideoProfileLandscape360P_4 - - - - - - - AgoraVideoProfileLandscape360P_6 - - - - - - - AgoraVideoProfileLandscape360P_7 - - - - - - - AgoraVideoProfileLandscape360P_8 - - - - - - - AgoraVideoProfileLandscape360P_9 - - - - - - - AgoraVideoProfileLandscape360P_10 - - - - - - - AgoraVideoProfileLandscape360P_11 - - - - - - - AgoraVideoProfileLandscape480P - - - - - - - AgoraVideoProfileLandscape480P_3 - - - - - - - AgoraVideoProfileLandscape480P_4 - - - - - - - AgoraVideoProfileLandscape480P_6 - - - - - - - AgoraVideoProfileLandscape480P_8 - - - - - - - AgoraVideoProfileLandscape480P_9 - - - - - - - AgoraVideoProfileLandscape480P_10 - - - - - - - AgoraVideoProfileLandscape720P - - - - - - - AgoraVideoProfileLandscape720P_3 - - - - - - - AgoraVideoProfileLandscape720P_5 - - - - - - - AgoraVideoProfileLandscape720P_6 - - - - - - - AgoraVideoProfileLandscape1080P - - - - - - - AgoraVideoProfileLandscape1080P_3 - - - - - - - AgoraVideoProfileLandscape1080P_5 - - - - - - - AgoraVideoProfileLandscape1440P - - - - - - - AgoraVideoProfileLandscape1440P_2 - - - - - - - AgoraVideoProfileLandscape4K - - - - - - - AgoraVideoProfileLandscape4K_3 - - - - - - - AgoraVideoProfilePortrait120P - - - - - - - AgoraVideoProfilePortrait120P_3 - - - - - - - AgoraVideoProfilePortrait180P - - - - - - - AgoraVideoProfilePortrait180P_3 - - - - - - - AgoraVideoProfilePortrait180P_4 - - - - - - - AgoraVideoProfilePortrait240P - - - - - - - AgoraVideoProfilePortrait240P_3 - - - - - - - AgoraVideoProfilePortrait240P_4 - - - - - - - AgoraVideoProfilePortrait360P - - - - - - - AgoraVideoProfilePortrait360P_3 - - - - - - - AgoraVideoProfilePortrait360P_4 - - - - - - - AgoraVideoProfilePortrait360P_6 - - - - - - - AgoraVideoProfilePortrait360P_7 - - - - - - - AgoraVideoProfilePortrait360P_8 - - - - - - - AgoraVideoProfilePortrait360P_9 - - - - - - - AgoraVideoProfilePortrait360P_10 - - - - - - - AgoraVideoProfilePortrait360P_11 - - - - - - - AgoraVideoProfilePortrait480P - - - - - - - AgoraVideoProfilePortrait480P_3 - - - - - - - AgoraVideoProfilePortrait480P_4 - - - - - - - AgoraVideoProfilePortrait480P_6 - - - - - - - AgoraVideoProfilePortrait480P_8 - - - - - - - AgoraVideoProfilePortrait480P_9 - - - - - - - AgoraVideoProfilePortrait480P_10 - - - - - - - AgoraVideoProfilePortrait720P - - - - - - - AgoraVideoProfilePortrait720P_3 - - - - - - - AgoraVideoProfilePortrait720P_5 - - - - - - - AgoraVideoProfilePortrait720P_6 - - - - - - - AgoraVideoProfilePortrait1080P - - - - - - - AgoraVideoProfilePortrait1080P_3 - - - - - - - AgoraVideoProfilePortrait1080P_5 - - - - - - - AgoraVideoProfilePortrait1440P - - - - - - - AgoraVideoProfilePortrait1440P_2 - - - - - - - AgoraVideoProfilePortrait4K - - - - - - - AgoraVideoProfilePortrait4K_3 - - - - - - - AgoraVideoProfileDEFAULT - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index af70d04c5ca..299bc6b503c 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -10978,517 +10978,6 @@ - - - - AgoraVideoProfile - - - - - - - AgoraVideoProfileInvalid - - - - - - - AgoraVideoProfileLandscape120P - - - - - - - AgoraVideoProfileLandscape120P_3 - - - - - - - AgoraVideoProfileLandscape180P - - - - - - - AgoraVideoProfileLandscape180P_3 - - - - - - - AgoraVideoProfileLandscape180P_4 - - - - - - - AgoraVideoProfileLandscape240P - - - - - - - AgoraVideoProfileLandscape240P_3 - - - - - - - AgoraVideoProfileLandscape240P_4 - - - - - - - AgoraVideoProfileLandscape360P - - - - - - - AgoraVideoProfileLandscape360P_3 - - - - - - - AgoraVideoProfileLandscape360P_4 - - - - - - - AgoraVideoProfileLandscape360P_6 - - - - - - - AgoraVideoProfileLandscape360P_7 - - - - - - - AgoraVideoProfileLandscape360P_8 - - - - - - - AgoraVideoProfileLandscape360P_9 - - - - - - - AgoraVideoProfileLandscape360P_10 - - - - - - - AgoraVideoProfileLandscape360P_11 - - - - - - - AgoraVideoProfileLandscape480P - - - - - - - AgoraVideoProfileLandscape480P_3 - - - - - - - AgoraVideoProfileLandscape480P_4 - - - - - - - AgoraVideoProfileLandscape480P_6 - - - - - - - AgoraVideoProfileLandscape480P_8 - - - - - - - AgoraVideoProfileLandscape480P_9 - - - - - - - AgoraVideoProfileLandscape480P_10 - - - - - - - AgoraVideoProfileLandscape720P - - - - - - - AgoraVideoProfileLandscape720P_3 - - - - - - - AgoraVideoProfileLandscape720P_5 - - - - - - - AgoraVideoProfileLandscape720P_6 - - - - - - - AgoraVideoProfileLandscape1080P - - - - - - - AgoraVideoProfileLandscape1080P_3 - - - - - - - AgoraVideoProfileLandscape1080P_5 - - - - - - - AgoraVideoProfileLandscape1440P - - - - - - - AgoraVideoProfileLandscape1440P_2 - - - - - - - AgoraVideoProfileLandscape4K - - - - - - - AgoraVideoProfileLandscape4K_3 - - - - - - - AgoraVideoProfilePortrait120P - - - - - - - AgoraVideoProfilePortrait120P_3 - - - - - - - AgoraVideoProfilePortrait180P - - - - - - - AgoraVideoProfilePortrait180P_3 - - - - - - - AgoraVideoProfilePortrait180P_4 - - - - - - - AgoraVideoProfilePortrait240P - - - - - - - AgoraVideoProfilePortrait240P_3 - - - - - - - AgoraVideoProfilePortrait240P_4 - - - - - - - AgoraVideoProfilePortrait360P - - - - - - - AgoraVideoProfilePortrait360P_3 - - - - - - - AgoraVideoProfilePortrait360P_4 - - - - - - - AgoraVideoProfilePortrait360P_6 - - - - - - - AgoraVideoProfilePortrait360P_7 - - - - - - - AgoraVideoProfilePortrait360P_8 - - - - - - - AgoraVideoProfilePortrait360P_9 - - - - - - - AgoraVideoProfilePortrait360P_10 - - - - - - - AgoraVideoProfilePortrait360P_11 - - - - - - - AgoraVideoProfilePortrait480P - - - - - - - AgoraVideoProfilePortrait480P_3 - - - - - - - AgoraVideoProfilePortrait480P_4 - - - - - - - AgoraVideoProfilePortrait480P_6 - - - - - - - AgoraVideoProfilePortrait480P_8 - - - - - - - AgoraVideoProfilePortrait480P_9 - - - - - - - AgoraVideoProfilePortrait480P_10 - - - - - - - AgoraVideoProfilePortrait720P - - - - - - - AgoraVideoProfilePortrait720P_3 - - - - - - - AgoraVideoProfilePortrait720P_5 - - - - - - - AgoraVideoProfilePortrait720P_6 - - - - - - - AgoraVideoProfilePortrait1080P - - - - - - - AgoraVideoProfilePortrait1080P_3 - - - - - - - AgoraVideoProfilePortrait1080P_5 - - - - - - - AgoraVideoProfilePortrait1440P - - - - - - - AgoraVideoProfilePortrait1440P_2 - - - - - - - AgoraVideoProfilePortrait4K - - - - - - - AgoraVideoProfilePortrait4K_3 - - - - - - - AgoraVideoProfileDEFAULT - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap index 2e159cba455..80eba449e27 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap @@ -1882,6 +1882,13 @@ + + + + enableVoiceAITuner + + + @@ -2636,31 +2643,31 @@ - + - onExtensionEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -2749,20 +2756,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - @@ -3141,6 +3134,34 @@ + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + @@ -3183,6 +3204,20 @@ + + + + setPlayMode + + + + + + + destroyMusicPlayer + + + @@ -4737,6 +4772,13 @@ EncryptionConfig + + + + + ExtensionContext + + @@ -5223,6 +5265,48 @@ + + + + AlphaStitchMode + + + + + + + NoAlphaStitch + + + + + + + AlphaStitchUp + + + + + + + AlphaStitchBelow + + + + + + + AlphaStitchLeft + + + + + + + AlphaStitchRight + + + @@ -10676,6 +10760,13 @@ + + + + ApplicationScenario1v1 + + + @@ -11327,591 +11418,164 @@ - - - - VideoProfileType - - - - - - - VideoProfileLandscape120p - - - - - - - VideoProfileLandscape120p3 - - - - - - - VideoProfileLandscape180p - - - - - - - VideoProfileLandscape180p3 - - - - - - - VideoProfileLandscape180p4 - - - - - - - VideoProfileLandscape240p - - - - - - - VideoProfileLandscape240p3 - - - - - - - VideoProfileLandscape240p4 - - - - - - - VideoProfileLandscape360p - - - - - - - VideoProfileLandscape360p3 - - - - - - - VideoProfileLandscape360p4 - - - - - - - VideoProfileLandscape360p6 - - - - - - - VideoProfileLandscape360p7 - - - - - - - VideoProfileLandscape360p8 - - - - - - - VideoProfileLandscape360p9 - - - - - - - VideoProfileLandscape360p10 - - - - - - - VideoProfileLandscape360p11 - - - - - - - VideoProfileLandscape480p - - - - - - - VideoProfileLandscape480p3 - - - - - - - VideoProfileLandscape480p4 - - - - - - - VideoProfileLandscape480p6 - - - - - - - VideoProfileLandscape480p8 - - - - - - - VideoProfileLandscape480p9 - - - - - - - VideoProfileLandscape480p10 - - - - - - - VideoProfileLandscape720p - - - - - - - VideoProfileLandscape720p3 - - - - - - - VideoProfileLandscape720p5 - - - - - - - VideoProfileLandscape720p6 - - - - - - - VideoProfileLandscape1080p - - - - - - - VideoProfileLandscape1080p3 - - - - - - - VideoProfileLandscape1080p5 - - - - - - - VideoProfileLandscape1440p - - - - - - - VideoProfileLandscape1440p2 - - - - - - - VideoProfileLandscape4k - - - - - - - VideoProfileLandscape4k3 - - - - - - - VideoProfilePortrait120p - - - - - - - VideoProfilePortrait120p3 - - - - - - - VideoProfilePortrait180p - - - - - - - VideoProfilePortrait180p3 - - - - - - - VideoProfilePortrait180p4 - - - - - - - VideoProfilePortrait240p - - - - - - - VideoProfilePortrait240p3 - - - - - - - VideoProfilePortrait240p4 - - - - - - - VideoProfilePortrait360p - - - - - - - VideoProfilePortrait360p3 - - - - - - - VideoProfilePortrait360p4 - - - - - - - VideoProfilePortrait360p6 - - - - - - - VideoProfilePortrait360p7 - - - - - - - VideoProfilePortrait360p8 - - - - - - - VideoProfilePortrait360p9 - - - - - - - VideoProfilePortrait360p10 - - - - - - - VideoProfilePortrait360p11 - - - - - - - VideoProfilePortrait480p - - - - - - - VideoProfilePortrait480p3 - - - - - - - VideoProfilePortrait480p4 - - - - - - - VideoProfilePortrait480p6 - - - - - - - VideoProfilePortrait480p8 - - - - - - - VideoProfilePortrait480p9 - - - - - - - VideoProfilePortrait480p10 - - - - - - - VideoProfilePortrait720p - - - - + + + + VideoViewSetupMode + + + + + + + VideoViewSetupReplace + + + + + + + VideoViewSetupAdd + + + + + + + VideoViewSetupRemove + + + + - VideoProfilePortrait720p3 + VideoTranscoderError - + - VideoProfilePortrait720p5 + VtErrOk - + - VideoProfilePortrait720p6 + VtErrVideoSourceNotReady - + - VideoProfilePortrait1080p + VtErrInvalidVideoSourceType - + - VideoProfilePortrait1080p3 + VtErrInvalidImagePath - + - VideoProfilePortrait1080p5 + VtErrUnsupportImageFormat - + - VideoProfilePortrait1440p + VtErrInvalidLayout - + - VideoProfilePortrait1440p2 + VtErrInternal - + - VideoProfilePortrait4k + VoiceAiTunerType - + - VideoProfilePortrait4k3 + VoiceAiTunerMatureMale - + - VideoProfileDefault + VoiceAiTunerFreshMale - - - - VideoViewSetupMode - - - - - - - VideoViewSetupReplace - - - - - - - VideoViewSetupAdd - - - - - - - VideoViewSetupRemove - - - - + - VideoTranscoderError + VoiceAiTunerElegantFemale - + - VtErrOk + VoiceAiTunerSweetFemale - + - VtErrVideoSourceNotReady + VoiceAiTunerWarmMaleSinging - + - VtErrInvalidVideoSourceType + VoiceAiTunerGentleFemaleSinging - + - VtErrInvalidImagePath + VoiceAiTunerHuskyMaleSinging - + - VtErrUnsupportImageFormat + VoiceAiTunerWarmElegantFemaleSinging - + - VtErrInvalidLayout + VoiceAiTunerPowerfulMaleSinging - + - VtErrInternal + VoiceAiTunerDreamyFemaleSinging diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap index ab3978b9479..8480f2f4bbc 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap @@ -797,13 +797,7 @@ - - - - OpenWithCustomSource - - - + @@ -1960,6 +1954,13 @@ + + + + EnableVoiceAITuner + + + @@ -2457,24 +2458,10 @@ - - - - StartEchoTest [1/3] - - - - - - - StartEchoTest [2/3] - - - - StartEchoTest [3/3] + StartEchoTest @@ -2760,31 +2747,31 @@ - + - OnExtensionEvent + OnExtensionEventWithContext - + - OnExtensionStarted + OnExtensionStartedWithContext - + - OnExtensionStopped + OnExtensionStoppedWithContext - + - OnExtensionError + OnExtensionErrorWithContext @@ -2882,20 +2869,6 @@ - - - - SetEncryptionMode - - - - - - - SetEncryptionSecret - - - @@ -3597,6 +3570,13 @@ + + + + DestroyMusicPlayer + + + @@ -3639,6 +3619,13 @@ + + + + SetPlayMode + + + @@ -5029,6 +5016,13 @@ ExternalVideoFrame + + + + + ExtensionContext + + @@ -5545,6 +5539,48 @@ + + + + ALPHA_STITCH_MODE + + + + + + + NO_ALPHA_STITCH + + + + + + + ALPHA_STITCH_UP + + + + + + + ALPHA_STITCH_BELOW + + + + + + + ALPHA_STITCH_LEFT + + + + + + + ALPHA_STITCH_RIGHT + + + @@ -6833,6 +6869,13 @@ + + + + APPLICATION_SCENARIO_1V1 + + + @@ -9031,6 +9074,13 @@ + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED + + + @@ -9892,6 +9942,34 @@ + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + @@ -11957,591 +12035,164 @@ - - - - VIDEO_PROFILE_TYPE - - - - - - - VIDEO_PROFILE_LANDSCAPE_120P - - - - - - - VIDEO_PROFILE_LANDSCAPE_120P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_180P - - - - - - - VIDEO_PROFILE_LANDSCAPE_180P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_180P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_240P - - - - - - - VIDEO_PROFILE_LANDSCAPE_240P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_240P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_6 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_7 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_8 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_9 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_10 - - - - - - - VIDEO_PROFILE_LANDSCAPE_360P_11 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_4 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_6 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_8 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_9 - - - - - - - VIDEO_PROFILE_LANDSCAPE_480P_10 - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P_5 - - - - - - - VIDEO_PROFILE_LANDSCAPE_720P_6 - - - - - - - VIDEO_PROFILE_LANDSCAPE_1080P - - - - - - - VIDEO_PROFILE_LANDSCAPE_1080P_3 - - - - - - - VIDEO_PROFILE_LANDSCAPE_1080P_5 - - - - - - - VIDEO_PROFILE_LANDSCAPE_1440P - - - - - - - VIDEO_PROFILE_LANDSCAPE_1440P_2 - - - - - - - VIDEO_PROFILE_LANDSCAPE_4K - - - - - - - VIDEO_PROFILE_LANDSCAPE_4K_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_120P - - - - - - - VIDEO_PROFILE_PORTRAIT_120P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_180P - - - - - - - VIDEO_PROFILE_PORTRAIT_180P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_180P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_240P - - - - - - - VIDEO_PROFILE_PORTRAIT_240P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_240P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_6 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_7 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_8 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_9 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_10 - - - - - - - VIDEO_PROFILE_PORTRAIT_360P_11 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_3 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_4 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_6 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_8 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_9 - - - - - - - VIDEO_PROFILE_PORTRAIT_480P_10 - - - - - - - VIDEO_PROFILE_PORTRAIT_720P - - - - + - VIDEO_PROFILE_PORTRAIT_720P_3 + VIDEO_VIEW_SETUP_MODE - + - VIDEO_PROFILE_PORTRAIT_720P_5 + VIDEO_VIEW_SETUP_REPLACE - + - VIDEO_PROFILE_PORTRAIT_720P_6 + VIDEO_VIEW_SETUP_ADD - + - VIDEO_PROFILE_PORTRAIT_1080P + VIDEO_VIEW_SETUP_REMOVE - + - VIDEO_PROFILE_PORTRAIT_1080P_3 + VIDEO_TRANSCODER_ERROR - + - VIDEO_PROFILE_PORTRAIT_1080P_5 + VT_ERR_OK - + - VIDEO_PROFILE_PORTRAIT_1440P + VT_ERR_VIDEO_SOURCE_NOT_READY - + - VIDEO_PROFILE_PORTRAIT_1440P_2 + VT_ERR_INVALID_VIDEO_SOURCE_TYPE - + - VIDEO_PROFILE_PORTRAIT_4K + VT_ERR_INVALID_IMAGE_PATH - + - VIDEO_PROFILE_PORTRAIT_4K_3 + VT_ERR_UNSUPPORT_IMAGE_FORMAT - + - VIDEO_PROFILE_DEFAULT + VT_ERR_INVALID_LAYOUT - + - VIDEO_VIEW_SETUP_MODE + VT_ERR_INTERNAL - + - VIDEO_VIEW_SETUP_REPLACE + VOICE_AI_TUNER_TYPE - + - VIDEO_VIEW_SETUP_ADD + VOICE_AI_TUNER_MATURE_MALE - + - VIDEO_VIEW_SETUP_REMOVE + VOICE_AI_TUNER_FRESH_MALE - + - VIDEO_TRANSCODER_ERROR + VOICE_AI_TUNER_ELEGANT_FEMALE - + - VT_ERR_OK + VOICE_AI_TUNER_SWEET_FEMALE - + - VT_ERR_VIDEO_SOURCE_NOT_READY + VOICE_AI_TUNER_WARM_MALE_SINGING - + - VT_ERR_INVALID_VIDEO_SOURCE_TYPE + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING - + - VT_ERR_INVALID_IMAGE_PATH + VOICE_AI_TUNER_HUSKY_MALE_SINGING - + - VT_ERR_UNSUPPORT_IMAGE_FORMAT + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING - + - VT_ERR_INVALID_LAYOUT + VOICE_AI_TUNER_POWERFUL_MALE_SINGING - + - VT_ERR_INTERNAL + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING