From a3c8356fa5eca0166c425d14b486fa0623f80605 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 5 Jun 2024 17:08:32 +0800 Subject: [PATCH] ++ --- ...audioengine_muteallremoteaudiostreams.dita | 2 +- ...atialaudioengine_mutelocalaudiostream.dita | 2 +- ...i_imediaengine_createcustomaudiotrack.dita | 2 +- ..._imediaengine_destroycustomaudiotrack.dita | 2 +- ...ediaengine_registeraudioframeobserver.dita | 2 +- ...ediaengine_registervideoframeobserver.dita | 2 +- ...i_imediaengine_setexternalvideosource.dita | 2 +- ...diaplayer_registeraudioframeobserver2.dita | 2 +- ...ediaplayer_registervideoframeobserver.dita | 2 +- ...ediarecorder_setmediarecorderobserver.dita | 2 +- .../api_imediarecorder_startrecording.dita | 2 +- .../API/api_imediarecorder_stoprecording.dita | 2 +- .../API/api_imusiccontentcenter_release.dita | 2 +- .../api_imusiccontentcenter_renewtoken.dita | 2 +- ...engine_adjustaudiomixingplayoutvolume.dita | 2 +- ...engine_adjustaudiomixingpublishvolume.dita | 2 +- ...pi_irtcengine_adjustaudiomixingvolume.dita | 2 +- ...irtcengine_adjustplaybacksignalvolume.dita | 2 +- ...rtcengine_adjustrecordingsignalvolume.dita | 2 +- .../api_irtcengine_clearvideowatermarks.dita | 2 +- ...api_irtcengine_createcustomvideotrack.dita | 2 +- .../API/api_irtcengine_createdatastream.dita | 2 +- .../API/api_irtcengine_createdatastream2.dita | 2 +- .../api_irtcengine_createmediarecorder.dita | 2 +- ...pi_irtcengine_destroycustomvideotrack.dita | 2 +- .../api_irtcengine_destroymediarecorder.dita | 2 +- .../API/api_irtcengine_disableaudio.dita | 2 +- .../API/api_irtcengine_disablevideo.dita | 2 +- .../API/api_irtcengine_enableaudio.dita | 2 +- ...rtcengine_enableaudiovolumeindication.dita | 2 +- .../API/api_irtcengine_enableencryption.dita | 2 +- .../API/api_irtcengine_enableextension.dita | 2 +- .../api_irtcengine_enablefacedetection.dita | 2 +- .../api_irtcengine_enableinearmonitoring.dita | 2 +- ...api_irtcengine_enableinearmonitoring2.dita | 2 +- .../API/api_irtcengine_enablelocalaudio.dita | 2 +- .../API/api_irtcengine_enablelocalvideo.dita | 2 +- .../API/api_irtcengine_enablevideo.dita | 2 +- ...pi_irtcengine_enablevirtualbackground.dita | 2 +- ...i_irtcengine_enablevirtualbackground2.dita | 2 +- ...cengine_getaudiomixingcurrentposition.dita | 2 +- ...api_irtcengine_getaudiomixingduration.dita | 2 +- dita/RTC-NG/API/api_irtcengine_getcallid.dita | 2 +- ...api_irtcengine_getcameramaxzoomfactor.dita | 2 +- ...rtcengine_getcurrentmonotonictimeinms.dita | 2 +- ...api_irtcengine_iscamerafocussupported.dita | 2 +- .../api_irtcengine_isspeakerphoneenabled.dita | 2 +- .../API/api_irtcengine_joinchannel.dita | 2 +- .../API/api_irtcengine_joinchannel2.dita | 2 +- .../API/api_irtcengine_leavechannel.dita | 2 +- .../API/api_irtcengine_leavechannel2.dita | 2 +- ..._irtcengine_muteallremoteaudiostreams.dita | 2 +- ..._irtcengine_muteallremotevideostreams.dita | 2 +- .../api_irtcengine_mutelocalaudiostream.dita | 2 +- .../api_irtcengine_mutelocalvideostream.dita | 2 +- .../api_irtcengine_muteremoteaudiostream.dita | 2 +- .../api_irtcengine_muteremotevideostream.dita | 2 +- .../API/api_irtcengine_pauseaudiomixing.dita | 2 +- .../API/api_irtcengine_pushaudioframe2.dita | 2 +- .../API/api_irtcengine_pushvideoframe2.dita | 2 +- .../API/api_irtcengine_pushvideoframe4.dita | 2 +- ...cengine_registermediametadataobserver.dita | 2 +- .../RTC-NG/API/api_irtcengine_renewtoken.dita | 2 +- .../API/api_irtcengine_resumeaudiomixing.dita | 2 +- .../API/api_irtcengine_sendstreammessage.dita | 2 +- ...api_irtcengine_setaudiomixingposition.dita | 2 +- .../API/api_irtcengine_setaudioprofile.dita | 2 +- .../API/api_irtcengine_setaudioprofile2.dita | 2 +- .../API/api_irtcengine_setaudioscenario.dita | 2 +- ...engine_setcameracapturerconfiguration.dita | 2 +- ...ngine_setcamerafocuspositioninpreview.dita | 2 +- .../API/api_irtcengine_setcameratorchon.dita | 2 +- .../api_irtcengine_setcamerazoomfactor.dita | 2 +- .../API/api_irtcengine_setchannelprofile.dita | 2 +- .../API/api_irtcengine_setclientrole.dita | 2 +- .../API/api_irtcengine_setclientrole2.dita | 2 +- .../API/api_irtcengine_setdualstreammode.dita | 2 +- .../api_irtcengine_setdualstreammode2.dita | 2 +- .../API/api_irtcengine_setencryptionmode.dita | 2 +- .../api_irtcengine_setencryptionsecret.dita | 2 +- ...i_irtcengine_setinearmonitoringvolume.dita | 2 +- .../api_irtcengine_setlocalrendermode.dita | 2 +- .../api_irtcengine_setlocalrendermode2.dita | 2 +- .../RTC-NG/API/api_irtcengine_setlogfile.dita | 2 +- .../API/api_irtcengine_setlogfilesize.dita | 2 +- .../API/api_irtcengine_setlogfilter.dita | 2 +- ...tcengine_setmixedaudioframeparameters.dita | 2 +- .../API/api_irtcengine_setparameters.dita | 2 +- ...ybackaudioframebeforemixingparameters.dita | 2 +- ...ngine_setplaybackaudioframeparameters.dita | 2 +- ...gine_setrecordingaudioframeparameters.dita | 2 +- ...ngine_setremotedefaultvideostreamtype.dita | 2 +- .../api_irtcengine_setremoterendermode.dita | 2 +- .../api_irtcengine_setremoterendermode2.dita | 2 +- ...i_irtcengine_setremotevideostreamtype.dita | 2 +- .../API/api_irtcengine_setuplocalvideo.dita | 2 +- .../API/api_irtcengine_setupremotevideo.dita | 2 +- ...tcengine_setvideoencoderconfiguration.dita | 2 +- .../API/api_irtcengine_setvideoprofile.dita | 2 +- .../API/api_irtcengine_startaudiomixing.dita | 2 +- .../API/api_irtcengine_startaudiomixing2.dita | 2 +- .../api_irtcengine_startaudiorecording.dita | 2 +- .../api_irtcengine_startaudiorecording3.dita | 2 +- ...api_irtcengine_startlastmileprobetest.dita | 2 +- ..._irtcengine_startlocalvideotranscoder.dita | 2 +- ...engine_startorupdatechannelmediarelay.dita | 2 +- .../API/api_irtcengine_startpreview.dita | 2 +- .../API/api_irtcengine_startpreview2.dita | 2 +- ...engine_startrtmpstreamwithtranscoding.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_irtcengine_stoplastmileprobetest.dita | 2 +- ...i_irtcengine_stoplocalvideotranscoder.dita | 2 +- .../API/api_irtcengine_stoppreview.dita | 2 +- .../API/api_irtcengine_stoppreview2.dita | 2 +- .../API/api_irtcengine_stoprtmpstream.dita | 2 +- .../API/api_irtcengine_stopscreencapture.dita | 2 +- .../API/api_irtcengine_switchcamera.dita | 2 +- .../API/api_irtcengine_switchcamera2.dita | 2 +- .../API/api_irtcengine_takesnapshot.dita | 2 +- ...ngine_unregistermediametadataobserver.dita | 2 +- ..._irtcengine_updatechannelmediaoptions.dita | 2 +- ...ne_updatelocaltranscoderconfiguration.dita | 2 +- .../api_irtcengine_updatertmptranscoding.dita | 2 +- .../api_irtcengineex_createdatastreamex.dita | 2 +- .../api_irtcengineex_createdatastreamex2.dita | 2 +- .../API/api_irtcengineex_getcallidex.dita | 2 +- .../API/api_irtcengineex_joinchannelex.dita | 2 +- .../API/api_irtcengineex_leavechannelex.dita | 2 +- .../API/api_irtcengineex_leavechannelex2.dita | 2 +- ...gineex_setvideoencoderconfigurationex.dita | 2 +- ...rver_onplaybackaudioframebeforemixing.dita | 2 +- ...erverbase_getearmonitoringaudioparams.dita | 2 +- ...frameobserverbase_getmixedaudioparams.dita | 2 +- ...verbase_getobservedaudioframeposition.dita | 2 +- ...meobserverbase_getplaybackaudioparams.dita | 2 +- ...rameobserverbase_getrecordaudioparams.dita | 2 +- ...bserverbase_onearmonitoringaudioframe.dita | 2 +- ...ioframeobserverbase_onmixedaudioframe.dita | 2 +- ...rameobserverbase_onplaybackaudioframe.dita | 2 +- ...oframeobserverbase_onrecordaudioframe.dita | 2 +- ...ourceobserver_onaudiovolumeindication.dita | 2 +- ...ecorderobserver_onrecorderinfoupdated.dita | 2 +- ...corderobserver_onrecorderstatechanged.dita | 2 +- ..._imetadataobserver_getmaxmetadatasize.dita | 2 +- ..._imetadataobserver_onmetadatareceived.dita | 2 +- ...etadataobserver_onreadytosendmetadata.dita | 2 +- ...ineeventhandler_onaudiomixingfinished.dita | 2 +- ...thandler_onaudiomixingpositionchanged.dita | 2 +- ...venthandler_onaudiomixingstatechanged.dita | 2 +- ...eeventhandler_onaudiovolumeindication.dita | 2 +- ...tcengineeventhandler_onconnectionlost.dita | 2 +- ...eventhandler_onconnectionstatechanged.dita | 2 +- ...llback_irtcengineeventhandler_onerror.dita | 2 +- ...tcengineeventhandler_onextensionerror.dita | 2 +- ...ineeventhandler_onfacepositionchanged.dita | 2 +- ...gineeventhandler_onjoinchannelsuccess.dita | 2 +- ...ineeventhandler_onlastmileproberesult.dita | 2 +- ...cengineeventhandler_onlastmilequality.dita | 2 +- ...irtcengineeventhandler_onleavechannel.dita | 2 +- ...eventhandler_onlocalaudiostatechanged.dita | 2 +- ...cengineeventhandler_onlocalaudiostats.dita | 2 +- ...eventhandler_onlocalvideostatechanged.dita | 2 +- ...cengineeventhandler_onlocalvideostats.dita | 2 +- ...tcengineeventhandler_onnetworkquality.dita | 2 +- ...cengineeventhandler_onpermissionerror.dita | 2 +- ...neeventhandler_onrejoinchannelsuccess.dita | 2 +- ...venthandler_onremoteaudiostatechanged.dita | 2 +- ...engineeventhandler_onremoteaudiostats.dita | 2 +- ...venthandler_onremotevideostatechanged.dita | 2 +- ...engineeventhandler_onremotevideostats.dita | 2 +- ...ack_irtcengineeventhandler_onrtcstats.dita | 2 +- ...gineeventhandler_onrtmpstreamingevent.dita | 2 +- ...nthandler_onrtmpstreamingstatechanged.dita | 2 +- ...rtcengineeventhandler_onsnapshottaken.dita | 2 +- ...rtcengineeventhandler_onstreammessage.dita | 2 +- ...gineeventhandler_onstreammessageerror.dita | 2 +- ...k_irtcengineeventhandler_onuserjoined.dita | 2 +- ..._irtcengineeventhandler_onuseroffline.dita | 2 +- ...engineeventhandler_onvideosizechanged.dita | 2 +- ..._ivideoframeobserver_getmirrorapplied.dita | 2 +- ...rameobserver_getobservedframeposition.dita | 2 +- ...videoframeobserver_getrotationapplied.dita | 2 +- ...rameobserver_getvideoformatpreference.dita | 2 +- ...rameobserver_getvideoframeprocessmode.dita | 2 +- ...ideoframeobserver_oncapturevideoframe.dita | 2 +- ...eoframeobserver_onpreencodevideoframe.dita | 2 +- ...videoframeobserver_onrendervideoframe.dita | 2 +- dita/RTC-NG/API/class_advanceoptions.dita | 7 ++- .../API/class_agorafacepositioninfo.dita | 13 +++- .../class_audiorecordingconfiguration.dita | 24 ++++++- dita/RTC-NG/API/class_audiotrackconfig.dita | 5 +- dita/RTC-NG/API/class_audiovolumeinfo.dita | 10 ++- .../class_cameracapturerconfiguration.dita | 6 +- dita/RTC-NG/API/class_channelmediainfo.dita | 14 ++++- .../RTC-NG/API/class_channelmediaoptions.dita | 63 ++++++++++++++++++- .../class_channelmediarelayconfiguration.dita | 8 ++- dita/RTC-NG/API/class_clientroleoptions.dita | 5 +- dita/RTC-NG/API/class_datastreamconfig.dita | 5 +- dita/RTC-NG/API/class_encryptionconfig.dita | 8 ++- .../RTC-NG/API/class_lastmileprobeconfig.dita | 13 +++- .../API/class_lastmileprobeonewayresult.dita | 9 ++- .../RTC-NG/API/class_lastmileproberesult.dita | 11 +++- .../RTC-NG/API/class_leavechanneloptions.dita | 14 ++++- dita/RTC-NG/API/class_livetranscoding.dita | 50 ++++++++++++++- dita/RTC-NG/API/class_localaudiostats.dita | 21 ++++++- .../class_localtranscoderconfiguration.dita | 9 ++- dita/RTC-NG/API/class_localvideostats.dita | 48 +++++++++++++- .../API/class_mediarecorderconfiguration.dita | 21 ++++++- dita/RTC-NG/API/class_recorderinfo.dita | 14 ++++- dita/RTC-NG/API/class_recorderstreaminfo.dita | 14 ++++- dita/RTC-NG/API/class_remoteaudiostats.dita | 39 +++++++++++- dita/RTC-NG/API/class_remotevideostats.dita | 39 +++++++++++- dita/RTC-NG/API/class_rtcconnection.dita | 9 ++- dita/RTC-NG/API/class_rtcengineconfig.dita | 6 +- dita/RTC-NG/API/class_rtcimage.dita | 26 +++++++- dita/RTC-NG/API/class_rtcstats.dita | 14 ++++- .../API/class_segmentationproperty.dita | 7 ++- .../API/class_simulcaststreamconfig.dita | 11 +++- dita/RTC-NG/API/class_transcodinguser.dita | 20 +++++- .../API/class_transcodingvideostream.dita | 38 ++++++++++- dita/RTC-NG/API/class_videocanvas.dita | 15 ++++- dita/RTC-NG/API/class_videodimensions.dita | 9 ++- .../API/class_videoencoderconfiguration.dita | 12 +++- dita/RTC-NG/API/class_videoformat.dita | 6 +- dita/RTC-NG/API/class_videoframe.dita | 15 ++++- .../API/class_virtualbackgroundsource.dita | 11 +++- 229 files changed, 820 insertions(+), 229 deletions(-) diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita index 14cdeb3d639..08ec90db02e 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita @@ -14,7 +14,7 @@

