From d72165fac1074903397f25fdd56e41e59e152573 Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 12 Aug 2024 17:24:20 +0800 Subject: [PATCH 01/25] 1.1 sync ue cpp map --- .../RTC-NG/API/class_channelmediaoptions.dita | 44 +- dita/RTC-NG/API/class_codeccapinfo.dita | 6 +- dita/RTC-NG/API/class_videocanvas.dita | 19 +- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 26 +- dita/RTC-NG/RTC_NG_API_Unreal.ditamap | 161 +- .../config/keys-rtc-ng-api-unreal.ditamap | 17067 ++++++++-------- 6 files changed, 8976 insertions(+), 8347 deletions(-) diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index 5940608834a..2cf480060d6 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -141,7 +141,7 @@ @property(assign, nonatomic) BOOL isAudioFilterable; @end - struct ChannelMediaOptions { + struct ChannelMediaOptions { Optional<bool> publishCameraTrack; Optional<bool> publishSecondaryCameraTrack; Optional<bool> publishThirdCameraTrack; @@ -183,7 +183,8 @@ Optional<bool> isAudioFilterable; ChannelMediaOptions() {} - ~ChannelMediaOptions() {} + ~ChannelMediaOptions() {} + } USTRUCT(BlueprintType) struct FChannelMediaOptions { @@ -270,45 +271,6 @@ struct FChannelMediaOptions 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; diff --git a/dita/RTC-NG/API/class_codeccapinfo.dita b/dita/RTC-NG/API/class_codeccapinfo.dita index d3983fb4284..90c687c9d99 100644 --- a/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/dita/RTC-NG/API/class_codeccapinfo.dita @@ -31,7 +31,7 @@ @property(assign, nonatomic) NSUInteger codecCapMask; @property(strong, nonatomic) AgoraVideoCodecCapLevels *_Nonnull codecCapLevels; @end - struct CodecCapInfo { + struct CodecCapInfo { VIDEO_CODEC_TYPE codecType; int codecCapMask; CodecCapLevels codecLevels; @@ -44,10 +44,6 @@ struct FCodecCapInfo { EVIDEO_CODEC_TYPE codecType; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") int codecCapMask; -}; - struct CodecCapInfo { - VIDEO_CODEC_TYPE codecType; - int codecCapMask; }; export class CodecCapInfo { codecType?: VideoCodecType; diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 951ee55a61e..b303ca58825 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -76,7 +76,7 @@ @property(assign, nonatomic) BOOL enableAlphaMask; @property(assign, nonatomic) AgoraVideoModulePosition position; @end - struct VideoCanvas { + struct VideoCanvas { uid_t uid; uid_t subviewUid; view_t view; @@ -129,23 +129,6 @@ struct FVideoCanvas FRectangle cropArea; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") EVIDEO_VIEW_SETUP_MODE setupMode = EVIDEO_VIEW_SETUP_MODE::VIDEO_VIEW_SETUP_REPLACE; -}; - struct VideoCanvas { - view_t view; - uid_t uid; - VIDEO_SOURCE_TYPE sourceType; - int mediaPlayerId; - - VideoCanvas() - : view(NULL), uid(0), sourceType(VIDEO_SOURCE_CAMERA_PRIMARY), mediaPlayerId(-ERR_NOT_READY) {} - - VideoCanvas(view_t v, uid_t u) - : view(v), uid(u), - sourceType(VIDEO_SOURCE_CAMERA_PRIMARY), mediaPlayerId(-ERR_NOT_READY) - - VideoCanvas(view_t v, user_id_t) - : view(v), uid(0), - sourceType(VIDEO_SOURCE_CAMERA_PRIMARY), mediaPlayerId(-ERR_NOT_READY) {} }; export class VideoCanvas { view?: any diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index 450c4152326..c17eaf96047 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -29,6 +29,7 @@
  • +
  • @@ -39,7 +40,9 @@
  • +
  • +
  • @@ -79,6 +82,7 @@
  • +
  • @@ -94,12 +98,10 @@
  • -
  • -
      -
    • -
    • -
  • -
  • +
  • +
  • +
  • +
  • @@ -118,6 +120,7 @@
  • +
  • @@ -272,11 +275,12 @@
  • +
  • +
  • -
  • @@ -298,6 +302,7 @@
  • +
  • @@ -310,6 +315,7 @@
  • +
  • @@ -328,6 +334,7 @@
  • +
  • @@ -357,7 +364,7 @@
  • -
  • +
  • @@ -365,6 +372,7 @@
  • +
  • @@ -377,9 +385,11 @@
  • +
  • +
  • diff --git a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap index eab3aa53973..dc5f52d7d7f 100644 --- a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap @@ -16,36 +16,37 @@ - - - - - - - - - - - - - + + - + - - - - + + - + + + + + - + + + + + + + + + + + @@ -66,6 +67,8 @@ + + @@ -73,6 +76,7 @@ + @@ -151,6 +155,7 @@ + @@ -165,20 +170,20 @@ + - - + - + @@ -195,20 +200,20 @@ - - - - - + + + + + - + @@ -222,11 +227,14 @@ - + + + + @@ -243,7 +251,7 @@ - + @@ -268,6 +276,7 @@ + @@ -294,6 +303,7 @@ + @@ -312,6 +322,14 @@ + + + + + + + + @@ -356,6 +374,7 @@ + @@ -378,6 +397,7 @@ + @@ -396,8 +416,10 @@ + + @@ -442,7 +464,6 @@ - @@ -454,7 +475,8 @@ - + + @@ -480,7 +502,7 @@ - + @@ -500,41 +522,55 @@ + + - + + + + + + + + + + + + - + + @@ -556,19 +592,13 @@ - - - - - - @@ -603,11 +633,15 @@ - + + + + + @@ -624,6 +658,7 @@ + @@ -637,19 +672,21 @@ - + + + - + @@ -674,14 +711,18 @@ + + + + - - + + @@ -694,17 +735,18 @@ - - + + - + + @@ -714,16 +756,18 @@ - - - - + + + + + + @@ -731,7 +775,9 @@ + + @@ -739,8 +785,6 @@ - - @@ -748,9 +792,7 @@ - - - + @@ -773,5 +815,6 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap index 8a8b7de4bf2..0093463fd9b 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap @@ -224,6 +224,13 @@ + + + + IFaceInfoObserver + + + @@ -437,6 +444,20 @@ + + + + preloadChannel + + + + + + + preloadChannelWithUserAccount + + + @@ -458,13 +479,20 @@ - + enableInstantMediaRendering + + + + updatePreloadChannelToken + + + @@ -715,14 +743,21 @@ - selectAudioTrack + selectAudioTrack [1/2] - selectAudioTrack + selectAudioTrack [2/2] + + + + + + + selectMultiAudioTrack @@ -775,10 +810,17 @@ - + + + + setPlayerOption [1/2] + + + + - setPlayerOption + setPlayerOption [2/2] @@ -831,13 +873,6 @@ - - - - openWithCustomSource - - - @@ -987,13 +1022,6 @@ - - - - adjustCustomAudioPlayoutVolume - - - @@ -1080,6 +1108,15 @@ + + + + href="../API/api_irtcengine_setvideoqualityparameters.dita" + setVideoQualityParameters + + + + @@ -1191,15 +1228,15 @@ setRemoteVideoSubscriptionOptions - + - - + + setRemoteVideoSubscriptionOptionsEx - - - - + + + + queryCodecCapability @@ -1259,6 +1296,13 @@ + + + + registerFaceInfoObserver + + + @@ -1366,6 +1410,20 @@ + + + + pushEncodedVideoImage [1/2] + + + + + + + pushEncodedVideoImage [2/2] + + + @@ -1373,6 +1431,13 @@ + + + + sendAudioMetadataEx + + + @@ -1457,13 +1522,6 @@ - - - - startChannelMediaRelayEx - - - @@ -1471,13 +1529,6 @@ - - - - updateChannelMediaRelayEx - - - @@ -1592,7 +1643,7 @@ - + release @@ -1699,6 +1750,13 @@ + + + + setAudioMixingPlaybackSpeed + + + @@ -1950,6 +2008,13 @@ + + + + enableVoiceAITuner + + + @@ -2342,13 +2407,6 @@ - - - - startChannelMediaRelay - - - @@ -2356,13 +2414,6 @@ - - - - updateChannelMediaRelay - - - @@ -2395,6 +2446,13 @@ + + + + setRouteInCommunicationMode + + + @@ -2509,24 +2567,10 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - - startEchoTest [3/3] + startEchoTest @@ -2590,7 +2634,7 @@ - + createCustomAudioTrack @@ -2604,6 +2648,13 @@ + + + + enableCustomAudioLocalPlayback + + + @@ -2611,6 +2662,20 @@ + + + + pushCaptureAudioFrame1 + + + + + + + pushReverseAudioFrame1 + + + @@ -2627,6 +2692,13 @@ + + + + setCameraStabilizationMode + + + @@ -2784,31 +2856,31 @@ - + - onExtensionEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -2851,6 +2923,20 @@ + + + + sendAudioMetadata + + + + + + + onAudioMetadataReceived [1/2] + + + @@ -2883,24 +2969,17 @@ - - - - registerPacketObserver - - - - + - setEncryptionMode + enableEncryptionEx - + - setEncryptionSecret + registerPacketObserver @@ -2937,14 +3016,14 @@ - StartAudioRecording [1/3] + startAudioRecording [1/3] - StartAudioRecording [2/3] + startAudioRecording [2/3] @@ -3043,7 +3122,7 @@ - + isCameraExposureSupported @@ -3078,7 +3157,7 @@ - + setCameraExposureFactor @@ -3132,14 +3211,28 @@ - getDevice + getDevice [1/2] + + + + + + + getDevice [2/2] - getDefaultDevice + getDefaultDevice [1/2] + + + + + + + getDefaultDevice [2/2] @@ -3286,7 +3379,14 @@ - getPlaybackDeviceInfo + getPlaybackDeviceInfo [1/2] + + + + + + + getPlaybackDeviceInfo [2/2] @@ -3300,7 +3400,14 @@ - getRecordingDeviceInfo + getRecordingDeviceInfo [1/2] + + + + + + + getRecordingDeviceInfo [2/2] @@ -3325,21 +3432,17 @@ - + - href="../API/api_iaudiodevicemanager_setplaybackdevicevolume.dita" - setPlaybackDeviceVolume - + setPlaybackDeviceVolume - + - href="../API/api_iaudiodevicemanager_getplaybackdevicevolume.dita" - getPlaybackDeviceVolume - + getPlaybackDeviceVolume @@ -3350,12 +3453,10 @@ - + - href="../API/api_iaudiodevicemanager_getrecordingdevicevolume.dita" - getRecordingDeviceVolume - + getRecordingDeviceVolume @@ -3451,6 +3552,13 @@ + + + + queryCameraFocalLengthCapability + + + @@ -3511,6 +3619,13 @@ + + + + adjustCustomAudioPlayoutVolume + + + @@ -3572,6 +3687,22 @@ + + + + + enableCameraCenterStage + + + + + + + isCameraCenterStageSupported + + + + @@ -3588,14 +3719,14 @@ - - - - - get - - - + + + + + get + + + @@ -3606,7 +3737,14 @@ - preload + preload [1/2] + + + + + + + preload [2/2] @@ -3632,18 +3770,18 @@ - - - renewToken - - + + + renewToken + + - - - unregisterEventHandler - - + + + unregisterEventHandler + + @@ -3659,6 +3797,13 @@ + + + + destroyMusicPlayer + + + @@ -3687,142 +3832,170 @@ - + - getCaches + setPlayMode - - - - getCount [1/2] - - - - - - - getCount [2/2] - - - - - - - getTotal - - - - + - getPage + getCaches - - - - getPageSize - - - - - - - getMusic - - - - + - removeCache + getCount [1/2] - - - + - onPreLoadEvent + getCount [2/2] - + - onMusicChartsResult + getTotal - + - onMusicCollectionResult + getPage - + - onLyricResult + getPageSize - - - + - takeSnapshot + getMusic - + - enableContentInspect + removeCache - - - + - addInjectStreamUrl + getInternalSongCode - + - enableVideoImageSource + getSongSimpleInfo - + + + - getNetworkType + onPreLoadEvent - + - getNtpWallTimeInMs + onMusicChartsResult + + + + + + + onMusicCollectionResult + + + + + + + onLyricResult + + + + + + + onSongSimpleInfoResult + + + + + + + + + takeSnapshot + + + + + + + enableContentInspect + + + + + + + enableContentInspectEx + + + + + + + + + addInjectStreamUrl + + + + + + + enableVideoImageSource + + + + + + + getNetworkType - + - removeInjectStreamUrl + getNtpWallTimeInMs @@ -3878,14 +4051,14 @@ - setParameters + setParameters [2/2] - setParameters + setParameters [1/2] @@ -3903,6 +4076,20 @@ + + + + getCallIdEx + + + + + + + queryDeviceScore + + + @@ -3931,6 +4118,13 @@ + + + + isFeatureAvailableOnDevice + + + @@ -4112,6 +4306,13 @@ + + + + onMicrophoneEnabled + + + @@ -4314,6 +4515,13 @@ + + + + onPlayerCacheStats + + + @@ -4321,6 +4529,13 @@ + + + + onPlayerPlaybackStats + + + @@ -4430,6 +4645,13 @@ + + + + onAudioMetadataReceived [2/2] + + + @@ -4472,13 +4694,6 @@ - - - - onChannelMediaRelayEvent - - - @@ -4865,6 +5080,13 @@ + + + + onTranscodedStreamLayoutInfo + + + @@ -4888,8150 +5110,8563 @@ - - - - - - - AudioRecordingConfiguration - - - - - - - AudioFrame - - - - - - - AudioParams - - - - - - - AudioPcmFrame - - - - - - - AudioEncodedFrameObserverConfig - - - - - - - AudioSpectrumData - - - - + - AudioVolumeInfo + onFaceInfo - + + + + + + + AudioRecordingConfiguration + + + + + + + AudioFrame + + + + + + + AudioParams + + + + + + + AudioPcmFrame + + + + + + + AudioEncodedFrameObserverConfig + + + + + + + AudioSpectrumData + + + + + + + AudioVolumeInfo + + + + AudioTrackConfig - - - - BeautyOptions - - - - - - - CameraCapturerConfiguration - - - - - - - CacheStatistics - - - - - - - ChannelMediaInfo - - - - - - - ChannelMediaOptions - - - - - - - ChannelMediaRelayConfiguration - - - - - - - ClientRoleOptions - - - - + - ClimaxSegment + BeautyOptions - - - - CloudSpatialAudioConfig - - - - - - - ContentInspectConfig - - - - + - CodecCapInfo + CameraCapturerConfiguration - - - - ColorEnhanceOptions - - - - - - - ContentInspectModule - - - - - - - DataStreamConfig - - - - - - - DeviceInfo - - - - - - - DirectCdnStreamingMediaOptions - - - - - - - DirectCdnStreamingStats - - - - - - - EchoTestConfiguration - - - - - - - EncodedAudioFrameInfo - - - - - - - EncodedVideoFrameInfo - - - - - - - EncryptionConfig - - - - - - - ExternalVideoFrame - - - - - - - IDirectCdnStreamingEventHandler - - - - - - - ImageTrackOptions - - - - - - - InjectStreamConfig - - - - - - - LastmileProbeConfig - - - - - - - LastmileProbeOneWayResult - - - - - - - LastmileProbeResult - - - - - - - LeaveChannelOptions - - - - - - - LiveTranscoding - - - - - - - LiveStreamAdvancedFeature - - - - - - - LocalAccessPointConfiguration - - - - - - - LocalAudioStats - - - - - - - LocalSpatialAudioConfig - - - - - - - LocalTranscoderConfiguration - - - - - - - LocalVideoStats - - - - - - - LogConfig - - - - - - - LogUploadServerInfo - - - - - - - MediaRecorderConfiguration - - - - - - - MediaSource - - - - - - - LowlightEnhanceOptions - - - - - - - Metadata - - - - + - Music + CacheStatistics - + - MusicCacheInfo + ChannelMediaInfo - + - MusicChartInfo + ChannelMediaOptions - + - MusicCollection + ChannelMediaRelayConfiguration - - - - MusicChartCollection - - - - + - MusicContentCenterConfiguration + ClientRoleOptions - + - MvProperty + ClimaxSegment - - - - Packet - - - - - - - PlayerStreamInfo - - - - - - - PlayerUpdatedInfo - - - - - - - RecorderInfo - - - - + - RecorderStreamInfo + CloudSpatialAudioConfig - - - - Rect - - - - - - - Rectangle - - - - - - - RemoteAudioStats - - - - - - - RemoteVideoStats - - - - - - - RemoteVoicePositionInfo - - - - - - - RtcConnection - - - - - - - RtcEngineContext - - - - - - - RtcImage - - - - - - - RtcStats - - - - - - - ScreenCaptureConfiguration - - - - - - - ScreenCaptureParameters - - - - - - - ScreenCaptureParameters2 - - - - - - - ScreenAudioParameters - - - - - - - ScreenVideoParameters - - - - - - - ScreenCaptureSourceInfo - - - - - - - SegmentationProperty - - - - - - - SimulcastStreamConfig - - - - - - - SIZE - - - - - - - SpatialAudioParams - - - - - - - SpatialAudioZone - - - - - - - SrcInfo - - - - - - - ThumbImageBuffer - - - - - - - TranscodingUser - - - - - - - TranscodingVideoStream - - - - - - - UplinkNetworkInfo - - - - - - - UserAudioSpectrumInfo - - - - - - - UserInfo - - - - - - - VideoCanvas - - - - - - - VideoDenoiserOptions - - - - - - - VideoDimensions - - - - - - - VideoEncoderConfiguration - - - - - - - VideoFormat - - - - - - - VideoFrame - - - - + - VideoRenderingTracingInfo + ContentInspectConfig - - - - VideoSubscriptionOptions - - - - - - - VirtualBackgroundSource - - - - - - - WatermarkOptions - - - - - - - WatermarkRatio - - - - - - - WATERMARK_FIT_MODE - - - - - - - FIT_MODE_COVER_POSITION - - - - - - - FIT_MODE_USE_IMAGE_RATIO - - - - - - - - - AREA_CODE - - - - - - - AREA_CODE_CN - - - - - - - AREA_CODE_NA - - - - - - - AREA_CODE_EU - - - - - - - AREA_CODE_AS - - - - - - - AREA_CODE_JP - - - - - - - AREA_CODE_IN - - - - - - - AREA_CODE_GLOB - - - - - - - AUDIENCE_LATENCY_LEVEL_TYPE - - - - - - - AUDIENCE_LATENCY_LEVEL_LOW_LATENCY - - - - - - - AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY - - - - + - AUDIO_AINS_MODE + CodecCapInfo - + - AINS_MODE_BALANCED + CodecCapLevels - + - AINS_MODE_AGGRESSIVE + ColorEnhanceOptions - + - AINS_MODE_ULTRALOWLATENCY + ContentInspectModule - - - - AUDIO_CODEC_PROFILE_TYPE - - - - - - - AUDIO_CODEC_PROFILE_LC_AAC - - - - - - - AUDIO_CODEC_PROFILE_HE_AAC - - - - - - - HE_AAC_V2 - - - - - - - AUDIO_CODEC_TYPE - - - - - - - AUDIO_CODEC_OPUS - - - - - - - AUDIO_CODEC_PCMA - - - - - - - AUDIO_CODEC_PCMU - - - - - - - AUDIO_CODEC_G722 - - - - - - - AUDIO_CODEC_AACLC - - - - - - - AUDIO_CODEC_HEAAC - - - - - - - AUDIO_CODEC_JC1 - - - - - - - AUDIO_CODEC_HEAAC2 - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED - - - - - - - AUDIO_ENCODING_TYPE - - - - - - - AUDIO_ENCODING_TYPE_AAC_16000_LOW - - - - - - - AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_AAC_32000_LOW - - - - - - - AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_AAC_32000_HIGH - - - - - - - AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_AAC_48000_HIGH - - - - - - - AUDIO_ENCODING_TYPE_OPUS_16000_LOW - - - - - - - AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_OPUS_48000_HIGH - - - - - - - AUDIO_EFFECT_PRESET - - - - - - - AUDIO_EFFECT_OFF - - - - - - - BACKGROUND_BLUR_DEGREE - - - - - - - BLUR_DEGREE_LOW - - - - - - - BLUR_DEGREE_MEDIUM - - - - - - - BLUR_DEGREE_HIGH - - - - - - - BACKGROUND_SOURCE_TYPE - - - - + - BACKGROUND_NONE + DataStreamConfig - - - - BACKGROUND_COLOR - - - - - - - BACKGROUND_IMG - - - - - - - BACKGROUND_BLUR - - - - + - BACKGROUND_VIDEO + DeviceInfo - - - - SAE_DEPLOY_REGION - - - - - - - SAE_DEPLOY_REGION_CN - - - - - - - SAE_DEPLOY_REGION_NA - - - - - - - SAE_DEPLOY_REGION_EU - - - - - - - SAE_DEPLOY_REGION_AS - - - - + - CODEC_CAP_MASK + DirectCdnStreamingMediaOptions - + - CODEC_CAP_MASK_NONE + DirectCdnStreamingStats - + - CODEC_CAP_MASK_HW_DEC + EchoTestConfiguration - + - CODEC_CAP_MASK_HW_ENC + EncodedAudioFrameInfo - + - CODEC_CAP_MASK_SW_DEC + EncodedVideoFrameInfo - + - CODEC_CAP_MASK_SW_ENC + EncryptionConfig - - - - CONTENT_INSPECT_DEVICE_TYPE - - - - - - - CONTENT_INSPECT_DEVICE_INVALID - - - - - - - CONTENT_INSPECT_DEVICE_AGORA - - - - - - - CONTENT_INSPECT_DEVICE_HIVE - - - - - - - CONTENT_INSPECT_DEVICE_TUPU - - - - - - - ContentInspectResult - - - - - - - CONTENT_INSPECT_NEUTRAL - - - - - - - CONTENT_INSPECT_SEXY - - - - - - - CONTENT_INSPECT_PORN - - - - - - - CONTENT_INSPECT_TYPE - - - - - - - CONTENT_INSPECT_INVALID - - - - - - - CONTENT_INSPECT_MODERATION - - - - - - - CONTENT_INSPECT_SUPERVISION - - - - - - - COMPRESSION_PREFERENCE - - - - - - - PREFER_LOW_LATENCY - - - - - - - PREFER_QUALITY - - - - - - - EAR_MONITORING_FILTER_TYPE - - - - - - - EAR_MONITORING_FILTER_NONE - - - - - - - EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS - - - - - - - EAR_MONITORING_FILTER_NOISE_SUPPRESSION - - - - - - - EXTERNAL_VIDEO_SOURCE_TYPE - - - - - - - VIDEO_FRAME - - - - - - - ENCODED_VIDEO_FRAME - - - - - - - ROOM_ACOUSTICS_KTV - - - - - - - ROOM_ACOUSTICS_VOCAL_CONCERT - - - - - - - ROOM_ACOUSTICS_STUDIO - - - - - - - ROOM_ACOUSTICS_PHONOGRAPH - - - - - - - ROOM_ACOUSTICS_VIRTUAL_STEREO - - - - - - - ROOM_ACOUSTICS_SPACIAL - - - - - - - ROOM_ACOUSTICS_ETHEREAL - - - - - - - ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND - - - - - - - ROOM_ACOUSTICS_3D_VOICE - - - - - - - VOICE_CHANGER_EFFECT_UNCLE - - - - - - - VOICE_CHANGER_EFFECT_OLDMAN - - - - - - - VOICE_CHANGER_EFFECT_BOY - - - - - - - VOICE_CHANGER_EFFECT_SISTER - - - - - - - VOICE_CHANGER_EFFECT_GIRL - - - - - - - VOICE_CHANGER_EFFECT_PIGKING - - - - - - - VOICE_CHANGER_EFFECT_HULK - - - - - - - STYLE_TRANSFORMATION_RNB - - - - - - - STYLE_TRANSFORMATION_POPULAR - - - - - - - PITCH_CORRECTION - - - - - - - ENCODING_PREFERENCE - - - - - - - PREFER_AUTO - - - - - - - PREFER_SOFTWARE - - - - - - - PREFER_HARDWARE - - - - - - - AUDIO_EQUALIZATION_BAND_FREQUENCY - - - - - - - AUDIO_EQUALIZATION_BAND_31 - - - - - - - AUDIO_EQUALIZATION_BAND_62 - - - - - - - AUDIO_EQUALIZATION_BAND_125 - - - - - - - AUDIO_EQUALIZATION_BAND_250 - - - - - - - AUDIO_EQUALIZATION_BAND_500 - - - - - - - AUDIO_EQUALIZATION_BAND_1K - - - - - - - AUDIO_EQUALIZATION_BAND_2K - - - - - - - AUDIO_EQUALIZATION_BAND_4K - - - - - - - AUDIO_EQUALIZATION_BAND_8K - - - - - - - AUDIO_EQUALIZATION_BAND_16K - - - - - - - AUDIO_FRAME_TYPE - - - - - - - FRAME_TYPE_PCM16 - - - - - - - AUDIO_FRAME_POSITION_PLAYBACK - - - - - - - AUDIO_FRAME_POSITION_RECORD - - - - - - - AUDIO_FRAME_POSITION_MIXED - - - - - - - AUDIO_FRAME_POSITION_BEFORE_MIXING - - - - - - - AUDIO_FRAME_POSITION_EAR_MONITORING - - - - - - - AUDIO_DUAL_MONO_MODE - - - - - - - AUDIO_DUAL_MONO_STEREO - - - - - - - AUDIO_DUAL_MONO_L - - - - - - - AUDIO_DUAL_MONO_R - - - - - - - AUDIO_DUAL_MONO_MIX - - - - - - - AUDIO_MIXING_DUAL_MONO_MODE - - - - - - - AUDIO_MIXING_DUAL_MONO_AUTO - - - - - - - AUDIO_MIXING_DUAL_MONO_L - - - - - - - AUDIO_MIXING_DUAL_MONO_R - - - - - - - AUDIO_MIXING_DUAL_MONO_MIX - - - - - - - AUDIO_MIXING_REASON_TYPE - - - - - - - AUDIO_MIXING_REASON_OK - - - - - - - AUDIO_MIXING_REASON_CAN_NOT_OPEN - - - - - - - AUDIO_MIXING_REASON_TOO_FREQUENT_CALL - - - - - - - AUDIO_MIXING_REASON_INTERRUPTED_EOF - - - - - - - AUDIO_MIXING_REASON_STARTED_BY_USER - - - - - - - AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED - - - - - - - AUDIO_MIXING_REASON_START_NEW_LOOP - - - - - - - AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED - - - - - - - AUDIO_MIXING_REASON_STOPPED_BY_USER - - - - - - - AUDIO_MIXING_REASON_PAUSED_BY_USER - - - - - - - AUDIO_MIXING_REASON_RESUMED_BY_USER - - - - - - - AUDIO_MIXING_STATE_TYPE - - - - - - - AUDIO_MIXING_STATE_PLAYING - - - - - - - AUDIO_MIXING_STATE_PAUSED - - - - - - - AUDIO_MIXING_STATE_STOPPED - - - - - - - AUDIO_MIXING_STATE_FAILED - - - - - - - AUDIO_MIXING_STATE_COMPLETED - - - - - - - AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED - - - - - - - AUDIO_PROCESSING_CHANNELS - - - - - - - AUDIO_PROCESSING_MONO - - - - - - - AUDIO_PROCESSING_STEREO - - - - - - - AUDIO_PROFILE_TYPE - - - - - - - AUDIO_PROFILE_DEFAULT - - - - - - - AUDIO_PROFILE_SPEECH_STANDARD - - - - - - - AUDIO_PROFILE_MUSIC_STANDARD - - - - - - - AUDIO_PROFILE_MUSIC_STANDARD_STEREO - - - - - - - AUDIO_PROFILE_MUSIC_HIGH_QUALITY - - - - - - - AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO - - - - - - - AUDIO_PROFILE_IOT - - - - - - - AUDIO_PROFILE_NUM - - - - - - - AUDIO_RANGE_MODE_TYPE - - - - - - - AUDIO_RANGE_MODE_WORLD - - - - - - - AUDIO_RANGE_MODE_TEAM - - - - - - - AUDIO_FILE_RECORDING_TYPE - - - - - - - AUDIO_FILE_RECORDING_MIC - - - - - - - AUDIO_FILE_RECORDING_PLAYBACK - - - - - - - AUDIO_FILE_RECORDING_MIXED - - - - - - - AUDIO_RECORDING_QUALITY_TYPE - - - - - - - AUDIO_RECORDING_QUALITY_LOW - - - - - - - AUDIO_RECORDING_QUALITY_MEDIUM - - - - - - - AUDIO_RECORDING_QUALITY_HIGH - - - - - - - AUDIO_RECORDING_QUALITY_ULTRA_HIGH - - - - - - - AUDIO_REVERB_PRESET - - - - - - - AUDIO_REVERB_OFF - - - - - - - AUDIO_REVERB_FX_KTV - - - - - - - AUDIO_REVERB_FX_VOCAL_CONCERT - - - - - - - AUDIO_REVERB_FX_UNCLE - - - - - - - AUDIO_REVERB_FX_SISTER - - - - - - - AUDIO_REVERB_FX_STUDIO - - - - - - - AUDIO_REVERB_FX_POPULAR - - - - - - - AUDIO_REVERB_FX_RNB - - - - - - - AUDIO_REVERB_FX_PHONOGRAPH - - - - - - - AUDIO_REVERB_POPULAR - - - - - - - AUDIO_REVERB_RNB - - - - - - - AUDIO_REVERB_ROCK - - - - - - - AUDIO_REVERB_HIPHOP - - - - - - - AUDIO_REVERB_VOCAL_CONCERT - - - - - - - AUDIO_REVERB_KTV - - - - - - - AUDIO_REVERB_STUDIO - - - - - - - AUDIO_VIRTUAL_STEREO - - - - - - - AUDIO_ELECTRONIC_VOICE - - - - - - - AUDIO_THREEDIM_VOICE - - - - - - - AUDIO_REVERB_TYPE - - - - - - - AUDIO_REVERB_DRY_LEVEL - - - - - - - AUDIO_REVERB_WET_LEVEL - - - - - - - AUDIO_REVERB_ROOM_SIZE - - - - - - - AUDIO_REVERB_WET_DELAY - - - - - - - AUDIO_REVERB_STRENGTH - - - - - - - AudioRoute - - - - - - - ROUTE_DEFAULT - - - - - - - ROUTE_HEADSET - - - - - - - ROUTE_EARPIECE - - - - - - - ROUTE_HEADSETNOMIC - - - - - - - ROUTE_SPEAKERPHONE - - - - - - - ROUTE_LOUDSPEAKER - - - - - - - ROUTE_BLUETOOTH - - - - - - - ROUTE_USB - - - - - - - ROUTE_HDMI - - - - - - - ROUTE_DISPLAYPORT - - - - - - - ROUTE_AIRPLAY - - - - - - - AUDIO_SAMPLE_RATE_TYPE - - - - - - - AUDIO_SAMPLE_RATE_32000 - - - - - - - AUDIO_SAMPLE_RATE_44100 - - - - - - - AUDIO_SAMPLE_RATE_48000 - - - - - - - AUDIO_SCENARIO_TYPE - - - - - - - AUDIO_SCENARIO_DEFAULT - - - - - - - AUDIO_SCENARIO_CHATROOM - - - - - - - AUDIO_SCENARIO_GAME_STREAMING - - - - - - - AUDIO_SCENARIO_CHORUS - - - - - - - AUDIO_SCENARIO_MEETING - - - - - - - AUDIO_SCENARIO_NUM - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_NONE - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_ALL - - - - - - - AUDIO_TRACK_TYPE - - - - - - - AUDIO_TRACK_MIXABLE - - - - - - - AUDIO_TRACK_DIRECT - - - - - - - CONNECTION_STATE_TYPE - - - - - - - CONNECTION_STATE_DISCONNECTED - - - - - - - CONNECTION_STATE_CONNECTING - - - - - - - CONNECTION_STATE_CONNECTED - - - - - - - CONNECTION_STATE_RECONNECTING - - - - - - - CONNECTION_STATE_FAILED - - - - - - - CONNECTION_CHANGED_REASON_TYPE - - - - - - - CONNECTION_CHANGED_CONNECTING - - - - - - - CONNECTION_CHANGED_JOIN_SUCCESS - - - - - - - CONNECTION_CHANGED_REJOIN_SUCCESS - - - - - - - CONNECTION_CHANGED_LOST - - - - - - - CONNECTION_CHANGED_ECHO_TEST - - - - - - - CONNECTION_CHANGED_INTERRUPTED - - - - - - - CONNECTION_CHANGED_BANNED_BY_SERVER - - - - - - - CONNECTION_CHANGED_JOIN_FAILED - - - - - - - CONNECTION_CHANGED_LEAVE_CHANNEL - - - - - - - CONNECTION_CHANGED_INVALID_APP_ID - - - - - - - CONNECTION_CHANGED_INVALID_CHANNEL_NAME - - - - - - - CONNECTION_CHANGED_INVALID_TOKEN - - - - - - - CONNECTION_CHANGED_TOKEN_EXPIRED - - - - - - - CONNECTION_CHANGED_REJECTED_BY_SERVER - - - - - - - CONNECTION_CHANGED_SETTING_PROXY_SERVER - - - - - - - CONNECTION_CHANGED_RENEW_TOKEN - - - - - - - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED - - - - - - - CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT - - - - - - - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER - - - - - - - CONNECTION_CHANGED_SAME_UID_LOGIN - - - - - - - CONNECTION_CHANGED_TOO_MANY_BROADCASTERS - - - - - - - CAMERA_DIRECTION - - - - - - - CAMERA_REAR - - - - - - - CAMERA_FRONT - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_TYPE - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_INVALID - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_NORMAL - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_BRIGHT - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_DARK - - - - - - - CAPTURER_OUTPUT_PREFERENCE - - - - - - - CAPTURER_OUTPUT_PREFERENCE_AUTO - - - - - - - CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE - - - - - - - CAPTURER_OUTPUT_PREFERENCE_PREVIEW - - - - - - - CAPTURER_OUTPUT_PREFERENCE_MANUAL - - - - - - - CHANNEL_MEDIA_RELAY_ERROR - - - - - - - RELAY_OK - - - - - - - RELAY_ERROR_SERVER_ERROR_RESPONSE - - - - - - - RELAY_ERROR_SERVER_NO_RESPONSE - - - - - - - RELAY_ERROR_NO_RESOURCE_AVAILABLE - - - - - - - RELAY_ERROR_FAILED_JOIN_SRC - - - - - - - RELAY_ERROR_FAILED_JOIN_DEST - - - - - - - RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC - - - - - - - RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST - - - - - - - RELAY_ERROR_SERVER_CONNECTION_LOST - - - - - - - RELAY_ERROR_INTERNAL_ERROR - - - - - - - RELAY_ERROR_SRC_TOKEN_EXPIRED - - - - - - - RELAY_ERROR_DEST_TOKEN_EXPIRED - - - - - - - CHANNEL_MEDIA_RELAY_EVENT - - - - - - - RELAY_EVENT_NETWORK_DISCONNECTED - - - - - - - RELAY_EVENT_NETWORK_CONNECTED - - - - - - - RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL - - - - - - - RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL - - - - - - - RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL - - - - - - - RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC - - - - - - - RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC - - - - - - - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL - - - - - - - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE - - - - - - - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL - - - - - - - RELAY_EVENT_VIDEO_PROFILE_UPDATE - - - - - - - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - - - - - - - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED - - - - - - - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - - - - - - - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED - - - - - - - CHANNEL_MEDIA_RELAY_STATE - - - - - - - RELAY_STATE_IDLE - - - - - - - RELAY_STATE_CONNECTING - - - - - - - RELAY_STATE_RUNNING - - - - - - - RELAY_STATE_FAILURE - - - - - - - CHANNEL_PROFILE_TYPE - - - - - - - CHANNEL_PROFILE_COMMUNICATION - - - - - - - CHANNEL_PROFILE_LIVE_BROADCASTING - - - - - - - CHANNEL_PROFILE_GAME - - - - - - - CHANNEL_PROFILE_CLOUD_GAMING - - - - - - - CLIENT_ROLE_TYPE - - - - - - - CLIENT_ROLE_BROADCASTER - - - - - - - CLIENT_ROLE_AUDIENCE - - - - - - - CLIENT_ROLE_CHANGE_FAILED_REASON - - - - - - - CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS - - - - - - - CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED - - - - - - - CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT - - - - - - - CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED - - - - - - - CLOUD_PROXY_TYPE - - - - - - - NONE_PROXY - - - - - - - UDP_PROXY - - - - - - - TCP_PROXY - - - - - - - PROXY_TYPE - - - - - - - NONE_PROXY_TYPE - - - - - - - UDP_PROXY_TYPE - - - - - - - TCP_PROXY_TYPE - - - - - - - LOCAL_PROXY_TYPE - - - - - - - TCP_PROXY_AUTO_FALLBACK_TYPE - - - - - - - DEGRADATION_PREFERENCE - - - - - - - MAINTAIN_QUALITY - - - - - - - MAINTAIN_FRAMERATE - - - - - - - MAINTAIN_BALANCED - - - - - - - MAINTAIN_RESOLUTION - - - - - - - DIRECT_CDN_STREAMING_REASON - - - - - - - DIRECT_CDN_STREAMING_REASON_OK - - - - - - - DIRECT_CDN_STREAMING_REASON_FAILED - - - - - - - DIRECT_CDN_STREAMING_REASON_AUDIO_PUBLICATION - - - - - - - DIRECT_CDN_STREAMING_REASON_VIDEO_PUBLICATION - - - - - - - DIRECT_CDN_STREAMING_REASON_NET_CONNECT - - - - - - - DIRECT_CDN_STREAMING_REASON_BAD_NAME - - - - - - - DIRECT_CDN_STREAMING_STATE - - - - - - - DIRECT_CDN_STREAMING_STATE_IDLE - - - - - - - DIRECT_CDN_STREAMING_STATE_RUNNING - - - - - - - DIRECT_CDN_STREAMING_STATE_STOPPED - - - - - - - DIRECT_CDN_STREAMING_STATE_FAILED - - - - - - - DIRECT_CDN_STREAMING_STATE_RECOVERING - - - - - - - ENCRYPTION_ERROR_TYPE - - - - - - - ENCRYPTION_ERROR_INTERNAL_FAILURE - - - - - - - ENCRYPTION_ERROR_DECRYPTION_FAILURE - - - - - - - ENCRYPTION_ERROR_ENCRYPTION_FAILURE - - - - - - - ERROR_CODE_TYPE - - - - - - - ERR_OK - - - - - - - ERR_FAILED - - - - - - - ERR_INVALID_ARGUMENT - - - - - - - ERR_NOT_READY - - - - - - - ERR_NOT_SUPPORTED - - - - - - - ERR_REFUSED - - - - - - - ERR_BUFFER_TOO_SMALL - - - - - - - ERR_NOT_INITIALIZED - - - - - - - ERR_INVALID_STATE - - - - - - - ERR_NO_PERMISSION - - - - - - - ERR_TIMEDOUT - - - - - - - ERR_JOIN_CHANNEL_REJECTED - - - - - - - ERR_LEAVE_CHANNEL_REJECTED - - - - - - - ERR_ALREADY_IN_USE - - - - - - - ERR_ABORTED - - - - - - - ERR_INIT_NET_ENGINE - - - - - - - ERR_RESOURCE_LIMITED - - - - - - - ERR_INVALID_APP_ID - - - - - - - ERR_INVALID_CHANNEL_NAME - - - - - - - ERR_NO_SERVER_RESOURCES - - - - - - - ERR_TOKEN_EXPIRED - - - - - - - ERR_INVALID_TOKEN - - - - - - - ERR_CONNECTION_INTERRUPTED - - - - - - - ERR_CONNECTION_LOST - - - - - - - ERR_NOT_IN_CHANNEL - - - - - - - ERR_SIZE_TOO_LARGE - - - - - - - ERR_BITRATE_LIMIT - - - - - - - ERR_TOO_MANY_DATA_STREAMS - - - - - - - ERR_STREAM_MESSAGE_TIMEOUT - - - - - - - ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED - - - - - - - ERR_DECRYPTION_FAILED - - - - - - - ERR_INVALID_USER_ID - - - - - - - ERR_CLIENT_IS_BANNED_BY_SERVER - - - - - - - ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH - - - - - - - ERR_LICENSE_CREDENTIAL_INVALID - - - - - - - ERR_INVALID_USER_ACCOUNT - - - - - - - ERR_MODULE_NOT_FOUND - - - - - - - ERR_LOAD_MEDIA_ENGINE - - - - - - - ERR_ADM_GENERAL_ERROR - - - - - - - ERR_ADM_INIT_PLAYOUT - - - - - - - ERR_ADM_START_PLAYOUT - - - - - - - ERR_ADM_STOP_PLAYOUT - - - - - - - ERR_ADM_INIT_RECORDING - - - - - - - ERR_ADM_START_RECORDING - - - - - - - ERR_ADM_STOP_RECORDING - - - - - - - ERR_VDM_CAMERA_NOT_AUTHORIZED - - - - - - - ENCRYPTION_MODE - - - - - - - AES_128_XTS - - - - - - - AES_128_ECB - - - - - - - AES_256_XTS - - - - - - - SM4_128_ECB - - - - - - - AES_128_GCM - - - - - - - AES_256_GCM - - - - - - - AES_128_GCM2 - - - - - - - AES_256_GCM2 - - - - - - - MODE_END - - - - - - - EXPERIENCE_POOR_REASON - - - - - - - EXPERIENCE_REASON_NONE - - - - - - - REMOTE_NETWORK_QUALITY_POOR - - - - - - - LOCAL_NETWORK_QUALITY_POOR - - - - - - - WIRELESS_SIGNAL_POOR - - - - - - - WIFI_BLUETOOTH_COEXIST - - - - - - - EXPERIENCE_QUALITY_TYPE - - - - - - - EXPERIENCE_QUALITY_GOOD - - - - - - - EXPERIENCE_QUALITY_BAD - - - - - - - FRAME_RATE - - - - - - - FRAME_RATE_FPS_1 - - - - - - - FRAME_RATE_FPS_7 - - - - - - - FRAME_RATE_FPS_10 - - - - - - - FRAME_RATE_FPS_15 - - - - - - - FRAME_RATE_FPS_24 - - - - - - - FRAME_RATE_FPS_30 - - - - - - - FRAME_RATE_FPS_60 - - - - - - - HEADPHONE_EQUALIZER_PRESET - - - - - - - HEADPHONE_EQUALIZER_OFF - - - - - - - HEADPHONE_EQUALIZER_OVEREAR - - - - - - - HEADPHONE_EQUALIZER_INEAR - - - - - - - MediaRecorderContainerFormat - - - - - - - FORMAT_MP4 - - - - - - - MediaRecorderStreamType - - - - - - - STREAM_TYPE_AUDIO - - - - - - - STREAM_TYPE_VIDEO - - - - - - - STREAM_TYPE_BOTH - - - - - - - LASTMILE_PROBE_RESULT_STATE - - - - - - - LASTMILE_PROBE_RESULT_COMPLETE - - - - - - - LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE - - - - - - - LASTMILE_PROBE_RESULT_UNAVAILABLE - - - - - - - LIGHTENING_CONTRAST_LEVEL - - - - - - - LIGHTENING_CONTRAST_LOW - - - - - - - LIGHTENING_CONTRAST_NORMAL - - - - - - - LIGHTENING_CONTRAST_HIGH - - - - - - - LOCAL_AUDIO_STREAM_REASON - - - - - - - LOCAL_AUDIO_STREAM_REASON_OK - - - - - - - LOCAL_AUDIO_STREAM_REASON_FAILURE - - - - - - - LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION - - - - - - - LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY - - - - - - - LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE - - - - - - - LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE - - - - - - - LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE - - - - - - - LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE - - - - - - - LOCAL_AUDIO_STREAM_REASON_INTERRUPTED - - - - - - - LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID - - - - - - - LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID - - - - - - - LOCAL_AUDIO_STREAM_STATE - - - - - - - LOCAL_AUDIO_STREAM_STATE_STOPPED - - - - - - - LOCAL_AUDIO_STREAM_STATE_RECORDING - - - - - - - LOCAL_AUDIO_STREAM_STATE_ENCODING - - - - - - - LOCAL_AUDIO_STREAM_STATE_FAILED - - - - - - - LOCAL_PROXY_MODE - - - - - - - ConnectivityFirst - - - - - - - LocalOnly - - - - - - - LOCAL_VIDEO_STREAM_REASON - - - - - - - LOCAL_VIDEO_STREAM_REASON_OK - - - - - - - LOCAL_VIDEO_STREAM_REASON_FAILURE - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY - - - - - - - LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE - - - - - - - LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT - - - - - - - LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND - - - - - - - LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE - - - - - - - LOCAL_VIDEO_STREAM_STATE - - - - - - - LOCAL_VIDEO_STREAM_STATE_STOPPED - - - - - - - LOCAL_VIDEO_STREAM_STATE_CAPTURING - - - - - - - LOCAL_VIDEO_STREAM_STATE_ENCODING - - - - - - - LOCAL_VIDEO_STREAM_STATE_FAILED - - - - - - - ERR_SCREEN_CAPTURE_PERMISSION_DENIED - - - - - - - ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED - - - - - - - ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED - - - - - - - LOG_FILTER_TYPE - - - - - - - LOG_FILTER_OFF - - - - - - - LOG_FILTER_DEBUG - - - - - - - LOG_FILTER_INFO - - - - - - - LOG_FILTER_WARN - - - - - - - LOG_FILTER_ERROR - - - - - - - LOG_FILTER_CRITICAL - - - - - - - LOG_LEVEL - - - - - - - LOG_LEVEL_NONE - - - - - - - LOG_LEVEL_INFO - - - - - - - LOG_LEVEL_WARN - - - - - - - LOG_LEVEL_ERROR - - - - - - - LOG_LEVEL_FATAL - - - - - - - LOW_LIGHT_ENHANCE_MODE - - - - - - - LOW_LIGHT_ENHANCE_AUTO - - - - - - - LOW_LIGHT_ENHANCE_MANUAL - - - - - - - LOW_LIGHT_ENHANCE_LEVEL - - - - - - - LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY - - - - - - - LOW_LIGHT_ENHANCE_LEVEL_FAST - - - - - - - MAX_CHANNEL_ID_LENGTH_TYPE - - - - - - - MAX_CHANNEL_ID_LENGTH - - - - - - - MAX_DEVICE_ID_LENGTH_TYPE - - - - - - - MAX_DEVICE_ID_LENGTH - - - - - - - MAX_USER_ACCOUNT_LENGTH_TYPE - - - - - - - MAX_USER_ACCOUNT_LENGTH - - - - - - - MEDIA_DEVICE_STATE_TYPE - - - - - - - MEDIA_DEVICE_STATE_IDLE - - - - - - - MEDIA_DEVICE_STATE_ACTIVE - - - - - - - MEDIA_DEVICE_STATE_DISABLED - - - - - - - MEDIA_DEVICE_STATE_NOT_PRESENT - - - - - - - MEDIA_DEVICE_STATE_UNPLUGGED - - - - - - - MEDIA_DEVICE_STATE_UNRECOMMENDED - - - - - - - MEDIA_DEVICE_TYPE - - - - - - - UNKNOWN_AUDIO_DEVICE - - - - - - - AUDIO_PLAYOUT_DEVICE - - - - - - - AUDIO_RECORDING_DEVICE - - - - - - - VIDEO_RENDER_DEVICE - - - - - - - VIDEO_CAPTURE_DEVICE - - - - - - - AUDIO_APPLICATION_PLAYOUT_DEVICE - - - - - - - AUDIO_VIRTUAL_PLAYOUT_DEVICE - - - - - - - AUDIO_VIRTUAL_RECORDING_DEVICE - - - - - - - MEDIA_PLAYER_REASON - - - - - - - PLAYER_REASON_NONE - - - - - - - PLAYER_REASON_INVALID_ARGUMENTS - - - - - - - PLAYER_REASON_INTERNAL - - - - - - - PLAYER_REASON_NO_RESOURCE - - - - - - - PLAYER_REASON_INVALID_MEDIA_SOURCE - - - - - - - PLAYER_REASON_UNKNOWN_STREAM_TYPE - - - - - - - PLAYER_REASON_OBJ_NOT_INITIALIZED - - - - - - - PLAYER_REASON_CODEC_NOT_SUPPORTED - - - - - - - PLAYER_REASON_VIDEO_RENDER_FAILED - - - - - - - PLAYER_REASON_INVALID_STATE - - - - - - - PLAYER_REASON_URL_NOT_FOUND - - - - - - - PLAYER_REASON_INVALID_CONNECTION_STATE - - - - - - - PLAYER_REASON_SRC_BUFFER_UNDERFLOW - - - - - - - PLAYER_REASON_INTERRUPTED - - - - - - - PLAYER_REASON_NOT_SUPPORTED - - - - - - - PLAYER_REASON_TOKEN_EXPIRED - - - - - - - PLAYER_REASON_IP_EXPIRED - - - - - - - PLAYER_REASON_UNKNOWN - - - - - - - MEDIA_PLAYER_EVENT - - - - - - - PLAYER_EVENT_SEEK_BEGIN - - - - - - - PLAYER_EVENT_SEEK_COMPLETE - - - - - - - PLAYER_EVENT_SEEK_ERROR - - - - - - - PLAYER_EVENT_AUDIO_TRACK_CHANGED - - - - - - - PLAYER_EVENT_BUFFER_LOW - - - - - - - PLAYER_EVENT_BUFFER_RECOVER - - - - - - - PLAYER_EVENT_FREEZE_START - - - - - - - PLAYER_EVENT_FREEZE_STOP - - - - - - - PLAYER_EVENT_SWITCH_BEGIN - - - - - - - PLAYER_EVENT_SWITCH_COMPLETE - - - - - - - PLAYER_EVENT_SWITCH_ERROR - - - - - - - PLAYER_EVENT_FIRST_DISPLAYED - - - - - - - PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT - - - - - - - PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE - - - - - - - MEDIA_PLAYER_METADATA_TYPE - - - - - - - PLAYER_METADATA_TYPE_UNKNOWN - - - - - - - PLAYER_METADATA_TYPE_SEI - - - - - - - MEDIA_PLAYER_STATE - - - - - - - PLAYER_STATE_IDLE - - - - - - - PLAYER_STATE_OPENING - - - - - - - PLAYER_STATE_OPEN_COMPLETED - - - - - - - PLAYER_STATE_PLAYING - - - - - - - PLAYER_STATE_PAUSED - - - - - - - PLAYER_STATE_PLAYBACK_COMPLETED - - - - - - - PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED - - - - - - - PLAYER_STATE_STOPPED - - - - - - - PLAYER_STATE_FAILED - - - - - - - MEDIA_SOURCE_TYPE - - - - - - - AUDIO_PLAYOUT_SOURCE - - - - - - - AUDIO_RECORDING_SOURCE - - - - - - - PRIMARY_CAMERA_SOURCE - - - - - - - SECONDARY_CAMERA_SOURCE - - - - - - - UNKNOWN_MEDIA_SOURCE - - - - - - - MEDIA_TRACE_EVENT - - - - - - - MEDIA_TRACE_EVENT_VIDEO_RENDERED - - - - - - - MEDIA_TRACE_EVENT_VIDEO_DECODED - - - - - - - MEDIA_STREAM_TYPE - - - - - - - STREAM_TYPE_UNKNOWN - - - - - - - STREAM_TYPE_SUBTITLE - - - - - - - METADATA_TYPE - - - - - - - UNKNOWN_METADATA - - - - - - - VIDEO_METADATA - - - - - - - MUSIC_CACHE_STATUS_TYPE - - - - - - - MUSIC_CACHE_STATUS_TYPE_CACHED - - - - - - - MUSIC_CACHE_STATUS_TYPE_CACHING - - - - - - - MusicContentCenterStateReason - - - - - - - kMusicContentCenterReasonOk - - - - - - - kMusicContentCenterReasonError - - - - - - - kMusicContentCenterReasonGateway - - - - - - - kMusicContentCenterReasonPermissionAndResource - - - - - - - kMusicContentCenterReasonInternalDataParse - - - - - - - kMusicContentCenterReasonMusicLoading - - - - - - - kMusicContentCenterReasonMusicDecryption - - - - - - - NETWORK_TYPE - - - - - - - NETWORK_TYPE_UNKNOWN - - - - - - - NETWORK_TYPE_DISCONNECTED - - - - - - - NETWORK_TYPE_LAN - - - - - - - NETWORK_TYPE_WIFI - - - - - - - NETWORK_TYPE_MOBILE_2G - - - - - - - NETWORK_TYPE_MOBILE_3G - - - - - - - NETWORK_TYPE_MOBILE_4G - - - - - - - NETWORK_TYPE_MOBILE_5G - - - - - - - ORIENTATION_MODE - - - - - - - ORIENTATION_MODE_ADAPTIVE - - - - - - - ORIENTATION_FIXED_LANDSCAPE - - - - - - - ORIENTATION_FIXED_PORTRAIT - - - - - - - PreloadState - - - - - - - kPreloadStateCompleted - - - - - - - kPreloadStateFailed - - - - - - - kPreloadStatePreloading - - - - - - - kPreloadStateRemoved - - - - - - - PERMISSION_TYPE - - - - - - - RECORD_AUDIO - - - - - - - CAMERA - - - - - - - SCREEN_CAPTURE - - - - - - - PLAYER_PRELOAD_EVENT - - - - - - - PLAYER_PRELOAD_EVENT_BEGIN - - - - - - - PLAYER_PRELOAD_EVENT_COMPLETE - - - - - - - PLAYER_PRELOAD_EVENT_ERROR - - - - - - - PRIORITY_TYPE - - - - - - - PRIORITY_HIGH - - - - - - - PRIORITY_NORMAL - - - - - - - QUALITY_ADAPT_INDICATION - - - - - - - ADAPT_NONE - - - - - - - ADAPT_UP_BANDWIDTH - - - - - - - ADAPT_DOWN_BANDWIDTH - - - - - - - QUALITY_REPORT_FORMAT_TYPE - - - - - - - QUALITY_REPORT_JSON - - - - - - - QUALITY_REPORT_HTML - - - - - - - QUALITY_TYPE - - - - - - - QUALITY_UNKNOWN - - - - - - - QUALITY_EXCELLENT - - - - - - - QUALITY_GOOD - - - - - - - QUALITY_POOR - - - - - - - QUALITY_BAD - - - - - - - QUALITY_VBAD - - - - - - - QUALITY_DOWN - - - - - - - QUALITY_UNSUPPORTED - - - - - - - QUALITY_DETECTING - - - - - - - RAW_AUDIO_FRAME_OP_MODE_TYPE - - - - - - - RAW_AUDIO_FRAME_OP_MODE_READ_ONLY - - - - - - - RAW_AUDIO_FRAME_OP_MODE_READ_WRITE - - - - - - - REMOTE_AUDIO_STATE - - - - - - - REMOTE_AUDIO_STATE_STOPPED - - - - - - - REMOTE_AUDIO_STATE_STARTING - - - - - - - REMOTE_AUDIO_STATE_DECODING - - - - - - - REMOTE_AUDIO_STATE_FROZEN - - - - - - - REMOTE_AUDIO_STATE_FAILED - - - - - - - REMOTE_VIDEO_STATE - - - - - - - REMOTE_VIDEO_STATE_STOPPED - - - - - - - REMOTE_VIDEO_STATE_STARTING - - - - - - - REMOTE_VIDEO_STATE_DECODING - - - - - - - REMOTE_VIDEO_STATE_FROZEN - - - - - - - REMOTE_VIDEO_STATE_FAILED - - - - - - - REMOTE_AUDIO_STATE_REASON - - - - - - - REMOTE_AUDIO_REASON_INTERNAL - - - - - - - REMOTE_AUDIO_REASON_NETWORK_CONGESTION - - - - - - - REMOTE_AUDIO_REASON_NETWORK_RECOVERY - - - - - - - REMOTE_AUDIO_REASON_LOCAL_MUTED - - - - - - - REMOTE_AUDIO_REASON_LOCAL_UNMUTED - - - - - - - REMOTE_AUDIO_REASON_REMOTE_MUTED - - - - - - - REMOTE_AUDIO_REASON_REMOTE_UNMUTED - - - - - - - REMOTE_AUDIO_REASON_REMOTE_OFFLINE - - - - - - - REMOTE_VIDEO_STATE_REASON - - - - - - - REMOTE_VIDEO_STATE_REASON_INTERNAL - - - - - - - REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION - - - - - - - REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY - - - - - - - REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE - - - - - - - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK - - - - - - - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY - - - - - - - REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND - - - - - - - REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT - - - - - - - VIDEO_STREAM_TYPE - - - - - - - VIDEO_STREAM_HIGH - - - - - - - VIDEO_STREAM_LOW - - - - - - - AdvancedAudioOptions - - - - - - - AdvanceOptions - - - - - - - AdvancedConfigInfo - - - - - - - AgoraRhythmPlayerConfig - - - - - - - RecorderReasonCode - - - - - - - RECORDER_REASON_NONE - - - - - - - RECORDER_ERROR_WRITE_FAILED - - - - - - - RECORDER_ERROR_NO_STREAM - - - - - - - RECORDER_ERROR_OVER_MAX_DURATION - - - - - - - RECORDER_ERROR_CONFIG_CHANGED - - - - - - - RecorderState - - - - - - - RECORDER_STATE_ERROR - - - - - - - RECORDER_STATE_START - - - - - - - RECORDER_STATE_STOP - - - - - - - RENDER_MODE_TYPE - - - - - - - RENDER_MODE_HIDDEN - - - - - - - RENDER_MODE_FIT - - - - - - - RENDER_MODE_ADAPTIVE - - - - - - - RTMP_STREAM_LIFE_CYCLE_TYPE - - - - - - - RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL - - - - - - - RTMP_STREAM_LIFE_CYCLE_BIND2OWNER - - - - - - - RTMP_STREAM_PUBLISH_REASON - - - - - - - RTMP_STREAM_PUBLISH_REASON_OK - - - - - - - RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT - - - - - - - RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED - - - - - - - RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT - - - - - - - RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR - - - - - - - RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR - - - - - - - RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN - - - - - - - RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT - - - - - - - RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED - - - - - - - RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND - - - - - - - RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED - - - - - - - RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER - - - - - - - RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM - - - - - - - RTMP_STREAM_PUBLISH_REASON_NET_DOWN - - - - - - - RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE - - - - - - - RTMP_STREAM_UNPUBLISH_REASON_OK - - - - - - - RTMP_STREAM_PUBLISH_STATE - - - - - - - RTMP_STREAM_PUBLISH_STATE_IDLE - - - - - - - RTMP_STREAM_PUBLISH_STATE_CONNECTING - - - - - - - RTMP_STREAM_PUBLISH_STATE_RUNNING - - - - - - - RTMP_STREAM_PUBLISH_STATE_RECOVERING - - - - - - - RTMP_STREAM_PUBLISH_STATE_FAILURE - - - - - - - RTMP_STREAM_PUBLISH_STATE_DISCONNECTING - - - - - - - RTMP_STREAMING_EVENT - - - - - - - RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE - - - - - - - RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE - - - - - - - RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT - - - - - - - RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN - - - - - - - RHYTHM_PLAYER_STATE_TYPE - - - - - - - RHYTHM_PLAYER_STATE_IDLE - - - - - - - RHYTHM_PLAYER_STATE_OPENING - - - - - - - RHYTHM_PLAYER_STATE_DECODING - - - - - - - RHYTHM_PLAYER_STATE_PLAYING - - - - - - - RHYTHM_PLAYER_STATE_FAILED - - - - - - - RHYTHM_PLAYER_REASON - - - - - - - RHYTHM_PLAYER_REASON_OK - - - - - - - RHYTHM_PLAYER_REASON_FAILED - - - - - - - RHYTHM_PLAYER_REASON_CAN_NOT_OPEN - - - - - - - RHYTHM_PLAYER_REASON_CAN_NOT_PLAY - - - - - - - RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT - - - - - - - SIMULCAST_STREAM_MODE - - - - - - - AUTO_SIMULCAST_STREAM - - - - - - - DISABLE_SIMULCAST_STREAM - - - - - - - ENABLE_SIMULCAST_STREAM - - - - - - - STREAM_FALLBACK_OPTIONS - - - - - - - STREAM_FALLBACK_OPTION_DISABLED - - - - - - - STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW - - - - - - - STREAM_FALLBACK_OPTION_AUDIO_ONLY - - - - - - - SAE_CONNECTION_STATE_TYPE - - - - - - - SAE_CONNECTION_STATE_CONNECTING - - - - - - - SAE_CONNECTION_STATE_CONNECTED - - - - - - - SAE_CONNECTION_STATE_DISCONNECTED - - - - - - - SAE_CONNECTION_STATE_RECONNECTING - - - - - - - SAE_CONNECTION_STATE_RECONNECTED - - - - - - - SAE_CONNECTION_CHANGED_REASON_TYPE - - - - - - - SAE_CONNECTION_CHANGED_DEFAULT - - - - - - - SAE_CONNECTION_CHANGED_CONNECTING - - - - - - - SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL - - - - - - - SAE_CONNECTION_CHANGED_RTM_DISCONNECT - - - - - - - SAE_CONNECTION_CHANGED_RTM_ABORTED - - - - - - - SAE_CONNECTION_CHANGED_LOST_SYNC - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS - - - - - - - ScreenCaptureSourceType - - - - - - - ScreenCaptureSourceType_Unknown - - - - - - - ScreenCaptureSourceType_Window - - - - - - - ScreenCaptureSourceType_Screen - - - - - - - ScreenCaptureSourceType_Custom - - - - - - - SEG_MODEL_TYPE - - - - - - - SEG_MODEL_AI - - - - - - - SEG_MODEL_GREEN - - - - - - - STREAM_PUBLISH_STATE - - - - - - - PUB_STATE_IDLE - - - - - - - PUB_STATE_NO_PUBLISHED - - - - - - - PUB_STATE_PUBLISHING - - - - - - - PUB_STATE_PUBLISHED - - - - - - - SCREEN_SCENARIO_TYPE - - - - - - - SCREEN_SCENARIO_DOCUMENT - - - - - - - SCREEN_SCENARIO_GAMING - - - - - - - SCREEN_SCENARIO_VIDEO - - - - - - - SCREEN_SCENARIO_RDC - - - - - - - STREAM_SUBSCRIBE_STATE - - - - - - - SUB_STATE_IDLE - - - - - - - SUB_STATE_NO_SUBSCRIBED - - - - - - - SUB_STATE_SUBSCRIBING - - - - - - - SUB_STATE_SUBSCRIBED - - - - - - - USER_OFFLINE_REASON_TYPE - - - - - - - USER_OFFLINE_QUIT - - - - - - - USER_OFFLINE_DROPPED - - - - - - - USER_OFFLINE_BECOME_AUDIENCE - - - - - - - VIDEO_APPLICATION_SCENARIO_TYPE - - - - - - - APPLICATION_SCENARIO_GENERAL - - - - - - - APPLICATION_SCENARIO_MEETING - - - - - - - VIDEO_BUFFER_TYPE - - - - - - - VIDEO_BUFFER_RAW_DATA - - - - - - - VIDEO_BUFFER_ARRAY - - - - - - - VIDEO_BUFFER_TEXTURE - - - - - - - VIDEO_CAPTURE_TYPE - - - - - - - VIDEO_CAPTURE_UNKNOWN - - - - - - - VIDEO_CAPTURE_CAMERA - - - - - - - VIDEO_CAPTURE_SCREEN - - - - - - - VIDEO_DENOISER_MODE - - - - - - - VIDEO_DENOISER_AUTO - - - - - - - VIDEO_DENOISER_MANUAL - - - - - - - VIDEO_DENOISER_LEVEL - - - - - - - VIDEO_DENOISER_LEVEL_HIGH_QUALITY - - - - - - - VIDEO_DENOISER_LEVEL_FAST - - - - - - - VIDEO_DENOISER_LEVEL_STRENGTH - - - - - - - VIDEO_SOURCE_TYPE - - - - - - - VIDEO_SOURCE_CAMERA_PRIMARY - - - - - - - VIDEO_SOURCE_CAMERA - - - - - - - VIDEO_SOURCE_CAMERA_SECONDARY - - - - - - - VIDEO_SOURCE_SCREEN_PRIMARY - - - - - - - VIDEO_SOURCE_SCREEN - - - - - - - VIDEO_SOURCE_SCREEN_SECONDARY - - - - - - - VIDEO_SOURCE_CUSTOM - - - - - - - VIDEO_SOURCE_MEDIA_PLAYER - - - - - - - VIDEO_SOURCE_RTC_IMAGE_PNG - - - - - - - VIDEO_SOURCE_RTC_IMAGE_JPEG - - - - - - - VIDEO_SOURCE_RTC_IMAGE_GIF - - - - - - - VIDEO_SOURCE_REMOTE - - - - - - - VIDEO_SOURCE_TRANSCODED - - - - - - - VIDEO_SOURCE_CAMERA_THIRD - - - - - - - VIDEO_SOURCE_CAMERA_FOURTH - - - - - - - VIDEO_SOURCE_SCREEN_THIRD - - - - - - - VIDEO_SOURCE_SCREEN_FOURTH - - - - - - - VIDEO_SOURCE_UNKNOWN - - - - - - - VIDEO_CODEC_PROFILE_TYPE - - - - - - - VIDEO_CODEC_PROFILE_BASELINE - - - - - - - VIDEO_CODEC_PROFILE_MAIN - - - - - - - VIDEO_CODEC_PROFILE_HIGH - - - - - - - VIDEO_CODEC_TYPE - - - - - - - VIDEO_CODEC_VP8 - - - - - - - VIDEO_CODEC_H264 - - - - - - - VIDEO_CODEC_H265 - - - - - - - VIDEO_CODEC_VP9 - - - - - - - VIDEO_CODEC_GENERIC - - - - - - - VIDEO_CODEC_GENERIC_H264 - - - - - - - VIDEO_CODEC_GENERIC_JPEG - - - - - - - VIDEO_CODEC_TYPE_FOR_STREAM - - - - - - - VIDEO_CODEC_H264_FOR_STREAM - - - - - - - VIDEO_CODEC_H265_FOR_STREAM - - - - - - - VideoContentHint - - - - - - - CONTENT_HINT_NONE - - - - - - - CONTENT_HINT_MOTION - - - - - - - CONTENT_HINT_DETAILS - - - - - - - VIDEO_FRAME_PROCESS_MODE - - - - - - - PROCESS_MODE_READ_ONLY - - - - - - - PROCESS_MODE_READ_WRITE - - - - - - - VIDEO_FRAME_TYPE - - - - - - - VIDEO_FRAME_TYPE_BLANK_FRAME - - - - - - - VIDEO_FRAME_TYPE_KEY_FRAME - - - - - - - VIDEO_FRAME_TYPE_DELTA_FRAME - - - - - - - VIDEO_FRAME_TYPE_B_FRAME - - - - - - - VIDEO_FRAME_TYPE_DROPPABLE_FRAME - - - - - - - VIDEO_FRAME_TYPE_UNKNOW - - - - - - - VIDEO_MIRROR_MODE_TYPE - - - - - - - VIDEO_MIRROR_MODE_AUTO - - - - - - - VIDEO_MIRROR_MODE_ENABLED - - - - - - - VIDEO_MIRROR_MODE_DISABLED - - - - - - - VIDEO_MODULE_POSITION - - - - - - - POSITION_POST_CAPTURER - - - - - - - POSITION_PRE_RENDERER - - - - - - - POSITION_PRE_ENCODER - - - - - - - VIDEO_ORIENTATION - - - - - - - VIDEO_ORIENTATION_0 - - - - - - - VIDEO_ORIENTATION_90 - - - - - - - VIDEO_ORIENTATION_180 - - - - - - - VIDEO_ORIENTATION_270 - - - - - - - VIDEO_PIXEL_FORMAT - - - - - - - VIDEO_PIXEL_DEFAULT - - - - - - - VIDEO_PIXEL_I420 - - - - - - - VIDEO_PIXEL_BGRA - - - - - - - VIDEO_PIXEL_NV21 - - - - - - - VIDEO_PIXEL_RGBA - - - - - - - VIDEO_PIXEL_IMC2 - - - - - - - VIDEO_PIXEL_ARGB - - - - - - - VIDEO_PIXEL_NV12 - - - - - - - VIDEO_PIXEL_I422 - - - - - - - VIDEO_TEXTURE_2D - - - - - - - VIDEO_TEXTURE_OES - - - - - - - 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 - - - - - - - VIDEO_VIEW_SETUP_MODE - - - - - - - VIDEO_VIEW_SETUP_REPLACE - - - - - - - VIDEO_VIEW_SETUP_ADD - - - - - - - VIDEO_VIEW_SETUP_REMOVE - - - - - - - VIDEO_TRANSCODER_ERROR - - - - - - - VT_ERR_OK - - - - - - - VT_ERR_VIDEO_SOURCE_NOT_READY - - - - - - - VT_ERR_INVALID_VIDEO_SOURCE_TYPE - - - - - - - VT_ERR_INVALID_IMAGE_PATH - - - - - - - VT_ERR_UNSUPPORT_IMAGE_FORMAT - - - - - - - VT_ERR_INVALID_LAYOUT - - - - - - - VT_ERR_INTERNAL - - - - - - - VOICE_BEAUTIFIER_PRESET - - - - - - - VOICE_BEAUTIFIER_OFF - - - - - - - CHAT_BEAUTIFIER_MAGNETIC - - - - - - - CHAT_BEAUTIFIER_FRESH - - - - - - - CHAT_BEAUTIFIER_VITALITY - - - - - - - SINGING_BEAUTIFIER - - - - - - - TIMBRE_TRANSFORMATION_VIGOROUS - - - - - - - TIMBRE_TRANSFORMATION_DEEP - - - - - - - TIMBRE_TRANSFORMATION_MELLOW - - - - - - - TIMBRE_TRANSFORMATION_FALSETTO - - - - - - - TIMBRE_TRANSFORMATION_FULL - - - - - - - TIMBRE_TRANSFORMATION_CLEAR - - - - - - - TIMBRE_TRANSFORMATION_RESOUNDING - - - - - - - TIMBRE_TRANSFORMATION_RINGING - - - - - - - ULTRA_HIGH_QUALITY_VOICE - - - - - - - VOICE_CHANGER_PRESET - - - - - - - VOICE_CHANGER_OFF - - - - - - - VOICE_CHANGER_OLDMAN - - - - - - - VOICE_CHANGER_BABYBOY - - - - - - - VOICE_CHANGER_BABYGIRL - - - - - - - VOICE_CHANGER_ZHUBAJIE - - - - - - - VOICE_CHANGER_ETHEREAL - - - - - - - VOICE_CHANGER_HULK - - - - - - - VOICE_BEAUTY_VIGOROUS - - - - - - - VOICE_BEAUTY_DEEP - - - - - - - VOICE_BEAUTY_MELLOW - - - - - - - VOICE_BEAUTY_FALSETTO - - - - - - - VOICE_BEAUTY_FULL - - - - - - - VOICE_BEAUTY_CLEAR - - - - - - - VOICE_BEAUTY_RESOUNDING - - - - - - - VOICE_BEAUTY_RINGING - - - - - - - VOICE_BEAUTY_SPACIAL - - - - - - - GENERAL_BEAUTY_VOICE_MALE_MAGNETIC - - - - - - - GENERAL_BEAUTY_VOICE_FEMALE_FRESH - - - - - - - GENERAL_BEAUTY_VOICE_FEMALE_VITALITY - - - - - - - INTERFACE_ID_TYPE - - - - - - - AGORA_IID_AUDIO_DEVICE_MANAGER - - - - - - - AGORA_IID_VIDEO_DEVICE_MANAGER - - - - - - - AGORA_IID_PARAMETER_ENGINE - - - - - - - AGORA_IID_MEDIA_ENGINE - - - - - - - AGORA_IID_SIGNALING_ENGINE - - - - - - - AGORA_IID_LOCAL_SPATIAL_AUDIO - - - - - - - AGORA_IID_MUSIC_CONTENT_CENTER - - - - - - - VOICE_CONVERSION_PRESET - - - - - - - VOICE_CONVERSION_OFF - - - - - - - VOICE_CHANGER_NEUTRAL - - - - - - - VOICE_CHANGER_SWEET - - - - - - - VOICE_CHANGER_SOLID - - - - - - - VOICE_CHANGER_BASS - - - - - - - - - channelId - - - - - - - info - - - - - - - uid - - - - - - - - - v3.2.0 - - - - - - - v3.3.0 - - - - - - - v3.0.0 - - - - - - - - - C:\music\audio.mp4 - - - - - - - C:\music\audio.aac - - - - - - - C:\Users\<user_name>\AppData\Local\Agora\<process_name>\example.jpg - - - - - - - libagora_ai_denoise_extension.dll - - - - - - - STANDARD_BITRATE - - - - - - - COMPATIBLE_BITRATE - - - - - - - true - - - - - - - false - - - - - - - NULL - - - - - - - libagora_clear_vision_extension.dll - - - - - - - libagora_super_resolution_extension.so (Android); AgoraSuperResolutionExtension.xcframework (iOS) - - - - - - - libagora_audio_beauty_extension.dll - - - - + + + + ExtensionContext + + + + + + + ExternalVideoFrame + + + + + + + FocalLengthInfo + + + + + + + IDirectCdnStreamingEventHandler + + + + + + + ImageTrackOptions + + + + + + + InjectStreamConfig + + + + + + + LastmileProbeConfig + + + + + + + LastmileProbeOneWayResult + + + + + + + LastmileProbeResult + + + + + + + LeaveChannelOptions + + + + + + + LiveTranscoding + + + + + + + LiveStreamAdvancedFeature + + + + + + + LocalAccessPointConfiguration + + + + + + + LocalAudioStats + + + + + + + LocalSpatialAudioConfig + + + + + + + LocalTranscoderConfiguration + + + + + + + LocalVideoStats + + + + + + + LogConfig + + + + + + + LogUploadServerInfo + + + + + + + MediaRecorderConfiguration + + + + + + + MediaSource + + + + + + + LowlightEnhanceOptions + + + + + + + Metadata + + + + + + + Music + + + + + + + MusicCacheInfo + + + + + + + MusicChartInfo + + + + + + + MusicCollection + + + + + + + MusicChartCollection + + + + + + + MusicContentCenterConfiguration + + + + + + + MvProperty + + + + + + + Packet + + + + + + + PlayerPlaybackStats + + + + + + + PlayerStreamInfo + + + + + + + PlayerUpdatedInfo + + + + + + + RecorderInfo + + + + + + + RecorderStreamInfo + + + + + + + Rect + + + + + + + Rectangle + + + + + + + RemoteAudioStats + + + + + + + RemoteVideoStats + + + + + + + RemoteVoicePositionInfo + + + + + + + RtcConnection + + + + + + + RtcEngineContext + + + + + + + RtcImage + + + + + + + RtcStats + + + + + + + ScreenCaptureConfiguration + + + + + + + ScreenCaptureParameters + + + + + + + ScreenCaptureParameters2 + + + + + + + ScreenAudioParameters + + + + + + + ScreenVideoParameters + + + + + + + ScreenCaptureSourceInfo + + + + + + + SegmentationProperty + + + + + + + SimulcastStreamConfig + + + + + + + SIZE + + + + + + + SpatialAudioParams + + + + + + + SpatialAudioZone + + + + + + + SrcInfo + + + + + + + ThumbImageBuffer + + + + + + + TranscodingUser + + + + + + + TranscodingVideoStream + + + + + + + UplinkNetworkInfo + + + + + + + UserAudioSpectrumInfo + + + + + + + UserInfo + + + + + + + VideoCanvas + + + + + + + VideoDenoiserOptions + + + + + + + VideoDimensions + + + + + + + VideoEncoderConfiguration + + + + + + + VideoFormat + + + + + + + VideoFrame + + + + + + + VideoLayout + + + + + + + VideoRenderingTracingInfo + + + + + + + VideoSubscriptionOptions + + + + + + + VirtualBackgroundSource + + + + + + + WatermarkOptions + + + + + + + WatermarkRatio + + + + + + + WATERMARK_FIT_MODE + + + + + + + FIT_MODE_COVER_POSITION + + + + + + + FIT_MODE_USE_IMAGE_RATIO + + + + + + + + + ALPHA_STITCH_MODE + + + + + + + NO_ALPHA_STITCH + + + + + + + ALPHA_STITCH_UP + + + + + + + ALPHA_STITCH_BELOW + + + + + + + ALPHA_STITCH_LEFT + + + + + + + ALPHA_STITCH_RIGHT + + + + + + + AREA_CODE + + + + + + + AREA_CODE_CN + + + + + + + AREA_CODE_NA + + + + + + + AREA_CODE_EU + + + + + + + AREA_CODE_AS + + + + + + + AREA_CODE_JP + + + + + + + AREA_CODE_IN + + + + + + + AREA_CODE_GLOB + + + + + + + AUDIENCE_LATENCY_LEVEL_TYPE + + + + + + + AUDIENCE_LATENCY_LEVEL_LOW_LATENCY + + + + + + + AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY + + + + + + + AUDIO_AINS_MODE + + + + + + + AINS_MODE_BALANCED + + + + + + + AINS_MODE_AGGRESSIVE + + + + + + + AINS_MODE_ULTRALOWLATENCY + + + + + + + AUDIO_CODEC_PROFILE_TYPE + + + + + + + AUDIO_CODEC_PROFILE_LC_AAC + + + + + + + AUDIO_CODEC_PROFILE_HE_AAC + + + + + + + HE_AAC_V2 + + + + + + + AUDIO_CODEC_TYPE + + + + + + + AUDIO_CODEC_OPUS + + + + + + + AUDIO_CODEC_PCMA + + + + + + + AUDIO_CODEC_PCMU + + + + + + + AUDIO_CODEC_G722 + + + + + + + AUDIO_CODEC_AACLC + + + + + + + AUDIO_CODEC_HEAAC + + + + + + + AUDIO_CODEC_JC1 + + + + + + + AUDIO_CODEC_HEAAC2 + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + + + + + + + AUDIO_ENCODING_TYPE + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + + + + + + + AUDIO_EFFECT_PRESET + + + + + + + AUDIO_EFFECT_OFF + + + + + + + BACKGROUND_BLUR_DEGREE + + + + + + + BLUR_DEGREE_LOW + + + + + + + BLUR_DEGREE_MEDIUM + + + + + + + BLUR_DEGREE_HIGH + + + + + + + BACKGROUND_SOURCE_TYPE + + + + + + + BACKGROUND_NONE + + + + + + + BACKGROUND_COLOR + + + + + + + BACKGROUND_IMG + + + + + + + BACKGROUND_BLUR + + + + + + + BACKGROUND_VIDEO + + + + + + + SAE_DEPLOY_REGION + + + + + + + SAE_DEPLOY_REGION_CN + + + + + + + SAE_DEPLOY_REGION_NA + + + + + + + SAE_DEPLOY_REGION_EU + + + + + + + SAE_DEPLOY_REGION_AS + + + + + + + CAMERA_STABILIZATION_MODE + + + + + + + CAMERA_STABILIZATION_MODE_OFF + + + + + + + CAMERA_STABILIZATION_MODE_AUTO + + + + + + + CAMERA_STABILIZATION_MODE_LEVEL_1 + + + + + + + CAMERA_STABILIZATION_MODE_LEVEL_2 + + + + + + + CAMERA_STABILIZATION_MODE_LEVEL_3 + + + + + + + CODEC_CAP_MASK + + + + + + + CODEC_CAP_MASK_NONE + + + + + + + CODEC_CAP_MASK_HW_DEC + + + + + + + CODEC_CAP_MASK_HW_ENC + + + + + + + CODEC_CAP_MASK_SW_DEC + + + + + + + CODEC_CAP_MASK_SW_ENC + + + + + + + CONTENT_INSPECT_DEVICE_TYPE + + + + + + + CONTENT_INSPECT_DEVICE_INVALID + + + + + + + CONTENT_INSPECT_DEVICE_AGORA + + + + + + + CONTENT_INSPECT_DEVICE_HIVE + + + + + + + CONTENT_INSPECT_DEVICE_TUPU + + + + + + + ContentInspectResult + + + + + + + CONTENT_INSPECT_NEUTRAL + + + + + + + CONTENT_INSPECT_SEXY + + + + + + + CONTENT_INSPECT_PORN + + + + + + + CONTENT_INSPECT_TYPE + + + + + + + CONTENT_INSPECT_INVALID + + + + + + + CONTENT_INSPECT_MODERATION + + + + + + + CONTENT_INSPECT_SUPERVISION + + + + + + + CONTENT_INSPECT_IMAGE_MODERATION + + + + + + + COMPRESSION_PREFERENCE + + + + + + + PREFER_LOW_LATENCY + + + + + + + PREFER_QUALITY + + + + + + + EAR_MONITORING_FILTER_TYPE + + + + + + + EAR_MONITORING_FILTER_NONE + + + + + + + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + + + + + + + EAR_MONITORING_FILTER_NOISE_SUPPRESSION + + + + + + + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + + + + + + + EXTERNAL_VIDEO_SOURCE_TYPE + + + + + + + VIDEO_FRAME + + + + + + + ENCODED_VIDEO_FRAME + + + + + + + ROOM_ACOUSTICS_KTV + + + + + + + ROOM_ACOUSTICS_VOCAL_CONCERT + + + + + + + ROOM_ACOUSTICS_STUDIO + + + + + + + ROOM_ACOUSTICS_PHONOGRAPH + + + + + + + ROOM_ACOUSTICS_VIRTUAL_STEREO + + + + + + + ROOM_ACOUSTICS_SPACIAL + + + + + + + ROOM_ACOUSTICS_ETHEREAL + + + + + + + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + + + + + + + ROOM_ACOUSTICS_CHORUS + + + + + + + ROOM_ACOUSTICS_3D_VOICE + + + + + + + VOICE_CHANGER_EFFECT_UNCLE + + + + + + + VOICE_CHANGER_EFFECT_OLDMAN + + + + + + + VOICE_CHANGER_EFFECT_BOY + + + + + + + VOICE_CHANGER_EFFECT_SISTER + + + + + + + VOICE_CHANGER_EFFECT_GIRL + + + + + + + VOICE_CHANGER_EFFECT_PIGKING + + + + + + + VOICE_CHANGER_EFFECT_HULK + + + + + + + STYLE_TRANSFORMATION_RNB + + + + + + + STYLE_TRANSFORMATION_POPULAR + + + + + + + PITCH_CORRECTION + + + + + + + ENCODING_PREFERENCE + + + + + + + PREFER_AUTO + + + + + + + PREFER_SOFTWARE + + + + + + + PREFER_HARDWARE + + + + + + + AUDIO_EQUALIZATION_BAND_FREQUENCY + + + + + + + AUDIO_EQUALIZATION_BAND_31 + + + + + + + AUDIO_EQUALIZATION_BAND_62 + + + + + + + AUDIO_EQUALIZATION_BAND_125 + + + + + + + AUDIO_EQUALIZATION_BAND_250 + + + + + + + AUDIO_EQUALIZATION_BAND_500 + + + + + + + AUDIO_EQUALIZATION_BAND_1K + + + + + + + AUDIO_EQUALIZATION_BAND_2K + + + + + + + AUDIO_EQUALIZATION_BAND_4K + + + + + + + AUDIO_EQUALIZATION_BAND_8K + + + + + + + AUDIO_EQUALIZATION_BAND_16K + + + + + + + AUDIO_FRAME_TYPE + + + + + + + FRAME_TYPE_PCM16 + + + + + + + AUDIO_FRAME_POSITION_PLAYBACK + + + + + + + AUDIO_FRAME_POSITION_RECORD + + + + + + + AUDIO_FRAME_POSITION_MIXED + + + + + + + AUDIO_FRAME_POSITION_BEFORE_MIXING + + + + + + + AUDIO_FRAME_POSITION_EAR_MONITORING + + + + + + + AUDIO_DUAL_MONO_MODE + + + + + + + AUDIO_DUAL_MONO_STEREO + + + + + + + AUDIO_DUAL_MONO_L + + + + + + + AUDIO_DUAL_MONO_R + + + + + + + AUDIO_DUAL_MONO_MIX + + + + + + + AUDIO_MIXING_DUAL_MONO_MODE + + + + + + + AUDIO_MIXING_DUAL_MONO_AUTO + + + + + + + AUDIO_MIXING_DUAL_MONO_L + + + + + + + AUDIO_MIXING_DUAL_MONO_R + + + + + + + AUDIO_MIXING_DUAL_MONO_MIX + + + + + + + AUDIO_MIXING_REASON_TYPE + + + + + + + AUDIO_MIXING_REASON_OK + + + + + + + AUDIO_MIXING_REASON_CAN_NOT_OPEN + + + + + + + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + + + + + + + AUDIO_MIXING_REASON_INTERRUPTED_EOF + + + + + + + AUDIO_MIXING_REASON_STARTED_BY_USER + + + + + + + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + + + + + + + AUDIO_MIXING_REASON_START_NEW_LOOP + + + + + + + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_MIXING_REASON_STOPPED_BY_USER + + + + + + + AUDIO_MIXING_REASON_PAUSED_BY_USER + + + + + + + AUDIO_MIXING_REASON_RESUMED_BY_USER + + + + + + + AUDIO_MIXING_STATE_TYPE + + + + + + + AUDIO_MIXING_STATE_PLAYING + + + + + + + AUDIO_MIXING_STATE_PAUSED + + + + + + + AUDIO_MIXING_STATE_STOPPED + + + + + + + AUDIO_MIXING_STATE_FAILED + + + + + + + AUDIO_MIXING_STATE_COMPLETED + + + + + + + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_PROCESSING_CHANNELS + + + + + + + AUDIO_PROCESSING_MONO + + + + + + + AUDIO_PROCESSING_STEREO + + + + + + + AUDIO_PROFILE_TYPE + + + + + + + AUDIO_PROFILE_DEFAULT + + + + + + + AUDIO_PROFILE_SPEECH_STANDARD + + + + + + + AUDIO_PROFILE_MUSIC_STANDARD + + + + + + + AUDIO_PROFILE_MUSIC_STANDARD_STEREO + + + + + + + AUDIO_PROFILE_MUSIC_HIGH_QUALITY + + + + + + + AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO + + + + + + + AUDIO_PROFILE_IOT + + + + + + + AUDIO_PROFILE_NUM + + + + + + + AUDIO_RANGE_MODE_TYPE + + + + + + + AUDIO_RANGE_MODE_WORLD + + + + + + + AUDIO_RANGE_MODE_TEAM + + + + + + + AUDIO_FILE_RECORDING_TYPE + + + + + + + AUDIO_FILE_RECORDING_MIC + + + + + + + AUDIO_FILE_RECORDING_PLAYBACK + + + + + + + AUDIO_FILE_RECORDING_MIXED + + + + + + + AUDIO_RECORDING_QUALITY_TYPE + + + + + + + AUDIO_RECORDING_QUALITY_LOW + + + + + + + AUDIO_RECORDING_QUALITY_MEDIUM + + + + + + + AUDIO_RECORDING_QUALITY_HIGH + + + + + + + AUDIO_RECORDING_QUALITY_ULTRA_HIGH + + + + + + + AUDIO_REVERB_PRESET + + + + + + + AUDIO_REVERB_OFF + + + + + + + AUDIO_REVERB_FX_KTV + + + + + + + AUDIO_REVERB_FX_VOCAL_CONCERT + + + + + + + AUDIO_REVERB_FX_UNCLE + + + + + + + AUDIO_REVERB_FX_SISTER + + + + + + + AUDIO_REVERB_FX_STUDIO + + + + + + + AUDIO_REVERB_FX_POPULAR + + + + + + + AUDIO_REVERB_FX_RNB + + + + + + + AUDIO_REVERB_FX_PHONOGRAPH + + + + + + + AUDIO_REVERB_POPULAR + + + + + + + AUDIO_REVERB_RNB + + + + + + + AUDIO_REVERB_ROCK + + + + + + + AUDIO_REVERB_HIPHOP + + + + + + + AUDIO_REVERB_VOCAL_CONCERT + + + + + + + AUDIO_REVERB_KTV + + + + + + + AUDIO_REVERB_STUDIO + + + + + + + AUDIO_VIRTUAL_STEREO + + + + + + + AUDIO_ELECTRONIC_VOICE + + + + + + + AUDIO_THREEDIM_VOICE + + + + + + + AUDIO_REVERB_TYPE + + + + + + + AUDIO_REVERB_DRY_LEVEL + + + + + + + AUDIO_REVERB_WET_LEVEL + + + + + + + AUDIO_REVERB_ROOM_SIZE + + + + + + + AUDIO_REVERB_WET_DELAY + + + + + + + AUDIO_REVERB_STRENGTH + + + + + + + AudioRoute + + + + + + + ROUTE_DEFAULT + + + + + + + ROUTE_HEADSET + + + + + + + ROUTE_EARPIECE + + + + + + + ROUTE_HEADSETNOMIC + + + + + + + ROUTE_SPEAKERPHONE + + + + + + + ROUTE_LOUDSPEAKER + + + + + + + ROUTE_BLUETOOTH_DEVICE_HFP + + + + + + + ROUTE_USB + + + + + + + ROUTE_HDMI + + + + + + + ROUTE_DISPLAYPORT + + + + + + + ROUTE_AIRPLAY + + + + + + + ROUTE_BLUETOOTH_DEVICE_A2DP + + + + + + + AUDIO_SAMPLE_RATE_TYPE + + + + + + + AUDIO_SAMPLE_RATE_32000 + + + + + + + AUDIO_SAMPLE_RATE_44100 + + + + + + + AUDIO_SAMPLE_RATE_48000 + + + + + + + AUDIO_SCENARIO_TYPE + + + + + + + AUDIO_SCENARIO_DEFAULT + + + + + + + AUDIO_SCENARIO_CHATROOM + + + + + + + AUDIO_SCENARIO_GAME_STREAMING + + + + + + + AUDIO_SCENARIO_CHORUS + + + + + + + AUDIO_SCENARIO_MEETING + + + + + + + AUDIO_SCENARIO_NUM + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_NONE + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_ALL + + + + - libagora_spatial_audio_extension.dll + AUDIO_TRACK_TYPE - + - libagora_content_inspect_extension.dll + AUDIO_TRACK_MIXABLE - + - libagora_segmentation_extension.dll + AUDIO_TRACK_DIRECT + + + + CONNECTION_STATE_TYPE + + + + + + + CONNECTION_STATE_DISCONNECTED + + + + + + + CONNECTION_STATE_CONNECTING + + + + + + + CONNECTION_STATE_CONNECTED + + + + + + + CONNECTION_STATE_RECONNECTING + + + + + + + CONNECTION_STATE_FAILED + + + + + + + CONNECTION_CHANGED_REASON_TYPE + + + + + + + CONNECTION_CHANGED_CONNECTING + + + + + + + CONNECTION_CHANGED_JOIN_SUCCESS + + + + + + + CONNECTION_CHANGED_REJOIN_SUCCESS + + + + + + + CONNECTION_CHANGED_LOST + + + + + + + CONNECTION_CHANGED_ECHO_TEST + + + + + + + CONNECTION_CHANGED_INTERRUPTED + + + + + + + CONNECTION_CHANGED_BANNED_BY_SERVER + + + + + + + CONNECTION_CHANGED_JOIN_FAILED + + + + + + + CONNECTION_CHANGED_LEAVE_CHANNEL + + + + + + + CONNECTION_CHANGED_INVALID_APP_ID + + + + + + + CONNECTION_CHANGED_INVALID_CHANNEL_NAME + + + + + + + CONNECTION_CHANGED_INVALID_TOKEN + + + + + + + CONNECTION_CHANGED_TOKEN_EXPIRED + + + + + + + CONNECTION_CHANGED_REJECTED_BY_SERVER + + + + + + + CONNECTION_CHANGED_SETTING_PROXY_SERVER + + + + + + + CONNECTION_CHANGED_RENEW_TOKEN + + + + + + + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED + + + + + + + CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT + + + + + + + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER + + + + + + + CONNECTION_CHANGED_SAME_UID_LOGIN + + + + + + + CONNECTION_CHANGED_TOO_MANY_BROADCASTERS + + + + + + + CAMERA_DIRECTION + + + + + + + CAMERA_REAR + + + + + + + CAMERA_FRONT + + + + + + + CAMERA_FOCAL_LENGTH_TYPE + + + + + + + CAMERA_FOCAL_LENGTH_DEFAULT + + + + + + + CAMERA_FOCAL_LENGTH_WIDE_ANGLE + + + + + + + CAMERA_FOCAL_LENGTH_ULTRA_WIDE + + + + + + + CAMERA_FOCAL_LENGTH_TELEPHOTO + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_TYPE + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_INVALID + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_NORMAL + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_DARK + + + + + + + CAPTURER_OUTPUT_PREFERENCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_AUTO + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PREVIEW + + + + + + + CAPTURER_OUTPUT_PREFERENCE_MANUAL + + + + + + + CHANNEL_MEDIA_RELAY_ERROR + + + + + + + RELAY_OK + + + + + + + RELAY_ERROR_SERVER_ERROR_RESPONSE + + + + + + + RELAY_ERROR_SERVER_NO_RESPONSE + + + + + + + RELAY_ERROR_NO_RESOURCE_AVAILABLE + + + + + + + RELAY_ERROR_FAILED_JOIN_SRC + + + + + + + RELAY_ERROR_FAILED_JOIN_DEST + + + + + + + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + + + + + + + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + + + + + + + RELAY_ERROR_SERVER_CONNECTION_LOST + + + + + + + RELAY_ERROR_INTERNAL_ERROR + + + + + + + RELAY_ERROR_SRC_TOKEN_EXPIRED + + + + + + + RELAY_ERROR_DEST_TOKEN_EXPIRED + + + + + + + CHANNEL_MEDIA_RELAY_STATE + + + + + + + RELAY_STATE_IDLE + + + + + + + RELAY_STATE_CONNECTING + + + + + + + RELAY_STATE_RUNNING + + + + + + + RELAY_STATE_FAILURE + + + + + + + CHANNEL_PROFILE_TYPE + + + + + + + CHANNEL_PROFILE_COMMUNICATION + + + + + + + CHANNEL_PROFILE_LIVE_BROADCASTING + + + + + + + CHANNEL_PROFILE_GAME + + + + + + + CHANNEL_PROFILE_CLOUD_GAMING + + + + + + + CLIENT_ROLE_TYPE + + + + + + + CLIENT_ROLE_BROADCASTER + + + + + + + CLIENT_ROLE_AUDIENCE + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REASON + + + + + + + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + + + + + + + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + + + + + + + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + + + + + + + CLOUD_PROXY_TYPE + + + + + + + NONE_PROXY + + + + + + + UDP_PROXY + + + + + + + TCP_PROXY + + + + + + + PROXY_TYPE + + + + + + + NONE_PROXY_TYPE + + + + + + + UDP_PROXY_TYPE + + + + + + + TCP_PROXY_TYPE + + + + + + + LOCAL_PROXY_TYPE + + + + + + + TCP_PROXY_AUTO_FALLBACK_TYPE + + + + + + + DEGRADATION_PREFERENCE + + + + + + + MAINTAIN_QUALITY + + + + + + + MAINTAIN_FRAMERATE + + + + + + + MAINTAIN_BALANCED + + + + + + + MAINTAIN_RESOLUTION + + + + + + + DIRECT_CDN_STREAMING_REASON + + + + + + + DIRECT_CDN_STREAMING_REASON_OK + + + + + + + DIRECT_CDN_STREAMING_REASON_FAILED + + + + + + + DIRECT_CDN_STREAMING_REASON_AUDIO_PUBLICATION + + + + + + + DIRECT_CDN_STREAMING_REASON_VIDEO_PUBLICATION + + + + + + + DIRECT_CDN_STREAMING_REASON_NET_CONNECT + + + + + + + DIRECT_CDN_STREAMING_REASON_BAD_NAME + + + + + + + DIRECT_CDN_STREAMING_STATE + + + + + + + DIRECT_CDN_STREAMING_STATE_IDLE + + + + + + + DIRECT_CDN_STREAMING_STATE_RUNNING + + + + + + + DIRECT_CDN_STREAMING_STATE_STOPPED + + + + + + + DIRECT_CDN_STREAMING_STATE_FAILED + + + + + + + DIRECT_CDN_STREAMING_STATE_RECOVERING + + + + + + + ENCRYPTION_ERROR_TYPE + + + + + + + ENCRYPTION_ERROR_INTERNAL_FAILURE + + + + + + + ENCRYPTION_ERROR_DECRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_ENCRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE + + + + + + + ERROR_CODE_TYPE + + + + + + + ERR_OK + + + + + + + ERR_FAILED + + + + + + + ERR_INVALID_ARGUMENT + + + + + + + ERR_NOT_READY + + + + + + + ERR_NOT_SUPPORTED + + + + + + + ERR_REFUSED + + + + + + + ERR_BUFFER_TOO_SMALL + + + + + + + ERR_NOT_INITIALIZED + + + + + + + ERR_INVALID_STATE + + + + + + + ERR_NO_PERMISSION + + + + + + + ERR_TIMEDOUT + + + + + + + ERR_JOIN_CHANNEL_REJECTED + + + + + + + ERR_LEAVE_CHANNEL_REJECTED + + + + + + + ERR_ALREADY_IN_USE + + + + + + + ERR_ABORTED + + + + + + + ERR_INIT_NET_ENGINE + + + + + + + ERR_RESOURCE_LIMITED + + + + + + + ERR_INVALID_APP_ID + + + + + + + ERR_INVALID_CHANNEL_NAME + + + + + + + ERR_NO_SERVER_RESOURCES + + + + + + + ERR_TOKEN_EXPIRED + + + + + + + ERR_INVALID_TOKEN + + + + + + + ERR_CONNECTION_INTERRUPTED + + + + + + + ERR_CONNECTION_LOST + + + + + + + ERR_NOT_IN_CHANNEL + + + + + + + ERR_SIZE_TOO_LARGE + + + + + + + ERR_BITRATE_LIMIT + + + + + + + ERR_TOO_MANY_DATA_STREAMS + + + + + + + ERR_STREAM_MESSAGE_TIMEOUT + + + + + + + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + + + + + + + ERR_DECRYPTION_FAILED + + + + + + + ERR_INVALID_USER_ID + + + + + + + ERR_CLIENT_IS_BANNED_BY_SERVER + + + + + + + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + + + + + + + ERR_LICENSE_CREDENTIAL_INVALID + + + + + + + ERR_INVALID_USER_ACCOUNT + + + + + + + ERR_MODULE_NOT_FOUND + + + + + + + ERR_LOAD_MEDIA_ENGINE + + + + + + + ERR_ADM_GENERAL_ERROR + + + + + + + ERR_ADM_INIT_PLAYOUT + + + + + + + ERR_ADM_START_PLAYOUT + + + + + + + ERR_ADM_STOP_PLAYOUT + + + + + + + ERR_ADM_INIT_RECORDING + + + + + + + ERR_ADM_START_RECORDING + + + + + + + ERR_ADM_STOP_RECORDING + + + + + + + ERR_VDM_CAMERA_NOT_AUTHORIZED + + + + + + + ERR_DATASTREAM_DECRYPTION_FAILED + + + + + + + ENCRYPTION_MODE + + + + + + + AES_128_XTS + + + + + + + AES_128_ECB + + + + + + + AES_256_XTS + + + + + + + SM4_128_ECB + + + + + + + AES_128_GCM + + + + + + + AES_256_GCM + + + + + + + AES_128_GCM2 + + + + + + + AES_256_GCM2 + + + + + + + MODE_END + + + + + + + EXPERIENCE_POOR_REASON + + + + + + + EXPERIENCE_REASON_NONE + + + + + + + REMOTE_NETWORK_QUALITY_POOR + + + + + + + LOCAL_NETWORK_QUALITY_POOR + + + + + + + WIRELESS_SIGNAL_POOR + + + + + + + WIFI_BLUETOOTH_COEXIST + + + + + + + EXPERIENCE_QUALITY_TYPE + + + + + + + EXPERIENCE_QUALITY_GOOD + + + + + + + EXPERIENCE_QUALITY_BAD + + + + + + + FeatureType + + + + + + + VIDEO_VIRTUAL_BACKGROUND + + + + + + + VIDEO_BEAUTY_EFFECT + + + + + + + FRAME_RATE + + + + + + + FRAME_RATE_FPS_1 + + + + + + + FRAME_RATE_FPS_7 + + + + + + + FRAME_RATE_FPS_10 + + + + + + + FRAME_RATE_FPS_15 + + + + + + + FRAME_RATE_FPS_24 + + + + + + + FRAME_RATE_FPS_30 + + + + + + + FRAME_RATE_FPS_60 + + + + + + + HEADPHONE_EQUALIZER_PRESET + + + + + + + HEADPHONE_EQUALIZER_OFF + + + + + + + HEADPHONE_EQUALIZER_OVEREAR + + + + + + + HEADPHONE_EQUALIZER_INEAR + + + + + + + MediaRecorderContainerFormat + + + + + + + FORMAT_MP4 + + + + + + + MediaRecorderStreamType + + + + + + + STREAM_TYPE_AUDIO + + + + + + + STREAM_TYPE_VIDEO + + + + + + + STREAM_TYPE_BOTH + + + + + + + LASTMILE_PROBE_RESULT_STATE + + + + + + + LASTMILE_PROBE_RESULT_COMPLETE + + + + + + + LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE + + + + + + + LASTMILE_PROBE_RESULT_UNAVAILABLE + + + + + + + LIGHTENING_CONTRAST_LEVEL + + + + + + + LIGHTENING_CONTRAST_LOW + + + + + + + LIGHTENING_CONTRAST_NORMAL + + + + + + + LIGHTENING_CONTRAST_HIGH + + + + + + + LOCAL_AUDIO_STREAM_REASON + + + + + + + LOCAL_AUDIO_STREAM_REASON_OK + + + + + + + LOCAL_AUDIO_STREAM_REASON_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE + + + + + + + LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE + + + + + + + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + + + + + + + LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID + + + + + + + LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID + + + + + + + LOCAL_AUDIO_STREAM_STATE + + + + + + + LOCAL_AUDIO_STREAM_STATE_STOPPED + + + + + + + LOCAL_AUDIO_STREAM_STATE_RECORDING + + + + + + + LOCAL_AUDIO_STREAM_STATE_ENCODING + + + + + + + LOCAL_AUDIO_STREAM_STATE_FAILED + + + + + + + LOCAL_PROXY_MODE + + + + + + + ConnectivityFirst + + + + + + + LocalOnly + + + + + + + LOCAL_VIDEO_STREAM_REASON + + + + + + + LOCAL_VIDEO_STREAM_REASON_OK + + + + + + + LOCAL_VIDEO_STREAM_REASON_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED + + + + + + + LOCAL_VIDEO_STREAM_STATE + + + + + + + LOCAL_VIDEO_STREAM_STATE_STOPPED + + + + + + + LOCAL_VIDEO_STREAM_STATE_CAPTURING + + + + + + + LOCAL_VIDEO_STREAM_STATE_ENCODING + + + + + + + LOCAL_VIDEO_STREAM_STATE_FAILED + + + + + + + ERR_SCREEN_CAPTURE_PERMISSION_DENIED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + + + + + + + LOG_FILTER_TYPE + + + + + + + LOG_FILTER_OFF + + + + + + + LOG_FILTER_DEBUG + + + + + + + LOG_FILTER_INFO + + + + + + + LOG_FILTER_WARN + + + + + + + LOG_FILTER_ERROR + + + + + + + LOG_FILTER_CRITICAL + + + + + + + LOG_LEVEL + + + + + + + LOG_LEVEL_NONE + + + + + + + LOG_LEVEL_INFO + + + + + + + LOG_LEVEL_WARN + + + + + + + LOG_LEVEL_ERROR + + + + + + + LOG_LEVEL_FATAL + + + + + + + LOW_LIGHT_ENHANCE_MODE + + + + + + + LOW_LIGHT_ENHANCE_AUTO + + + + + + + LOW_LIGHT_ENHANCE_MANUAL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_FAST + + + + + + + MAX_CHANNEL_ID_LENGTH_TYPE + + + + + + + MAX_CHANNEL_ID_LENGTH + + + + + + + MAX_DEVICE_ID_LENGTH_TYPE + + + + + + + MAX_DEVICE_ID_LENGTH + + + + + + + MAX_USER_ACCOUNT_LENGTH_TYPE + + + + + + + MAX_USER_ACCOUNT_LENGTH + + + + + + + MEDIA_DEVICE_STATE_TYPE + + + + + + + MEDIA_DEVICE_STATE_IDLE + + + + + + + MEDIA_DEVICE_STATE_ACTIVE + + + + + + + MEDIA_DEVICE_STATE_DISABLED + + + + + + + MEDIA_DEVICE_STATE_PLUGGED_IN + + + + + + + MEDIA_DEVICE_STATE_NOT_PRESENT + + + + + + + MEDIA_DEVICE_STATE_UNPLUGGED + + + + + + + MEDIA_DEVICE_STATE_UNRECOMMENDED + + + + + + + MEDIA_DEVICE_TYPE + + + + + + + UNKNOWN_AUDIO_DEVICE + + + + + + + AUDIO_PLAYOUT_DEVICE + + + + + + + AUDIO_RECORDING_DEVICE + + + + + + + VIDEO_RENDER_DEVICE + + + + + + + VIDEO_CAPTURE_DEVICE + + + + + + + AUDIO_APPLICATION_PLAYOUT_DEVICE + + + + + + + AUDIO_VIRTUAL_PLAYOUT_DEVICE + + + + + + + AUDIO_VIRTUAL_RECORDING_DEVICE + + + + + + + MEDIA_PLAYER_REASON + + + + + + + PLAYER_REASON_NONE + + + + + + + PLAYER_REASON_INVALID_ARGUMENTS + + + + + + + PLAYER_REASON_INTERNAL + + + + + + + PLAYER_REASON_NO_RESOURCE + + + + + + + PLAYER_REASON_INVALID_MEDIA_SOURCE + + + + + + + PLAYER_REASON_UNKNOWN_STREAM_TYPE + + + + + + + PLAYER_REASON_OBJ_NOT_INITIALIZED + + + + + + + PLAYER_REASON_CODEC_NOT_SUPPORTED + + + + + + + PLAYER_REASON_VIDEO_RENDER_FAILED + + + + + + + PLAYER_REASON_INVALID_STATE + + + + + + + PLAYER_REASON_URL_NOT_FOUND + + + + + + + PLAYER_REASON_INVALID_CONNECTION_STATE + + + + + + + PLAYER_REASON_SRC_BUFFER_UNDERFLOW + + + + + + + PLAYER_REASON_INTERRUPTED + + + + + + + PLAYER_REASON_NOT_SUPPORTED + + + + + + + PLAYER_REASON_TOKEN_EXPIRED + + + + + + + PLAYER_REASON_IP_EXPIRED + + + + + + + PLAYER_REASON_UNKNOWN + + + + + + + MEDIA_PLAYER_EVENT + + + + + + + PLAYER_EVENT_SEEK_BEGIN + + + + + + + PLAYER_EVENT_SEEK_COMPLETE + + + + + + + PLAYER_EVENT_SEEK_ERROR + + + + + + + PLAYER_EVENT_AUDIO_TRACK_CHANGED + + + + + + + PLAYER_EVENT_BUFFER_LOW + + + + + + + PLAYER_EVENT_BUFFER_RECOVER + + + + + + + PLAYER_EVENT_FREEZE_START + + + + + + + PLAYER_EVENT_FREEZE_STOP + + + + + + + PLAYER_EVENT_SWITCH_BEGIN + + + + + + + PLAYER_EVENT_SWITCH_COMPLETE + + + + + + + PLAYER_EVENT_SWITCH_ERROR + + + + + + + PLAYER_EVENT_FIRST_DISPLAYED + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + + + + + + + MEDIA_PLAYER_METADATA_TYPE + + + + + + + PLAYER_METADATA_TYPE_UNKNOWN + + + + + + + PLAYER_METADATA_TYPE_SEI + + + + + + + MEDIA_PLAYER_STATE + + + + + + + PLAYER_STATE_IDLE + + + + + + + PLAYER_STATE_OPENING + + + + + + + PLAYER_STATE_OPEN_COMPLETED + + + + + + + PLAYER_STATE_PLAYING + + + + + + + PLAYER_STATE_PAUSED + + + + + + + PLAYER_STATE_PLAYBACK_COMPLETED + + + + + + + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + + + + + + + PLAYER_STATE_STOPPED + + + + + + + PLAYER_STATE_FAILED + + + + + + + MEDIA_SOURCE_TYPE + + + + + + + AUDIO_PLAYOUT_SOURCE + + + + + + + AUDIO_RECORDING_SOURCE + + + + + + + PRIMARY_CAMERA_SOURCE + + + + + + + SECONDARY_CAMERA_SOURCE + + + + + + + CUSTOM_VIDEO_SOURCE + + + + + + + SPEECH_DRIVEN_VIDEO_SOURCE + + + + + + + UNKNOWN_MEDIA_SOURCE + + + + + + + MEDIA_TRACE_EVENT + + + + + + + MEDIA_TRACE_EVENT_VIDEO_RENDERED + + + + + + + MEDIA_TRACE_EVENT_VIDEO_DECODED + + + + + + + MEDIA_STREAM_TYPE + + + + + + + STREAM_TYPE_UNKNOWN + + + + + + + STREAM_TYPE_SUBTITLE + + + + + + + METADATA_TYPE + + + + + + + UNKNOWN_METADATA + + + + + + + VIDEO_METADATA + + + + + + + MUSIC_CACHE_STATUS_TYPE + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHED + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHING + + + + + + + MusicContentCenterStateReason + + + + + + + kMusicContentCenterReasonOk + + + + + + + kMusicContentCenterReasonError + + + + + + + kMusicContentCenterReasonGateway + + + + + + + kMusicContentCenterReasonPermissionAndResource + + + + + + + kMusicContentCenterReasonInternalDataParse + + + + + + + kMusicContentCenterReasonMusicLoading + + + + + + + kMusicContentCenterReasonMusicDecryption + + + + + + + kMusicContentCenterReasonHttpInternalError + + + + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + + + + + NETWORK_TYPE + + + + + + + NETWORK_TYPE_UNKNOWN + + + + + + + NETWORK_TYPE_DISCONNECTED + + + + + + + NETWORK_TYPE_LAN + + + + + + + NETWORK_TYPE_WIFI + + + + + + + NETWORK_TYPE_MOBILE_2G + + + + + + + NETWORK_TYPE_MOBILE_3G + + + + + + + NETWORK_TYPE_MOBILE_4G + + + + + + + NETWORK_TYPE_MOBILE_5G + + + + + + + ORIENTATION_MODE + + + + + + + ORIENTATION_MODE_ADAPTIVE + + + + + + + ORIENTATION_MODE_FIXED_LANDSCAPE + + + + + + + ORIENTATION_MODE_FIXED_PORTRAIT + + + + + + + PreloadState + + + + + + + kPreloadStateCompleted + + + + + + + kPreloadStateFailed + + + + + + + kPreloadStatePreloading + + + + + + + kPreloadStateRemoved + + + + + + + PERMISSION_TYPE + + + + + + + RECORD_AUDIO + + + + + + + CAMERA + + + + + + + SCREEN_CAPTURE + + + + + + + PLAYER_PRELOAD_EVENT + + + + + + + PLAYER_PRELOAD_EVENT_BEGIN + + + + + + + PLAYER_PRELOAD_EVENT_COMPLETE + + + + + + + PLAYER_PRELOAD_EVENT_ERROR + + + + + + + PRIORITY_TYPE + + + + + + + PRIORITY_HIGH + + + + + + + PRIORITY_NORMAL + + + + + + + QUALITY_ADAPT_INDICATION + + + + + + + ADAPT_NONE + + + + + + + ADAPT_UP_BANDWIDTH + + + + + + + ADAPT_DOWN_BANDWIDTH + + + + + + + QUALITY_REPORT_FORMAT_TYPE + + + + + + + QUALITY_REPORT_JSON + + + + + + + QUALITY_REPORT_HTML + + + + + + + QUALITY_TYPE + + + + + + + QUALITY_UNKNOWN + + + + + + + QUALITY_EXCELLENT + + + + + + + QUALITY_GOOD + + + + + + + QUALITY_POOR + + + + + + + QUALITY_BAD + + + + + + + QUALITY_VBAD + + + + + + + QUALITY_DOWN + + + + + + + QUALITY_UNSUPPORTED + + + + + + + QUALITY_DETECTING + + + + + + + RAW_AUDIO_FRAME_OP_MODE_TYPE + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + + + + + + + REMOTE_AUDIO_STATE + + + + + + + REMOTE_AUDIO_STATE_STOPPED + + + + + + + REMOTE_AUDIO_STATE_STARTING + + + + + + + REMOTE_AUDIO_STATE_DECODING + + + + + + + REMOTE_AUDIO_STATE_FROZEN + + + + + + + REMOTE_AUDIO_STATE_FAILED + + + + + + + REMOTE_VIDEO_STATE + + + + + + + REMOTE_VIDEO_STATE_STOPPED + + + + + + + REMOTE_VIDEO_STATE_STARTING + + + + + + + REMOTE_VIDEO_STATE_DECODING + + + + + + + REMOTE_VIDEO_STATE_FROZEN + + + + + + + REMOTE_VIDEO_STATE_FAILED + + + + + + + REMOTE_AUDIO_STATE_REASON + + + + + + + REMOTE_AUDIO_REASON_INTERNAL + + + + + + + REMOTE_AUDIO_REASON_NETWORK_CONGESTION + + + + + + + REMOTE_AUDIO_REASON_NETWORK_RECOVERY + + + + + + + REMOTE_AUDIO_REASON_LOCAL_MUTED + + + + + + + REMOTE_AUDIO_REASON_LOCAL_UNMUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_MUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_UNMUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_OFFLINE + + + + + + + REMOTE_VIDEO_STATE_REASON + + + + + + + REMOTE_VIDEO_STATE_REASON_INTERNAL + + + + + + + REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION + + + + + + + REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY + + + + + + + REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE + + + + + + + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK + + + + + + + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY + + + + + + + REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND + + + + + + + REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT + + + + + + + VIDEO_STREAM_TYPE + + + + + + + VIDEO_STREAM_HIGH + + + + + + + VIDEO_STREAM_LOW + + + + + + + AdvancedAudioOptions + + + + + + + AdvanceOptions + + + + + + + AdvancedConfigInfo + + + + + + + AgoraRhythmPlayerConfig + + + + + + + RecorderReasonCode + + + + + + + RECORDER_REASON_NONE + + + + + + + RECORDER_ERROR_WRITE_FAILED + + + + + + + RECORDER_ERROR_NO_STREAM + + + + + + + RECORDER_ERROR_OVER_MAX_DURATION + + + + + + + RECORDER_ERROR_CONFIG_CHANGED + + + + + + + RecorderState + + + + + + + RECORDER_STATE_ERROR + + + + + + + RECORDER_STATE_START + + + + + + + RECORDER_STATE_STOP + + + + + + + RENDER_MODE_TYPE + + + + + + + RENDER_MODE_HIDDEN + + + + + + + RENDER_MODE_FIT + + + + + + + RENDER_MODE_ADAPTIVE + + + + + + + RTMP_STREAM_LIFE_CYCLE_TYPE + + + + + + + RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL + + + + + + + RTMP_STREAM_LIFE_CYCLE_BIND2OWNER + + + + + + + RTMP_STREAM_PUBLISH_REASON + + + + + + + RTMP_STREAM_PUBLISH_REASON_OK + + + + + + + RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT + + + + + + + RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED + + + + + + + RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT + + + + + + + RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR + + + + + + + RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR + + + + + + + RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN + + + + + + + RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT + + + + + + + RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED + + + + + + + RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND + + + + + + + RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED + + + + + + + RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER + + + + + + + RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM + + + + + + + RTMP_STREAM_PUBLISH_REASON_NET_DOWN + + + + + + + RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE + + + + + + + RTMP_STREAM_UNPUBLISH_REASON_OK + + + + + + + RTMP_STREAM_PUBLISH_STATE + + + + + + + RTMP_STREAM_PUBLISH_STATE_IDLE + + + + + + + RTMP_STREAM_PUBLISH_STATE_CONNECTING + + + + + + + RTMP_STREAM_PUBLISH_STATE_RUNNING + + + + + + + RTMP_STREAM_PUBLISH_STATE_RECOVERING + + + + + + + RTMP_STREAM_PUBLISH_STATE_FAILURE + + + + + + + RTMP_STREAM_PUBLISH_STATE_DISCONNECTING + + + + + + + RTMP_STREAMING_EVENT + + + + + + + RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE + + + + + + + RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE + + + + + + + RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT + + + + + + + RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN + + + + + + + RHYTHM_PLAYER_STATE_TYPE + + + + + + + RHYTHM_PLAYER_STATE_IDLE + + + + + + + RHYTHM_PLAYER_STATE_OPENING + + + + + + + RHYTHM_PLAYER_STATE_DECODING + + + + + + + RHYTHM_PLAYER_STATE_PLAYING + + + + + + + RHYTHM_PLAYER_STATE_FAILED + + + + + + + RHYTHM_PLAYER_REASON + + + + + + + RHYTHM_PLAYER_REASON_OK + + + + + + + RHYTHM_PLAYER_REASON_FAILED + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + + + + + + + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + + + + + + + SIMULCAST_STREAM_MODE + + + + + + + AUTO_SIMULCAST_STREAM + + + + + + + DISABLE_SIMULCAST_STREAM + + + + + + + ENABLE_SIMULCAST_STREAM + + + + + + + STREAM_FALLBACK_OPTIONS + + + + + + + STREAM_FALLBACK_OPTION_DISABLED + + + + + + + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + + + + + + + STREAM_FALLBACK_OPTION_AUDIO_ONLY + + + + + + + SAE_CONNECTION_STATE_TYPE + + + + + + + SAE_CONNECTION_STATE_CONNECTING + + + + + + + SAE_CONNECTION_STATE_CONNECTED + + + + + + + SAE_CONNECTION_STATE_DISCONNECTED + + + + + + + SAE_CONNECTION_STATE_RECONNECTING + + + + + + + SAE_CONNECTION_STATE_RECONNECTED + + + + + + + SAE_CONNECTION_CHANGED_REASON_TYPE + + + + + + + SAE_CONNECTION_CHANGED_DEFAULT + + + + + + + SAE_CONNECTION_CHANGED_CONNECTING + + + + + + + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + + + + + + + SAE_CONNECTION_CHANGED_RTM_DISCONNECT + + + + + + + SAE_CONNECTION_CHANGED_RTM_ABORTED + + + + + + + SAE_CONNECTION_CHANGED_LOST_SYNC + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS + + + + + + + ScreenCaptureSourceType + + + + + + + ScreenCaptureSourceType_Unknown + + + + + + + ScreenCaptureSourceType_Window + + + + + + + ScreenCaptureSourceType_Screen + + + + + + + ScreenCaptureSourceType_Custom + + + + + + + SEG_MODEL_TYPE + + + + + + + SEG_MODEL_AI + + + + + + + SEG_MODEL_GREEN + + + + + + + STREAM_PUBLISH_STATE + + + + + + + PUB_STATE_IDLE + + + + + + + PUB_STATE_NO_PUBLISHED + + + + + + + PUB_STATE_PUBLISHING + + + + + + + PUB_STATE_PUBLISHED + + + + + + + SCREEN_SCENARIO_TYPE + + + + + + + SCREEN_SCENARIO_DOCUMENT + + + + + + + SCREEN_SCENARIO_GAMING + + + + + + + SCREEN_SCENARIO_VIDEO + + + + + + + SCREEN_SCENARIO_RDC + + + + + + + STREAM_SUBSCRIBE_STATE + + + + + + + SUB_STATE_IDLE + + + + + + + SUB_STATE_NO_SUBSCRIBED + + + + + + + SUB_STATE_SUBSCRIBING + + + + + + + SUB_STATE_SUBSCRIBED + + + + + + + USER_OFFLINE_REASON_TYPE + + + + + + + USER_OFFLINE_QUIT + + + + + + + USER_OFFLINE_DROPPED + + + + + + + USER_OFFLINE_BECOME_AUDIENCE + + + + + + + VIDEO_APPLICATION_SCENARIO_TYPE + + + + + + + APPLICATION_SCENARIO_GENERAL + + + + + + + APPLICATION_SCENARIO_MEETING + + + + + + + APPLICATION_SCENARIO_1V1 + + + + + + + VIDEO_BUFFER_TYPE + + + + + + + VIDEO_BUFFER_RAW_DATA + + + + + + + VIDEO_BUFFER_ARRAY + + + + + + + VIDEO_BUFFER_TEXTURE + + + + + + + VIDEO_CAPTURE_TYPE + + + + + + + VIDEO_CAPTURE_UNKNOWN + + + + + + + VIDEO_CAPTURE_CAMERA + + + + + + + VIDEO_CAPTURE_SCREEN + + + + + + + VIDEO_DENOISER_MODE + + + + + + + VIDEO_DENOISER_AUTO + + + + + + + VIDEO_DENOISER_MANUAL + + + + + + + VIDEO_DENOISER_LEVEL + + + + + + + VIDEO_DENOISER_LEVEL_HIGH_QUALITY + + + + + + + VIDEO_DENOISER_LEVEL_FAST + + + + + + + VIDEO_DENOISER_LEVEL_STRENGTH + + + + + + + VIDEO_SOURCE_TYPE + + + + + + + VIDEO_SOURCE_CAMERA_PRIMARY + + + + + + + VIDEO_SOURCE_CAMERA + + + + + + + VIDEO_SOURCE_CAMERA_SECONDARY + + + + + + + VIDEO_SOURCE_SCREEN_PRIMARY + + + + + + + VIDEO_SOURCE_SCREEN + + + + + + + VIDEO_SOURCE_SCREEN_SECONDARY + + + + + + + VIDEO_SOURCE_CUSTOM + + + + + + + VIDEO_SOURCE_MEDIA_PLAYER + + + + + + + VIDEO_SOURCE_RTC_IMAGE_PNG + + + + + + + VIDEO_SOURCE_RTC_IMAGE_JPEG + + + + + + + VIDEO_SOURCE_RTC_IMAGE_GIF + + + + + + + VIDEO_SOURCE_REMOTE + + + + + + + VIDEO_SOURCE_TRANSCODED + + + + + + + VIDEO_SOURCE_CAMERA_THIRD + + + + + + + VIDEO_SOURCE_CAMERA_FOURTH + + + + + + + VIDEO_SOURCE_SCREEN_THIRD + + + + + + + VIDEO_SOURCE_SCREEN_FOURTH + + + + + + + VIDEO_SOURCE_SPEECH_DRIVEN + + + + + + + VIDEO_SOURCE_UNKNOWN + + + + + + + VIDEO_CODEC_CAPABILITY_LEVEL + + + + + + + CODEC_CAPABILITY_LEVEL_UNSPECIFIED + + + + + + + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + + + + + + + CODEC_CAPABILITY_LEVEL_1080P30FPS + + + + + + + CODEC_CAPABILITY_LEVEL_1080P60FPS + + + + + + + CODEC_CAPABILITY_LEVEL_4K60FPS + + + + + + + VIDEO_CODEC_PROFILE_TYPE + + + + + + + VIDEO_CODEC_PROFILE_BASELINE + + + + + + + VIDEO_CODEC_PROFILE_MAIN + + + + + + + VIDEO_CODEC_PROFILE_HIGH + + + + + + + VIDEO_CODEC_TYPE + + + + + + + VIDEO_CODEC_NONE + + + + + + + VIDEO_CODEC_VP8 + + + + + + + VIDEO_CODEC_H264 + + + + + + + VIDEO_CODEC_H265 + + + + + + + VIDEO_CODEC_AV1 + + + + + + + VIDEO_CODEC_VP9 + + + + + + + VIDEO_CODEC_GENERIC + + + + + + + VIDEO_CODEC_GENERIC_H264 + + + + + + + VIDEO_CODEC_GENERIC_JPEG + + + + + + + VIDEO_CODEC_TYPE_FOR_STREAM + + + + + + + VIDEO_CODEC_H264_FOR_STREAM + + + + + + + VIDEO_CODEC_H265_FOR_STREAM + + + + + + + VIDEO_CONTENT_HINT + + + + + + + CONTENT_HINT_NONE + + + + + + + CONTENT_HINT_MOTION + + + + + + + CONTENT_HINT_DETAILS + + + + + + + VIDEO_FRAME_PROCESS_MODE + + + + + + + PROCESS_MODE_READ_ONLY + + + + + + + PROCESS_MODE_READ_WRITE + + + + + + + VIDEO_FRAME_TYPE + + + + + + + VIDEO_FRAME_TYPE_BLANK_FRAME + + + + + + + VIDEO_FRAME_TYPE_KEY_FRAME + + + + + + + VIDEO_FRAME_TYPE_DELTA_FRAME + + + + + + + VIDEO_FRAME_TYPE_B_FRAME + + + + + + + VIDEO_FRAME_TYPE_DROPPABLE_FRAME + + + + + + + VIDEO_FRAME_TYPE_UNKNOW + + + + + + + VIDEO_MIRROR_MODE_TYPE + + + + + + + VIDEO_MIRROR_MODE_AUTO + + + + + + + VIDEO_MIRROR_MODE_ENABLED + + + + + + + VIDEO_MIRROR_MODE_DISABLED + + + + + + + VIDEO_MODULE_POSITION + + + + + + + POSITION_POST_CAPTURER + + + + + + + POSITION_PRE_RENDERER + + + + + + + POSITION_PRE_ENCODER + + + + + + + POSITION_POST_CAPTURER_ORIGIN + + + + + + + VIDEO_ORIENTATION + + + + + + + VIDEO_ORIENTATION_0 + + + + + + + VIDEO_ORIENTATION_90 + + + + + + + VIDEO_ORIENTATION_180 + + + + + + + VIDEO_ORIENTATION_270 + + + + + + + VIDEO_PIXEL_FORMAT + + + + + + + VIDEO_PIXEL_DEFAULT + + + + + + + VIDEO_PIXEL_I420 + + + + + + + VIDEO_PIXEL_BGRA + + + + + + + VIDEO_PIXEL_NV21 + + + + + + + VIDEO_PIXEL_RGBA + + + + + + + VIDEO_PIXEL_IMC2 + + + + + + + VIDEO_PIXEL_ARGB + + + + + + + VIDEO_PIXEL_NV12 + + + + + + + VIDEO_PIXEL_I422 + + + + + + + VIDEO_TEXTURE_ID3D11TEXTURE2D + + + + + + + VIDEO_TEXTURE_2D + + + + + + + VIDEO_TEXTURE_OES + + + + + + + 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 + + + + + + + VIDEO_VIEW_SETUP_MODE + + + + + + + VIDEO_VIEW_SETUP_REPLACE + + + + + + + VIDEO_VIEW_SETUP_ADD + + + + + + + VIDEO_VIEW_SETUP_REMOVE + + + + + + + VIDEO_TRANSCODER_ERROR + + + + + + + VT_ERR_OK + + + + + + + VT_ERR_VIDEO_SOURCE_NOT_READY + + + + + + + VT_ERR_INVALID_VIDEO_SOURCE_TYPE + + + + + + + VT_ERR_INVALID_IMAGE_PATH + + + + + + + VT_ERR_UNSUPPORT_IMAGE_FORMAT + + + + + + + VT_ERR_INVALID_LAYOUT + + + + + + + VT_ERR_INTERNAL + + + + + + + VOICE_AI_TUNER_TYPE + + + + + + + VOICE_AI_TUNER_MATURE_MALE + + + + + + + VOICE_AI_TUNER_FRESH_MALE + + + + + + + VOICE_AI_TUNER_ELEGANT_FEMALE + + + + + + + VOICE_AI_TUNER_SWEET_FEMALE + + + + + + + VOICE_AI_TUNER_WARM_MALE_SINGING + + + + + + + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_HUSKY_MALE_SINGING + + + + + + + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_POWERFUL_MALE_SINGING + + + + + + + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING + + + + + + + VOICE_BEAUTIFIER_PRESET + + + + + + + VOICE_BEAUTIFIER_OFF + + + + + + + CHAT_BEAUTIFIER_MAGNETIC + + + + + + + CHAT_BEAUTIFIER_FRESH + + + + + + + CHAT_BEAUTIFIER_VITALITY + + + + + + + SINGING_BEAUTIFIER + + + + + + + TIMBRE_TRANSFORMATION_VIGOROUS + + + + + + + TIMBRE_TRANSFORMATION_DEEP + + + + + + + TIMBRE_TRANSFORMATION_MELLOW + + + + + + + TIMBRE_TRANSFORMATION_FALSETTO + + + + + + + TIMBRE_TRANSFORMATION_FULL + + + + + + + TIMBRE_TRANSFORMATION_CLEAR + + + + + + + TIMBRE_TRANSFORMATION_RESOUNDING + + + + + + + TIMBRE_TRANSFORMATION_RINGING + + + + + + + ULTRA_HIGH_QUALITY_VOICE + + + + + + + VOICE_CHANGER_PRESET + + + + + + + VOICE_CHANGER_OFF + + + + + + + VOICE_CHANGER_OLDMAN + + + + + + + VOICE_CHANGER_BABYBOY + + + + + + + VOICE_CHANGER_BABYGIRL + + + + + + + VOICE_CHANGER_ZHUBAJIE + + + + + + + VOICE_CHANGER_ETHEREAL + + + + + + + VOICE_CHANGER_HULK + + + + + + + VOICE_BEAUTY_VIGOROUS + + + + + + + VOICE_BEAUTY_DEEP + + + + + + + VOICE_BEAUTY_MELLOW + + + + + + + VOICE_BEAUTY_FALSETTO + + + + + + + VOICE_BEAUTY_FULL + + + + + + + VOICE_BEAUTY_CLEAR + + + + + + + VOICE_BEAUTY_RESOUNDING + + + + + + + VOICE_BEAUTY_RINGING + + + + + + + VOICE_BEAUTY_SPACIAL + + + + + + + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_FRESH + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + + + + + + + INTERFACE_ID_TYPE + + + + + + + AGORA_IID_AUDIO_DEVICE_MANAGER + + + + + + + AGORA_IID_VIDEO_DEVICE_MANAGER + + + + + + + AGORA_IID_PARAMETER_ENGINE + + + + + + + AGORA_IID_MEDIA_ENGINE + + + + + + + AGORA_IID_SIGNALING_ENGINE + + + + + + + AGORA_IID_LOCAL_SPATIAL_AUDIO + + + + + + + AGORA_IID_MUSIC_CONTENT_CENTER + + + + + + + VOICE_CONVERSION_PRESET + + + + + + + VOICE_CONVERSION_OFF + + + + + + + VOICE_CHANGER_NEUTRAL + + + + + + + VOICE_CHANGER_SWEET + + + + + + + VOICE_CHANGER_SOLID + + + + + + + VOICE_CHANGER_BASS + + + + + + + + + channelId + + + + + + + info + + + + + + + uid + + + + + + + + + v3.2.0 + + + + + + + v3.3.0 + + + + + + + v3.0.0 + + + + + + + + + C:\music\audio.mp4 + + + + + + + C:\music\audio.aac + + + + + + + C:\Users\<user_name>\AppData\Local\Agora\<process_name>\example.jpg + + + + + + + libagora_ai_denoise_extension.dll + + + + + + + STANDARD_BITRATE + + + + + + + COMPATIBLE_BITRATE + + + + + + + true + + + + + + + false + + + + + + + NULL + + + + + + + libagora_clear_vision_extension.dll + + + + + + + libagora_super_resolution_extension.so (Android); AgoraSuperResolutionExtension.xcframework (iOS) + + + + + + + libagora_ai_noise_suppression_extension.dll + + + + + + + libagora_audio_beauty_extension.dll + + + + + + + libagora_spatial_audio_extension.dll + + + + + + + libagora_content_inspect_extension.dll + + + + + + + libagora_segmentation_extension.dll + + + \ No newline at end of file From 3266b86adb673304530431e1e11fc3eaf6ad0b61 Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 12 Aug 2024 17:31:00 +0800 Subject: [PATCH 02/25] 1.2 add ue cpp only api --- dita/RTC-NG/API/api_createagorartcengine.dita | 3 ++- dita/RTC-NG/API/api_irtcengine_initialize.dita | 4 ++-- dita/RTC-NG/API/api_irtcengine_release.dita | 9 ++++----- dita/RTC-NG/API/class_irtcengine.dita | 2 +- dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dita/RTC-NG/API/api_createagorartcengine.dita b/dita/RTC-NG/API/api_createagorartcengine.dita index aa3c20e601e..0dc5a8a2414 100644 --- a/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/dita/RTC-NG/API/api_createagorartcengine.dita @@ -16,7 +16,8 @@ - AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine () + AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine () + static AgoraUERtcEngine* Get(); export function createAgoraRtcEngine(): IRtcEngineEx { return instance; } diff --git a/dita/RTC-NG/API/api_irtcengine_initialize.dita b/dita/RTC-NG/API/api_irtcengine_initialize.dita index a5bede4cdad..affb4cd1d48 100644 --- a/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -33,8 +33,8 @@
    调用时机 -

    请确保在调用其他 API 前先调用 创建并初始化

    -

    请确保在调用其他 API 前先调用该方法创建并初始化

    +

    请确保在调用其他 API 前先调用 创建并初始化

    +

    请确保在调用其他 API 前先调用该方法创建并初始化

    调用限制 diff --git a/dita/RTC-NG/API/api_irtcengine_release.dita b/dita/RTC-NG/API/api_irtcengine_release.dita index cca9835c561..330da408384 100644 --- a/dita/RTC-NG/API/api_irtcengine_release.dita +++ b/dita/RTC-NG/API/api_irtcengine_release.dita @@ -25,9 +25,8 @@ return RtcEngineImpl.destroyEngine(); }; + (void)destroy; - virtual void release(bool sync = false) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - void Release(bool sync); + virtual void release(bool sync = false) = 0; + static void Release(bool sync = false); abstract release(sync?: boolean): void; public abstract void Dispose(bool sync = false); abstract release(sync?: boolean): void; @@ -37,8 +36,8 @@
    详情

    该方法释放 SDK 使用的所有资源。有些 App 只在用户需要时才进行实时音视频通信,不需要时则将资源释放出来用于其他操作,该方法适用于此类情况。

    -

    调用该方法后,你将无法再使用 SDK 的其它方法和回调。如需再次使用实时音视频通信功能, 你必须依次重新调用 方法创建一个新的 对象。

    -

    调用该方法后,你将无法再使用 SDK 的其它方法和回调。如需再次使用实时音视频通信功能,你必须依次重新调用 方法创建一个新的 对象。

    +

    调用该方法后,你将无法再使用 SDK 的其它方法和回调。如需再次使用实时音视频通信功能, 你必须依次重新调用 方法创建一个新的 对象。

    +

    调用该方法后,你将无法再使用 SDK 的其它方法和回调。如需再次使用实时音视频通信功能,你必须依次重新调用 方法创建一个新的 对象。

    • 该方法为同步调用。需要等待 资源释放后才能执行其他操作(例如:创建一个新的 对象),因此建议在子线程中调用该方法,避免主线程阻塞。
    • 不建议在 SDK 的回调中调用 ,否则由于 SDK 要等待回调返回才能回收相关的对象资源,会造成死锁。
    diff --git a/dita/RTC-NG/API/class_irtcengine.dita b/dita/RTC-NG/API/class_irtcengine.dita index 7eb9d385575..01751a046e2 100644 --- a/dita/RTC-NG/API/class_irtcengine.dita +++ b/dita/RTC-NG/API/class_irtcengine.dita @@ -6,7 +6,7 @@

    提供了 App 调用的主要方法。

    -

    在调用其他 API 之前,必须先调用 创建 对象。

    +

    在调用其他 API 之前,必须先调用 创建 对象。

    \ No newline at end of file diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap index 0093463fd9b..78debba805e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap @@ -307,7 +307,7 @@ - createAgoraRtcEngine + Get @@ -328,7 +328,7 @@ - release + Release From 8b41cff45b301c0cbd6ba4c2cb5c021ac7b159eb Mon Sep 17 00:00:00 2001 From: jinyu Date: Tue, 13 Aug 2024 15:55:25 +0800 Subject: [PATCH 03/25] 2.1 sync ue bp map --- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 91 +- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 226 +- .../config/keys-rtc-ng-api-blueprint.ditamap | 17277 +++++++++------- 3 files changed, 9607 insertions(+), 7987 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index c17eaf96047..f141d4dd841 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -134,7 +134,7 @@
  • -
  • +
  • @@ -147,9 +147,10 @@
  • -
  • +
  • +
  • @@ -160,7 +161,10 @@
  • -
  • +
  • +
  • +
  • +
  • @@ -180,10 +184,10 @@
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
    • @@ -191,14 +195,15 @@
  • -
  • +
  • -
  • +
  • +
  • @@ -214,12 +219,10 @@
  • -
  • -
      -
    • -
    • -
  • -
  • +
  • +
  • +
  • +
  • @@ -238,6 +241,7 @@
  • +
  • @@ -410,7 +414,7 @@
  • -
  • +
  • @@ -418,21 +422,22 @@
  • -
  • +
  • +
  • +
  • -
  • -
  • -
  • +
  • +
  • -
  • +
  • @@ -440,15 +445,16 @@
  • -
  • +
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • @@ -458,14 +464,18 @@
  • -
  • +
  • +
  • +
  • +
  • -
  • +
  • +
  • @@ -473,18 +483,19 @@
  • -
  • -
  • +
  • +
  • +
  • -
  • +
  • -
  • +
  • @@ -496,36 +507,40 @@
  • +
  • -
  • +
  • -
  • +
  • -
  • +
  • +
  • -
  • +
  • -
  • +
  • +
  • +
  • diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index d4150cf9885..253b0dd2ca2 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -16,62 +16,67 @@ - - - - - - - - - - - - - + + - + - - - - + + - + + + + + - - - + + + + + + + + + + + + + + - + - + - + - + + + - + + @@ -122,7 +127,7 @@ - + @@ -150,6 +155,7 @@ + @@ -164,20 +170,20 @@ + - - + - + @@ -194,20 +200,20 @@ - + - + - - + + @@ -217,16 +223,19 @@ - + - - + - - - - + + + + + + + + @@ -242,13 +251,13 @@ - + - + - + @@ -267,6 +276,7 @@ + @@ -293,6 +303,7 @@ + @@ -311,8 +322,16 @@ + + + + + + + + - + @@ -324,11 +343,11 @@ - + - + @@ -344,7 +363,7 @@ - + @@ -355,6 +374,7 @@ + @@ -363,22 +383,23 @@ - + - + - - + + + @@ -395,10 +416,12 @@ + + - + @@ -436,11 +459,11 @@ + - @@ -452,7 +475,8 @@ - + + @@ -478,10 +502,10 @@ - + - + @@ -498,49 +522,63 @@ + + - + - + + + + + + + + + + + + - + + - - + + @@ -554,19 +592,13 @@ - - - - - - @@ -600,12 +632,16 @@ - + + - + + + + @@ -622,6 +658,7 @@ + @@ -635,19 +672,21 @@ - + + + - + @@ -665,21 +704,25 @@ - + + + + + - - + + @@ -688,21 +731,22 @@ - + - - + + - + + @@ -712,16 +756,18 @@ - - - - + + + + + + @@ -729,7 +775,9 @@ + + @@ -737,17 +785,14 @@ - - - - - + + @@ -769,6 +814,7 @@ - + + \ No newline at end of file diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 82cb01a9e6d..0093463fd9b 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -147,7 +147,7 @@ - + IMediaEngine @@ -210,7 +210,7 @@ - + IVideoEncodedFrameObserver @@ -224,6 +224,13 @@ + + + + IFaceInfoObserver + + + @@ -273,38 +280,38 @@ - + IMusicContentCenterEventHandler - + IMusicPlayer - + IMusicContentCenter - - - - IDirectCdnStreamingEventHandler - - - - + + + + createAgoraRtcEngine + + + + create @@ -314,25 +321,25 @@ - Initialize + initialize - Release + release - SetChannelProfile + setChannelProfile - + setClientRole [1/2] @@ -342,11 +349,11 @@ - SetClientRole + setClientRole [2/2] - + joinChannel [1/2] @@ -356,18 +363,18 @@ - JoinChannel + joinChannel [2/2] - UpdateChannelMediaOptions + updateChannelMediaOptions - + leaveChannel [1/2] @@ -377,32 +384,32 @@ - LeaveChannel + leaveChannel [2/2] - RenewToken + renewToken - GetConnectionState + getConnectionState - RegisterLocalUserAccount + registerLocalUserAccount - + joinChannelWithUserAccount [1/2] @@ -412,56 +419,77 @@ - JoinChannelWithUserAccount + joinChannelWithUserAccount [2/2] - GetUserInfoByUserAccount + getUserInfoByUserAccount - EnableWebSdkInteroperability + enableWebSdkInteroperability - LoadExtensionProvider + loadExtensionProvider + + + + + + + preloadChannel + + + + + + + preloadChannelWithUserAccount - SetExtensionProviderProperty + setExtensionProviderProperty - StartMediaRenderingTracing + startMediaRenderingTracing - StartMediaRenderingTracingEx + startMediaRenderingTracingEx + + + + + + + enableInstantMediaRendering - + - EnableInstantMediaRendering + updatePreloadChannelToken @@ -470,200 +498,207 @@ - CreateMediaPlayer + createMediaPlayer - DestroyMediaPlayer + destroyMediaPlayer - AdjustPlayoutVolume + adjustPlayoutVolume - AdjustPublishSignalVolume + adjustPublishSignalVolume - EnableAutoRemoveCache + enableAutoRemoveCache - GetAudioTrackCount + getAudioTrackCount - GetCacheDir + getCacheDir - GetCacheFileCount + getCacheFileCount - GetDuration + getDuration - GetMaxCacheFileCount + getMaxCacheFileCount - GetMaxCacheFileSize + getMaxCacheFileSize + + + + + + + getMediaPlayerCacheManager - GetMediaPlayerId + getMediaPlayerId - GetMute + getMute - GetPlayoutVolume + getPlayoutVolume - GetPlayPosition + getPlayPosition - GetPlaySrc + getPlaySrc - GetPublishSignalVolume + getPublishSignalVolume - GetState + getState - GetStreamCount + getStreamCount - GetStreamInfo + getStreamInfo - Mute + mute - Open + open - Open + open - Pause + pause - Play + play - RemoveAllCaches + removeAllCaches - RemoveCacheByUri + removeCacheByUri - RemoveOldCache + removeOldCache - + registerAudioFrameObserver [1/2] @@ -673,147 +708,161 @@ - RegisterAudioFrameObserver + registerAudioFrameObserver [2/2] - RegisterPlayerSourceObserver + registerPlayerSourceObserver - RegisterVideoFrameObserver + registerVideoFrameObserver - Resume + resume - Seek + seek - SelectAudioTrack + selectAudioTrack [1/2] - SelectAudioTrack + selectAudioTrack [2/2] + + + + + + + selectMultiAudioTrack - SetAudioDualMonoMode + setAudioDualMonoMode - SetAudioPitch + setAudioPitch - SetCacheDir + setCacheDir - SetLoopCount + setLoopCount - SetMaxCacheFileCount + setMaxCacheFileCount - SetMaxCacheFileSize + setMaxCacheFileSize - SetPlaybackSpeed + setPlaybackSpeed + + + + + + + setPlayerOption [1/2] - + - setPlayerOption + setPlayerOption [2/2] - SetRenderMode + setRenderMode - SetView + setView - Stop + stop - UnregisterAudioFrameObserver + unregisterAudioFrameObserver - UnregisterPlayerSourceObserver + unregisterPlayerSourceObserver - UnregisterVideoFrameObserver + unregisterVideoFrameObserver @@ -824,17 +873,10 @@ - - - - OpenWithCustomSource - - - - OpenWithMediaSource + openWithMediaSource @@ -883,28 +925,28 @@ - SwitchSrc + switchSrc - PreloadSrc + preloadSrc - UnloadSrc + unloadSrc - PlayPreloadedSrc + playPreloadedSrc @@ -913,133 +955,126 @@ - EnableAudio + enableAudio - DisableAudio + disableAudio - SetAudioProfile + setAudioProfile [1/2] - + - SetAudioProfile + setAudioProfile [2/2] - SetAudioScenario + setAudioScenario - SetAudioSessionOperationRestriction + setAudioSessionOperationRestriction - AdjustRecordingSignalVolume + adjustRecordingSignalVolume - AdjustLoopbackSignalVolume + adjustLoopbackSignalVolume - AdjustUserPlaybackSignalVolume + adjustUserPlaybackSignalVolume - AdjustPlaybackSignalVolume - - - - - - - AdjustCustomAudioPlayoutVolume + adjustPlaybackSignalVolume - AdjustCustomAudioPublishVolume + adjustCustomAudioPublishVolume - EnableLocalAudio + enableLocalAudio - MuteLocalAudioStream + muteLocalAudioStream - MuteRemoteAudioStream + muteRemoteAudioStream - MuteAllRemoteAudioStreams + muteAllRemoteAudioStreams - MuteRecordingSignal + muteRecordingSignal - SetSubscribeAudioBlocklist + setSubscribeAudioBlocklist - SetSubscribeAudioAllowlist + setSubscribeAudioAllowlist @@ -1048,60 +1083,69 @@ - EnableVideo + enableVideo - DisableVideo + disableVideo - SetSubscribeVideoBlocklist + setSubscribeVideoBlocklist - SetSubscribeVideoAllowlist + setSubscribeVideoAllowlist + + + + + + + href="../API/api_irtcengine_setvideoqualityparameters.dita" + setVideoQualityParameters + - SetVideoScenario + setVideoScenario - SetVideoEncoderConfiguration + setVideoEncoderConfiguration - SetupLocalVideo + setupLocalVideo - SetupRemoteVideo + setupRemoteVideo - + setLocalRenderMode [1/2] @@ -1111,18 +1155,18 @@ - SetLocalRenderMode + setLocalRenderMode [2/2] - SetRemoteRenderMode + setRemoteRenderMode - + startPreview [1/2] @@ -1132,11 +1176,11 @@ - StartPreview + startPreview [2/2] - + stopPreview [1/2] @@ -1146,56 +1190,56 @@ - StopPreview + stopPreview [2/2] - EnableLocalVideo + enableLocalVideo - MuteLocalVideoStream + muteLocalVideoStream - MuteRemoteVideoStream + muteRemoteVideoStream - MuteAllRemoteVideoStreams + muteAllRemoteVideoStreams - SetRemoteVideoSubscriptionOptions + setRemoteVideoSubscriptionOptions - + - - - SetRemoteVideoSubscriptionOptionsEx - - - - - QueryCodecCapability + setRemoteVideoSubscriptionOptionsEx + + + + + + + queryCodecCapability @@ -1204,14 +1248,14 @@ - SetAdvancedAudioOptions + setAdvancedAudioOptions - SetAINSMode + setAINSMode @@ -1220,35 +1264,42 @@ - SetBeautyEffectOptions + setBeautyEffectOptions - EnableVirtualBackground + enableVirtualBackground - SetLowlightEnhanceOptions + setLowlightEnhanceOptions - SetVideoDenoiserOptions + setVideoDenoiserOptions - SetColorEnhanceOptions + setColorEnhanceOptions + + + + + + + registerFaceInfoObserver @@ -1257,11 +1308,11 @@ - AdjustUserPlaybackSignalVolumeEx + adjustUserPlaybackSignalVolumeEx - + createDataStreamEx [1/2] @@ -1271,39 +1322,39 @@ - CreateDataStreamEx + createDataStreamEx [2/2] - EnableAudioVolumeIndicationEx + enableAudioVolumeIndicationEx - JoinChannelEx + joinChannelEx - JoinChannelWithUserAccountEx + joinChannelWithUserAccountEx - GetUserInfoByUid + getUserInfoByUid - + leaveChannelEx [1/2] @@ -1313,84 +1364,105 @@ - LeaveChannelEx + leaveChannelEx [2/2] - MuteRemoteAudioStreamEx + muteRemoteAudioStreamEx - AddVideoWatermarkEx + addVideoWatermarkEx - MuteRemoteVideoStreamEx + muteRemoteVideoStreamEx - ClearVideoWatermarkEx + clearVideoWatermarkEx - EnableLoopbackRecordingEx + enableLoopbackRecordingEx - GetConnectionStateEx + getConnectionStateEx + + + + + + + pushEncodedVideoImage [1/2] + + + + + + + pushEncodedVideoImage [2/2] - ResumeAllChannelMediaRelayEx + resumeAllChannelMediaRelayEx + + + + + + + sendAudioMetadataEx - SendCustomReportMessageEx + sendCustomReportMessageEx - SendStreamMessageEx + sendStreamMessageEx - SetRemoteRenderModeEx + setRemoteRenderModeEx - SetRemoteVideoStreamTypeEx + setRemoteVideoStreamTypeEx @@ -1404,154 +1476,140 @@ - SetRemoteVoicePositionEx + setRemoteVoicePositionEx - SetSubscribeAudioBlocklistEx + setSubscribeAudioBlocklistEx - SetSubscribeAudioAllowlistEx + setSubscribeAudioAllowlistEx - SetSubscribeVideoBlocklistEx + setSubscribeVideoBlocklistEx - SetSubscribeVideoAllowlistEx + setSubscribeVideoAllowlistEx - SetupRemoteVideoEx + setupRemoteVideoEx - SetVideoEncoderConfigurationEx - - - - - - - StartChannelMediaRelayEx + setVideoEncoderConfigurationEx - StartOrUpdateChannelMediaRelayEx - - - - - - - UpdateChannelMediaRelayEx + startOrUpdateChannelMediaRelayEx - PauseAllChannelMediaRelayEx + pauseAllChannelMediaRelayEx - TakeSnapshotEx + takeSnapshotEx - UpdateChannelMediaOptionsEx + updateChannelMediaOptionsEx - MuteLocalAudioStreamEx + muteLocalAudioStreamEx - MuteLocalVideoStreamEx + muteLocalVideoStreamEx - MuteAllRemoteAudioStreamsEx + muteAllRemoteAudioStreamsEx - MuteAllRemoteVideoStreamsEx + muteAllRemoteVideoStreamsEx - StopChannelMediaRelayEx + stopChannelMediaRelayEx - StartRtmpStreamWithoutTranscodingEx + startRtmpStreamWithoutTranscodingEx - StartRtmpStreamWithTranscodingEx + startRtmpStreamWithTranscodingEx - UpdateRtmpTranscodingEx + updateRtmpTranscodingEx - StopRtmpStreamEx + stopRtmpStreamEx @@ -1560,105 +1618,105 @@ - GetCount + getCount - GetScreenCaptureSources + getScreenCaptureSources - GetSourceInfo + getSourceInfo - QueryScreenCaptureCapability + queryScreenCaptureCapability - + - Release + release - StartScreenCapture + startScreenCapture [1/2] - StartScreenCaptureBySourceType + startScreenCapture [2/2] - StartScreenCaptureByDisplayId + startScreenCaptureByDisplayId - StartScreenCaptureByScreenRect + startScreenCaptureByScreenRect - StartScreenCaptureByWindowId + startScreenCaptureByWindowId - SetScreenCaptureContentHint + setScreenCaptureContentHint - SetScreenCaptureScenario + setScreenCaptureScenario - UpdateScreenCapture + updateScreenCapture - UpdateScreenCaptureParameters + updateScreenCaptureParameters - UpdateScreenCaptureRegion + updateScreenCaptureRegion @@ -1672,14 +1730,14 @@ - StopScreenCapture + stopScreenCapture [1/2] - StopScreenCaptureBySourceType + stopScreenCapture [2/2] @@ -1688,11 +1746,18 @@ - SetAudioMixingDualMonoMode + setAudioMixingDualMonoMode + + + + + + + setAudioMixingPlaybackSpeed - + startAudioMixing [1/2] @@ -1702,91 +1767,91 @@ - StartAudioMixing + startAudioMixing [2/2] - StopAudioMixing + stopAudioMixing - PauseAudioMixing + pauseAudioMixing - ResumeAudioMixing + resumeAudioMixing - AdjustAudioMixingVolume + adjustAudioMixingVolume - AdjustAudioMixingPlayoutVolume + adjustAudioMixingPlayoutVolume - AdjustAudioMixingPublishVolume + adjustAudioMixingPublishVolume - GetAudioMixingPlayoutVolume + getAudioMixingPlayoutVolume - GetAudioMixingPublishVolume + getAudioMixingPublishVolume - GetAudioMixingDuration + getAudioMixingDuration - GetAudioMixingCurrentPosition + getAudioMixingCurrentPosition - SetAudioMixingPitch + setAudioMixingPitch - SetAudioMixingPosition + setAudioMixingPosition @@ -1795,126 +1860,126 @@ - GetEffectsVolume + getEffectsVolume - SetEffectsVolume + setEffectsVolume - SetVolumeOfEffect + setVolumeOfEffect - GetVolumeOfEffect + getVolumeOfEffect - PlayEffect + playEffect - StopEffect + stopEffect - StopAllEffects + stopAllEffects - PreloadEffect + preloadEffect - UnloadEffect + unloadEffect - PauseEffect + pauseEffect - PauseAllEffects + pauseAllEffects - ResumeEffect + resumeEffect - ResumeAllEffects + resumeAllEffects - SetEffectPosition + setEffectPosition - GetEffectDuration + getEffectDuration - GetEffectCurrentPosition + getEffectCurrentPosition - PlayAllEffects + playAllEffects - UnloadAllEffects + unloadAllEffects @@ -1923,86 +1988,93 @@ - StartRhythmPlayer + startRhythmPlayer - StopRhythmPlayer + stopRhythmPlayer - ConfigRhythmPlayer + configRhythmPlayer + + + + enableVoiceAITuner + + + - SetLocalVoicePitch + setLocalVoicePitch - SetLocalVoiceEqualization + setLocalVoiceEqualization - SetLocalVoiceReverb + setLocalVoiceReverb - SetVoiceBeautifierPreset + setVoiceBeautifierPreset - SetVoiceBeautifierParameters + setVoiceBeautifierParameters - SetAudioEffectPreset + setAudioEffectPreset - SetAudioEffectParameters + setAudioEffectParameters - SetLocalVoiceFormant + setLocalVoiceFormant - SetVoiceConversionPreset + setVoiceConversionPreset @@ -2011,7 +2083,7 @@ - EnableSoundPositionIndication + enableSoundPositionIndication @@ -2025,7 +2097,7 @@ - SetRemoteVoicePosition + setRemoteVoicePosition @@ -2034,84 +2106,84 @@ - MuteLocalAudioStream + muteLocalAudioStream - MuteAllRemoteAudioStreams + muteAllRemoteAudioStreams - Release + release - SetAudioRecvRange + setAudioRecvRange - SetDistanceUnit + setDistanceUnit - SetMaxAudioRecvCount + setMaxAudioRecvCount - UpdatePlayerPositionInfo + updatePlayerPositionInfo - UpdateSelfPosition + updateSelfPosition - SetZones + setZones - SetPlayerAttenuation + setPlayerAttenuation - MuteRemoteAudioStream + muteRemoteAudioStream - SetRemoteAudioAttenuation + setRemoteAudioAttenuation @@ -2120,28 +2192,28 @@ - ClearRemotePositions + clearRemotePositions - Initialize + initialize - RemoveRemotePosition + removeRemotePosition - UpdateRemotePosition + updateRemotePosition @@ -2150,21 +2222,21 @@ - EnableSpatialAudio + enableSpatialAudio - SetRemoteUserSpatialAudioParams + setRemoteUserSpatialAudioParams - SetSpatialAudioParams + setSpatialAudioParams @@ -2208,14 +2280,14 @@ - Initialize + initialize - Release + release @@ -2229,7 +2301,7 @@ - RenewToken + renewToken @@ -2252,25 +2324,25 @@ - StartRtmpStreamWithoutTranscoding + startRtmpStreamWithoutTranscoding - StartRtmpStreamWithTranscoding + startRtmpStreamWithTranscoding - StopRtmpStream + stopRtmpStream - + setLiveTranscoding @@ -2280,35 +2352,35 @@ - SetDirectCdnStreamingAudioConfiguration + setDirectCdnStreamingAudioConfiguration - SetDirectCdnStreamingVideoConfiguration + setDirectCdnStreamingVideoConfiguration - StartDirectCdnStreaming + startDirectCdnStreaming - StopDirectCdnStreaming + stopDirectCdnStreaming - UpdateRtmpTranscoding + updateRtmpTranscoding @@ -2324,42 +2396,28 @@ - PauseAllChannelMediaRelay + pauseAllChannelMediaRelay - ResumeAllChannelMediaRelay - - - - - - - StartChannelMediaRelay + resumeAllChannelMediaRelay - StartOrUpdateChannelMediaRelay - - - - - - - UpdateChannelMediaRelay + startOrUpdateChannelMediaRelay - StopChannelMediaRelay + stopChannelMediaRelay @@ -2368,7 +2426,7 @@ - EnableAudioVolumeIndication + enableAudioVolumeIndication @@ -2377,21 +2435,28 @@ - SetDefaultAudioRouteToSpeakerphone + setDefaultAudioRouteToSpeakerphone - SetEnableSpeakerphone + setEnableSpeakerphone + + + + + + + setRouteInCommunicationMode - IsSpeakerphoneEnabled + isSpeakerphoneEnabled @@ -2400,63 +2465,63 @@ - EnableInEarMonitoring + enableInEarMonitoring - SetEarMonitoringAudioFrameParameters + setEarMonitoringAudioFrameParameters - SetInEarMonitoringVolume + setInEarMonitoringVolume - SetHeadphoneEQParameters + setHeadphoneEQParameters - SetHeadphoneEQPreset + setHeadphoneEQPreset - + enableDualStreamMode [1/2] - + - EnableDualStreamMode + enableDualStreamMode [2/2] - EnableDualStreamModeEx + enableDualStreamModeEx - + setDualStreamMode [1/2] @@ -2466,28 +2531,28 @@ - SetDualStreamMode + setDualStreamMode [2/2] - SetDualStreamModeEx + setDualStreamModeEx - SetRemoteVideoStreamType + setRemoteVideoStreamType - SetRemoteDefaultVideoStreamType + setRemoteDefaultVideoStreamType @@ -2502,45 +2567,31 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - - StartEchoTest + startEchoTest - StopEchoTest + stopEchoTest - StartLastmileProbeTest + startLastmileProbeTest - StopLastmileProbeTest + stopLastmileProbeTest @@ -2549,65 +2600,86 @@ - CreateCustomVideoTrack + createCustomVideoTrack - DestroyCustomVideoTrack + destroyCustomVideoTrack - + setExternalVideoSource - + - PushVideoFrame + pushVideoFrame - GetCurrentMonotonicTimeInMs + getCurrentMonotonicTimeInMs - + - CreateCustomAudioTrack + createCustomAudioTrack - + destroyCustomAudioTrack - + + + + enableCustomAudioLocalPlayback + + + + + + + pushAudioFrame + + + + + + + pushCaptureAudioFrame1 + + + + - PushAudioFrame + pushReverseAudioFrame1 - + - SetExternalAudioSource + setExternalAudioSource @@ -2616,34 +2688,41 @@ - EnableMultiCamera + enableMultiCamera + + + + + + + setCameraStabilizationMode - StartCameraCapture + startCameraCapture - StopCameraCapture + stopCameraCapture - + setExternalAudioSink - + pullAudioFrame @@ -2655,95 +2734,95 @@ - RegisterAudioEncodedFrameObserver + registerAudioEncodedFrameObserver - FOnPlaybackAudioEncodedFrame + onPlaybackAudioEncodedFrame - FOnRecordAudioEncodedFrame + onRecordAudioEncodedFrame - FOnMixedAudioEncodedFrame + onMixedAudioEncodedFrame - + - RegisterAudioFrameObserver + registerAudioFrameObserver - SetRecordingAudioFrameParameters + setRecordingAudioFrameParameters - SetPlaybackAudioFrameParameters + setPlaybackAudioFrameParameters - SetMixedAudioFrameParameters + setMixedAudioFrameParameters - SetPlaybackAudioFrameBeforeMixingParameters + setPlaybackAudioFrameBeforeMixingParameters - FOnFrame + onFrame - + - RegisterVideoFrameObserver + registerVideoFrameObserver - + - RegisterVideoEncodedFrameObserver + registerVideoEncodedFrameObserver - FOnFrame + onFrame @@ -2752,56 +2831,56 @@ - GetExtensionProperty + getExtensionProperty - EnableExtension + enableExtension - RegisterExtension + registerExtension - SetExtensionProperty + setExtensionProperty - + - FOnExtensionEvent + onExtensionEventWithContext - + - FOnExtensionStarted + onExtensionStartedWithContext - + - FOnExtensionStopped + onExtensionStoppedWithContext - + - FOnExtensionError + onExtensionErrorWithContext @@ -2810,21 +2889,21 @@ - StartLocalVideoTranscoder + startLocalVideoTranscoder - StopLocalVideoTranscoder + stopLocalVideoTranscoder - UpdateLocalTranscoderConfiguration + updateLocalTranscoderConfiguration @@ -2833,20 +2912,34 @@ - RegisterMediaMetadataObserver + registerMediaMetadataObserver - UnregisterMediaMetadataObserver + unregisterMediaMetadataObserver + + + + + + + sendAudioMetadata + + + + + + + onAudioMetadataReceived [1/2] - + addVideoWatermark [1/2] @@ -2856,14 +2949,14 @@ - AddVideoWatermark + addVideoWatermark [2/2] - ClearVideoWatermarks + clearVideoWatermarks @@ -2872,86 +2965,79 @@ - EnableEncryption - - - - - - - RegisterPacketObserver + enableEncryption - + - SetEncryptionMode + enableEncryptionEx - + - SetEncryptionSecret + registerPacketObserver - FOnReceiveAudioPacket + onReceiveAudioPacket - FOnReceiveVideoPacket + onReceiveVideoPacket - FOnSendAudioPacket + onSendAudioPacket - FOnSendVideoPacket + onSendVideoPacket - + - StartAudioRecording [1/3] + startAudioRecording [1/3] - + - StartAudioRecording [2/3] + startAudioRecording [2/3] - StartAudioRecording + startAudioRecording [3/3] - StopAudioRecording + stopAudioRecording @@ -2960,35 +3046,35 @@ - CreateMediaRecorder + createMediaRecorder - DestroyMediaRecorder + destroyMediaRecorder - SetMediaRecorderObserver + setMediaRecorderObserver - StartRecording + startRecording - StopRecording + stopRecording @@ -2997,46 +3083,46 @@ - SwitchCamera + switchCamera - GetCameraMaxZoomFactor + getCameraMaxZoomFactor - IsCameraZoomSupported + isCameraZoomSupported - IsCameraTorchSupported + isCameraTorchSupported - IsCameraFocusSupported + isCameraFocusSupported - IsCameraExposurePositionSupported + isCameraExposurePositionSupported - + isCameraExposureSupported @@ -3046,32 +3132,32 @@ - IsCameraAutoFocusFaceModeSupported + isCameraAutoFocusFaceModeSupported - IsCameraAutoExposureFaceModeSupported + isCameraAutoExposureFaceModeSupported - SetCameraZoomFactor + setCameraZoomFactor - SetCameraFocusPositionInPreview + setCameraFocusPositionInPreview - + setCameraExposureFactor @@ -3081,35 +3167,35 @@ - SetCameraExposurePosition + setCameraExposurePosition - SetCameraTorchOn + setCameraTorchOn - SetCameraAutoFocusFaceModeEnabled + setCameraAutoFocusFaceModeEnabled - SetCameraAutoExposureFaceModeEnabled + setCameraAutoExposureFaceModeEnabled - SetCameraDeviceOrientation + setCameraDeviceOrientation @@ -3118,81 +3204,95 @@ - GetCount + getCount - GetDevice + getDevice [1/2] + + + + + + + getDevice [2/2] - GetDefaultDevice + getDefaultDevice [1/2] + + + + + + + getDefaultDevice [2/2] - SetDevice + setDevice - SetApplicationVolume + setApplicationVolume - GetApplicationVolume + getApplicationVolume - SetApplicationMute + setApplicationMute - IsApplicationMute + isApplicationMute - Release + release - EnumeratePlaybackDevices + enumeratePlaybackDevices - EnumerateRecordingDevices + enumerateRecordingDevices - + followSystemLoopbackDevice @@ -3202,74 +3302,74 @@ - FollowSystemPlaybackDevice + followSystemPlaybackDevice - FollowSystemRecordingDevice + followSystemRecordingDevice - SetPlaybackDevice + setPlaybackDevice - SetRecordingDevice + setRecordingDevice - StartPlaybackDeviceTest + startPlaybackDeviceTest - StopPlaybackDeviceTest + stopPlaybackDeviceTest - StartRecordingDeviceTest + startRecordingDeviceTest - StopRecordingDeviceTest + stopRecordingDeviceTest - GetPlaybackDevice + getPlaybackDevice - + getLoopbackDevice - + setLoopbackDevice @@ -3279,146 +3379,224 @@ - GetPlaybackDeviceInfo + getPlaybackDeviceInfo [1/2] + + + + + + + getPlaybackDeviceInfo [2/2] - GetRecordingDevice + getRecordingDevice - GetRecordingDeviceInfo + getRecordingDeviceInfo [1/2] + + + + + + + getRecordingDeviceInfo [2/2] - GetAudioDeviceInfo + getAudioDeviceInfo - StartAudioDeviceLoopbackTest + startAudioDeviceLoopbackTest - StopAudioDeviceLoopbackTest + stopAudioDeviceLoopbackTest + + + + + + + setPlaybackDeviceVolume + + + + + + + getPlaybackDeviceVolume - SetRecordingDeviceVolume + setRecordingDeviceVolume + + + + + + + getRecordingDeviceVolume - SetPlaybackDeviceMute + setPlaybackDeviceMute - GetPlaybackDeviceMute + getPlaybackDeviceMute + + + + + + + href="../API/api_iaudiodevicemanager_setrecordingdevicemute.dita" + setRecordingDeviceMute + + + + + + + + href="../API/api_iaudiodevicemanager_getrecordingdevicemute.dita" + getRecordingDeviceMute + - Release + release - EnumerateVideoDevices + enumerateVideoDevices + + + + + + + href="../API/api_ivideodevicemanager_startdevicetest.dita" + startDeviceTest + + + + + + + + href="../API/api_ivideodevicemanager_stopdevicetest.dita" + stopDeviceTest + - SetDevice + setDevice - GetCapability + getCapability - GetDevice + getDevice - NumberOfCapabilities + numberOfCapabilities + + + + + + + queryCameraFocalLengthCapability - Release + release - GetCount + getCount - GetDevice + getDevice - SetDevice + setDevice - Release + release - + createDataStream [1/2] @@ -3428,19 +3606,26 @@ - CreateDataStream + createDataStream [2/2] - SendStreamMessage + sendStreamMessage + + + + adjustCustomAudioPlayoutVolume + + + @@ -3451,7 +3636,7 @@ - EnableLoopbackRecording + enableLoopbackRecording @@ -3460,28 +3645,28 @@ - DisableAudioSpectrumMonitor + disableAudioSpectrumMonitor - EnableAudioSpectrumMonitor + enableAudioSpectrumMonitor - RegisterAudioSpectrumObserver + registerAudioSpectrumObserver - UnregisterAudioSpectrumObserver + unregisterAudioSpectrumObserver @@ -3490,14 +3675,30 @@ - EnableFaceDetection + enableFaceDetection - IsCameraFaceDetectSupported + isCameraFaceDetectSupported + + + + + + + + + enableCameraCenterStage + + + + + + + isCameraCenterStageSupported @@ -3506,37 +3707,44 @@ - SetCameraCapturerConfiguration + setCameraCapturerConfiguration - SetLocalVideoMirrorMode + setLocalVideoMirrorMode - - - - - get - - - + + + + + get + + + - Open + open - preload + preload [1/2] + + + + + + + preload [2/2] @@ -3550,30 +3758,30 @@ - Initialize + initialize - Release + release - - - RenewToken - - + + + renewToken + + - - - unregisterEventHandler - - + + + unregisterEventHandler + + @@ -3589,6 +3797,13 @@ + + + + destroyMusicPlayer + + + @@ -3617,6 +3832,13 @@ + + + + setPlayMode + + + @@ -3624,57 +3846,71 @@ - - - - getCount [1/2] - - - - - - - getCount [2/2] - - - - - - - getTotal - - - - + + + + getCount [1/2] + + + + + + + getCount [2/2] + + + + + + + getTotal + + + + getPage - - - - getPageSize - - - - - - - getMusic - - - - + + + + getPageSize + + + + + + + getMusic + + + + removeCache + + + + getInternalSongCode + + + + + + + getSongSimpleInfo + + + - + @@ -3703,19 +3939,33 @@ + + + + onSongSimpleInfoResult + + + - TakeSnapshot + takeSnapshot - EnableContentInspect + enableContentInspect + + + + + + + enableContentInspectEx @@ -3731,133 +3981,154 @@ - EnableVideoImageSource + enableVideoImageSource - GetNetworkType + getNetworkType - GetNtpWallTimeInMs - - - - - - - removeInjectStreamUrl + getNtpWallTimeInMs - SetAVSyncSource + setAVSyncSource - SetCloudProxy + setCloudProxy - SetLocalAccessPoint + setLocalAccessPoint - SetLogFile + setLogFile - SetLogFilter + setLogFilter - SetLogLevel + setLogLevel - SetLogFileSize + setLogFileSize + + + + + + + setParameters [2/2] - SetParameters + setParameters [1/2] - SendCustomReportMessage + sendCustomReportMessage - GetCallId + getCallId + + + + + + + getCallIdEx + + + + + + + queryDeviceScore - Rate + rate - Complain + complain - GetVersion + getVersion - GetErrorDescription + getErrorDescription + + + + + + + isFeatureAvailableOnDevice - QueryInterface + queryInterface @@ -3868,147 +4139,147 @@ - FOnConnectionStateChanged + onConnectionStateChanged - FOnError + onError - FOnFirstRemoteAudioDecoded + onFirstRemoteAudioDecoded - FOnFirstRemoteAudioFrame + onFirstRemoteAudioFrame - FOnJoinChannelSuccess + onJoinChannelSuccess - FOnRejoinChannelSuccess + onRejoinChannelSuccess - FOnLeaveChannel + onLeaveChannel - FOnClientRoleChanged + onClientRoleChanged - FOnClientRoleChangeFailed + onClientRoleChangeFailed - FOnUserJoined + onUserJoined - FOnUserMuteAudio + onUserMuteAudio - FOnUserOffline + onUserOffline - FOnNetworkTypeChanged + onNetworkTypeChanged - FOnConnectionInterrupted + onConnectionInterrupted - FOnConnectionLost + onConnectionLost - FOnConnectionBanned + onConnectionBanned - FOnTokenPrivilegeWillExpire + onTokenPrivilegeWillExpire - FOnRequestToken + onRequestToken - FOnLocalUserRegistered + onLocalUserRegistered - FOnUserInfoUpdated + onUserInfoUpdated - FOnUplinkNetworkInfoUpdated + onUplinkNetworkInfoUpdated @@ -4022,7 +4293,7 @@ - FOnVideoRenderingTracingResult + onVideoRenderingTracingResult @@ -4031,56 +4302,63 @@ - FOnLocalAudioStateChanged + onLocalAudioStateChanged + + + + + + + onMicrophoneEnabled - FOnLocalVideoStateChanged + onLocalVideoStateChanged - FOnVideoStopped + onVideoStopped - FOnFirstLocalAudioFramePublished + onFirstLocalAudioFramePublished - FOnFirstLocalVideoFramePublished + onFirstLocalVideoFramePublished - FOnFirstLocalVideoFrame + onFirstLocalVideoFrame - FOnAudioPublishStateChanged + onAudioPublishStateChanged - FOnVideoPublishStateChanged + onVideoPublishStateChanged @@ -4089,70 +4367,70 @@ - FOnAudioSubscribeStateChanged + onAudioSubscribeStateChanged - FOnFirstRemoteVideoDecoded + onFirstRemoteVideoDecoded - FOnFirstRemoteVideoFrame + onFirstRemoteVideoFrame - FOnRemoteAudioStateChanged + onRemoteAudioStateChanged - FOnRemoteVideoStateChanged + onRemoteVideoStateChanged - FOnUserEnableLocalVideo + onUserEnableLocalVideo - FOnUserEnableVideo + onUserEnableVideo - FOnUserMuteVideo + onUserMuteVideo - FOnVideoSizeChanged + onVideoSizeChanged - FOnVideoSubscribeStateChanged + onVideoSubscribeStateChanged @@ -4161,63 +4439,63 @@ - FOnRtcStats + onRtcStats - FOnNetworkQuality + onNetworkQuality - FOnLocalAudioStats + onLocalAudioStats - FOnLocalVideoStats + onLocalVideoStats - FOnRemoteAudioStats + onRemoteAudioStats - FOnRemoteAudioTransportStats + onRemoteAudioTransportStats - FOnRemoteVideoStats + onRemoteVideoStats - FOnRemoteVideoTransportStats + onRemoteVideoTransportStats - FOnAudioQuality + onAudioQuality @@ -4226,63 +4504,77 @@ - FOnAudioVolumeIndicationSource + onAudioVolumeIndication - FOnMetaData + onMetaData + + + + + + + onPlayerCacheStats - FOnPlayerEvent + onPlayerEvent + + + + + + + onPlayerPlaybackStats - FOnPlayerSourceStateChanged + onPlayerSourceStateChanged - FOnPositionChanged + onPositionChanged - FOnReadData + onReadData - FOnSeek + onSeek - FOnPlayBufferUpdated + onPlayBufferUpdated - FOnPreloadEvent + onPreloadEvent @@ -4296,14 +4588,14 @@ - FOnPlayerSrcInfoChanged + onPlayerSrcInfoChanged - FOnPlayerInfoUpdated + onPlayerInfoUpdated @@ -4312,14 +4604,14 @@ - FOnDirectCdnStreamingStateChanged + onDirectCdnStreamingStateChanged - FOnDirectCdnStreamingStats + onDirectCdnStreamingStats @@ -4328,28 +4620,35 @@ - FOnAudioMixingStateChanged + onAudioMixingStateChanged - FOnAudioMixingFinished + onAudioMixingFinished - FOnAudioEffectFinished + onAudioEffectFinished - FOnAudioMixingPositionChanged + onAudioMixingPositionChanged + + + + + + + onAudioMetadataReceived [2/2] @@ -4359,7 +4658,7 @@ - FOnEncryptionError + onEncryptionError @@ -4368,21 +4667,21 @@ - FOnRtmpStreamingEvent + onRtmpStreamingEvent - FOnRtmpStreamingStateChanged + onRtmpStreamingStateChanged - FOnTranscodingUpdated + onTranscodingUpdated @@ -4391,14 +4690,7 @@ - FOnChannelMediaRelayStateChanged - - - - - - - FOnChannelMediaRelayEvent + onChannelMediaRelayStateChanged @@ -4407,14 +4699,14 @@ - FOnAudioVolumeIndication + onAudioVolumeIndication - FOnActiveSpeaker + onActiveSpeaker @@ -4423,7 +4715,7 @@ - FOnFacePositionChanged + onFacePositionChanged @@ -4432,7 +4724,7 @@ - FOnAudioRoutingChanged + onAudioRoutingChanged @@ -4450,14 +4742,14 @@ - FOnLastmileQuality + onLastmileQuality - FOnLastmileProbeResult + onLastmileProbeResult @@ -4466,14 +4758,14 @@ - FOnLocalAudioSpectrum + onLocalAudioSpectrum - FOnRemoteAudioSpectrum + onRemoteAudioSpectrum @@ -4482,56 +4774,56 @@ - FOnRecordAudioFrame + onRecordAudioFrame - FOnPlaybackAudioFrame + onPlaybackAudioFrame - FOnPlaybackAudioFrameBeforeMixing + onPlaybackAudioFrameBeforeMixing - FOnMixedAudioFrame + onMixedAudioFrame - FGetObservedAudioFramePosition + getObservedAudioFramePosition - FGetRecordAudioParams + getRecordAudioParams - FGetMixedAudioParams + getMixedAudioParams - FGetPlaybackAudioParams + getPlaybackAudioParams @@ -4540,14 +4832,14 @@ - FOnCaptureVideoFrame + onCaptureVideoFrame - + - FOnEncodedVideoFrameReceived + onEncodedVideoFrameReceived @@ -4561,49 +4853,49 @@ - FOnRenderVideoFrame + onRenderVideoFrame - FGetRotationApplied + getRotationApplied - FGetMirrorApplied + getMirrorApplied - FGetVideoFormatPreference + getVideoFormatPreference - FGetVideoFrameProcessMode + getVideoFrameProcessMode - FGetObservedFramePosition + getObservedFramePosition - FOnPreEncodeVideoFrame + onPreEncodeVideoFrame @@ -4612,14 +4904,14 @@ - FOnRecorderStateChanged + onRecorderStateChanged - FOnRecorderInfoUpdated + onRecorderInfoUpdated @@ -4628,21 +4920,21 @@ - FGetMaxMetadataSize + getMaxMetadataSize - FOnReadyToSendMetadata + onReadyToSendMetadata - FOnMetadataReceived + onMetadataReceived @@ -4651,21 +4943,21 @@ - FOnCameraFocusAreaChanged + onCameraFocusAreaChanged - FOnCameraExposureAreaChanged + onCameraExposureAreaChanged - FOnCameraReady + onCameraReady @@ -4674,21 +4966,21 @@ - FOnAudioDeviceStateChanged + onAudioDeviceStateChanged - FOnAudioDeviceVolumeChanged + onAudioDeviceVolumeChanged - FOnVideoDeviceStateChanged + onVideoDeviceStateChanged @@ -4697,14 +4989,14 @@ - FOnStreamMessage + onStreamMessage - FOnStreamMessageError + onStreamMessageError @@ -4713,7 +5005,7 @@ - FOnSnapshotTaken + onSnapshotTaken @@ -4756,17 +5048,17 @@ - + - FOnEarMonitoringAudioFrame + onEarMonitoringAudioFrame - + - FGetEarMonitoringAudioParams + getEarMonitoringAudioParams @@ -4775,7 +5067,7 @@ - FOnRhythmPlayerStateChanged + onRhythmPlayerStateChanged @@ -4784,7330 +5076,8597 @@ - FOnLocalVideoTranscoderError - - - - - - - - - FOnPermissionError - - - - - - - OnVirtualBackgroundSourceEnabled + onLocalVideoTranscoderError - + - FOnProxyConnected + onTranscodedStreamLayoutInfo - - - - - - FAudioRecordingConfiguration - - - - - - - FAudioFrame - - - - - - - AudioParams - - - - - - - FAudioPcmFrame - - - - - - - FAudioEncodedFrameObserverConfig - - - - - - - FAudioSpectrumData - - - - - - - FAudioVolumeInfo - - - - - - - FAudioTrackConfig - - - - - - - FBeautyOptions - - - - - - - FCameraCapturerConfiguration - - - - - - - FCacheStatistics - - - - - - - FChannelMediaInfo - - - - - - - FChannelMediaOptions - - - - - - - FChannelMediaRelayConfiguration - - - - + + - FClientRoleOptions + onPermissionError - + - ClimaxSegment + OnVirtualBackgroundSourceEnabled - + - CloudSpatialAudioConfig + onProxyConnected - + - FContentInspectConfig + onFaceInfo - + + + + - FCodecCapInfo + AudioRecordingConfiguration - - - - FColorEnhanceOptions - - - - - - - FContentInspectModule - - - - - - - FDataStreamConfig - - - - + + + + AudioFrame + + + + + + + AudioParams + + + + + + + AudioPcmFrame + + + + + + + AudioEncodedFrameObserverConfig + + + + + + + AudioSpectrumData + + + + + + + AudioVolumeInfo + + + + - FDeviceInfo + AudioTrackConfig - - - - FDirectCdnStreamingMediaOptions - - - - - - - FDirectCdnStreamingStats - - - - - - - FEchoTestConfiguration - - - - - - - FEncodedAudioFrameInfo - - - - - - - FEncodedVideoFrameInfo - - - - - - - FEncryptionConfig - - - - - - - ExternalVideoFrame - - - - - - - FImageTrackOptions - - - - - - - InjectStreamConfig - - - - - - - FLastmileProbeConfig - - - - - - - FLastmileProbeOneWayResult - - - - - - - FLastmileProbeResult - - - - - - - FLeaveChannelOptions - - - - - - - FLiveTranscoding - - - - - - - FLiveStreamAdvancedFeature - - - - - - - FLocalAccessPointConfiguration - - - - - - - FLocalAudioStats - - - - - - - FLocalSpatialAudioConfig - - - - - - - FLocalTranscoderConfiguration - - - - - - - FLocalVideoStats - - - - - - - FLogConfig - - - - - - - FLogUploadServerInfo - - - - - - - FMediaRecorderConfiguration - - - - - - - FAgoraMediaSource - - - - - - - FLowlightEnhanceOptions - - - - - - - FAgoraMetadata - - - - + - Music + BeautyOptions - + - MusicCacheInfo + CameraCapturerConfiguration - + - MusicChartInfo + CacheStatistics - + - MusicCollection + ChannelMediaInfo - - - - MusicChartCollection - - - - + - MusicContentCenterConfiguration + ChannelMediaOptions - + - MvProperty + ChannelMediaRelayConfiguration - - - - FPacket - - - - - - - FPlayerStreamInfo - - - - - - - FPlayerUpdatedInfo - - - - - - - FRecorderInfo - - - - + - FRecorderStreamInfo + ClientRoleOptions - - - - Rect - - - - - - - FRectangle - - - - - - - FRemoteAudioStats - - - - - - - FRemoteVideoStats - - - - - - - FRemoteVoicePositionInfo - - - - - - - FRtcConnection - - - - - - - FRtcEngineContext - - - - - - - FRtcImage - - - - - - - FRtcStats - - - - - - - FScreenCaptureConfiguration - - - - - - - FScreenCaptureParameters - - - - - - - FScreenCaptureParameters2 - - - - - - - FScreenAudioParameters - - - - - - - FScreenVideoParameters - - - - - - - FScreenCaptureSourceInfo - - - - - - - FSegmentationProperty - - - - - - - FSimulcastStreamConfig - - - - - - - SIZE - - - - - - - FSpatialAudioParams - - - - - - - FSpatialAudioZone - - - - - - - FSrcInfo - - - - - - - FThumbImageBuffer - - - - - - - FTranscodingUser - - - - - - - FTranscodingVideoStream - - - - - - - FUplinkNetworkInfo - - - - - - - FUserAudioSpectrumInfo - - - - - - - FUserInfo - - - - - - - FVideoCanvas - - - - - - - FVideoDenoiserOptions - - - - - - - FVideoDimensions - - - - - - - FVideoEncoderConfiguration - - - - - - - FVideoFormat - - - - - - - FVideoFrame - - - - + - FVideoRenderingTracingInfo + ClimaxSegment - - - - FVideoSubscriptionOptions - - - - - - - FVirtualBackgroundSource - - - - - - - FWatermarkOptions - - - - - - - FWatermarkRatio - - - - - - - EWATERMARK_FIT_MODE - - - - - - - FIT_MODE_COVER_POSITION - - - - - - - FIT_MODE_USE_IMAGE_RATIO - - - - - - - - - EENUMCUSTOM_AREA_CODE - - - - - - - AREA_CODE_CN - - - - - - - AREA_CODE_NA - - - - - - - AREA_CODE_EU - - - - - - - AREA_CODE_AS - - - - - - - AREA_CODE_JP - - - - - - - AREA_CODE_IN - - - - - - - AREA_CODE_GLOB - - - - - - - EAUDIENCE_LATENCY_LEVEL_TYPE - - - - - - - AUDIENCE_LATENCY_LEVEL_LOW_LATENCY - - - - - - - AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY - - - - + - EAUDIO_AINS_MODE + CloudSpatialAudioConfig - + - AINS_MODE_BALANCED + ContentInspectConfig - + - AINS_MODE_AGGRESSIVE + CodecCapInfo - + - AINS_MODE_ULTRALOWLATENCY + CodecCapLevels - - - - EAUDIO_CODEC_PROFILE_TYPE - - - - - - - AUDIO_CODEC_PROFILE_LC_AAC - - - - - - - AUDIO_CODEC_PROFILE_HE_AAC - - - - - - - HE_AAC_V2 - - - - - - - EAUDIO_CODEC_TYPE - - - - - - - AUDIO_CODEC_OPUS - - - - - - - AUDIO_CODEC_PCMA - - - - - - - AUDIO_CODEC_PCMU - - - - - - - AUDIO_CODEC_G722 - - - - - - - AUDIO_CODEC_AACLC - - - - - - - AUDIO_CODEC_HEAAC - - - - - - - AUDIO_CODEC_JC1 - - - - - - - AUDIO_CODEC_HEAAC2 - - - - - - - EAUDIO_ENCODED_FRAME_OBSERVER_POSITION - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK - - - - - - - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED - - - - - - - EENUMCUSTOM_AUDIO_ENCODING_TYPE - - - - - - - AUDIO_ENCODING_TYPE_AAC_16000_LOW - - - - - - - AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_AAC_32000_LOW - - - - - - - AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_AAC_32000_HIGH - - - - - - - AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_AAC_48000_HIGH - - - - - - - AUDIO_ENCODING_TYPE_OPUS_16000_LOW - - - - - - - AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM - - - - - - - AUDIO_ENCODING_TYPE_OPUS_48000_HIGH - - - - - - - EENUMCUSTOM_AUDIO_EFFECT_PRESET - - - - - - - AUDIO_EFFECT_OFF - - - - - - - EBACKGROUND_BLUR_DEGREE - - - - - - - BLUR_DEGREE_LOW - - - - - - - BLUR_DEGREE_MEDIUM - - - - - - - BLUR_DEGREE_HIGH - - - - - - - EBACKGROUND_SOURCE_TYPE - - - - + - BACKGROUND_NONE + ColorEnhanceOptions - - - - BACKGROUND_COLOR - - - - - - - BACKGROUND_IMG - - - - - - - BACKGROUND_BLUR - - - - + - BACKGROUND_VIDEO + ContentInspectModule - - - - SAE_DEPLOY_REGION - - - - - - - SAE_DEPLOY_REGION_CN - - - - - - - SAE_DEPLOY_REGION_NA - - - - - - - SAE_DEPLOY_REGION_EU - - - - - - - SAE_DEPLOY_REGION_AS - - - - + - CODEC_CAP_MASK + DataStreamConfig - + - CODEC_CAP_MASK_NONE + DeviceInfo - + - CODEC_CAP_MASK_HW_DEC + DirectCdnStreamingMediaOptions - + - CODEC_CAP_MASK_HW_ENC + DirectCdnStreamingStats - + - CODEC_CAP_MASK_SW_DEC + EchoTestConfiguration - + - CODEC_CAP_MASK_SW_ENC + EncodedAudioFrameInfo - - - - CONTENT_INSPECT_DEVICE_TYPE - - - - - - - CONTENT_INSPECT_DEVICE_INVALID - - - - - - - CONTENT_INSPECT_DEVICE_AGORA - - - - - - - CONTENT_INSPECT_DEVICE_HIVE - - - - - - - CONTENT_INSPECT_DEVICE_TUPU - - - - - - - ContentInspectResult - - - - - - - CONTENT_INSPECT_NEUTRAL - - - - - - - CONTENT_INSPECT_SEXY - - - - - - - CONTENT_INSPECT_PORN - - - - - - - ECONTENT_INSPECT_TYPE - - - - - - - CONTENT_INSPECT_INVALID - - - - - - - CONTENT_INSPECT_MODERATION - - - - - - - CONTENT_INSPECT_SUPERVISION - - - - - - - ECOMPRESSION_PREFERENCE - - - - - - - PREFER_LOW_LATENCY - - - - - - - PREFER_QUALITY - - - - - - - EAR_MONITORING_FILTER_TYPE - - - - - - - EAR_MONITORING_FILTER_NONE - - - - - - - EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS - - - - - - - EAR_MONITORING_FILTER_NOISE_SUPPRESSION - - - - - - - EXTERNAL_VIDEO_SOURCE_TYPE - - - - - - - VIDEO_FRAME - - - - - - - ENCODED_VIDEO_FRAME - - - - - - - ROOM_ACOUSTICS_KTV - - - - - - - ROOM_ACOUSTICS_VOCAL_CONCERT - - - - - - - ROOM_ACOUSTICS_STUDIO - - - - - - - ROOM_ACOUSTICS_PHONOGRAPH - - - - - - - ROOM_ACOUSTICS_VIRTUAL_STEREO - - - - - - - ROOM_ACOUSTICS_SPACIAL - - - - - - - ROOM_ACOUSTICS_ETHEREAL - - - - - - - ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND - - - - - - - ROOM_ACOUSTICS_3D_VOICE - - - - - - - VOICE_CHANGER_EFFECT_UNCLE - - - - - - - VOICE_CHANGER_EFFECT_OLDMAN - - - - - - - VOICE_CHANGER_EFFECT_BOY - - - - - - - VOICE_CHANGER_EFFECT_SISTER - - - - - - - VOICE_CHANGER_EFFECT_GIRL - - - - - - - VOICE_CHANGER_EFFECT_PIGKING - - - - - - - VOICE_CHANGER_EFFECT_HULK - - - - - - - STYLE_TRANSFORMATION_RNB - - - - - - - STYLE_TRANSFORMATION_POPULAR - - - - - - - PITCH_CORRECTION - - - - - - - EENUMCUSTOM_ENCODING_PREFERENCE - - - - - - - PREFER_AUTO - - - - - - - PREFER_SOFTWARE - - - - - - - PREFER_HARDWARE - - - - - - - EAUDIO_EQUALIZATION_BAND_FREQUENCY - - - - - - - AUDIO_EQUALIZATION_BAND_31 - - - - - - - AUDIO_EQUALIZATION_BAND_62 - - - - - - - AUDIO_EQUALIZATION_BAND_125 - - - - - - - AUDIO_EQUALIZATION_BAND_250 - - - - - - - AUDIO_EQUALIZATION_BAND_500 - - - - - - - AUDIO_EQUALIZATION_BAND_1K - - - - - - - AUDIO_EQUALIZATION_BAND_2K - - - - - - - AUDIO_EQUALIZATION_BAND_4K - - - - - - - AUDIO_EQUALIZATION_BAND_8K - - - - - - - AUDIO_EQUALIZATION_BAND_16K - - - - - - - EAUDIO_FRAME_TYPE - - - - - - - FRAME_TYPE_PCM16 - - - - - - - AUDIO_FRAME_POSITION_PLAYBACK - - - - - - - AUDIO_FRAME_POSITION_RECORD - - - - - - - AUDIO_FRAME_POSITION_MIXED - - - - - - - AUDIO_FRAME_POSITION_BEFORE_MIXING - - - - - - - AUDIO_FRAME_POSITION_EAR_MONITORING - - - - - - - EAUDIO_DUAL_MONO_MODE - - - - - - - AUDIO_DUAL_MONO_STEREO - - - - - - - AUDIO_DUAL_MONO_L - - - - - - - AUDIO_DUAL_MONO_R - - - - - - - AUDIO_DUAL_MONO_MIX - - - - - - - EAUDIO_MIXING_DUAL_MONO_MODE - - - - - - - AUDIO_MIXING_DUAL_MONO_AUTO - - - - - - - AUDIO_MIXING_DUAL_MONO_L - - - - - - - AUDIO_MIXING_DUAL_MONO_R - - - - - - - AUDIO_MIXING_DUAL_MONO_MIX - - - - - - - EENUMCUSTOM_AUDIO_MIXING_REASON_TYPE - - - - - - - AUDIO_MIXING_REASON_OK - - - - - - - AUDIO_MIXING_REASON_CAN_NOT_OPEN - - - - - - - AUDIO_MIXING_REASON_TOO_FREQUENT_CALL - - - - - - - AUDIO_MIXING_REASON_INTERRUPTED_EOF - - - - - - - AUDIO_MIXING_REASON_STARTED_BY_USER - - - - - - - AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED - - - - - - - AUDIO_MIXING_REASON_START_NEW_LOOP - - - - - - - AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED - - - - - - - AUDIO_MIXING_REASON_STOPPED_BY_USER - - - - - - - AUDIO_MIXING_REASON_PAUSED_BY_USER - - - - - - - AUDIO_MIXING_REASON_RESUMED_BY_USER - - - - - - - EENUMCUSTOM_AUDIO_MIXING_STATE_TYPE - - - - - - - AUDIO_MIXING_STATE_PLAYING - - - - - - - AUDIO_MIXING_STATE_PAUSED - - - - - - - AUDIO_MIXING_STATE_STOPPED - - - - - - - AUDIO_MIXING_STATE_FAILED - - - - - - - AUDIO_MIXING_STATE_COMPLETED - - - - - - - AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED - - - - - - - AUDIO_PROCESSING_CHANNELS - - - - - - - AUDIO_PROCESSING_MONO - - - - - - - AUDIO_PROCESSING_STEREO - - - - - - - EAUDIO_PROFILE_TYPE - - - - - - - AUDIO_PROFILE_DEFAULT - - - - - - - AUDIO_PROFILE_SPEECH_STANDARD - - - - - - - AUDIO_PROFILE_MUSIC_STANDARD - - - - - - - AUDIO_PROFILE_MUSIC_STANDARD_STEREO - - - - - - - AUDIO_PROFILE_MUSIC_HIGH_QUALITY - - - - - - - AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO - - - - - - - AUDIO_PROFILE_IOT - - - - - - - AUDIO_PROFILE_NUM - - - - - - - AUDIO_RANGE_MODE_TYPE - - - - - - - AUDIO_RANGE_MODE_WORLD - - - - - - - AUDIO_RANGE_MODE_TEAM - - - - - - - EAUDIO_FILE_RECORDING_TYPE - - - - - - - AUDIO_FILE_RECORDING_MIC - - - - - - - AUDIO_FILE_RECORDING_PLAYBACK - - - - - - - AUDIO_FILE_RECORDING_MIXED - - - - - - - EAUDIO_RECORDING_QUALITY_TYPE - - - - - - - AUDIO_RECORDING_QUALITY_LOW - - - - - - - AUDIO_RECORDING_QUALITY_MEDIUM - - - - - - - AUDIO_RECORDING_QUALITY_HIGH - - - - - - - AUDIO_RECORDING_QUALITY_ULTRA_HIGH - - - - - - - EAUDIO_REVERB_TYPE - - - - - - - AUDIO_REVERB_DRY_LEVEL - - - - - - - AUDIO_REVERB_WET_LEVEL - - - - - - - AUDIO_REVERB_ROOM_SIZE - - - - - - - AUDIO_REVERB_WET_DELAY - - - - - - - AUDIO_REVERB_STRENGTH - - - - - - - AudioRoute - - - - - - - ROUTE_DEFAULT - - - - - - - ROUTE_HEADSET - - - - - - - ROUTE_EARPIECE - - - - - - - ROUTE_HEADSETNOMIC - - - - - - - ROUTE_SPEAKERPHONE - - - - - - - ROUTE_LOUDSPEAKER - - - - - - - ROUTE_BLUETOOTH - - - - - - - ROUTE_USB - - - - - - - ROUTE_HDMI - - - - - - - ROUTE_DISPLAYPORT - - - - - - - ROUTE_AIRPLAY - - - - - - - EAUDIO_SAMPLE_RATE_TYPE - - - - - - - AUDIO_SAMPLE_RATE_32000 - - - - - - - AUDIO_SAMPLE_RATE_44100 - - - - - - - AUDIO_SAMPLE_RATE_48000 - - - - - - - EAUDIO_SCENARIO_TYPE - - - - - - - AUDIO_SCENARIO_DEFAULT - - - - - - - AUDIO_SCENARIO_CHATROOM - - - - - - - AUDIO_SCENARIO_GAME_STREAMING - - - - - - - AUDIO_SCENARIO_CHORUS - - - - - - - AUDIO_SCENARIO_MEETING - - - - - - - AUDIO_SCENARIO_NUM - - - - - - - EAUDIO_SESSION_OPERATION_RESTRICTION - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_NONE - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION - - - - - - - AUDIO_SESSION_OPERATION_RESTRICTION_ALL - - - - - - - EAUDIO_TRACK_TYPE - - - - - - - AUDIO_TRACK_MIXABLE - - - - - - - AUDIO_TRACK_DIRECT - - - - - - - ECONNECTION_STATE_TYPE - - - - - - - CONNECTION_STATE_DISCONNECTED - - - - - - - CONNECTION_STATE_CONNECTING - - - - - - - CONNECTION_STATE_CONNECTED - - - - - - - CONNECTION_STATE_RECONNECTING - - - - - - - CONNECTION_STATE_FAILED - - - - - - - ECONNECTION_CHANGED_REASON_TYPE - - - - - - - CONNECTION_CHANGED_CONNECTING - - - - - - - CONNECTION_CHANGED_JOIN_SUCCESS - - - - - - - CONNECTION_CHANGED_REJOIN_SUCCESS - - - - - - - CONNECTION_CHANGED_LOST - - - - - - - CONNECTION_CHANGED_ECHO_TEST - - - - - - - CONNECTION_CHANGED_INTERRUPTED - - - - - - - CONNECTION_CHANGED_BANNED_BY_SERVER - - - - - - - CONNECTION_CHANGED_JOIN_FAILED - - - - - - - CONNECTION_CHANGED_LEAVE_CHANNEL - - - - - - - CONNECTION_CHANGED_INVALID_APP_ID - - - - - - - CONNECTION_CHANGED_INVALID_CHANNEL_NAME - - - - - - - CONNECTION_CHANGED_INVALID_TOKEN - - - - - - - CONNECTION_CHANGED_TOKEN_EXPIRED - - - - - - - CONNECTION_CHANGED_REJECTED_BY_SERVER - - - - - - - CONNECTION_CHANGED_SETTING_PROXY_SERVER - - - - - - - CONNECTION_CHANGED_RENEW_TOKEN - - - - - - - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED - - - - - - - CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT - - - - - - - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER - - - - - - - CONNECTION_CHANGED_SAME_UID_LOGIN - - - - - - - CONNECTION_CHANGED_TOO_MANY_BROADCASTERS - - - - - - - ECAMERA_DIRECTION - - - - - - - CAMERA_REAR - - - - - - - CAMERA_FRONT - - - - - - - EENUMCUSTOM_CAPTURE_BRIGHTNESS_LEVEL_TYPE - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_INVALID - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_NORMAL - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_BRIGHT - - - - - - - CAPTURE_BRIGHTNESS_LEVEL_DARK - - - - - - - CAPTURER_OUTPUT_PREFERENCE - - - - - - - CAPTURER_OUTPUT_PREFERENCE_AUTO - - - - - - - CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE - - - - - - - CAPTURER_OUTPUT_PREFERENCE_PREVIEW - - - - - - - CAPTURER_OUTPUT_PREFERENCE_MANUAL - - - - - - - CHANNEL_MEDIA_RELAY_ERROR - - - - - - - RELAY_OK - - - - - - - RELAY_ERROR_SERVER_ERROR_RESPONSE - - - - - - - RELAY_ERROR_SERVER_NO_RESPONSE - - - - - - - RELAY_ERROR_NO_RESOURCE_AVAILABLE - - - - - - - RELAY_ERROR_FAILED_JOIN_SRC - - - - - - - RELAY_ERROR_FAILED_JOIN_DEST - - - - - - - RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC - - - - - - - RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST - - - - - - - RELAY_ERROR_SERVER_CONNECTION_LOST - - - - - - - RELAY_ERROR_INTERNAL_ERROR - - - - - - - RELAY_ERROR_SRC_TOKEN_EXPIRED - - - - - - - RELAY_ERROR_DEST_TOKEN_EXPIRED - - - - - - - CHANNEL_MEDIA_RELAY_EVENT - - - - - - - RELAY_EVENT_NETWORK_DISCONNECTED - - - - - - - RELAY_EVENT_NETWORK_CONNECTED - - - - - - - RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL - - - - - - - RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL - - - - - - - RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL - - - - - - - RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC - - - - - - - RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC - - - - - - - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL - - - - - - - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE - - - - - - - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL - - - - - - - RELAY_EVENT_VIDEO_PROFILE_UPDATE - - - - - - - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - - - - - - - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED - - - - - - - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - - - - - - - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED - - - - - - - CHANNEL_MEDIA_RELAY_STATE - - - - - - - RELAY_STATE_IDLE - - - - - - - RELAY_STATE_CONNECTING - - - - - - - RELAY_STATE_RUNNING - - - - - - - RELAY_STATE_FAILURE - - - - - - - ECHANNEL_PROFILE_TYPE - - - - - - - CHANNEL_PROFILE_COMMUNICATION - - - - - - - CHANNEL_PROFILE_LIVE_BROADCASTING - - - - - - - CHANNEL_PROFILE_GAME - - - - - - - CHANNEL_PROFILE_CLOUD_GAMING - - - - - - - ECLIENT_ROLE_TYPE - - - - - - - CLIENT_ROLE_BROADCASTER - - - - - - - CLIENT_ROLE_AUDIENCE - - - - - - - ECLIENT_ROLE_CHANGE_FAILED_REASON - - - - - - - CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS - - - - - - - CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED - - - - - - - CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT - - - - - - - CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED - - - - - - - ECLOUD_PROXY_TYPE - - - - - - - NONE_PROXY - - - - - - - UDP_PROXY - - - - - - - TCP_PROXY - - - - - - - EPROXY_TYPE - - - - - - - NONE_PROXY_TYPE - - - - - - - UDP_PROXY_TYPE - - - - - - - TCP_PROXY_TYPE - - - - - - - LOCAL_PROXY_TYPE - - - - - - - TCP_PROXY_AUTO_FALLBACK_TYPE - - - - - - - EDEGRADATION_PREFERENCE - - - - - - - MAINTAIN_QUALITY - - - - - - - MAINTAIN_FRAMERATE - - - - - - - MAINTAIN_BALANCED - - - - - - - MAINTAIN_RESOLUTION - - - - - - - EDIRECT_CDN_STREAMING_REASON - - - - - - - DIRECT_CDN_STREAMING_REASON_OK - - - - - - - DIRECT_CDN_STREAMING_REASON_FAILED - - - - - - - DIRECT_CDN_STREAMING_REASON_AUDIO_PUBLICATION - - - - - - - DIRECT_CDN_STREAMING_REASON_VIDEO_PUBLICATION - - - - - - - DIRECT_CDN_STREAMING_REASON_NET_CONNECT - - - - - - - DIRECT_CDN_STREAMING_REASON_BAD_NAME - - - - - - - EDIRECT_CDN_STREAMING_STATE - - - - - - - DIRECT_CDN_STREAMING_STATE_IDLE - - - - - - - DIRECT_CDN_STREAMING_STATE_RUNNING - - - - - - - DIRECT_CDN_STREAMING_STATE_STOPPED - - - - - - - DIRECT_CDN_STREAMING_STATE_FAILED - - - - - - - DIRECT_CDN_STREAMING_STATE_RECOVERING - - - - - - - EENCRYPTION_ERROR_TYPE - - - - - - - ENCRYPTION_ERROR_INTERNAL_FAILURE - - - - - - - ENCRYPTION_ERROR_DECRYPTION_FAILURE - - - - - - - ENCRYPTION_ERROR_ENCRYPTION_FAILURE - - - - - - - ERROR_CODE_TYPE - - - - - - - ERR_OK - - - - - - - ERR_FAILED - - - - - - - ERR_INVALID_ARGUMENT - - - - - - - ERR_NOT_READY - - - - - - - ERR_NOT_SUPPORTED - - - - - - - ERR_REFUSED - - - - - - - ERR_BUFFER_TOO_SMALL - - - - - - - ERR_NOT_INITIALIZED - - - - - - - ERR_INVALID_STATE - - - - - - - ERR_NO_PERMISSION - - - - - - - ERR_TIMEDOUT - - - - - - - ERR_JOIN_CHANNEL_REJECTED - - - - - - - ERR_LEAVE_CHANNEL_REJECTED - - - - - - - ERR_ALREADY_IN_USE - - - - - - - ERR_ABORTED - - - - - - - ERR_INIT_NET_ENGINE - - - - - - - ERR_RESOURCE_LIMITED - - - - - - - ERR_INVALID_APP_ID - - - - - - - ERR_INVALID_CHANNEL_NAME - - - - - - - ERR_NO_SERVER_RESOURCES - - - - - - - ERR_TOKEN_EXPIRED - - - - - - - ERR_INVALID_TOKEN - - - - - - - ERR_CONNECTION_INTERRUPTED - - - - - - - ERR_CONNECTION_LOST - - - - - - - ERR_NOT_IN_CHANNEL - - - - - - - ERR_SIZE_TOO_LARGE - - - - - - - ERR_BITRATE_LIMIT - - - - - - - ERR_TOO_MANY_DATA_STREAMS - - - - - - - ERR_STREAM_MESSAGE_TIMEOUT - - - - - - - ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED - - - - - - - ERR_DECRYPTION_FAILED - - - - - - - ERR_INVALID_USER_ID - - - - - - - ERR_CLIENT_IS_BANNED_BY_SERVER - - - - - - - ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH - - - - - - - ERR_LICENSE_CREDENTIAL_INVALID - - - - - - - ERR_INVALID_USER_ACCOUNT - - - - - - - ERR_MODULE_NOT_FOUND - - - - - - - ERR_LOAD_MEDIA_ENGINE - - - - - - - ERR_ADM_GENERAL_ERROR - - - - - - - ERR_ADM_INIT_PLAYOUT - - - - - - - ERR_ADM_START_PLAYOUT - - - - - - - ERR_ADM_STOP_PLAYOUT - - - - - - - ERR_ADM_INIT_RECORDING - - - - - - - ERR_ADM_START_RECORDING - - - - - - - ERR_ADM_STOP_RECORDING - - - - - - - ERR_VDM_CAMERA_NOT_AUTHORIZED - - - - - - - ENCRYPTION_MODE - - - - - - - AES_128_XTS - - - - - - - AES_128_ECB - - - - - - - AES_256_XTS - - - - - - - SM4_128_ECB - - - - - - - AES_128_GCM - - - - - - - AES_256_GCM - - - - - - - AES_128_GCM2 - - - - - - - AES_256_GCM2 - - - - - - - MODE_END - - - - - - - EXPERIENCE_POOR_REASON - - - - - - - EXPERIENCE_REASON_NONE - - - - - - - REMOTE_NETWORK_QUALITY_POOR - - - - - - - LOCAL_NETWORK_QUALITY_POOR - - - - - - - WIRELESS_SIGNAL_POOR - - - - - - - WIFI_BLUETOOTH_COEXIST - - - - - - - EXPERIENCE_QUALITY_TYPE - - - - - - - EXPERIENCE_QUALITY_GOOD - - - - - - - EXPERIENCE_QUALITY_BAD - - - - - - - FRAME_RATE - - - - - - - FRAME_RATE_FPS_1 - - - - - - - FRAME_RATE_FPS_7 - - - - - - - FRAME_RATE_FPS_10 - - - - - - - FRAME_RATE_FPS_15 - - - - - - - FRAME_RATE_FPS_24 - - - - - - - FRAME_RATE_FPS_30 - - - - - - - FRAME_RATE_FPS_60 - - - - - - - EENUMCUSTOM_HEADPHONE_EQUALIZER_PRESET - - - - - - - HEADPHONE_EQUALIZER_OFF - - - - - - - HEADPHONE_EQUALIZER_OVEREAR - - - - - - - HEADPHONE_EQUALIZER_INEAR - - - - - - - EMediaRecorderContainerFormat - - - - - - - FORMAT_MP4 - - - - - - - EMediaRecorderStreamType - - - - - - - STREAM_TYPE_AUDIO - - - - - - - STREAM_TYPE_VIDEO - - - - - - - STREAM_TYPE_BOTH - - - - - - - ELASTMILE_PROBE_RESULT_STATE - - - - - - - LASTMILE_PROBE_RESULT_COMPLETE - - - - - - - LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE - - - - - - - LASTMILE_PROBE_RESULT_UNAVAILABLE - - - - - - - ELIGHTENING_CONTRAST_LEVEL - - - - - - - LIGHTENING_CONTRAST_LOW - - - - - - - LIGHTENING_CONTRAST_NORMAL - - - - - - - LIGHTENING_CONTRAST_HIGH - - - - - - - ELOCAL_AUDIO_STREAM_REASON - - - - - - - LOCAL_AUDIO_STREAM_REASON_OK - - - - - - - LOCAL_AUDIO_STREAM_REASON_FAILURE - - - - - - - LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION - - - - - - - LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY - - - - - - - LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE - - - - - - - LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE - - - - - - - LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE - - - - - - - LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE - - - - - - - LOCAL_AUDIO_STREAM_REASON_INTERRUPTED - - - - - - - LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID - - - - - - - LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID - - - - - - - ELOCAL_AUDIO_STREAM_STATE - - - - - - - LOCAL_AUDIO_STREAM_STATE_STOPPED - - - - - - - LOCAL_AUDIO_STREAM_STATE_RECORDING - - - - - - - LOCAL_AUDIO_STREAM_STATE_ENCODING - - - - - - - LOCAL_AUDIO_STREAM_STATE_FAILED - - - - - - - ELOCAL_PROXY_MODE - - - - - - - ConnectivityFirst - - - - - - - LocalOnly - - - - - - - ELOCAL_VIDEO_STREAM_REASON - - - - - - - LOCAL_VIDEO_STREAM_REASON_OK - - - - - - - LOCAL_VIDEO_STREAM_REASON_FAILURE - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY - - - - - - - LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE - - - - - - - LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT - - - - - - - LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND - - - - - - - LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED - - - - - - - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE - - - - - - - LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE - - - - - - - ELOCAL_VIDEO_STREAM_STATE - - - - - - - LOCAL_VIDEO_STREAM_STATE_STOPPED - - - - - - - LOCAL_VIDEO_STREAM_STATE_CAPTURING - - - - - - - LOCAL_VIDEO_STREAM_STATE_ENCODING - - - - - - - LOCAL_VIDEO_STREAM_STATE_FAILED - - - - - - - ERR_SCREEN_CAPTURE_PERMISSION_DENIED - - - - - - - ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED - - - - - - - ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED - - - - - - - LOG_FILTER_TYPE - - - - - - - LOG_FILTER_OFF - - - - - - - LOG_FILTER_DEBUG - - - - - - - LOG_FILTER_INFO - - - - - - - LOG_FILTER_WARN - - - - - - - LOG_FILTER_ERROR - - - - - - - LOG_FILTER_CRITICAL - - - - - - - ELOG_LEVEL - - - - - - - LOG_LEVEL_NONE - - - - - - - LOG_LEVEL_INFO - - - - - - - LOG_LEVEL_WARN - - - - - - - LOG_LEVEL_ERROR - - - - - - - LOG_LEVEL_FATAL - - - - - - - ELOW_LIGHT_ENHANCE_MODE - - - - - - - LOW_LIGHT_ENHANCE_AUTO - - - - - - - LOW_LIGHT_ENHANCE_MANUAL - - - - - - - ELOW_LIGHT_ENHANCE_LEVEL - - - - - - - LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY - - - - - - - LOW_LIGHT_ENHANCE_LEVEL_FAST - - - - - - - 512 字符 - - - - - - - MAX_DEVICE_ID_LENGTH - - - - - - - 255 字节 - - - - - - - MAX_USER_ACCOUNT_LENGTH - - - - - - - MEDIA_DEVICE_STATE_TYPE - - - - - - - MEDIA_DEVICE_STATE_IDLE - - - - - - - MEDIA_DEVICE_STATE_ACTIVE - - - - - - - MEDIA_DEVICE_STATE_DISABLED - - - - - - - MEDIA_DEVICE_STATE_NOT_PRESENT - - - - - - - MEDIA_DEVICE_STATE_UNPLUGGED - - - - - - - MEDIA_DEVICE_STATE_UNRECOMMENDED - - - - - - - EENUMCUSTOM_MEDIA_DEVICE_TYPE - - - - - - - UNKNOWN_AUDIO_DEVICE - - - - - - - AUDIO_PLAYOUT_DEVICE - - - - - - - AUDIO_RECORDING_DEVICE - - - - - - - VIDEO_RENDER_DEVICE - - - - - - - VIDEO_CAPTURE_DEVICE - - - - - - - AUDIO_APPLICATION_PLAYOUT_DEVICE - - - - - - - AUDIO_VIRTUAL_PLAYOUT_DEVICE - - - - - - - AUDIO_VIRTUAL_RECORDING_DEVICE - - - - - - - EENUMCUSTOM_MEDIA_PLAYER_ERROR - - - - - - - PLAYER_REASON_NONE - - - - - - - PLAYER_REASON_INVALID_ARGUMENTS - - - - - - - PLAYER_REASON_INTERNAL - - - - - - - PLAYER_REASON_NO_RESOURCE - - - - - - - PLAYER_REASON_INVALID_MEDIA_SOURCE - - - - - - - PLAYER_REASON_UNKNOWN_STREAM_TYPE - - - - - - - PLAYER_REASON_OBJ_NOT_INITIALIZED - - - - - - - PLAYER_REASON_CODEC_NOT_SUPPORTED - - - - - - - PLAYER_REASON_VIDEO_RENDER_FAILED - - - - - - - PLAYER_REASON_INVALID_STATE - - - - - - - PLAYER_REASON_URL_NOT_FOUND - - - - - - - PLAYER_REASON_INVALID_CONNECTION_STATE - - - - - - - PLAYER_REASON_SRC_BUFFER_UNDERFLOW - - - - - - - PLAYER_REASON_INTERRUPTED - - - - - - - PLAYER_REASON_NOT_SUPPORTED - - - - - - - PLAYER_REASON_TOKEN_EXPIRED - - - - - - - PLAYER_REASON_IP_EXPIRED - - - - - - - PLAYER_REASON_UNKNOWN - - - - - - - EMEDIA_PLAYER_EVENT - - - - - - - PLAYER_EVENT_SEEK_BEGIN - - - - - - - PLAYER_EVENT_SEEK_COMPLETE - - - - - - - PLAYER_EVENT_SEEK_ERROR - - - - - - - PLAYER_EVENT_AUDIO_TRACK_CHANGED - - - - - - - PLAYER_EVENT_BUFFER_LOW - - - - - - - PLAYER_EVENT_BUFFER_RECOVER - - - - - - - PLAYER_EVENT_FREEZE_START - - - - - - - PLAYER_EVENT_FREEZE_STOP - - - - - - - PLAYER_EVENT_SWITCH_BEGIN - - - - - - - PLAYER_EVENT_SWITCH_COMPLETE - - - - - - - PLAYER_EVENT_SWITCH_ERROR - - - - - - - PLAYER_EVENT_FIRST_DISPLAYED - - - - - - - PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT - - - - - - - PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE - - - - - - - EMEDIA_PLAYER_STATE - - - - - - - PLAYER_STATE_IDLE - - - - - - - PLAYER_STATE_OPENING - - - - - - - PLAYER_STATE_OPEN_COMPLETED - - - - - - - PLAYER_STATE_PLAYING - - - - - - - PLAYER_STATE_PAUSED - - - - - - - PLAYER_STATE_PLAYBACK_COMPLETED - - - - - - - PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED - - - - - - - PLAYER_STATE_STOPPED - - - - - - - PLAYER_STATE_FAILED - - - - - - - EMEDIA_SOURCE_TYPE - - - - - - - AUDIO_PLAYOUT_SOURCE - - - - - - - AUDIO_RECORDING_SOURCE - - - - - - - PRIMARY_CAMERA_SOURCE - - - - - - - SECONDARY_CAMERA_SOURCE - - - - - - - UNKNOWN_MEDIA_SOURCE - - - - - - - EMEDIA_TRACE_EVENT - - - - - - - MEDIA_TRACE_EVENT_VIDEO_RENDERED - - - - - - - MEDIA_TRACE_EVENT_VIDEO_DECODED - - - - - - - EMEDIA_STREAM_TYPE - - - - - - - STREAM_TYPE_UNKNOWN - - - - - - - STREAM_TYPE_SUBTITLE - - - - - - - EENUMCUSTOM_METADATA_TYPE - - - - - - - UNKNOWN_METADATA - - - - - - - VIDEO_METADATA - - - - - - - MUSIC_CACHE_STATUS_TYPE - - - - - - - MUSIC_CACHE_STATUS_TYPE_CACHED - - - - - - - MUSIC_CACHE_STATUS_TYPE_CACHING - - - - - - - MusicContentCenterStateReason - - - - - - - kMusicContentCenterReasonOk - - - - - - - kMusicContentCenterReasonError - - - - - - - kMusicContentCenterReasonGateway - - - - - - - kMusicContentCenterReasonPermissionAndResource - - - - - - - kMusicContentCenterReasonInternalDataParse - - - - - - - kMusicContentCenterReasonMusicLoading - - - - - - - kMusicContentCenterReasonMusicDecryption - - - - - - - EENUMCUSTOM_NETWORK_TYPE - - - - - - - NETWORK_TYPE_UNKNOWN - - - - - - - NETWORK_TYPE_DISCONNECTED - - - - - - - NETWORK_TYPE_LAN - - - - - - - NETWORK_TYPE_WIFI - - - - - - - NETWORK_TYPE_MOBILE_2G - - - - - - - NETWORK_TYPE_MOBILE_3G - - - - - - - NETWORK_TYPE_MOBILE_4G - - - - - - - NETWORK_TYPE_MOBILE_5G - - - - - - - EORIENTATION_MODE - - - - - - - ORIENTATION_MODE_ADAPTIVE - - - - - - - ORIENTATION_FIXED_LANDSCAPE - - - - - - - ORIENTATION_FIXED_PORTRAIT - - - - - - - PreloadState - - - - - - - kPreloadStateCompleted - - - - - - - kPreloadStateFailed - - - - - - - kPreloadStatePreloading - - - - - - - kPreloadStateRemoved - - - - - - - EPERMISSION_TYPE - - - - - - - RECORD_AUDIO - - - - - - - CAMERA - - - - - - - SCREEN_CAPTURE - - - - - - - EPLAYER_PRELOAD_EVENT - - - - - - - PLAYER_PRELOAD_EVENT_BEGIN - - - - - - - PLAYER_PRELOAD_EVENT_COMPLETE - - - - - - - PLAYER_PRELOAD_EVENT_ERROR - - - - - - - PRIORITY_TYPE - - - - - - - PRIORITY_HIGH - - - - - - - PRIORITY_NORMAL - - - - - - - EQUALITY_ADAPT_INDICATION - - - - - - - ADAPT_NONE - - - - - - - ADAPT_UP_BANDWIDTH - - - - - - - ADAPT_DOWN_BANDWIDTH - - - - - - - QUALITY_REPORT_FORMAT_TYPE - - - - - - - QUALITY_REPORT_JSON - - - - - - - QUALITY_REPORT_HTML - - - - - - - QUALITY_TYPE - - - - - - - QUALITY_UNKNOWN - - - - - - - QUALITY_EXCELLENT - - - - - - - QUALITY_GOOD - - - - - - - QUALITY_POOR - - - - - - - QUALITY_BAD - - - - - - - QUALITY_VBAD - - - - - - - QUALITY_DOWN - - - - - - - QUALITY_UNSUPPORTED - - - - - - - QUALITY_DETECTING - - - - - - - ERAW_AUDIO_FRAME_OP_MODE_TYPE - - - - - - - RAW_AUDIO_FRAME_OP_MODE_READ_ONLY - - - - - - - RAW_AUDIO_FRAME_OP_MODE_READ_WRITE - - - - - - - EREMOTE_AUDIO_STATE - - - - - - - REMOTE_AUDIO_STATE_STOPPED - - - - - - - REMOTE_AUDIO_STATE_STARTING - - - - - - - REMOTE_AUDIO_STATE_DECODING - - - - - - - REMOTE_AUDIO_STATE_FROZEN - - - - - - - REMOTE_AUDIO_STATE_FAILED - - - - - - - EREMOTE_VIDEO_STATE - - - - - - - REMOTE_VIDEO_STATE_STOPPED - - - - - - - REMOTE_VIDEO_STATE_STARTING - - - - - - - REMOTE_VIDEO_STATE_DECODING - - - - - - - REMOTE_VIDEO_STATE_FROZEN - - - - - - - REMOTE_VIDEO_STATE_FAILED - - - - - - - EREMOTE_AUDIO_STATE_REASON - - - - - - - REMOTE_AUDIO_REASON_INTERNAL - - - - - - - REMOTE_AUDIO_REASON_NETWORK_CONGESTION - - - - - - - REMOTE_AUDIO_REASON_NETWORK_RECOVERY - - - - - - - REMOTE_AUDIO_REASON_LOCAL_MUTED - - - - - - - REMOTE_AUDIO_REASON_LOCAL_UNMUTED - - - - - - - REMOTE_AUDIO_REASON_REMOTE_MUTED - - - - - - - REMOTE_AUDIO_REASON_REMOTE_UNMUTED - - - - - - - REMOTE_AUDIO_REASON_REMOTE_OFFLINE - - - - - - - EREMOTE_VIDEO_STATE_REASON - - - - - - - REMOTE_VIDEO_STATE_REASON_INTERNAL - - - - - - - REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION - - - - - - - REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY - - - - - - - REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED - - - - - - - REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE - - - - - - - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK - - - - - - - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY - - - - - - - REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND - - - - - - - REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT - - - - - - - EVIDEO_STREAM_TYPE - - - - - - - VIDEO_STREAM_HIGH - - - - - - - VIDEO_STREAM_LOW - - - - - - - FAdvancedAudioOptions - - - - - - - FAdvanceOptions - - - - - - - FAdvancedConfigInfo - - - - - - - FAgoraRhythmPlayerConfig - - - - - - - ERecorderReasonCode - - - - - - - RECORDER_REASON_NONE - - - - - - - RECORDER_ERROR_WRITE_FAILED - - - - - - - RECORDER_ERROR_NO_STREAM - - - - - - - RECORDER_ERROR_OVER_MAX_DURATION - - - - - - - RECORDER_ERROR_CONFIG_CHANGED - - - - - - - EENUMCUSTOM_RecorderState - - - - - - - RECORDER_STATE_ERROR - - - - - - - RECORDER_STATE_START - - - - - - - RECORDER_STATE_STOP - - - - - - - ERENDER_MODE_TYPE - - - - - - - RENDER_MODE_HIDDEN - - - - - - - RENDER_MODE_FIT - - - - - - - RENDER_MODE_ADAPTIVE - - - - - - - ERTMP_STREAM_PUBLISH_REASON - - - - - - - RTMP_STREAM_PUBLISH_REASON_OK - - - - - - - RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT - - - - - - - RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED - - - - - - - RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT - - - - - - - RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR - - - - - - - RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR - - - - - - - RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN - - - - - - - RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT - - - - - - - RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED - - - - - - - RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND - - - - - - - RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED - - - - - - - RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER - - - - - - - RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM - - - - - - - RTMP_STREAM_PUBLISH_REASON_NET_DOWN - - - - - - - RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE - - - - - - - RTMP_STREAM_UNPUBLISH_REASON_OK - - - - - - - ERTMP_STREAM_PUBLISH_STATE - - - - - - - RTMP_STREAM_PUBLISH_STATE_IDLE - - - - - - - RTMP_STREAM_PUBLISH_STATE_CONNECTING - - - - - - - RTMP_STREAM_PUBLISH_STATE_RUNNING - - - - - - - RTMP_STREAM_PUBLISH_STATE_RECOVERING - - - - - - - RTMP_STREAM_PUBLISH_STATE_FAILURE - - - - - - - RTMP_STREAM_PUBLISH_STATE_DISCONNECTING - - - - - - - ERTMP_STREAMING_EVENT - - - - - - - RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE - - - - - - - RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE - - - - - - - RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT - - - - - - - RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN - - - - - - - EENUMCUSTOM_RHYTHM_PLAYER_STATE_TYPE - - - - - - - RHYTHM_PLAYER_STATE_IDLE - - - - - - - RHYTHM_PLAYER_STATE_OPENING - - - - - - - RHYTHM_PLAYER_STATE_DECODING - - - - - - - RHYTHM_PLAYER_STATE_PLAYING - - - - - - - RHYTHM_PLAYER_STATE_FAILED - - - - - - - EENUMCUSTOM_RHYTHM_PLAYER_REASON - - - - - - - RHYTHM_PLAYER_REASON_OK - - - - - - - RHYTHM_PLAYER_REASON_FAILED - - - - - - - RHYTHM_PLAYER_REASON_CAN_NOT_OPEN - - - - - - - RHYTHM_PLAYER_REASON_CAN_NOT_PLAY - - - - - - - RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT - - - - - - - EENUMCUSTOM_SIMULCAST_STREAM_MODE - - - - - - - AUTO_SIMULCAST_STREAM - - - - - - - DISABLE_SIMULCAST_STREAM - - - - - - - ENABLE_SIMULCAST_STREAM - - - - - - - STREAM_FALLBACK_OPTIONS - - - - - - - STREAM_FALLBACK_OPTION_DISABLED - - - - - - - STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW - - - - - - - STREAM_FALLBACK_OPTION_AUDIO_ONLY - - - - - - - SAE_CONNECTION_STATE_TYPE - - - - - - - SAE_CONNECTION_STATE_CONNECTING - - - - - - - SAE_CONNECTION_STATE_CONNECTED - - - - - - - SAE_CONNECTION_STATE_DISCONNECTED - - - - - - - SAE_CONNECTION_STATE_RECONNECTING - - - - - - - SAE_CONNECTION_STATE_RECONNECTED - - - - - - - SAE_CONNECTION_CHANGED_REASON_TYPE - - - - - - - SAE_CONNECTION_CHANGED_DEFAULT - - - - - - - SAE_CONNECTION_CHANGED_CONNECTING - - - - - - - SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL - - - - - - - SAE_CONNECTION_CHANGED_RTM_DISCONNECT - - - - - - - SAE_CONNECTION_CHANGED_RTM_ABORTED - - - - - - - SAE_CONNECTION_CHANGED_LOST_SYNC - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS - - - - - - - SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS - - - - - - - EENUMCUSTOM_ScreenCaptureSourceType - - - - - - - ScreenCaptureSourceType_Unknown - - - - - - - ScreenCaptureSourceType_Window - - - - - - - ScreenCaptureSourceType_Screen - - - - - - - ScreenCaptureSourceType_Custom - - - - - - - ESEG_MODEL_TYPE - - - - - - - SEG_MODEL_AI - - - - - - - SEG_MODEL_GREEN - - - - - - - ESTREAM_PUBLISH_STATE - - - - - - - PUB_STATE_IDLE - - - - - - - PUB_STATE_NO_PUBLISHED - - - - - - - PUB_STATE_PUBLISHING - - - - - - - PUB_STATE_PUBLISHED - - - - - - - ESCREEN_SCENARIO_TYPE - - - - - - - SCREEN_SCENARIO_DOCUMENT - - - - - - - SCREEN_SCENARIO_GAMING - - - - - - - SCREEN_SCENARIO_VIDEO - - - - - - - SCREEN_SCENARIO_RDC - - - - - - - ESTREAM_SUBSCRIBE_STATE - - - - - - - SUB_STATE_IDLE - - - - - - - SUB_STATE_NO_SUBSCRIBED - - - - - - - SUB_STATE_SUBSCRIBING - - - - - - - SUB_STATE_SUBSCRIBED - - - - - - - EUSER_OFFLINE_REASON_TYPE - - - - - - - USER_OFFLINE_QUIT - - - - - - - USER_OFFLINE_DROPPED - - - - - - - USER_OFFLINE_BECOME_AUDIENCE - - - - - - - EVIDEO_APPLICATION_SCENARIO_TYPE - - - - - - - APPLICATION_SCENARIO_GENERAL - - - - - - - APPLICATION_SCENARIO_MEETING - - - - - - - EVIDEO_BUFFER_TYPE - - - - - - - VIDEO_BUFFER_RAW_DATA - - - - - - - VIDEO_BUFFER_ARRAY - - - - - - - VIDEO_BUFFER_TEXTURE - - - - - - - VIDEO_CAPTURE_TYPE - - - - - - - VIDEO_CAPTURE_UNKNOWN - - - - - - - VIDEO_CAPTURE_CAMERA - - - - - - - VIDEO_CAPTURE_SCREEN - - - - - - - EVIDEO_DENOISER_MODE - - - - - - - VIDEO_DENOISER_AUTO - - - - - - - VIDEO_DENOISER_MANUAL - - - - - - - EVIDEO_DENOISER_LEVEL - - - - - - - VIDEO_DENOISER_LEVEL_HIGH_QUALITY - - - - - - - VIDEO_DENOISER_LEVEL_FAST - - - - - - - VIDEO_DENOISER_LEVEL_STRENGTH - - - - - - - EVIDEO_SOURCE_TYPE - - - - - - - VIDEO_SOURCE_CAMERA_PRIMARY - - - - - - - VIDEO_SOURCE_CAMERA - - - - - - - VIDEO_SOURCE_CAMERA_SECONDARY - - - - - - - VIDEO_SOURCE_SCREEN_PRIMARY - - - - - - - VIDEO_SOURCE_SCREEN - - - - - - - VIDEO_SOURCE_SCREEN_SECONDARY - - - - - - - VIDEO_SOURCE_CUSTOM - - - - - - - VIDEO_SOURCE_MEDIA_PLAYER - - - - - - - VIDEO_SOURCE_RTC_IMAGE_PNG - - - - - - - VIDEO_SOURCE_RTC_IMAGE_JPEG - - - - - - - VIDEO_SOURCE_RTC_IMAGE_GIF - - - - - - - VIDEO_SOURCE_REMOTE - - - - - - - VIDEO_SOURCE_TRANSCODED - - - - - - - VIDEO_SOURCE_CAMERA_THIRD - - - - - - - VIDEO_SOURCE_CAMERA_FOURTH - - - - - - - VIDEO_SOURCE_SCREEN_THIRD - - - - - - - VIDEO_SOURCE_SCREEN_FOURTH - - - - - - - VIDEO_SOURCE_UNKNOWN - - - - - - - EVIDEO_CODEC_PROFILE_TYPE - - - - - - - VIDEO_CODEC_PROFILE_BASELINE - - - - - - - VIDEO_CODEC_PROFILE_MAIN - - - - - - - VIDEO_CODEC_PROFILE_HIGH - - - - - - - EVIDEO_CODEC_TYPE - - - - - - - VIDEO_CODEC_VP8 - - - - - - - VIDEO_CODEC_H264 - - - - - - - VIDEO_CODEC_H265 - - - - - - - VIDEO_CODEC_VP9 - - - - - - - VIDEO_CODEC_GENERIC - - - - - - - VIDEO_CODEC_GENERIC_H264 - - - - - - - VIDEO_CODEC_GENERIC_JPEG - - - - - - - EVIDEO_CODEC_TYPE_FOR_STREAM - - - - - - - VIDEO_CODEC_H264_FOR_STREAM - - - - - - - VIDEO_CODEC_H265_FOR_STREAM - - - - - - - EVIDEO_CONTENT_HINT - - - - - - - CONTENT_HINT_NONE - - - - - - - CONTENT_HINT_MOTION - - - - - - - CONTENT_HINT_DETAILS - - - - - - - VIDEO_FRAME_PROCESS_MODE - - - - - - - PROCESS_MODE_READ_ONLY - - - - - - - PROCESS_MODE_READ_WRITE - - - - - - - EVIDEO_FRAME_TYPE - - - - - - - VIDEO_FRAME_TYPE_BLANK_FRAME - - - - - - - VIDEO_FRAME_TYPE_KEY_FRAME - - - - - - - VIDEO_FRAME_TYPE_DELTA_FRAME - - - - - - - VIDEO_FRAME_TYPE_B_FRAME - - - - - - - VIDEO_FRAME_TYPE_DROPPABLE_FRAME - - - - - - - VIDEO_FRAME_TYPE_UNKNOW - - - - - - - EVIDEO_MIRROR_MODE_TYPE - - - - - - - VIDEO_MIRROR_MODE_AUTO - - - - - - - VIDEO_MIRROR_MODE_ENABLED - - - - - - - VIDEO_MIRROR_MODE_DISABLED - - - - - - - VIDEO_MODULE_POSITION - - - - - - - POSITION_POST_CAPTURER - - - - - - - POSITION_PRE_RENDERER - - - - - - - POSITION_PRE_ENCODER - - - - - - - EENUMCUSTOM_VIDEO_ORIENTATION - - - - - - - VIDEO_ORIENTATION_0 - - - - - - - VIDEO_ORIENTATION_90 - - - - - - - VIDEO_ORIENTATION_180 - - - - - - - VIDEO_ORIENTATION_270 - - - - - - - EVIDEO_PIXEL_FORMAT - - - - - - - VIDEO_PIXEL_DEFAULT - - - - - - - VIDEO_PIXEL_I420 - - - - - - - VIDEO_PIXEL_BGRA - - - - - - - VIDEO_PIXEL_NV21 - - - - - - - VIDEO_PIXEL_RGBA - - - - - - - VIDEO_PIXEL_IMC2 - - - - - - - VIDEO_PIXEL_ARGB - - - - - - - VIDEO_PIXEL_NV12 - - - - - - - VIDEO_PIXEL_I422 - - - - - - - VIDEO_TEXTURE_2D - - - - - - - VIDEO_TEXTURE_OES - - - - - - - EVIDEO_VIEW_SETUP_MODE - - - - + + + + EncodedVideoFrameInfo + + + + + + + EncryptionConfig + + + + + + + ExtensionContext + + + + + + + ExternalVideoFrame + + + + + + + FocalLengthInfo + + + + + + + IDirectCdnStreamingEventHandler + + + + + + + ImageTrackOptions + + + + + + + InjectStreamConfig + + + + + + + LastmileProbeConfig + + + + + + + LastmileProbeOneWayResult + + + + + + + LastmileProbeResult + + + + + + + LeaveChannelOptions + + + + + + + LiveTranscoding + + + + + + + LiveStreamAdvancedFeature + + + + + + + LocalAccessPointConfiguration + + + + + + + LocalAudioStats + + + + + + + LocalSpatialAudioConfig + + + + + + + LocalTranscoderConfiguration + + + + + + + LocalVideoStats + + + + + + + LogConfig + + + + + + + LogUploadServerInfo + + + + + + + MediaRecorderConfiguration + + + + + + + MediaSource + + + + + + + LowlightEnhanceOptions + + + + + + + Metadata + + + + + + + Music + + + + + + + MusicCacheInfo + + + + + + + MusicChartInfo + + + + + + + MusicCollection + + + + + + + MusicChartCollection + + + + + + + MusicContentCenterConfiguration + + + + + + + MvProperty + + + + + + + Packet + + + + + + + PlayerPlaybackStats + + + + + + + PlayerStreamInfo + + + + + + + PlayerUpdatedInfo + + + + + + + RecorderInfo + + + + + + + RecorderStreamInfo + + + + + + + Rect + + + + + + + Rectangle + + + + + + + RemoteAudioStats + + + + + + + RemoteVideoStats + + + + + + + RemoteVoicePositionInfo + + + + + + + RtcConnection + + + + + + + RtcEngineContext + + + + + + + RtcImage + + + + + + + RtcStats + + + + + + + ScreenCaptureConfiguration + + + + + + + ScreenCaptureParameters + + + + + + + ScreenCaptureParameters2 + + + + + + + ScreenAudioParameters + + + + + + + ScreenVideoParameters + + + + + + + ScreenCaptureSourceInfo + + + + + + + SegmentationProperty + + + + + + + SimulcastStreamConfig + + + + + + + SIZE + + + + + + + SpatialAudioParams + + + + + + + SpatialAudioZone + + + + + + + SrcInfo + + + + + + + ThumbImageBuffer + + + + + + + TranscodingUser + + + + + + + TranscodingVideoStream + + + + + + + UplinkNetworkInfo + + + + + + + UserAudioSpectrumInfo + + + + + + + UserInfo + + + + + + + VideoCanvas + + + + + + + VideoDenoiserOptions + + + + + + + VideoDimensions + + + + + + + VideoEncoderConfiguration + + + + + + + VideoFormat + + + + + + + VideoFrame + + + + + + + VideoLayout + + + + + + + VideoRenderingTracingInfo + + + + + + + VideoSubscriptionOptions + + + + + + + VirtualBackgroundSource + + + + + + + WatermarkOptions + + + + + + + WatermarkRatio + + + + + + + WATERMARK_FIT_MODE + + + + + + + FIT_MODE_COVER_POSITION + + + + + + + FIT_MODE_USE_IMAGE_RATIO + + + + + + + + + ALPHA_STITCH_MODE + + + + + + + NO_ALPHA_STITCH + + + + + + + ALPHA_STITCH_UP + + + + + + + ALPHA_STITCH_BELOW + + + + + + + ALPHA_STITCH_LEFT + + + + + + + ALPHA_STITCH_RIGHT + + + + + + + AREA_CODE + + + + + + + AREA_CODE_CN + + + + + + + AREA_CODE_NA + + + + + + + AREA_CODE_EU + + + + + + + AREA_CODE_AS + + + + + + + AREA_CODE_JP + + + + + + + AREA_CODE_IN + + + + + + + AREA_CODE_GLOB + + + + + + + AUDIENCE_LATENCY_LEVEL_TYPE + + + + + + + AUDIENCE_LATENCY_LEVEL_LOW_LATENCY + + + + + + + AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY + + + + + + + AUDIO_AINS_MODE + + + + + + + AINS_MODE_BALANCED + + + + + + + AINS_MODE_AGGRESSIVE + + + + + + + AINS_MODE_ULTRALOWLATENCY + + + + + + + AUDIO_CODEC_PROFILE_TYPE + + + + + + + AUDIO_CODEC_PROFILE_LC_AAC + + + + + + + AUDIO_CODEC_PROFILE_HE_AAC + + + + + + + HE_AAC_V2 + + + + + + + AUDIO_CODEC_TYPE + + + + + + + AUDIO_CODEC_OPUS + + + + + + + AUDIO_CODEC_PCMA + + + + + + + AUDIO_CODEC_PCMU + + + + + + + AUDIO_CODEC_G722 + + + + + + + AUDIO_CODEC_AACLC + + + + + + + AUDIO_CODEC_HEAAC + + + + + + + AUDIO_CODEC_JC1 + + + + + + + AUDIO_CODEC_HEAAC2 + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + + + + + + + AUDIO_ENCODING_TYPE + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + + + + + + + AUDIO_EFFECT_PRESET + + + + + + + AUDIO_EFFECT_OFF + + + + + + + BACKGROUND_BLUR_DEGREE + + + + + + + BLUR_DEGREE_LOW + + + + + + + BLUR_DEGREE_MEDIUM + + + + + + + BLUR_DEGREE_HIGH + + + + + + + BACKGROUND_SOURCE_TYPE + + + + + + + BACKGROUND_NONE + + + + + + + BACKGROUND_COLOR + + + + + + + BACKGROUND_IMG + + + + + + + BACKGROUND_BLUR + + + + + + + BACKGROUND_VIDEO + + + + + + + SAE_DEPLOY_REGION + + + + + + + SAE_DEPLOY_REGION_CN + + + + + + + SAE_DEPLOY_REGION_NA + + + + + + + SAE_DEPLOY_REGION_EU + + + + + + + SAE_DEPLOY_REGION_AS + + + + + + + CAMERA_STABILIZATION_MODE + + + + + + + CAMERA_STABILIZATION_MODE_OFF + + + + + + + CAMERA_STABILIZATION_MODE_AUTO + + + + + + + CAMERA_STABILIZATION_MODE_LEVEL_1 + + + + + + + CAMERA_STABILIZATION_MODE_LEVEL_2 + + + + + + + CAMERA_STABILIZATION_MODE_LEVEL_3 + + + + + + + CODEC_CAP_MASK + + + + + + + CODEC_CAP_MASK_NONE + + + + + + + CODEC_CAP_MASK_HW_DEC + + + + + + + CODEC_CAP_MASK_HW_ENC + + + + + + + CODEC_CAP_MASK_SW_DEC + + + + + + + CODEC_CAP_MASK_SW_ENC + + + + + + + CONTENT_INSPECT_DEVICE_TYPE + + + + + + + CONTENT_INSPECT_DEVICE_INVALID + + + + + + + CONTENT_INSPECT_DEVICE_AGORA + + + + + + + CONTENT_INSPECT_DEVICE_HIVE + + + + + + + CONTENT_INSPECT_DEVICE_TUPU + + + + + + + ContentInspectResult + + + + + + + CONTENT_INSPECT_NEUTRAL + + + + + + + CONTENT_INSPECT_SEXY + + + + + + + CONTENT_INSPECT_PORN + + + + + + + CONTENT_INSPECT_TYPE + + + + + + + CONTENT_INSPECT_INVALID + + + + + + + CONTENT_INSPECT_MODERATION + + + + + + + CONTENT_INSPECT_SUPERVISION + + + + + + + CONTENT_INSPECT_IMAGE_MODERATION + + + + + + + COMPRESSION_PREFERENCE + + + + + + + PREFER_LOW_LATENCY + + + + + + + PREFER_QUALITY + + + + + + + EAR_MONITORING_FILTER_TYPE + + + + + + + EAR_MONITORING_FILTER_NONE + + + + + + + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + + + + + + + EAR_MONITORING_FILTER_NOISE_SUPPRESSION + + + + + + + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + + + + + + + EXTERNAL_VIDEO_SOURCE_TYPE + + + + + + + VIDEO_FRAME + + + + + + + ENCODED_VIDEO_FRAME + + + + + + + ROOM_ACOUSTICS_KTV + + + + + + + ROOM_ACOUSTICS_VOCAL_CONCERT + + + + + + + ROOM_ACOUSTICS_STUDIO + + + + + + + ROOM_ACOUSTICS_PHONOGRAPH + + + + + + + ROOM_ACOUSTICS_VIRTUAL_STEREO + + + + + + + ROOM_ACOUSTICS_SPACIAL + + + + + + + ROOM_ACOUSTICS_ETHEREAL + + + + + + + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + + + + + + + ROOM_ACOUSTICS_CHORUS + + + + + + + ROOM_ACOUSTICS_3D_VOICE + + + + + + + VOICE_CHANGER_EFFECT_UNCLE + + + + + + + VOICE_CHANGER_EFFECT_OLDMAN + + + + + + + VOICE_CHANGER_EFFECT_BOY + + + + + + + VOICE_CHANGER_EFFECT_SISTER + + + + + + + VOICE_CHANGER_EFFECT_GIRL + + + + + + + VOICE_CHANGER_EFFECT_PIGKING + + + + + + + VOICE_CHANGER_EFFECT_HULK + + + + + + + STYLE_TRANSFORMATION_RNB + + + + + + + STYLE_TRANSFORMATION_POPULAR + + + + + + + PITCH_CORRECTION + + + + + + + ENCODING_PREFERENCE + + + + + + + PREFER_AUTO + + + + + + + PREFER_SOFTWARE + + + + + + + PREFER_HARDWARE + + + + + + + AUDIO_EQUALIZATION_BAND_FREQUENCY + + + + + + + AUDIO_EQUALIZATION_BAND_31 + + + + + + + AUDIO_EQUALIZATION_BAND_62 + + + + + + + AUDIO_EQUALIZATION_BAND_125 + + + + + + + AUDIO_EQUALIZATION_BAND_250 + + + + + + + AUDIO_EQUALIZATION_BAND_500 + + + + + + + AUDIO_EQUALIZATION_BAND_1K + + + + + + + AUDIO_EQUALIZATION_BAND_2K + + + + + + + AUDIO_EQUALIZATION_BAND_4K + + + + + + + AUDIO_EQUALIZATION_BAND_8K + + + + + + + AUDIO_EQUALIZATION_BAND_16K + + + + + + + AUDIO_FRAME_TYPE + + + + + + + FRAME_TYPE_PCM16 + + + + + + + AUDIO_FRAME_POSITION_PLAYBACK + + + + + + + AUDIO_FRAME_POSITION_RECORD + + + + + + + AUDIO_FRAME_POSITION_MIXED + + + + + + + AUDIO_FRAME_POSITION_BEFORE_MIXING + + + + + + + AUDIO_FRAME_POSITION_EAR_MONITORING + + + + + + + AUDIO_DUAL_MONO_MODE + + + + + + + AUDIO_DUAL_MONO_STEREO + + + + + + + AUDIO_DUAL_MONO_L + + + + + + + AUDIO_DUAL_MONO_R + + + + + + + AUDIO_DUAL_MONO_MIX + + + + + + + AUDIO_MIXING_DUAL_MONO_MODE + + + + + + + AUDIO_MIXING_DUAL_MONO_AUTO + + + + + + + AUDIO_MIXING_DUAL_MONO_L + + + + + + + AUDIO_MIXING_DUAL_MONO_R + + + + + + + AUDIO_MIXING_DUAL_MONO_MIX + + + + + + + AUDIO_MIXING_REASON_TYPE + + + + + + + AUDIO_MIXING_REASON_OK + + + + + + + AUDIO_MIXING_REASON_CAN_NOT_OPEN + + + + + + + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + + + + + + + AUDIO_MIXING_REASON_INTERRUPTED_EOF + + + + + + + AUDIO_MIXING_REASON_STARTED_BY_USER + + + + + + + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + + + + + + + AUDIO_MIXING_REASON_START_NEW_LOOP + + + + + + + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_MIXING_REASON_STOPPED_BY_USER + + + + + + + AUDIO_MIXING_REASON_PAUSED_BY_USER + + + + + + + AUDIO_MIXING_REASON_RESUMED_BY_USER + + + + + + + AUDIO_MIXING_STATE_TYPE + + + + + + + AUDIO_MIXING_STATE_PLAYING + + + + + + + AUDIO_MIXING_STATE_PAUSED + + + + + + + AUDIO_MIXING_STATE_STOPPED + + + + + + + AUDIO_MIXING_STATE_FAILED + + + + + + + AUDIO_MIXING_STATE_COMPLETED + + + + + + + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_PROCESSING_CHANNELS + + + + + + + AUDIO_PROCESSING_MONO + + + + + + + AUDIO_PROCESSING_STEREO + + + + + + + AUDIO_PROFILE_TYPE + + + + + + + AUDIO_PROFILE_DEFAULT + + + + + + + AUDIO_PROFILE_SPEECH_STANDARD + + + + + + + AUDIO_PROFILE_MUSIC_STANDARD + + + + + + + AUDIO_PROFILE_MUSIC_STANDARD_STEREO + + + + + + + AUDIO_PROFILE_MUSIC_HIGH_QUALITY + + + + + + + AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO + + + + + + + AUDIO_PROFILE_IOT + + + + + + + AUDIO_PROFILE_NUM + + + + + + + AUDIO_RANGE_MODE_TYPE + + + + + + + AUDIO_RANGE_MODE_WORLD + + + + + + + AUDIO_RANGE_MODE_TEAM + + + + + + + AUDIO_FILE_RECORDING_TYPE + + + + + + + AUDIO_FILE_RECORDING_MIC + + + + + + + AUDIO_FILE_RECORDING_PLAYBACK + + + + + + + AUDIO_FILE_RECORDING_MIXED + + + + + + + AUDIO_RECORDING_QUALITY_TYPE + + + + + + + AUDIO_RECORDING_QUALITY_LOW + + + + + + + AUDIO_RECORDING_QUALITY_MEDIUM + + + + + + + AUDIO_RECORDING_QUALITY_HIGH + + + + + + + AUDIO_RECORDING_QUALITY_ULTRA_HIGH + + + + + + + AUDIO_REVERB_PRESET + + + + + + + AUDIO_REVERB_OFF + + + + + + + AUDIO_REVERB_FX_KTV + + + + + + + AUDIO_REVERB_FX_VOCAL_CONCERT + + + + + + + AUDIO_REVERB_FX_UNCLE + + + + + + + AUDIO_REVERB_FX_SISTER + + + + + + + AUDIO_REVERB_FX_STUDIO + + + + + + + AUDIO_REVERB_FX_POPULAR + + + + + + + AUDIO_REVERB_FX_RNB + + + + + + + AUDIO_REVERB_FX_PHONOGRAPH + + + + + + + AUDIO_REVERB_POPULAR + + + + + + + AUDIO_REVERB_RNB + + + + + + + AUDIO_REVERB_ROCK + + + + + + + AUDIO_REVERB_HIPHOP + + + + + + + AUDIO_REVERB_VOCAL_CONCERT + + + + + + + AUDIO_REVERB_KTV + + + + + + + AUDIO_REVERB_STUDIO + + + + + + + AUDIO_VIRTUAL_STEREO + + + + + + + AUDIO_ELECTRONIC_VOICE + + + + + + + AUDIO_THREEDIM_VOICE + + + + + + + AUDIO_REVERB_TYPE + + + + + + + AUDIO_REVERB_DRY_LEVEL + + + + + + + AUDIO_REVERB_WET_LEVEL + + + + + + + AUDIO_REVERB_ROOM_SIZE + + + + + + + AUDIO_REVERB_WET_DELAY + + + + + + + AUDIO_REVERB_STRENGTH + + + + + + + AudioRoute + + + + + + + ROUTE_DEFAULT + + + + + + + ROUTE_HEADSET + + + + + + + ROUTE_EARPIECE + + + + + + + ROUTE_HEADSETNOMIC + + + + + + + ROUTE_SPEAKERPHONE + + + + + + + ROUTE_LOUDSPEAKER + + + + + + + ROUTE_BLUETOOTH_DEVICE_HFP + + + + + + + ROUTE_USB + + + + + + + ROUTE_HDMI + + + + + + + ROUTE_DISPLAYPORT + + + + + + + ROUTE_AIRPLAY + + + + + + + ROUTE_BLUETOOTH_DEVICE_A2DP + + + + + + + AUDIO_SAMPLE_RATE_TYPE + + + + + + + AUDIO_SAMPLE_RATE_32000 + + + + + + + AUDIO_SAMPLE_RATE_44100 + + + + + + + AUDIO_SAMPLE_RATE_48000 + + + + + + + AUDIO_SCENARIO_TYPE + + + + + + + AUDIO_SCENARIO_DEFAULT + + + + + + + AUDIO_SCENARIO_CHATROOM + + + + + + + AUDIO_SCENARIO_GAME_STREAMING + + + + + + + AUDIO_SCENARIO_CHORUS + + + + + + + AUDIO_SCENARIO_MEETING + + + + + + + AUDIO_SCENARIO_NUM + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_NONE + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION + + + + + + + AUDIO_SESSION_OPERATION_RESTRICTION_ALL + + + + - VIDEO_VIEW_SETUP_REPLACE + AUDIO_TRACK_TYPE - + - VIDEO_VIEW_SETUP_ADD + AUDIO_TRACK_MIXABLE - + - VIDEO_VIEW_SETUP_REMOVE + AUDIO_TRACK_DIRECT - + + + + CONNECTION_STATE_TYPE + + + + + + + CONNECTION_STATE_DISCONNECTED + + + + + + + CONNECTION_STATE_CONNECTING + + + + + + + CONNECTION_STATE_CONNECTED + + + + + + + CONNECTION_STATE_RECONNECTING + + + + + + + CONNECTION_STATE_FAILED + + + + + + + CONNECTION_CHANGED_REASON_TYPE + + + + + + + CONNECTION_CHANGED_CONNECTING + + + + + + + CONNECTION_CHANGED_JOIN_SUCCESS + + + + + + + CONNECTION_CHANGED_REJOIN_SUCCESS + + + + + + + CONNECTION_CHANGED_LOST + + + + + + + CONNECTION_CHANGED_ECHO_TEST + + + + + + + CONNECTION_CHANGED_INTERRUPTED + + + + + + + CONNECTION_CHANGED_BANNED_BY_SERVER + + + + + + + CONNECTION_CHANGED_JOIN_FAILED + + + + + + + CONNECTION_CHANGED_LEAVE_CHANNEL + + + + + + + CONNECTION_CHANGED_INVALID_APP_ID + + + + + + + CONNECTION_CHANGED_INVALID_CHANNEL_NAME + + + + + + + CONNECTION_CHANGED_INVALID_TOKEN + + + + + + + CONNECTION_CHANGED_TOKEN_EXPIRED + + + + + + + CONNECTION_CHANGED_REJECTED_BY_SERVER + + + + + + + CONNECTION_CHANGED_SETTING_PROXY_SERVER + + + + + + + CONNECTION_CHANGED_RENEW_TOKEN + + + + + + + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED + + + + + + + CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT + + + + + + + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER + + + + + + + CONNECTION_CHANGED_SAME_UID_LOGIN + + + + + + + CONNECTION_CHANGED_TOO_MANY_BROADCASTERS + + + + + + + CAMERA_DIRECTION + + + + + + + CAMERA_REAR + + + + + + + CAMERA_FRONT + + + + + + + CAMERA_FOCAL_LENGTH_TYPE + + + + + + + CAMERA_FOCAL_LENGTH_DEFAULT + + + + + + + CAMERA_FOCAL_LENGTH_WIDE_ANGLE + + + + + + + CAMERA_FOCAL_LENGTH_ULTRA_WIDE + + + + + + + CAMERA_FOCAL_LENGTH_TELEPHOTO + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_TYPE + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_INVALID + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_NORMAL + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_DARK + + + + + + + CAPTURER_OUTPUT_PREFERENCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_AUTO + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PREVIEW + + + + + + + CAPTURER_OUTPUT_PREFERENCE_MANUAL + + + + + + + CHANNEL_MEDIA_RELAY_ERROR + + + + + + + RELAY_OK + + + + + + + RELAY_ERROR_SERVER_ERROR_RESPONSE + + + + + + + RELAY_ERROR_SERVER_NO_RESPONSE + + + + + + + RELAY_ERROR_NO_RESOURCE_AVAILABLE + + + + + + + RELAY_ERROR_FAILED_JOIN_SRC + + + + + + + RELAY_ERROR_FAILED_JOIN_DEST + + + + + + + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + + + + + + + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + + + + + + + RELAY_ERROR_SERVER_CONNECTION_LOST + + + + + + + RELAY_ERROR_INTERNAL_ERROR + + + + + + + RELAY_ERROR_SRC_TOKEN_EXPIRED + + + + + + + RELAY_ERROR_DEST_TOKEN_EXPIRED + + + + + + + CHANNEL_MEDIA_RELAY_STATE + + + + + + + RELAY_STATE_IDLE + + + + + + + RELAY_STATE_CONNECTING + + + + + + + RELAY_STATE_RUNNING + + + + + + + RELAY_STATE_FAILURE + + + + + + + CHANNEL_PROFILE_TYPE + + + + + + + CHANNEL_PROFILE_COMMUNICATION + + + + + + + CHANNEL_PROFILE_LIVE_BROADCASTING + + + + + + + CHANNEL_PROFILE_GAME + + + + + + + CHANNEL_PROFILE_CLOUD_GAMING + + + + + + + CLIENT_ROLE_TYPE + + + + + + + CLIENT_ROLE_BROADCASTER + + + + + + + CLIENT_ROLE_AUDIENCE + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REASON + + + + + + + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + + + + + + + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + + + + + + + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + + + + + + + CLOUD_PROXY_TYPE + + + + + + + NONE_PROXY + + + + + + + UDP_PROXY + + + + + + + TCP_PROXY + + + + + + + PROXY_TYPE + + + + + + + NONE_PROXY_TYPE + + + + + + + UDP_PROXY_TYPE + + + + + + + TCP_PROXY_TYPE + + + + + + + LOCAL_PROXY_TYPE + + + + + + + TCP_PROXY_AUTO_FALLBACK_TYPE + + + + + + + DEGRADATION_PREFERENCE + + + + + + + MAINTAIN_QUALITY + + + + + + + MAINTAIN_FRAMERATE + + + + + + + MAINTAIN_BALANCED + + + + + + + MAINTAIN_RESOLUTION + + + + + + + DIRECT_CDN_STREAMING_REASON + + + + + + + DIRECT_CDN_STREAMING_REASON_OK + + + + + + + DIRECT_CDN_STREAMING_REASON_FAILED + + + + + + + DIRECT_CDN_STREAMING_REASON_AUDIO_PUBLICATION + + + + + + + DIRECT_CDN_STREAMING_REASON_VIDEO_PUBLICATION + + + + + + + DIRECT_CDN_STREAMING_REASON_NET_CONNECT + + + + + + + DIRECT_CDN_STREAMING_REASON_BAD_NAME + + + + + + + DIRECT_CDN_STREAMING_STATE + + + + + + + DIRECT_CDN_STREAMING_STATE_IDLE + + + + + + + DIRECT_CDN_STREAMING_STATE_RUNNING + + + + + + + DIRECT_CDN_STREAMING_STATE_STOPPED + + + + + + + DIRECT_CDN_STREAMING_STATE_FAILED + + + + + + + DIRECT_CDN_STREAMING_STATE_RECOVERING + + + + + + + ENCRYPTION_ERROR_TYPE + + + + + + + ENCRYPTION_ERROR_INTERNAL_FAILURE + + + + + + + ENCRYPTION_ERROR_DECRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_ENCRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE + + + + + + + ERROR_CODE_TYPE + + + + + + + ERR_OK + + + + + + + ERR_FAILED + + + + + + + ERR_INVALID_ARGUMENT + + + + + + + ERR_NOT_READY + + + + + + + ERR_NOT_SUPPORTED + + + + + + + ERR_REFUSED + + + + + + + ERR_BUFFER_TOO_SMALL + + + + + + + ERR_NOT_INITIALIZED + + + + + + + ERR_INVALID_STATE + + + + + + + ERR_NO_PERMISSION + + + + + + + ERR_TIMEDOUT + + + + + + + ERR_JOIN_CHANNEL_REJECTED + + + + + + + ERR_LEAVE_CHANNEL_REJECTED + + + + + + + ERR_ALREADY_IN_USE + + + + + + + ERR_ABORTED + + + + + + + ERR_INIT_NET_ENGINE + + + + + + + ERR_RESOURCE_LIMITED + + + + + + + ERR_INVALID_APP_ID + + + + + + + ERR_INVALID_CHANNEL_NAME + + + + + + + ERR_NO_SERVER_RESOURCES + + + + + + + ERR_TOKEN_EXPIRED + + + + + + + ERR_INVALID_TOKEN + + + + + + + ERR_CONNECTION_INTERRUPTED + + + + + + + ERR_CONNECTION_LOST + + + + + + + ERR_NOT_IN_CHANNEL + + + + + + + ERR_SIZE_TOO_LARGE + + + + + + + ERR_BITRATE_LIMIT + + + + + + + ERR_TOO_MANY_DATA_STREAMS + + + + + + + ERR_STREAM_MESSAGE_TIMEOUT + + + + + + + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + + + + + + + ERR_DECRYPTION_FAILED + + + + + + + ERR_INVALID_USER_ID + + + + + + + ERR_CLIENT_IS_BANNED_BY_SERVER + + + + + + + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + + + + + + + ERR_LICENSE_CREDENTIAL_INVALID + + + + + + + ERR_INVALID_USER_ACCOUNT + + + + + + + ERR_MODULE_NOT_FOUND + + + + + + + ERR_LOAD_MEDIA_ENGINE + + + + + + + ERR_ADM_GENERAL_ERROR + + + + + + + ERR_ADM_INIT_PLAYOUT + + + + + + + ERR_ADM_START_PLAYOUT + + + + + + + ERR_ADM_STOP_PLAYOUT + + + + + + + ERR_ADM_INIT_RECORDING + + + + + + + ERR_ADM_START_RECORDING + + + + + + + ERR_ADM_STOP_RECORDING + + + + + + + ERR_VDM_CAMERA_NOT_AUTHORIZED + + + + + + + ERR_DATASTREAM_DECRYPTION_FAILED + + + + + + + ENCRYPTION_MODE + + + + + + + AES_128_XTS + + + + + + + AES_128_ECB + + + + + + + AES_256_XTS + + + + + + + SM4_128_ECB + + + + + + + AES_128_GCM + + + + + + + AES_256_GCM + + + + + + + AES_128_GCM2 + + + + + + + AES_256_GCM2 + + + + + + + MODE_END + + + + + + + EXPERIENCE_POOR_REASON + + + + + + + EXPERIENCE_REASON_NONE + + + + + + + REMOTE_NETWORK_QUALITY_POOR + + + + + + + LOCAL_NETWORK_QUALITY_POOR + + + + + + + WIRELESS_SIGNAL_POOR + + + + + + + WIFI_BLUETOOTH_COEXIST + + + + + + + EXPERIENCE_QUALITY_TYPE + + + + + + + EXPERIENCE_QUALITY_GOOD + + + + + + + EXPERIENCE_QUALITY_BAD + + + + + + + FeatureType + + + + + + + VIDEO_VIRTUAL_BACKGROUND + + + + + + + VIDEO_BEAUTY_EFFECT + + + + + + + FRAME_RATE + + + + + + + FRAME_RATE_FPS_1 + + + + + + + FRAME_RATE_FPS_7 + + + + + + + FRAME_RATE_FPS_10 + + + + + + + FRAME_RATE_FPS_15 + + + + + + + FRAME_RATE_FPS_24 + + + + + + + FRAME_RATE_FPS_30 + + + + + + + FRAME_RATE_FPS_60 + + + + + + + HEADPHONE_EQUALIZER_PRESET + + + + + + + HEADPHONE_EQUALIZER_OFF + + + + + + + HEADPHONE_EQUALIZER_OVEREAR + + + + + + + HEADPHONE_EQUALIZER_INEAR + + + + + + + MediaRecorderContainerFormat + + + + + + + FORMAT_MP4 + + + + + + + MediaRecorderStreamType + + + + + + + STREAM_TYPE_AUDIO + + + + + + + STREAM_TYPE_VIDEO + + + + + + + STREAM_TYPE_BOTH + + + + + + + LASTMILE_PROBE_RESULT_STATE + + + + + + + LASTMILE_PROBE_RESULT_COMPLETE + + + + + + + LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE + + + + + + + LASTMILE_PROBE_RESULT_UNAVAILABLE + + + + + + + LIGHTENING_CONTRAST_LEVEL + + + + + + + LIGHTENING_CONTRAST_LOW + + + + + + + LIGHTENING_CONTRAST_NORMAL + + + + + + + LIGHTENING_CONTRAST_HIGH + + + + + + + LOCAL_AUDIO_STREAM_REASON + + + + + + + LOCAL_AUDIO_STREAM_REASON_OK + + + + + + + LOCAL_AUDIO_STREAM_REASON_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE + + + + + + + LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE + + + + + + + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + + + + + + + LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID + + + + + + + LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID + + + + + + + LOCAL_AUDIO_STREAM_STATE + + + + + + + LOCAL_AUDIO_STREAM_STATE_STOPPED + + + + + + + LOCAL_AUDIO_STREAM_STATE_RECORDING + + + + + + + LOCAL_AUDIO_STREAM_STATE_ENCODING + + + + + + + LOCAL_AUDIO_STREAM_STATE_FAILED + + + + + + + LOCAL_PROXY_MODE + + + + + + + ConnectivityFirst + + + + + + + LocalOnly + + + + + + + LOCAL_VIDEO_STREAM_REASON + + + + + + + LOCAL_VIDEO_STREAM_REASON_OK + + + + + + + LOCAL_VIDEO_STREAM_REASON_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED + + + + + + + LOCAL_VIDEO_STREAM_STATE + + + + + + + LOCAL_VIDEO_STREAM_STATE_STOPPED + + + + + + + LOCAL_VIDEO_STREAM_STATE_CAPTURING + + + + + + + LOCAL_VIDEO_STREAM_STATE_ENCODING + + + + + + + LOCAL_VIDEO_STREAM_STATE_FAILED + + + + + + + ERR_SCREEN_CAPTURE_PERMISSION_DENIED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + + + + + + + LOG_FILTER_TYPE + + + + + + + LOG_FILTER_OFF + + + + + + + LOG_FILTER_DEBUG + + + + + + + LOG_FILTER_INFO + + + + + + + LOG_FILTER_WARN + + + + + + + LOG_FILTER_ERROR + + + + + + + LOG_FILTER_CRITICAL + + + + + + + LOG_LEVEL + + + + + + + LOG_LEVEL_NONE + + + + + + + LOG_LEVEL_INFO + + + + + + + LOG_LEVEL_WARN + + + + + + + LOG_LEVEL_ERROR + + + + + + + LOG_LEVEL_FATAL + + + + + + + LOW_LIGHT_ENHANCE_MODE + + + + + + + LOW_LIGHT_ENHANCE_AUTO + + + + + + + LOW_LIGHT_ENHANCE_MANUAL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_FAST + + + + + + + MAX_CHANNEL_ID_LENGTH_TYPE + + + + + + + MAX_CHANNEL_ID_LENGTH + + + + + + + MAX_DEVICE_ID_LENGTH_TYPE + + + + + + + MAX_DEVICE_ID_LENGTH + + + + + + + MAX_USER_ACCOUNT_LENGTH_TYPE + + + + + + + MAX_USER_ACCOUNT_LENGTH + + + + + + + MEDIA_DEVICE_STATE_TYPE + + + + + + + MEDIA_DEVICE_STATE_IDLE + + + + + + + MEDIA_DEVICE_STATE_ACTIVE + + + + + + + MEDIA_DEVICE_STATE_DISABLED + + + + + + + MEDIA_DEVICE_STATE_PLUGGED_IN + + + + + + + MEDIA_DEVICE_STATE_NOT_PRESENT + + + + + + + MEDIA_DEVICE_STATE_UNPLUGGED + + + + + + + MEDIA_DEVICE_STATE_UNRECOMMENDED + + + + + + + MEDIA_DEVICE_TYPE + + + + + + + UNKNOWN_AUDIO_DEVICE + + + + + + + AUDIO_PLAYOUT_DEVICE + + + + + + + AUDIO_RECORDING_DEVICE + + + + + + + VIDEO_RENDER_DEVICE + + + + + + + VIDEO_CAPTURE_DEVICE + + + + + + + AUDIO_APPLICATION_PLAYOUT_DEVICE + + + + + + + AUDIO_VIRTUAL_PLAYOUT_DEVICE + + + + + + + AUDIO_VIRTUAL_RECORDING_DEVICE + + + + + + + MEDIA_PLAYER_REASON + + + + + + + PLAYER_REASON_NONE + + + + + + + PLAYER_REASON_INVALID_ARGUMENTS + + + + + + + PLAYER_REASON_INTERNAL + + + + + + + PLAYER_REASON_NO_RESOURCE + + + + + + + PLAYER_REASON_INVALID_MEDIA_SOURCE + + + + + + + PLAYER_REASON_UNKNOWN_STREAM_TYPE + + + + + + + PLAYER_REASON_OBJ_NOT_INITIALIZED + + + + + + + PLAYER_REASON_CODEC_NOT_SUPPORTED + + + + + + + PLAYER_REASON_VIDEO_RENDER_FAILED + + + + + + + PLAYER_REASON_INVALID_STATE + + + + + + + PLAYER_REASON_URL_NOT_FOUND + + + + + + + PLAYER_REASON_INVALID_CONNECTION_STATE + + + + + + + PLAYER_REASON_SRC_BUFFER_UNDERFLOW + + + + + + + PLAYER_REASON_INTERRUPTED + + + + + + + PLAYER_REASON_NOT_SUPPORTED + + + + + + + PLAYER_REASON_TOKEN_EXPIRED + + + + + + + PLAYER_REASON_IP_EXPIRED + + + + + + + PLAYER_REASON_UNKNOWN + + + + + + + MEDIA_PLAYER_EVENT + + + + + + + PLAYER_EVENT_SEEK_BEGIN + + + + + + + PLAYER_EVENT_SEEK_COMPLETE + + + + + + + PLAYER_EVENT_SEEK_ERROR + + + + + + + PLAYER_EVENT_AUDIO_TRACK_CHANGED + + + + + + + PLAYER_EVENT_BUFFER_LOW + + + + + + + PLAYER_EVENT_BUFFER_RECOVER + + + + + + + PLAYER_EVENT_FREEZE_START + + + + + + + PLAYER_EVENT_FREEZE_STOP + + + + + + + PLAYER_EVENT_SWITCH_BEGIN + + + + + + + PLAYER_EVENT_SWITCH_COMPLETE + + + + + + + PLAYER_EVENT_SWITCH_ERROR + + + + + + + PLAYER_EVENT_FIRST_DISPLAYED + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + + + + + + + MEDIA_PLAYER_METADATA_TYPE + + + + + + + PLAYER_METADATA_TYPE_UNKNOWN + + + + + + + PLAYER_METADATA_TYPE_SEI + + + + + + + MEDIA_PLAYER_STATE + + + + + + + PLAYER_STATE_IDLE + + + + + + + PLAYER_STATE_OPENING + + + + + + + PLAYER_STATE_OPEN_COMPLETED + + + + + + + PLAYER_STATE_PLAYING + + + + + + + PLAYER_STATE_PAUSED + + + + + + + PLAYER_STATE_PLAYBACK_COMPLETED + + + + + + + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + + + + + + + PLAYER_STATE_STOPPED + + + + + + + PLAYER_STATE_FAILED + + + + + + + MEDIA_SOURCE_TYPE + + + + + + + AUDIO_PLAYOUT_SOURCE + + + + + + + AUDIO_RECORDING_SOURCE + + + + + + + PRIMARY_CAMERA_SOURCE + + + + + + + SECONDARY_CAMERA_SOURCE + + + + + + + CUSTOM_VIDEO_SOURCE + + + + + + + SPEECH_DRIVEN_VIDEO_SOURCE + + + + + + + UNKNOWN_MEDIA_SOURCE + + + + + + + MEDIA_TRACE_EVENT + + + + + + + MEDIA_TRACE_EVENT_VIDEO_RENDERED + + + + + + + MEDIA_TRACE_EVENT_VIDEO_DECODED + + + + + + + MEDIA_STREAM_TYPE + + + + + + + STREAM_TYPE_UNKNOWN + + + + + + + STREAM_TYPE_SUBTITLE + + + + + + + METADATA_TYPE + + + + + + + UNKNOWN_METADATA + + + + + + + VIDEO_METADATA + + + + + + + MUSIC_CACHE_STATUS_TYPE + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHED + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHING + + + + + + + MusicContentCenterStateReason + + + + + + + kMusicContentCenterReasonOk + + + + + + + kMusicContentCenterReasonError + + + + + + + kMusicContentCenterReasonGateway + + + + + + + kMusicContentCenterReasonPermissionAndResource + + + + + + + kMusicContentCenterReasonInternalDataParse + + + + + + + kMusicContentCenterReasonMusicLoading + + + + + + + kMusicContentCenterReasonMusicDecryption + + + + + + + kMusicContentCenterReasonHttpInternalError + + + + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + + + + + NETWORK_TYPE + + + + + + + NETWORK_TYPE_UNKNOWN + + + + + + + NETWORK_TYPE_DISCONNECTED + + + + + + + NETWORK_TYPE_LAN + + + + + + + NETWORK_TYPE_WIFI + + + + + + + NETWORK_TYPE_MOBILE_2G + + + + + + + NETWORK_TYPE_MOBILE_3G + + + + + + + NETWORK_TYPE_MOBILE_4G + + + + + + + NETWORK_TYPE_MOBILE_5G + + + + + + + ORIENTATION_MODE + + + + + + + ORIENTATION_MODE_ADAPTIVE + + + + + + + ORIENTATION_MODE_FIXED_LANDSCAPE + + + + + + + ORIENTATION_MODE_FIXED_PORTRAIT + + + + + + + PreloadState + + + + + + + kPreloadStateCompleted + + + + + + + kPreloadStateFailed + + + + + + + kPreloadStatePreloading + + + + + + + kPreloadStateRemoved + + + + + + + PERMISSION_TYPE + + + + + + + RECORD_AUDIO + + + + + + + CAMERA + + + + + + + SCREEN_CAPTURE + + + + + + + PLAYER_PRELOAD_EVENT + + + + + + + PLAYER_PRELOAD_EVENT_BEGIN + + + + + + + PLAYER_PRELOAD_EVENT_COMPLETE + + + + + + + PLAYER_PRELOAD_EVENT_ERROR + + + + + + + PRIORITY_TYPE + + + + + + + PRIORITY_HIGH + + + + + + + PRIORITY_NORMAL + + + + + + + QUALITY_ADAPT_INDICATION + + + + + + + ADAPT_NONE + + + + + + + ADAPT_UP_BANDWIDTH + + + + + + + ADAPT_DOWN_BANDWIDTH + + + + + + + QUALITY_REPORT_FORMAT_TYPE + + + + + + + QUALITY_REPORT_JSON + + + + + + + QUALITY_REPORT_HTML + + + + + + + QUALITY_TYPE + + + + + + + QUALITY_UNKNOWN + + + + + + + QUALITY_EXCELLENT + + + + + + + QUALITY_GOOD + + + + + + + QUALITY_POOR + + + + + + + QUALITY_BAD + + + + + + + QUALITY_VBAD + + + + + + + QUALITY_DOWN + + + + + + + QUALITY_UNSUPPORTED + + + + + + + QUALITY_DETECTING + + + + + + + RAW_AUDIO_FRAME_OP_MODE_TYPE + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + + + + + + + REMOTE_AUDIO_STATE + + + + + + + REMOTE_AUDIO_STATE_STOPPED + + + + + + + REMOTE_AUDIO_STATE_STARTING + + + + + + + REMOTE_AUDIO_STATE_DECODING + + + + + + + REMOTE_AUDIO_STATE_FROZEN + + + + + + + REMOTE_AUDIO_STATE_FAILED + + + + + + + REMOTE_VIDEO_STATE + + + + + + + REMOTE_VIDEO_STATE_STOPPED + + + + + + + REMOTE_VIDEO_STATE_STARTING + + + + + + + REMOTE_VIDEO_STATE_DECODING + + + + + + + REMOTE_VIDEO_STATE_FROZEN + + + + + + + REMOTE_VIDEO_STATE_FAILED + + + + + + + REMOTE_AUDIO_STATE_REASON + + + + + + + REMOTE_AUDIO_REASON_INTERNAL + + + + + + + REMOTE_AUDIO_REASON_NETWORK_CONGESTION + + + + + + + REMOTE_AUDIO_REASON_NETWORK_RECOVERY + + + + + + + REMOTE_AUDIO_REASON_LOCAL_MUTED + + + + + + + REMOTE_AUDIO_REASON_LOCAL_UNMUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_MUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_UNMUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_OFFLINE + + + + + + + REMOTE_VIDEO_STATE_REASON + + + + + + + REMOTE_VIDEO_STATE_REASON_INTERNAL + + + + + + + REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION + + + + + + + REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY + + + + + + + REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE + + + + + + + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK + + + + + + + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY + + + + + + + REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND + + + + + + + REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT + + + + + + + VIDEO_STREAM_TYPE + + + + + + + VIDEO_STREAM_HIGH + + + + + + + VIDEO_STREAM_LOW + + + + + + + AdvancedAudioOptions + + + + + + + AdvanceOptions + + + + + + + AdvancedConfigInfo + + + + + + + AgoraRhythmPlayerConfig + + + + + + + RecorderReasonCode + + + + + + + RECORDER_REASON_NONE + + + + + + + RECORDER_ERROR_WRITE_FAILED + + + + + + + RECORDER_ERROR_NO_STREAM + + + + + + + RECORDER_ERROR_OVER_MAX_DURATION + + + + + + + RECORDER_ERROR_CONFIG_CHANGED + + + + + + + RecorderState + + + + + + + RECORDER_STATE_ERROR + + + + + + + RECORDER_STATE_START + + + + + + + RECORDER_STATE_STOP + + + + + + + RENDER_MODE_TYPE + + + + + + + RENDER_MODE_HIDDEN + + + + + + + RENDER_MODE_FIT + + + + + + + RENDER_MODE_ADAPTIVE + + + + + + + RTMP_STREAM_LIFE_CYCLE_TYPE + + + + + + + RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL + + + + + + + RTMP_STREAM_LIFE_CYCLE_BIND2OWNER + + + + + + + RTMP_STREAM_PUBLISH_REASON + + + + + + + RTMP_STREAM_PUBLISH_REASON_OK + + + + + + + RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT + + + + + + + RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED + + + + + + + RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT + + + + + + + RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR + + + + + + + RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR + + + + + + + RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN + + + + + + + RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT + + + + + + + RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED + + + + + + + RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND + + + + + + + RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED + + + + + + + RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER + + + + + + + RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM + + + + + + + RTMP_STREAM_PUBLISH_REASON_NET_DOWN + + + + + + + RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE + + + + + + + RTMP_STREAM_UNPUBLISH_REASON_OK + + + + + + + RTMP_STREAM_PUBLISH_STATE + + + + + + + RTMP_STREAM_PUBLISH_STATE_IDLE + + + + + + + RTMP_STREAM_PUBLISH_STATE_CONNECTING + + + + + + + RTMP_STREAM_PUBLISH_STATE_RUNNING + + + + + + + RTMP_STREAM_PUBLISH_STATE_RECOVERING + + + + + + + RTMP_STREAM_PUBLISH_STATE_FAILURE + + + + + + + RTMP_STREAM_PUBLISH_STATE_DISCONNECTING + + + + + + + RTMP_STREAMING_EVENT + + + + + + + RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE + + + + + + + RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE + + + + + + + RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT + + + + + + + RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN + + + + + + + RHYTHM_PLAYER_STATE_TYPE + + + + + + + RHYTHM_PLAYER_STATE_IDLE + + + + + + + RHYTHM_PLAYER_STATE_OPENING + + + + + + + RHYTHM_PLAYER_STATE_DECODING + + + + + + + RHYTHM_PLAYER_STATE_PLAYING + + + + + + + RHYTHM_PLAYER_STATE_FAILED + + + + + + + RHYTHM_PLAYER_REASON + + + + + + + RHYTHM_PLAYER_REASON_OK + + + + + + + RHYTHM_PLAYER_REASON_FAILED + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + + + + + + + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + + + + + + + SIMULCAST_STREAM_MODE + + + + + + + AUTO_SIMULCAST_STREAM + + + + + + + DISABLE_SIMULCAST_STREAM + + + + + + + ENABLE_SIMULCAST_STREAM + + + + + + + STREAM_FALLBACK_OPTIONS + + + + + + + STREAM_FALLBACK_OPTION_DISABLED + + + + + + + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + + + + + + + STREAM_FALLBACK_OPTION_AUDIO_ONLY + + + + + + + SAE_CONNECTION_STATE_TYPE + + + + + + + SAE_CONNECTION_STATE_CONNECTING + + + + + + + SAE_CONNECTION_STATE_CONNECTED + + + + + + + SAE_CONNECTION_STATE_DISCONNECTED + + + + + + + SAE_CONNECTION_STATE_RECONNECTING + + + + + + + SAE_CONNECTION_STATE_RECONNECTED + + + + + + + SAE_CONNECTION_CHANGED_REASON_TYPE + + + + + + + SAE_CONNECTION_CHANGED_DEFAULT + + + + + + + SAE_CONNECTION_CHANGED_CONNECTING + + + + + + + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + + + + + + + SAE_CONNECTION_CHANGED_RTM_DISCONNECT + + + + + + + SAE_CONNECTION_CHANGED_RTM_ABORTED + + + + + + + SAE_CONNECTION_CHANGED_LOST_SYNC + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS + + + + + + + SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS + + + + + + + ScreenCaptureSourceType + + + + + + + ScreenCaptureSourceType_Unknown + + + + + + + ScreenCaptureSourceType_Window + + + + + + + ScreenCaptureSourceType_Screen + + + + + + + ScreenCaptureSourceType_Custom + + + + + + + SEG_MODEL_TYPE + + + + + + + SEG_MODEL_AI + + + + + + + SEG_MODEL_GREEN + + + + + + + STREAM_PUBLISH_STATE + + + + + + + PUB_STATE_IDLE + + + + + + + PUB_STATE_NO_PUBLISHED + + + + + + + PUB_STATE_PUBLISHING + + + + + + + PUB_STATE_PUBLISHED + + + + + + + SCREEN_SCENARIO_TYPE + + + + + + + SCREEN_SCENARIO_DOCUMENT + + + + + + + SCREEN_SCENARIO_GAMING + + + + + + + SCREEN_SCENARIO_VIDEO + + + + + + + SCREEN_SCENARIO_RDC + + + + + + + STREAM_SUBSCRIBE_STATE + + + + + + + SUB_STATE_IDLE + + + + + + + SUB_STATE_NO_SUBSCRIBED + + + + + + + SUB_STATE_SUBSCRIBING + + + + + + + SUB_STATE_SUBSCRIBED + + + + + + + USER_OFFLINE_REASON_TYPE + + + + + + + USER_OFFLINE_QUIT + + + + + + + USER_OFFLINE_DROPPED + + + + + + + USER_OFFLINE_BECOME_AUDIENCE + + + + + + + VIDEO_APPLICATION_SCENARIO_TYPE + + + + + + + APPLICATION_SCENARIO_GENERAL + + + + + + + APPLICATION_SCENARIO_MEETING + + + + + + + APPLICATION_SCENARIO_1V1 + + + + + + + VIDEO_BUFFER_TYPE + + + + + + + VIDEO_BUFFER_RAW_DATA + + + + + + + VIDEO_BUFFER_ARRAY + + + + + + + VIDEO_BUFFER_TEXTURE + + + + + + + VIDEO_CAPTURE_TYPE + + + + + + + VIDEO_CAPTURE_UNKNOWN + + + + + + + VIDEO_CAPTURE_CAMERA + + + + + + + VIDEO_CAPTURE_SCREEN + + + + + + + VIDEO_DENOISER_MODE + + + + + + + VIDEO_DENOISER_AUTO + + + + + + + VIDEO_DENOISER_MANUAL + + + + + + + VIDEO_DENOISER_LEVEL + + + + + + + VIDEO_DENOISER_LEVEL_HIGH_QUALITY + + + + + + + VIDEO_DENOISER_LEVEL_FAST + + + + + + + VIDEO_DENOISER_LEVEL_STRENGTH + + + + + + + VIDEO_SOURCE_TYPE + + + + + + + VIDEO_SOURCE_CAMERA_PRIMARY + + + + + + + VIDEO_SOURCE_CAMERA + + + + + + + VIDEO_SOURCE_CAMERA_SECONDARY + + + + + + + VIDEO_SOURCE_SCREEN_PRIMARY + + + + + + + VIDEO_SOURCE_SCREEN + + + + + + + VIDEO_SOURCE_SCREEN_SECONDARY + + + + + + + VIDEO_SOURCE_CUSTOM + + + + + + + VIDEO_SOURCE_MEDIA_PLAYER + + + + + + + VIDEO_SOURCE_RTC_IMAGE_PNG + + + + + + + VIDEO_SOURCE_RTC_IMAGE_JPEG + + + + + + + VIDEO_SOURCE_RTC_IMAGE_GIF + + + + + + + VIDEO_SOURCE_REMOTE + + + + + + + VIDEO_SOURCE_TRANSCODED + + + + + + + VIDEO_SOURCE_CAMERA_THIRD + + + + + + + VIDEO_SOURCE_CAMERA_FOURTH + + + + + + + VIDEO_SOURCE_SCREEN_THIRD + + + + + + + VIDEO_SOURCE_SCREEN_FOURTH + + + + + + + VIDEO_SOURCE_SPEECH_DRIVEN + + + + + + + VIDEO_SOURCE_UNKNOWN + + + + + + + VIDEO_CODEC_CAPABILITY_LEVEL + + + + + + + CODEC_CAPABILITY_LEVEL_UNSPECIFIED + + + + + + + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + + + + + + + CODEC_CAPABILITY_LEVEL_1080P30FPS + + + + + + + CODEC_CAPABILITY_LEVEL_1080P60FPS + + + + + + + CODEC_CAPABILITY_LEVEL_4K60FPS + + + + + + + VIDEO_CODEC_PROFILE_TYPE + + + + + + + VIDEO_CODEC_PROFILE_BASELINE + + + + + + + VIDEO_CODEC_PROFILE_MAIN + + + + + + + VIDEO_CODEC_PROFILE_HIGH + + + + + + + VIDEO_CODEC_TYPE + + + + + + + VIDEO_CODEC_NONE + + + + + + + VIDEO_CODEC_VP8 + + + + + + + VIDEO_CODEC_H264 + + + + + + + VIDEO_CODEC_H265 + + + + + + + VIDEO_CODEC_AV1 + + + + + + + VIDEO_CODEC_VP9 + + + + + + + VIDEO_CODEC_GENERIC + + + + + + + VIDEO_CODEC_GENERIC_H264 + + + + + + + VIDEO_CODEC_GENERIC_JPEG + + + + + + + VIDEO_CODEC_TYPE_FOR_STREAM + + + + + + + VIDEO_CODEC_H264_FOR_STREAM + + + + + + + VIDEO_CODEC_H265_FOR_STREAM + + + + + + + VIDEO_CONTENT_HINT + + + + + + + CONTENT_HINT_NONE + + + + + + + CONTENT_HINT_MOTION + + + + + + + CONTENT_HINT_DETAILS + + + + + + + VIDEO_FRAME_PROCESS_MODE + + + + + + + PROCESS_MODE_READ_ONLY + + + + + + + PROCESS_MODE_READ_WRITE + + + + + + + VIDEO_FRAME_TYPE + + + + + + + VIDEO_FRAME_TYPE_BLANK_FRAME + + + + + + + VIDEO_FRAME_TYPE_KEY_FRAME + + + + + + + VIDEO_FRAME_TYPE_DELTA_FRAME + + + + + + + VIDEO_FRAME_TYPE_B_FRAME + + + + + + + VIDEO_FRAME_TYPE_DROPPABLE_FRAME + + + + + + + VIDEO_FRAME_TYPE_UNKNOW + + + + + + + VIDEO_MIRROR_MODE_TYPE + + + + + + + VIDEO_MIRROR_MODE_AUTO + + + + + + + VIDEO_MIRROR_MODE_ENABLED + + + + + + + VIDEO_MIRROR_MODE_DISABLED + + + + + + + VIDEO_MODULE_POSITION + + + + + + + POSITION_POST_CAPTURER + + + + + + + POSITION_PRE_RENDERER + + + + + + + POSITION_PRE_ENCODER + + + + + + + POSITION_POST_CAPTURER_ORIGIN + + + + + + + VIDEO_ORIENTATION + + + + + + + VIDEO_ORIENTATION_0 + + + + + + + VIDEO_ORIENTATION_90 + + + + + + + VIDEO_ORIENTATION_180 + + + + + + + VIDEO_ORIENTATION_270 + + + + + + + VIDEO_PIXEL_FORMAT + + + + + + + VIDEO_PIXEL_DEFAULT + + + + + + + VIDEO_PIXEL_I420 + + + + + + + VIDEO_PIXEL_BGRA + + + + + + + VIDEO_PIXEL_NV21 + + + + + + + VIDEO_PIXEL_RGBA + + + + + + + VIDEO_PIXEL_IMC2 + + + + + + + VIDEO_PIXEL_ARGB + + + + + + + VIDEO_PIXEL_NV12 + + + + + + + VIDEO_PIXEL_I422 + + + + + + + VIDEO_TEXTURE_ID3D11TEXTURE2D + + + + + + + VIDEO_TEXTURE_2D + + + + + + + VIDEO_TEXTURE_OES + + + + + + + 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 + + + + + + + VIDEO_VIEW_SETUP_MODE + + + + + + + VIDEO_VIEW_SETUP_REPLACE + + + + + + + VIDEO_VIEW_SETUP_ADD + + + + + + + VIDEO_VIEW_SETUP_REMOVE + + + + + + + VIDEO_TRANSCODER_ERROR + + + + + + + VT_ERR_OK + + + + + + + VT_ERR_VIDEO_SOURCE_NOT_READY + + + + + + + VT_ERR_INVALID_VIDEO_SOURCE_TYPE + + + + + + + VT_ERR_INVALID_IMAGE_PATH + + + + + + + VT_ERR_UNSUPPORT_IMAGE_FORMAT + + + + + + + VT_ERR_INVALID_LAYOUT + + + + + + + VT_ERR_INTERNAL + + + + + + + VOICE_AI_TUNER_TYPE + + + + + + + VOICE_AI_TUNER_MATURE_MALE + + + + + + + VOICE_AI_TUNER_FRESH_MALE + + + + + + + VOICE_AI_TUNER_ELEGANT_FEMALE + + + + + + + VOICE_AI_TUNER_SWEET_FEMALE + + + + + + + VOICE_AI_TUNER_WARM_MALE_SINGING + + + + + + + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_HUSKY_MALE_SINGING + + + + + + + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_POWERFUL_MALE_SINGING + + + + + + + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING + + + + + + + VOICE_BEAUTIFIER_PRESET + + + + + + + VOICE_BEAUTIFIER_OFF + + + + + + + CHAT_BEAUTIFIER_MAGNETIC + + + + + + + CHAT_BEAUTIFIER_FRESH + + + + + + + CHAT_BEAUTIFIER_VITALITY + + + + + + + SINGING_BEAUTIFIER + + + + + + + TIMBRE_TRANSFORMATION_VIGOROUS + + + + + + + TIMBRE_TRANSFORMATION_DEEP + + + + + + + TIMBRE_TRANSFORMATION_MELLOW + + + + + + + TIMBRE_TRANSFORMATION_FALSETTO + + + + + + + TIMBRE_TRANSFORMATION_FULL + + + + + + + TIMBRE_TRANSFORMATION_CLEAR + + + + + + + TIMBRE_TRANSFORMATION_RESOUNDING + + + + + + + TIMBRE_TRANSFORMATION_RINGING + + + + + + + ULTRA_HIGH_QUALITY_VOICE + + + + - EVIDEO_TRANSCODER_ERROR + VOICE_CHANGER_PRESET - + - VT_ERR_OK + VOICE_CHANGER_OFF - + - VT_ERR_VIDEO_SOURCE_NOT_READY + VOICE_CHANGER_OLDMAN - + - VT_ERR_INVALID_VIDEO_SOURCE_TYPE + VOICE_CHANGER_BABYBOY - + - VT_ERR_INVALID_IMAGE_PATH + VOICE_CHANGER_BABYGIRL - + - VT_ERR_UNSUPPORT_IMAGE_FORMAT + VOICE_CHANGER_ZHUBAJIE - + + + + VOICE_CHANGER_ETHEREAL + + + + + + + VOICE_CHANGER_HULK + + + + + + + VOICE_BEAUTY_VIGOROUS + + + + + + + VOICE_BEAUTY_DEEP + + + + + + + VOICE_BEAUTY_MELLOW + + + + + + + VOICE_BEAUTY_FALSETTO + + + + + + + VOICE_BEAUTY_FULL + + + + + + + VOICE_BEAUTY_CLEAR + + + + + + + VOICE_BEAUTY_RESOUNDING + + + + + + + VOICE_BEAUTY_RINGING + + + + + + + VOICE_BEAUTY_SPACIAL + + + + + + + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_FRESH + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + + + + + + + INTERFACE_ID_TYPE + + + + + + + AGORA_IID_AUDIO_DEVICE_MANAGER + + + + + + + AGORA_IID_VIDEO_DEVICE_MANAGER + + + + + + + AGORA_IID_PARAMETER_ENGINE + + + + + + + AGORA_IID_MEDIA_ENGINE + + + + + + + AGORA_IID_SIGNALING_ENGINE + + + + + + + AGORA_IID_LOCAL_SPATIAL_AUDIO + + + + + + + AGORA_IID_MUSIC_CONTENT_CENTER + + + + + + + VOICE_CONVERSION_PRESET + + + + + + + VOICE_CONVERSION_OFF + + + + + + + VOICE_CHANGER_NEUTRAL + + + + + + + VOICE_CHANGER_SWEET + + + + + + + VOICE_CHANGER_SOLID + + + + + + + VOICE_CHANGER_BASS + + + + + + + + + channelId + + + + + + + info + + + + + + + uid + + + + + + + + + v3.2.0 + + + + + + + v3.3.0 + + + + + + + v3.0.0 + + + + + + + + + C:\music\audio.mp4 + + + + + + + C:\music\audio.aac + + + + + + + C:\Users\<user_name>\AppData\Local\Agora\<process_name>\example.jpg + + + + + + + libagora_ai_denoise_extension.dll + + + + + + + STANDARD_BITRATE + + + + + + + COMPATIBLE_BITRATE + + + + + + + true + + + + + + + false + + + + + + + NULL + + + + + + + libagora_clear_vision_extension.dll + + + + + + + libagora_super_resolution_extension.so (Android); AgoraSuperResolutionExtension.xcframework (iOS) + + + + + + + libagora_ai_noise_suppression_extension.dll + + + + + + + libagora_audio_beauty_extension.dll + + + + + + + libagora_spatial_audio_extension.dll + + + + - VT_ERR_INVALID_LAYOUT + libagora_content_inspect_extension.dll - + - VT_ERR_INTERNAL + libagora_segmentation_extension.dll - - - - EENUMCUSTOM_VOICE_BEAUTIFIER_PRESET - - - - - - - VOICE_BEAUTIFIER_OFF - - - - - - - CHAT_BEAUTIFIER_MAGNETIC - - - - - - - CHAT_BEAUTIFIER_FRESH - - - - - - - CHAT_BEAUTIFIER_VITALITY - - - - - - - SINGING_BEAUTIFIER - - - - - - - TIMBRE_TRANSFORMATION_VIGOROUS - - - - - - - TIMBRE_TRANSFORMATION_DEEP - - - - - - - TIMBRE_TRANSFORMATION_MELLOW - - - - - - - TIMBRE_TRANSFORMATION_FALSETTO - - - - - - - TIMBRE_TRANSFORMATION_FULL - - - - - - - TIMBRE_TRANSFORMATION_CLEAR - - - - - - - TIMBRE_TRANSFORMATION_RESOUNDING - - - - - - - TIMBRE_TRANSFORMATION_RINGING - - - - - - - ULTRA_HIGH_QUALITY_VOICE - - - - - - - EINTERFACE_ID_TYPE - - - - - - - AGORA_IID_AUDIO_DEVICE_MANAGER - - - - - - - AGORA_IID_VIDEO_DEVICE_MANAGER - - - - - - - AGORA_IID_PARAMETER_ENGINE - - - - - - - AGORA_IID_MEDIA_ENGINE - - - - - - - AGORA_IID_SIGNALING_ENGINE - - - - - - - AGORA_IID_LOCAL_SPATIAL_AUDIO - - - - - - - AGORA_IID_MUSIC_CONTENT_CENTER - - - - - - - EENUMCUSTOM_VOICE_CONVERSION_PRESET - - - - - - - VOICE_CONVERSION_OFF - - - - - - - VOICE_CHANGER_NEUTRAL - - - - - - - VOICE_CHANGER_SWEET - - - - - - - VOICE_CHANGER_SOLID - - - - - - - VOICE_CHANGER_BASS - - - - - - - - - channelId - - - - - - - info - - - - - - - uid - - - - - - - - - v3.2.0 - - - - - - - v3.3.0 - - - - - - - v3.0.0 - - - - - - - - - C:\music\audio.mp4 - - - - - - - C:\music\audio.aac - - - - - - - C:\Users\<user_name>\AppData\Local\Agora\<process_name>\example.jpg - - - - - - - libagora_ai_denoise_extension.dll - - - - - - - STANDARD_BITRATE - - - - - - - COMPATIBLE_BITRATE - - - - - - - true - - - - - - - false - - - - - - - NULL - - - - - - - libagora_clear_vision_extension.dll - - - - - - - libagora_super_resolution_extension.so (Android); AgoraSuperResolutionExtension.xcframework (iOS) - - - - - - - libagora_audio_beauty_extension.dll - - - - - - - libagora_spatial_audio_extension.dll - - - - - - - libagora_content_inspect_extension.dll - - - - - - - libagora_segmentation_extension.dll - - - \ No newline at end of file From d0b21eaac07dde92672635f73ee6a3f9c29a7afe Mon Sep 17 00:00:00 2001 From: jinyu Date: Tue, 13 Aug 2024 17:03:53 +0800 Subject: [PATCH 04/25] 2.2 add ue bp only api --- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 2 - dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 41 +++---- dita/RTC-NG/RTC_NG_API_Unreal.ditamap | 1 + .../config/keys-rtc-ng-api-blueprint.ditamap | 108 +++++++++--------- 4 files changed, 76 insertions(+), 76 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index f141d4dd841..416a7e4ccbd 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -43,7 +43,6 @@
  • -
  • @@ -164,7 +163,6 @@
  • -
  • diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 253b0dd2ca2..0e6179290ca 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -16,6 +16,7 @@ + @@ -35,9 +36,9 @@ - - - + + + @@ -60,19 +61,19 @@ - + - + - + @@ -255,9 +256,9 @@ - + - + @@ -331,7 +332,7 @@ - + @@ -343,11 +344,11 @@ - + - + @@ -363,7 +364,7 @@ - + @@ -421,7 +422,7 @@ - + @@ -577,8 +578,8 @@ - - + + @@ -632,8 +633,8 @@ - - + + @@ -711,9 +712,9 @@ - + - + @@ -791,7 +792,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap index dc5f52d7d7f..9e53673ab90 100644 --- a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap @@ -16,6 +16,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 0093463fd9b..4d0deeeac10 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -273,28 +273,28 @@
    - + IAgoraParameter - + IMusicContentCenterEventHandler - + IMusicPlayer - + IMusicContentCenter @@ -307,7 +307,7 @@ - createAgoraRtcEngine + Get @@ -328,7 +328,7 @@ - release + Release @@ -339,7 +339,7 @@ - + setClientRole [1/2] @@ -349,21 +349,21 @@ - setClientRole [2/2] + SetClientRole - joinChannel [1/2] + JoinChannel - joinChannel [2/2] + JoinChannelWithOptions @@ -377,14 +377,14 @@ - leaveChannel [1/2] + LeaveChannel - leaveChannel [2/2] + LeaveChannelWithOptions @@ -409,7 +409,7 @@ - + joinChannelWithUserAccount [1/2] @@ -419,7 +419,7 @@ - joinChannelWithUserAccount [2/2] + JoinChannelWithUserAccount @@ -743,14 +743,14 @@ - selectAudioTrack [1/2] + SelectAudioTrack - selectAudioTrack [2/2] + SelectAudioTrack @@ -813,14 +813,14 @@ - setPlayerOption [1/2] + SetPlayerOptionWithInt - setPlayerOption [2/2] + SetPlayerOptionWithString @@ -969,14 +969,14 @@ - setAudioProfile [1/2] + SetAudioProfileAndScenario - setAudioProfile [2/2] + SetAudioProfile @@ -1145,7 +1145,7 @@ - + setLocalRenderMode [1/2] @@ -1155,7 +1155,7 @@ - setLocalRenderMode [2/2] + SetLocalRenderMode @@ -1166,7 +1166,7 @@ - + startPreview [1/2] @@ -1176,11 +1176,11 @@ - startPreview [2/2] + StartPreview - + stopPreview [1/2] @@ -1190,7 +1190,7 @@ - stopPreview [2/2] + StopPreview @@ -1312,7 +1312,7 @@ - + createDataStreamEx [1/2] @@ -1322,7 +1322,7 @@ - createDataStreamEx [2/2] + CreateDataStreamEx @@ -1354,7 +1354,7 @@ - + leaveChannelEx [1/2] @@ -1364,7 +1364,7 @@ - leaveChannelEx [2/2] + LeaveChannelEx @@ -1653,14 +1653,14 @@ - startScreenCapture [1/2] + StartScreenCapture - startScreenCapture [2/2] + StartScreenCaptureBySourceType @@ -1730,14 +1730,14 @@ - stopScreenCapture [1/2] + StopScreenCapture - stopScreenCapture [2/2] + StopScreenCaptureBySourceType @@ -1757,7 +1757,7 @@ - + startAudioMixing [1/2] @@ -1767,7 +1767,7 @@ - startAudioMixing [2/2] + StartAudioMixing @@ -2499,7 +2499,7 @@ - + enableDualStreamMode [1/2] @@ -2510,7 +2510,7 @@ - enableDualStreamMode [2/2] + EnableDualStreamMode @@ -2521,7 +2521,7 @@ - + setDualStreamMode [1/2] @@ -2531,7 +2531,7 @@ - setDualStreamMode [2/2] + SetDualStreamMode @@ -2939,7 +2939,7 @@ - + addVideoWatermark [1/2] @@ -2949,7 +2949,7 @@ - addVideoWatermark [2/2] + AddVideoWatermark @@ -3013,14 +3013,14 @@ - + startAudioRecording [1/3] - + startAudioRecording [2/3] @@ -3030,7 +3030,7 @@ - startAudioRecording [3/3] + StartAudioRecording @@ -3211,11 +3211,11 @@ - getDevice [1/2] + GetDevice - + getDevice [2/2] @@ -3225,11 +3225,11 @@ - getDefaultDevice [1/2] + GetDefaultDevice - + getDefaultDevice [2/2] @@ -3596,7 +3596,7 @@ - + createDataStream [1/2] @@ -3606,7 +3606,7 @@ - createDataStream [2/2] + CreateDataStream @@ -3719,7 +3719,7 @@ - + @@ -4048,7 +4048,7 @@ - + setParameters [2/2] @@ -4058,7 +4058,7 @@ - setParameters [1/2] + SetParameters From 8219f247cc084799ca3426dddbca1b06dc4b327e Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 14 Aug 2024 12:47:33 +0800 Subject: [PATCH 05/25] 1 --- .../API/api_iaudiodevicecollection_getdefaultdevice2.dita | 2 +- dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita | 2 +- .../API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita | 2 +- .../API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita | 2 +- .../API/api_ilocalspatialaudioengine_updateselftransform.dita | 2 +- dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita | 2 +- .../RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita | 2 +- dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita | 2 +- dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita | 2 +- dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita | 2 +- dita/RTC-NG/API/api_imusicplayer_setplaymode.dita | 2 +- dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita | 2 +- .../API/api_irtcengine_enablecustomaudiolocalplayback.dita | 2 +- dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita | 2 +- .../RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita | 2 +- dita/RTC-NG/API/api_irtcengine_querydevicescore.dita | 2 +- dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita | 2 +- dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita | 2 +- dita/RTC-NG/API/api_irtcengine_switchcamera2.dita | 2 +- dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita | 2 +- dita/RTC-NG/API/api_irtcengineex_getcallidex.dita | 2 +- ...deoframedelegate_agorartcmediaplayergetvideopixelformat.dita | 2 +- ...artcmediaplayervideoframedelegate_didreceivepixelbuffer.dita | 2 +- dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita | 2 +- .../callback_imediaplayersourceobserver_onplayercachestats.dita | 2 +- ...llback_imediaplayersourceobserver_onplayerplaybackstats.dita | 2 +- ...ack_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita | 2 +- dita/RTC-NG/API/class_extensioncontext.dita | 2 +- dita/RTC-NG/API/class_focallengthinfo.dita | 2 +- dita/RTC-NG/API/class_playerplaybackstats.dita | 2 +- dita/RTC-NG/API/class_videolayout.dita | 2 +- dita/RTC-NG/archive/api_irtcengine_sendaudiometadata.dita | 2 +- dita/RTC-NG/archive/api_irtcengine_setupaudioattributes.dita | 2 +- dita/RTC-NG/archive/api_irtcengineex_sendaudiometadataex.dita | 2 +- ...callback_irtcengineeventhandler_onaudiometadatareceived.dita | 2 +- ...engineeventhandler_oncameracapturerconfigurationchanged.dita | 2 +- .../archive/callback_irtcengineex_onaudiometadatareceived.dita | 2 +- 37 files changed, 37 insertions(+), 37 deletions(-) diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita index 6119c9e5045..d3b8c791477 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita @@ -17,7 +17,7 @@ virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - + diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita index 75786a93735..b4c2562f5b3 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita @@ -18,7 +18,7 @@ virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - + diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita index 54090cc1008..2c604dd7ef3 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita @@ -17,7 +17,7 @@ virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0; - + public abstract int GetPlaybackDeviceInfo(ref string deviceId, ref string deviceName, ref string deviceTypeName); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita index 137095b442c..58823ba53de 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita @@ -17,7 +17,7 @@ virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0; - + public abstract int GetRecordingDeviceInfo(ref string deviceId, ref string deviceName, ref string deviceTypeName); diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita index c783b89f77c..38a8ee7e76b 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita @@ -17,7 +17,7 @@ - (int)updateSelfTransform:(simd_float4x4)transform NS_SWIFT_NAME(updateSelfTransform(_:)); - + diff --git a/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita b/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita index dbb52b9a57f..ab88aa516c5 100644 --- a/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita @@ -17,7 +17,7 @@ - (BOOL)setFaceInfoDelegate:(id<AgoraFaceInfoDelegate> _Nullable)delegate NS_SWIFT_NAME(setFaceInfoDelegate(_:)); virtual int registerFaceInfoObserver(IFaceInfoObserver* observer) = 0; - + abstract registerFaceInfoObserver(observer: IFaceInfoObserver): number; public abstract int RegisterFaceInfoObserver(IFaceInfoObserver observer); abstract registerFaceInfoObserver(observer: IFaceInfoObserver): number; diff --git a/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita b/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita index 1028391f9fc..e170d2f7659 100644 --- a/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita @@ -17,7 +17,7 @@ - + abstract unregisterFaceInfoObserver(observer: IFaceInfoObserver): number; public abstract int UnRegisterFaceInfoObserver(); abstract unregisterFaceInfoObserver(observer: IFaceInfoObserver): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita b/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita index 87968cbcb2d..d48317d5875 100644 --- a/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita @@ -17,7 +17,7 @@ - (int)selectMultiAudioTrack:(NSInteger)playoutTrackIndex publishTrackIndex:(NSInteger)publishTrackIndex NS_SWIFT_NAME(selectMultiAudioTrack(_:publishTrackIndex:)); virtual int selectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex) = 0; - + abstract selectMultiAudioTrack( playoutTrackIndex: number, publishTrackIndex: number diff --git a/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita b/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita index 3093b916e50..7855b178473 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita @@ -17,7 +17,7 @@ - (BOOL)setVideoFrameDelegate:(id<AgoraRtcMediaPlayerVideoFrameDelegate> _Nullable)delegate NS_SWIFT_NAME(setVideoFrameDelegate(_:)); - + diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita index 542d6c13167..b99e165bb50 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita @@ -16,7 +16,7 @@ public abstract int destroyMusicPlayer(IAgoraMusicPlayer player); - (NSInteger)destroyMusicPlayer:(id<AgoraMusicPlayerProtocol>)musicPlayer; virtual int destroyMusicPlayer(agora_refptr<IMusicPlayer> music_player) = 0; - + diff --git a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita index 6c44a735040..90a0779cf9d 100644 --- a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita +++ b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita @@ -16,7 +16,7 @@ int setPlayMode(MusicPlayMode mode); - (NSInteger)setPlayMode:(AgoraMusicPlayMode)mode NS_SWIFT_NAME(setPlayMode(mode:)); virtual int setPlayMode(MusicPlayMode mode) = 0; - + diff --git a/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita b/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita index f71f26dd07f..1352d26859c 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita @@ -17,7 +17,7 @@ - (int)enableCameraCenterStage:(BOOL)enabled NS_SWIFT_NAME(enableCameraCenterStage(_:)); virtual int enableCameraCenterStage(bool enabled) = 0; - + abstract enableCameraCenterStage(enabled: boolean): number; public abstract int EnableCameraCenterStage(bool enabled); abstract enableCameraCenterStage(enabled: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita b/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita index 9d738d60444..1decb288bdd 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita @@ -16,7 +16,7 @@ - (int)enableCustomAudioLocalPlayback:(NSInteger)trackId enabled:(BOOL)enabled NS_SWIFT_NAME(enableCustomAudioLocalPlayback(_:enabled:)); virtual int enableCustomAudioLocalPlayback(track_id_t trackId, bool enabled) = 0; - + abstract enableCustomAudioLocalPlayback( trackId: number, enabled: boolean diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index f33160c4292..87b05fdcf98 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -16,7 +16,7 @@ public abstract int enableVoiceAITuner(boolean enabled, Constants.VOICE_AI_TUNER_TYPE type); - (int)enableVoiceAITuner:(bool)enabled type:(AgoraVoiceAITunerType)type NS_SWIFT_NAME(enableVoiceAITuner(_:type:)); virtual int enableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type) = 0; - + diff --git a/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita index d2c2ba0d4f6..0753c5d5e3b 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita @@ -17,7 +17,7 @@ - (BOOL)isCameraCenterStageSupported NS_SWIFT_NAME(isCameraCenterStageSupported()); virtual bool isCameraCenterStageSupported() = 0; - + abstract isCameraCenterStageSupported(): boolean; public abstract bool IsCameraCenterStageSupported(); abstract isCameraCenterStageSupported(): boolean; diff --git a/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita b/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita index e7ca32f39d9..af8f6e5a094 100644 --- a/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita +++ b/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita @@ -17,7 +17,7 @@ - (int)queryDeviceScore NS_SWIFT_NAME(queryDeviceScore()); virtual int queryDeviceScore() = 0; - + abstract queryDeviceScore(): number; public abstract int QueryDeviceScore(); abstract queryDeviceScore(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita index 7cdc4a64adc..6a41e166473 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita @@ -17,7 +17,7 @@ - (int)setAudioMixingPlaybackSpeed:(NSInteger)speed NS_SWIFT_NAME(setAudioMixingPlaybackSpeed(_:)); virtual int setAudioMixingPlaybackSpeed(int speed) = 0; - + abstract setAudioMixingPlaybackSpeed(speed: number): number; public abstract int SetAudioMixingPlaybackSpeed(int speed); abstract setAudioMixingPlaybackSpeed(speed: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita b/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita index 697a33be5df..19b91024ad5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita @@ -17,7 +17,7 @@ - (int) setCameraStabilizationMode:(AgoraCameraStabilizationMode)mode NS_SWIFT_NAME(setCameraStabilizationMode(_:)); virtual int setCameraStabilizationMode(CAMERA_STABILIZATION_MODE mode) = 0; - + public abstract int SetCameraStabilizationMode(CAMERA_STABILIZATION_MODE mode); abstract setCameraStabilizationMode(mode: CameraStabilizationMode): number; diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita index 59dc3a8d500..a0fef0a19b5 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita @@ -17,7 +17,7 @@ - + diff --git a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita index 34d3fbb33ac..811ead2d61d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita @@ -18,7 +18,7 @@ - (int)enableEncryptionEx:(bool)enabled encryptionConfig:(AgoraEncryptionConfig *_Nonnull)config connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableEncryptionEx(_:encryptionConfig:connection:)); virtual int enableEncryptionEx(const RtcConnection& connection, bool enabled, const EncryptionConfig& config) = 0; - + abstract enableEncryptionEx( connection: RtcConnection, enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index fa19a1fb744..e6da920ae98 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -17,7 +17,7 @@ public abstract getCallIdEx(connection:RtcConnection):string; - (NSString * _Nullable)getCallIdEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(getCallIdEx(_:)); virtual int getCallIdEx(agora::util::AString& callId, const RtcConnection& connection) = 0; - + abstract getCallIdEx(connection: RtcConnection): string; public abstract int GetCallIdEx(ref string callId, RtcConnection connection); abstract getCallIdEx(connection: RtcConnection): string; diff --git a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita index 5b080c1d3b1..9a0b8c22dfe 100644 --- a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita +++ b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita @@ -17,7 +17,7 @@ - (AgoraVideoFormat)AgoraRtcMediaPlayerGetVideoPixelFormat NS_SWIFT_NAME(AgoraRtcMediaPlayerGetVideoPixelFormat()); - + diff --git a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita index 8497616dd7f..e8eb0fd4968 100644 --- a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita +++ b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita @@ -18,7 +18,7 @@ - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceivePixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceivePixelBuffer:)); - + diff --git a/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita b/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita index 520bbe9d46a..893f9cda5a7 100644 --- a/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita +++ b/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita @@ -17,7 +17,7 @@ - (BOOL)onFaceInfo:(NSString* _Nonnull)outFaceInfo NS_SWIFT_NAME(onFaceInfo(_:)); virtual bool onFaceInfo(const char* outFaceInfo) = 0; - + onFaceInfo?(outFaceInfo: string): void; public virtual bool OnFaceInfo(string outFaceInfo) diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita index 715614747a3..d05b2bf2985 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita @@ -19,7 +19,7 @@ virtual void onPlayerCacheStats(const media::base::CacheStatistics& stats) { (void)stats; } - + onPlayerCacheStats?(stats: CacheStatistics): void; public virtual void OnPlayerCacheStats(CacheStatistics stats) { diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita index 441abfe434c..58df20f66f7 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita @@ -19,7 +19,7 @@ virtual void onPlayerPlaybackStats(const media::base::PlayerPlaybackStats& stats) { (void)stats; } - + onPlayerPlaybackStats?(stats: PlayerPlaybackStats): void; public virtual void OnPlayerPlaybackStats(PlayerPlaybackStats stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index e6a18602741..d71af7cf517 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -23,7 +23,7 @@ (void)layoutCount; (void)layoutlist; } - + public virtual void OnTranscodedStreamLayoutInfo(RtcConnection connection, uint uid, int width, int height, int layoutCount, VideoLayout[] layoutlist) onTranscodedStreamLayoutInfo?( diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita index e83098cd2d4..e919d3724d8 100644 --- a/dita/RTC-NG/API/class_extensioncontext.dita +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -41,7 +41,7 @@ const char *extensionName; ExtensionContext():isValid(false), uid(0), providerName(NULL), extensionName(NULL) {} }; - + diff --git a/dita/RTC-NG/API/class_focallengthinfo.dita b/dita/RTC-NG/API/class_focallengthinfo.dita index 0d9e4657c2f..29fa66bb425 100644 --- a/dita/RTC-NG/API/class_focallengthinfo.dita +++ b/dita/RTC-NG/API/class_focallengthinfo.dita @@ -35,7 +35,7 @@ int cameraDirection; CAMERA_FOCAL_LENGTH_TYPE focalLengthType; }; - + public class FocalLengthInfo { diff --git a/dita/RTC-NG/API/class_playerplaybackstats.dita b/dita/RTC-NG/API/class_playerplaybackstats.dita index fb42818cc20..af543bb90a5 100644 --- a/dita/RTC-NG/API/class_playerplaybackstats.dita +++ b/dita/RTC-NG/API/class_playerplaybackstats.dita @@ -25,7 +25,7 @@ int audioBitrateInKbps; int totalBitrateInKbps; }; - + export class PlayerPlaybackStats { videoFps?: number; videoBitrateInKbps?: number; diff --git a/dita/RTC-NG/API/class_videolayout.dita b/dita/RTC-NG/API/class_videolayout.dita index 5f508e04c68..73ec0adf6c7 100644 --- a/dita/RTC-NG/API/class_videolayout.dita +++ b/dita/RTC-NG/API/class_videolayout.dita @@ -46,7 +46,7 @@ uint32_t videoState; VideoLayout() : channelId(OPTIONAL_NULLPTR), uid(0), strUid(OPTIONAL_NULLPTR), x(0), y(0), width(0), height(0), videoState(0) {} }; - + public class VideoLayout { diff --git a/dita/RTC-NG/archive/api_irtcengine_sendaudiometadata.dita b/dita/RTC-NG/archive/api_irtcengine_sendaudiometadata.dita index c2821f77207..032f27ebdcb 100644 --- a/dita/RTC-NG/archive/api_irtcengine_sendaudiometadata.dita +++ b/dita/RTC-NG/archive/api_irtcengine_sendaudiometadata.dita @@ -16,7 +16,7 @@ public abstract int sendAudioMetadata(byte[] metadata); - (int)sendAudioMetadata:(NSData * _Nonnull)metadata NS_SWIFT_NAME(sendAudioMetadata(_:)); virtual int sendAudioMetadata(const char* metadata, size_t length) = 0; - + diff --git a/dita/RTC-NG/archive/api_irtcengine_setupaudioattributes.dita b/dita/RTC-NG/archive/api_irtcengine_setupaudioattributes.dita index e1d46e4b0c1..91a44758374 100644 --- a/dita/RTC-NG/archive/api_irtcengine_setupaudioattributes.dita +++ b/dita/RTC-NG/archive/api_irtcengine_setupaudioattributes.dita @@ -16,7 +16,7 @@ public abstract int setupAudioAttributes(AudioAttributes attr); - + diff --git a/dita/RTC-NG/archive/api_irtcengineex_sendaudiometadataex.dita b/dita/RTC-NG/archive/api_irtcengineex_sendaudiometadataex.dita index a24417589a9..dd3a6ad7de1 100644 --- a/dita/RTC-NG/archive/api_irtcengineex_sendaudiometadataex.dita +++ b/dita/RTC-NG/archive/api_irtcengineex_sendaudiometadataex.dita @@ -16,7 +16,7 @@ public abstract int sendAudioMetadataEx(byte[] metadata, RtcConnection connection); - (int)sendAudioMetadataEx:(AgoraRtcConnection * _Nonnull)connection metadata:(NSData * _Nonnull)metadata NS_SWIFT_NAME(sendAudioMetadataEx(_:metadata:)); virtual int sendAudioMetadataEx(const RtcConnection& connection, const char* metadata, size_t length) = 0; - + diff --git a/dita/RTC-NG/archive/callback_irtcengineeventhandler_onaudiometadatareceived.dita b/dita/RTC-NG/archive/callback_irtcengineeventhandler_onaudiometadatareceived.dita index be731721596..4c55556cc09 100644 --- a/dita/RTC-NG/archive/callback_irtcengineeventhandler_onaudiometadatareceived.dita +++ b/dita/RTC-NG/archive/callback_irtcengineeventhandler_onaudiometadatareceived.dita @@ -20,7 +20,7 @@ (void)metadata; (void)length; } - + diff --git a/dita/RTC-NG/archive/callback_irtcengineeventhandler_oncameracapturerconfigurationchanged.dita b/dita/RTC-NG/archive/callback_irtcengineeventhandler_oncameracapturerconfigurationchanged.dita index 53eb4557b48..17674ee749c 100644 --- a/dita/RTC-NG/archive/callback_irtcengineeventhandler_oncameracapturerconfigurationchanged.dita +++ b/dita/RTC-NG/archive/callback_irtcengineeventhandler_oncameracapturerconfigurationchanged.dita @@ -23,7 +23,7 @@ (void)height; (void)frameRate; } - + diff --git a/dita/RTC-NG/archive/callback_irtcengineex_onaudiometadatareceived.dita b/dita/RTC-NG/archive/callback_irtcengineex_onaudiometadatareceived.dita index 385d18722b5..8663fefe9f6 100644 --- a/dita/RTC-NG/archive/callback_irtcengineex_onaudiometadatareceived.dita +++ b/dita/RTC-NG/archive/callback_irtcengineex_onaudiometadatareceived.dita @@ -19,7 +19,7 @@ (void)metadata; (void)length; } - + From 10a33077aa320d2b74e519e5b27c7a75d0d6b8c9 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 14 Aug 2024 15:16:41 +0800 Subject: [PATCH 06/25] 2.2 add ue bp only api --- .../api_iaudiodevicecollection_getcount.dita | 4 +- .../api_iaudiodevicecollection_getdevice.dita | 2 +- .../api_iaudiodevicecollection_release.dita | 2 +- .../api_iaudiodevicecollection_setdevice.dita | 2 +- .../API/api_iaudiodevicemanager_release.dita | 2 +- .../api_imediaplayer_selectaudiotrack.dita | 2 +- .../API/api_irtcengine_selectaudiotrack.dita | 4 +- ...api_iscreencapturesourcelist_getcount.dita | 2 +- .../api_iscreencapturesourcelist_release.dita | 2 +- .../api_ivideodevicecollection_getcount.dita | 4 +- .../api_ivideodevicecollection_getdevice.dita | 2 +- .../api_ivideodevicecollection_release.dita | 2 +- .../API/api_ivideodevicemanager_release.dita | 2 +- .../api_ivideodevicemanager_setdevice.dita | 4 +- ...ourceobserver_onaudiovolumeindication.dita | 3 +- ...eeventhandler_onaudiovolumeindication.dita | 3 +- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 6 +-- .../config/keys-rtc-ng-api-blueprint.ditamap | 38 +++++++++---------- 18 files changed, 44 insertions(+), 42 deletions(-) diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita index 6c6b661bae5..6ba346ae827 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita @@ -17,8 +17,8 @@ virtual int getCount() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") - int GetCount(); + UFUNCTION(BlueprintPure, Category = "Agora|IAudioDeviceCollection") +int GetCount(); diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita index 44a6eafebcf..9d3d75c506d 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita @@ -18,7 +18,7 @@ virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") - int GetDevice(int index, FString& deviceName, FString& deviceId); +int GetDevice(int index, FString& deviceName, FString& deviceId); abstract getDevice(): string; public abstract string GetDevice(); diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita index 44500366b6b..0ab2073c13f 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita @@ -18,7 +18,7 @@ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") - void Release(); +void Release(); diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita index 14ea47e3614..988deae1dc6 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita @@ -18,7 +18,7 @@ virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") - int SetDevice(FString deviceId); +int SetDevice(const FString & deviceId); public abstract int SetDevice(string deviceIdUTF8); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita index b87043510fa..29d537695de 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita @@ -18,7 +18,7 @@ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") - void Release(); +void Release(); abstract release(): void; abstract release(): void; diff --git a/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita b/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita index 6867a6c9dab..0c3d5b5bc4d 100644 --- a/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita @@ -18,7 +18,7 @@ - (int)selectAudioTrack:(int)index; virtual int selectAudioTrack(int index) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int SelectAudioTrack(int index); +int SelectAudioTrack(int index); abstract selectAudioTrack(index: number): number; public abstract int SelectAudioTrack(int index); abstract selectAudioTrack(index: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita index 6bfa2575521..2d0a0ddcc60 100644 --- a/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita @@ -17,8 +17,8 @@ - (int)selectAudioTrack:(NSInteger)index; virtual int selectAudioTrack(int index) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SelectAudioTrack(int index); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") +int SelectAudioTrack(int index); abstract selectAudioTrack(index: number): number; public abstract int SelectAudioTrack(int index); abstract selectAudioTrack(index: number): number; diff --git a/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita b/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita index b5e8f2a6509..e0bbbdc27e9 100644 --- a/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita +++ b/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita @@ -18,7 +18,7 @@ virtual unsigned int getCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") - int64 GetCount(); +int GetCount(); diff --git a/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita b/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita index 53e5c5f83e4..e36d231d4d8 100644 --- a/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita +++ b/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita @@ -18,7 +18,7 @@ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") - void Release(); +void Release(); diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita b/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita index 1f08ab2e1e2..050c942fe1d 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita @@ -17,8 +17,8 @@ virtual int getCount() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") - int GetCount(); + UFUNCTION(BlueprintPure, Category = "Agora|IVideoDeviceCollection") +int GetCount(); diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita b/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita index cac3d40d130..01655732034 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita @@ -20,7 +20,7 @@ char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") - int GetDevice(int index, FString& deviceNameUTF8, FString& deviceIdUTF8); +int GetDevice(int index, FString& deviceName, FString& deviceId); abstract getDevice(): string; public abstract string GetDevice(); diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_release.dita b/dita/RTC-NG/API/api_ivideodevicecollection_release.dita index a624ce5b44a..8ed87ccc9dd 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_release.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_release.dita @@ -18,7 +18,7 @@ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") - void Release(); +void Release(); diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_release.dita b/dita/RTC-NG/API/api_ivideodevicemanager_release.dita index e16bdce56ef..271e4bc6dd1 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_release.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_release.dita @@ -18,7 +18,7 @@ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") - void Release(); +void Release(); abstract release(): void; abstract release(): void; diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita b/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita index f1a16c22833..bc5da311e99 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita @@ -17,8 +17,8 @@ virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") - int SetDevice(FString deviceIdUTF8); + UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") +int SetDevice(const FString& deviceId); abstract setDevice(deviceIdUTF8: string): number; public abstract int SetDevice(string deviceIdUTF8); abstract setDevice(deviceIdUTF8: string): number; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita index 8f98d0acf3f..a29e605e485 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita @@ -19,7 +19,8 @@ volumeIndicationDidReceive:(NSInteger)volume; virtual void onAudioVolumeIndication(int volume) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioVolumeIndicationSource, int, volume); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") +void OnAudioVolumeIndication(int volume); onAudioVolumeIndication?(volume: number): void; public virtual void OnAudioVolumeIndication(int volume) {} onAudioVolumeIndication?(volume: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita index 70c1dfecef3..9acb12e4036 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita @@ -25,7 +25,8 @@ (void)speakerNumber; (void)totalVolume; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnAudioVolumeIndication, const TArray<FAudioVolumeInfo>&, speakers, int, totalVolume); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") +void OnAudioVolumeIndication(const TArray<FAudioVolumeInfo>& speakers, int totalVolume); onAudioVolumeIndication?(connection: RtcConnection, speakers: AudioVolumeInfo[], speakerNumber: number, totalVolume: number): void; public virtual void OnAudioVolumeIndication(RtcConnection connection, AudioVolumeInfo[] speakers, uint speakerNumber, int totalVolume) {} onAudioVolumeIndication?( diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 0e6179290ca..55dbf09d826 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -24,10 +24,10 @@ - + - + @@ -176,7 +176,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 4d0deeeac10..59caf6ccfbe 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -238,7 +238,7 @@ - + IBaseSpatialAudioEngine @@ -259,7 +259,7 @@ - + ILocalSpatialAudioEngine @@ -652,11 +652,11 @@ - open + Open - + open @@ -1618,7 +1618,7 @@ - getCount + GetCount @@ -1646,7 +1646,7 @@ - release + Release @@ -2102,7 +2102,7 @@ - + @@ -2188,7 +2188,7 @@ - + @@ -3204,7 +3204,7 @@ - getCount + GetCount @@ -3239,7 +3239,7 @@ - setDevice + SetDevice @@ -3274,7 +3274,7 @@ - release + Release @@ -3495,7 +3495,7 @@ - release + Release @@ -3562,35 +3562,35 @@ - release + Release - getCount + GetCount - getDevice + GetDevice - setDevice + SetDevice - release + Release @@ -4504,7 +4504,7 @@ - onAudioVolumeIndication + OnAudioVolumeIndication @@ -4699,7 +4699,7 @@ - onAudioVolumeIndication + OnAudioVolumeIndication From 50f74d89872d45132a084e2d175a63d94d41b8f1 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 14 Aug 2024 19:48:14 +0800 Subject: [PATCH 07/25] 2.3 ue bp script check --- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 24 +-- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 102 +++++------ .../config/keys-rtc-ng-api-blueprint.ditamap | 170 +++++++++--------- 3 files changed, 148 insertions(+), 148 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index 416a7e4ccbd..d0d717e3726 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -174,7 +174,7 @@
  • -
  • +
  • @@ -182,10 +182,10 @@
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
    • @@ -193,12 +193,12 @@
  • -
  • +
  • -
  • +
  • @@ -225,7 +225,7 @@
  • -
  • +
  • @@ -481,15 +481,15 @@
  • -
  • -
  • -
  • +
  • +
  • +
  • -
  • +
  • diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 55dbf09d826..43aa63c1454 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -19,35 +19,35 @@ - - - - - + + + + + - - + + - + - - + + - - - + + + - + - - + + @@ -200,7 +200,7 @@ - + @@ -218,13 +218,13 @@ - - + + - + @@ -238,7 +238,7 @@ - + @@ -323,7 +323,7 @@ - + @@ -378,7 +378,7 @@ - + @@ -391,11 +391,11 @@ - + - + @@ -460,7 +460,7 @@ - + @@ -490,7 +490,7 @@ - + @@ -506,15 +506,15 @@ - - + + - - + + - + - + @@ -523,10 +523,10 @@ - + - + @@ -540,7 +540,7 @@ - + @@ -574,18 +574,18 @@ - - - - + + + + - + - - - + + + @@ -613,7 +613,7 @@ - + @@ -646,7 +646,7 @@ - + @@ -781,7 +781,7 @@ - + @@ -809,10 +809,10 @@ - - - - + + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 59caf6ccfbe..6f389b885b0 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -119,35 +119,35 @@
    - + IAudioEncodedFrameObserver - + IAudioFrameObserver - + IAudioFrameObserverBase - + IAudioPcmFrameSink - + IMediaEngine @@ -161,14 +161,14 @@ - + IMediaPlayerCacheManager - + IMediaPlayerCustomDataProvider @@ -182,56 +182,56 @@ - + IMediaRecorder - + IMediaRecorderObserver - + IMetadataObserver - + IPacketObserver - + IVideoEncodedFrameObserver - + IVideoFrameObserver - + IFaceInfoObserver - + IAudioSpectrumObserver @@ -259,6 +259,13 @@ + + + + IDirectCdnStreamingEventHandler + + + @@ -523,7 +530,7 @@ - + enableAutoRemoveCache @@ -537,14 +544,14 @@ - + getCacheDir - + getCacheFileCount @@ -558,21 +565,21 @@ - + getMaxCacheFileCount - + getMaxCacheFileSize - + getMediaPlayerCacheManager @@ -677,35 +684,35 @@ - + removeAllCaches - + removeCacheByUri - + removeOldCache - + registerAudioFrameObserver [1/2] - + registerAudioFrameObserver [2/2] @@ -719,7 +726,7 @@ - + registerVideoFrameObserver @@ -775,7 +782,7 @@ - + setCacheDir @@ -789,14 +796,14 @@ - + setMaxCacheFileCount - + setMaxCacheFileSize @@ -845,7 +852,7 @@ - + unregisterAudioFrameObserver @@ -859,7 +866,7 @@ - + unregisterVideoFrameObserver @@ -1296,7 +1303,7 @@ - + registerFaceInfoObserver @@ -2342,7 +2349,7 @@ - + setLiveTranscoding @@ -2469,13 +2476,6 @@ - - - - setEarMonitoringAudioFrameParameters - - - @@ -2596,7 +2596,7 @@
    - + @@ -2633,7 +2633,7 @@ - + @@ -2714,7 +2714,7 @@ - + @@ -2730,7 +2730,7 @@ - + @@ -2760,7 +2760,7 @@ - + @@ -2782,6 +2782,13 @@ + + + + setEarMonitoringAudioFrameParameters + + + @@ -2804,7 +2811,7 @@ - + @@ -2908,7 +2915,7 @@ - + @@ -2976,35 +2983,35 @@ - + registerPacketObserver - + onReceiveAudioPacket - + onReceiveVideoPacket - + onSendAudioPacket - + onSendVideoPacket @@ -3042,7 +3049,7 @@ - + @@ -3619,7 +3626,7 @@ - + adjustCustomAudioPlayoutVolume @@ -3641,7 +3648,7 @@ - + @@ -3910,7 +3917,7 @@ - + @@ -4550,14 +4557,14 @@ - + onReadData - + onSeek @@ -4600,7 +4607,7 @@ - + @@ -4754,7 +4761,7 @@ - + @@ -4770,7 +4777,7 @@ - + @@ -4828,7 +4835,7 @@ - + @@ -4900,7 +4907,7 @@ - + @@ -4916,7 +4923,7 @@ - + @@ -5110,7 +5117,7 @@ - + onFaceInfo @@ -5351,13 +5358,6 @@ - - - - IDirectCdnStreamingEventHandler - - - @@ -5428,7 +5428,7 @@ - + LocalSpatialAudioConfig @@ -5491,42 +5491,42 @@ - + Music - + MusicCacheInfo - + MusicChartInfo - + MusicCollection - + MusicChartCollection - + MusicContentCenterConfiguration @@ -5715,7 +5715,7 @@ - + SpatialAudioZone @@ -10267,7 +10267,7 @@ - + MUSIC_CACHE_STATUS_TYPE @@ -10288,7 +10288,7 @@ - + MusicContentCenterStateReason @@ -10351,7 +10351,7 @@ - + MusicPlayMode @@ -10470,7 +10470,7 @@ - + PreloadState From 9365f45dd9735828ae312adc3433482baaea99db Mon Sep 17 00:00:00 2001 From: jinyu Date: Thu, 15 Aug 2024 11:04:27 +0800 Subject: [PATCH 08/25] 2.3 ue bp script check --- ...devicecollection_getapplicationvolume.dita | 2 +- ...evicemanager_enumerateplaybackdevices.dita | 2 +- ...vicemanager_enumeraterecordingdevices.dita | 2 +- dita/RTC-NG/API/api_imediaplayer_getmute.dita | 2 +- .../api_imediaplayer_getplayoutvolume.dita | 2 +- ...i_imediaplayer_getpublishsignalvolume.dita | 2 +- dita/RTC-NG/API/api_imediaplayer_open.dita | 2 +- .../api_imediaplayer_playpreloadedsrc.dita | 2 +- .../API/api_imediaplayer_preloadsrc.dita | 2 +- ...pi_imediaplayer_selectmultiaudiotrack.dita | 3 +- .../API/api_imediaplayer_setplayeroption.dita | 2 + .../api_imediaplayer_setplayeroption2.dita | 2 + .../API/api_imediaplayer_switchsrc.dita | 2 +- .../API/api_imediaplayer_unloadsrc.dita | 2 +- .../api_irtcengine_addvideowatermark2.dita | 4 +- ...engine_adjustaudiomixingplayoutvolume.dita | 2 +- ...engine_adjustaudiomixingpublishvolume.dita | 2 +- ...pi_irtcengine_adjustaudiomixingvolume.dita | 2 +- ...engine_adjustcustomaudioplayoutvolume.dita | 2 +- ...engine_adjustcustomaudiopublishvolume.dita | 2 +- ...irtcengine_adjustloopbacksignalvolume.dita | 2 +- ...irtcengine_adjustplaybacksignalvolume.dita | 4 +- ...rtcengine_adjustrecordingsignalvolume.dita | 4 +- ...engine_adjustuserplaybacksignalvolume.dita | 4 +- .../api_irtcengine_clearvideowatermarks.dita | 2 +- dita/RTC-NG/API/api_irtcengine_complain.dita | 4 +- .../api_irtcengine_configrhythmplayer.dita | 2 +- .../API/api_irtcengine_createdatastream2.dita | 4 +- .../API/api_irtcengine_disableaudio.dita | 2 +- .../API/api_irtcengine_disablevideo.dita | 2 +- .../API/api_irtcengine_enableaudio.dita | 2 +- ...rtcengine_enableaudiovolumeindication.dita | 4 +- .../api_irtcengine_enablecontentinspect.dita | 4 +- .../api_irtcengine_enabledualstreammode3.dita | 2 +- .../API/api_irtcengine_enableencryption.dita | 2 +- .../API/api_irtcengine_enableextension.dita | 4 +- .../api_irtcengine_enablefacedetection.dita | 2 +- ...api_irtcengine_enableinearmonitoring2.dita | 4 +- ...rtcengine_enableinstantmediarendering.dita | 2 +- .../API/api_irtcengine_enablelocalaudio.dita | 2 +- .../API/api_irtcengine_enablelocalvideo.dita | 2 +- ...pi_irtcengine_enableloopbackrecording.dita | 4 +- .../API/api_irtcengine_enablemulticamera.dita | 2 +- ...cengine_enablesoundpositionindication.dita | 2 +- .../api_irtcengine_enablespatialaudio.dita | 2 +- .../API/api_irtcengine_enablevideo.dita | 2 +- ...api_irtcengine_enablevideoimagesource.dita | 2 +- ...pi_irtcengine_enablevirtualbackground.dita | 2 +- ...tcengine_enablewebsdkinteroperability.dita | 2 +- .../api_irtcengine_getaudiodeviceinfo.dita | 2 +- ...cengine_getaudiomixingcurrentposition.dita | 2 +- ...api_irtcengine_getaudiomixingduration.dita | 2 +- ...rtcengine_getaudiomixingplayoutvolume.dita | 2 +- ...rtcengine_getaudiomixingpublishvolume.dita | 2 +- .../api_irtcengine_getaudiotrackcount.dita | 2 +- dita/RTC-NG/API/api_irtcengine_getcallid.dita | 2 +- ...api_irtcengine_getcameramaxzoomfactor.dita | 2 +- .../api_irtcengine_getconnectionstate.dita | 4 +- ...i_irtcengine_geteffectcurrentposition.dita | 2 +- .../API/api_irtcengine_geteffectduration.dita | 4 +- .../API/api_irtcengine_geteffectsvolume.dita | 2 +- .../api_irtcengine_geterrordescription.dita | 2 +- .../api_irtcengine_getextensionproperty2.dita | 4 +- .../API/api_irtcengine_getnetworktype.dita | 2 +- .../api_irtcengine_getntpwalltimeinms.dita | 2 +- ...pi_irtcengine_getscreencapturesources.dita | 4 +- .../API/api_irtcengine_getuserinfobyuid.dita | 2 +- ...i_irtcengine_getuserinfobyuseraccount.dita | 4 +- .../RTC-NG/API/api_irtcengine_getversion.dita | 4 +- .../API/api_irtcengine_getvolumeofeffect.dita | 2 +- .../RTC-NG/API/api_irtcengine_initialize.dita | 2 +- ...iscameraautoexposurefacemodesupported.dita | 2 +- ...ne_iscameraautofocusfacemodesupported.dita | 2 +- ...ine_iscameraexposurepositionsupported.dita | 2 +- ..._irtcengine_iscameraexposuresupported.dita | 2 + ...rtcengine_iscamerafacedetectsupported.dita | 2 +- ...api_irtcengine_iscamerafocussupported.dita | 2 +- ...api_irtcengine_iscameratorchsupported.dita | 2 +- .../api_irtcengine_iscamerazoomsupported.dita | 2 +- ...irtcengine_isfeatureavailableondevice.dita | 4 +- .../api_irtcengine_isspeakerphoneenabled.dita | 2 +- .../API/api_irtcengine_joinchannel.dita | 2 + .../API/api_irtcengine_joinchannel2.dita | 4 +- ...rtcengine_joinchannelwithuseraccount2.dita | 4 +- ...tcengine_joinchannelwithuseraccountex.dita | 4 +- .../API/api_irtcengine_leavechannel.dita | 2 + .../API/api_irtcengine_leavechannel2.dita | 4 +- .../api_irtcengine_loadextensionprovider.dita | 4 +- ..._irtcengine_muteallremoteaudiostreams.dita | 2 +- ..._irtcengine_muteallremotevideostreams.dita | 2 +- .../api_irtcengine_mutelocalaudiostream.dita | 2 +- .../api_irtcengine_mutelocalvideostream.dita | 2 +- .../api_irtcengine_muterecordingsignal.dita | 4 +- .../api_irtcengine_muteremoteaudiostream.dita | 2 +- .../api_irtcengine_muteremotevideostream.dita | 2 +- ..._irtcengine_pauseallchannelmediarelay.dita | 2 +- .../API/api_irtcengine_pausealleffects.dita | 2 +- .../API/api_irtcengine_pauseaudiomixing.dita | 2 +- .../API/api_irtcengine_pauseeffect.dita | 2 +- .../API/api_irtcengine_playalleffects.dita | 2 +- .../API/api_irtcengine_playeffect3.dita | 4 +- .../API/api_irtcengine_preloadchannel.dita | 2 + ...cengine_preloadchannelwithuseraccount.dita | 2 + .../API/api_irtcengine_preloadeffect.dita | 4 +- ...gine_querycamerafocallengthcapability.dita | 3 +- .../api_irtcengine_querycodeccapability.dita | 4 +- .../API/api_irtcengine_querydevicescore.dita | 3 +- ...tcengine_queryscreencapturecapability.dita | 2 +- dita/RTC-NG/API/api_irtcengine_rate.dita | 4 +- .../API/api_irtcengine_registerextension.dita | 4 +- ...i_irtcengine_registerlocaluseraccount.dita | 4 +- .../RTC-NG/API/api_irtcengine_renewtoken.dita | 4 +- ...irtcengine_resumeallchannelmediarelay.dita | 2 +- .../API/api_irtcengine_resumealleffects.dita | 2 +- .../API/api_irtcengine_resumeaudiomixing.dita | 2 +- .../API/api_irtcengine_resumeeffect.dita | 2 +- ...pi_irtcengine_sendcustomreportmessage.dita | 4 +- .../API/api_irtcengine_sendstreammessage.dita | 4 +- ...pi_irtcengine_setadvancedaudiooptions.dita | 2 +- .../API/api_irtcengine_setainsmode.dita | 2 +- ...i_irtcengine_setaudioeffectparameters.dita | 2 +- .../api_irtcengine_setaudioeffectpreset.dita | 2 +- ...irtcengine_setaudiomixingdualmonomode.dita | 2 +- .../api_irtcengine_setaudiomixingpitch.dita | 2 +- ...rtcengine_setaudiomixingplaybackspeed.dita | 3 +- ...api_irtcengine_setaudiomixingposition.dita | 2 +- .../API/api_irtcengine_setaudioprofile.dita | 4 +- .../API/api_irtcengine_setaudioprofile2.dita | 2 + .../API/api_irtcengine_setaudioscenario.dita | 2 +- ...e_setaudiosessionoperationrestriction.dita | 2 +- .../API/api_irtcengine_setavsyncsource.dita | 4 +- ...api_irtcengine_setbeautyeffectoptions.dita | 2 +- ..._setcameraautoexposurefacemodeenabled.dita | 2 +- ...ine_setcameraautofocusfacemodeenabled.dita | 4 +- ...engine_setcameracapturerconfiguration.dita | 4 +- ...irtcengine_setcameradeviceorientation.dita | 2 +- ...pi_irtcengine_setcameraexposurefactor.dita | 2 + ..._irtcengine_setcameraexposureposition.dita | 2 +- ...ngine_setcamerafocuspositioninpreview.dita | 2 +- ...irtcengine_setcamerastabilizationmode.dita | 3 +- .../API/api_irtcengine_setcameratorchon.dita | 2 +- .../api_irtcengine_setcamerazoomfactor.dita | 2 +- .../API/api_irtcengine_setchannelprofile.dita | 2 +- .../API/api_irtcengine_setclientrole2.dita | 4 +- .../API/api_irtcengine_setcloudproxy.dita | 2 +- ...api_irtcengine_setcolorenhanceoptions.dita | 2 +- ...ne_setdefaultaudioroutetospeakerphone.dita | 2 +- ...tdirectcdnstreamingaudioconfiguration.dita | 2 +- ...tdirectcdnstreamingvideoconfiguration.dita | 2 +- .../api_irtcengine_setdualstreammode2.dita | 2 +- .../API/api_irtcengine_seteffectposition.dita | 2 +- .../API/api_irtcengine_seteffectsvolume.dita | 4 +- .../api_irtcengine_setenablespeakerphone.dita | 2 +- .../api_irtcengine_setextensionproperty.dita | 4 +- ...tcengine_setextensionproviderproperty.dita | 4 +- ...i_irtcengine_setheadphoneeqparameters.dita | 2 +- .../api_irtcengine_setheadphoneeqpreset.dita | 2 +- ...i_irtcengine_setinearmonitoringvolume.dita | 4 +- .../api_irtcengine_setlocalaccesspoint.dita | 2 +- .../api_irtcengine_setlocalrendermode2.dita | 2 +- ...pi_irtcengine_setlocalvideomirrormode.dita | 2 +- ..._irtcengine_setlocalvoiceequalization.dita | 2 +- .../api_irtcengine_setlocalvoiceformant.dita | 4 +- .../api_irtcengine_setlocalvoicepitch.dita | 2 +- .../api_irtcengine_setlocalvoicereverb.dita | 2 +- .../RTC-NG/API/api_irtcengine_setlogfile.dita | 4 +- .../API/api_irtcengine_setlogfilesize.dita | 2 +- .../API/api_irtcengine_setlogfilter.dita | 2 +- .../API/api_irtcengine_setloglevel.dita | 2 +- ..._irtcengine_setlowlightenhanceoptions.dita | 2 +- .../API/api_irtcengine_setparameters.dita | 4 +- ...ngine_setremotedefaultvideostreamtype.dita | 2 +- .../api_irtcengine_setremoterendermode2.dita | 2 +- ...gine_setremotesubscribefallbackoption.dita | 2 + ...ngine_setremoteuserspatialaudioparams.dita | 2 +- ...i_irtcengine_setremotevideostreamtype.dita | 2 +- ...ine_setremotevideosubscriptionoptions.dita | 2 +- ...api_irtcengine_setremotevoiceposition.dita | 2 +- ...rtcengine_setrouteincommunicationmode.dita | 2 + ...rtcengine_setscreencapturecontenthint.dita | 2 +- ...i_irtcengine_setscreencapturescenario.dita | 2 +- ...irtcengine_setsubscribeaudioallowlist.dita | 2 +- ...irtcengine_setsubscribeaudioblocklist.dita | 2 +- ...irtcengine_setsubscribevideoallowlist.dita | 2 +- ...irtcengine_setsubscribevideoblocklist.dita | 2 +- .../API/api_irtcengine_setuplocalvideo.dita | 2 +- .../API/api_irtcengine_setupremotevideo.dita | 2 +- ...pi_irtcengine_setvideodenoiseroptions.dita | 2 +- ...tcengine_setvideoencoderconfiguration.dita | 2 +- .../API/api_irtcengine_setvideoscenario.dita | 2 +- ...tcengine_setvoicebeautifierparameters.dita | 2 +- ...i_irtcengine_setvoicebeautifierpreset.dita | 2 +- ...i_irtcengine_setvoiceconversionpreset.dita | 2 +- .../API/api_irtcengine_setvolumeofeffect.dita | 4 +- .../API/api_irtcengine_startaudiomixing2.dita | 4 +- .../api_irtcengine_startaudiorecording3.dita | 2 +- .../api_irtcengine_startcameracapture.dita | 2 +- .../API/api_irtcengine_startechotest3.dita | 2 +- ...api_irtcengine_startlastmileprobetest.dita | 2 +- ..._irtcengine_startlocalvideotranscoder.dita | 2 +- ...irtcengine_startmediarenderingtracing.dita | 2 +- ...engine_startorupdatechannelmediarelay.dita | 2 +- .../API/api_irtcengine_startpreview2.dita | 2 +- .../API/api_irtcengine_startrhythmplayer.dita | 4 +- ...ine_startrtmpstreamwithouttranscoding.dita | 4 +- ...engine_startrtmpstreamwithtranscoding.dita | 4 +- .../api_irtcengine_startscreencapture.dita | 2 +- .../api_irtcengine_startscreencapture2.dita | 2 +- ...cengine_startscreencapturebydisplayid.dita | 4 +- ...engine_startscreencapturebyscreenrect.dita | 2 +- ...tcengine_startscreencapturebywindowid.dita | 2 +- .../API/api_irtcengine_stopalleffects.dita | 2 +- .../API/api_irtcengine_stopaudiomixing.dita | 2 +- .../api_irtcengine_stopaudiorecording.dita | 2 +- .../API/api_irtcengine_stopcameracapture.dita | 2 +- .../api_irtcengine_stopchannelmediarelay.dita | 2 +- .../API/api_irtcengine_stopechotest.dita | 2 +- .../RTC-NG/API/api_irtcengine_stopeffect.dita | 2 +- .../api_irtcengine_stoplastmileprobetest.dita | 2 +- ...i_irtcengine_stoplocalvideotranscoder.dita | 2 +- .../API/api_irtcengine_stoppreview2.dita | 2 +- .../API/api_irtcengine_stoprhythmplayer.dita | 2 +- .../API/api_irtcengine_stoprtmpstream.dita | 4 +- .../API/api_irtcengine_stopscreencapture.dita | 2 +- .../api_irtcengine_stopscreencapture2.dita | 2 +- .../API/api_irtcengine_switchcamera.dita | 4 +- .../API/api_irtcengine_takesnapshot.dita | 4 +- .../API/api_irtcengine_unloadalleffects.dita | 2 +- .../API/api_irtcengine_unloadeffect.dita | 4 +- ..._irtcengine_updatechannelmediaoptions.dita | 2 +- ...ne_updatelocaltranscoderconfiguration.dita | 2 +- ..._irtcengine_updatepreloadchanneltoken.dita | 2 + .../api_irtcengine_updatertmptranscoding.dita | 4 +- .../api_irtcengine_updatescreencapture.dita | 2 +- ...cengine_updatescreencaptureparameters.dita | 2 +- ..._irtcengine_updatescreencaptureregion.dita | 2 +- .../api_irtcengineex_addvideowatermarkex.dita | 4 +- ...neex_adjustuserplaybacksignalvolumeex.dita | 2 +- ...pi_irtcengineex_clearvideowatermarkex.dita | 2 +- .../api_irtcengineex_createdatastreamex2.dita | 4 +- ...ngineex_enableaudiovolumeindicationex.dita | 2 +- ...i_irtcengineex_enablecontentinspectex.dita | 4 +- ...i_irtcengineex_enabledualstreammodeex.dita | 2 +- .../api_irtcengineex_enableencryptionex.dita | 3 +- ...rtcengineex_enableloopbackrecordingex.dita | 4 +- .../API/api_irtcengineex_getcallidex.dita | 3 +- ...api_irtcengineex_getconnectionstateex.dita | 4 +- .../API/api_irtcengineex_joinchannelex.dita | 4 +- .../API/api_irtcengineex_leavechannelex2.dita | 2 +- ...cengineex_muteallremoteaudiostreamsex.dita | 2 +- ...cengineex_muteallremotevideostreamsex.dita | 2 +- ...i_irtcengineex_mutelocalaudiostreamex.dita | 2 +- ...i_irtcengineex_mutelocalvideostreamex.dita | 2 +- ..._irtcengineex_muteremoteaudiostreamex.dita | 2 +- ..._irtcengineex_muteremotevideostreamex.dita | 2 +- ...cengineex_pauseallchannelmediarelayex.dita | 2 +- ...engineex_resumeallchannelmediarelayex.dita | 2 +- ...rtcengineex_sendcustomreportmessageex.dita | 4 +- .../api_irtcengineex_sendstreammessageex.dita | 4 +- .../api_irtcengineex_setdualstreammodeex.dita | 2 +- ...pi_irtcengineex_setremoterendermodeex.dita | 2 +- ...tcengineex_setremotevideostreamtypeex.dita | 2 +- ...x_setremotevideosubscriptionoptionsex.dita | 2 +- ...irtcengineex_setremotevoicepositionex.dita | 2 +- ...engineex_setsubscribeaudioallowlistex.dita | 2 +- ...engineex_setsubscribeaudioblocklistex.dita | 2 +- ...engineex_setsubscribevideoallowlistex.dita | 2 +- ...engineex_setsubscribevideoblocklistex.dita | 2 +- .../api_irtcengineex_setupremotevideoex.dita | 2 +- ...gineex_setvideoencoderconfigurationex.dita | 2 +- ...engineex_startmediarenderingtracingex.dita | 2 +- ...neex_startorupdatechannelmediarelayex.dita | 2 +- ...x_startrtmpstreamwithouttranscodingex.dita | 4 +- ...neex_startrtmpstreamwithtranscodingex.dita | 4 +- ..._irtcengineex_stopchannelmediarelayex.dita | 2 +- .../api_irtcengineex_stoprtmpstreamex.dita | 4 +- .../API/api_irtcengineex_takesnapshotex.dita | 4 +- ...cengineex_updatechannelmediaoptionsex.dita | 2 +- ..._irtcengineex_updatertmptranscodingex.dita | 2 +- ...screencapturesourcelist_getsourceinfo.dita | 2 +- ...eodevicemanager_enumeratevideodevices.dita | 2 +- ...imediaplayersourceobserver_onmetadata.dita | 3 +- ...yersourceobserver_onplaybufferupdated.dita | 3 +- ...ayersourceobserver_onplayercachestats.dita | 3 +- ...diaplayersourceobserver_onplayerevent.dita | 3 +- ...yersourceobserver_onplayerinfoupdated.dita | 3 +- ...rsourceobserver_onplayerplaybackstats.dita | 3 +- ...ceobserver_onplayersourcestatechanged.dita | 3 +- ...sourceobserver_onplayersrcinfochanged.dita | 3 +- ...layersourceobserver_onpositionchanged.dita | 3 +- ...iaplayersourceobserver_onpreloadevent.dita | 3 +- ...rtcengineeventhandler_onactivespeaker.dita | 3 +- ...venthandler_onaudiodevicestatechanged.dita | 3 +- ...enthandler_onaudiodevicevolumechanged.dita | 3 +- ...ineeventhandler_onaudioeffectfinished.dita | 3 +- ...ineeventhandler_onaudiomixingfinished.dita | 3 +- ...thandler_onaudiomixingpositionchanged.dita | 3 +- ...venthandler_onaudiomixingstatechanged.dita | 3 +- ...enthandler_onaudiopublishstatechanged.dita | 3 +- ...irtcengineeventhandler_onaudioquality.dita | 3 +- ...ineeventhandler_onaudioroutingchanged.dita | 3 +- ...thandler_onaudiosubscribestatechanged.dita | 3 +- ...nthandler_oncameraexposureareachanged.dita | 3 +- ...eventhandler_oncamerafocusareachanged.dita | 3 +- ..._irtcengineeventhandler_oncameraready.dita | 3 +- ...ndler_onchannelmediarelaystatechanged.dita | 3 +- ...ngineeventhandler_onclientrolechanged.dita | 3 +- ...eventhandler_onclientrolechangefailed.dita | 3 +- ...engineeventhandler_onconnectionbanned.dita | 3 +- ...eeventhandler_onconnectioninterrupted.dita | 3 +- ...tcengineeventhandler_onconnectionlost.dita | 3 +- ...eventhandler_onconnectionstatechanged.dita | 3 +- ...cengineeventhandler_onencryptionerror.dita | 3 +- ...llback_irtcengineeventhandler_onerror.dita | 3 +- ...nthandler_onextensionerrorwithcontext.dita | 3 +- ...nthandler_onextensioneventwithcontext.dita | 3 +- ...handler_onextensionstartedwithcontext.dita | 3 +- ...handler_onextensionstoppedwithcontext.dita | 3 +- ...ineeventhandler_onfacepositionchanged.dita | 3 +- ...ndler_onfirstlocalaudioframepublished.dita | 3 +- ...neeventhandler_onfirstlocalvideoframe.dita | 3 +- ...ndler_onfirstlocalvideoframepublished.dita | 3 +- ...venthandler_onfirstremoteaudiodecoded.dita | 3 +- ...eeventhandler_onfirstremoteaudioframe.dita | 3 +- ...venthandler_onfirstremotevideodecoded.dita | 3 +- ...eeventhandler_onfirstremotevideoframe.dita | 3 +- ...gineeventhandler_onjoinchannelsuccess.dita | 3 +- ...ineeventhandler_onlastmileproberesult.dita | 3 +- ...cengineeventhandler_onlastmilequality.dita | 3 +- ...irtcengineeventhandler_onleavechannel.dita | 3 +- ...eventhandler_onlocalaudiostatechanged.dita | 3 +- ...cengineeventhandler_onlocalaudiostats.dita | 3 +- ...ineeventhandler_onlocaluserregistered.dita | 3 +- ...eventhandler_onlocalvideostatechanged.dita | 3 +- ...cengineeventhandler_onlocalvideostats.dita | 3 +- ...nthandler_onlocalvideotranscodererror.dita | 3 +- ...tcengineeventhandler_onnetworkquality.dita | 3 +- ...gineeventhandler_onnetworktypechanged.dita | 3 +- ...cengineeventhandler_onpermissionerror.dita | 3 +- ...tcengineeventhandler_onproxyconnected.dita | 3 +- ...neeventhandler_onrejoinchannelsuccess.dita | 3 +- ...venthandler_onremoteaudiostatechanged.dita | 3 +- ...engineeventhandler_onremoteaudiostats.dita | 3 +- ...nthandler_onremoteaudiotransportstats.dita | 3 +- ..._onremotesubscribefallbacktoaudioonly.dita | 2 + ...venthandler_onremotevideostatechanged.dita | 3 +- ...engineeventhandler_onremotevideostats.dita | 3 +- ...nthandler_onremotevideotransportstats.dita | 3 +- ...irtcengineeventhandler_onrequesttoken.dita | 3 +- ...enthandler_onrhythmplayerstatechanged.dita | 3 +- ...ack_irtcengineeventhandler_onrtcstats.dita | 3 +- ...gineeventhandler_onrtmpstreamingevent.dita | 3 +- ...nthandler_onrtmpstreamingstatechanged.dita | 3 +- ...rtcengineeventhandler_onsnapshottaken.dita | 3 +- ...rtcengineeventhandler_onstreammessage.dita | 3 +- ...gineeventhandler_onstreammessageerror.dita | 3 +- ...enthandler_ontokenprivilegewillexpire.dita | 3 +- ...thandler_ontranscodedstreamlayoutinfo.dita | 3 +- ...gineeventhandler_ontranscodingupdated.dita | 3 +- ...enthandler_onuplinknetworkinfoupdated.dita | 3 +- ...neeventhandler_onuserenablelocalvideo.dita | 3 +- ...cengineeventhandler_onuserenablevideo.dita | 3 +- ...cengineeventhandler_onuserinfoupdated.dita | 3 +- ...k_irtcengineeventhandler_onuserjoined.dita | 3 +- ...rtcengineeventhandler_onusermuteaudio.dita | 3 +- ...rtcengineeventhandler_onusermutevideo.dita | 3 +- ..._irtcengineeventhandler_onuseroffline.dita | 3 +- ...venthandler_onvideodevicestatechanged.dita | 3 +- ...enthandler_onvideopublishstatechanged.dita | 3 +- ...handler_onvideorenderingtracingresult.dita | 3 +- ...engineeventhandler_onvideosizechanged.dita | 3 +- ...irtcengineeventhandler_onvideostopped.dita | 3 +- ...thandler_onvideosubscribestatechanged.dita | 3 +- .../class_Localaccesspointconfiguration.dita | 51 +- .../API/class_advancedaudiooptions.dita | 18 +- dita/RTC-NG/API/class_advancedconfiginfo.dita | 17 +- dita/RTC-NG/API/class_advanceoptions.dita | 23 +- .../API/class_agorarhythmplayerconfig.dita | 15 +- .../class_audiorecordingconfiguration.dita | 32 +- dita/RTC-NG/API/class_audiovolumeinfo.dita | 27 +- dita/RTC-NG/API/class_beautyoptions.dita | 29 +- dita/RTC-NG/API/class_cachestatistics.dita | 24 +- .../class_cameracapturerconfiguration.dita | 61 +- dita/RTC-NG/API/class_channelmediainfo.dita | 32 +- .../RTC-NG/API/class_channelmediaoptions.dita | 207 ++- .../class_channelmediarelayconfiguration.dita | 28 +- dita/RTC-NG/API/class_clientroleoptions.dita | 13 +- dita/RTC-NG/API/class_codeccapinfo.dita | 24 +- dita/RTC-NG/API/class_codeccaplevels.dita | 23 + .../RTC-NG/API/class_colorenhanceoptions.dita | 19 +- .../API/class_contentinspectconfig.dita | 35 +- .../API/class_contentinspectmodule.dita | 19 +- dita/RTC-NG/API/class_datastreamconfig.dita | 19 +- dita/RTC-NG/API/class_deviceinfo.dita | 15 +- .../API/class_directcdnstreamingstats.dita | 31 +- .../API/class_echotestconfiguration.dita | 30 +- dita/RTC-NG/API/class_encryptionconfig.dita | 41 +- dita/RTC-NG/API/class_extensioncontext.dita | 32 +- dita/RTC-NG/API/class_focallengthinfo.dita | 23 +- dita/RTC-NG/API/class_imagetrackoptions.dita | 18 +- .../RTC-NG/API/class_lastmileprobeconfig.dita | 27 +- .../API/class_lastmileprobeonewayresult.dita | 28 +- .../RTC-NG/API/class_lastmileproberesult.dita | 33 +- .../RTC-NG/API/class_leavechanneloptions.dita | 24 +- .../API/class_livestreamadvancedfeature.dita | 21 +- dita/RTC-NG/API/class_livetranscoding.dita | 82 +- dita/RTC-NG/API/class_localaudiostats.dita | 45 +- .../class_localtranscoderconfiguration.dita | 29 +- dita/RTC-NG/API/class_localvideostats.dita | 104 +- .../RTC-NG/API/class_loguploadserverinfo.dita | 34 +- .../API/class_lowlightenhanceoptions.dita | 14 + .../RTC-NG/API/class_playerplaybackstats.dita | 33 +- dita/RTC-NG/API/class_playerstreaminfo.dita | 64 +- dita/RTC-NG/API/class_playerupdatedinfo.dita | 43 +- dita/RTC-NG/API/class_rectangle.dita | 27 +- dita/RTC-NG/API/class_remoteaudiostats.dita | 87 +- dita/RTC-NG/API/class_remotevideostats.dita | 85 +- dita/RTC-NG/API/class_rtcconnection.dita | 21 +- dita/RTC-NG/API/class_rtcengineconfig.dita | 43 +- dita/RTC-NG/API/class_rtcimage.dita | 46 +- dita/RTC-NG/API/class_rtcstats.dita | 146 ++- .../API/class_screenaudioparameters.dita | 29 +- .../API/class_screencaptureconfiguration.dita | 36 +- .../API/class_screencaptureparameters.dita | 40 +- .../API/class_screencaptureparameters2.dita | 31 +- .../API/class_screencapturesourceinfo.dita | 72 +- .../API/class_screenvideoparameters.dita | 35 +- .../API/class_segmentationproperty.dita | 15 +- .../API/class_simulcaststreamconfig.dita | 24 +- dita/RTC-NG/API/class_spatialaudioparams.dita | 75 +- dita/RTC-NG/API/class_srcinfo.dita | 20 +- dita/RTC-NG/API/class_thumbimagebuffer.dita | 61 +- dita/RTC-NG/API/class_transcodinguser.dita | 43 +- .../API/class_transcodingvideostream.dita | 58 +- dita/RTC-NG/API/class_uplinknetworkinfo.dita | 18 +- dita/RTC-NG/API/class_userinfo.dita | 19 +- dita/RTC-NG/API/class_videocanvas.dita | 57 +- .../API/class_videodenoiseroptions.dita | 15 +- dita/RTC-NG/API/class_videodimensions.dita | 20 +- .../API/class_videoencoderconfiguration.dita | 39 +- dita/RTC-NG/API/class_videoformat.dita | 17 +- dita/RTC-NG/API/class_videolayout.dita | 56 +- .../API/class_videorenderingtracinginfo.dita | 40 +- .../API/class_videosubscriptionoptions.dita | 22 +- .../API/class_virtualbackgroundsource.dita | 22 +- dita/RTC-NG/API/class_watermarkoptions.dita | 33 +- dita/RTC-NG/API/class_watermarkratio.dita | 29 +- .../config/keys-rtc-ng-api-blueprint.ditamap | 1106 ++++++++--------- 448 files changed, 3478 insertions(+), 1476 deletions(-) diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita index 08e5cf06172..885101e45bc 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita @@ -18,7 +18,7 @@ virtual int getApplicationVolume(int& volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") - int GetApplicationVolume(int volume); + int GetApplicationVolume(int & volume); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita index 3aa8b31cd5f..b9f7007917e 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita @@ -18,7 +18,7 @@ virtual IAudioDeviceCollection* enumeratePlaybackDevices() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") - UIAudioDeviceCollection* EnumeratePlaybackDevices(); + UAudioDeviceCollection* EnumeratePlaybackDevices(); abstract enumeratePlaybackDevices(): AudioDeviceInfo[]; public abstract DeviceInfo[] EnumeratePlaybackDevices(); abstract enumeratePlaybackDevices(): AudioDeviceInfo[]; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita index d36637fd77a..661f605fdd4 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita @@ -18,7 +18,7 @@ virtual IAudioDeviceCollection* enumerateRecordingDevices() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") - UIAudioDeviceCollection* EnumerateRecordingDevices(); + UAudioDeviceCollection* EnumerateRecordingDevices(); abstract enumerateRecordingDevices(): AudioDeviceInfo[]; abstract DeviceInfo[] EnumerateRecordingDevices(); abstract enumerateRecordingDevices(): AudioDeviceInfo[]; diff --git a/dita/RTC-NG/API/api_imediaplayer_getmute.dita b/dita/RTC-NG/API/api_imediaplayer_getmute.dita index ffe3fe2ad55..3e40fe876f9 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getmute.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getmute.dita @@ -18,7 +18,7 @@ - (bool)getMute; virtual int getMute(bool& mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int GetMute(bool muted); + int GetMute(bool & muted); abstract getMute(): boolean; public abstract int GetMute(ref bool muted); abstract getMute(): boolean; diff --git a/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita b/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita index 339a2f8b5c3..60cabf50b8f 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita @@ -18,7 +18,7 @@ - (int)getPlayoutVolume; virtual int getPlayoutVolume(int& volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int GetPlayoutVolume(int volume); + int GetPlayoutVolume(int & volume); abstract getPlayoutVolume(): number; public abstract int GetPlayoutVolume(ref int volume); abstract getPlayoutVolume(): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita b/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita index 2f004afa92f..fdb7847ed4e 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita @@ -18,7 +18,7 @@ - (int)getPublishSignalVolume; virtual int getPublishSignalVolume(int& volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int GetPublishSignalVolume(int volume); + int GetPublishSignalVolume(int & volume); abstract getPublishSignalVolume(): number; public abstract int GetPublishSignalVolume(ref int volume); abstract getPublishSignalVolume(): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_open.dita b/dita/RTC-NG/API/api_imediaplayer_open.dita index fc790258acc..4bb4bcbef2a 100644 --- a/dita/RTC-NG/API/api_imediaplayer_open.dita +++ b/dita/RTC-NG/API/api_imediaplayer_open.dita @@ -20,7 +20,7 @@ virtual int open(const char* url, int64_t startPos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int Open(FString url, int64 startPos); + int Open(const FString & url, int64 startPos); abstract open(url: string, startPos: number): number; public abstract int Open(string url, Int64 startPos); abstract open(url: string, startPos: number): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita b/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita index 839c6be2ee9..de79bb21acc 100644 --- a/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita @@ -21,7 +21,7 @@ virtual int playPreloadedSrc(const char* src) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int PlayPreloadedSrc(FString src); + int PlayPreloadedSrc(const FString& src); abstract playPreloadedSrc(src: string): number; public abstract int PlayPreloadedSrc(string src); abstract playPreloadedSrc(src: string): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita b/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita index 4c4958f073b..6cca2a36508 100644 --- a/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita @@ -21,7 +21,7 @@ virtual int preloadSrc(const char* src, int64_t startPos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int PreloadSrc(FString src, int64 startPos); + int PreloadSrc(const FString& src, int64 startPos); abstract preloadSrc(src: string, startPos: number): number; public abstract int PreloadSrc(string src, Int64 startPos); abstract preloadSrc(src: string, startPos: number): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita b/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita index d48317d5875..b3de1325d40 100644 --- a/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita @@ -17,7 +17,8 @@ - (int)selectMultiAudioTrack:(NSInteger)playoutTrackIndex publishTrackIndex:(NSInteger)publishTrackIndex NS_SWIFT_NAME(selectMultiAudioTrack(_:publishTrackIndex:)); virtual int selectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") + int SelectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex); abstract selectMultiAudioTrack( playoutTrackIndex: number, publishTrackIndex: number diff --git a/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita b/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita index 3205fc9b717..68c1329ffc6 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita @@ -17,6 +17,8 @@ - (int)setPlayerOption:(NSString *)key value:(NSInteger)value NS_SWIFT_NAME(setPlayerOption(_:value:)); virtual int setPlayerOption(const char* key, int64_t value) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") + int SetPlayerOptionWithInt(const FString & key, int value); abstract setPlayerOptionInInt(key: string, value: number): number; public abstract int SetPlayerOption(string key, int value); abstract setPlayerOptionInInt(key: string, value: number): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita b/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita index 55d5c9dd8a8..5aaf3cb7443 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita @@ -17,6 +17,8 @@ - (int)setPlayerOptionString:(NSString *)key value:(NSString *)value NS_SWIFT_NAME(setPlayerOptionString(_:value:)); virtual int setPlayerOption(const char* key, const char* value) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") + int SetPlayerOptionWithString(const FString & key, const FString & value); abstract setPlayerOptionInString(key: string, value: string): number; public abstract int SetPlayerOption(string key, string value); abstract setPlayerOptionInString(key: string, value: string): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita b/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita index 9b467487e2e..8cd3674b14b 100644 --- a/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita @@ -21,7 +21,7 @@ virtual int switchSrc(const char* src, bool syncPts) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int SwitchSrc(FString src, bool syncPts); + int SwitchSrc(const FString& src, bool syncPts = true); abstract switchSrc(src: string, syncPts?: boolean): number; public abstract int SwitchSrc(string src, bool syncPts = true); abstract switchSrc(src: string, syncPts?: boolean): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita b/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita index 80fd556c127..d5131633764 100644 --- a/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita @@ -21,7 +21,7 @@ virtual int unloadSrc(const char* src) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int UnloadSrc(FString src); + int UnloadSrc(const FString& src); abstract unloadSrc(src: string): number; public abstract int UnloadSrc(string src); abstract unloadSrc(src: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita b/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita index 268ba797cc5..1aa82f57a35 100644 --- a/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita +++ b/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita @@ -17,8 +17,8 @@ - (int)addVideoWatermark:(NSURL* _Nonnull)url options:(WatermarkOptions* _Nonnull)options; virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int AddVideoWatermark(FString watermarkUrl, const FWatermarkOptions& options); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int AddVideoWatermark(const FString& watermarkUrl, const FWatermarkOptions& options); abstract addVideoWatermark( watermarkUrl: string, options: WatermarkOptions diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita index 790e6487b68..4db7dc5d0e9 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita @@ -17,7 +17,7 @@ public abstract adjustAudioMixingPlayoutVolume(volume: number): number; - (int)adjustAudioMixingPlayoutVolume:(NSInteger)volume; virtual int adjustAudioMixingPlayoutVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustAudioMixingPlayoutVolume(int volume); abstract adjustAudioMixingPlayoutVolume(volume: number): number; public abstract int AdjustAudioMixingPlayoutVolume(int volume); diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita index 87e13801bd7..24b2da16475 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita @@ -17,7 +17,7 @@ public abstract adjustAudioMixingPublishVolume(volume: number): number; - (int)adjustAudioMixingPublishVolume:(NSInteger)volume; virtual int adjustAudioMixingPublishVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustAudioMixingPublishVolume(int volume); abstract adjustAudioMixingPublishVolume(volume: number): number; public abstract int AdjustAudioMixingPublishVolume(int volume); diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita index f1c934305e1..ef80ada6cfa 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita @@ -17,7 +17,7 @@ public abstract adjustAudioMixingVolume(volume: number): number; - (int)adjustAudioMixingVolume:(NSInteger)volume; virtual int adjustAudioMixingVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustAudioMixingVolume(int volume); abstract adjustAudioMixingVolume(volume: number): number; public abstract int AdjustAudioMixingVolume(int volume); diff --git a/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita index d70dce63ce2..0fdd6a390cc 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita @@ -17,7 +17,7 @@ - (int)adjustCustomAudioPlayoutVolume:(NSInteger)trackId volume:(NSInteger)volume NS_SWIFT_NAME(adjustCustomAudioPlayoutVolume(_:volume:)); virtual int adjustCustomAudioPlayoutVolume(track_id_t trackId, int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustCustomAudioPlayoutVolume(int64 trackId, int volume); abstract adjustCustomAudioPlayoutVolume( trackId: number, diff --git a/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita index d2dc6f3dcd0..d15a1674af8 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita @@ -17,7 +17,7 @@ - (int)adjustCustomAudioPublishVolume:(NSInteger)trackId volume:(NSInteger)volume NS_SWIFT_NAME(adjustCustomAudioPublishVolume(_:volume:)); virtual int adjustCustomAudioPublishVolume(track_id_t trackId, int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustCustomAudioPublishVolume(int64 trackId, int volume); abstract adjustCustomAudioPublishVolume( trackId: number, diff --git a/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita index 7485e4b589b..f234bf87f58 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita @@ -18,7 +18,7 @@ - (int)adjustLoopbackSignalVolume:(NSInteger)volume; virtual int adjustLoopbackSignalVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustLoopbackSignalVolume(int volume); abstract adjustLoopbackSignalVolume(volume: number): number; public abstract int AdjustLoopbackSignalVolume(int volume); diff --git a/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita index 1d18d0c269d..8d43ab74a27 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita @@ -17,8 +17,8 @@ public abstract adjustPlaybackSignalVolume(volume: number): number; - (int)adjustPlaybackSignalVolume:(NSInteger)volume; virtual int adjustPlaybackSignalVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int AdjustPlaybackSignalVolume(int volume); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int AdjustPlaybackSignalVolume(int volume); abstract adjustPlaybackSignalVolume(volume: number): number; public abstract int AdjustPlaybackSignalVolume(int volume); abstract adjustPlaybackSignalVolume(volume: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita index e288ce0ecd7..aa65f2f19b8 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita @@ -17,8 +17,8 @@ public abstract adjustRecordingSignalVolume(volume: number): number; - (int)adjustRecordingSignalVolume:(NSInteger)volume; virtual int adjustRecordingSignalVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int AdjustRecordingSignalVolume(int volume); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int AdjustRecordingSignalVolume(int volume); abstract adjustRecordingSignalVolume(volume: number): number; public abstract int AdjustRecordingSignalVolume(int volume); abstract adjustRecordingSignalVolume(volume: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita index 70fc80e1bb7..2dbc91178e1 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita @@ -17,8 +17,8 @@ - (int)adjustUserPlaybackSignalVolume:(NSUInteger)uid volume:(int)volume; virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int AdjustUserPlaybackSignalVolume(int uid, int volume); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int AdjustUserPlaybackSignalVolume(int64 uid, int volume); abstract adjustUserPlaybackSignalVolume(uid: number, volume: number): number; public abstract int AdjustUserPlaybackSignalVolume(uint uid, int volume); abstract adjustUserPlaybackSignalVolume(uid: number, volume: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita b/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita index 2cfb4a7879b..21fa82d50ae 100644 --- a/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita +++ b/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita @@ -17,7 +17,7 @@ public abstract clearVideoWatermarks(): number; - (int)clearVideoWatermarks; virtual int clearVideoWatermarks() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ClearVideoWatermarks(); abstract clearVideoWatermarks(): number; public abstract int ClearVideoWatermarks(); diff --git a/dita/RTC-NG/API/api_irtcengine_complain.dita b/dita/RTC-NG/API/api_irtcengine_complain.dita index e5618fc7deb..1a828472ec3 100644 --- a/dita/RTC-NG/API/api_irtcengine_complain.dita +++ b/dita/RTC-NG/API/api_irtcengine_complain.dita @@ -18,8 +18,8 @@ - (int)complain:(NSString * _Nonnull)callId description:(NSString * _Nullable)description; virtual int complain(const char* callId, const char* description) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int Complain(FString callId, FString description); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int Complain(const FString& callId, const FString& description); abstract complain(callId: string, description: string): number; public abstract int Complain(string callId, string description); abstract complain(callId: string, description: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita b/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita index 413b1fc1497..ffa5e33c671 100644 --- a/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita @@ -17,7 +17,7 @@ - (int)configRhythmPlayer:(AgoraRhythmPlayerConfig * _Nullable)config; virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ConfigRhythmPlayer(const FAgoraRhythmPlayerConfig& config); abstract configRhythmPlayer(config: AgoraRhythmPlayerConfig): number; public abstract int ConfigRhythmPlayer(AgoraRhythmPlayerConfig config); diff --git a/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita b/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita index 865f05e89b5..a7d2f31c027 100644 --- a/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita +++ b/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita @@ -18,8 +18,8 @@ - (int)createDataStream:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config; virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int CreateDataStream(int& streamId, const FDataStreamConfig& config); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int CreateDataStream(int& streamId, const FDataStreamConfig& config); abstract createDataStream(config: DataStreamConfig): number; public abstract int CreateDataStream(ref int streamId, DataStreamConfig config); abstract createDataStream(config: DataStreamConfig): number; diff --git a/dita/RTC-NG/API/api_irtcengine_disableaudio.dita b/dita/RTC-NG/API/api_irtcengine_disableaudio.dita index 16988155450..de7f8eae444 100644 --- a/dita/RTC-NG/API/api_irtcengine_disableaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_disableaudio.dita @@ -17,7 +17,7 @@ public abstract disableAudio(): number; - (int)disableAudio; virtual int disableAudio() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int DisableAudio(); abstract disableAudio(): number; public abstract int DisableAudio(); diff --git a/dita/RTC-NG/API/api_irtcengine_disablevideo.dita b/dita/RTC-NG/API/api_irtcengine_disablevideo.dita index ca4365d5286..e19afb17eda 100644 --- a/dita/RTC-NG/API/api_irtcengine_disablevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_disablevideo.dita @@ -17,7 +17,7 @@ public abstract disableVideo(): number; - (int)disableVideo; virtual int disableVideo() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int DisableVideo(); abstract disableVideo(): number; public abstract int DisableVideo(); diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudio.dita b/dita/RTC-NG/API/api_irtcengine_enableaudio.dita index f32ce940f06..d16b4389826 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudio.dita @@ -17,7 +17,7 @@ public abstract enableAudio(): number; - (int)enableAudio; virtual int enableAudio() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableAudio(); abstract enableAudio(): number; public abstract int EnableAudio(); diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita b/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita index 40ab5c5610b..06d2eb43886 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita @@ -19,8 +19,8 @@ smooth:(NSInteger)smooth reportVad:(BOOL)reportVad; virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int EnableAudioVolumeIndication(int interval, int smooth, bool reportVad); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableAudioVolumeIndication(int interval, int smooth, bool reportVad); abstract enableAudioVolumeIndication( interval: number, smooth: number, diff --git a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita index 53117ae0557..172e27898b8 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -17,8 +17,8 @@ - (int)enableContentInspect:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config; virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int EnableContentInspect(bool enabled, FContentInspectConfig& config); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableContentInspect(bool enabled, const FContentInspectConfig& config); abstract enableContentInspect( enabled: boolean, config: ContentInspectConfig diff --git a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita index 71d26d322d9..21a7a04c27d 100644 --- a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita +++ b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita @@ -18,7 +18,7 @@ - (int)enableDualStreamMode:(BOOL)enabled streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig; virtual int enableDualStreamMode(bool enabled, const SimulcastStreamConfig& streamConfig) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableDualStreamMode(bool enabled, const FSimulcastStreamConfig& streamConfig); abstract enableDualStreamMode( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita index 6d084d2cf2f..95559597d73 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita @@ -17,7 +17,7 @@ public abstract enableEncryption(enabled: boolean, config: EncryptionConfig): number; - (int)enableEncryption:(bool)enabled encryptionConfig:(AgoraEncryptionConfig * _Nonnull)config; virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableEncryption(bool enabled, const FEncryptionConfig& config); abstract enableEncryption(enabled: boolean, config: EncryptionConfig): number; public abstract int EnableEncryption(bool enabled, EncryptionConfig config); diff --git a/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/dita/RTC-NG/API/api_irtcengine_enableextension.dita index c70ae669b50..4c6dff8cd0d 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -21,8 +21,8 @@ enabled:(BOOL)enabled sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(enableExtension(withVendor:extension:enabled:sourceType:)); virtual int enableExtension(const char* provider, const char* extension, bool enable=true, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int EnableExtension(FString provider, FString extension, bool enable = true, EMEDIA_SOURCE_TYPE type = EMEDIA_SOURCE_TYPE::UNKNOWN_MEDIA_SOURCE); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableExtension(const FString& provider, const FString& extension, bool enable = true, EMEDIA_SOURCE_TYPE type = EMEDIA_SOURCE_TYPE::UNKNOWN_MEDIA_SOURCE); abstract enableExtension( provider: string, extension: string, diff --git a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita index d166fc2052b..7f604ec5a61 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -17,7 +17,7 @@ public abstract enableFaceDetection(enabled: boolean): number; - (int)enableFaceDetection:(bool)enable NS_SWIFT_NAME(enableFaceDetection(_:)); virtual int enableFaceDetection(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableFaceDetection(bool enabled); public abstract int EnableFaceDetection(bool enabled); abstract enableFaceDetection(enabled: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita index 437c27653c8..84cada70fbb 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita @@ -17,8 +17,8 @@ public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters: number): number; - (int)enableInEarMonitoring:(BOOL)enabled includeAudioFilters:(AgoraEarMonitoringFilterType)includeAudioFilters; virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int EnableInEarMonitoring(bool enabled, int includeAudioFilters); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableInEarMonitoring(bool enabled, int includeAudioFilters); abstract enableInEarMonitoring( enabled: boolean, includeAudioFilters: EarMonitoringFilterType diff --git a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita index cbdde23cbfb..a9c0dc04b5c 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita @@ -17,7 +17,7 @@ - (int)enableInstantMediaRendering NS_SWIFT_NAME(enableInstantMediaRendering()); virtual int enableInstantMediaRendering() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableInstantMediaRendering(); abstract enableInstantMediaRendering(): number; public abstract int EnableInstantMediaRendering(); diff --git a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita index a1562c51692..3e7060fde5a 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita @@ -17,7 +17,7 @@ public abstract enableLocalAudio(enabled: boolean): number; - (int)enableLocalAudio:(BOOL)enabled; virtual int enableLocalAudio(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableLocalAudio(bool enabled); abstract enableLocalAudio(enabled: boolean): number; public abstract int EnableLocalAudio(bool enabled); diff --git a/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita b/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita index fe14b55b768..17bdb1a3ab1 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita @@ -17,7 +17,7 @@ public abstract enableLocalVideo(enabled: boolean): number; - (int)enableLocalVideo:(BOOL)enabled; virtual int enableLocalVideo(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableLocalVideo(bool enabled); abstract enableLocalVideo(enabled: boolean): number; public abstract int EnableLocalVideo(bool enabled); diff --git a/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita b/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita index 7052f94b293..54aafafdbf8 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita @@ -17,8 +17,8 @@ - (int)enableLoopbackRecording:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName NS_SWIFT_NAME(enableLoopbackRecording(_:deviceName:)); virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int EnableLoopbackRecording(bool enabled, FString deviceName); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableLoopbackRecording(bool enabled, const FString & deviceName); abstract enableLoopbackRecording( enabled: boolean, deviceName?: string diff --git a/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita b/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita index 8a6bbb7bc3a..9482ea4f95a 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita @@ -19,7 +19,7 @@ #if defined(__APPLE__) && TARGET_OS_IOS virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration& config) = 0; #endif - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableMultiCamera(bool enabled, const FCameraCapturerConfiguration& config); abstract enableMultiCamera( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita b/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita index 33737d867a7..74e83306d87 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita @@ -17,7 +17,7 @@ - (int)enableSoundPositionIndication:(BOOL)enabled; virtual int enableSoundPositionIndication(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableSoundPositionIndication(bool enabled); abstract enableSoundPositionIndication(enabled: boolean): number; public abstract int EnableSoundPositionIndication(bool enabled); diff --git a/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita b/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita index d87253f5bea..8bcf59e504e 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita @@ -17,7 +17,7 @@ - (int)enableSpatialAudio:(BOOL)enabled; virtual int enableSpatialAudio(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableSpatialAudio(bool enabled); abstract enableSpatialAudio(enabled: boolean): number; public abstract int EnableSpatialAudio(bool enabled); diff --git a/dita/RTC-NG/API/api_irtcengine_enablevideo.dita b/dita/RTC-NG/API/api_irtcengine_enablevideo.dita index 8cc71185f32..342a7ddfdbb 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevideo.dita @@ -17,7 +17,7 @@ public abstract enableVideo(): number; - (int)enableVideo; virtual int enableVideo() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableVideo(); abstract enableVideo(): number; public abstract int EnableVideo(); diff --git a/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita b/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita index 24319a419dd..416b19e8013 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita @@ -18,7 +18,7 @@ - (int) enableVideoImageSource:(BOOL)enable options:(AgoraImageTrackOptions *_Nullable)options; virtual int enableVideoImageSource(bool enable, const ImageTrackOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableVideoImageSource(bool enable, const FImageTrackOptions& options); abstract enableVideoImageSource( enable: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita index 1f5e578e20a..912f118bbe9 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -20,7 +20,7 @@ - (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:)); virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableVirtualBackground(bool enabled, FVirtualBackgroundSource backgroundSource, FSegmentationProperty segproperty, EMEDIA_SOURCE_TYPE type); abstract enableVirtualBackground( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita b/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita index 5051baa4e65..3461120ae86 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita @@ -17,7 +17,7 @@ - (int)enableWebSdkInteroperability:(BOOL)enabled; virtual int enableWebSdkInteroperability(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableWebSdkInteroperability(bool enabled); abstract enableWebSdkInteroperability(enabled: boolean): number; public abstract int EnableWebSdkInteroperability(bool enabled); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita b/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita index e1a01843080..4f9c0c675f3 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita @@ -17,7 +17,7 @@ virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetAudioDeviceInfo(FDeviceInfo& deviceInfo); abstract getAudioDeviceInfo(): DeviceInfo; public abstract int GetAudioDeviceInfo(ref DeviceInfoMobile deviceInfo); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita index 84c679b7924..bb833d66fef 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita @@ -17,7 +17,7 @@ public abstract getAudioMixingCurrentPosition(): number; - (int)getAudioMixingCurrentPosition; virtual int getAudioMixingCurrentPosition() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetAudioMixingCurrentPosition(); abstract getAudioMixingCurrentPosition(): number; public abstract int GetAudioMixingCurrentPosition(); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita index c4dd6b3ef1f..d1368bb50fb 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita @@ -17,7 +17,7 @@ public abstract getAudioMixingDuration():number; - (int)getAudioMixingDuration; virtual int getAudioMixingDuration() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetAudioMixingDuration(); abstract getAudioMixingDuration(): number; public abstract int GetAudioMixingDuration(); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita index 635090956a5..7ef89893f35 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita @@ -17,7 +17,7 @@ - (int)getAudioMixingPlayoutVolume; virtual int getAudioMixingPlayoutVolume() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetAudioMixingPlayoutVolume(); abstract getAudioMixingPlayoutVolume(): number; public abstract int GetAudioMixingPlayoutVolume(); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita index 73e3d5fe224..74c4b5c49a2 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita @@ -17,7 +17,7 @@ - (int)getAudioMixingPublishVolume; virtual int getAudioMixingPublishVolume() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetAudioMixingPublishVolume(); abstract getAudioMixingPublishVolume(): number; public abstract int GetAudioMixingPublishVolume(); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita b/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita index 0d5ea60a6c1..408ddc4d18a 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita @@ -17,7 +17,7 @@ - (int)getAudioTrackCount; virtual int getAudioTrackCount() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetAudioTrackCount(); abstract getAudioTrackCount(): number; public abstract int GetAudioTrackCount(); diff --git a/dita/RTC-NG/API/api_irtcengine_getcallid.dita b/dita/RTC-NG/API/api_irtcengine_getcallid.dita index ea92738818c..ff97334ebad 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcallid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcallid.dita @@ -17,7 +17,7 @@ public abstract getCallId(): string; - (NSString * _Nullable)getCallId; virtual int getCallId(agora::util::AString& callId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetCallId(FString& callId); abstract getCallId(): string; public abstract int GetCallId(ref string callId); diff --git a/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita b/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita index 10609744549..7902473d03a 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita @@ -17,7 +17,7 @@ public abstract getCameraMaxZoomFactor():number; - (CGFloat)cameraMaxZoomFactor; virtual float getCameraMaxZoomFactor() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") float GetCameraMaxZoomFactor(); abstract getCameraMaxZoomFactor(): number; public abstract float GetCameraMaxZoomFactor(); diff --git a/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita b/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita index 3618ed03143..12710150f4f 100644 --- a/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita +++ b/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita @@ -17,8 +17,8 @@ - (AgoraConnectionState)getConnectionState; virtual CONNECTION_STATE_TYPE getConnectionState() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - ECONNECTION_STATE_TYPE GetConnectionState(); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + ECONNECTION_STATE_TYPE GetConnectionState(); abstract getConnectionState(): ConnectionStateType; public abstract CONNECTION_STATE_TYPE GetConnectionState(); abstract getConnectionState(): ConnectionStateType; diff --git a/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita b/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita index 30b5166df42..8ae3dc47596 100644 --- a/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita @@ -17,7 +17,7 @@ - (int)getEffectCurrentPosition:(int)soundId NS_SWIFT_NAME(getEffectCurrentPosition(_:)); virtual int getEffectCurrentPosition(int soundId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetEffectCurrentPosition(int soundId); abstract getEffectCurrentPosition(soundId: number): number; public abstract int GetEffectCurrentPosition(int soundId); diff --git a/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita b/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita index 110f7dc8651..2cf3c828652 100644 --- a/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita +++ b/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita @@ -17,8 +17,8 @@ - (int)getEffectDuration:(NSString* _Nonnull)filePath NS_SWIFT_NAME(getEffectDuration(_:)); virtual int getEffectDuration(const char* filePath) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int GetEffectDuration(FString filePath); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int GetEffectDuration(const FString& filePath); abstract getEffectDuration(filePath: string): number; public abstract int GetEffectDuration(string filePath); abstract getEffectDuration(filePath: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita b/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita index e3f1497798b..1150da7212b 100644 --- a/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita @@ -17,7 +17,7 @@ - (int)getEffectsVolume; virtual int getEffectsVolume() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetEffectsVolume(); abstract getEffectsVolume(): number; public abstract int GetEffectsVolume(); diff --git a/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita b/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita index fe58c5fc353..710fd1f1d26 100644 --- a/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita +++ b/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita @@ -17,7 +17,7 @@ + (NSString* _Nonnull)getErrorDescription: (NSInteger)error; virtual const char* getErrorDescription(int code) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") FString GetErrorDescription(int code); abstract getErrorDescription(code: number): string; public abstract string GetErrorDescription(int code); diff --git a/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita b/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita index 8c3d8d21786..2249a7700ee 100644 --- a/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita +++ b/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita @@ -26,8 +26,8 @@ const char* provider, const char* extension, const char* key, char* value, int buf_len, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int GetExtensionProperty(FString provider, FString extension, FString key, FString value, int buf_len, EMEDIA_SOURCE_TYPE type = EMEDIA_SOURCE_TYPE::UNKNOWN_MEDIA_SOURCE); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int GetExtensionProperty(const FString& provider, const FString& extension,const FExtensionInfo & ExtensionInfo, const FString& key, FString& value); abstract getExtensionProperty( provider: string, extension: string, diff --git a/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita b/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita index ede955580c8..1aa6e78c568 100644 --- a/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita +++ b/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita @@ -17,7 +17,7 @@ - (int) getNetworkType; virtual int getNetworkType() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetNetworkType(); abstract getNetworkType(): number; public abstract int GetNetworkType(); diff --git a/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita b/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita index 31543589f5c..c479a20f3d0 100644 --- a/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita +++ b/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita @@ -17,7 +17,7 @@ - (uint64_t)getNtpWallTimeInMs; virtual uint64_t getNtpWallTimeInMs() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") FString GetNtpWallTimeInMs(); abstract getNtpWallTimeInMs(): number; public abstract UInt64 GetNtpWallTimeInMs(); diff --git a/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita b/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita index d02cbb58ee3..c30fa37d9e5 100644 --- a/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita +++ b/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita @@ -18,8 +18,8 @@ - (NSArray<AgoraScreenCaptureSourceInfo*>* _Nullable)getScreenCaptureSourcesWithThumbSize:(NSSize)thumbSize iconSize:(NSSize)iconSize includeScreen:(BOOL)includeScreen; virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - UIScreenCaptureSourceList* GetScreenCaptureSources(FSIZE thumbSize, FSIZE iconSize, bool includeScreen); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + UIScreenCaptureSourceList* GetScreenCaptureSources(const FSIZE & thumbSize, const FSIZE & iconSize, bool includeScreen); abstract getScreenCaptureSources( thumbSize: Size, iconSize: Size, diff --git a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita index 5a1a7c32f4b..2f7d77c90be 100644 --- a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita @@ -17,7 +17,7 @@ - (AgoraUserInfo* _Nullable)getUserInfoByUid:(NSUInteger)uid withError:(AgoraErrorCode* _Nullable)error; virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo* userInfo, const char* channelId = NULL, const char* localUserAccount = NULL) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetUserInfoByUid(int64 uid, FUserInfo& userInfo); abstract getUserInfoByUid(uid: number): UserInfo; public abstract int GetUserInfoByUid(uint uid, ref UserInfo userInfo); diff --git a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita index 676e45dd150..79225cbbec3 100644 --- a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita @@ -17,8 +17,8 @@ - (AgoraUserInfo* _Nullable)getUserInfoByUserAccount:(NSString* _Nonnull)userAccount withError:(AgoraErrorCode* _Nullable)error; public abstract int getUserInfoByUserAccount(String userAccount, UserInfo userInfo); virtual int getUserInfoByUserAccount(const char* userAccount, rtc::UserInfo* userInfo, const char* channelId = NULL, const char* localUserAccount = NULL) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int GetUserInfoByUserAccount(FString userAccount, FUserInfo& userInfo); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int GetUserInfoByUserAccount(const FString& userAccount, FUserInfo& userInfo); abstract getUserInfoByUserAccount(userAccount: string): UserInfo; public abstract int GetUserInfoByUserAccount(string userAccount, ref UserInfo userInfo); abstract getUserInfoByUserAccount(userAccount: string): UserInfo; diff --git a/dita/RTC-NG/API/api_irtcengine_getversion.dita b/dita/RTC-NG/API/api_irtcengine_getversion.dita index 8ca609d24f7..cc7be0bb342 100644 --- a/dita/RTC-NG/API/api_irtcengine_getversion.dita +++ b/dita/RTC-NG/API/api_irtcengine_getversion.dita @@ -17,8 +17,8 @@ + (NSString * _Nonnull)getSdkVersion; virtual const char* getVersion(int* build) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - FString GetVersion(int build); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + FString GetVersion(); abstract getVersion(): SDKBuildInfo; public abstract string GetVersion(ref int build); abstract getVersion(): SDKBuildInfo; diff --git a/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita b/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita index d78df28b480..2e1d1f62dae 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita @@ -17,7 +17,7 @@ - (int)getVolumeOfEffect:(int)soundId; virtual int getVolumeOfEffect(int soundId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int GetVolumeOfEffect(int soundId); abstract getVolumeOfEffect(soundId: number): number; public abstract int GetVolumeOfEffect(int soundId); diff --git a/dita/RTC-NG/API/api_irtcengine_initialize.dita b/dita/RTC-NG/API/api_irtcengine_initialize.dita index affb4cd1d48..f9ea6da6a57 100644 --- a/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -19,7 +19,7 @@ + (instancetype _Nonnull)sharedEngineWithConfig:(AgoraRtcEngineConfig * _Nonnull)config delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; virtual int initialize(const RtcEngineContext& context) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int Initialize(const FRtcEngineContext& context); abstract initialize(context: RtcEngineContext): number; public abstract int Initialize(RtcEngineContext context); diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita index 4e123fafce5..9a5472a6dab 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita @@ -17,7 +17,7 @@ - (BOOL)isCameraAutoExposureFaceModeSupported; virtual bool isCameraAutoExposureFaceModeSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraAutoExposureFaceModeSupported(); abstract isCameraAutoExposureFaceModeSupported(): boolean; public abstract bool IsCameraAutoExposureFaceModeSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita index f96dcef1619..0c27a5767d2 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita @@ -17,7 +17,7 @@ - (BOOL)isCameraAutoFocusFaceModeSupported; virtual bool isCameraAutoFocusFaceModeSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraAutoFocusFaceModeSupported(); abstract isCameraAutoFocusFaceModeSupported(): boolean; public abstract bool IsCameraAutoFocusFaceModeSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita index 4bfda68d675..b2afb6d78b7 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita @@ -17,7 +17,7 @@ - (BOOL)isCameraExposurePositionSupported; virtual bool isCameraExposurePositionSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraExposurePositionSupported(); abstract isCameraExposurePositionSupported(): boolean; public abstract bool IsCameraExposurePositionSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita index d9f9d1f89ba..7231fb3e0dd 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita @@ -17,6 +17,8 @@ - (BOOL)isCameraExposureSupported NS_SWIFT_NAME(isCameraExposureSupported()); virtual bool isCameraExposureSupported() = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + bool IsCameraExposureSupported(); public abstract bool IsCameraExposureSupported(); abstract isCameraExposureSupported(): boolean; diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita index a82f401a21e..7bfd7673c18 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita @@ -17,7 +17,7 @@ virtual bool isCameraFaceDetectSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraFaceDetectSupported(); abstract isCameraFaceDetectSupported(): boolean; public abstract bool IsCameraFaceDetectSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita index fabdda9fec4..5c3be4d25f3 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita @@ -17,7 +17,7 @@ public abstract isCameraFocusSupported(): boolean; - (BOOL)isCameraFocusPositionInPreviewSupported; virtual bool isCameraFocusSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraFocusSupported(); abstract isCameraFocusSupported(): boolean; public abstract bool IsCameraFocusSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita index c07f597cbd7..5b5175220f1 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita @@ -17,7 +17,7 @@ - (BOOL)isCameraTorchSupported NS_SWIFT_NAME(isCameraTorchSupported()); virtual bool isCameraTorchSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraTorchSupported(); abstract isCameraTorchSupported(): boolean; public abstract bool IsCameraTorchSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita index 8fa8808e4c9..68e714401b7 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita @@ -17,7 +17,7 @@ - (BOOL)isCameraZoomSupported; virtual bool isCameraZoomSupported() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsCameraZoomSupported(); abstract isCameraZoomSupported(): boolean; public abstract bool IsCameraZoomSupported(); diff --git a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita index c9351c54696..0a03fb6d415 100644 --- a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita +++ b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita @@ -16,7 +16,9 @@ public abstract boolean isFeatureAvailableOnDevice(int type); - (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type; - virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; + virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + bool IsFeatureAvailableOnDevice(EFeatureType type); public abstract bool IsFeatureAvailableOnDevice(FeatureType type); abstract isFeatureAvailableOnDevice(type: FeatureType): boolean; Future<bool> isFeatureAvailableOnDevice(FeatureType type);

    diff --git a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita index ffcabde2e9c..e9eb7a353ed 100644 --- a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita @@ -17,7 +17,7 @@ public abstract isSpeakerphoneEnabled(): boolean; - (BOOL)isSpeakerphoneEnabled; virtual bool isSpeakerphoneEnabled() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") bool IsSpeakerphoneEnabled(); abstract isSpeakerphoneEnabled(): boolean; public abstract bool IsSpeakerphoneEnabled(); diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita index 417472b06e7..b0b6fb7cc18 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita @@ -23,6 +23,8 @@ joinSuccess:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock; virtual int joinChannel(const char* token, const char* channelId, const char* info, uid_t uid) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int JoinChannel(const FString & token, const FString& channelId, int64 uid); abstract joinChannel( token: string, channelId: string, diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index aad3183bce1..6d7a2522266 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -23,8 +23,8 @@ joinSuccess:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock; virtual int joinChannel(const char* token, const char* channelId, uid_t uid, const ChannelMediaOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int JoinChannel(FString token, FString channelId, int64 uid, const FChannelMediaOptions& options); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int JoinChannelWithOptions(const FString& token, const FString& channelId, int64 uid, const FChannelMediaOptions& options); abstract joinChannel( token: string, channelId: string, diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita index c266a54c93d..196e1c23780 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita @@ -25,8 +25,8 @@ const char* channelId, const char* userAccount, const ChannelMediaOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int JoinChannelWithUserAccount(FString token, FString channelId, FString userAccount, const FChannelMediaOptions& options); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int JoinChannelWithUserAccount(const FString& token, const FString& channelId, const FString& userAccount, const FChannelMediaOptions& options); abstract joinChannelWithUserAccount( token: string, channelId: string, diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita index bea260ce1c3..a663726a1c4 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita @@ -25,8 +25,8 @@ virtual int joinChannelWithUserAccountEx(const char* token, const char* channelId, const char* userAccount, const ChannelMediaOptions& options, IRtcEngineEventHandler* eventHandler) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int JoinChannelWithUserAccountEx(FString token, FString channelId, FString userAccount, const FChannelMediaOptions& options, UIRtcEngineEventHandler* eventHandler); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int JoinChannelWithUserAccountEx(const FString& token, const FString& channelId, const FString& userAccount, const FChannelMediaOptions& options); abstract joinChannelWithUserAccountEx( token: string, channelId: string, diff --git a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita index 79c44ae4855..7d29d0fcb3f 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita @@ -17,6 +17,8 @@ - (int)leaveChannel:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock; virtual int leaveChannel() = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int LeaveChannel(); abstract leaveChannel(options?: LeaveChannelOptions): number; public abstract int LeaveChannel(); abstract leaveChannel(options?: LeaveChannelOptions): number; diff --git a/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita b/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita index 88d14147fe4..6ac30b7c2d8 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita @@ -18,8 +18,8 @@ - (int)leaveChannel:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void (^ _Nullable)(AgoraChannelStats * _Nonnull))leaveChannelBlock; virtual int leaveChannel(const LeaveChannelOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int LeaveChannel(const FLeaveChannelOptions& options); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int LeaveChannelWithOptions(const FLeaveChannelOptions& options); abstract leaveChannel(options?: LeaveChannelOptions): number; public abstract int LeaveChannel(LeaveChannelOptions options); abstract leaveChannel(options?: LeaveChannelOptions): number; diff --git a/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita b/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita index 7964ea219e6..12b8ddbeb52 100644 --- a/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita +++ b/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita @@ -17,8 +17,8 @@ virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int LoadExtensionProvider(FString path, bool unload_after_use); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int LoadExtensionProvider(const FString& path, bool unload_after_use); abstract loadExtensionProvider( path: string, unloadAfterUse?: boolean diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita index 2a133d25315..fb5bfa62219 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita @@ -17,7 +17,7 @@ public abstract muteAllRemoteAudioStreams(muted: boolean): number; - (int)muteAllRemoteAudioStreams:(BOOL)mute; virtual int muteAllRemoteAudioStreams(bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteAllRemoteAudioStreams(bool mute); abstract muteAllRemoteAudioStreams(mute: boolean): number; public abstract int MuteAllRemoteAudioStreams(bool mute); diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita index a191daa8bda..c535f20e259 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita @@ -17,7 +17,7 @@ public abstract muteAllRemoteVideoStreams(muted: boolean): number; - (int)muteAllRemoteVideoStreams:(BOOL)mute; virtual int muteAllRemoteVideoStreams(bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteAllRemoteVideoStreams(bool mute); abstract muteAllRemoteVideoStreams(mute: boolean): number; public abstract int MuteAllRemoteVideoStreams(bool mute); diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita index 958198293c6..7717d30381c 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita @@ -17,7 +17,7 @@ public abstract muteLocalAudioStream(muted: boolean): number; - (int)muteLocalAudioStream:(BOOL)mute; virtual int muteLocalAudioStream(bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteLocalAudioStream(bool mute); abstract muteLocalAudioStream(mute: boolean): number; public abstract int MuteLocalAudioStream(bool mute); diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita index f2df5bbdd17..5eec5e4cc8b 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita @@ -17,7 +17,7 @@ public abstract muteLocalVideoStream(muted: boolean): number; - (int)muteLocalVideoStream:(BOOL)mute; virtual int muteLocalVideoStream(bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteLocalVideoStream(bool mute); abstract muteLocalVideoStream(mute: boolean): number; public abstract int MuteLocalVideoStream(bool mute); diff --git a/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita b/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita index 680b764f8e7..a8c7f48e7fe 100644 --- a/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita +++ b/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita @@ -17,8 +17,8 @@ -(int)muteRecordingSignal:(BOOL)muted; virtual int muteRecordingSignal(bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int MuteRecordingSignal(bool mute); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int MuteRecordingSignal(bool mute); abstract muteRecordingSignal(mute: boolean): number; public abstract int MuteRecordingSignal(bool mute); abstract muteRecordingSignal(mute: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita index 0c84c3640e5..a86c4fef670 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita @@ -18,7 +18,7 @@ - (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteRemoteAudioStream(int64 uid, bool mute); abstract muteRemoteAudioStream(uid: number, mute: boolean): number; public abstract int MuteRemoteAudioStream(uint uid, bool mute); diff --git a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita index b8fa2b06781..57fcb80f217 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita @@ -18,7 +18,7 @@ - (int)muteRemoteVideoStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteRemoteVideoStream(int64 uid, bool mute); abstract muteRemoteVideoStream(uid: number, mute: boolean): number; public abstract int MuteRemoteVideoStream(uint uid, bool mute); diff --git a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita index 947c2a9067a..065e6305600 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita @@ -17,7 +17,7 @@ - (int)pauseAllChannelMediaRelay; virtual int pauseAllChannelMediaRelay() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int PauseAllChannelMediaRelay(); abstract pauseAllChannelMediaRelay(): number; public abstract int PauseAllChannelMediaRelay(); diff --git a/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita b/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita index 75d21035e32..5d81ba8a614 100644 --- a/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita @@ -19,7 +19,7 @@ - (int)pauseAllEffects; virtual int pauseAllEffects() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int PauseAllEffects(); abstract pauseAllEffects(): number; public abstract int PauseAllEffects(); diff --git a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita index 245fcbbe43f..2b26c50f711 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita @@ -17,7 +17,7 @@ public abstract pauseAudioMixing(): number; - (int)pauseAudioMixing; virtual int pauseAudioMixing() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int PauseAudioMixing(); abstract pauseAudioMixing(): number; public abstract int PauseAudioMixing(); diff --git a/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita b/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita index b567c591a7c..9101e686a7b 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita @@ -17,7 +17,7 @@ - (int)pauseEffect:(int)soundId; virtual int pauseEffect(int soundId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int PauseEffect(int soundId); abstract pauseEffect(soundId: number): number; public abstract int PauseEffect(int soundId); diff --git a/dita/RTC-NG/API/api_irtcengine_playalleffects.dita b/dita/RTC-NG/API/api_irtcengine_playalleffects.dita index 051e5599e24..d341537b054 100644 --- a/dita/RTC-NG/API/api_irtcengine_playalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_playalleffects.dita @@ -17,7 +17,7 @@ virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int PlayAllEffects(int loopCount, float pitch, float pan, int gain, bool publish); abstract playAllEffects( loopCount: number, diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index c249a52482a..40f83347ced 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -34,8 +34,8 @@ int gain, bool publish, int startPos) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int PlayEffect(int soundId, FString filePath, int loopCount, float pitch, float pan, int gain, bool publish, int startPos); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int PlayEffect(int soundId, const FString& filePath, int loopCount, float pitch, float pan, int gain, bool publish, int startPos); abstract playEffect( soundId: number, filePath: string, diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita index 7a0929dad54..09a0b27ace2 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita @@ -19,6 +19,8 @@ channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(preloadChannel(byToken:channelId:uid:)); virtual int preloadChannel(const char* token, const char* channelId, uid_t uid) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int PreloadChannel(const FString & token, const FString & channelId, int64 uid); abstract preloadChannel( token: string, channelId: string, diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita index a4ef93e795c..6d42b3ccdd4 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita @@ -20,6 +20,8 @@ channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount NS_SWIFT_NAME(preloadChannelWithUserAccount(byToken:channelId:userAccount:)); virtual int preloadChannelWithUserAccount(const char* token, const char* channelId, const char* userAccount) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int PreloadChannelWithUserAccount(const FString& token, const FString& channelId, const FString& userAccount); abstract preloadChannelWithUserAccount( token: string, channelId: string, diff --git a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita index 1bbf325de64..a151bc9a196 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -20,8 +20,8 @@ filePath:(NSString* _Nonnull)filePath; virtual int preloadEffect(int soundId, const char* filePath, int startPos = 0) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int PreloadEffect(int soundId, FString filePath, int startPos); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int PreloadEffect(int soundId, const FString & filePath, int startPos); abstract preloadEffect( soundId: number, filePath: string, diff --git a/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita b/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita index 08e5de516d9..e564c8511a2 100644 --- a/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita @@ -17,7 +17,8 @@ - (NSArray<AgoraFocalLengthInfo *>* __nullable)queryCameraFocalLengthCapability NS_SWIFT_NAME(queryCameraFocalLengthCapability()); virtual int queryCameraFocalLengthCapability(agora::rtc::FocalLengthInfo* focalLengthInfos, int& size) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int QueryCameraFocalLengthCapability(const TArray<FFocalLengthInfo> & focalLengthInfos); public abstract int QueryCameraFocalLengthCapability(ref FocalLengthInfo[] focalLengthInfos, ref int size); abstract queryCameraFocalLengthCapability(): { diff --git a/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita b/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita index 26ddca62eec..68bf4c6b5c8 100644 --- a/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita @@ -18,8 +18,8 @@ - (NSArray <AgoraVideoCodecCapInfo *> *__nullable)queryCodecCapability; virtual int queryCodecCapability(CodecCapInfo* codecInfo, int& size) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int QueryCodecCapability(TArray<FCodecCapInfo> codecInfo); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int QueryCodecCapability(TArray<FCodecCapInfo> & codecInfo, int QuerySize = 10); abstract queryCodecCapability(): { codecInfo: CodecCapInfo[]; size: number }; public abstract int QueryCodecCapability(ref CodecCapInfo[] codecInfo, ref int size); abstract queryCodecCapability(): { codecInfo: CodecCapInfo[]; size: number }; diff --git a/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita b/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita index af8f6e5a094..8e66c7e46a9 100644 --- a/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita +++ b/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita @@ -17,7 +17,8 @@ - (int)queryDeviceScore NS_SWIFT_NAME(queryDeviceScore()); virtual int queryDeviceScore() = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int QueryDeviceScore(); abstract queryDeviceScore(): number; public abstract int QueryDeviceScore(); abstract queryDeviceScore(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita b/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita index a741eb7e054..e49999640b9 100644 --- a/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita @@ -19,7 +19,7 @@ #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int queryScreenCaptureCapability() = 0; #endif - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int QueryScreenCaptureCapability(); public abstract int QueryScreenCaptureCapability(); diff --git a/dita/RTC-NG/API/api_irtcengine_rate.dita b/dita/RTC-NG/API/api_irtcengine_rate.dita index 0a5a254b186..f0e82bea762 100644 --- a/dita/RTC-NG/API/api_irtcengine_rate.dita +++ b/dita/RTC-NG/API/api_irtcengine_rate.dita @@ -21,8 +21,8 @@ description:(NSString * _Nullable)description; virtual int rate(const char* callId, int rating, const char* description) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int Rate(FString callId, int rating, FString description); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int Rate(const FString& callId, int rating, const FString& description); abstract rate(callId: string, rating: number, description: string): number; public abstract int Rate(string callId, int rating, string description); abstract rate(callId: string, rating: number, description: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_registerextension.dita b/dita/RTC-NG/API/api_irtcengine_registerextension.dita index cd31c6bdd34..42f674200d2 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerextension.dita @@ -21,8 +21,8 @@ sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(registerExtension(withVendor:extension:sourceType:)); virtual int registerExtension(const char* provider, const char* extension, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int RegisterExtension(FString provider, FString extension, EMEDIA_SOURCE_TYPE type); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int RegisterExtension(const FString& provider, const FString& extension, EMEDIA_SOURCE_TYPE type); abstract registerExtension( provider: string, extension: string, diff --git a/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita b/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita index 395c56a985b..d1090a27257 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita @@ -17,8 +17,8 @@ - (int)registerLocalUserAccountWithAppID:(NSString * _Nonnull)appID userAccount:(NSString * _Nonnull)userAccount; virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int RegisterLocalUserAccount(FString appId, FString userAccount); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int RegisterLocalUserAccount(const FString& appId, const FString& userAccount); abstract registerLocalUserAccount(appId: string, userAccount: string): number; public abstract int RegisterLocalUserAccount(string appId, string userAccount); abstract registerLocalUserAccount(appId: string, userAccount: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_renewtoken.dita b/dita/RTC-NG/API/api_irtcengine_renewtoken.dita index 488299d4e5b..14d2b0a561e 100644 --- a/dita/RTC-NG/API/api_irtcengine_renewtoken.dita +++ b/dita/RTC-NG/API/api_irtcengine_renewtoken.dita @@ -17,8 +17,8 @@ public abstract renewToken(token: string): number; - (int)renewToken:(NSString * _Nonnull)token; virtual int renewToken(const char* token) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int RenewToken(FString token); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int RenewToken(const FString & token); abstract renewToken(token: string): number; public abstract int RenewToken(string token); abstract renewToken(token: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita index ea292434cee..640f99b544e 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita @@ -17,7 +17,7 @@ - (int)resumeAllChannelMediaRelay; virtual int resumeAllChannelMediaRelay() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ResumeAllChannelMediaRelay(); abstract resumeAllChannelMediaRelay(): number; public abstract int ResumeAllChannelMediaRelay(); diff --git a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita index 56069ec9d44..169110489fa 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita @@ -19,7 +19,7 @@ - (int)resumeAllEffects; virtual int resumeAllEffects() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ResumeAllEffects(); abstract resumeAllEffects(): number; public abstract int ResumeAllEffects(); diff --git a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita index 3ba851539b4..df8515d5d12 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita @@ -17,7 +17,7 @@ public abstract resumeAudioMixing(): number; - (int)resumeAudioMixing; virtual int resumeAudioMixing() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ResumeAudioMixing(); abstract resumeAudioMixing(): number; public abstract int ResumeAudioMixing(); diff --git a/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita b/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita index 2cd24ad2265..b6755393d47 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita @@ -19,7 +19,7 @@ - (int)resumeEffect:(int)soundId; virtual int resumeEffect(int soundId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ResumeEffect(int soundId); abstract resumeEffect(soundId: number): number; public abstract int ResumeEffect(int soundId); diff --git a/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita b/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita index 6c876157427..62cc327ffe7 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita @@ -26,8 +26,8 @@ const char* event, const char* label, int value) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SendCustomReportMessage(FString id, FString category, FString event, FString label, int value); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SendCustomReportMessage(const FString& id, const FString& category, const FString& event, const FString& label, int value); abstract sendCustomReportMessage( id: string, category: string, diff --git a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita index f466020c6c7..a7eabfefe99 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita @@ -20,8 +20,8 @@ virtual int sendStreamMessage(int streamId, const char* data, size_t length) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SendStreamMessage(int streamId, FString data); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SendStreamMessage(int streamId, const FString& data); abstract sendStreamMessage(streamId: number, data: Uint8Array, length: number): number; public abstract int SendStreamMessage(int streamId, byte[] data, uint length); abstract sendStreamMessage( diff --git a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita index c7a80b5ba80..6deeeb2a004 100644 --- a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -17,7 +17,7 @@ - (int)setAdvancedAudioOptions:(AgoraAdvancedAudioOptions * _Nonnull)options; virtual int setAdvancedAudioOptions(media::base::AdvancedAudioOptions &options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAdvancedAudioOptions(const FAdvancedAudioOptions& options); abstract setAdvancedAudioOptions(options: AdvancedAudioOptions): number; public abstract int SetAdvancedAudioOptions(AdvancedAudioOptions options); diff --git a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita index e187adee2f2..1394cc42dbc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita @@ -17,7 +17,7 @@ - (int)setAINSMode:(BOOL)enabled mode:(AUDIO_AINS_MODE)mode NS_SWIFT_NAME(setAINSMode(_:mode:)); virtual int setAINSMode(bool enabled, AUDIO_AINS_MODE mode) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAINSMode(bool enabled, EAUDIO_AINS_MODE mode); abstract setAINSMode(enabled: boolean, mode: AudioAinsMode): number; public abstract int SetAINSMode(bool enabled, AUDIO_AINS_MODE mode); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita index d6ccd5486b3..c0bb4dda1ea 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita @@ -17,7 +17,7 @@ - (int)setAudioEffectParameters:(AgoraAudioEffectPreset)preset param1:(int)param1 param2:(int)param2; virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioEffectParameters(FENUMWRAP_AUDIO_EFFECT_PRESET preset, int param1, int param2); abstract setAudioEffectParameters(preset: AudioEffectPreset, param1: number, param2: number): number; public abstract int SetAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita index 57643389fb9..b423152d8c8 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita @@ -17,7 +17,7 @@ - (int)setAudioEffectPreset:(AgoraAudioEffectPreset)preset; virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioEffectPreset(FENUMWRAP_AUDIO_EFFECT_PRESET preset); abstract setAudioEffectPreset(preset: AudioEffectPreset): number; public abstract int SetAudioEffectPreset(AUDIO_EFFECT_PRESET preset); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita index 10459b4078d..49fd96b2b65 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita @@ -17,7 +17,7 @@ - (int)setAudioMixingDualMonoMode:(AgoraAudioMixingDualMonoMode)mode; virtual int setAudioMixingDualMonoMode(media::AUDIO_MIXING_DUAL_MONO_MODE mode) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioMixingDualMonoMode(EAUDIO_MIXING_DUAL_MONO_MODE mode); abstract setAudioMixingDualMonoMode(mode: AudioMixingDualMonoMode): number; public abstract int SetAudioMixingDualMonoMode(AUDIO_MIXING_DUAL_MONO_MODE mode); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita index 6c74142a137..53d6df6add5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita @@ -17,7 +17,7 @@ - (int)setAudioMixingPitch:(NSInteger)pitch; virtual int setAudioMixingPitch(int pitch) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioMixingPitch(int pitch); abstract setAudioMixingPitch(pitch: number): number; public abstract int SetAudioMixingPitch(int pitch); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita index 6a41e166473..d7513f28eb9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita @@ -17,7 +17,8 @@ - (int)setAudioMixingPlaybackSpeed:(NSInteger)speed NS_SWIFT_NAME(setAudioMixingPlaybackSpeed(_:)); virtual int setAudioMixingPlaybackSpeed(int speed) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetAudioMixingPlaybackSpeed(int speed); abstract setAudioMixingPlaybackSpeed(speed: number): number; public abstract int SetAudioMixingPlaybackSpeed(int speed); abstract setAudioMixingPlaybackSpeed(speed: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita index 52d053e20e4..b9893aa19e6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita @@ -17,7 +17,7 @@ public abstract setAudioMixingPosition(pos: number): number; - (int)setAudioMixingPosition:(NSInteger)pos; virtual int setAudioMixingPosition(int pos /*in ms*/) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioMixingPosition(int pos); abstract setAudioMixingPosition(pos: number): number; public abstract int SetAudioMixingPosition(int pos); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita index a856445362c..c8f06e8b147 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita @@ -17,8 +17,8 @@ - (int)setAudioProfile:(AgoraAudioProfile)profile scenario:(AgoraAudioScenario)scenario; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetAudioProfile(EAUDIO_PROFILE_TYPE profile = EAUDIO_PROFILE_TYPE::AUDIO_PROFILE_DEFAULT, EAUDIO_SCENARIO_TYPE scenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetAudioProfileAndScenario(EAUDIO_PROFILE_TYPE profile = EAUDIO_PROFILE_TYPE::AUDIO_PROFILE_DEFAULT, EAUDIO_SCENARIO_TYPE scenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT); abstract setAudioProfile( profile: AudioProfileType, scenario?: AudioScenarioType diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita index 9d927f238e2..10888f98d98 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita @@ -17,6 +17,8 @@ public abstract setAudioProfile(profile: Constants.AudioProfileType): number; - (int)setAudioProfile:(AgoraAudioProfile)profile; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetAudioProfile(EAUDIO_PROFILE_TYPE profile = EAUDIO_PROFILE_TYPE::AUDIO_PROFILE_DEFAULT); abstract setAudioProfile(profile: AudioProfileType, scenario?: AudioScenarioType): number; public abstract int SetAudioProfile(AUDIO_PROFILE_TYPE profile); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita index edc5ad169fd..73283a1bfd9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -17,7 +17,7 @@ public abstract setAudioScenario(scenario: Constants.AudioScenarioType): number; - (int)setAudioScenario:(AgoraAudioScenario)scenario; virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioScenario(EAUDIO_SCENARIO_TYPE scenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT); abstract setAudioScenario(scenario: AudioScenarioType): number; public abstract int SetAudioScenario(AUDIO_SCENARIO_TYPE scenario); diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita index 00e62e471d5..de85ebbb0c9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita @@ -17,7 +17,7 @@ - (void)setAudioSessionOperationRestriction:(AgoraAudioSessionOperationRestriction)restriction NS_SWIFT_NAME(setAudioSessionOperationRestriction(_:)); virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetAudioSessionOperationRestriction(EAUDIO_SESSION_OPERATION_RESTRICTION restriction); abstract setAudioSessionOperationRestriction(restriction: AudioSessionOperationRestriction): number; public abstract int SetAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction); diff --git a/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita b/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita index 2c71b5951fb..37512da81b3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita +++ b/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita @@ -17,8 +17,8 @@ - (int) setAVSyncSource:(NSString* _Nonnull)channelId uid:(NSUInteger)uid; virtual int setAVSyncSource(const char* channelId, uid_t uid) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetAVSyncSource(FString channelId, int64 uid); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetAVSyncSource(const FString& channelId, int64 uid); abstract setAVSyncSource(channelId: string, uid: number): number; public abstract int SetAVSyncSource(string channelId, uint uid); abstract setAVSyncSource(channelId: string, uid: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita index fc421f80747..76bdac391ba 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -17,7 +17,7 @@ - (int)setBeautyEffectOptions:(BOOL)enable options:(AgoraBeautyOptions* _Nullable)options; virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetBeautyEffectOptions(bool enabled, const FBeautyOptions& options, EMEDIA_SOURCE_TYPE type); abstract setBeautyEffectOptions( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita b/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita index fd61c870cee..73d882e0a3e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita @@ -18,7 +18,7 @@ virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCameraAutoExposureFaceModeEnabled(bool enabled); abstract setCameraAutoExposureFaceModeEnabled(enabled: boolean): number; public abstract int SetCameraAutoExposureFaceModeEnabled(bool enabled); diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita b/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita index 2dfff7d1c8f..a4d0fd953c8 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita @@ -17,8 +17,8 @@ - (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable; virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetCameraAutoFocusFaceModeEnabled(bool enabled); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetCameraAutoFocusFaceModeEnabled(bool enabled); abstract setCameraAutoFocusFaceModeEnabled(enabled: boolean): number; public abstract int SetCameraAutoFocusFaceModeEnabled(bool enabled); abstract setCameraAutoFocusFaceModeEnabled(enabled: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita index 7460e007d93..82081bdb1f2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita @@ -17,8 +17,8 @@ public abstract setCameraCapturerConfiguration(config: CameraCapturerConfiguration): number; - (int)setCameraCapturerConfiguration:(AgoraCameraCapturerConfiguration * _Nullable)config; virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetCameraCapturerConfiguration(const FCameraCapturerConfiguration& config); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetCameraCapturerConfiguration(const FCameraCapturerConfiguration& config); abstract setCameraCapturerConfiguration( config: CameraCapturerConfiguration ): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita b/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita index 0f2ab4fa31b..d7979a9c59c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita @@ -18,7 +18,7 @@ virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCameraDeviceOrientation(EVIDEO_SOURCE_TYPE type, FENUMWRAP_VIDEO_ORIENTATION orientation); abstract setCameraDeviceOrientation( type: VideoSourceType, diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita b/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita index 8fc92f7119a..da8ccd10045 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita @@ -18,6 +18,8 @@ - (CGFloat)setCameraExposureFactor:(CGFloat)exposureFactor NS_SWIFT_NAME(setCameraExposureFactor(_:)); virtual int setCameraExposureFactor(float factor) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetCameraExposureFactor(float factor); public abstract int SetCameraExposureFactor(float factor); abstract setCameraExposureFactor(factor: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita b/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita index 8f95b56af60..c0a6280e4f8 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita @@ -18,7 +18,7 @@ - (BOOL)setCameraExposurePosition:(CGPoint)positionInView; virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCameraExposurePosition(float positionXinView, float positionYinView); abstract setCameraExposurePosition( positionXinView: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita b/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita index 708a9fb8a29..60b2b74a989 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita @@ -18,7 +18,7 @@ - (BOOL)setCameraFocusPositionInPreview:(CGPoint)position; virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCameraFocusPositionInPreview(float positionX, float positionY); abstract setCameraFocusPositionInPreview( positionX: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita b/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita index 19b91024ad5..689b42662a5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita @@ -17,7 +17,8 @@ - (int) setCameraStabilizationMode:(AgoraCameraStabilizationMode)mode NS_SWIFT_NAME(setCameraStabilizationMode(_:)); virtual int setCameraStabilizationMode(CAMERA_STABILIZATION_MODE mode) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetCameraStabilizationMode(FENUMWRAP_CAMERA_STABILIZATION_MODE mode); public abstract int SetCameraStabilizationMode(CAMERA_STABILIZATION_MODE mode); abstract setCameraStabilizationMode(mode: CameraStabilizationMode): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita b/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita index a4f8abed7de..38540f626d2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita @@ -18,7 +18,7 @@ - (BOOL)setCameraTorchOn:(BOOL)isOn NS_SWIFT_NAME(setCameraTorchOn(_:)); virtual int setCameraTorchOn(bool isOn) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCameraTorchOn(bool isOn); abstract setCameraTorchOn(isOn: boolean): number; public abstract int SetCameraTorchOn(bool isOn); diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita b/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita index 5006c43d6f7..7876d0eeb53 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita @@ -18,7 +18,7 @@ - (CGFloat)setCameraZoomFactor:(CGFloat)zoomFactor; virtual int setCameraZoomFactor(float factor) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCameraZoomFactor(float factor); abstract setCameraZoomFactor(factor: number): number; public abstract int SetCameraZoomFactor(float factor); diff --git a/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita b/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita index 2ba0a872dec..a2a14cbe3cd 100644 --- a/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita @@ -17,7 +17,7 @@ public abstract setChannelProfile(profile: number): number; - (int)setChannelProfile:(AgoraChannelProfile)profile; virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetChannelProfile(ECHANNEL_PROFILE_TYPE profile); abstract setChannelProfile(profile: ChannelProfileType): number; public abstract int SetChannelProfile(CHANNEL_PROFILE_TYPE profile); diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita index 7b42cbdb2f6..b60eb80942f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -17,8 +17,8 @@ public abstract setClientRole(role: number, options?: ClientRoleOptions): number; - (int)setClientRole:(AgoraClientRole)role options:(AgoraClientRoleOptions * _Nullable)options; virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetClientRole(ECLIENT_ROLE_TYPE clientroletype, FClientRoleOptions& options); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetClientRole(FClientRoleOptions options, ECLIENT_ROLE_TYPE clientroletype = ECLIENT_ROLE_TYPE::CLIENT_ROLE_BROADCASTER); abstract setClientRole( role: ClientRoleType, options?: ClientRoleOptions diff --git a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita index b927d111c02..aacc5822572 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita @@ -17,7 +17,7 @@ - (int)setCloudProxy:(AgoraCloudProxyType)proxyType NS_SWIFT_NAME(setCloudProxy(_:)); virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetCloudProxy(ECLOUD_PROXY_TYPE proxyType); abstract setCloudProxy(proxyType: CloudProxyType): number; public abstract int SetCloudProxy(CLOUD_PROXY_TYPE proxyType); diff --git a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita index d93a70e91ad..d55afb5061d 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita @@ -19,7 +19,7 @@ - (int)setColorEnhanceOptions:(BOOL)enable options:(AgoraColorEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setColorEnhanceOptions(_:options:)); virtual int setColorEnhanceOptions(bool enabled, const ColorEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetColorEnhanceOptions(bool enabled, const FColorEnhanceOptions& options, EMEDIA_SOURCE_TYPE type); abstract setColorEnhanceOptions( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita index 57adedd7a68..b8756fa1e36 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita @@ -18,7 +18,7 @@ - (int)setDefaultAudioRouteToSpeakerphone:(BOOL)defaultToSpeaker; virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker); abstract setDefaultAudioRouteToSpeakerphone( defaultToSpeaker: boolean diff --git a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita index 8a2fb52a8bd..3cec0b74a6c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita @@ -17,7 +17,7 @@ - (int)setDirectCdnStreamingAudioConfiguration:(AgoraAudioProfile)profile; virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetDirectCdnStreamingAudioConfiguration(EAUDIO_PROFILE_TYPE profile); abstract setDirectCdnStreamingAudioConfiguration( profile: AudioProfileType diff --git a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita index b668d42c415..897bd47451c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita @@ -19,7 +19,7 @@ virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetDirectCdnStreamingVideoConfiguration(const FVideoEncoderConfiguration& config); abstract setDirectCdnStreamingVideoConfiguration( config: VideoEncoderConfiguration diff --git a/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita b/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita index cde8db511f1..c1aadf25274 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita @@ -20,7 +20,7 @@ streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig; virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode, const SimulcastStreamConfig& streamConfig) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetDualStreamMode(FENUMWRAP_SIMULCAST_STREAM_MODE mode, const FSimulcastStreamConfig& streamConfig); abstract setDualStreamMode( mode: SimulcastStreamMode, diff --git a/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita b/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita index 52479d11fc9..258f22baeea 100644 --- a/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita @@ -17,7 +17,7 @@ - (int)setEffectPosition:(int)soundId pos:(NSInteger)pos NS_SWIFT_NAME(setEffectPosition(_:pos:)); virtual int setEffectPosition(int soundId, int pos) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetEffectPosition(int soundId, int pos); abstract setEffectPosition(soundId: number, pos: number): number; public abstract int SetEffectPosition(int soundId, int pos); diff --git a/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita b/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita index c1b54b60ef8..b9e2d7b4199 100644 --- a/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita @@ -19,8 +19,8 @@ - (int)setEffectsVolume:(NSInteger)volume; virtual int setEffectsVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetEffectsVolume(int volume); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetEffectsVolume(int volume); abstract setEffectsVolume(volume: number): number; public abstract int SetEffectsVolume(int volume); abstract setEffectsVolume(volume: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita b/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita index 385deb44f24..042723de964 100644 --- a/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita +++ b/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita @@ -17,7 +17,7 @@ public abstract setEnableSpeakerphone(enabled: boolean): number; - (int)setEnableSpeakerphone:(BOOL)enableSpeaker; virtual int setEnableSpeakerphone(bool speakerOn) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetEnableSpeakerphone(bool speakerOn); abstract setEnableSpeakerphone(speakerOn: boolean): number; public abstract int SetEnableSpeakerphone(bool speakerOn); diff --git a/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita b/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita index ab9e27b421d..fc9fe130b03 100644 --- a/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita +++ b/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita @@ -23,8 +23,8 @@ const char* provider, const char* extension, const char* key, const char* value, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetExtensionProperty(FString provider, FString extension, FString key, FString value, EMEDIA_SOURCE_TYPE type = EMEDIA_SOURCE_TYPE::UNKNOWN_MEDIA_SOURCE); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetExtensionProperty(const FString& provider, const FString& extension, const FString& key, const FString& value, EMEDIA_SOURCE_TYPE type = EMEDIA_SOURCE_TYPE::UNKNOWN_MEDIA_SOURCE); abstract setExtensionProperty( provider: string, extension: string, diff --git a/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita b/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita index 832e20068fd..054f643fd3a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita +++ b/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita @@ -21,8 +21,8 @@ virtual int setExtensionProviderProperty( const char* provider, const char* key, const char* value) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetExtensionProviderProperty(FString provider, FString key, FString value); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetExtensionProviderProperty(const FString& provider, const FString& key, const FString& value); abstract setExtensionProviderProperty( provider: string, key: string, diff --git a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita index d15839dd542..9d40eab97f0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita @@ -17,7 +17,7 @@ - (int)setHeadphoneEQParameters:(int)lowGain highGain:(int)highGain; virtual int setHeadphoneEQParameters(int lowGain, int highGain) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetHeadphoneEQParameters(int lowGain, int highGain); abstract setHeadphoneEQParameters(lowGain: number, highGain: number): number; public abstract int SetHeadphoneEQParameters(int lowGain, int highGain); diff --git a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita index fc0f4027653..7960b733d48 100644 --- a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita @@ -17,7 +17,7 @@ - (int)setHeadphoneEQPreset:(AgoraHeadphoneEQPreset)preset; virtual int setHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetHeadphoneEQPreset(FENUMWRAP_HEADPHONE_EQUALIZER_PRESET preset); abstract setHeadphoneEQPreset(preset: HeadphoneEqualizerPreset): number; public abstract int SetHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset); diff --git a/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita b/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita index 9f9742d6084..e2b8121523b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita @@ -17,8 +17,8 @@ public abstract setInEarMonitoringVolume(volume: number): number; - (int)setInEarMonitoringVolume:(NSInteger)volume; virtual int setInEarMonitoringVolume(int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetInEarMonitoringVolume(int volume); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetInEarMonitoringVolume(int volume); abstract setInEarMonitoringVolume(volume: number): number; public abstract int SetInEarMonitoringVolume(int volume); abstract setInEarMonitoringVolume(volume: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita b/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita index d05f20c919d..f45f4eb792a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita @@ -17,7 +17,7 @@ - (int)setLocalAccessPoint:(AgoraLocalAccessPointConfiguration* _Nonnull)config NS_SWIFT_NAME(setLocalAccessPoint(withConfig:)); virtual int setLocalAccessPoint(const LocalAccessPointConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLocalAccessPoint(const FLocalAccessPointConfiguration& config); abstract setLocalAccessPoint(config: LocalAccessPointConfiguration): number; public abstract int SetLocalAccessPoint(LocalAccessPointConfiguration config); diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 05b59fcca08..acdef404fb9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -18,7 +18,7 @@ - (int)setLocalRenderMode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLocalRenderMode(ERENDER_MODE_TYPE renderMode, EVIDEO_MIRROR_MODE_TYPE mirrorMode = EVIDEO_MIRROR_MODE_TYPE::VIDEO_MIRROR_MODE_AUTO); abstract setLocalRenderMode( renderMode: RenderModeType, diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita index cc3d9b3e3b8..f667b8abbaf 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita @@ -17,7 +17,7 @@ - (int)setLocalVideoMirrorMode:(AgoraVideoMirrorMode)mode; virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLocalVideoMirrorMode(EVIDEO_MIRROR_MODE_TYPE mirrorMode); abstract setLocalVideoMirrorMode(mirrorMode: VideoMirrorModeType): number; public abstract int SetLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode); diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita index f8054c71b3d..1713a45ef68 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita @@ -19,7 +19,7 @@ - (int)setLocalVoiceEqualizationOfBandFrequency:(AgoraAudioEqualizationBandFrequency)bandFrequency withGain:(NSInteger)gain; virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLocalVoiceEqualization(EAUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain); abstract setLocalVoiceEqualization( bandFrequency: AudioEqualizationBandFrequency, diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita index 63f81a0135f..35215dff69b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita @@ -18,8 +18,8 @@ - (int)setLocalVoiceFormant:(double)formantRatio; virtual int setLocalVoiceFormant(double formantRatio) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetLocalVoiceFormant(FString formantRatio = "0.0"); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetLocalVoiceFormant(const FString & formantRatio = "0.0"); abstract setLocalVoiceFormant(formantRatio: number): number; public abstract int SetLocalVoiceFormant(double formantRatio); abstract setLocalVoiceFormant(formantRatio: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita index 3380aa03d1c..863887b1939 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita @@ -17,7 +17,7 @@ - (int)setLocalVoicePitch:(double)pitch; virtual int setLocalVoicePitch(double pitch) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLocalVoicePitch(float pitch); abstract setLocalVoicePitch(pitch: number): number; public abstract int SetLocalVoicePitch(double pitch); diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita index 579448acfd6..776a8b9a607 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita @@ -17,7 +17,7 @@ - (int)setLocalVoiceReverbOfType:(AgoraAudioReverbType)reverbType withValue:(NSInteger)value; virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLocalVoiceReverb(EAUDIO_REVERB_TYPE reverbKey, int value); abstract setLocalVoiceReverb( reverbKey: AudioReverbType, diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 962fb765cb7..62b13b392f7 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -17,8 +17,8 @@ public abstract setLogFile(filePath: string): number; - (int)setLogFile:(NSString * _Nonnull)filePath; virtual int setLogFile(const char* filePath) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetLogFile(FString filePath); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetLogFile(const FString& filePath); abstract setLogFile(filePath: string): number; public abstract int SetLogFile(string filePath); abstract setLogFile(filePath: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita b/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita index 0d2c3facfdf..af5615d54cd 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita @@ -17,7 +17,7 @@ public abstract setLogFileSize(fileSizeInKBytes: number): number; - (int)setLogFileSize:(NSUInteger)fileSizeInKBytes; virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLogFileSize(int fileSizeInKBytes); abstract setLogFileSize(fileSizeInKBytes: number): number; public abstract int SetLogFileSize(uint fileSizeInKBytes); diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita b/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita index c40da2ad26b..2c7f50113bc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita @@ -17,7 +17,7 @@ public abstract setLogFilter(filter: Constants.LogFilter): number; - (int)setLogFilter:(NSUInteger)filter; virtual int setLogFilter(unsigned int filter) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLogFilter(int filter); abstract setLogFilter(filter: LogFilterType): number; public abstract int SetLogFilter(uint filter); diff --git a/dita/RTC-NG/API/api_irtcengine_setloglevel.dita b/dita/RTC-NG/API/api_irtcengine_setloglevel.dita index 7d982394b26..12cda1be096 100644 --- a/dita/RTC-NG/API/api_irtcengine_setloglevel.dita +++ b/dita/RTC-NG/API/api_irtcengine_setloglevel.dita @@ -18,7 +18,7 @@ - (int)setLogLevel:(AgoraLogLevel)level; virtual int setLogLevel(commons::LOG_LEVEL level) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLogLevel(ELOG_LEVEL level); abstract setLogLevel(level: LogLevel): number; public abstract int SetLogLevel(LOG_LEVEL level); diff --git a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index 40132993b73..bfb20987759 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -19,7 +19,7 @@ - (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:)); virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetLowlightEnhanceOptions(bool enabled, const FLowlightEnhanceOptions& options, EMEDIA_SOURCE_TYPE type); abstract setLowlightEnhanceOptions( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_setparameters.dita b/dita/RTC-NG/API/api_irtcengine_setparameters.dita index 6443c94ace3..497f3050863 100644 --- a/dita/RTC-NG/API/api_irtcengine_setparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setparameters.dita @@ -17,8 +17,8 @@ public abstract setParameters(parameters: string): number; - (int)setParameters:(NSString * _Nonnull)options NS_SWIFT_NAME(setParameters(_:)); virtual int setParameters(const char* parameters) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetParameters(FString parameters); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetParameters(const FString& parameters); abstract setParameters(parameters: string): number; public abstract int SetParameters(string key, object value); abstract setParameters(parameters: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index b3e15f8f1ad..3f8d387ebca 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -17,7 +17,7 @@ public abstract setRemoteDefaultVideoStreamType(streamType: Constants.VideoStreamType): number; - (int)setRemoteDefaultVideoStreamType:(AgoraVideoStreamType)streamType; virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteDefaultVideoStreamType(EVIDEO_STREAM_TYPE streamType); abstract setRemoteDefaultVideoStreamType(streamType: VideoStreamType): number; public abstract int SetRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType); diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita index e2dd2c1d94f..f5e1dda352e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita @@ -19,7 +19,7 @@ mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteRenderMode(int64 uid, ERENDER_MODE_TYPE renderMode, EVIDEO_MIRROR_MODE_TYPE mirrorMode); abstract setRemoteRenderMode( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index bf99eec2b5a..aff225564d0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -17,6 +17,8 @@ - (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option; virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetRemoteSubscribeFallbackOption(ESTREAM_FALLBACK_OPTIONS option); abstract setRemoteSubscribeFallbackOption( option: StreamFallbackOptions ): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita b/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita index f065aaab458..1825b71fbb3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita @@ -18,7 +18,7 @@ - (int)setRemoteUserSpatialAudioParams:(NSUInteger)uid params:(AgoraSpatialAudioParams* _Nonnull)params; virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteUserSpatialAudioParams(int64 uid, const FSpatialAudioParams& params); abstract setRemoteUserSpatialAudioParams( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index 5a0b41b22b1..15965b90c48 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -18,7 +18,7 @@ - (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType; virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteVideoStreamType(int64 uid, EVIDEO_STREAM_TYPE streamType); abstract setRemoteVideoStreamType( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita index 7813dd81b43..02eb4b323e5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita @@ -18,7 +18,7 @@ - (int)setRemoteVideoSubscriptionOptions:(NSUInteger)uid options:(AgoraVideoSubscriptionOptions* _Nonnull)options NS_SWIFT_NAME(setRemoteVideoSubscriptionOptions(_:options:)); virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteVideoSubscriptionOptions(int64 uid, const FVideoSubscriptionOptions& options); abstract setRemoteVideoSubscriptionOptions( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita b/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita index a9a1f1bdd4c..e9fe0306682 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita @@ -17,7 +17,7 @@ - (int)setRemoteVoicePosition:(NSUInteger)uid pan:(double)pan gain:(double)gain; virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteVoicePosition(int64 uid, float pan, float gain); abstract setRemoteVoicePosition( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita b/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita index 2523d131fa9..e8c9b5421c8 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita @@ -17,6 +17,8 @@ virtual int setRouteInCommunicationMode(int route) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetRouteInCommunicationMode(int route); public abstract int SetRouteInCommunicationMode(int route); abstract setRouteInCommunicationMode(route: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita b/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita index 3fc0dc3407a..7c2a8bce4c3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita +++ b/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita @@ -18,7 +18,7 @@ virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetScreenCaptureContentHint(EVIDEO_CONTENT_HINT contentHint); abstract setScreenCaptureContentHint(contentHint: VideoContentHint): number; public abstract int SetScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint); diff --git a/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita b/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita index e20f417da6a..130c5f877b9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita @@ -20,7 +20,7 @@ virtual int setScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetScreenCaptureScenario(ESCREEN_SCENARIO_TYPE screenScenario); abstract setScreenCaptureScenario(screenScenario: ScreenScenarioType): number; public abstract int SetScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario); diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita index 81e60cc8126..a2ab61a4255 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita @@ -17,7 +17,7 @@ - (int)setSubscribeAudioAllowlist:(NSArray <NSNumber *> *_Nonnull)allowlist; virtual int setSubscribeAudioAllowlist(uid_t* uidList, int uidNumber) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeAudioAllowlist(TArray<int64> uidList, int uidNumber); abstract setSubscribeAudioAllowlist( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita index 52f80b49c20..6feaac40b3a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita @@ -17,7 +17,7 @@ - (int)setSubscribeAudioBlocklist:(NSArray <NSNumber *> *_Nonnull)blocklist; virtual int setSubscribeAudioBlocklist(uid_t* uidList, int uidNumber) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeAudioBlocklist(TArray<int64> uidList, int uidNumber); abstract setSubscribeAudioBlocklist( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita index e3b9e892b2f..2fd9569601f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita @@ -17,7 +17,7 @@ - (int)setSubscribeVideoAllowlist:(NSArray <NSNumber *> *_Nonnull)allowlist; virtual int setSubscribeVideoAllowlist(uid_t* uidList, int uidNumber) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeVideoAllowlist(TArray<int64> uidList, int uidNumber); abstract setSubscribeVideoAllowlist( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita index fac270f29f7..d1d060aa36c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita @@ -17,7 +17,7 @@ - (int)setSubscribeVideoBlocklist:(NSArray <NSNumber *> *_Nonnull)blocklist; virtual int setSubscribeVideoBlocklist(uid_t* uidList, int uidNumber) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeVideoBlocklist(TArray<int64> uidList, int uidNumber); abstract setSubscribeVideoBlocklist( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita index 074d77e3d1d..1bde9a3adc5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita @@ -17,7 +17,7 @@ public abstract setupLocalVideo(canvas: VideoCanvas): number; - (int)setupLocalVideo:(AgoraRtcVideoCanvas * _Nullable)local; virtual int setupLocalVideo(const VideoCanvas& canvas) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetupLocalVideo(const FVideoCanvas& canvas); abstract setupLocalVideo(canvas: VideoCanvas): number; public abstract int SetupLocalVideo(VideoCanvas canvas); diff --git a/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita b/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita index e5fcf6f130c..f2395a74974 100644 --- a/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita @@ -17,7 +17,7 @@ public abstract setupRemoteVideo(canvas: VideoCanvas): number; - (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote; virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetupRemoteVideo(const FVideoCanvas& canvas); abstract setupRemoteVideo(canvas: VideoCanvas): number; public abstract int SetupRemoteVideo(VideoCanvas canvas); diff --git a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index 745961f9675..3c0eb0eca9d 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -19,7 +19,7 @@ - (int)setVideoDenoiserOptions:(BOOL)enable options:(AgoraVideoDenoiserOptions* _Nullable)options NS_SWIFT_NAME(setVideoDenoiserOptions(_:options:)); virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVideoDenoiserOptions(bool enabled, const FVideoDenoiserOptions& options, EMEDIA_SOURCE_TYPE type); abstract setVideoDenoiserOptions( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita index 78e28c6b94c..2f566f21e83 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita @@ -17,7 +17,7 @@ public abstract setVideoEncoderConfiguration(configuration: VideoEncoderConfiguration): number; - (int)setVideoEncoderConfiguration:(AgoraVideoEncoderConfiguration * _Nonnull)config; virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVideoEncoderConfiguration(const FVideoEncoderConfiguration& config); abstract setVideoEncoderConfiguration( config: VideoEncoderConfiguration diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita b/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita index fe444460cca..c5e34b080ee 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita @@ -17,7 +17,7 @@ - (int)setVideoScenario:(AgoraApplicationScenarioType)scenarioType NS_SWIFT_NAME(setVideoScenario(_:)); virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVideoScenario(EVIDEO_APPLICATION_SCENARIO_TYPE scenarioType); abstract setVideoScenario(scenarioType: VideoApplicationScenarioType): number; public abstract int SetVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType); diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita index 4a2aa706305..63024efa6a4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita @@ -17,7 +17,7 @@ - (int)setVoiceBeautifierParameters:(AgoraVoiceBeautifierPreset)preset param1:(int)param1 param2:(int)param2; virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVoiceBeautifierParameters(FENUMWRAP_VOICE_BEAUTIFIER_PRESET preset, int param1, int param2); abstract setVoiceBeautifierParameters(preset: VoiceBeautifierPreset, param1: number, param2: number): number; public abstract int SetVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2); diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita index 39bf51e7ff7..e9b30ddd5b4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -17,7 +17,7 @@ - (int)setVoiceBeautifierPreset:(AgoraVoiceBeautifierPreset)preset; virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVoiceBeautifierPreset(FENUMWRAP_VOICE_BEAUTIFIER_PRESET preset); abstract setVoiceBeautifierPreset(preset: VoiceBeautifierPreset): number; public abstract int SetVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset); diff --git a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita index a85914d84a0..4605af470c5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita @@ -17,7 +17,7 @@ - (int)setVoiceConversionPreset:(AgoraVoiceConversionPreset)preset; virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVoiceConversionPreset(FENUMWRAP_VOICE_CONVERSION_PRESET preset); abstract setVoiceConversionPreset(preset: VoiceConversionPreset): number; public abstract int SetVoiceConversionPreset(VOICE_CONVERSION_PRESET preset); diff --git a/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita b/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita index cc4fc15b763..239b124a798 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita @@ -20,8 +20,8 @@ withVolume:(int)volume; virtual int setVolumeOfEffect(int soundId, int volume) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetVolumeOfEffect(int soundId, int volume); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetVolumeOfEffect(int soundId, int volume); abstract setVolumeOfEffect(soundId: number, volume: number): number; public abstract int SetVolumeOfEffect(int soundId, int volume); abstract setVolumeOfEffect(soundId: number, volume: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index acaf43045ab..88cf54ae12b 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -17,8 +17,8 @@ public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number; - (int)startAudioMixing:(NSString* _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle startPos:(NSInteger)startPos; virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartAudioMixing(FString filePath, bool loopback, int cycle, int startPos = 0); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartAudioMixing(const FString & filePath, bool loopback, int cycle, int startPos = 0); abstract startAudioMixing( filePath: string, loopback: boolean, diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index 52bcec26888..23d7a2919e1 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -17,7 +17,7 @@ public abstract startAudioRecordingWithConfiguration(config: AudioRecordingConfiguration): number; - (int)startAudioRecordingWithConfig:(AgoraAudioRecordingConfiguration * _Nonnull)config; virtual int startAudioRecording(const AudioFileRecordingConfig& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartAudioRecording(const FAudioRecordingConfiguration& config); abstract startAudioRecording(config: AudioRecordingConfiguration): number; public abstract int StartAudioRecording(AudioRecordingConfiguration config); diff --git a/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita b/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita index 9093a4d7b74..57513b7e895 100644 --- a/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita @@ -19,7 +19,7 @@ sourceType: Constants.VideoSourceType, config: CameraCapturerConfiguration): number; - (int)startCameraCapture:(AgoraVideoSourceType)sourceType config:(AgoraCameraCapturerConfiguration * _Nullable)config NS_SWIFT_NAME(startCameraCapture(_:config:)); virtual int startCameraCapture(VIDEO_SOURCE_TYPE sourceType, const CameraCapturerConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartCameraCapture(EVIDEO_SOURCE_TYPE sourceType, const FCameraCapturerConfiguration& config); abstract startCameraCapture( sourceType: VideoSourceType, diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest3.dita b/dita/RTC-NG/API/api_irtcengine_startechotest3.dita index ecc4284cfa4..e3d5bfef568 100644 --- a/dita/RTC-NG/API/api_irtcengine_startechotest3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startechotest3.dita @@ -17,7 +17,7 @@ - (int)startEchoTestWithConfig:(AgoraEchoTestConfiguration* _Nonnull)config; virtual int startEchoTest(const EchoTestConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartEchoTest(const FEchoTestConfiguration& config); abstract startEchoTest(config: EchoTestConfiguration): number; public abstract int StartEchoTest(EchoTestConfiguration config); diff --git a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita index e71967e1fbc..d4644d1c0ba 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -17,7 +17,7 @@ public abstract startLastmileProbeTest(config: LastmileProbeConfig): number; - (int)startLastmileProbeTest:(AgoraLastmileProbeConfig *_Nullable)config; virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartLastmileProbeTest(const FLastmileProbeConfig& config); abstract startLastmileProbeTest(config: LastmileProbeConfig): number; public abstract int StartLastmileProbeTest(LastmileProbeConfig config); diff --git a/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita b/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita index 849b311a302..997066632b2 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita @@ -18,7 +18,7 @@ - (int)startLocalVideoTranscoder:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalVideoTranscoder(_:)); virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartLocalVideoTranscoder(const FLocalTranscoderConfiguration& config); abstract startLocalVideoTranscoder( config: LocalTranscoderConfiguration diff --git a/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita b/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita index fac6aac60d3..2f1ef63e903 100644 --- a/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita @@ -17,7 +17,7 @@ - (int)startMediaRenderingTracing NS_SWIFT_NAME(startMediaRenderingTracing()); virtual int startMediaRenderingTracing() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartMediaRenderingTracing(); abstract startMediaRenderingTracing(): number; public abstract int StartMediaRenderingTracing(); diff --git a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index a92f5d147bb..e70a93afd43 100644 --- a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -18,7 +18,7 @@ public abstract startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration: ChannelMediaRelayConfiguration): number; - (int)startOrUpdateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config NS_SWIFT_NAME(startOrUpdateChannelMediaRelay(_:)); virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartOrUpdateChannelMediaRelay(const FChannelMediaRelayConfiguration& configuration); abstract startOrUpdateChannelMediaRelay( configuration: ChannelMediaRelayConfiguration diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview2.dita b/dita/RTC-NG/API/api_irtcengine_startpreview2.dita index 2106ab83677..ee49e6135ab 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview2.dita @@ -18,7 +18,7 @@ public abstract startPreview(sourceType?: Constants.VideoSourceType): number; - (int)startPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(startPreview(_:)); virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartPreview(EVIDEO_SOURCE_TYPE sourceType = EVIDEO_SOURCE_TYPE::VIDEO_SOURCE_CAMERA_PRIMARY); abstract startPreview(sourceType?: VideoSourceType): number; public abstract int StartPreview(VIDEO_SOURCE_TYPE sourceType); diff --git a/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita b/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita index 699244770e7..f6d61ade483 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita @@ -17,8 +17,8 @@ String sound1, String sound2, AgoraRhythmPlayerConfig config); - (int)startRhythmPlayer:(NSString * _Nonnull)sound1 sound2:(NSString * _Nonnull)sound2 config:(AgoraRhythmPlayerConfig * _Nullable)config; virtual int startRhythmPlayer(const char* sound1, const char* sound2, const AgoraRhythmPlayerConfig& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartRhythmPlayer(FString sound1, FString sound2, const FAgoraRhythmPlayerConfig& config); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartRhythmPlayer(const FString& sound1, const FString& sound2, const FAgoraRhythmPlayerConfig& config); abstract startRhythmPlayer( sound1: string, sound2: string, diff --git a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita index f9126d754b9..c1790cb2470 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita @@ -17,8 +17,8 @@ - (int)startRtmpStreamWithoutTranscoding:(NSString* _Nonnull)url; virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartRtmpStreamWithoutTranscoding(FString url); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartRtmpStreamWithoutTranscoding(const FString& url); abstract startRtmpStreamWithoutTranscoding(url: string): number; public abstract int StartRtmpStreamWithoutTranscoding(string url); abstract startRtmpStreamWithoutTranscoding(url: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita index 2e10af42112..170b06ade4b 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita @@ -17,8 +17,8 @@ public abstract startRtmpStreamWithTranscoding(url: string, transcoding: LiveTranscoding): number; - (int)startRtmpStreamWithTranscoding:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartRtmpStreamWithTranscoding(FString url, FLiveTranscoding& transcoding); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartRtmpStreamWithTranscoding(const FString& url, const FLiveTranscoding& transcoding); abstract startRtmpStreamWithTranscoding( url: string, transcoding: LiveTranscoding diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index 29687f0713c..f74a1e85079 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -20,7 +20,7 @@ #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; #endif - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartScreenCapture(const FScreenCaptureParameters2& captureParams); abstract startScreenCapture(captureParams: ScreenCaptureParameters2): number; public abstract int StartScreenCapture(ScreenCaptureParameters2 captureParams); diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita index f4ee1d3994b..218f77decec 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita @@ -18,7 +18,7 @@ - (int)startScreenCapture:(AgoraVideoSourceType)sourceType config:(AgoraScreenCaptureConfiguration * _Nullable)config NS_SWIFT_NAME(startScreenCapture(_:config:)); virtual int startScreenCapture(VIDEO_SOURCE_TYPE sourceType, const ScreenCaptureConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartScreenCaptureBySourceType(EVIDEO_SOURCE_TYPE sourceType, const FScreenCaptureConfiguration& config); abstract startScreenCaptureBySourceType( sourceType: VideoSourceType, diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita index 085849c6152..a60de8c5707 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita @@ -22,8 +22,8 @@ virtual int startScreenCaptureByDisplayId(uint32_t displayId, const Rectangle& regionRect, const ScreenCaptureParameters& captureParams) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartScreenCaptureByDisplayId(int displayId, const FRectangle& regionRect, const FScreenCaptureParameters& captureParams); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartScreenCaptureByDisplayId(int64 displayId, const FRectangle& regionRect, const FScreenCaptureParameters& captureParams); abstract startScreenCaptureByDisplayId( displayId: number, regionRect: Rectangle, diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita index 785848c1305..23e72961e00 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita @@ -19,7 +19,7 @@ virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect, const Rectangle& regionRect, const ScreenCaptureParameters& captureParams) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartScreenCaptureByScreenRect(const FRectangle& screenRect, const FRectangle& regionRect, const FScreenCaptureParameters& captureParams) __deprecated; abstract startScreenCaptureByScreenRect( screenRect: Rectangle, diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita index 4886c09347a..133e7274885 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita @@ -21,7 +21,7 @@ virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle& regionRect, const ScreenCaptureParameters& captureParams) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartScreenCaptureByWindowId(int64 windowId, const FRectangle& regionRect, const FScreenCaptureParameters& captureParams); abstract startScreenCaptureByWindowId( windowId: any, diff --git a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita index d605873de2d..59b52beade9 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -19,7 +19,7 @@ - (int)stopAllEffects; virtual int stopAllEffects() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopAllEffects(); abstract stopAllEffects(): number; public abstract int StopAllEffects(); diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita index da98c7894e4..bfd77646f39 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -17,7 +17,7 @@ public abstract stopAudioMixing(): number; - (int)stopAudioMixing; virtual int stopAudioMixing() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopAudioMixing(); abstract stopAudioMixing(): number; public abstract int StopAudioMixing(); diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita index 709974600b4..65df685d026 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita @@ -17,7 +17,7 @@ public abstract stopAudioRecording(): number; - (int)stopAudioRecording; virtual int stopAudioRecording() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopAudioRecording(); abstract stopAudioRecording(): number; public abstract int StopAudioRecording(); diff --git a/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita b/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita index c2c5a0d0e49..d5b94af1eaa 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita @@ -17,7 +17,7 @@ public abstract stopCameraCapture(sourceType: Constants.VideoSourceType): number; - (int)stopCameraCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopCameraCapture(_:)); virtual int stopCameraCapture(VIDEO_SOURCE_TYPE sourceType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopCameraCapture(EVIDEO_SOURCE_TYPE sourceType); abstract stopCameraCapture(sourceType: VideoSourceType): number; public abstract int StopCameraCapture(VIDEO_SOURCE_TYPE sourceType); diff --git a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita index cef510589eb..f728a4ce952 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -17,7 +17,7 @@ public abstract stopChannelMediaRelay(): number; - (int)stopChannelMediaRelay; virtual int stopChannelMediaRelay() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopChannelMediaRelay(); abstract stopChannelMediaRelay(): number; public abstract int StopChannelMediaRelay(); diff --git a/dita/RTC-NG/API/api_irtcengine_stopechotest.dita b/dita/RTC-NG/API/api_irtcengine_stopechotest.dita index 7142d9abbba..5b2208d4e8c 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopechotest.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopechotest.dita @@ -17,7 +17,7 @@ - (int)stopEchoTest; virtual int stopEchoTest() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopEchoTest(); abstract stopEchoTest(): number; public abstract int StopEchoTest(); diff --git a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita index 046853754b9..45ba586eb90 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita @@ -19,7 +19,7 @@ - (int)stopEffect:(int)soundId; virtual int stopEffect(int soundId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopEffect(int soundId); abstract stopEffect(soundId: number): number; public abstract int StopEffect(int soundId); diff --git a/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita index 39fb2fdb15d..d4ca80496bb 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita @@ -17,7 +17,7 @@ public abstract stopLastmileProbeTest(): number; - (int)stopLastmileProbeTest; virtual int stopLastmileProbeTest() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopLastmileProbeTest(); abstract stopLastmileProbeTest(): number; public abstract int StopLastmileProbeTest(); diff --git a/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita b/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita index 5f9b1767391..3520cec3e9c 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita @@ -18,7 +18,7 @@ - (int)stopLocalVideoTranscoder NS_SWIFT_NAME(stopLocalVideoTranscoder()); virtual int stopLocalVideoTranscoder() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopLocalVideoTranscoder(); abstract stopLocalVideoTranscoder(): number; public abstract int StopLocalVideoTranscoder(); diff --git a/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita b/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita index 019d5ed5625..b55f99c3450 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita @@ -18,7 +18,7 @@ public abstract stopPreview(sourceType?: Constants.VideoSourceType): number; - (int)stopPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopPreview(_:)); virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopPreview(EVIDEO_SOURCE_TYPE sourceType = EVIDEO_SOURCE_TYPE::VIDEO_SOURCE_CAMERA_PRIMARY); abstract stopPreview(sourceType?: VideoSourceType): number; public abstract int StopPreview(VIDEO_SOURCE_TYPE sourceType); diff --git a/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita b/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita index bea46495cea..e3285b763cc 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita @@ -17,7 +17,7 @@ - (int)stopRhythmPlayer; virtual int stopRhythmPlayer() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopRhythmPlayer(); abstract stopRhythmPlayer(): number; public abstract int StopRhythmPlayer(); diff --git a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita index e74ba09c789..e40e05afdb3 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita @@ -17,8 +17,8 @@ public abstract stopRtmpStream(url: string): number; - (int)stopRtmpStream:(NSString* _Nonnull)url; virtual int stopRtmpStream(const char* url) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StopRtmpStream(FString url); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StopRtmpStream(const FString& url); abstract stopRtmpStream(url: string): number; public abstract int StopRtmpStream(string url); abstract stopRtmpStream(url: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita index ffb69cccdf4..1ce989db41e 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita @@ -20,7 +20,7 @@ #if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__) virtual int stopScreenCapture() = 0; #endif - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopScreenCapture(); abstract stopScreenCapture(): number; public abstract int StopScreenCapture(); diff --git a/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita b/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita index 2241f58da7e..f4389b167fe 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita @@ -17,7 +17,7 @@ - (int)stopScreenCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopScreenCapture(_:)); virtual int stopScreenCapture(VIDEO_SOURCE_TYPE sourceType) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopScreenCaptureBySourceType(EVIDEO_SOURCE_TYPE sourceType); abstract stopScreenCaptureBySourceType(sourceType: VideoSourceType): number; public abstract int StopScreenCapture(VIDEO_SOURCE_TYPE sourceType); diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita index 038a04d6889..66f604f9884 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita @@ -17,8 +17,8 @@ public abstract switchCamera(): number; - (int)switchCamera; virtual int switchCamera() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SwitchCamera(); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SwitchCamera(); abstract switchCamera(): number; public abstract int SwitchCamera(); abstract switchCamera(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita b/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita index 588f8f4dd3b..d63c70f6c8b 100644 --- a/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita +++ b/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita @@ -17,8 +17,8 @@ public abstract takeSnapshot(uid: number, filePath: string): number; - (NSInteger)takeSnapshot:(NSInteger)uid filePath:(NSString* _Nonnull)filePath; virtual int takeSnapshot(uid_t uid, const char* filePath) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int TakeSnapshot(int64 uid, FString filePath); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int TakeSnapshot(int64 uid, const FString& filePath); abstract takeSnapshot(uid: number, filePath: string): number; public abstract int TakeSnapshot(uint uid, string filePath); abstract takeSnapshot(uid: number, filePath: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita b/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita index d5a533a0aba..b592cbe8537 100644 --- a/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita @@ -18,7 +18,7 @@ virtual int unloadAllEffects() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UnloadAllEffects(); abstract unloadAllEffects(): number; public abstract int UnloadAllEffects(); diff --git a/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita index ecd4606f5ef..88057b630a4 100644 --- a/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita @@ -19,8 +19,8 @@ - (int)unloadEffect:(int)soundId; virtual int unloadEffect(int soundId) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int UnloadEffect(int soundId); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int UnloadEffect(int soundId); abstract unloadEffect(soundId: number): number; public abstract int UnloadEffect(int soundId); abstract unloadEffect(soundId: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita index c7afeb9f540..b2a23512d86 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita @@ -17,7 +17,7 @@ public abstract updateChannelMediaOptions(options: ChannelMediaOptions): number; - (int)updateChannelWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions; virtual int updateChannelMediaOptions(const ChannelMediaOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateChannelMediaOptions(const FChannelMediaOptions& options); abstract updateChannelMediaOptions(options: ChannelMediaOptions): number; public abstract int UpdateChannelMediaOptions(ChannelMediaOptions options); diff --git a/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita index f75103dcd95..6a34528b317 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita @@ -18,7 +18,7 @@ - (int)updateLocalTranscoderConfiguration:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(updateLocalTranscoderConfiguration(_:)); virtual int updateLocalTranscoderConfiguration(const LocalTranscoderConfiguration& config) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateLocalTranscoderConfiguration(const FLocalTranscoderConfiguration& config); abstract updateLocalTranscoderConfiguration( config: LocalTranscoderConfiguration diff --git a/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita b/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita index 6b93ce23781..35544911dc9 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita @@ -17,6 +17,8 @@ - (int)updatePreloadChannelToken:(NSString * _Nonnull)token NS_SWIFT_NAME(updatePreloadChannelToken(_:)); virtual int updatePreloadChannelToken(const char* token) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int UpdatePreloadChannelToken(const FString& token); abstract updatePreloadChannelToken(token: string): number; public abstract int UpdatePreloadChannelToken(string token); abstract updatePreloadChannelToken(token: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita b/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita index c0944319ef5..f7ecdf47f0d 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita @@ -17,8 +17,8 @@ public abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number; - (int)updateRtmpTranscoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int UpdateRtmpTranscoding(FLiveTranscoding& transcoding); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int UpdateRtmpTranscoding(const FLiveTranscoding& transcoding); abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number; public abstract int UpdateRtmpTranscoding(LiveTranscoding transcoding); abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number; diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita index 21a5085b4f5..793a52eb3df 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita @@ -17,7 +17,7 @@ - (int)updateScreenCapture:(AgoraScreenCaptureParameters2* _Nonnull)parameters NS_SWIFT_NAME(updateScreenCapture(_:)); virtual int updateScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateScreenCapture(const FScreenCaptureParameters2& captureParams); abstract updateScreenCapture(captureParams: ScreenCaptureParameters2): number; public abstract int UpdateScreenCapture(ScreenCaptureParameters2 captureParams); diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita index f7d4f0adf90..415aedb80da 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -19,7 +19,7 @@ - (int)updateScreenCaptureParameters:(AgoraScreenCaptureParameters * _Nonnull)captureParams; virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateScreenCaptureParameters(const FScreenCaptureParameters& captureParams); abstract updateScreenCaptureParameters( captureParams: ScreenCaptureParameters diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita index e591fb3500b..71ce32cc9fb 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita @@ -17,7 +17,7 @@ virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateScreenCaptureRegion(const FRectangle& regionRect); abstract updateScreenCaptureRegion(regionRect: Rectangle): number; public abstract int UpdateScreenCaptureRegion(Rectangle regionRect); diff --git a/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita b/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita index 7ccee72ab58..73d487fea84 100644 --- a/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita @@ -22,8 +22,8 @@ virtual int addVideoWatermarkEx(const char* watermarkUrl, const WatermarkOptions& options, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int AddVideoWatermarkEx(FString watermarkUrl, const FWatermarkOptions& options, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int AddVideoWatermarkEx(const FString& watermarkUrl, const FWatermarkOptions& options, const FRtcConnection& connection); abstract addVideoWatermarkEx( watermarkUrl: string, options: WatermarkOptions, diff --git a/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita b/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita index 63b9d01276a..b7b3d8c6585 100644 --- a/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita @@ -20,7 +20,7 @@ volume:(NSInteger)volume connection:(AgoraRtcConnection* _Nonnull)connection; virtual int adjustUserPlaybackSignalVolumeEx(unsigned int uid, int volume, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int AdjustUserPlaybackSignalVolumeEx(int64 uid, int volume, const FRtcConnection& connection); abstract adjustUserPlaybackSignalVolumeEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita b/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita index 7164b1c8b79..cd5866dbde4 100644 --- a/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita @@ -17,7 +17,7 @@ - (int)clearVideoWatermarkEx:(AgoraRtcConnection * _Nonnull)connection; virtual int clearVideoWatermarkEx(const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ClearVideoWatermarkEx(const FRtcConnection& connection); abstract clearVideoWatermarkEx(connection: RtcConnection): number; public abstract int ClearVideoWatermarkEx(RtcConnection connection); diff --git a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita index b3cc03bc6c1..c5e7ceb006b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita @@ -19,8 +19,8 @@ config:(AgoraDataStreamConfig * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(createDataStreamEx(_:config:connection:)); virtual int createDataStreamEx(int* streamId, DataStreamConfig& config, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int CreateDataStreamEx(int& streamId, const FDataStreamConfig& config, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int CreateDataStreamEx(int& streamId, const FDataStreamConfig& config, const FRtcConnection& connection); abstract createDataStreamEx( config: DataStreamConfig, connection: RtcConnection diff --git a/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita b/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita index 96324efecfe..43a15ac7b43 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita @@ -21,7 +21,7 @@ reportVad:(BOOL)reportVad connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableAudioVolumeIndicationEx(_:smooth:reportVad:connection:)); virtual int enableAudioVolumeIndicationEx(int interval, int smooth, bool reportVad, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableAudioVolumeIndicationEx(int interval, int smooth, bool reportVad, const FRtcConnection& connection); abstract enableAudioVolumeIndicationEx( interval: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita index 4480d6c36d1..318d2621895 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita @@ -17,7 +17,9 @@ boolean enabled, ContentInspectConfig config, RtcConnection connection); - (int)enableContentInspectEx:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableContentInspectEx(_:config:connection:)); - virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &config, const RtcConnection& connection) = 0; + virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &config, const RtcConnection& connection) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableContentInspectEx(bool enabled, const FContentInspectConfig& config, const FRtcConnection& connection); public abstract int EnableContentInspectEx(bool enabled, ContentInspectConfig config, RtcConnection connection); abstract enableContentInspectEx( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita b/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita index 1c097799733..3911b6a2c03 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita @@ -21,7 +21,7 @@ connection:(AgoraRtcConnection* _Nonnull)connection; virtual int enableDualStreamModeEx(bool enabled, const SimulcastStreamConfig& streamConfig, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableDualStreamModeEx(bool enabled, const FSimulcastStreamConfig& streamConfig, const FRtcConnection& connection); abstract enableDualStreamModeEx( enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita index 811ead2d61d..b190de3e0cc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita @@ -18,7 +18,8 @@ - (int)enableEncryptionEx:(bool)enabled encryptionConfig:(AgoraEncryptionConfig *_Nonnull)config connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableEncryptionEx(_:encryptionConfig:connection:)); virtual int enableEncryptionEx(const RtcConnection& connection, bool enabled, const EncryptionConfig& config) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableEncryptionEx(const FRtcConnection& connection, bool enabled, const FEncryptionConfig& config); abstract enableEncryptionEx( connection: RtcConnection, enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita b/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita index 59636e50d0d..78007e99ffa 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita @@ -19,8 +19,8 @@ deviceName:(NSString* _Nullable)deviceName connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableLoopbackRecordingEx(_:deviceName:connection:)); virtual int enableLoopbackRecordingEx(const RtcConnection& connection, bool enabled, const char* deviceName = NULL) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int EnableLoopbackRecordingEx(const FRtcConnection& connection, bool enabled, FString deviceName); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableLoopbackRecordingEx(const FRtcConnection& connection, bool enabled, const FString& deviceName); abstract enableLoopbackRecordingEx( connection: RtcConnection, enabled: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index e6da920ae98..da2ecc53e4c 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -17,7 +17,8 @@ public abstract getCallIdEx(connection:RtcConnection):string; - (NSString * _Nullable)getCallIdEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(getCallIdEx(_:)); virtual int getCallIdEx(agora::util::AString& callId, const RtcConnection& connection) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int GetCallIdEx( FString & callId, const FRtcConnection& connection); abstract getCallIdEx(connection: RtcConnection): string; public abstract int GetCallIdEx(ref string callId, RtcConnection connection); abstract getCallIdEx(connection: RtcConnection): string; diff --git a/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita b/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita index b9249dce815..88f2be6d7c4 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita @@ -18,8 +18,8 @@ - (AgoraConnectionState)getConnectionStateEx:(AgoraRtcConnection * _Nonnull)connection; virtual CONNECTION_STATE_TYPE getConnectionStateEx(const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - ECONNECTION_STATE_TYPE GetConnectionStateEx(const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + ECONNECTION_STATE_TYPE GetConnectionStateEx(const FRtcConnection& connection); abstract getConnectionStateEx(connection: RtcConnection): ConnectionStateType; public abstract CONNECTION_STATE_TYPE GetConnectionStateEx(RtcConnection connection); abstract getConnectionStateEx(connection: RtcConnection): ConnectionStateType; diff --git a/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita b/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita index 2ebcf294b4c..d448abaa19e 100644 --- a/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita @@ -24,8 +24,8 @@ virtual int joinChannelEx(const char* token, const RtcConnection& connection, const ChannelMediaOptions& options, IRtcEngineEventHandler* eventHandler) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int JoinChannelEx(FString token, const FRtcConnection& connection, const FChannelMediaOptions& options, UIRtcEngineEventHandler* eventHandler); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int JoinChannelEx(const FString& token, const FRtcConnection& connection, const FChannelMediaOptions& options); abstract joinChannelEx( token: string, connection: RtcConnection, diff --git a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita index fff3f95202c..e9e8aa0b35e 100644 --- a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita @@ -19,7 +19,7 @@ options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; virtual int leaveChannelEx(const RtcConnection& connection, const LeaveChannelOptions& options) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int LeaveChannelEx(const FRtcConnection& connection, const FLeaveChannelOptions& options); abstract leaveChannelEx( connection: RtcConnection, diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita index 9fc80744a0d..5f179592ad6 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita @@ -18,7 +18,7 @@ - (int)muteAllRemoteAudioStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteAudioStreamsEx(_:connection:)); virtual int muteAllRemoteAudioStreamsEx(bool mute, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteAllRemoteAudioStreamsEx(bool mute, const FRtcConnection& connection); abstract muteAllRemoteAudioStreamsEx( mute: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita index a32d9b34882..961cf65690d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita @@ -18,7 +18,7 @@ - (int)muteAllRemoteVideoStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteVideoStreamsEx(_:connection:)); virtual int muteAllRemoteVideoStreamsEx(bool mute, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteAllRemoteVideoStreamsEx(bool mute, const FRtcConnection& connection); abstract muteAllRemoteVideoStreamsEx( mute: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita index da01176e93b..48ff9831a89 100644 --- a/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita @@ -17,7 +17,7 @@ - (int)muteLocalAudioStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalAudioStreamEx(_:connection:)); virtual int muteLocalAudioStreamEx(bool mute, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteLocalAudioStreamEx(bool mute, const FRtcConnection& connection); abstract muteLocalAudioStreamEx( mute: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita index 429079d802f..cb8b81ec767 100644 --- a/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita @@ -17,7 +17,7 @@ - (int)muteLocalVideoStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalVideoStreamEx(_:connection:)); virtual int muteLocalVideoStreamEx(bool mute, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteLocalVideoStreamEx(bool mute, const FRtcConnection& connection); abstract muteLocalVideoStreamEx( mute: boolean, diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita index 75e8eec9116..34ec61c2e83 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita @@ -19,7 +19,7 @@ mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection; virtual int muteRemoteAudioStreamEx(uid_t uid, bool mute, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteRemoteAudioStreamEx(int64 uid, bool mute, const FRtcConnection& connection); abstract muteRemoteAudioStreamEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita index 9e8ddb4bf2a..95da6c25c0e 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita @@ -19,7 +19,7 @@ mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection; virtual int muteRemoteVideoStreamEx(uid_t uid, bool mute, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int MuteRemoteVideoStreamEx(int64 uid, bool mute, const FRtcConnection& connection); abstract muteRemoteVideoStreamEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita index c3a9edd2745..690407a1cd9 100644 --- a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita @@ -17,7 +17,7 @@ - (int)pauseAllChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(pauseAllChannelMediaRelayEx(_:)); virtual int pauseAllChannelMediaRelayEx(const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int PauseAllChannelMediaRelayEx(const FRtcConnection& connection); abstract pauseAllChannelMediaRelayEx(connection: RtcConnection): number; public abstract int PauseAllChannelMediaRelayEx(RtcConnection connection); diff --git a/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita index f3fcf6fba5c..90cc93ff335 100644 --- a/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita @@ -17,7 +17,7 @@ - (int)resumeAllChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(resumeAllChannelMediaRelayEx(_:)); virtual int resumeAllChannelMediaRelayEx(const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int ResumeAllChannelMediaRelayEx(const FRtcConnection& connection); abstract resumeAllChannelMediaRelayEx(connection: RtcConnection): number; public abstract int ResumeAllChannelMediaRelayEx(RtcConnection connection); diff --git a/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita b/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita index 0b80084d3dc..abab6d09e63 100644 --- a/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita @@ -24,8 +24,8 @@ connection:(AgoraRtcConnection * _Nonnull)connection; virtual int sendCustomReportMessageEx(const char* id, const char* category, const char* event, const char* label, int value, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SendCustomReportMessageEx(FString id, FString category, FString event, FString label, int value, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SendCustomReportMessageEx(const FString& id, const FString& category, const FString& event, const FString& label, int value, const FRtcConnection& connection); abstract sendCustomReportMessageEx( id: string, category: string, diff --git a/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita b/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita index 037910c5096..0acc2ec58cd 100644 --- a/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita @@ -17,8 +17,8 @@ virtual int sendStreamMessageEx(int streamId, const char* data, size_t length, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SendStreamMessageEx(int streamId, FString data, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SendStreamMessageEx(int streamId, const FString& data, const FRtcConnection& connection); abstract sendStreamMessageEx(streamId: number, data: Uint8Array, length: number, connection: RtcConnection): number; public abstract int SendStreamMessageEx(int streamId, byte[] data, uint length, RtcConnection connection); abstract sendStreamMessageEx( diff --git a/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita index 30fa81f7cc5..bea0a0b4e0f 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita @@ -22,7 +22,7 @@ virtual int setDualStreamModeEx(SIMULCAST_STREAM_MODE mode, const SimulcastStreamConfig& streamConfig, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetDualStreamModeEx(FENUMWRAP_SIMULCAST_STREAM_MODE mode, const FSimulcastStreamConfig& streamConfig, const FRtcConnection& connection); abstract setDualStreamModeEx( mode: SimulcastStreamMode, diff --git a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita index 41e016f0084..f9982c8dfd7 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita @@ -22,7 +22,7 @@ connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setRemoteRenderModeEx(uid_t uid, media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteRenderModeEx(int64 uid, ERENDER_MODE_TYPE renderMode, EVIDEO_MIRROR_MODE_TYPE mirrorMode, const FRtcConnection& connection); abstract setRemoteRenderModeEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 05d7c22bfa9..9b1c2c6ec13 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -19,7 +19,7 @@ type:(AgoraVideoStreamType)streamType connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoStreamEx(_:type:connection:)); virtual int setRemoteVideoStreamTypeEx(uid_t uid, VIDEO_STREAM_TYPE streamType, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteVideoStreamTypeEx(int64 uid, EVIDEO_STREAM_TYPE streamType, const FRtcConnection& connection); abstract setRemoteVideoStreamTypeEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita index deca9f523f5..b64eac2c041 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita @@ -20,7 +20,7 @@ options:(AgoraVideoSubscriptionOptions* _Nonnull)options connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoSubscriptionOptionsEx(_:options:connection:)); virtual int setRemoteVideoSubscriptionOptionsEx(uid_t uid, const VideoSubscriptionOptions& options, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteVideoSubscriptionOptionsEx(int64 uid, const FVideoSubscriptionOptions& options, const FRtcConnection& connection); abstract setRemoteVideoSubscriptionOptionsEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita index c2fc60d8e0a..1905e0d6d37 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita @@ -21,7 +21,7 @@ gain:(double)gain connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setRemoteVoicePositionEx(uid_t uid, double pan, double gain, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetRemoteVoicePositionEx(int64 uid, float pan, float gain, const FRtcConnection& connection); abstract setRemoteVoicePositionEx( uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita index 97d37dd7d4e..e1661bc84b4 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita @@ -17,7 +17,7 @@ - (int)setSubscribeAudioAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeAudioAllowlistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeAudioAllowlistEx(TArray<int64> uidList, int uidNumber, const FRtcConnection& connection); abstract setSubscribeAudioAllowlistEx( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita index 819710659cf..1f534d05dc2 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita @@ -17,7 +17,7 @@ - (int)setSubscribeAudioBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeAudioBlocklistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeAudioBlocklistEx(TArray<int64> uidList, int uidNumber, const FRtcConnection& connection); abstract setSubscribeAudioBlocklistEx( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita index 01ec7ed0eac..465df8d26b8 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita @@ -17,7 +17,7 @@ - (int)setSubscribeVideoAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeVideoAllowlistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeVideoAllowlistEx(TArray<int64> uidList, int uidNumber, const FRtcConnection& connection); abstract setSubscribeVideoAllowlistEx( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita index 99563a02121..d6874dd09e5 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita @@ -17,7 +17,7 @@ - (int)setSubscribeVideoBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeVideoBlocklistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetSubscribeVideoBlocklistEx(TArray<int64> uidList, int uidNumber, const FRtcConnection& connection); abstract setSubscribeVideoBlocklistEx( uidList: number[], diff --git a/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita b/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita index eaf37c81736..adaf1417277 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita @@ -18,7 +18,7 @@ - (int)setupRemoteVideoEx:(AgoraRtcVideoCanvas* _Nonnull)remote connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setupRemoteVideoEx(const VideoCanvas& canvas, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetupRemoteVideoEx(const FVideoCanvas& canvas, const FRtcConnection& connection); abstract setupRemoteVideoEx( canvas: VideoCanvas, diff --git a/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita b/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita index e1bfb554f61..be4bf29aaf7 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita @@ -19,7 +19,7 @@ - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration& config, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetVideoEncoderConfigurationEx(const FVideoEncoderConfiguration& config, const FRtcConnection& connection); abstract setVideoEncoderConfigurationEx( config: VideoEncoderConfiguration, diff --git a/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita b/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita index b6eed446454..b57d77f266f 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita @@ -17,7 +17,7 @@ - (int)startMediaRenderingTracingEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startMediaRenderingTracingEx(_:)); virtual int startMediaRenderingTracingEx(const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartMediaRenderingTracingEx(const FRtcConnection& connection); abstract startMediaRenderingTracingEx(connection: RtcConnection): number; public abstract int StartMediaRenderingTracingEx(RtcConnection connection); diff --git a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita index a787f1acebf..73fb8419512 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita @@ -18,7 +18,7 @@ - (int)startOrUpdateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startOrUpdateChannelMediaRelayEx(_:connection:)); virtual int startOrUpdateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StartOrUpdateChannelMediaRelayEx(const FChannelMediaRelayConfiguration& configuration, const FRtcConnection& connection); abstract startOrUpdateChannelMediaRelayEx( configuration: ChannelMediaRelayConfiguration, diff --git a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita index a11b41e6b46..d2a9daf0177 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita @@ -18,8 +18,8 @@ - (int)startRtmpStreamWithoutTranscodingEx:(NSString* _Nonnull)url connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithoutTranscodingEx(_:connection:)); virtual int startRtmpStreamWithoutTranscodingEx(const char* url, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartRtmpStreamWithoutTranscodingEx(FString url, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartRtmpStreamWithoutTranscodingEx(const FString& url, const FRtcConnection& connection); abstract startRtmpStreamWithoutTranscodingEx( url: string, connection: RtcConnection diff --git a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita index d7545d792b0..d8fa4c17a3d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita @@ -20,8 +20,8 @@ transcoding:(AgoraLiveTranscoding* _Nullable)transcoding connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithTranscodingEx(_:transcoding:connection:)); virtual int startRtmpStreamWithTranscodingEx(const char* url, const LiveTranscoding& transcoding, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StartRtmpStreamWithTranscodingEx(FString url, const FLiveTranscoding& transcoding, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StartRtmpStreamWithTranscodingEx(const FString& url, const FLiveTranscoding& transcoding, const FRtcConnection& connection); abstract startRtmpStreamWithTranscodingEx( url: string, transcoding: LiveTranscoding, diff --git a/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita index 61e6c4a6b15..3471fddfd08 100644 --- a/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita @@ -17,7 +17,7 @@ - (int)stopChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopChannelMediaRelayEx(_:)); virtual int stopChannelMediaRelayEx(const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int StopChannelMediaRelayEx(const FRtcConnection& connection); abstract stopChannelMediaRelayEx(connection: RtcConnection): number; public abstract int StopChannelMediaRelayEx(RtcConnection connection); diff --git a/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita b/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita index b725c05a291..d9065133258 100644 --- a/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita @@ -18,8 +18,8 @@ - (int)stopRtmpStreamEx:(NSString* _Nonnull)url connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopRtmpStreamEx(_:connection:)); virtual int stopRtmpStreamEx(const char* url, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int StopRtmpStreamEx(FString url, const FRtcConnection& connection); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int StopRtmpStreamEx(const FString& url, const FRtcConnection& connection); abstract stopRtmpStreamEx(url: string, connection: RtcConnection): number; public abstract int StopRtmpStreamEx(string url, RtcConnection connection); abstract stopRtmpStreamEx(url: string, connection: RtcConnection): number; diff --git a/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita b/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita index 093f7d085ce..0108ead1738 100644 --- a/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita @@ -17,8 +17,8 @@ - (NSInteger)takeSnapshotEx:(AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid filePath:(NSString* _Nonnull)filePath; virtual int takeSnapshotEx(const RtcConnection& connection, uid_t uid, const char* filePath) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int TakeSnapshotEx(const FRtcConnection& connection, int64 uid, FString filePath); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int TakeSnapshotEx(const FRtcConnection& connection, int64 uid, const FString& filePath); abstract takeSnapshotEx( connection: RtcConnection, uid: number, diff --git a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita index 87086cb94bd..87f4c2e16a7 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita @@ -19,7 +19,7 @@ - (int)updateChannelExWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions connection:(AgoraRtcConnection * _Nonnull)connection; virtual int updateChannelMediaOptionsEx(const ChannelMediaOptions& options, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateChannelMediaOptionsEx(const FChannelMediaOptions& options, const FRtcConnection& connection); abstract updateChannelMediaOptionsEx( options: ChannelMediaOptions, diff --git a/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita index 6bba334c8d8..dce86c8215c 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita @@ -19,7 +19,7 @@ - (int)updateRtmpTranscodingEx:(AgoraLiveTranscoding* _Nullable)transcoding connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateRtmpTranscodingEx(_:connection:)); virtual int updateRtmpTranscodingEx(const LiveTranscoding& transcoding, const RtcConnection& connection) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int UpdateRtmpTranscodingEx(const FLiveTranscoding& transcoding, const FRtcConnection& connection); abstract updateRtmpTranscodingEx( transcoding: LiveTranscoding, diff --git a/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita b/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita index 4902d3ee26d..342db64cb6b 100644 --- a/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita +++ b/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita @@ -18,7 +18,7 @@ virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") - FScreenCaptureSourceInfo GetSourceInfo(int64 index); + FScreenCaptureSourceInfo GetSourceInfo(int index); diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita b/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita index 757e375de90..7e69220653b 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita @@ -18,7 +18,7 @@ virtual IVideoDeviceCollection* enumerateVideoDevices() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") - UIVideoDeviceCollection* EnumerateVideoDevices(); + UVideoDeviceCollection* EnumerateVideoDevices(); abstract enumerateVideoDevices(): VideoDeviceInfo[]; public abstract DeviceInfo[] EnumerateVideoDevices(); abstract enumerateVideoDevices(): VideoDeviceInfo[]; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita index 7ef736bb02d..4980466c30f 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita @@ -20,7 +20,8 @@ didReceiveData:(NSString *_Nullable)data length:(NSInteger)length; virtual void onMetaData(const void* data, int length) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnMetaDataSource, int64, data, int, length); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnMetaData(const FString& Data); onMetaData?(data: Uint8Array, length: number): void; public virtual void OnMetaData(byte[] data, int length) { } onMetaData?(data: Uint8Array, length: number): void; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita index 9881a8528d8..8618ec6077d 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita @@ -20,7 +20,8 @@ didPlayBufferUpdated:(NSInteger)playCachedBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didPlayBufferUpdated:)); virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnPlayBufferUpdated, int64, playCachedBuffer); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayBufferUpdated(int64 playCachedBuffer); onPlayBufferUpdated?(playCachedBuffer: number): void; public virtual void OnPlayBufferUpdated(Int64 playCachedBuffer) { } onPlayBufferUpdated?(playCachedBuffer: number): void; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita index d05b2bf2985..0b24b9128ca 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita @@ -19,7 +19,8 @@ virtual void onPlayerCacheStats(const media::base::CacheStatistics& stats) { (void)stats; } - + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayerCacheStats(const FCacheStatistics& stats); onPlayerCacheStats?(stats: CacheStatistics): void; public virtual void OnPlayerCacheStats(CacheStatistics stats) { diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita index 236bcb188d7..58ba6a8de6a 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita @@ -23,7 +23,8 @@ virtual void onPlayerEvent(media::base::MEDIA_PLAYER_EVENT eventCode, int64_t elapsedTime, const char* message) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlayerEvent, EMEDIA_PLAYER_EVENT, eventCode, int64, elapsedTime, const FString, message); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayerEvent(EMEDIA_PLAYER_EVENT eventCode, int64 elapsedTime, const FString& message); onPlayerEvent?( eventCode: MediaPlayerEvent, elapsedTime: number, diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita index af260db1115..09118a2d888 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita @@ -20,7 +20,8 @@ virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnPlayerInfoUpdated, const FPlayerUpdatedInfo&, info); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayerInfoUpdated(const FPlayerUpdatedInfo& info); onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; public virtual void OnPlayerInfoUpdated(PlayerUpdatedInfo info) { } onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita index 58df20f66f7..fb7469d4f5c 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita @@ -19,7 +19,8 @@ virtual void onPlayerPlaybackStats(const media::base::PlayerPlaybackStats& stats) { (void)stats; } - + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayerPlaybackStats(const FPlayerPlaybackStats& stats); onPlayerPlaybackStats?(stats: PlayerPlaybackStats): void; public virtual void OnPlayerPlaybackStats(PlayerPlaybackStats stats) { diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita index 2303078c688..c94589e67c1 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita @@ -21,7 +21,8 @@ reason:(AgoraMediaPlayerReason)reason NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didChangedTo:reason:)); virtual void onPlayerSourceStateChanged(media::base::MEDIA_PLAYER_STATE state, media::base::MEDIA_PLAYER_REASON reason) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlayerSourceStateChanged, EMEDIA_PLAYER_STATE, state, FENUMWRAP_MEDIA_PLAYER_ERROR, ec); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayerSourceStateChanged(EMEDIA_PLAYER_STATE state, FENUMWRAP_MEDIA_PLAYER_REASON ec); onPlayerSourceStateChanged?( state: MediaPlayerState, reason: MediaPlayerReason diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita index 127cbed8e7f..885cf51b9f9 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita @@ -20,7 +20,8 @@ virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlayerSrcInfoChanged, const FSrcInfo&, from, const FSrcInfo&, to); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPlayerSrcInfoChanged(const FSrcInfo& from, const FSrcInfo& to); onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; public virtual void OnPlayerSrcInfoChanged(SrcInfo from, SrcInfo to) {} onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita index 4dab43866db..29b146f3fe7 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita @@ -19,7 +19,8 @@ didChangedToPosition:(NSInteger)positionMs atTimestamp:(NSTimeInterval)timestampMs NS_SWIFT_NAME(AgoraMediaPlayer(_:didChangedToPosition:atTimestamp:)); virtual void onPositionChanged(int64_t positionMs, int64_t timestampMs) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnPositionChanged, int64, position_ms); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPositionChanged(int64 position_ms, int64 timestampMs); onPositionChanged?(positionMs: number): void; public virtual void OnPositionChanged(Int64 position_ms) { } onPositionChanged?(positionMs: number): void; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita index c6eb44e2d34..dc651eabae6 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita @@ -21,7 +21,8 @@ virtual void onPreloadEvent(const char* src, media::base::PLAYER_PRELOAD_EVENT event) = 0; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPreloadEvent, const FString, src, EPLAYER_PRELOAD_EVENT, event); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPreloadEvent(const FString& src, EPLAYER_PRELOAD_EVENT event); onPreloadEvent?(src: string, event: PlayerPreloadEvent): void; public virtual void OnPreloadEvent(string src, PLAYER_PRELOAD_EVENT @event) { } onPreloadEvent?(src: string, event: PlayerPreloadEvent): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita index 1fa7559c9f6..a9efe11535b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita @@ -17,7 +17,8 @@ - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine activeSpeaker:(NSUInteger)speakerUid; virtual void onActiveSpeaker(uid_t userId) { (void)userId; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnActiveSpeaker, int64, userId); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnActiveSpeaker(int64 uid); onActiveSpeaker?(connection: RtcConnection, uid: number): void; public virtual void OnActiveSpeaker(RtcConnection connection, uint uid) { } onActiveSpeaker?(connection: RtcConnection, uid: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita index ad19a01a6ed..c39195c2cda 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita @@ -23,7 +23,8 @@ (void)deviceType; (void)deviceState; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnAudioDeviceStateChanged, FString, deviceId, int, deviceType, int, deviceState); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioDeviceStateChanged(const FString& deviceId, int deviceType, int deviceState); onAudioDeviceStateChanged?( deviceId: string, deviceType: MediaDeviceType, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita index 95d8067444e..4455b31ec77 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita @@ -21,7 +21,8 @@ (void)volume; (void)muted; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnAudioDeviceVolumeChanged, FENUMWRAP_MEDIA_DEVICE_TYPE, deviceType, int, volume, bool, muted); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioDeviceVolumeChanged(FENUMWRAP_MEDIA_DEVICE_TYPE deviceType, int volume, bool muted); onAudioDeviceVolumeChanged?( deviceType: MediaDeviceType, volume: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita index f231638de13..c5affb1c340 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita @@ -18,7 +18,8 @@ - (void)rtcEngineDidAudioEffectFinish:(AgoraRtcEngineKit * _Nonnull)engine soundId:(int)soundId; virtual void onAudioEffectFinished(int soundId) { } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioEffectFinished, int, soundId); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioEffectFinished(int soundId); onAudioEffectFinished?(soundId: number): void; public virtual void OnAudioEffectFinished(int soundId) onAudioEffectFinished?(soundId: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita index 49b58d4611c..381cccf7416 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita @@ -18,7 +18,8 @@ - (void)rtcEngineLocalAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onAudioMixingFinished() { } - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnAudioMixingFinished); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioMixingFinished(); onAudioMixingFinished?(): void; public virtual void OnAudioMixingFinished() onAudioMixingFinished?(): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita index 7404c092430..221b5205c1c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita @@ -17,7 +17,8 @@ onAudioMixingPositionChanged?:(position:bigint) => void - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingPositionChanged:(NSInteger)position NS_SWIFT_NAME(rtcEngine(_:audioMixingPositionChanged:)); virtual void onAudioMixingPositionChanged(int64_t position) {} - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioMixingPositionChanged, int64, position); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioMixingPositionChanged(int64 position); onAudioMixingPositionChanged?(position: number): void; public virtual void OnAudioMixingPositionChanged(long position) { } onAudioMixingPositionChanged?(position: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index c39f8a9ce20..b0d58d6518c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -20,7 +20,8 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) { (void)state; (void)reason; - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnAudioMixingStateChanged, FENUMWRAP_AUDIO_MIXING_STATE_TYPE, state, FENUMWRAP_AUDIO_MIXING_REASON_TYPE, reason); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioMixingStateChanged(FENUMWRAP_AUDIO_MIXING_STATE_TYPE state, FENUMWRAP_AUDIO_MIXING_REASON_TYPE reason); onAudioMixingStateChanged?( state: AudioMixingStateType, reason: AudioMixingReasonType diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita index 224eeb4da45..dfccfee9d48 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita @@ -30,7 +30,8 @@ elapseSinceLastState:(int)elapseSinceLastState; (void)newState; (void)elapseSinceLastState; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnAudioPublishStateChanged, FString, channel, ESTREAM_PUBLISH_STATE, oldState, ESTREAM_PUBLISH_STATE, newState, int, elapseSinceLastState); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioPublishStateChanged(const FString& channel, ESTREAM_PUBLISH_STATE oldState, ESTREAM_PUBLISH_STATE newState, int elapseSinceLastState); onAudioPublishStateChanged?( channel: string, oldState: StreamPublishState, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita index 54044184566..62193dfc7a2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita @@ -22,7 +22,8 @@ (void)delay; (void)lost; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnAudioQuality, int64, uid, int, quality, int, delay, int, lost); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioQuality(int64 uid, int quality, int delay, int lost); onAudioQuality?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita index bdff05d72f7..a57ddf85508 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita @@ -18,7 +18,8 @@ - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing; virtual void onAudioRoutingChanged(int routing) { (void)routing; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioRoutingChanged, int, routing); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioRoutingChanged(int routing); onAudioRoutingChanged?(routing: number): void; public virtual void OnAudioRoutingChanged(int routing) {} onAudioRoutingChanged?(routing: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita index 4d8f9d1b6c4..55350323490 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita @@ -33,7 +33,8 @@ elapseSinceLastState:(int)elapseSinceLastState; (void)newState; (void)elapseSinceLastState; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnAudioSubscribeStateChanged, FString, channel, int64, uid, ESTREAM_SUBSCRIBE_STATE, oldState, ESTREAM_SUBSCRIBE_STATE, newState, int, elapseSinceLastState); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnAudioSubscribeStateChanged(const FString& channel, int64 uid, ESTREAM_SUBSCRIBE_STATE oldState, ESTREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState); onAudioSubscribeStateChanged?( channel: string, uid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita index e515569d6d2..df211c53b97 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita @@ -22,7 +22,8 @@ (void)width; (void)height; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnCameraExposureAreaChanged, int, x, int, y, int, width, int, height); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnCameraExposureAreaChanged(int x, int y, int width, int height); public virtual void OnCameraExposureAreaChanged(int x, int y, int width, int height) onCameraExposureAreaChanged?( diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita index b36860a8b6b..ea68c1cf8f9 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita @@ -22,7 +22,8 @@ (void)width; (void)height; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnCameraFocusAreaChanged, int, x, int, y, int, width, int, height); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnCameraFocusAreaChanged(int x, int y, int width, int height); public virtual void OnCameraFocusAreaChanged(int x, int y, int width, int height) onCameraFocusAreaChanged?( diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita index 819c1319f20..1608b7de38e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita @@ -17,7 +17,8 @@ - (void)rtcEngineCameraDidReady:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onCameraReady() - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCameraReady); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnCameraReady(); onCameraReady?(): void; public virtual void OnCameraReady() onCameraReady?(): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita index 30e9e558f3c..dfeb9f96be1 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita @@ -20,7 +20,8 @@ channelMediaRelayStateDidChange:(AgoraChannelMediaRelayState)state error:(AgoraChannelMediaRelayError)error; virtual void onChannelMediaRelayStateChanged(CHANNEL_MEDIA_RELAY_STATE state,CHANNEL_MEDIA_RELAY_ERROR code) { } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnChannelMediaRelayStateChanged, int, state, int, code); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnChannelMediaRelayStateChanged(int state, int code); onChannelMediaRelayStateChanged?( state: ChannelMediaRelayState, code: ChannelMediaRelayError diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita index 9c62afc2851..d28c2dd14cb 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita @@ -17,7 +17,8 @@ NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)); - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnClientRoleChanged, ECLIENT_ROLE_TYPE, oldRole, ECLIENT_ROLE_TYPE, newRole, FClientRoleOptions, roleoption); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnClientRoleChanged(ECLIENT_ROLE_TYPE oldRole, ECLIENT_ROLE_TYPE newRole, const FClientRoleOptions& newRoleOptions); onClientRoleChanged?( connection: RtcConnection, oldRole: ClientRoleType, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index ee27c3d349b..458a15f348d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -20,7 +20,8 @@ (void)reason; (void)currentRole; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnClientRoleChangeFailed, ECLIENT_ROLE_CHANGE_FAILED_REASON, reason, ECLIENT_ROLE_TYPE, currentRole); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnClientRoleChangeFailed(ECLIENT_ROLE_CHANGE_FAILED_REASON reason, ECLIENT_ROLE_TYPE currentRole); onClientRoleChangeFailed?( connection: RtcConnection, reason: ClientRoleChangeFailedReason, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita index 8a57420c694..48940c669ce 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita @@ -17,7 +17,8 @@ - (void)rtcEngineConnectionDidBanned:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionBanned() - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionBanned); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnConnectionBanned(); onConnectionBanned?(connection: RtcConnection): void; public virtual void OnConnectionBanned(RtcConnection connection) {} onConnectionBanned?(connection: RtcConnection): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita index cf1fbf9ac55..cdd5083bd8b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita @@ -17,7 +17,8 @@ - (void)rtcEngineConnectionDidInterrupted:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionInterrupted() {} - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionInterrupted); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnConnectionInterrupted(); onConnectionInterrupted?(connection: RtcConnection): void; public virtual void OnConnectionInterrupted(RtcConnection connection) {} onConnectionInterrupted?(connection: RtcConnection): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita index b2b84cd162f..3bbc8965a4a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita @@ -17,7 +17,8 @@ onConnectionLost?:() => void; - (void)rtcEngineConnectionDidLost:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionLost() - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionLost); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnConnectionLost(); onConnectionLost?(connection: RtcConnection): void; public virtual void OnConnectionLost(RtcConnection connection) {} onConnectionLost?(connection: RtcConnection): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita index 389bd42204b..b2cf0a21ba6 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita @@ -22,7 +22,8 @@ (void)state; (void)reason; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnConnectionStateChanged, ECONNECTION_STATE_TYPE, state, ECONNECTION_CHANGED_REASON_TYPE, reason); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnConnectionStateChanged(ECONNECTION_STATE_TYPE state, ECONNECTION_CHANGED_REASON_TYPE reason); onConnectionStateChanged?( connection: RtcConnection, state: ConnectionStateType, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita index 9160b517b83..034451f763a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita @@ -21,7 +21,8 @@ (void)errorType; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnEncryptionError, EENCRYPTION_ERROR_TYPE, errorType); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnEncryptionError(EENCRYPTION_ERROR_TYPE errorType); onEncryptionError?( connection: RtcConnection, errorType: EncryptionErrorType diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index 1d66fae9583..f7bf08d424a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -23,7 +23,8 @@ (void)msg; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnError, int, err, FString, msg); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnError(int error, const FString& msg); onError?(err: ErrorCodeType, msg: string): void; public virtual void OnError(int err, string msg) { } onError?(err: ErrorCodeType, msg: string): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita index c9739273d3e..3720d92eb94 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita @@ -23,7 +23,8 @@ (void)error; (void)message; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionError, FString, provider, FString, extension, int, error, FString, message); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnExtensionErrorWithContext(const FExtensionContext& context, int error, const FString& message); onExtensionError?( provider: string, extension: string, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita index 897d7ae90d9..0c146c96285 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita @@ -23,7 +23,8 @@ (void)key; (void)value; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionEvent, FString, provider, FString, extension, FString, key, FString, value); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnExtensionEventWithContext(const FExtensionContext& context, const FString& key, const FString& value); onExtensionEvent?( provider: string, extension: string, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita index e5cbf60c764..b42c6ea82e7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita @@ -19,7 +19,8 @@ virtual void onExtensionStartedWithContext(const ExtensionContext &context) { (void)context; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStarted, FString, provider, FString, extension); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnExtensionStartedWithContext(const FExtensionContext& context); onExtensionStarted?(provider: string, extension: string): void; public virtual void OnExtensionStarted(string provider, string extension) { } onExtensionStarted?(provider: string, extension: string): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita index d79496baa28..24b8e95bb2b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita @@ -19,7 +19,8 @@ virtual void onExtensionStoppedWithContext(const ExtensionContext &context) { (void)context; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStopped, FString, provider, FString, extension); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnExtensionStoppedWithContext(const FExtensionContext& context); onExtensionStopped?(provider: string, extension: string): void; public virtual void OnExtensionStopped(string provider, string extension) { } onExtensionStopped?(provider: string, extension: string): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita index fb38512d93b..a73c5a4421c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita @@ -27,7 +27,8 @@ (void) vecDistance; (void) numFaces; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnFacePositionChanged, int, imageWidth, int, imageHeight, FRectangle, vecRectangle, TArray<int>, vecDistance, int, numFaces); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFacePositionChanged(int imageWidth, int imageHeight, const TArray<FRectangle>& vecRectangle, const TArray<int>& vecDistance, int numFaces); onFacePositionChanged?( imageWidth: number, imageHeight: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita index 80907f1c27f..42bf869f2b2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita @@ -19,7 +19,8 @@ virtual void onFirstLocalAudioFramePublished(int elapsed) { (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnFirstLocalAudioFramePublished, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstLocalAudioFramePublished(int elapsed); onFirstLocalAudioFramePublished?( connection: RtcConnection, elapsed: number diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita index 31ec85bd6b1..326a6ef5561 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita @@ -29,7 +29,8 @@ (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnFirstLocalVideoFrame, EVIDEO_SOURCE_TYPE, source, int, width, int, height, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstLocalVideoFrame(EVIDEO_SOURCE_TYPE source, int width, int height, int elapsed); onFirstLocalVideoFrame?( source: VideoSourceType, width: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita index 3cf9b4e5c34..01d19c69bd1 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita @@ -24,7 +24,8 @@ (void)source; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnFirstLocalVideoFramePublished, EVIDEO_SOURCE_TYPE, source, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstLocalVideoFramePublished(EVIDEO_SOURCE_TYPE source, int elapsed); onFirstLocalVideoFramePublished?( connection: RtcConnection, elapsed: number diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita index 14b35718b8f..238d0bbe6a7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita @@ -24,7 +24,8 @@ (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnFirstRemoteAudioDecoded, int64, uid, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstRemoteAudioDecoded(int64 uid, int elapsed); onFirstRemoteAudioDecoded?( connection: RtcConnection, uid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita index 95ee0d0b631..7e704622570 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita @@ -24,7 +24,8 @@ (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnFirstRemoteAudioFrame, int64, uid, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstRemoteAudioFrame(int64 uid, int elapsed); onFirstRemoteAudioFrame?( connection: RtcConnection, userId: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita index e0efe055e31..916fd1666c3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita @@ -26,7 +26,8 @@ (void)height; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnFirstRemoteVideoDecoded, int64, uid, int, width, int, height, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstRemoteVideoDecoded(int64 uid, int width, int height, int elapsed); onFirstRemoteVideoDecoded?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita index 76df41ef904..7d9270062e4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita @@ -23,7 +23,8 @@ (void)height; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnFirstRemoteVideoFrame, int64, userId, int, width, int, height, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnFirstRemoteVideoFrame(int64 uid, int width, int height, int elapsed); onFirstRemoteVideoFrame?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita index c3c361dbecc..b07e0189ab7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita @@ -24,7 +24,8 @@ (void)uid; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnJoinChannelSuccess, FString, channel, int64, uid, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnJoinChannelSuccess(const FString& Channel, int64 Uid, int Elapsed); onJoinChannelSuccess?(connection: RtcConnection, elapsed: number): void; public virtual void OnJoinChannelSuccess(RtcConnection connection, int elapsed) {} onJoinChannelSuccess?(connection: RtcConnection, elapsed: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita index 7b0ae0334fd..9002022c944 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita @@ -20,7 +20,8 @@ virtual void onLastmileProbeResult(const LastmileProbeResult& result) { (void)result; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnLastmileProbeResult, const FLastmileProbeResult&, result); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLastmileProbeResult(const FLastmileProbeResult& result); onLastmileProbeResult?(result: LastmileProbeResult): void; public virtual void OnLastmileProbeResult(LastmileProbeResult result) onLastmileProbeResult?(result: LastmileProbeResult): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita index 135ac3e4186..b3312d0c314 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita @@ -19,7 +19,8 @@ virtual void onLastmileQuality(int quality) { (void)quality; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnLastmileQuality, int, quality); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLastmileQuality(int quality); onLastmileQuality?(quality: QualityType): void; public virtual void OnLastmileQuality(int quality) onLastmileQuality?(quality: QualityType): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita index 0e43c123569..ab51cbdb25a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita @@ -20,7 +20,8 @@ virtual void onLeaveChannel(const RtcStats& stats) { (void)stats; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnLeaveChannel, const FRtcStats&, stats); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLeaveChannel(const FRtcStats& stats); onLeaveChannel?(connection: RtcConnection, stats: RtcStats): void; public virtual void OnLeaveChannel(RtcConnection connection, RtcStats stats) {} onLeaveChannel?(connection: RtcConnection, stats: RtcStats): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita index 077dca047f8..54ffe7d5dc3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita @@ -20,7 +20,8 @@ (void)state; (void)reason; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnLocalAudioStateChanged, ELOCAL_AUDIO_STREAM_STATE, state, ELOCAL_AUDIO_STREAM_ERROR, error); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLocalAudioStateChanged(ELOCAL_AUDIO_STREAM_STATE state, ELOCAL_AUDIO_STREAM_REASON reason); onLocalAudioStateChanged?( connection: RtcConnection, state: LocalAudioStreamState, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita index 02efce1c341..680fd93947b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita @@ -20,7 +20,8 @@ virtual void onLocalAudioStats(const LocalAudioStats& stats) { (void)stats; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnLocalAudioStats, const FLocalAudioStats&, stats); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLocalAudioStats(const FLocalAudioStats& stats); onLocalAudioStats?(connection: RtcConnection, stats: LocalAudioStats): void; public virtual void OnLocalAudioStats(RtcConnection connection, LocalAudioStats stats) {} onLocalAudioStats?(connection: RtcConnection, stats: LocalAudioStats): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita index dcb967b167e..0c379b37bcf 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita @@ -20,7 +20,8 @@ (void)uid; (void)userAccount; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnLocalUserRegistered, int64, uid, FString, userAccount); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLocalUserRegistered(int64 uid, const FString& userAccount); onLocalUserRegistered?(uid: number, userAccount: string): void; public virtual void OnLocalUserRegistered(uint uid, string userAccount) {} onLocalUserRegistered?(uid: number, userAccount: string): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index 69684e6880e..80303ddd223 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -23,7 +23,8 @@ (void)state; (void)reason; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnLocalVideoStateChanged, EVIDEO_SOURCE_TYPE, source, ELOCAL_VIDEO_STREAM_STATE, state, ELOCAL_VIDEO_STREAM_ERROR, error); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLocalVideoStateChanged(EVIDEO_SOURCE_TYPE source, ELOCAL_VIDEO_STREAM_STATE state, ELOCAL_VIDEO_STREAM_REASON reason); onLocalVideoStateChanged?( source: VideoSourceType, state: LocalVideoStreamState, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita index 3620b795690..d40767afc97 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita @@ -24,7 +24,8 @@ (void)source; (void)stats; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnLocalVideoStats, EVIDEO_SOURCE_TYPE, source, const FLocalVideoStats&, stats); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLocalVideoStats(EVIDEO_SOURCE_TYPE source, const FLocalVideoStats& stats); onLocalVideoStats?(connection: RtcConnection, stats: LocalVideoStats): void; public virtual void OnLocalVideoStats(RtcConnection connection, LocalVideoStats stats) {} onLocalVideoStats?(connection: RtcConnection, stats: LocalVideoStats): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita index f0837907acc..5425ea515c4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita @@ -22,7 +22,8 @@ (void)stream; (void)error; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnLocalVideoTranscoderError, const FTranscodingVideoStream&, stream, EVIDEO_TRANSCODER_ERROR, error); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnLocalVideoTranscoderError(const FTranscodingVideoStream& stream, EVIDEO_TRANSCODER_ERROR error); onLocalVideoTranscoderError?( stream: TranscodingVideoStream, error: VideoTranscoderError diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita index 0319306ef22..9c5fe53db17 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita @@ -24,7 +24,8 @@ (void)txQuality; (void)rxQuality; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnNetworkQuality, int64, uid, int, txQuality, int, rxQuality); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnNetworkQuality(int64 uid, int txQuality, int rxQuality); onNetworkQuality?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita index dd00ccfce31..c274d2157a4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita @@ -19,7 +19,8 @@ virtual void onNetworkTypeChanged(NETWORK_TYPE type) { (void)type; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnNetworkTypeChanged, FENUMWRAP_NETWORK_TYPE, type); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnNetworkTypeChanged(FENUMWRAP_NETWORK_TYPE type); onNetworkTypeChanged?(connection: RtcConnection, type: NetworkType): void; public virtual void OnNetworkTypeChanged(RtcConnection connection, NETWORK_TYPE type) {} onNetworkTypeChanged?(connection: RtcConnection, type: NetworkType): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita index 54049135849..cfdb203cc06 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita @@ -19,7 +19,8 @@ virtual void onPermissionError(PERMISSION_TYPE permissionType) { (void)permissionType; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnPermissionError, EPERMISSION_TYPE, permissionType); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnPermissionError(EPERMISSION_TYPE permissionType); onPermissionError?(permissionType: PermissionType): void; public virtual void OnPermissionError(PERMISSION_TYPE permissionType) {} onPermissionError?(permissionType: PermissionType): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita index 9c7f58c57a5..0d48b9c275e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita @@ -24,7 +24,8 @@ (void)localProxyIp; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnProxyConnected, FString, channel, int64, uid, EPROXY_TYPE, proxyType, FString, localProxyIp, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnProxyConnected(const FString& channel, int64 uid, EPROXY_TYPE proxyType, const FString& localProxyIp, int elapsed); onProxyConnected?( channel: string, uid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita index bcdcd01f890..1509afcddb4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita @@ -22,7 +22,8 @@ (void)uid; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnRejoinChannelSuccess, FString, channel, int64, uid, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRejoinChannelSuccess(const FString& channel, int64 uid, int elapsed); onRejoinChannelSuccess?(connection: RtcConnection, elapsed: number): void; public virtual void OnRejoinChannelSuccess(RtcConnection connection, int elapsed) {} onRejoinChannelSuccess?(connection: RtcConnection, elapsed: number): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita index 0c9fd24b7f2..5595f699b20 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita @@ -26,7 +26,8 @@ (void)reason; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRemoteAudioStateChanged, int64, uid, EREMOTE_AUDIO_STATE, state, EREMOTE_AUDIO_STATE_REASON, reason, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteAudioStateChanged(int64 uid, EREMOTE_AUDIO_STATE state, EREMOTE_AUDIO_STATE_REASON reason, int elapsed); onRemoteAudioStateChanged?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita index 295580924b9..9b65dcced5a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita @@ -20,7 +20,8 @@ virtual void onRemoteAudioStats(const RemoteAudioStats& stats) { (void)stats; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnRemoteAudioStats, const FRemoteAudioStats&, stats); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteAudioStats(const FRemoteAudioStats& stats); onRemoteAudioStats?(connection: RtcConnection, stats: RemoteAudioStats): void; public virtual void OnRemoteAudioStats(RtcConnection connection, RemoteAudioStats stats) {} onRemoteAudioStats?(connection: RtcConnection, stats: RemoteAudioStats): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita index c1bea47f8e4..c6a2f49717a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita @@ -29,7 +29,8 @@ (void)lost; (void)rxKBitRate; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRemoteAudioTransportStats, int64, uid, int, delay, int, lost, int, rxKBitRate); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteAudioTransportStats(int64 uid, int delay, int lost, int rxKBitRate); onRemoteAudioTransportStats?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita index 38669d194a2..8efeefeed53 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita @@ -21,6 +21,8 @@ (void)uid; (void)isFallbackOrRecover; } + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteSubscribeFallbackToAudioOnly(int64 uid, bool isFallbackOrRecover); onRemoteSubscribeFallbackToAudioOnly?( uid: number, isFallbackOrRecover: boolean diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita index 5e0bb9ac8a0..4b87ee592dd 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita @@ -26,7 +26,8 @@ (void)reason; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRemoteVideoStateChanged, int64, uid, EREMOTE_VIDEO_STATE, state, EREMOTE_VIDEO_STATE_REASON, reason, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteVideoStateChanged(int64 uid, EREMOTE_VIDEO_STATE state, EREMOTE_VIDEO_STATE_REASON reason, int elapsed); onRemoteVideoStateChanged?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita index b768117adcc..73d76986653 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita @@ -20,7 +20,8 @@ virtual void onRemoteVideoStats(const RemoteVideoStats& stats) { (void)stats; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnRemoteVideoStats, const FRemoteVideoStats&, stats); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteVideoStats(const FRemoteVideoStats& stats); onRemoteVideoStats?(connection: RtcConnection, stats: RemoteVideoStats): void; public virtual void OnRemoteVideoStats(RtcConnection connection, RemoteVideoStats stats) {} onRemoteVideoStats?(connection: RtcConnection, stats: RemoteVideoStats): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita index 57f4ed28d0c..a518db815d5 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita @@ -29,7 +29,8 @@ (void)lost; (void)rxKBitRate; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRemoteVideoTransportStats, int64, uid, int, delay, int, lost, int, rxKBitRate); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRemoteVideoTransportStats(int64 uid, int delay, int lost, int rxKBitRate); onRemoteVideoTransportStats?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita index 4e0734e3586..d9ca3f136e8 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita @@ -17,7 +17,8 @@ - (void)rtcEngineRequestToken:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onRequestToken() - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnRequestToken); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRequestToken(); onRequestToken?(connection: RtcConnection): void; public virtual void OnRequestToken(RtcConnection connection) {} onRequestToken?(connection: RtcConnection): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita index 4a2873df905..a3e3112ad6e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita @@ -21,7 +21,8 @@ (void)state; (void)reason; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRhythmPlayerStateChanged, FENUMWRAP_RHYTHM_PLAYER_STATE_TYPE, state, FENUMWRAP_RHYTHM_PLAYER_ERROR_TYPE, errorCode); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRhythmPlayerStateChanged(FENUMWRAP_RHYTHM_PLAYER_STATE_TYPE state, FENUMWRAP_RHYTHM_PLAYER_REASON reason); onRhythmPlayerStateChanged?( state: RhythmPlayerStateType, reason: RhythmPlayerReason diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita index 73d32633d34..b45128d7fc3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita @@ -20,7 +20,8 @@ virtual void onRtcStats(const RtcStats& stats) { (void)stats; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnRtcStats, const FRtcStats&, stats); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRtcStats(const FRtcStats& stats); onRtcStats?(connection: RtcConnection, stats: RtcStats): void; public virtual void OnRtcStats(RtcConnection connection, RtcStats stats) {} onRtcStats?(connection: RtcConnection, stats: RtcStats): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita index d6ae4111d49..e1dc9608361 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita @@ -20,7 +20,8 @@ (void)url; (void)eventCode; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRtmpStreamingEvent, FString, url, ERTMP_STREAMING_EVENT, eventCode); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRtmpStreamingEvent(const FString& url, ERTMP_STREAMING_EVENT eventCode); onRtmpStreamingEvent?(url: string, eventCode: RtmpStreamingEvent): void; public virtual void OnRtmpStreamingEvent(string url, RTMP_STREAMING_EVENT eventCode) onRtmpStreamingEvent?(url: string, eventCode: RtmpStreamingEvent): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita index 323ad7f34dd..f4ff5861295 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita @@ -24,7 +24,8 @@ (void)state; (void)reason; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnRtmpStreamingStateChanged, FString, url, ERTMP_STREAM_PUBLISH_STATE, state, ERTMP_STREAM_PUBLISH_REASON, errCode); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnRtmpStreamingStateChanged(const FString& url, ERTMP_STREAM_PUBLISH_STATE state, ERTMP_STREAM_PUBLISH_REASON reason); onRtmpStreamingStateChanged?( url: string, state: RtmpStreamPublishState, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita index b5d7a9ecd75..087a4c42091 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita @@ -24,7 +24,8 @@ (void)errCode; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnSnapshotTaken, int64, uid, FString, filePath, int, width, int, height, int, errCode); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnSnapshotTaken(int64 uid, const FString& filePath, int width, int height, int errCode); onSnapshotTaken?( connection: RtcConnection, uid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita index 7d68a759777..e7a7f8dd295 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita @@ -26,7 +26,8 @@ (void)length; (void)sentTs; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnStreamMessage, int64, userId, int, streamId, FString, data, int64, length, int, sentTs); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnStreamMessage(int64 uid, int streamId, const FString& data, int length, int64 sentTs); onStreamMessage?(connection: RtcConnection, remoteUid: number, streamId: number, data: Uint8Array, length: number, sentTs: number): void; public virtual void OnStreamMessage(RtcConnection connection, uint remoteUid, int streamId, byte[] data, uint length, UInt64 sentTs) { } onStreamMessage?( diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita index 22f3431db49..06256fe1811 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita @@ -29,7 +29,8 @@ (void)cached; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnStreamMessageError, int64, userId, int, streamId, int, code, int, missed, int, cached); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnStreamMessageError(int64 uid, int streamId, int code, int missed, int cached); onStreamMessageError?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita index 3a11969fb0b..e055741497d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita @@ -20,7 +20,8 @@ virtual void onTokenPrivilegeWillExpire(const char* token) { (void)token; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnTokenPrivilegeWillExpire, FString, token); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnTokenPrivilegeWillExpire(const FString& token); onTokenPrivilegeWillExpire?(connection: RtcConnection, token: string): void; public virtual void OnTokenPrivilegeWillExpire(RtcConnection connection, string token) {} onTokenPrivilegeWillExpire?(connection: RtcConnection, token: string): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index d71af7cf517..90b1ecbd336 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -23,7 +23,8 @@ (void)layoutCount; (void)layoutlist; } - + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnTranscodedStreamLayoutInfo(int64 uid, int width, int height, int layoutCount, const TArray<FVideoLayout>& layoutlist); public virtual void OnTranscodedStreamLayoutInfo(RtcConnection connection, uint uid, int width, int height, int layoutCount, VideoLayout[] layoutlist) onTranscodedStreamLayoutInfo?( diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita index 8670f2fa5fd..903a6cb0539 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita @@ -17,7 +17,8 @@ onTranscodingUpdated? : () =>void; - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onTranscodingUpdated() - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnTranscodingUpdated); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnTranscodingUpdated(); onTranscodingUpdated?(): void; public virtual void OnTranscodingUpdated() onTranscodingUpdated?(): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita index 5bf385bbd3b..7b56055465e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita @@ -20,7 +20,8 @@ virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) { (void)info; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnUplinkNetworkInfoUpdated, const FUplinkNetworkInfo&, info); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUplinkNetworkInfoUpdated(const FUplinkNetworkInfo& info); onUplinkNetworkInfoUpdated?(info: UplinkNetworkInfo): void; public virtual void OnUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {} onUplinkNetworkInfoUpdated?(info: UplinkNetworkInfo): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita index a8581332dc4..1751be32360 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita @@ -22,7 +22,8 @@ (void)uid; (void)enabled; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserEnableLocalVideo, int64, uid, bool, enabled); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserEnableLocalVideo(int64 uid, bool enabled); onUserEnableLocalVideo?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita index d5a7a330725..2b519da845b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita @@ -22,7 +22,8 @@ (void)uid; (void)enabled; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserEnableVideo, int64, uid, bool, enabled); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserEnableVideo(int64 uid, bool enabled); onUserEnableVideo?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita index 7e46b968a31..c72df3aa58d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita @@ -20,7 +20,8 @@ (void)uid; (void)info; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserInfoUpdated, int64, uid, const FUserInfo&, info); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserInfoUpdated(int64 uid, const FUserInfo& info); onUserInfoUpdated?(uid: number, info: UserInfo): void; public virtual void OnUserInfoUpdated(uint uid, UserInfo info) onUserInfoUpdated?(uid: number, info: UserInfo): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index 712c4870835..92516fbe9bc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -14,7 +14,8 @@ (void)uid; (void)elapsed; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserJoined, int64, uid, int, elapsed); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserJoined(int64 uid, int elapsed); onUserJoined?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita index 6b7895b5b7c..15c70f26069 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita @@ -20,7 +20,8 @@ (void)uid; (void)muted; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserMuteAudio, int64, uid, bool, muted); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserMuteAudio(int64 uid, bool muted); onUserMuteAudio?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita index aba321dbe96..182d53fdbd6 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita @@ -20,7 +20,8 @@ (void)uid; (void)muted; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserMuteVideo, int64, userId, bool, muted); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserMuteVideo(int64 uid, bool muted); onUserMuteVideo?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index 770d196b624..49901fb237b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -22,7 +22,8 @@ (void)uid; (void)reason; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnUserOffline, int64, uid, EUSER_OFFLINE_REASON_TYPE, reason); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnUserOffline(int64 uid, EUSER_OFFLINE_REASON_TYPE reason); onUserOffline?( connection: RtcConnection, remoteUid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita index ecc311fa7f2..2730186dbe3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita @@ -21,7 +21,8 @@ (void)deviceType; (void)deviceState; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnVideoDeviceStateChanged, FString, deviceId, int, deviceType, int, deviceState); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnVideoDeviceStateChanged(const FString& deviceId, int deviceType, int deviceState); onVideoDeviceStateChanged?( deviceId: string, deviceType: MediaDeviceType, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita index 294e317ab38..ebda9a3c567 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita @@ -31,7 +31,8 @@ elapseSinceLastState:(int)elapseSinceLastState; (void)elapseSinceLastState; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnVideoPublishStateChanged, EVIDEO_SOURCE_TYPE, source, FString, channel, ESTREAM_PUBLISH_STATE, oldState, ESTREAM_PUBLISH_STATE, newState, int, elapseSinceLastState); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnVideoPublishStateChanged(EVIDEO_SOURCE_TYPE source, const FString& channel, ESTREAM_PUBLISH_STATE oldState, ESTREAM_PUBLISH_STATE newState, int elapseSinceLastState); onVideoPublishStateChanged?( source: VideoSourceType, channel: string, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita index 2c802e8a8f8..557b31e763c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita @@ -22,7 +22,8 @@ (void)currentEvent; (void)tracingInfo; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnVideoRenderingTracingResult, int64, uid, EMEDIA_TRACE_EVENT, currentEvent, FVideoRenderingTracingInfo, tracingInfo); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnVideoRenderingTracingResult(int64 uid, EMEDIA_TRACE_EVENT currentEvent, const FVideoRenderingTracingInfo& tracingInfo); onVideoRenderingTracingResult?( connection: RtcConnection, uid: number, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita index 7409e1f7e98..2fb580f7722 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita @@ -23,7 +23,8 @@ (void)height; (void)rotation; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnVideoSizeChanged, EVIDEO_SOURCE_TYPE, sourceType, int64, uid, int, width, int, height, int, rotation); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnVideoSizeChanged(EVIDEO_SOURCE_TYPE sourceType, int64 uid, int width, int height, int rotation); onVideoSizeChanged?( connection: RtcConnection, sourceType: VideoSourceType, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita index 3ccf9c7a5d3..6cfd8605019 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita @@ -17,7 +17,8 @@ - (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onVideoStopped() - DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnVideoStopped); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnVideoStopped(); onVideoStopped?(): void; public virtual void OnVideoStopped() onVideoStopped?(): void; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita index 1939e1699dc..33a88c1e806 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -33,7 +33,8 @@ (void)newState; (void)elapseSinceLastState; } - DECLARE_DYNAMIC_MULTICAST_DELEGATE_FiveParams(FOnVideoSubscribeStateChanged, FString, channel, int64, uid, ESTREAM_SUBSCRIBE_STATE, oldState, ESTREAM_SUBSCRIBE_STATE, newState, int, elapseSinceLastState); + UFUNCTION(BlueprintNativeEvent, Category = "Agora|Event") + void OnVideoSubscribeStateChanged(const FString& channel, int64 uid, ESTREAM_SUBSCRIBE_STATE oldState, ESTREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState); onVideoSubscribeStateChanged?( channel: string, uid: number, diff --git a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index 2388fecad2c..024b9e55a0d 100644 --- a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -87,19 +87,58 @@ struct FLocalAccessPointConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") - FString ipList; + TArray<FString> ipList; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") - int ipListSize; + int ipListSize = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") - FString domainList; + TArray<FString> domainList; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") - int domainListSize; + int domainListSize = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") - FString verifyDomainName; + FString verifyDomainName = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") ELOCAL_PROXY_MODE mode = ELOCAL_PROXY_MODE::ConnectivityFirst; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") + FAdvancedConfigInfo advancedConfig; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAccessPointConfiguration") + bool disableAut = false; + FLocalAccessPointConfiguration(){} + FLocalAccessPointConfiguration(const agora::rtc::LocalAccessPointConfiguration & AgoraData){ + + for(int i = 0; i< AgoraData.ipListSize; i++){ + ipList.Add(UTF8_TO_TCHAR(AgoraData.ipList[i])); + } + ipListSize = AgoraData.ipListSize; + for (int i = 0; i < AgoraData.domainListSize; i++) { + domainList.Add(UTF8_TO_TCHAR(AgoraData.domainList[i])); + } + domainListSize = AgoraData.domainListSize; + verifyDomainName = UTF8_TO_TCHAR(AgoraData.verifyDomainName); + mode = static_cast<ELOCAL_PROXY_MODE>(AgoraData.mode); + advancedConfig = FAdvancedConfigInfo(AgoraData.advancedConfig); + disableAut = AgoraData.disableAut; + } + agora::rtc::LocalAccessPointConfiguration CreateAgoraData() const { + + agora::rtc::LocalAccessPointConfiguration AgoraData; + SET_UABT_TARRARY_FSTRING_TO_CONST_AGORA_ARRAY___MEMALLOC(AgoraData.ipList, ipListSize, this->ipList) + AgoraData.ipListSize = ipListSize; + SET_UABT_TARRARY_FSTRING_TO_CONST_AGORA_ARRAY___MEMALLOC(AgoraData.domainList, domainListSize, this->domainList) + AgoraData.domainListSize = domainListSize; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.verifyDomainName, this->verifyDomainName) + AgoraData.mode = static_cast<agora::rtc::LOCAL_PROXY_MODE>(mode); + AgoraData.advancedConfig = advancedConfig.CreateAgoraData(); + AgoraData.disableAut = disableAut; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LocalAccessPointConfiguration & AgoraData) const { + SET_UABT_TARRARY_FSTRING_TO_AGORA_ARRAY___MEMFREE(AgoraData.ipList, ipListSize) + SET_UABT_TARRARY_FSTRING_TO_AGORA_ARRAY___MEMFREE(AgoraData.domainList, domainListSize) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.verifyDomainName) + advancedConfig.FreeAgoraData(AgoraData.advancedConfig); + } }; export class LocalAccessPointConfiguration { diff --git a/dita/RTC-NG/API/class_advancedaudiooptions.dita b/dita/RTC-NG/API/class_advancedaudiooptions.dita index 6a1098e94f7..da5e0fb1ecb 100644 --- a/dita/RTC-NG/API/class_advancedaudiooptions.dita +++ b/dita/RTC-NG/API/class_advancedaudiooptions.dita @@ -40,10 +40,22 @@ struct FAdvancedAudioOptions { GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvancedAudioOptions") + bool audioProcessingChannels_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvancedAudioOptions") - bool audioProcessingChannels_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvancedAudioOptions") - int audioProcessingChannels; + int audioProcessingChannels = 0; + FAdvancedAudioOptions(){} + FAdvancedAudioOptions(const agora::rtc::AdvancedAudioOptions & AgoraData){ + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->audioProcessingChannels, AgoraData.audioProcessingChannels) + } + agora::rtc::AdvancedAudioOptions CreateAgoraData() const { + agora::rtc::AdvancedAudioOptions AgoraData; + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.audioProcessingChannels, this->audioProcessingChannels) + return AgoraData; + } + void FreeAgoraData(agora::rtc::AdvancedAudioOptions & AgoraData) const { + } }; export class AdvancedAudioOptions { diff --git a/dita/RTC-NG/API/class_advancedconfiginfo.dita b/dita/RTC-NG/API/class_advancedconfiginfo.dita index a6c87d4a672..efdfbc408d6 100644 --- a/dita/RTC-NG/API/class_advancedconfiginfo.dita +++ b/dita/RTC-NG/API/class_advancedconfiginfo.dita @@ -25,9 +25,22 @@ }; USTRUCT(BlueprintType) struct FAdvancedConfigInfo { - GENERATED_BODY() - FLogUploadServerInfo logUploadServer; +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvancedConfigInfo") + FLogUploadServerInfo logUploadServer = FLogUploadServerInfo(); + FAdvancedConfigInfo(){} + FAdvancedConfigInfo(const agora::rtc::AdvancedConfigInfo& AgoraData) { + logUploadServer = FLogUploadServerInfo(AgoraData.logUploadServer); + } + agora::rtc::AdvancedConfigInfo CreateAgoraData() const { + agora::rtc::AdvancedConfigInfo AgoraData; + AgoraData.logUploadServer = logUploadServer.CreateAgoraData(); + return AgoraData; + } + void FreeAgoraData(agora::rtc::AdvancedConfigInfo& AgoraData) const { + logUploadServer.FreeAgoraData(AgoraData.logUploadServer); + } }; export class AdvancedConfigInfo { logUploadServer?: LogUploadServerInfo; diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index 967b6484454..458b1922e80 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -56,14 +56,29 @@ }; USTRUCT(BlueprintType) struct FAdvanceOptions { - GENERATED_BODY() - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvanceOptions") FENUMWRAP_ENCODING_PREFERENCE encodingPreference = EENUMCUSTOM_ENCODING_PREFERENCE::PREFER_AUTO; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvanceOptions") - ECOMPRESSION_PREFERENCE compressionPreference; + ECOMPRESSION_PREFERENCE compressionPreference = ECOMPRESSION_PREFERENCE::PREFER_QUALITY; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AdvanceOptions") + bool encodeAlpha = false; + + FAdvanceOptions() {} + FAdvanceOptions(const agora::rtc::AdvanceOptions & AgoraData){ + encodingPreference = AgoraData.encodingPreference; + compressionPreference = static_cast<ECOMPRESSION_PREFERENCE>(AgoraData.compressionPreference); + encodeAlpha = AgoraData.encodeAlpha; + } + agora::rtc::AdvanceOptions CreateAgoraData() const{ + agora::rtc::AdvanceOptions AgoraData; + AgoraData.encodingPreference = encodingPreference.GetRawValue(); + AgoraData.compressionPreference =static_cast<agora::rtc::COMPRESSION_PREFERENCE>(compressionPreference); + AgoraData.encodeAlpha = encodeAlpha; + return AgoraData; + } + void FreeAgoraData(agora::rtc::AdvanceOptions& AgoraData) const { + } }; export class AdvanceOptions { encodingPreference?: EncodingPreference; diff --git a/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita b/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita index bd8b8831570..eaf26607b83 100644 --- a/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita +++ b/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita @@ -41,11 +41,24 @@ struct FAgoraRhythmPlayerConfig { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AgoraRhythmPlayerConfig") int beatsPerMeasure = 4; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AgoraRhythmPlayerConfig") int beatsPerMinute = 60; + FAgoraRhythmPlayerConfig(){} + FAgoraRhythmPlayerConfig(const agora::rtc::AgoraRhythmPlayerConfig & AgoraData){ + beatsPerMeasure = AgoraData.beatsPerMeasure; + beatsPerMinute = AgoraData.beatsPerMinute; + } + agora::rtc::AgoraRhythmPlayerConfig CreateAgoraData() const { + agora::rtc::AgoraRhythmPlayerConfig AgoraData; + AgoraData.beatsPerMeasure = beatsPerMeasure; + AgoraData.beatsPerMinute = beatsPerMinute; + return AgoraData; + } + void FreeAgoraData(agora::rtc::AgoraRhythmPlayerConfig & AgoraData) const { + } }; export class AgoraRhythmPlayerConfig { diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index 3ffd47e985f..fe0a215a4cb 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -96,19 +96,41 @@ struct FAudioRecordingConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioRecordingConfiguration") - FString filePath; + FString filePath = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioRecordingConfiguration") - bool encode; + bool encode = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioRecordingConfiguration") - int sampleRate; + int sampleRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioRecordingConfiguration") EAUDIO_FILE_RECORDING_TYPE fileRecordingType = EAUDIO_FILE_RECORDING_TYPE::AUDIO_FILE_RECORDING_MIXED; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioRecordingConfiguration") EAUDIO_RECORDING_QUALITY_TYPE quality = EAUDIO_RECORDING_QUALITY_TYPE::AUDIO_RECORDING_QUALITY_LOW; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioRecordingConfiguration") - int recordingChannel; + int recordingChannel = 0; + FAudioRecordingConfiguration(){} + FAudioRecordingConfiguration(const agora::rtc::AudioRecordingConfiguration & AgoraData){ + filePath = UTF8_TO_TCHAR(AgoraData.filePath); + encode = AgoraData.encode; + sampleRate = AgoraData.sampleRate; + fileRecordingType = static_cast<EAUDIO_FILE_RECORDING_TYPE>(AgoraData.fileRecordingType); + quality = static_cast<EAUDIO_RECORDING_QUALITY_TYPE>(AgoraData.quality); + recordingChannel = AgoraData.recordingChannel; + } + agora::rtc::AudioRecordingConfiguration CreateAgoraData() const { + agora::rtc::AudioRecordingConfiguration AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.filePath, this->filePath) + AgoraData.encode = encode; + AgoraData.sampleRate = sampleRate; + AgoraData.fileRecordingType = static_cast<agora::rtc::AUDIO_FILE_RECORDING_TYPE>(fileRecordingType); + AgoraData.quality = static_cast<agora::rtc::AUDIO_RECORDING_QUALITY_TYPE>(quality); + AgoraData.recordingChannel = recordingChannel; + return AgoraData; + } + void FreeAgoraData(agora::rtc::AudioRecordingConfiguration& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.filePath) + } }; export class AudioRecordingConfiguration { diff --git a/dita/RTC-NG/API/class_audiovolumeinfo.dita b/dita/RTC-NG/API/class_audiovolumeinfo.dita index 8fc234cc804..243386bf57c 100644 --- a/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -36,16 +36,33 @@ }; USTRUCT(BlueprintType) struct FAudioVolumeInfo { - GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioVolumeInfo") - int64 uid; + int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioVolumeInfo") - int64 volume; + int64 volume = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioVolumeInfo") - int64 vad; + int64 vad = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|AudioVolumeInfo") - float voicePitch; + float voicePitch = 0; + FAudioVolumeInfo(){} + FAudioVolumeInfo(const agora::rtc::AudioVolumeInfo & AgoraData){ + uid = AgoraData.uid; + volume = AgoraData.volume; + vad = AgoraData.vad; + voicePitch = AgoraData.voicePitch; + } + agora::rtc::AudioVolumeInfo CreateAgoraData() const { + agora::rtc::AudioVolumeInfo AgoraData; + AgoraData.uid = uid; + AgoraData.volume = volume; + AgoraData.vad = vad; + AgoraData.voicePitch = voicePitch; + return AgoraData; + } + void FreeAgoraData(agora::rtc::AudioVolumeInfo & AgoraData) const { + } }; public class AudioVolumeInfo diff --git a/dita/RTC-NG/API/class_beautyoptions.dita b/dita/RTC-NG/API/class_beautyoptions.dita index 3846b11fbcd..8ce86812549 100644 --- a/dita/RTC-NG/API/class_beautyoptions.dita +++ b/dita/RTC-NG/API/class_beautyoptions.dita @@ -52,17 +52,36 @@ struct FBeautyOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions") ELIGHTENING_CONTRAST_LEVEL lighteningContrastLevel = ELIGHTENING_CONTRAST_LEVEL::LIGHTENING_CONTRAST_NORMAL; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions") - float lighteningLevel; + float lighteningLevel = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions") - float smoothnessLevel; + float smoothnessLevel = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions") - float rednessLevel; + float rednessLevel = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|BeautyOptions") - float sharpnessLevel; + float sharpnessLevel = 0; + FBeautyOptions(){} + FBeautyOptions(const agora::rtc::BeautyOptions & AgoraData){ + lighteningContrastLevel = static_cast<ELIGHTENING_CONTRAST_LEVEL>(AgoraData.lighteningContrastLevel); + lighteningLevel = AgoraData.lighteningLevel; + smoothnessLevel = AgoraData.smoothnessLevel; + rednessLevel = AgoraData.rednessLevel; + sharpnessLevel = AgoraData.sharpnessLevel; + } + agora::rtc::BeautyOptions CreateAgoraData() const { + agora::rtc::BeautyOptions AgoraData; + AgoraData.lighteningContrastLevel = static_cast<agora::rtc::BeautyOptions::LIGHTENING_CONTRAST_LEVEL>(lighteningContrastLevel); + AgoraData.lighteningLevel = lighteningLevel; + AgoraData.smoothnessLevel = smoothnessLevel; + AgoraData.rednessLevel = rednessLevel; + AgoraData.sharpnessLevel = sharpnessLevel; + return AgoraData; + } + void FreeAgoraData(agora::rtc::BeautyOptions& AgoraData) const { + } }; export class BeautyOptions { diff --git a/dita/RTC-NG/API/class_cachestatistics.dita b/dita/RTC-NG/API/class_cachestatistics.dita index 9e615b81e04..b4ac722879e 100644 --- a/dita/RTC-NG/API/class_cachestatistics.dita +++ b/dita/RTC-NG/API/class_cachestatistics.dita @@ -31,12 +31,30 @@ USTRUCT(BlueprintType) struct FCacheStatistics { GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CacheStatistics") - int64 fileSize; + int64 fileSize = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CacheStatistics") - int64 cacheSize; + int64 cacheSize = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CacheStatistics") - int64 downloadSize; + int64 downloadSize = 0; + + FCacheStatistics(){} + FCacheStatistics(const agora::media::base::CacheStatistics& cacheStatistics) { + fileSize = cacheStatistics.fileSize; + cacheSize = cacheStatistics.cacheSize; + downloadSize = cacheStatistics.downloadSize; + } + agora::media::base::CacheStatistics CreateAgoraData() const { + agora::media::base::CacheStatistics cacheStatistics; + cacheStatistics.fileSize = fileSize; + cacheStatistics.cacheSize = cacheSize; + cacheStatistics.downloadSize = downloadSize; + return cacheStatistics; + } + void FreeAgoraData(agora::media::base::CacheStatistics & AgoraData) const { + + } }; export class CacheStatistics { diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 0b5833484e5..3225d05b102 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -193,14 +193,67 @@ struct FCameraCapturerConfiguration { GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") - ECAMERA_DIRECTION cameraDirection; + ECAMERA_DIRECTION cameraDirection = ECAMERA_DIRECTION::CAMERA_FRONT; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") - FString deviceId; + ECAMERA_FOCAL_LENGTH_TYPE cameraFocalLengthType = ECAMERA_FOCAL_LENGTH_TYPE::CAMERA_FOCAL_LENGTH_DEFAULT; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") + bool deviceId_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") - FVideoFormat format; + FString deviceId = ""; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") + bool cameraId_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") + FString cameraId = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CameraCapturerConfiguration") - bool followEncodeDimensionRatio = true; + FVideoFormat format = FVideoFormat(); + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional followEncodeDimensionRatio = EAgoraOptional::AGORA_NULL_VALUE; + + FCameraCapturerConfiguration(){} + FCameraCapturerConfiguration(const agora::rtc::CameraCapturerConfiguration & AgoraData){ +#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) + cameraDirection = static_cast<ECAMERA_DIRECTION>(AgoraData.cameraDirection.value()); + cameraFocalLengthType = static_cast<ECAMERA_FOCAL_LENGTH_TYPE>(AgoraData.cameraFocalLengthType.value()); +#else + SET_UEBP_OPTIONAL_VAL_FString(this->deviceId, AgoraData.deviceId); +#endif +#if defined(__ANDROID__) + cameraId = UTF8_TO_TCHAR(AgoraData.cameraId.value()); +#endif + format = FVideoFormat(AgoraData.format); + SET_UEBP_OPTIONAL_VAL_BOOL( followEncodeDimensionRatio ,AgoraData.followEncodeDimensionRatio) + } + agora::rtc::CameraCapturerConfiguration CreateAgoraData() const { + agora::rtc::CameraCapturerConfiguration AgoraData; +#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) + AgoraData.cameraDirection = static_cast<agora::rtc::CAMERA_DIRECTION>(cameraDirection); + AgoraData.cameraFocalLengthType = static_cast<agora::rtc::CAMERA_FOCAL_LENGTH_TYPE>(cameraFocalLengthType); +#else + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOALLOC(AgoraData.deviceId, this->deviceId) +#endif +#if defined(__ANDROID__) + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOALLOC( + AgoraData.cameraId,this->cameraId) + +#endif + AgoraData.format = format.CreateAgoraData(); + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.followEncodeDimensionRatio, this->followEncodeDimensionRatio) + return AgoraData; + } + void FreeAgoraData(agora::rtc::CameraCapturerConfiguration& AgoraData) const { + format.FreeAgoraData(AgoraData.format); + +#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) +#else + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOFREE(AgoraData.deviceId) +#endif +#if defined(__ANDROID__) + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOFREE(AgoraData.cameraId) +#endif + } }; export class CameraCapturerConfiguration { diff --git a/dita/RTC-NG/API/class_channelmediainfo.dita b/dita/RTC-NG/API/class_channelmediainfo.dita index 4d52b0f08bc..98388c30c7b 100644 --- a/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/dita/RTC-NG/API/class_channelmediainfo.dita @@ -39,15 +39,31 @@ }; USTRUCT(BlueprintType) struct FChannelMediaInfo { - GENERATED_BODY() - - FString channelName; - - FString token; - - int64 uid; - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo") + int64 uid = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo") + FString channelName = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo") + FString token = ""; + FChannelMediaInfo(){} + FChannelMediaInfo(const agora::rtc::ChannelMediaInfo & AgoraData){ + channelName = UTF8_TO_TCHAR(AgoraData.channelName); + token = UTF8_TO_TCHAR(AgoraData.token); + uid = AgoraData.uid; + } + agora::rtc::ChannelMediaInfo CreateAgoraData() const { + agora::rtc::ChannelMediaInfo AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelName,this->channelName) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.token,this->token) + AgoraData.uid = uid; + return AgoraData; + } + void FreeAgoraData(agora::rtc::ChannelMediaInfo & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelName) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.token) + } }; export class ChannelMediaInfo { diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index 2cf480060d6..7ed6a5d126b 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -189,87 +189,192 @@ struct FChannelMediaOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishCameraTrack; + EAgoraOptional publishCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishSecondaryCameraTrack; + EAgoraOptional publishSecondaryCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishMicrophoneTrack; + EAgoraOptional publishThirdCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishScreenCaptureVideo; + EAgoraOptional publishFourthCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishScreenCaptureAudio; + EAgoraOptional publishMicrophoneTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishScreenTrack; + EAgoraOptional publishScreenCaptureVideo = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishSecondaryScreenTrack; + EAgoraOptional publishScreenCaptureAudio = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishCustomAudioTrack; + EAgoraOptional publishScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - bool publishCustomAudioTrackId_SetValue; + EAgoraOptional publishSecondaryScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - int publishCustomAudioTrackId; + EAgoraOptional publishThirdScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishCustomVideoTrack; + EAgoraOptional publishFourthScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishEncodedVideoTrack; + EAgoraOptional publishCustomAudioTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool publishCustomAudioTrackId_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishMediaPlayerAudioTrack; + int publishCustomAudioTrackId = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishMediaPlayerVideoTrack; + EAgoraOptional publishCustomVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL publishTranscodedVideoTrack; + EAgoraOptional publishEncodedVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL autoSubscribeAudio; + EAgoraOptional publishMediaPlayerAudioTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL autoSubscribeVideo; + EAgoraOptional publishMediaPlayerVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - AGORAOPTIONAL enableAudioRecordingOrPlayout; + EAgoraOptional publishTranscodedVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - bool publishMediaPlayerId_SetValue; + EAgoraOptional publishMixedAudioTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - int publishMediaPlayerId; + EAgoraOptional publishLipSyncTrack = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - bool clientRoleType_SetValue = true; + EAgoraOptional autoSubscribeAudio = EAgoraOptional::AGORA_TRUE_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - ECLIENT_ROLE_TYPE clientRoleType = ECLIENT_ROLE_TYPE::CLIENT_ROLE_BROADCASTER; + EAgoraOptional autoSubscribeVideo = EAgoraOptional::AGORA_TRUE_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - bool audienceLatencyLevel_SetValue; + EAgoraOptional enableAudioRecordingOrPlayout = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool publishMediaPlayerId_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - EAUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel; + int publishMediaPlayerId = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool clientRoleType_SetValue = true; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - bool defaultVideoStreamType_SetValue; + ECLIENT_ROLE_TYPE clientRoleType = ECLIENT_ROLE_TYPE::CLIENT_ROLE_BROADCASTER; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool audienceLatencyLevel_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - EVIDEO_STREAM_TYPE defaultVideoStreamType; + EAUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel = EAUDIENCE_LATENCY_LEVEL_TYPE::AUDIENCE_LATENCY_LEVEL_LOW_LATENCY; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool defaultVideoStreamType_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EVIDEO_STREAM_TYPE defaultVideoStreamType = EVIDEO_STREAM_TYPE::VIDEO_STREAM_HIGH; + 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; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool audioDelayMs_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int audioDelayMs = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool mediaPlayerAudioDelayMs_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int mediaPlayerAudioDelayMs = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool token_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + FString token = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional enableBuiltInMediaEncryption = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishRhythmPlayerTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional isInteractiveAudience = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool customVideoTrackId_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int64 customVideoTrackId = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional isAudioFilterable = EAgoraOptional::AGORA_NULL_VALUE; + + FChannelMediaOptions(){} + FChannelMediaOptions(const agora::rtc::ChannelMediaOptions & AgoraData){ + + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishCameraTrack, AgoraData.publishCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishSecondaryCameraTrack, AgoraData.publishSecondaryCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishThirdCameraTrack, AgoraData.publishThirdCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishFourthCameraTrack, AgoraData.publishFourthCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMicrophoneTrack, AgoraData.publishMicrophoneTrack) +#if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishScreenCaptureVideo, AgoraData.publishScreenCaptureVideo) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishScreenCaptureAudio, AgoraData.publishScreenCaptureAudio) +#else + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishScreenTrack, AgoraData.publishScreenTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishSecondaryScreenTrack, AgoraData.publishSecondaryScreenTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishThirdScreenTrack, AgoraData.publishThirdScreenTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishFourthScreenTrack, AgoraData.publishFourthScreenTrack) +#endif + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishCustomAudioTrack, AgoraData.publishCustomAudioTrack) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->publishCustomAudioTrackId, AgoraData.publishCustomAudioTrackId) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishCustomVideoTrack, AgoraData.publishCustomVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishEncodedVideoTrack, AgoraData.publishEncodedVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMediaPlayerAudioTrack, AgoraData.publishMediaPlayerAudioTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMediaPlayerVideoTrack, AgoraData.publishMediaPlayerVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishTranscodedVideoTrack, AgoraData.publishTranscodedVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMixedAudioTrack, AgoraData.publishMixedAudioTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishLipSyncTrack, AgoraData.publishLipSyncTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->autoSubscribeAudio, AgoraData.autoSubscribeAudio) + SET_UEBP_OPTIONAL_VAL_BOOL(this->autoSubscribeVideo, AgoraData.autoSubscribeVideo) + SET_UEBP_OPTIONAL_VAL_BOOL(this->enableAudioRecordingOrPlayout, AgoraData.enableAudioRecordingOrPlayout) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->publishMediaPlayerId, AgoraData.publishMediaPlayerId) + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->clientRoleType,AgoraData.clientRoleType,static_cast<ECLIENT_ROLE_TYPE>(AgoraData.clientRoleType.value())) + + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->audienceLatencyLevel, AgoraData.audienceLatencyLevel, static_cast<EAUDIENCE_LATENCY_LEVEL_TYPE>(AgoraData.audienceLatencyLevel.value())) + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->defaultVideoStreamType, AgoraData.defaultVideoStreamType, static_cast<EVIDEO_STREAM_TYPE>(AgoraData.defaultVideoStreamType.value())) + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->channelProfile, AgoraData.channelProfile, static_cast<ECHANNEL_PROFILE_TYPE>(AgoraData.channelProfile.value())) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->audioDelayMs, AgoraData.audioDelayMs) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->mediaPlayerAudioDelayMs, AgoraData.mediaPlayerAudioDelayMs) + + SET_UEBP_OPTIONAL_VAL_FString(this->token,AgoraData.token) + + SET_UEBP_OPTIONAL_VAL_BOOL(this->enableBuiltInMediaEncryption, AgoraData.enableBuiltInMediaEncryption) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishRhythmPlayerTrack, AgoraData.publishRhythmPlayerTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->isInteractiveAudience, AgoraData.isInteractiveAudience) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->customVideoTrackId, AgoraData.customVideoTrackId) + SET_UEBP_OPTIONAL_VAL_BOOL(this->isAudioFilterable, AgoraData.isAudioFilterable) + } + agora::rtc::ChannelMediaOptions CreateAgoraData() const{ + agora::rtc::ChannelMediaOptions AgoraData; + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishCameraTrack, this->publishCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishSecondaryCameraTrack, this->publishSecondaryCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishThirdCameraTrack, this->publishThirdCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishFourthCameraTrack, this->publishFourthCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMicrophoneTrack, this->publishMicrophoneTrack) +#if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishScreenCaptureVideo, this->publishScreenCaptureVideo) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishScreenCaptureAudio, this->publishScreenCaptureAudio) +#else + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishScreenTrack, this->publishScreenTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishSecondaryScreenTrack, this->publishSecondaryScreenTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishThirdScreenTrack, this->publishThirdScreenTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishFourthScreenTrack, this->publishFourthScreenTrack) +#endif + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishCustomAudioTrack, this->publishCustomAudioTrack) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.publishCustomAudioTrackId, this->publishCustomAudioTrackId) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishCustomVideoTrack, this->publishCustomVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishEncodedVideoTrack, this->publishEncodedVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMediaPlayerAudioTrack, this->publishMediaPlayerAudioTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMediaPlayerVideoTrack, this->publishMediaPlayerVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishTranscodedVideoTrack, this->publishTranscodedVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMixedAudioTrack, this->publishMixedAudioTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishLipSyncTrack, this->publishLipSyncTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.autoSubscribeAudio, this->autoSubscribeAudio) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.autoSubscribeVideo, this->autoSubscribeVideo) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enableAudioRecordingOrPlayout, this->enableAudioRecordingOrPlayout) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.publishMediaPlayerId, this->publishMediaPlayerId) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.clientRoleType, this->clientRoleType,static_cast<agora::rtc::CLIENT_ROLE_TYPE>(this->clientRoleType)) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.audienceLatencyLevel, this->audienceLatencyLevel, static_cast<agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE>(this->audienceLatencyLevel)) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.defaultVideoStreamType, this->defaultVideoStreamType, static_cast<agora::rtc::VIDEO_STREAM_TYPE>(this->defaultVideoStreamType)) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.channelProfile, this->channelProfile, static_cast<agora::CHANNEL_PROFILE_TYPE>(this->channelProfile)) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.audioDelayMs, this->audioDelayMs) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.mediaPlayerAudioDelayMs, this->mediaPlayerAudioDelayMs) + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOALLOC(AgoraData.token, this->token) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enableBuiltInMediaEncryption, this->enableBuiltInMediaEncryption) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishRhythmPlayerTrack, this->publishRhythmPlayerTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isInteractiveAudience, this->isInteractiveAudience) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.customVideoTrackId, this->customVideoTrackId) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isAudioFilterable, this->isAudioFilterable) + return AgoraData; + } + void FreeAgoraData(agora::rtc::ChannelMediaOptions& AgoraData) const { + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOFREE(AgoraData.token) + } }; export class ChannelMediaOptions { diff --git a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index fcd2a9e2cae..5a60c85ae1b 100644 --- a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -66,14 +66,34 @@ struct FChannelMediaRelayConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaRelayConfiguration") - FChannelMediaInfo srcInfo; - + FChannelMediaInfo srcInfo = FChannelMediaInfo(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaRelayConfiguration") TArray<FChannelMediaInfo> destInfos; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaRelayConfiguration") - int destCount; + int destCount = 0; + FChannelMediaRelayConfiguration(){} + FChannelMediaRelayConfiguration(const agora::rtc::ChannelMediaRelayConfiguration & AgoraData){ + srcInfo = FChannelMediaInfo(*(AgoraData.srcInfo)); + destCount = AgoraData.destCount; + for(int i = 0; i< destCount; i++){ + destInfos.Add(FChannelMediaInfo(AgoraData.destInfos[i])); + } + } + agora::rtc::ChannelMediaRelayConfiguration CreateAgoraData() const { + agora::rtc::ChannelMediaRelayConfiguration AgoraData; + + SET_UABT_UECUSTOMDATA_TO_AGORA_PTR_1_ENTRY___MEMALLOC(AgoraData.srcInfo,agora::rtc::ChannelMediaInfo, this->srcInfo) + AgoraData.destCount = destCount; + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMALLOC(AgoraData.destInfos, agora::rtc::ChannelMediaInfo, destCount, this->destInfos) + return AgoraData; + } + void FreeAgoraData(agora::rtc::ChannelMediaRelayConfiguration & AgoraData) const { + SET_UABT_UECUSTOMDATA_TO_AGORA_PTR_1_ENTRY___MEMFREE(AgoraData.srcInfo, FChannelMediaInfo) + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMFREE(AgoraData.destInfos, destCount, FChannelMediaInfo) + } }; export class ChannelMediaRelayConfiguration { diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 16f8abc7e04..4cbae7da5c2 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -32,9 +32,20 @@ struct FClientRoleOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ClientRoleOptions") EAUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel = EAUDIENCE_LATENCY_LEVEL_TYPE::AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY; + FClientRoleOptions() {} + FClientRoleOptions(const agora::rtc::ClientRoleOptions& AgoraData) { + audienceLatencyLevel = static_cast<EAUDIENCE_LATENCY_LEVEL_TYPE>(AgoraData.audienceLatencyLevel); + } + agora::rtc::ClientRoleOptions CreateAgoraData() const { + agora::rtc::ClientRoleOptions AgoraData; + AgoraData.audienceLatencyLevel = static_cast<agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE>(audienceLatencyLevel); + return AgoraData; + } + void FreeAgoraData(agora::rtc::ClientRoleOptions& AgoraData) const { + } }; export class ClientRoleOptions { diff --git a/dita/RTC-NG/API/class_codeccapinfo.dita b/dita/RTC-NG/API/class_codeccapinfo.dita index 90c687c9d99..1795e658420 100644 --- a/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/dita/RTC-NG/API/class_codeccapinfo.dita @@ -38,12 +38,30 @@ }; USTRUCT(BlueprintType) struct FCodecCapInfo { - GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") + EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_NONE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") - EVIDEO_CODEC_TYPE codecType; + int codecCapMask = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") - int codecCapMask; + FCodecCapLevels codecLevels; + FCodecCapInfo(){} + FCodecCapInfo(const agora::rtc::CodecCapInfo & AgoraData){ + codecType = static_cast<EVIDEO_CODEC_TYPE>(AgoraData.codecType); + codecCapMask = AgoraData.codecCapMask; + codecLevels = AgoraData.codecLevels; + } + agora::rtc::CodecCapInfo CreateAgoraData() const { + agora::rtc::CodecCapInfo AgoraData; + AgoraData.codecType = static_cast<agora::rtc::VIDEO_CODEC_TYPE>(codecType); + AgoraData.codecCapMask = codecCapMask; + AgoraData.codecLevels = codecLevels.CreateAgoraData(); + return AgoraData; + } + void FreeAgoraData(agora::rtc::CodecCapInfo& AgoraData) const { + codecLevels.FreeAgoraData(AgoraData.codecLevels); + } }; export class CodecCapInfo { codecType?: VideoCodecType; diff --git a/dita/RTC-NG/API/class_codeccaplevels.dita b/dita/RTC-NG/API/class_codeccaplevels.dita index 1c4ee4f8e6d..8a97a63b142 100644 --- a/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/dita/RTC-NG/API/class_codeccaplevels.dita @@ -31,6 +31,29 @@ VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel; CodecCapLevels(): hwDecodingLevel(CODEC_CAPABILITY_LEVEL_UNSPECIFIED), swDecodingLevel(CODEC_CAPABILITY_LEVEL_UNSPECIFIED) {} +}; + USTRUCT(BlueprintType) +struct FCodecCapLevels { + GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FCodecCapLevels") + FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FCodecCapLevels") + FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel; + + FCodecCapLevels() {} + FCodecCapLevels(const agora::rtc::CodecCapLevels& AgoraData) { + hwDecodingLevel = AgoraData.hwDecodingLevel; + swDecodingLevel = AgoraData.swDecodingLevel; + } + agora::rtc::CodecCapLevels CreateAgoraData() const { + agora::rtc::CodecCapLevels AgoraData; + AgoraData.hwDecodingLevel = hwDecodingLevel.GetRawValue(); + AgoraData.swDecodingLevel = swDecodingLevel.GetRawValue(); + return AgoraData; + } + void FreeAgoraData(agora::rtc::CodecCapLevels& AgoraData) const { + } }; export class CodecCapLevels { hwDecodingLevel?: VideoCodecCapabilityLevel; diff --git a/dita/RTC-NG/API/class_colorenhanceoptions.dita b/dita/RTC-NG/API/class_colorenhanceoptions.dita index 0bdd5a291ad..98e93255e79 100644 --- a/dita/RTC-NG/API/class_colorenhanceoptions.dita +++ b/dita/RTC-NG/API/class_colorenhanceoptions.dita @@ -36,11 +36,24 @@ struct FColorEnhanceOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ColorEnhanceOptions") - float strengthLevel; + float strengthLevel = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ColorEnhanceOptions") - float skinProtectLevel; + float skinProtectLevel = 0; + FColorEnhanceOptions(){} + FColorEnhanceOptions(const agora::rtc::ColorEnhanceOptions & AgoraData){ + strengthLevel = AgoraData.strengthLevel; + skinProtectLevel = AgoraData.skinProtectLevel; + } + agora::rtc::ColorEnhanceOptions CreateAgoraData() const { + agora::rtc::ColorEnhanceOptions AgoraData; + AgoraData.strengthLevel = strengthLevel; + AgoraData.skinProtectLevel = skinProtectLevel; + return AgoraData; + } + void FreeAgoraData(agora::rtc::ColorEnhanceOptions& AgoraData) const { + } }; public class ColorEnhanceOptions { diff --git a/dita/RTC-NG/API/class_contentinspectconfig.dita b/dita/RTC-NG/API/class_contentinspectconfig.dita index 4de270babb1..81b81e5238c 100644 --- a/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -60,13 +60,42 @@ struct FContentInspectConfig { GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectConfig") + FString extraInfo = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectConfig") - FString extraInfo; + FString serverConfig; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectConfig") TArray<FContentInspectModule> modules; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectConfig") - int moduleCount; + int moduleCount = 0; + FContentInspectConfig(){} + FContentInspectConfig(const agora::media::ContentInspectConfig & AgoraData){ + extraInfo = UTF8_TO_TCHAR(AgoraData.extraInfo); + serverConfig = UTF8_TO_TCHAR(AgoraData.serverConfig); + moduleCount = AgoraData.moduleCount; + for(int i = 0; i< moduleCount; i++){ + modules.Add(FContentInspectModule(AgoraData.modules[i])); + } + } + agora::media::ContentInspectConfig CreateAgoraData() const { + agora::media::ContentInspectConfig AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.extraInfo,this->extraInfo) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.serverConfig, this->serverConfig) + AgoraData.moduleCount = moduleCount; + for(int i = 0;i < moduleCount; i++){ + AgoraData.modules[i] = modules[i].CreateAgoraData(); + } + return AgoraData; + } + void FreeAgoraData(agora::media::ContentInspectConfig & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.extraInfo) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.serverConfig) + for (int i = 0; i < moduleCount; i++) { + FContentInspectModule ReleaseOperator; + ReleaseOperator.FreeAgoraData(AgoraData.modules[i]); + } + } }; export class ContentInspectConfig { diff --git a/dita/RTC-NG/API/class_contentinspectmodule.dita b/dita/RTC-NG/API/class_contentinspectmodule.dita index 382fa1f1fd1..f1adda91da4 100644 --- a/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -29,12 +29,25 @@ }; USTRUCT(BlueprintType) struct FContentInspectModule { - GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectModule") ECONTENT_INSPECT_TYPE type = ECONTENT_INSPECT_TYPE::CONTENT_INSPECT_INVALID; - + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ContentInspectModule") int64 interval = 0; + FContentInspectModule(){} + FContentInspectModule(const agora::media::ContentInspectModule & AgoraData){ + type = static_cast<ECONTENT_INSPECT_TYPE>(AgoraData.type); + interval = AgoraData.interval; + } + agora::media::ContentInspectModule CreateAgoraData() const { + agora::media::ContentInspectModule AgoraData; + AgoraData.type = static_cast<agora::media::CONTENT_INSPECT_TYPE>(type); + AgoraData.interval = interval; + return AgoraData; + } + void FreeAgoraData(agora::media::ContentInspectModule & AgoraData) const { + } }; export class ContentInspectModule { diff --git a/dita/RTC-NG/API/class_datastreamconfig.dita b/dita/RTC-NG/API/class_datastreamconfig.dita index 253993f6b88..a320ec383e1 100644 --- a/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/dita/RTC-NG/API/class_datastreamconfig.dita @@ -26,11 +26,24 @@ struct FDataStreamConfig { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DataStreamConfig") - bool syncWithAudio; + bool syncWithAudio = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DataStreamConfig") - bool ordered; + bool ordered = false; + FDataStreamConfig(){} + FDataStreamConfig(const agora::rtc::DataStreamConfig & AgoraData){ + syncWithAudio = AgoraData.syncWithAudio; + ordered = AgoraData.ordered; + } + agora::rtc::DataStreamConfig CreateAgoraData() const { + agora::rtc::DataStreamConfig AgoraData; + AgoraData.syncWithAudio = syncWithAudio; + AgoraData.ordered = ordered; + return AgoraData; + } + void FreeAgoraData(agora::rtc::DataStreamConfig & AgoraData) const { + } }; export class DataStreamConfig { diff --git a/dita/RTC-NG/API/class_deviceinfo.dita b/dita/RTC-NG/API/class_deviceinfo.dita index f55cfa44dcc..02c80431472 100644 --- a/dita/RTC-NG/API/class_deviceinfo.dita +++ b/dita/RTC-NG/API/class_deviceinfo.dita @@ -25,9 +25,20 @@ struct FDeviceInfo { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DeviceInfo") - bool isLowLatencyAudioSupported; + bool isLowLatencyAudioSupported = false; + FDeviceInfo(){} + FDeviceInfo(const agora::rtc::DeviceInfo & AgoraData){ + isLowLatencyAudioSupported = AgoraData.isLowLatencyAudioSupported; + } + agora::rtc::DeviceInfo CreateAgoraData() const { + agora::rtc::DeviceInfo AgoraData; + AgoraData.isLowLatencyAudioSupported = isLowLatencyAudioSupported; + return AgoraData; + } + void FreeAgoraData(agora::rtc::DeviceInfo& AgoraData) const { + } }; export class DeviceInfo { diff --git a/dita/RTC-NG/API/class_directcdnstreamingstats.dita b/dita/RTC-NG/API/class_directcdnstreamingstats.dita index 00946befc65..13e54800df0 100644 --- a/dita/RTC-NG/API/class_directcdnstreamingstats.dita +++ b/dita/RTC-NG/API/class_directcdnstreamingstats.dita @@ -38,18 +38,37 @@ }; USTRUCT(BlueprintType) struct FDirectCdnStreamingStats { - GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats") - int videoWidth; + int videoWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats") - int videoHeight; + int videoHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats") - int fps; + int fps = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats") - int videoBitrate; + int videoBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats") - int audioBitrate; + int audioBitrate = 0; + FDirectCdnStreamingStats(){} + FDirectCdnStreamingStats(const agora::rtc::DirectCdnStreamingStats & AgoraData){ + videoWidth = AgoraData.videoWidth; + videoHeight = AgoraData.videoHeight; + fps = AgoraData.fps; + videoBitrate = AgoraData.videoBitrate; + audioBitrate = AgoraData.audioBitrate; + } + agora::rtc::DirectCdnStreamingStats CreateAgoraData() const { + agora::rtc::DirectCdnStreamingStats AgoraData; + AgoraData.videoWidth = videoWidth; + AgoraData.videoHeight = videoHeight; + AgoraData.fps = fps; + AgoraData.videoBitrate = videoBitrate; + AgoraData.audioBitrate = audioBitrate; + return AgoraData; + } + void FreeAgoraData(agora::rtc::DirectCdnStreamingStats & AgoraData) const { + } }; export class DirectCdnStreamingStats { videoWidth?: number; diff --git a/dita/RTC-NG/API/class_echotestconfiguration.dita b/dita/RTC-NG/API/class_echotestconfiguration.dita index 309a39a8b7c..3daf8273dec 100644 --- a/dita/RTC-NG/API/class_echotestconfiguration.dita +++ b/dita/RTC-NG/API/class_echotestconfiguration.dita @@ -69,19 +69,41 @@ struct EchoTestConfiguration { struct FEchoTestConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EchoTestConfiguration") - UImage* view; + UImage* view = nullptr; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EchoTestConfiguration") bool enableAudio = true; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EchoTestConfiguration") bool enableVideo = true; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EchoTestConfiguration") - FString token; + FString token = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EchoTestConfiguration") - FString channelId; + FString channelId = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EchoTestConfiguration") int intervalInSeconds = 2; + + FEchoTestConfiguration() {} + FEchoTestConfiguration(const agora::rtc::EchoTestConfiguration& AgoraData) { + view = nullptr; enableAudio = AgoraData.enableAudio; + enableVideo = AgoraData.enableVideo; + token = AgoraData.token; + channelId = AgoraData.channelId; + intervalInSeconds = AgoraData.intervalInSeconds; + } + agora::rtc::EchoTestConfiguration CreateAgoraData() const{ + agora::rtc::EchoTestConfiguration AgoraData; + AgoraData.enableAudio = enableAudio; + AgoraData.enableVideo = enableVideo; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.token,this->token) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelId, this->channelId) + AgoraData.intervalInSeconds = intervalInSeconds; + return AgoraData; + } + void FreeAgoraData(agora::rtc::EchoTestConfiguration& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.token) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelId) + } }; export class EchoTestConfiguration { diff --git a/dita/RTC-NG/API/class_encryptionconfig.dita b/dita/RTC-NG/API/class_encryptionconfig.dita index b33b0433c16..3f507ce2e8c 100644 --- a/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/dita/RTC-NG/API/class_encryptionconfig.dita @@ -51,13 +51,46 @@ struct FEncryptionConfig { GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncryptionConfig") + EENCRYPTION_MODE encryptionMode = EENCRYPTION_MODE::AES_128_GCM; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncryptionConfig") - ENCRYPTION_MODE encryptionMode = ENCRYPTION_MODE::AES_128_GCM; + FString encryptionKey = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncryptionConfig") - FString encryptionKey; + FString encryptionKdfSalt = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|EncryptionConfig") - FString encryptionKdfSalt; + bool datastreamEncryptionEnabled = false; + FEncryptionConfig(){} + FEncryptionConfig(const agora::rtc::EncryptionConfig & AgoraData){ + encryptionMode = static_cast<EENCRYPTION_MODE>(AgoraData.encryptionMode); + encryptionKey = UTF8_TO_TCHAR(AgoraData.encryptionKey); + char valencryptionKdfSalt[32] = {0}; + int AgoraCount = 32; + for (int i = 0; i < AgoraCount; i++) { + encryptionKdfSalt[i] = AgoraData.encryptionKdfSalt[i]; + } + encryptionKdfSalt = valencryptionKdfSalt; + datastreamEncryptionEnabled = AgoraData.datastreamEncryptionEnabled; + } + agora::rtc::EncryptionConfig CreateAgoraData() const { + agora::rtc::EncryptionConfig AgoraData; + AgoraData.encryptionMode = static_cast<agora::rtc::ENCRYPTION_MODE>(encryptionMode); + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.encryptionKey,this->encryptionKey) + + std::string StdencryptionKdfSalt = TCHAR_TO_UTF8(*encryptionKdfSalt); + int AgoraCount = 32; + for (int i = 0; i < AgoraCount; i++) { + if(i >= StdencryptionKdfSalt.size()){ + break; + } + AgoraData.encryptionKdfSalt[i] = StdencryptionKdfSalt[i]; + } + AgoraData.datastreamEncryptionEnabled = datastreamEncryptionEnabled; + return AgoraData; + } + void FreeAgoraData(agora::rtc::EncryptionConfig & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.encryptionKey) + } }; export class EncryptionConfig { diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita index e919d3724d8..3e9d23a36ff 100644 --- a/dita/RTC-NG/API/class_extensioncontext.dita +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -41,7 +41,37 @@ const char *extensionName; ExtensionContext():isValid(false), uid(0), providerName(NULL), extensionName(NULL) {} }; - + USTRUCT(BlueprintType) +struct FExtensionContext { + GENERATED_BODY() + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ExtensionContext") + bool isValid = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ExtensionContext") + int64 uid = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ExtensionContext") + FString providerName = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ExtensionContext") + FString extensionName = ""; + FExtensionContext(){} + FExtensionContext(const agora::rtc::ExtensionContext& AgoraData){ + isValid = AgoraData.isValid; + uid = AgoraData.uid; + providerName = UTF8_TO_TCHAR(AgoraData.providerName); + extensionName = UTF8_TO_TCHAR(AgoraData.extensionName); + } + agora::rtc::ExtensionContext CreateAgoraData() const { + agora::rtc::ExtensionContext AgoraData; + AgoraData.isValid = isValid; + AgoraData.uid = uid; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.providerName, providerName) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.extensionName, extensionName) + return AgoraData; + } + void FreeAgoraData(agora::rtc::ExtensionContext& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.providerName) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.extensionName) + } +}; diff --git a/dita/RTC-NG/API/class_focallengthinfo.dita b/dita/RTC-NG/API/class_focallengthinfo.dita index 29fa66bb425..a85e1ba66f7 100644 --- a/dita/RTC-NG/API/class_focallengthinfo.dita +++ b/dita/RTC-NG/API/class_focallengthinfo.dita @@ -35,7 +35,28 @@ int cameraDirection; CAMERA_FOCAL_LENGTH_TYPE focalLengthType; }; - + USTRUCT(BlueprintType) +struct FFocalLengthInfo { + GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FFocalLengthInfo") + int cameraDirection = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FFocalLengthInfo") + ECAMERA_FOCAL_LENGTH_TYPE focalLengthType = ECAMERA_FOCAL_LENGTH_TYPE::CAMERA_FOCAL_LENGTH_DEFAULT; + FFocalLengthInfo(){} + FFocalLengthInfo(const agora::rtc::FocalLengthInfo & AgoraData){ + cameraDirection = AgoraData.cameraDirection; + focalLengthType = static_cast<ECAMERA_FOCAL_LENGTH_TYPE>(AgoraData.focalLengthType); + } + agora::rtc::FocalLengthInfo CreateAgoraData() const { + agora::rtc::FocalLengthInfo AgoraData; + AgoraData.cameraDirection = cameraDirection; + AgoraData.focalLengthType = static_cast<agora::rtc::CAMERA_FOCAL_LENGTH_TYPE>(focalLengthType); + return AgoraData; + } + void FreeAgoraData(agora::rtc::FocalLengthInfo& AgoraData) const { + } +}; public class FocalLengthInfo { diff --git a/dita/RTC-NG/API/class_imagetrackoptions.dita b/dita/RTC-NG/API/class_imagetrackoptions.dita index 87f017bbf1f..7b9778e9700 100644 --- a/dita/RTC-NG/API/class_imagetrackoptions.dita +++ b/dita/RTC-NG/API/class_imagetrackoptions.dita @@ -31,11 +31,25 @@ struct FImageTrackOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ImageTrackOptions") - FString imageUrl; + FString imageUrl = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ImageTrackOptions") int fps = 1; + FImageTrackOptions(){} + FImageTrackOptions(const agora::rtc::ImageTrackOptions & AgoraData){ + imageUrl = UTF8_TO_TCHAR(AgoraData.imageUrl); + fps = AgoraData.fps; + } + agora::rtc::ImageTrackOptions CreateAgoraData() const { + agora::rtc::ImageTrackOptions AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.imageUrl,this->imageUrl) + AgoraData.fps = fps; + return AgoraData; + } + void FreeAgoraData(agora::rtc::ImageTrackOptions & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.imageUrl) + } }; export class ImageTrackOptions { diff --git a/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/dita/RTC-NG/API/class_lastmileprobeconfig.dita index 5886e79d9b7..23a2d461217 100644 --- a/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -42,15 +42,32 @@ struct FLastmileProbeConfig { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeConfig") - bool probeUplink; + bool probeUplink = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeConfig") - bool probeDownlink; + bool probeDownlink = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeConfig") - int expectedUplinkBitrate; + int expectedUplinkBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeConfig") - int expectedDownlinkBitrate; + int expectedDownlinkBitrate = 0; + FLastmileProbeConfig(){} + FLastmileProbeConfig(const agora::rtc::LastmileProbeConfig & AgoraData){ + probeUplink = AgoraData.probeUplink; + probeDownlink = AgoraData.probeDownlink; + expectedUplinkBitrate = AgoraData.expectedUplinkBitrate; + expectedDownlinkBitrate = AgoraData.expectedDownlinkBitrate; + } + agora::rtc::LastmileProbeConfig CreateAgoraData() const{ + agora::rtc::LastmileProbeConfig AgoraData; + AgoraData.probeUplink = probeUplink; + AgoraData.probeDownlink = probeDownlink; + AgoraData.expectedUplinkBitrate = expectedUplinkBitrate; + AgoraData.expectedDownlinkBitrate = expectedDownlinkBitrate; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LastmileProbeConfig& AgoraData) const { + } }; export class LastmileProbeConfig { diff --git a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita index 3f4a72b6ed4..334e83564a3 100644 --- a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita +++ b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita @@ -17,13 +17,29 @@ }; USTRUCT(BlueprintType) struct FLastmileProbeOneWayResult { - GENERATED_BODY() - int64 packetLossRate; - - int64 jitter; - - int64 availableBandwidth; +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeOneWayResult") + int64 packetLossRate = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeOneWayResult") + int64 jitter = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeOneWayResult") + int64 availableBandwidth = 0; + FLastmileProbeOneWayResult(){} + FLastmileProbeOneWayResult(const agora::rtc::LastmileProbeOneWayResult & AgoraData){ + packetLossRate = AgoraData.packetLossRate; + jitter = AgoraData.jitter; + availableBandwidth = AgoraData.availableBandwidth; + } + agora::rtc::LastmileProbeOneWayResult CreateAgoraData() const { + agora::rtc::LastmileProbeOneWayResult AgoraData; + AgoraData.packetLossRate = packetLossRate; + AgoraData.jitter = jitter; + AgoraData.availableBandwidth = availableBandwidth; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LastmileProbeOneWayResult & AgoraData) const { + } }; public static class LastmileProbeOneWayResult { public int packetLossRate; diff --git a/dita/RTC-NG/API/class_lastmileproberesult.dita b/dita/RTC-NG/API/class_lastmileproberesult.dita index c76a1848cda..df0eb83b0d9 100644 --- a/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -17,16 +17,35 @@ }; USTRUCT(BlueprintType) struct FLastmileProbeResult { - GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeResult") ELASTMILE_PROBE_RESULT_STATE state = ELASTMILE_PROBE_RESULT_STATE::LASTMILE_PROBE_RESULT_UNAVAILABLE; - - FLastmileProbeOneWayResult uplinkReport; - - FLastmileProbeOneWayResult downlinkReport; - + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeResult") + FLastmileProbeOneWayResult uplinkReport = FLastmileProbeOneWayResult(); + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeResult") + FLastmileProbeOneWayResult downlinkReport = FLastmileProbeOneWayResult(); + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeResult") int64 rtt = 0; + FLastmileProbeResult(){} + FLastmileProbeResult(const agora::rtc::LastmileProbeResult & AgoraData){ + state = static_cast<ELASTMILE_PROBE_RESULT_STATE>(AgoraData.state); + uplinkReport = FLastmileProbeOneWayResult(AgoraData.uplinkReport); + downlinkReport = FLastmileProbeOneWayResult(AgoraData.downlinkReport); + rtt = AgoraData.rtt; + } + agora::rtc::LastmileProbeResult CreateAgoraData() const { + agora::rtc::LastmileProbeResult AgoraData; + AgoraData.state = static_cast<agora::rtc::LASTMILE_PROBE_RESULT_STATE>(state); + AgoraData.uplinkReport = uplinkReport.CreateAgoraData(); + AgoraData.downlinkReport = downlinkReport.CreateAgoraData(); + AgoraData.rtt = rtt; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LastmileProbeResult & AgoraData) const { + uplinkReport.FreeAgoraData(AgoraData.uplinkReport); + downlinkReport.FreeAgoraData(AgoraData.downlinkReport); + } }; public static class LastmileProbeResult { diff --git a/dita/RTC-NG/API/class_leavechanneloptions.dita b/dita/RTC-NG/API/class_leavechanneloptions.dita index bf4d24314f8..a45bc8e2e37 100644 --- a/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -41,13 +41,29 @@ struct FLeaveChannelOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LeaveChannelOptions") - AGORAOPTIONAL stopAudioMixing; + bool stopAudioMixing = true; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LeaveChannelOptions") - AGORAOPTIONAL stopAllEffect; + bool stopAllEffect = true; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LeaveChannelOptions") - AGORAOPTIONAL stopMicrophoneRecording; + bool stopMicrophoneRecording = true; + + FLeaveChannelOptions() {} + FLeaveChannelOptions(const agora::rtc::LeaveChannelOptions& AgoraData) { + this->stopAudioMixing = AgoraData.stopAudioMixing; + this->stopAllEffect = AgoraData.stopAllEffect; + this->stopMicrophoneRecording = AgoraData.stopMicrophoneRecording; + } + agora::rtc::LeaveChannelOptions CreateAgoraData() const { + agora::rtc::LeaveChannelOptions AgoraData; + AgoraData.stopAudioMixing = this->stopAudioMixing; + AgoraData.stopAllEffect = this->stopAllEffect; + AgoraData.stopMicrophoneRecording = this->stopMicrophoneRecording; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LeaveChannelOptions& AgoraData) const { + } }; export class LeaveChannelOptions { diff --git a/dita/RTC-NG/API/class_livestreamadvancedfeature.dita b/dita/RTC-NG/API/class_livestreamadvancedfeature.dita index 2f0eaf3fdc4..796e35350c9 100644 --- a/dita/RTC-NG/API/class_livestreamadvancedfeature.dita +++ b/dita/RTC-NG/API/class_livestreamadvancedfeature.dita @@ -22,13 +22,26 @@ } ; USTRUCT(BlueprintType) struct FLiveStreamAdvancedFeature { - GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveStreamAdvancedFeature") - FString featureName; + FString featureName = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveStreamAdvancedFeature") - bool opened; + bool opened = false; + FLiveStreamAdvancedFeature(){} + FLiveStreamAdvancedFeature(const agora::rtc::LiveStreamAdvancedFeature & AgoraData){ + featureName = UTF8_TO_TCHAR(AgoraData.featureName); + opened = AgoraData.opened; + } + agora::rtc::LiveStreamAdvancedFeature CreateAgoraData() const { + agora::rtc::LiveStreamAdvancedFeature AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.featureName, this->featureName) + AgoraData.opened = opened; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LiveStreamAdvancedFeature& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.featureName) + } }; export class LiveStreamAdvancedFeature { diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index a86ba514955..dabe7558dce 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -330,7 +330,7 @@ struct FLiveTranscoding { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") int width = 360; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") @@ -354,9 +354,9 @@ struct FLiveTranscoding UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") TArray<FTranscodingUser> transcodingUsers; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") - FString transcodingExtraInfo; + FString transcodingExtraInfo = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") - FString metadata; + FString metadata = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") TArray <FRtcImage> watermark; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") @@ -366,7 +366,7 @@ struct FLiveTranscoding UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") int backgroundImageCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") - TEnumAsByte<EAUDIO_SAMPLE_RATE_TYPE> audioSampleRate = EAUDIO_SAMPLE_RATE_TYPE::AUDIO_SAMPLE_RATE_48000; + EAUDIO_SAMPLE_RATE_TYPE audioSampleRate = EAUDIO_SAMPLE_RATE_TYPE::AUDIO_SAMPLE_RATE_48000; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") int audioBitrate = 48; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") @@ -377,6 +377,80 @@ struct FLiveTranscoding TArray<FLiveStreamAdvancedFeature> advancedFeatures; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LiveTranscoding") int advancedFeatureCount = 0; + FLiveTranscoding(){} + FLiveTranscoding(const agora::rtc::LiveTranscoding & AgoraData){ + width = AgoraData.width; + height = AgoraData.height; + videoBitrate = AgoraData.videoBitrate; + videoFramerate = AgoraData.videoFramerate; + lowLatency = AgoraData.lowLatency; + videoGop = AgoraData.videoGop; + videoCodecProfile = static_cast<EVIDEO_CODEC_PROFILE_TYPE>(AgoraData.videoCodecProfile); + backgroundColor = AgoraData.backgroundColor; + videoCodecType = static_cast<EVIDEO_CODEC_TYPE_FOR_STREAM>(AgoraData.videoCodecType); + userCount = AgoraData.userCount; + for(int i = 0; i< userCount; i++){ + transcodingUsers.Add(FTranscodingUser((AgoraData.transcodingUsers[i]))); + } + + transcodingExtraInfo = UTF8_TO_TCHAR(AgoraData.transcodingExtraInfo); + metadata = UTF8_TO_TCHAR(AgoraData.metadata); + for(unsigned int i =0; i< AgoraData.watermarkCount;i++) + { + watermark.Add(FRtcImage(AgoraData.watermark[i])); + } + watermarkCount = AgoraData.watermarkCount; + for(unsigned int i =0; i< AgoraData.backgroundImageCount;i++){ + backgroundImage.Add(FRtcImage(AgoraData.watermark[i])); + } + backgroundImageCount = AgoraData.backgroundImageCount; + audioSampleRate = static_cast<EAUDIO_SAMPLE_RATE_TYPE>(AgoraData.audioSampleRate); + audioBitrate = AgoraData.audioBitrate; + audioChannels = AgoraData.audioChannels; + audioCodecProfile = static_cast<EAUDIO_CODEC_PROFILE_TYPE>(AgoraData.audioCodecProfile); + for(unsigned int i = 0; i< AgoraData.advancedFeatureCount; i++){ + advancedFeatures.Add(FLiveStreamAdvancedFeature(AgoraData.advancedFeatures[i])); + } + advancedFeatureCount = AgoraData.advancedFeatureCount; + } + agora::rtc::LiveTranscoding CreateAgoraData() const { + agora::rtc::LiveTranscoding AgoraData; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.videoBitrate = videoBitrate; + AgoraData.videoFramerate = videoFramerate; + AgoraData.lowLatency = lowLatency; + AgoraData.videoGop = videoGop; + AgoraData.videoCodecProfile = static_cast<agora::rtc::VIDEO_CODEC_PROFILE_TYPE>(videoCodecProfile); + AgoraData.backgroundColor = static_cast<unsigned int>(backgroundColor); + AgoraData.videoCodecType = static_cast<agora::rtc::VIDEO_CODEC_TYPE_FOR_STREAM>(videoCodecType); + + AgoraData.userCount = userCount; + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMALLOC(AgoraData.transcodingUsers, agora::rtc::TranscodingUser, userCount, this->transcodingUsers) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.transcodingExtraInfo,this->transcodingExtraInfo) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.metadata,this->metadata) + AgoraData.watermarkCount = watermarkCount; + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMALLOC(AgoraData.watermark, agora::rtc::RtcImage, watermarkCount, this->watermark) + + AgoraData.backgroundImageCount = backgroundImageCount; + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMALLOC(AgoraData.backgroundImage, agora::rtc::RtcImage, backgroundImageCount, this->backgroundImage) + AgoraData.audioSampleRate = static_cast<agora::rtc::AUDIO_SAMPLE_RATE_TYPE>(audioSampleRate); + AgoraData.audioBitrate = audioBitrate; + AgoraData.audioChannels = audioChannels; + AgoraData.advancedFeatureCount = advancedFeatureCount; + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMALLOC(AgoraData.advancedFeatures,agora::rtc::LiveStreamAdvancedFeature, advancedFeatureCount,this->advancedFeatures) + return AgoraData; + } + void FreeAgoraData(agora::rtc::LiveTranscoding & AgoraData) const{ + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMFREE(AgoraData.transcodingUsers,userCount, FTranscodingUser) + + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.transcodingExtraInfo) + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMFREE(AgoraData.watermark, watermarkCount, FRtcImage) + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMFREE(AgoraData.backgroundImage, backgroundImageCount, FRtcImage) + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMFREE(AgoraData.advancedFeatures, advancedFeatureCount, FLiveStreamAdvancedFeature) + + } + }; export class LiveTranscoding { diff --git a/dita/RTC-NG/API/class_localaudiostats.dita b/dita/RTC-NG/API/class_localaudiostats.dita index cfef5869eef..30aa2d76759 100644 --- a/dita/RTC-NG/API/class_localaudiostats.dita +++ b/dita/RTC-NG/API/class_localaudiostats.dita @@ -62,18 +62,51 @@ struct FLocalAudioStats { GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") - int numChannels; + int numChannels = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") - int sentSampleRate; + int sentSampleRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") - int sentBitrate; + int sentBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") - int internalCodec; + int internalCodec = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") - int64 txPacketLossRate; + int txPacketLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") + int audioDeviceDelay = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") - int audioDeviceDelay; + int audioPlayoutDelay = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") + int earMonitorDelay = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalAudioStats") + int aecEstimatedDelay = 0; + FLocalAudioStats(){} + FLocalAudioStats(const agora::rtc::LocalAudioStats & AgoraData){ + numChannels = AgoraData.numChannels; + sentSampleRate = AgoraData.sentSampleRate; + sentBitrate = AgoraData.sentBitrate; + internalCodec = AgoraData.internalCodec; + txPacketLossRate = AgoraData.txPacketLossRate; + audioDeviceDelay = AgoraData.audioDeviceDelay; + audioPlayoutDelay = AgoraData.audioPlayoutDelay; + earMonitorDelay = AgoraData.earMonitorDelay; + aecEstimatedDelay = AgoraData.aecEstimatedDelay; + } + agora::rtc::LocalAudioStats CreateAgoraData() const { + agora::rtc::LocalAudioStats AgoraData; + AgoraData.numChannels = numChannels; + AgoraData.sentSampleRate = sentSampleRate; + AgoraData.sentBitrate = sentBitrate; + AgoraData.internalCodec = internalCodec; + AgoraData.txPacketLossRate = txPacketLossRate; + AgoraData.audioDeviceDelay = audioDeviceDelay; + AgoraData.audioPlayoutDelay = audioPlayoutDelay; + AgoraData.earMonitorDelay = earMonitorDelay; + AgoraData.aecEstimatedDelay = aecEstimatedDelay; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LocalAudioStats & AgoraData) const { + } }; export class LocalAudioStats { diff --git a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 2d03ec53f9b..743d83703e6 100644 --- a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -45,15 +45,36 @@ struct FLocalTranscoderConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalTranscoderConfiguration") - int streamCount; + int64 streamCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalTranscoderConfiguration") - TArray<FTranscodingVideoStream> VideoInputStreams; + TArray<FTranscodingVideoStream> videoInputStreams; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalTranscoderConfiguration") - FVideoEncoderConfiguration videoOutputConfiguration; + FVideoEncoderConfiguration videoOutputConfiguration = FVideoEncoderConfiguration(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalTranscoderConfiguration") bool syncWithPrimaryCamera = true; + FLocalTranscoderConfiguration(){} + FLocalTranscoderConfiguration(const agora::rtc::LocalTranscoderConfiguration & AgoraData){ + streamCount = AgoraData.streamCount; + for(int i = 0; i< streamCount; i++){ + videoInputStreams.Add(FTranscodingVideoStream(AgoraData.videoInputStreams[i])); + } + videoOutputConfiguration = FVideoEncoderConfiguration(AgoraData.videoOutputConfiguration); + syncWithPrimaryCamera = AgoraData.syncWithPrimaryCamera; + } + agora::rtc::LocalTranscoderConfiguration CreateAgoraData() const { + agora::rtc::LocalTranscoderConfiguration AgoraData; + AgoraData.streamCount = streamCount; + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMALLOC(AgoraData.videoInputStreams, agora::rtc::TranscodingVideoStream, streamCount, this->videoInputStreams) + AgoraData.videoOutputConfiguration = videoOutputConfiguration.CreateAgoraData(); + AgoraData.syncWithPrimaryCamera = syncWithPrimaryCamera; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LocalTranscoderConfiguration & AgoraData) const { + SET_UABT_TARRARY_CUSTOMDATA_TO_AGORA_ARRAY___MEMFREE(AgoraData.videoInputStreams, streamCount, FTranscodingVideoStream) + videoOutputConfiguration.FreeAgoraData(AgoraData.videoOutputConfiguration); + } }; export class LocalTranscoderConfiguration { diff --git a/dita/RTC-NG/API/class_localvideostats.dita b/dita/RTC-NG/API/class_localvideostats.dita index eaf9a1bbf66..cf2d330c67f 100644 --- a/dita/RTC-NG/API/class_localvideostats.dita +++ b/dita/RTC-NG/API/class_localvideostats.dita @@ -133,51 +133,109 @@ struct FLocalVideoStats { GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int64 uid; + int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int sentBitrate; + int sentBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int sentFrameRate; + int sentFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int captureFrameRate; + int captureFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int captureFrameWidth; + int captureFrameWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int captureFrameHeight; + int captureFrameHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int regulatedCaptureFrameRate; + int regulatedCaptureFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int regulatedCaptureFrameWidth; + int regulatedCaptureFrameWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int regulatedCaptureFrameHeight; + int regulatedCaptureFrameHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int encoderOutputFrameRate; + int encoderOutputFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int encodedFrameWidth; + int encodedFrameWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int encodedFrameHeight; + int encodedFrameHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int rendererOutputFrameRate; + int rendererOutputFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int targetBitrate; + int targetBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int targetFrameRate; + int targetFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - EQUALITY_ADAPT_INDICATION qualityAdaptIndication; - int encodedBitrate; + EQUALITY_ADAPT_INDICATION qualityAdaptIndication = EQUALITY_ADAPT_INDICATION::ADAPT_NONE; + int encodedBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int encodedFrameCount; + int encodedFrameCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - EVIDEO_CODEC_TYPE codecType; + EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_GENERIC_H264; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int64 txPacketLossRate; + int txPacketLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel; + FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel = EENUMCUSTOM_CAPTURE_BRIGHTNESS_LEVEL_TYPE::CAPTURE_BRIGHTNESS_LEVEL_INVALID; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - bool dualStreamEnabled; + bool dualStreamEnabled = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LocalVideoStats") - int hwEncoderAccelerating; + int hwEncoderAccelerating = 0; + + FLocalVideoStats(){} + FLocalVideoStats(const agora::rtc::LocalVideoStats & AgoraData){ + uid = AgoraData.uid; + sentBitrate = AgoraData.sentBitrate; + sentFrameRate = AgoraData.sentFrameRate; + captureFrameRate = AgoraData.captureFrameRate; + captureFrameWidth = AgoraData.captureFrameWidth; + captureFrameHeight = AgoraData.captureFrameHeight; + regulatedCaptureFrameRate = AgoraData.regulatedCaptureFrameRate; + regulatedCaptureFrameWidth = AgoraData.regulatedCaptureFrameWidth; + regulatedCaptureFrameHeight = AgoraData.regulatedCaptureFrameHeight; + encoderOutputFrameRate = AgoraData.encoderOutputFrameRate; + encodedFrameWidth = AgoraData.encodedFrameWidth; + encodedFrameHeight = AgoraData.encodedFrameHeight; + rendererOutputFrameRate = AgoraData.rendererOutputFrameRate; + targetBitrate = AgoraData.targetBitrate; + targetFrameRate = AgoraData.targetFrameRate; + qualityAdaptIndication = static_cast<EQUALITY_ADAPT_INDICATION>(AgoraData.qualityAdaptIndication); + encodedBitrate = AgoraData.encodedBitrate; + encodedFrameCount = AgoraData.encodedFrameCount; + codecType = static_cast<EVIDEO_CODEC_TYPE>(AgoraData.codecType); + txPacketLossRate = AgoraData.txPacketLossRate; + captureBrightnessLevel = FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE(AgoraData.captureBrightnessLevel); + dualStreamEnabled = AgoraData.dualStreamEnabled; + hwEncoderAccelerating = AgoraData.hwEncoderAccelerating; + } + agora::rtc::LocalVideoStats CreateAgoraData() const { + agora::rtc::LocalVideoStats AgoraData; + AgoraData.uid = uid; + AgoraData.sentBitrate = sentBitrate; + AgoraData.sentFrameRate = sentFrameRate; + AgoraData.captureFrameRate = captureFrameRate; + AgoraData.captureFrameWidth = captureFrameWidth; + AgoraData.captureFrameHeight = captureFrameHeight; + AgoraData.regulatedCaptureFrameRate = regulatedCaptureFrameRate; + AgoraData.regulatedCaptureFrameWidth = regulatedCaptureFrameWidth; + AgoraData.regulatedCaptureFrameHeight = regulatedCaptureFrameHeight; + AgoraData.encoderOutputFrameRate = encoderOutputFrameRate; + AgoraData.encodedFrameWidth = encodedFrameWidth; + AgoraData.encodedFrameHeight = encodedFrameHeight; + AgoraData.rendererOutputFrameRate = rendererOutputFrameRate; + AgoraData.targetBitrate = targetBitrate; + AgoraData.targetFrameRate = targetFrameRate; + AgoraData.qualityAdaptIndication = static_cast<agora::rtc::QUALITY_ADAPT_INDICATION>(qualityAdaptIndication); + AgoraData.encodedBitrate = encodedBitrate; + AgoraData.encodedFrameCount = encodedFrameCount; + AgoraData.codecType = static_cast<agora::rtc::VIDEO_CODEC_TYPE>(codecType); + AgoraData.txPacketLossRate = txPacketLossRate; + AgoraData.captureBrightnessLevel = captureBrightnessLevel.GetRawValue(); + AgoraData.dualStreamEnabled = dualStreamEnabled; + AgoraData.hwEncoderAccelerating = hwEncoderAccelerating; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LocalVideoStats & AgoraData) const + { + } }; export class LocalVideoStats { diff --git a/dita/RTC-NG/API/class_loguploadserverinfo.dita b/dita/RTC-NG/API/class_loguploadserverinfo.dita index d978af3cbda..a00ebce9b2d 100644 --- a/dita/RTC-NG/API/class_loguploadserverinfo.dita +++ b/dita/RTC-NG/API/class_loguploadserverinfo.dita @@ -53,16 +53,36 @@ serverPath(path), serverPort(port), serverHttps(https) {} }; USTRUCT(BlueprintType) struct FLogUploadServerInfo { - GENERATED_BODY() - - FString serverDomain; - - FString serverPath; - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogUploadServerInfo") + FString serverDomain = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogUploadServerInfo") + FString serverPath = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogUploadServerInfo") int serverPort = 0; - + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogUploadServerInfo") bool serverHttps = true; + FLogUploadServerInfo() {} + FLogUploadServerInfo(const agora::rtc::LogUploadServerInfo& AgoraData) { + serverDomain = UTF8_TO_TCHAR(AgoraData.serverDomain); + serverPath = UTF8_TO_TCHAR(AgoraData.serverPath); + serverPort = AgoraData.serverPort; + serverHttps = AgoraData.serverHttps; + } + agora::rtc::LogUploadServerInfo CreateAgoraData() const { + agora::rtc::LogUploadServerInfo AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.serverDomain, serverDomain) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.serverPath, serverPath) + + AgoraData.serverPort = serverPort; + AgoraData.serverHttps = serverHttps; + return AgoraData; + } + void FreeAgoraData(agora::rtc::LogUploadServerInfo& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.serverDomain) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.serverPath) + } }; export class LogUploadServerInfo { serverDomain?: string; diff --git a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 811d329c93e..90074b48bd5 100644 --- a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -52,10 +52,24 @@ struct FLowlightEnhanceOptions { GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LowlightEnhanceOptions") ELOW_LIGHT_ENHANCE_MODE mode = ELOW_LIGHT_ENHANCE_MODE::LOW_LIGHT_ENHANCE_AUTO; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LowlightEnhanceOptions") ELOW_LIGHT_ENHANCE_LEVEL level = ELOW_LIGHT_ENHANCE_LEVEL::LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY; + FLowlightEnhanceOptions(){} + FLowlightEnhanceOptions(const agora::rtc::LowlightEnhanceOptions & AgoraData){ + mode = static_cast<ELOW_LIGHT_ENHANCE_MODE>(AgoraData.mode); + level = static_cast<ELOW_LIGHT_ENHANCE_LEVEL>(AgoraData.level); + } + agora::rtc::LowlightEnhanceOptions CreateAgoraData() const { + agora::rtc::LowlightEnhanceOptions AgoraData; + AgoraData.mode = static_cast<agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_MODE>(mode); + AgoraData.level = static_cast<agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_LEVEL>(level); + return AgoraData; + } + void FreeAgoraData(agora::rtc::LowlightEnhanceOptions& AgoraData) const { + } }; public class LowlightEnhanceOptions { diff --git a/dita/RTC-NG/API/class_playerplaybackstats.dita b/dita/RTC-NG/API/class_playerplaybackstats.dita index af543bb90a5..006583517e9 100644 --- a/dita/RTC-NG/API/class_playerplaybackstats.dita +++ b/dita/RTC-NG/API/class_playerplaybackstats.dita @@ -25,7 +25,38 @@ int audioBitrateInKbps; int totalBitrateInKbps; }; - + USTRUCT(BlueprintType) +struct FPlayerPlaybackStats { + + GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") + int videoFps = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") + int videoBitrateInKbps =0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") + int audioBitrateInKbps =0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") + int totalBitrateInKbps =0; + FPlayerPlaybackStats(){} + FPlayerPlaybackStats(const agora::media::base::PlayerPlaybackStats& AgoraData) { + videoFps = AgoraData.videoFps; + videoBitrateInKbps = AgoraData.videoBitrateInKbps; + audioBitrateInKbps = AgoraData.audioBitrateInKbps; + totalBitrateInKbps = AgoraData.totalBitrateInKbps; + } + agora::media::base::PlayerPlaybackStats CreateAgoraData() const { + agora::media::base::PlayerPlaybackStats AgoraData; + AgoraData.videoFps = videoFps; + AgoraData.videoBitrateInKbps = videoBitrateInKbps; + AgoraData.audioBitrateInKbps = audioBitrateInKbps; + AgoraData.totalBitrateInKbps = totalBitrateInKbps; + return AgoraData; + } + void FreeAgoraData(agora::media::base::PlayerPlaybackStats & AgoraData) const { + + } +}; export class PlayerPlaybackStats { videoFps?: number; videoBitrateInKbps?: number; diff --git a/dita/RTC-NG/API/class_playerstreaminfo.dita b/dita/RTC-NG/API/class_playerstreaminfo.dita index 072bdf9e0d6..1f29b4789c2 100644 --- a/dita/RTC-NG/API/class_playerstreaminfo.dita +++ b/dita/RTC-NG/API/class_playerstreaminfo.dita @@ -71,33 +71,69 @@ struct FPlayerStreamInfo { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int streamIndex; + int streamIndex = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - EMEDIA_STREAM_TYPE streamType; + EMEDIA_STREAM_TYPE streamType = EMEDIA_STREAM_TYPE::STREAM_TYPE_UNKNOWN; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - FString codecName; + FString codecName = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - FString language; + FString language = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int videoFrameRate; + int videoFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int videoBitRate; + int videoBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int videoWidth; + int videoWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int videoHeight; + int videoHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int videoRotation; + int videoRotation = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int audioSampleRate; + int audioSampleRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int audioChannels; + int audioChannels = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int audioBitsPerSample; + int audioBitsPerSample = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerStreamInfo") - int duration; + int duration = 0; + FPlayerStreamInfo(){} + FPlayerStreamInfo(const agora::media::base::PlayerStreamInfo & AgoraData){ + streamIndex = AgoraData.streamIndex; + streamType = (EMEDIA_STREAM_TYPE)AgoraData.streamType; + codecName = UTF8_TO_TCHAR(AgoraData.codecName); + language = UTF8_TO_TCHAR(AgoraData.language); + videoFrameRate = AgoraData.videoFrameRate; + videoBitRate = AgoraData.videoBitRate; + videoWidth = AgoraData.videoWidth; + videoHeight = AgoraData.videoHeight; + videoRotation = AgoraData.videoRotation; + audioSampleRate = AgoraData.audioSampleRate; + audioChannels = AgoraData.audioChannels; + audioBitsPerSample = AgoraData.audioBitsPerSample; + duration = AgoraData.duration; + } + agora::media::base::PlayerStreamInfo CreateAgoraData() const { + agora::media::base::PlayerStreamInfo AgoraData; + AgoraData.streamIndex = streamIndex; + AgoraData.streamType = (agora::media::base::MEDIA_STREAM_TYPE)streamType; + SET_UABT_FSTRING_TO_CHAR_ARRAY(AgoraData.codecName, codecName,agora::media::base::kMaxCharBufferLength) + SET_UABT_FSTRING_TO_CHAR_ARRAY(AgoraData.language, language, agora::media::base::kMaxCharBufferLength) + AgoraData.videoFrameRate = videoFrameRate; + AgoraData.videoBitRate = videoBitRate; + AgoraData.videoWidth = videoWidth; + AgoraData.videoHeight = videoHeight; + AgoraData.videoRotation = videoRotation; + AgoraData.audioSampleRate = audioSampleRate; + AgoraData.audioChannels = audioChannels; + AgoraData.audioBitsPerSample = audioBitsPerSample; + AgoraData.duration = duration; + return AgoraData; + } + void FreeAgoraData(agora::media::base::PlayerStreamInfo & AgoraData) const { + + } }; export class PlayerStreamInfo { diff --git a/dita/RTC-NG/API/class_playerupdatedinfo.dita b/dita/RTC-NG/API/class_playerupdatedinfo.dita index 608c9697e47..b7d42ff35e2 100644 --- a/dita/RTC-NG/API/class_playerupdatedinfo.dita +++ b/dita/RTC-NG/API/class_playerupdatedinfo.dita @@ -34,18 +34,49 @@ USTRUCT(BlueprintType) struct FPlayerUpdatedInfo { GENERATED_BODY() +public: + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") + FString internalPlayerUuid = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") - bool playerId_SetValue; + FString deviceId = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") - FString playerId; + int videoHeight = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") - bool deviceId_SetValue; + int videoWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") - FString deviceId; + int audioSampleRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") - bool cacheStatistics_SetValue; + int audioChannels = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|PlayerUpdatedInfo") - FCacheStatistics cacheStatistics; + int audioBitsPerSample = 0; + + FPlayerUpdatedInfo(){} + FPlayerUpdatedInfo(const agora::media::base::PlayerUpdatedInfo& playerUpdatedInfo) { + + internalPlayerUuid = UTF8_TO_TCHAR(playerUpdatedInfo.internalPlayerUuid); + deviceId = UTF8_TO_TCHAR(playerUpdatedInfo.deviceId); + videoHeight = playerUpdatedInfo.videoHeight; + videoWidth = playerUpdatedInfo.videoWidth; + audioSampleRate = playerUpdatedInfo.audioSampleRate; + audioChannels = playerUpdatedInfo.audioChannels; + audioBitsPerSample = playerUpdatedInfo.audioBitsPerSample; + } + agora::media::base::PlayerUpdatedInfo CreateAgoraData() const { + agora::media::base::PlayerUpdatedInfo AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.internalPlayerUuid,this->internalPlayerUuid) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.deviceId,this->deviceId) + AgoraData.videoHeight = videoHeight; + AgoraData.videoWidth = videoWidth; + AgoraData.audioSampleRate = audioSampleRate; + AgoraData.audioChannels = audioChannels; + AgoraData.audioBitsPerSample = audioBitsPerSample; + return AgoraData; + } + void FreeAgoraData(agora::media::base::PlayerUpdatedInfo & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.internalPlayerUuid) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.deviceId) + } }; export class PlayerUpdatedInfo { diff --git a/dita/RTC-NG/API/class_rectangle.dita b/dita/RTC-NG/API/class_rectangle.dita index a0f73e03f48..33a07b19fea 100644 --- a/dita/RTC-NG/API/class_rectangle.dita +++ b/dita/RTC-NG/API/class_rectangle.dita @@ -40,15 +40,32 @@ struct FRectangle { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle") - int x; + int x = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle") - int y; + int y = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle") - int width; + int width = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle") - int height; + int height = 0; + FRectangle(){} + FRectangle(const agora::rtc::Rectangle & AgoraData){ + x = AgoraData.x; + y = AgoraData.y; + width = AgoraData.width; + height = AgoraData.height; + } + agora::rtc::Rectangle CreateAgoraData() const { + agora::rtc::Rectangle AgoraData; + AgoraData.x = x; + AgoraData.y = y; + AgoraData.width = width; + AgoraData.height = height; + return AgoraData; + } + void FreeAgoraData(agora::rtc::Rectangle& AgoraData) const { + } }; export class Rectangle { diff --git a/dita/RTC-NG/API/class_remoteaudiostats.dita b/dita/RTC-NG/API/class_remoteaudiostats.dita index 3bd0b8e83dc..20f04519889 100644 --- a/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -121,37 +121,92 @@ struct FRemoteAudioStats { GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") + int64 uid = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") + int quality = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") + int networkTransportDelay = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") + int jitterBufferDelay = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int64 uid; + int audioLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int quality; + int numChannels = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int networkTransportDelay; + int receivedSampleRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int jitterBufferDelay; + int receivedBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int audioLossRate; + int totalFrozenTime = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int numChannels; + int frozenRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int receivedSampleRate; + int mosValue = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int receivedBitrate; + int64 frozenRateByCustomPlcCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int totalFrozenTime; + int64 plcCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int frozenRate; + int totalActiveTime = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int mosValue; + int publishDuration = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int totalActiveTime; + int qoeQuality = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int publishDuration; + int qualityChangedReason = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int qoeQuality; + int64 rxAudioBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteAudioStats") - int qualityChangedReason; + int e2eDelay = 0; + FRemoteAudioStats(){} + FRemoteAudioStats(const agora::rtc::RemoteAudioStats & AgoraData){ + uid = AgoraData.uid; + quality = AgoraData.quality; + networkTransportDelay = AgoraData.networkTransportDelay; + jitterBufferDelay = AgoraData.jitterBufferDelay; + audioLossRate = AgoraData.audioLossRate; + numChannels = AgoraData.numChannels; + receivedSampleRate = AgoraData.receivedSampleRate; + receivedBitrate = AgoraData.receivedBitrate; + totalFrozenTime = AgoraData.totalFrozenTime; + frozenRate = AgoraData.frozenRate; + mosValue = AgoraData.mosValue; + frozenRateByCustomPlcCount = AgoraData.frozenRateByCustomPlcCount; + plcCount = AgoraData.plcCount; + totalActiveTime = AgoraData.totalActiveTime; + publishDuration = AgoraData.publishDuration; + qoeQuality = AgoraData.qoeQuality; + qualityChangedReason = AgoraData.qualityChangedReason; + rxAudioBytes = AgoraData.rxAudioBytes; + e2eDelay = AgoraData.e2eDelay; + } + agora::rtc::RemoteAudioStats CreateAgoraData() const { + agora::rtc::RemoteAudioStats AgoraData; + AgoraData.uid = uid; + AgoraData.quality = quality; + AgoraData.networkTransportDelay = networkTransportDelay; + AgoraData.jitterBufferDelay = jitterBufferDelay; + AgoraData.audioLossRate = audioLossRate; + AgoraData.numChannels = numChannels; + AgoraData.receivedSampleRate = receivedSampleRate; + AgoraData.receivedBitrate = receivedBitrate; + AgoraData.totalFrozenTime = totalFrozenTime; + AgoraData.frozenRate = frozenRate; + AgoraData.mosValue = mosValue; + AgoraData.frozenRateByCustomPlcCount = frozenRateByCustomPlcCount; + AgoraData.plcCount = plcCount; + AgoraData.totalActiveTime = totalActiveTime; + AgoraData.publishDuration = publishDuration; + AgoraData.qoeQuality = qoeQuality; + AgoraData.qualityChangedReason = qualityChangedReason; + AgoraData.rxAudioBytes = rxAudioBytes; + AgoraData.e2eDelay = e2eDelay; + return AgoraData; + } + void FreeAgoraData(agora::rtc::RemoteAudioStats & AgoraData) const { + } }; export class RemoteAudioStats { diff --git a/dita/RTC-NG/API/class_remotevideostats.dita b/dita/RTC-NG/API/class_remotevideostats.dita index 4317f1f454b..74b7b9970ac 100644 --- a/dita/RTC-NG/API/class_remotevideostats.dita +++ b/dita/RTC-NG/API/class_remotevideostats.dita @@ -101,45 +101,90 @@ }; USTRUCT(BlueprintType) struct FRemoteVideoStats { - GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int64 uid; + int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int delay; + int delay = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int e2eDelay; + int e2eDelay = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int width; + int width = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int height; + int height = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int receivedBitrate; + int receivedBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int decoderOutputFrameRate; + int decoderOutputFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int rendererOutputFrameRate; + int rendererOutputFrameRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int frameLossRate; + int frameLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int packetLossRate; + int packetLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - EVIDEO_STREAM_TYPE rxStreamType; + EVIDEO_STREAM_TYPE rxStreamType = EVIDEO_STREAM_TYPE::VIDEO_STREAM_HIGH; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int totalFrozenTime; + int totalFrozenTime = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int frozenRate; + int frozenRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int avSyncTimeMs; + int avSyncTimeMs = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int totalActiveTime; + int totalActiveTime = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int publishDuration; + int publishDuration = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int mosValue; - + int mosValue = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RemoteVideoStats") - int64 rxVideoBytes; + int64 rxVideoBytes = 0; + + FRemoteVideoStats(){} + FRemoteVideoStats(const agora::rtc::RemoteVideoStats & AgoraData){ + uid = AgoraData.uid; + delay = AgoraData.delay; + e2eDelay = AgoraData.e2eDelay; + width = AgoraData.width; + height = AgoraData.height; + receivedBitrate = AgoraData.receivedBitrate; + decoderOutputFrameRate = AgoraData.decoderOutputFrameRate; + rendererOutputFrameRate = AgoraData.rendererOutputFrameRate; + frameLossRate = AgoraData.frameLossRate; + packetLossRate = AgoraData.packetLossRate; + rxStreamType = static_cast<EVIDEO_STREAM_TYPE>(AgoraData.rxStreamType); + totalFrozenTime = AgoraData.totalFrozenTime; + frozenRate = AgoraData.frozenRate; + avSyncTimeMs = AgoraData.avSyncTimeMs; + totalActiveTime = AgoraData.totalActiveTime; + publishDuration = AgoraData.publishDuration; + mosValue = AgoraData.mosValue; + rxVideoBytes = AgoraData.rxVideoBytes; + } + agora::rtc::RemoteVideoStats CreateAgoraData() const { + agora::rtc::RemoteVideoStats AgoraData; + AgoraData.uid = uid; + AgoraData.delay = delay; + AgoraData.e2eDelay = e2eDelay; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.receivedBitrate = receivedBitrate; + AgoraData.decoderOutputFrameRate = decoderOutputFrameRate; + AgoraData.rendererOutputFrameRate = rendererOutputFrameRate; + AgoraData.frameLossRate = frameLossRate; + AgoraData.packetLossRate = packetLossRate; + AgoraData.rxStreamType = static_cast<agora::rtc::VIDEO_STREAM_TYPE>(rxStreamType); + AgoraData.totalFrozenTime = totalFrozenTime; + AgoraData.frozenRate = frozenRate; + AgoraData.avSyncTimeMs = avSyncTimeMs; + AgoraData.totalActiveTime = totalActiveTime; + AgoraData.publishDuration = publishDuration; + AgoraData.mosValue = mosValue; + AgoraData.rxVideoBytes = rxVideoBytes; + return AgoraData; + } + void FreeAgoraData(agora::rtc::RemoteVideoStats & AgoraData) const { + } }; export class RemoteVideoStats { diff --git a/dita/RTC-NG/API/class_rtcconnection.dita b/dita/RTC-NG/API/class_rtcconnection.dita index 2d477084a53..c247a9e7bbd 100644 --- a/dita/RTC-NG/API/class_rtcconnection.dita +++ b/dita/RTC-NG/API/class_rtcconnection.dita @@ -65,11 +65,26 @@ struct FRtcConnection { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcConnection") - FString channelId; + FString channelId = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcConnection") - int64 localUid; + int64 localUid = 0; + FRtcConnection(){} + FRtcConnection(const agora::rtc::RtcConnection & AgoraData){ + channelId = UTF8_TO_TCHAR(AgoraData.channelId); + localUid = AgoraData.localUid; + } + agora::rtc::RtcConnection CreateAgoraData() const { + agora::rtc::RtcConnection AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelId, this->channelId) + AgoraData.localUid = localUid; + return AgoraData; + } + void FreeAgoraData(agora::rtc::RtcConnection & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelId) + } + }; export class RtcConnection { diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index 8050d83704f..0194ce998d6 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -65,29 +65,30 @@ struct FRtcEngineContext { GENERATED_BODY() - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - FString appId; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - UIRtcEngineEventHandler* eventHandler; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - int64 context; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - FString license; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - ECHANNEL_PROFILE_TYPE channelProfile = ECHANNEL_PROFILE_TYPE::CHANNEL_PROFILE_LIVE_BROADCASTING; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - EAUDIO_SCENARIO_TYPE audioScenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - bool threadPriority_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - ETHREAD_PRIORITY_TYPE threadPriority; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - FLogConfig logConfig; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - FENUMWRAP_AREA_CODE areaCode = EENUMCUSTOM_AREA_CODE::AREA_CODE_GLOB; + FString appId = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - bool useExternalEglContext; + EAgoraBPuEventHandlerType EventHandlerCreationType = EAgoraBPuEventHandlerType::EventHandler; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + FString license = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + bool useExternalEglContext = false; + + agora::rtc::RtcEngineContext CreateAgoraData() const { + agora::rtc::RtcEngineContext AgoraData; + char* AppIdCharPtr = new char[appId.Len() + 1]; + FMemory::Memcpy(AppIdCharPtr, TCHAR_TO_UTF8(*appId), appId.Len()); + AppIdCharPtr[appId.Len()] = '\0'; + AgoraData.appId = AppIdCharPtr; + return AgoraData; + } + + void FreeAgoraData(agora::rtc::RtcEngineContext& AgoraData) const { + if (AgoraData.appId) { + delete[] AgoraData.appId; + AgoraData.appId = nullptr; + } + } }; export class RtcEngineContext { diff --git a/dita/RTC-NG/API/class_rtcimage.dita b/dita/RTC-NG/API/class_rtcimage.dita index da12e17c873..f59403ca47a 100644 --- a/dita/RTC-NG/API/class_rtcimage.dita +++ b/dita/RTC-NG/API/class_rtcimage.dita @@ -80,21 +80,51 @@ struct FRtcImage { GENERATED_BODY() - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - FString url; + FString url = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - int x; + int x = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - int y; + int y = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - int width; + int width = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - int height; + int height = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - int zOrder; + int zOrder = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcImage") - float alpha; + float alpha = 0; + FRtcImage() {} + FRtcImage(const agora::rtc::RtcImage& AgoraData) { + url = UTF8_TO_TCHAR(AgoraData.url); + x = AgoraData.x; + y = AgoraData.y; + width = AgoraData.width; + height = AgoraData.height; + zOrder = AgoraData.zOrder; + alpha = AgoraData.alpha; + } + agora::rtc::RtcImage CreateAgoraData() const { + agora::rtc::RtcImage AgoraData; + + char* URLCharPtr = new char[url.Len() + 1]; + FMemory::Memcpy(URLCharPtr, TCHAR_TO_UTF8(*url), url.Len()); + URLCharPtr[url.Len()] = '\0'; + AgoraData.url = URLCharPtr; + AgoraData.x = x; + AgoraData.y = y; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.zOrder = zOrder; + AgoraData.alpha = alpha; + return AgoraData; + } + void FreeAgoraData(agora::rtc::RtcImage& AgoraData) const { + if (AgoraData.url) { + delete[] AgoraData.url; + AgoraData.url = nullptr; + } + } }; public class RtcImage { diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index 934b9ae78f5..80d0f3b4431 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -167,71 +167,151 @@ struct FRtcStats GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 duration; + int64 duration = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 txBytes; + int64 txBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 rxBytes; + int64 rxBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 txAudioBytes; + int64 txAudioBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 txVideoBytes; + int64 txVideoBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 rxAudioBytes; + int64 rxAudioBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 rxVideoBytes; + int64 rxVideoBytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 txKBitRate; + int32 txKBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 rxKBitRate; + int32 rxKBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 rxAudioKBitRate; + int32 rxAudioKBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 txAudioKBitRate; + int32 txAudioKBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 rxVideoKBitRate; + int32 rxVideoKBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 txVideoKBitRate; + int32 txVideoKBitRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 lastmileDelay; + int32 lastmileDelay = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int64 userCount; + int64 userCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - float cpuAppUsage; + FString cpuAppUsage = "0"; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - float cpuTotalUsage; + FString cpuTotalUsage = "0"; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 connectTimeMs; + int32 gatewayRtt = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstAudioPacketDuration; + FString memoryAppUsageRatio = "0"; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstVideoPacketDuration; + FString memoryTotalUsageRatio = "0"; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstVideoKeyFramePacketDuration; + int32 memoryAppUsageInKbytes = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 packetsBeforeFirstKeyFramePacket; + int32 connectTimeMs = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstAudioPacketDurationAfterUnmute; + int32 firstAudioPacketDuration = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstVideoPacketDurationAfterUnmute; + int32 firstVideoPacketDuration = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstVideoKeyFramePacketDurationAfterUnmute; + int32 firstVideoKeyFramePacketDuration = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstVideoKeyFrameDecodedDurationAfterUnmute; + int32 packetsBeforeFirstKeyFramePacket = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 firstVideoKeyFrameRenderedDurationAfterUnmute; + int32 firstAudioPacketDurationAfterUnmute = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 txPacketLossRate; + int32 firstVideoPacketDurationAfterUnmute = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int32 rxPacketLossRate; + int32 firstVideoKeyFramePacketDurationAfterUnmute = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int gatewayRtt; + int32 firstVideoKeyFrameDecodedDurationAfterUnmute = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - float memoryAppUsageRatio; + int32 firstVideoKeyFrameRenderedDurationAfterUnmute = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - float memoryTotalUsageRatio; + int32 txPacketLossRate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcStats") - int memoryAppUsageInKbytes; + int32 rxPacketLossRate = 0; + + FRtcStats(){} + FRtcStats(const agora::rtc::RtcStats & AgoraData){ + duration = AgoraData.duration; + txBytes = AgoraData.txBytes; + rxBytes = AgoraData.rxBytes; + txAudioBytes = AgoraData.txAudioBytes; + txVideoBytes = AgoraData.txVideoBytes; + rxAudioBytes = AgoraData.rxAudioBytes; + rxVideoBytes = AgoraData.rxVideoBytes; + txKBitRate = AgoraData.txKBitRate; + rxKBitRate = AgoraData.rxKBitRate; + rxAudioKBitRate = AgoraData.rxAudioKBitRate; + txAudioKBitRate = AgoraData.txAudioKBitRate; + rxVideoKBitRate = AgoraData.rxVideoKBitRate; + txVideoKBitRate = AgoraData.txVideoKBitRate; + lastmileDelay = AgoraData.lastmileDelay; + userCount = AgoraData.userCount; + SET_UABT_DOUBLE_TO_FSTRING(this->cpuAppUsage, AgoraData.cpuAppUsage); + SET_UABT_DOUBLE_TO_FSTRING(this->cpuTotalUsage, AgoraData.cpuTotalUsage); + gatewayRtt = AgoraData.gatewayRtt; + + SET_UABT_DOUBLE_TO_FSTRING(this->memoryAppUsageRatio, AgoraData.memoryAppUsageRatio); + SET_UABT_DOUBLE_TO_FSTRING(this->memoryTotalUsageRatio, AgoraData.memoryTotalUsageRatio); + + memoryAppUsageInKbytes = AgoraData.memoryAppUsageInKbytes; + connectTimeMs = AgoraData.connectTimeMs; + firstAudioPacketDuration = AgoraData.firstAudioPacketDuration; + firstVideoPacketDuration = AgoraData.firstVideoPacketDuration; + firstVideoKeyFramePacketDuration = AgoraData.firstVideoKeyFramePacketDuration; + packetsBeforeFirstKeyFramePacket = AgoraData.packetsBeforeFirstKeyFramePacket; + firstAudioPacketDurationAfterUnmute = AgoraData.firstAudioPacketDurationAfterUnmute; + firstVideoPacketDurationAfterUnmute = AgoraData.firstVideoPacketDurationAfterUnmute; + firstVideoKeyFramePacketDurationAfterUnmute = AgoraData.firstVideoKeyFramePacketDurationAfterUnmute; + firstVideoKeyFrameDecodedDurationAfterUnmute = AgoraData.firstVideoKeyFrameDecodedDurationAfterUnmute; + firstVideoKeyFrameRenderedDurationAfterUnmute = AgoraData.firstVideoKeyFrameRenderedDurationAfterUnmute; + txPacketLossRate = AgoraData.txPacketLossRate; + rxPacketLossRate = AgoraData.rxPacketLossRate; + } + + agora::rtc::RtcStats CreateAgoraData(){ + + agora::rtc::RtcStats AgoraData; + AgoraData.duration = duration; + AgoraData.txBytes = txBytes; + AgoraData.rxBytes = rxBytes; + AgoraData.txAudioBytes = txAudioBytes; + AgoraData.txVideoBytes = txVideoBytes; + AgoraData.rxAudioBytes = rxAudioBytes; + AgoraData.rxVideoBytes = rxVideoBytes; + AgoraData.txKBitRate = txKBitRate; + AgoraData.rxKBitRate = rxKBitRate; + AgoraData.rxAudioKBitRate = rxAudioKBitRate; + AgoraData.txAudioKBitRate = txAudioKBitRate; + AgoraData.rxVideoKBitRate = rxVideoKBitRate; + AgoraData.txVideoKBitRate = txVideoKBitRate; + AgoraData.lastmileDelay = lastmileDelay; + AgoraData.userCount = userCount; + SET_UABT_FSTRING_TO_DOUBLE(AgoraData.cpuAppUsage, this->cpuAppUsage); + SET_UABT_FSTRING_TO_DOUBLE(AgoraData.cpuTotalUsage, this->cpuTotalUsage); + AgoraData.gatewayRtt = gatewayRtt; + SET_UABT_FSTRING_TO_DOUBLE(AgoraData.memoryAppUsageRatio, this->memoryAppUsageRatio); + SET_UABT_FSTRING_TO_DOUBLE(AgoraData.memoryTotalUsageRatio, this->memoryTotalUsageRatio); + AgoraData.memoryAppUsageInKbytes = memoryAppUsageInKbytes; + AgoraData.connectTimeMs = connectTimeMs; + AgoraData.firstAudioPacketDuration = firstAudioPacketDuration; + AgoraData.firstVideoPacketDuration = firstVideoPacketDuration; + AgoraData.firstVideoKeyFramePacketDuration = firstVideoKeyFramePacketDuration; + AgoraData.packetsBeforeFirstKeyFramePacket = packetsBeforeFirstKeyFramePacket; + AgoraData.firstAudioPacketDurationAfterUnmute = firstAudioPacketDurationAfterUnmute; + AgoraData.firstVideoPacketDurationAfterUnmute = firstVideoPacketDurationAfterUnmute; + AgoraData.firstVideoKeyFramePacketDurationAfterUnmute = firstVideoKeyFramePacketDurationAfterUnmute; + AgoraData.firstVideoKeyFrameDecodedDurationAfterUnmute = firstVideoKeyFrameDecodedDurationAfterUnmute; + AgoraData.firstVideoKeyFrameRenderedDurationAfterUnmute = firstVideoKeyFrameRenderedDurationAfterUnmute; + AgoraData.txPacketLossRate = txPacketLossRate; + AgoraData.rxPacketLossRate = rxPacketLossRate; + return AgoraData; + } + void FreeAgoraData(agora::rtc::RtcStats & AgoraData) const { + } }; export class RtcStats { diff --git a/dita/RTC-NG/API/class_screenaudioparameters.dita b/dita/RTC-NG/API/class_screenaudioparameters.dita index 7ad55b3eb09..35c81583ca5 100644 --- a/dita/RTC-NG/API/class_screenaudioparameters.dita +++ b/dita/RTC-NG/API/class_screenaudioparameters.dita @@ -42,18 +42,31 @@ USTRUCT(BlueprintType) struct FScreenAudioParameters { - GENERATED_BODY() - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenAudioParameters") +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenAudioParameters") int sampleRate = 16000; - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenAudioParameters") + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenAudioParameters") int channels = 2; - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenAudioParameters") + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenAudioParameters") int captureSignalVolume = 100; - +#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) + FScreenAudioParameters(){} + FScreenAudioParameters(const agora::rtc::ScreenAudioParameters & AgoraData){ + sampleRate = AgoraData.sampleRate; + channels = AgoraData.channels; + captureSignalVolume = AgoraData.captureSignalVolume; + } + agora::rtc::ScreenAudioParameters CreateAgoraData() const { + agora::rtc::ScreenAudioParameters AgoraData; + AgoraData.sampleRate = sampleRate; + AgoraData.channels = channels; + AgoraData.captureSignalVolume = captureSignalVolume; + return AgoraData; + } + void FreeAgoraData(agora::rtc::ScreenAudioParameters& AgoraData) const { + } +#endif }; export class ScreenAudioParameters { diff --git a/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/dita/RTC-NG/API/class_screencaptureconfiguration.dita index b6546470b7d..a00b7899045 100644 --- a/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -38,19 +38,41 @@ __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguratio struct FScreenCaptureConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureConfiguration") - bool isCaptureWindow; + bool isCaptureWindow = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureConfiguration") - int displayId; + int displayId = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureConfiguration") - FRectangle screenRect; + FRectangle screenRect = FRectangle(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureConfiguration") - int64 windowId; + int64 windowId = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureConfiguration") - FScreenCaptureParameters params; + FScreenCaptureParameters params = FScreenCaptureParameters(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureConfiguration") - FRectangle regionRect; + FRectangle regionRect = FRectangle(); + FScreenCaptureConfiguration(){} + FScreenCaptureConfiguration(const agora::rtc::ScreenCaptureConfiguration & AgoraData){ + isCaptureWindow = AgoraData.isCaptureWindow; + displayId = AgoraData.displayId; + screenRect = FRectangle(AgoraData.screenRect); + params = FScreenCaptureParameters(AgoraData.params); + regionRect = FRectangle(AgoraData.regionRect); + } + agora::rtc::ScreenCaptureConfiguration CreateAgoraData() const { + agora::rtc::ScreenCaptureConfiguration AgoraData; + AgoraData.isCaptureWindow = isCaptureWindow; + AgoraData.displayId = displayId; + AgoraData.screenRect = screenRect.CreateAgoraData(); + AgoraData.params = params.CreateAgoraData(); + AgoraData.regionRect = regionRect.CreateAgoraData(); + return AgoraData; + } + void FreeAgoraData(agora::rtc::ScreenCaptureConfiguration & AgoraData) const { + screenRect.FreeAgoraData(AgoraData.screenRect); + params.FreeAgoraData(AgoraData.params); + regionRect.FreeAgoraData(AgoraData.regionRect); + } }; export class ScreenCaptureConfiguration { diff --git a/dita/RTC-NG/API/class_screencaptureparameters.dita b/dita/RTC-NG/API/class_screencaptureparameters.dita index 9f02de51404..d9995e1e23a 100644 --- a/dita/RTC-NG/API/class_screencaptureparameters.dita +++ b/dita/RTC-NG/API/class_screencaptureparameters.dita @@ -50,27 +50,53 @@ struct FScreenCaptureParameters { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") - FVideoDimensions dimensions; + FVideoDimensions dimensions = FVideoDimensions(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") int frameRate = 5; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") - int bitrate; + int bitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") bool captureMouseCursor = true; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") bool windowFocus = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") - int64 excludeWindowList; + int64 excludeWindowList = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") - int excludeWindowCount; + int excludeWindowCount = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") - int highLightWidth; + int highLightWidth = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") - int highLightColor; + int highLightColor = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters") bool enableHighLight = false; + FScreenCaptureParameters(){} + FScreenCaptureParameters(const agora::rtc::ScreenCaptureParameters & AgoraData){ + dimensions = FVideoDimensions(AgoraData.dimensions); + frameRate = AgoraData.frameRate; + bitrate = AgoraData.bitrate; + captureMouseCursor = AgoraData.captureMouseCursor; + windowFocus = AgoraData.windowFocus; + highLightWidth = AgoraData.highLightWidth; + highLightColor = AgoraData.highLightColor; + enableHighLight = AgoraData.enableHighLight; + } + agora::rtc::ScreenCaptureParameters CreateAgoraData() const { + agora::rtc::ScreenCaptureParameters AgoraData; + AgoraData.dimensions = dimensions.CreateAgoraData(); + AgoraData.frameRate = frameRate; + AgoraData.bitrate = bitrate; + AgoraData.captureMouseCursor = captureMouseCursor; + AgoraData.windowFocus = windowFocus; + AgoraData.highLightWidth = highLightWidth; + AgoraData.highLightColor = highLightColor; + AgoraData.enableHighLight = enableHighLight; + return AgoraData; + } + void FreeAgoraData(agora::rtc::ScreenCaptureParameters& AgoraData) const { + dimensions.FreeAgoraData(AgoraData.dimensions); + } }; export class ScreenCaptureParameters { dimensions?: VideoDimensions; diff --git a/dita/RTC-NG/API/class_screencaptureparameters2.dita b/dita/RTC-NG/API/class_screencaptureparameters2.dita index d3afc80f1a2..4eef59c881f 100644 --- a/dita/RTC-NG/API/class_screencaptureparameters2.dita +++ b/dita/RTC-NG/API/class_screencaptureparameters2.dita @@ -111,15 +111,36 @@ struct FScreenCaptureParameters2 { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters2") - bool captureAudio; + bool captureAudio = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters2") - FScreenAudioParameters audioParams; + FScreenAudioParameters audioParams = FScreenAudioParameters(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters2") - bool captureVideo; + bool captureVideo = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenCaptureParameters2") - FScreenVideoParameters videoParams; + FScreenVideoParameters videoParams = FScreenVideoParameters(); +#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) + FScreenCaptureParameters2(){} + FScreenCaptureParameters2(const agora::rtc::ScreenCaptureParameters2 & AgoraData){ + captureAudio = AgoraData.captureAudio; + audioParams = FScreenAudioParameters(AgoraData.audioParams); + captureVideo = AgoraData.captureVideo; + videoParams = FScreenVideoParameters(AgoraData.videoParams); + } + agora::rtc::ScreenCaptureParameters2 CreateAgoraData() const { + agora::rtc::ScreenCaptureParameters2 AgoraData; + AgoraData.captureAudio = captureAudio; + AgoraData.audioParams = audioParams.CreateAgoraData(); + AgoraData.captureVideo = captureVideo; + AgoraData.videoParams = videoParams.CreateAgoraData(); + return AgoraData; + } + void FreeAgoraData(agora::rtc::ScreenCaptureParameters2& AgoraData) const { + audioParams.FreeAgoraData(AgoraData.audioParams); + videoParams.FreeAgoraData(AgoraData.videoParams); + } +#endif }; export class ScreenCaptureParameters2 { captureAudio?: boolean; diff --git a/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/dita/RTC-NG/API/class_screencapturesourceinfo.dita index ec00402dcd0..78f0e8d5471 100644 --- a/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -43,25 +43,77 @@ USTRUCT(BlueprintType) struct FScreenCaptureSourceInfo { GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") + FENUMWRAP_ScreenCaptureSourceType type = FENUMWRAP_ScreenCaptureSourceType(); + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") + int64 sourceId = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - FENUMWRAP_ScreenCaptureSourceType type; + FString sourceName = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - int64 sourceId; + FThumbImageBuffer thumbImage = FThumbImageBuffer(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - FString sourceName; + FThumbImageBuffer iconImage = FThumbImageBuffer(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - FThumbImageBuffer thumbImage; + FString processPath = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - FThumbImageBuffer iconImage; + FString sourceTitle = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - FString processPath; + bool primaryMonitor = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - FString sourceTitle; + bool isOccluded = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - bool primaryMonitor; + FRectangle position = FRectangle(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") - bool isOccluded; + bool minimizeWindow = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FScreenCaptureSourceInfo") + int64 sourceDisplayId = 0; +#if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE) + FScreenCaptureSourceInfo(){} + FScreenCaptureSourceInfo(const agora::rtc::ScreenCaptureSourceInfo & AgoraData){ + type = AgoraData.type; + sourceId = UABT::FromViewToInt(AgoraData.sourceId); + sourceName = UTF8_TO_TCHAR(AgoraData.sourceName); + thumbImage = FThumbImageBuffer(AgoraData.thumbImage); + iconImage = FThumbImageBuffer(AgoraData.iconImage); + processPath = UTF8_TO_TCHAR(AgoraData.processPath); + sourceTitle = UTF8_TO_TCHAR(AgoraData.sourceTitle); + primaryMonitor = AgoraData.primaryMonitor; + isOccluded = AgoraData.isOccluded; + position = FRectangle(AgoraData.position); +#if defined(_WIN32) + minimizeWindow = AgoraData.minimizeWindow; + sourceDisplayId = UABT::FromViewToInt(AgoraData.sourceDisplayId); +#endif + } + agora::rtc::ScreenCaptureSourceInfo CreateAgoraData() const { + agora::rtc::ScreenCaptureSourceInfo AgoraData; + AgoraData.type = static_cast<agora::rtc::ScreenCaptureSourceType>(type.GetRawValue()); + AgoraData.sourceId = UABT::ToView(sourceId); + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.sourceName, sourceName) + AgoraData.thumbImage = thumbImage.CreateAgoraData(); + AgoraData.iconImage = iconImage.CreateAgoraData(); + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.processPath, processPath) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.sourceTitle, sourceTitle) + AgoraData.primaryMonitor = primaryMonitor; + AgoraData.isOccluded = isOccluded; + AgoraData.position = position.CreateAgoraData(); +#if defined(_WIN32) + AgoraData.minimizeWindow = minimizeWindow; + AgoraData.sourceDisplayId = UABT::ToView(sourceDisplayId); +#endif + return AgoraData; + } + void FreeAgoraData(agora::rtc::ScreenCaptureSourceInfo & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.sourceName) + thumbImage.FreeAgoraData(AgoraData.thumbImage); + thumbImage.FreeAgoraData(AgoraData.iconImage); + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.processPath) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.sourceTitle) + position.FreeAgoraData(AgoraData.position); + } +#endif }; export class ScreenCaptureSourceInfo { diff --git a/dita/RTC-NG/API/class_screenvideoparameters.dita b/dita/RTC-NG/API/class_screenvideoparameters.dita index b8b182210ea..0be6a9c1194 100644 --- a/dita/RTC-NG/API/class_screenvideoparameters.dita +++ b/dita/RTC-NG/API/class_screenvideoparameters.dita @@ -66,17 +66,36 @@ USTRUCT(BlueprintType) struct FScreenVideoParameters { - GENERATED_BODY() - - FVideoDimensions dimensions; - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenVideoParameters") + FVideoDimensions dimensions = FVideoDimensions(); + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenVideoParameters") int frameRate = 15; - - int bitrate; - + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenVideoParameters") + int bitrate = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ScreenVideoParameters") EVIDEO_CONTENT_HINT contentHint = EVIDEO_CONTENT_HINT::CONTENT_HINT_MOTION; - +#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) + FScreenVideoParameters(){} + FScreenVideoParameters(const agora::rtc::ScreenVideoParameters & AgoraData){ + dimensions = FVideoDimensions(AgoraData.dimensions); + frameRate = AgoraData.frameRate; + bitrate = AgoraData.bitrate; + contentHint = static_cast<EVIDEO_CONTENT_HINT>(AgoraData.contentHint); + } + agora::rtc::ScreenVideoParameters CreateAgoraData() const { + agora::rtc::ScreenVideoParameters AgoraData; + AgoraData.dimensions = dimensions.CreateAgoraData(); + AgoraData.frameRate = frameRate; + AgoraData.bitrate = bitrate; + AgoraData.contentHint = static_cast<agora::rtc::VIDEO_CONTENT_HINT>(contentHint); + return AgoraData; + } + void FreeAgoraData(agora::rtc::ScreenVideoParameters& AgoraData) const { + dimensions.FreeAgoraData(AgoraData.dimensions); + } +#endif }; export class ScreenVideoParameters { diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index ea04676fece..35bc7c84699 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -45,11 +45,24 @@ struct FSegmentationProperty { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SegmentationProperty") ESEG_MODEL_TYPE modelType = ESEG_MODEL_TYPE::SEG_MODEL_AI; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SegmentationProperty") float greenCapacity = 0.5; + FSegmentationProperty(){} + FSegmentationProperty(const agora::rtc::SegmentationProperty & AgoraData){ + modelType = static_cast<ESEG_MODEL_TYPE>(AgoraData.modelType); + greenCapacity = AgoraData.greenCapacity; + } + agora::rtc::SegmentationProperty CreateAgoraData() const { + agora::rtc::SegmentationProperty AgoraData; + AgoraData.modelType = static_cast<agora::rtc::SegmentationProperty::SEG_MODEL_TYPE>(modelType); + AgoraData.greenCapacity = greenCapacity; + return AgoraData; + } + void FreeAgoraData(agora::rtc::SegmentationProperty& AgoraData) const { + } }; export class SegmentationProperty { diff --git a/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/dita/RTC-NG/API/class_simulcaststreamconfig.dita index 005d8ca7c9f..cda236b0a3a 100644 --- a/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -55,13 +55,29 @@ struct FSimulcastStreamConfig { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SimulcastStreamConfig") - FVideoDimensions dimensions; + FVideoDimensions dimensions = FVideoDimensions(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SimulcastStreamConfig") - int bitrate; + int kBitrate = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SimulcastStreamConfig") - int framerate; + int framerate = 0; + FSimulcastStreamConfig(){} + FSimulcastStreamConfig(const agora::rtc::SimulcastStreamConfig & AgoraData){ + dimensions = FVideoDimensions(AgoraData.dimensions); + kBitrate = AgoraData.kBitrate; + framerate = AgoraData.framerate; + } + agora::rtc::SimulcastStreamConfig CreateAgoraData() const { + agora::rtc::SimulcastStreamConfig AgoraData; + AgoraData.dimensions = dimensions.CreateAgoraData(); + AgoraData.kBitrate = kBitrate; + AgoraData.framerate = framerate; + return AgoraData; + } + void FreeAgoraData(agora::rtc::SimulcastStreamConfig& AgoraData) const { + dimensions.FreeAgoraData(AgoraData.dimensions); + } }; export class SimulcastStreamConfig { dimensions?: VideoDimensions; diff --git a/dita/RTC-NG/API/class_spatialaudioparams.dita b/dita/RTC-NG/API/class_spatialaudioparams.dita index 0ecf84a0de3..1ba37dcd06b 100644 --- a/dita/RTC-NG/API/class_spatialaudioparams.dita +++ b/dita/RTC-NG/API/class_spatialaudioparams.dita @@ -73,39 +73,58 @@ struct FSpatialAudioParams { GENERATED_BODY() - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool speaker_azimuth_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - float speaker_azimuth; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool speaker_elevation_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - float speaker_elevation; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool speaker_distance_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - float speaker_distance; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool speaker_orientation_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - int speaker_orientation; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool enable_blur_SetValue; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool enable_blur; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool enable_air_absorb_SetValue; +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + bool speaker_azimuth_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool enable_air_absorb; + float speaker_azimuth = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + bool speaker_elevation_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool speaker_attenuation_SetValue; + float speaker_elevation = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + bool speaker_distance_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - float speaker_attenuation; + float speaker_distance = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + bool speaker_orientation_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool enable_doppler_SetValue; + int speaker_orientation = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + EAgoraOptional enable_blur = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + EAgoraOptional enable_air_absorb = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + bool speaker_attenuation_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") - bool enable_doppler; + float speaker_attenuation = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SpatialAudioParams") + EAgoraOptional enable_doppler = EAgoraOptional::AGORA_NULL_VALUE; + FSpatialAudioParams(){} + FSpatialAudioParams(const agora::SpatialAudioParams & AgoraData){ + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->speaker_azimuth,AgoraData.speaker_azimuth) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->speaker_elevation,AgoraData.speaker_elevation) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->speaker_distance,AgoraData.speaker_distance) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->speaker_orientation,AgoraData.speaker_orientation) + SET_UEBP_OPTIONAL_VAL_BOOL(this->enable_blur,AgoraData.enable_blur) + SET_UEBP_OPTIONAL_VAL_BOOL(this->enable_air_absorb,AgoraData.enable_air_absorb) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->speaker_attenuation,AgoraData.speaker_attenuation) + SET_UEBP_OPTIONAL_VAL_BOOL(this->enable_doppler,AgoraData.enable_doppler) + } + agora::SpatialAudioParams CreateAgoraData() const { + agora::SpatialAudioParams AgoraData; + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.speaker_azimuth,this->speaker_azimuth) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.speaker_elevation,this->speaker_elevation) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.speaker_distance,this->speaker_distance) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.speaker_orientation,this->speaker_orientation) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enable_blur,this->enable_blur) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enable_air_absorb,this->enable_air_absorb) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.speaker_attenuation,this->speaker_attenuation) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enable_doppler,this->enable_doppler) + return AgoraData; + } + void FreeAgoraData(agora::SpatialAudioParams& AgoraData) const { + } }; export class SpatialAudioParams { diff --git a/dita/RTC-NG/API/class_srcinfo.dita b/dita/RTC-NG/API/class_srcinfo.dita index bf7ed1c1392..5ac92c431c6 100644 --- a/dita/RTC-NG/API/class_srcinfo.dita +++ b/dita/RTC-NG/API/class_srcinfo.dita @@ -24,11 +24,25 @@ USTRUCT(BlueprintType) struct FSrcInfo { GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SrcInfo") - int bitrateInKbps; + int bitrateInKbps = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|SrcInfo") - FString name; - + FString name = ""; + FSrcInfo(){} + FSrcInfo(const agora::media::base::SrcInfo& srcInfo) { + bitrateInKbps = srcInfo.bitrateInKbps; + name = UTF8_TO_TCHAR(srcInfo.name); + } + agora::media::base::SrcInfo CreateAgoraData() const { + agora::media::base::SrcInfo srcInfo; + srcInfo.bitrateInKbps = bitrateInKbps; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(srcInfo.name,name) + return srcInfo; + } + void FreeAgoraData(agora::media::base::SrcInfo& srcInfo) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(srcInfo.name) + } }; export class SrcInfo { diff --git a/dita/RTC-NG/API/class_thumbimagebuffer.dita b/dita/RTC-NG/API/class_thumbimagebuffer.dita index 708cf28f7e4..80d1d8e860d 100644 --- a/dita/RTC-NG/API/class_thumbimagebuffer.dita +++ b/dita/RTC-NG/API/class_thumbimagebuffer.dita @@ -18,16 +18,67 @@ }; USTRUCT(BlueprintType) struct FThumbImageBuffer { - GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ThumbImageBuffer") + UImage* Image = nullptr; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ThumbImageBuffer") - TArray<int64> buffer; + TArray<uint8> buffer; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ThumbImageBuffer") - int64 length; + int64 length = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ThumbImageBuffer") - int64 width; + int64 width = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ThumbImageBuffer") - int64 height; + int64 height = 0; +#if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE) + FThumbImageBuffer(){} + FThumbImageBuffer(const agora::rtc::ThumbImageBuffer & AgoraData){ + length = AgoraData.length; + buffer.SetNumZeroed(length); + for (int i = 0; i < length; i++) { + this->buffer[i] = AgoraData.buffer[i]; + } + width = AgoraData.width; + height = AgoraData.height; + + if(Image == nullptr){ + Image = NewObject<UImage>(); + } + UTexture2D* RenderTexture = UTexture2D::CreateTransient(width, height, PF_R8G8B8A8); + if(RenderTexture){ +#if AG_UE5_OR_LATER + uint8* RawData = (uint8*)RenderTexture->GetPlatformData()->Mips[0].BulkData.Lock(LOCK_READ_WRITE); + FMemory::Memcpy(RawData, AgoraData.buffer, width * height * 4); + RenderTexture->GetPlatformData()->Mips[0].BulkData.Unlock(); + RenderTexture->UpdateResource(); +#else + uint8* RawData = (uint8*)RenderTexture->PlatformData->Mips[0].BulkData.Lock(LOCK_READ_WRITE); + FMemory::Memcpy(RawData, AgoraData.buffer, width * height * 4); + RenderTexture->PlatformData->Mips[0].BulkData.Unlock(); + RenderTexture->UpdateResource(); +#endif + FSlateBrush RenderBrush; + RenderBrush.SetResourceObject(RenderTexture); + Image->SetBrush(RenderBrush); + } + + } + agora::rtc::ThumbImageBuffer CreateAgoraData() const { + agora::rtc::ThumbImageBuffer AgoraData; + char* TmpChar = new char[length]; + for (int i = 0; i < length; i++) { + TmpChar[i] = this->buffer[i]; + } + AgoraData.buffer = TmpChar; + AgoraData.length = length; + AgoraData.width = width; + AgoraData.height = height; + return AgoraData; + } + void FreeAgoraData(agora::rtc::ThumbImageBuffer & AgoraData) const { + SET_UABT_GENERIC_PTR___MEMFREE(AgoraData.buffer) + } +#endif }; export class ThumbImageBuffer { diff --git a/dita/RTC-NG/API/class_transcodinguser.dita b/dita/RTC-NG/API/class_transcodinguser.dita index 47d2029e16a..926cc5a718e 100644 --- a/dita/RTC-NG/API/class_transcodinguser.dita +++ b/dita/RTC-NG/API/class_transcodinguser.dita @@ -70,26 +70,49 @@ }; USTRUCT(BlueprintType) struct FTranscodingUser { - GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int64 uid; + int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int x; + int x = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int y; + int y = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int width; + int width = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int height; + int height = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int zOrder; + int zOrder = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") float alpha = 1.0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingUser") - int audioChannel; - + int audioChannel = 0; + FTranscodingUser(){} + FTranscodingUser(const agora::rtc::TranscodingUser & AgoraData){ + uid = AgoraData.uid; + x = AgoraData.x; + y = AgoraData.y; + width = AgoraData.width; + height = AgoraData.height; + zOrder = AgoraData.zOrder; + alpha = AgoraData.alpha; + audioChannel = AgoraData.audioChannel; + } + agora::rtc::TranscodingUser CreateAgoraData() const { + agora::rtc::TranscodingUser AgoraData; + AgoraData.uid = uid; + AgoraData.x = x; + AgoraData.y = y; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.zOrder = zOrder; + AgoraData.alpha = alpha; + AgoraData.audioChannel = audioChannel; + return AgoraData; + } + void FreeAgoraData(agora::rtc::TranscodingUser& AgoraData) const { + } }; export class TranscodingUser { uid?: number diff --git a/dita/RTC-NG/API/class_transcodingvideostream.dita b/dita/RTC-NG/API/class_transcodingvideostream.dita index c1ce5bece3a..ed083560fab 100644 --- a/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -104,29 +104,63 @@ }; USTRUCT(BlueprintType) struct FTranscodingVideoStream { - GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") + EVIDEO_SOURCE_TYPE sourceType = EVIDEO_SOURCE_TYPE::VIDEO_SOURCE_CAMERA_PRIMARY; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - EMEDIA_SOURCE_TYPE sourceType; + int64 remoteUserUid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - int64 remoteUserUid; + FString imageUrl = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - FString imageUrl; + int mediaPlayerId = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - int x; + int x = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - int y; + int y = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - int width; + int width = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - int height; + int height = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - int zOrder; + int zOrder = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - float alpha; + float alpha = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|TranscodingVideoStream") - bool mirror; + bool mirror = false; + FTranscodingVideoStream(){} + FTranscodingVideoStream(const agora::rtc::TranscodingVideoStream & AgoraData){ + sourceType = static_cast<EVIDEO_SOURCE_TYPE>(AgoraData.sourceType); + remoteUserUid = AgoraData.remoteUserUid; + imageUrl = UTF8_TO_TCHAR(AgoraData.imageUrl); + mediaPlayerId = AgoraData.mediaPlayerId; + x = AgoraData.x; + y = AgoraData.y; + width = AgoraData.width; + height = AgoraData.height; + zOrder = AgoraData.zOrder; + alpha = AgoraData.alpha; + mirror = AgoraData.mirror; + } + agora::rtc::TranscodingVideoStream CreateAgoraData() const{ + + agora::rtc::TranscodingVideoStream AgoraData; + AgoraData.sourceType = static_cast<agora::rtc::VIDEO_SOURCE_TYPE>(sourceType); + AgoraData.remoteUserUid = remoteUserUid; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.imageUrl,this->imageUrl) + AgoraData.mediaPlayerId = mediaPlayerId; + AgoraData.x = x; + AgoraData.y = y; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.zOrder = zOrder; + AgoraData.alpha = alpha; + AgoraData.mirror = mirror; + return AgoraData; + } + void FreeAgoraData(agora::rtc::TranscodingVideoStream & AgoraData) const{ + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.imageUrl) + } }; export class TranscodingVideoStream { diff --git a/dita/RTC-NG/API/class_uplinknetworkinfo.dita b/dita/RTC-NG/API/class_uplinknetworkinfo.dita index fd24f160511..af3c15198de 100644 --- a/dita/RTC-NG/API/class_uplinknetworkinfo.dita +++ b/dita/RTC-NG/API/class_uplinknetworkinfo.dita @@ -24,11 +24,21 @@ }; USTRUCT(BlueprintType) struct FUplinkNetworkInfo { - GENERATED_BODY() - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FUplinkNetworkInfo") - int video_encoder_target_bitrate_bps; +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UplinkNetworkInfo") + int video_encoder_target_bitrate_bps = 0; + FUplinkNetworkInfo(){} + FUplinkNetworkInfo(const agora::rtc::UplinkNetworkInfo & AgoraData){ + video_encoder_target_bitrate_bps = AgoraData.video_encoder_target_bitrate_bps; + } + agora::rtc::UplinkNetworkInfo CreateAgoraData() const { + agora::rtc::UplinkNetworkInfo AgoraData; + AgoraData.video_encoder_target_bitrate_bps = video_encoder_target_bitrate_bps; + return AgoraData; + } + void FreeAgoraData(agora::rtc::UplinkNetworkInfo & AgoraData) const { + } }; export class UplinkNetworkInfo { diff --git a/dita/RTC-NG/API/class_userinfo.dita b/dita/RTC-NG/API/class_userinfo.dita index a1241e199ad..fa49b72012f 100644 --- a/dita/RTC-NG/API/class_userinfo.dita +++ b/dita/RTC-NG/API/class_userinfo.dita @@ -39,11 +39,24 @@ struct FUserInfo { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo") - int64 uid; + int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo") - FString userAccount; + FString userAccount = ""; + FUserInfo(){} + FUserInfo(const agora::rtc::UserInfo & AgoraData){ + uid = AgoraData.uid; + userAccount = UTF8_TO_TCHAR(AgoraData.userAccount); + } + agora::rtc::UserInfo CreateAgoraData() const { + agora::rtc::UserInfo AgoraData; + AgoraData.uid = uid; + SET_UABT_FSTRING_TO_CHAR_ARRAY(AgoraData.userAccount,this->userAccount,agora::rtc::MAX_USER_ACCOUNT_LENGTH) + return AgoraData; + } + void FreeAgoraData(agora::rtc::UserInfo & AgoraData) const { + } }; export class UserInfo { diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index b303ca58825..35a81c4d0c7 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -110,25 +110,66 @@ struct FVideoCanvas { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - UImage* view; + int64 uid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - ERENDER_MODE_TYPE renderMode = ERENDER_MODE_TYPE::RENDER_MODE_HIDDEN; + int64 subviewUid = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - EVIDEO_MIRROR_MODE_TYPE mirrorMode = EVIDEO_MIRROR_MODE_TYPE::VIDEO_MIRROR_MODE_AUTO; + UImage* view = nullptr; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - int64 uid; + int64 backgroundColor = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - bool isScreenView = false; + ERENDER_MODE_TYPE renderMode = ERENDER_MODE_TYPE::RENDER_MODE_HIDDEN; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - int64 priv_size; + EVIDEO_MIRROR_MODE_TYPE mirrorMode = EVIDEO_MIRROR_MODE_TYPE::VIDEO_MIRROR_MODE_AUTO; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") + EVIDEO_VIEW_SETUP_MODE setupMode = EVIDEO_VIEW_SETUP_MODE::VIDEO_VIEW_SETUP_REPLACE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") EVIDEO_SOURCE_TYPE sourceType = EVIDEO_SOURCE_TYPE::VIDEO_SOURCE_CAMERA_PRIMARY; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") + int mediaPlayerId = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") FRectangle cropArea; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") - EVIDEO_VIEW_SETUP_MODE setupMode = EVIDEO_VIEW_SETUP_MODE::VIDEO_VIEW_SETUP_REPLACE; + bool enableAlphaMask = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoCanvas") + EVIDEO_MODULE_POSITION position = EVIDEO_MODULE_POSITION::POSITION_POST_CAPTURER; + + FVideoCanvas(){} + FVideoCanvas(const agora::rtc::VideoCanvas & AgoraData){ + view = nullptr; uid = AgoraData.uid; + subviewUid = AgoraData.subviewUid; + backgroundColor = AgoraData.backgroundColor; + renderMode = static_cast<ERENDER_MODE_TYPE>(AgoraData.renderMode); + mirrorMode = static_cast<EVIDEO_MIRROR_MODE_TYPE>(AgoraData.mirrorMode); + setupMode = static_cast<EVIDEO_VIEW_SETUP_MODE>(AgoraData.setupMode); + sourceType = static_cast<EVIDEO_SOURCE_TYPE>(AgoraData.sourceType); + mediaPlayerId = AgoraData.mediaPlayerId; + cropArea = FRectangle(AgoraData.cropArea); + enableAlphaMask = AgoraData.enableAlphaMask; + position = static_cast<EVIDEO_MODULE_POSITION>(AgoraData.position); + } + agora::rtc::VideoCanvas CreateAgoraData() const { + agora::rtc::VideoCanvas AgoraData; + AgoraData.view = (agora::view_t) view; + AgoraData.uid = uid; + AgoraData.subviewUid = subviewUid; + AgoraData.backgroundColor = backgroundColor; + AgoraData.renderMode = static_cast<agora::media::base::RENDER_MODE_TYPE>(renderMode); + AgoraData.mirrorMode = static_cast<agora::rtc::VIDEO_MIRROR_MODE_TYPE>(mirrorMode); + AgoraData.setupMode = static_cast<agora::rtc::VIDEO_VIEW_SETUP_MODE>(setupMode); + AgoraData.sourceType = static_cast<agora::rtc::VIDEO_SOURCE_TYPE>(sourceType); + AgoraData.mediaPlayerId = AgoraData.mediaPlayerId; + AgoraData.cropArea = cropArea.CreateAgoraData(); + AgoraData.enableAlphaMask = enableAlphaMask; + AgoraData.position = static_cast<agora::media::base::VIDEO_MODULE_POSITION>(position); + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoCanvas& AgoraData) const { + cropArea.FreeAgoraData(AgoraData.cropArea); + } }; export class VideoCanvas { view?: any diff --git a/dita/RTC-NG/API/class_videodenoiseroptions.dita b/dita/RTC-NG/API/class_videodenoiseroptions.dita index 32d25a361c8..8aa969e86d3 100644 --- a/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -53,11 +53,24 @@ struct FVideoDenoiserOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoDenoiserOptions") EVIDEO_DENOISER_MODE mode = EVIDEO_DENOISER_MODE::VIDEO_DENOISER_AUTO; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoDenoiserOptions") EVIDEO_DENOISER_LEVEL level = EVIDEO_DENOISER_LEVEL::VIDEO_DENOISER_LEVEL_HIGH_QUALITY; + FVideoDenoiserOptions(){} + FVideoDenoiserOptions(const agora::rtc::VideoDenoiserOptions & AgoraData){ + mode = static_cast<EVIDEO_DENOISER_MODE>(AgoraData.mode); + level = static_cast<EVIDEO_DENOISER_LEVEL>(AgoraData.level); + } + agora::rtc::VideoDenoiserOptions CreateAgoraData() const { + agora::rtc::VideoDenoiserOptions AgoraData; + AgoraData.mode = static_cast<agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_MODE>(mode); + AgoraData.level = static_cast<agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_LEVEL>(level); + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoDenoiserOptions& AgoraData) const { + } }; export class VideoDenoiserOptions { diff --git a/dita/RTC-NG/API/class_videodimensions.dita b/dita/RTC-NG/API/class_videodimensions.dita index ba5e4f18aa4..24e491ff22e 100644 --- a/dita/RTC-NG/API/class_videodimensions.dita +++ b/dita/RTC-NG/API/class_videodimensions.dita @@ -40,13 +40,25 @@ }; USTRUCT(BlueprintType) struct FVideoDimensions { - GENERATED_BODY() - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeConfig") +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoDimensions") int width = 640; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LastmileProbeConfig") + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoDimensions") int height = 480; + FVideoDimensions(){} + FVideoDimensions(const agora::rtc::VideoDimensions & AgoraData){ + width = AgoraData.width; + height = AgoraData.height; + } + agora::rtc::VideoDimensions CreateAgoraData() const{ + agora::rtc::VideoDimensions AgoraData; + AgoraData.width = width; + AgoraData.height = height; + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoDimensions& AgoraData) const { + } }; export class VideoDimensions { diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index e8e6aff4e8a..c05e0a09590 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -352,11 +352,11 @@ struct FVideoEncoderConfiguration { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") - EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_GENERIC_H264; + EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_NONE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") - FVideoDimensions dimensions; + FVideoDimensions dimensions = FVideoDimensions(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") int frameRate = 15; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") @@ -370,9 +370,36 @@ struct FVideoEncoderConfiguration UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") EVIDEO_MIRROR_MODE_TYPE mirrorMode = EVIDEO_MIRROR_MODE_TYPE::VIDEO_MIRROR_MODE_DISABLED; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") - ECOMPRESSION_PREFERENCE compressionPreference = ECOMPRESSION_PREFERENCE::PREFER_LOW_LATENCY; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoEncoderConfiguration") - FAdvanceOptions advanceOptions; + FAdvanceOptions advanceOptions = FAdvanceOptions(); + FVideoEncoderConfiguration(){} + FVideoEncoderConfiguration(const agora::rtc::VideoEncoderConfiguration & AgoraData){ + codecType = static_cast<EVIDEO_CODEC_TYPE>(AgoraData.codecType); + dimensions = FVideoDimensions(AgoraData.dimensions); + frameRate = AgoraData.frameRate; + bitrate = AgoraData.bitrate; + minBitrate = AgoraData.minBitrate; + orientationMode = static_cast<EORIENTATION_MODE>(AgoraData.orientationMode); + degradationPreference = static_cast<EDEGRADATION_PREFERENCE>(AgoraData.degradationPreference); + mirrorMode = static_cast<EVIDEO_MIRROR_MODE_TYPE>(AgoraData.mirrorMode); + advanceOptions = FAdvanceOptions(AgoraData.advanceOptions); + } + agora::rtc::VideoEncoderConfiguration CreateAgoraData() const { + agora::rtc::VideoEncoderConfiguration AgoraData; + AgoraData.codecType = static_cast<agora::rtc::VIDEO_CODEC_TYPE>(codecType); + AgoraData.dimensions = dimensions.CreateAgoraData(); + AgoraData.frameRate = frameRate; + AgoraData.bitrate = bitrate; + AgoraData.minBitrate = minBitrate; + AgoraData.orientationMode = static_cast<agora::rtc::ORIENTATION_MODE>(orientationMode); + AgoraData.degradationPreference = static_cast<agora::rtc::DEGRADATION_PREFERENCE>(degradationPreference); + AgoraData.mirrorMode = static_cast<agora::rtc::VIDEO_MIRROR_MODE_TYPE>(mirrorMode); + AgoraData.advanceOptions = advanceOptions.CreateAgoraData(); + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoEncoderConfiguration& AgoraData) const { + dimensions.FreeAgoraData(AgoraData.dimensions); + advanceOptions.FreeAgoraData(AgoraData.advanceOptions); + } }; export class VideoEncoderConfiguration { diff --git a/dita/RTC-NG/API/class_videoformat.dita b/dita/RTC-NG/API/class_videoformat.dita index 3f1ddf25278..7a82298414d 100644 --- a/dita/RTC-NG/API/class_videoformat.dita +++ b/dita/RTC-NG/API/class_videoformat.dita @@ -25,14 +25,29 @@ } USTRUCT(BlueprintType) struct FVideoFormat { - GENERATED_BODY() +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoFormat") int width = 640; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoFormat") int height = 360; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoFormat") int fps = 15; + FVideoFormat(){} + FVideoFormat(const agora::rtc::VideoFormat & AgoraData){ + width = AgoraData.width; + height = AgoraData.height; + fps = AgoraData.fps; + } + agora::rtc::VideoFormat CreateAgoraData() const { + agora::rtc::VideoFormat AgoraData; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.fps = fps; + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoFormat& AgoraData) const { + } }; export class VideoFormat { diff --git a/dita/RTC-NG/API/class_videolayout.dita b/dita/RTC-NG/API/class_videolayout.dita index 73ec0adf6c7..2448f8cafbc 100644 --- a/dita/RTC-NG/API/class_videolayout.dita +++ b/dita/RTC-NG/API/class_videolayout.dita @@ -46,7 +46,61 @@ uint32_t videoState; VideoLayout() : channelId(OPTIONAL_NULLPTR), uid(0), strUid(OPTIONAL_NULLPTR), x(0), y(0), width(0), height(0), videoState(0) {} }; - + USTRUCT(BlueprintType) +struct FVideoLayout +{ + GENERATED_BODY() + +public: + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + FString channelId = ""; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + int64 uid = 0; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + FString strUid = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + int64 x = 0; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + int64 y = 0; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + int64 width = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + int64 height = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoLayout") + int64 videoState = 0; + FVideoLayout(){} + FVideoLayout(const agora::VideoLayout & AgoraData){ + channelId = UTF8_TO_TCHAR(AgoraData.channelId); + uid = AgoraData.uid; + strUid = UTF8_TO_TCHAR(AgoraData.strUid); + x = AgoraData.x; + y = AgoraData.y; + width = AgoraData.width; + height = AgoraData.height; + videoState = AgoraData.videoState; + } + agora::VideoLayout CreateAgoraData() const { + agora::VideoLayout AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelId, channelId) + AgoraData.uid = uid; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.strUid, strUid) + AgoraData.x = x; + AgoraData.y = y; + AgoraData.width = width; + AgoraData.height = height; + AgoraData.videoState = videoState; + return AgoraData; + } + void FreeAgoraData(agora::VideoLayout & AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelId) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.strUid) + } +}; public class VideoLayout { diff --git a/dita/RTC-NG/API/class_videorenderingtracinginfo.dita b/dita/RTC-NG/API/class_videorenderingtracinginfo.dita index f80cddb4775..8ea68dc843a 100644 --- a/dita/RTC-NG/API/class_videorenderingtracinginfo.dita +++ b/dita/RTC-NG/API/class_videorenderingtracinginfo.dita @@ -35,23 +35,45 @@ }; USTRUCT(BlueprintType) struct FVideoRenderingTracingInfo { - GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int elapsedTime; + int elapsedTime = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int start2JoinChannel; + int start2JoinChannel = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int join2JoinSuccess; + int join2JoinSuccess = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int joinSuccess2RemoteJoined; + int joinSuccess2RemoteJoined = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int remoteJoined2SetView; + int remoteJoined2SetView = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int remoteJoined2UnmuteVideo; + int remoteJoined2UnmuteVideo = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoRenderingTracingInfo") - int remoteJoined2PacketReceived; + int remoteJoined2PacketReceived = 0; + FVideoRenderingTracingInfo() {} + FVideoRenderingTracingInfo(const agora::rtc::VideoRenderingTracingInfo& AgoraData) { + elapsedTime = AgoraData.elapsedTime; + start2JoinChannel = AgoraData.start2JoinChannel; + join2JoinSuccess = AgoraData.join2JoinSuccess; + joinSuccess2RemoteJoined = AgoraData.joinSuccess2RemoteJoined; + remoteJoined2SetView = AgoraData.remoteJoined2SetView; + remoteJoined2UnmuteVideo = AgoraData.remoteJoined2UnmuteVideo; + remoteJoined2PacketReceived = AgoraData.remoteJoined2PacketReceived; + } + agora::rtc::VideoRenderingTracingInfo CreateAgoraData() const { + agora::rtc::VideoRenderingTracingInfo AgoraData; + AgoraData.elapsedTime = elapsedTime; + AgoraData.start2JoinChannel = start2JoinChannel; + AgoraData.join2JoinSuccess = join2JoinSuccess; + AgoraData.joinSuccess2RemoteJoined = joinSuccess2RemoteJoined; + AgoraData.remoteJoined2SetView = remoteJoined2SetView; + AgoraData.remoteJoined2UnmuteVideo = remoteJoined2UnmuteVideo; + AgoraData.remoteJoined2PacketReceived = remoteJoined2PacketReceived; + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoRenderingTracingInfo& AgoraData) const { + } }; export class VideoRenderingTracingInfo { elapsedTime?: number; diff --git a/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/dita/RTC-NG/API/class_videosubscriptionoptions.dita index 5ca6c3130e1..02a8b7d2217 100644 --- a/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -58,12 +58,26 @@ struct FVideoSubscriptionOptions { GENERATED_BODY() - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") - bool type_SetValue; +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool type_SetValue = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoSubscriptionOptions") - EVIDEO_STREAM_TYPE type; + EVIDEO_STREAM_TYPE type = EVIDEO_STREAM_TYPE::VIDEO_STREAM_HIGH; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoSubscriptionOptions") - AGORAOPTIONAL encodedFrameOnly; + EAgoraOptional encodedFrameOnly = EAgoraOptional::AGORA_NULL_VALUE; + FVideoSubscriptionOptions(){} + FVideoSubscriptionOptions(const agora::rtc::VideoSubscriptionOptions & AgoraData){ + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->type,AgoraData.type,static_cast<EVIDEO_STREAM_TYPE>(AgoraData.type.value())) + SET_UEBP_OPTIONAL_VAL_BOOL(this->encodedFrameOnly,AgoraData.encodedFrameOnly) + } + agora::rtc::VideoSubscriptionOptions CreateAgoraData() const { + agora::rtc::VideoSubscriptionOptions AgoraData; + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.type,this->type,static_cast<agora::rtc::VIDEO_STREAM_TYPE>(this->type)) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.encodedFrameOnly,this->encodedFrameOnly) + return AgoraData; + } + void FreeAgoraData(agora::rtc::VideoSubscriptionOptions& AgoraData) const { + } }; export class VideoSubscriptionOptions { diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index aa6dc9ebd9a..d24a34605bc 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -74,15 +74,33 @@ struct FVirtualBackgroundSource { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VirtualBackgroundSource") EBACKGROUND_SOURCE_TYPE background_source_type = EBACKGROUND_SOURCE_TYPE::BACKGROUND_COLOR; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VirtualBackgroundSource") int64 color = 0xffffff; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VirtualBackgroundSource") - FString source; + FString source = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VirtualBackgroundSource") EBACKGROUND_BLUR_DEGREE blur_degree = EBACKGROUND_BLUR_DEGREE::BLUR_DEGREE_HIGH; + FVirtualBackgroundSource(){} + FVirtualBackgroundSource(const agora::rtc::VirtualBackgroundSource & AgoraData){ + background_source_type = static_cast<EBACKGROUND_SOURCE_TYPE>(AgoraData.background_source_type); + color = AgoraData.color; + source = AgoraData.source; + blur_degree = static_cast<EBACKGROUND_BLUR_DEGREE>(AgoraData.blur_degree); + } + agora::rtc::VirtualBackgroundSource CreateAgoraData() const { + agora::rtc::VirtualBackgroundSource AgoraData; + AgoraData.background_source_type = static_cast<agora::rtc::VirtualBackgroundSource::BACKGROUND_SOURCE_TYPE>(background_source_type); + AgoraData.color = color; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.source, this->source) + AgoraData.blur_degree = static_cast<agora::rtc::VirtualBackgroundSource::BACKGROUND_BLUR_DEGREE>(blur_degree); + return AgoraData; + } + void FreeAgoraData(agora::rtc::VirtualBackgroundSource& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.source) + } }; export class VirtualBackgroundSource { diff --git a/dita/RTC-NG/API/class_watermarkoptions.dita b/dita/RTC-NG/API/class_watermarkoptions.dita index 1d65e8ff6ff..52ec1f2867b 100644 --- a/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/dita/RTC-NG/API/class_watermarkoptions.dita @@ -54,17 +54,40 @@ struct FWatermarkOptions { GENERATED_BODY() - +public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkOptions") - bool visibleInPreview; + bool visibleInPreview = false; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkOptions") - FRectangle positionInLandscapeMode; + FRectangle positionInLandscapeMode = FRectangle(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkOptions") - FRectangle positionInPortraitMode; + FRectangle positionInPortraitMode = FRectangle(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkOptions") - FWatermarkRatio watermarkRatio; + FWatermarkRatio watermarkRatio = FWatermarkRatio(); UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkOptions") EWATERMARK_FIT_MODE mode = EWATERMARK_FIT_MODE::FIT_MODE_COVER_POSITION; + FWatermarkOptions(){} + FWatermarkOptions(const agora::rtc::WatermarkOptions & AgoraData){ + visibleInPreview = AgoraData.visibleInPreview; + positionInLandscapeMode = FRectangle(AgoraData.positionInLandscapeMode); + positionInPortraitMode = FRectangle(AgoraData.positionInPortraitMode); + watermarkRatio = FWatermarkRatio(AgoraData.watermarkRatio); + mode = static_cast<EWATERMARK_FIT_MODE>(AgoraData.mode); + } + agora::rtc::WatermarkOptions CreateAgoraData() const { + agora::rtc::WatermarkOptions AgoraData; + AgoraData.visibleInPreview = visibleInPreview; + AgoraData.positionInLandscapeMode = positionInLandscapeMode.CreateAgoraData(); + AgoraData.positionInPortraitMode = positionInPortraitMode.CreateAgoraData(); + AgoraData.watermarkRatio = watermarkRatio.CreateAgoraData(); + AgoraData.mode = static_cast<agora::rtc::WATERMARK_FIT_MODE>(mode); + return AgoraData; + } + void FreeAgoraData(agora::rtc::WatermarkOptions & AgoraData) const { + positionInLandscapeMode.FreeAgoraData(AgoraData.positionInLandscapeMode); + positionInPortraitMode.FreeAgoraData(AgoraData.positionInPortraitMode); + watermarkRatio.FreeAgoraData(AgoraData.watermarkRatio); + } + }; export class WatermarkOptions { diff --git a/dita/RTC-NG/API/class_watermarkratio.dita b/dita/RTC-NG/API/class_watermarkratio.dita index 9052e04462a..347ce478c7b 100644 --- a/dita/RTC-NG/API/class_watermarkratio.dita +++ b/dita/RTC-NG/API/class_watermarkratio.dita @@ -19,14 +19,29 @@ USTRUCT(BlueprintType) struct FWatermarkRatio { - GENERATED_BODY() - - float xRatio; - - float yRatio; - - float widthRatio; +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkRatio") + float xRatio = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkRatio") + float yRatio = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|WatermarkRatio") + float widthRatio = 0; + FWatermarkRatio(){} + FWatermarkRatio(const agora::rtc::WatermarkRatio & AgoraData){ + xRatio = AgoraData.xRatio; + yRatio = AgoraData.yRatio; + widthRatio = AgoraData.widthRatio; + } + agora::rtc::WatermarkRatio CreateAgoraData() const { + agora::rtc::WatermarkRatio AgoraData; + AgoraData.xRatio = xRatio; + AgoraData.yRatio = yRatio; + AgoraData.widthRatio = widthRatio; + return AgoraData; + } + void FreeAgoraData(agora::rtc::WatermarkRatio & AgoraData) const { + } }; export class WatermarkRatio { diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 6f389b885b0..4222f07e978 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -328,7 +328,7 @@ - initialize + Initialize @@ -342,7 +342,7 @@ - setChannelProfile + SetChannelProfile @@ -377,7 +377,7 @@ - updateChannelMediaOptions + UpdateChannelMediaOptions @@ -398,21 +398,21 @@ - renewToken + RenewToken - getConnectionState + GetConnectionState - registerLocalUserAccount + RegisterLocalUserAccount @@ -433,70 +433,70 @@ - getUserInfoByUserAccount + GetUserInfoByUserAccount - enableWebSdkInteroperability + EnableWebSdkInteroperability - loadExtensionProvider + LoadExtensionProvider - preloadChannel + PreloadChannel - preloadChannelWithUserAccount + PreloadChannelWithUserAccount - setExtensionProviderProperty + SetExtensionProviderProperty - startMediaRenderingTracing + StartMediaRenderingTracing - startMediaRenderingTracingEx + StartMediaRenderingTracingEx - enableInstantMediaRendering + EnableInstantMediaRendering - updatePreloadChannelToken + UpdatePreloadChannelToken @@ -519,14 +519,14 @@ - adjustPlayoutVolume + AdjustPlayoutVolume - adjustPublishSignalVolume + AdjustPublishSignalVolume @@ -540,7 +540,7 @@ - getAudioTrackCount + GetAudioTrackCount @@ -561,7 +561,7 @@ - getDuration + GetDuration @@ -589,70 +589,70 @@ - getMediaPlayerId + GetMediaPlayerId - getMute + GetMute - getPlayoutVolume + GetPlayoutVolume - getPlayPosition + GetPlayPosition - getPlaySrc + GetPlaySrc - getPublishSignalVolume + GetPublishSignalVolume - getState + GetState - getStreamCount + GetStreamCount - getStreamInfo + GetStreamInfo - mute + Mute @@ -673,14 +673,14 @@ - pause + Pause - play + Play @@ -736,14 +736,14 @@ - resume + Resume - seek + Seek @@ -764,21 +764,21 @@ - selectMultiAudioTrack + SelectMultiAudioTrack - setAudioDualMonoMode + SetAudioDualMonoMode - setAudioPitch + SetAudioPitch @@ -792,7 +792,7 @@ - setLoopCount + SetLoopCount @@ -813,7 +813,7 @@ - setPlaybackSpeed + SetPlaybackSpeed @@ -834,21 +834,21 @@ - setRenderMode + SetRenderMode - setView + SetView - stop + Stop @@ -883,7 +883,7 @@ - openWithMediaSource + OpenWithMediaSource @@ -932,28 +932,28 @@ - switchSrc + SwitchSrc - preloadSrc + PreloadSrc - unloadSrc + UnloadSrc - playPreloadedSrc + PlayPreloadedSrc @@ -962,14 +962,14 @@ - enableAudio + EnableAudio - disableAudio + DisableAudio @@ -990,98 +990,98 @@ - setAudioScenario + SetAudioScenario - setAudioSessionOperationRestriction + SetAudioSessionOperationRestriction - adjustRecordingSignalVolume + AdjustRecordingSignalVolume - adjustLoopbackSignalVolume + AdjustLoopbackSignalVolume - adjustUserPlaybackSignalVolume + AdjustUserPlaybackSignalVolume - adjustPlaybackSignalVolume + AdjustPlaybackSignalVolume - adjustCustomAudioPublishVolume + AdjustCustomAudioPublishVolume - enableLocalAudio + EnableLocalAudio - muteLocalAudioStream + MuteLocalAudioStream - muteRemoteAudioStream + MuteRemoteAudioStream - muteAllRemoteAudioStreams + MuteAllRemoteAudioStreams - muteRecordingSignal + MuteRecordingSignal - setSubscribeAudioBlocklist + SetSubscribeAudioBlocklist - setSubscribeAudioAllowlist + SetSubscribeAudioAllowlist @@ -1090,28 +1090,28 @@ - enableVideo + EnableVideo - disableVideo + DisableVideo - setSubscribeVideoBlocklist + SetSubscribeVideoBlocklist - setSubscribeVideoAllowlist + SetSubscribeVideoAllowlist @@ -1127,28 +1127,28 @@ - setVideoScenario + SetVideoScenario - setVideoEncoderConfiguration + SetVideoEncoderConfiguration - setupLocalVideo + SetupLocalVideo - setupRemoteVideo + SetupRemoteVideo @@ -1169,7 +1169,7 @@ - setRemoteRenderMode + SetRemoteRenderMode @@ -1204,49 +1204,49 @@ - enableLocalVideo + EnableLocalVideo - muteLocalVideoStream + MuteLocalVideoStream - muteRemoteVideoStream + MuteRemoteVideoStream - muteAllRemoteVideoStreams + MuteAllRemoteVideoStreams - setRemoteVideoSubscriptionOptions + SetRemoteVideoSubscriptionOptions - setRemoteVideoSubscriptionOptionsEx + SetRemoteVideoSubscriptionOptionsEx - queryCodecCapability + QueryCodecCapability @@ -1255,14 +1255,14 @@ - setAdvancedAudioOptions + SetAdvancedAudioOptions - setAINSMode + SetAINSMode @@ -1271,35 +1271,35 @@ - setBeautyEffectOptions + SetBeautyEffectOptions - enableVirtualBackground + EnableVirtualBackground - setLowlightEnhanceOptions + SetLowlightEnhanceOptions - setVideoDenoiserOptions + SetVideoDenoiserOptions - setColorEnhanceOptions + SetColorEnhanceOptions @@ -1315,7 +1315,7 @@ - adjustUserPlaybackSignalVolumeEx + AdjustUserPlaybackSignalVolumeEx @@ -1336,28 +1336,28 @@ - enableAudioVolumeIndicationEx + EnableAudioVolumeIndicationEx - joinChannelEx + JoinChannelEx - joinChannelWithUserAccountEx + JoinChannelWithUserAccountEx - getUserInfoByUid + GetUserInfoByUid @@ -1378,42 +1378,42 @@ - muteRemoteAudioStreamEx + MuteRemoteAudioStreamEx - addVideoWatermarkEx + AddVideoWatermarkEx - muteRemoteVideoStreamEx + MuteRemoteVideoStreamEx - clearVideoWatermarkEx + ClearVideoWatermarkEx - enableLoopbackRecordingEx + EnableLoopbackRecordingEx - getConnectionStateEx + GetConnectionStateEx @@ -1434,7 +1434,7 @@ - resumeAllChannelMediaRelayEx + ResumeAllChannelMediaRelayEx @@ -1448,28 +1448,28 @@ - sendCustomReportMessageEx + SendCustomReportMessageEx - sendStreamMessageEx + SendStreamMessageEx - setRemoteRenderModeEx + SetRemoteRenderModeEx - setRemoteVideoStreamTypeEx + SetRemoteVideoStreamTypeEx @@ -1483,140 +1483,140 @@ - setRemoteVoicePositionEx + SetRemoteVoicePositionEx - setSubscribeAudioBlocklistEx + SetSubscribeAudioBlocklistEx - setSubscribeAudioAllowlistEx + SetSubscribeAudioAllowlistEx - setSubscribeVideoBlocklistEx + SetSubscribeVideoBlocklistEx - setSubscribeVideoAllowlistEx + SetSubscribeVideoAllowlistEx - setupRemoteVideoEx + SetupRemoteVideoEx - setVideoEncoderConfigurationEx + SetVideoEncoderConfigurationEx - startOrUpdateChannelMediaRelayEx + StartOrUpdateChannelMediaRelayEx - pauseAllChannelMediaRelayEx + PauseAllChannelMediaRelayEx - takeSnapshotEx + TakeSnapshotEx - updateChannelMediaOptionsEx + UpdateChannelMediaOptionsEx - muteLocalAudioStreamEx + MuteLocalAudioStreamEx - muteLocalVideoStreamEx + MuteLocalVideoStreamEx - muteAllRemoteAudioStreamsEx + MuteAllRemoteAudioStreamsEx - muteAllRemoteVideoStreamsEx + MuteAllRemoteVideoStreamsEx - stopChannelMediaRelayEx + StopChannelMediaRelayEx - startRtmpStreamWithoutTranscodingEx + StartRtmpStreamWithoutTranscodingEx - startRtmpStreamWithTranscodingEx + StartRtmpStreamWithTranscodingEx - updateRtmpTranscodingEx + UpdateRtmpTranscodingEx - stopRtmpStreamEx + StopRtmpStreamEx @@ -1632,21 +1632,21 @@ - getScreenCaptureSources + GetScreenCaptureSources - getSourceInfo + GetSourceInfo - queryScreenCaptureCapability + QueryScreenCaptureCapability @@ -1674,56 +1674,56 @@ - startScreenCaptureByDisplayId + StartScreenCaptureByDisplayId - startScreenCaptureByScreenRect + StartScreenCaptureByScreenRect - startScreenCaptureByWindowId + StartScreenCaptureByWindowId - setScreenCaptureContentHint + SetScreenCaptureContentHint - setScreenCaptureScenario + SetScreenCaptureScenario - updateScreenCapture + UpdateScreenCapture - updateScreenCaptureParameters + UpdateScreenCaptureParameters - updateScreenCaptureRegion + UpdateScreenCaptureRegion @@ -1753,14 +1753,14 @@ - setAudioMixingDualMonoMode + SetAudioMixingDualMonoMode - setAudioMixingPlaybackSpeed + SetAudioMixingPlaybackSpeed @@ -1781,84 +1781,84 @@ - stopAudioMixing + StopAudioMixing - pauseAudioMixing + PauseAudioMixing - resumeAudioMixing + ResumeAudioMixing - adjustAudioMixingVolume + AdjustAudioMixingVolume - adjustAudioMixingPlayoutVolume + AdjustAudioMixingPlayoutVolume - adjustAudioMixingPublishVolume + AdjustAudioMixingPublishVolume - getAudioMixingPlayoutVolume + GetAudioMixingPlayoutVolume - getAudioMixingPublishVolume + GetAudioMixingPublishVolume - getAudioMixingDuration + GetAudioMixingDuration - getAudioMixingCurrentPosition + GetAudioMixingCurrentPosition - setAudioMixingPitch + SetAudioMixingPitch - setAudioMixingPosition + SetAudioMixingPosition @@ -1867,126 +1867,126 @@ - getEffectsVolume + GetEffectsVolume - setEffectsVolume + SetEffectsVolume - setVolumeOfEffect + SetVolumeOfEffect - getVolumeOfEffect + GetVolumeOfEffect - playEffect + PlayEffect - stopEffect + StopEffect - stopAllEffects + StopAllEffects - preloadEffect + PreloadEffect - unloadEffect + UnloadEffect - pauseEffect + PauseEffect - pauseAllEffects + PauseAllEffects - resumeEffect + ResumeEffect - resumeAllEffects + ResumeAllEffects - setEffectPosition + SetEffectPosition - getEffectDuration + GetEffectDuration - getEffectCurrentPosition + GetEffectCurrentPosition - playAllEffects + PlayAllEffects - unloadAllEffects + UnloadAllEffects @@ -1995,21 +1995,21 @@ - startRhythmPlayer + StartRhythmPlayer - stopRhythmPlayer + StopRhythmPlayer - configRhythmPlayer + ConfigRhythmPlayer @@ -2025,63 +2025,63 @@ - setLocalVoicePitch + SetLocalVoicePitch - setLocalVoiceEqualization + SetLocalVoiceEqualization - setLocalVoiceReverb + SetLocalVoiceReverb - setVoiceBeautifierPreset + SetVoiceBeautifierPreset - setVoiceBeautifierParameters + SetVoiceBeautifierParameters - setAudioEffectPreset + SetAudioEffectPreset - setAudioEffectParameters + SetAudioEffectParameters - setLocalVoiceFormant + SetLocalVoiceFormant - setVoiceConversionPreset + SetVoiceConversionPreset @@ -2090,7 +2090,7 @@ - enableSoundPositionIndication + EnableSoundPositionIndication @@ -2104,7 +2104,7 @@ - setRemoteVoicePosition + SetRemoteVoicePosition @@ -2113,14 +2113,14 @@ - muteLocalAudioStream + MuteLocalAudioStream - muteAllRemoteAudioStreams + MuteAllRemoteAudioStreams @@ -2183,7 +2183,7 @@ - muteRemoteAudioStream + MuteRemoteAudioStream @@ -2206,7 +2206,7 @@ - initialize + Initialize @@ -2229,21 +2229,21 @@ - enableSpatialAudio + EnableSpatialAudio - setRemoteUserSpatialAudioParams + SetRemoteUserSpatialAudioParams - setSpatialAudioParams + SetSpatialAudioParams @@ -2287,7 +2287,7 @@ - initialize + Initialize @@ -2308,7 +2308,7 @@ - renewToken + RenewToken @@ -2331,21 +2331,21 @@ - startRtmpStreamWithoutTranscoding + StartRtmpStreamWithoutTranscoding - startRtmpStreamWithTranscoding + StartRtmpStreamWithTranscoding - stopRtmpStream + StopRtmpStream @@ -2359,14 +2359,14 @@ - setDirectCdnStreamingAudioConfiguration + SetDirectCdnStreamingAudioConfiguration - setDirectCdnStreamingVideoConfiguration + SetDirectCdnStreamingVideoConfiguration @@ -2387,7 +2387,7 @@ - updateRtmpTranscoding + UpdateRtmpTranscoding @@ -2403,28 +2403,28 @@ - pauseAllChannelMediaRelay + PauseAllChannelMediaRelay - resumeAllChannelMediaRelay + ResumeAllChannelMediaRelay - startOrUpdateChannelMediaRelay + StartOrUpdateChannelMediaRelay - stopChannelMediaRelay + StopChannelMediaRelay @@ -2433,7 +2433,7 @@ - enableAudioVolumeIndication + EnableAudioVolumeIndication @@ -2442,28 +2442,28 @@ - setDefaultAudioRouteToSpeakerphone + SetDefaultAudioRouteToSpeakerphone - setEnableSpeakerphone + SetEnableSpeakerphone - setRouteInCommunicationMode + SetRouteInCommunicationMode - isSpeakerphoneEnabled + IsSpeakerphoneEnabled @@ -2472,28 +2472,28 @@ - enableInEarMonitoring + EnableInEarMonitoring - setInEarMonitoringVolume + SetInEarMonitoringVolume - setHeadphoneEQParameters + SetHeadphoneEQParameters - setHeadphoneEQPreset + SetHeadphoneEQPreset @@ -2517,7 +2517,7 @@ - enableDualStreamModeEx + EnableDualStreamModeEx @@ -2538,21 +2538,21 @@ - setDualStreamModeEx + SetDualStreamModeEx - setRemoteVideoStreamType + SetRemoteVideoStreamType - setRemoteDefaultVideoStreamType + SetRemoteDefaultVideoStreamType @@ -2561,7 +2561,7 @@ - setRemoteSubscribeFallbackOption + SetRemoteSubscribeFallbackOption @@ -2570,28 +2570,28 @@ - startEchoTest + StartEchoTest - stopEchoTest + StopEchoTest - startLastmileProbeTest + StartLastmileProbeTest - stopLastmileProbeTest + StopLastmileProbeTest @@ -2688,28 +2688,28 @@ - enableMultiCamera + EnableMultiCamera - setCameraStabilizationMode + SetCameraStabilizationMode - startCameraCapture + StartCameraCapture - stopCameraCapture + StopCameraCapture @@ -2838,56 +2838,56 @@ - getExtensionProperty + GetExtensionProperty - enableExtension + EnableExtension - registerExtension + RegisterExtension - setExtensionProperty + SetExtensionProperty - onExtensionEventWithContext + OnExtensionEventWithContext - onExtensionStartedWithContext + OnExtensionStartedWithContext - onExtensionStoppedWithContext + OnExtensionStoppedWithContext - onExtensionErrorWithContext + OnExtensionErrorWithContext @@ -2896,21 +2896,21 @@ - startLocalVideoTranscoder + StartLocalVideoTranscoder - stopLocalVideoTranscoder + StopLocalVideoTranscoder - updateLocalTranscoderConfiguration + UpdateLocalTranscoderConfiguration @@ -2963,7 +2963,7 @@ - clearVideoWatermarks + ClearVideoWatermarks @@ -2972,14 +2972,14 @@ - enableEncryption + EnableEncryption - enableEncryptionEx + EnableEncryptionEx @@ -3044,7 +3044,7 @@ - stopAudioRecording + StopAudioRecording @@ -3090,119 +3090,119 @@ - switchCamera + SwitchCamera - getCameraMaxZoomFactor + GetCameraMaxZoomFactor - isCameraZoomSupported + IsCameraZoomSupported - isCameraTorchSupported + IsCameraTorchSupported - isCameraFocusSupported + IsCameraFocusSupported - isCameraExposurePositionSupported + IsCameraExposurePositionSupported - isCameraExposureSupported + IsCameraExposureSupported - isCameraAutoFocusFaceModeSupported + IsCameraAutoFocusFaceModeSupported - isCameraAutoExposureFaceModeSupported + IsCameraAutoExposureFaceModeSupported - setCameraZoomFactor + SetCameraZoomFactor - setCameraFocusPositionInPreview + SetCameraFocusPositionInPreview - setCameraExposureFactor + SetCameraExposureFactor - setCameraExposurePosition + SetCameraExposurePosition - setCameraTorchOn + SetCameraTorchOn - setCameraAutoFocusFaceModeEnabled + SetCameraAutoFocusFaceModeEnabled - setCameraAutoExposureFaceModeEnabled + SetCameraAutoExposureFaceModeEnabled - setCameraDeviceOrientation + SetCameraDeviceOrientation @@ -3253,28 +3253,28 @@ - setApplicationVolume + SetApplicationVolume - getApplicationVolume + GetApplicationVolume - setApplicationMute + SetApplicationMute - isApplicationMute + IsApplicationMute @@ -3288,14 +3288,14 @@ - enumeratePlaybackDevices + EnumeratePlaybackDevices - enumerateRecordingDevices + EnumerateRecordingDevices @@ -3421,7 +3421,7 @@ - getAudioDeviceInfo + GetAudioDeviceInfo @@ -3509,7 +3509,7 @@ - enumerateVideoDevices + EnumerateVideoDevices @@ -3562,7 +3562,7 @@ - queryCameraFocalLengthCapability + QueryCameraFocalLengthCapability @@ -3620,7 +3620,7 @@ - sendStreamMessage + SendStreamMessage @@ -3629,7 +3629,7 @@ - adjustCustomAudioPlayoutVolume + AdjustCustomAudioPlayoutVolume @@ -3643,7 +3643,7 @@ - enableLoopbackRecording + EnableLoopbackRecording @@ -3682,14 +3682,14 @@ - enableFaceDetection + EnableFaceDetection - isCameraFaceDetectSupported + IsCameraFaceDetectSupported @@ -3714,14 +3714,14 @@ - setCameraCapturerConfiguration + SetCameraCapturerConfiguration - setLocalVideoMirrorMode + SetLocalVideoMirrorMode @@ -3765,7 +3765,7 @@ - initialize + Initialize @@ -3779,7 +3779,7 @@ - renewToken + RenewToken @@ -3958,21 +3958,21 @@ - takeSnapshot + TakeSnapshot - enableContentInspect + EnableContentInspect - enableContentInspectEx + EnableContentInspectEx @@ -3988,70 +3988,70 @@ - enableVideoImageSource + EnableVideoImageSource - getNetworkType + GetNetworkType - getNtpWallTimeInMs + GetNtpWallTimeInMs - setAVSyncSource + SetAVSyncSource - setCloudProxy + SetCloudProxy - setLocalAccessPoint + SetLocalAccessPoint - setLogFile + SetLogFile - setLogFilter + SetLogFilter - setLogLevel + SetLogLevel - setLogFileSize + SetLogFileSize @@ -4072,63 +4072,63 @@ - sendCustomReportMessage + SendCustomReportMessage - getCallId + GetCallId - getCallIdEx + GetCallIdEx - queryDeviceScore + QueryDeviceScore - rate + Rate - complain + Complain - getVersion + GetVersion - getErrorDescription + GetErrorDescription - isFeatureAvailableOnDevice + IsFeatureAvailableOnDevice @@ -4146,147 +4146,147 @@ - onConnectionStateChanged + OnConnectionStateChanged - onError + OnError - onFirstRemoteAudioDecoded + OnFirstRemoteAudioDecoded - onFirstRemoteAudioFrame + OnFirstRemoteAudioFrame - onJoinChannelSuccess + OnJoinChannelSuccess - onRejoinChannelSuccess + OnRejoinChannelSuccess - onLeaveChannel + OnLeaveChannel - onClientRoleChanged + OnClientRoleChanged - onClientRoleChangeFailed + OnClientRoleChangeFailed - onUserJoined + OnUserJoined - onUserMuteAudio + OnUserMuteAudio - onUserOffline + OnUserOffline - onNetworkTypeChanged + OnNetworkTypeChanged - onConnectionInterrupted + OnConnectionInterrupted - onConnectionLost + OnConnectionLost - onConnectionBanned + OnConnectionBanned - onTokenPrivilegeWillExpire + OnTokenPrivilegeWillExpire - onRequestToken + OnRequestToken - onLocalUserRegistered + OnLocalUserRegistered - onUserInfoUpdated + OnUserInfoUpdated - onUplinkNetworkInfoUpdated + OnUplinkNetworkInfoUpdated @@ -4300,7 +4300,7 @@ - onVideoRenderingTracingResult + OnVideoRenderingTracingResult @@ -4309,7 +4309,7 @@ - onLocalAudioStateChanged + OnLocalAudioStateChanged @@ -4323,49 +4323,49 @@ - onLocalVideoStateChanged + OnLocalVideoStateChanged - onVideoStopped + OnVideoStopped - onFirstLocalAudioFramePublished + OnFirstLocalAudioFramePublished - onFirstLocalVideoFramePublished + OnFirstLocalVideoFramePublished - onFirstLocalVideoFrame + OnFirstLocalVideoFrame - onAudioPublishStateChanged + OnAudioPublishStateChanged - onVideoPublishStateChanged + OnVideoPublishStateChanged @@ -4374,70 +4374,70 @@ - onAudioSubscribeStateChanged + OnAudioSubscribeStateChanged - onFirstRemoteVideoDecoded + OnFirstRemoteVideoDecoded - onFirstRemoteVideoFrame + OnFirstRemoteVideoFrame - onRemoteAudioStateChanged + OnRemoteAudioStateChanged - onRemoteVideoStateChanged + OnRemoteVideoStateChanged - onUserEnableLocalVideo + OnUserEnableLocalVideo - onUserEnableVideo + OnUserEnableVideo - onUserMuteVideo + OnUserMuteVideo - onVideoSizeChanged + OnVideoSizeChanged - onVideoSubscribeStateChanged + OnVideoSubscribeStateChanged @@ -4446,63 +4446,63 @@ - onRtcStats + OnRtcStats - onNetworkQuality + OnNetworkQuality - onLocalAudioStats + OnLocalAudioStats - onLocalVideoStats + OnLocalVideoStats - onRemoteAudioStats + OnRemoteAudioStats - onRemoteAudioTransportStats + OnRemoteAudioTransportStats - onRemoteVideoStats + OnRemoteVideoStats - onRemoteVideoTransportStats + OnRemoteVideoTransportStats - onAudioQuality + OnAudioQuality @@ -4518,42 +4518,42 @@ - onMetaData + OnMetaData - onPlayerCacheStats + OnPlayerCacheStats - onPlayerEvent + OnPlayerEvent - onPlayerPlaybackStats + OnPlayerPlaybackStats - onPlayerSourceStateChanged + OnPlayerSourceStateChanged - onPositionChanged + OnPositionChanged @@ -4574,14 +4574,14 @@ - onPlayBufferUpdated + OnPlayBufferUpdated - onPreloadEvent + OnPreloadEvent @@ -4595,14 +4595,14 @@ - onPlayerSrcInfoChanged + OnPlayerSrcInfoChanged - onPlayerInfoUpdated + OnPlayerInfoUpdated @@ -4627,28 +4627,28 @@ - onAudioMixingStateChanged + OnAudioMixingStateChanged - onAudioMixingFinished + OnAudioMixingFinished - onAudioEffectFinished + OnAudioEffectFinished - onAudioMixingPositionChanged + OnAudioMixingPositionChanged @@ -4665,7 +4665,7 @@ - onEncryptionError + OnEncryptionError @@ -4674,21 +4674,21 @@ - onRtmpStreamingEvent + OnRtmpStreamingEvent - onRtmpStreamingStateChanged + OnRtmpStreamingStateChanged - onTranscodingUpdated + OnTranscodingUpdated @@ -4697,7 +4697,7 @@ - onChannelMediaRelayStateChanged + OnChannelMediaRelayStateChanged @@ -4713,7 +4713,7 @@ - onActiveSpeaker + OnActiveSpeaker @@ -4722,7 +4722,7 @@ - onFacePositionChanged + OnFacePositionChanged @@ -4731,7 +4731,7 @@ - onAudioRoutingChanged + OnAudioRoutingChanged @@ -4740,7 +4740,7 @@ - onRemoteSubscribeFallbackToAudioOnly + OnRemoteSubscribeFallbackToAudioOnly @@ -4749,14 +4749,14 @@ - onLastmileQuality + OnLastmileQuality - onLastmileProbeResult + OnLastmileProbeResult @@ -4950,21 +4950,21 @@ - onCameraFocusAreaChanged + OnCameraFocusAreaChanged - onCameraExposureAreaChanged + OnCameraExposureAreaChanged - onCameraReady + OnCameraReady @@ -4973,21 +4973,21 @@ - onAudioDeviceStateChanged + OnAudioDeviceStateChanged - onAudioDeviceVolumeChanged + OnAudioDeviceVolumeChanged - onVideoDeviceStateChanged + OnVideoDeviceStateChanged @@ -4996,14 +4996,14 @@ - onStreamMessage + OnStreamMessage - onStreamMessageError + OnStreamMessageError @@ -5012,7 +5012,7 @@ - onSnapshotTaken + OnSnapshotTaken @@ -5074,7 +5074,7 @@ - onRhythmPlayerStateChanged + OnRhythmPlayerStateChanged @@ -5083,14 +5083,14 @@ - onLocalVideoTranscoderError + OnLocalVideoTranscoderError - onTranscodedStreamLayoutInfo + OnTranscodedStreamLayoutInfo @@ -5099,7 +5099,7 @@ - onPermissionError + OnPermissionError @@ -5113,7 +5113,7 @@ - onProxyConnected + OnProxyConnected @@ -5130,7 +5130,7 @@ - AudioRecordingConfiguration + FAudioRecordingConfiguration @@ -5172,7 +5172,7 @@ - AudioVolumeInfo + FAudioVolumeInfo @@ -5186,49 +5186,49 @@ - BeautyOptions + FBeautyOptions - CameraCapturerConfiguration + FCameraCapturerConfiguration - CacheStatistics + FCacheStatistics - ChannelMediaInfo + FChannelMediaInfo - ChannelMediaOptions + FChannelMediaOptions - ChannelMediaRelayConfiguration + FChannelMediaRelayConfiguration - ClientRoleOptions + FClientRoleOptions @@ -5249,49 +5249,49 @@ - ContentInspectConfig + FContentInspectConfig - CodecCapInfo + FCodecCapInfo - CodecCapLevels + FCodecCapLevels - ColorEnhanceOptions + FColorEnhanceOptions - ContentInspectModule + FContentInspectModule - DataStreamConfig + FDataStreamConfig - DeviceInfo + FDeviceInfo @@ -5305,14 +5305,14 @@ - DirectCdnStreamingStats + FDirectCdnStreamingStats - EchoTestConfiguration + FEchoTestConfiguration @@ -5333,14 +5333,14 @@ - EncryptionConfig + FEncryptionConfig - ExtensionContext + FExtensionContext @@ -5354,14 +5354,14 @@ - FocalLengthInfo + FFocalLengthInfo - ImageTrackOptions + FImageTrackOptions @@ -5375,56 +5375,56 @@ - LastmileProbeConfig + FLastmileProbeConfig - LastmileProbeOneWayResult + FLastmileProbeOneWayResult - LastmileProbeResult + FLastmileProbeResult - LeaveChannelOptions + FLeaveChannelOptions - LiveTranscoding + FLiveTranscoding - LiveStreamAdvancedFeature + FLiveStreamAdvancedFeature - LocalAccessPointConfiguration + FLocalAccessPointConfiguration - LocalAudioStats + FLocalAudioStats @@ -5438,14 +5438,14 @@ - LocalTranscoderConfiguration + FLocalTranscoderConfiguration - LocalVideoStats + FLocalVideoStats @@ -5459,7 +5459,7 @@ - LogUploadServerInfo + FLogUploadServerInfo @@ -5480,7 +5480,7 @@ - LowlightEnhanceOptions + FLowlightEnhanceOptions @@ -5550,21 +5550,21 @@ - PlayerPlaybackStats + FPlayerPlaybackStats - PlayerStreamInfo + FPlayerStreamInfo - PlayerUpdatedInfo + FPlayerUpdatedInfo @@ -5592,21 +5592,21 @@ - Rectangle + FRectangle - RemoteAudioStats + FRemoteAudioStats - RemoteVideoStats + FRemoteVideoStats @@ -5620,84 +5620,84 @@ - RtcConnection + FRtcConnection - RtcEngineContext + FRtcEngineContext - RtcImage + FRtcImage - RtcStats + FRtcStats - ScreenCaptureConfiguration + FScreenCaptureConfiguration - ScreenCaptureParameters + FScreenCaptureParameters - ScreenCaptureParameters2 + FScreenCaptureParameters2 - ScreenAudioParameters + FScreenAudioParameters - ScreenVideoParameters + FScreenVideoParameters - ScreenCaptureSourceInfo + FScreenCaptureSourceInfo - SegmentationProperty + FSegmentationProperty - SimulcastStreamConfig + FSimulcastStreamConfig @@ -5711,7 +5711,7 @@ - SpatialAudioParams + FSpatialAudioParams @@ -5725,35 +5725,35 @@ - SrcInfo + FSrcInfo - ThumbImageBuffer + FThumbImageBuffer - TranscodingUser + FTranscodingUser - TranscodingVideoStream + FTranscodingVideoStream - UplinkNetworkInfo + FUplinkNetworkInfo @@ -5767,42 +5767,42 @@ - UserInfo + FUserInfo - VideoCanvas + FVideoCanvas - VideoDenoiserOptions + FVideoDenoiserOptions - VideoDimensions + FVideoDimensions - VideoEncoderConfiguration + FVideoEncoderConfiguration - VideoFormat + FVideoFormat @@ -5816,49 +5816,49 @@ - VideoLayout + FVideoLayout - VideoRenderingTracingInfo + FVideoRenderingTracingInfo - VideoSubscriptionOptions + FVideoSubscriptionOptions - VirtualBackgroundSource + FVirtualBackgroundSource - WatermarkOptions + FWatermarkOptions - WatermarkRatio + FWatermarkRatio - WATERMARK_FIT_MODE + EWATERMARK_FIT_MODE @@ -5979,7 +5979,7 @@ - AUDIENCE_LATENCY_LEVEL_TYPE + EAUDIENCE_LATENCY_LEVEL_TYPE @@ -6000,7 +6000,7 @@ - AUDIO_AINS_MODE + EAUDIO_AINS_MODE @@ -6028,7 +6028,7 @@ - AUDIO_CODEC_PROFILE_TYPE + EAUDIO_CODEC_PROFILE_TYPE @@ -6119,7 +6119,7 @@ - AUDIO_ENCODED_FRAME_OBSERVER_POSITION + EAUDIO_ENCODED_FRAME_OBSERVER_POSITION @@ -6231,7 +6231,7 @@ - AUDIO_EFFECT_PRESET + FENUMWRAP_AUDIO_EFFECT_PRESET @@ -6245,7 +6245,7 @@ - BACKGROUND_BLUR_DEGREE + EBACKGROUND_BLUR_DEGREE @@ -6273,7 +6273,7 @@ - BACKGROUND_SOURCE_TYPE + EBACKGROUND_SOURCE_TYPE @@ -6350,7 +6350,7 @@ - CAMERA_STABILIZATION_MODE + FENUMWRAP_CAMERA_STABILIZATION_MODE @@ -6497,7 +6497,7 @@ - CONTENT_INSPECT_TYPE + ECONTENT_INSPECT_TYPE @@ -6532,7 +6532,7 @@ - COMPRESSION_PREFERENCE + ECOMPRESSION_PREFERENCE @@ -6588,7 +6588,7 @@ - EXTERNAL_VIDEO_SOURCE_TYPE + EEXTERNAL_VIDEO_SOURCE_TYPE @@ -6749,7 +6749,7 @@ - ENCODING_PREFERENCE + FENUMWRAP_ENCODING_PREFERENCE @@ -6777,7 +6777,7 @@ - AUDIO_EQUALIZATION_BAND_FREQUENCY + EAUDIO_EQUALIZATION_BAND_FREQUENCY @@ -6903,7 +6903,7 @@ - AUDIO_DUAL_MONO_MODE + EAUDIO_DUAL_MONO_MODE @@ -6938,7 +6938,7 @@ - AUDIO_MIXING_DUAL_MONO_MODE + EAUDIO_MIXING_DUAL_MONO_MODE @@ -6973,7 +6973,7 @@ - AUDIO_MIXING_REASON_TYPE + FENUMWRAP_AUDIO_MIXING_REASON_TYPE @@ -7057,7 +7057,7 @@ - AUDIO_MIXING_STATE_TYPE + FENUMWRAP_AUDIO_MIXING_STATE_TYPE @@ -7127,7 +7127,7 @@ - AUDIO_PROFILE_TYPE + EAUDIO_PROFILE_TYPE @@ -7211,7 +7211,7 @@ - AUDIO_FILE_RECORDING_TYPE + EAUDIO_FILE_RECORDING_TYPE @@ -7239,7 +7239,7 @@ - AUDIO_RECORDING_QUALITY_TYPE + EAUDIO_RECORDING_QUALITY_TYPE @@ -7414,7 +7414,7 @@ - AUDIO_REVERB_TYPE + EAUDIO_REVERB_TYPE @@ -7575,7 +7575,7 @@ - AUDIO_SCENARIO_TYPE + EAUDIO_SCENARIO_TYPE @@ -7624,7 +7624,7 @@ - AUDIO_SESSION_OPERATION_RESTRICTION + EAUDIO_SESSION_OPERATION_RESTRICTION @@ -7687,7 +7687,7 @@ - CONNECTION_STATE_TYPE + ECONNECTION_STATE_TYPE @@ -7729,7 +7729,7 @@ - CONNECTION_CHANGED_REASON_TYPE + ECONNECTION_CHANGED_REASON_TYPE @@ -7883,7 +7883,7 @@ - CAMERA_DIRECTION + ECAMERA_DIRECTION @@ -7904,7 +7904,7 @@ - CAMERA_FOCAL_LENGTH_TYPE + ECAMERA_FOCAL_LENGTH_TYPE @@ -7939,7 +7939,7 @@ - CAPTURE_BRIGHTNESS_LEVEL_TYPE + FENUMWRAP_CAPTURE_BRIGHTNESS_LEVEL_TYPE @@ -8135,7 +8135,7 @@ - CHANNEL_PROFILE_TYPE + ECHANNEL_PROFILE_TYPE @@ -8170,7 +8170,7 @@ - CLIENT_ROLE_TYPE + ECLIENT_ROLE_TYPE @@ -8191,7 +8191,7 @@ - CLIENT_ROLE_CHANGE_FAILED_REASON + ECLIENT_ROLE_CHANGE_FAILED_REASON @@ -8226,7 +8226,7 @@ - CLOUD_PROXY_TYPE + ECLOUD_PROXY_TYPE @@ -8254,7 +8254,7 @@ - PROXY_TYPE + EPROXY_TYPE @@ -8296,7 +8296,7 @@ - DEGRADATION_PREFERENCE + EDEGRADATION_PREFERENCE @@ -8331,7 +8331,7 @@ - DIRECT_CDN_STREAMING_REASON + EDIRECT_CDN_STREAMING_REASON @@ -8380,7 +8380,7 @@ - DIRECT_CDN_STREAMING_STATE + EDIRECT_CDN_STREAMING_STATE @@ -8422,7 +8422,7 @@ - ENCRYPTION_ERROR_TYPE + EENCRYPTION_ERROR_TYPE @@ -8800,7 +8800,7 @@ - ENCRYPTION_MODE + EENCRYPTION_MODE @@ -8933,7 +8933,7 @@ - FeatureType + EFeatureType @@ -9010,7 +9010,7 @@ - HEADPHONE_EQUALIZER_PRESET + FENUMWRAP_HEADPHONE_EQUALIZER_PRESET @@ -9080,7 +9080,7 @@ - LASTMILE_PROBE_RESULT_STATE + ELASTMILE_PROBE_RESULT_STATE @@ -9108,7 +9108,7 @@ - LIGHTENING_CONTRAST_LEVEL + ELIGHTENING_CONTRAST_LEVEL @@ -9136,7 +9136,7 @@ - LOCAL_AUDIO_STREAM_REASON + ELOCAL_AUDIO_STREAM_REASON @@ -9220,7 +9220,7 @@ - LOCAL_AUDIO_STREAM_STATE + ELOCAL_AUDIO_STREAM_STATE @@ -9255,7 +9255,7 @@ - LOCAL_PROXY_MODE + ELOCAL_PROXY_MODE @@ -9276,7 +9276,7 @@ - LOCAL_VIDEO_STREAM_REASON + ELOCAL_VIDEO_STREAM_REASON @@ -9472,7 +9472,7 @@ - LOCAL_VIDEO_STREAM_STATE + ELOCAL_VIDEO_STREAM_STATE @@ -9577,7 +9577,7 @@ - LOG_LEVEL + ELOG_LEVEL @@ -9619,7 +9619,7 @@ - LOW_LIGHT_ENHANCE_MODE + ELOW_LIGHT_ENHANCE_MODE @@ -9640,7 +9640,7 @@ - LOW_LIGHT_ENHANCE_LEVEL + ELOW_LIGHT_ENHANCE_LEVEL @@ -9759,7 +9759,7 @@ - MEDIA_DEVICE_TYPE + FENUMWRAP_MEDIA_DEVICE_TYPE @@ -9822,7 +9822,7 @@ - MEDIA_PLAYER_REASON + FENUMWRAP_MEDIA_PLAYER_REASON @@ -9955,7 +9955,7 @@ - MEDIA_PLAYER_EVENT + EMEDIA_PLAYER_EVENT @@ -10081,7 +10081,7 @@ - MEDIA_PLAYER_STATE + EMEDIA_PLAYER_STATE @@ -10151,7 +10151,7 @@ - MEDIA_SOURCE_TYPE + EMEDIA_SOURCE_TYPE @@ -10207,7 +10207,7 @@ - MEDIA_TRACE_EVENT + EMEDIA_TRACE_EVENT @@ -10228,7 +10228,7 @@ - MEDIA_STREAM_TYPE + EMEDIA_STREAM_TYPE @@ -10382,7 +10382,7 @@ - NETWORK_TYPE + FENUMWRAP_NETWORK_TYPE @@ -10445,7 +10445,7 @@ - ORIENTATION_MODE + EORIENTATION_MODE @@ -10508,7 +10508,7 @@ - PERMISSION_TYPE + EPERMISSION_TYPE @@ -10536,7 +10536,7 @@ - PLAYER_PRELOAD_EVENT + EPLAYER_PRELOAD_EVENT @@ -10585,7 +10585,7 @@ - QUALITY_ADAPT_INDICATION + EQUALITY_ADAPT_INDICATION @@ -10704,7 +10704,7 @@ - RAW_AUDIO_FRAME_OP_MODE_TYPE + ERAW_AUDIO_FRAME_OP_MODE_TYPE @@ -10725,7 +10725,7 @@ - REMOTE_AUDIO_STATE + EREMOTE_AUDIO_STATE @@ -10767,7 +10767,7 @@ - REMOTE_VIDEO_STATE + EREMOTE_VIDEO_STATE @@ -10809,7 +10809,7 @@ - REMOTE_AUDIO_STATE_REASON + EREMOTE_AUDIO_STATE_REASON @@ -10872,7 +10872,7 @@ - REMOTE_VIDEO_STATE_REASON + EREMOTE_VIDEO_STATE_REASON @@ -10963,7 +10963,7 @@ - VIDEO_STREAM_TYPE + EVIDEO_STREAM_TYPE @@ -10984,28 +10984,28 @@ - AdvancedAudioOptions + FAdvancedAudioOptions - AdvanceOptions + FAdvanceOptions - AdvancedConfigInfo + FAdvancedConfigInfo - AgoraRhythmPlayerConfig + FAgoraRhythmPlayerConfig @@ -11082,7 +11082,7 @@ - RENDER_MODE_TYPE + ERENDER_MODE_TYPE @@ -11131,7 +11131,7 @@ - RTMP_STREAM_PUBLISH_REASON + ERTMP_STREAM_PUBLISH_REASON @@ -11250,7 +11250,7 @@ - RTMP_STREAM_PUBLISH_STATE + ERTMP_STREAM_PUBLISH_STATE @@ -11299,7 +11299,7 @@ - RTMP_STREAMING_EVENT + ERTMP_STREAMING_EVENT @@ -11334,7 +11334,7 @@ - RHYTHM_PLAYER_STATE_TYPE + FENUMWRAP_RHYTHM_PLAYER_STATE_TYPE @@ -11376,7 +11376,7 @@ - RHYTHM_PLAYER_REASON + FENUMWRAP_RHYTHM_PLAYER_REASON @@ -11418,7 +11418,7 @@ - SIMULCAST_STREAM_MODE + FENUMWRAP_SIMULCAST_STREAM_MODE @@ -11446,7 +11446,7 @@ - STREAM_FALLBACK_OPTIONS + ESTREAM_FALLBACK_OPTIONS @@ -11593,7 +11593,7 @@ - ScreenCaptureSourceType + FENUMWRAP_ScreenCaptureSourceType @@ -11628,7 +11628,7 @@ - SEG_MODEL_TYPE + ESEG_MODEL_TYPE @@ -11649,7 +11649,7 @@ - STREAM_PUBLISH_STATE + ESTREAM_PUBLISH_STATE @@ -11684,7 +11684,7 @@ - SCREEN_SCENARIO_TYPE + ESCREEN_SCENARIO_TYPE @@ -11719,7 +11719,7 @@ - STREAM_SUBSCRIBE_STATE + ESTREAM_SUBSCRIBE_STATE @@ -11754,7 +11754,7 @@ - USER_OFFLINE_REASON_TYPE + EUSER_OFFLINE_REASON_TYPE @@ -11782,7 +11782,7 @@ - VIDEO_APPLICATION_SCENARIO_TYPE + EVIDEO_APPLICATION_SCENARIO_TYPE @@ -11866,7 +11866,7 @@ - VIDEO_DENOISER_MODE + EVIDEO_DENOISER_MODE @@ -11887,7 +11887,7 @@ - VIDEO_DENOISER_LEVEL + EVIDEO_DENOISER_LEVEL @@ -11915,7 +11915,7 @@ - VIDEO_SOURCE_TYPE + EVIDEO_SOURCE_TYPE @@ -12055,7 +12055,7 @@ - VIDEO_CODEC_CAPABILITY_LEVEL + FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL @@ -12097,7 +12097,7 @@ - VIDEO_CODEC_PROFILE_TYPE + EVIDEO_CODEC_PROFILE_TYPE @@ -12125,7 +12125,7 @@ - VIDEO_CODEC_TYPE + EVIDEO_CODEC_TYPE @@ -12195,7 +12195,7 @@ - VIDEO_CODEC_TYPE_FOR_STREAM + EVIDEO_CODEC_TYPE_FOR_STREAM @@ -12216,7 +12216,7 @@ - VIDEO_CONTENT_HINT + EVIDEO_CONTENT_HINT @@ -12314,7 +12314,7 @@ - VIDEO_MIRROR_MODE_TYPE + EVIDEO_MIRROR_MODE_TYPE @@ -12342,7 +12342,7 @@ - VIDEO_MODULE_POSITION + EVIDEO_MODULE_POSITION @@ -12377,7 +12377,7 @@ - VIDEO_ORIENTATION + FENUMWRAP_VIDEO_ORIENTATION @@ -13007,7 +13007,7 @@ - VIDEO_VIEW_SETUP_MODE + EVIDEO_VIEW_SETUP_MODE @@ -13035,7 +13035,7 @@ - VIDEO_TRANSCODER_ERROR + EVIDEO_TRANSCODER_ERROR @@ -13168,7 +13168,7 @@ - VOICE_BEAUTIFIER_PRESET + FENUMWRAP_VOICE_BEAUTIFIER_PRESET @@ -13469,7 +13469,7 @@ - VOICE_CONVERSION_PRESET + FENUMWRAP_VOICE_CONVERSION_PRESET From 65e4322809e61664f81029f1e8bfab76ceb5713b Mon Sep 17 00:00:00 2001 From: jinyu Date: Thu, 15 Aug 2024 14:24:47 +0800 Subject: [PATCH 09/25] 2.2 add ue bp only api --- dita/RTC-NG/API/api_createagorartcengine.dita | 4 +- ...icemanager_getagoraaudiodevicemanager.dita | 45 +++++++++++++++++++ ...iaplayer_registerplayersourceobserver.dita | 4 +- .../API/api_irtcengine_createmediaplayer.dita | 4 +- .../api_irtcengine_destroymediaplayer.dita | 4 +- ...icemanager_getagoravideodevicemanager.dita | 45 +++++++++++++++++++ .../RTC-NG/API/class_iaudiodevicemanager.dita | 3 +- .../RTC-NG/API/class_ivideodevicemanager.dita | 3 +- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 6 ++- .../config/keys-rtc-ng-api-blueprint.ditamap | 34 +++++++++----- 10 files changed, 131 insertions(+), 21 deletions(-) create mode 100644 dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita create mode 100644 dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita diff --git a/dita/RTC-NG/API/api_createagorartcengine.dita b/dita/RTC-NG/API/api_createagorartcengine.dita index 0dc5a8a2414..6560899ffc5 100644 --- a/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/dita/RTC-NG/API/api_createagorartcengine.dita @@ -17,7 +17,9 @@ AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine () - static AgoraUERtcEngine* Get(); + static AgoraUERtcEngine* Get(); + UFUNCTION(BlueprintPure, Category = "Agora|IRtcEngine") + static UAgoraBPuRtcEngine* GetAgoraRtcEngine(); export function createAgoraRtcEngine(): IRtcEngineEx { return instance; } diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita new file mode 100644 index 00000000000..1152d47a2f3 --- /dev/null +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita @@ -0,0 +1,45 @@ + + + + <ph keyref="GetAgoraAudioDeviceManager"/> + 创建音频设备管理对象。 + + + + + + + + +
    +

    + + + + + UFUNCTION(BlueprintPure, Category = "Agora|IAudioDeviceManager") + static UAgoraBPuAudioDeviceManager* GetAgoraAudioDeviceManager(); + + + +

    +
    +
    +

    在调用 类下的其他 API 前,你需要先调用该方法创建一个音频设备管理对象。如需销毁 对象,请调用

    +
    +
    + 调用时机 +

    该方法在加入频道前后均可调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    + <ph keyref="return-section-title"/> +
      +
    • 方法调用成功:返回 对象。
    • +
    • 方法调用失败:返回空指针。
    • +
    +
    +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index 9a41cbda07d..1d2cdffa478 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -18,8 +18,8 @@ virtual int registerPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") - int RegisterPlayerSourceObserver(UIMediaPlayerSourceObserver* observer); + UFUNCTION(BlueprintPure, Category = "Agora|IRtcEngine") + UAgoraBPuIMediaPlayerSourceObserver* GetMediaPlayerSourceObserver(); abstract registerPlayerSourceObserver( observer: IMediaPlayerSourceObserver ): number; diff --git a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita index 02a77b82f5c..17e33987f45 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -18,8 +18,8 @@ - (id<AgoraRtcMediaPlayerProtocol>_Nullable)createMediaPlayerWithDelegate: (id<AgoraRtcMediaPlayerDelegate>_Nullable)delegate; virtual agora_refptr <IMediaPlayer> createMediaPlayer() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - UIMediaPlayer* CreateMediaPlayer(); + UFUNCTION(BlueprintPure, Category = "Agora|IAgoraMediaPlayer") + static UAgoraBPuMediaPlayer* GetAgoraMediaPlayer(); abstract createMediaPlayer(): IMediaPlayer; public abstract IMediaPlayer CreateMediaPlayer(); abstract createMediaPlayer(): IMediaPlayer; diff --git a/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita index 4c5bf4c97e8..3906778b2b6 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita @@ -19,8 +19,8 @@ - (int)destroyMediaPlayer:(id<AgoraRtcMediaPlayerProtocol>_Nullable)mediaPlayer; virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int DestroyMediaPlayer(UIMediaPlayer* media_player); + UFUNCTION(BlueprintCallable, Category = "Agora|IAgoraMediaPlayer") +void Release(); abstract destroyMediaPlayer(mediaPlayer: IMediaPlayer): number; public abstract int DestroyMediaPlayer(IMediaPlayer mediaPlayer); abstract destroyMediaPlayer(mediaPlayer: IMediaPlayer): number; diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita b/dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita new file mode 100644 index 00000000000..9ea5884ae5b --- /dev/null +++ b/dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita @@ -0,0 +1,45 @@ + + + + <ph keyref="GetAgoraVideoDeviceManager"/> + 创建视频设备管理对象。 + + + + + + + + +
    +

    + + + + + UFUNCTION(BlueprintPure, Category = "Agora|IVideoDeviceManager") + static UAgoraBPuVideoDeviceManager* GetAgoraVideoDeviceManager(); + + + +

    +
    +
    +

    在调用 类下的其他 API 前,你需要先调用该方法创建一个视频设备管理对象。如需销毁 对象,请调用

    +
    +
    + 调用时机 +

    该方法在加入频道前后均可调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    + <ph keyref="return-section-title"/> +
      +
    • 方法调用成功:返回 对象。
    • +
    • 方法调用失败:返回空指针。
    • +
    +
    +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/class_iaudiodevicemanager.dita b/dita/RTC-NG/API/class_iaudiodevicemanager.dita index 62416b0593a..e7801ca061c 100644 --- a/dita/RTC-NG/API/class_iaudiodevicemanager.dita +++ b/dita/RTC-NG/API/class_iaudiodevicemanager.dita @@ -5,7 +5,8 @@ 音频设备管理方法。
    -

    接口类提供用于测试音频设备的相关接口。你可以通过调用 方法来获取 接口。

    +

    接口类提供用于测试音频设备的相关接口。你可以通过调用 方法来获取 接口。

    +

    接口类提供用于测试音频设备的相关接口。你可以通过调用 方法来获取 接口。

    \ No newline at end of file diff --git a/dita/RTC-NG/API/class_ivideodevicemanager.dita b/dita/RTC-NG/API/class_ivideodevicemanager.dita index d9054fab872..f3e297ca09d 100644 --- a/dita/RTC-NG/API/class_ivideodevicemanager.dita +++ b/dita/RTC-NG/API/class_ivideodevicemanager.dita @@ -5,7 +5,8 @@ 视频设备管理方法。
    -

    接口类提供用于测试视频设备的相关接口。你可以通过调用 方法来获取 接口。

    +

    接口类提供用于测试视频设备的相关接口。你可以通过调用 方法来获取 接口。

    +

    接口类提供用于测试视频设备的相关接口。你可以通过调用 方法来获取 接口。

    \ No newline at end of file diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 43aa63c1454..11c2cd8efa8 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -511,7 +511,7 @@ - + @@ -665,6 +665,7 @@ + @@ -710,6 +711,7 @@ + @@ -779,7 +781,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 4222f07e978..7f69d3b089d 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -314,11 +314,11 @@ - Get + GetAgoraRtcEngine - + create @@ -505,14 +505,14 @@ - createMediaPlayer + GetAgoraMediaPlayer - destroyMediaPlayer + Release @@ -722,7 +722,7 @@ - registerPlayerSourceObserver + GetMediaPlayerSourceObserver @@ -859,7 +859,7 @@ - + unregisterPlayerSourceObserver @@ -2370,14 +2370,14 @@ - + startDirectCdnStreaming - + stopDirectCdnStreaming @@ -3208,6 +3208,20 @@
    + + + + GetAgoraAudioDeviceManager + + + + + + + GetAgoraVideoDeviceManager + + + @@ -4132,7 +4146,7 @@ - + queryInterface @@ -5054,7 +5068,7 @@ - + From 329bb45d6ece7ff79238808201375851dbf3b440 Mon Sep 17 00:00:00 2001 From: jinyu Date: Thu, 15 Aug 2024 17:05:02 +0800 Subject: [PATCH 10/25] 2.3 ue bp script check --- dita/RTC-NG/API/class_mediasource.dita | 70 +- dita/RTC-NG/API/class_userinfo.dita | 2 +- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 103 +- .../config/keys-rtc-ng-api-blueprint.ditamap | 1043 ++--------------- .../config/keys-rtc-ng-api-unreal.ditamap | 154 --- 5 files changed, 229 insertions(+), 1143 deletions(-) diff --git a/dita/RTC-NG/API/class_mediasource.dita b/dita/RTC-NG/API/class_mediasource.dita index 5adda6d0bbf..8714519b3c1 100644 --- a/dita/RTC-NG/API/class_mediasource.dita +++ b/dita/RTC-NG/API/class_mediasource.dita @@ -49,24 +49,58 @@ USTRUCT(BlueprintType) struct FAgoraMediaSource { - GENERATED_BODY() - - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - FString url; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - FString uri; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - int startPos; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - bool autoPlay; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - bool enableCache; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - AGORAOPTIONAL isAgoraSource; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - AGORAOPTIONAL isLiveSource; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") - UIMediaPlayerCustomDataProvider* provider; + GENERATED_BODY() + +public: + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + FString url = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + FString uri = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + int64 startPos = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + bool autoPlay = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + bool enableCache = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + bool enableMultiAudioTrack = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + EAgoraOptional isAgoraSource = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") + EAgoraOptional isLiveSource = EAgoraOptional::AGORA_NULL_VALUE; + + FAgoraMediaSource(){} + FAgoraMediaSource(const agora::media::base::MediaSource & AgoraData){ + url = UTF8_TO_TCHAR(AgoraData.url); + uri = UTF8_TO_TCHAR(AgoraData.uri); + startPos = AgoraData.startPos; + autoPlay = AgoraData.autoPlay; + enableCache = AgoraData.enableCache; + enableMultiAudioTrack = AgoraData.enableMultiAudioTrack; + SET_UEBP_OPTIONAL_VAL_BOOL(this->isAgoraSource,AgoraData.isAgoraSource) + SET_UEBP_OPTIONAL_VAL_BOOL(this->isLiveSource, AgoraData.isLiveSource) + } + + agora::media::base::MediaSource CreateAgoraData() const { + agora::media::base::MediaSource AgoraData; + + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.url, url) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.uri, uri) + AgoraData.startPos = startPos; + AgoraData.autoPlay = autoPlay; + AgoraData.enableCache = enableCache; + AgoraData.enableMultiAudioTrack = enableMultiAudioTrack; + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isAgoraSource,isAgoraSource) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isLiveSource, isLiveSource) + return AgoraData; + } + + void FreeAgoraData(agora::media::base::MediaSource& AgoraData) const{ + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.url) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.uri) + } + }; export class MediaSource { diff --git a/dita/RTC-NG/API/class_userinfo.dita b/dita/RTC-NG/API/class_userinfo.dita index fa49b72012f..d2932d46f51 100644 --- a/dita/RTC-NG/API/class_userinfo.dita +++ b/dita/RTC-NG/API/class_userinfo.dita @@ -92,7 +92,7 @@ public: userAccount - 用户 Account。长度限制为 + 用户 Account。长度限制为
    diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index d0d717e3726..82ad33b7c0c 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -131,14 +131,14 @@
  • -
  • -
  • -
  • +
  • +
  • +
  • -
  • +
  • -
  • -
  • +
  • +
  • @@ -146,7 +146,7 @@
  • -
  • +
  • @@ -154,14 +154,14 @@
  • -
  • +
  • -
  • -
  • +
  • +
  • -
  • +
  • @@ -179,9 +179,9 @@
  • -
  • +
  • -
  • +
  • @@ -200,17 +200,17 @@
  • -
  • +
  • -
  • -
  • +
  • +
  • -
  • +
  • @@ -231,13 +231,13 @@
  • -
  • +
  • -
  • +
  • @@ -251,6 +251,7 @@ Enum
    • +
    • @@ -317,7 +318,6 @@
    • -
    • @@ -387,7 +387,6 @@
    • -
    • @@ -401,26 +400,26 @@
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • -
    • +
    • @@ -429,13 +428,13 @@
    • -
    • -
    • +
    • +
    • -
    • +
    • @@ -443,18 +442,18 @@
    • -
    • +
    • -
    • -
    • +
    • +
    • -
    • +
    • -
    • +
    • @@ -462,25 +461,24 @@
    • -
    • +
    • -
    • -
    • +
    • -
    • +
    • -
    • -
    • +
    • +
    • -
    • +
    • @@ -493,10 +491,10 @@
    • -
    • +
    • -
    • -
    • +
    • +
    • @@ -505,13 +503,13 @@
    • -
    • +
    • -
    • +
    • @@ -519,7 +517,7 @@
    • -
    • +
    • @@ -528,13 +526,12 @@
    • -
    • -
    • +
    • +
    • -
    • -
    • +
    • @@ -545,4 +542,4 @@
    - + \ No newline at end of file diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 7f69d3b089d..38457876be3 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -5148,35 +5148,35 @@ - + AudioFrame - + AudioParams - + AudioPcmFrame - + AudioEncodedFrameObserverConfig - + AudioSpectrumData @@ -5190,7 +5190,7 @@ - + AudioTrackConfig @@ -5246,7 +5246,7 @@ - + ClimaxSegment @@ -5309,7 +5309,7 @@ - + DirectCdnStreamingMediaOptions @@ -5330,14 +5330,14 @@ - + EncodedAudioFrameInfo - + EncodedVideoFrameInfo @@ -5358,7 +5358,7 @@ - + ExternalVideoFrame @@ -5477,7 +5477,7 @@ - + MediaRecorderConfiguration @@ -5487,7 +5487,7 @@ - MediaSource + FAgoraMediaSource @@ -5498,7 +5498,7 @@ - + Metadata @@ -5554,7 +5554,7 @@ - + Packet @@ -5582,14 +5582,14 @@ - + RecorderInfo - + RecorderStreamInfo @@ -5624,7 +5624,7 @@ - + RemoteVoicePositionInfo @@ -5771,7 +5771,7 @@ - + UserAudioSpectrumInfo @@ -5820,7 +5820,7 @@ - + VideoFrame @@ -5892,7 +5892,7 @@ - + ALPHA_STITCH_MODE @@ -6067,7 +6067,7 @@ - + AUDIO_CODEC_TYPE @@ -6158,7 +6158,7 @@ - + AUDIO_ENCODING_TYPE @@ -6403,7 +6403,7 @@ - + CODEC_CAP_MASK @@ -6564,7 +6564,7 @@ - + EAR_MONITORING_FILTER_TYPE @@ -6865,7 +6865,7 @@ - + AUDIO_FRAME_TYPE @@ -7117,7 +7117,7 @@ - + AUDIO_PROCESSING_CHANNELS @@ -7285,146 +7285,6 @@ - - - - AUDIO_REVERB_PRESET - - - - - - - AUDIO_REVERB_OFF - - - - - - - AUDIO_REVERB_FX_KTV - - - - - - - AUDIO_REVERB_FX_VOCAL_CONCERT - - - - - - - AUDIO_REVERB_FX_UNCLE - - - - - - - AUDIO_REVERB_FX_SISTER - - - - - - - AUDIO_REVERB_FX_STUDIO - - - - - - - AUDIO_REVERB_FX_POPULAR - - - - - - - AUDIO_REVERB_FX_RNB - - - - - - - AUDIO_REVERB_FX_PHONOGRAPH - - - - - - - AUDIO_REVERB_POPULAR - - - - - - - AUDIO_REVERB_RNB - - - - - - - AUDIO_REVERB_ROCK - - - - - - - AUDIO_REVERB_HIPHOP - - - - - - - AUDIO_REVERB_VOCAL_CONCERT - - - - - - - AUDIO_REVERB_KTV - - - - - - - AUDIO_REVERB_STUDIO - - - - - - - AUDIO_VIRTUAL_STEREO - - - - - - - AUDIO_ELECTRONIC_VOICE - - - - - - - AUDIO_THREEDIM_VOICE - - - @@ -7467,7 +7327,7 @@ - + AudioRoute @@ -7561,7 +7421,7 @@ - AUDIO_SAMPLE_RATE_TYPE + EAUDIO_SAMPLE_RATE_TYPE @@ -7677,7 +7537,7 @@ - + AUDIO_TRACK_TYPE @@ -8020,7 +7880,7 @@ - + CHANNEL_MEDIA_RELAY_ERROR @@ -8111,7 +7971,7 @@ - + CHANNEL_MEDIA_RELAY_STATE @@ -8881,7 +8741,7 @@ - + EXPERIENCE_POOR_REASON @@ -8923,7 +8783,7 @@ - + EXPERIENCE_QUALITY_TYPE @@ -8965,7 +8825,7 @@ - + FRAME_RATE @@ -9049,7 +8909,7 @@ - + MediaRecorderContainerFormat @@ -9063,7 +8923,7 @@ - + MediaRecorderStreamType @@ -9539,7 +9399,7 @@ - + LOG_FILTER_TYPE @@ -9672,13 +9532,6 @@ - - - - MAX_CHANNEL_ID_LENGTH_TYPE - - - @@ -9700,7 +9553,7 @@ - + MAX_USER_ACCOUNT_LENGTH_TYPE @@ -10071,7 +9924,7 @@ - + MEDIA_PLAYER_METADATA_TYPE @@ -10260,7 +10113,7 @@ - + METADATA_TYPE @@ -10645,7 +10498,7 @@ - + QUALITY_TYPE @@ -11023,7 +10876,7 @@ - + RecorderReasonCode @@ -11065,7 +10918,7 @@ - + RecorderState @@ -11121,7 +10974,7 @@ - + RTMP_STREAM_LIFE_CYCLE_TYPE @@ -11576,7 +11429,7 @@ - + SCREEN_CAPTURE_FRAMERATE_CAPABILITY @@ -11821,7 +11674,7 @@ - + VIDEO_BUFFER_TYPE @@ -12255,7 +12108,7 @@ - + VIDEO_FRAME_PROCESS_MODE @@ -12276,7 +12129,7 @@ - + VIDEO_FRAME_TYPE @@ -12423,7 +12276,7 @@ - + VIDEO_PIXEL_FORMAT @@ -12514,917 +12367,273 @@ - - - - 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 + EVIDEO_VIEW_SETUP_MODE - + - VIDEO_PROFILE_LANDSCAPE_360P_10 + VIDEO_VIEW_SETUP_REPLACE - + - VIDEO_PROFILE_LANDSCAPE_360P_11 + VIDEO_VIEW_SETUP_ADD - + - VIDEO_PROFILE_LANDSCAPE_480P + VIDEO_VIEW_SETUP_REMOVE - + - VIDEO_PROFILE_LANDSCAPE_480P_3 + EVIDEO_TRANSCODER_ERROR - + - VIDEO_PROFILE_LANDSCAPE_480P_4 + VT_ERR_OK - + - VIDEO_PROFILE_LANDSCAPE_480P_6 + VT_ERR_VIDEO_SOURCE_NOT_READY - + - VIDEO_PROFILE_LANDSCAPE_480P_8 + VT_ERR_INVALID_VIDEO_SOURCE_TYPE - + - VIDEO_PROFILE_LANDSCAPE_480P_9 + VT_ERR_INVALID_IMAGE_PATH - + - VIDEO_PROFILE_LANDSCAPE_480P_10 + VT_ERR_UNSUPPORT_IMAGE_FORMAT - + - VIDEO_PROFILE_LANDSCAPE_720P + VT_ERR_INVALID_LAYOUT - + - VIDEO_PROFILE_LANDSCAPE_720P_3 + VT_ERR_INTERNAL - + - VIDEO_PROFILE_LANDSCAPE_720P_5 + VOICE_AI_TUNER_TYPE - + - VIDEO_PROFILE_LANDSCAPE_720P_6 + VOICE_AI_TUNER_MATURE_MALE - + - VIDEO_PROFILE_LANDSCAPE_1080P + VOICE_AI_TUNER_FRESH_MALE - + - VIDEO_PROFILE_LANDSCAPE_1080P_3 + VOICE_AI_TUNER_ELEGANT_FEMALE - + - VIDEO_PROFILE_LANDSCAPE_1080P_5 + VOICE_AI_TUNER_SWEET_FEMALE - + - VIDEO_PROFILE_LANDSCAPE_1440P + VOICE_AI_TUNER_WARM_MALE_SINGING - + - VIDEO_PROFILE_LANDSCAPE_1440P_2 + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING - + - VIDEO_PROFILE_LANDSCAPE_4K + VOICE_AI_TUNER_HUSKY_MALE_SINGING - + - VIDEO_PROFILE_LANDSCAPE_4K_3 + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING - + - VIDEO_PROFILE_PORTRAIT_120P + VOICE_AI_TUNER_POWERFUL_MALE_SINGING - + - VIDEO_PROFILE_PORTRAIT_120P_3 + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING - + - VIDEO_PROFILE_PORTRAIT_180P + FENUMWRAP_VOICE_BEAUTIFIER_PRESET - + - VIDEO_PROFILE_PORTRAIT_180P_3 + VOICE_BEAUTIFIER_OFF - + - VIDEO_PROFILE_PORTRAIT_180P_4 + CHAT_BEAUTIFIER_MAGNETIC - + - VIDEO_PROFILE_PORTRAIT_240P + CHAT_BEAUTIFIER_FRESH - + - VIDEO_PROFILE_PORTRAIT_240P_3 + CHAT_BEAUTIFIER_VITALITY - + - VIDEO_PROFILE_PORTRAIT_240P_4 + SINGING_BEAUTIFIER - + - VIDEO_PROFILE_PORTRAIT_360P + TIMBRE_TRANSFORMATION_VIGOROUS - + - VIDEO_PROFILE_PORTRAIT_360P_3 + TIMBRE_TRANSFORMATION_DEEP - + - VIDEO_PROFILE_PORTRAIT_360P_4 + TIMBRE_TRANSFORMATION_MELLOW - + - VIDEO_PROFILE_PORTRAIT_360P_6 + TIMBRE_TRANSFORMATION_FALSETTO - + - VIDEO_PROFILE_PORTRAIT_360P_7 + TIMBRE_TRANSFORMATION_FULL - + - VIDEO_PROFILE_PORTRAIT_360P_8 + TIMBRE_TRANSFORMATION_CLEAR - + - VIDEO_PROFILE_PORTRAIT_360P_9 + TIMBRE_TRANSFORMATION_RESOUNDING - + - VIDEO_PROFILE_PORTRAIT_360P_10 + TIMBRE_TRANSFORMATION_RINGING - - - - 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 - - - - - - - EVIDEO_VIEW_SETUP_MODE - - - - - - - VIDEO_VIEW_SETUP_REPLACE - - - - - - - VIDEO_VIEW_SETUP_ADD - - - - - - - VIDEO_VIEW_SETUP_REMOVE - - - - - - - EVIDEO_TRANSCODER_ERROR - - - - - - - VT_ERR_OK - - - - - - - VT_ERR_VIDEO_SOURCE_NOT_READY - - - - - - - VT_ERR_INVALID_VIDEO_SOURCE_TYPE - - - - - - - VT_ERR_INVALID_IMAGE_PATH - - - - - - - VT_ERR_UNSUPPORT_IMAGE_FORMAT - - - - - - - VT_ERR_INVALID_LAYOUT - - - - - - - VT_ERR_INTERNAL - - - - - - - VOICE_AI_TUNER_TYPE - - - - - - - VOICE_AI_TUNER_MATURE_MALE - - - - - - - VOICE_AI_TUNER_FRESH_MALE - - - - - - - VOICE_AI_TUNER_ELEGANT_FEMALE - - - - - - - VOICE_AI_TUNER_SWEET_FEMALE - - - - - - - VOICE_AI_TUNER_WARM_MALE_SINGING - - - - - - - VOICE_AI_TUNER_GENTLE_FEMALE_SINGING - - - - - - - VOICE_AI_TUNER_HUSKY_MALE_SINGING - - - - - - - VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING - - - - - - - VOICE_AI_TUNER_POWERFUL_MALE_SINGING - - - - - - - VOICE_AI_TUNER_DREAMY_FEMALE_SINGING - - - - - - - FENUMWRAP_VOICE_BEAUTIFIER_PRESET - - - - - - - VOICE_BEAUTIFIER_OFF - - - - - - - CHAT_BEAUTIFIER_MAGNETIC - - - - - - - CHAT_BEAUTIFIER_FRESH - - - - - - - CHAT_BEAUTIFIER_VITALITY - - - - - - - SINGING_BEAUTIFIER - - - - - - - TIMBRE_TRANSFORMATION_VIGOROUS - - - - - - - TIMBRE_TRANSFORMATION_DEEP - - - - - - - TIMBRE_TRANSFORMATION_MELLOW - - - - - - - TIMBRE_TRANSFORMATION_FALSETTO - - - - - - - TIMBRE_TRANSFORMATION_FULL - - - - - - - TIMBRE_TRANSFORMATION_CLEAR - - - - - - - TIMBRE_TRANSFORMATION_RESOUNDING - - - - - - - TIMBRE_TRANSFORMATION_RINGING - - - - + ULTRA_HIGH_QUALITY_VOICE - - - - VOICE_CHANGER_PRESET - - - - - - - VOICE_CHANGER_OFF - - - - - - - VOICE_CHANGER_OLDMAN - - - - - - - VOICE_CHANGER_BABYBOY - - - - - - - VOICE_CHANGER_BABYGIRL - - - - - - - VOICE_CHANGER_ZHUBAJIE - - - - - - - VOICE_CHANGER_ETHEREAL - - - - - - - VOICE_CHANGER_HULK - - - - - - - VOICE_BEAUTY_VIGOROUS - - - - - - - VOICE_BEAUTY_DEEP - - - - - - - VOICE_BEAUTY_MELLOW - - - - - - - VOICE_BEAUTY_FALSETTO - - - - - - - VOICE_BEAUTY_FULL - - - - - - - VOICE_BEAUTY_CLEAR - - - - - - - VOICE_BEAUTY_RESOUNDING - - - - - - - VOICE_BEAUTY_RINGING - - - - - - - VOICE_BEAUTY_SPACIAL - - - - - - - GENERAL_BEAUTY_VOICE_MALE_MAGNETIC - - - - - - - GENERAL_BEAUTY_VOICE_FEMALE_FRESH - - - - - - - GENERAL_BEAUTY_VOICE_FEMALE_VITALITY - - - - + INTERFACE_ID_TYPE diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap index 78debba805e..7380987015b 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap @@ -9658,20 +9658,6 @@ - - - - MAX_CHANNEL_ID_LENGTH_TYPE - - - - - - - MAX_CHANNEL_ID_LENGTH - - - @@ -13270,146 +13256,6 @@ - - - - VOICE_CHANGER_PRESET - - - - - - - VOICE_CHANGER_OFF - - - - - - - VOICE_CHANGER_OLDMAN - - - - - - - VOICE_CHANGER_BABYBOY - - - - - - - VOICE_CHANGER_BABYGIRL - - - - - - - VOICE_CHANGER_ZHUBAJIE - - - - - - - VOICE_CHANGER_ETHEREAL - - - - - - - VOICE_CHANGER_HULK - - - - - - - VOICE_BEAUTY_VIGOROUS - - - - - - - VOICE_BEAUTY_DEEP - - - - - - - VOICE_BEAUTY_MELLOW - - - - - - - VOICE_BEAUTY_FALSETTO - - - - - - - VOICE_BEAUTY_FULL - - - - - - - VOICE_BEAUTY_CLEAR - - - - - - - VOICE_BEAUTY_RESOUNDING - - - - - - - VOICE_BEAUTY_RINGING - - - - - - - VOICE_BEAUTY_SPACIAL - - - - - - - GENERAL_BEAUTY_VOICE_MALE_MAGNETIC - - - - - - - GENERAL_BEAUTY_VOICE_FEMALE_FRESH - - - - - - - GENERAL_BEAUTY_VOICE_FEMALE_VITALITY - - - From 6e3e9b103134452cfde36f812917634fedfe58ac Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 14:26:08 +0800 Subject: [PATCH 11/25] Update rtc_api_overview.dita From 8ab388b3244aed9300e28be33a1184ceca222ab7 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 14:26:08 +0800 Subject: [PATCH 12/25] Update rtc_api_overview.dita From 5650b485487d6bf875bab6727e0078dfc5bf5e9b Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 31 Jul 2024 15:58:24 +0800 Subject: [PATCH 13/25] 1 --- dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita | 1 + dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index acdef404fb9..8fe85646904 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -86,6 +86,7 @@
  • (2):关闭本地视图的镜像模式。
  • 如果你使用前置摄像头,默认启动本地用户视图镜像模式;如果你使用后置摄像头,默认关闭本地视图镜像模式。 + 该参数不生效。如需实现镜像显示效果,请在 Unreal Engine 中进行镜像设置。 diff --git a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita index f9982c8dfd7..e96e5c55244 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita @@ -75,7 +75,7 @@

    远端用户视图的镜像模式,详见

    -

    远端用户视图的镜像模式: +

    远端用户视图的镜像模式:

    From d40e7444df9000b1561ce1be02497d4d99fca5ba Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 31 Jul 2024 15:59:13 +0800 Subject: [PATCH 14/25] Update api_irtcengine_setlocalrendermode2.dita --- dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita | 1 - 1 file changed, 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 8fe85646904..acdef404fb9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -86,7 +86,6 @@
  • (2):关闭本地视图的镜像模式。
  • 如果你使用前置摄像头,默认启动本地用户视图镜像模式;如果你使用后置摄像头,默认关闭本地视图镜像模式。 - 该参数不生效。如需实现镜像显示效果,请在 Unreal Engine 中进行镜像设置。
    From a1941c3c330f708fb6fde75cca6cd6ab72d05d9d Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 12:21:48 +0800 Subject: [PATCH 15/25] 3.2 fix publish errors --- ...tcengine_setvideoencoderconfiguration.dita | 2 +- ...ndler_onfirstlocalaudioframepublished.dita | 2 +- ...ndler_onfirstlocalvideoframepublished.dita | 2 +- .../class_cameracapturerconfiguration.dita | 2 +- .../RTC-NG/API/class_channelmediaoptions.dita | 8 +- dita/RTC-NG/API/class_mediasource.dita | 2 +- dita/RTC-NG/API/enum_videomoduleposition.dita | 6 +- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 8 +- dita/RTC-NG/API/rtc_api_overview.dita | 74 +++++------ dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 21 ++- dita/RTC-NG/RTC_NG_API_Unreal.ditamap | 1 - .../config/keys-rtc-ng-api-blueprint.ditamap | 42 +++--- .../config/relations-rtc-ng-api.ditamap | 121 +++++++++--------- 13 files changed, 144 insertions(+), 147 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita index 2f566f21e83..625ec4d64d2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita @@ -41,7 +41,7 @@
    调用限制
      -
    • 该方法和 方法均支持设置镜像效果,声网建议你仅选择一种方法进行设置,同时使用两种方法会导致镜像效果叠加从而造成设置镜像失败。
    • +
    • 该方法和 方法均支持设置镜像效果,声网建议你仅选择一种方法进行设置,同时使用两种方法会导致镜像效果叠加从而造成设置镜像失败。
    • 该方法的 config 参数设置是在理想网络状态下能达到的最大值。如果网络状态不好,视频引擎便不能使用该 config 渲染本地视频,它会自动降低到一个合适的视频参数设置。
    diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita index 42bf869f2b2..63f70836a1b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita @@ -41,7 +41,7 @@
  • 调用 (),再调用 () 后。
  • 调用 ,再调用 后。
  • 调用 成功向 SDK 推送音频帧后。
  • -
  • 调用 成功向 SDK 推送音频帧后。
  • +
  • 调用 成功向 SDK 推送音频帧后。
  • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita index 01d19c69bd1..31f76c4af58 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita @@ -45,7 +45,7 @@
  • 开启本地视频模块的情况下,调用 成功加入频道后。
  • 调用 (),再调用 () 后。
  • 调用 ,再调用 后。
  • -
  • 调用 成功向 SDK 推送视频帧后。
  • +
  • 调用 成功向 SDK 推送视频帧后。
  • diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 3225d05b102..93eb7ba746b 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -393,7 +393,7 @@ class CameraCapturerConfiguration { followEncodeDimensionRatio (可选)是否跟随 中设置的视频宽高比:
      -
    • :(默认) 跟随。SDK 会将采集到的视频按照已设置的视频宽高比进行裁剪,会同步改变本地预览画面、 中的视频画面。
    • +
    • :(默认) 跟随。SDK 会将采集到的视频按照已设置的视频宽高比进行裁剪,会同步改变本地预览画面、 中的视频画面
    • :不跟随。SDK不改变采集到的视频帧宽高比。
    diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index 2b764084728..7cd920f0af6 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -1480,7 +1480,7 @@ class ChannelMediaOptions { - + publishCustomAudioTrack 设置是否发布自定义采集的音频: @@ -1489,14 +1489,14 @@ class ChannelMediaOptions {
  • :不发布自定义采集到的音频。
  • - + publishCustomAudioTrackId 待发布的自定义音频轨道的 ID。默认值为 0。

    如果你已在 中设置了 sourceNumber 大于 1,SDK 会创建对应数量的自采集音频轨道,并从 0 开始为每一个音频轨道分配一个 ID。

    - + publishCustomVideoTrack 设置是否发布自定义采集的视频:
      @@ -1642,7 +1642,7 @@ class ChannelMediaOptions {
    • 仅当用户角色为 时,该参数生效。
    - + customVideoTrackId 调用 方法返回的视频轨道 ID。默认值为 0。 diff --git a/dita/RTC-NG/API/class_mediasource.dita b/dita/RTC-NG/API/class_mediasource.dita index 8714519b3c1..5878ebc74d2 100644 --- a/dita/RTC-NG/API/class_mediasource.dita +++ b/dita/RTC-NG/API/class_mediasource.dita @@ -274,7 +274,7 @@ public:

    仅当打开的媒体资源为直播流时,将 isLiveSource 设置为 后才可加快媒体资源的打开速度。

    - + provider

    自定义媒体资源文件的回调。详见

    diff --git a/dita/RTC-NG/API/enum_videomoduleposition.dita b/dita/RTC-NG/API/enum_videomoduleposition.dita index b54d3cf8b93..8c8579ed1ec 100644 --- a/dita/RTC-NG/API/enum_videomoduleposition.dita +++ b/dita/RTC-NG/API/enum_videomoduleposition.dita @@ -10,15 +10,15 @@ - 1: 本地采集视频数据并且经过前处理之后的位置,对应 回调。此处观测到的视频具备视频前处理的效果,可通过开启美颜、虚拟背景或水印等方式验证。 + 1: 本地采集视频数据并且经过前处理之后的位置,对应 回调。此处观测到的视频具备视频前处理的效果,可通过开启美颜、虚拟背景或水印等方式验证。 - 2: 接收远端发送的视频在渲染前的位置,对应 回调。 + 2: 接收远端发送的视频在渲染前的位置,对应 回调 - 4: 本地视频编码前的位置,对应 回调。此处观测到的视频具备视频前处理和编码前处理的效果:
      + 4: 本地视频编码前的位置,对应 回调。此处观测到的视频具备视频前处理和编码前处理的效果:
      • 对于视频前处理效果,可通过开启美颜、虚拟背景或水印等方式验证。
      • 对于编码前处理效果,可通过设置一个较低的帧率(例如 5 fps)验证。
      diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index 82ad33b7c0c..35ffcf238b9 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -224,7 +224,7 @@
    • -
    • +
    • @@ -440,8 +440,8 @@
    • -
    • -
    • +
    • +
    • @@ -492,7 +492,7 @@
    • -
    • +
    • diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 976c6042e18..23491dc1fb6 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -11,9 +11,9 @@ 方法/回调 描述 - + - + @@ -229,11 +229,11 @@ - + - + @@ -370,11 +370,11 @@ - + - + @@ -508,7 +508,7 @@ - + @@ -516,27 +516,27 @@ - + - + - + - + - + - + @@ -550,7 +550,7 @@
    -
    +
    原始音频数据 @@ -627,7 +627,7 @@
    -
    +
    已编码音频数据 @@ -656,7 +656,7 @@
    -
    +
    自定义音频采集和渲染 @@ -729,7 +729,7 @@
    -
    +
    音频频谱 @@ -789,11 +789,11 @@ - + - + @@ -1216,7 +1216,7 @@
    -
    +
    原始视频数据 @@ -1227,7 +1227,7 @@ - + @@ -1571,7 +1571,7 @@ - + @@ -1593,7 +1593,7 @@
    -
    +
    媒体播放器缓存 @@ -1807,19 +1807,19 @@ 方法/回调 描述 - + - + - + - + @@ -1843,7 +1843,7 @@ - + @@ -1859,11 +1859,11 @@ - + - + @@ -1975,7 +1975,7 @@
    -
    +
    直推 CDN @@ -2045,7 +2045,7 @@
    -
    +
    Metadata (SEI) @@ -2673,7 +2673,7 @@ - + @@ -2745,7 +2745,7 @@ - + @@ -2773,7 +2773,7 @@ - + @@ -2793,11 +2793,11 @@ - + - + diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 11c2cd8efa8..b3387c94e75 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -66,14 +66,14 @@ - + - + @@ -105,8 +105,8 @@ - - + + @@ -256,9 +256,9 @@ - + - + @@ -344,11 +344,11 @@ - + - + @@ -773,7 +773,7 @@ - + @@ -817,7 +817,6 @@ - - + \ No newline at end of file diff --git a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap index 9e53673ab90..af24969b303 100644 --- a/dita/RTC-NG/RTC_NG_API_Unreal.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Unreal.ditamap @@ -816,6 +816,5 @@ - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 38457876be3..9decec2bc4e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -318,7 +318,7 @@ - + create @@ -346,7 +346,7 @@ - + setClientRole [1/2] @@ -663,7 +663,7 @@ - + open @@ -1029,7 +1029,7 @@ - + AdjustCustomAudioPublishVolume @@ -1173,7 +1173,7 @@ - + startPreview [1/2] @@ -1187,7 +1187,7 @@ - + stopPreview [1/2] @@ -1229,14 +1229,14 @@ - + SetRemoteVideoSubscriptionOptions - + SetRemoteVideoSubscriptionOptionsEx @@ -1361,7 +1361,7 @@ - + leaveChannelEx [1/2] @@ -2225,7 +2225,7 @@ - + @@ -2349,21 +2349,21 @@ - + setLiveTranscoding - + SetDirectCdnStreamingAudioConfiguration - + SetDirectCdnStreamingVideoConfiguration @@ -2499,14 +2499,14 @@ - + enableDualStreamMode [1/2] - + @@ -2521,7 +2521,7 @@ - + setDualStreamMode [1/2] @@ -3640,7 +3640,7 @@ - + AdjustCustomAudioPlayoutVolume @@ -5722,7 +5722,7 @@ - + FSpatialAudioParams @@ -8202,7 +8202,7 @@ - + EDIRECT_CDN_STREAMING_REASON @@ -8251,7 +8251,7 @@ - + EDIRECT_CDN_STREAMING_STATE @@ -10568,7 +10568,7 @@ - + ERAW_AUDIO_FRAME_OP_MODE_TYPE diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index b49a666bf6c..cbed7d4d857 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2202,8 +2202,8 @@ - - + + @@ -2214,25 +2214,25 @@ - + - + - + - + - + - + @@ -2249,7 +2249,7 @@ - + @@ -2270,7 +2270,7 @@ - + @@ -2345,22 +2345,21 @@ - - + - + - + - - + + @@ -2410,11 +2409,11 @@ - - + + - + @@ -2448,20 +2447,20 @@ - + - - - + + + - + - + @@ -2487,7 +2486,7 @@ - + @@ -2508,7 +2507,7 @@ - + @@ -2527,8 +2526,8 @@ - - + + @@ -2588,6 +2587,7 @@ + @@ -2605,7 +2605,6 @@ - @@ -2618,7 +2617,7 @@ - + @@ -2777,9 +2776,9 @@ - + - + @@ -2793,22 +2792,22 @@ - + - - - + + + - + @@ -2882,9 +2881,9 @@ - + - + @@ -2921,7 +2920,7 @@ - + @@ -2940,11 +2939,11 @@ - + - + @@ -2962,7 +2961,7 @@ - + @@ -2990,18 +2989,18 @@ - + - + - - + + @@ -3013,11 +3012,11 @@ - + - + @@ -3027,7 +3026,7 @@ - + @@ -3036,7 +3035,7 @@ - + @@ -3047,7 +3046,7 @@ - + @@ -3082,7 +3081,7 @@ - + @@ -3117,7 +3116,7 @@ - + @@ -3136,7 +3135,7 @@ - + @@ -3182,22 +3181,22 @@ - + - + - + - + @@ -3256,7 +3255,7 @@ - + From 85e34762601ffdaf3dddf156db1a78d6c8cdf65b Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 12:28:59 +0800 Subject: [PATCH 16/25] 1 --- .../RTC-NG/API/class_channelmediaoptions.dita | 275 ++++++++++++------ dita/RTC-NG/API/class_mediasource.dita | 11 +- 2 files changed, 193 insertions(+), 93 deletions(-) diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index 7cd920f0af6..8f8fa61c888 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -880,91 +880,196 @@ class ChannelMediaOptions { 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 FChannelMediaOptions +{ + GENERATED_BODY() +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishSecondaryCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishThirdCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishFourthCameraTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishMicrophoneTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishScreenCaptureVideo = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishScreenCaptureAudio = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishSecondaryScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishThirdScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishFourthScreenTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishCustomAudioTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool publishCustomAudioTrackId_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int publishCustomAudioTrackId = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishCustomVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishEncodedVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishMediaPlayerAudioTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishMediaPlayerVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishTranscodedVideoTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishMixedAudioTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishLipSyncTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional autoSubscribeAudio = EAgoraOptional::AGORA_TRUE_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional autoSubscribeVideo = EAgoraOptional::AGORA_TRUE_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional enableAudioRecordingOrPlayout = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool publishMediaPlayerId_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int publishMediaPlayerId = 0; + 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 = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel = EAUDIENCE_LATENCY_LEVEL_TYPE::AUDIENCE_LATENCY_LEVEL_LOW_LATENCY; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool defaultVideoStreamType_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EVIDEO_STREAM_TYPE defaultVideoStreamType = EVIDEO_STREAM_TYPE::VIDEO_STREAM_HIGH; + 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 = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int audioDelayMs = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool mediaPlayerAudioDelayMs_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int mediaPlayerAudioDelayMs = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool token_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + FString token = ""; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional enableBuiltInMediaEncryption = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional publishRhythmPlayerTrack = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional isInteractiveAudience = EAgoraOptional::AGORA_NULL_VALUE; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + bool customVideoTrackId_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + int64 customVideoTrackId = 0; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|ChannelMediaOptions") + EAgoraOptional isAudioFilterable = EAgoraOptional::AGORA_NULL_VALUE; + + FChannelMediaOptions(){} + FChannelMediaOptions(const agora::rtc::ChannelMediaOptions & AgoraData){ + + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishCameraTrack, AgoraData.publishCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishSecondaryCameraTrack, AgoraData.publishSecondaryCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishThirdCameraTrack, AgoraData.publishThirdCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishFourthCameraTrack, AgoraData.publishFourthCameraTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMicrophoneTrack, AgoraData.publishMicrophoneTrack) +#if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishScreenCaptureVideo, AgoraData.publishScreenCaptureVideo) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishScreenCaptureAudio, AgoraData.publishScreenCaptureAudio) +#else + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishScreenTrack, AgoraData.publishScreenTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishSecondaryScreenTrack, AgoraData.publishSecondaryScreenTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishThirdScreenTrack, AgoraData.publishThirdScreenTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishFourthScreenTrack, AgoraData.publishFourthScreenTrack) +#endif + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishCustomAudioTrack, AgoraData.publishCustomAudioTrack) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->publishCustomAudioTrackId, AgoraData.publishCustomAudioTrackId) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishCustomVideoTrack, AgoraData.publishCustomVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishEncodedVideoTrack, AgoraData.publishEncodedVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMediaPlayerAudioTrack, AgoraData.publishMediaPlayerAudioTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMediaPlayerVideoTrack, AgoraData.publishMediaPlayerVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishTranscodedVideoTrack, AgoraData.publishTranscodedVideoTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishMixedAudioTrack, AgoraData.publishMixedAudioTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishLipSyncTrack, AgoraData.publishLipSyncTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->autoSubscribeAudio, AgoraData.autoSubscribeAudio) + SET_UEBP_OPTIONAL_VAL_BOOL(this->autoSubscribeVideo, AgoraData.autoSubscribeVideo) + SET_UEBP_OPTIONAL_VAL_BOOL(this->enableAudioRecordingOrPlayout, AgoraData.enableAudioRecordingOrPlayout) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->publishMediaPlayerId, AgoraData.publishMediaPlayerId) + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->clientRoleType,AgoraData.clientRoleType,static_cast<ECLIENT_ROLE_TYPE>(AgoraData.clientRoleType.value())) + + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->audienceLatencyLevel, AgoraData.audienceLatencyLevel, static_cast<EAUDIENCE_LATENCY_LEVEL_TYPE>(AgoraData.audienceLatencyLevel.value())) + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->defaultVideoStreamType, AgoraData.defaultVideoStreamType, static_cast<EVIDEO_STREAM_TYPE>(AgoraData.defaultVideoStreamType.value())) + SET_UEBP_OPTIONAL_VAL_ASSIGN_VAL(this->channelProfile, AgoraData.channelProfile, static_cast<ECHANNEL_PROFILE_TYPE>(AgoraData.channelProfile.value())) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->audioDelayMs, AgoraData.audioDelayMs) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->mediaPlayerAudioDelayMs, AgoraData.mediaPlayerAudioDelayMs) + + SET_UEBP_OPTIONAL_VAL_FString(this->token,AgoraData.token) + + SET_UEBP_OPTIONAL_VAL_BOOL(this->enableBuiltInMediaEncryption, AgoraData.enableBuiltInMediaEncryption) + SET_UEBP_OPTIONAL_VAL_BOOL(this->publishRhythmPlayerTrack, AgoraData.publishRhythmPlayerTrack) + SET_UEBP_OPTIONAL_VAL_BOOL(this->isInteractiveAudience, AgoraData.isInteractiveAudience) + SET_UEBP_OPTIONAL_VAL_DIR_ASSIGN(this->customVideoTrackId, AgoraData.customVideoTrackId) + SET_UEBP_OPTIONAL_VAL_BOOL(this->isAudioFilterable, AgoraData.isAudioFilterable) + } + agora::rtc::ChannelMediaOptions CreateAgoraData() const{ + agora::rtc::ChannelMediaOptions AgoraData; + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishCameraTrack, this->publishCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishSecondaryCameraTrack, this->publishSecondaryCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishThirdCameraTrack, this->publishThirdCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishFourthCameraTrack, this->publishFourthCameraTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMicrophoneTrack, this->publishMicrophoneTrack) +#if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishScreenCaptureVideo, this->publishScreenCaptureVideo) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishScreenCaptureAudio, this->publishScreenCaptureAudio) +#else + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishScreenTrack, this->publishScreenTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishSecondaryScreenTrack, this->publishSecondaryScreenTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishThirdScreenTrack, this->publishThirdScreenTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishFourthScreenTrack, this->publishFourthScreenTrack) +#endif + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishCustomAudioTrack, this->publishCustomAudioTrack) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.publishCustomAudioTrackId, this->publishCustomAudioTrackId) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishCustomVideoTrack, this->publishCustomVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishEncodedVideoTrack, this->publishEncodedVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMediaPlayerAudioTrack, this->publishMediaPlayerAudioTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMediaPlayerVideoTrack, this->publishMediaPlayerVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishTranscodedVideoTrack, this->publishTranscodedVideoTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishMixedAudioTrack, this->publishMixedAudioTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishLipSyncTrack, this->publishLipSyncTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.autoSubscribeAudio, this->autoSubscribeAudio) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.autoSubscribeVideo, this->autoSubscribeVideo) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enableAudioRecordingOrPlayout, this->enableAudioRecordingOrPlayout) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.publishMediaPlayerId, this->publishMediaPlayerId) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.clientRoleType, this->clientRoleType,static_cast<agora::rtc::CLIENT_ROLE_TYPE>(this->clientRoleType)) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.audienceLatencyLevel, this->audienceLatencyLevel, static_cast<agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE>(this->audienceLatencyLevel)) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.defaultVideoStreamType, this->defaultVideoStreamType, static_cast<agora::rtc::VIDEO_STREAM_TYPE>(this->defaultVideoStreamType)) + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.channelProfile, this->channelProfile, static_cast<agora::CHANNEL_PROFILE_TYPE>(this->channelProfile)) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.audioDelayMs, this->audioDelayMs) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.mediaPlayerAudioDelayMs, this->mediaPlayerAudioDelayMs) + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOALLOC(AgoraData.token, this->token) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.enableBuiltInMediaEncryption, this->enableBuiltInMediaEncryption) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.publishRhythmPlayerTrack, this->publishRhythmPlayerTrack) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isInteractiveAudience, this->isInteractiveAudience) + SET_AGORA_OPTIONAL_VAL_DIR_ASSIGN(AgoraData.customVideoTrackId, this->customVideoTrackId) + SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isAudioFilterable, this->isAudioFilterable) + return AgoraData; + } + void FreeAgoraData(agora::rtc::ChannelMediaOptions& AgoraData) const { + SET_AGORA_OPTIONAL_VAL_CHARPTR______MEMOFREE(AgoraData.token) + } +}; struct ChannelMediaOptions { Optional<bool> publishCameraTrack; Optional<bool> publishSecondaryCameraTrack; diff --git a/dita/RTC-NG/API/class_mediasource.dita b/dita/RTC-NG/API/class_mediasource.dita index 5878ebc74d2..3f74daf6ecd 100644 --- a/dita/RTC-NG/API/class_mediasource.dita +++ b/dita/RTC-NG/API/class_mediasource.dita @@ -50,9 +50,7 @@ struct FAgoraMediaSource { GENERATED_BODY() - public: - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") FString url = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") @@ -69,7 +67,7 @@ public: EAgoraOptional isAgoraSource = EAgoraOptional::AGORA_NULL_VALUE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|MediaSource") EAgoraOptional isLiveSource = EAgoraOptional::AGORA_NULL_VALUE; - + FAgoraMediaSource(){} FAgoraMediaSource(const agora::media::base::MediaSource & AgoraData){ url = UTF8_TO_TCHAR(AgoraData.url); @@ -80,8 +78,7 @@ public: enableMultiAudioTrack = AgoraData.enableMultiAudioTrack; SET_UEBP_OPTIONAL_VAL_BOOL(this->isAgoraSource,AgoraData.isAgoraSource) SET_UEBP_OPTIONAL_VAL_BOOL(this->isLiveSource, AgoraData.isLiveSource) - } - + } agora::media::base::MediaSource CreateAgoraData() const { agora::media::base::MediaSource AgoraData; @@ -93,14 +90,12 @@ public: AgoraData.enableMultiAudioTrack = enableMultiAudioTrack; SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isAgoraSource,isAgoraSource) SET_AGORA_OPTIONAL_VAL_BOOL(AgoraData.isLiveSource, isLiveSource) - return AgoraData; + return AgoraData; } - void FreeAgoraData(agora::media::base::MediaSource& AgoraData) const{ SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.url) SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.uri) } - }; export class MediaSource { From 62e16328d89df600270e8e71e06684f99f1c2d8a Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 14:36:22 +0800 Subject: [PATCH 17/25] 2.3 ue bp script check --- ...udiodevicecollection_getdefaultdevice.dita | 4 +-- .../api_iaudiodevicecollection_getdevice.dita | 4 +-- .../api_iaudiodevicecollection_setdevice.dita | 2 +- ...iaudiodevicemanager_getloopbackdevice.dita | 2 +- ...iaudiodevicemanager_getplaybackdevice.dita | 2 +- ...iodevicemanager_getplaybackdeviceinfo.dita | 4 +-- ...audiodevicemanager_getrecordingdevice.dita | 2 +- ...odevicemanager_getrecordingdeviceinfo.dita | 4 +-- ...iaudiodevicemanager_setloopbackdevice.dita | 2 +- ...iaudiodevicemanager_setplaybackdevice.dita | 2 +- ...audiodevicemanager_setrecordingdevice.dita | 2 +- ...api_irtcengine_createcustomvideotrack.dita | 2 +- ...pi_irtcengine_destroycustomvideotrack.dita | 2 +- ...rtcengine_disableaudiospectrummonitor.dita | 2 +- ...irtcengine_enableaudiospectrummonitor.dita | 2 +- ...engine_enablecustomaudiolocalplayback.dita | 3 +- ...rtcengine_getcurrentmonotonictimeinms.dita | 4 +-- ..._setearmonitoringaudioframeparameters.dita | 2 +- ...tcengine_setmixedaudioframeparameters.dita | 4 +-- ...ybackaudioframebeforemixingparameters.dita | 4 +-- ...ngine_setplaybackaudioframeparameters.dita | 4 +-- ...gine_setrecordingaudioframeparameters.dita | 4 +-- .../api_ivideodevicecollection_getdevice.dita | 4 +-- .../api_ivideodevicecollection_setdevice.dita | 2 +- .../api_ivideodevicemanager_getdevice.dita | 2 +- .../api_ivideodevicemanager_setdevice.dita | 2 +- ...llback_irtcengineeventhandler_onerror.dita | 5 ++-- .../class_cameracapturerconfiguration.dita | 2 +- dita/RTC-NG/API/rtc_api_data_type_unreal.dita | 4 +-- .../config/keys-rtc-ng-api-blueprint.ditamap | 28 +++++++++---------- 30 files changed, 57 insertions(+), 55 deletions(-) diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita index 1b8c4a92866..626942a756e 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita @@ -38,11 +38,11 @@ deviceName - 输出参数,系统默认的音频设备名称。最大长度为 + 输出参数,系统默认的音频设备名称。最大长度为 deviceId - 输出参数,系统默认的音频设备 ID。最大长度为 + 输出参数,系统默认的音频设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita index 9d3d75c506d..40fb5df8356 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita @@ -37,11 +37,11 @@ int GetDevice(int index, FString& deviceName, FString& deviceId); deviceName - 输出参数,设备名称。最大长度为 + 输出参数,设备名称。最大长度为 deviceId - 输出参数,设备 ID。最大长度为 + 输出参数,设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita index 988deae1dc6..711fce1c475 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita @@ -34,7 +34,7 @@ int SetDevice(const FString & deviceId); deviceId - 设备 ID。最大长度为 + 设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita index 02c145edb67..8eb39d2d327 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita @@ -38,7 +38,7 @@ deviceId - 输出参数,当前声卡采集设备的 ID。最大长度为 + 输出参数,当前声卡采集设备的 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita index e2a0f0a7acd..792e4c1e619 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita @@ -34,7 +34,7 @@ deviceId - 输出参数,当前音频播放设备的设备 ID。最大长度为 + 输出参数,当前音频播放设备的设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita index ddf8b5b1ba1..fe264ef1ece 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita @@ -34,11 +34,11 @@ deviceId - 输出参数,播放设备的设备 ID。最大长度为 + 输出参数,播放设备的设备 ID。最大长度为 deviceName - 输出参数,播放设备的设备名称。最大长度为 + 输出参数,播放设备的设备名称。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita index 22d07ce118b..d6cbc625847 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita @@ -34,7 +34,7 @@ deviceId - 输出参数。当前采集设备的设备 ID。最大长度为 + 输出参数。当前采集设备的设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita index c6fb5f47ab1..270755b5ff5 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita @@ -34,11 +34,11 @@ deviceId - 输出参数,播放设备的设备 ID。最大长度为 + 输出参数,播放设备的设备 ID。最大长度为 deviceName - 输出参数,播放设备的设备名称。最大长度为 + 输出参数,播放设备的设备名称。最大长度为
    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita index d914b6ab958..d8fc8cad45c 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita @@ -52,7 +52,7 @@ deviceId

    指定 SDK 的声卡采集设备。由 获取。插拔设备不会影响 deviceId

    -

    最大长度为

    +

    最大长度为

    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita index 0a4f0b8c63b..145e326f3ac 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita @@ -37,7 +37,7 @@ deviceId

    指定播放设备。由 获取。插拔设备不会影响 deviceId

    -

    最大长度为

    +

    最大长度为

    diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita index 4601fc556a9..b2211a470b4 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita @@ -37,7 +37,7 @@ deviceId

    音频采集设备的 Device ID。可通过 获取。插拔设备不会影响 deviceId

    -

    最大长度为

    +

    最大长度为

    diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita index 4b76982f034..6b4e5a5f591 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita @@ -17,7 +17,7 @@ public abstract createCustomVideoTrack(): number; - (unsigned int)createCustomVideoTrack; virtual video_track_id_t createCustomVideoTrack() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int64 CreateCustomVideoTrack(); abstract createCustomVideoTrack(): number; public abstract video_track_id_t CreateCustomVideoTrack(); diff --git a/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita index bd24a18776c..c218a3e2b8f 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita @@ -17,7 +17,7 @@ public abstract destroyCustomVideoTrack(videoTrackId: number): number; - (int)destroyCustomVideoTrack:(NSUInteger)videoTrackId; virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int DestroyCustomVideoTrack(int64 video_track_id); abstract destroyCustomVideoTrack(videoTrackId: number): number; public abstract int DestroyCustomVideoTrack(video_track_id_t video_track_id); diff --git a/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita b/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita index e2062abac57..2fbc5375730 100644 --- a/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita +++ b/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita @@ -17,7 +17,7 @@ - (int)disableAudioSpectrumMonitor; virtual int disableAudioSpectrumMonitor() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int DisableAudioSpectrumMonitor(); abstract disableAudioSpectrumMonitor(): number; public abstract int DisableAudioSpectrumMonitor(); diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita b/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita index 24c344cdb21..3b442d600d0 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita @@ -17,7 +17,7 @@ - (int)enableAudioSpectrumMonitor:(int)intervalInMS; virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int EnableAudioSpectrumMonitor(int intervalInMS); abstract enableAudioSpectrumMonitor(intervalInMS?: number): number; public abstract int EnableAudioSpectrumMonitor(int intervalInMS = 100); diff --git a/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita b/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita index 1decb288bdd..85f810ae08b 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita @@ -16,7 +16,8 @@ - (int)enableCustomAudioLocalPlayback:(NSInteger)trackId enabled:(BOOL)enabled NS_SWIFT_NAME(enableCustomAudioLocalPlayback(_:enabled:)); virtual int enableCustomAudioLocalPlayback(track_id_t trackId, bool enabled) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableCustomAudioLocalPlayback(int64 trackId, bool enabled); abstract enableCustomAudioLocalPlayback( trackId: number, enabled: boolean diff --git a/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita b/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita index 38b773cc099..84d2a5ccf14 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita @@ -17,8 +17,8 @@ public abstract getCurrentMonotonicTimeInMs(): number; - (int64_t)getCurrentMonotonicTimeInMs NS_SWIFT_NAME(getCurrentMonotonicTimeInMs()); virtual int64_t getCurrentMonotonicTimeInMs() = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int64 GetCurrentMonotonicTimeInMs(); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int64 GetCurrentMonotonicTimeInMs(); abstract getCurrentMonotonicTimeInMs(): number; public abstract long GetCurrentMonotonicTimeInMs(); abstract getCurrentMonotonicTimeInMs(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita index 2b368bf59c2..9cf02a6dd40 100644 --- a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita @@ -23,7 +23,7 @@ virtual int setEarMonitoringAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") int SetEarMonitoringAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setEarMonitoringAudioFrameParameters( sampleRate: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index 91b21c3985b..2bec26b84c2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -19,8 +19,8 @@ channel:(NSInteger)channel samplesPerCall:(NSInteger)samplesPerCall; virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); abstract setMixedAudioFrameParameters( sampleRate: number, channel: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index 8d5a9a79a4d..430977fea54 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -18,8 +18,8 @@ - (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel; virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); abstract setPlaybackAudioFrameBeforeMixingParameters( sampleRate: number, channel: number diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index 5f55912a395..477792d6472 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -24,8 +24,8 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetPlaybackAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetPlaybackAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setPlaybackAudioFrameParameters( sampleRate: number, channel: number, diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index b4d9e9f5804..234b1161f7e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -24,8 +24,8 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetRecordingAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int SetRecordingAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setRecordingAudioFrameParameters( sampleRate: number, channel: number, diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita b/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita index 01655732034..a6bc35e5827 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita @@ -36,11 +36,11 @@ int GetDevice(int index, FString& deviceName, FString& deviceId); deviceName - 设备名称。最大长度为 + 设备名称。最大长度为 deviceId - 视频设备的设备 ID。最大长度为 + 视频设备的设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita b/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita index 34d757f36a5..ffaa77ccc4b 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita @@ -36,7 +36,7 @@ deviceId - 设备 ID。最大长度为 可通过 获取。插拔设备不会影响 deviceId + 设备 ID。最大长度为 可通过 获取。插拔设备不会影响 deviceId
    diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita b/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita index 93649e08678..4224330a005 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita @@ -34,7 +34,7 @@ deviceIdUTF8 - 输出参数。设备 ID。最大长度为 + 输出参数。设备 ID。最大长度为
    diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita b/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita index bc5da311e99..975804eb23b 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita @@ -37,7 +37,7 @@ int SetDevice(const FString& deviceId); deviceIdUTF8

    设备 ID。可通过调用 方法获取。

    -

    最大长度为

    +

    最大长度为

    diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index f7bf08d424a..cafbe77e94d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -43,7 +43,7 @@ errorCode - err + err 错误码。详见 @@ -51,7 +51,8 @@ 错误描述。 - err + err + error 错误码。
      diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 93eb7ba746b..62176f2f978 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -386,7 +386,7 @@ class CameraCapturerConfiguration { deviceId - (可选)摄像头的 ID。最大长度为 + (可选)摄像头的 ID。最大长度为 该参数仅适用于 Windows 和 macOS。 diff --git a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita index 35ffcf238b9..0e4158644e6 100644 --- a/dita/RTC-NG/API/rtc_api_data_type_unreal.dita +++ b/dita/RTC-NG/API/rtc_api_data_type_unreal.dita @@ -446,7 +446,7 @@
    • -
    • +
    • @@ -463,7 +463,7 @@
    • -
    • +
    • diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 9decec2bc4e..b225a591127 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -2600,14 +2600,14 @@ - createCustomVideoTrack + CreateCustomVideoTrack - destroyCustomVideoTrack + DestroyCustomVideoTrack @@ -2628,7 +2628,7 @@ - getCurrentMonotonicTimeInMs + GetCurrentMonotonicTimeInMs @@ -2651,7 +2651,7 @@ - enableCustomAudioLocalPlayback + EnableCustomAudioLocalPlayback @@ -2771,35 +2771,35 @@ - setRecordingAudioFrameParameters + SetRecordingAudioFrameParameters - setPlaybackAudioFrameParameters + SetPlaybackAudioFrameParameters - setEarMonitoringAudioFrameParameters + SetEarMonitoringAudioFrameParameters - setMixedAudioFrameParameters + SetMixedAudioFrameParameters - setPlaybackAudioFrameBeforeMixingParameters + SetPlaybackAudioFrameBeforeMixingParameters @@ -3666,14 +3666,14 @@ - disableAudioSpectrumMonitor + DisableAudioSpectrumMonitor - enableAudioSpectrumMonitor + EnableAudioSpectrumMonitor @@ -8335,7 +8335,7 @@ - + ERROR_CODE_TYPE @@ -9539,7 +9539,7 @@ - + MAX_DEVICE_ID_LENGTH_TYPE @@ -9570,7 +9570,7 @@ - MEDIA_DEVICE_STATE_TYPE + EMEDIA_DEVICE_STATE_TYPE From 896a15474e620a723bdf8ee8e5da8b74c7bf254a Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 15:20:28 +0800 Subject: [PATCH 18/25] 3.1 -> 422 --- .../RTC-NG/API/class_channelmediaoptions.dita | 8 ++++---- dita/RTC-NG/API/class_codeccapinfo.dita | 2 +- dita/RTC-NG/API/class_videocanvas.dita | 2 +- .../API/enum_remotevideostatereason.dita | 2 +- dita/RTC-NG/API/rtc_api_overview.dita | 20 +++++++++---------- .../config/relations-rtc-ng-api.ditamap | 20 +++++++++---------- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index 8f8fa61c888..7ed11cf98eb 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -1472,7 +1472,7 @@ public:
    - + publishThirdCameraTrack 设置是否发布第三个摄像头采集的视频:
      @@ -1481,7 +1481,7 @@ public:
    该参数仅适用于 Android、Windows 和 macOS 平台。该参数仅适用于 Android 平台。
    - + publishFourthCameraTrack 设置是否发布第四个摄像头采集的视频:
      @@ -1533,7 +1533,7 @@ public:
    - + publishThirdScreenTrack 设置是否发布第三个屏幕采集的视频: @@ -1545,7 +1545,7 @@ public: 该参数仅适用于 Windows 和 macOS 平台。

    - + publishFourthScreenTrack 设置是否发布第四个屏幕采集的视频: diff --git a/dita/RTC-NG/API/class_codeccapinfo.dita b/dita/RTC-NG/API/class_codeccapinfo.dita index 1795e658420..050c8321aa2 100644 --- a/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/dita/RTC-NG/API/class_codeccapinfo.dita @@ -137,7 +137,7 @@ class CodecCapInfo {

    - + codecLevels SDK 支持的编解码能力等级。详见 diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 35a81c4d0c7..904f628a99f 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -361,7 +361,7 @@ class VideoCanvas { cropArea (可选)视频帧的展示区域,详见 。其中,widthheight 表示该区域的视频像素宽度和高度。默认值为空值 (宽或高为 0),表示展示实际分辨率的视频帧。 - + backgroundColor 视频画布的背景颜色,格式为 RGBA。默认值为 0x00000000,代表完全透明的黑色。 diff --git a/dita/RTC-NG/API/enum_remotevideostatereason.dita b/dita/RTC-NG/API/enum_remotevideostatereason.dita index 2c69ea45262..ef7c39cc249 100644 --- a/dita/RTC-NG/API/enum_remotevideostatereason.dita +++ b/dita/RTC-NG/API/enum_remotevideostatereason.dita @@ -51,7 +51,7 @@ 12:(仅适用于 iOS) 远端用户的 App 已切换到后台。 - + 13:本地的视频解码器不支持对收到的远端视频流进行解码。 diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 23491dc1fb6..b70813c8ba3 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -92,15 +92,15 @@ - + - + - + @@ -1682,7 +1682,7 @@ - + @@ -1758,11 +1758,11 @@ - + - + @@ -1794,7 +1794,7 @@ - + @@ -2122,7 +2122,7 @@ - + @@ -2267,11 +2267,11 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index cbed7d4d857..9bdbdce5ac1 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2294,7 +2294,7 @@ - + @@ -2326,8 +2326,8 @@ - - + + @@ -2396,7 +2396,7 @@ - + @@ -2463,7 +2463,7 @@ - + @@ -2533,7 +2533,7 @@ - + @@ -3210,15 +3210,15 @@ - + - + - + @@ -3249,7 +3249,7 @@ - + From 4c7b404d009efaaedac9b6efe34b5cab1879a1c8 Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 15:42:43 +0800 Subject: [PATCH 19/25] 2.3 ue bp script check --- ...icemanager_followsystemloopbackdevice.dita | 2 + ...iaudiodevicemanager_getloopbackdevice.dita | 2 + ...odevicemanager_getplaybackdeviceinfo2.dita | 3 +- ...devicemanager_getplaybackdevicevolume.dita | 2 + ...devicemanager_getrecordingdeviceinfo2.dita | 3 +- ...evicemanager_getrecordingdevicevolume.dita | 2 + ...iaudiodevicemanager_setloopbackdevice.dita | 2 + ...iaudiodevicemanager_setplaybackdevice.dita | 2 +- ...devicemanager_setplaybackdevicevolume.dita | 2 + ...audiodevicemanager_setrecordingdevice.dita | 2 +- ...devicemanager_startplaybackdevicetest.dita | 2 +- ...pi_irtcengine_enablecameracenterstage.dita | 3 +- .../api_irtcengine_enablevoiceaituner.dita | 3 +- ...tcengine_iscameracenterstagesupported.dita | 3 +- ...api_ivideodevicemanager_getcapability.dita | 2 +- ...deodevicemanager_numberofcapabilities.dita | 2 +- dita/RTC-NG/API/class_logconfig.dita | 26 ++++++-- dita/RTC-NG/API/class_rtcengineconfig.dita | 62 ++++++++++++----- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 4 +- .../config/keys-rtc-ng-api-blueprint.ditamap | 66 +++++++++---------- 20 files changed, 130 insertions(+), 65 deletions(-) diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita index 039c8a52c99..6feff7c551d 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita @@ -17,6 +17,8 @@ virtual int followSystemLoopbackDevice(bool enable) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int FollowSystemLoopbackDevice(bool enable); abstract followSystemLoopbackDevice(enable: boolean): number; public abstract int FollowSystemLoopbackDevice(bool enable); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita index 8eb39d2d327..91b6f61b0f4 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita @@ -17,6 +17,8 @@ virtual int getLoopbackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int GetLoopbackDevice(FString & deviceId); abstract getLoopbackDevice(): string; public abstract int GetLoopbackDevice(ref string deviceId); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita index 2c604dd7ef3..39e6e4671fd 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita @@ -17,7 +17,8 @@ virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int GetPlaybackDeviceInfo(FString& deviceId, FString& deviceName, FString& deviceTypeName); public abstract int GetPlaybackDeviceInfo(ref string deviceId, ref string deviceName, ref string deviceTypeName); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita index cd77ba6652f..75758977ce1 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita @@ -17,6 +17,8 @@ virtual int getPlaybackDeviceVolume(int *volume) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int GetPlaybackDeviceVolume(int& volume); abstract getPlaybackDeviceVolume(): number; public abstract int GetPlaybackDeviceVolume(); abstract getPlaybackDeviceVolume(): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita index 58823ba53de..229c73012bb 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita @@ -17,7 +17,8 @@ virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int GetRecordingDeviceInfo(FString& deviceId, FString& deviceName, FString& deviceTypeName); public abstract int GetRecordingDeviceInfo(ref string deviceId, ref string deviceName, ref string deviceTypeName); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita index 435f57d6198..4d59fbf9e48 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita @@ -17,6 +17,8 @@ virtual int getRecordingDeviceVolume(int *volume) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int GetRecordingDeviceVolume(int& volume); abstract getRecordingDeviceVolume(): number; public abstract int GetRecordingDeviceVolume(); abstract getRecordingDeviceVolume(): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita index d8fc8cad45c..9aac9dc9bb0 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita @@ -17,6 +17,8 @@ virtual int setLoopbackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int SetLoopbackDevice(const FString & deviceId); abstract setLoopbackDevice(deviceId: string): number; public abstract int SetLoopbackDevice(string deviceId); diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita index 145e326f3ac..5489141bedc 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita @@ -18,7 +18,7 @@ virtual int setPlaybackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") - int SetPlaybackDevice(FString deviceId); + int SetPlaybackDevice(const FString & deviceId); abstract setPlaybackDevice(deviceId: string): number; public abstract int SetPlaybackDevice(string deviceId); abstract setPlaybackDevice(deviceId: string): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita index 0e0cbc30aec..c69b85894e1 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita @@ -17,6 +17,8 @@ virtual int setPlaybackDeviceVolume(int volume) = 0; + UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") + int SetPlaybackDeviceVolume(int volume); abstract setPlaybackDeviceVolume(volume: number): number; public abstract int SetPlaybackDeviceVolume(int volume); abstract setPlaybackDeviceVolume(volume: number): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita index b2211a470b4..fed69982695 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita @@ -18,7 +18,7 @@ virtual int setRecordingDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") - int SetRecordingDevice(FString deviceId); + int SetRecordingDevice(const FString & deviceId); abstract setRecordingDevice(deviceId: string): number; public abstract int SetRecordingDevice(string deviceId); abstract setRecordingDevice(deviceId: string): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita index b1ad01baa76..37708b84034 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita @@ -18,7 +18,7 @@ - (int)startPlaybackDeviceTest:(NSString * _Nonnull)audioFileName; virtual int startPlaybackDeviceTest(const char* testAudioFilePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") - int StartPlaybackDeviceTest(FString testAudioFilePath); + int StartPlaybackDeviceTest(const FString & testAudioFilePath); abstract startPlaybackDeviceTest(testAudioFilePath: string): number; public abstract int StartPlaybackDeviceTest(string testAudioFilePath); abstract startPlaybackDeviceTest(testAudioFilePath: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita b/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita index 1352d26859c..fabc20ba602 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita @@ -17,7 +17,8 @@ - (int)enableCameraCenterStage:(BOOL)enabled NS_SWIFT_NAME(enableCameraCenterStage(_:)); virtual int enableCameraCenterStage(bool enabled) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableCameraCenterStage(bool enabled); abstract enableCameraCenterStage(enabled: boolean): number; public abstract int EnableCameraCenterStage(bool enabled); abstract enableCameraCenterStage(enabled: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index 2591d973050..ae6377d0b6c 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -16,7 +16,8 @@ public abstract int enableVoiceAITuner(boolean enabled, Constants.VOICE_AI_TUNER_TYPE type); - (int)enableVoiceAITuner:(bool)enabled type:(AgoraVoiceAITunerType)type NS_SWIFT_NAME(enableVoiceAITuner(_:type:)); virtual int enableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type) = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + int EnableVoiceAITuner(bool enabled, EVOICE_AI_TUNER_TYPE type); 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; diff --git a/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita index 0753c5d5e3b..f56e9b47e36 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita @@ -17,7 +17,8 @@ - (BOOL)isCameraCenterStageSupported NS_SWIFT_NAME(isCameraCenterStageSupported()); virtual bool isCameraCenterStageSupported() = 0; - + UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine") + bool IsCameraCenterStageSupported(); abstract isCameraCenterStageSupported(): boolean; public abstract bool IsCameraCenterStageSupported(); abstract isCameraCenterStageSupported(): boolean; diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita b/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita index 428ac621d02..b1100af551e 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita @@ -19,7 +19,7 @@ virtual int getCapability(const char* deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat& capability) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") - int GetCapability(FString deviceIdUTF8, int deviceCapabilityNumber, FVideoFormat& capability); + int GetCapability(const FString & deviceIdUTF8, int deviceCapabilityNumber, FVideoFormat& capability); abstract getCapability( deviceIdUTF8: string, deviceCapabilityNumber: number diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita b/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita index 261931205c8..ba595cedf22 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita @@ -19,7 +19,7 @@ virtual int numberOfCapabilities(const char* deviceIdUTF8) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") - int NumberOfCapabilities(FString deviceIdUTF8); + int NumberOfCapabilities(const FString & deviceIdUTF8); abstract numberOfCapabilities(deviceIdUTF8: string): number; public abstract int NumberOfCapabilities(string deviceIdUTF8); abstract numberOfCapabilities(deviceIdUTF8: string): number; diff --git a/dita/RTC-NG/API/class_logconfig.dita b/dita/RTC-NG/API/class_logconfig.dita index 16ea5ef428a..23656fc95ac 100644 --- a/dita/RTC-NG/API/class_logconfig.dita +++ b/dita/RTC-NG/API/class_logconfig.dita @@ -26,15 +26,31 @@ }; USTRUCT(BlueprintType) struct FLogConfig { - GENERATED_BODY() - +public: + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogConfig") - FString filePath; + FString filePath = ""; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogConfig") - int64 fileSizeInKB = 1024; + int64 fileSizeInKB = 2048; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|LogConfig") - TEnumAsByte<ELOG_LEVEL> level = ELOG_LEVEL::LOG_LEVEL_INFO; + ELOG_LEVEL level = ELOG_LEVEL::LOG_LEVEL_INFO; + FLogConfig() {} + FLogConfig(const agora::commons::LogConfig& AgoraData) { + filePath = UTF8_TO_TCHAR(AgoraData.filePath); + fileSizeInKB = AgoraData.fileSizeInKB; + level = (ELOG_LEVEL)AgoraData.level; + } + agora::commons::LogConfig CreateAgoraData() const { + agora::commons::LogConfig AgoraData; + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.filePath, filePath) + AgoraData.fileSizeInKB = UABT::ToUInt32(fileSizeInKB); + AgoraData.level = (agora::commons::LOG_LEVEL)level; + return AgoraData; + } + void FreeAgoraData(agora::commons::LogConfig& AgoraData) const { + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.filePath) + } }; export class LogConfig { diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index 0194ce998d6..896b7f18d3b 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -66,28 +66,60 @@ struct FRtcEngineContext { GENERATED_BODY() UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + EAgoraBPuEventHandlerType EventHandlerCreationType = EAgoraBPuEventHandlerType::EventHandler; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") FString appId = ""; + + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + ECHANNEL_PROFILE_TYPE channelProfile = ECHANNEL_PROFILE_TYPE::CHANNEL_PROFILE_LIVE_BROADCASTING; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") - EAgoraBPuEventHandlerType EventHandlerCreationType = EAgoraBPuEventHandlerType::EventHandler; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") FString license = ""; - UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + EAUDIO_SCENARIO_TYPE audioScenario = EAUDIO_SCENARIO_TYPE::AUDIO_SCENARIO_DEFAULT; + + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + FENUMWRAP_AREA_CODE areaCode = EENUMCUSTOM_AREA_CODE::AREA_CODE_GLOB; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + FLogConfig logConfig; + + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + bool threadPriority_SetValue = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + ETHREAD_PRIORITY_TYPE threadPriority = ETHREAD_PRIORITY_TYPE::NORMAL; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") bool useExternalEglContext = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + bool domainLimit = false; + UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcEngineContext") + bool autoRegisterAgoraExtensions = true; + FRtcEngineContext() {} agora::rtc::RtcEngineContext CreateAgoraData() const { agora::rtc::RtcEngineContext AgoraData; - char* AppIdCharPtr = new char[appId.Len() + 1]; - FMemory::Memcpy(AppIdCharPtr, TCHAR_TO_UTF8(*appId), appId.Len()); - AppIdCharPtr[appId.Len()] = '\0'; - AgoraData.appId = AppIdCharPtr; + + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.appId, this->appId) + + AgoraData.channelProfile = (agora::CHANNEL_PROFILE_TYPE)channelProfile; + + SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.license, this->license) + AgoraData.audioScenario = (agora::rtc::AUDIO_SCENARIO_TYPE)audioScenario; + AgoraData.areaCode = areaCode.GetRawValue(); + AgoraData.logConfig = logConfig.CreateAgoraData(); + SET_AGORA_OPTIONAL_VAL_ASSIGN_VAL(AgoraData.threadPriority, this->threadPriority, static_cast<agora::rtc::THREAD_PRIORITY_TYPE>(this->threadPriority)) + AgoraData.useExternalEglContext = useExternalEglContext; + AgoraData.domainLimit = domainLimit; + AgoraData.autoRegisterAgoraExtensions = autoRegisterAgoraExtensions; + return AgoraData; } void FreeAgoraData(agora::rtc::RtcEngineContext& AgoraData) const { - if (AgoraData.appId) { - delete[] AgoraData.appId; - AgoraData.appId = nullptr; - } + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.appId) + SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.license) + logConfig.FreeAgoraData(AgoraData.logConfig); } }; export class RtcEngineContext { @@ -200,13 +232,13 @@ class RtcEngineContext { mAppId 声网为 App 开发者签发的 App ID。 使用同一个 App ID 的 App 才能进入同一个频道进行通话或直播。一个 App ID 只能用于创建一个 。如需更换 App ID,必须先调用 销毁当前 再重新创建。 - - context + + context mContext -
      +
      • Windows 平台上,context 是视窗句柄。如设值,则表示支持设备热插拔。
      • -
      • Android 平台上,context 是安卓活动上下文。
      • +
      • Android 平台上,context 是安卓活动上下文。

      安卓活动上下文。

      上下文。

      diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index b3387c94e75..19431f813b9 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -719,12 +719,12 @@ - + - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index b225a591127..80f31c55e16 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -2018,7 +2018,7 @@ - enableVoiceAITuner + EnableVoiceAITuner @@ -3316,88 +3316,88 @@ - followSystemLoopbackDevice + FollowSystemLoopbackDevice - followSystemPlaybackDevice + FollowSystemPlaybackDevice - followSystemRecordingDevice + FollowSystemRecordingDevice - setPlaybackDevice + SetPlaybackDevice - setRecordingDevice + SetRecordingDevice - startPlaybackDeviceTest + StartPlaybackDeviceTest - stopPlaybackDeviceTest + StopPlaybackDeviceTest - startRecordingDeviceTest + StartRecordingDeviceTest - stopRecordingDeviceTest + StopRecordingDeviceTest - getPlaybackDevice + GetPlaybackDevice - getLoopbackDevice + GetLoopbackDevice - setLoopbackDevice + SetLoopbackDevice - + getPlaybackDeviceInfo [1/2] @@ -3407,18 +3407,18 @@ - getPlaybackDeviceInfo [2/2] + GetPlaybackDeviceInfo - getRecordingDevice + GetRecordingDevice - + getRecordingDeviceInfo [1/2] @@ -3428,7 +3428,7 @@ - getRecordingDeviceInfo [2/2] + GetRecordingDeviceInfo @@ -3442,56 +3442,56 @@ - startAudioDeviceLoopbackTest + StartAudioDeviceLoopbackTest - stopAudioDeviceLoopbackTest + StopAudioDeviceLoopbackTest - setPlaybackDeviceVolume + SetPlaybackDeviceVolume - getPlaybackDeviceVolume + GetPlaybackDeviceVolume - setRecordingDeviceVolume + SetRecordingDeviceVolume - getRecordingDeviceVolume + GetRecordingDeviceVolume - setPlaybackDeviceMute + SetPlaybackDeviceMute - getPlaybackDeviceMute + GetPlaybackDeviceMute @@ -3555,7 +3555,7 @@ - getCapability + GetCapability @@ -3569,7 +3569,7 @@ - numberOfCapabilities + NumberOfCapabilities @@ -3712,14 +3712,14 @@ - enableCameraCenterStage + EnableCameraCenterStage - isCameraCenterStageSupported + IsCameraCenterStageSupported @@ -5466,7 +5466,7 @@ - LogConfig + FLogConfig @@ -5937,7 +5937,7 @@ - AREA_CODE + FENUMWRAP_AREA_CODE @@ -12454,7 +12454,7 @@ - VOICE_AI_TUNER_TYPE + EVOICE_AI_TUNER_TYPE From a225e4c71c8e0818909ec22c06b90a556d1c416f Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 16:12:53 +0800 Subject: [PATCH 20/25] 3.1 -> 423 --- .../API/class_contentinspectconfig.dita | 2 +- dita/RTC-NG/API/class_externalvideoframe.dita | 4 ++-- dita/RTC-NG/API/enum_contentinspecttype.dita | 2 +- .../API/enum_localvideostreamreason.dita | 20 +++++++++---------- dita/RTC-NG/API/enum_videopixelformat.dita | 2 +- dita/RTC-NG/API/rtc_api_overview.dita | 2 +- .../config/relations-rtc-ng-api.ditamap | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/dita/RTC-NG/API/class_contentinspectconfig.dita b/dita/RTC-NG/API/class_contentinspectconfig.dita index 81b81e5238c..b1a9634ab28 100644 --- a/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -183,7 +183,7 @@ class ContentInspectConfig {

      SDK 会将附加信息和截图一起上传至声网内容审核服务器;审核完成后,声网内容审核服务器会将附加信息随审核结果一起发送给你的服务器。

      - + serverConfig (可选)云市场视频审核相关服务端配置,该参数仅在 中的 type 设置为 时生效。如需使用,请 diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index ba637e42536..251aafc664a 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -469,9 +469,9 @@ class ExternalVideoFrame { - + texture_slice_index - textureSliceIndex + textureSliceIndex 该参数仅适用于 Windows Texture 格式的视频数据。表示在 ID3D11Texture2D 数组中,被视频帧使用的某一个 ID3D11Texture2D 纹理对象的索引。 diff --git a/dita/RTC-NG/API/enum_contentinspecttype.dita b/dita/RTC-NG/API/enum_contentinspecttype.dita index 2be5677b36b..0faf46004b5 100644 --- a/dita/RTC-NG/API/enum_contentinspecttype.dita +++ b/dita/RTC-NG/API/enum_contentinspecttype.dita @@ -19,7 +19,7 @@ 2:使用声网自研插件截图上传。SDK 会对视频流进行截图并上传。 - + 3:使用云市场插件截图上传。SDK 会使用云市场视频审核插件对视频流进行截图并上传。 diff --git a/dita/RTC-NG/API/enum_localvideostreamreason.dita b/dita/RTC-NG/API/enum_localvideostreamreason.dita index a01bf08037b..b0fd1cdc19c 100644 --- a/dita/RTC-NG/API/enum_localvideostreamreason.dita +++ b/dita/RTC-NG/API/enum_localvideostreamreason.dita @@ -96,35 +96,35 @@ 20:(仅适用于 Windows)SDK 不支持共享该类型的窗口。请提示用户不支持此类窗口共享,请尝试共享整个屏幕。 - + 21:(仅适用于 Windows)当前采集的窗口无数据。 - + - 22:(仅适用于 Windows 和 macOS)不具备采集屏幕的权限。 + 22:(仅适用于 Windows 和 macOS)不具备采集屏幕的权限。 - + 24:(仅适用于 Windows)屏幕共享过程中发生意外错误(可能由于窗口阻塞失败),导致性能下降,但屏幕共享过程本身没有受到影响。 - + 25:(仅适用于 Windows)当前屏幕采集的窗口处于隐藏状态,并且在当前屏幕上不可见。 - + 26:(仅适用于 Windows)进行屏幕采集的窗口已经从隐藏状态中恢复。 - + - 27:(仅适用于 macOS 和 Windows)进行屏幕采集的窗口已经从最小化状态恢复正常。 + 27:(仅适用于 macOS 和 Windows)进行屏幕采集的窗口已经从最小化状态恢复正常。 - + 28:(仅适用于 Windows)屏幕采集已暂停。报告该错误码的常见场景:当前屏幕可能已切换到安全桌面,例如 UAC 对话框或者 Winlogon 桌面。 - + 29:(仅适用于 Windows)屏幕采集已从暂停状态中恢复。 diff --git a/dita/RTC-NG/API/enum_videopixelformat.dita b/dita/RTC-NG/API/enum_videopixelformat.dita index beb753f50ec..3d11f94a193 100644 --- a/dita/RTC-NG/API/enum_videopixelformat.dita +++ b/dita/RTC-NG/API/enum_videopixelformat.dita @@ -60,7 +60,7 @@ 16: I422 格式。 - + 17: ID3D11TEXTURE2D 格式。目前支持的类型有 DXGI_FORMAT_B8G8R8A8_UNORMDXGI_FORMAT_B8G8R8A8_TYPELESSDXGI_FORMAT_NV12 diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index b70813c8ba3..7a981d1dd18 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -2709,7 +2709,7 @@ - + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 9bdbdce5ac1..54c9c007a27 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2299,7 +2299,7 @@ - + @@ -2560,7 +2560,7 @@ - + From 9f9b50b0f220501538b903c58c24e5ec98a43d7c Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 16 Aug 2024 18:15:33 +0800 Subject: [PATCH 21/25] 3.1 -> 4.3.0 --- ...evicemanager_getrecordingdevicevolume.dita | 2 +- ...devicemanager_setplaybackdevicevolume.dita | 2 +- ...thandler_ontranscodedstreamlayoutinfo.dita | 8 +++---- dita/RTC-NG/API/class_videocanvas.dita | 4 ++-- dita/RTC-NG/API/rtc_api_overview.dita | 2 +- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 24 +++++++++---------- .../config/relations-rtc-ng-api.ditamap | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita index 4d59fbf9e48..e7836a540f2 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita @@ -27,7 +27,7 @@
    详情 - 该方法仅适用于 Windows 平台。 + 该方法仅适用于 Windows 平台。
    参数 diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita index c69b85894e1..4e18f59283c 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita @@ -27,7 +27,7 @@
    详情 - 该方法仅适用于 Windows 平台。 + 该方法仅适用于 Windows 平台。
    参数 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index 90b1ecbd336..2d487408577 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -69,22 +69,22 @@ uid 发布合图视频流的用户 ID。 - + width 合图视频流的宽度 (px)。 - + height 合图视频流的高度 (px)。 - + layoutCount 合图视频流中布局信息的数量。 info videoLayoutInfo - layoutlist + layoutlist 某一路合图视频流的详细布局信息。详见
    diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 904f628a99f..494b6792775 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -288,9 +288,9 @@ class VideoCanvas { subviewUid - 发布某一路合图子视频流的用户 ID。 + 发布某一路合图子视频流的用户 ID。 预留参数。 - 该参数仅适用于 Android 和 iOS 平台。 + 该参数仅适用于 Android 和 iOS 平台。 view diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 7a981d1dd18..a6a3a2ed54e 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -2468,7 +2468,7 @@ (仅适用于 Windows 和 macOS) - + (仅适用于 Windows) diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 19431f813b9..ee37b95c58b 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -526,18 +526,18 @@ - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 54c9c007a27..6824802ff54 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2838,7 +2838,7 @@ - + @@ -2851,7 +2851,7 @@ - + From fc7730b65af5e5480ae6da4690dce3c23ef07316 Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 19 Aug 2024 11:48:00 +0800 Subject: [PATCH 22/25] 3.1 -> 4.3.1 --- ...pi_irtcengine_querycamerafocallengthcapability.dita | 10 +++++----- .../RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita | 2 +- dita/RTC-NG/API/class_videocanvas.dita | 6 +++--- dita/RTC-NG/API/enum_localvideostreamreason.dita | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita b/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita index e564c8511a2..f572e202fc9 100644 --- a/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita @@ -38,20 +38,20 @@

    如需开启摄像头广角、超广角拍摄模式,建议你先调用该方法查询设备是否具备相应的焦距能力,再根据查询结果调用 调整摄像头的焦距配置,以达到最佳的摄像头采集效果。

    该方法仅适用于 Android 和 iOS。
    -
    +
    参数 focalLengthInfos - 输入和输出参数。指向 对象数组的指针:
      + 输入和输出参数。指向 对象数组的指针:
      • 输入值:指向一个 对象数组,用于存储焦距信息。
      • 输出值:方法执行后,输出查询到的焦距信息。
      输出参数。方法执行后,输出包含摄像头焦距信息的 对象数组。 - + size - 输入和输出参数。焦距信息数量:
        + 输入和输出参数。焦距信息数量:
        • 输入值:指定 focalLengthInfos 数组可以容纳的最大焦距信息数量。请确保该值不小于 8,即 focalLengthInfos 至少有空间存储 8 个焦距信息。
        • 输出值:方法执行后,输出查询到的焦距信息数量。
        @@ -66,7 +66,7 @@
      • focalLengthInfos 对象数组,其中包含摄像头的方向和焦距类型。
      • size:实际查询到的焦距信息数量。

      -
        +
        • 0: 方法调用成功。
        • < 0: 方法调用失败。详见了解详情和解决建议。
    diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita b/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita index 7876d0eeb53..dd52639346e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita @@ -38,7 +38,7 @@ 参数 - factor + factor zoomFactor 摄像头缩放比例。对不支持超广角的设备,取值范围从 1.0 到最大缩放比例;对支持超广角的设备,取值范围从 0.5 到最大缩放比例。你可以通过 方法获取设备支持的最大缩放比例。 diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 494b6792775..626674e9f34 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -365,15 +365,15 @@ class VideoCanvas { backgroundColor 视频画布的背景颜色,格式为 RGBA。默认值为 0x00000000,代表完全透明的黑色。 - + enableAlphaMask - (可选)是否开启 Alpha 遮罩渲染: + (可选)是否开启 Alpha 遮罩渲染:
    • :开启 Alpha 遮罩渲染。
    • :(默认)关闭 Alpha 遮罩渲染。

    Alpha 遮罩渲染可以创建具有透明效果的图像,还可以提取视频中的人像。与其他方法结合使用时,可以实现人像画中画、添加水印等效果。

    - +
    • 仅当发送端开启 Alpha 传输功能时,接收端才能渲染 Alpha 通道的信息。
    • 如需开启 Alpha 传输功能,请
    • diff --git a/dita/RTC-NG/API/enum_localvideostreamreason.dita b/dita/RTC-NG/API/enum_localvideostreamreason.dita index b0fd1cdc19c..be48fd02589 100644 --- a/dita/RTC-NG/API/enum_localvideostreamreason.dita +++ b/dita/RTC-NG/API/enum_localvideostreamreason.dita @@ -81,16 +81,16 @@ 13:(仅适用于 Windows)待共享的窗口被其他窗口遮挡住,被遮挡住的部分在共享时会被 SDK 涂黑。 - + - 14:(仅适用于 Android)视频采集中断。可能的原因是:
        + 14:(仅适用于 Android)视频采集中断。可能的原因是:
        • 摄像头被其他 App 占用。请提示用户检查摄像头是否被其他 App 占用。
        • 当前 App 已被切换到后台。可以使用前台服务通知操作系统,确保 App 在切换到后台时仍可采集视频。详见
        - + - 15:(仅适用于 Android)视频采集设备出错。请提示用户关闭并重新启动摄像头以恢复功能,如果该操作不能解决问题,请检查摄像头是否出现硬件故障。 + 15:(仅适用于 Android)视频采集设备出错。请提示用户关闭并重新启动摄像头以恢复功能,如果该操作不能解决问题,请检查摄像头是否出现硬件故障。 From 1194479d22056c0a5c91cc8b51fd07e578acfed4 Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 19 Aug 2024 14:49:21 +0800 Subject: [PATCH 23/25] 2.2 add ue bp only api --- dita/RTC-NG/API/api_createagorartcengine.dita | 2 +- ...icemanager_getagoraaudiodevicemanager.dita | 45 ------------------- ...iaplayer_registerplayersourceobserver.dita | 12 ++--- .../api_irtcengine_destroymediaplayer.dita | 10 ++--- .../api_irtcengine_getaudiodevicemanager.dita | 2 + .../api_irtcengine_getvideodevicemanager.dita | 2 + ...icemanager_getagoravideodevicemanager.dita | 45 ------------------- .../RTC-NG/API/class_iaudiodevicemanager.dita | 2 +- .../RTC-NG/API/class_ivideodevicemanager.dita | 2 +- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 4 +- .../config/keys-rtc-ng-api-blueprint.ditamap | 4 +- .../config/relations-rtc-ng-api.ditamap | 2 +- 12 files changed, 24 insertions(+), 108 deletions(-) delete mode 100644 dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita delete mode 100644 dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita diff --git a/dita/RTC-NG/API/api_createagorartcengine.dita b/dita/RTC-NG/API/api_createagorartcengine.dita index 6560899ffc5..308c41a722b 100644 --- a/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/dita/RTC-NG/API/api_createagorartcengine.dita @@ -2,7 +2,7 @@ <ph keyref="createAgoraRtcEngine"/> - 创建 对象。创建 对象。 + 创建 对象。创建 对象。 diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita deleted file mode 100644 index 1152d47a2f3..00000000000 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getagoraaudiodevicemanager.dita +++ /dev/null @@ -1,45 +0,0 @@ - - - - <ph keyref="GetAgoraAudioDeviceManager"/> - 创建音频设备管理对象。 - - - - - - - - -
        -

        - - - - - UFUNCTION(BlueprintPure, Category = "Agora|IAudioDeviceManager") - static UAgoraBPuAudioDeviceManager* GetAgoraAudioDeviceManager(); - - - -

        -
        -
        -

        在调用 类下的其他 API 前,你需要先调用该方法创建一个音频设备管理对象。如需销毁 对象,请调用

        -
        -
        - 调用时机 -

        该方法在加入频道前后均可调用。

        -
        -
        - 调用限制 -

        无。

        -
        -
        - <ph keyref="return-section-title"/> -
          -
        • 方法调用成功:返回 对象。
        • -
        • 方法调用失败:返回空指针。
        • -
        -
        -
        \ No newline at end of file diff --git a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index 1d2cdffa478..e588b229e2a 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -40,20 +40,22 @@

        无。

    - 参数 + 参数 playerObserver - observer - 播放观测器,报告播放中的事件,详见 + observer + 播放观测器,报告播放中的事件,详见
    <ph keyref="return-section-title"/>

    方法成功调用时,无返回值;方法调用失败时,会抛出 异常,你需要捕获异常并进行处理。详见了解详情和解决建议。

    -
      +
      • 0: 方法调用成功。
      • < 0: 方法调用失败。详见了解详情和解决建议。
      • -
    + +

    指向 对象的指针。

    +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita index 3906778b2b6..b61680931c3 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita @@ -27,22 +27,22 @@ void Release(); Future<void> destroyMediaPlayer(MediaPlayer mediaPlayer);

    -
    +
    参数 - + mediaPlayer - media_player + media_player

    对象。

    -
    +
    <ph keyref="return-section-title"/>

    方法成功调用时,无返回值;方法调用失败时,会抛出 异常,你需要捕获异常并进行处理。详见了解详情和解决建议。

      -
    • ≥ 0: 方法调用成功,返回媒体播放器 ID
    • +
    • ≥ 0: 方法调用成功,返回媒体播放器 ID
    • < 0: 方法调用失败。详见了解详情和解决建议。
    diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita index c4ad6b7feaa..906259d5ef3 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita @@ -17,6 +17,8 @@ + UFUNCTION(BlueprintPure, Category = "Agora|IAudioDeviceManager") + static UAgoraBPuAudioDeviceManager* GetAgoraAudioDeviceManager(); abstract getAudioDeviceManager(): IAudioDeviceManager; public abstract IAudioDeviceManager GetAudioDeviceManager(); diff --git a/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita index 5471d87a553..ee595a66b88 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita @@ -17,6 +17,8 @@ + UFUNCTION(BlueprintPure, Category = "Agora|IVideoDeviceManager") + static UAgoraBPuVideoDeviceManager* GetAgoraVideoDeviceManager(); abstract getVideoDeviceManager(): IVideoDeviceManager; public abstract IVideoDeviceManager GetVideoDeviceManager(); diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita b/dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita deleted file mode 100644 index 9ea5884ae5b..00000000000 --- a/dita/RTC-NG/API/api_ivideodevicemanager_getagoravideodevicemanager.dita +++ /dev/null @@ -1,45 +0,0 @@ - - - - <ph keyref="GetAgoraVideoDeviceManager"/> - 创建视频设备管理对象。 - - - - - - - - -
    -

    - - - - - UFUNCTION(BlueprintPure, Category = "Agora|IVideoDeviceManager") - static UAgoraBPuVideoDeviceManager* GetAgoraVideoDeviceManager(); - - - -

    -
    -
    -

    在调用 类下的其他 API 前,你需要先调用该方法创建一个视频设备管理对象。如需销毁 对象,请调用

    -
    -
    - 调用时机 -

    该方法在加入频道前后均可调用。

    -
    -
    - 调用限制 -

    无。

    -
    -
    - <ph keyref="return-section-title"/> -
      -
    • 方法调用成功:返回 对象。
    • -
    • 方法调用失败:返回空指针。
    • -
    -
    -
    \ No newline at end of file diff --git a/dita/RTC-NG/API/class_iaudiodevicemanager.dita b/dita/RTC-NG/API/class_iaudiodevicemanager.dita index e7801ca061c..f8a6ae599c6 100644 --- a/dita/RTC-NG/API/class_iaudiodevicemanager.dita +++ b/dita/RTC-NG/API/class_iaudiodevicemanager.dita @@ -6,7 +6,7 @@

    接口类提供用于测试音频设备的相关接口。你可以通过调用 方法来获取 接口。

    -

    接口类提供用于测试音频设备的相关接口。你可以通过调用 方法来获取 接口。

    +

    接口类提供用于测试音频设备的相关接口。你可以通过调用 方法来获取 接口。

    \ No newline at end of file diff --git a/dita/RTC-NG/API/class_ivideodevicemanager.dita b/dita/RTC-NG/API/class_ivideodevicemanager.dita index f3e297ca09d..db29ef16bb2 100644 --- a/dita/RTC-NG/API/class_ivideodevicemanager.dita +++ b/dita/RTC-NG/API/class_ivideodevicemanager.dita @@ -6,7 +6,7 @@

    接口类提供用于测试视频设备的相关接口。你可以通过调用 方法来获取 接口。

    -

    接口类提供用于测试视频设备的相关接口。你可以通过调用 方法来获取 接口。

    +

    接口类提供用于测试视频设备的相关接口。你可以通过调用 方法来获取 接口。

    \ No newline at end of file diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index ee37b95c58b..08cd88d3782 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -665,12 +665,12 @@ - + @@ -711,7 +711,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 80f31c55e16..587c5293173 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -3208,14 +3208,14 @@ - + GetAgoraAudioDeviceManager - + GetAgoraVideoDeviceManager diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 6824802ff54..239580ef571 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2212,7 +2212,7 @@ - + From 9574db25378bebd644910a24c5aafe499406254b Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 19 Aug 2024 15:13:13 +0800 Subject: [PATCH 24/25] 3.2 fix publish errors --- ..._imediaplayer_registerplayersourceobserver.dita | 6 +++--- dita/RTC-NG/API/api_irtcengine_create.dita | 2 +- dita/RTC-NG/API/enum_localvideostreamreason.dita | 2 +- dita/RTC-NG/API/rtc_api_overview.dita | 14 +++++++------- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 8 ++++---- .../config/keys-rtc-ng-api-blueprint.ditamap | 8 ++++---- dita/RTC-NG/config/relations-rtc-ng-api.ditamap | 12 ++++++------ 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index e588b229e2a..3b05746bc02 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -40,12 +40,12 @@

    无。

    - 参数 - + <ph props="android hmos cpp unreal rn electron flutter">参数</ph> + playerObserver observer - 播放观测器,报告播放中的事件,详见 + 播放观测器,报告播放中的事件,详见
    diff --git a/dita/RTC-NG/API/api_irtcengine_create.dita b/dita/RTC-NG/API/api_irtcengine_create.dita index a1cb74bec5f..b804166d8a1 100644 --- a/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/dita/RTC-NG/API/api_irtcengine_create.dita @@ -44,7 +44,7 @@
    参数 - + context diff --git a/dita/RTC-NG/API/enum_localvideostreamreason.dita b/dita/RTC-NG/API/enum_localvideostreamreason.dita index be48fd02589..a7cf6dd036d 100644 --- a/dita/RTC-NG/API/enum_localvideostreamreason.dita +++ b/dita/RTC-NG/API/enum_localvideostreamreason.dita @@ -102,7 +102,7 @@ - 22:(仅适用于 Windows 和 macOS)不具备采集屏幕的权限。 + 22:(仅适用于 Windows 和 macOS)不具备采集屏幕的权限。 diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index a6a3a2ed54e..05d2755a4c8 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -2323,7 +2323,7 @@ (仅适用于 Windows 和 macOS) - + (仅适用于 Windows 和 macOS) @@ -2335,7 +2335,7 @@ - + (仅适用于 Windows 和 macOS) @@ -2448,11 +2448,11 @@ (仅适用于 Windows 和 macOS) - + - (仅适用于 Windows 和 macOS) + (仅适用于 Windows 和 macOS) - + (仅适用于 macOS) @@ -2484,11 +2484,11 @@ (仅适用于 Windows 和 macOS) - + (仅适用于 Windows 和 macOS) - + (仅适用于 macOS) diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 08cd88d3782..654caa899a2 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -669,7 +669,7 @@ - + @@ -694,7 +694,7 @@ - + @@ -719,12 +719,12 @@ - + - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 587c5293173..ebfb35e9545 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -3397,7 +3397,7 @@ - + getPlaybackDeviceInfo [1/2] @@ -3418,7 +3418,7 @@ - + getRecordingDeviceInfo [1/2] @@ -3545,7 +3545,7 @@ - + setDevice @@ -3559,7 +3559,7 @@ - + getDevice diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 239580ef571..193d2a9ca2c 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2828,15 +2828,15 @@ - - + + - - + + @@ -2898,10 +2898,10 @@ - + - + From 82491b1b558796482063732f28aa5c37b16197eb Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 19 Aug 2024 15:19:35 +0800 Subject: [PATCH 25/25] Update RTC_NG_API_Blueprint.ditamap --- dita/RTC-NG/RTC_NG_API_Blueprint.ditamap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap index 654caa899a2..562029c73fd 100644 --- a/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Blueprint.ditamap @@ -669,7 +669,7 @@ -