public abstract int muteAllRemoteAudioStreams(boolean mute); - + public abstract muteAllRemoteAudioStreams(muted: boolean): number; - (int)muteAllRemoteAudioStreams:(BOOL)mute; virtual int muteAllRemoteAudioStreams(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita index b5821ffbef5..6e3ddc05062 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita @@ -14,7 +14,7 @@

public abstract int muteLocalAudioStream(boolean mute); - + public abstract muteLocalAudioStream(muted: boolean): number; - (int)muteLocalAudioStream:(BOOL)mute; virtual int muteLocalAudioStream(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita b/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita index 96b4597f328..01fec807496 100644 --- a/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita @@ -15,7 +15,7 @@

public abstract int createCustomAudioTrack( Constants.AudioTrackType trackType, AudioTrackConfig config); - + public abstract createCustomAudioTrack(trackType: Constants.AudioTrackType, config: AudioTrackConfig): number; - (int)createCustomAudioTrack:(AgoraAudioTrackType)trackType config:(AgoraAudioTrackConfig* _Nonnull)config; virtual rtc::track_id_t createCustomAudioTrack(rtc::AUDIO_TRACK_TYPE trackType, const rtc::AudioTrackConfig& config) = 0; diff --git a/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita b/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita index e615f14d853..8f6303474cf 100644 --- a/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita @@ -14,7 +14,7 @@

public abstract int destroyCustomAudioTrack(int trackId); - + public abstract destroyCustomAudioTrack(trackId: number): number; - (int)destroyCustomAudioTrack:(NSInteger)trackId; virtual int destroyCustomAudioTrack(rtc::track_id_t trackId) = 0; abstract destroyCustomAudioTrack(trackId: number): number; diff --git a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index 215d930aea0..8774cce0d56 100644 --- a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -14,7 +14,7 @@

public abstract int registerAudioFrameObserver(IAudioFrameObserver observer); - + public abstract registerAudioFrameObserver(observer:IAudioFrameObserver):number; - (BOOL)setAudioFrameDelegate:(id<AgoraAudioFrameDelegate> _Nullable)delegate; virtual int registerAudioFrameObserver(IAudioFrameObserver* observer) = 0; abstract registerAudioFrameObserver(observer: IAudioFrameObserver): number; diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita index 1bf0be96ded..165007c38ad 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -14,7 +14,7 @@

public abstract int registerVideoFrameObserver(IVideoFrameObserver observer); - + public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number; - (BOOL)setVideoFrameDelegate:(id<AgoraVideoFrameDelegate> _Nullable)delegate; virtual int registerVideoFrameObserver(IVideoFrameObserver* observer) = 0; abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number; diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita index 3c555ac5595..52bba6b133e 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita @@ -15,7 +15,7 @@

public abstract int setExternalVideoSource( boolean enable, boolean useTexture, Constants.ExternalVideoSourceType sourceType); - + public abstract setExternalVideoSource(enable: boolean, useTexture: boolean, sourceType: Constants.ExternalVideoSourceType): number; - (void)setExternalVideoSource:(BOOL)enable useTexture:(BOOL)useTexture sourceType:(AgoraExternalVideoSourceType)sourceType; virtual int setExternalVideoSource( bool enabled, bool useTexture, EXTERNAL_VIDEO_SOURCE_TYPE sourceType = VIDEO_FRAME, diff --git a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita index 27efe369d6e..f643224c18a 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita @@ -15,7 +15,7 @@

int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode); - + public abstract registerAudioFrameObserver(observer:IAudioFrameObserver):number; virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer, RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita index 5dcc1ec796b..7fae544cd7a 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita @@ -14,7 +14,7 @@

int registerVideoFrameObserver(IMediaPlayerVideoFrameObserver videoFrameObserver); - + public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number; virtual int registerVideoFrameObserver(media::base::IVideoFrameObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita b/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita index f07825de220..0165280cfe5 100644 --- a/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita +++ b/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita @@ -14,7 +14,7 @@

public int setMediaRecorderObserver(IMediaRecorderCallback callback) - + public abstract setMediaRecorderObserver(callback: IMediaRecorderCallback | null): number; - (int)setMediaRecorderDelegate:(id<AgoraMediaRecorderDelegate> _Nullable)delegate; virtual int setMediaRecorderObserver(media::IMediaRecorderObserver* callback) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") diff --git a/dita/RTC-NG/API/api_imediarecorder_startrecording.dita b/dita/RTC-NG/API/api_imediarecorder_startrecording.dita index c75af4b723a..035e529a316 100644 --- a/dita/RTC-NG/API/api_imediarecorder_startrecording.dita +++ b/dita/RTC-NG/API/api_imediarecorder_startrecording.dita @@ -14,7 +14,7 @@

public int startRecording(MediaRecorderConfiguration config) - + public abstract startRecording(config: MediaRecorderConfiguration): number; - (int)startRecording:(AgoraMediaRecorderConfiguration* _Nonnull)config; virtual int startRecording(const media::MediaRecorderConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") diff --git a/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita b/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita index 03e936bf85f..78fd8884dcc 100644 --- a/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita +++ b/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita @@ -14,7 +14,7 @@

public int stopRecording() - + public abstract stopRecording(): number; - (int)stopRecording; virtual int stopRecording() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_release.dita b/dita/RTC-NG/API/api_imusiccontentcenter_release.dita index 1444984f46e..7a3ad46ccf5 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_release.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_release.dita @@ -14,7 +14,7 @@

protected abstract void release(); - + public abstract release(): void; virtual void release() = 0; abstract release(): void; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita b/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita index 9fc4eaf5d1c..05b113ad4c2 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita @@ -14,7 +14,7 @@

public abstract int renewToken(String token); - + public abstract renewToken(token: string): number; - (NSInteger)renewToken:(NSString * _Nonnull)token; virtual int renewToken(const char* token) = 0; abstract renewToken(token: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita index 36f59e2ce4c..d5ee9022c01 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita @@ -14,7 +14,7 @@

public abstract int adjustAudioMixingPlayoutVolume(int volume); - + public abstract adjustAudioMixingPlayoutVolume(volume: number): number; - (int)adjustAudioMixingPlayoutVolume:(NSInteger)volume; virtual int adjustAudioMixingPlayoutVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita index bcd24ab4995..747c24910fb 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita @@ -14,7 +14,7 @@

public abstract int adjustAudioMixingPublishVolume(int volume); - + public abstract adjustAudioMixingPublishVolume(volume: number): number; - (int)adjustAudioMixingPublishVolume:(NSInteger)volume; virtual int adjustAudioMixingPublishVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita index 5b39396957b..0af4bd1d1bc 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita @@ -14,7 +14,7 @@

public abstract int adjustAudioMixingVolume(int volume); - + public abstract adjustAudioMixingVolume(volume: number): number; - (int)adjustAudioMixingVolume:(NSInteger)volume; virtual int adjustAudioMixingVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita index dc1eebb18b7..1d18d0c269d 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita @@ -14,7 +14,7 @@

public abstract int adjustPlaybackSignalVolume(int volume); - + public abstract adjustPlaybackSignalVolume(volume: number): number; - (int)adjustPlaybackSignalVolume:(NSInteger)volume; virtual int adjustPlaybackSignalVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita index bc5bc1d17e9..e288ce0ecd7 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita @@ -14,7 +14,7 @@

public abstract int adjustRecordingSignalVolume(int volume); - + public abstract adjustRecordingSignalVolume(volume: number): number; - (int)adjustRecordingSignalVolume:(NSInteger)volume; virtual int adjustRecordingSignalVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita b/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita index 9361f0a6eaa..2cfb4a7879b 100644 --- a/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita +++ b/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita @@ -14,7 +14,7 @@

public abstract int clearVideoWatermarks(); - + public abstract clearVideoWatermarks(): number; - (int)clearVideoWatermarks; virtual int clearVideoWatermarks() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita index 8bcdc3ca37a..b8d8c41a46f 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita @@ -14,7 +14,7 @@

public abstract int createCustomVideoTrack(); - + public abstract createCustomVideoTrack(): number; - (unsigned int)createCustomVideoTrack; virtual video_track_id_t createCustomVideoTrack() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_createdatastream.dita b/dita/RTC-NG/API/api_irtcengine_createdatastream.dita index 95b9969755a..e21a9140836 100644 --- a/dita/RTC-NG/API/api_irtcengine_createdatastream.dita +++ b/dita/RTC-NG/API/api_irtcengine_createdatastream.dita @@ -14,7 +14,7 @@

public abstract int createDataStream(boolean reliable, boolean ordered); - + public abstract createDataStream(config: DataStreamConfig): number; - (int)createDataStream:(NSInteger * _Nonnull)streamId reliable:(BOOL)reliable ordered:(BOOL)ordered; diff --git a/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita b/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita index 47cd14f27d6..19d4009050e 100644 --- a/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita +++ b/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita @@ -14,7 +14,7 @@

public abstract int createDataStream(DataStreamConfig config); - + public abstract createDataStream(config: DataStreamConfig): number; - (int)createDataStream:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config; virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita index 63a3169e06e..f25ea842b31 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita @@ -14,7 +14,7 @@

public abstract AgoraMediaRecorder createMediaRecorder(RecorderStreamInfo info); - + public abstract createMediaRecorder(info: RecorderStreamInfo): AgoraMediaRecorder; - (AgoraMediaRecorder * _Nullable)createMediaRecorder:(AgoraRecorderStreamInfo * _Nonnull)info NS_SWIFT_NAME(createMediaRecorder(withInfo:)); virtual agora_refptr<IMediaRecorder> createMediaRecorder(const RecorderStreamInfo& info) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita index a92161370a6..bd24a18776c 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita @@ -14,7 +14,7 @@

public abstract int destroyCustomVideoTrack(int video_track_id); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita index 24ceaa7d488..e0faf383c4e 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita @@ -14,7 +14,7 @@

public abstract void destroyMediaRecorder(AgoraMediaRecorder mediaRecorder); - + public abstract destroyMediaRecorder(recorder: AgoraMediaRecorder): void; - (int)destroyMediaRecorder:(AgoraMediaRecorder * _Nullable)mediaRecorder; virtual int destroyMediaRecorder(agora_refptr<IMediaRecorder> mediaRecorder) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_disableaudio.dita b/dita/RTC-NG/API/api_irtcengine_disableaudio.dita index e3886eaccd1..16988155450 100644 --- a/dita/RTC-NG/API/api_irtcengine_disableaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_disableaudio.dita @@ -14,7 +14,7 @@

public abstract int disableAudio(); - + public abstract disableAudio(): number; - (int)disableAudio; virtual int disableAudio() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_disablevideo.dita b/dita/RTC-NG/API/api_irtcengine_disablevideo.dita index b32140f58e3..ca4365d5286 100644 --- a/dita/RTC-NG/API/api_irtcengine_disablevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_disablevideo.dita @@ -14,7 +14,7 @@

public abstract int disableVideo(); - + public abstract disableVideo(): number; - (int)disableVideo; virtual int disableVideo() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudio.dita b/dita/RTC-NG/API/api_irtcengine_enableaudio.dita index d5457bd607b..f32ce940f06 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudio.dita @@ -14,7 +14,7 @@

public abstract int enableAudio(); - + public abstract enableAudio(): number; - (int)enableAudio; virtual int enableAudio() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita b/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita index c86091d4c42..40ab5c5610b 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita @@ -14,7 +14,7 @@

public abstract int enableAudioVolumeIndication(int interval, int smooth, boolean reportVad); - + public abstract enableAudioVolumeIndication(interval: number, smooth: number, reportVad: boolean): number; - (int)enableAudioVolumeIndication:(NSInteger)interval smooth:(NSInteger)smooth reportVad:(BOOL)reportVad; diff --git a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita index 88bbe367232..d402b51f5e0 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita @@ -14,7 +14,7 @@

public abstract int enableEncryption(boolean enabled, EncryptionConfig config); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/dita/RTC-NG/API/api_irtcengine_enableextension.dita index 8b4286e99b1..8004aac7fa2 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -15,7 +15,7 @@

public abstract int enableExtension( String provider, String extension, boolean enable, Constants.MediaSourceType sourceType); - + public abstract enableExtension(provider:string,extension:string,enable:boolean,extensionInfo:ExtensionInfo):number; - (int)enableExtensionWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension enabled:(BOOL)enabled diff --git a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita index 0c68f38ddaf..7d9c1123833 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -14,7 +14,7 @@

public abstract int enableFaceDetection(boolean enabled); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita index ccc3dab3088..7f2f9bd4e07 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita @@ -14,7 +14,7 @@

public abstract int enableInEarMonitoring(boolean enabled); - + public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters: number): number; - (int)enableInEarMonitoring:(BOOL)enabled; diff --git a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita index 648581df3af..437c27653c8 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita @@ -14,7 +14,7 @@

public abstract int enableInEarMonitoring(boolean enabled, int includeAudioFilters); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita index 195945110a9..a1562c51692 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita @@ -14,7 +14,7 @@

public abstract int enableLocalAudio(boolean enabled); - + public abstract enableLocalAudio(enabled: boolean): number; - (int)enableLocalAudio:(BOOL)enabled; virtual int enableLocalAudio(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita b/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita index 2d610a5d7f1..fe14b55b768 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita @@ -14,7 +14,7 @@

public abstract int enableLocalVideo(boolean enabled); - + public abstract enableLocalVideo(enabled: boolean): number; - (int)enableLocalVideo:(BOOL)enabled; virtual int enableLocalVideo(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablevideo.dita b/dita/RTC-NG/API/api_irtcengine_enablevideo.dita index a64c1f99d37..8cc71185f32 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevideo.dita @@ -14,7 +14,7 @@

public abstract int enableVideo(); - + public abstract enableVideo(): number; - (int)enableVideo; virtual int enableVideo() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita index 1f5e578e20a..54cf9b43df0 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -16,7 +16,7 @@ public abstract int enableVirtualBackground( boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty); - + public abstract enableVirtualBackground(enabled:boolean,backgroundSource:VirtualBackgroundSource,segproperty:SegmentationProperty,sourceType?:Constants.MediaSourceType):number; - (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; diff --git a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita index ca31ed5eb78..a73ba01793b 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita @@ -16,7 +16,7 @@ public abstract int enableVirtualBackground(boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, Constants.MediaSourceType sourceType); - + public abstract enableVirtualBackground(enabled:boolean,backgroundSource:VirtualBackgroundSource,segproperty:SegmentationProperty,sourceType?:Constants.MediaSourceType):number; - (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita index 7e53e8b2c59..84c679b7924 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita @@ -14,7 +14,7 @@

public abstract int getAudioMixingCurrentPosition(); - + public abstract getAudioMixingCurrentPosition(): number; - (int)getAudioMixingCurrentPosition; virtual int getAudioMixingCurrentPosition() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita index 32d584e37ab..b5c3ca7c9d4 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita @@ -14,7 +14,7 @@

public abstract int getAudioMixingDuration(); - + public abstract getAudioMixingDuration():number; - (int)getAudioMixingDuration; virtual int getAudioMixingDuration() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getcallid.dita b/dita/RTC-NG/API/api_irtcengine_getcallid.dita index ce0a313ef4c..d84706b68be 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcallid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcallid.dita @@ -14,7 +14,7 @@

public abstract String getCallId(); - + public abstract getCallId(): string; - (NSString * _Nullable)getCallId; virtual int getCallId(agora::util::AString& callId) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita b/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita index 5a7ce5b8a22..10609744549 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita @@ -14,7 +14,7 @@

public abstract float getCameraMaxZoomFactor(); - + public abstract getCameraMaxZoomFactor():number; - (CGFloat)cameraMaxZoomFactor; virtual float getCameraMaxZoomFactor() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita b/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita index 2fdb5881273..3bde9edb654 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita @@ -14,7 +14,7 @@

public abstract long getCurrentMonotonicTimeInMs(); - + public abstract getCurrentMonotonicTimeInMs(): number; - (int64_t)getCurrentMonotonicTimeInMs NS_SWIFT_NAME(getCurrentMonotonicTimeInMs()); virtual int64_t getCurrentMonotonicTimeInMs() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita index 8a0652e1a93..fabdda9fec4 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita @@ -14,7 +14,7 @@

public abstract boolean isCameraFocusSupported(); - + public abstract isCameraFocusSupported(): boolean; - (BOOL)isCameraFocusPositionInPreviewSupported; virtual bool isCameraFocusSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita index f4d39d07d3c..5233230cbd9 100644 --- a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita @@ -14,7 +14,7 @@

public abstract boolean isSpeakerphoneEnabled(); - + public abstract isSpeakerphoneEnabled(): boolean; - (BOOL)isSpeakerphoneEnabled; virtual bool isSpeakerphoneEnabled() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita index 1d806f97867..bd03e7c8c55 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita @@ -15,7 +15,7 @@

public abstract int joinChannel( String token, String channelId, String optionalInfo, int uid); - + public abstract joinChannel(key: string, channel: string, optionalInfo: string, uid: number): number; - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId info:(NSString * _Nullable)info diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index 45ba20c1a41..d9b5b271158 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -15,7 +15,7 @@

public abstract int joinChannel( String token, String channelId, int uid, ChannelMediaOptions options); - + public abstract joinChannel(key: string, channel: string, optionalInfo: string, uid: number): number; - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid diff --git a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita index 79c44ae4855..10830f42511 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita @@ -14,7 +14,7 @@

public abstract int leaveChannel(); - + public abstract leaveChannel(options?: LeaveChannelOptions): number; - (int)leaveChannel:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock; virtual int leaveChannel() = 0; 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 6f32a6e19ad..712dfd91ee3 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita @@ -14,7 +14,7 @@

public abstract int leaveChannel(LeaveChannelOptions options); - + public abstract leaveChannel(options?: LeaveChannelOptions): number; - (int)leaveChannel:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void (^ _Nullable)(AgoraChannelStats * _Nonnull))leaveChannelBlock; virtual int leaveChannel(const LeaveChannelOptions& options) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita index 68112eddafc..12633a95e26 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita @@ -14,7 +14,7 @@

public abstract int muteAllRemoteAudioStreams(boolean muted); - + public abstract muteAllRemoteAudioStreams(muted: boolean): number; - (int)muteAllRemoteAudioStreams:(BOOL)mute; virtual int muteAllRemoteAudioStreams(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita index 9cb7956afc8..a4738ac820e 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita @@ -14,7 +14,7 @@

public abstract int muteAllRemoteVideoStreams(boolean muted); - + public abstract muteAllRemoteVideoStreams(muted: boolean): number; - (int)muteAllRemoteVideoStreams:(BOOL)mute; virtual int muteAllRemoteVideoStreams(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita index e8acfb1ea29..f68367e298f 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita @@ -14,7 +14,7 @@

public abstract int muteLocalAudioStream(boolean muted); - + public abstract muteLocalAudioStream(muted: boolean): number; - (int)muteLocalAudioStream:(BOOL)mute; virtual int muteLocalAudioStream(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita index 06f463ca615..c7893b00e0f 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita @@ -14,7 +14,7 @@

public abstract int muteLocalVideoStream(boolean muted); - + public abstract muteLocalVideoStream(muted: boolean): number; - (int)muteLocalVideoStream:(BOOL)mute; virtual int muteLocalVideoStream(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita index 6b0a37bca68..6ed22630dd5 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita @@ -14,7 +14,7 @@

public abstract int muteRemoteAudioStream(int uid, boolean muted); - + public abstract muteRemoteAudioStream(uid: number, muted: boolean): number; - (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita index cab256877ff..71d85351dfb 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita @@ -14,7 +14,7 @@

public abstract int muteRemoteVideoStream(int userId, boolean muted); - + public abstract muteRemoteVideoStream(uid: number, muted: boolean): number; - (int)muteRemoteVideoStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita index 31a613d8fd9..99865625371 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita @@ -14,7 +14,7 @@

public abstract int pauseAudioMixing(); - + public abstract pauseAudioMixing(): number; - (int)pauseAudioMixing; virtual int pauseAudioMixing() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index 46d4b37b500..f4426d12f9b 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -15,7 +15,7 @@

public abstract int pushExternalAudioFrame(byte[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId); - + public abstract pushExternalAudioFrame(data: ArrayBuffer, timestamp: number): number; - (int)pushExternalAudioFrameRawData:(void* _Nonnull)data samples:(NSInteger)samples sampleRate:(NSInteger)sampleRate diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita index b327ae1c2ff..61d8402237d 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita @@ -14,7 +14,7 @@

public abstract boolean pushExternalVideoFrame(AgoraVideoFrame frame); - + public abstract pushExternalVideoFrame(frame: VideoFrame): boolean; - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame NS_SWIFT_NAME(pushExternalVideoFrame(_:)) diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita index 0df57de45da..0fa00595273 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita @@ -14,7 +14,7 @@

public abstract boolean pushExternalVideoFrame(VideoFrame frame); - + public abstract pushExternalVideoFrame(frame: VideoFrame): boolean; diff --git a/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita b/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita index a90fd89ef6c..f2964d2d822 100644 --- a/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita @@ -14,7 +14,7 @@

public abstract int registerMediaMetadataObserver(IMetadataObserver observer, int type); - + public abstract registerMediaMetadataObserver(observer:IMetadataObserver,type:number):number; - (BOOL)setMediaMetadataDelegate:(id<AgoraMediaMetadataDelegate> _Nullable)metadataDelegate withType:(AgoraMetadataType)type; virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_renewtoken.dita b/dita/RTC-NG/API/api_irtcengine_renewtoken.dita index 6414b8a5486..488299d4e5b 100644 --- a/dita/RTC-NG/API/api_irtcengine_renewtoken.dita +++ b/dita/RTC-NG/API/api_irtcengine_renewtoken.dita @@ -14,7 +14,7 @@

public abstract int renewToken(String token); - + public abstract renewToken(token: string): number; - (int)renewToken:(NSString * _Nonnull)token; virtual int renewToken(const char* token) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita index 362825c4442..7ff2e9fed41 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita @@ -14,7 +14,7 @@

public abstract int resumeAudioMixing(); - + public abstract resumeAudioMixing(): number; - (int)resumeAudioMixing; virtual int resumeAudioMixing() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita index df308901205..f8f1fa65d88 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita @@ -14,7 +14,7 @@

public abstract int sendStreamMessage(int streamId, byte[] message); - + public abstract sendStreamMessage(streamId: number, message: ArrayBuffer): number; - (int)sendStreamMessage:(NSInteger)streamId data:(NSData * _Nonnull)data; virtual int sendStreamMessage(int streamId, diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita index 94f845df9a1..74b174938fc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita @@ -14,7 +14,7 @@

public abstract int setAudioMixingPosition(int pos); - + public abstract setAudioMixingPosition(pos: number): number; - (int)setAudioMixingPosition:(NSInteger)pos; virtual int setAudioMixingPosition(int pos /*in ms*/) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita index dd56f26b007..611e67fac79 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita @@ -14,7 +14,7 @@

public abstract int setAudioProfile(int profile, int scenario); - + public abstract setAudioProfile(profile: Constants.AUDIO_PROFILE_TYPE): number; - (int)setAudioProfile:(AgoraAudioProfile)profile scenario:(AgoraAudioScenario)scenario; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita index 11c691eabed..f8d64cc5d02 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita @@ -14,7 +14,7 @@

public synchronized int setAudioProfile(int profile) - + public abstract setAudioProfile(profile: Constants.AUDIO_PROFILE_TYPE): number; - (int)setAudioProfile:(AgoraAudioProfile)profile; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0; abstract setAudioProfile(profile: AudioProfileType, scenario?: AudioScenarioType): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita index 75c498ba342..9ddf22fda9e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -14,7 +14,7 @@

public abstract int setAudioScenario(int scenario); - + public abstract setAudioScenario(scenario: Constants.AUDIO_SCENARIO_TYPE): number; - (int)setAudioScenario:(AgoraAudioScenario)scenario; virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita index 89a3f34df38..1bda8d24313 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita @@ -14,7 +14,7 @@

public abstract int setCameraCapturerConfiguration(CameraCapturerConfiguration config); - + public abstract setCameraCapturerConfiguration(config: CameraCapturerConfiguration): number; - (int)setCameraCapturerConfiguration:(AgoraCameraCapturerConfiguration * _Nullable)config; virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita b/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita index 2bd99164b4d..708a9fb8a29 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita @@ -14,7 +14,7 @@

public abstract int setCameraFocusPositionInPreview(float positionX, float positionY); - + public abstract setCameraFocusPositionInPreview(positionX: number, positionY: number): number; - (BOOL)setCameraFocusPositionInPreview:(CGPoint)position; virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita b/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita index 178f0947e62..a4f8abed7de 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita @@ -14,7 +14,7 @@

public abstract int setCameraTorchOn(boolean isOn); - + public abstract setCameraTorchOn(isOn:boolean):number; - (BOOL)setCameraTorchOn:(BOOL)isOn NS_SWIFT_NAME(setCameraTorchOn(_:)); virtual int setCameraTorchOn(bool isOn) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita b/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita index 4c9a11cc810..5006c43d6f7 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita @@ -14,7 +14,7 @@

public abstract int setCameraZoomFactor(float factor); - + public abstract setCameraZoomFactor(factor:number):number; - (CGFloat)setCameraZoomFactor:(CGFloat)zoomFactor; virtual int setCameraZoomFactor(float factor) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita b/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita index 7886de038c7..f89c4fc8c04 100644 --- a/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita @@ -14,7 +14,7 @@

public abstract int setChannelProfile(int profile); - + public abstract setChannelProfile(profile: number): number; - (int)setChannelProfile:(AgoraChannelProfile)profile; virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole.dita index 58e9247dc14..7e282d01902 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole.dita @@ -14,7 +14,7 @@

public abstract int setClientRole(int role); - + public abstract setClientRole(role: number, options?: ClientRoleOptions): number; - (int)setClientRole:(AgoraClientRole)role; virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0; abstract setClientRole( diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita index 296a9eaf986..f563673fc71 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -14,7 +14,7 @@

public abstract int setClientRole(int role, ClientRoleOptions options); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita b/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita index b8131a9ce2b..8e100e01766 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita @@ -14,7 +14,7 @@

public abstract int setDualStreamMode(Constants.SimulcastStreamMode mode); - + public abstract setDualStreamMode(mode: Constants.SimulcastStreamMode, streamConfig?: SimulcastStreamConfig): number; - (int)setDualStreamMode:(AgoraSimulcastStreamMode)mode; virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita b/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita index 7a2894bdbf0..cde8db511f1 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita @@ -15,7 +15,7 @@

public abstract int setDualStreamMode( Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig); - + public abstract setDualStreamMode(mode: Constants.SimulcastStreamMode, streamConfig?: SimulcastStreamConfig): number; - (int)setDualStreamMode:(AgoraSimulcastStreamMode)mode streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig; virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode, diff --git a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita b/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita index 4e22c0ae2da..c8030f9c0c6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita @@ -14,7 +14,7 @@

public abstract int setEncryptionMode(String encryptionMode); - + public abstract setEncryptionMode(encryptionMode:string):number; - (int)setEncryptionMode:(NSString * _Nullable)encryptionMode; virtual int setEncryptionMode(const char* encryptionMode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita b/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita index 77f4704d0fb..46cd82e7094 100644 --- a/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita +++ b/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita @@ -14,7 +14,7 @@

public abstract int setEncryptionSecret(String secret); - + public abstract setEncryptionSecret(secret:string):number; - (int)setEncryptionSecret:(NSString * _Nullable)secret; virtual int setEncryptionSecret(const char* secret) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita b/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita index b368ffb5fc3..9f9742d6084 100644 --- a/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita @@ -14,7 +14,7 @@

public abstract int setInEarMonitoringVolume(int volume); - + public abstract setInEarMonitoringVolume(volume: number): number; - (int)setInEarMonitoringVolume:(NSInteger)volume; virtual int setInEarMonitoringVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita index 289b7f17e16..346124b03d5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita @@ -14,7 +14,7 @@

public abstract int setLocalRenderMode(int renderMode); - + public abstract setLocalRenderMode(renderMode: number, mirrorMode: number): number; - (int)setLocalRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode; virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 734178a9917..90757ff34ff 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -14,7 +14,7 @@

public abstract int setLocalRenderMode(int renderMode, int mirrorMode); - + public abstract setLocalRenderMode(renderMode: number, mirrorMode: number): number; - (int)setLocalRenderMode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index cdae871fd4c..73d87ae7ffc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -14,7 +14,7 @@

public abstract int setLogFile(String filePath); - + public abstract setLogFile(filePath: string): number; - (int)setLogFile:(NSString * _Nonnull)filePath; virtual int setLogFile(const char* filePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita b/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita index c51261dfb1c..d3874309e65 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita @@ -14,7 +14,7 @@

public abstract int setLogFileSize(long fileSizeInKBytes); - + public abstract setLogFileSize(fileSizeInKBytes: number): number; - (int)setLogFileSize:(NSUInteger)fileSizeInKBytes; virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita b/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita index ee916595030..c40da2ad26b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita @@ -14,7 +14,7 @@

public abstract int setLogFilter(int filter); - + public abstract setLogFilter(filter: Constants.LogFilter): number; - (int)setLogFilter:(NSUInteger)filter; virtual int setLogFilter(unsigned int filter) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index f5de2207f2a..2c4d2c68c1f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -14,7 +14,7 @@

public abstract int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); - + public abstract setMixedAudioFrameParameters(sampleRate: number, channel: number, samplesPerCall: number): number; - (int)setMixedAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel samplesPerCall:(NSInteger)samplesPerCall; diff --git a/dita/RTC-NG/API/api_irtcengine_setparameters.dita b/dita/RTC-NG/API/api_irtcengine_setparameters.dita index 04c82b3d571..6443c94ace3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setparameters.dita @@ -14,7 +14,7 @@

public abstract int setParameters(String parameters); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index c514ab4d33b..cd245b97537 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -14,7 +14,7 @@

public abstract int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); - + public abstract setPlaybackAudioFrameBeforeMixingParameters(sampleRate:number,channel:number):number; - (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel; virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index 0e2a6826158..aaa2a142d19 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -15,7 +15,7 @@

public abstract int setPlaybackAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall); - + public abstract setPlaybackAudioFrameParameters(sampleRate: number, channel: number, mode: number, samplesPerCall: number): number; - (int)setPlaybackAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index fc2875b520c..6fb14dbcb29 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -15,7 +15,7 @@

public abstract int setRecordingAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall); - + public abstract setRecordingAudioFrameParameters(sampleRate: number, channel: number, mode: number, samplesPerCall: number): number; - (int)setRecordingAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index b95ae59b895..fb0a337cb56 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -14,7 +14,7 @@

public abstract int setRemoteDefaultVideoStreamType(int streamType); - + public abstract setRemoteDefaultVideoStreamType(streamType: Constants.VideoStreamType): number; - (int)setRemoteDefaultVideoStreamType:(AgoraVideoStreamType)streamType; virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita index 680d6b1b09b..c0e6385db34 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita @@ -14,7 +14,7 @@

public abstract int setRemoteRenderMode(int userId, int renderMode); - + public abstract setRemoteRenderMode(uid: number, renderMode: number, mirrorMode: number): number; - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode; virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita index bc7fc490e6d..3215861567e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita @@ -14,7 +14,7 @@

public abstract int setRemoteRenderMode(int userId, int renderMode, int mirrorMode); - + public abstract setRemoteRenderMode(uid: number, renderMode: number, mirrorMode: number): number; - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index 60510ce0a4b..15fb87756d9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -14,7 +14,7 @@

public abstract int setRemoteVideoStreamType(int uid, int streamType); - + public abstract setRemoteVideoStreamType(uid: number, streamType: Constants.StreamType): number; - (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType; virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita index 1b210487fa4..204f55c31f6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita @@ -14,7 +14,7 @@

public abstract int setupLocalVideo(VideoCanvas local); - + public abstract setupLocalVideo(canvas: VideoCanvas): number; - (int)setupLocalVideo:(AgoraRtcVideoCanvas * _Nullable)local; virtual int setupLocalVideo(const VideoCanvas& canvas) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita b/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita index bc59b3e5b73..b0f1c4166bd 100644 --- a/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita @@ -14,7 +14,7 @@

public abstract int setupRemoteVideo(VideoCanvas remote); - + public abstract setupRemoteVideo(canvas: VideoCanvas): number; - (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote; virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita index f292d634997..78e28c6b94c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita @@ -14,7 +14,7 @@

public abstract int setVideoEncoderConfiguration(VideoEncoderConfiguration config); - + public abstract setVideoEncoderConfiguration(configuration: VideoEncoderConfiguration): number; - (int)setVideoEncoderConfiguration:(AgoraVideoEncoderConfiguration * _Nonnull)config; virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita b/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita index d8eb79267ff..9edbb4664ac 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita @@ -14,7 +14,7 @@

public abstract int setVideoProfile(int profile, boolean swapWidthAndHeight); - + public abstract setVideoProfile(profile:number,swapWidthAndHeight:boolean):number; - (int)setVideoProfile:(AgoraVideoProfile)profile swapWidthAndHeight:(BOOL)swapWidthAndHeight virtual int setVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index bb035a65528..4cd54f4e10a 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -14,7 +14,7 @@

public abstract int startAudioMixing(String filePath, boolean loopback, int cycle); - + public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number; - (int)startAudioMixing:(NSString * _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle NS_SWIFT_NAME(startAudioMixing(_:loopback:cycle:)); diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index 9a22e4cecad..a187a28c414 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -14,7 +14,7 @@

public abstract int startAudioMixing(String filePath, boolean loopback, int cycle, int startPos); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 25bcad407a6..764ce88631e 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -14,7 +14,7 @@

public abstract int startAudioRecording(String filePath, int quality); - + public abstract startAudioRecording(filePath: string, quality: Constants.AUDIO_RECORDING_QUALITY_TYPE): number; - (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality; virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index 734e4fec708..9c065734810 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -14,7 +14,7 @@

public abstract int startAudioRecording(AudioFileRecordingConfig config); - + public abstract startAudioRecording(filePath: string, quality: Constants.AUDIO_RECORDING_QUALITY_TYPE): number; - (int)startAudioRecordingWithConfig:(AgoraAudioRecordingConfiguration * _Nonnull)config; virtual int startAudioRecording(const AudioFileRecordingConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita index 216697eb444..f20cd326a2a 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -14,7 +14,7 @@

public abstract int startLastmileProbeTest(LastmileProbeConfig config); - + public abstract startLastmileProbeTest(config: LastmileProbeConfig): number; - (int)startLastmileProbeTest:(AgoraLastmileProbeConfig *_Nullable)config; virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita b/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita index 86541c539f5..849b311a302 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita @@ -14,7 +14,7 @@

public abstract int startLocalVideoTranscoder(LocalTranscoderConfiguration config); - + public abstract startLocalVideoTranscoder(config: LocalTranscoderConfiguration): number; - (int)startLocalVideoTranscoder:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalVideoTranscoder(_:)); virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index 79fcd3b1521..b5250002011 100644 --- a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -15,7 +15,7 @@

public abstract int startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview.dita b/dita/RTC-NG/API/api_irtcengine_startpreview.dita index dcca663dd5b..a67d13e9d80 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview.dita @@ -14,7 +14,7 @@

public abstract int startPreview(); - + public abstract startPreview(sourceType?: Constants.VideoSourceType): number; - (int)startPreview; virtual int startPreview() = 0; abstract startPreviewWithoutSourceType(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview2.dita b/dita/RTC-NG/API/api_irtcengine_startpreview2.dita index f76be911bb6..2106ab83677 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview2.dita @@ -15,7 +15,7 @@

public abstract int startPreview(Constants.VideoSourceType sourceType); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita index b4800a3f33c..2e10af42112 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita @@ -14,7 +14,7 @@

public abstract int startRtmpStreamWithTranscoding(String url, LiveTranscoding transcoding); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita index 35a08fd1b7f..bd290e64502 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -14,7 +14,7 @@

public abstract int stopAudioMixing(); - + public abstract stopAudioMixing(): number; - (int)stopAudioMixing; virtual int stopAudioMixing() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita index a2bdeb661be..e2117121a75 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita @@ -14,7 +14,7 @@

public abstract int stopAudioRecording(); - + public abstract stopAudioRecording(): number; - (int)stopAudioRecording; virtual int stopAudioRecording() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita b/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita index 0e9775144d3..c2c5a0d0e49 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita @@ -14,7 +14,7 @@

public abstract int stopCameraCapture(Constants.VideoSourceType sourceType); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita index f145c202387..dea0ffe7676 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -14,7 +14,7 @@

public abstract int stopChannelMediaRelay(); - + public abstract stopChannelMediaRelay(): number; - (int)stopChannelMediaRelay; virtual int stopChannelMediaRelay() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita index a044937e64f..39fb2fdb15d 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita @@ -14,7 +14,7 @@

public abstract int stopLastmileProbeTest(); - + public abstract stopLastmileProbeTest(): number; - (int)stopLastmileProbeTest; virtual int stopLastmileProbeTest() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita b/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita index cdc9e0f0704..5f9b1767391 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita @@ -14,7 +14,7 @@

public abstract int stopLocalVideoTranscoder(); - + public abstract stopLocalVideoTranscoder(): number; - (int)stopLocalVideoTranscoder NS_SWIFT_NAME(stopLocalVideoTranscoder()); virtual int stopLocalVideoTranscoder() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_stoppreview.dita b/dita/RTC-NG/API/api_irtcengine_stoppreview.dita index be5c8726e47..5130aea1856 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoppreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoppreview.dita @@ -14,7 +14,7 @@

public abstract int stopPreview(); - + public abstract stopPreview(sourceType?: Constants.VideoSourceType): number; - (int)stopPreview; virtual int stopPreview() = 0; abstract stopPreview(sourceType?: VideoSourceType): number; diff --git a/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita b/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita index db8b9a359ea..019d5ed5625 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita @@ -15,7 +15,7 @@

public abstract int stopPreview(Constants.VideoSourceType sourceType); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita index 5481719c94a..e74ba09c789 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita @@ -14,7 +14,7 @@

public abstract int stopRtmpStream(String url); - + public abstract stopRtmpStream(url: string): number; - (int)stopRtmpStream:(NSString* _Nonnull)url; virtual int stopRtmpStream(const char* url) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita index df05c253baa..cd76f7babd7 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita @@ -14,7 +14,7 @@

public abstract int stopScreenCapture(); - + public abstract stopScreenCapture(): number; - (int)stopScreenCapture NS_SWIFT_NAME(stopScreenCapture()); #if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__) diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita index 99005744a39..4b6426be36a 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita @@ -14,7 +14,7 @@

public abstract int switchCamera(); - + public abstract switchCamera(): number; - (int)switchCamera; virtual int switchCamera() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita index 0cceae2a596..ba50ec81f26 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita @@ -14,7 +14,7 @@

public abstract int switchCamera(String cameraId); - + public abstract switchCamera(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita b/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita index 6edd2970597..b4e1e55e1ee 100644 --- a/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita +++ b/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita @@ -14,7 +14,7 @@

public abstract int takeSnapshot(int uid, String filePath); - + 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") diff --git a/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita index aaac4d54e41..19927fbfe71 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita @@ -14,7 +14,7 @@

public abstract int unregisterMediaMetadataObserver(IMetadataObserver observer, int type); - + public abstract unregisterMediaMetadataObserver(observer:IMetadataObserver,type:number):number; virtual int unregisterMediaMetadataObserver(IMetadataObserver* observer, IMetadataObserver::METADATA_TYPE type) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita index a7536cccec2..ea3736e2d69 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita @@ -14,7 +14,7 @@

public abstract int updateChannelMediaOptions(ChannelMediaOptions options); - + public abstract updateChannelMediaOptions(options: ChannelMediaOptions): number; - (int)updateChannelWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions; virtual int updateChannelMediaOptions(const ChannelMediaOptions& options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita index c1668132bd3..f75103dcd95 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita @@ -14,7 +14,7 @@

public abstract int updateLocalTranscoderConfiguration(LocalTranscoderConfiguration config); - + public abstract updateLocalTranscoderConfiguration(config: LocalTranscoderConfiguration): number; - (int)updateLocalTranscoderConfiguration:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(updateLocalTranscoderConfiguration(_:)); virtual int updateLocalTranscoderConfiguration(const LocalTranscoderConfiguration& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita b/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita index 21d6c6cbbbe..c0944319ef5 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita @@ -14,7 +14,7 @@

public abstract int updateRtmpTranscoding(LiveTranscoding transcoding); - + public abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number; - (int)updateRtmpTranscoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita index 2b9f845244a..0863b99b7fb 100644 --- a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita @@ -15,7 +15,7 @@

public abstract int createDataStreamEx( boolean reliable, boolean ordered, RtcConnection connection); - + public abstract createDataStreamEx(config:DataStreamConfig,connection:RtcConnection):number; - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId reliable:(BOOL)reliable ordered:(BOOL)ordered diff --git a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita index d2e6d4f4c02..2bced9424dc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita @@ -14,7 +14,7 @@

public abstract int createDataStreamEx(DataStreamConfig config, RtcConnection connection); - + public abstract createDataStreamEx(config:DataStreamConfig,connection:RtcConnection):number; - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(createDataStreamEx(_:config:connection:)); diff --git a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index d90e37b9fd0..c2580b1e0de 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -14,7 +14,7 @@

public abstract String getCallIdEx(RtcConnection connection); - + public abstract getCallIdEx(connection:RtcConnection); - (NSString * _Nullable)getCallIdEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(getCallIdEx(_:)); virtual int getCallIdEx(agora::util::AString& callId, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita b/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita index 1157b750417..1de561d5caf 100644 --- a/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita @@ -15,7 +15,7 @@

public abstract int joinChannelEx(String token, RtcConnection connection, ChannelMediaOptions options, IRtcEngineEventHandler eventHandler); - + public abstract joinChannelEx(token: string, connection: RtcConnection, options: ChannelMediaOptions, eventHandler: IRtcEngineEventHandler): number; - (int)joinChannelExByToken:(NSString* _Nullable)token connection:(AgoraRtcConnection * _Nonnull)connection delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate diff --git a/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita b/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita index f5a0bdeb767..5daac3168bc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita @@ -14,7 +14,7 @@

public abstract int leaveChannelEx(RtcConnection connection); - + public abstract leaveChannelEx(connection: RtcConnection): number; - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock NS_SWIFT_NAME(leaveChannelEx(_:leaveChannelBlock:)); virtual int leaveChannelEx(const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita index 46c1b207bc8..03bacb33129 100644 --- a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita @@ -14,7 +14,7 @@

public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options); - + public abstract leaveChannelEx(connection: RtcConnection): number; - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; diff --git a/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita b/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita index 104db0c8135..e1bfb554f61 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita @@ -15,7 +15,7 @@

public abstract int setVideoEncoderConfigurationEx( VideoEncoderConfiguration config, RtcConnection connection); - + public abstract setVideoEncoderConfigurationEx(configuration: VideoEncoderConfiguration, connection: RtcConnection): number; - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration& config, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index e9743f9a1db..7bd129bbbe0 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -16,7 +16,7 @@ public abstract boolean onPlaybackAudioFrameBeforeMixing(int userId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - + onPlaybackAudioFrameBeforeMixing?: (channelId: string, userId: number, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number, rtpTimestamp: number) => boolean; - (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(onPlaybackAudioFrame(beforeMixing:channelId:uid:)); virtual bool onPlaybackAudioFrameBeforeMixing(const char* channelId, rtc::uid_t uid, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioFrameBeforeMixing, const FString, channelId, int64, uid, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita index fd322085194..b2ea0d8c6e2 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita @@ -14,7 +14,7 @@

public abstract AudioParams getEarMonitoringAudioParams(); - + getEarMonitoringAudioParams?: () => AudioParams; - (AgoraAudioParams* _Nonnull)getEarMonitoringAudioParams NS_SWIFT_NAME(getEarMonitoringAudioParams()); virtual AudioParams getEarMonitoringAudioParams() = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita index b99b7abbb84..f2e2c2cb6a6 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita @@ -14,7 +14,7 @@

public abstract AudioParams getMixedAudioParams(); - + getMixedAudioParams?: () => AudioParams; - (AgoraAudioParams* _Nonnull)getMixedAudioParams NS_SWIFT_NAME(getMixedAudioParams()); virtual AudioParams getMixedAudioParams() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetMixedAudioParams); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita index 0673f23d6c9..5181a325a5f 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita @@ -14,7 +14,7 @@

- (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition()); - + getObservedAudioFramePosition?: () => number; - (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition()); virtual int getObservedAudioFramePosition() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetObservedAudioFramePosition); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita index 7844ebe54e9..9e040b001d1 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita @@ -14,7 +14,7 @@

public abstract AudioParams getMixedAudioParams(); - + getPlaybackAudioParams?: () => AudioParams; - (AgoraAudioParams* _Nonnull)getPlaybackAudioParams NS_SWIFT_NAME(getPlaybackAudioParams()); virtual AudioParams getPlaybackAudioParams() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetPlaybackAudioParams); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita index 56283b566ac..ffe5cff42f0 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita @@ -14,7 +14,7 @@

public abstract AudioParams getRecordAudioParams(); - + getRecordAudioParams?: () => AudioParams; - (AgoraAudioParams* _Nonnull)getRecordAudioParams NS_SWIFT_NAME(getRecordAudioParams()); virtual AudioParams getRecordAudioParams() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRecordAudioParams); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita index c70010c243f..558ee0bc4e5 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita @@ -17,7 +17,7 @@ int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - + onEarMonitoringAudioFrame?: (type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; - (BOOL)onEarMonitoringAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index ddb0ac95d84..3da04931e5a 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -16,7 +16,7 @@ public abstract boolean onMixedAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - + onMixedAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; - (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onMixedAudioFrame(_:channelId:)); virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnMixedAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita index 6d70c675d02..674a11e4721 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita @@ -16,7 +16,7 @@ public abstract boolean onPlaybackAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - + onPlaybackAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; - (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onPlaybackAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlaybackAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita index c1c546e0f8f..0d3b340db0d 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita @@ -16,7 +16,7 @@ public abstract boolean onRecordAudioFrame(String channelId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - + onRecordAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; - (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onRecordAudioFrame(_:channelId:)); virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRecordAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita index 180828767d1..8f98d0acf3f 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita @@ -14,7 +14,7 @@

void onAudioVolumeIndication(int volume); - + onAudioVolumeIndication?:( speakers:Array<AudioVolumeInfo>, totalVolume:number) => void - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit volumeIndicationDidReceive:(NSInteger)volume; diff --git a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita index 745b37edde8..a7170751529 100644 --- a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita +++ b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita @@ -14,7 +14,7 @@

void onRecorderInfoUpdated(String channelId, int uid, RecorderInfo info); - + onRecorderInfoUpdated(channelId: string, uid: number, info: RecorderInfo): void; - (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder informationDidUpdated:(NSString * _Nonnull)channelId uid:(NSUInteger)uid info:(AgoraMediaRecorderInfo* _Nonnull)info; virtual void onRecorderInfoUpdated(const char* channelId, rtc::uid_t uid, const RecorderInfo& info) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnRecorderInfoUpdated, FString, channelId, int64, uid, const FRecorderInfo&, info); diff --git a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita index c0bdada2c59..3499bd0163d 100644 --- a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita +++ b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita @@ -14,7 +14,7 @@

void onRecorderStateChanged(String channelId, int uid, int state, int reason); - + onRecorderStateChanged(channelId: string, uid: number, state: number, reason: number): void; - (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder stateDidChanged:(NSString * _Nonnull)channelId uid:(NSUInteger)uid state:(AgoraMediaRecorderState)state reason:(AgoraMediaRecorderReasonCode)reason; virtual void onRecorderStateChanged(const char* channelId, rtc::uid_t uid, RecorderState state, RecorderReasonCode reason) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRecorderStateChanged, FString, channelId, int64, uid, FENUMWRAP_RecorderState, state, ERecorderErrorCode, error); diff --git a/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita b/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita index 36cae48815c..c8a4486c182 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita @@ -14,7 +14,7 @@

public abstract int getMaxMetadataSize(); - + getMaxMetadataSize?:() =>number; - (NSInteger)metadataMaxSize; virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; } DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetMaxMetadataSize); diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index 7aa450b4a11..dcd1d98f299 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -14,7 +14,7 @@

public abstract void onMetadataReceived(byte[] buffer, int uid, long timeStampMs); - + onMetadataReceived?:(buffer:ArrayBuffer,uid:number,timeStampMs:bigint) =>void; - (void)receiveMetadata:(NSData * _Nonnull)data fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp; virtual void onMetadataReceived(const Metadata &metadata) = 0; diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita index 6f8e9522748..5de2cb77aba 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita @@ -14,7 +14,7 @@

public abstract byte[] onReadyToSendMetadata(long timeStampMs, int sourceType); - + onReadyToSendMetadata?:(timeStampMs:bigint,sourceType:number) =>ArrayBuffer; - (NSData * _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp sourceType:(AgoraVideoSourceType)sourceType; virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita index 3cd25994d4e..49b58d4611c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita @@ -14,7 +14,7 @@

public void onAudioMixingFinished() {} - + onAudioMixingFinished?:()=>void - (void)rtcEngineLocalAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onAudioMixingFinished() { } diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita index 023632796e5..7404c092430 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita @@ -14,7 +14,7 @@

public void onAudioMixingPositionChanged(long position) {} - + 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); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index fcf29d32d5b..525f76f3e66 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -14,7 +14,7 @@

public void onAudioMixingStateChanged(int state, int reasonCode); - + onAudioMixingStateChanged?:(state:number,reason:number) => void - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)state reasonCode:(AgoraAudioMixingReasonCode)reasonCode; virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita index c805594a5bc..70c1dfecef3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita @@ -14,7 +14,7 @@

public void onAudioVolumeIndication(AudioVolumeInfo[] speakers, int totalVolume) {} - + onAudioVolumeIndication?:( speakers:Array<AudioVolumeInfo>, totalVolume:number) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportAudioVolumeIndicationOfSpeakers:(NSArray<AgoraRtcAudioVolumeInfo *> * _Nonnull)speakers totalVolume:(NSInteger)totalVolume; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita index fe0536960f4..b2b84cd162f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita @@ -14,7 +14,7 @@

public void onConnectionLost() {} - + onConnectionLost?:() => void; - (void)rtcEngineConnectionDidLost:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionLost() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionLost); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita index 1201819b576..404669091f9 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita @@ -14,7 +14,7 @@

public void onConnectionStateChanged(int state, int reason) {} - + onConnectionStateChanged ? : ( state: Constants.ConnectionState, reason: Constants.ConnectionChangeReason ) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine connectionStateChanged:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index 9684323df1c..25663c627c0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -15,7 +15,7 @@

public void onError(int err) {} - + onError?:(err:number,message:string) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurError:(AgoraErrorCode)errorCode; virtual void onError(int err, const char* msg) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita index 104c7de5ce8..64f751e5394 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita @@ -14,7 +14,7 @@

void onError(String provider, String extension, int error, String message); - + onError?:(err:number,message:string) => void - (void)onExtensionError:(NSString * __nullable)provider extension:(NSString * __nullable)extension error:(int)error diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita index 5f3e47f676d..68bec623414 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita @@ -15,7 +15,7 @@

public void onFacePositionChanged( int imageWidth, int imageHeight, AgoraFacePositionInfo[] faceRectArr) {} - + onFacePositionChanged?:( - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine facePositionDidChangeWidth:(int)width previewHeight:(int)height faces:(NSArray<AgoraFacePositionInfo*>* _Nullable)faces NS_SWIFT_NAME(rtcEngine(_:facePositionDidChangeWidth:previewHeight:faces:)); virtual void onFacePositionChanged(int imageWidth, int imageHeight, const Rectangle* vecRectangle, const int* vecDistance, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita index 832ca5cd297..41816bc87a3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita @@ -14,7 +14,7 @@

public void onJoinChannelSuccess(String channel, int uid, int elapsed) {} - + onJoinChannelSuccess?:(cid:string, uid:number, elapsed:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed; virtual void onJoinChannelSuccess(const char* channel, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita index 48c65d08100..7b0ae0334fd 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita @@ -14,7 +14,7 @@

public void onLastmileProbeResult(LastmileProbeResult result) {} - + onLastmileProbeResult? : (result:LastmileProbeResult) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileProbeTestResult:(AgoraLastmileProbeResult * _Nonnull)result; virtual void onLastmileProbeResult(const LastmileProbeResult& result) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita index 8047b1c097d..3d606737504 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita @@ -14,7 +14,7 @@

public void onLastmileQuality(int quality) {} - + onLastmileQuality? : (quality:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileQuality:(AgoraNetworkQuality)quality; virtual void onLastmileQuality(int quality) { (void)quality; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita index 12b558a8e78..017b5b80794 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita @@ -14,7 +14,7 @@

public void onLeaveChannel(RtcStats stats) {} - + onLeaveChannel?:(stats: RtcStats | null) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLeaveChannelWithStats:(AgoraChannelStats * _Nonnull)stats; virtual void onLeaveChannel(const RtcStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita index 95f606b4b2d..d7bcc947055 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita @@ -14,7 +14,7 @@

public void onLocalAudioStateChanged(int state, int reason) {} - + onLocalAudioStateChanged?:(state:Constants.LocalAudioStreamState,error:Constants.LocalAudioStreamReason) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStateChanged:(AgoraAudioLocalState)state reason:(AgoraAudioLocalReason)reason NS_SWIFT_NAME(rtcEngine(_:localAudioStateChanged:reason:)); virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_REASON reason) { (void)state; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita index 4af9063b260..02efce1c341 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita @@ -14,7 +14,7 @@

public void onLocalAudioStats(LocalAudioStats stats) {} - + onLocalAudioStats?:( stats:LocalAudioStats) =>void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStats:(AgoraRtcLocalAudioStats * _Nonnull)stats; virtual void onLocalAudioStats(const LocalAudioStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index 74a12b44a81..c063d9aad3d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -15,7 +15,7 @@

public void onLocalVideoStateChanged(Constants.VideoSourceType source, int state, int reason) {} - + onLocalVideoStateChanged?:(source: Constants.VideoSourceType, state:Constants.LocalVideoStreamState,error:Constants.LocalVideoStreamReason) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStateChangedOfState:(AgoraVideoLocalState)state reason:(AgoraLocalVideoStreamReason)reason sourceType:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(rtcEngine(_:localVideoStateChangedOf:reason:sourceType:)); virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_REASON reason) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita index 6b11e99150e..3620b795690 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita @@ -15,7 +15,7 @@

public void onLocalVideoStats(Constants.VideoSourceType source, LocalVideoStats stats) {} - + onLocalVideoStats?:(source:Constants.VideoSourceType , stats:LocalVideoStats ) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStats:(AgoraRtcLocalVideoStats * _Nonnull)stats sourceType:(AgoraVideoSourceType)sourceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita index d4358fccb80..0319306ef22 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita @@ -14,7 +14,7 @@

public void onNetworkQuality(int uid, int txQuality, int rxQuality) {} - + onNetworkQuality? : (uid: number, txQuality: Constants.NetworkQuality, rxQuality: Constants.NetworkQuality) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkQuality:(NSUInteger)uid txQuality:(AgoraNetworkQuality)txQuality diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita index cd30fa9d87f..34771107798 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita @@ -14,7 +14,7 @@

public void onPermissionError(int permission) {} - + onPermissionError?:(permission:Constants.Permission) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine permissionError:(AgoraPermissionType)type; virtual void onPermissionError(PERMISSION_TYPE permissionType) { (void)permissionType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita index 80aecc23642..6483b61a4d2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita @@ -14,7 +14,7 @@

public void onRejoinChannelSuccess(String channel, int uid, int elapsed) {} - + onRejoinChannelSuccess?:(cid:string, uid:number, elapsed:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRejoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed; virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita index 34c7a66c477..c01b62bdef3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita @@ -14,7 +14,7 @@

public void onRemoteAudioStateChanged(int uid, int state, int reason, int elapsed) {} - + onRemoteAudioStateChanged ? : (uid:number, state: Constants.RemoteAudioStreamState, reason: Constants.RemoteAudioStreamReason, elapsed:number) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStateChangedOfUid:(NSUInteger)uid state:(AgoraAudioRemoteState)state reason:(AgoraAudioRemoteReason)reason elapsed:(NSInteger)elapsed; virtual void onRemoteAudioStateChanged(uid_t uid, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita index 223fbcb7d82..295580924b9 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita @@ -14,7 +14,7 @@

public void onRemoteAudioStats(RemoteAudioStats stats) {} - + onRemoteAudioStats?:(stats:RemoteAudioStats) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStats:(AgoraRtcRemoteAudioStats * _Nonnull)stats; virtual void onRemoteAudioStats(const RemoteAudioStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita index 7aa4bf01fec..68163b9dbed 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita @@ -14,7 +14,7 @@

public void onRemoteVideoStateChanged(int uid, int state, int reason, int elapsed) {} - + onRemoteVideoStateChanged ? : (uid:number, state: Constants.RemoteVideoStreamState, reason: Constants.RemoteVideoStreamReason, elapsed:number) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStateChangedOfUid:(NSUInteger)uid state:(AgoraVideoRemoteState)state reason:(AgoraVideoRemoteReason)reason elapsed:(NSInteger)elapsed; virtual void onRemoteVideoStateChanged(uid_t uid, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita index 1556b84f635..b768117adcc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita @@ -14,7 +14,7 @@

public void onRemoteVideoStats(RemoteVideoStats stats) {} - + onRemoteVideoStats?:(stats:RemoteVideoStats) =>void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStats:(AgoraRtcRemoteVideoStats * _Nonnull)stats; virtual void onRemoteVideoStats(const RemoteVideoStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita index 7f80326d1b6..aee836789b0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita @@ -14,7 +14,7 @@

public void onRtcStats(RtcStats stats) {} - + onRtcStats ? : (stats: RtcStats) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportRtcStats:(AgoraChannelStats * _Nonnull)stats; virtual void onRtcStats(const RtcStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita index 0ef319224d1..c4478183c32 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita @@ -14,7 +14,7 @@

public void onRtmpStreamingEvent(String url, int event) {} - + onRtmpStreamingEvent? : (url:string,event:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine rtmpStreamingEventWithUrl:(NSString* _Nonnull)url eventCode:(AgoraRtmpStreamingEvent)eventCode; virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) { (void)url; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita index 5efe5c850b5..9e4612913a0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita @@ -14,7 +14,7 @@

public void onRtmpStreamingStateChanged(String url, int state, int reason) {} - + onRtmpStreamingStateChanged? : (url:string,state:number,errCode:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine rtmpStreamingChangedToState:(NSString * _Nonnull)url state:(AgoraRtmpStreamingState)state reason:(AgoraRtmpStreamingReason)reason NS_SWIFT_NAME(rtcEngine(_:rtmpStreamingChangedToState:state:reason:)); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita index 648ebeb21bb..b5d7a9ecd75 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita @@ -14,7 +14,7 @@

public void onSnapshotTaken(int uid, String filePath, int width, int height, int errCode) {} - + onSnapshotTaken?:(uid:number, filePath:string , width:number, height:number, errCode:number) => void - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine snapshotTaken:(NSUInteger)uid filePath:(NSString* _Nonnull)filePath width:(NSInteger)width height:(NSInteger)height errCode:(NSInteger)errCode; virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita index f1282bb81e7..7d68a759777 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita @@ -14,7 +14,7 @@

public void onStreamMessage(int uid, int streamId, byte[] data) {} - + onStreamMessage?:(uid:number, streamId:number,data:Uint8Array) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine receiveStreamMessageFromUid:(NSUInteger)uid streamId:(NSInteger)streamId diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita index 7add82a130c..22f3431db49 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita @@ -14,7 +14,7 @@

public void onStreamMessageError(int uid, int streamId, int error, int missed, int cached) {} - + onStreamMessageError? : (uid:number,streamId:number,error:number,missed:number,cached:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurStreamMessageErrorFromUid:(NSUInteger)uid streamId:(NSInteger)streamId diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index e2d87b37646..bbee847284e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -7,7 +7,7 @@

public void onUserJoined(int uid, int elapsed) {} - + onUserJoined?:(uid:number, elapse:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed; virtual void onUserJoined(uid_t uid, int elapsed) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index 229f99400e7..61997fefdeb 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -14,7 +14,7 @@

public void onUserOffline(int uid, int reason) {} - + onUserOffline?:(uid:number, reason:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOfflineOfUid:(NSUInteger)uid reason:(AgoraUserOfflineReason)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita index e8b9d084772..b34855edfa2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita @@ -15,7 +15,7 @@

public void onVideoSizeChanged( Constants.VideoSourceType source, int uid, int width, int height, int rotation) {} - + onVideoSizeChanged?:(source:Constants.VideoSourceType, uid:number, width:number, height:number, rotation:number) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoSizeChangedOfSourceType:(AgoraVideoSourceType)sourceType uid:(NSString * _Nonnull)uid size:(CGSize)size rotation:(NSInteger)rotation NS_SWIFT_NAME(rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)); virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) { (void)uid; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita index afcab900cee..39e22c4a128 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita @@ -14,7 +14,7 @@

boolean getMirrorApplied(); - + getMirrorApplied?: () => boolean; - (BOOL)getMirrorApplied; virtual bool getMirrorApplied() { return false; } DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetMirrorApplied); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita index b20cd0f7cab..ee85c9a2b63 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita @@ -14,7 +14,7 @@

int getObservedFramePosition(); - + getObservedFramePosition?: () => number; - (unsigned int)getObservedFramePosition; virtual uint32_t getObservedFramePosition() { return base::POSITION_POST_CAPTURER | base::POSITION_PRE_RENDERER; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita index 8fefe6daef7..6025a3c9815 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita @@ -14,7 +14,7 @@

boolean getRotationApplied(); - + getRotationApplied: () => boolean; - (BOOL)getRotationApplied; virtual bool getRotationApplied() { return false; } DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRotationApplied); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index 6e3d7d19e1c..bd4762056cd 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -15,7 +15,7 @@

int getVideoFormatPreference(); - + getVideoFormatPreference?: () => number; - (AgoraVideoFormat)getVideoFormatPreference; virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference() { return VIDEO_PIXEL_DEFAULT; } diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita index bf5d08404df..686fd8201cd 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita @@ -14,7 +14,7 @@

int getVideoFrameProcessMode(); - + getVideoFrameProcessMode?: () => number; - (AgoraVideoFrameProcessMode)getVideoFrameProcessMode; virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { return PROCESS_MODE_READ_ONLY; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita index 1fe7d906c19..1249d7a3176 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita @@ -14,7 +14,7 @@

boolean onCaptureVideoFrame(int sourceType, VideoFrame videoFrame); - + onCaptureVideoFrame?: (sourceType: number, videoFrame: VideoFrame) => boolean; - (BOOL)onCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType; virtual bool onCaptureVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnCaptureVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita index 3c15d5364c3..99cfaff513f 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita @@ -14,7 +14,7 @@

boolean onPreEncodeVideoFrame(int sourceType, VideoFrame videoFrame); - + onPreEncodeVideoFrame?: (sourceType: number, videoFrame: VideoFrame) => boolean; - (BOOL)onPreEncodeVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType; virtual bool onPreEncodeVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPreEncodeVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita index 6c0a1b44b3a..bce26a6702f 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita @@ -14,7 +14,7 @@

boolean onRenderVideoFrame(String channelId, int uid, VideoFrame videoFrame); - + onRenderVideoFrame?: (channelId: string, uid: number, videoFrame: VideoFrame) => boolean; - (BOOL)onRenderVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame uid:(NSUInteger)uid channelId:(NSString * _Nonnull)channelId; diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index d6982e9b50b..c705bd7ed53 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -19,7 +19,12 @@ this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; } } - + export class AdvanceOptions { + public encodingPreference:ENCODING_PREFERENCE = ENCODING_PREFERENCE.PREFER_AUTO; + public compressionPreference:COMPRESSION_PREFERENCE = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; + constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; diff --git a/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/dita/RTC-NG/API/class_agorafacepositioninfo.dita index e2cac637544..c7cad08da1f 100644 --- a/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -13,7 +13,18 @@ public int height; public int distance; } - + export class AgoraFacePositionInfo { + + public x:number = 0; + + public y:number = 0; + + public width:number = 0 ; + + public height:number = 0; + + public distance:number = -1; +} NS_SWIFT_NAME(AgoraFacePositionInfo) __attribute__((visibility("default"))) @interface AgoraFacePositionInfo : NSObject @property(assign, nonatomic) NSInteger x NS_SWIFT_NAME(x); @property(assign, nonatomic) NSInteger y NS_SWIFT_NAME(y); diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index 91d4042f481..77d4f814b71 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -22,7 +22,29 @@ recordingChannel = 1; } } - + export class AudioRecordingConfiguration{ + + public filePath:string; + + public sampleRate:number; + + public codec:boolean; + + public fileRecordOption:number; + + public quality:number; + + public recordingChannel:number; + + public constructor(filepath:string) { + this.filePath = filepath; + this.sampleRate = 32000; + this.codec = true; + this.fileRecordOption = Constants.AudioRecordingType.AUDIO_FILE_RECORDING_MIXED; + this.quality = Constants.AudioRecordingQuality.AUDIO_RECORDING_QUALITY_MEDIUM; + this.recordingChannel = 1; + } +} __attribute__((visibility("default"))) @interface AgoraAudioRecordingConfiguration: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @property (assign, nonatomic) NSUInteger sampleRate; diff --git a/dita/RTC-NG/API/class_audiotrackconfig.dita b/dita/RTC-NG/API/class_audiotrackconfig.dita index ebb452fe064..95e46f8b937 100644 --- a/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -14,7 +14,10 @@ this.enableLocalPlayback = true; } } - + export class AudioTrackConfig { + + public enableLocalPlayback: boolean = true; +} NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject @property (assign, nonatomic) BOOL enableLocalPlayback NS_SWIFT_NAME(enableLocalPlayback); diff --git a/dita/RTC-NG/API/class_audiovolumeinfo.dita b/dita/RTC-NG/API/class_audiovolumeinfo.dita index 094e0ffe9ee..8fc234cc804 100644 --- a/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -12,7 +12,15 @@ public int vad; public double voicePitch; } - + export class AudioVolumeInfo { + + public uid:number = 0; + + public volume:number = 0; + public vad:number = 0; + + public voicePitch:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcAudioVolumeInfo : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger volume; diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 745b8ed31aa..f473f4a11ac 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -153,7 +153,11 @@ + ", cameraFocalLengthType=" + cameraFocalLengthType + '}'; } } - + export class CameraCapturerConfiguration { + public cameraDirection: Constants.CameraDirection = Constants.CameraDirection.CAMERA_FRONT; + public cameraFormat: CaptureFormat = new CaptureFormat(); + public followEncodeDimensionRatio: boolean = true; +} __attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject #if TARGET_OS_IOS @property (assign, nonatomic) AgoraCameraDirection cameraDirection; diff --git a/dita/RTC-NG/API/class_channelmediainfo.dita b/dita/RTC-NG/API/class_channelmediainfo.dita index 4f2da9b689b..4d52b0f08bc 100644 --- a/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/dita/RTC-NG/API/class_channelmediainfo.dita @@ -12,7 +12,19 @@ public String token = null; public int uid = 0; } - + export class ChannelMediaInfo { + + public channelName:string|null; + + public token:string|null; + + public uid:number = 0; + public constructor(cname:string|null, token: string|null, uid: number) { + this.channelName = cname; + this.token = token; + this.uid = uid; + } +} __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayInfo: NSObject @property (copy, nonatomic) NSString * _Nullable token; diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index a19f385fef9..4e499bb4630 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -37,7 +37,68 @@ public Integer customVideoTrackId; public Boolean isAudioFilterable; } - + export class ChannelMediaOptions { + + public publishCameraTrack?:boolean; + + public publishSecondaryCameraTrack?:boolean; + + public publishMicrophoneTrack?:boolean; + + public publishScreenCaptureVideo?:boolean; + + public publishScreenCaptureAudio?:boolean; + + public publishCustomAudioTrack?:boolean; + + public publishCustomAudioTrackId?:number; + + public publishCustomVideoTrack?:boolean; + + public publishEncodedVideoTrack?:boolean; + + public publishMediaPlayerAudioTrack?:boolean; + + public publishMediaPlayerVideoTrack?:boolean; + + public publishTranscodedVideoTrack?:boolean; + + public publishMixedAudioTrack?:boolean; + + public autoSubscribeAudio?:boolean; + + public autoSubscribeVideo?:boolean; + + public enableAudioRecordingOrPlayout?:boolean; + + public publishMediaPlayerId?:number; + + public clientRoleType?:number; + + public audienceLatencyLevel?:number; + + public defaultVideoStreamType?:number; + + public channelProfile?:number; + + public audioDelayMs?:number; + + public mediaPlayerAudioDelayMs?:number; + + public enableBuiltInMediaEncryption?:boolean; + + public publishRhythmPlayerTrack?:boolean; + + public isInteractiveAudience?:boolean; + + public customVideoTrackId?:number; + + public isAudioFilterable?:boolean; + + public startPreview?:boolean; + public constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraRtcChannelMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; @property(assign, nonatomic) BOOL publishSecondaryCameraTrack; diff --git a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index 796978e8398..f7e3270d32c 100644 --- a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -36,7 +36,13 @@ } } - + export class ChannelMediaRelayConfiguration { + public srcInfo:ChannelMediaInfo = new ChannelMediaInfo(null,null,0); + public destInfos:Map<string, ChannelMediaInfo> = new Map<string, ChannelMediaInfo>(); + + public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; +} __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayConfiguration: NSObject @property (strong, nonatomic, readonly) NSDictionary<NSString *, AgoraChannelMediaRelayInfo *> *_Nullable destinationInfos; diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 8ec09a47e02..290cbf26988 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -14,7 +14,10 @@ return audienceLatencyLevel; } } - + export class ClientRoleOptions { + + public audienceLatencyLevel: Constants.AudienceLatencyLevel = Constants.AudienceLatencyLevel.AUDIENCE_LATENCY_LEVEL_LOW_LATENCY; +} __attribute__((visibility("default"))) @interface AgoraClientRoleOptions: NSObject @property (assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; diff --git a/dita/RTC-NG/API/class_datastreamconfig.dita b/dita/RTC-NG/API/class_datastreamconfig.dita index f3acd2bbd27..253993f6b88 100644 --- a/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/dita/RTC-NG/API/class_datastreamconfig.dita @@ -10,7 +10,10 @@ public boolean syncWithAudio = false; public boolean ordered = false; } - + export class DataStreamConfig { + public syncWithAudio: boolean = false; + public ordered: boolean = false; +} __attribute__((visibility("default"))) @interface AgoraDataStreamConfig: NSObject @property (assign, nonatomic) BOOL ordered; @property (assign, nonatomic) BOOL syncWithAudio; diff --git a/dita/RTC-NG/API/class_encryptionconfig.dita b/dita/RTC-NG/API/class_encryptionconfig.dita index 30c7960442d..cde623bd000 100644 --- a/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/dita/RTC-NG/API/class_encryptionconfig.dita @@ -19,7 +19,13 @@ java.util.Arrays.fill(encryptionKdfSalt, (byte) 0); } } - + export class EncryptionConfig { + encryptionMode : ENCRYPTION_MODE = ENCRYPTION_MODE.AES_128_GCM2; + encryptionKey : string = ""; + encryptionKdfSalt : ArrayBuffer = new ArrayBuffer(32); + public EncryptionConfig() { + } +} __attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject @property (assign, nonatomic) AgoraEncryptionMode encryptionMode; diff --git a/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/dita/RTC-NG/API/class_lastmileprobeconfig.dita index cf754436af7..5886e79d9b7 100644 --- a/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -14,7 +14,18 @@ public LastmileProbeConfig() {} } - + export class LastmileProbeConfig { + + public probeUplink: boolean = false; + + public probeDownlink: boolean = false; + + public expectedUplinkBitrate: number = 0; + + public expectedDownlinkBitrate: number = 0; + constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeConfig : NSObject @property (assign, nonatomic) BOOL probeUplink; @property (assign, nonatomic) BOOL probeDownlink; diff --git a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita index e29595f485a..3f4a72b6ed4 100644 --- a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita +++ b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita @@ -30,7 +30,14 @@ struct FLastmileProbeOneWayResult { public int jitter; public int availableBandwidth; } - + export class LastmileProbeOneWayResult { + + public packetLossRate:number = 0; + + public jitter:number = 0; + + public availableBandwidth:number = 0; +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeOneWayResult : NSObject @property (assign, nonatomic) NSUInteger packetLossRate; @property (assign, nonatomic) NSUInteger jitter; diff --git a/dita/RTC-NG/API/class_lastmileproberesult.dita b/dita/RTC-NG/API/class_lastmileproberesult.dita index e47a6896dc3..710c0dd0cba 100644 --- a/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -41,7 +41,16 @@ struct FLastmileProbeResult { public LastmileProbeOneWayResult uplinkReport = new LastmileProbeOneWayResult(); public LastmileProbeOneWayResult downlinkReport = new LastmileProbeOneWayResult(); } - + export class LastmileProbeResult { + + public state:number = 0; + + public rtt:number = 0; + + public uplinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); + + public downlinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeResult : NSObject @property (assign, nonatomic) AgoraLastmileProbeResultState state; diff --git a/dita/RTC-NG/API/class_leavechanneloptions.dita b/dita/RTC-NG/API/class_leavechanneloptions.dita index 66fcf0d95ab..bf4d24314f8 100644 --- a/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -11,7 +11,19 @@ public boolean stopAllEffect; public boolean stopMicrophoneRecording; } - + export class LeaveChannelOptions { + + public stopAudioMixing: boolean; + + public stopAllEffect: boolean; + + public stopMicrophoneRecording: boolean; + constructor() { + this.stopAudioMixing = true; + this.stopAllEffect = true; + this.stopMicrophoneRecording = true; + } +} __attribute__((visibility("default"))) @interface AgoraLeaveChannelOptions : NSObject @property(nonatomic, assign) BOOL stopAudioMixing; @property(nonatomic, assign) BOOL stopAllEffect; diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index c8bc05b4057..4504c731fc1 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -225,7 +225,55 @@ this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } } - + export class LiveTranscoding { + + public width: number; + + public height: number; + + public videoBitrate: number; + + public videoFramerate: number; + + public videoGop: number; + + private watermarkList?: Array<AgoraImage>; + + private backgroundImageList?: Array<AgoraImage>; + + public audioSampleRate: Constants.AudioSampleRateType; + + public audioBitrate: number; + + public audioChannels: number; + + public audioCodecProfile: Constants.AudioCodecProfileType; + + public videoCodecProfile: Constants.VideoCodecProfileType; + + public videoCodecType: Constants.VideoCodecType; + + public userConfigExtraInfo?: string | null = null; + + private transcodingUsers: Map<number, TranscodingUser>; + + private advancedFeatures: Map<string, boolean>; + constructor() { + this.width = 360; + this.height = 640; + this.videoBitrate = 400; + this.videoCodecProfile = Constants.VideoCodecProfileType.HIGH; + this.videoCodecType = Constants.VideoCodecType.H264; + this.videoGop = 30; + this.videoFramerate = 15; + this.audioSampleRate = Constants.AudioSampleRateType.TYPE_44100; + this.audioBitrate = 48; + this.audioChannels = 1; + this.audioCodecProfile = Constants.AudioCodecProfileType.LC_AAC; + this.advancedFeatures = new Map<string, boolean>(); + this.transcodingUsers = new Map<number, TranscodingUser>(); + } +} __attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject @property(assign, nonatomic) CGSize size; diff --git a/dita/RTC-NG/API/class_localaudiostats.dita b/dita/RTC-NG/API/class_localaudiostats.dita index d473ce88b5d..cfef5869eef 100644 --- a/dita/RTC-NG/API/class_localaudiostats.dita +++ b/dita/RTC-NG/API/class_localaudiostats.dita @@ -16,7 +16,26 @@ public int earMonitorDelay; public int aecEstimatedDelay; }; - + export class LocalAudioStats { + + public numChannels:number = 0; + + public sentSampleRate:number = 0; + + public sentBitrate:number = 0; + + public internalCodec:number = 0; + + public txPacketLossRate:number = 0; + + public audioDeviceDelay:number = 0; + + public audioPlayoutDelay:number = 0; + + public earMonitorDelay:number = 0; + + public aecEstimatedDelay:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcLocalAudioStats : NSObject @property(assign, nonatomic) NSUInteger numChannels; @property(assign, nonatomic) NSUInteger sentSampleRate; diff --git a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 06d0621d8c5..d1bf744ca50 100644 --- a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -16,7 +16,14 @@ videoOutputConfiguration = new VideoEncoderConfiguration(); } } - + export class LocalTranscoderConfiguration { + public transcodingVideoStreams:Array<TranscodingVideoStream>; + public videoOutputConfiguration:VideoEncoderConfiguration; + public constructor() { + this.transcodingVideoStreams = new Array<TranscodingVideoStream>(); + this.videoOutputConfiguration = new VideoEncoderConfiguration(); + } +} __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject @property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; diff --git a/dita/RTC-NG/API/class_localvideostats.dita b/dita/RTC-NG/API/class_localvideostats.dita index 967b595ed39..613f6a0cd8e 100644 --- a/dita/RTC-NG/API/class_localvideostats.dita +++ b/dita/RTC-NG/API/class_localvideostats.dita @@ -30,7 +30,53 @@ public int captureBrightnessLevel; public int hwEncoderAccelerating; } - + export class LocalVideoStats { + + public uid:number = 0; + public sentBitrate:number = 0; + + public sentFrameRate:number = 0; + + public captureFrameRate:number = 0; + + public captureFrameWidth:number = 0; + + public captureFrameHeight:number = 0; + + public regulatedCaptureFrameRate:number = 0; + + public regulatedCaptureFrameWidth:number = 0; + + public regulatedCaptureFrameHeight:number = 0; + + public encoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public targetBitrate:number = 0; + + public targetFrameRate:number = 0; + + public qualityAdaptIndication:number = 0; + + public encodedBitrate:number = 0; + + public encodedFrameWidth:number = 0; + + public encodedFrameHeight:number = 0; + + public encodedFrameCount:number = 0; + + public codecType:number = 0; + + public txPacketLossRate:number = 0; + + public captureBrightnessLevel:number = 0; + + public dualStreamEnabled:boolean = false; + + public hwEncoderAccelerating:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcLocalVideoStats : NSObject @property(assign, nonatomic) NSUInteger sentBitrate; @property(assign, nonatomic) NSUInteger sentFrameRate; diff --git a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index 9fee9e100ad..3b74405c38d 100644 --- a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -22,7 +22,26 @@ this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; } } - + export class MediaRecorderConfiguration { + + public storagePath: string; + + public containerFormat: number = AgoraMediaRecorder.CONTAINER_MP4; + + public streamType: number = AgoraMediaRecorder.STREAM_TYPE_BOTH; + + public maxDurationMs: number = 120000; + + public recorderInfoUpdateInterval: number = 0; + public constructor(storagePath: string, containerFormat: number, streamType: number, + maxDurationMs: number, recorderInfoUpdateInterval: number) { + this.storagePath = storagePath; + this.containerFormat = containerFormat; + this.streamType = streamType; + this.maxDurationMs = maxDurationMs; + this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; + } +} __attribute__((visibility("default"))) @interface AgoraMediaRecorderConfiguration : NSObject @property(copy, nonatomic) NSString* _Nonnull storagePath; @property(assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormat; diff --git a/dita/RTC-NG/API/class_recorderinfo.dita b/dita/RTC-NG/API/class_recorderinfo.dita index 691d30c7c9e..ad61164843b 100644 --- a/dita/RTC-NG/API/class_recorderinfo.dita +++ b/dita/RTC-NG/API/class_recorderinfo.dita @@ -18,7 +18,19 @@ this.fileSize = fileSize; } } - + export class RecorderInfo { + + public fileName: string; + + public durationMs: number; + + public fileSize: number; + public constructor(fileName: string, durationMs: number, fileSize: number) { + this.fileName = fileName; + this.durationMs = durationMs; + this.fileSize = fileSize; + } +} __attribute__((visibility("default"))) @interface AgoraMediaRecorderInfo : NSObject @property(copy, nonatomic) NSString* _Nonnull recorderFileName; @property(assign, nonatomic) NSUInteger durationMs; diff --git a/dita/RTC-NG/API/class_recorderstreaminfo.dita b/dita/RTC-NG/API/class_recorderstreaminfo.dita index 126ff9d410b..451d2472ea5 100644 --- a/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -10,7 +10,19 @@ public String channelId; public int uid; } - + export class RecorderStreamInfo { + + public uid: number = 0; + + public channelId: string; + public constructor() { + this.uid = 0; + this.channelId = ""; + } + public toString(): string { + return "channelId=" + this.channelId; + } +} __attribute__((visibility("default"))) @interface AgoraRecorderStreamInfo: NSObject @property (nonatomic, copy) NSString *_Nonnull channelId; diff --git a/dita/RTC-NG/API/class_remoteaudiostats.dita b/dita/RTC-NG/API/class_remoteaudiostats.dita index 2d7e8a9f11e..3bd0b8e83dc 100644 --- a/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -24,7 +24,44 @@ public int qualityChangedReason; public int e2eDelay; } - + export class RemoteAudioStats { + + public uid:number = 0; + + public quality:number = 0; + + public networkTransportDelay:number = 0; + + public jitterBufferDelay:number = 0; + + public audioLossRate:number = 0; + + public numChannels:number = 0; + + public receivedSampleRate:number = 0; + + public receivedBitrate:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public mosValue:number = 0; + + public frozenRateByCustomPlcCount:number = 0; + + public plcCount:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public qoeQuality:number = 0; + + public qualityChangedReason:number = 0; + + public rxAudioBytes:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcRemoteAudioStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger quality; diff --git a/dita/RTC-NG/API/class_remotevideostats.dita b/dita/RTC-NG/API/class_remotevideostats.dita index 24b5a3dda5b..7945dbf3d8b 100644 --- a/dita/RTC-NG/API/class_remotevideostats.dita +++ b/dita/RTC-NG/API/class_remotevideostats.dita @@ -24,7 +24,44 @@ public long totalActiveTime; public long publishDuration; } - + export class RemoteVideoStats { + + public uid:number = 0; + + public delay:number = 0; + + public e2eDelay:number = 0; + + public width:number = 0; + + public height:number = 0; + + public receivedBitrate:number = 0; + + public decoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public frameLossRate:number = 0; + + public packetLossRate:number = 0; + + public rxStreamType:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public avSyncTimeMs:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public mosValue:number = 0; + + public rxVideoBytes:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcRemoteVideoStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger delay __deprecated; diff --git a/dita/RTC-NG/API/class_rtcconnection.dita b/dita/RTC-NG/API/class_rtcconnection.dita index 525fbf8518d..2d477084a53 100644 --- a/dita/RTC-NG/API/class_rtcconnection.dita +++ b/dita/RTC-NG/API/class_rtcconnection.dita @@ -40,7 +40,14 @@ return sb.toString(); } } - + export class RtcConnection { + public localUid:number = 0; + public channelId:string = ""; + constructor(channelId:string,uid:number) { + this.channelId = channelId; + this.localUid = uid; + } +} __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> @property (nonatomic, copy) NSString *_Nonnull channelId; @property (nonatomic, assign) NSUInteger localUid; diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index 2750043646d..b312eed4a27 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -25,7 +25,11 @@ } } - + export class RtcEngineConfig{ + public mContext:Context | null = null; + public mAppId:string | null = null; + public mEventHandler: IRtcEngineEventHandler | null = null; +} __attribute__((visibility("default"))) @interface AgoraRtcEngineConfig: NSObject @property (copy, nonatomic) NSString * _Nullable appId; diff --git a/dita/RTC-NG/API/class_rtcimage.dita b/dita/RTC-NG/API/class_rtcimage.dita index d00231f1009..da12e17c873 100644 --- a/dita/RTC-NG/API/class_rtcimage.dita +++ b/dita/RTC-NG/API/class_rtcimage.dita @@ -35,7 +35,31 @@ this.alpha = 1.0; } } - + export class AgoraImage { + + public url: string; + + public x: number; + + public y: number; + + public width: number; + + public height: number; + + public zOrder: number; + + public alpha: number; + constructor(url: string) { + this.url = url; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + } +} __attribute__((visibility("default"))) @interface AgoraImage : NSObject @property(strong, nonatomic) NSURL *_Nonnull url; @property(assign, nonatomic) CGRect rect; diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index b3d5033feff..701043480d5 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -32,7 +32,19 @@ public double memoryTotalUsageRatio; public int memoryAppUsageInKbytes; } - + export class RtcStats { + public duration : number = 0; public rtcTxRxBytes : PTxRxBytes = new PTxRxBytes; + public audioTxRxBytes : PTxRxBytes = new PTxRxBytes; + public videoTxRxBytes : PTxRxKBitrate = new PTxRxKBitrate; + public rtc_kbitrate : PTxRxKBitrate = new PTxRxKBitrate; + public audio_kbitrate:PTxRxKBitrate = new PTxRxKBitrate; + public video_kbitrate: PTxRxKBitrate = new PTxRxKBitrate; + public lastmileDelay: PTxRxLossRate = new PTxRxLossRate; + public loss_rate: PTxRxLossRate = new PTxRxLossRate; + public cpuTotalUsage: number = 0; public gatewayRtt: number = 0; public cpuAppUsage:number = 0; public memoryAppUsageRatio: number = 0; public memoryTotalUsageRatio: number = 0; public memoryAppUsageInKbytes: number = 0; public userCount: number = 0; public connectTimeMs: number = 0; + public RtcStats() { + } +} __attribute__((visibility("default"))) @interface AgoraChannelStats : NSObject @property(assign, nonatomic) NSUInteger duration; @property(assign, nonatomic) NSUInteger txBytes; diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index 13608194b00..deebd79af55 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -21,7 +21,12 @@ this.greenCapacity = 0.5f; } } - + export class SegmentationProperty { + + public modelType:Constants.SegModel = Constants.SegModel.AI; + + public greenCapacity:number = 0.5; +} __attribute__((visibility("default"))) @interface AgoraSegmentationProperty: NSObject @property(nonatomic, assign) SegModelType modelType; @property(nonatomic, assign) float greenCapacity; diff --git a/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/dita/RTC-NG/API/class_simulcaststreamconfig.dita index 4be5c2a41c6..005d8ca7c9f 100644 --- a/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -24,7 +24,16 @@ this.framerate = framerate; } } - + export class SimulcastStreamConfig { + public dimensions: VideoDimensions; + + public bitrate: number = -1; + + public framerate: number = 5; + constructor() { + this.dimensions = new VideoDimensions(-1, -1); + } +} __attribute__((visibility("default"))) @interface AgoraSimulcastStreamConfig: NSObject @property (assign, nonatomic) int bitrate; @property (assign, nonatomic) int framerate; diff --git a/dita/RTC-NG/API/class_transcodinguser.dita b/dita/RTC-NG/API/class_transcodinguser.dita index beb289e1c72..718d343bca0 100644 --- a/dita/RTC-NG/API/class_transcodinguser.dita +++ b/dita/RTC-NG/API/class_transcodinguser.dita @@ -23,7 +23,25 @@ alpha = 1; } } - + export class TranscodingUser { + + public uid: number = 0; + public userId: string = ""; + + public x: number = 0; + + public y: number = 0; + + public width: number = 360; + + public height: number = 640; + + public zOrder: number = 0; + + public alpha: number = 1.0; + + public audioChannel: number = 0; +} __attribute__((visibility("default"))) @interface AgoraLiveTranscodingUser : NSObject @property(assign, nonatomic) NSUInteger uid; diff --git a/dita/RTC-NG/API/class_transcodingvideostream.dita b/dita/RTC-NG/API/class_transcodingvideostream.dita index 5c0c3617e28..3d6c8492f56 100644 --- a/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -31,7 +31,43 @@ this.mirror = false; } }; - + export class TranscodingVideoStream { + + public remoteUserUid:number; + + public sourceType:Constants.VideoSourceType; + + public imageUrl:string; + + public mediaPlayerId:number; + + public x:number; + + public y:number; + + public width:number; + + public height:number; + + public zOrder:number; + + public alpha:number; + + public mirror:boolean; + public constructor() { + this.remoteUserUid = 0; + this.sourceType = Constants.VideoSourceType.VIDEO_SOURCE_CAMERA_PRIMARY; + this.imageUrl = ""; + this.mediaPlayerId = -1; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + this.mirror = false; + } +} __attribute__((visibility("default"))) @interface AgoraTranscodingVideoStream: NSObject @property (assign, nonatomic) AgoraVideoSourceType sourceType; @property (assign, nonatomic) NSUInteger remoteUserUid; diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index b3ec4c4490f..8851c809a35 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -48,7 +48,20 @@ } } - + export class VideoCanvas{ + public static readonly RENDER_MODE_HIDDEN = 1; + public static readonly RENDER_MODE_FIT = 2; + public static readonly VIDEO_MIRROR_MODE_ENABLED = 1; + public static readonly VIDEO_MIRROR_MODE_DISABLED = 2; + + public xcomponentId:string = ''; + public uid:number = 0; + public renderMode:number = VideoCanvas.RENDER_MODE_HIDDEN; + public mirrorMode:number = VideoCanvas.VIDEO_MIRROR_MODE_DISABLED; + constructor(componentId:string) { + this.xcomponentId = componentId; + } +} __attribute__((visibility("default"))) @interface AgoraRtcVideoCanvas : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger subviewUid; diff --git a/dita/RTC-NG/API/class_videodimensions.dita b/dita/RTC-NG/API/class_videodimensions.dita index c3ce7434f2c..f5ff93de3e8 100644 --- a/dita/RTC-NG/API/class_videodimensions.dita +++ b/dita/RTC-NG/API/class_videodimensions.dita @@ -20,7 +20,14 @@ this.height = 0; } } - + export class VideoDimensions { + constructor(w:number, h:number) { + this.width = w; + this.height = h; + } + public width:number; + public height:number; +} struct VideoDimensions { int width; diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index 623a1590c07..61f3017162e 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -247,7 +247,17 @@ this.codecType = VIDEO_CODEC_TYPE.VIDEO_CODEC_H265; } } - + export class VideoEncoderConfiguration{ + public dimensions:VideoDimensions = new VideoDimensions(960,540); + public frameRate:number = 15; + public bitrate:number = 0; + public minBitrate:number = -1; + public orientationMode:ORIENTATION_MODE = ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE; + public degradationPrefer:DEGRADATION_PREFERENCE = DEGRADATION_PREFERENCE.MAINTAIN_QUALITY; + public mirrorMode:MIRROR_MODE_TYPE = MIRROR_MODE_TYPE.MIRROR_MODE_DISABLED; + public advanceOptions:AdvanceOptions = new AdvanceOptions(); + constructor() {} +} __attribute__((visibility("default"))) @interface AgoraVideoEncoderConfiguration : NSObject @property(assign, nonatomic) CGSize dimensions; @property(assign, nonatomic) AgoraVideoCodecType codecType; diff --git a/dita/RTC-NG/API/class_videoformat.dita b/dita/RTC-NG/API/class_videoformat.dita index 488ce7f0755..3f1ddf25278 100644 --- a/dita/RTC-NG/API/class_videoformat.dita +++ b/dita/RTC-NG/API/class_videoformat.dita @@ -12,7 +12,11 @@ public int fps; } - + export class CaptureFormat { + public width: number = 960; + public height: number = 540; + public fps: number = 15; +} struct VideoFormat { int width; diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index af9ee2e6473..308ebc514dd 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -241,7 +241,20 @@ buffer.release(); } } - + export class VideoFrame { + public buffer:ArrayBuffer | null = null; + public rotation:number = 0; + public timestamp:number = 0; + public stride:number = 0; + public height:number = 0; + public type:VIDEO_BUFFER_TYPE = VIDEO_BUFFER_TYPE.VIDEO_BUFFER_RAW_DATA; + public format:VIDEO_PIXEL_FORMAT = VIDEO_PIXEL_FORMAT.VIDEO_PIXEL_NV21; + public faceInfo:Array<FaceDetectionInfo> | undefined = undefined; + constructor(type:VIDEO_BUFFER_TYPE,format:VIDEO_PIXEL_FORMAT) { + this.type = type; + this.format = format; + } +} __attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @property (nonatomic, assign) int width; diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index e039c8cabce..86ec0aaaad8 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -34,7 +34,16 @@ } } - + export class VirtualBackgroundSource { + + public backgroundSourceType: Constants.VirtualBackgroundType = Constants.VirtualBackgroundType.BACKGROUND_COLOR; + + public color:number = 0xffffff; + + public source:string | null = null; + + public blurDegree:Constants.VirtualBackgroundBlurDegree = Constants.VirtualBackgroundBlurDegree.BLUR_DEGREE_HIGH; +} __attribute__((visibility("default"))) @interface AgoraVirtualBackgroundSource : NSObject @property(nonatomic, assign) AgoraVirtualBackgroundSourceType backgroundSourceType NS_SWIFT_NAME(backgroundSourceType); @property(nonatomic, assign) NSUInteger color NS_SWIFT_NAME(color);