From 623d6aa05a5a6129a01ee209a58fbfa3dcd8db99 Mon Sep 17 00:00:00 2001 From: jinyuagora Date: Tue, 10 Oct 2023 02:50:07 +0000 Subject: [PATCH] Sync cn prototype to en prototype --- ...ideoencoderconfiguration_initwithsize.dita | 14 ++-- ...deoencoderconfiguration_initwithwidth.dita | 14 ++-- ...onfiguration_getdestchannelmediainfos.dita | 16 ++-- ...yconfiguration_getsrcchannelmediainfo.dita | 14 ++-- ...ayconfiguration_removedestchannelinfo.dita | 12 +-- ...relayconfiguration_setdestchannelinfo.dita | 12 +-- ...arelayconfiguration_setsrcchannelinfo.dita | 14 ++-- .../RTC-NG/API/api_createagorartcengine.dita | 6 +- .../API/api_createagorartcengineex.dita | 12 +-- .../API/api_getmediaplayercachemanager.dita | 2 +- .../api_iagoraparameter_setparameters.dita | 12 +-- ...devicecollection_getapplicationvolume.dita | 14 ++-- .../api_iaudiodevicecollection_getcount.dita | 14 ++-- ...udiodevicecollection_getdefaultdevice.dita | 6 +- .../api_iaudiodevicecollection_getdevice.dita | 2 +- ...diodevicecollection_isapplicationmute.dita | 14 ++-- .../api_iaudiodevicecollection_release.dita | 14 ++-- ...iodevicecollection_setapplicationmute.dita | 14 ++-- ...devicecollection_setapplicationvolume.dita | 14 ++-- .../api_iaudiodevicecollection_setdevice.dita | 2 +- ...evicemanager_enumerateplaybackdevices.dita | 2 +- ...vicemanager_enumeraterecordingdevices.dita | 2 +- ...icemanager_followsystemloopbackdevice.dita | 10 +-- ...icemanager_followsystemplaybackdevice.dita | 2 +- ...cemanager_followsystemrecordingdevice.dita | 2 +- ...iaudiodevicemanager_getloopbackdevice.dita | 10 +-- ...evicemanager_getplaybackdefaultdevice.dita | 12 +-- ...iaudiodevicemanager_getplaybackdevice.dita | 2 +- ...iodevicemanager_getplaybackdeviceinfo.dita | 2 +- ...iodevicemanager_getplaybackdevicemute.dita | 2 +- ...devicemanager_getplaybackdevicevolume.dita | 2 +- ...vicemanager_getrecordingdefaultdevice.dita | 12 +-- ...audiodevicemanager_getrecordingdevice.dita | 6 +- ...odevicemanager_getrecordingdeviceinfo.dita | 2 +- ...odevicemanager_getrecordingdevicemute.dita | 2 +- ...evicemanager_getrecordingdevicevolume.dita | 2 +- .../API/api_iaudiodevicemanager_release.dita | 10 +-- ...iaudiodevicemanager_setloopbackdevice.dita | 10 +-- ...iaudiodevicemanager_setplaybackdevice.dita | 2 +- ...iodevicemanager_setplaybackdevicemute.dita | 2 +- ...devicemanager_setplaybackdevicevolume.dita | 2 +- ...audiodevicemanager_setrecordingdevice.dita | 2 +- ...odevicemanager_setrecordingdevicemute.dita | 2 +- ...evicemanager_setrecordingdevicevolume.dita | 8 +- ...emanager_startaudiodeviceloopbacktest.dita | 2 +- ...devicemanager_startplaybackdevicetest.dita | 2 +- ...evicemanager_startrecordingdevicetest.dita | 4 +- ...cemanager_stopaudiodeviceloopbacktest.dita | 2 +- ...odevicemanager_stopplaybackdevicetest.dita | 2 +- ...devicemanager_stoprecordingdevicetest.dita | 6 +- ...audioengine_muteallremoteaudiostreams.dita | 2 +- ...atialaudioengine_mutelocalaudiostream.dita | 4 +- ...tialaudioengine_muteremoteaudiostream.dita | 4 +- .../api_ibasespatialaudioengine_release.dita | 4 +- ...espatialaudioengine_setaudiorecvrange.dita | 2 +- ...asespatialaudioengine_setdistanceunit.dita | 2 +- ...atialaudioengine_setmaxaudiorecvcount.dita | 2 +- ...atialaudioengine_setplayerattenuation.dita | 4 +- .../api_ibasespatialaudioengine_setzones.dita | 6 +- ...laudioengine_updateplayerpositioninfo.dita | 4 +- ...spatialaudioengine_updateselfposition.dita | 12 +-- .../api_icloudspatialaudioengine_create.dita | 14 ++-- ...i_icloudspatialaudioengine_initialize.dita | 2 +- .../api_icloudspatialaudioengine_release.dita | 8 +- ...i_icloudspatialaudioengine_renewtoken.dita | 2 +- ...atialaudioengine_clearremotepositions.dita | 2 +- .../api_ilocalspatialaudioengine_create.dita | 14 ++-- ...i_ilocalspatialaudioengine_initialize.dita | 4 +- ...atialaudioengine_removeremoteposition.dita | 2 +- ...audioengine_setremoteaudioattenuation.dita | 4 +- ...atialaudioengine_updateremoteposition.dita | 4 +- .../API/api_imediaengine_addlistener.dita | 16 ++-- ...i_imediaengine_createcustomaudiotrack.dita | 4 +- ..._imediaengine_destroycustomaudiotrack.dita | 4 +- .../API/api_imediaengine_pullaudioframe.dita | 2 +- .../API/api_imediaengine_pushaudioframe.dita | 12 +-- .../API/api_imediaengine_pushaudioframe0.dita | 4 +- ...pi_imediaengine_pushencodedvideoimage.dita | 6 +- .../API/api_imediaengine_pushvideoframe.dita | 4 +- ...ediaengine_registeraudioframeobserver.dita | 2 +- ...ine_registervideoencodedframeobserver.dita | 2 +- ...ediaengine_registervideoframeobserver.dita | 2 +- .../api_imediaengine_removealllisteners.dita | 14 ++-- .../API/api_imediaengine_removelistener.dita | 16 ++-- ...api_imediaengine_setexternalaudiosink.dita | 4 +- ..._imediaengine_setexternalaudiosource2.dita | 4 +- ...i_imediaengine_setexternalvideosource.dita | 4 +- ...iaengine_unregisteraudioframeobserver.dita | 10 +-- ...e_unregistervideoencodedframeobserver.dita | 8 +- ...iaengine_unregistervideoframeobserver.dita | 8 +- .../API/api_imediaplayer_addlistener.dita | 14 ++-- .../api_imediaplayer_adjustplayoutvolume.dita | 2 +- ...mediaplayer_adjustpublishsignalvolume.dita | 2 +- .../api_imediaplayer_changeplaybackspeed.dita | 10 +-- .../RTC-NG/API/api_imediaplayer_dispose.dita | 2 +- ...imediaplayer_enableautoswitchagoracdn.dita | 2 +- ...api_imediaplayer_getagoracdnlinecount.dita | 2 +- ..._imediaplayer_getcurrentagoracdnindex.dita | 2 +- .../API/api_imediaplayer_getduration.dita | 2 +- .../api_imediaplayer_getmediaplayerid.dita | 2 +- ...iaplayer_getmediaplayersourceobserver.dita | 14 ++-- .../RTC-NG/API/api_imediaplayer_getmute.dita | 2 +- .../api_imediaplayer_getplayoutvolume.dita | 2 +- .../API/api_imediaplayer_getplayposition.dita | 2 +- .../API/api_imediaplayer_getplaysrc.dita | 4 +- ...i_imediaplayer_getpublishsignalvolume.dita | 2 +- .../RTC-NG/API/api_imediaplayer_getstate.dita | 2 +- .../API/api_imediaplayer_getstreamcount.dita | 2 +- .../API/api_imediaplayer_getstreaminfo.dita | 2 +- .../RTC-NG/API/api_imediaplayer_mute.dita | 2 +- .../RTC-NG/API/api_imediaplayer_open.dita | 2 +- .../api_imediaplayer_openwithagoracdnsrc.dita | 2 +- .../api_imediaplayer_openwithmediasource.dita | 2 +- .../RTC-NG/API/api_imediaplayer_pause.dita | 2 +- .../RTC-NG/API/api_imediaplayer_play.dita | 2 +- .../api_imediaplayer_playpreloadedsrc.dita | 2 +- .../API/api_imediaplayer_preloadsrc.dita | 2 +- ...ediaplayer_registeraudioframeobserver.dita | 12 +-- ...diaplayer_registeraudioframeobserver2.dita | 4 +- ...iaplayer_registerplayersourceobserver.dita | 2 +- ...ediaplayer_registervideoframeobserver.dita | 4 +- .../api_imediaplayer_removealllisteners.dita | 14 ++-- .../api_imediaplayer_removeeventhandler.dita | 14 ++-- .../API/api_imediaplayer_removelistener.dita | 14 ++-- ...pi_imediaplayer_renewagoracdnsrctoken.dita | 2 +- .../RTC-NG/API/api_imediaplayer_resume.dita | 2 +- .../RTC-NG/API/api_imediaplayer_seek.dita | 2 +- .../api_imediaplayer_selectaudiotrack.dita | 2 +- ...i_imediaplayer_selectinternalsubtitle.dita | 8 +- ...api_imediaplayer_setaudiodualmonomode.dita | 2 +- .../API/api_imediaplayer_setaudiopitch.dita | 2 +- .../api_imediaplayer_setexternalsubtitle.dita | 10 +-- .../API/api_imediaplayer_setloopcount.dita | 2 +- .../api_imediaplayer_setplaybackspeed.dita | 2 +- .../API/api_imediaplayer_setplayeroption.dita | 4 +- .../api_imediaplayer_setplayeroption2.dita | 14 ++-- .../API/api_imediaplayer_setrendermode.dita | 2 +- ...pi_imediaplayer_setspatialaudioparams.dita | 2 +- .../RTC-NG/API/api_imediaplayer_setview.dita | 2 +- .../RTC-NG/API/api_imediaplayer_stop.dita | 2 +- ...mediaplayer_switchagoracdnlinebyindex.dita | 2 +- .../api_imediaplayer_switchagoracdnsrc.dita | 2 +- .../API/api_imediaplayer_switchsrc.dita | 2 +- .../API/api_imediaplayer_takescreenshot.dita | 10 +-- .../API/api_imediaplayer_unloadsrc.dita | 2 +- ...iaplayer_unregisteraudioframeobserver.dita | 2 +- ...player_unregisterplayersourceobserver.dita | 2 +- ...iaplayer_unregistervideoframeobserver.dita | 6 +- ...yercachemanager_enableautoremovecache.dita | 4 +- ..._imediaplayercachemanager_getcachedir.dita | 4 +- ...aplayercachemanager_getcachefilecount.dita | 4 +- ...ayercachemanager_getmaxcachefilecount.dita | 4 +- ...layercachemanager_getmaxcachefilesize.dita | 4 +- ...diaplayercachemanager_removeallcaches.dita | 4 +- ...iaplayercachemanager_removecachebyuri.dita | 4 +- ...ediaplayercachemanager_removeoldcache.dita | 4 +- ..._imediaplayercachemanager_setcachedir.dita | 4 +- ...ayercachemanager_setmaxcachefilecount.dita | 4 +- ...layercachemanager_setmaxcachefilesize.dita | 4 +- ...ediaplayercachemanager_sharedinstance.dita | 14 ++-- .../API/api_imediarecorder_addlistener.dita | 14 ++-- ...mediarecorder_enablemainqueuedispatch.dita | 14 ++-- .../API/api_imediarecorder_release.dita | 6 +- ...api_imediarecorder_removealllisteners.dita | 14 ++-- .../api_imediarecorder_removelistener.dita | 14 ++-- ...ediarecorder_setmediarecorderobserver.dita | 6 +- .../api_imediarecorder_startrecording.dita | 4 +- .../API/api_imediarecorder_stoprecording.dita | 2 +- ...imusiccontentcenter_createmusicplayer.dita | 8 +- .../API/api_imusiccontentcenter_destroy.dita | 12 +-- ...contentcenter_enablemainqueuedispatch.dita | 14 ++-- .../api_imusiccontentcenter_getcaches.dita | 2 +- .../API/api_imusiccontentcenter_getlyric.dita | 4 +- ...pi_imusiccontentcenter_getmusiccharts.dita | 4 +- ...nter_getmusiccollectionbymusicchartid.dita | 4 +- ...ter_getmusiccollectionbymusicchartid2.dita | 14 ++-- .../api_imusiccontentcenter_initialize.dita | 4 +- .../api_imusiccontentcenter_ispreloaded.dita | 4 +- ...siccontentcenter_registereventhandler.dita | 4 +- .../API/api_imusiccontentcenter_release.dita | 8 +- .../api_imusiccontentcenter_removecache.dita | 2 +- .../api_imusiccontentcenter_renewtoken.dita | 4 +- .../api_imusiccontentcenter_searchmusic.dita | 4 +- .../api_imusiccontentcenter_searchmusic2.dita | 14 ++-- ...ccontentcenter_unregistereventhandler.dita | 4 +- .../API/api_imusicontentcenter_preload.dita | 4 +- .../API/api_imusicplayer_getplaysrc.dita | 12 +-- .../RTC-NG/API/api_imusicplayer_open.dita | 4 +- .../RTC-NG/API/api_imusicplayer_open2.dita | 12 +-- .../RTC-NG/API/api_imusicplayer_stop.dita | 12 +-- .../API/api_irtcengine_addextension.dita | 14 ++-- .../RTC-NG/API/api_irtcengine_addhandler.dita | 6 +- .../api_irtcengine_addinjectstreamurl.dita | 2 +- .../API/api_irtcengine_addlistener.dita | 14 ++-- .../api_irtcengine_addpublishstreamurl.dita | 2 +- .../API/api_irtcengine_addvideowatermark.dita | 2 +- .../api_irtcengine_addvideowatermark2.dita | 2 +- ...engine_adjustaudiomixingplayoutvolume.dita | 2 +- ...engine_adjustaudiomixingpublishvolume.dita | 2 +- ...pi_irtcengine_adjustaudiomixingvolume.dita | 2 +- ...engine_adjustcustomaudioplayoutvolume.dita | 4 +- ...engine_adjustcustomaudiopublishvolume.dita | 4 +- ...irtcengine_adjustloopbacksignalvolume.dita | 2 +- ...irtcengine_adjustplaybacksignalvolume.dita | 2 +- ...rtcengine_adjustrecordingsignalvolume.dita | 2 +- ...engine_adjustuserplaybacksignalvolume.dita | 2 +- .../api_irtcengine_clearvideowatermarks.dita | 2 +- .../RTC-NG/API/api_irtcengine_complain.dita | 2 +- .../api_irtcengine_configrhythmplayer.dita | 4 +- .../RTC-NG/API/api_irtcengine_create.dita | 12 +-- ...cengine_createcustomencodedvideotrack.dita | 10 +-- ...api_irtcengine_createcustomvideotrack.dita | 2 +- .../API/api_irtcengine_createdatastream.dita | 2 +- .../API/api_irtcengine_createdatastream2.dita | 2 +- .../API/api_irtcengine_createmediaplayer.dita | 2 +- .../api_irtcengine_createmediarecorder.dita | 4 +- .../api_irtcengine_createrendererview.dita | 14 ++-- .../API/api_irtcengine_createtextureview.dita | 14 ++-- .../api_irtcengine_createwithareacode.dita | 16 ++-- .../API/api_irtcengine_createwithconfig.dita | 16 ++-- .../RTC-NG/API/api_irtcengine_delegate.dita | 14 ++-- ...engine_destroycustomencodedvideotrack.dita | 10 +-- ...pi_irtcengine_destroycustomvideotrack.dita | 2 +- .../api_irtcengine_destroymediaplayer.dita | 2 +- .../api_irtcengine_destroymediarecorder.dita | 4 +- .../API/api_irtcengine_destroyrenderer.dita | 16 ++-- .../API/api_irtcengine_devicemanager.dita | 16 ++-- .../API/api_irtcengine_disableaudio.dita | 2 +- ...rtcengine_disableaudiospectrummonitor.dita | 2 +- .../api_irtcengine_disablelastmiletest.dita | 12 +-- .../API/api_irtcengine_disablevideo.dita | 2 +- .../API/api_irtcengine_enableaudio.dita | 2 +- ...tcengine_enableaudioqualityindication.dita | 14 ++-- ...irtcengine_enableaudiospectrummonitor.dita | 2 +- ...rtcengine_enableaudiovolumeindication.dita | 2 +- .../api_irtcengine_enablecontentinspect.dita | 4 +- ...engine_enablecustomaudioLocalplayback.dita | 14 ++-- .../api_irtcengine_enabledualstreammode2.dita | 2 +- .../api_irtcengine_enabledualstreammode3.dita | 4 +- ...engine_enableechocancellationexternal.dita | 2 +- .../API/api_irtcengine_enableencryption.dita | 2 +- .../API/api_irtcengine_enableextension.dita | 2 +- .../api_irtcengine_enablefacedetection.dita | 2 +- .../api_irtcengine_enablefishcorrection.dita | 2 +- .../api_irtcengine_enableinearmonitoring.dita | 10 +-- ...api_irtcengine_enableinearmonitoring2.dita | 4 +- ...rtcengine_enableinstantmediarendering.dita | 2 +- .../api_irtcengine_enablelastmiletest.dita | 12 +-- .../API/api_irtcengine_enablelocalaudio.dita | 2 +- .../API/api_irtcengine_enablelocalvideo.dita | 2 +- ...pi_irtcengine_enableloopbackrecording.dita | 4 +- ...pi_irtcengine_enablemainqueuedispatch.dita | 14 ++-- .../API/api_irtcengine_enablemulticamera.dita | 6 +- .../API/api_irtcengine_enableplugin.dita | 16 ++-- ...rtcengine_enableremotesuperresolution.dita | 2 +- ...cengine_enablesoundpositionindication.dita | 2 +- .../api_irtcengine_enablespatialaudio.dita | 2 +- .../API/api_irtcengine_enablevideo.dita | 2 +- ...api_irtcengine_enablevideoimagesource.dita | 4 +- ...pi_irtcengine_enablevirtualbackground.dita | 4 +- ...tcengine_enablewebsdkinteroperability.dita | 2 +- ...i_irtcengine_enablewirelessaccelerate.dita | 12 +-- .../API/api_irtcengine_enumeratedevices.dita | 14 ++-- .../API/api_irtcengine_enumeratedisplays.dita | 16 ++-- .../API/api_irtcengine_enumeratewindows.dita | 16 ++-- ...getagorartcaudioplaybackdevicemanager.dita | 14 ++-- ...etagorartcaudiorecordingdevicemanager.dita | 14 ++-- ...api_irtcengine_getagorartcmediaplayer.dita | 14 ++-- ...cengine_getagorartcvideodevicemanager.dita | 14 ++-- .../api_irtcengine_getaudiodeviceinfo.dita | 2 +- .../api_irtcengine_getaudiodevicemanager.dita | 2 +- .../api_irtcengine_getaudioeffectmanager.dita | 14 ++-- .../API/api_irtcengine_getaudiofileinfo.dita | 14 ++-- ...cengine_getaudiomixingcurrentposition.dita | 2 +- ...api_irtcengine_getaudiomixingduration.dita | 2 +- ...rtcengine_getaudiomixingplayoutvolume.dita | 2 +- ...rtcengine_getaudiomixingpublishvolume.dita | 2 +- ...pi_irtcengine_getaudioplaybackdevices.dita | 16 ++-- ...i_irtcengine_getaudiorecordingdevices.dita | 16 ++-- .../api_irtcengine_getaudiotrackcount.dita | 2 +- .../API/api_irtcengine_getbuffertype.dita | 14 ++-- .../RTC-NG/API/api_irtcengine_getcallid.dita | 2 +- ...api_irtcengine_getcameramaxzoomfactor.dita | 2 +- .../api_irtcengine_getconnectionstate.dita | 2 +- ...rtcengine_getcurrentmonotonictimeinms.dita | 2 +- .../API/api_irtcengine_getdeviceinfo.dita | 14 ++-- .../API/api_irtcengine_getdevicevolume.dita | 14 ++-- ...i_irtcengine_geteffectcurrentposition.dita | 2 +- .../API/api_irtcengine_geteffectduration.dita | 2 +- .../API/api_irtcengine_geteffectsvolume.dita | 2 +- .../api_irtcengine_geterrordescription.dita | 2 +- .../api_irtcengine_getextensionproperty2.dita | 4 +- ...irtcengine_getlocalspatialaudioengine.dita | 2 +- ...irtcengine_getloopbackrecordingvolume.dita | 2 +- .../API/api_irtcengine_getmediaengine.dita | 10 +-- .../API/api_irtcengine_getmediarecorder.dita | 4 +- .../api_irtcengine_getmusiccontentcenter.dita | 8 +- .../API/api_irtcengine_getnativehandle.dita | 6 +- .../API/api_irtcengine_getnetworktype.dita | 4 +- .../api_irtcengine_getntpwalltimeinms.dita | 4 +- .../api_irtcengine_getpluginparameter.dita | 16 ++-- .../RTC-NG/API/api_irtcengine_getplugins.dita | 16 ++-- ...i_irtcengine_getrtcengineeventhandler.dita | 12 +-- ...pi_irtcengine_getscreencapturesources.dita | 2 +- .../api_irtcengine_getscreensharehelper.dita | 16 ++-- .../API/api_irtcengine_getscreensinfo.dita | 16 ++-- .../API/api_irtcengine_getuserinfobyuid.dita | 2 +- ...i_irtcengine_getuserinfobyuseraccount.dita | 2 +- .../RTC-NG/API/api_irtcengine_getversion.dita | 2 +- .../api_irtcengine_getvideocapturetype.dita | 14 ++-- .../api_irtcengine_getvideocontenthint.dita | 14 ++-- .../api_irtcengine_getvideodevicemanager.dita | 10 +-- .../API/api_irtcengine_getvideodevices.dita | 16 ++-- .../api_irtcengine_getvideosourcetype.dita | 2 +- .../API/api_irtcengine_getvolumeofeffect.dita | 2 +- .../API/api_irtcengine_getwindowsinfo.dita | 16 ++-- .../RTC-NG/API/api_irtcengine_initialize.dita | 2 +- ...iscameraautoexposurefacemodesupported.dita | 2 +- ...ne_iscameraautofocusfacemodesupported.dita | 2 +- ...ine_iscameraexposurepositionsupported.dita | 2 +- ..._irtcengine_iscameraexposuresupported.dita | 6 +- ...rtcengine_iscamerafacedetectsupported.dita | 2 +- ...api_irtcengine_iscamerafocussupported.dita | 2 +- ...api_irtcengine_iscameratorchsupported.dita | 2 +- .../api_irtcengine_iscamerazoomsupported.dita | 2 +- .../api_irtcengine_isspeakerphoneenabled.dita | 2 +- ...i_irtcengine_istextureencodesupported.dita | 14 ++-- .../API/api_irtcengine_joinchannel.dita | 2 +- .../API/api_irtcengine_joinchannel2.dita | 4 +- ...irtcengine_joinchannelwithuseraccount.dita | 4 +- ...tcengine_joinchannelwithuseraccountex.dita | 2 +- .../API/api_irtcengine_leavechannel.dita | 2 +- .../API/api_irtcengine_leavechannel2.dita | 2 +- .../api_irtcengine_loadextensionprovider.dita | 8 +- ..._irtcengine_muteallremoteaudiostreams.dita | 2 +- ..._irtcengine_muteallremotevideostreams.dita | 2 +- .../api_irtcengine_mutelocalaudiostream.dita | 2 +- .../api_irtcengine_mutelocalvideostream.dita | 2 +- .../api_irtcengine_muterecordingsignal.dita | 2 +- .../api_irtcengine_muteremoteaudiostream.dita | 4 +- .../api_irtcengine_muteremotevideostream.dita | 2 +- ..._irtcengine_pauseallchannelmediarelay.dita | 2 +- .../API/api_irtcengine_pausealleffects.dita | 2 +- .../API/api_irtcengine_pauseaudiomixing.dita | 2 +- .../API/api_irtcengine_pauseeffect.dita | 2 +- .../API/api_irtcengine_playalleffects.dita | 2 +- .../RTC-NG/API/api_irtcengine_playeffect.dita | 12 +-- .../API/api_irtcengine_playeffect3.dita | 2 +- .../API/api_irtcengine_preloadchannel.dita | 2 +- .../API/api_irtcengine_preloadchannel2.dita | 2 +- .../API/api_irtcengine_preloadeffect.dita | 2 +- .../API/api_irtcengine_pullaudioframe2.dita | 14 ++-- ...kaudioframesamplebufferbylengthinbyte.dita | 2 +- .../API/api_irtcengine_pushaudioframe2.dita | 12 +-- .../api_irtcengine_pushcaptureaudioframe.dita | 2 +- ...api_irtcengine_pushcaptureaudioframe2.dita | 14 ++-- ...ushdirectcdnstreamingcustomvideoframe.dita | 8 +- ...ne_pushexternalaudioframesamplebuffer.dita | 2 +- ...e_pushexternalaudioframesamplebuffer2.dita | 10 +-- .../api_irtcengine_pushreverseaudioframe.dita | 2 +- ...api_irtcengine_pushreverseaudioframe2.dita | 14 ++-- .../API/api_irtcengine_pushvideoframe2.dita | 14 ++-- .../api_irtcengine_querycodeccapability.dita | 4 +- .../API/api_irtcengine_queryinterface.dita | 14 ++-- ...tcengine_queryscreencapturecapability.dita | 4 +- .../dita/RTC-NG/API/api_irtcengine_rate.dita | 2 +- ...ine_registeraudioencodedframeobserver.dita | 2 +- ...cengine_registeraudiospectrumobserver.dita | 2 +- .../API/api_irtcengine_registerextension.dita | 8 +- ...i_irtcengine_registerlocaluseraccount.dita | 2 +- ...cengine_registermediametadataobserver.dita | 2 +- ...api_irtcengine_registerpacketobserver.dita | 12 +-- .../API/api_irtcengine_registerplugin.dita | 16 ++-- .../RTC-NG/API/api_irtcengine_release.dita | 4 +- .../api_irtcengine_removealllisteners.dita | 14 ++-- .../api_irtcengine_removeeventhandler.dita | 14 ++-- .../API/api_irtcengine_removehandler.dita | 2 +- .../api_irtcengine_removeinjectstreamurl.dita | 2 +- .../API/api_irtcengine_removelistener.dita | 14 ++-- ...api_irtcengine_removepublishstreamurl.dita | 2 +- .../RTC-NG/API/api_irtcengine_renewtoken.dita | 2 +- ...irtcengine_resumeallchannelmediarelay.dita | 2 +- .../API/api_irtcengine_resumealleffects.dita | 2 +- .../API/api_irtcengine_resumeaudio.dita | 2 +- .../API/api_irtcengine_resumeaudiomixing.dita | 2 +- .../API/api_irtcengine_resumeeffect.dita | 2 +- .../API/api_irtcengine_selectaudiotrack.dita | 4 +- ...pi_irtcengine_sendcustomreportmessage.dita | 2 +- .../API/api_irtcengine_sendmetadata.dita | 2 +- .../API/api_irtcengine_sendstreammessage.dita | 2 +- .../API/api_irtcengine_setaddonlogfile.dita | 16 ++-- ...pi_irtcengine_setadvancedaudiooptions.dita | 4 +- .../API/api_irtcengine_setainsmode.dita | 2 +- ...i_irtcengine_setaudioeffectparameters.dita | 2 +- .../api_irtcengine_setaudioeffectpreset.dita | 2 +- ...irtcengine_setaudiomixingdualmonomode.dita | 2 +- .../api_irtcengine_setaudiomixingpitch.dita | 2 +- ...api_irtcengine_setaudiomixingposition.dita | 2 +- .../API/api_irtcengine_setaudioprofile.dita | 2 +- .../API/api_irtcengine_setaudioscenario.dita | 2 +- ...e_setaudiosessionoperationrestriction.dita | 2 +- .../API/api_irtcengine_setavsyncsource.dita | 2 +- ...api_irtcengine_setbeautyeffectoptions.dita | 2 +- ..._setcameraautoexposurefacemodeenabled.dita | 2 +- ...ine_setcameraautofocusfacemodeenabled.dita | 2 +- ...engine_setcameracapturerconfiguration.dita | 2 +- ...irtcengine_setcameradeviceorientation.dita | 2 +- ...pi_irtcengine_setcameraexposurefactor.dita | 6 +- ..._irtcengine_setcameraexposureposition.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_setclientrole2.dita | 2 +- .../API/api_irtcengine_setcloudproxy.dita | 2 +- ...api_irtcengine_setcolorenhanceoptions.dita | 4 +- ...ne_setdefaultaudioroutetospeakerphone.dita | 2 +- ...e_setdefaultmuteallremoteaudiostreams.dita | 2 +- ...e_setdefaultmuteallremotevideostreams.dita | 2 +- .../API/api_irtcengine_setdevicevolume.dita | 14 ++-- ...tdirectcdnstreamingaudioconfiguration.dita | 2 +- ...tdirectcdnstreamingvideoconfiguration.dita | 4 +- .../API/api_irtcengine_setdualstreammode.dita | 8 +- .../api_irtcengine_setdualstreammode2.dita | 4 +- ..._setearmonitoringaudioframeparameters.dita | 4 +- .../API/api_irtcengine_seteffectposition.dita | 4 +- .../API/api_irtcengine_seteffectsvolume.dita | 2 +- .../API/api_irtcengine_setencryptionmode.dita | 2 +- .../api_irtcengine_setencryptionsecret.dita | 2 +- .../api_irtcengine_setextensionproperty.dita | 2 +- ...tcengine_setextensionproviderproperty.dita | 2 +- ...api_irtcengine_setexternalaudiosource.dita | 10 +-- ...tcengine_setexternalaudiosourcevolume.dita | 14 ++-- ...i_irtcengine_setheadphoneeqparameters.dita | 4 +- .../api_irtcengine_setheadphoneeqpreset.dita | 4 +- ...cengine_sethighqualityaudioparameters.dita | 12 +-- ...i_irtcengine_setinearmonitoringvolume.dita | 2 +- .../api_irtcengine_setlivetranscoding.dita | 2 +- .../api_irtcengine_setlocalaccesspoint.dita | 2 +- ...cengine_setlocalpublishfallbackoption.dita | 2 +- .../api_irtcengine_setlocalrendermode.dita | 2 +- .../api_irtcengine_setlocalrendermode2.dita | 2 +- ...pi_irtcengine_setlocalvideomirrormode.dita | 2 +- .../api_irtcengine_setlocalvideorenderer.dita | 16 ++-- .../api_irtcengine_setlocalvoicechanger.dita | 8 +- ..._irtcengine_setlocalvoiceequalization.dita | 2 +- .../api_irtcengine_setlocalvoiceformant.dita | 2 +- .../api_irtcengine_setlocalvoicepitch.dita | 2 +- .../api_irtcengine_setlocalvoicereverb.dita | 2 +- ..._irtcengine_setlocalvoicereverbpreset.dita | 8 +- .../RTC-NG/API/api_irtcengine_setlogfile.dita | 2 +- .../API/api_irtcengine_setlogfilesize.dita | 2 +- .../API/api_irtcengine_setlogfilter.dita | 2 +- .../API/api_irtcengine_setloglevel.dita | 2 +- ..._irtcengine_setlowlightenhanceoptions.dita | 4 +- .../api_irtcengine_setmaxmetadatasize.dita | 2 +- ...irtcengine_setmediametadatadatasource.dita | 12 +-- ...tcengine_setmixedaudioframeparameters.dita | 2 +- .../API/api_irtcengine_setparameters.dita | 2 +- ...ybackaudioframebeforemixingparameters.dita | 4 +- ...ngine_setplaybackaudioframeparameters.dita | 2 +- .../api_irtcengine_setpluginparameter.dita | 16 ++-- ...gine_setrecordingaudioframeparameters.dita | 2 +- ...ngine_setremotedefaultvideostreamtype.dita | 2 +- .../api_irtcengine_setremoterendermode.dita | 8 +- .../api_irtcengine_setremoterendermode2.dita | 2 +- ...gine_setremotesubscribefallbackoption.dita | 2 +- .../api_irtcengine_setremoteuserpriority.dita | 8 +- ...ngine_setremoteuserspatialaudioparams.dita | 2 +- ...api_irtcengine_setremotevideorenderer.dita | 16 ++-- ...i_irtcengine_setremotevideostreamtype.dita | 2 +- ...ine_setremotevideosubscriptionoptions.dita | 4 +- ...i_irtcengine_setremotevoice3dposition.dita | 2 +- ...api_irtcengine_setremotevoiceposition.dita | 2 +- .../API/api_irtcengine_setrendermode.dita | 16 ++-- ...rtcengine_setrouteincommunicationmode.dita | 6 +- ...rtcengine_setscreencapturecontenthint.dita | 2 +- ...i_irtcengine_setscreencapturescenario.dita | 2 +- ...irtcengine_setsubscribeaudioallowlist.dita | 6 +- ...irtcengine_setsubscribeaudioblocklist.dita | 6 +- ...irtcengine_setsubscribevideoallowlist.dita | 6 +- ...irtcengine_setsubscribevideoblocklist.dita | 6 +- .../API/api_irtcengine_setuplocalvideo.dita | 2 +- .../API/api_irtcengine_setupremotevideo.dita | 2 +- ...pi_irtcengine_setvideodenoiseroptions.dita | 4 +- ...tcengine_setvideoencoderconfiguration.dita | 2 +- .../API/api_irtcengine_setvideoprofile.dita | 8 +- .../API/api_irtcengine_setvideoprofile2.dita | 12 +-- ..._irtcengine_setvideoqualityparameters.dita | 8 +- ...pi_irtcengine_setvideorenderdimension.dita | 16 ++-- .../API/api_irtcengine_setvideorenderfps.dita | 16 ++-- .../API/api_irtcengine_setvideoscenario.dita | 2 +- .../API/api_irtcengine_setvideosource.dita | 14 ++-- .../RTC-NG/API/api_irtcengine_setview.dita | 16 ++-- ...tcengine_setvoicebeautifierparameters.dita | 2 +- ...i_irtcengine_setvoicebeautifierpreset.dita | 2 +- ...tcengine_setvoiceconversionparameters.dita | 2 +- ...i_irtcengine_setvoiceconversionpreset.dita | 2 +- .../API/api_irtcengine_setvolumeofeffect.dita | 2 +- .../api_irtcengine_startaudioframedump.dita | 14 ++-- .../API/api_irtcengine_startaudiomixing.dita | 4 +- .../API/api_irtcengine_startaudiomixing2.dita | 2 +- .../api_irtcengine_startaudiorecording.dita | 8 +- .../api_irtcengine_startaudiorecording2.dita | 12 +-- .../api_irtcengine_startaudiorecording3.dita | 2 +- .../api_irtcengine_startcameracapture.dita | 4 +- ...api_irtcengine_startchannelmediarelay.dita | 2 +- ...pi_irtcengine_startdirectcdnstreaming.dita | 4 +- .../API/api_irtcengine_startechotest2.dita | 2 +- .../API/api_irtcengine_startechotest3.dita | 4 +- ...api_irtcengine_startlastmileprobetest.dita | 2 +- ..._irtcengine_startlocalvideotranscoder.dita | 2 +- ...irtcengine_startmediarenderingtracing.dita | 2 +- ...engine_startorupdatechannelmediarelay.dita | 4 +- .../API/api_irtcengine_startpreview2.dita | 2 +- ...tcengine_startprimarycustomaudiotrack.dita | 2 +- .../API/api_irtcengine_startrhythmplayer.dita | 4 +- ...ine_startrtmpstreamwithouttranscoding.dita | 2 +- ...engine_startrtmpstreamwithtranscoding.dita | 2 +- .../api_irtcengine_startscreencapture.dita | 4 +- .../api_irtcengine_startscreencapture2.dita | 6 +- ...cengine_startscreencapturebydisplayid.dita | 2 +- ...engine_startscreencapturebyscreenrect.dita | 2 +- ...tcengine_startscreencapturebywindowid.dita | 2 +- ...engine_startsecondarycustomaudiotrack.dita | 2 +- .../API/api_irtcengine_statechanged.dita | 14 ++-- .../API/api_irtcengine_stopalleffects.dita | 2 +- .../api_irtcengine_stopaudioframedump.dita | 14 ++-- .../API/api_irtcengine_stopaudiomixing.dita | 2 +- .../api_irtcengine_stopaudiorecording.dita | 2 +- .../API/api_irtcengine_stopcameracapture.dita | 4 +- .../api_irtcengine_stopchannelmediarelay.dita | 2 +- .../API/api_irtcengine_stopechotest.dita | 2 +- .../RTC-NG/API/api_irtcengine_stopeffect.dita | 2 +- .../api_irtcengine_stoplastmileprobetest.dita | 2 +- ...i_irtcengine_stoplocalvideotranscoder.dita | 2 +- .../API/api_irtcengine_stoppreview2.dita | 2 +- ...rtcengine_stopprimarycustomaudiotrack.dita | 2 +- .../API/api_irtcengine_stoprhythmplayer.dita | 2 +- .../API/api_irtcengine_stoprtmpstream.dita | 2 +- .../API/api_irtcengine_stopscreencapture.dita | 2 +- .../api_irtcengine_stopscreencapture2.dita | 6 +- ...cengine_stopsecondarycustomaudiotrack.dita | 2 +- .../API/api_irtcengine_switchcamera.dita | 2 +- .../API/api_irtcengine_switchchannel.dita | 10 +-- .../API/api_irtcengine_switchchannel2.dita | 12 +-- .../API/api_irtcengine_takescreenshot.dita | 14 ++-- .../API/api_irtcengine_takesnapshot.dita | 4 +- .../API/api_irtcengine_unloadalleffects.dita | 2 +- .../API/api_irtcengine_unloadeffect.dita | 2 +- ...e_unregisteraudioencodedframeobserver.dita | 8 +- ...tcengine_unregisteraudioframeobserver.dita | 14 ++-- ...ngine_unregisteraudiospectrumobserver.dita | 2 +- ...ngine_unregistermediametadataobserver.dita | 2 +- .../API/api_irtcengine_unregisterplugin.dita | 16 ++-- ...e_unregistervideoencodedimagereceiver.dita | 14 ++-- ...tcengine_unregistervideoframeobserver.dita | 14 ++-- ..._irtcengine_updatechannelmediaoptions.dita | 2 +- ...pi_irtcengine_updatechannelmediarelay.dita | 2 +- ..._updatedirectcdnstreamingmediaoptions.dita | 2 +- ...ne_updatelocaltranscoderconfiguration.dita | 2 +- ..._irtcengine_updatepreloadchanneltoken.dita | 2 +- .../api_irtcengine_updatertmptranscoding.dita | 2 +- .../api_irtcengine_updatescreencapture.dita | 2 +- ...cengine_updatescreencaptureparameters.dita | 2 +- ..._irtcengine_updatescreencaptureregion.dita | 2 +- ...irtcengine_updatescreencaptureregion2.dita | 6 +- .../API/api_irtcengine_uploadlogfile.dita | 2 +- ...pi_irtcengineex_addpublishstreamurlex.dita | 2 +- .../api_irtcengineex_addvideowatermarkex.dita | 2 +- ...ngineex_adjustrecordingsignalvolumeex.dita | 8 +- ...neex_adjustuserplaybacksignalvolumeex.dita | 4 +- ...pi_irtcengineex_clearvideowatermarkex.dita | 2 +- .../api_irtcengineex_createdatastreamex2.dita | 2 +- ...ngineex_enableaudiovolumeindicationex.dita | 4 +- ...i_irtcengineex_enabledualstreammodeex.dita | 4 +- ...rtcengineex_enableloopbackrecordingex.dita | 4 +- ...api_irtcengineex_getconnectionstateex.dita | 2 +- .../api_irtcengineex_getuserinfobyuidex.dita | 12 +-- ...tcengineex_getuserinfobyuseraccountex.dita | 12 +-- .../API/api_irtcengineex_joinchannelex.dita | 2 +- .../API/api_irtcengineex_leavechannelex.dita | 6 +- .../API/api_irtcengineex_leavechannelex2.dita | 4 +- ...cengineex_muteallremoteaudiostreamsex.dita | 4 +- ...cengineex_muteallremotevideostreamsex.dita | 2 +- ...i_irtcengineex_mutelocalaudiostreamex.dita | 4 +- ...i_irtcengineex_mutelocalvideostreamex.dita | 2 +- ...pi_irtcengineex_muterecordingsignalex.dita | 8 +- ..._irtcengineex_muteremoteaudiostreamex.dita | 2 +- ..._irtcengineex_muteremotevideostreamex.dita | 2 +- ...cengineex_pauseallchannelmediarelayex.dita | 4 +- .../api_irtcengineex_pushaudioframeex.dita | 14 ++-- .../api_irtcengineex_pushvideoframeex.dita | 12 +-- .../api_irtcengineex_pushvideoframeex2.dita | 14 ++-- ...engineex_resumeallchannelmediarelayex.dita | 4 +- ...rtcengineex_sendcustomreportmessageex.dita | 2 +- .../api_irtcengineex_sendstreammessageex.dita | 2 +- .../api_irtcengineex_setdualstreammodeex.dita | 4 +- ...pi_irtcengineex_setremoterendermodeex.dita | 2 +- ...tcengineex_setremotevideostreamtypeex.dita | 4 +- ...x_setremotevideosubscriptionoptionsex.dita | 4 +- ...tcengineex_setremotevoice3dpositionex.dita | 2 +- ...irtcengineex_setremotevoicepositionex.dita | 2 +- ...engineex_setsubscribeaudioallowlistex.dita | 6 +- ...engineex_setsubscribeaudioblocklistex.dita | 6 +- ...engineex_setsubscribevideoallowlistex.dita | 6 +- ...engineex_setsubscribevideoblocklistex.dita | 6 +- .../api_irtcengineex_setupremotevideoex.dita | 2 +- ...gineex_setvideoencoderconfigurationex.dita | 2 +- ...irtcengineex_startchannelmediarelayex.dita | 4 +- ...engineex_startmediarenderingtracingex.dita | 2 +- ...neex_startorupdatechannelmediarelayex.dita | 4 +- ...x_startrtmpstreamwithouttranscodingex.dita | 2 +- ...neex_startrtmpstreamwithtranscodingex.dita | 2 +- ..._irtcengineex_stopchannelmediarelayex.dita | 2 +- .../api_irtcengineex_stoprtmpstreamex.dita | 4 +- .../API/api_irtcengineex_takesnapshotex.dita | 4 +- ...cengineex_updatechannelmediaoptionsex.dita | 2 +- ...rtcengineex_updatechannelmediarelayex.dita | 4 +- ..._irtcengineex_updatertmptranscodingex.dita | 4 +- ...api_iscreencapturesourcelist_getcount.dita | 12 +-- ...screencapturesourcelist_getsourceinfo.dita | 12 +-- .../api_iscreencapturesourcelist_release.dita | 12 +-- .../api_ivideodevicecollection_getcount.dita | 14 ++-- .../api_ivideodevicecollection_getdevice.dita | 2 +- .../api_ivideodevicecollection_release.dita | 14 ++-- .../api_ivideodevicecollection_setdevice.dita | 2 +- ...eodevicemanager_enumeratevideodevices.dita | 2 +- ...api_ivideodevicemanager_getcapability.dita | 4 +- .../api_ivideodevicemanager_getdevice.dita | 2 +- ...deodevicemanager_numberofcapabilities.dita | 2 +- .../API/api_ivideodevicemanager_release.dita | 10 +-- .../api_ivideodevicemanager_setdevice.dita | 6 +- ...i_ivideodevicemanager_startdevicetest.dita | 2 +- ...pi_ivideodevicemanager_stopdevicetest.dita | 2 +- .../API/api_ivideosink_getbuffertype.dita | 16 ++-- .../API/api_ivideosink_getpixelformat.dita | 16 ++-- ...pi_livetranscoding_addbackgroundimage.dita | 16 ++-- .../API/api_livetranscoding_adduser.dita | 12 +-- .../API/api_livetranscoding_addwatermark.dita | 16 ++-- ...pi_livetranscoding_defaulttranscoding.dita | 14 ++-- ...i_livetranscoding_getadvancedfeatures.dita | 16 ++-- ...pi_livetranscoding_getbackgroundcolor.dita | 14 ++-- ...ivetranscoding_getbackgroundimagelist.dita | 16 ++-- .../API/api_livetranscoding_getblue.dita | 14 ++-- .../API/api_livetranscoding_getgreen.dita | 16 ++-- .../API/api_livetranscoding_getred.dita | 16 ++-- .../API/api_livetranscoding_getusercount.dita | 14 ++-- .../API/api_livetranscoding_getusers.dita | 20 ++--- .../api_livetranscoding_getwatermarklist.dita | 16 ++-- ...livetranscoding_removebackgroundimage.dita | 14 ++-- .../API/api_livetranscoding_removeuser.dita | 12 +-- .../api_livetranscoding_removewatermark.dita | 14 ++-- ...i_livetranscoding_setadvancedfeatures.dita | 12 +-- ...pi_livetranscoding_setbackgroundcolor.dita | 14 ++-- ...i_livetranscoding_setbackgroundcolor2.dita | 14 ++-- .../API/api_livetranscoding_setblue.dita | 14 ++-- .../API/api_livetranscoding_setgreen.dita | 14 ++-- .../API/api_livetranscoding_setred.dita | 14 ++-- .../API/api_livetranscoding_setusers.dita | 16 ++-- .../API/api_livetranscoding_setusers2.dita | 16 ++-- .../api_mediaplayercontroller_initialize.dita | 4 +- .../RTC-NG/API/api_monitordevicechange.dita | 12 +-- .../api_musicchartcollection_getcount.dita | 10 +-- .../API/api_musiccollection_getcount.dita | 8 +- .../API/api_musiccollection_getmusic.dita | 8 +- .../API/api_musiccollection_getpagesize.dita | 8 +- .../API/api_musiccollection_gettotal.dita | 8 +- .../API/api_rtc_local_view_surfaceview.dita | 16 ++-- ...api_rtc_local_view_surfaceview_screen.dita | 16 ++-- ...api_rtc_local_view_textureview_screen.dita | 16 ++-- .../API/api_rtc_remote_view_surfaceview.dita | 16 ++-- .../api_rtc_render_view_rtcsurfaceview.dita | 16 ++-- .../api_rtc_render_view_rtctextureview.dita | 16 ++-- ...api_rtcengineext_getassetabsolutepath.dita | 2 +- .../RTC-NG/API/callback_airplayconnected.dita | 7 +- ...rameobserver_onmixedaudioencodedframe.dita | 20 +++-- ...eobserver_onplaybackaudioencodedframe.dita | 7 +- ...observer_ismultiplechannelframewanted.dita | 7 +- ...ver_onplaybackaudioframebeforemixing2.dita | 7 +- ...erverbase_getearmonitoringaudioparams.dita | 11 ++- ...oeventhandler_onconnectionstatechange.dita | 2 +- ...ialaudioeventhandler_onteammatejoined.dita | 10 +-- ...atialaudioeventhandler_onteammateleft.dita | 10 +-- ...alaudioeventhandler_ontokenwillexpire.dita | 10 +-- ...rceobserver_onagoracdntokenwillexpire.dita | 12 +-- ...ourceobserver_onaudiovolumeindication.dita | 13 +-- ...mediaplayersourceobserver_oncompleted.dita | 11 +-- ...yersourceobserver_onplaybufferupdated.dita | 17 ++-- ...yersourceobserver_onplayerinfoupdated.dita | 14 ++-- ...sourceobserver_onplayersrcinfochanged.dita | 14 ++-- ...mediaplayervideoframeobserver_onframe.dita | 8 +- ..._imetadataobserver_getmaxmetadatasize.dita | 10 +-- ...ntentcentereventhandler_onlyricresult.dita | 26 ++++-- ...entereventhandler_onmusicchartsresult.dita | 17 ++-- ...reventhandler_onmusiccollectionresult.dita | 17 ++-- ...tentcentereventhandler_onpreloadevent.dita | 28 ++++--- ..._ipacketobserver_onreceiveaudiopacket.dita | 14 ++-- ..._ipacketobserver_onreceivevideopacket.dita | 14 ++-- ...ack_ipacketobserver_onsendaudiopacket.dita | 14 ++-- ...ack_ipacketobserver_onsendvideopacket.dita | 14 ++-- ...ack_irtcengineeventhandler_onapierror.dita | 7 +- ...ineeventhandler_onaudioeffectfinished.dita | 12 +-- ...ineeventhandler_onaudiomixingfinished.dita | 12 +-- ..._irtcengineeventhandler_oncameraready.dita | 8 +- ...back_irtcengineeventhandler_ondispose.dita | 7 +- ...thandler_ondownlinknetworkinfoupdated.dita | 14 ++-- ...tcengineeventhandler_onextensionerror.dita | 8 +- ...engineeventhandler_onextensionstopped.dita | 12 +-- ...neeventhandler_onfirstlocalaudioframe.dita | 7 +- ...k_irtcengineeventhandler_oninitialize.dita | 7 +- ...neeventhandler_onintrarequestreceived.dita | 17 ++-- ...ineeventhandler_onlastmileproberesult.dita | 12 +-- ...ler_onlocalpublishfallbacktoaudioonly.dita | 19 ++--- ...ineeventhandler_onlocaluserregistered.dita | 12 +-- ...ngineeventhandler_onmicrophoneenabled.dita | 17 ++-- ...eventhandler_onremoteaudiomixingbegin.dita | 7 +- ...neeventhandler_onremoteaudiomixingend.dita | 18 ++--- ..._onremotesubscribefallbacktoaudioonly.dita | 28 ++++--- ...neeventhandler_onrequestaudiofileinfo.dita | 16 ++-- ...enthandler_onscreencaptureinfoupdated.dita | 7 +- ...llback_irtcengineeventhandler_onstart.dita | 18 ++--- ...allback_irtcengineeventhandler_onstop.dita | 18 ++--- ...neeventhandler_onstreaminjectedstatus.dita | 2 +- ...ngineeventhandler_onstreamunpublished.dita | 8 +- ...gineeventhandler_ontranscodingupdated.dita | 12 +-- ...cengineeventhandler_onuploadlogresult.dita | 25 +++--- ...gineeventhandler_onuseraccountupdated.dita | 8 +- ...engineeventhandler_onuserstatechanged.dita | 8 +- ...handler_onvideosourceframesizechanged.dita | 8 +- ...irtcengineeventhandler_onvideostopped.dita | 12 +-- ...thandler_onvideosubscribestatechanged.dita | 30 ++++--- ...dler_onvirtualbackgroundsourceenabled.dita | 16 ++-- ...back_irtcengineeventhandler_onwarning.dita | 8 +- ...ameobserver_getsmoothrenderingenabled.dita | 7 +- ...rameobserver_getvideoframeprocessmode.dita | 10 +-- ...deoframeobserver_onrendervideoframeex.dita | 9 ++- .../API/callback_ivideosink_ondispose.dita | 7 +- .../API/callback_ivideosink_oninitialize.dita | 7 +- ...llback_ivideosink_onrenderpixelbuffer.dita | 7 +- .../callback_ivideosink_onrenderrawdata.dita | 7 +- .../API/callback_ivideosink_onstart.dita | 7 +- .../API/callback_ivideosink_onstop.dita | 7 +- ...back_videosurface_ontexturesizemodify.dita | 15 ++-- .../class_Localaccesspointconfiguration.dita | 14 ++-- .../API/class_advancedaudiooptions.dita | 2 +- .../RTC-NG/API/class_advancedconfiginfo.dita | 8 +- .../dita/RTC-NG/API/class_advanceoptions.dita | 6 +- .../API/class_agorafacepositioninfo.dita | 12 +-- .../API/class_agorarhythmplayerconfig.dita | 2 +- .../RTC-NG/API/class_agorartcdeviceinfo.dita | 14 ++-- .../RTC-NG/API/class_agorartcexception.dita | 16 ++-- .../dita/RTC-NG/API/class_agoravideoview.dita | 2 +- .../RTC-NG/API/class_audiodeviceinfo.dita | 10 +-- .../class_audioexternalsourceposition.dita | 10 +-- en-US/dita/RTC-NG/API/class_audioframe.dita | 2 +- en-US/dita/RTC-NG/API/class_audioparams.dita | 6 +- .../dita/RTC-NG/API/class_audiopcmframe.dita | 8 +- .../class_audiorecordingconfiguration.dita | 6 +- .../RTC-NG/API/class_audiospectrumdata.dita | 2 +- .../RTC-NG/API/class_audiotrackconfig.dita | 6 +- .../RTC-NG/API/class_audiovolumeinfo.dita | 2 +- .../RTC-NG/API/class_cachestatistics.dita | 6 +- .../class_cameracapturerconfiguration.dita | 6 +- en-US/dita/RTC-NG/API/class_channel.dita | 16 ++-- .../RTC-NG/API/class_channelmediainfo.dita | 2 +- .../RTC-NG/API/class_channelmediaoptions.dita | 76 +++++++++--------- .../class_channelmediarelayconfiguration.dita | 8 +- .../RTC-NG/API/class_clientroleoptions.dita | 2 +- .../dita/RTC-NG/API/class_climaxsegment.dita | 6 +- .../API/class_cloudspatialaudioconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_codeccapinfo.dita | 4 +- .../dita/RTC-NG/API/class_codeccaplevels.dita | 4 +- .../RTC-NG/API/class_colorenhanceoptions.dita | 6 +- .../API/class_contentinspectconfig.dita | 10 +-- .../API/class_contentinspectmodule.dita | 6 +- .../RTC-NG/API/class_datastreamconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_device.dita | 16 ++-- en-US/dita/RTC-NG/API/class_deviceinfo.dita | 2 +- .../class_directcdnstreamingmediaoptions.dita | 6 +- .../API/class_directcdnstreamingstats.dita | 6 +- .../RTC-NG/API/class_downlinknetworkinfo.dita | 12 +-- .../API/class_echotestconfiguration.dita | 6 +- .../API/class_encodedaudioframeinfo.dita | 4 +- .../API/class_encodedvideoframeinfo.dita | 6 +- .../RTC-NG/API/class_externalvideoframe.dita | 38 ++++----- .../RTC-NG/API/class_imagetrackoptions.dita | 6 +- .../RTC-NG/API/class_imediaengineevent.dita | 10 +-- .../class_imediafilterextensiondelegate.dita | 16 ++-- .../RTC-NG/API/class_imediaplayerevent.dita | 10 +-- .../RTC-NG/API/class_imediarecorderevent.dita | 10 +-- .../RTC-NG/API/class_injectstreamconfig.dita | 2 +- .../RTC-NG/API/class_irtcengineevent.dita | 10 +-- en-US/dita/RTC-NG/API/class_ivideosink.dita | 16 ++-- .../RTC-NG/API/class_lastmileprobeconfig.dita | 2 +- .../RTC-NG/API/class_leavechanneloptions.dita | 2 +- .../API/class_livestreamadvancedfeature.dita | 2 +- .../RTC-NG/API/class_livetranscoding.dita | 14 ++-- .../API/class_localspatialaudioconfig.dita | 2 +- .../class_localtranscoderconfiguration.dita | 12 +-- .../RTC-NG/API/class_localvideostats.dita | 6 +- .../RTC-NG/API/class_loguploadserverinfo.dita | 8 +- .../API/class_lowlightenhanceoptions.dita | 6 +- .../RTC-NG/API/class_mediadeviceinfo.dita | 16 ++-- .../API/class_mediaplayercontroller.dita | 6 +- .../API/class_mediarecorderconfiguration.dita | 6 +- en-US/dita/RTC-NG/API/class_mediasource.dita | 6 +- en-US/dita/RTC-NG/API/class_metadata.dita | 2 +- en-US/dita/RTC-NG/API/class_music.dita | 14 ++-- .../dita/RTC-NG/API/class_musiccacheinfo.dita | 4 +- .../API/class_musicchartcollection.dita | 12 +-- .../RTC-NG/API/class_musiccollection.dita | 6 +- ...class_musiccontentcenterconfiguration.dita | 6 +- en-US/dita/RTC-NG/API/class_mvproperty.dita | 6 +- .../RTC-NG/API/class_playerupdatedinfo.dita | 8 +- en-US/dita/RTC-NG/API/class_plugin.dita | 16 ++-- en-US/dita/RTC-NG/API/class_plugininfo.dita | 16 ++-- .../RTC-NG/API/class_recorderstreaminfo.dita | 4 +- en-US/dita/RTC-NG/API/class_rect.dita | 2 +- .../RTC-NG/API/class_remoteaudiostats.dita | 4 +- .../RTC-NG/API/class_remotevideostats.dita | 6 +- .../API/class_remotevoicepositioninfo.dita | 2 +- .../dita/RTC-NG/API/class_rendererconfig.dita | 16 ++-- .../RTC-NG/API/class_rendereroptions.dita | 16 ++-- .../API/class_rtc_local_view_surfaceview.dita | 16 ++-- .../API/class_rtc_local_view_textureview.dita | 16 ++-- .../class_rtc_remote_view_surfaceview.dita | 16 ++-- .../class_rtc_remote_view_textureview.dita | 16 ++-- .../class_rtc_render_view_rtcsurfaceview.dita | 16 ++-- .../class_rtc_render_view_rtctextureview.dita | 16 ++-- .../RTC-NG/API/class_rtcengineconfig.dita | 6 +- en-US/dita/RTC-NG/API/class_rtcimage.dita | 2 +- .../API/class_rtcrendererviewprops.dita | 12 +-- .../RTC-NG/API/class_rtcsurfaceviewprops.dita | 2 +- .../API/class_screenaudioparameters.dita | 6 +- .../API/class_screencaptureconfiguration.dita | 2 +- .../RTC-NG/API/class_screencaptureinfo.dita | 10 +-- .../API/class_screencaptureparameters.dita | 10 +-- .../API/class_screencaptureparameters2.dita | 6 +- .../API/class_screencapturesourceinfo.dita | 10 +-- en-US/dita/RTC-NG/API/class_screensymbol.dita | 16 ++-- .../API/class_screenvideoparameters.dita | 6 +- en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita | 2 +- .../API/class_segmentationproperty.dita | 6 +- en-US/dita/RTC-NG/API/class_size.dita | 6 +- .../RTC-NG/API/class_spatialaudioparams.dita | 26 +++--- .../RTC-NG/API/class_spatialaudiozone.dita | 14 ++-- en-US/dita/RTC-NG/API/class_srcinfo.dita | 2 +- .../RTC-NG/API/class_transcodinguser.dita | 2 +- .../API/class_transcodingvideostream.dita | 4 +- .../RTC-NG/API/class_uplinknetworkinfo.dita | 2 +- en-US/dita/RTC-NG/API/class_user.dita | 16 ++-- .../API/class_useraudiospectruminfo.dita | 2 +- en-US/dita/RTC-NG/API/class_userinfo.dita | Bin 3010 -> 3019 bytes en-US/dita/RTC-NG/API/class_videocanvas.dita | 6 +- .../API/class_videodenoiseroptions.dita | 6 +- .../RTC-NG/API/class_videodeviceinfo.dita | 8 +- .../RTC-NG/API/class_videodimensions.dita | 2 +- .../API/class_videoencoderconfiguration.dita | 6 +- en-US/dita/RTC-NG/API/class_videoformat.dita | 2 +- en-US/dita/RTC-NG/API/class_videoframe.dita | 8 +- .../API/class_videorenderingtracinginfo.dita | 4 +- .../API/class_videosubscriptionoptions.dita | 14 ++-- .../RTC-NG/API/class_videoviewcontroller.dita | 2 +- .../API/class_videoviewcontrollerbase.dita | 16 ++-- .../API/class_virtualbackgroundsource.dita | 2 +- .../RTC-NG/API/class_watermarkoptions.dita | 2 +- .../dita/RTC-NG/API/class_watermarkratio.dita | 6 +- en-US/dita/RTC-NG/API/class_windowinfo.dita | 16 ++-- en-US/dita/RTC-NG/API/class_wlaccstats.dita | 10 +-- en-US/dita/RTC/API/api_addhandler.dita | 8 +- en-US/dita/RTC/API/api_addvideowatermark.dita | 6 +- ...i_adjustloopbackrecordingsignalvolume.dita | 8 +- .../RTC/API/api_clearvideowatermarks.dita | 2 +- en-US/dita/RTC/API/api_complain.dita | 2 +- .../dita/RTC/API/api_configrhythmplayer.dita | 8 +- .../RTC/API/api_consumerawvideoframe.dita | 12 +-- en-US/dita/RTC/API/api_create.dita | 10 +-- en-US/dita/RTC/API/api_create2.dita | 2 +- .../RTC/API/api_createagorartcengine.dita | 8 +- en-US/dita/RTC/API/api_createdatastream.dita | 2 +- en-US/dita/RTC/API/api_createdatastream2.dita | 2 +- .../dita/RTC/API/api_createrendererview.dita | 12 +-- en-US/dita/RTC/API/api_createtextureview.dita | 12 +-- .../dita/RTC/API/api_createwithareacode.dita | 12 +-- en-US/dita/RTC/API/api_createwithconfig.dita | 12 +-- en-US/dita/RTC/API/api_delegate.dita | 12 +-- en-US/dita/RTC/API/api_destroyrenderer.dita | 12 +-- en-US/dita/RTC/API/api_devicemanager.dita | 12 +-- en-US/dita/RTC/API/api_disableaudio.dita | 2 +- .../dita/RTC/API/api_disablelastmiletest.dita | 6 +- en-US/dita/RTC/API/api_disablevideo.dita | 2 +- en-US/dita/RTC/API/api_enableaudio.dita | 2 +- .../API/api_enableaudioqualityindication.dita | 12 +-- .../API/api_enableaudiovolumeindication.dita | 2 +- .../API/api_enabledeeplearningdenoise.dita | 6 +- .../RTC/API/api_enabledualstreammode.dita | 2 +- .../RTC/API/api_enabledualstreammode2.dita | 6 +- .../RTC/API/api_enabledualstreammode3.dita | 6 +- en-US/dita/RTC/API/api_enableencryption.dita | 2 +- .../dita/RTC/API/api_enablefacedetection.dita | 4 +- .../RTC/API/api_enableinearmonitoring.dita | 4 +- .../dita/RTC/API/api_enablelastmiletest.dita | 6 +- en-US/dita/RTC/API/api_enablelocalaudio.dita | 2 +- en-US/dita/RTC/API/api_enablelocalvideo.dita | 2 +- .../api_enablelocalvoicepitchcallback.dita | 2 +- .../RTC/API/api_enableloopbackrecording.dita | 2 +- en-US/dita/RTC/API/api_enableplugin.dita | 12 +-- .../API/api_enableremotesuperresolution.dita | 4 +- .../API/api_enableremotesuperresolution2.dita | 12 +-- .../api_enablesoundpositionindication.dita | 2 +- .../dita/RTC/API/api_enablespatialaudio.dita | 6 +- en-US/dita/RTC/API/api_enablevideo.dita | 2 +- .../RTC/API/api_enablevirtualbackground.dita | 4 +- .../API/api_enablewebsdkinteroperability.dita | 2 +- en-US/dita/RTC/API/api_enumeratedevices.dita | 12 +-- en-US/dita/RTC/API/api_enumeratedisplays.dita | 12 +-- en-US/dita/RTC/API/api_enumeratewindows.dita | 12 +-- .../RTC/API/api_getassetabsolutepath.dita | 12 +-- .../dita/RTC/API/api_getaudiodeviceinfo.dita | 10 +-- .../RTC/API/api_getaudioeffectmanager.dita | 12 +-- en-US/dita/RTC/API/api_getaudiofileinfo.dita | 10 +-- .../api_getaudiomixingcurrentposition.dita | 2 +- .../RTC/API/api_getaudiomixingduration.dita | 4 +- .../RTC/API/api_getaudiomixingduration2.dita | 2 +- .../API/api_getaudiomixingplayoutvolume.dita | 2 +- .../API/api_getaudiomixingpublishvolume.dita | 2 +- .../RTC/API/api_getaudioplaybackdevices.dita | 12 +-- .../RTC/API/api_getaudiorecordingdevices.dita | 12 +-- .../dita/RTC/API/api_getaudiotrackcount.dita | 10 +-- en-US/dita/RTC/API/api_getbuffertype.dita | 12 +-- en-US/dita/RTC/API/api_getcallid.dita | 2 +- .../RTC/API/api_getcameramaxzoomfactor.dita | 4 +- .../dita/RTC/API/api_getconnectionstate.dita | 2 +- en-US/dita/RTC/API/api_getdeviceinfo.dita | 12 +-- en-US/dita/RTC/API/api_getdevicevolume.dita | 12 +-- .../RTC/API/api_geteffectcurrentposition.dita | 2 +- en-US/dita/RTC/API/api_geteffectduration.dita | 2 +- en-US/dita/RTC/API/api_geteffectsvolume.dita | 2 +- .../dita/RTC/API/api_geterrordescription.dita | 2 +- .../API/api_getloopbackrecordingvolume.dita | 12 +-- en-US/dita/RTC/API/api_getmediarecorder.dita | 10 +-- en-US/dita/RTC/API/api_getnativehandle.dita | 8 +- .../dita/RTC/API/api_getpluginparameter.dita | 12 +-- en-US/dita/RTC/API/api_getplugins.dita | 12 +-- .../RTC/API/api_getscreencapturesources.dita | 12 +-- .../RTC/API/api_getscreensharehelper.dita | 12 +-- en-US/dita/RTC/API/api_getscreensinfo.dita | 12 +-- en-US/dita/RTC/API/api_getuserinfobyuid.dita | 2 +- .../dita/RTC/API/api_getuserinfobyuidex.dita | 10 +-- .../RTC/API/api_getuserinfobyuseraccount.dita | 2 +- .../API/api_getuserinfobyuseraccountex.dita | 10 +-- en-US/dita/RTC/API/api_getversion.dita | 2 +- .../dita/RTC/API/api_getvideocapturetype.dita | 12 +-- .../dita/RTC/API/api_getvideocontenthint.dita | 12 +-- en-US/dita/RTC/API/api_getvideodevices.dita | 12 +-- en-US/dita/RTC/API/api_getvolumeofeffect.dita | 6 +- en-US/dita/RTC/API/api_getwindowsinfo.dita | 12 +-- ...devicecollection_getapplicationvolume.dita | 12 +-- .../api_iaudiodevicecollection_getcount.dita | 12 +-- ...udiodevicecollection_getdefaultdevice.dita | 8 +- .../api_iaudiodevicecollection_getdevice.dita | 10 +-- ...diodevicecollection_isapplicationmute.dita | 12 +-- .../api_iaudiodevicecollection_release.dita | 12 +-- ...iodevicecollection_setapplicationmute.dita | 12 +-- ...devicecollection_setapplicationvolume.dita | 12 +-- .../api_iaudiodevicecollection_setdevice.dita | 10 +-- ...evicemanager_enumerateplaybackdevices.dita | 6 +- ...vicemanager_enumeraterecordingdevices.dita | 6 +- ...icemanager_followsystemplaybackdevice.dita | 2 +- ...cemanager_followsystemrecordingdevice.dita | 4 +- ...iaudiodevicemanager_getplaybackdevice.dita | 6 +- ...iodevicemanager_getplaybackdeviceinfo.dita | 6 +- ...iodevicemanager_getplaybackdevicemute.dita | 6 +- ...devicemanager_getplaybackdevicevolume.dita | 6 +- ...audiodevicemanager_getrecordingdevice.dita | 6 +- ...odevicemanager_getrecordingdeviceinfo.dita | 6 +- ...odevicemanager_getrecordingdevicemute.dita | 6 +- ...evicemanager_getrecordingdevicevolume.dita | 6 +- .../API/api_iaudiodevicemanager_release.dita | 12 +-- ...iaudiodevicemanager_setplaybackdevice.dita | 6 +- ...iodevicemanager_setplaybackdevicemute.dita | 6 +- ...devicemanager_setplaybackdevicevolume.dita | 6 +- ...audiodevicemanager_setrecordingdevice.dita | 6 +- ...odevicemanager_setrecordingdevicemute.dita | 6 +- ...evicemanager_setrecordingdevicevolume.dita | 6 +- ...cemanager_stopaudiodeviceloopbacktest.dita | 4 +- ...odevicemanager_stopplaybackdevicetest.dita | 4 +- ...devicemanager_stoprecordingdevicetest.dita | 4 +- ...audioengine_muteallremoteaudiostreams.dita | 6 +- ...atialaudioengine_mutelocalaudiostream.dita | 6 +- .../api_ibasespatialaudioengine_release.dita | 10 +-- ...espatialaudioengine_setaudiorecvrange.dita | 6 +- ...asespatialaudioengine_setdistanceunit.dita | 6 +- ...atialaudioengine_setmaxaudiorecvcount.dita | 6 +- ...laudioengine_updateplayerpositioninfo.dita | 6 +- ...spatialaudioengine_updateselfposition.dita | 8 +- .../API/api_ichannel_addinjectstreamurl.dita | 6 +- .../API/api_ichannel_addpublishstreamurl.dita | 6 +- ...hannel_adjustuserplaybacksignalvolume.dita | 6 +- .../dita/RTC/API/api_ichannel_channelId.dita | 6 +- .../API/api_ichannel_createdatastream.dita | 6 +- .../API/api_ichannel_createdatastream2.dita | 6 +- .../API/api_ichannel_enableencryption.dita | 6 +- ..._ichannel_enableremotesuperresolution.dita | 10 +-- ...ichannel_enableremotesuperresolution2.dita | 12 +-- .../dita/RTC/API/api_ichannel_getcallid.dita | 6 +- .../API/api_ichannel_getconnectionstate.dita | 6 +- .../RTC/API/api_ichannel_joinchannel.dita | 6 +- ...i_ichannel_joinchannelwithuseraccount.dita | 6 +- .../RTC/API/api_ichannel_leavechannel.dita | 6 +- ...pi_ichannel_muteallremoteaudiostreams.dita | 6 +- ...pi_ichannel_muteallremotevideostreams.dita | 6 +- .../api_ichannel_mutelocalaudiostream.dita | 12 +-- .../api_ichannel_mutelocalvideostream.dita | 14 ++-- .../api_ichannel_muteremoteaudiostream.dita | 6 +- .../api_ichannel_muteremotevideostream.dita | 6 +- ...pi_ichannel_pauseallchannelmediarelay.dita | 12 +-- en-US/dita/RTC/API/api_ichannel_publish.dita | 6 +- ...channel_registermediametadataobserver.dita | 6 +- .../api_ichannel_registerpacketobserver.dita | 10 +-- en-US/dita/RTC/API/api_ichannel_release.dita | 6 +- .../dita/RTC/API/api_ichannel_releaseall.dita | 12 +-- .../api_ichannel_removeinjectstreamurl.dita | 6 +- .../api_ichannel_removepublishstreamurl.dita | 6 +- .../dita/RTC/API/api_ichannel_renewtoken.dita | 6 +- ...i_ichannel_resumeallchannelmediarelay.dita | 12 +-- .../RTC/API/api_ichannel_sendmetadata.dita | 8 +- .../API/api_ichannel_sendstreammessage.dita | 6 +- .../api_ichannel_setchanneleventhandler.dita | 8 +- .../RTC/API/api_ichannel_setclientrole.dita | 8 +- .../RTC/API/api_ichannel_setclientrole2.dita | 6 +- ...l_setdefaultmuteallremoteaudiostreams.dita | 6 +- ...l_setdefaultmuteallremotevideostreams.dita | 6 +- .../API/api_ichannel_setencryptionmode.dita | 6 +- .../API/api_ichannel_setencryptionsecret.dita | 6 +- .../API/api_ichannel_setlivetranscoding.dita | 6 +- .../API/api_ichannel_setmaxmetadatasize.dita | 8 +- ...annel_setremotedefaultvideostreamtype.dita | 6 +- .../API/api_ichannel_setremoterendermode.dita | 10 +-- .../api_ichannel_setremoteuserpriority.dita | 6 +- ...api_ichannel_setremotevideostreamtype.dita | 6 +- .../api_ichannel_setremotevoiceposition.dita | 6 +- .../api_ichannel_startchannelmediarelay.dita | 6 +- ...nel_startrtmpstreamwithouttranscoding.dita | 10 +-- ...hannel_startrtmpstreamwithtranscoding.dita | 10 +-- .../api_ichannel_stopchannelmediarelay.dita | 6 +- .../RTC/API/api_ichannel_stoprtmpstream.dita | 10 +-- .../dita/RTC/API/api_ichannel_unpublish.dita | 6 +- ...annel_unregistermediametadataobserver.dita | 8 +- .../api_ichannel_updatechannelmediarelay.dita | 6 +- .../api_ichannel_updatertmptranscoding.dita | 10 +-- ...oudspatialaudioengine_addeventhandler.dita | 8 +- .../api_icloudspatialaudioengine_create.dita | 12 +-- ...dspatialaudioengine_enablespatializer.dita | 6 +- ...pi_icloudspatialaudioengine_enterroom.dita | 6 +- ...api_icloudspatialaudioengine_exitroom.dita | 6 +- ...icloudspatialaudioengine_getteammates.dita | 10 +-- ...i_icloudspatialaudioengine_initialize.dita | 8 +- .../api_icloudspatialaudioengine_release.dita | 6 +- ...spatialaudioengine_removeeventhandler.dita | 10 +-- ...i_icloudspatialaudioengine_renewtoken.dita | 8 +- ...dspatialaudioengine_setaudiorangemode.dita | 6 +- ...pi_icloudspatialaudioengine_setteamid.dita | 6 +- ...atialaudioengine_clearremotepositions.dita | 6 +- .../api_ilocalspatialaudioengine_create.dita | 12 +-- ...i_ilocalspatialaudioengine_initialize.dita | 6 +- .../api_ilocalspatialaudioengine_release.dita | 8 +- ...atialaudioengine_removeremoteposition.dita | 6 +- ...atialaudioengine_updateremoteposition.dita | 6 +- .../API/api_imediaengine_pullaudioframe.dita | 6 +- .../API/api_imediaengine_pushaudioframe.dita | 6 +- .../API/api_imediaengine_pushaudioframe2.dita | 6 +- ...pi_imediaengine_pushencodedvideoimage.dita | 8 +- .../API/api_imediaengine_pushvideoframe.dita | 6 +- ...ediaengine_registeraudioframeobserver.dita | 6 +- ...ine_registervideoencodedimagereceiver.dita | 8 +- ...ediaengine_registervideoframeobserver.dita | 6 +- ...i_imediaengine_setexternalvideosource.dita | 10 +-- ...diaplayer_registeraudioframeobserver2.dita | 8 +- .../API/api_irtcengine2_createchannel.dita | 6 +- ...pi_iscameraautofocusfacemodesupported.dita | 6 +- ...api_iscameraexposurepositionsupported.dita | 4 +- .../API/api_iscamerafacedetectsupported.dita | 8 +- .../RTC/API/api_iscamerafocussupported.dita | 4 +- .../RTC/API/api_iscameratorchsupported.dita | 4 +- .../RTC/API/api_iscamerazoomsupported.dita | 4 +- ...api_iscreencapturesourcelist_getcount.dita | 12 +-- ...screencapturesourcelist_getsourceinfo.dita | 12 +-- .../api_iscreencapturesourcelist_release.dita | 12 +-- .../RTC/API/api_isspeakerphoneenabled.dita | 4 +- .../RTC/API/api_istextureencodesupported.dita | 12 +-- .../api_ivideodevicecollection_getcount.dita | 12 +-- .../api_ivideodevicecollection_getdevice.dita | 10 +-- .../api_ivideodevicecollection_release.dita | 12 +-- .../api_ivideodevicecollection_setdevice.dita | 8 +- ...eodevicemanager_enumeratevideodevices.dita | 6 +- .../api_ivideodevicemanager_getdevice.dita | 6 +- .../API/api_ivideodevicemanager_release.dita | 12 +-- .../api_ivideodevicemanager_setdevice.dita | 6 +- ...i_ivideodevicemanager_startdevicetest.dita | 6 +- ...pi_ivideodevicemanager_stopdevicetest.dita | 6 +- en-US/dita/RTC/API/api_joinchannel.dita | 6 +- en-US/dita/RTC/API/api_joinchannel2.dita | 2 +- .../API/api_joinchannelwithuseraccount.dita | 6 +- .../API/api_joinchannelwithuseraccount2.dita | 2 +- en-US/dita/RTC/API/api_leavechannel.dita | 2 +- en-US/dita/RTC/API/api_leavechannel2.dita | 6 +- ...pi_livetranscoding_addbackgroundimage.dita | 14 ++-- .../RTC/API/api_livetranscoding_adduser.dita | 10 +-- .../API/api_livetranscoding_addwatermark.dita | 14 ++-- ...pi_livetranscoding_defaulttranscoding.dita | 12 +-- ...i_livetranscoding_getadvancedfeatures.dita | 14 ++-- ...pi_livetranscoding_getbackgroundcolor.dita | 12 +-- ...ivetranscoding_getbackgroundimagelist.dita | 14 ++-- .../API/api_livetranscoding_getusercount.dita | 12 +-- .../RTC/API/api_livetranscoding_getusers.dita | 18 ++--- .../api_livetranscoding_getwatermarklist.dita | 14 ++-- ...livetranscoding_removebackgroundimage.dita | 12 +-- .../API/api_livetranscoding_removeuser.dita | 10 +-- .../api_livetranscoding_removewatermark.dita | 12 +-- ...i_livetranscoding_setadvancedfeatures.dita | 10 +-- ...pi_livetranscoding_setbackgroundcolor.dita | 12 +-- ...i_livetranscoding_setbackgroundcolor2.dita | 12 +-- .../RTC/API/api_livetranscoding_setusers.dita | 14 ++-- .../API/api_livetranscoding_setusers2.dita | 14 ++-- .../dita/RTC/API/api_monitordevicechange.dita | 18 ++--- .../API/api_muteallremoteaudiostreams.dita | 2 +- .../API/api_muteallremotevideostreams.dita | 2 +- .../RTC/API/api_mutelocalaudiostream.dita | 2 +- .../RTC/API/api_mutelocalvideostream.dita | 2 +- .../dita/RTC/API/api_muterecordingsignal.dita | 6 +- .../RTC/API/api_muteremoteaudiostream.dita | 2 +- .../RTC/API/api_muteremotevideostream.dita | 2 +- .../API/api_pauseallchannelmediarelay.dita | 4 +- en-US/dita/RTC/API/api_pausealleffects.dita | 2 +- en-US/dita/RTC/API/api_pauseaudiomixing.dita | 2 +- en-US/dita/RTC/API/api_pauseeffect.dita | 2 +- en-US/dita/RTC/API/api_playalleffects.dita | 10 +-- en-US/dita/RTC/API/api_playeffect.dita | 10 +-- en-US/dita/RTC/API/api_playeffect2.dita | 6 +- en-US/dita/RTC/API/api_playeffect3.dita | 2 +- en-US/dita/RTC/API/api_preloadeffect.dita | 2 +- en-US/dita/RTC/API/api_pullaudioframe2.dita | 10 +-- en-US/dita/RTC/API/api_pushaudioframeex.dita | 12 +-- ...i_pushexternalaudioframesamplebuffer2.dita | 8 +- en-US/dita/RTC/API/api_pushvideoframe2.dita | 12 +-- en-US/dita/RTC/API/api_pushvideoframeex2.dita | 12 +-- en-US/dita/RTC/API/api_queryinterface.dita | 12 +-- en-US/dita/RTC/API/api_rate.dita | 2 +- ...api_registeraudioencodedframeobserver.dita | 6 +- .../RTC/API/api_registerlocaluseraccount.dita | 2 +- .../api_registermediametadataobserver.dita | 2 +- .../RTC/API/api_registerpacketobserver.dita | 10 +-- en-US/dita/RTC/API/api_registerplugin.dita | 12 +-- en-US/dita/RTC/API/api_release.dita | 2 +- en-US/dita/RTC/API/api_releaserecorder.dita | 10 +-- en-US/dita/RTC/API/api_removehandler.dita | 12 +-- .../RTC/API/api_removeinjectstreamurl.dita | 2 +- .../RTC/API/api_removepublishstreamurl.dita | 2 +- en-US/dita/RTC/API/api_renewtoken.dita | 2 +- .../API/api_resumeallchannelmediarelay.dita | 4 +- en-US/dita/RTC/API/api_resumealleffects.dita | 2 +- en-US/dita/RTC/API/api_resumeaudiomixing.dita | 2 +- en-US/dita/RTC/API/api_resumeeffect.dita | 2 +- .../API/api_rtc_local_view_surfaceview.dita | 12 +-- ...api_rtc_local_view_surfaceview_screen.dita | 12 +-- .../API/api_rtc_local_view_textureview.dita | 12 +-- ...api_rtc_local_view_textureview_screen.dita | 12 +-- .../API/api_rtc_remote_view_surfaceview.dita | 12 +-- .../API/api_rtc_remote_view_textureview.dita | 12 +-- .../api_rtc_render_view_rtcsurfaceview.dita | 12 +-- .../api_rtc_render_view_rtctextureview.dita | 12 +-- en-US/dita/RTC/API/api_selectaudiotrack.dita | 12 +-- .../RTC/API/api_sendcustomreportmessage.dita | 2 +- en-US/dita/RTC/API/api_sendmetadata.dita | 8 +- en-US/dita/RTC/API/api_sendstreammessage.dita | 2 +- en-US/dita/RTC/API/api_setaddonlogfile.dita | 12 +-- .../RTC/API/api_setaudioeffectparameters.dita | 2 +- .../RTC/API/api_setaudioeffectpreset.dita | 2 +- .../API/api_setaudiomixingdualmonomode.dita | 12 +-- .../dita/RTC/API/api_setaudiomixingpitch.dita | 2 +- .../API/api_setaudiomixingplaybackspeed.dita | 4 +- .../RTC/API/api_setaudiomixingposition.dita | 2 +- en-US/dita/RTC/API/api_setaudioprofile.dita | 2 +- en-US/dita/RTC/API/api_setaudioprofile2.dita | 6 +- ...i_setaudiosessionoperationrestriction.dita | 8 +- .../RTC/API/api_setbeautyeffectoptions.dita | 2 +- ..._setcameraautoexposurefacemodeenabled.dita | 12 +-- ...api_setcameraautofocusfacemodeenabled.dita | 6 +- .../api_setcameracapturerconfiguration.dita | 2 +- .../API/api_setcameradeviceorientation.dita | 10 +-- .../API/api_setcameraexposureposition.dita | 4 +- .../api_setcamerafocuspositioninpreview.dita | 4 +- en-US/dita/RTC/API/api_setcameratorchon.dita | 6 +- .../dita/RTC/API/api_setcamerazoomfactor.dita | 4 +- en-US/dita/RTC/API/api_setchannelprofile.dita | 2 +- en-US/dita/RTC/API/api_setclientrole.dita | 4 +- en-US/dita/RTC/API/api_setclientrole2.dita | 2 +- en-US/dita/RTC/API/api_setcloudproxy.dita | 6 +- .../RTC/API/api_setcolorenhanceoptions.dita | 10 +-- ...pi_setdefaultaudioroutetospeakerphone.dita | 8 +- ...i_setdefaultmuteallremoteaudiostreams.dita | 2 +- ...i_setdefaultmuteallremotevideostreams.dita | 2 +- en-US/dita/RTC/API/api_setdevicevolume.dita | 12 +-- ...tdirectcdnstreamingaudioconfiguration.dita | 6 +- ...tdirectcdnstreamingvideoconfiguration.dita | 6 +- en-US/dita/RTC/API/api_seteffectposition.dita | 2 +- en-US/dita/RTC/API/api_seteffectsvolume.dita | 2 +- .../RTC/API/api_setenablespeakerphone.dita | 10 +-- en-US/dita/RTC/API/api_setencryptionmode.dita | 2 +- .../dita/RTC/API/api_setencryptionsecret.dita | 2 +- .../RTC/API/api_setexternalaudiosink.dita | 10 +-- .../RTC/API/api_setexternalaudiosource.dita | 6 +- .../RTC/API/api_setexternalaudiosource2.dita | 6 +- .../API/api_setexternalaudiosourcevolume.dita | 12 +-- .../api_sethighqualityaudioparameters.dita | 8 +- .../RTC/API/api_setinearmonitoringvolume.dita | 4 +- .../dita/RTC/API/api_setlivetranscoding.dita | 2 +- .../api_setlocalpublishfallbackoption.dita | 2 +- .../dita/RTC/API/api_setlocalrendermode.dita | 6 +- .../dita/RTC/API/api_setlocalrendermode2.dita | 6 +- .../RTC/API/api_setlocalvideomirrormode.dita | 4 +- .../RTC/API/api_setlocalvoicechanger.dita | 2 +- .../API/api_setlocalvoiceequalization.dita | 2 +- .../dita/RTC/API/api_setlocalvoicepitch.dita | 2 +- .../dita/RTC/API/api_setlocalvoicereverb.dita | 2 +- .../API/api_setlocalvoicereverbpreset.dita | 4 +- en-US/dita/RTC/API/api_setlogfile.dita | 6 +- en-US/dita/RTC/API/api_setlogfilesize.dita | 6 +- en-US/dita/RTC/API/api_setlogfilter.dita | 2 +- en-US/dita/RTC/API/api_setloglevel.dita | 6 +- .../API/api_setlowlightenhanceoptions.dita | 10 +-- .../dita/RTC/API/api_setmaxmetadatasize.dita | 8 +- .../API/api_setmediametadatadatasource.dita | 12 +-- .../API/api_setmixedaudioframeparameters.dita | 10 +-- en-US/dita/RTC/API/api_setparameters.dita | 10 +-- ...ybackaudioframebeforemixingparameters.dita | 6 +- .../api_setplaybackaudioframeparameters.dita | 6 +- en-US/dita/RTC/API/api_setplayeroption.dita | 10 +-- .../dita/RTC/API/api_setpluginparameter.dita | 12 +-- .../api_setrecordingaudioframeparameters.dita | 4 +- .../api_setremotedefaultvideostreamtype.dita | 2 +- .../dita/RTC/API/api_setremoterendermode.dita | 6 +- .../RTC/API/api_setremoterendermode2.dita | 6 +- .../api_setremotesubscribefallbackoption.dita | 2 +- .../RTC/API/api_setremoteuserpriority.dita | 4 +- .../api_setremoteuserspatialaudioparams.dita | 6 +- .../RTC/API/api_setremotevideostreamtype.dita | 2 +- .../RTC/API/api_setremotevoiceposition.dita | 2 +- .../RTC/API/api_setremotevoicepositionex.dita | 6 +- en-US/dita/RTC/API/api_setrendermode.dita | 12 +-- .../API/api_setscreencapturecontenthint.dita | 16 ++-- .../RTC/API/api_setscreencapturescenario.dita | 6 +- en-US/dita/RTC/API/api_setuplocalvideo.dita | 6 +- en-US/dita/RTC/API/api_setupremotevideo.dita | 6 +- .../dita/RTC/API/api_setupremotevideoex.dita | 6 +- .../RTC/API/api_setvideodenoiseroptions.dita | 10 +-- .../API/api_setvideoencoderconfiguration.dita | 2 +- en-US/dita/RTC/API/api_setvideoprofile.dita | 4 +- en-US/dita/RTC/API/api_setvideoprofile2.dita | 10 +-- .../API/api_setvideoqualityparameters.dita | 6 +- .../RTC/API/api_setvideorenderdimension.dita | 12 +-- en-US/dita/RTC/API/api_setvideorenderfps.dita | 12 +-- en-US/dita/RTC/API/api_setvideosource.dita | 12 +-- en-US/dita/RTC/API/api_setview.dita | 12 +-- .../API/api_setvoicebeautifierparameters.dita | 2 +- .../RTC/API/api_setvoicebeautifierpreset.dita | 2 +- .../RTC/API/api_setvoiceconversionpreset.dita | 2 +- en-US/dita/RTC/API/api_setvolumeofeffect.dita | 2 +- .../dita/RTC/API/api_startaudioframedump.dita | 12 +-- en-US/dita/RTC/API/api_startaudiomixing.dita | 4 +- en-US/dita/RTC/API/api_startaudiomixing2.dita | 2 +- .../dita/RTC/API/api_startaudiorecording.dita | 6 +- .../RTC/API/api_startaudiorecording2.dita | 6 +- .../RTC/API/api_startaudiorecording3.dita | 2 +- .../RTC/API/api_startchannelmediarelay.dita | 2 +- .../RTC/API/api_startdirectcdnstreaming.dita | 10 +-- en-US/dita/RTC/API/api_startechotest.dita | 4 +- en-US/dita/RTC/API/api_startechotest2.dita | 4 +- en-US/dita/RTC/API/api_startechotest3.dita | 10 +-- .../RTC/API/api_startlastmileprobetest.dita | 2 +- en-US/dita/RTC/API/api_startpreview.dita | 2 +- en-US/dita/RTC/API/api_startrecording.dita | 8 +- en-US/dita/RTC/API/api_startrhythmplayer.dita | 6 +- ...api_startrtmpstreamwithouttranscoding.dita | 4 +- .../api_startrtmpstreamwithtranscoding.dita | 2 +- .../dita/RTC/API/api_startscreencapture.dita | 10 +-- .../api_startscreencapturebydisplayid.dita | 6 +- .../api_startscreencapturebyscreenrect.dita | 6 +- .../API/api_startscreencapturebywindowid.dita | 4 +- .../RTC/API/api_startscreencapturemobile.dita | 12 +-- en-US/dita/RTC/API/api_statechanged.dita | 12 +-- en-US/dita/RTC/API/api_stopalleffects.dita | 2 +- .../dita/RTC/API/api_stopaudioframedump.dita | 12 +-- en-US/dita/RTC/API/api_stopaudiomixing.dita | 2 +- .../dita/RTC/API/api_stopaudiorecording.dita | 2 +- .../RTC/API/api_stopchannelmediarelay.dita | 2 +- .../RTC/API/api_stopdirectcdnstreaming.dita | 8 +- en-US/dita/RTC/API/api_stopechotest.dita | 2 +- en-US/dita/RTC/API/api_stopeffect.dita | 2 +- .../RTC/API/api_stoplastmileprobetest.dita | 2 +- en-US/dita/RTC/API/api_stoppreview.dita | 2 +- en-US/dita/RTC/API/api_stoprecording.dita | 8 +- en-US/dita/RTC/API/api_stoprhythmplayer.dita | 4 +- en-US/dita/RTC/API/api_stoprtmpstream.dita | 4 +- en-US/dita/RTC/API/api_stopscreencapture.dita | 2 +- en-US/dita/RTC/API/api_switchcamera.dita | 4 +- en-US/dita/RTC/API/api_switchchannel.dita | 10 +-- en-US/dita/RTC/API/api_switchchannel2.dita | 6 +- en-US/dita/RTC/API/api_takescreenshot.dita | 12 +-- en-US/dita/RTC/API/api_takesnapshot.dita | 4 +- en-US/dita/RTC/API/api_unloadeffect.dita | 2 +- .../API/api_unregisteraudioframeobserver.dita | 12 +-- .../api_unregistermediametadataobserver.dita | 4 +- en-US/dita/RTC/API/api_unregisterplugin.dita | 12 +-- .../API/api_unregistervideoframeobserver.dita | 12 +-- .../API/api_updatechannelmediaoptions.dita | 8 +- .../RTC/API/api_updatechannelmediarelay.dita | 2 +- .../RTC/API/api_updatertmptranscoding.dita | 4 +- .../api_updatescreencaptureparameters.dita | 4 +- ...i_updatescreencaptureparametersmobile.dita | 14 ++-- .../API/api_updatescreencaptureregion.dita | 6 +- .../API/api_updatescreencaptureregion2.dita | 8 +- en-US/dita/RTC/API/api_uploadlogfile.dita | 8 +- .../RTC/API/api_videosourcedisableaudio.dita | 12 +-- .../RTC/API/api_videosourcedisablevideo.dita | 12 +-- .../RTC/API/api_videosourceenableaudio.dita | 12 +-- .../api_videosourceenabledualstreammode.dita | 12 +-- .../API/api_videosourceenableencryption.dita | 12 +-- .../API/api_videosourceenablelocalaudio.dita | 12 +-- .../API/api_videosourceenablelocalvideo.dita | 12 +-- ...pi_videosourceenableloopbackrecording.dita | 12 +-- .../RTC/API/api_videosourceenableplugin.dita | 12 +-- .../RTC/API/api_videosourceenablevideo.dita | 12 +-- ...deosourceenablewebsdkinteroperability.dita | 12 +-- .../api_videosourcegetpluginparameter.dita | 12 +-- .../RTC/API/api_videosourcegetplugins.dita | 12 +-- .../api_videosourceinitializewithcontext.dita | 12 +-- .../RTC/API/api_videosourcejoinchannel.dita | 12 +-- .../RTC/API/api_videosourceleavechannel.dita | 12 +-- ..._videosourcemuteallremoteaudiostreams.dita | 12 +-- ..._videosourcemuteallremotevideostreams.dita | 12 +-- .../API/api_videosourceregisterplugin.dita | 12 +-- .../dita/RTC/API/api_videosourcerelease.dita | 12 +-- .../RTC/API/api_videosourcerenewtoken.dita | 12 +-- .../API/api_videosourcesetaddonlogfile.dita | 12 +-- .../API/api_videosourcesetchannelprofile.dita | 12 +-- .../API/api_videosourcesetencryptionmode.dita | 12 +-- .../api_videosourcesetencryptionsecret.dita | 12 +-- .../RTC/API/api_videosourcesetlogfile.dita | 12 +-- .../RTC/API/api_videosourcesetparameters.dita | 14 ++-- .../api_videosourcesetpluginparameter.dita | 12 +-- ...ideosourcesetscreencapturecontenthint.dita | 12 +-- ...deosourcesetvideoencoderconfiguration.dita | 12 +-- .../API/api_videosourcesetvideoprofile.dita | 12 +-- .../RTC/API/api_videosourcestartpreview.dita | 12 +-- ...videosourcestartscreencapturebyscreen.dita | 12 +-- ...videosourcestartscreencapturebywindow.dita | 12 +-- .../RTC/API/api_videosourcestoppreview.dita | 12 +-- .../API/api_videosourcestopscreencapture.dita | 12 +-- .../API/api_videosourceunregisterplugin.dita | 12 +-- ...eosourceupdatescreencaptureparameters.dita | 12 +-- ..._videosourceupdatescreencaptureregion.dita | 12 +-- .../callback_iaudioframeobserver_onframe.dita | 6 +- ...iaudioframeobserver_onmixedaudioframe.dita | 14 +++- ...dioframeobserver_onplaybackaudioframe.dita | 7 +- ...rver_onplaybackaudioframebeforemixing.dita | 14 ++-- ...er_onplaybackaudioframebeforemixingex.dita | 2 +- ...audioframeobserver_onrecordaudioframe.dita | 7 +- ...leventhandler_onfirstremotevideoframe.dita | 8 +- ...nthandler_onrtmpstreamingstatechanged.dita | 13 +-- ...oeventhandler_onconnectionstatechange.dita | 2 +- ...ialaudioeventhandler_onteammatejoined.dita | 2 +- ...atialaudioeventhandler_onteammateleft.dita | 2 +- ...alaudioeventhandler_ontokenwillexpire.dita | 2 +- ...etadataobserver_onreadytosendmetadata.dita | 2 +- ...rameobserver_getobservedframeposition.dita | 8 +- .../callback_ivideoframeobserver_onframe.dita | 6 +- ...eobserver_onpreencodescreenvideoframe.dita | 1 + ...eoframeobserver_onpreencodevideoframe.dita | 5 +- ...videoframeobserver_onrendervideoframe.dita | 6 +- ..._onsecondarypreencodescreenvideoframe.dita | 5 -- .../RTC/API/callback_onactivespeaker.dita | 13 +-- ...ack_onaudiodevicetestvolumeindication.dita | 6 +- .../dita/RTC/API/callback_onaudioquality.dita | 5 +- .../RTC/API/callback_onaudioroutechanged.dita | 10 ++- .../API/callback_onaudiovolumeindication.dita | 5 +- .../callback_onchannelmediarelayevent.dita | 9 ++- ...lback_onchannelmediarelaystatechanged.dita | 7 +- .../RTC/API/callback_onclientrolechanged.dita | 5 +- .../RTC/API/callback_onconnectionbanned.dita | 5 +- .../API/callback_onconnectioninterrupted.dita | 5 +- .../RTC/API/callback_onconnectionlost.dita | 5 +- .../callback_onconnectionstatechanged.dita | 5 +- .../RTC/API/callback_onencryptionerror.dita | 4 +- .../API/callback_onfacepositionchanged.dita | 3 +- ...lback_onfirstlocalaudioframepublished.dita | 5 +- .../API/callback_onfirstlocalvideoframe.dita | 5 +- ...lback_onfirstlocalvideoframepublished.dita | 5 +- .../callback_onfirstremoteaudiodecoded.dita | 6 +- .../API/callback_onfirstremoteaudioframe.dita | 2 +- .../callback_onfirstremotevideodecoded.dita | 5 +- .../API/callback_onfirstremotevideoframe.dita | 23 +++--- .../API/callback_onjoinchannelsuccess.dita | 11 ++- .../dita/RTC/API/callback_onleavechannel.dita | 5 +- .../callback_onlocalaudiostatechanged.dita | 5 +- .../RTC/API/callback_onlocalaudiostats.dita | 5 +- .../API/callback_onlocaluserregistered.dita | 9 ++- .../callback_onlocalvideostatechanged.dita | 9 ++- .../RTC/API/callback_onlocalvideostats.dita | 5 +- .../API/callback_onlocalvoicepitchinhz.dita | 5 +- .../RTC/API/callback_onnetworkquality.dita | 8 +- .../API/callback_onnetworktypechanged.dita | 5 +- .../RTC/API/callback_onpermissionerror.dita | 2 +- .../RTC/API/callback_onproxyconnected.dita | 12 +-- .../API/callback_onrecorderinfoupdated.dita | 4 +- .../API/callback_onrecorderstatechanged.dita | 2 +- .../API/callback_onrejoinchannelsuccess.dita | 5 +- .../callback_onremoteaudiostatechanged.dita | 23 +++--- .../RTC/API/callback_onremoteaudiostats.dita | 5 +- .../callback_onremoteaudiotransportstats.dita | 5 +- ..._onremotesubscribefallbacktoaudioonly.dita | 2 + .../callback_onremotevideostatechanged.dita | 7 +- .../RTC/API/callback_onremotevideostats.dita | 5 +- .../callback_onremotevideotransportstats.dita | 5 +- .../dita/RTC/API/callback_onrequesttoken.dita | 5 +- en-US/dita/RTC/API/callback_onrtcstats.dita | 5 +- .../API/callback_onrtmpstreamingevent.dita | 2 +- .../callback_onrtmpstreamingstatechanged.dita | 19 +---- .../RTC/API/callback_onstreammessage.dita | 7 +- .../API/callback_onstreammessageerror.dita | 3 +- .../callback_ontokenprivilegewillexpire.dita | 5 +- .../callback_onuplinknetworkinfoupdated.dita | 4 +- .../RTC/API/callback_onuploadlogresult.dita | 4 +- .../API/callback_onuserenablelocalvideo.dita | 5 +- .../RTC/API/callback_onuserenablevideo.dita | 5 +- .../RTC/API/callback_onuserinfoupdated.dita | 7 +- en-US/dita/RTC/API/callback_onuserjoined.dita | 5 +- .../RTC/API/callback_onusermutevideo.dita | 5 +- .../dita/RTC/API/callback_onuseroffline.dita | 5 +- .../RTC/API/callback_onvideosizechanged.dita | 5 +- .../RTC/API/class_agorafacepositioninfo.dita | 12 +-- .../API/class_agorarhythmplayerconfig.dita | 12 +-- .../RTC/API/class_agorartcdeviceinfo.dita | 12 +-- ...class_audioencodedframeobserverconfig.dita | 6 +- .../class_audioexternalsourceposition.dita | 8 +- en-US/dita/RTC/API/class_audiofileinfo.dita | 14 ++-- en-US/dita/RTC/API/class_audioframe.dita | 6 +- .../class_audiorecordingconfiguration.dita | 6 +- en-US/dita/RTC/API/class_audiovolumeinfo.dita | 6 +- en-US/dita/RTC/API/class_beautyoptions.dita | 10 +-- .../class_cameracapturerconfiguration.dita | 10 +-- en-US/dita/RTC/API/class_channel.dita | 12 +-- .../dita/RTC/API/class_channelmediainfo.dita | 6 +- .../RTC/API/class_channelmediaoptions.dita | 10 +-- .../class_channelmediarelayconfiguration.dita | 6 +- .../dita/RTC/API/class_clientroleoptions.dita | 6 +- .../API/class_cloudspatialaudioconfig.dita | 6 +- .../RTC/API/class_colorenhanceoptions.dita | 20 ++--- .../dita/RTC/API/class_datastreamconfig.dita | 6 +- en-US/dita/RTC/API/class_device.dita | 12 +-- en-US/dita/RTC/API/class_deviceinfo.dita | 8 +- .../RTC/API/class_echotestconfiguration.dita | 12 +-- .../RTC/API/class_encodedaudioframeinfo.dita | 8 +- .../RTC/API/class_encodedvideoframeinfo.dita | 2 +- .../dita/RTC/API/class_encryptionconfig.dita | 6 +- .../RTC/API/class_externalvideoframe.dita | 6 +- .../class_imediafilterextensiondelegate.dita | 14 ++-- .../RTC/API/class_injectstreamconfig.dita | 6 +- .../RTC/API/class_lastmileprobeconfig.dita | 6 +- .../API/class_lastmileprobeonewayresult.dita | 6 +- .../RTC/API/class_lastmileproberesult.dita | 6 +- .../RTC/API/class_leavechanneloptions.dita | 6 +- .../API/class_livestreamadvancedfeature.dita | 2 +- en-US/dita/RTC/API/class_livetranscoding.dita | 42 +++++----- en-US/dita/RTC/API/class_localaudiostats.dita | 6 +- .../API/class_localspatialaudioconfig.dita | 8 +- .../class_localtranscoderconfiguration.dita | 8 +- en-US/dita/RTC/API/class_localvideostats.dita | 6 +- en-US/dita/RTC/API/class_logconfig.dita | 10 +-- .../RTC/API/class_lowlightenhanceoptions.dita | 20 ++--- en-US/dita/RTC/API/class_mediadeviceinfo.dita | 16 ++-- .../API/class_mediarecorderconfiguration.dita | 12 +-- en-US/dita/RTC/API/class_metadata.dita | 10 +-- en-US/dita/RTC/API/class_packet.dita | 6 +- .../dita/RTC/API/class_playerstreaminfo.dita | 6 +- .../dita/RTC/API/class_playerupdatedinfo.dita | 10 +-- en-US/dita/RTC/API/class_plugin.dita | 12 +-- en-US/dita/RTC/API/class_plugininfo.dita | 12 +-- en-US/dita/RTC/API/class_recorderinfo.dita | 12 +-- en-US/dita/RTC/API/class_rect.dita | 10 +-- en-US/dita/RTC/API/class_rectangle.dita | 8 +- .../dita/RTC/API/class_remoteaudiostats.dita | 6 +- .../dita/RTC/API/class_remotevideostats.dita | 6 +- .../API/class_remotevoicepositioninfo.dita | 10 +-- en-US/dita/RTC/API/class_rendererconfig.dita | 12 +-- en-US/dita/RTC/API/class_rendereroptions.dita | 12 +-- .../API/class_rtc_local_view_surfaceview.dita | 12 +-- .../API/class_rtc_local_view_textureview.dita | 12 +-- .../class_rtc_remote_view_surfaceview.dita | 12 +-- .../class_rtc_remote_view_textureview.dita | 12 +-- .../class_rtc_render_view_rtcsurfaceview.dita | 12 +-- .../class_rtc_render_view_rtctextureview.dita | 12 +-- en-US/dita/RTC/API/class_rtcconnection.dita | 6 +- en-US/dita/RTC/API/class_rtcengineconfig.dita | 10 +-- en-US/dita/RTC/API/class_rtcimage.dita | 6 +- en-US/dita/RTC/API/class_rtcstats.dita | 8 +- .../RTC/API/class_screenaudioparameters.dita | 4 +- .../API/class_screencaptureconfiguration.dita | 10 +-- .../dita/RTC/API/class_screencaptureinfo.dita | 10 +-- .../API/class_screencaptureparameters.dita | 8 +- .../API/class_screencaptureparameters2.dita | 4 +- .../API/class_screencapturesourceinfo.dita | 12 +-- en-US/dita/RTC/API/class_screensymbol.dita | 12 +-- .../RTC/API/class_screenvideoparameters.dita | 4 +- .../RTC/API/class_simulcaststreamconfig.dita | 6 +- en-US/dita/RTC/API/class_size.dita | 24 +++--- .../RTC/API/class_spatialaudioparams.dita | 18 ++--- en-US/dita/RTC/API/class_srcinfo.dita | 6 +- .../dita/RTC/API/class_thumbimagebuffer.dita | 12 +-- en-US/dita/RTC/API/class_transcodinguser.dita | 6 +- .../RTC/API/class_transcodingvideostream.dita | 8 +- .../dita/RTC/API/class_uplinknetworkinfo.dita | 6 +- en-US/dita/RTC/API/class_user.dita | 12 +-- .../RTC/API/class_useraudiospectruminfo.dita | 8 +- en-US/dita/RTC/API/class_userinfo.dita | Bin 4112 -> 4097 bytes en-US/dita/RTC/API/class_videocanvas.dita | 10 +-- .../RTC/API/class_videodenoiseroptions.dita | 20 ++--- en-US/dita/RTC/API/class_videodimensions.dita | 8 +- .../API/class_videoencoderconfiguration.dita | 6 +- en-US/dita/RTC/API/class_videoframe.dita | 10 +-- .../API/class_virtualbackgroundsource.dita | 8 +- .../dita/RTC/API/class_watermarkoptions.dita | 6 +- en-US/dita/RTC/API/class_watermarkratio.dita | 10 +-- en-US/dita/RTC/API/class_windowinfo.dita | 12 +-- 1536 files changed, 5509 insertions(+), 5331 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita index b0ae5f9aa55..b6f2cb2fb62 100644 --- a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita +++ b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita @@ -13,18 +13,18 @@

- + - (instancetype _Nonnull)initWithSize:(CGSize)size frameRate:(AgoraVideoFrameRate)frameRate bitrate:(NSInteger)bitrate orientationMode:(AgoraVideoOutputOrientationMode)orientationMode mirrorMode:(AgoraVideoMirrorMode)mirrorMode; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita index edb41a42169..0cef8b5442d 100644 --- a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita +++ b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita @@ -13,19 +13,19 @@

- + - (instancetype _Nonnull)initWithWidth:(NSInteger)width height:(NSInteger)height frameRate:(AgoraVideoFrameRate)frameRate bitrate:(NSInteger)bitrate orientationMode:(AgoraVideoOutputOrientationMode)orientationMode mirrorMode:(AgoraVideoMirrorMode)mirrorMode; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita index 321808ad597..747707c92b2 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita @@ -13,16 +13,16 @@

- public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { + public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita index e10ba70b707..26da29c87d3 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita @@ -16,13 +16,13 @@ public ChannelMediaInfo getSrcChannelMediaInfo() { return srcInfo; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita index 551dece91d3..a3a8907fe29 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita @@ -17,12 +17,12 @@ destInfos.remove(channelName); } - (BOOL)removeDestinationInfoForChannelName:(NSString *_Nonnull)channelName; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita index 1be99d03556..f77a6366e55 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita @@ -18,12 +18,12 @@ } - (BOOL)setDestinationInfo:(AgoraChannelMediaRelayInfo *_Nonnull)destinationInfo forChannelName:(NSString *_Nonnull)channelName; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita index d3441a624a2..b199a12e52b 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita @@ -16,13 +16,13 @@ public void setSrcChannelInfo(ChannelMediaInfo srcInfo) { this.srcInfo = srcInfo; } - - - - - - -

+ + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_createagorartcengine.dita b/en-US/dita/RTC-NG/API/api_createagorartcengine.dita index b2040e2e3d8..c89e757f2d9 100644 --- a/en-US/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/en-US/dita/RTC-NG/API/api_createagorartcengine.dita @@ -13,8 +13,8 @@

- - + + AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine () export function createAgoraRtcEngine(): IRtcEngineEx { return instance; @@ -29,7 +29,7 @@ RtcEngine createAgoraRtcEngine() { return impl.RtcEngineImpl.create(); } -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita b/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita index e7b5e0bfb9f..fe986145293 100644 --- a/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita +++ b/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita @@ -13,19 +13,19 @@

- - - - + + + + public static IRtcEngineEx CreateAgoraRtcEngineEx() { return (IRtcEngineEx)(instance ?? (instance = new RtcEngine(IntPtr.Zero))); } - + RtcEngineEx createAgoraRtcEngineEx() { return impl.RtcEngineImpl.create(); } -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index b7706c494ee..7d78ad49aa6 100644 --- a/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -24,7 +24,7 @@ return new IMediaPlayerCacheManagerImpl(); } MediaPlayerCacheManager getMediaPlayerCacheManager() -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita b/en-US/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita index 35d995a4cd3..0dfec677aa4 100644 --- a/en-US/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita +++ b/en-US/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita @@ -13,14 +13,14 @@

- - + + virtual int setParameters(const char* parameters) = 0; - + public abstract int SetParameters(string parameters); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita index a6c13811c94..ab2080c2043 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita @@ -13,14 +13,14 @@

- - + + virtual int getApplicationVolume(int& volume) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita index ea6ece98440..1d11b79e2b1 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual int getCount() = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita index 567812634b7..c0c48c39bda 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita @@ -16,9 +16,9 @@ - (AgoraRtcDeviceInfo* _Nullable)getDefaultAudioDevice:(AgoraMediaDeviceType)type; virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - - -

+ + +

  • This method is for Windows and macOS only.
  • diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita index 74ed73f5c61..034314b0463 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita @@ -20,7 +20,7 @@ public abstract string GetDevice(); Future<String> getDevice(); -

    +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita index ee76aec0c5c..e32aacc20c1 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita @@ -13,14 +13,14 @@

- - + + virtual int isApplicationMute(bool &mute) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita index 5046f5ad933..b1dc3389f2a 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita @@ -13,14 +13,14 @@

- - + + virtual void release() = 0; - - - - -

+ + + + +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita index 0e8a0669e00..726d2cfa0f7 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita @@ -13,14 +13,14 @@

- - + + virtual int setApplicationMute(bool mute) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita index ccba574016f..1365054702d 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita @@ -13,14 +13,14 @@

- - + + virtual int setApplicationVolume(int volume) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita index 073711169ca..2b22584d319 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita @@ -20,7 +20,7 @@ public abstract int SetDevice(string deviceIdUTF8); Future<void> setDevice(String deviceIdUTF8); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita index e7629a70cc0..8ce43990a2a 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita @@ -20,7 +20,7 @@ public abstract DeviceInfo[] EnumeratePlaybackDevices(); abstract enumeratePlaybackDevices(): AudioDeviceInfo[]; List<AudioDeviceInfo> enumeratePlaybackDevices(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita index 18334154942..d6124a1d2ac 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita @@ -20,7 +20,7 @@ abstract DeviceInfo[] EnumerateRecordingDevices(); abstract enumerateRecordingDevices(): AudioDeviceInfo[]; List<AudioDeviceInfo> enumerateRecordingDevices(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita index dfb04765049..bad1628f845 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita @@ -13,14 +13,14 @@

- - + + virtual int followSystemLoopbackDevice(bool enable) = 0; abstract followSystemLoopbackDevice(enable: boolean): number; public abstract int FollowSystemLoopbackDevice(bool enable); - - Future<void> followSystemLoopbackDevice(bool enable); -

+ + Future<void> followSystemLoopbackDevice(bool enable); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita index 982bc11caa6..1592ba626d9 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita @@ -19,7 +19,7 @@ abstract followSystemPlaybackDevice(enable: boolean): number; public abstract int FollowSystemPlaybackDevice(bool enable); Future<void> followSystemPlaybackDevice(bool enable); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita index 9144494304b..0e8e50a7e6d 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita @@ -19,7 +19,7 @@ public abstract int FollowSystemRecordingDevice(bool enable); abstract followSystemRecordingDevice(enable: boolean): number; Future<void> followSystemRecordingDevice(bool enable); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita index 4435434481f..318b4f1f613 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita @@ -13,14 +13,14 @@

- - + + virtual int getLoopbackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract getLoopbackDevice(): string; public abstract int GetLoopbackDevice(ref string deviceId); - - Future<String> getLoopbackDevice(); -

+ + Future<String> getLoopbackDevice(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita index d292c20dc70..b3ba87e6fa2 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita @@ -13,14 +13,14 @@

- - - + + + abstract getPlaybackDefaultDevice(): AudioDeviceInfo; public abstract int GetPlaybackDefaultDevice(ref string deviceId, ref string deviceName); - - Future<AudioDeviceInfo> getPlaybackDefaultDevice(); -

+ + Future<AudioDeviceInfo> getPlaybackDefaultDevice(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita index 940ced7f8ae..c08ce1acccd 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita @@ -20,7 +20,7 @@ public abstract int GetPlaybackDevice(ref string deviceId); abstract getPlaybackDevice(): string; Future<String> getPlaybackDevice(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita index 0632899360c..da1d7acff71 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita @@ -20,7 +20,7 @@ public abstract int GetPlaybackDeviceInfo(ref string deviceId, ref string deviceName); abstract getPlaybackDeviceInfo(): AudioDeviceInfo; Future<AudioDeviceInfo> getPlaybackDeviceInfo(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita index e1ce1f617dc..fdea03a8294 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita @@ -20,7 +20,7 @@ public abstract bool GetPlaybackDeviceMute(); abstract getPlaybackDeviceMute(): boolean; Future<bool> getPlaybackDeviceMute(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita index b6ae0ee1a58..eb54d751201 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita @@ -20,7 +20,7 @@ public abstract int GetPlaybackDeviceVolume(); abstract getPlaybackDeviceVolume(): number; Future<int> getPlaybackDeviceVolume(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita index 5dda26e2174..5fcfccebf70 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita @@ -13,14 +13,14 @@

- - - + + + abstract getRecordingDefaultDevice(): AudioDeviceInfo; public abstract int GetRecordingDefaultDevice(ref string deviceId, ref string deviceName); - - Future<AudioDeviceInfo> getRecordingDefaultDevice(); -

+ + Future<AudioDeviceInfo> getRecordingDefaultDevice(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita index 5400c9bc7c9..59d2126cf56 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita @@ -13,14 +13,14 @@

- - + + virtual int getRecordingDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract getRecordingDevice(): string; public abstract int GetRecordingDevice(ref string deviceId); abstract getRecordingDevice(): string; Future<String> getRecordingDevice(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita index 1d7e9f19283..683a7751f02 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita @@ -20,7 +20,7 @@ public abstract int GetRecordingDeviceInfo(ref string deviceId, ref string deviceName); abstract getRecordingDeviceInfo(): AudioDeviceInfo; Future<AudioDeviceInfo> getRecordingDeviceInfo(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita index dff7ad2420e..d4c380cdab8 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita @@ -20,7 +20,7 @@ public abstract bool GetRecordingDeviceMute(); abstract getRecordingDeviceMute(): boolean; Future<bool> getRecordingDeviceMute(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita index eaa2f15045a..63ef1c00791 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita @@ -20,7 +20,7 @@ public abstract int GetRecordingDeviceVolume(); abstract getRecordingDeviceVolume(): number; Future<int> getRecordingDeviceVolume(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita index 338344931ed..9abd9ead69d 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita @@ -13,14 +13,14 @@

- - + + virtual void release() = 0; abstract release(): void; - + abstract release(): void; - Future<void> release(); -

+ Future<void> release(); +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita index 92ec968f351..503a59fd523 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita @@ -13,14 +13,14 @@

- - + + virtual int setLoopbackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract setLoopbackDevice(deviceId: string): number; public abstract int SetLoopbackDevice(string deviceId); - - Future<void> setLoopbackDevice(String deviceId); -

+ + Future<void> setLoopbackDevice(String deviceId); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita index 90062eb1103..c0e175205b3 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita @@ -20,7 +20,7 @@ public abstract int SetPlaybackDevice(string deviceId); abstract setPlaybackDevice(deviceId: string): number; Future<void> setPlaybackDevice(String deviceId); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita index c4305e72252..92eddae8a65 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita @@ -20,7 +20,7 @@ public abstract int SetPlaybackDeviceMute(bool mute); abstract setPlaybackDeviceMute(mute: boolean): number; Future<void> setPlaybackDeviceMute(bool mute); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita index bb92f8a556c..91b11186a63 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita @@ -20,7 +20,7 @@ public abstract int SetPlaybackDeviceVolume(int volume); abstract setPlaybackDeviceVolume(volume: number): number; Future<void> setPlaybackDeviceVolume(int volume); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita index e4e1596f287..9f1d0b0c2c0 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita @@ -20,7 +20,7 @@ public abstract int SetRecordingDevice(string deviceId); abstract setRecordingDevice(deviceId: string): number; Future<void> setRecordingDevice(String deviceId); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita index e276a161622..c27225090bf 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita @@ -20,7 +20,7 @@ public abstract int SetRecordingDeviceMute(bool mute); abstract setRecordingDeviceMute(mute: boolean): number; Future<void> setRecordingDeviceMute(bool mute); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita index a96c9d528d9..ee4f5ad5e07 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita @@ -13,14 +13,14 @@

- - + + virtual int setRecordingDeviceVolume(int volume) = 0; abstract setRecordingDeviceVolume(volume: number): number; public abstract int SetRecordingDeviceVolume(int volume); abstract setRecordingDeviceVolume(volume: number): number; - Future<void> setRecordingDeviceVolume(int volume); -

+ Future<void> setRecordingDeviceVolume(int volume); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita index 95388091e27..e43a4963742 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita @@ -20,7 +20,7 @@ public abstract int StartAudioDeviceLoopbackTest(int indicationInterval); abstract startAudioDeviceLoopbackTest(indicationInterval: number): number; Future<void> startAudioDeviceLoopbackTest(int indicationInterval); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita index 5588149db57..5430fe99474 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita @@ -20,7 +20,7 @@ public abstract int StartPlaybackDeviceTest(string testAudioFilePath); abstract startPlaybackDeviceTest(testAudioFilePath: string): number; Future<void> startPlaybackDeviceTest(String testAudioFilePath); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita index d0114fb74a1..20e4d071679 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita @@ -19,8 +19,8 @@ abstract startRecordingDeviceTest(indicationInterval: number): number; public abstract int StartRecordingDeviceTest(int indicationInterval); abstract startRecordingDeviceTest(indicationInterval: number): number; - Future<void> startRecordingDeviceTest(int indicationInterval); -

+ Future<void> startRecordingDeviceTest(int indicationInterval); +

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita index ffe661d8cb1..0df7308f845 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita @@ -20,7 +20,7 @@ public abstract int StopAudioDeviceLoopbackTest(); abstract stopAudioDeviceLoopbackTest(): number; Future<void> stopAudioDeviceLoopbackTest(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita index 715589c5286..4f733949efd 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita @@ -20,7 +20,7 @@ public abstract int StopPlaybackDeviceTest(); abstract stopPlaybackDeviceTest(): number; Future<void> stopPlaybackDeviceTest(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita index 532bcbe1028..4add1e83b9a 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita @@ -13,14 +13,14 @@

- + - (int)stopRecordingDeviceTest; virtual int stopRecordingDeviceTest() = 0; abstract stopRecordingDeviceTest(): number; public abstract int StopRecordingDeviceTest(); abstract stopRecordingDeviceTest(): number; - Future<void> stopRecordingDeviceTest(); -

+ Future<void> stopRecordingDeviceTest(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita index 8d6cf3e21d7..8c836f1d84c 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita @@ -20,7 +20,7 @@ public abstract int MuteAllRemoteAudioStreams(bool mute); abstract muteAllRemoteAudioStreams(mute: boolean): number; Future<void> muteAllRemoteAudioStreams(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita index f2d26fc45c9..10b6853aa83 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita @@ -18,9 +18,9 @@ virtual int muteLocalAudioStream(bool mute) = 0; abstract muteLocalAudioStream(mute: boolean): number; public abstract int MuteLocalAudioStream(bool mute); - + Future<void> muteLocalAudioStream(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita index eca5e91ade8..02e0e21c670 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita @@ -19,8 +19,8 @@ abstract muteRemoteAudioStream(uid: number, mute: boolean): number; public abstract int MuteRemoteAudioStream(uint uid, bool mute); abstract muteRemoteAudioStream(uid: number, mute: boolean): number; - Future<void> muteRemoteAudioStream({required int uid, required bool mute}); -

+ Future<void> muteRemoteAudioStream({required int uid, required bool mute}); +

Details
diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita index 9b4da2250c4..36cb8aa7e44 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita @@ -13,13 +13,13 @@

- + + (void)destroy NS_SWIFT_NAME(destroy()); virtual void release() = 0; abstract release(): void; abstract release(): void; abstract release(): void; -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita index 06827e2336e..b3af03138ba 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita @@ -20,7 +20,7 @@ public abstract int SetAudioRecvRange(float range); abstract setAudioRecvRange(range: number): number; Future<void> setAudioRecvRange(double range); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita index 9f6c1e2b8c2..f08a7c0b4d9 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita @@ -20,7 +20,7 @@ public abstract int SetDistanceUnit(float unit); abstract setDistanceUnit(unit: number): number; Future<void> setDistanceUnit(double unit); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita index dc8811dfce6..d784571fbb3 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita @@ -20,7 +20,7 @@ public abstract int SetMaxAudioRecvCount(int maxCount); abstract setMaxAudioRecvCount(maxCount: number): number; Future<void> setMaxAudioRecvCount(int maxCount); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita index d5cf63b73c7..6fee5ee5849 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita @@ -27,11 +27,11 @@ attenuation: number, forceSet: boolean ): number; - Future<void> setPlayerAttenuation( + Future<void> setPlayerAttenuation( {required int playerId, required double attenuation, required bool forceSet}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita index 322f0a1e688..2d2ce8e1c4e 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita @@ -14,14 +14,14 @@

public abstract int setZones(SpatialAudioZone[] zones); - - (int)setZones:(NSArray<AgoraSpatialAudioZone*> * _Nonnull)zones; + - (int)setZones:(NSArray<AgoraSpatialAudioZone*> * _Nonnull)zones; virtual int setZones(const SpatialAudioZone *zones, unsigned int zoneCount) = 0; abstract setZones(zones: SpatialAudioZone, zoneCount: number): number; public abstract int SetZones(SpatialAudioZone[] zones, uint zoneCount); abstract setZones(zones: SpatialAudioZone, zoneCount: number): number; - Future<void> setZones( + Future<void> setZones( {required SpatialAudioZone zones, required int zoneCount}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita index 41be2d7b2b0..455d3dcd256 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita @@ -25,9 +25,9 @@ playerId: number, positionInfo: RemoteVoicePositionInfo ): number; - Future<void> updatePlayerPositionInfo( + Future<void> updatePlayerPositionInfo( {required int playerId, required RemoteVoicePositionInfo positionInfo}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita index 5e4b2933d98..d82bc7dd44f 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita @@ -30,12 +30,12 @@ axisRight: number[], axisUp: number[] ): number; - Future<void> updateSelfPosition( - {required List<double> position, - required List<double> axisForward, - required List<double> axisRight, - required List<double> axisUp}); -

+ Future<void> updateSelfPosition( + {required List<double> position, + required List<double> axisForward, + required List<double> axisRight, + required List<double> axisUp}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_create.dita b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_create.dita index fc04ed4576a..c2ee8705087 100644 --- a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_create.dita +++ b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_create.dita @@ -19,13 +19,13 @@ } return mInstance; } - - - - - - -

+ + + + + + +

Details

Call this method before .

diff --git a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_initialize.dita b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_initialize.dita index 8069fb752e0..70529be989c 100644 --- a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_initialize.dita @@ -20,7 +20,7 @@ public abstract int Initialize(CloudSpatialAudioConfig config); Future<void> initialize(RtcEngineContext context); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_release.dita b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_release.dita index 6ec75091763..c88677a7547 100644 --- a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_release.dita +++ b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_release.dita @@ -21,11 +21,11 @@ } + (void)destroy; virtual void release() = 0; - + public abstract void Dispose(); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_renewtoken.dita b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_renewtoken.dita index 1ee60a4e30a..19a038c6aad 100644 --- a/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_renewtoken.dita +++ b/en-US/dita/RTC-NG/API/api_icloudspatialaudioengine_renewtoken.dita @@ -20,7 +20,7 @@ public abstract int RenewToken(string token); abstract renewToken(token: string): number; Future<void> renewToken(String token); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita index 2e73d3badfc..a0c64b515cc 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita @@ -20,7 +20,7 @@ public abstract int ClearRemotePositions(); abstract clearRemotePositions(): number; Future<void> clearRemotePositions(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita index 121befac367..513255cb8b6 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita @@ -19,13 +19,13 @@ } return mInstance; } - - - - - - -

+ + + + + + +

Details

Call this method before .

diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita index 8b80ee04d57..d5ad09e0491 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita @@ -19,8 +19,8 @@ abstract initialize(): number; public abstract int Initialize(); abstract initialize(): number; - Future<void> initialize(); -

+ Future<void> initialize(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita index 3001d240dba..f99d16f6658 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita @@ -20,7 +20,7 @@ public abstract int RemoveRemotePosition(uint uid); abstract removeRemotePosition(uid: number): number; Future<void> removeRemotePosition(int uid); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita index f547fda89ad..71d17acb79b 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita @@ -27,9 +27,9 @@ attenuation: number, forceSet: boolean ): number; - Future<void> setRemoteAudioAttenuation( + Future<void> setRemoteAudioAttenuation( {required int uid, required double attenuation, required bool forceSet}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita index ab6fb4932a0..1c36f82b467 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita @@ -25,9 +25,9 @@ uid: number, posInfo: RemoteVoicePositionInfo ): number; - Future<void> updateRemotePosition( + Future<void> updateRemotePosition( {required int uid, required RemoteVoicePositionInfo posInfo}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_addlistener.dita b/en-US/dita/RTC-NG/API/api_imediaengine_addlistener.dita index 0e006691d30..6af9f7a066b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_addlistener.dita @@ -13,20 +13,20 @@

- - - - addListener?<EventType extends keyof IMediaEngineEvent>( + + + + addListener?<EventType extends keyof IMediaEngineEvent>( eventType: EventType, listener: IMediaEngineEvent[EventType] ): void; - - addListener?<EventType extends keyof IMediaEngineEvent>( + + addListener?<EventType extends keyof IMediaEngineEvent>( eventType: EventType, listener: IMediaEngineEvent[EventType] ): void; - -

+ +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita index 4b3d1d972c6..bdc518eccad 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita @@ -27,9 +27,9 @@ trackType: AudioTrackType, config: AudioTrackConfig ): number; - Future<int> createCustomAudioTrack( + Future<int> createCustomAudioTrack( {required AudioTrackType trackType, required AudioTrackConfig config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita index 414bf70873c..c7c93cfb51a 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita @@ -19,8 +19,8 @@ abstract destroyCustomAudioTrack(trackId: number): number; public abstract int DestroyCustomAudioTrack(uint trackId); abstract destroyCustomAudioTrack(trackId: number): number; - Future<void> destroyCustomAudioTrack(int trackId); -

+ Future<void> destroyCustomAudioTrack(int trackId); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita b/en-US/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita index a8937fc9c41..8e9fb4ec461 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita @@ -21,7 +21,7 @@ public abstract int PullAudioFrame(AudioFrame frame); abstract pullAudioFrame(): AudioFrame; Future<void> pullAudioFrame(AudioFrame frame); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita b/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita index 2ea5558608d..873b923fe55 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita @@ -18,12 +18,12 @@ samples:(NSInteger)samples sourceId:(NSInteger)sourceId timestamp:(NSTimeInterval)timestamp; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita b/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita index b654872595a..decf88fa018 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita @@ -19,8 +19,8 @@ abstract pushAudioFrame(frame: AudioFrame, trackId?: number): number; public abstract int PushAudioFrame(AudioFrame frame, uint trackId = 0); abstract pushAudioFrame(frame: AudioFrame, trackId?: number): number; - Future<void> pushAudioFrame({required AudioFrame frame, int trackId = 0}); -

+ Future<void> pushAudioFrame({required AudioFrame frame, int trackId = 0}); +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita b/en-US/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita index 956b45fb433..ed7d8068942 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita @@ -16,7 +16,7 @@ public abstract int pushExternalEncodedVideoFrame( ByteBuffer data, EncodedVideoFrameInfo frameInfo); videoTrackId:(NSUInteger)videoTrackId; - + virtual int pushEncodedVideoImage(const uint8_t* imageBuffer, size_t length, const agora::rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0; abstract pushEncodedVideoImage( @@ -32,12 +32,12 @@ videoEncodedFrameInfo: EncodedVideoFrameInfo, videoTrackId?: number ): number; - Future<void> pushEncodedVideoImage( + Future<void> pushEncodedVideoImage( {required Uint8List imageBuffer, required int length, required EncodedVideoFrameInfo videoEncodedFrameInfo, int videoTrackId = 0}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita b/en-US/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita index 012364cc717..c77f363b85d 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita @@ -25,9 +25,9 @@ frame: ExternalVideoFrame, videoTrackId?: number ): number; - Future<void> pushVideoFrame( + Future<void> pushVideoFrame( {required ExternalVideoFrame frame, int videoTrackId = 0}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index 58a6d0c220b..9dffebc6457 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -20,7 +20,7 @@ public abstract int RegisterAudioFrameObserver(IAudioFrameObserver audioFrameObserver, AUDIO_FRAME_POSITION position, OBSERVER_MODE mode = OBSERVER_MODE.INTPTR); abstract registerAudioFrameObserver(observer: IAudioFrameObserver): number; void registerAudioFrameObserver(AudioFrameObserver observer); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita index ada50c18b18..f2f826c58a3 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita @@ -25,7 +25,7 @@ observer: IVideoEncodedFrameObserver ): number; void registerVideoEncodedFrameObserver(VideoEncodedFrameObserver observer); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita index dda5ec73c03..361cabe0496 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -20,7 +20,7 @@ public abstract int RegisterVideoFrameObserver(IVideoFrameObserver videoFrameObserver, VIDEO_OBSERVER_FRAME_TYPE formatPreference, VIDEO_OBSERVER_POSITION position, OBSERVER_MODE mode = OBSERVER_MODE.INTPTR); abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number; void registerVideoFrameObserver(VideoFrameObserver observer); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita b/en-US/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita index d7c431288e8..4cf7a1a17e4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita @@ -13,17 +13,17 @@

- - - - removeAllListeners?<EventType extends keyof IMediaEngineEvent>( + + + + removeAllListeners?<EventType extends keyof IMediaEngineEvent>( eventType?: EventType ): void; - - removeAllListeners?<EventType extends keyof IMediaEngineEvent>( + + removeAllListeners?<EventType extends keyof IMediaEngineEvent>( eventType?: EventType ): void; -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_removelistener.dita b/en-US/dita/RTC-NG/API/api_imediaengine_removelistener.dita index 691fcdd2b91..6890e3b0fdf 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_removelistener.dita @@ -13,20 +13,20 @@

- - - - removeListener?<EventType extends keyof IMediaEngineEvent>( + + + + removeListener?<EventType extends keyof IMediaEngineEvent>( eventType: EventType, listener: IMediaEngineEvent[EventType] ): void; - - removeListener?<EventType extends keyof IMediaEngineEvent>( + + removeListener?<EventType extends keyof IMediaEngineEvent>( eventType: EventType, listener: IMediaEngineEvent[EventType] ): void; - -

+ +

diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita index 2c07f26ddee..9f156923255 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita @@ -29,9 +29,9 @@ sampleRate: number, channels: number ): number; - Future<void> setExternalAudioSink( + Future<void> setExternalAudioSink( {required bool enabled, required int sampleRate, required int channels}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita index c882b72019b..897e41eaef4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita @@ -39,13 +39,13 @@ localPlayback?: boolean, publish?: boolean ): number; - Future<void> setExternalAudioSource( + Future<void> setExternalAudioSource( {required bool enabled, required int sampleRate, required int channels, bool localPlayback = false, bool publish = true}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita index 171b8301bcb..523e9b4bfd8 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita @@ -32,12 +32,12 @@ sourceType?: ExternalVideoSourceType, encodedVideoOption?: SenderOptions ): number; - Future<void> setExternalVideoSource( + Future<void> setExternalVideoSource( {required bool enabled, required bool useTexture, ExternalVideoSourceType sourceType = ExternalVideoSourceType.videoFrame, SenderOptions encodedVideoOption = const SenderOptions()}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita index 211d08fa6e0..eb46f1187cd 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita @@ -13,14 +13,14 @@

- - - + + + abstract unregisterAudioFrameObserver(observer: IAudioFrameObserver): number; - + abstract unregisterAudioFrameObserver(observer: IAudioFrameObserver): number; void unregisterAudioFrameObserver(AudioFrameObserver observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita index 28d65a834bc..0f4bff46f6c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita @@ -13,9 +13,9 @@

- - - + + + abstract unregisterVideoEncodedFrameObserver( observer: IVideoEncodedFrameObserver ): number; @@ -24,7 +24,7 @@ observer: IVideoEncodedFrameObserver ): number; void unregisterVideoEncodedFrameObserver(VideoEncodedFrameObserver observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita index 4b8bc590185..58c5dd815d0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita @@ -13,14 +13,14 @@

- - - + + + abstract unregisterVideoFrameObserver(observer: IVideoFrameObserver): number; public abstract int UnRegisterVideoFrameObserver(); abstract unregisterVideoFrameObserver(observer: IVideoFrameObserver): number; void unregisterVideoFrameObserver(VideoFrameObserver observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_addlistener.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_addlistener.dita index 9ce3923ca0f..477f4a539e6 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_addlistener.dita @@ -13,19 +13,19 @@

- - - - addListener?<EventType extends keyof IMediaPlayerEvent>( + + + + addListener?<EventType extends keyof IMediaPlayerEvent>( eventType: EventType, listener: IMediaPlayerEvent[EventType] ): void; - - addListener?<EventType extends keyof IMediaPlayerEvent>( + + addListener?<EventType extends keyof IMediaPlayerEvent>( eventType: EventType, listener: IMediaPlayerEvent[EventType] ): void; -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita index f98b0422a68..bb6574fc3cf 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustPlayoutVolume(int volume); abstract adjustPlayoutVolume(volume: number): number; Future<void> adjustPlayoutVolume(int volume); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita index 7753366f175..bbaa45d0ef5 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustPublishSignalVolume(int volume); abstract adjustPublishSignalVolume(volume: number): number; Future<void> adjustPublishSignalVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita index 728228666bb..43f1f410681 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita @@ -16,11 +16,11 @@ int changePlaybackSpeed(Constants.MediaPlayerPlaybackSpeed speed); - (void)changePlaybackSpeed:(AgoraMediaPlayerSpeed)speed; virtual int changePlaybackSpeed(media::base::MEDIA_PLAYER_PLAYBACK_SPEED speed) = 0; - - - - -

+ + + + +

DetailsCall this method after calling .
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_dispose.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_dispose.dita index 2ebc7ede0ce..7d56ee8c9af 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_dispose.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_dispose.dita @@ -14,7 +14,7 @@

public abstract void Dispose(); -

+

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita index 59804567fa9..5afeb033c7f 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita @@ -20,7 +20,7 @@ public abstract int EnableAutoSwitchAgoraCDN(bool enable); abstract enableAutoSwitchAgoraCDN(enable: boolean): number; Future<void> enableAutoSwitchAgoraCDN(bool enable); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita index 285454600f1..cc573354c36 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita @@ -20,7 +20,7 @@ public abstract int GetAgoraCDNLineCount(); abstract getAgoraCDNLineCount(): number; Future<int> getAgoraCDNLineCount(); -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita index fe06bcbc828..f45e4ae339b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita @@ -20,7 +20,7 @@ public abstract int GetCurrentAgoraCDNIndex(); abstract getCurrentAgoraCDNIndex(): number; Future<int> getCurrentAgoraCDNIndex(); -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita index 79b5ad35369..5e1d50ef1fb 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita @@ -20,7 +20,7 @@ public abstract int GetDuration(ref Int64 duration); abstract getDuration(): number; Future<int> getDuration(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita index c1df3eb129d..65d6eea74e4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita @@ -20,7 +20,7 @@ public abstract int GetId(); abstract getMediaPlayerId(): number; int getMediaPlayerId(); -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita index a5b75ebd354..7ab2449b346 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract MediaPlayerSourceObserver GetMediaPlayerSourceObserver(); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita index 403928f350b..9ba24cdabef 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita @@ -20,7 +20,7 @@ public abstract int GetMute(ref bool muted); abstract getMute(): boolean; Future<bool> getMute(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita index c4d4dd1c9f8..9693eec98d3 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita @@ -20,7 +20,7 @@ public abstract int GetPlayoutVolume(ref int volume); abstract getPlayoutVolume(): number; Future<int> getPlayoutVolume(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita index b4116fdb446..b6a8ed0544d 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita @@ -20,7 +20,7 @@ public abstract int GetPlayPosition(ref Int64 pos); abstract getPlayPosition(): number; Future<int> getPlayPosition(); -

+

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita index 5828be5bc80..edd88f55835 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita @@ -19,8 +19,8 @@ abstract getPlaySrc(): string; public abstract string GetPlaySrc(); abstract getPlaySrc(): string; - Future<String> getPlaySrc(); -

+ Future<String> getPlaySrc(); +

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita index 567afc2ca9e..078f8bf796b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita @@ -20,7 +20,7 @@ public abstract int GetPublishSignalVolume(ref int volume); abstract getPublishSignalVolume(): number; Future<int> getPublishSignalVolume(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita index cabe73fbd3b..ca0c3faba05 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita @@ -20,7 +20,7 @@ public abstract MEDIA_PLAYER_STATE GetState(); abstract getState(): MediaPlayerState; Future<MediaPlayerState> getState(); -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita index 5375d8186f8..0380f747da2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita @@ -20,7 +20,7 @@ public abstract int GetStreamCount(ref Int64 count); abstract getStreamCount(): number; Future<int> getStreamCount(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita index 9809e60e017..bb76e746760 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita @@ -20,7 +20,7 @@ public abstract int GetStreamInfo(Int64 index, ref PlayerStreamInfo info); abstract getStreamInfo(index: number): PlayerStreamInfo; Future<PlayerStreamInfo> getStreamInfo(int index); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita index 71d6a1cfec1..e13b076a786 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita @@ -20,7 +20,7 @@ public abstract int Mute(bool muted); abstract mute(muted: boolean): number; Future<void> mute(bool muted); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita index a44b74b704b..f2f2db00eee 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita @@ -22,7 +22,7 @@ public abstract int Open(string url, Int64 startPos); abstract open(url: string, startPos: number): number; Future<void> open({required String url, required int startPos}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita index 26988dc27aa..75da35a2432 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita @@ -24,7 +24,7 @@ abstract openWithAgoraCDNSrc(src: string, startPos: number): number; Future<void> openWithAgoraCDNSrc( {required String src, required int startPos}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita index d2f38fb65ce..d3a211eb08d 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita @@ -20,7 +20,7 @@ public abstract int OpenWithMediaSource(MediaSource source); abstract openWithMediaSource(source: MediaSource): number; Future<void> openWithMediaSource(MediaSource source); -

+

Details

This method supports opening media files of different sources, including a custom media source, and allows you to configure the playback scenarios.

diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita index 4ae537bab8f..adb3c6a5ab0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita @@ -22,7 +22,7 @@ public abstract int Pause(); abstract pause(): number; Future<void> pause(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita index 2f3133e907a..bef7c381653 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita @@ -20,7 +20,7 @@ public abstract int Play(); abstract play(): number; Future<void> play(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita index 1771724c048..64ceb4fe68f 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita @@ -23,7 +23,7 @@ public abstract int PlayPreloadedSrc(string src); abstract playPreloadedSrc(src: string): number; Future<void> playPreloadedSrc(String src); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita index b7e8a359fad..d627e7ef737 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita @@ -23,7 +23,7 @@ public abstract int PreloadSrc(string src, Int64 startPos); abstract preloadSrc(src: string, startPos: number): number; Future<void> preloadSrc({required String src, required int startPos}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita index 26da8e2d3c5..fb5bffda566 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita @@ -13,14 +13,14 @@

- - + + virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer) = 0; - + public abstract int RegisterAudioFrameObserver(IAudioPcmFrameSink observer); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita index 11867289361..a8746ac9ca8 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita @@ -15,7 +15,7 @@

int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode); - + virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer, RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0; abstract registerAudioFrameObserver( @@ -31,7 +31,7 @@ {required AudioPcmFrameSink observer, RawAudioFrameOpModeType mode = RawAudioFrameOpModeType.rawAudioFrameOpModeReadOnly}); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index 828efabde4a..a279c7573bc 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -25,7 +25,7 @@ observer: IMediaPlayerSourceObserver ): number; void registerPlayerSourceObserver(MediaPlayerSourceObserver observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita index 75da81cd9c3..ab3fb852916 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita @@ -14,7 +14,7 @@

int registerVideoFrameObserver(IMediaPlayerVideoFrameObserver videoFrameObserver); - + virtual int registerVideoFrameObserver(media::base::IVideoFrameObserver* observer) = 0; abstract registerVideoFrameObserver( observer: IMediaPlayerVideoFrameObserver @@ -24,7 +24,7 @@ observer: IMediaPlayerVideoFrameObserver ): number; void registerVideoFrameObserver(MediaPlayerVideoFrameObserver observer); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita index 988542be953..dd67ae6eaca 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita @@ -13,17 +13,17 @@

- - - - removeAllListeners?<EventType extends keyof IMediaPlayerEvent>( + + + + removeAllListeners?<EventType extends keyof IMediaPlayerEvent>( eventType?: EventType ): void; - - removeAllListeners?<EventType extends keyof IMediaPlayerEvent>( + + removeAllListeners?<EventType extends keyof IMediaPlayerEvent>( eventType?: EventType ): void; -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita index ce127123667..b708a0be266 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract void RemoveEventHandler(); - - -

+ + +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_removelistener.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_removelistener.dita index 43881622b7d..02304f66912 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_removelistener.dita @@ -13,19 +13,19 @@

- - - - removeListener?<EventType extends keyof IMediaPlayerEvent>( + + + + removeListener?<EventType extends keyof IMediaPlayerEvent>( eventType: EventType, listener: IMediaPlayerEvent[EventType] ): void; - - removeListener?<EventType extends keyof IMediaPlayerEvent>( + + removeListener?<EventType extends keyof IMediaPlayerEvent>( eventType: EventType, listener: IMediaPlayerEvent[EventType] ): void; -

+

diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita index 48f1719625d..5ebbd700f32 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita @@ -23,7 +23,7 @@ public abstract int RenewAgoraCDNSrcToken(string token, Int64 ts); abstract renewAgoraCDNSrcToken(token: string, ts: number): number; Future<void> renewAgoraCDNSrcToken({required String token, required int ts}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita index fc25ad649e9..bb37eb0c3a5 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita @@ -20,7 +20,7 @@ public abstract int Resume(); abstract resume(): number; Future<void> resume(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita index ea31b91ec98..57a37071ba4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita @@ -22,7 +22,7 @@ public abstract int Seek(Int64 newPos); abstract seek(newPos: number): number; Future<void> seek(int newPos); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita index 4b3e74cdb6e..6f6c6c96221 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita @@ -20,7 +20,7 @@ public abstract int SelectAudioTrack(int index); abstract selectAudioTrack(index: number): number; Future<void> selectAudioTrack(int index); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita index 5cb40d731e4..139ad6cb3e6 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita @@ -18,11 +18,11 @@ - (int)selectInternalSubtitle:(int)index; virtual int selectInternalSubtitle(int index) = 0; - + public abstract int SelectInternalSubtitle(int playerId, int index); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita index c6a710a7a74..27ca1138300 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita @@ -20,7 +20,7 @@ public abstract int SetAudioDualMonoMode(AUDIO_DUAL_MONO_MODE mode); abstract setAudioDualMonoMode(mode: AudioDualMonoMode): number; Future<void> setAudioDualMonoMode(AudioDualMonoMode mode); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita index 232adca82ee..2fb76f64149 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita @@ -20,7 +20,7 @@ public abstract int SetAudioPitch(int pitch); abstract setAudioPitch(pitch: number): number; Future<void> setAudioPitch(int pitch); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita index 40ecb5274ed..0d5eafdb9d0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita @@ -18,11 +18,11 @@ - (void)setExternalSubtitle:(NSString *)url; virtual int setExternalSubtitle(const char* url) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita index 9612ce18868..787bad6fdf8 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita @@ -22,7 +22,7 @@ public abstract int SetLoopCount(int loopCount); abstract setLoopCount(loopCount: number): number; Future<void> setLoopCount(int loopCount); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita index bfab06bdf8a..676d29bc0cd 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita @@ -20,7 +20,7 @@ public abstract int SetPlaybackSpeed(int speed); abstract setPlaybackSpeed(speed: number): number; Future<void> setPlaybackSpeed(int speed); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita index a69d75ee283..c4bb8cbaff5 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita @@ -20,8 +20,8 @@ abstract setPlayerOptionInInt(key: string, value: number): number; public abstract int SetPlayerOption(string key, int value); abstract setPlayerOptionInInt(key: string, value: number): number; - Future<void> setPlayerOptionInInt({required String key, required int value}); -

+ Future<void> setPlayerOptionInInt({required String key, required int value}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita index a1fbc9ea458..a29eda3bf2b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract int SetPlayerOption(string key, string value); - - -

+ + +

diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita index ccfebbc3a14..ab2caed708e 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita @@ -22,7 +22,7 @@ public abstract int SetRenderMode(RENDER_MODE_TYPE renderMode); abstract setRenderMode(renderMode: RenderModeType): number; Future<void> setRenderMode(RenderModeType renderMode); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita index 10edd81c0d5..e43c817b61a 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita @@ -20,7 +20,7 @@ public abstract int SetSpatialAudioParams(SpatialAudioParams spatial_audio_params); abstract setSpatialAudioParams(params: SpatialAudioParams): number; Future<void> setSpatialAudioParams(SpatialAudioParams params); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita index 4329768a833..670b1fe9d64 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita @@ -22,7 +22,7 @@ public abstract int SetView(); abstract setView(view: any): number; Future<void> setView(int view); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita index f562a3a7e91..5e216181453 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita @@ -21,7 +21,7 @@ public abstract int Stop(); abstract stop(): number; Future<void> stop(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita index db53dbf4b46..6082f68ed56 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita @@ -23,7 +23,7 @@ public abstract int SwitchAgoraCDNLineByIndex(int index); abstract switchAgoraCDNLineByIndex(index: number): number; Future<void> switchAgoraCDNLineByIndex(int index); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita index 4db0131377b..26bfce2c9d2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita @@ -23,7 +23,7 @@ public abstract int SwitchAgoraCDNSrc(string src, bool syncPts = false); abstract switchAgoraCDNSrc(src: string, syncPts?: boolean): number; Future<void> switchAgoraCDNSrc({required String src, bool syncPts = false}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita index ca488800d66..562cb244852 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita @@ -23,7 +23,7 @@ public abstract int SwitchSrc(string src, bool syncPts = true); abstract switchSrc(src: string, syncPts?: boolean): number; Future<void> switchSrc({required String src, bool syncPts = true}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita index 064891b033b..d6b1f819d63 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita @@ -18,11 +18,11 @@ - (int)takeScreenshot:(NSString *)filename; virtual int takeScreenshot(const char* filename) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita index 3c18bf99c5c..2cf8a735de6 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita @@ -23,7 +23,7 @@ public abstract int UnloadSrc(string src); abstract unloadSrc(src: string): number; Future<void> unloadSrc(String src); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita index 1279318b101..d9384bc542b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita @@ -20,7 +20,7 @@ public abstract int UnregisterAudioFrameObserver(); abstract unregisterAudioFrameObserver(observer: IAudioPcmFrameSink): number; void unregisterAudioFrameObserver(AudioPcmFrameSink observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita index 3a6877ba900..06ae9e3d9b0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita @@ -24,7 +24,7 @@ observer: IMediaPlayerSourceObserver ): number; void unregisterPlayerSourceObserver(MediaPlayerSourceObserver observer); -

+

diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita index bd3fbb0a092..2fb3b057dfd 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita @@ -13,8 +13,8 @@

- - + + virtual int unregisterVideoFrameObserver(agora::media::base::IVideoFrameObserver* observer) = 0; abstract unregisterVideoFrameObserver( observer: IMediaPlayerVideoFrameObserver @@ -24,7 +24,7 @@ observer: IMediaPlayerVideoFrameObserver ): number; void unregisterVideoFrameObserver(MediaPlayerVideoFrameObserver observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita index c6b1eab09cb..b86a7ae7662 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita @@ -19,8 +19,8 @@ abstract enableAutoRemoveCache(enable: boolean): number; public abstract int EnableAutoRemoveCache(bool enable); abstract enableAutoRemoveCache(enable: boolean): number; - Future<void> enableAutoRemoveCache(bool enable); -

+ Future<void> enableAutoRemoveCache(bool enable); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita index a0eca389cd6..14b46d433df 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita @@ -19,8 +19,8 @@ abstract getCacheDir(length: number): string; public abstract int GetCacheDir(out string path, int length); abstract getCacheDir(length: number): string; - Future<String> getCacheDir(int length); -

+ Future<String> getCacheDir(int length); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita index c845c2171c1..eedc334152b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita @@ -19,8 +19,8 @@ abstract getCacheFileCount(): number; public abstract int GetCacheFileCount(); abstract getCacheFileCount(): number; - Future<int> getCacheFileCount(); -

+ Future<int> getCacheFileCount(); +

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita index 97fe1389b20..f0cd0a85b3b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita @@ -19,8 +19,8 @@ abstract getMaxCacheFileCount(): number; public abstract int GetMaxCacheFileCount(); abstract getMaxCacheFileCount(): number; - Future<int> getMaxCacheFileCount(); -

+ Future<int> getMaxCacheFileCount(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita index 9233766a043..255990f8011 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita @@ -19,8 +19,8 @@ abstract getMaxCacheFileSize(): number; public abstract Int64 GetMaxCacheFileSize(); abstract getMaxCacheFileSize(): number; - Future<int> getMaxCacheFileSize(); -

+ Future<int> getMaxCacheFileSize(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita index ab9697cd3f0..0a672bde8fe 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita @@ -19,8 +19,8 @@ abstract removeAllCaches(): number; public abstract int RemoveAllCaches(); abstract removeAllCaches(): number; - Future<void> removeAllCaches(); -

+ Future<void> removeAllCaches(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita index 99c91139d9f..f6600f0dca9 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita @@ -19,8 +19,8 @@ abstract removeCacheByUri(uri: string): number; public abstract int RemoveCacheByUri(string uri) ; abstract removeCacheByUri(uri: string): number; - uture<void> removeCacheByUri(String uri); -

+ uture<void> removeCacheByUri(String uri); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita index b697ac2b5d4..5e1c7fb58b9 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita @@ -19,8 +19,8 @@ abstract removeOldCache(): number; public abstract int RemoveOldCache(); abstract removeOldCache(): number; - Future<void> removeOldCache(); -

+ Future<void> removeOldCache(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita index 18a18dbaecd..1cd7b2ebb34 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita @@ -19,8 +19,8 @@ abstract setCacheDir(path: string): number; public abstract int SetCacheDir(string path) ; abstract setCacheDir(path: string): number; - Future<void> setCacheDir(String path); -

+ Future<void> setCacheDir(String path); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita index c84449a2390..f68711e1cf9 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita @@ -19,8 +19,8 @@ abstract setMaxCacheFileCount(count: number): number; public abstract int SetMaxCacheFileCount(int count); abstract setMaxCacheFileCount(count: number): number; - Future<void> setMaxCacheFileCount(int count); -

+ Future<void> setMaxCacheFileCount(int count); +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita index 36a7d1e903f..42c1b58a0fc 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita @@ -19,8 +19,8 @@ abstract setMaxCacheFileSize(cacheSize: number): number; public abstract int SetMaxCacheFileSize(Int64 cacheSize); abstract setMaxCacheFileSize(cacheSize: number): number; - Future<void> setMaxCacheFileSize(int cacheSize); -

+ Future<void> setMaxCacheFileSize(int cacheSize); +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita index 7cc627f8e2a..2cc6adc1309 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita @@ -13,14 +13,14 @@

- + + (instancetype)sharedInstance; - - - - - -

+ + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_addlistener.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_addlistener.dita index 344aa0cebdb..4ba8fee510c 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_addlistener.dita @@ -13,19 +13,19 @@

- - - - addListener?<EventType extends keyof IMediaRecorderEvent>( + + + + addListener?<EventType extends keyof IMediaRecorderEvent>( eventType: EventType, listener: IMediaRecorderEvent[EventType] ): void; - - addListener?<EventType extends keyof IMediaRecorderEvent>( + + addListener?<EventType extends keyof IMediaRecorderEvent>( eventType: EventType, listener: IMediaRecorderEvent[EventType] ): void; -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita index 48bbf755620..a3b88025ef3 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita @@ -13,14 +13,14 @@

- + - (int)enableMainQueueDispatch:(BOOL)enabled; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_release.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_release.dita index 34a1c3db88e..ae41111047d 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_release.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_release.dita @@ -17,10 +17,10 @@ + (void)destroy; virtual void release() = 0; abstract release(): void; - + abstract release(): void; - Future<void> release(); -

+ Future<void> release(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita index 1c5133cbcda..d74ca8b184c 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita @@ -13,17 +13,17 @@

- - - - removeAllListeners?<EventType extends keyof IMediaRecorderEvent>( + + + + removeAllListeners?<EventType extends keyof IMediaRecorderEvent>( eventType?: EventType ): void; - - removeAllListeners?<EventType extends keyof IMediaRecorderEvent>( + + removeAllListeners?<EventType extends keyof IMediaRecorderEvent>( eventType?: EventType ): void; -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_removelistener.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_removelistener.dita index 8c4225a1253..4faa410d147 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_removelistener.dita @@ -13,19 +13,19 @@

- - - - removeListener?<EventType extends keyof IMediaRecorderEvent>( + + + + removeListener?<EventType extends keyof IMediaRecorderEvent>( eventType: EventType, listener: IMediaRecorderEvent[EventType] ): void; - - removeListener?<EventType extends keyof IMediaRecorderEvent>( + + removeListener?<EventType extends keyof IMediaRecorderEvent>( eventType: EventType, listener: IMediaRecorderEvent[EventType] ): void; -

+

diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita index 4f64c5d5753..4c7763e9233 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita @@ -14,15 +14,15 @@

public int setMediaRecorderObserver(IMediaRecorderCallback callback) - - (int)setMediaRecorderDelegate:(id<AgoraMediaRecorderDelegate> _Nullable)delegate; + - (int)setMediaRecorderDelegate:(id<AgoraMediaRecorderDelegate> _Nullable)delegate; virtual int setMediaRecorderObserver(media::IMediaRecorderObserver* callback) = 0; abstract setMediaRecorderObserver(callback: IMediaRecorderObserver): number; public abstract int SetMediaRecorderObserver(IMediaRecorderObserver callback); abstract setMediaRecorderObserver(callback: IMediaRecorderObserver): number; - Future<void> setMediaRecorderObserver( + Future<void> setMediaRecorderObserver( {required RtcConnection connection, required MediaRecorderObserver callback}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_startrecording.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_startrecording.dita index e17f2cd5ec8..8731958e012 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_startrecording.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_startrecording.dita @@ -19,8 +19,8 @@ abstract startRecording(config: MediaRecorderConfiguration): number; public abstract int StartRecording(MediaRecorderConfiguration config); abstract startRecording(config: MediaRecorderConfiguration): number; - Future<void> startRecording(MediaRecorderConfiguration config); -

+ Future<void> startRecording(MediaRecorderConfiguration config); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita index b4fae1d0a96..cef78acff77 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita @@ -20,7 +20,7 @@ public abstract int StopRecording(); abstract stopRecording(): number; Future<void> stopRecording(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita index 350f14ce551..22c17f509d2 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita @@ -14,13 +14,13 @@

public abstract IAgoraMusicPlayer createMusicPlayer(); - - (id<AgoraMusicPlayerProtocol> _Nullable)createMusicPlayerWithDelegate:(id<AgoraRtcMediaPlayerDelegate> _Nullable)delegate NS_SWIFT_NAME(createMusicPlayer(delegate:)); - virtual agora_refptr<IMusicPlayer> createMusicPlayer() = 0; + - (id<AgoraMusicPlayerProtocol> _Nullable)createMusicPlayerWithDelegate:(id<AgoraRtcMediaPlayerDelegate> _Nullable)delegate NS_SWIFT_NAME(createMusicPlayer(delegate:)); + virtual agora_refptr<IMusicPlayer> createMusicPlayer() = 0; abstract createMusicPlayer(): IMusicPlayer; public abstract IMusicPlayer CreateMusicPlayer(); abstract createMusicPlayer(): IMusicPlayer; - Future<MusicPlayer> createMusicPlayer(); -

+ Future<MusicPlayer> createMusicPlayer(); +

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita index c2f607f7afb..ea75027c605 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -20,12 +20,12 @@ mInstance = null; } + (void)destroy; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita index fca4a1316bb..5bfd494277f 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita @@ -13,14 +13,14 @@

- + - (void)enableMainQueueDispatch:(BOOL)enabled; - - - - - -

+ + + + + +

Details
diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita index 090d3397c22..7eae5b4d4f7 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita @@ -19,7 +19,7 @@ abstract getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number }; public abstract int GetCaches(ref MusicCacheInfo[] cacheInfo, ref Int32 cacheInfoSize); abstract getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number }; - Future<List<MusicCacheInfo>> getCaches(int cacheInfoSize);

+ Future<List<MusicCacheInfo>> getCaches(int cacheInfoSize);

Details diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita index 9f674701b6c..b5c147439be 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita @@ -19,8 +19,8 @@ abstract getLyric(songCode: number, lyricType?: number): string; public abstract int GetLyric(ref string requestId, Int64 songCode, int LyricType = 0); abstract getLyric(songCode: number, lyricType?: number): string; - Future<String> getLyric({required int songCode, int lyricType = 0}); -

+ Future<String> getLyric({required int songCode, int lyricType = 0}); +

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita index b3dd3905609..7a2f6a94345 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita @@ -19,8 +19,8 @@ abstract getMusicCharts(): string; public abstract int GetMusicCharts(ref string requestId); abstract getMusicCharts(): string; - Future<String> getMusicCharts(); -

+ Future<String> getMusicCharts(); +

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita index e22d87dc52d..093977f614b 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita @@ -31,12 +31,12 @@ pageSize: number, jsonOption?: string ): string; - Future<String> getMusicCollectionByMusicChartId( + Future<String> getMusicCollectionByMusicChartId( {required int musicChartId, required int page, required int pageSize, String? jsonOption}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita index d9a181c37cf..1f4b4c8a02f 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita @@ -15,13 +15,13 @@

public abstract String getMusicCollectionByMusicChartId( int musicChartId, int page, int pageSize, String jsonOption); - - - - - - -

+ + + + + + +

Details
diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita index b7be9feadb6..4c3f11cd4ed 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita @@ -19,8 +19,8 @@ abstract initialize(configuration: MusicContentCenterConfiguration): number; public abstract int Initialize(MusicContentCenterConfiguration configuration); abstract initialize(configuration: MusicContentCenterConfiguration): number; - Future<void> initialize(MusicContentCenterConfiguration configuration); -

+ Future<void> initialize(MusicContentCenterConfiguration configuration); +

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita index 4461a41613f..cd18f815650 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita @@ -19,8 +19,8 @@ abstract isPreloaded(songCode: number): number; public abstract int IsPreloaded(Int64 songCode); abstract isPreloaded(songCode: number): number; - Future<bool> isPreloaded(int songCode); -

+ Future<bool> isPreloaded(int songCode); +

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita index eca04e76691..046e86de29e 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita @@ -14,7 +14,7 @@

public abstract int registerEventHandler(IMusicContentCenterEventHandler eventHandler); - - (NSInteger)registerEventDelegate:(id<AgoraMusicContentCenterEventDelegate> _Nullable)eventDelegate; + - (NSInteger)registerEventDelegate:(id<AgoraMusicContentCenterEventDelegate> _Nullable)eventDelegate; virtual int registerEventHandler(IMusicContentCenterEventHandler* eventHandler) = 0; abstract registerEventHandler( eventHandler: IMusicContentCenterEventHandler @@ -24,7 +24,7 @@ eventHandler: IMusicContentCenterEventHandler ): number; void registerEventHandler(MusicContentCenterEventHandler eventHandler); -

+

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_release.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_release.dita index c1913f336aa..fae3d50bf0f 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_release.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_release.dita @@ -14,13 +14,13 @@

protected abstract void release(); - + virtual void release() = 0; abstract release(): void; - + abstract release(): void; - Future<void> release(); -

+ Future<void> release(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita index 8ae71bc502b..bb54b2ef11f 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita @@ -19,7 +19,7 @@ abstract removeCache(songCode: number): number; public abstract int RemoveCache(Int64 songCode); abstract removeCache(songCode: number): number; - Future<void> removeCache(int songCode);

+ Future<void> removeCache(int songCode);

Details diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita index 3de4a09af81..f3756e9878f 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita @@ -26,8 +26,8 @@ return _musicContentCenterImpl.RenewToken(token); } abstract renewToken(token: string): number; - Future<void> renewToken(String token); -

+ Future<void> renewToken(String token); +

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita index 4656b73e1f0..c2fc32ca079 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita @@ -33,12 +33,12 @@ pageSize: number, jsonOption?: string ): number; - Future<String> searchMusic( + Future<String> searchMusic( {required String keyWord, required int page, required int pageSize, String? jsonOption}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita index ef00f097e39..23cac867329 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita @@ -14,13 +14,13 @@

public abstract String searchMusic(String keyword, int page, int pageSize, String jsonOption); - - - - - - -

+ + + + + + +

Details
diff --git a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita index a7ab68e2cdd..0d16216c7c9 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita @@ -14,13 +14,13 @@

public abstract int unregisterEventHandler(); - + virtual int unregisterEventHandler() = 0; abstract unregisterEventHandler(): number; public abstract int UnregisterEventHandler(); abstract unregisterEventHandler(): number; void unregisterEventHandler(); -

+

diff --git a/en-US/dita/RTC-NG/API/api_imusicontentcenter_preload.dita b/en-US/dita/RTC-NG/API/api_imusicontentcenter_preload.dita index cde77909a60..945bcda988f 100644 --- a/en-US/dita/RTC-NG/API/api_imusicontentcenter_preload.dita +++ b/en-US/dita/RTC-NG/API/api_imusicontentcenter_preload.dita @@ -19,8 +19,8 @@ abstract preload(songCode: number, jsonOption?: string): number; public abstract int Preload(Int64 songCode, string jsonOption = ""); abstract preload(songCode: number, jsonOption?: string): number; - Future<void> preload({required int songCode, String? jsonOption}); -

+ Future<void> preload({required int songCode, String? jsonOption}); +

diff --git a/en-US/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita b/en-US/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita index da5b6c07645..a02f4ec2e2c 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita @@ -14,12 +14,12 @@

@Override String getPlaySrc(); - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imusicplayer_open.dita b/en-US/dita/RTC-NG/API/api_imusicplayer_open.dita index 0f0fa43e9e5..67ddcd9d2ba 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_open.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_open.dita @@ -19,8 +19,8 @@ abstract openWithSongCode(songCode: number, startPos?: number): number; public abstract int Open(Int64 songCode, Int64 startPos); abstract openWithSongCode(songCode: number, startPos?: number): number; - Future<void> openWithSongCode({required int songCode, int startPos = 0}); -

+ Future<void> openWithSongCode({required int songCode, int startPos = 0}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_imusicplayer_open2.dita b/en-US/dita/RTC-NG/API/api_imusicplayer_open2.dita index ed7e298d475..70bc123e4d4 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_open2.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_open2.dita @@ -14,12 +14,12 @@

@Override int open(String url, long startPos); - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_imusicplayer_stop.dita b/en-US/dita/RTC-NG/API/api_imusicplayer_stop.dita index 9a5fc5c081c..25f48767dc8 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_stop.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_stop.dita @@ -14,12 +14,12 @@

@Override int stop(); - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addextension.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addextension.dita index 63683dcd374..6aa7973956f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addextension.dita @@ -16,13 +16,13 @@ public void addExtension(String providerName) { mExtensionList.add(providerName); } - - - - - - -

+ + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addhandler.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addhandler.dita index 1f012b33859..5302a78f9c3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addhandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addhandler.dita @@ -16,13 +16,13 @@ public void addHandler(IRtcEngineEventHandler handler) { mInstance.addHandler(handler); } - - + + abstract registerEventHandler(eventHandler: IRtcEngineEventHandler): boolean; public abstract int InitEventHandler(IRtcEngineEventHandler engineEventHandler); abstract registerEventHandler(eventHandler: IRtcEngineEventHandler): boolean; void registerEventHandler(RtcEngineEventHandler eventHandler); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addinjectstreamurl.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addinjectstreamurl.dita index 6fba62b724e..a0c7cfa5175 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addinjectstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addinjectstreamurl.dita @@ -21,7 +21,7 @@ Future<void> addInjectStreamUrl( {required String url, required InjectStreamConfig config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addlistener.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addlistener.dita index a21fcc70f63..34d1c44ed04 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addlistener.dita @@ -13,19 +13,19 @@

- - - - addListener?<EventType extends keyof IRtcEngineEvent>( + + + + addListener?<EventType extends keyof IRtcEngineEvent>( eventType: EventType, listener: IRtcEngineEvent[EventType] ): void; - - addListener?<EventType extends keyof IRtcEngineEvent>( + + addListener?<EventType extends keyof IRtcEngineEvent>( eventType: EventType, listener: IRtcEngineEvent[EventType] ): void; -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita index f3067a3764b..944f331b6af 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita @@ -24,7 +24,7 @@ ): number; Future<void> addPublishStreamUrl( {required String url, required bool transcodingEnabled}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita index 030e1d48ddb..ab78ed4ed72 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita @@ -23,7 +23,7 @@ options: WatermarkOptions ): number; Future<void> addVideoWatermark(RtcImage watermark); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita index 8c8eb728b8c..4c901617558 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita @@ -27,7 +27,7 @@ ): number; Future<void> addVideoWatermark( {required String watermarkUrl, required WatermarkOptions options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita index 244429188ab..2dcf30a6037 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustAudioMixingPlayoutVolume(int volume); abstract adjustAudioMixingPlayoutVolume(volume: number): number; Future<void> adjustAudioMixingPlayoutVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita index e32f1afa859..8c3c72769f6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustAudioMixingPublishVolume(int volume); abstract adjustAudioMixingPublishVolume(volume: number): number; Future<void> adjustAudioMixingPublishVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita index 9369cbdccdf..3f5e919a214 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustAudioMixingVolume(int volume); abstract adjustAudioMixingVolume(volume: number): number; Future<void> adjustAudioMixingVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita index c131628a9cf..8b0cf4f1d46 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita @@ -25,9 +25,9 @@ trackId: number, volume: number ): number; - Future<void> adjustCustomAudioPlayoutVolume( + Future<void> adjustCustomAudioPlayoutVolume( {required int trackId, required int volume}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita index bd9940f6328..ad1108a68ec 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita @@ -25,9 +25,9 @@ trackId: number, volume: number ): number; - Future<void> adjustCustomAudioPublishVolume( + Future<void> adjustCustomAudioPublishVolume( {required int trackId, required int volume}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita index 59023c85e94..950f82d91eb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita @@ -21,7 +21,7 @@ public abstract int AdjustLoopbackSignalVolume(int volume); abstract adjustLoopbackSignalVolume(volume: number): number; Future<void> adjustLoopbackSignalVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita index 1acb74a69df..6c5349c1222 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustPlaybackSignalVolume(int volume); abstract adjustPlaybackSignalVolume(volume: number): number; Future<void> adjustPlaybackSignalVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita index 9bb7d6d6bf7..a8e7f01a71a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita @@ -20,7 +20,7 @@ public abstract int AdjustRecordingSignalVolume(int volume); abstract adjustRecordingSignalVolume(volume: number): number; Future<void> adjustRecordingSignalVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita index 289e79fad85..f5fe65e01cc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita @@ -21,7 +21,7 @@ abstract adjustUserPlaybackSignalVolume(uid: number, volume: number): number; Future<void> adjustUserPlaybackSignalVolume( {required int uid, required int volume}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita b/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita index 50115b32d81..95904b7471c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita @@ -20,7 +20,7 @@ public abstract int ClearVideoWatermarks(); abstract clearVideoWatermarks(): number; Future<void> clearVideoWatermarks(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_complain.dita b/en-US/dita/RTC-NG/API/api_irtcengine_complain.dita index 44bd5921ba7..35484a1caa8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_complain.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_complain.dita @@ -21,7 +21,7 @@ public abstract int Complain(string callId, string description); abstract complain(callId: string, description: string): number; Future<void> complain({required String callId, required String description}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita index 3dcfc29a661..2371165da78 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita @@ -19,8 +19,8 @@ abstract configRhythmPlayer(config: AgoraRhythmPlayerConfig): number; public abstract int ConfigRhythmPlayer(AgoraRhythmPlayerConfig config); abstract configRhythmPlayer(config: AgoraRhythmPlayerConfig): number; - Future<void> configRhythmPlayer(AgoraRhythmPlayerConfig config); -

+ Future<void> configRhythmPlayer(AgoraRhythmPlayerConfig config); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_create.dita b/en-US/dita/RTC-NG/API/api_irtcengine_create.dita index bcc47d853eb..2497c8be2ef 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_create.dita @@ -18,12 +18,12 @@ + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita index fdc8e0e5824..90c9e7e900f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita @@ -16,11 +16,11 @@ public abstract int createCustomEncodedVideoTrack(EncodedVideoTrackOptions encodedOpt); - (unsigned int)createCustomEncodedVideoTrack:(AgoraEncodedVideoTrackOptions* _Nonnull)encodedVideoTrackOption; virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions& sender_option) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita index f3d044ea6c3..85635e8e038 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita @@ -20,7 +20,7 @@ public abstract video_track_id_t CreateCustomVideoTrack(); abstract createCustomVideoTrack(): number; Future<int> createCustomVideoTrack(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream.dita index 10892294cb1..c2570acd88d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream.dita @@ -22,7 +22,7 @@ public abstract int CreateDataStream(ref int streamId, bool reliable, bool ordered); Future<int> createDataStream(DataStreamConfig config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita index a3ca1a6757b..562b3e40229 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita @@ -21,7 +21,7 @@ public abstract int CreateDataStream(ref int streamId, DataStreamConfig config); abstract createDataStream(config: DataStreamConfig): number; Future<int> createDataStream(DataStreamConfig config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita index 4cedbb18273..e2f295a31c8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -21,7 +21,7 @@ public abstract IMediaPlayer CreateMediaPlayer(); abstract createMediaPlayer(): IMediaPlayer; Future<MediaPlayer> createMediaPlayer(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita index a8528290d03..499a1b271c0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita @@ -15,11 +15,11 @@

public abstract AgoraMediaRecorder createMediaRecorder(RecorderStreamInfo info); - (AgoraMediaRecorder * _Nullable)createMediaRecorder:(AgoraRecorderStreamInfo * _Nonnull)info NS_SWIFT_NAME(createMediaRecorder(withInfo:)); - virtual agora_refptr<IMediaRecorder> createMediaRecorder(const RecorderStreamInfo& info) = 0; + virtual agora_refptr<IMediaRecorder> createMediaRecorder(const RecorderStreamInfo& info) = 0; abstract createMediaRecorder(info: RecorderStreamInfo): IMediaRecorder; public abstract IMediaRecorder CreateMediaRecorder(RecorderStreamInfo info); abstract createMediaRecorder(info: RecorderStreamInfo): IMediaRecorder; - Future<MediaRecorder?> createMediaRecorder(RecorderStreamInfo info);

+ Future<MediaRecorder?> createMediaRecorder(RecorderStreamInfo info);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createrendererview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createrendererview.dita index b29805e242d..052b7e3ad2a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createrendererview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createrendererview.dita @@ -15,13 +15,13 @@

public static SurfaceView CreateRendererView(Context context) { return new SurfaceView(context); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createtextureview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createtextureview.dita index 08c48e78fb0..753ad402f06 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createtextureview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createtextureview.dita @@ -15,13 +15,13 @@

public static TextureView CreateTextureView(Context context) { return new TextureView(context); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita index fe712adee4a..ae4e1f297ac 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita @@ -14,14 +14,14 @@ Create the object and return the pointer.

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita index f2eeca1f2c3..5a01c98d127 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_delegate.dita b/en-US/dita/RTC-NG/API/api_irtcengine_delegate.dita index 9fd99a12b98..632dfc7fcd2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_delegate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_delegate.dita @@ -12,14 +12,14 @@

- + @property(nonatomic, weak) id<AgoraRtcEngineDelegate> _Nullable delegate; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita index 293a72e20b3..90b4ab22532 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita @@ -16,11 +16,11 @@ public abstract int destroyCustomEncodedVideoTrack(int video_track_id); - (int)destroyCustomEncodedVideoTrack:(NSUInteger)position; virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita index cf42c37c4a2..636e218e633 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita @@ -20,7 +20,7 @@ public abstract int DestroyCustomVideoTrack(video_track_id_t video_track_id); abstract destroyCustomVideoTrack(videoTrackId: number): number; Future<void> destroyCustomVideoTrack(int videoTrackId); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita index 01c2887f22e..b7832553c9e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita @@ -22,7 +22,7 @@ public abstract int DestroyMediaPlayer(IMediaPlayer mediaPlayer); abstract destroyMediaPlayer(mediaPlayer: IMediaPlayer): number; Future<void> destroyMediaPlayer(MediaPlayer mediaPlayer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita index f0bcf8a3d0d..97b70caef93 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita @@ -15,11 +15,11 @@

public abstract void destroyMediaRecorder(AgoraMediaRecorder mediaRecorder); - (int)destroyMediaRecorder:(AgoraMediaRecorder * _Nullable)mediaRecorder; - virtual int destroyMediaRecorder(agora_refptr<IMediaRecorder> mediaRecorder) = 0; + virtual int destroyMediaRecorder(agora_refptr<IMediaRecorder> mediaRecorder) = 0; abstract destroyMediaRecorder(mediaRecorder: IMediaRecorder): number; public abstract int DestroyMediaRecorder(IMediaRecorder mediaRecorder); abstract destroyMediaRecorder(mediaRecorder: IMediaRecorder): number; - Future<void> destroyMediaRecorder(MediaRecorder mediaRecorder);

+ Future<void> destroyMediaRecorder(MediaRecorder mediaRecorder);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita index 4cc1c49dc50..95a56469157 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_devicemanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_devicemanager.dita index 4626e51ded6..f152b111c05 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_devicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_devicemanager.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita b/en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita index 4b7d802e3cc..821cfc4bbee 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita @@ -20,7 +20,7 @@ public abstract int DisableAudio(); abstract disableAudio(): number; Future<void> disableAudio(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita index 52c43789cf4..67d7bb070a5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita @@ -20,7 +20,7 @@ public abstract int DisableAudioSpectrumMonitor(); abstract disableAudioSpectrumMonitor(): number; Future<void> disableAudioSpectrumMonitor(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita b/en-US/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita index 0155b78d543..ebb90e3064f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita @@ -13,14 +13,14 @@

- - + + virtual int disableLastmileTest() = 0; - + public abstract int DisableLastmileTest(); - - -

+ + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_disablevideo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_disablevideo.dita index 4e3492210cf..e15295b5dfe 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disablevideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disablevideo.dita @@ -20,7 +20,7 @@ public abstract int DisableVideo(); abstract disableVideo(): number; Future<void> disableVideo(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita index 2e1cd883a26..522c8ee9e5d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita @@ -20,7 +20,7 @@ public abstract int EnableAudio(); abstract enableAudio(): number; Future<void> enableAudio(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita index 0d1a691a93f..865bf9cb081 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita @@ -14,13 +14,13 @@

public abstract int enableAudioQualityIndication(boolean enabled); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita index ad794453785..1f92bf4cf13 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita @@ -20,7 +20,7 @@ public abstract int EnableAudioSpectrumMonitor(int intervalInMS = 100); abstract enableAudioSpectrumMonitor(intervalInMS?: number): number; Future<void> enableAudioSpectrumMonitor({int intervalInMS = 100}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita index 9c6d286cb43..26eeae80717 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita @@ -31,7 +31,7 @@ ): number; Future<void> enableAudioVolumeIndication( {required int interval, required int smooth, required bool reportVad}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita index b93e97a3a61..ed1a32a3ace 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -25,9 +25,9 @@ enabled: boolean, config: ContentInspectConfig ): number; - Future<void> enableContentInspect( + Future<void> enableContentInspect( {required bool enabled, required ContentInspectConfig config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablecustomaudioLocalplayback.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablecustomaudioLocalplayback.dita index 9d8473d7e40..b9f1d8ed4ca 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablecustomaudioLocalplayback.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablecustomaudioLocalplayback.dita @@ -12,13 +12,13 @@
- - - - - - - Future<void> enableCustomAudioLocalPlayback( + + + + + + + Future<void> enableCustomAudioLocalPlayback( {required int sourceId, required bool enabled});
Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita index 79876008572..3887c80e697 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita @@ -28,7 +28,7 @@ streamConfig?: SimulcastStreamConfig ): number; Future<void> enableDualStreamMode(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita index 57fd1fc4aba..edf2a18fe0f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita @@ -26,9 +26,9 @@ enabled: boolean, streamConfig?: SimulcastStreamConfig ): number; - Future<void> enableDualStreamMode( + Future<void> enableDualStreamMode( {required bool enabled, SimulcastStreamConfig? streamConfig}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita index 59edc0ef807..ab85477fdc2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita @@ -28,7 +28,7 @@ ): number; Future<void> enableEchoCancellationExternal( {required bool enabled, required int audioSourceDelay}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita index 5057d9504c5..d5e03e9690b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita @@ -21,7 +21,7 @@ abstract enableEncryption(enabled: boolean, config: EncryptionConfig): number; Future<void> enableEncryption( {required bool enabled, required EncryptionConfig config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita index d9119bc87e8..02440f8ff20 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -37,7 +37,7 @@ required String extension, bool enable = true, MediaSourceType type = MediaSourceType.unknownMediaSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita index 68cecd7cb6b..03f0bbc21cd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -20,7 +20,7 @@ abstract enableFaceDetection(enabled: boolean): number; abstract enableFaceDetection(enabled: boolean): number; Future<void> enableFaceDetection(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita index 2285cf2c362..cc663615d0b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita index 0735bdfa472..4641a77c1ed 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita @@ -15,12 +15,12 @@

public abstract int enableInEarMonitoring(boolean enabled); - (int)enableInEarMonitoring:(BOOL)enabled; - - + + public abstract int EnableInEarMonitoring(bool enabled); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita index c1ff454ccae..21f8bca8142 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita @@ -25,10 +25,10 @@ enabled: boolean, includeAudioFilters: EarMonitoringFilterType ): number; - Future<void> enableInEarMonitoring( + Future<void> enableInEarMonitoring( {required bool enabled, required EarMonitoringFilterType includeAudioFilters}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita index 7d6e822c132..11a98560241 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita @@ -19,7 +19,7 @@ abstract enableInstantMediaRendering(): number; public abstract int EnableInstantMediaRendering(); abstract enableInstantMediaRendering(): number; - Future<void> enableInstantMediaRendering();

+ Future<void> enableInstantMediaRendering();

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita index 01e87dc9511..f7644497ccc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita @@ -13,14 +13,14 @@

- - + + virtual int enableLastmileTest() = 0; - + public abstract int EnableLastmileTest(); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita index 1cf0c4dfc0b..d3c9237deff 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita @@ -20,7 +20,7 @@ public abstract int EnableLocalAudio(bool enabled); abstract enableLocalAudio(enabled: boolean): number; Future<void> enableLocalAudio(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita index 1037126d52e..aa3a21510b7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita @@ -20,7 +20,7 @@ public abstract int EnableLocalVideo(bool enabled); abstract enableLocalVideo(enabled: boolean): number; Future<void> enableLocalVideo(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita index a1f2048b180..2bd48711f14 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita @@ -13,7 +13,7 @@

- + - (int)enableLoopbackRecording:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName NS_SWIFT_NAME(enableLoopbackRecording(_:deviceName:)); virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0; abstract enableLoopbackRecording( @@ -27,7 +27,7 @@ ): number; Future<void> enableLoopbackRecording( {required bool enabled, String? deviceName}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita index 860d8b01d94..0d358e26ac3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita @@ -13,16 +13,16 @@

- + - (int)enableMainQueueDispatch:(BOOL)enabled; - - removeAllListeners?<EventType extends keyof IMediaEngineEvent>( + + removeAllListeners?<EventType extends keyof IMediaEngineEvent>( eventType?: EventType ): void; - - - -

+ + + +

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita index ceca8316592..d317e1d47d4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita @@ -13,7 +13,7 @@

- + - (int)enableMultiCamera:(BOOL)enabled config:(AgoraCameraCapturerConfiguration* _Nullable)config NS_SWIFT_NAME(enableMultiCamera(_:config:)); #if defined(__APPLE__) && TARGET_OS_IOS virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration& config) = 0; @@ -27,9 +27,9 @@ enabled: boolean, config: CameraCapturerConfiguration ): number; - Future<void> enableMultiCamera( + Future<void> enableMultiCamera( {required bool enabled, required CameraCapturerConfiguration config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableplugin.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableplugin.dita index dda5dcd99fc..9128972c0b2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableplugin.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableplugin.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableremotesuperresolution.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableremotesuperresolution.dita index 8d3c3c1bb5c..ff90a284614 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableremotesuperresolution.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableremotesuperresolution.dita @@ -21,7 +21,7 @@ abstract enableRemoteSuperResolution(userId: number, enable: boolean): number; Future<void> enableRemoteSuperResolution( {required int userId, required bool enable}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita index 84a4962205a..de717583ff8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita @@ -20,7 +20,7 @@ public abstract int EnableSoundPositionIndication(bool enabled); abstract enableSoundPositionIndication(enabled: boolean): number; Future<void> enableSoundPositionIndication(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita index 589a51956e7..4ab5adfb0dc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita @@ -20,7 +20,7 @@ public abstract int EnableSpatialAudio(bool enabled); abstract enableSpatialAudio(enabled: boolean): number; Future<void> enableSpatialAudio(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablevideo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablevideo.dita index e9b2f588660..d73ca12c4e2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevideo.dita @@ -20,7 +20,7 @@ public abstract int EnableVideo(); abstract enableVideo(): number; Future<void> enableVideo(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita index 8cc4b23ffea..f0e05202989 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita @@ -26,9 +26,9 @@ enable: boolean, options: ImageTrackOptions ): number; - Future<void> enableVideoImageSource( + Future<void> enableVideoImageSource( {required bool enable, required ImageTrackOptions options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita index 70ae00486c1..09f11293cad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -32,12 +32,12 @@ segproperty: SegmentationProperty, type?: MediaSourceType ): number; - Future<void> enableVirtualBackground( + Future<void> enableVirtualBackground( {required bool enabled, required VirtualBackgroundSource backgroundSource, required SegmentationProperty segproperty, MediaSourceType type = MediaSourceType.primaryCameraSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita index a373f09e389..5209152fc78 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita @@ -20,7 +20,7 @@ public abstract int EnableWebSdkInteroperability(bool enabled); abstract enableWebSdkInteroperability(enabled: boolean): number; Future<void> enableWebSdkInteroperability(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita index aefaf69385c..cfe7dd86ef2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita @@ -13,14 +13,14 @@

- - + + virtual int enableWirelessAccelerate(bool enabled) = 0; - + public abstract int EnableWirelessAccelerate(bool enabled); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita index 54caef308bd..38a9a99df98 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita @@ -13,14 +13,14 @@

- + - (NSArray<AgoraRtcDeviceInfo *> * _Nullable)enumerateDevices:(AgoraMediaDeviceType)type; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita index 21af6a01ac7..bfa545f2a3a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita index 7ebc92a1e3d..f1cd234bdf0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita index 15b28d9da9a..c2bed88a4a1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract IAgoraRtcAudioPlaybackDeviceManager GetAgoraRtcAudioPlaybackDeviceManager(); - - -

+ + +

ReturnsA object.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita index 757707743b2..74ed558f5be 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract IAgoraRtcAudioPlaybackDeviceManager GetAgoraRtcAudioPlaybackDeviceManager(); - - -

+ + +

ReturnsA object.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita index 0f6248475f5..2c106ce0a69 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract IAgoraRtcMediaPlayer GetAgoraRtcMediaPlayer(); - - -

+ + +

ReturnsA object.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita index 270561e0a32..37c230af7df 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract IVideoDeviceManager GetVideoDeviceManager(); - - -

+ + +

ReturnsA object.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita index df2fbcc1723..e3fe888763b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita @@ -20,7 +20,7 @@ public abstract int GetAudioDeviceInfo(ref DeviceInfoMobile deviceInfo); abstract getAudioDeviceInfo(): DeviceInfo; Future<DeviceInfo> getAudioDeviceInfo(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita index 854df3777a9..bf052b0a66c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita @@ -20,7 +20,7 @@ public abstract IAudioDeviceManager GetAudioDeviceManager(); AudioDeviceManager getAudioDeviceManager(); -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita index dde7e419ebd..ee672c90cb8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita @@ -14,13 +14,13 @@

public abstract IAudioEffectManager getAudioEffectManager(); - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita index 612f69188c4..4428ab44d3c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract int GetAudioFileInfo(string filePath); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita index dcea865356b..e2f78d3fabd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita @@ -20,7 +20,7 @@ public abstract int GetAudioMixingCurrentPosition(); abstract getAudioMixingCurrentPosition(): number; Future<int> getAudioMixingCurrentPosition(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita index 0d9a33d713f..6081659f654 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita @@ -20,7 +20,7 @@ public abstract int GetAudioMixingDuration(); abstract getAudioMixingDuration(): number; Future<int> getAudioMixingDuration(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita index 735cdc4a604..9ff42fa74c3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita @@ -20,7 +20,7 @@ public abstract int GetAudioMixingPlayoutVolume(); abstract getAudioMixingPlayoutVolume(): number; Future<int> getAudioMixingPlayoutVolume(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita index 2b2d65e6f49..f7b0d5a7553 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita @@ -20,7 +20,7 @@ public abstract int GetAudioMixingPublishVolume(); abstract getAudioMixingPublishVolume(): number; Future<int> getAudioMixingPublishVolume(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita index adfc168d60f..36d9c224bad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita index 630880f4714..2509b48bc0d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita index db571d8c16e..acac7f51118 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita @@ -20,7 +20,7 @@ public abstract int GetAudioTrackCount(); abstract getAudioTrackCount(): number; Future<int> getAudioTrackCount(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita index b162ea1434e..761ba037f2b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita @@ -13,14 +13,14 @@

- - + + virtual agora::media::ExternalVideoFrame::VIDEO_PIXEL_FORMAT getBufferType() = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita index 0287dc321ec..df3b8138d01 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita @@ -20,7 +20,7 @@ public abstract int GetCallId(ref string callId); abstract getCallId(): string; Future<String> getCallId(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita index 0d9f5624440..8699614f414 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita @@ -20,7 +20,7 @@ public abstract float GetCameraMaxZoomFactor(); abstract getCameraMaxZoomFactor(): number; Future<double> getCameraMaxZoomFactor(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita index 1af1266904f..81c0c2c5709 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita @@ -20,7 +20,7 @@ public abstract CONNECTION_STATE_TYPE GetConnectionState(); abstract getConnectionState(): ConnectionStateType; Future<ConnectionStateType> getConnectionState(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita index eed0ca6da0b..68788298904 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita @@ -19,7 +19,7 @@ abstract getCurrentMonotonicTimeInMs(): number; public abstract long GetCurrentMonotonicTimeInMs(); abstract getCurrentMonotonicTimeInMs(): number; - Future<int> getCurrentMonotonicTimeInMs();

+ Future<int> getCurrentMonotonicTimeInMs();

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita index f035b07bfa1..6f5650039ae 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita @@ -13,14 +13,14 @@

- + - (AgoraRtcDeviceInfo * _Nullable)getDeviceInfo:(AgoraMediaDeviceType)type; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita index ef2ddab9442..565ca9e5f12 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita @@ -13,14 +13,14 @@

- + - (int)getDeviceVolume:(AgoraMediaDeviceType)type; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita index e4596930948..602382ff798 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita @@ -21,7 +21,7 @@ public abstract int GetEffectCurrentPosition(int soundId); abstract getEffectCurrentPosition(soundId: number): number; Future<int> getEffectCurrentPosition(int soundId); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita index bf7003d7016..a9209ba074a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita @@ -20,7 +20,7 @@ public abstract int GetEffectDuration(string filePath); abstract getEffectDuration(filePath: string): number; Future<int> getEffectDuration(String filePath); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita index eb32c0ba7c6..41fc063dcf9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita @@ -20,7 +20,7 @@ public abstract int GetEffectsVolume(); abstract getEffectsVolume(): number; Future<int> getEffectsVolume(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita b/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita index 42f94e0d47a..a94e8c1c760 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita @@ -20,7 +20,7 @@ public abstract string GetErrorDescription(int code); abstract getErrorDescription(code: number): string; Future<String> getErrorDescription(int code); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita index 3803ae2b685..dbe24328f68 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita @@ -40,13 +40,13 @@ bufLen: number, type?: MediaSourceType ): string; - Future<String> getExtensionProperty( + Future<String> getExtensionProperty( {required String provider, required String extension, required String key, required int bufLen, MediaSourceType type = MediaSourceType.unknownMediaSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita index 4003f1d96a9..49b05e13a6a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita @@ -20,7 +20,7 @@ public abstract ILocalSpatialAudioEngine GetLocalSpatialAudioEngine(); abstract getLocalSpatialAudioEngine(): ILocalSpatialAudioEngine; LocalSpatialAudioEngine getLocalSpatialAudioEngine(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita index 77531fe88e5..b36530f65d4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita @@ -20,7 +20,7 @@ Future<int> getLoopbackRecordingVolume(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita index 2b6d121f7be..1afcbd354bc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita @@ -13,14 +13,14 @@

- - - + + + abstract getMediaEngine(): IMediaEngine; - + abstract getMediaEngine(): IMediaEngine; MediaEngine getMediaEngine(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita index 60c03a87dd8..f7fee37893c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita @@ -15,12 +15,12 @@

public static synchronized AgoraMediaRecorder getMediaRecorder(RtcEngine engine) + (instancetype _Nonnull)sharedMediaRecorderWithRtcEngine:(AgoraRtcEngineKit* _Nonnull)engine; - + abstract getMediaRecorder(): IMediaRecorder; public abstract IMediaRecorder GetMediaRecorder(); abstract getMediaRecorder(): IMediaRecorder; MediaRecorder getMediaRecorder(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita index a545f9a54b1..515582819b4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita @@ -13,14 +13,14 @@

- - - + + + abstract getMusicContentCenter(): IMusicContentCenter; public abstract IMusicContentCenter GetMusicContentCenter(); abstract getMusicContentCenter(): IMusicContentCenter; MusicContentCenter getMusicContentCenter() -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita index 3c8e86a3901..56ad02f3fcf 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita @@ -15,12 +15,12 @@

public abstract long getNativeHandle(); - (void* _Nullable)getNativeHandle; - + abstract getNativeHandle(): number; public abstract int GetNativeHandler(ref IntPtr nativeHandler); abstract getNativeHandle(): number; - Future<int> getNativeHandle(); -

+ Future<int> getNativeHandle(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita index 9bea3a7b1a6..e8e82336c7e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita @@ -19,8 +19,8 @@ abstract getNetworkType(): number; public abstract int GetNetworkType(); abstract getNetworkType(): number; - Future<int> getNetworkType(); -

+ Future<int> getNetworkType(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita index c759dc9ed80..0e2a2aac448 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita @@ -19,8 +19,8 @@ abstract getNtpWallTimeInMs(): number; public abstract UInt64 GetNtpWallTimeInMs(); abstract getNtpWallTimeInMs(): number; - Future<int> getNtpWallTimeInMs(); -

+ Future<int> getNtpWallTimeInMs(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita index 1db04e5bd3c..7dc8a386400 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getplugins.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getplugins.dita index 933f72f17ee..482198cefa5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getplugins.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getplugins.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita index d8abbfba2c4..9c6fb51f5b8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita @@ -12,13 +12,13 @@
- - - - + + + + public abstract RtcEngineEventHandler GetRtcEngineEventHandler(); - -
+ +
Details

After you obtain the object, you can register the callbacks for .

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita index 24cd71b9cb2..2a8ac7015d6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita @@ -32,7 +32,7 @@ {required Size thumbSize, required Size iconSize, required bool includeScreen}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita index 0c29372eacb..7f7a13fcef1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita index 43fcb8887b2..2d68b1dd89d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita index e635cd4af8e..6a2b9c5cd66 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita @@ -20,7 +20,7 @@ public abstract int GetUserInfoByUid(uint uid, ref UserInfo userInfo); abstract getUserInfoByUid(uid: number): UserInfo; Future<UserInfo> getUserInfoByUid(int uid); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita index b751478ed59..0c9d3fe2324 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita @@ -20,7 +20,7 @@ public abstract int GetUserInfoByUserAccount(string userAccount, ref UserInfo userInfo); abstract getUserInfoByUserAccount(userAccount: string): UserInfo; Future<UserInfo> getUserInfoByUserAccount(String userAccount); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita index d744386bd69..4622ea1a180 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita @@ -20,7 +20,7 @@ public abstract string GetVersion(ref int build); abstract getVersion(): SDKBuildInfo; Future<SDKBuildInfo> getVersion(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita index 616bee34f30..f62fc4b7b37 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita @@ -12,14 +12,14 @@

- - + + virtual VIDEO_CAPTURE_TYPE getVideoCaptureType() = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita index b853c9a2285..1e57c234c87 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita @@ -12,14 +12,14 @@

- - + + virtual VideoContentHint getVideoContentHint() = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita index 6e8b6e1a1e6..f8c8ef5ddbb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita @@ -13,14 +13,14 @@

- - - + + + abstract getVideoDeviceManager(): IVideoDeviceManager; public abstract IVideoDeviceManager GetVideoDeviceManager(); - + VideoDeviceManager getVideoDeviceManager(); -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita index 272b7daab58..d412f30c61f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita index 7c28744136b..99e9d2c6232 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita @@ -24,7 +24,7 @@ ? VideoSourceType.videoSourceCamera.value() : VideoSourceType.videoSourceRemote.value(); } -

+

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita index 49963493e77..086db46d4bd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita @@ -20,7 +20,7 @@ public abstract int GetVolumeOfEffect(int soundId); abstract getVolumeOfEffect(soundId: number): number; Future<int> getVolumeOfEffect(int soundId); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita index baf20753f94..3f4b370f9ff 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita b/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita index 770768f8c6e..a39a5abdbf2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -22,7 +22,7 @@ public abstract int Initialize(RtcEngineContext context); abstract initialize(context: RtcEngineContext): number; Future<void> initialize(RtcEngineContext context); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita index d4286cc4b21..27329e89614 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraAutoExposureFaceModeSupported(); abstract isCameraAutoExposureFaceModeSupported(): boolean; Future<bool> isCameraAutoExposureFaceModeSupported(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita index 0d98da8e095..0a35f7cfecb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraAutoFocusFaceModeSupported(); abstract isCameraAutoFocusFaceModeSupported(): boolean; Future<bool> isCameraAutoFocusFaceModeSupported(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita index 47e7b61634e..fc4100ac8c5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraExposurePositionSupported(); abstract isCameraExposurePositionSupported(): boolean; Future<bool> isCameraExposurePositionSupported(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita index 5273c07117c..e6547aed594 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita @@ -16,11 +16,11 @@ public abstract boolean isCameraExposureSupported(); - (BOOL)isCameraExposureSupported NS_SWIFT_NAME(isCameraExposureSupported()); virtual bool isCameraExposureSupported() = 0; - + public abstract bool IsCameraExposureSupported(); abstract isCameraExposureSupported(): boolean; - Future<bool> isCameraExposureSupported(); -

+ Future<bool> isCameraExposureSupported(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita index 0ff46401c85..11f4102eeed 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraFaceDetectSupported(); abstract isCameraFaceDetectSupported(): boolean; Future<bool> isCameraFaceDetectSupported(); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita index f9e7709a3f6..6e82e73af88 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraFocusSupported(); abstract isCameraFocusSupported(): boolean; Future<bool> isCameraFocusSupported(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita index 5d05bace16e..69943d667a0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraTorchSupported(); abstract isCameraTorchSupported(): boolean; Future<bool> isCameraTorchSupported(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita index 2ac5b56f177..b451a915c3a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita @@ -20,7 +20,7 @@ public abstract bool IsCameraZoomSupported(); abstract isCameraZoomSupported(): boolean; Future<bool> isCameraZoomSupported(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita b/en-US/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita index fde5d3d8d60..5ea3133ef19 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita @@ -20,7 +20,7 @@ public abstract bool IsSpeakerphoneEnabled(); abstract isSpeakerphoneEnabled(): boolean; Future<bool> isSpeakerphoneEnabled(); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita index 102b83593c2..f8be24cef20 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita @@ -14,13 +14,13 @@

public abstract boolean isTextureEncodeSupported(); - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel.dita b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel.dita index 47afa5a557f..a8e14158f75 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel.dita @@ -40,7 +40,7 @@ required String channelId, required String info, required int uid}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index be33f384296..4e28b670d2f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -36,12 +36,12 @@ uid: number, options: ChannelMediaOptions ): number; - Future<void> joinChannel( + Future<void> joinChannel( {required String token, required String channelId, required int uid, required ChannelMediaOptions options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita index 263e6128d52..a8795da448f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita @@ -35,12 +35,12 @@ userAccount: string, options?: ChannelMediaOptions ): number; - Future<void> joinChannelWithUserAccount( + Future<void> joinChannelWithUserAccount( {required String token, required String channelId, required String userAccount, ChannelMediaOptions? options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita index dd4bd1cbb79..38b616ccb16 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita @@ -43,7 +43,7 @@ required String channelId, required String userAccount, required ChannelMediaOptions options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel.dita b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel.dita index 59d4eea50f8..53caa03da0d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel.dita @@ -20,7 +20,7 @@ public abstract int LeaveChannel(); abstract leaveChannel(options?: LeaveChannelOptions): number; Future<void> leaveChannel({LeaveChannelOptions? options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita index d802f1ce644..5c27b64b5b6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita @@ -21,7 +21,7 @@ public abstract int LeaveChannel(LeaveChannelOptions options); abstract leaveChannel(options?: LeaveChannelOptions): number; Future<void> leaveChannel({LeaveChannelOptions? options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita b/en-US/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita index 963ce80bc46..fd4c8f2e0f8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita @@ -13,8 +13,8 @@

- - + + virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0; abstract loadExtensionProvider( path: string, @@ -25,9 +25,9 @@ path: string, unloadAfterUse?: boolean ): number; - Future<void> loadExtensionProvider( + Future<void> loadExtensionProvider( {required String path, bool unloadAfterUse = false}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita index 6a271be7b98..47808a5510c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita @@ -20,7 +20,7 @@ public abstract int MuteAllRemoteAudioStreams(bool mute); abstract muteAllRemoteAudioStreams(mute: boolean): number; Future<void> muteAllRemoteAudioStreams(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita index 663cc0bf50c..fb948118e9a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita @@ -20,7 +20,7 @@ public abstract int MuteAllRemoteVideoStreams(bool mute); abstract muteAllRemoteVideoStreams(mute: boolean): number; Future<void> muteAllRemoteVideoStreams(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita index 14ddea18348..c166280b83a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita @@ -20,7 +20,7 @@ public abstract int MuteLocalAudioStream(bool mute); abstract muteLocalAudioStream(mute: boolean): number; Future<void> muteLocalAudioStream(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita index 8f49548146a..5877fcc7635 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita @@ -20,7 +20,7 @@ public abstract int MuteLocalVideoStream(bool mute); abstract muteLocalVideoStream(mute: boolean): number; Future<void> muteLocalVideoStream(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita index 71bf9f70b5b..26f74e2c84d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita @@ -20,7 +20,7 @@ public abstract int MuteRecordingSignal(bool mute); abstract muteRecordingSignal(mute: boolean): number; Future<void> muteRecordingSignal(bool mute); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita index 07532b80b98..9ecce0f8496 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita @@ -20,8 +20,8 @@ abstract muteRemoteAudioStream(uid: number, mute: boolean): number; public abstract int MuteRemoteAudioStream(uint uid, bool mute); abstract muteRemoteAudioStream(uid: number, mute: boolean): number; - Future<void> muteRemoteAudioStream({required int uid, required bool mute}); -

+ Future<void> muteRemoteAudioStream({required int uid, required bool mute}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita index 38248fffbf3..add14d6763b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita @@ -21,7 +21,7 @@ public abstract int MuteRemoteVideoStream(uint uid, bool mute); abstract muteRemoteVideoStream(uid: number, mute: boolean): number; Future<void> muteRemoteVideoStream({required int uid, required bool mute}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita index c4283d612df..47883f055a7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita @@ -20,7 +20,7 @@ public abstract int PauseAllChannelMediaRelay(); abstract pauseAllChannelMediaRelay(): number; Future<void> pauseAllChannelMediaRelay(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita index d6e37152cc3..9acb3d0a5cc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita @@ -22,7 +22,7 @@ public abstract int PauseAllEffects(); abstract pauseAllEffects(): number; Future<void> pauseAllEffects(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita index 58b2f715474..3701b52f267 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita @@ -20,7 +20,7 @@ public abstract int PauseAudioMixing(); abstract pauseAudioMixing(): number; Future<void> pauseAudioMixing(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita index cf996f4667d..8d87d2f9585 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita @@ -20,7 +20,7 @@ public abstract int PauseEffect(int soundId); abstract pauseEffect(soundId: number): number; Future<void> pauseEffect(int soundId); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_playalleffects.dita b/en-US/dita/RTC-NG/API/api_irtcengine_playalleffects.dita index 0e519c0d60e..eabd4903564 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playalleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playalleffects.dita @@ -37,7 +37,7 @@ required double pan, required int gain, bool publish = false}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita index 6f92de38bbf..9e704e3a1e0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -26,12 +26,12 @@ pan:(double)pan gain:(NSInteger)gain; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index d30e7b5b09e..6aa995c3547 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -63,7 +63,7 @@ required int gain, bool publish = false, int startPos = 0}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita b/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita index 1b04fbb0ef9..4d20eb919c5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita @@ -29,7 +29,7 @@ channelId: string, uid: number ): number; - Future<void> preloadChannel( + Future<void> preloadChannel( {required String token, required String channelId, required int uid});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel2.dita index 08e4bac480c..b0f5c5488f7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel2.dita @@ -29,7 +29,7 @@ channelId: string, userAccount: string ): number; - Future<void> preloadChannelWithUserAccount( + Future<void> preloadChannelWithUserAccount( {required String token, required String channelId, required String userAccount});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita index 6a5f76ff244..e481aa4073d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -32,7 +32,7 @@ ): number;
Future<void> preloadEffect( {required int soundId, required String filePath, int startPos = 0}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita index 6177b3aca5b..3e7f39907c5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita @@ -14,13 +14,13 @@

public abstract int pullPlaybackAudioFrame(ByteBuffer data, int lengthInByte); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita index 1cc866ac2c9..4a74bc02920 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita @@ -14,7 +14,7 @@

- (CMSampleBufferRef _Nullable)pullPlaybackAudioFrameSampleBufferByLengthInByte:(NSUInteger)lengthInByte; -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index bf2cc99097e..c665b15c8d0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -21,12 +21,12 @@ channels:(NSInteger)channels trackId:(NSInteger)trackId timestamp:(NSTimeInterval)timestamp NS_SWIFT_NAME(pushExternalAudioFrameRawData(_:samples:sampleRate:channels:trackId:timestamp:)); - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita index f15f24606f7..ccb652f740c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita @@ -20,7 +20,7 @@ abstract pushCaptureAudioFrame(frame: AudioFrame): number; Future<void> pushCaptureAudioFrame(AudioFrame frame); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita index 239ad8c8678..f0a9f57fe48 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita @@ -14,13 +14,13 @@

public abstract int pushCaptureAudioFrame(ByteBuffer data, int lengthInByte); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita index 060c507272b..f9ced05b0eb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita @@ -16,11 +16,11 @@ public abstract int pushDirectCdnStreamingCustomVideoFrame(VideoFrame frame); - (int)pushDirectCdnStreamingCustomVideoFrame:(AgoraVideoFrame * _Nonnull)frame; virtual int pushDirectCdnStreamingCustomVideoFrame(media::base::ExternalVideoFrame* frame) = 0; - + public abstract int PushDirectCdnStreamingCustomVideoFrame(ExternalVideoFrame frame); - - -

+ + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita index 84dbef48087..a091279f01f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita @@ -14,7 +14,7 @@

- (int)pushExternalAudioFrameSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer; -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita index 025fd02b6c1..4904f1faedd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita @@ -14,11 +14,11 @@

- (int)pushExternalAudioFrameSampleBuffer:(AgoraAudioExternalSourcePos)sourcePos sampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer; - - - - -

+ + + + +

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita index cb13450015b..579e938c258 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita @@ -20,7 +20,7 @@ abstract pushReverseAudioFrame(frame: AudioFrame): number; Future<void> pushReverseAudioFrame(AudioFrame frame); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita index dc297658dc0..9655cf56269 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita @@ -14,13 +14,13 @@

public abstract int pushReverseAudioFrame(ByteBuffer data, int lengthInByte); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita index 532e8c7ddcc..f90a6ffad58 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita @@ -14,13 +14,13 @@

public abstract boolean pushExternalVideoFrame(VideoFrame frame); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita b/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita index bd4f010f2dd..b2127c7f5f4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita @@ -14,13 +14,13 @@

public abstract CodecCapInfo[] queryCodecCapability(); - - (NSArray <AgoraVideoCodecCapInfo *> *__nullable)queryCodecCapability; + - (NSArray <AgoraVideoCodecCapInfo *> *__nullable)queryCodecCapability; virtual int queryCodecCapability(CodecCapInfo* codecInfo, int& size) = 0; abstract queryCodecCapability(): { codecInfo: CodecCapInfo[]; size: number }; public abstract int QueryCodecCapability(ref CodecCapInfo[] codecInfo, ref int size); abstract queryCodecCapability(): { codecInfo: CodecCapInfo[]; size: number }; - Future<List<CodecCapInfo>> queryCodecCapability(int size);

+ Future<List<CodecCapInfo>> queryCodecCapability(int size);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_queryinterface.dita b/en-US/dita/RTC-NG/API/api_irtcengine_queryinterface.dita index db2d9c063c0..31cc9df69dd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_queryinterface.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_queryinterface.dita @@ -13,14 +13,14 @@

- - + + virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita b/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita index 7afadbb1bfd..a6b9e2e8544 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita @@ -18,10 +18,10 @@ #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int queryScreenCaptureCapability() = 0; #endif - + public abstract int QueryScreenCaptureCapability(); abstract queryScreenCaptureCapability(): number; - Future<int> queryScreenCaptureCapability();

+ Future<int> queryScreenCaptureCapability();

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_rate.dita b/en-US/dita/RTC-NG/API/api_irtcengine_rate.dita index ae19fbaeb30..1de7cd0615c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_rate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_rate.dita @@ -27,7 +27,7 @@ description:(NSString * _Nullable)description; {required String callId, required int rating, required String description}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita index af70206c7a2..b3f1db1f3a4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita @@ -30,7 +30,7 @@ void registerAudioEncodedFrameObserver( {required AudioEncodedFrameObserverConfig config, required AudioEncodedFrameObserver observer}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita index feb57cf4a9a..fad8e680492 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita @@ -25,7 +25,7 @@ observer: IAudioSpectrumObserver ): number; void registerAudioSpectrumObserver(AudioSpectrumObserver observer); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita index 30c1efbaead..77b78718dc2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita @@ -13,8 +13,8 @@

- - + + virtual int registerExtension(const char* provider, const char* extension, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0; abstract registerExtension( @@ -28,11 +28,11 @@ extension: string, type?: MediaSourceType ): number; - Future<void> registerExtension( + Future<void> registerExtension( {required String provider, required String extension, MediaSourceType type = MediaSourceType.unknownMediaSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita index 010d9295ab3..7e438d5403d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita @@ -21,7 +21,7 @@ abstract registerLocalUserAccount(appId: string, userAccount: string): number; Future<void> registerLocalUserAccount( {required String appId, required String userAccount}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita index bf1f58fb587..e249e7d0ea4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita @@ -28,7 +28,7 @@ ): number; void registerMediaMetadataObserver( {required MetadataObserver observer, required MetadataType type}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita index 0aac8084ade..cd8339c0dc6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita @@ -13,14 +13,14 @@

- - + + virtual int registerPacketObserver(IPacketObserver* observer) = 0; - + public abstract int RegisterPacketObserver(IPacketObserver observer); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registerplugin.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registerplugin.dita index 40ec779eaf0..6506ec44eaa 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerplugin.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerplugin.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_release.dita b/en-US/dita/RTC-NG/API/api_irtcengine_release.dita index f56aacaeeb6..a7e2fd23935 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_release.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_release.dita @@ -26,8 +26,8 @@ abstract release(sync?: boolean): void; public abstract void Dispose(bool sync = false); abstract release(sync?: boolean): void; - Future<void> release({bool sync = false}); -

+ Future<void> release({bool sync = false}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita b/en-US/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita index 1a98ba5fddd..ca090de781f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita @@ -13,17 +13,17 @@

- - - - removeAllListeners?<EventType extends keyof IMediaEngineEvent>( + + + + removeAllListeners?<EventType extends keyof IMediaEngineEvent>( eventType?: EventType ): void; - - removeAllListeners?<EventType extends keyof IMediaEngineEvent>( + + removeAllListeners?<EventType extends keyof IMediaEngineEvent>( eventType?: EventType ): void; -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita b/en-US/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita index c989186cbd1..5981c724e16 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract void RemoveEventHandler(); - - -

+ + +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_removehandler.dita b/en-US/dita/RTC-NG/API/api_irtcengine_removehandler.dita index 1d5ff941292..8a3055c367d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removehandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removehandler.dita @@ -24,7 +24,7 @@ eventHandler: IRtcEngineEventHandler ): boolean; void unregisterEventHandler(RtcEngineEventHandler eventHandler); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita b/en-US/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita index 6827c0f4de1..f1dc6c9c465 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita @@ -20,7 +20,7 @@ public abstract int RemoveInjectStreamUrl(string url); Future<void> removeInjectStreamUrl(String url); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_removelistener.dita b/en-US/dita/RTC-NG/API/api_irtcengine_removelistener.dita index 74e7d1070e9..2beee6422f4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removelistener.dita @@ -13,19 +13,19 @@

- - - - removeListener?<EventType extends keyof IRtcEngineEvent>( + + + + removeListener?<EventType extends keyof IRtcEngineEvent>( eventType: EventType, listener: IRtcEngineEvent[EventType] ): void; - - removeListener?<EventType extends keyof IRtcEngineEvent>( + + removeListener?<EventType extends keyof IRtcEngineEvent>( eventType: EventType, listener: IRtcEngineEvent[EventType] ): void; -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita b/en-US/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita index c19761291d3..0baf4b6b622 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita @@ -20,7 +20,7 @@ public abstract int RemovePublishStreamUrl(string url); abstract removePublishStreamUrl(url: string): number; Future<void> removePublishStreamUrl(String url); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita b/en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita index ad5b2a6425d..e05aa9cb7df 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita @@ -20,7 +20,7 @@ public abstract int RenewToken(string token); abstract renewToken(token: string): number; Future<void> renewToken(String token); -

+

DetailsYou can call this method to pass a new token to the SDK. A token expires after a certain period of time. In the following two cases, the app should call this method to pass in a new token. Failure to do so will result in the SDK disconnecting from the server.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita index 84f4dfad331..f5a3937f9d7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita @@ -20,7 +20,7 @@ public abstract int ResumeAllChannelMediaRelay(); abstract resumeAllChannelMediaRelay(): number; Future<void> resumeAllChannelMediaRelay(); -

    +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita b/en-US/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita index 75ca9cb38b1..73209d98580 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita @@ -22,7 +22,7 @@ public abstract int ResumeAllEffects(); abstract resumeAllEffects(): number; Future<void> resumeAllEffects(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita b/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita index 61df02a4dcc..6302dd72c5d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita b/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita index 954bd16c471..f19d442b8ee 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita @@ -20,7 +20,7 @@ public abstract int ResumeAudioMixing(); abstract resumeAudioMixing(): number; Future<void> resumeAudioMixing(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita index 36d4f9fddae..55976d10a57 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita @@ -22,7 +22,7 @@ public abstract int ResumeEffect(int soundId); abstract resumeEffect(soundId: number): number; Future<void> resumeEffect(int soundId); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita index f9044a8039d..61551256121 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita @@ -19,8 +19,8 @@ abstract selectAudioTrack(index: number): number; public abstract int SelectAudioTrack(int index); abstract selectAudioTrack(index: number): number; - Future<void> selectAudioTrack(int index); -

+ Future<void> selectAudioTrack(int index); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita b/en-US/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita index 79dc23498ba..8bd089c6296 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita @@ -46,7 +46,7 @@ required String event, required String label, required int value}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita b/en-US/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita index a2233e2ec6f..ef5c64a7454 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita @@ -21,7 +21,7 @@ abstract sendMetaData(metadata: Metadata, sourceType: VideoSourceType): number; Future<void> sendMetaData( {required Metadata metadata, required VideoSourceType sourceType}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita b/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita index e57e4902bf5..927308c63a9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita @@ -28,7 +28,7 @@ ): number; Future<void> sendStreamMessage( {required int streamId, required Uint8List data, required int length}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita index 0a6661d34b6..a1712d05653 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita @@ -14,14 +14,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita index cd1b84e9283..e2b9bd07c8f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -19,8 +19,8 @@ abstract setAdvancedAudioOptions(options: AdvancedAudioOptions): number; public abstract int SetAdvancedAudioOptions(AdvancedAudioOptions options); abstract setAdvancedAudioOptions(options: AdvancedAudioOptions): number; - Future<void> setAdvancedAudioOptions(AdvancedAudioOptions options); -

+ Future<void> setAdvancedAudioOptions(AdvancedAudioOptions options); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setainsmode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setainsmode.dita index eca5ced70a3..0216feaa95b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setainsmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setainsmode.dita @@ -19,7 +19,7 @@ abstract setAINSMode(enabled: boolean, mode: AudioAinsMode): number; public abstract int SetAINSMode(bool enabled, AUDIO_AINS_MODE mode); abstract setAINSMode(enabled: boolean, mode: AudioAinsMode): number; - Future<void> setAINSMode( + Future<void> setAINSMode( {required bool enabled, required AudioAinsMode mode});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita index da84b872bdd..eb236a492df 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita @@ -27,7 +27,7 @@ {required AudioEffectPreset preset, required int param1, required int param2}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita index fa147f04792..88eb27f81ea 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita @@ -20,7 +20,7 @@ public abstract int SetAudioEffectPreset(AUDIO_EFFECT_PRESET preset); abstract setAudioEffectPreset(preset: AudioEffectPreset): number; Future<void> setAudioEffectPreset(AudioEffectPreset preset); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita index 759d8d78c9f..a698c723ada 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita @@ -20,7 +20,7 @@ public abstract int SetAudioMixingDualMonoMode(AUDIO_MIXING_DUAL_MONO_MODE mode); abstract setAudioMixingDualMonoMode(mode: AudioMixingDualMonoMode): number; Future<void> setAudioMixingDualMonoMode(AudioMixingDualMonoMode mode); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita index cffc2148529..2833773c3f9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita @@ -20,7 +20,7 @@ public abstract int SetAudioMixingPitch(int pitch); abstract setAudioMixingPitch(pitch: number): number; Future<void> setAudioMixingPitch(int pitch); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita index 573be542fea..ea410189f1c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita @@ -20,7 +20,7 @@ public abstract int SetAudioMixingPosition(int pos); abstract setAudioMixingPosition(pos: number): number; Future<void> setAudioMixingPosition(int pos); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita index b77890c73b4..eee0f4ca0d7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita @@ -28,7 +28,7 @@ Future<void> setAudioProfile( {required AudioProfileType profile, AudioScenarioType scenario = AudioScenarioType.audioScenarioDefault}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita index 2fbe0a0c911..6fde14d789e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -20,7 +20,7 @@ public abstract int SetAudioScenario(AUDIO_SCENARIO_TYPE scenario); abstract setAudioScenario(scenario: AudioScenarioType): number; Future<void> setAudioScenario(AudioScenarioType scenario); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita index 495db424fce..f94da1c8c71 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita @@ -23,7 +23,7 @@ ): number; Future<void> setAudioSessionOperationRestriction( AudioSessionOperationRestriction restriction); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita index 7b3d3ffaf43..7a5e15422d6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita @@ -20,7 +20,7 @@ public abstract int SetAVSyncSource(string channelId, uint uid); abstract setAVSyncSource(channelId: string, uid: number): number; Future<void> setAVSyncSource({required String channelId, required int uid}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita index 899a4c05d81..6f670c5ef77 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -31,7 +31,7 @@ {required bool enabled, required BeautyOptions options, MediaSourceType type = MediaSourceType.primaryCameraSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita index 0883dc33a59..1eef467c48a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita @@ -21,7 +21,7 @@ public abstract int SetCameraAutoExposureFaceModeEnabled(bool enabled); abstract setCameraAutoExposureFaceModeEnabled(enabled: boolean): number; Future<void> setCameraAutoExposureFaceModeEnabled(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita index b52579c788c..04f9ba2779c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita @@ -21,7 +21,7 @@ public abstract int SetCameraAutoFocusFaceModeEnabled(bool enabled); abstract setCameraAutoFocusFaceModeEnabled(enabled: boolean): number; Future<void> setCameraAutoFocusFaceModeEnabled(bool enabled); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita index 6d05f24b2d7..3114d042aa9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita @@ -25,7 +25,7 @@ ): number; Future<void> setCameraCapturerConfiguration( CameraCapturerConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita index dcf37ff48df..d092a35b6e0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita @@ -28,7 +28,7 @@ ): number; Future<void> setCameraDeviceOrientation( {required VideoSourceType type, required VideoOrientation orientation}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita index ab4472cf181..240904948b6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita @@ -17,11 +17,11 @@ - (CGFloat)setCameraExposureFactor:(CGFloat)exposureFactor NS_SWIFT_NAME(setCameraExposureFactor(_:)); virtual int setCameraExposureFactor(float factor) = 0; - + public abstract int SetCameraExposureFactor(float factor); abstract setCameraExposureFactor(factor: number): number; - Future<void> setCameraExposureFactor(double factor); -

+ Future<void> setCameraExposureFactor(double factor); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita index 746ee39a5c1..96fd8aaa375 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita @@ -28,7 +28,7 @@ ): number; Future<void> setCameraExposurePosition( {required double positionXinView, required double positionYinView}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita index 4428591c9fd..222e19b9685 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita @@ -28,7 +28,7 @@ ): number; Future<void> setCameraFocusPositionInPreview( {required double positionX, required double positionY}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita index cbe84f3f14e..d0ed8bc2997 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita @@ -21,7 +21,7 @@ public abstract int SetCameraTorchOn(bool isOn); abstract setCameraTorchOn(isOn: boolean): number; Future<void> setCameraTorchOn(bool isOn); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita index f769a79ede0..f297846c0dc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita @@ -21,7 +21,7 @@ public abstract int SetCameraZoomFactor(float factor); abstract setCameraZoomFactor(factor: number): number; Future<void> setCameraZoomFactor(double factor); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita index e1a37166d64..0cb6156e6f0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita @@ -20,7 +20,7 @@ public abstract int SetChannelProfile(CHANNEL_PROFILE_TYPE profile); abstract setChannelProfile(profile: ChannelProfileType): number; Future<void> setChannelProfile(ChannelProfileType profile); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita index 5cfe8167aea..4477efbbc40 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -27,7 +27,7 @@ ): number; Future<void> setClientRole( {required ClientRoleType role, ClientRoleOptions? options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita index 8bee826a854..916de3267ea 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita @@ -20,7 +20,7 @@ public abstract int SetCloudProxy(CLOUD_PROXY_TYPE proxyType); abstract setCloudProxy(proxyType: CloudProxyType): number; Future<void> setCloudProxy(CloudProxyType proxyType); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita index 62325ecc626..183fd685b06 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita @@ -30,11 +30,11 @@ options: ColorEnhanceOptions, type?: MediaSourceType ): number; - Future<void> setColorEnhanceOptions( + Future<void> setColorEnhanceOptions( {required bool enabled, required ColorEnhanceOptions options, MediaSourceType type = MediaSourceType.primaryCameraSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita index 7630342e143..d533ef9af4d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita @@ -25,7 +25,7 @@ defaultToSpeaker: boolean ): number; Future<void> setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita index 99aec98c91a..91b501d9ad1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita @@ -20,7 +20,7 @@ public abstract int SetDefaultMuteAllRemoteAudioStreams(bool mute); abstract setDefaultMuteAllRemoteAudioStreams(mute: boolean): number; Future<void> setDefaultMuteAllRemoteAudioStreams(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita index 945ce1247b0..c61ac7a3162 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita @@ -20,7 +20,7 @@ public abstract int SetDefaultMuteAllRemoteVideoStreams(bool mute); abstract setDefaultMuteAllRemoteVideoStreams(mute: boolean): number; Future<void> setDefaultMuteAllRemoteVideoStreams(bool mute); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita index fd7184eca02..c693be3cd33 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita @@ -13,14 +13,14 @@

- + - (int)setDeviceVolume:(AgoraMediaDeviceType)type volume:(int)volume; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita index a9c4cfb7f49..759ddc18f26 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita @@ -25,7 +25,7 @@ ): number; Future<void> setDirectCdnStreamingAudioConfiguration( AudioProfileType profile); -

+

When you set the publishMicrophoneTrack or publishCustomAudioTrack in the as to capture audios, you can call this method to set the audio profile.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita index 1355511703f..546e46a5cb1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita @@ -25,9 +25,9 @@ abstract setDirectCdnStreamingVideoConfiguration( config: VideoEncoderConfiguration ): number; - Future<void> setDirectCdnStreamingVideoConfiguration( + Future<void> setDirectCdnStreamingVideoConfiguration( VideoEncoderConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita index 4084e253a7f..da367d1f528 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita @@ -16,11 +16,11 @@ public abstract int setDualStreamMode(Constants.SimulcastStreamMode mode); - (int)setDualStreamMode:(AgoraSimulcastStreamMode)mode; virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode) = 0; - + public abstract int SetDualStreamMode(SIMULCAST_STREAM_MODE mode); - - -

+ + +

Details
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita index d7d24b05232..0e09f6f6f2c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita @@ -28,9 +28,9 @@ mode: SimulcastStreamMode, streamConfig?: SimulcastStreamConfig ): number; - Future<void> setDualStreamMode( + Future<void> setDualStreamMode( {required SimulcastStreamMode mode, SimulcastStreamConfig? streamConfig}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita index 02e17451941..e20bc20b4e7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita @@ -35,12 +35,12 @@ mode: RawAudioFrameOpModeType, samplesPerCall: number ): number; - Future<void> setEarMonitoringAudioFrameParameters( + Future<void> setEarMonitoringAudioFrameParameters( {required int sampleRate, required int channel, required RawAudioFrameOpModeType mode, required int samplesPerCall}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita index c7036bb985b..b96c97694ce 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita @@ -19,8 +19,8 @@ abstract setEffectPosition(soundId: number, pos: number): number; public abstract int SetEffectPosition(int soundId, int pos); abstract setEffectPosition(soundId: number, pos: number): number; - Future<void> setEffectPosition({required int soundId, required int pos}); -

+ Future<void> setEffectPosition({required int soundId, required int pos}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita index 7fd47bb073b..ca74e18f977 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita @@ -22,7 +22,7 @@ public abstract int SetEffectsVolume(int volume); abstract setEffectsVolume(volume: number): number; Future<void> setEffectsVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita index 14e72cb8a27..ace607c882b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita @@ -20,7 +20,7 @@ public abstract int SetEncryptionMode(string encryptionMode); abstract setEncryptionMode(encryptionMode: string): number; Future<void> setEncryptionMode(String encryptionMode); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita index 4ac45433337..173db5fdff0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita @@ -20,7 +20,7 @@ public abstract int SetEncryptionSecret(string secret); abstract setEncryptionSecret(secret: string): number; Future<void> setEncryptionSecret(String secret); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita index ebcaf257fa1..898dfbe6cf3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita @@ -43,7 +43,7 @@ required String key, required String value, MediaSourceType type = MediaSourceType.unknownMediaSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita index 4cf670407f7..7f5c0c0a019 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita @@ -33,7 +33,7 @@ ): number; Future<void> setExtensionProviderProperty( {required String provider, required String key, required String value}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita index 3286b22070c..84282ec5fbc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita @@ -17,12 +17,12 @@ - (int)setExternalAudioSource:(BOOL)enabled sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels; - - + + public abstract int SetExternalAudioSource(bool enabled, int sampleRate, int channels); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita index 835be9dd6a2..fa19780a07d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract int SetExternalAudioSourceVolume(int sourcePos, int volume); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita index b234e31548f..963d74b1df6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita @@ -19,9 +19,9 @@ abstract setHeadphoneEQParameters(lowGain: number, highGain: number): number; public abstract int SetHeadphoneEQParameters(int lowGain, int highGain); abstract setHeadphoneEQParameters(lowGain: number, highGain: number): number; - Future<void> setHeadphoneEQParameters( + Future<void> setHeadphoneEQParameters( {required int lowGain, required int highGain}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita index 56ad4f71422..807a135713a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita @@ -19,8 +19,8 @@ abstract setHeadphoneEQPreset(preset: HeadphoneEqualizerPreset): number; public abstract int SetHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset); abstract setHeadphoneEQPreset(preset: HeadphoneEqualizerPreset): number; - Future<void> setHeadphoneEQPreset(HeadphoneEqualizerPreset preset); -

+ Future<void> setHeadphoneEQPreset(HeadphoneEqualizerPreset preset); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita index cc32a06ef5b..4b3e5f72349 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita @@ -13,16 +13,16 @@

- - + + virtual int setHighQualityAudioParameters(bool fullband, bool stereo, bool fullBitrate) = 0; - + public abstract int SetHighQualityAudioParameters(bool fullband, bool stereo, bool fullBitrate); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita index 556c5705289..a000ce4c102 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita @@ -20,7 +20,7 @@ public abstract int SetInEarMonitoringVolume(int volume); abstract setInEarMonitoringVolume(volume: number): number; Future<void> setInEarMonitoringVolume(int volume); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita index e16af742e02..8754c97c609 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita @@ -20,7 +20,7 @@ public abstract int SetLiveTranscoding(LiveTranscoding transcoding); abstract setLiveTranscoding(transcoding: LiveTranscoding): number; Future<void> setLiveTranscoding(LiveTranscoding transcoding); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita index 6ca21e715ec..253be1dba51 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita @@ -20,7 +20,7 @@ public abstract int SetLocalAccessPoint(LocalAccessPointConfiguration config); abstract setLocalAccessPoint(config: LocalAccessPointConfiguration): number; Future<void> setLocalAccessPoint(LocalAccessPointConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita index 354436e12c4..040ea5d3239 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita @@ -20,7 +20,7 @@ public abstract int SetLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option); Future<void> setLocalPublishFallbackOption(StreamFallbackOptions option); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita index 52a09fa51d5..805ab97b6e2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita @@ -27,7 +27,7 @@ mirrorMode?: VideoMirrorModeType ): number; Future<void> setLocalRenderMode2(RenderModeType renderMode); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 362e5a34877..508063bb885 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -30,7 +30,7 @@ {required RenderModeType renderMode, VideoMirrorModeType mirrorMode = VideoMirrorModeType.videoMirrorModeAuto}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita index 340b1fe564e..ffe0c6a8c71 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita @@ -20,7 +20,7 @@ public abstract int SetLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode); abstract setLocalVideoMirrorMode(mirrorMode: VideoMirrorModeType): number; Future<void> setLocalVideoMirrorMode(VideoMirrorModeType mirrorMode); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita index 768ca7664e1..08c9d652172 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita index 00daa75ddc8..2535288acb8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita @@ -16,11 +16,11 @@ public abstract int setLocalVoiceChanger(int voiceChanger); - (int) setLocalVoiceChanger:(AgoraAudioVoiceChanger)voiceChanger; virtual int setLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger) = 0; - + public abstract int SetLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita index 44e9518a70b..8fd3d14713c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita @@ -30,7 +30,7 @@ Future<void> setLocalVoiceEqualization( {required AudioEqualizationBandFrequency bandFrequency, required int bandGain}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita index f46afbc775c..b895c437836 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita @@ -20,7 +20,7 @@ abstract setLocalVoiceFormant(formantRatio: number): number; public abstract int SetLocalVoiceFormant(double formantRatio); abstract setLocalVoiceFormant(formantRatio: number): number; - Future<void> setLocalVoiceFormant(double formantRatio);

+ Future<void> setLocalVoiceFormant(double formantRatio);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita index 19f8c4bf777..6b8646cd14c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita @@ -20,7 +20,7 @@ public abstract int SetLocalVoicePitch(double pitch); abstract setLocalVoicePitch(pitch: number): number; Future<void> setLocalVoicePitch(double pitch); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita index 9f3614e9547..9cd6f6295f2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita @@ -27,7 +27,7 @@ ): number; Future<void> setLocalVoiceReverb( {required AudioReverbType reverbKey, required int value}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita index ed0435ddadc..cd3d9248196 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita @@ -16,11 +16,11 @@ public abstract int setLocalVoiceReverbPreset(int reverbPreset); - (int) setLocalVoiceReverbPreset:(AgoraAudioReverbPreset)reverbPreset; virtual int setLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset) = 0; - + public abstract int SetLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 699cf983f1a..fa768d89785 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -20,7 +20,7 @@ public abstract int SetLogFile(string filePath); abstract setLogFile(filePath: string): number; Future<void> setLogFile(String filePath); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita index 08e9e205504..b2ce0045257 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita @@ -20,7 +20,7 @@ public abstract int SetLogFileSize(uint fileSizeInKBytes); abstract setLogFileSize(fileSizeInKBytes: number): number; Future<void> setLogFileSize(int fileSizeInKBytes); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita index b0f0a28982b..b7a5bb8a0ce 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita @@ -20,7 +20,7 @@ public abstract int SetLogFilter(uint filter); abstract setLogFilter(filter: LogFilterType): number; Future<void> setLogFilter(LogFilterType filter); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setloglevel.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setloglevel.dita index 7fcfd301584..bfd672f38cc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setloglevel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setloglevel.dita @@ -21,7 +21,7 @@ public abstract int SetLogLevel(LOG_LEVEL level); abstract setLogLevel(level: LogLevel): number; Future<void> setLogLevel(LogLevel level); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index 94341a13808..2d272bb906a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -30,11 +30,11 @@ options: LowlightEnhanceOptions, type?: MediaSourceType ): number; - Future<void> setLowlightEnhanceOptions( + Future<void> setLowlightEnhanceOptions( {required bool enabled, required LowlightEnhanceOptions options, MediaSourceType type = MediaSourceType.primaryCameraSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita index 28c7a9d8607..07dd3b2b6ba 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita @@ -20,7 +20,7 @@ public abstract int SetMaxMetadataSize(int size); abstract setMaxMetadataSize(size: number): number; Future<void> setMaxMetadataSize(int size); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita index 0736d57a175..b24cb06530c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita @@ -12,13 +12,13 @@
- + - (BOOL)setMediaMetadataDataSource:(id<AgoraMediaMetadataDataSource> _Nullable)metadataDataSource withType:(AgoraMetadataType)type; - - - - -
+ + + + +
Details

You need to implement the protocol in this method and specify the data format of the metadata. After a successful method call, the SDK triggers the callback.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index 4782d7d8458..8d46e950ae6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -33,7 +33,7 @@ {required int sampleRate, required int channel, required int samplesPerCall}); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setparameters.dita index ac0bc4d66df..df507d2be57 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setparameters.dita @@ -19,7 +19,7 @@ abstract setParameters(parameters: string): number; public abstract int SetParameters(string key, object value); abstract setParameters(parameters: string): number; - Future<void> setParameters(String parameters);

+ Future<void> setParameters(String parameters);

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index c3611ea65fb..f265c4f26b1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -26,9 +26,9 @@ sampleRate: number, channel: number ): number; - Future<void> setPlaybackAudioFrameBeforeMixingParameters( + Future<void> setPlaybackAudioFrameBeforeMixingParameters( {required int sampleRate, required int channel}); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index 9a6d8ceb59f..d596698c4ad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -42,7 +42,7 @@ required int channel, required RawAudioFrameOpModeType mode, required int samplesPerCall}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita index 41952111c7e..a5c101627bc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita @@ -14,14 +14,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index f5aba2a5674..267caf556e1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -41,7 +41,7 @@ required int channel, required RawAudioFrameOpModeType mode, required int samplesPerCall}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index 0d7a187bad5..e10e4fee835 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -20,7 +20,7 @@ public abstract int SetRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType); abstract setRemoteDefaultVideoStreamType(streamType: VideoStreamType): number; Future<void> setRemoteDefaultVideoStreamType(VideoStreamType streamType); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita index 26220da8607..8328d9578cc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita @@ -17,11 +17,11 @@ - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode; virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode) = 0; - + public abstract int SetRemoteRenderMode(uint userId, RENDER_MODE_TYPE renderMode); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita index 9b83d956cbf..84fb24a0744 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita @@ -33,7 +33,7 @@ {required int uid, required RenderModeType renderMode, required VideoMirrorModeType mirrorMode}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index 27ead4d2a67..5253ee68826 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -24,7 +24,7 @@ option: StreamFallbackOptions ): number; Future<void> setRemoteSubscribeFallbackOption(StreamFallbackOptions option); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita index 64321086e98..c24cd7f2d14 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita @@ -14,12 +14,12 @@

public abstract int setRemoteUserPriority(int uid, int userPriority); - + virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0; - + public abstract int SetRemoteUserPriority(uint uid, PRIORITY_TYPE userPriority); - -

+ +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita index c83aecfc281..3d89781ea03 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita @@ -28,7 +28,7 @@ ): number; Future<void> setRemoteUserSpatialAudioParams( {required int uid, required SpatialAudioParams params}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita index ac0383c52f3..a26b12ddf20 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index bea965da0ed..2dc7579193c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -28,7 +28,7 @@ ): number; Future<void> setRemoteVideoStreamType( {required int uid, required VideoStreamType streamType}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita index 77c7df806c1..dfdd525fa96 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita @@ -26,9 +26,9 @@ uid: number, options: VideoSubscriptionOptions ): number; - Future<void> setRemoteVideoSubscriptionOptions( + Future<void> setRemoteVideoSubscriptionOptions( {required int uid, required VideoSubscriptionOptions options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita index c6355a66d6f..375aa9fd90f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita @@ -24,7 +24,7 @@ There are no corresponding names available -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita index 372c999b013..9de558a8a17 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita @@ -29,7 +29,7 @@ ): number; Future<void> setRemoteVoicePosition( {required int uid, required double pan, required double gain}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setrendermode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setrendermode.dita index 0bab37c4ece..bf1aa97196c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrendermode.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita index c54dcf18edd..54061142af5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita @@ -14,12 +14,12 @@

public abstract int setRouteInCommunicationMode(int route); - + virtual int setRouteInCommunicationMode(int route) = 0; - + public abstract int SetRouteInCommunicationMode(int route); abstract setRouteInCommunicationMode(route: number): number; - Future<void> setRouteInCommunicationMode(int route);

+ Future<void> setRouteInCommunicationMode(int route);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita index 240ffaf0035..ea141646951 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita @@ -21,7 +21,7 @@ public abstract int SetScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint); abstract setScreenCaptureContentHint(contentHint: VideoContentHint): number; Future<void> setScreenCaptureContentHint(VideoContentHint contentHint); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita index 96749ace09d..e601b586e52 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita @@ -23,7 +23,7 @@ public abstract int SetScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario); abstract setScreenCaptureScenario(screenScenario: ScreenScenarioType): number; Future<void> setScreenCaptureScenario(ScreenScenarioType screenScenario); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita index e016c8eff6a..9e5d2012863 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita @@ -25,9 +25,9 @@ uidList: number[], uidNumber: number ): number; - Future<void> setSubscribeAudioAllowlist( - {required List<int> uidList, required int uidNumber}); -

+ Future<void> setSubscribeAudioAllowlist( + {required List<int> uidList, required int uidNumber}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita index b7aa7534624..ff4752fc45f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita @@ -25,9 +25,9 @@ uidList: number[], uidNumber: number ): number; - Future<void> setSubscribeAudioBlocklist( - {required List<int> uidList, required int uidNumber}); -

+ Future<void> setSubscribeAudioBlocklist( + {required List<int> uidList, required int uidNumber}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita index 30090d2388c..ee57829bcf1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita @@ -25,9 +25,9 @@ uidList: number[], uidNumber: number ): number; - Future<void> setSubscribeVideoAllowlist( - {required List<int> uidList, required int uidNumber}); -

+ Future<void> setSubscribeVideoAllowlist( + {required List<int> uidList, required int uidNumber}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita index 97a75d15bb3..52ff98771ed 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita @@ -25,9 +25,9 @@ uidList: number[], uidNumber: number ): number; - Future<void> setSubscribeVideoBlocklist( - {required List<int> uidList, required int uidNumber}); -

+ Future<void> setSubscribeVideoBlocklist( + {required List<int> uidList, required int uidNumber}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita index abf5f1e479a..99f819bc574 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita @@ -20,7 +20,7 @@ public abstract int SetupLocalVideo(VideoCanvas canvas); abstract setupLocalVideo(canvas: VideoCanvas): number; Future<void> setupLocalVideo(VideoCanvas canvas); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita index 88595963864..520a40829fb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita @@ -20,7 +20,7 @@ public abstract int SetupRemoteVideo(VideoCanvas canvas); abstract setupRemoteVideo(canvas: VideoCanvas): number; Future<void> setupRemoteVideo(VideoCanvas canvas); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index 7c58a552b8a..6e387f1d9cd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -30,11 +30,11 @@ options: VideoDenoiserOptions, type?: MediaSourceType ): number; - Future<void> setVideoDenoiserOptions( + Future<void> setVideoDenoiserOptions( {required bool enabled, required VideoDenoiserOptions options, MediaSourceType type = MediaSourceType.primaryCameraSource}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita index 5b3f3047fd6..86ba82e9c3b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita @@ -24,7 +24,7 @@ config: VideoEncoderConfiguration ): number; Future<void> setVideoEncoderConfiguration(VideoEncoderConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita index a3eadbc0327..8e8a4c96464 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita @@ -17,11 +17,11 @@ - (int)setVideoProfile:(AgoraVideoProfile)profile swapWidthAndHeight:(BOOL)swapWidthAndHeight virtual int setVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight) = 0; - + public abstract int SetVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight = false); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita index e51cebe9b46..8c6589e63aa 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita @@ -15,12 +15,12 @@

public abstract int setVideoProfile(int width, int height, int frameRate, int bitrate); - (int)setVideoResolution:(CGSize)size andFrameRate:(NSInteger)frameRate bitrate:(NSInteger)bitrate; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita index b81874732fe..8808ff26dd1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita @@ -16,11 +16,11 @@ public abstract int setVideoQualityParameters(boolean preferFrameRateOverImageQuality); - (int)setVideoQualityParameters:(BOOL)preferFrameRateOverImageQuality; virtual int setVideoQualityParameters(bool preferFrameRateOverImageQuality) = 0; - + public abstract int SetVideoQualityParameters(bool preferFrameRateOverImageQuality); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita index 2150bc4e154..6918ecb2969 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita index e490f93ddb8..cdab2af4015 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita index 000910ab81f..0f931464d75 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita @@ -19,7 +19,7 @@ abstract setVideoScenario(scenarioType: VideoApplicationScenarioType): number; public abstract int SetVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType); abstract setVideoScenario(scenarioType: VideoApplicationScenarioType): number; - Future<void> setVideoScenario(VideoApplicationScenarioType scenarioType);

+ Future<void> setVideoScenario(VideoApplicationScenarioType scenarioType);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideosource.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideosource.dita index e83639286bc..30b0b53106e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideosource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideosource.dita @@ -12,14 +12,14 @@

- - + + virtual bool setVideoSource(IVideoSource *source) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setview.dita index 34ffa4a01d6..1134113688c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita index b4bb201c64b..d17de736034 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita @@ -27,7 +27,7 @@ {required VoiceBeautifierPreset preset, required int param1, required int param2}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita index 8a2510e105d..8ec5ffadcb8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -20,7 +20,7 @@ public abstract int SetVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset); abstract setVoiceBeautifierPreset(preset: VoiceBeautifierPreset): number; Future<void> setVoiceBeautifierPreset(VoiceBeautifierPreset preset); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita index f03720bb729..90695731dca 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita index 2d829a82d0e..892a6539a39 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita @@ -20,7 +20,7 @@ public abstract int SetVoiceConversionPreset(VOICE_CONVERSION_PRESET preset); abstract setVoiceConversionPreset(preset: VoiceConversionPreset): number; Future<void> setVoiceConversionPreset(VoiceConversionPreset preset); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita index da018675a82..e4d96a97f59 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita @@ -23,7 +23,7 @@ public abstract int SetVolumeOfEffect(int soundId, int volume); abstract setVolumeOfEffect(soundId: number, volume: number): number; Future<void> setVolumeOfEffect({required int soundId, required int volume}); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita index cc3ee1f72ed..3e5bfeab4fa 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita @@ -13,16 +13,16 @@

- - + + virtual int startAudioFrameDump(const char* channel_id, uid_t user_id, const char* location, const char* uuid, const char* passwd, long duration_ms, bool auto_upload) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index 6938df3d404..62a74c53a54 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -26,12 +26,12 @@ cycle: number, startPos?: number ): number; - Future<void> startAudioMixing( + Future<void> startAudioMixing( {required String filePath, required bool loopback, required int cycle, int startPos = 0}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index b574fc826f0..72281507d26 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -29,7 +29,7 @@ cycle: number, startPos?: number ): number; - Future<void> startAudioMixing( + Future<void> startAudioMixing( {required String filePath, required bool loopback, required int cycle, diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 6852d4dbe39..a77d4548800 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -17,11 +17,11 @@ - (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality; virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; - + public abstract int StartAudioRecording(string filePath, AUDIO_RECORDING_QUALITY_TYPE quality); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita index d82d33d29bc..04245db4815 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita @@ -13,16 +13,16 @@

- - + + virtual int startAudioRecording(const char* filePath, int sampleRate, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; - + public abstract int StartAudioRecording(string filePath, int sampleRate, AUDIO_RECORDING_QUALITY_TYPE quality); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index 64405795936..a26220a79f9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -20,7 +20,7 @@ public abstract int StartAudioRecording(AudioRecordingConfiguration config); abstract startAudioRecording(config: AudioRecordingConfiguration): number; Future<void> startAudioRecording(AudioRecordingConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita index fac5545f581..d4adb991918 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita @@ -26,10 +26,10 @@ sourceType: VideoSourceType, config: CameraCapturerConfiguration ): number; - Future<void> startCameraCapture( + Future<void> startCameraCapture( {required VideoSourceType sourceType, required CameraCapturerConfiguration config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita index f554f21fafc..7c69d23bef9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita @@ -26,7 +26,7 @@ ): number; Future<void> startChannelMediaRelay( ChannelMediaRelayConfiguration configuration); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita index 5e4840e581b..f97529b93e4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita @@ -28,11 +28,11 @@ publishUrl: string, options: DirectCdnStreamingMediaOptions ): number; - Future<void> startDirectCdnStreaming( + Future<void> startDirectCdnStreaming( {required DirectCdnStreamingEventHandler eventHandler, required String publishUrl, required DirectCdnStreamingMediaOptions options}); -

+

Details

Aogra does not support pushing media streams to one URL repeatedly.

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest2.dita index 04da9d3ff5d..8c1b8ba6117 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest2.dita @@ -22,7 +22,7 @@ public abstract int StartEchoTest(int intervalInSeconds); abstract startEchoTest(intervalInSeconds?: number): number; Future<void> startEchoTest({int intervalInSeconds = 10}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest3.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest3.dita index 610717b10b2..f8ec4cb8ad4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest3.dita @@ -19,8 +19,8 @@ abstract startEchoTest(config: EchoTestConfiguration): number; public abstract int StartEchoTest(EchoTestConfiguration config); abstract startEchoTest(config: EchoTestConfiguration): number; - Future<void> startEchoTest(EchoTestConfiguration config); -

+ Future<void> startEchoTest(EchoTestConfiguration config); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita index ae18688dd1a..349efee69f4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -20,7 +20,7 @@ public abstract int StartLastmileProbeTest(LastmileProbeConfig config); abstract startLastmileProbeTest(config: LastmileProbeConfig): number; Future<void> startLastmileProbeTest(LastmileProbeConfig config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita index 051994b83b1..b87149ce8c3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita @@ -25,7 +25,7 @@ config: LocalTranscoderConfiguration ): number; Future<void> startLocalVideoTranscoder(LocalTranscoderConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita index 5338aff54bb..821df645cae 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita @@ -19,7 +19,7 @@ abstract startMediaRenderingTracing(): number; public abstract int StartMediaRenderingTracing(); abstract startMediaRenderingTracing(): number; - Future<void> startMediaRenderingTracing();

+ Future<void> startMediaRenderingTracing();

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index 4681e3714ae..34ce44e7b7a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -24,9 +24,9 @@ abstract startOrUpdateChannelMediaRelay( configuration: ChannelMediaRelayConfiguration ): number; - Future<void> startOrUpdateChannelMediaRelay( + Future<void> startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration configuration); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startpreview2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startpreview2.dita index 5446d6518a3..3c04c058d4a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startpreview2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startpreview2.dita @@ -22,7 +22,7 @@ abstract startPreview(sourceType?: VideoSourceType): number; Future<void> startPreview( {VideoSourceType sourceType = VideoSourceType.videoSourceCameraPrimary}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita index d0a2e0288a0..c46fe18422d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita index 49d2ca96f57..7cff5981689 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startrhythmplayer.dita @@ -28,11 +28,11 @@ sound2: string, config: AgoraRhythmPlayerConfig ): number; - Future<void> startRhythmPlayer( + Future<void> startRhythmPlayer( {required String sound1, required String sound2, required AgoraRhythmPlayerConfig config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita index 4b914ac1f32..328ceace6ca 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita @@ -20,7 +20,7 @@ public abstract int StartRtmpStreamWithoutTranscoding(string url); abstract startRtmpStreamWithoutTranscoding(url: string): number; Future<void> startRtmpStreamWithoutTranscoding(String url); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita index 4b9c6eaffc6..3913a708fd1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita @@ -27,7 +27,7 @@ ): number; Future<void> startRtmpStreamWithTranscoding( {required String url, required LiveTranscoding transcoding}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index 5b78fd8562a..ba7b8e48786 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -22,8 +22,8 @@ abstract startScreenCapture(captureParams: ScreenCaptureParameters2): number; public abstract int StartScreenCapture(ScreenCaptureParameters2 captureParams); abstract startScreenCapture(captureParams: ScreenCaptureParameters2): number; - Future<void> startScreenCapture(ScreenCaptureParameters2 captureParams); -

+ Future<void> startScreenCapture(ScreenCaptureParameters2 captureParams); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita index 4351ddd9106..9c20b8aa15d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita @@ -22,11 +22,11 @@ config: ScreenCaptureConfiguration ): number; public abstract int StartScreenCapture(VIDEO_SOURCE_TYPE sourceType, ScreenCaptureConfiguration config); - - Future<void> startScreenCaptureBySourceType( + + Future<void> startScreenCaptureBySourceType( {required VideoSourceType sourceType, required ScreenCaptureConfiguration config}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita index 51eb23c221a..55907fe4640 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita @@ -36,7 +36,7 @@ {required int displayId, required Rectangle regionRect, required ScreenCaptureParameters captureParams}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita index 9b06c582e4b..e7b24755e89 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita @@ -34,7 +34,7 @@ {required Rectangle screenRect, required Rectangle regionRect, required ScreenCaptureParameters captureParams}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita index 6c74606aa3e..f381fdfa1dd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita @@ -35,7 +35,7 @@ {required int windowId, required Rectangle regionRect, required ScreenCaptureParameters captureParams}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita index a597cc796f1..9aeb3710ac8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_statechanged.dita b/en-US/dita/RTC-NG/API/api_irtcengine_statechanged.dita index fbf72ab0f91..259faa1f198 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_statechanged.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_statechanged.dita @@ -13,16 +13,16 @@

- + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine device:(NSString* _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state; - - - - - -

+ + + + + +

Details
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita index 83697a36173..e3655e4a592 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -22,7 +22,7 @@ public abstract int StopAllEffects(); abstract stopAllEffects(): number; Future<void> stopAllEffects(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita index 4febe1a9dea..b6638f8ea78 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita @@ -13,15 +13,15 @@

- - + + virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0; - - - - -

+ + + + +

diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita index d00a848d079..218c0149ab3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -20,7 +20,7 @@ public abstract int StopAudioMixing(); abstract stopAudioMixing(): number; Future<void> stopAudioMixing(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita index e635ab313d3..2b8951fae4f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita @@ -20,7 +20,7 @@ public abstract int StopAudioRecording(); abstract stopAudioRecording(): number; Future<void> stopAudioRecording(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita index a6ecfe0dce5..45e7a942d5a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita @@ -19,8 +19,8 @@ abstract stopCameraCapture(sourceType: VideoSourceType): number; public abstract int StopCameraCapture(VIDEO_SOURCE_TYPE sourceType); abstract stopCameraCapture(sourceType: VideoSourceType): number; - Future<void> stopCameraCapture(VideoSourceType sourceType); -

+ Future<void> stopCameraCapture(VideoSourceType sourceType); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita index dda92499578..7c4ef344074 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -20,7 +20,7 @@ public abstract int StopChannelMediaRelay(); abstract stopChannelMediaRelay(): number; Future<void> stopChannelMediaRelay(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopechotest.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopechotest.dita index b54f51cb3fd..4bb403d5f98 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopechotest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopechotest.dita @@ -20,7 +20,7 @@ public abstract int StopEchoTest(); abstract stopEchoTest(): number; Future<void> stopEchoTest(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopeffect.dita index 970bf56d8fc..8605341322b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopeffect.dita @@ -22,7 +22,7 @@ public abstract int StopEffect(int soundId); abstract stopEffect(soundId: number): number; Future<void> stopEffect(int soundId); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita index c5be5566eb5..1fbd9d0845c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita @@ -20,7 +20,7 @@ public abstract int StopLastmileProbeTest(); abstract stopLastmileProbeTest(): number; Future<void> stopLastmileProbeTest(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita index d56994701f4..681924ef80a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita @@ -21,7 +21,7 @@ public abstract int StopLocalVideoTranscoder(); abstract stopLocalVideoTranscoder(): number; Future<void> stopLocalVideoTranscoder(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita index f524356482f..a81f0d21488 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita @@ -22,7 +22,7 @@ abstract stopPreview(sourceType?: VideoSourceType): number; Future<void> stopPreview( {VideoSourceType sourceType = VideoSourceType.videoSourceCameraPrimary}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita index 9f63163ec86..cb730129c0e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita index 0dcd5b374c5..2ce5d78116c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita @@ -20,7 +20,7 @@ public abstract int StopRhythmPlayer(); abstract stopRhythmPlayer(): number; Future<void> stopRhythmPlayer(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita index 811409a3583..cb58b5bf1fa 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita @@ -20,7 +20,7 @@ public abstract int StopRtmpStream(string url); abstract stopRtmpStream(url: string): number; Future<void> stopRtmpStream(String url); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita index a5171174d05..71b0c269123 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita @@ -23,7 +23,7 @@ public abstract int StopScreenCapture(); abstract stopScreenCapture(): number; Future<void> stopScreenCapture(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita index 73b01147a7b..5f99641df96 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita @@ -18,9 +18,9 @@ virtual int stopScreenCapture(VIDEO_SOURCE_TYPE sourceType) = 0; abstract stopScreenCaptureBySourceType(sourceType: VideoSourceType): number; public abstract int StopScreenCapture(VIDEO_SOURCE_TYPE sourceType); - - Future<void> stopScreenCaptureBySourceType(VideoSourceType sourceType); -

+ + Future<void> stopScreenCaptureBySourceType(VideoSourceType sourceType); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita index bc4551731b3..5f00fcc7f8c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera.dita b/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera.dita index f39db6c51ba..c313e5f783a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera.dita @@ -20,7 +20,7 @@ public abstract int SwitchCamera(); abstract switchCamera(): number; Future<void> switchCamera(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel.dita b/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel.dita index 3dd97c4638e..57968b41f0e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel.dita @@ -16,11 +16,11 @@ public abstract int switchChannel(String token, String channelName); -(int)switchChannel:(NSString* _Nonnull)token channelName:(NSString* _Nonnull)channelName; virtual int switchChannel(const char* token, const char* channel) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita index 968cf91cf25..119a5849569 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita @@ -13,16 +13,16 @@

- - + + virtual int switchChannel(const char* token, const char* channelId, const ChannelMediaOptions& options) = 0; - + public abstract int SwitchChannel(string token, string channelId, ChannelMediaOptions options); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita index 82094def463..8d758dd1e6a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita @@ -13,14 +13,14 @@

- - + + virtual int takeScreenshot(const char* filename) = 0; - - - - -

+ + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita index 9de9b5fcf5f..c1a0de61fb7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita @@ -19,8 +19,8 @@ abstract takeSnapshot(uid: number, filePath: string): number; public abstract int TakeSnapshot(uint uid, string filePath); abstract takeSnapshot(uid: number, filePath: string): number; - Future<void> takeSnapshot({required int uid, required String filePath}); -

+ Future<void> takeSnapshot({required int uid, required String filePath}); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita index e30f02969fa..0e682b20fd2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita @@ -21,7 +21,7 @@ public abstract int UnloadAllEffects(); abstract unloadAllEffects(): number; Future<void> unloadAllEffects(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita index d9b32936461..b2b99c8b544 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita @@ -22,7 +22,7 @@ public abstract int UnloadEffect(int soundId); abstract unloadEffect(soundId: number): number; Future<void> unloadEffect(int soundId); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita index 74bc073bab3..11e583537d8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita @@ -13,9 +13,9 @@

- - - + + + abstract unregisterAudioEncodedFrameObserver( observer: IAudioEncodedFrameObserver ): number; @@ -26,7 +26,7 @@ ): number; void unregisterAudioEncodedFrameObserver(AudioEncodedFrameObserver observer); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita index 5561b357549..a9125811915 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract int UnRegisterAudioFrameObserver(); - - -

+ + +

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita index 8b5053bd88c..a44b48854ec 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita @@ -24,7 +24,7 @@ observer: IAudioSpectrumObserver ): number; void unregisterAudioSpectrumObserver(AudioSpectrumObserver observer); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita index 2d69df531b6..436daa00ad2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita @@ -27,7 +27,7 @@ ): number; void unregisterMediaMetadataObserver( {required MetadataObserver observer, required MetadataType type}); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita index e950c8fbccf..b7d46a939ec 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita index b19ee8885bd..f6716b86d40 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita @@ -13,13 +13,13 @@

- - - - + + + + public abstract void UnRegisterVideoEncodedImageReceiver(); - - -

+ + +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita index 27a7ce3c0c3..2d5023a02bd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita @@ -13,14 +13,14 @@

- - - - + + + + public abstract void UnRegisterVideoFrameObserver(); - - -

+ + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita index 212605e0059..f6a489abec4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita @@ -20,7 +20,7 @@ public abstract int UpdateChannelMediaOptions(ChannelMediaOptions options); abstract updateChannelMediaOptions(options: ChannelMediaOptions): number; Future<void> updateChannelMediaOptions(ChannelMediaOptions options); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita index f24f8b6c08f..51ce121f2de 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita @@ -26,7 +26,7 @@ ): number; Future<void> updateChannelMediaRelay( ChannelMediaRelayConfiguration configuration); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita index 9146130ad36..bb9511378c9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita @@ -20,7 +20,7 @@ There are no corresponding names available -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita index 1dac2c666a5..0cc81756192 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita @@ -26,7 +26,7 @@ ): number; Future<void> updateLocalTranscoderConfiguration( LocalTranscoderConfiguration config); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita index 43857e44215..b1c23d8591b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita @@ -19,7 +19,7 @@ abstract updatePreloadChannelToken(token: string): number; public abstract int UpdatePreloadChannelToken(string token); abstract updatePreloadChannelToken(token: string): number; - Future<void> updatePreloadChannelToken(String token);

+ Future<void> updatePreloadChannelToken(String token);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita index 726d4b20e64..a3adf7bb875 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita @@ -20,7 +20,7 @@ public abstract int UpdateRtmpTranscoding(LiveTranscoding transcoding); abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number; Future<void> updateRtmpTranscoding(LiveTranscoding transcoding); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita index 341e28b20fd..271abc419da 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita @@ -21,7 +21,7 @@ public abstract int UpdateScreenCapture(ScreenCaptureParameters2 captureParams); abstract updateScreenCapture(captureParams: ScreenCaptureParameters2): number; Future<void> updateScreenCapture(ScreenCaptureParameters2 captureParams); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita index 9a817e0cbbb..408eb6c2e43 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -27,7 +27,7 @@ ): number; Future<void> updateScreenCaptureParameters( ScreenCaptureParameters captureParams); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita index 896e8791aca..b20bf24ab27 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita @@ -20,7 +20,7 @@ public abstract int UpdateScreenCaptureRegion(Rectangle regionRect); abstract updateScreenCaptureRegion(regionRect: Rectangle): number; Future<void> updateScreenCaptureRegion(Rectangle regionRect); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita index 4df413dcf99..93025a43889 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita @@ -13,14 +13,14 @@

- + - (int)updateScreenCaptureRegion:(CGRect)rect; virtual int updateScreenCaptureRegion(const Rect* rect) = 0; abstract updateScreenCaptureRegion(regionRect: Rectangle): number; public abstract int UpdateScreenCaptureRegion(Rectangle regionRect); - + Future<void> updateScreenCaptureRegion(Rectangle regionRect); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita index 20ea54abfdf..22c6a5b598f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita @@ -20,7 +20,7 @@ public abstract string UploadLogFile(); Future<void> uploadLogFile(String requestId); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita index 5f2f81573cf..e74e1ec34a5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita @@ -30,7 +30,7 @@ {required String url, required bool transcodingEnabled, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita index a68b26a3504..1a0b0807b3b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita @@ -36,7 +36,7 @@ {required String watermarkUrl, required WatermarkOptions options, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita index a2d57d6102e..6fcf55ce86a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita @@ -17,10 +17,10 @@ - (int)adjustRecordingSignalVolumeEx:(NSInteger)volume connection:(AgoraRtcConnection* _Nonnull)connection; virtual int adjustRecordingSignalVolumeEx(int volume, const RtcConnection& connection) = 0; - - - -

+ + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita index bf50f87f885..bcdcd20eaa9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita @@ -30,11 +30,11 @@ volume: number, connection: RtcConnection ): number; - Future<void> adjustUserPlaybackSignalVolumeEx( + Future<void> adjustUserPlaybackSignalVolumeEx( {required int uid, required int volume, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita index 5db52973b7e..4233de5441c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita @@ -20,7 +20,7 @@ public abstract int ClearVideoWatermarkEx(RtcConnection connection); abstract clearVideoWatermarkEx(connection: RtcConnection): number; Future<void> clearVideoWatermarkEx(RtcConnection connection); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita index 2cf86168db9..06c68b82da0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita @@ -30,7 +30,7 @@ ): number; Future<int> createDataStreamEx( {required DataStreamConfig config, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita index 36496c9a324..69a41daf195 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita @@ -33,12 +33,12 @@ reportVad: boolean, connection: RtcConnection ): number; - Future<void> enableAudioVolumeIndicationEx( + Future<void> enableAudioVolumeIndicationEx( {required int interval, required int smooth, required bool reportVad, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita index 3fedd0a8196..03808ccfdc2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita @@ -31,11 +31,11 @@ streamConfig: SimulcastStreamConfig, connection: RtcConnection ): number; - Future<void> enableDualStreamModeEx( + Future<void> enableDualStreamModeEx( {required bool enabled, required SimulcastStreamConfig streamConfig, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita index d4db745fe68..80aecf5c131 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita @@ -13,7 +13,7 @@

- + - (int)enableLoopbackRecordingEx:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableLoopbackRecordingEx(_:deviceName:connection:)); @@ -33,7 +33,7 @@ {required RtcConnection connection, required bool enabled, String? deviceName}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita index 39b1fe2467c..f3caabd07d2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita @@ -22,7 +22,7 @@ public abstract CONNECTION_STATE_TYPE GetConnectionStateEx(RtcConnection connection); abstract getConnectionStateEx(connection: RtcConnection): ConnectionStateType; Future<ConnectionStateType> getConnectionStateEx(RtcConnection connection); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita index 8b76d882f32..0d51bd6b2fd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita @@ -18,12 +18,12 @@ userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId localUserAccount:(NSString* _Nonnull)localUserAccount; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita index 8ab488d71dc..92297b84d64 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita @@ -18,12 +18,12 @@ userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId localUserAccount:(NSString* _Nonnull)localUserAccount; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita index b033808fc8a..d0053368cd2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita @@ -38,7 +38,7 @@ {required String token, required RtcConnection connection, required ChannelMediaOptions options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita index 41b02807abd..e47b9a8adf3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita @@ -22,9 +22,9 @@ options?: LeaveChannelOptions ): number; public abstract int LeaveChannelEx(RtcConnection connection); - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita index ffad185e740..8dd9172cf50 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita @@ -27,9 +27,9 @@ connection: RtcConnection, options?: LeaveChannelOptions ): number; - Future<void> leaveChannelEx( + Future<void> leaveChannelEx( {required RtcConnection connection, LeaveChannelOptions? options}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita index be30a0d5d6f..7bc32b5badd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita @@ -26,9 +26,9 @@ mute: boolean, connection: RtcConnection ): number; - Future<void> muteAllRemoteAudioStreamsEx( + Future<void> muteAllRemoteAudioStreamsEx( {required bool mute, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita index c898af46183..eac7fad2c20 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita @@ -26,7 +26,7 @@ mute: boolean, connection: RtcConnection ): number; - Future<void> muteAllRemoteVideoStreamsEx( + Future<void> muteAllRemoteVideoStreamsEx( {required bool mute, required RtcConnection connection});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita index 619c5a34efa..a86616bb37b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita @@ -25,9 +25,9 @@ mute: boolean, connection: RtcConnection ): number; - Future<void> muteLocalAudioStreamEx( + Future<void> muteLocalAudioStreamEx( {required bool mute, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita index bcfd70f7ba7..dada0b3c89b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita @@ -25,7 +25,7 @@ mute: boolean, connection: RtcConnection ): number; - Future<void> muteLocalVideoStreamEx( + Future<void> muteLocalVideoStreamEx( {required bool mute, required RtcConnection connection});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita index 91b981ba59c..d8b437887ea 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita @@ -17,10 +17,10 @@ - (int)muteRecordingSignalEx:(BOOL)mute connection:(AgoraRtcConnection* _Nonnull)connection; virtual int muteRecordingSignalEx(bool mute, const RtcConnection& connection) = 0; - - - -

+ + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita index 9c9debbbee8..ab23e154481 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita @@ -33,7 +33,7 @@ {required int uid, required bool mute, required RtcConnection connection}); -

+

DetailsThis method is used to stops or resumes receiving the audio stream of a specified user. You can call this method before or after joining a channel. If a user leaves a channel, the settings in this method become invalid.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita index d26cc0a5262..3a2dd4c27c6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita @@ -33,7 +33,7 @@ {required int uid, required bool mute, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita index 2a11980aaf9..a379dcd4efd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita @@ -19,8 +19,8 @@ abstract pauseAllChannelMediaRelayEx(connection: RtcConnection): number; public abstract int PauseAllChannelMediaRelayEx(RtcConnection connection); abstract pauseAllChannelMediaRelayEx(connection: RtcConnection): number; - Future<void> pauseAllChannelMediaRelayEx(RtcConnection connection); -

+ Future<void> pauseAllChannelMediaRelayEx(RtcConnection connection); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita index 036b0e99634..4562639051d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita @@ -13,17 +13,17 @@

- + - (int)pushExternalAudioFrameExNSData:(NSData * _Nonnull)data sourceId:(NSInteger)sourceId timestamp:(NSTimeInterval)timestamp; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex.dita index ac0bb00bf81..b6e4b1493c7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex.dita @@ -15,12 +15,12 @@

public abstract int pushExternalVideoFrameEx(AgoraVideoFrame frame, int videoTrackId); - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame videoTrackId:(NSUInteger)videoTrackId; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex2.dita index b8583e8a2f3..2537249346e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pushvideoframeex2.dita @@ -14,13 +14,13 @@

public abstract int pushExternalVideoFrameEx(VideoFrame frame, int videoTrackId); - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita index ba0b2bdbba2..edb98065132 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita @@ -19,8 +19,8 @@ abstract resumeAllChannelMediaRelayEx(connection: RtcConnection): number; public abstract int ResumeAllChannelMediaRelayEx(RtcConnection connection); abstract resumeAllChannelMediaRelayEx(connection: RtcConnection): number; - Future<void> resumeAllChannelMediaRelayEx(RtcConnection connection); -

+ Future<void> resumeAllChannelMediaRelayEx(RtcConnection connection); +

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita index b8630d84e13..711b8dc46f3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita @@ -47,7 +47,7 @@ required String label, required int value, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita index 95f3cfb09e0..181a7a6d047 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita @@ -29,7 +29,7 @@ required Uint8List data, required int length, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita index 7b0fb1c0049..059106b4100 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita @@ -32,11 +32,11 @@ streamConfig: SimulcastStreamConfig, connection: RtcConnection ): number; - Future<void> setDualStreamModeEx( + Future<void> setDualStreamModeEx( {required SimulcastStreamMode mode, required SimulcastStreamConfig streamConfig, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita index 273b7d82060..c1222854904 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita @@ -34,7 +34,7 @@ mirrorMode: VideoMirrorModeType, connection: RtcConnection ): number; - Future<void> setRemoteRenderModeEx( + Future<void> setRemoteRenderModeEx( {required int uid, required RenderModeType renderMode, required VideoMirrorModeType mirrorMode, diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 05c37ea39de..bc53714d99b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -29,11 +29,11 @@ streamType: VideoStreamType, connection: RtcConnection ): number; - Future<void> setRemoteVideoStreamTypeEx( + Future<void> setRemoteVideoStreamTypeEx( {required int uid, required VideoStreamType streamType, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita index 3d5bb5054bb..ba412463dc7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita @@ -30,11 +30,11 @@ options: VideoSubscriptionOptions, connection: RtcConnection ): number; - Future<void> setRemoteVideoSubscriptionOptionsEx( + Future<void> setRemoteVideoSubscriptionOptionsEx( {required int uid, required VideoSubscriptionOptions options, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita index cbb54484fa8..daea921efbb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita @@ -25,7 +25,7 @@ There are no corresponding names available -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita index 78ecf4b9852..5c250f8b9e5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita @@ -38,7 +38,7 @@ required double pan, required double gain, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita index 618287136b8..15dfc4f015b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita @@ -27,11 +27,11 @@ uidNumber: number, connection: RtcConnection ): number; - Future<void> setSubscribeAudioAllowlistEx( - {required List<int> uidList, + Future<void> setSubscribeAudioAllowlistEx( + {required List<int> uidList, required int uidNumber, required RtcConnection connection}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita index 286b63e7fc1..da68da580f7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita @@ -27,11 +27,11 @@ uidNumber: number, connection: RtcConnection ): number; - Future<void> setSubscribeAudioBlocklistEx( - {required List<int> uidList, + Future<void> setSubscribeAudioBlocklistEx( + {required List<int> uidList, required int uidNumber, required RtcConnection connection}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita index e58002b6ed5..8308fe3600b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita @@ -27,11 +27,11 @@ uidNumber: number, connection: RtcConnection ): number; - Future<void> setSubscribeVideoAllowlistEx( - {required List<int> uidList, + Future<void> setSubscribeVideoAllowlistEx( + {required List<int> uidList, required int uidNumber, required RtcConnection connection}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita index 867f9a62c78..9bc2f92c59e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita @@ -27,11 +27,11 @@ uidNumber: number, connection: RtcConnection ): number; - Future<void> setSubscribeVideoBlocklistEx( - {required List<int> uidList, + Future<void> setSubscribeVideoBlocklistEx( + {required List<int> uidList, required int uidNumber, required RtcConnection connection}); -

+

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita index 5975b307f28..7db6be2e946 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita @@ -28,7 +28,7 @@ ): number; Future<void> setupRemoteVideoEx( {required VideoCanvas canvas, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita index 01d4f31d67b..87025f2be1b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita @@ -30,7 +30,7 @@ Future<void> setVideoEncoderConfigurationEx( {required VideoEncoderConfiguration config, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita index 74af9bcb24a..5d401e674e1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita @@ -26,10 +26,10 @@ configuration: ChannelMediaRelayConfiguration, connection: RtcConnection ): number; - Future<void> startChannelMediaRelayEx( + Future<void> startChannelMediaRelayEx( {required ChannelMediaRelayConfiguration configuration, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita index 5eb6e71b3d7..89aefd7f624 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita @@ -19,7 +19,7 @@ abstract startMediaRenderingTracingEx(connection: RtcConnection): number; public abstract int StartMediaRenderingTracingEx(RtcConnection connection); abstract startMediaRenderingTracingEx(connection: RtcConnection): number; - Future<void> startMediaRenderingTracingEx(RtcConnection connection);

+ Future<void> startMediaRenderingTracingEx(RtcConnection connection);

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita index 20723ed2831..85fd6d65209 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita @@ -26,10 +26,10 @@ configuration: ChannelMediaRelayConfiguration, connection: RtcConnection ): number; - Future<void> startOrUpdateChannelMediaRelayEx( + Future<void> startOrUpdateChannelMediaRelayEx( {required ChannelMediaRelayConfiguration configuration, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita index 8240315eff3..fcf34954b24 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita @@ -26,7 +26,7 @@ url: string, connection: RtcConnection ): number; - Future<void> startRtmpStreamWithoutTranscodingEx( + Future<void> startRtmpStreamWithoutTranscodingEx( {required String url, required RtcConnection connection});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita index e11a7b5f55b..89f2e44dc3a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita @@ -30,7 +30,7 @@ transcoding: LiveTranscoding, connection: RtcConnection ): number; - Future<void> startRtmpStreamWithTranscodingEx( + Future<void> startRtmpStreamWithTranscodingEx( {required String url, required LiveTranscoding transcoding, required RtcConnection connection});

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita index 891476111d1..a5341ba67f0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita @@ -19,7 +19,7 @@ abstract stopChannelMediaRelayEx(connection: RtcConnection): number; public abstract int StopChannelMediaRelayEx(RtcConnection connection); abstract stopChannelMediaRelayEx(connection: RtcConnection): number; - Future<void> stopChannelMediaRelayEx(RtcConnection connection);

+ Future<void> stopChannelMediaRelayEx(RtcConnection connection);

diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita index 8f20cc78fe0..ce3a2f064b3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita @@ -20,9 +20,9 @@ abstract stopRtmpStreamEx(url: string, connection: RtcConnection): number; public abstract int StopRtmpStreamEx(string url, RtcConnection connection); abstract stopRtmpStreamEx(url: string, connection: RtcConnection): number; - Future<void> stopRtmpStreamEx( + Future<void> stopRtmpStreamEx( {required String url, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita index 73747826557..8f053766f99 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita @@ -27,11 +27,11 @@ uid: number, filePath: string ): number; - Future<void> takeSnapshotEx( + Future<void> takeSnapshotEx( {required RtcConnection connection, required int uid, required String filePath}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita index cabc1a65c75..42ed7b21165 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita @@ -30,7 +30,7 @@ Future<void> updateChannelMediaOptionsEx( {required ChannelMediaOptions options, required RtcConnection connection}); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita index 780b8ef5b7d..0ce417c1242 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita @@ -26,10 +26,10 @@ configuration: ChannelMediaRelayConfiguration, connection: RtcConnection ): number; - Future<void> updateChannelMediaRelayEx( + Future<void> updateChannelMediaRelayEx( {required ChannelMediaRelayConfiguration configuration, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita index 0ae6412c922..96fcdb5b020 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita @@ -27,10 +27,10 @@ transcoding: LiveTranscoding, connection: RtcConnection ): number; - Future<void> updateRtmpTranscodingEx( + Future<void> updateRtmpTranscodingEx( {required LiveTranscoding transcoding, required RtcConnection connection}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita index 15956212876..7a6a3d9075e 100644 --- a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual unsigned int getCount() = 0; - + public uint getCount() { return 0; } - - -

+ + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita index 86a4c8d5abc..99945b5add1 100644 --- a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita @@ -13,14 +13,14 @@

- - + + virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0; - + public ScreenCaptureSourceInfo getSourceInfo(uint index) { return null; } - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita index cffb2a8f8e6..6fd8371464d 100644 --- a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita +++ b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita @@ -13,14 +13,14 @@

- - + + virtual void release() = 0; - + public void release() { } - - -

+ + +

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita index 4eca45568a6..49c190846f0 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual int getCount() = 0; - - - - -

+ + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita index e99d384d1bf..b721b342204 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita @@ -22,7 +22,7 @@ public abstract string GetDevice(); Future<String> getDevice(); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_release.dita b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_release.dita index 30158d55189..31724db6243 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_release.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_release.dita @@ -13,14 +13,14 @@

- - + + virtual void release() = 0; - - - - -

+ + + + +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita index ea24e9ea42a..55a5d8b642e 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita @@ -20,7 +20,7 @@ public abstract int SetDevice(string deviceIdUTF8); Future<void> setDevice(String deviceIdUTF8); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita index 31b7c7554a1..d3669d3f6db 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita @@ -20,7 +20,7 @@ public abstract DeviceInfo[] EnumerateVideoDevices(); abstract enumerateVideoDevices(): VideoDeviceInfo[]; List<VideoDeviceInfo> enumerateVideoDevices(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita index 3f0d78bcbd5..511db8c0f7b 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita @@ -26,9 +26,9 @@ deviceIdUTF8: string, deviceCapabilityNumber: number ): VideoFormat; - Future<VideoFormat> getCapability( + Future<VideoFormat> getCapability( {required String deviceIdUTF8, required int deviceCapabilityNumber}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita index 938d15fc75c..ec0cf5fd897 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita @@ -20,7 +20,7 @@ public abstract int GetDevice(ref string deviceIdUTF8); abstract getDevice(): string; Future<String> getDevice(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita index 97f5ec15fb6..2a49c51f8c3 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita @@ -21,7 +21,7 @@ public abstract int NumberOfCapabilities(string deviceIdUTF8); abstract numberOfCapabilities(deviceIdUTF8: string): number; Future<void> numberOfCapabilities(String deviceIdUTF8); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita index 4ba4251a31c..1ab5c049c0e 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita @@ -13,14 +13,14 @@

- - + + virtual void release() = 0; abstract release(): void; - + abstract release(): void; - Future<void> release(); -

+ Future<void> release(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita index 3999b1526fb..ecb3d93a493 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita @@ -13,14 +13,14 @@

- - + + virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract setDevice(deviceIdUTF8: string): number; public abstract int SetDevice(string deviceIdUTF8); abstract setDevice(deviceIdUTF8: string): number; Future<void> setDevice(String deviceIdUTF8); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita index 1bcb80c99a8..8c04fae8c3b 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita @@ -20,7 +20,7 @@ public abstract int StartDeviceTest(view_t hwnd); abstract startDeviceTest(hwnd: any): number; Future<void> startDeviceTest(int hwnd); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita index c8a55893080..fbf047da6af 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita @@ -20,7 +20,7 @@ public abstract int StopDeviceTest(); abstract stopDeviceTest(): number; Future<void> stopDeviceTest(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita b/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita index 261278ea195..190d2ab200f 100644 --- a/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita +++ b/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita b/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita index 7433b23cf2c..69fae2b0edc 100644 --- a/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita +++ b/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita index 9aae458bb82..9d793ca1a3c 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita @@ -15,17 +15,17 @@

public void addBackgroundImage(AgoraImage backgroundImage) { if (backgroundImageList == null) { - backgroundImageList = new ArrayList<AgoraImage>(); + backgroundImageList = new ArrayList<AgoraImage>(); } backgroundImageList.add(backgroundImage); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita index f522da69b91..01a1782a6ed 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita @@ -19,12 +19,12 @@ } - (int)addUser:(AgoraLiveTranscodingUser* _Nonnull)user; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita index 640bc315a54..e94d6b04c8c 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita @@ -15,17 +15,17 @@

public void addWatermark(AgoraImage watermark) { if (watermarkList == null) { - watermarkList = new ArrayList<AgoraImage>(); + watermarkList = new ArrayList<AgoraImage>(); } watermarkList.add(watermark); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita index 56b5d657ec4..1af7d0a6c0d 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita @@ -13,14 +13,14 @@

- + + (AgoraLiveTranscoding* _Nonnull)defaultTranscoding; - - - - - -

+ + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita index a1de9e8e006..ba40217f417 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita @@ -13,16 +13,16 @@

- public Map<String, Boolean> getAdvancedFeatures() { + public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; } - - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; - - - - - -

+ - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita index b8ef825ca72..22b1edf920d 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita @@ -16,13 +16,13 @@ public int getBackgroundColor() { return this.backgroundColor; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita index 92cfc15cf50..ebbf098e2ec 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita @@ -13,16 +13,16 @@

- public ArrayList<AgoraImage> getBackgroundImageList() { + public ArrayList<AgoraImage> getBackgroundImageList() { return backgroundImageList; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita index c02579215d2..5981a1d8ca7 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita @@ -17,13 +17,13 @@ public int getBlue() { return backgroundColor & 0x0ff; } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita index 40016158c43..05867394a1f 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita @@ -15,15 +15,15 @@

@Deprecated public int getGreen() { - return (backgroundColor >> 8) & 0x0ff; + return (backgroundColor >> 8) & 0x0ff; } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita index 741c7c0b093..8fd040efac3 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita @@ -15,15 +15,15 @@

@Deprecated public int getRed() { - return (backgroundColor >> 16) & 0x0ff; + return (backgroundColor >> 16) & 0x0ff; } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita index e239704b418..7b5fd1a6074 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita @@ -16,13 +16,13 @@ public int getUserCount() { return transcodingUsers.size(); } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita index 91f373a386c..c8dcd9f9e07 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita @@ -13,17 +13,17 @@

- public final ArrayList<TranscodingUser> getUsers() { - Collection<TranscodingUser> values = transcodingUsers.values(); - return new ArrayList<>(values); + public final ArrayList<TranscodingUser> getUsers() { + Collection<TranscodingUser> values = transcodingUsers.values(); + return new ArrayList<>(values); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita index 0a4c97d15d9..9ccf5fc3774 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita @@ -13,16 +13,16 @@

- public ArrayList<AgoraImage> getWatermarkList() { + public ArrayList<AgoraImage> getWatermarkList() { return watermarkList; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita index ac66dfea44c..a964ce46c7b 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita @@ -19,13 +19,13 @@ } return backgroundImageList.remove(backgroundImage); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita index 514b08a8215..057ad87aa71 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita @@ -22,12 +22,12 @@ return Constants.ERR_OK; } - (int)removeUser:(NSUInteger)uid; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita index 17ac059acf9..15cfe844dc3 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita @@ -19,13 +19,13 @@ } return watermarkList.remove(watermark); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita index 0afbbf68278..14281a52529 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita @@ -17,12 +17,12 @@ advancedFeatures.put(featureName, opened); } - (void)setAdvancedFeatures:(NSString* _Nonnull)featureName opened:(BOOL)opened; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita index 1d267a8d2a0..19fd1af22e1 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita @@ -16,13 +16,13 @@ public void setBackgroundColor(int color) { this.backgroundColor = color; } - - - - - - -

+ + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita index 8551fd71153..b6fa353f13a 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita @@ -16,13 +16,13 @@ public void setBackgroundColor(int red, int green, int blue) { this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita index 77d0bc1681c..7d898f75639 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita @@ -19,13 +19,13 @@ public void setBlue(int blue) { int green = getGreen(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita index 86eff43314e..10e497a3406 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita @@ -19,13 +19,13 @@ public void setGreen(int green) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita index 378e8be01fe..c20167cb0d4 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita @@ -19,13 +19,13 @@ public void setRed(int red) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita index c44dcbab9f5..48814b57b32 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita @@ -13,7 +13,7 @@

- public void setUsers(ArrayList<TranscodingUser> users) { + public void setUsers(ArrayList<TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { for (TranscodingUser user : users) { @@ -22,13 +22,13 @@ } userCount = transcodingUsers.size(); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita index fd20b1ded66..5351f5f9a4b 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita @@ -13,7 +13,7 @@

- public void setUsers(Map<Integer, TranscodingUser> users) { + public void setUsers(Map<Integer, TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { transcodingUsers.putAll(users); @@ -21,13 +21,13 @@ userCount = transcodingUsers.size(); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita b/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita index e768654978f..abd5a6afcf7 100644 --- a/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita @@ -19,8 +19,8 @@ - Future<void> initialize(); -

+ Future<void> initialize(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_monitordevicechange.dita b/en-US/dita/RTC-NG/API/api_monitordevicechange.dita index f5f63b4d6da..112834fdd45 100644 --- a/en-US/dita/RTC-NG/API/api_monitordevicechange.dita +++ b/en-US/dita/RTC-NG/API/api_monitordevicechange.dita @@ -13,14 +13,14 @@

- + - (void)monitorDeviceChange:(BOOL)enabled; virtual int enableLoopbackRecording(bool enabled) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita b/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita index 6a15c9bf076..571e6c49a24 100644 --- a/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual int getCount() = 0; abstract getCount(): number; - + abstract getCount(): number; - Future<int> getCount(); -

+ Future<int> getCount(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita b/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita index a9ccad8e2d8..3a16e81a388 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual int getCount() = 0; abstract getCount(): number; - + abstract getCount(): number; int getCount(); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita b/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita index dacbc9d6f53..4351c270547 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita @@ -13,14 +13,14 @@

- - + + virtual Music* getMusic(int32_t index) = 0; abstract getMusic(index: number): Music; - + abstract getMusic(index: number): Music; Music getMusic(int index); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita b/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita index 39128098f8f..d92de823b96 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita @@ -13,14 +13,14 @@

- - + + virtual int getPageSize() = 0; virtual int getPageSize() = 0; - + virtual int getPageSize() = 0; int getPageSize(); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita b/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita index 9fb640ba730..a0c27cb73ab 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita @@ -13,14 +13,14 @@

- - + + virtual int getTotal() = 0; abstract getTotal(): number; - + abstract getTotal(): number; int getTotal(); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita index a5556d0263a..a7c157b3197 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita index b18a24447ee..b8b61fa925c 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita b/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita index e257217eb51..5786574aafe 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita b/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita index 4ff7bbcb9e4..ecb327a9c91 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita index 7810f30bd2e..052212d8748 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita index 4c7e2be5364..af939bd026f 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita b/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita index 6b7d3ca4622..673e1e4c96d 100644 --- a/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita +++ b/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita @@ -19,7 +19,7 @@ Future<String?> getAssetAbsolutePath(String assetPath) -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_airplayconnected.dita b/en-US/dita/RTC-NG/API/callback_airplayconnected.dita index cf94afbd6e3..5c055f6a8ce 100644 --- a/en-US/dita/RTC-NG/API/callback_airplayconnected.dita +++ b/en-US/dita/RTC-NG/API/callback_airplayconnected.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita index 9615bc04ec1..1b1849479ad 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita @@ -16,15 +16,25 @@ public abstract void onMixedAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); - (void)onMixedEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; - virtual void OnMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; - - public virtual void OnMixedAudioEncodedFrame(IntPtr frameBufferPtr, int length, + virtual void onMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; + onMixedAudioEncodedFrame?( + frameBuffer: Uint8Array, + length: number, + audioEncodedFrameInfo: EncodedAudioFrameInfo + ): void; + public virtual void OnMixedAudioEncodedFrame(IntPtr frameBufferPtr, int length, EncodedAudioFrameInfo audioEncodedFrameInfo) { } - -

+ onMixedAudioEncodedFrame?( + frameBuffer: Uint8Array, + length: number, + audioEncodedFrameInfo: EncodedAudioFrameInfo + ): void; + final void Function(Uint8List frameBuffer, int length, + EncodedAudioFrameInfo audioEncodedFrameInfo)? onMixedAudioEncodedFrame; +

After calling and setting the audio profile as , you can get the mixed and encoded audio data of the local and all remote users through this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita index d3282ba2145..eeb9e743b10 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita @@ -17,13 +17,13 @@ ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); - (void)onPlaybackEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; - virtual void OnPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; + virtual void onPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; onPlaybackAudioEncodedFrame?( frameBuffer: Uint8Array, length: number, audioEncodedFrameInfo: EncodedAudioFrameInfo ): void; - public virtual void OnPlaybackAudioEncodedFrame(IntPtr frameBufferPtr, int length, + public virtual void OnPlaybackAudioEncodedFrame(IntPtr frameBufferPtr, int length, EncodedAudioFrameInfo audioEncodedFrameInfo) { @@ -34,7 +34,8 @@ audioEncodedFrameInfo: EncodedAudioFrameInfo ): void; final void Function(Uint8List frameBuffer, int length, - EncodedAudioFrameInfo audioEncodedFrameInfo)? onPlaybackAudioEncodedFrame;

+ EncodedAudioFrameInfo audioEncodedFrameInfo)? onPlaybackAudioEncodedFrame;
+

After calling and setting the encoded audio as , you can get encoded audio data of all remote users through this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita index 5b530ab4ce8..d286c48bd93 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita @@ -15,14 +15,15 @@

- virtual bool isMultipleChannelFrameWanted() { return false; } + virtual bool isMultipleChannelFrameWanted() { return false; } - public virtual bool IsMultipleChannelFrameWanted() + public virtual bool IsMultipleChannelFrameWanted() { return true; } -

+ +

After you register the audio frame observer, the SDK triggers this callback every time it captures an audio frame.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita index b1f127b6199..26ffda744d8 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita @@ -15,16 +15,17 @@

- + - public virtual bool OnPlaybackAudioFrameBeforeMixing(string channel_id, + public virtual bool OnPlaybackAudioFrameBeforeMixing(string channel_id, string uid, AudioFrame audio_frame) { return false; } -

+ +

After you successfully register the audio frame observer, if you set the return value of as , the SDK triggers this callback each time it receives an audio frame from any of the channels.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita index 9cf2029eade..ade89265c51 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita @@ -16,16 +16,15 @@ public abstract AudioParams getEarMonitoringAudioParams(); - (AgoraAudioParams* _Nonnull)getEarMonitoringAudioParams NS_SWIFT_NAME(getEarMonitoringAudioParams()); - virtual AudioParams getEarMonitoringAudioParams() = 0; - + virtual AudioParams getEarMonitoringAudioParams() = 0; - public virtual AudioParams GetEarMonitoringAudioParams() + public virtual AudioParams GetEarMonitoringAudioParams() { return new AudioParams(); } - - -

+ + +

diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita index 1ddc0357aa1..6c2259310d3 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita @@ -15,7 +15,7 @@

public void onConnectionStateChange(int state, int reason); - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine connectionDidChangedToState:(AgoraSaeConnectionState)state withReason:(AgoraSaeConnectionChangedReason)reason; - virtual void onConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} + virtual void onConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} public virtual void OnConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita index b2ad8730cac..607341a0631 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita @@ -15,11 +15,11 @@

public void onTeammateJoined(int uid); - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine teammateJoined:(NSUInteger)uid; - virtual void onTeammateJoined(uid_t uid) {} - - - -

+ virtual void onTeammateJoined(uid_t uid) {} + + public virtual void OnTeammateJoined(uint uid) {} + +

When a remote user with the same team ID calls to enter the current room, the local user receives this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita index 4a97d2d2c51..1b4cdc8da0f 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita @@ -15,11 +15,11 @@

public void onTeammateLeft(int uid); - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine teammateLeft:(NSUInteger)uid; - virtual void onTeammateLeft(uid_t uid) {} - - - -

+ virtual void onTeammateLeft(uid_t uid) {} + + public virtual void OnTeammateLeft(uint uid) {} + +

When a remote user in the current team calls to leave the current room, the local user receives this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita index 66adc8dc8d6..95e64cf46cd 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita @@ -15,11 +15,11 @@

public void onTokenWillExpire(); - (void)csaEngineTokenWillExpire:(AgoraCloudSpatialAudioKit* _Nonnull)engine; - virtual void onTokenWillExpire() {} - - - -

+ virtual void onTokenWillExpire() {} + onTokenWillExpire?(): void; + public virtual void OnTokenWillExpire() {} + +

Once the RTM token expires, the SDK triggers this callback to notify the app to renew the RTM token.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita index 7207d998bef..0a6eee0b64b 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita @@ -17,13 +17,13 @@ - (void)onAgoraCDNTokenWillExpire; - virtual void onAgoraCDNTokenWillExpire() = 0; + virtual void onAgoraCDNTokenWillExpire() = 0; - - public virtual void OnAgoraCDNTokenWillExpire() {} - onAgoraCDNTokenWillExpire?(): void; - final void Function()? onAgoraCDNTokenWillExpire; -

+ onAgoraCDNTokenWillExpire?(): void; + public virtual void OnAgoraCDNTokenWillExpire() {} + onAgoraCDNTokenWillExpire?(): void; + final void Function()? onAgoraCDNTokenWillExpire; +

If the ts is about to expire when you call the method to switch the CDN route for playing the media resource, the SDK triggers this callback to remind you to renew the authentication information. You need to call the method to pass in the updated authentication information to update the authentication information of the media resource URL. After updating the authentication information, you need to call to complete the route switching.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita index e2e7d069394..b03aa8c46ad 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita @@ -14,14 +14,15 @@

void onAudioVolumeIndication(int volume); - - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit volumeIndicationDidReceive:(NSInteger)volume; - virtual void onAudioVolumeIndication(int volume) = 0; - - public virtual void OnAudioVolumeIndication(int volume) {} - -

+ virtual void onAudioVolumeIndication(int volume) = 0; + onAudioVolumeIndication?(volume: number): void; + public virtual void OnAudioVolumeIndication(int volume) {} + onAudioVolumeIndication?(volume: number): void; + final void Function(int volume)? onAudioVolumeIndication; +

The SDK triggers this callback every 200 milliseconds to report the current volume of the media player.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita index f52c89f3ece..e68bee6d233 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita @@ -16,11 +16,12 @@ void onCompleted(); - virtual void onCompleted() = 0; - - public virtual void OnCompleted() { } - -

+ virtual void onCompleted() = 0; + onCompleted?(): void; + public virtual void OnCompleted() { } + onCompleted?(): void; + final void Function()? onCompleted; +

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita index 743a74d74b6..a5c4c0c34a9 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita @@ -15,16 +15,15 @@

void onPlayBufferUpdated(long playCachedBuffer); - - (void)AgoraMediaPlayer:(AgoraMediaPlayer *_Nonnull)playerKit - didPlayBufferUpdated:(NSInteger)playCachedBuffer; + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit + didPlayBufferUpdated:(NSInteger)playCachedBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didPlayBufferUpdated:)); + virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; - virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; - - - public virtual void OnPlayBufferUpdated(Int64 playCachedBuffer) { } - onPlayBufferUpdated?(playCachedBuffer: number): void; - final void Function(int playCachedBuffer)? onPlayBufferUpdated; -

+ onPlayBufferUpdated?(playCachedBuffer: number): void; + public virtual void OnPlayBufferUpdated(Int64 playCachedBuffer) { } + onPlayBufferUpdated?(playCachedBuffer: number): void; + final void Function(int playCachedBuffer)? onPlayBufferUpdated; +

When playing online media resources, the SDK triggers this callback every two seconds to report the playback duration that the currently buffered data can support.

    diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita index 608ec3fe1bb..92c38ec3ad4 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita @@ -15,15 +15,15 @@

    void onPlayerInfoUpdated(PlayerUpdatedInfo info); - - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit infoUpdated:(AgoraMediaPlayerUpdatedInfo *_Nonnull)info; + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit infoUpdated:(AgoraMediaPlayerUpdatedInfo *_Nonnull)info; - virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; + virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; - - public virtual void OnPlayerInfoUpdated(PlayerUpdatedInfo info) { } - onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; - final void Function(PlayerUpdatedInfo info)? onPlayerInfoUpdated; -

    + onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; + public virtual void OnPlayerInfoUpdated(PlayerUpdatedInfo info) { } + onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; + final void Function(PlayerUpdatedInfo info)? onPlayerInfoUpdated; +

When the information about the media player changes, the SDK triggers this callback. You can use this callback for troubleshooting.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita index b29b3cfe813..c97325b164f 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita @@ -15,15 +15,15 @@

void onPlayerSrcInfoChanged(SrcInfo from, SrcInfo to); - - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playerSrcInfoDidChange:(AgoraMediaPlayerSrcInfo *_Nonnull)to from:(AgoraMediaPlayerSrcInfo *_Nonnull)from; + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playerSrcInfoDidChange:(AgoraMediaPlayerSrcInfo *_Nonnull)to from:(AgoraMediaPlayerSrcInfo *_Nonnull)from; - virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; + virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; - - public virtual void OnPlayerSrcInfoChanged(SrcInfo from, SrcInfo to) {} - onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; - final void Function(SrcInfo from, SrcInfo to)? onPlayerSrcInfoChanged; -

+ onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; + public virtual void OnPlayerSrcInfoChanged(SrcInfo from, SrcInfo to) {} + onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; + final void Function(SrcInfo from, SrcInfo to)? onPlayerSrcInfoChanged; +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita b/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita index 3dc2e3bb49f..586ac4cda61 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita @@ -15,12 +15,12 @@

- - + onFrame?(frame: VideoFrame): void; - + onFrame?(frame: VideoFrame): void; - final void Function(VideoFrame frame)? onFrame;

+ final void Function(VideoFrame frame)? onFrame; +

After registering the video frame observer, the callback occurs every time the player receives a video frame, reporting the detailed information of the video frame.

diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita index afeed1e8e44..0c8ef0eaf9e 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita @@ -15,14 +15,14 @@

public abstract int getMaxMetadataSize(); - (NSInteger)metadataMaxSize; - virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; } - - public virtual int GetMaxMetadataSize() + virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; } + + public virtual int GetMaxMetadataSize() { return 0; } - -

+ +

After successfully complete the registration by calling , the SDK triggers this callback once every video frame is sent. You need to specify the maximum size of the metadata in the return value of this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita index d048a029f5c..bc93b9c48a6 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita @@ -13,14 +13,24 @@

- void onLyricResult(String requestId, String lyricUrl, int errorCode); - - (void)onLyricResult:(NSString*)requestId lyricUrl:(NSString* _Nullable)lyricUrl errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onLyricResult(const char* requestId, const char* lyricUrl, MusicContentCenterStatusCode error_code) = 0; - - onLyricResult?(requestId: string, lyricUrl: string): void; - public abstract void OnLyricResult(string requestId, string lyricUrl); - onLyricResult?(requestId: string, lyricUrl: string): void; - final void Function(String requestId, String lyricUrl)? onLyricResult; + void onLyricResult(String requestId, long songCode, String lyricUrl, int errorCode); + - (void)onLyricResult:(NSString*)requestId songCode:(NSInteger)songCode lyricUrl:(NSString* _Nullable)lyricUrl errorCode:(AgoraMusicContentCenterStatusCode)errorCode; + virtual void onLyricResult(const char* requestId, int64_t songCode, const char* lyricUrl, MusicContentCenterStatusCode errorCode) = 0; + onLyricResult?( + requestId: string, + songCode: number, + lyricUrl: string, + errorCode: MusicContentCenterStatusCode + ): void; + public abstract void OnLyricResult(string requestId, int64_t songCode, string lyricUrl, MusicContentCenterStatusCode errorCode); + onLyricResult?( + requestId: string, + songCode: number, + lyricUrl: string, + errorCode: MusicContentCenterStatusCode + ): void; + final void Function(String requestId, int songCode, String lyricUrl, + MusicContentCenterStatusCode errorCode)? onLyricResult;

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita index e6c2e4e369f..c052515ea7d 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita @@ -15,21 +15,20 @@

void onMusicChartsResult(String requestId, MusicChartInfo[] list, int errorCode); - (void)onMusicChartsResult:(NSString *)requestId result:(NSArray<AgoraMusicChartInfo*> *)result errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStatusCode error_code) = 0; - + virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStatusCode errorCode) = 0; onMusicChartsResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicChartInfo[] + result: MusicChartInfo[], + errorCode: MusicContentCenterStatusCode ): void; - public abstract void OnMusicChartsResult(string requestId, MusicChartInfo[] result, MusicContentCenterStatusCode error_code); + public abstract void OnMusicChartsResult(string requestId, MusicChartInfo[] result, MusicContentCenterStatusCode error_code); onMusicChartsResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicChartInfo[] + result: MusicChartInfo[], + errorCode: MusicContentCenterStatusCode ): void; - final void Function(String requestId, MusicContentCenterStatusCode status, - List<MusicChartInfo> result)? onMusicChartsResult; + final void Function(String requestId, List<MusicChartInfo> result, + MusicContentCenterStatusCode errorCode)? onMusicChartsResult;

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita index 2c84a7fd32c..47b39c830e4 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita @@ -16,21 +16,20 @@ void onMusicCollectionResult( String requestId, int page, int pageSize, int total, Music[] list, int errorCode); - (void)onMusicCollectionResult:(NSString *)requestId result:(AgoraMusicCollection *)result errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStatusCode error_code) = 0; - + virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStatusCode errorCode) = 0; onMusicCollectionResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicCollection + result: MusicCollection, + errorCode: MusicContentCenterStatusCode ): void; - public abstract void OnMusicCollectionResult(string requestId, MusicContentCenterStatusCode status, MusicCollection result); + public abstract void OnMusicCollectionResult(string requestId, MusicCollection result, MusicContentCenterStatusCode error_code); onMusicCollectionResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicCollection + result: MusicCollection, + errorCode: MusicContentCenterStatusCode ): void; - final void Function(String requestId, MusicContentCenterStatusCode status, - MusicCollection result)? onMusicCollectionResult; + final void Function(String requestId, MusicCollection result, + MusicContentCenterStatusCode errorCode)? onMusicCollectionResult;

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita index 023f16113b2..f435f6a3cef 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita @@ -13,27 +13,33 @@

- void onPreLoadEvent(long songCode, int percent, String lyricUrl, int status, int errorCode); - - (void)onPreLoadEvent:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl status:(AgoraMusicContentCenterPreloadStatus)status errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onPreLoadEvent(int64_t songCode, int percent, const char* lyricUrl, PreloadStatusCode status, MusicContentCenterStatusCode error_code) = 0; - + onPreLoadEvent(String requestId, long songCode, int percent, String lyricUrl, int status, int errorCode); + - (void)onPreLoadEvent:(NSString*)requestId songCode:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl status:(AgoraMusicContentCenterPreloadStatus)status errorCode:(AgoraMusicContentCenterStatusCode)errorCode; + virtual void onPreLoadEvent(const char* requestId, int64_t songCode, int percent, const char* lyricUrl, PreloadStatusCode status, MusicContentCenterStatusCode errorCode) = 0; onPreLoadEvent?( + requestId: string, songCode: number, percent: number, + lyricUrl: string, status: PreloadStatusCode, - msg: string, - lyricUrl?: string + errorCode: MusicContentCenterStatusCode ): void; - public abstract void OnPreLoadEvent(Int64 songCode, int percent, PreloadStatusCode status, string msg, string lyricUrl); + public abstract void OnPreLoadEvent(string requestId, Int64 songCode, int percent, string lyricUrl, PreloadStatusCode status, MusicContentCenterStatusCode errorCode); onPreLoadEvent?( + requestId: string, songCode: number, percent: number, + lyricUrl: string, status: PreloadStatusCode, - msg: string, - lyricUrl?: string + errorCode: MusicContentCenterStatusCode ): void; - final void Function(int songCode, int percent, PreloadStatusCode status, - String msg, String lyricUrl)? onPreLoadEvent; + final void Function( + String requestId, + int songCode, + int percent, + String lyricUrl, + PreloadStatusCode status, + MusicContentCenterStatusCode errorCode)? onPreLoadEvent;

diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita index 1bfefe6b062..8b8d61e4c73 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onReceiveAudioPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onReceiveAudioPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita index 85ddf80dd17..89e56738f80 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onReceiveVideoPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onReceiveVideoPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita index 19b1491ab50..8aa4670a01a 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onSendAudioPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onSendAudioPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita index 6ccbad3e451..398f872652e 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onSendVideoPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onSendVideoPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita index 28bc942e8df..009ed141b67 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita @@ -15,11 +15,12 @@

- + - + -

+ +

During the SDK runtime, the SDK triggers this callback when an error occurs in Electron.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita index f9bce293b7c..186c1cf943b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita @@ -15,13 +15,13 @@

public void onAudioEffectFinished(int soundId) {} - (void)rtcEngineDidAudioEffectFinish:(AgoraRtcEngineKit * _Nonnull)engine soundId:(int)soundId; - virtual void onAudioEffectFinished(int soundId) { + virtual void onAudioEffectFinished(int soundId) { } - onAudioEffectFinished?(soundId: number): void; - public virtual void OnAudioEffectFinished(int soundId) - onAudioEffectFinished?(soundId: number): void; - final void Function(int soundId)? onAudioEffectFinished; -

+ onAudioEffectFinished?(soundId: number): void; + public virtual void OnAudioEffectFinished(int soundId) + onAudioEffectFinished?(soundId: number): void; + final void Function(int soundId)? onAudioEffectFinished; +

This callback occurs when the local audio effect file finishes playing.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita index 02bf67cc05f..9972e47c0fc 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita @@ -15,13 +15,13 @@

public void onAudioMixingFinished() {} - (void)rtcEngineLocalAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onAudioMixingFinished() { + virtual void onAudioMixingFinished() { } - onAudioMixingFinished?(): void; - public virtual void OnAudioMixingFinished() - onAudioMixingFinished?(): void; - final void Function()? onAudioMixingFinished; -

+ onAudioMixingFinished?(): void; + public virtual void OnAudioMixingFinished() + onAudioMixingFinished?(): void; + final void Function()? onAudioMixingFinished; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita index 523dfac70de..c58feace25a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita @@ -15,12 +15,12 @@

public void onCameraReady() {} - (void)rtcEngineCameraDidReady:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onCameraReady() + virtual void onCameraReady() onCameraReady?(): void; - public virtual void OnCameraReady() + public virtual void OnCameraReady() onCameraReady?(): void; - final void Function()? onCameraReady; -

+ final void Function()? onCameraReady; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita index 782262fdd25..071e41503ce 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita @@ -15,11 +15,12 @@

- virtual void onDispose() = 0; + virtual void onDispose() = 0; - + -

+ +

The SDK triggers this callback to remind you to disable the custom video source device. This callback tells you that the SDK is about to release the object. Ensure that you no longer use after receiving this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita index dd86dfaf496..d833d2c1ac5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita @@ -14,15 +14,15 @@

public void onDownlinkNetworkInfoUpdated(DownlinkNetworkInfo info) {} - - virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) { + + virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) { (void)info; } - - - - final void Function(DownlinkNetworkInfo info)? onDownlinkNetworkInfoUpdated; -

+ + + + final void Function(DownlinkNetworkInfo info)? onDownlinkNetworkInfoUpdated; +

This callback is used for notifying the user to switch major/minor stream if needed.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita index b3613acbfa9..bd73bb4b976 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita @@ -19,7 +19,7 @@ error:(int)error message:(NSString * __nullable)message; - virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) { + virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) { (void)provider; (void)extension; (void)error; @@ -31,7 +31,7 @@ error: number, message: string ): void; - public virtual void OnExtensionError(string provider, string extension, int error, string message) { } + public virtual void OnExtensionError(string provider, string extension, int error, string message) { } onExtensionError?( provider: string, extension: string, @@ -40,8 +40,8 @@ ): void; final void Function( String provider, String extension, int error, String message)? - onExtensionError; -

+ onExtensionError;
+

When calling () fails or the extension runs in error, the extension triggers this callback and reports the error code and reason.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita index 08daa4bcb8c..89a97e2da46 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita @@ -17,15 +17,15 @@ - (void)onExtensionStopped:(NSString * __nullable)provider extension:(NSString * __nullable)extension; - virtual void onExtensionStopped(const char* provider, const char* extension) { + virtual void onExtensionStopped(const char* provider, const char* extension) { (void)provider; (void)extension; } - onExtensionStopped?(provider: string, extName: string): void; - public virtual void OnExtensionStopped(string provider, string ext_name) { } - onExtensionStopped?(provider: string, extName: string): void; - final void Function(String provider, String extName)? onExtensionStopped; -

+ onExtensionStopped?(provider: string, extension: string): void; + public virtual void OnExtensionStopped(string provider, string extension) { } + onExtensionStopped?(provider: string, extension: string): void; + final void Function(String provider, String extName)? onExtensionStopped; +

After a successful call of (), this callback is triggered.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita index 42126ff7fbf..a313724ee33 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita @@ -15,13 +15,14 @@

- virtual void onFirstLocalAudioFrame(int elapsed) { + virtual void onFirstLocalAudioFrame(int elapsed) { (void)elapsed; } - public virtual void OnFirstLocalAudioFrame(int elapsed) + public virtual void OnFirstLocalAudioFrame(int elapsed) -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita index da0d8ceec2c..3eb45f10e5f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita @@ -15,11 +15,12 @@

- virtual bool onInitialize(IVideoFrameConsumer *consumer) = 0; + virtual bool onInitialize(IVideoFrameConsumer *consumer) = 0; - + -

+ +

The SDK triggers this callback to remind you to initialize the custom video source. After receiving this callback, you can do some preparation, such as enabling the camera, and then use the return value to tell the SDK whether the custom video source is prepared.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita index d91171e64f7..345cd05804e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita @@ -13,15 +13,14 @@

- - - - - - - - final void Function(RtcConnection connection)? onIntraRequestReceived; -

+ + + + + + + final void Function(RtcConnection connection)? onIntraRequestReceived; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita index 1ff370e2479..ed48f71f433 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita @@ -16,14 +16,14 @@ public void onLastmileProbeResult(LastmileProbeResult result) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileProbeTestResult:(AgoraLastmileProbeResult * _Nonnull)result; - virtual void onLastmileProbeResult(const LastmileProbeResult& result) { + virtual void onLastmileProbeResult(const LastmileProbeResult& result) { (void)result; } - onLastmileProbeResult?(result: LastmileProbeResult): void; - public virtual void OnLastmileProbeResult(LastmileProbeResult result) - onLastmileProbeResult?(result: LastmileProbeResult): void; - final void Function(LastmileProbeResult result)? onLastmileProbeResult; -

+ onLastmileProbeResult?(result: LastmileProbeResult): void; + public virtual void OnLastmileProbeResult(LastmileProbeResult result) + onLastmileProbeResult?(result: LastmileProbeResult): void; + final void Function(LastmileProbeResult result)? onLastmileProbeResult; +

The SDK triggers this callback within 30 seconds after the app calls .

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita index ecaca1eb2a8..8d210a0484d 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita @@ -11,18 +11,19 @@
-

- public void onLocalPublishFallbackToAudioOnly(boolean isFallbackOrRecover) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine +

+ public void onLocalPublishFallbackToAudioOnly(boolean isFallbackOrRecover) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalPublishFallbackToAudioOnly:(BOOL)isFallbackOrRecover; - virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) { + virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) { (void)isFallbackOrRecover; } - on(evt: EngineEvents.LOCAL_PUBLISH_FALLBACK_TO_AUDIO_ONLY, cb: (isFallbackOrRecover: boolean) => void): this; - public virtual void OnLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) - - FallbackCallback? localPublishFallbackToAudioOnly; -

+ + public virtual void OnLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) + + final void Function(bool isFallbackOrRecover)? + onLocalPublishFallbackToAudioOnly; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita index c9b109c03f0..3099969b9e3 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita @@ -15,16 +15,16 @@

public void onLocalUserRegistered(int uid, String userAccount) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalUserRegisteredWithUserId:(NSUInteger)uid userAccount:(NSString * _Nonnull)userAccount; - virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { + virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { (void)uid; (void)userAccount; } - onLocalUserRegistered?(uid: number, userAccount: string): void; - public virtual void OnLocalUserRegistered(uint uid, string userAccount) {} - onLocalUserRegistered?(uid: number, userAccount: string): void; + onLocalUserRegistered?(uid: number, userAccount: string): void; + public virtual void OnLocalUserRegistered(uint uid, string userAccount) {} + onLocalUserRegistered?(uid: number, userAccount: string): void; final void Function(bool isFallbackOrRecover)? - onLocalPublishFallbackToAudioOnly; -

+ onLocalPublishFallbackToAudioOnly; +

After the local user successfully calls to register the user account or calls to join a channel, the SDK triggers the callback and informs the local user's UID and User Account.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita index 26cf5dfa741..c460f73b6c8 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita @@ -11,15 +11,14 @@
-

- - - virtual void onMicrophoneEnabled(bool enabled) { (void)enabled; } - on(evt: EngineEvents.MICROPHONE_ENABLED, cb: (enabled: boolean) => void): this; - public virtual void OnMicrophoneEnabled(bool enabled) - - EnabledCallback? microphoneEnabled; -

+

+ + + virtual void onMicrophoneEnabled(bool enabled) { (void)enabled; } + + public virtual void OnMicrophoneEnabled(bool enabled) + +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita index d9eb108e38b..d7838406155 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita @@ -15,11 +15,12 @@

- (void)rtcEngineRemoteAudioMixingDidStart:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onRemoteAudioMixingBegin() + virtual void onRemoteAudioMixingBegin() - public virtual void OnRemoteAudioMixingBegin() + public virtual void OnRemoteAudioMixingBegin() -

+ +

When a remote user calls to play the background music, the SDK reports this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita index 157ce232fed..b73d84a41a5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita @@ -11,15 +11,15 @@
-

- - - (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onRemoteAudioMixingEnd() - on(evt: EngineEvents.REMOTE_AUDIO_MIXING_END, cb: () => void): this; - public virtual void OnRemoteAudioMixingEnd() - - EmptyCallback? remoteAudioMixingEnd; -

+

+ + - (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; + virtual void onRemoteAudioMixingEnd() + + public virtual void OnRemoteAudioMixingEnd() + + +

The SDK triggers this callback when a remote user finishes audio mixing.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita index 22b03a6395e..22320504a5b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita @@ -11,22 +11,26 @@
-

- public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine +

+ public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRemoteSubscribeFallbackToAudioOnly:(BOOL)isFallbackOrRecover byUid:(NSUInteger)uid; - virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) { + virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) { (void)uid; (void)isFallbackOrRecover; } - on( - evt: EngineEvents.REMOTE_SUBSCRIBE_FALLBACK_TO_AUDIO_ONLY, - cb: (uid: number, isFallbackOrRecover: boolean) => void -): this; - public virtual void OnRemoteSubscribeFallbackToAudioOnly(uint uid, bool isFallbackOrRecover) - - FallbackWithUidCallback? remoteSubscribeFallbackToAudioOnly; -

+ onRemoteSubscribeFallbackToAudioOnly?( + uid: number, + isFallbackOrRecover: boolean + ): void; + public virtual void OnRemoteSubscribeFallbackToAudioOnly(uint uid, bool isFallbackOrRecover) + onRemoteSubscribeFallbackToAudioOnly?( + uid: number, + isFallbackOrRecover: boolean + ): void; + final void Function(int uid, bool isFallbackOrRecover)? + onRemoteSubscribeFallbackToAudioOnly; +

If you call and set option as , the SDK triggers this callback when the remote media stream falls back to audio-only mode due to poor uplink conditions, or when the remote media stream switches back to the video after the downlink network condition improves.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita index f19371cddd0..95a99da3e71 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita @@ -13,14 +13,14 @@

- - - - - public virtual void OnRequestAudioFileInfo(AudioFileInfo info, AUDIO_FILE_INFO_ERROR error) - - RequestAudioFileInfoCallback? requestAudioFileInfoCallback; -

+ + + + + public virtual void OnRequestAudioFileInfo(AudioFileInfo info, AUDIO_FILE_INFO_ERROR error) + + +

After successfully calling , the SDK triggers this callback to report the information of the audio file, such as the file path and duration.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita index 58145908481..a6f4ba9d883 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita @@ -15,11 +15,12 @@

- + - public virtual void OnScreenCaptureInfoUpdated(ScreenCaptureInfo info) + public virtual void OnScreenCaptureInfoUpdated(ScreenCaptureInfo info) - OnScreenCaptureInfoUpdated? screenCaptureInfoUpdated;

+ +

When you call or to start screen sharing and use the excludeWindowList attribute to block the specified window, the SDK triggers this callback if the window blocking fails.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita index 56f688e5f68..93089fc8f92 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita @@ -11,15 +11,15 @@
-

- - - virtual bool onStart() = 0; - - - - -

+

+ + + virtual bool onStart() = 0; + + + + +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita index 5b44aef4c68..a7b8a50ece8 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita @@ -11,15 +11,15 @@
-

- - - virtual void onStop() = 0; - - - - -

+

+ + + virtual void onStop() = 0; + + + + +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita index fc1ed7f1107..f0a199528bb 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita @@ -16,7 +16,7 @@ public void onStreamInjectedStatus(String url, int uid, int status) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamInjectedStatusOfUrl:(NSString * _Nonnull)url uid:(NSUInteger)uid status:(AgoraInjectStreamStatus)status; - virtual void onStreamInjectedStatus(const char* url, uid_t uid, int status) { + virtual void onStreamInjectedStatus(const char* url, uid_t uid, int status) { (void)url; (void)uid; (void)status; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita index 3907583b1be..5f237c55e35 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita @@ -16,14 +16,14 @@ public void onStreamUnpublished(String url) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamUnpublishedWithUrl:(NSString * _Nonnull)url; - virtual void onStreamUnpublished(const char *url) { + virtual void onStreamUnpublished(const char *url) { (void)url; } onStreamUnpublished?(url: string): void; - public virtual void OnStreamUnpublished(string url) + public virtual void OnStreamUnpublished(string url) onStreamUnpublished?(url: string): void; - final void Function(String url)? onStreamUnpublished; -

+ final void Function(String url)? onStreamUnpublished; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita index 4d34fdf6ae2..02793dd7e49 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita @@ -15,12 +15,12 @@

public void onTranscodingUpdated() {} - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onTranscodingUpdated() - onTranscodingUpdated?(): void; - public virtual void OnTranscodingUpdated() - onTranscodingUpdated?(): void; - final void Function()? onTranscodingUpdated; -

+ virtual void onTranscodingUpdated() + onTranscodingUpdated?(): void; + public virtual void OnTranscodingUpdated() + onTranscodingUpdated?(): void; + final void Function()? onTranscodingUpdated; +

When the class in the method updates, the SDK triggers the callback to report the update information.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita index d9c938c6f4f..385f7dc666c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita @@ -11,26 +11,23 @@
-

- - - virtual void onUploadLogResult(const char* requestId, +

+ + + virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) { (void)requestId; (void)success; (void)reason; } - on(evt: EngineEvents.UPLOAD_LOG_RESULT, cb: ( - requestId: string, - success: boolean, - reason: number - ) => void): this; - public virtual void OnUploadLogResult(string requestId, bool success, UPLOAD_ERROR_REASON reason) - - UploadLogResultCallback? uploadLogResult; -

-
+ + public virtual void OnUploadLogResult(string requestId, bool success, UPLOAD_ERROR_REASON reason) + + final void Function(RtcConnection connection, String requestId, bool success, + UploadErrorReason reason)? onUploadLogResult; +

+
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita index 279bd32daf9..20e85f4a574 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita index 0403bbc132c..9819cd00bff 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita index 39f851e3aa8..c2d1802695e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita index 559de06f8ee..f471d83c9d5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita @@ -15,12 +15,12 @@

public void onVideoStopped() {} - (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onVideoStopped() - onVideoStopped?(): void; - public virtual void OnVideoStopped() - onVideoStopped?(): void; - final void Function()? onVideoStopped; -

+ virtual void onVideoStopped() + onVideoStopped?(): void; + public virtual void OnVideoStopped() + onVideoStopped?(): void; + final void Function()? onVideoStopped; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita index cc3f491e62c..7d947e4045a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -21,7 +21,7 @@ oldState:(AgoraStreamSubscribeState)oldState newState:(AgoraStreamSubscribeState)newState elapseSinceLastState:(int)elapseSinceLastState; - virtual void onVideoSubscribeStateChanged(const char* channel, + virtual void onVideoSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, @@ -32,23 +32,29 @@ (void)newState; (void)elapseSinceLastState; } - onVideoSubscribeStateChanged?(channel: string, uid: number, oldState: StreamSubscribeState, newState: StreamSubscribeState, elapseSinceLastState: number): void; - public virtual void OnVideoSubscribeStateChanged(string channel, uint uid, STREAM_SUBSCRIBE_STATE oldState, + onVideoSubscribeStateChanged?( + channel: string, + uid: number, + oldState: StreamSubscribeState, + newState: StreamSubscribeState, + elapseSinceLastState: number + ): void; + public virtual void OnVideoSubscribeStateChanged(string channel, uint uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) - onVideoSubscribeStateChanged?( - channel: string, - uid: number, - oldState: StreamSubscribeState, - newState: StreamSubscribeState, - elapseSinceLastState: number -): void; + onVideoSubscribeStateChanged?( + channel: string, + uid: number, + oldState: StreamSubscribeState, + newState: StreamSubscribeState, + elapseSinceLastState: number + ): void; final void Function( String channel, int uid, StreamSubscribeState oldState, StreamSubscribeState newState, - int elapseSinceLastState)? onVideoSubscribeStateChanged; -

+ int elapseSinceLastState)? onVideoSubscribeStateChanged;
+

<ph keyref="callback-section-title"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita index d54911aacf5..acd1811d4d4 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita @@ -13,15 +13,15 @@

- - - - - public virtual void OnVirtualBackgroundSourceEnabled(bool enabled, + + + + + public virtual void OnVirtualBackgroundSourceEnabled(bool enabled, VIRTUAL_BACKGROUND_SOURCE_STATE_REASON reason) - - VirtualBackgroundSourceEnabledCallback? virtualBackgroundSourceEnabled; -

+ + There are no corresponding names available +

After you call , the SDK triggers this callback to report whether virtual background is successfully enabled.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita index 8849faa74c9..6082008aa76 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita index 791a62d85ad..a5a1e0fd7ed 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita @@ -15,11 +15,12 @@

- virtual bool getSmoothRenderingEnabled(){ return false; } + virtual bool getSmoothRenderingEnabled(){ return false; } - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita index e121f563045..54d9a0f8c7d 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita @@ -15,13 +15,13 @@

int getVideoFrameProcessMode(); - (AgoraVideoFrameProcessMode)getVideoFrameProcessMode; - virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { + virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { return PROCESS_MODE_READ_ONLY; } - - - -

+ + + +

After you successfully register the video frame observer, the SDK triggers this callback each time it receives a video frame. You need to set your preferred process mode in the return value of this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita index cd6125088d0..bc403c45b89 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita @@ -15,17 +15,18 @@

- virtual bool onRenderVideoFrameEx(const char *channelId, - unsigned int uid, + virtual bool onRenderVideoFrameEx(const char *channelId, + unsigned int uid, VideoFrame& videoFrame) { return true; } - public virtual bool OnRenderVideoFrameEx(string channelId, uint uid, VideoFrame videoFrame) + public virtual bool OnRenderVideoFrameEx(string channelId, uint uid, VideoFrame videoFrame) { return true; } -

+ +

After you successfully register the video frame observer, if you set the return value of as , the SDK triggers this callback each time it receives a video frame from any of the channel.

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita index 84c2a7d5e15..8c17ff9cf77 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita index 6bd4a1d2b47..5310834e3e9 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita index e33b4ac3d98..a5603adb60f 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita index b506e33de72..a81a7f04cbd 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita index 4eed7155bb1..c8d1d8750a1 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita index 09563c83860..91bc6ee41b6 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita b/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita index a4d751e1d38..87e64dfc0ff 100644 --- a/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita +++ b/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita @@ -13,14 +13,13 @@

- - - - - - public event OnTextureSizeModifyHandler OnTextureSizeModify; - -

+ + + + + public event OnTextureSizeModifyHandler OnTextureSizeModify; + +

When the width and height of Texture are changed, the SDK triggers this callback.

diff --git a/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index 48f3597553f..57a0eb46e3d 100644 --- a/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -59,8 +59,8 @@ return logUploadServer; } }; - public ArrayList<String> ipList = null; - public ArrayList<String> domainList = null; + public ArrayList<String> ipList = null; + public ArrayList<String> domainList = null; public String verifyDomainName = null; public int mode = Constants.LOCAL_RPOXY_CONNECTIVITY_FIRST; public AdvancedConfigInfo advancedConfig = null; @@ -146,13 +146,13 @@ this.advancedConfig}); @JsonKey(name: 'ipList') - final List<String>? ipList; + final List<String>? ipList; @JsonKey(name: 'ipListSize') final int? ipListSize; @JsonKey(name: 'domainList') - final List<String>? domainList; + final List<String>? domainList; @JsonKey(name: 'domainListSize') final int? domainListSize; @@ -166,12 +166,12 @@ @JsonKey(name: 'advancedConfig') final AdvancedConfigInfo? advancedConfig; - factory LocalAccessPointConfiguration.fromJson(Map<String, dynamic> json) => + factory LocalAccessPointConfiguration.fromJson(Map<String, dynamic> json) => _$LocalAccessPointConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$LocalAccessPointConfigurationToJson(this); + Map<String, dynamic> toJson() => _$LocalAccessPointConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita b/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita index 143b9a0dcd7..cbccee3cc49 100644 --- a/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita +++ b/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita @@ -57,7 +57,7 @@ _$AdvancedAudioOptionsFromJson(json); Map<String, dynamic> toJson() => _$AdvancedAudioOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita b/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita index fa4f58ffe99..4b93c2f4d69 100644 --- a/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita +++ b/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita @@ -25,7 +25,7 @@ <codeblock props="electron" outputclass="language-typescript">export class AdvancedConfigInfo { logUploadServer?: LogUploadServerInfo; }</codeblock> - <codeblock props="unity cs" outputclass="language-csharp" /> + <codeblock props="unity cs" outputclass="language-csharp"/> <codeblock props="rn" outputclass="language-typescript">export class AdvancedConfigInfo { logUploadServer?: LogUploadServerInfo; }</codeblock> @@ -35,12 +35,12 @@ @JsonKey(name: 'logUploadServer') final LogUploadServerInfo? logUploadServer; - factory AdvancedConfigInfo.fromJson(Map<String, dynamic> json) => + factory AdvancedConfigInfo.fromJson(Map<String, dynamic> json) => _$AdvancedConfigInfoFromJson(json); - Map<String, dynamic> toJson() => _$AdvancedConfigInfoToJson(this); + Map<String, dynamic> toJson() => _$AdvancedConfigInfoToJson(this); }</codeblock> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="detailed_desc"> <dl outputclass="since"> diff --git a/en-US/dita/RTC-NG/API/class_advanceoptions.dita b/en-US/dita/RTC-NG/API/class_advanceoptions.dita index 0dc3b8188c3..e4025e425ea 100644 --- a/en-US/dita/RTC-NG/API/class_advanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_advanceoptions.dita @@ -75,12 +75,12 @@ @JsonKey(name: 'compressionPreference') final CompressionPreference? compressionPreference; - factory AdvanceOptions.fromJson(Map<String, dynamic> json) => + factory AdvanceOptions.fromJson(Map<String, dynamic> json) => _$AdvanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this); }</codeblock> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="detailed_desc"> <dl outputclass="since"> diff --git a/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita index 00e2495f967..a2154b2588c 100644 --- a/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -20,12 +20,12 @@ @property(assign, nonatomic) NSInteger height NS_SWIFT_NAME(height); @property(assign, nonatomic) NSInteger distance NS_SWIFT_NAME(distance); @end</codeblock> - <codeblock props="cpp unreal" outputclass="language-cpp" /> - <codeblock props="electron" outputclass="language-typescript" /> - <codeblock props="unity cs" outputclass="language-csharp" /> - <codeblock props="rn" outputclass="language-typescript" /> - <codeblock props="flutter" outputclass="language-dart" /> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="cpp unreal" outputclass="language-cpp"/> + <codeblock props="electron" outputclass="language-typescript"/> + <codeblock props="unity cs" outputclass="language-csharp"/> + <codeblock props="rn" outputclass="language-typescript"/> + <codeblock props="flutter" outputclass="language-dart"/> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="parameters"> <title><text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita b/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita index 1fedcefe046..9798b68eb6d 100644 --- a/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita @@ -69,7 +69,7 @@ _$AgoraRhythmPlayerConfigFromJson(json); Map<String, dynamic> toJson() => _$AgoraRhythmPlayerConfigToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita b/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita index 2d9c9034430..7fbb15398c7 100644 --- a/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita @@ -6,19 +6,19 @@

- + __attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; @property(copy, nonatomic) NSString *_Nullable deviceId; @property(copy, nonatomic) NSString *_Nullable deviceName; @end - - - - - -

+ + + + + +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_agorartcexception.dita b/en-US/dita/RTC-NG/API/class_agorartcexception.dita index e0e0d11240e..3070d8c670c 100644 --- a/en-US/dita/RTC-NG/API/class_agorartcexception.dita +++ b/en-US/dita/RTC-NG/API/class_agorartcexception.dita @@ -6,20 +6,20 @@

- - - - - - + + + + + + class AgoraRtcException implements Exception { AgoraRtcException({required this.code, this.message}); final int code; final String? message; @override - String toString() => 'AgoraRtcException($code, $message)'; + String toString() => 'AgoraRtcException($code, $message)'; } -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/class_agoravideoview.dita b/en-US/dita/RTC-NG/API/class_agoravideoview.dita index 78c8c6db727..3e8a3501edd 100644 --- a/en-US/dita/RTC-NG/API/class_agoravideoview.dita +++ b/en-US/dita/RTC-NG/API/class_agoravideoview.dita @@ -24,7 +24,7 @@ @override State<AgoraVideoView> createState() => AgoraVideoViewState(); } -

+

diff --git a/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita b/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita index 013d09c6f28..92fb23d9d79 100644 --- a/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita @@ -6,14 +6,14 @@

- - - + + + export class AudioDeviceInfo { deviceId?: string; deviceName?: string; } - + export class AudioDeviceInfo { deviceId?: string; deviceName?: string; @@ -29,7 +29,7 @@ _$AudioDeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$AudioDeviceInfoToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita b/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita index 37d7ef8d682..66dea457c47 100644 --- a/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita +++ b/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita @@ -21,11 +21,11 @@ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS = 1, AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS = 2, }; - - - - -

+ + + + +

diff --git a/en-US/dita/RTC-NG/API/class_audioframe.dita b/en-US/dita/RTC-NG/API/class_audioframe.dita index 3a981dd4e6c..48bdb86a548 100644 --- a/en-US/dita/RTC-NG/API/class_audioframe.dita +++ b/en-US/dita/RTC-NG/API/class_audioframe.dita @@ -149,7 +149,7 @@ this.buffer, this.renderTimeMs, this.avsyncType}); -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audioparams.dita b/en-US/dita/RTC-NG/API/class_audioparams.dita index 8e884f6f6d3..1e955dcd393 100644 --- a/en-US/dita/RTC-NG/API/class_audioparams.dita +++ b/en-US/dita/RTC-NG/API/class_audioparams.dita @@ -98,12 +98,12 @@ @JsonKey(name: 'samples_per_call') final int? samplesPerCall; - factory AudioParams.fromJson(Map<String, dynamic> json) => + factory AudioParams.fromJson(Map<String, dynamic> json) => _$AudioParamsFromJson(json); - Map<String, dynamic> toJson() => _$AudioParamsToJson(this); + Map<String, dynamic> toJson() => _$AudioParamsToJson(this); } -

+

You can pass the object in the following APIs to set the audio data format for the corresponding callback:

    diff --git a/en-US/dita/RTC-NG/API/class_audiopcmframe.dita b/en-US/dita/RTC-NG/API/class_audiopcmframe.dita index 2b5f283aa3f..24473786c4a 100644 --- a/en-US/dita/RTC-NG/API/class_audiopcmframe.dita +++ b/en-US/dita/RTC-NG/API/class_audiopcmframe.dita @@ -80,14 +80,14 @@ final BytesPerSample? bytesPerSample; @JsonKey(name: 'data_') - final List<int>? data; + final List<int>? data; - factory AudioPcmFrame.fromJson(Map<String, dynamic> json) => + factory AudioPcmFrame.fromJson(Map<String, dynamic> json) => _$AudioPcmFrameFromJson(json); - Map<String, dynamic> toJson() => _$AudioPcmFrameToJson(this); + Map<String, dynamic> toJson() => _$AudioPcmFrameToJson(this); } -

    +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index b694d999d95..039b4d298c6 100644 --- a/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -164,12 +164,12 @@ @JsonKey(name: 'recordingChannel') final int? recordingChannel; - factory AudioRecordingConfiguration.fromJson(Map<String, dynamic> json) => + factory AudioRecordingConfiguration.fromJson(Map<String, dynamic> json) => _$AudioRecordingConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$AudioRecordingConfigurationToJson(this); + Map<String, dynamic> toJson() => _$AudioRecordingConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita b/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita index 803061ef046..8fd12f4496d 100644 --- a/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita +++ b/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita @@ -48,7 +48,7 @@ _$AudioSpectrumDataFromJson(json); Map<String, dynamic> toJson() => _$AudioSpectrumDataToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita index 9403c246cbb..cc80c0731ee 100644 --- a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -53,12 +53,12 @@ class AudioTrackConfig { @JsonKey(name: 'enableLocalPlayback') final bool? enableLocalPlayback; - factory AudioTrackConfig.fromJson(Map<String, dynamic> json) => + factory AudioTrackConfig.fromJson(Map<String, dynamic> json) => _$AudioTrackConfigFromJson(json); - Map<String, dynamic> toJson() => _$AudioTrackConfigToJson(this); + Map<String, dynamic> toJson() => _$AudioTrackConfigToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita b/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita index 0a33d4f694b..aecaa2140fe 100644 --- a/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -84,7 +84,7 @@ _$AudioVolumeInfoFromJson(json); Map<String, dynamic> toJson() => _$AudioVolumeInfoToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_cachestatistics.dita b/en-US/dita/RTC-NG/API/class_cachestatistics.dita index bd0cb0d6d09..412c4cf3a10 100644 --- a/en-US/dita/RTC-NG/API/class_cachestatistics.dita +++ b/en-US/dita/RTC-NG/API/class_cachestatistics.dita @@ -61,12 +61,12 @@ @JsonKey(name: 'downloadSize') final int? downloadSize; - factory CacheStatistics.fromJson(Map<String, dynamic> json) => + factory CacheStatistics.fromJson(Map<String, dynamic> json) => _$CacheStatisticsFromJson(json); - Map<String, dynamic> toJson() => _$CacheStatisticsToJson(this); + Map<String, dynamic> toJson() => _$CacheStatisticsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index c0f274a22e8..ac48f90eaed 100644 --- a/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -199,12 +199,12 @@ @JsonKey(name: 'followEncodeDimensionRatio') final bool? followEncodeDimensionRatio; - factory CameraCapturerConfiguration.fromJson(Map<String, dynamic> json) => + factory CameraCapturerConfiguration.fromJson(Map<String, dynamic> json) => _$CameraCapturerConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$CameraCapturerConfigurationToJson(this); + Map<String, dynamic> toJson() => _$CameraCapturerConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_channel.dita b/en-US/dita/RTC-NG/API/class_channel.dita index 1170ac2ed9f..fb292226bf6 100644 --- a/en-US/dita/RTC-NG/API/class_channel.dita +++ b/en-US/dita/RTC-NG/API/class_channel.dita @@ -6,14 +6,14 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> - <codeblock props="android" outputclass="language-java" /> - <codeblock props="ios mac" outputclass="language-objectivec" /> - <codeblock props="cpp unreal" outputclass="language-cpp" /> - <codeblock props="electron" outputclass="language-typescript" /> - <codeblock props="unity cs" outputclass="language-csharp" /> - <codeblock props="rn" outputclass="language-typescript" /> - <codeblock props="flutter" outputclass="language-dart" /> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="android" outputclass="language-java"/> + <codeblock props="ios mac" outputclass="language-objectivec"/> + <codeblock props="cpp unreal" outputclass="language-cpp"/> + <codeblock props="electron" outputclass="language-typescript"/> + <codeblock props="unity cs" outputclass="language-csharp"/> + <codeblock props="rn" outputclass="language-typescript"/> + <codeblock props="flutter" outputclass="language-dart"/> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="detailed_desc"> <p>The channel information. You can set it as one of the following values:<ul> diff --git a/en-US/dita/RTC-NG/API/class_channelmediainfo.dita b/en-US/dita/RTC-NG/API/class_channelmediainfo.dita index 20c6f3872b9..be623d483d9 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediainfo.dita @@ -68,7 +68,7 @@ _$ChannelMediaInfoFromJson(json); Map<String, dynamic> toJson() => _$ChannelMediaInfoToJson(this); }</codeblock> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="parameters"> <title> <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita index 4e662aba898..9762bb05840 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -80,8 +80,8 @@ struct ChannelMediaOptions { Optional<bool> publishCameraTrack; Optional<bool> publishSecondaryCameraTrack; - Optional<bool> publishThirdCameraTrack; - Optional<bool> publishFourthCameraTrack; + Optional<bool> publishThirdCameraTrack; + Optional<bool> publishFourthCameraTrack; Optional<bool> publishMicrophoneTrack; #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) @@ -90,8 +90,8 @@ #else Optional<bool> publishScreenTrack; Optional<bool> publishSecondaryScreenTrack; - Optional<bool> publishThirdScreenTrack; - Optional<bool> publishFourthScreenTrack; + Optional<bool> publishThirdScreenTrack; + Optional<bool> publishFourthScreenTrack; #endif Optional<bool> publishCustomAudioTrack; @@ -223,37 +223,37 @@ } public class ChannelMediaOptions : OptionalJsonParse { - public Optional<bool> publishCameraTrack = new Optional<bool>(); - public Optional<bool> publishSecondaryCameraTrack = new Optional<bool>(); - public Optional<bool> publishThirdCameraTrack = new Optional<bool>(); - public Optional<bool> publishFourthCameraTrack = new Optional<bool>(); - public Optional<bool> publishMicrophoneTrack = new Optional<bool>(); - public Optional<bool> publishScreenCaptureVideo = new Optional<bool>(); - public Optional<bool> publishScreenCaptureAudio = new Optional<bool>(); - public Optional<bool> publishScreenTrack = new Optional<bool>(); - public Optional<bool> publishSecondaryScreenTrack = new Optional<bool>(); - public Optional<bool> publishThirdScreenTrack = new Optional<bool>(); - public Optional<bool> publishFourthScreenTrack = new Optional<bool>(); - public Optional<bool> publishCustomAudioTrack = new Optional<bool>(); - public Optional<int> publishCustomAudioTrackId = new Optional<int>(); - public Optional<bool> publishCustomVideoTrack = new Optional<bool>(); - public Optional<bool> publishEncodedVideoTrack = new Optional<bool>(); - public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); - public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); - public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); - public Optional<bool> autoSubscribeAudio = new Optional<bool>(); - public Optional<bool> autoSubscribeVideo = new Optional<bool>(); - public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); - public Optional<int> publishMediaPlayerId = new Optional<int>(); - public Optional<CLIENT_ROLE_TYPE> clientRoleType = new Optional<CLIENT_ROLE_TYPE>(); - public Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel = new Optional<AUDIENCE_LATENCY_LEVEL_TYPE>(); - public Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType = new Optional<VIDEO_STREAM_TYPE>(); - public Optional<CHANNEL_PROFILE_TYPE> channelProfile = new Optional<CHANNEL_PROFILE_TYPE>(); - public Optional<string> token = new Optional<string>(); - public Optional<bool> publishRhythmPlayerTrack = new Optional<bool>(); - public Optional<bool> isInteractiveAudience = new Optional<bool>(); - public Optional<video_track_id_t> customVideoTrackId = new Optional<video_track_id_t>(); - public Optional<bool> isAudioFilterable = new Optional<bool>(); + public Optional<bool> publishCameraTrack = new Optional<bool>(); + public Optional<bool> publishSecondaryCameraTrack = new Optional<bool>(); + public Optional<bool> publishThirdCameraTrack = new Optional<bool>(); + public Optional<bool> publishFourthCameraTrack = new Optional<bool>(); + public Optional<bool> publishMicrophoneTrack = new Optional<bool>(); + public Optional<bool> publishScreenCaptureVideo = new Optional<bool>(); + public Optional<bool> publishScreenCaptureAudio = new Optional<bool>(); + public Optional<bool> publishScreenTrack = new Optional<bool>(); + public Optional<bool> publishSecondaryScreenTrack = new Optional<bool>(); + public Optional<bool> publishThirdScreenTrack = new Optional<bool>(); + public Optional<bool> publishFourthScreenTrack = new Optional<bool>(); + public Optional<bool> publishCustomAudioTrack = new Optional<bool>(); + public Optional<int> publishCustomAudioTrackId = new Optional<int>(); + public Optional<bool> publishCustomVideoTrack = new Optional<bool>(); + public Optional<bool> publishEncodedVideoTrack = new Optional<bool>(); + public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); + public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); + public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); + public Optional<bool> autoSubscribeAudio = new Optional<bool>(); + public Optional<bool> autoSubscribeVideo = new Optional<bool>(); + public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); + public Optional<int> publishMediaPlayerId = new Optional<int>(); + public Optional<CLIENT_ROLE_TYPE> clientRoleType = new Optional<CLIENT_ROLE_TYPE>(); + public Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel = new Optional<AUDIENCE_LATENCY_LEVEL_TYPE>(); + public Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType = new Optional<VIDEO_STREAM_TYPE>(); + public Optional<CHANNEL_PROFILE_TYPE> channelProfile = new Optional<CHANNEL_PROFILE_TYPE>(); + public Optional<string> token = new Optional<string>(); + public Optional<bool> publishRhythmPlayerTrack = new Optional<bool>(); + public Optional<bool> isInteractiveAudience = new Optional<bool>(); + public Optional<video_track_id_t> customVideoTrackId = new Optional<video_track_id_t>(); + public Optional<bool> isAudioFilterable = new Optional<bool>(); } export class ChannelMediaOptions { @@ -462,12 +462,12 @@ class ChannelMediaOptions { @JsonKey(name: 'isAudioFilterable') final bool? isAudioFilterable; - factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => + factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => _$ChannelMediaOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); + Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); } -

+

Agora supports publishing multiple audio streams and one video stream at the same time and in the same . For example, publishMicrophoneTrack, publishCustomAudioTrack, and publishMediaPlayerAudioTrack can be set as at the same time, but only one of publishCameraTrack, publishScreenCaptureVideopublishScreenTrack, publishCustomVideoTrack, or publishEncodedVideoTrack can be set as .Agora recommends that you set member parameter values yourself according to your business scenario, otherwise the SDK will automatically assign values to member parameters.
diff --git a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index 0cec8673f65..727fe3d9a4a 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -8,10 +8,10 @@

public class ChannelMediaRelayConfiguration { private ChannelMediaInfo srcInfo = null; - private Map<String, ChannelMediaInfo> destInfos = null; + private Map<String, ChannelMediaInfo> destInfos = null; public ChannelMediaRelayConfiguration() { - destInfos = new HashMap<String, ChannelMediaInfo>(); + destInfos = new HashMap<String, ChannelMediaInfo>(); srcInfo = new ChannelMediaInfo(null, null, 0); } @@ -31,7 +31,7 @@ return srcInfo; } - public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { + public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; } } @@ -104,7 +104,7 @@ _$ChannelMediaRelayConfigurationFromJson(json); Map<String, dynamic> toJson() => _$ChannelMediaRelayConfigurationToJson(this); } -

+

Method diff --git a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita index 78392987a90..30451cb8841 100644 --- a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita @@ -50,7 +50,7 @@ _$ClientRoleOptionsFromJson(json); Map<String, dynamic> toJson() => _$ClientRoleOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_climaxsegment.dita b/en-US/dita/RTC-NG/API/class_climaxsegment.dita index 93a8da6689e..f43f0cd51d5 100644 --- a/en-US/dita/RTC-NG/API/class_climaxsegment.dita +++ b/en-US/dita/RTC-NG/API/class_climaxsegment.dita @@ -57,12 +57,12 @@ @JsonKey(name: 'endTimeMs') final int? endTimeMs; - factory ClimaxSegment.fromJson(Map<String, dynamic> json) => + factory ClimaxSegment.fromJson(Map<String, dynamic> json) => _$ClimaxSegmentFromJson(json); - Map<String, dynamic> toJson() => _$ClimaxSegmentToJson(this); + Map<String, dynamic> toJson() => _$ClimaxSegmentToJson(this); } -

+

diff --git a/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita b/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita index 597d5fb3138..67f4c7c5698 100644 --- a/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita +++ b/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita @@ -68,7 +68,7 @@ deployRegion?: number; } There are no corresponding names available -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_codeccapinfo.dita b/en-US/dita/RTC-NG/API/class_codeccapinfo.dita index e23d6c97366..167d25e4efb 100644 --- a/en-US/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/en-US/dita/RTC-NG/API/class_codeccapinfo.dita @@ -70,10 +70,10 @@ class CodecCapInfo { @JsonKey(name: 'codecLevels') final CodecCapLevels? codecLevels; - factory CodecCapInfo.fromJson(Map<String, dynamic> json) => + factory CodecCapInfo.fromJson(Map<String, dynamic> json) => _$CodecCapInfoFromJson(json); - Map<String, dynamic> toJson() => _$CodecCapInfoToJson(this); + Map<String, dynamic> toJson() => _$CodecCapInfoToJson(this); }

diff --git a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita index b120ee0a9bf..6133766588b 100644 --- a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita @@ -60,10 +60,10 @@ class CodecCapLevels { @JsonKey(name: 'swDecodingLevel') final VideoCodecCapabilityLevel? swDecodingLevel; - factory CodecCapLevels.fromJson(Map<String, dynamic> json) => + factory CodecCapLevels.fromJson(Map<String, dynamic> json) => _$CodecCapLevelsFromJson(json); - Map<String, dynamic> toJson() => _$CodecCapLevelsToJson(this); + Map<String, dynamic> toJson() => _$CodecCapLevelsToJson(this); }

diff --git a/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita index c7c462449df..056541d87e5 100644 --- a/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita @@ -66,12 +66,12 @@ final double? strengthLevel; @JsonKey(name: 'skinProtectLevel') final double? skinProtectLevel; - factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) => + factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) => _$ColorEnhanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita b/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita index 970de4ab592..9db28daaeb4 100644 --- a/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -95,16 +95,16 @@ class ContentInspectConfig { const ContentInspectConfig( {this.extraInfo, this.serverConfig, this.modules, this.moduleCount}); - @JsonKey(name: 'extraInfo') + @JsonKey(name: 'extraInfo') final String? extraInfo; - @JsonKey(name: 'serverConfig') + @JsonKey(name: 'serverConfig') final String? serverConfig; - @JsonKey(name: 'modules') + @JsonKey(name: 'modules') final List<ContentInspectModule>? modules; - @JsonKey(name: 'moduleCount') + @JsonKey(name: 'moduleCount') final int? moduleCount; factory ContentInspectConfig.fromJson(Map<String, dynamic> json) => @@ -112,7 +112,7 @@ class ContentInspectConfig { Map<String, dynamic> toJson() => _$ContentInspectConfigToJson(this); } -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita b/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita index 35ceab71c3d..1c6cbb7d22d 100644 --- a/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -56,12 +56,12 @@ final ContentInspectType? type; @JsonKey(name: 'interval') final int? interval; - factory ContentInspectModule.fromJson(Map<String, dynamic> json) => + factory ContentInspectModule.fromJson(Map<String, dynamic> json) => _$ContentInspectModuleFromJson(json); - Map<String, dynamic> toJson() => _$ContentInspectModuleToJson(this); + Map<String, dynamic> toJson() => _$ContentInspectModuleToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_datastreamconfig.dita b/en-US/dita/RTC-NG/API/class_datastreamconfig.dita index 6dd4a07b0bc..c0118230a16 100644 --- a/en-US/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_datastreamconfig.dita @@ -46,7 +46,7 @@ _$DataStreamConfigFromJson(json); Map<String, dynamic> toJson() => _$DataStreamConfigToJson(this); } -

+

The following table shows the SDK behaviors under different parameter settings:

diff --git a/en-US/dita/RTC-NG/API/class_device.dita b/en-US/dita/RTC-NG/API/class_device.dita index 57607906a2e..288fb32bac9 100644 --- a/en-US/dita/RTC-NG/API/class_device.dita +++ b/en-US/dita/RTC-NG/API/class_device.dita @@ -6,14 +6,14 @@

- - - - - - - -

+ + + + + + + +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_deviceinfo.dita b/en-US/dita/RTC-NG/API/class_deviceinfo.dita index 311310e6fd5..e4d42525d42 100644 --- a/en-US/dita/RTC-NG/API/class_deviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_deviceinfo.dita @@ -41,7 +41,7 @@ _$DeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$DeviceInfoToJson(this); } -

+

This class is for Android only.
diff --git a/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita b/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita index fbc5da17bd7..6e884adb8f1 100644 --- a/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita @@ -101,12 +101,12 @@ @JsonKey(name: 'customVideoTrackId') final int? customVideoTrackId; - factory DirectCdnStreamingMediaOptions.fromJson(Map<String, dynamic> json) => + factory DirectCdnStreamingMediaOptions.fromJson(Map<String, dynamic> json) => _$DirectCdnStreamingMediaOptionsFromJson(json); - Map<String, dynamic> toJson() => _$DirectCdnStreamingMediaOptionsToJson(this); + Map<String, dynamic> toJson() => _$DirectCdnStreamingMediaOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita b/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita index 92398399c9f..2a41579dba4 100644 --- a/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita +++ b/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita @@ -80,12 +80,12 @@ @JsonKey(name: 'audioBitrate') final int? audioBitrate; - factory DirectCdnStreamingStats.fromJson(Map<String, dynamic> json) => + factory DirectCdnStreamingStats.fromJson(Map<String, dynamic> json) => _$DirectCdnStreamingStatsFromJson(json); - Map<String, dynamic> toJson() => _$DirectCdnStreamingStatsToJson(this); + Map<String, dynamic> toJson() => _$DirectCdnStreamingStatsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita b/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita index 5b5ba330f18..03d6ce06d2d 100644 --- a/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita +++ b/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita @@ -14,12 +14,12 @@ @property(nonatomic, assign) int lastmileBufferDelayTimeMs; @property(nonatomic, assign) int bandwidthEstimationBps; @end - - - - - -

+ + + + + +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita b/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita index 04a8e183ffc..9e855a97152 100644 --- a/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita @@ -129,12 +129,12 @@ class EchoTestConfiguration { @JsonKey(name: 'intervalInSeconds') final int? intervalInSeconds; - factory EchoTestConfiguration.fromJson(Map<String, dynamic> json) => + factory EchoTestConfiguration.fromJson(Map<String, dynamic> json) => _$EchoTestConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$EchoTestConfigurationToJson(this); + Map<String, dynamic> toJson() => _$EchoTestConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita index 11b6fef4d34..d07b87fa555 100644 --- a/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita @@ -119,10 +119,10 @@ @JsonKey(name: 'captureTimeMs') final int? captureTimeMs; - factory EncodedAudioFrameInfo.fromJson(Map<String, dynamic> json) => + factory EncodedAudioFrameInfo.fromJson(Map<String, dynamic> json) => _$EncodedAudioFrameInfoFromJson(json); - Map<String, dynamic> toJson() => _$EncodedAudioFrameInfoToJson(this); + Map<String, dynamic> toJson() => _$EncodedAudioFrameInfoToJson(this); }

diff --git a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index d453f97a3b4..96227dd9781 100644 --- a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -299,12 +299,12 @@ @JsonKey(name: 'streamType') final VideoStreamType? streamType; - factory EncodedVideoFrameInfo.fromJson(Map<String, dynamic> json) => + factory EncodedVideoFrameInfo.fromJson(Map<String, dynamic> json) => _$EncodedVideoFrameInfoFromJson(json); - Map<String, dynamic> toJson() => _$EncodedVideoFrameInfoToJson(this); + Map<String, dynamic> toJson() => _$EncodedVideoFrameInfoToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 811b3e69def..922f45406c1 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -177,58 +177,58 @@ class ExternalVideoFrame { this.alphaBuffer, this.textureSliceIndex}); - @JsonKey(name: 'type') + @JsonKey(name: 'type') final VideoBufferType? type; - @JsonKey(name: 'format') + @JsonKey(name: 'format') final VideoPixelFormat? format; - @JsonKey(name: 'buffer', ignore: true) + @JsonKey(name: 'buffer', ignore: true) final Uint8List? buffer; - @JsonKey(name: 'stride') + @JsonKey(name: 'stride') final int? stride; - @JsonKey(name: 'height') + @JsonKey(name: 'height') final int? height; - @JsonKey(name: 'cropLeft') + @JsonKey(name: 'cropLeft') final int? cropLeft; - @JsonKey(name: 'cropTop') + @JsonKey(name: 'cropTop') final int? cropTop; - @JsonKey(name: 'cropRight') + @JsonKey(name: 'cropRight') final int? cropRight; - @JsonKey(name: 'cropBottom') + @JsonKey(name: 'cropBottom') final int? cropBottom; - @JsonKey(name: 'rotation') + @JsonKey(name: 'rotation') final int? rotation; - @JsonKey(name: 'timestamp') + @JsonKey(name: 'timestamp') final int? timestamp; - @JsonKey(name: 'eglType') + @JsonKey(name: 'eglType') final EglContextType? eglType; - @JsonKey(name: 'textureId') + @JsonKey(name: 'textureId') final int? textureId; - @JsonKey(name: 'matrix') + @JsonKey(name: 'matrix') final List<double>? matrix; - @JsonKey(name: 'metadata_buffer', ignore: true) + @JsonKey(name: 'metadata_buffer', ignore: true) final Uint8List? metadataBuffer; - @JsonKey(name: 'metadata_size') + @JsonKey(name: 'metadata_size') final int? metadataSize; - @JsonKey(name: 'alphaBuffer', ignore: true) + @JsonKey(name: 'alphaBuffer', ignore: true) final Uint8List? alphaBuffer; - @JsonKey(name: 'texture_slice_index') + @JsonKey(name: 'texture_slice_index') final int? textureSliceIndex; factory ExternalVideoFrame.fromJson(Map<String, dynamic> json) => @@ -236,7 +236,7 @@ class ExternalVideoFrame { Map<String, dynamic> toJson() => _$ExternalVideoFrameToJson(this); } -

+

diff --git a/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita b/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita index 87f7dfb1917..3a1d5d8030a 100644 --- a/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita +++ b/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita @@ -58,12 +58,12 @@ @JsonKey(name: 'fps') final int? fps; - factory ImageTrackOptions.fromJson(Map<String, dynamic> json) => + factory ImageTrackOptions.fromJson(Map<String, dynamic> json) => _$ImageTrackOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ImageTrackOptionsToJson(this); + Map<String, dynamic> toJson() => _$ImageTrackOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_imediaengineevent.dita b/en-US/dita/RTC-NG/API/class_imediaengineevent.dita index 9724292bba5..921313cfdd9 100644 --- a/en-US/dita/RTC-NG/API/class_imediaengineevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediaengineevent.dita @@ -6,17 +6,17 @@

- - - + + + export type IMediaEngineEvent = IAudioFrameObserver & IVideoFrameObserver & IVideoEncodedFrameObserver; - + export type IMediaEngineEvent = IAudioFrameObserver & IVideoFrameObserver & IVideoEncodedFrameObserver; -

+

This interface merges the following interfaces:

    diff --git a/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita b/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita index 412cac2d518..30ac003dff3 100644 --- a/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita +++ b/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita @@ -6,16 +6,16 @@

    - - @protocol AgoraMediaFilterExtensionDelegate <NSObject> + + @protocol AgoraMediaFilterExtensionDelegate <NSObject> - (NSString * __nonnull)vendor; @end - - - - - -

    + + + + + +

    <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita b/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita index 1a77e5e39ba..beed802eedc 100644 --- a/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita @@ -6,19 +6,19 @@

    - - - + + + export type IMediaPlayerEvent = IMediaPlayerSourceObserver & IMediaPlayerAudioFrameObserver & IMediaPlayerVideoFrameObserver & IAudioSpectrumObserver; - + export type IMediaPlayerEvent = IMediaPlayerSourceObserver & IMediaPlayerAudioFrameObserver & IMediaPlayerVideoFrameObserver & IAudioSpectrumObserver; -

    +

    This interface merges the following interfaces: diff --git a/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita b/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita index c5c7ef56251..566c96941ca 100644 --- a/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita @@ -6,13 +6,13 @@

    - - - + + + export type IMediaRecorderEvent = IMediaRecorderObserver; - + export type IMediaRecorderEvent = IMediaRecorderObserver; -

    +

    This interface merges the interface. You can call the , , and methods to add or remove the listeners for the callback events under the interfaces mentioned above.

    diff --git a/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita b/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita index 452d88bb0fc..31ad3643074 100644 --- a/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita @@ -143,7 +143,7 @@ _$InjectStreamConfigFromJson(json); Map<String, dynamic> toJson() => _$InjectStreamConfigToJson(this); } -

    +

    diff --git a/en-US/dita/RTC-NG/API/class_irtcengineevent.dita b/en-US/dita/RTC-NG/API/class_irtcengineevent.dita index 5a9698d0eeb..14c6969ba35 100644 --- a/en-US/dita/RTC-NG/API/class_irtcengineevent.dita +++ b/en-US/dita/RTC-NG/API/class_irtcengineevent.dita @@ -6,21 +6,21 @@

    - - - + + + export type IRtcEngineEvent = IRtcEngineEventHandler & IDirectCdnStreamingEventHandler & IMetadataObserver & IAudioEncodedFrameObserver & IAudioSpectrumObserver; - + export type IRtcEngineEvent = IRtcEngineEventHandler & IDirectCdnStreamingEventHandler & IMetadataObserver & IAudioEncodedFrameObserver & IAudioSpectrumObserver; -

    +

    This interface merges the following interfaces:

      diff --git a/en-US/dita/RTC-NG/API/class_ivideosink.dita b/en-US/dita/RTC-NG/API/class_ivideosink.dita index 0c119535330..932b26a0cf1 100644 --- a/en-US/dita/RTC-NG/API/class_ivideosink.dita +++ b/en-US/dita/RTC-NG/API/class_ivideosink.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita index df27193d35a..9efa4cd3c23 100644 --- a/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -84,7 +84,7 @@ _$LastmileProbeConfigFromJson(json); Map<String, dynamic> toJson() => _$LastmileProbeConfigToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita b/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita index b0999d32c3d..0dc4e35ca44 100644 --- a/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -67,7 +67,7 @@ _$LeaveChannelOptionsFromJson(json); Map<String, dynamic> toJson() => _$LeaveChannelOptionsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita b/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita index d11cae5389a..1458465ab85 100644 --- a/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita +++ b/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita @@ -58,7 +58,7 @@ _$LiveStreamAdvancedFeatureFromJson(json); Map<String, dynamic> toJson() => _$LiveStreamAdvancedFeatureToJson(this); } -

      +

      If you want to enable the advanced features of streaming with transcoding, contact .

      diff --git a/en-US/dita/RTC-NG/API/class_livetranscoding.dita b/en-US/dita/RTC-NG/API/class_livetranscoding.dita index 55d9152e9b5..3caecb48eee 100644 --- a/en-US/dita/RTC-NG/API/class_livetranscoding.dita +++ b/en-US/dita/RTC-NG/API/class_livetranscoding.dita @@ -513,7 +513,7 @@ final int? userCount; @JsonKey(name: 'transcodingUsers') - final List<TranscodingUser>? transcodingUsers; + final List<TranscodingUser>? transcodingUsers; @JsonKey(name: 'transcodingExtraInfo') final String? transcodingExtraInfo; @@ -522,13 +522,13 @@ final String? metadata; @JsonKey(name: 'watermark') - final List<RtcImage>? watermark; + final List<RtcImage>? watermark; @JsonKey(name: 'watermarkCount') final int? watermarkCount; @JsonKey(name: 'backgroundImage') - final List<RtcImage>? backgroundImage; + final List<RtcImage>? backgroundImage; @JsonKey(name: 'backgroundImageCount') final int? backgroundImageCount; @@ -546,17 +546,17 @@ final AudioCodecProfileType? audioCodecProfile; @JsonKey(name: 'advancedFeatures') - final List<LiveStreamAdvancedFeature>? advancedFeatures; + final List<LiveStreamAdvancedFeature>? advancedFeatures; @JsonKey(name: 'advancedFeatureCount') final int? advancedFeatureCount; - factory LiveTranscoding.fromJson(Map<String, dynamic> json) => + factory LiveTranscoding.fromJson(Map<String, dynamic> json) => _$LiveTranscodingFromJson(json); - Map<String, dynamic> toJson() => _$LiveTranscodingToJson(this); + Map<String, dynamic> toJson() => _$LiveTranscodingToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita b/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita index 03c34d29a3c..4a3695c5c56 100644 --- a/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita +++ b/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita @@ -36,7 +36,7 @@ rtcEngine?: IRtcEngine; } There are no corresponding names available -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 1c28c605b5c..333f3a109ba 100644 --- a/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -7,18 +7,18 @@

      public class LocalTranscoderConfiguration { - public ArrayList<TranscodingVideoStream> transcodingVideoStreams; + public ArrayList<TranscodingVideoStream> transcodingVideoStreams; public VideoEncoderConfiguration videoOutputConfiguration; public LocalTranscoderConfiguration() { - transcodingVideoStreams = new ArrayList<TranscodingVideoStream>(); + transcodingVideoStreams = new ArrayList<TranscodingVideoStream>(); videoOutputConfiguration = new VideoEncoderConfiguration(); } } __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject -@property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; +@property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; @property (strong, nonatomic) AgoraVideoEncoderConfiguration *_Nonnull videoOutputConfiguration; @@ -68,15 +68,15 @@ class LocalTranscoderConfiguration { final int? streamCount; @JsonKey(name: 'videoInputStreams') - final List<TranscodingVideoStream>? videoInputStreams; + final List<TranscodingVideoStream>? videoInputStreams; @JsonKey(name: 'videoOutputConfiguration') final VideoEncoderConfiguration? videoOutputConfiguration; - factory LocalTranscoderConfiguration.fromJson(Map<String, dynamic> json) => + factory LocalTranscoderConfiguration.fromJson(Map<String, dynamic> json) => _$LocalTranscoderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$LocalTranscoderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$LocalTranscoderConfigurationToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_localvideostats.dita b/en-US/dita/RTC-NG/API/class_localvideostats.dita index 8aa1b1f5ae7..497bf61914d 100644 --- a/en-US/dita/RTC-NG/API/class_localvideostats.dita +++ b/en-US/dita/RTC-NG/API/class_localvideostats.dita @@ -296,12 +296,12 @@ @JsonKey(name: 'hwEncoderAccelerating') final int? hwEncoderAccelerating; - factory LocalVideoStats.fromJson(Map<String, dynamic> json) => + factory LocalVideoStats.fromJson(Map<String, dynamic> json) => _$LocalVideoStatsFromJson(json); - Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this); + Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita b/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita index d3483bb4c02..22ba8fc814f 100644 --- a/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita +++ b/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita @@ -56,7 +56,7 @@ serverPath(path), serverPort(port), serverHttps(https) {} serverPort?: number; serverHttps?: boolean; } - + export class LogUploadServerInfo { serverDomain?: string; serverPath?: string; @@ -79,12 +79,12 @@ serverPath(path), serverPort(port), serverHttps(https) {} @JsonKey(name: 'serverHttps') final bool? serverHttps; - factory LogUploadServerInfo.fromJson(Map<String, dynamic> json) => + factory LogUploadServerInfo.fromJson(Map<String, dynamic> json) => _$LogUploadServerInfoFromJson(json); - Map<String, dynamic> toJson() => _$LogUploadServerInfoToJson(this); + Map<String, dynamic> toJson() => _$LogUploadServerInfoToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 52f1a0b726c..40aa5b83f8c 100644 --- a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -86,12 +86,12 @@ @JsonKey(name: 'level') final LowLightEnhanceLevel? level; - factory LowlightEnhanceOptions.fromJson(Map<String, dynamic> json) => + factory LowlightEnhanceOptions.fromJson(Map<String, dynamic> json) => _$LowlightEnhanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$LowlightEnhanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$LowlightEnhanceOptionsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita b/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita index 9e31a4a8fd1..21cbb2fbc6e 100644 --- a/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita @@ -6,14 +6,14 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> - <codeblock props="android" outputclass="language-java" /> - <codeblock props="ios mac" outputclass="language-objectivec" /> - <codeblock props="cpp unreal" outputclass="language-cpp" /> - <codeblock props="electron" outputclass="language-typescript" /> - <codeblock props="unity cs" outputclass="language-csharp" /> - <codeblock props="rn" outputclass="language-typescript" /> - <codeblock props="flutter" outputclass="language-dart" /> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="android" outputclass="language-java"/> + <codeblock props="ios mac" outputclass="language-objectivec"/> + <codeblock props="cpp unreal" outputclass="language-cpp"/> + <codeblock props="electron" outputclass="language-typescript"/> + <codeblock props="unity cs" outputclass="language-csharp"/> + <codeblock props="rn" outputclass="language-typescript"/> + <codeblock props="flutter" outputclass="language-dart"/> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="parameters"> <title><text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita b/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita index cdaa77aaffd..fe08c11d59c 100644 --- a/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita +++ b/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita @@ -20,7 +20,7 @@ required VideoCanvas canvas, RtcConnection? connection, bool useFlutterTexture = false, - bool useAndroidSurfaceView = false}) => + bool useAndroidSurfaceView = false}) => MediaPlayerControllerImpl( rtcEngine, canvas, @@ -29,9 +29,9 @@ useAndroidSurfaceView, ); - Future<void> initialize(); + Future<void> initialize(); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index 0fce85b477d..60885cc7090 100644 --- a/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -93,12 +93,12 @@ @JsonKey(name: 'recorderInfoUpdateInterval') final int? recorderInfoUpdateInterval; - factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) => + factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) => _$MediaRecorderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$MediaRecorderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$MediaRecorderConfigurationToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_mediasource.dita b/en-US/dita/RTC-NG/API/class_mediasource.dita index 3d76952e6e7..a3e9d7d0612 100644 --- a/en-US/dita/RTC-NG/API/class_mediasource.dita +++ b/en-US/dita/RTC-NG/API/class_mediasource.dita @@ -134,12 +134,12 @@ @JsonKey(name: 'isLiveSource') final bool? isLiveSource; - factory MediaSource.fromJson(Map<String, dynamic> json) => + factory MediaSource.fromJson(Map<String, dynamic> json) => _$MediaSourceFromJson(json); - Map<String, dynamic> toJson() => _$MediaSourceToJson(this); + Map<String, dynamic> toJson() => _$MediaSourceToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_metadata.dita b/en-US/dita/RTC-NG/API/class_metadata.dita index 635a5a90384..82bcc901a89 100644 --- a/en-US/dita/RTC-NG/API/class_metadata.dita +++ b/en-US/dita/RTC-NG/API/class_metadata.dita @@ -70,7 +70,7 @@ _$MetadataFromJson(json); Map<String, dynamic> toJson() => _$MetadataToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_music.dita b/en-US/dita/RTC-NG/API/class_music.dita index 58cc0a56018..6a407660c02 100644 --- a/en-US/dita/RTC-NG/API/class_music.dita +++ b/en-US/dita/RTC-NG/API/class_music.dita @@ -95,8 +95,8 @@ @property(nonatomic, copy) NSString* poster; @property(nonatomic, copy) NSString* releaseTime; @property(nonatomic, assign) NSInteger durationS; -@property(nonatomic, strong) NSArray<NSNumber *>* lyricList; -@property(nonatomic, strong) NSArray<AgoraClimaxSegment *>* climaxSegmentList; +@property(nonatomic, strong) NSArray<NSNumber *>* lyricList; +@property(nonatomic, strong) NSArray<AgoraClimaxSegment *>* climaxSegmentList; @end struct Music { @@ -200,19 +200,19 @@ final int? lyricCount; @JsonKey(name: 'lyricList') - final List<int>? lyricList; + final List<int>? lyricList; @JsonKey(name: 'climaxSegmentCount') final int? climaxSegmentCount; @JsonKey(name: 'climaxSegmentList') - final List<ClimaxSegment>? climaxSegmentList; + final List<ClimaxSegment>? climaxSegmentList; - factory Music.fromJson(Map<String, dynamic> json) => _$MusicFromJson(json); + factory Music.fromJson(Map<String, dynamic> json) => _$MusicFromJson(json); - Map<String, dynamic> toJson() => _$MusicToJson(this); + Map<String, dynamic> toJson() => _$MusicToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita b/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita index f9ea86434ac..423190cade2 100644 --- a/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita +++ b/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita @@ -47,10 +47,10 @@ class MusicCacheInfo { @JsonKey(name: 'status') final MusicCacheStatusType? status; - factory MusicCacheInfo.fromJson(Map<String, dynamic> json) => + factory MusicCacheInfo.fromJson(Map<String, dynamic> json) => _$MusicCacheInfoFromJson(json); - Map<String, dynamic> toJson() => _$MusicCacheInfoToJson(this); + Map<String, dynamic> toJson() => _$MusicCacheInfoToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_musicchartcollection.dita b/en-US/dita/RTC-NG/API/class_musicchartcollection.dita index 88c0d6b4794..37449c0594c 100644 --- a/en-US/dita/RTC-NG/API/class_musicchartcollection.dita +++ b/en-US/dita/RTC-NG/API/class_musicchartcollection.dita @@ -6,8 +6,8 @@

      - - + + class MusicChartCollection : public RefCountInterface { public: virtual int getCount() = 0; @@ -19,17 +19,17 @@ protected: abstract getCount(): number; abstract get(index: number): MusicChartInfo; } - + export abstract class MusicChartCollection { abstract getCount(): number; abstract get(index: number): MusicChartInfo; } abstract class MusicChartCollection { - Future&lt;int> getCount(); + Future&lt;int> getCount(); - Future&lt;MusicChartInfo> get(int index); + Future&lt;MusicChartInfo> get(int index); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_musiccollection.dita b/en-US/dita/RTC-NG/API/class_musiccollection.dita index 176d3a622fb..45a87d244ca 100644 --- a/en-US/dita/RTC-NG/API/class_musiccollection.dita +++ b/en-US/dita/RTC-NG/API/class_musiccollection.dita @@ -6,13 +6,13 @@

      - + __attribute__((visibility("default"))) @interface AgoraMusicCollection : NSObject @property(nonatomic, assign) NSInteger count; @property(nonatomic, assign) NSInteger total; @property(nonatomic, assign) NSInteger page; @property(nonatomic, assign) NSInteger pageSize; -@property(nonatomic, strong) NSArray<AgoraMusic *>* musicList; +@property(nonatomic, strong) NSArray<AgoraMusic *>* musicList; @end class MusicCollection : public RefCountInterface { public: @@ -57,7 +57,7 @@ protected: Music getMusic(int index); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita index 8bfb6966175..8507fa153e4 100644 --- a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita @@ -76,13 +76,13 @@ class MusicContentCenterConfiguration { @JsonKey(name: 'maxCacheSize') final int? maxCacheSize; - factory MusicContentCenterConfiguration.fromJson(Map<String, dynamic> json) => + factory MusicContentCenterConfiguration.fromJson(Map<String, dynamic> json) => _$MusicContentCenterConfigurationFromJson(json); - Map<String, dynamic> toJson() => + Map<String, dynamic> toJson() => _$MusicContentCenterConfigurationToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_mvproperty.dita b/en-US/dita/RTC-NG/API/class_mvproperty.dita index 51a614a2ac9..0467ddc1cd3 100644 --- a/en-US/dita/RTC-NG/API/class_mvproperty.dita +++ b/en-US/dita/RTC-NG/API/class_mvproperty.dita @@ -57,12 +57,12 @@ @JsonKey(name: 'bandwidth') final String? bandwidth; - factory MvProperty.fromJson(Map<String, dynamic> json) => + factory MvProperty.fromJson(Map<String, dynamic> json) => _$MvPropertyFromJson(json); - Map<String, dynamic> toJson() => _$MvPropertyToJson(this); + Map<String, dynamic> toJson() => _$MvPropertyToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita b/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita index c6089467ced..8146237b52d 100644 --- a/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita +++ b/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita @@ -17,9 +17,9 @@ @property(strong, nonatomic) AgoraMediaPlayerCacheStatistics *_Nullable cacheStatistics; @end struct PlayerUpdatedInfo { - Optional<const char*> playerId; - Optional<const char*> deviceId; - Optional<CacheStatistics> cacheStatistics; + Optional<const char*> playerId; + Optional<const char*> deviceId; + Optional<CacheStatistics> cacheStatistics; }; export class PlayerUpdatedInfo { @@ -56,7 +56,7 @@ _$PlayerUpdatedInfoFromJson(json); Map<String, dynamic> toJson() => _$PlayerUpdatedInfoToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_plugin.dita b/en-US/dita/RTC-NG/API/class_plugin.dita index 97de67d5f50..210c3017d75 100644 --- a/en-US/dita/RTC-NG/API/class_plugin.dita +++ b/en-US/dita/RTC-NG/API/class_plugin.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      After calling to register a plugin, you can get the interface through .

      diff --git a/en-US/dita/RTC-NG/API/class_plugininfo.dita b/en-US/dita/RTC-NG/API/class_plugininfo.dita index b0418eb11b2..50ac6663623 100644 --- a/en-US/dita/RTC-NG/API/class_plugininfo.dita +++ b/en-US/dita/RTC-NG/API/class_plugininfo.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita b/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita index bde8680c352..c80a8c0fb23 100644 --- a/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -45,10 +45,10 @@ class RecorderStreamInfo { @JsonKey(name: 'uid') final int? uid; - factory RecorderStreamInfo.fromJson(Map<String, dynamic> json) => + factory RecorderStreamInfo.fromJson(Map<String, dynamic> json) => _$RecorderStreamInfoFromJson(json); - Map<String, dynamic> toJson() => _$RecorderStreamInfoToJson(this); + Map<String, dynamic> toJson() => _$RecorderStreamInfoToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_rect.dita b/en-US/dita/RTC-NG/API/class_rect.dita index 2e735f19aa7..4f6e3a3027b 100644 --- a/en-US/dita/RTC-NG/API/class_rect.dita +++ b/en-US/dita/RTC-NG/API/class_rect.dita @@ -21,7 +21,7 @@ There are no corresponding names available -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita index d46370f7af9..c6dede7d234 100644 --- a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -260,10 +260,10 @@ @JsonKey(name: 'qualityChangedReason') final int? qualityChangedReason; - factory RemoteAudioStats.fromJson(Map<String, dynamic> json) => + factory RemoteAudioStats.fromJson(Map<String, dynamic> json) => _$RemoteAudioStatsFromJson(json); - Map<String, dynamic> toJson() => _$RemoteAudioStatsToJson(this); + Map<String, dynamic> toJson() => _$RemoteAudioStatsToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_remotevideostats.dita b/en-US/dita/RTC-NG/API/class_remotevideostats.dita index 3a7745176fa..2890c7cc24a 100644 --- a/en-US/dita/RTC-NG/API/class_remotevideostats.dita +++ b/en-US/dita/RTC-NG/API/class_remotevideostats.dita @@ -225,12 +225,12 @@ class RemoteVideoStats { @JsonKey(name: 'rxVideoBytes') final int? rxVideoBytes; - factory RemoteVideoStats.fromJson(Map<String, dynamic> json) => + factory RemoteVideoStats.fromJson(Map<String, dynamic> json) => _$RemoteVideoStatsFromJson(json); - Map<String, dynamic> toJson() => _$RemoteVideoStatsToJson(this); + Map<String, dynamic> toJson() => _$RemoteVideoStatsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita b/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita index 2ed4f4f02a3..daabd8cff40 100644 --- a/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita +++ b/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita @@ -48,7 +48,7 @@ forward?: number[]; } There are no corresponding names available -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rendererconfig.dita b/en-US/dita/RTC-NG/API/class_rendererconfig.dita index f0cbf102726..d02f739db35 100644 --- a/en-US/dita/RTC-NG/API/class_rendererconfig.dita +++ b/en-US/dita/RTC-NG/API/class_rendererconfig.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rendereroptions.dita b/en-US/dita/RTC-NG/API/class_rendereroptions.dita index d9358906dab..07f206145a1 100644 --- a/en-US/dita/RTC-NG/API/class_rendereroptions.dita +++ b/en-US/dita/RTC-NG/API/class_rendereroptions.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita b/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita index 33a665661f7..9f638439bcb 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita b/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita index c3e8e65abe8..3422b0c567a 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita b/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita index a115effb2d6..112ecffc6ff 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita b/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita index 844f553bad1..d9f0f69b14a 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita index d53666fa575..fcfe2eb3671 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      The corresponding classes of this class on different platforms are as follows:

        diff --git a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita index 1cd5d44c902..8a366d28e8b 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita @@ -6,14 +6,14 @@

        - - - - - - - -

        + + + + + + + +

        The corresponding classes of this class on different platforms are as follows:

          diff --git a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita index d8d2ccef7f4..89041bea13c 100644 --- a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -214,12 +214,12 @@ class RtcEngineContext { @JsonKey(name: 'autoRegisterAgoraExtensions') final bool? autoRegisterAgoraExtensions; - factory RtcEngineContext.fromJson(Map<String, dynamic> json) => + factory RtcEngineContext.fromJson(Map<String, dynamic> json) => _$RtcEngineContextFromJson(json); - Map<String, dynamic> toJson() => _$RtcEngineContextToJson(this); + Map<String, dynamic> toJson() => _$RtcEngineContextToJson(this); } -

          +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rtcimage.dita b/en-US/dita/RTC-NG/API/class_rtcimage.dita index f27fde96f48..85287ed7d03 100644 --- a/en-US/dita/RTC-NG/API/class_rtcimage.dita +++ b/en-US/dita/RTC-NG/API/class_rtcimage.dita @@ -142,7 +142,7 @@ _$RtcImageFromJson(json); Map<String, dynamic> toJson() => _$RtcImageToJson(this); } -

        +

        This class sets the properties of the watermark and background images in the live video.

        diff --git a/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita b/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita index da95ee53fa0..5f71b99a31a 100644 --- a/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita +++ b/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita @@ -6,16 +6,16 @@

        - - - - - + + + + + export interface RtcRendererViewProps { canvas: VideoCanvas; connection?: RtcConnection; } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita b/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita index 95df2d67ed6..2cdea8ba9af 100644 --- a/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita +++ b/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita @@ -10,7 +10,7 @@ zOrderOnTop?: boolean; zOrderMediaOverlay?: boolean; } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita b/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita index fde3f71d46f..36a1984e72d 100644 --- a/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita @@ -86,12 +86,12 @@ @JsonKey(name: 'captureSignalVolume') final int? captureSignalVolume; - factory ScreenAudioParameters.fromJson(Map<String, dynamic> json) => + factory ScreenAudioParameters.fromJson(Map<String, dynamic> json) => _$ScreenAudioParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenAudioParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenAudioParametersToJson(this); } -

        +

        Only available where captureAudio is .

        diff --git a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita index 0d43f31acc0..8d5a72b3fa8 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -101,7 +101,7 @@ __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguratio _$ScreenCaptureConfigurationFromJson(json); Map<String, dynamic> toJson() => _$ScreenCaptureConfigurationToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita b/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita index 5c482e58f29..890b9a2e613 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita @@ -6,8 +6,8 @@

        - - + + public class ScreenCaptureInfo { public ScreenCaptureInfo() @@ -23,9 +23,9 @@ public string graphicsCardType; public EXCLUDE_WINDOW_ERROR errCode; }; - - -

        + + +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita b/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita index 303f196dce1..87135452a3b 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita @@ -6,7 +6,7 @@

        - + __attribute__((visibility("default"))) @interface AgoraScreenCaptureParameters: NSObject @property (assign, nonatomic) CGSize dimensions; @property (assign, nonatomic) NSInteger frameRate; @@ -206,7 +206,7 @@ final bool? windowFocus; @JsonKey(name: 'excludeWindowList') - final List<int>? excludeWindowList; + final List<int>? excludeWindowList; @JsonKey(name: 'excludeWindowCount') final int? excludeWindowCount; @@ -220,12 +220,12 @@ @JsonKey(name: 'enableHighLight') final bool? enableHighLight; - factory ScreenCaptureParameters.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureParameters.fromJson(Map<String, dynamic> json) => _$ScreenCaptureParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureParametersToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita b/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita index 0527a680bb0..1aa6c7c4cbe 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita @@ -169,12 +169,12 @@ @JsonKey(name: 'videoParams') final ScreenVideoParameters? videoParams; - factory ScreenCaptureParameters2.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureParameters2.fromJson(Map<String, dynamic> json) => _$ScreenCaptureParameters2FromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureParameters2ToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureParameters2ToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita index 11b9db647ba..c3b616e4c46 100644 --- a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -6,7 +6,7 @@

        - + __attribute__((visibility("default"))) @interface AgoraScreenCaptureSourceInfo : NSObject @property(assign, nonatomic) AgoraScreenCaptureSourceType type; @property(assign, nonatomic) CGWindowID sourceId; @@ -76,7 +76,7 @@ public Rectangle position; public view_t sourceDisplayId; }; - + class ScreenCaptureSourceInfo { const ScreenCaptureSourceInfo( {this.type, @@ -124,12 +124,12 @@ @JsonKey(name: 'sourceDisplayId') final int? sourceDisplayId; - factory ScreenCaptureSourceInfo.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureSourceInfo.fromJson(Map<String, dynamic> json) => _$ScreenCaptureSourceInfoFromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureSourceInfoToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureSourceInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screensymbol.dita b/en-US/dita/RTC-NG/API/class_screensymbol.dita index 645f50b6ead..a3652e2a9fb 100644 --- a/en-US/dita/RTC-NG/API/class_screensymbol.dita +++ b/en-US/dita/RTC-NG/API/class_screensymbol.dita @@ -6,14 +6,14 @@

        - - - - - - - -

        + + + + + + + +

        The display ID (macOS) or ScreenRect that identifies the screen. You can set it as one of the following values:

          diff --git a/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita b/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita index b96f34d7f52..b2480527d12 100644 --- a/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita @@ -112,11 +112,11 @@ final int? bitrate; @JsonKey(name: 'contentHint') final VideoContentHint? contentHint; - factory ScreenVideoParameters.fromJson(Map<String, dynamic> json) => + factory ScreenVideoParameters.fromJson(Map<String, dynamic> json) => _$ScreenVideoParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenVideoParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenVideoParametersToJson(this); } -

          +

        Only available for scenarios where captureVideo is .

        diff --git a/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita b/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita index 342defe070b..e841975a074 100644 --- a/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita +++ b/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita @@ -29,7 +29,7 @@ _$SDKBuildInfoFromJson(json); Map<String, dynamic> toJson() => _$SDKBuildInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita index ef61075f000..3c81474c4df 100644 --- a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita @@ -68,12 +68,12 @@ @JsonKey(name: 'greenCapacity') final double? greenCapacity; - factory SegmentationProperty.fromJson(Map<String, dynamic> json) => + factory SegmentationProperty.fromJson(Map<String, dynamic> json) => _$SegmentationPropertyFromJson(json); - Map<String, dynamic> toJson() => _$SegmentationPropertyToJson(this); + Map<String, dynamic> toJson() => _$SegmentationPropertyToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_size.dita b/en-US/dita/RTC-NG/API/class_size.dita index fbd25b99e1e..0417a159992 100644 --- a/en-US/dita/RTC-NG/API/class_size.dita +++ b/en-US/dita/RTC-NG/API/class_size.dita @@ -47,10 +47,10 @@ final int? width; @JsonKey(name: 'height') final int? height; - factory SIZE.fromJson(Map<String, dynamic> json) => _$SIZEFromJson(json); - Map<String, dynamic> toJson() => _$SIZEToJson(this); + factory SIZE.fromJson(Map<String, dynamic> json) => _$SIZEFromJson(json); + Map<String, dynamic> toJson() => _$SIZEToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita b/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita index 47265894687..87006da6abf 100644 --- a/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita @@ -59,14 +59,14 @@ @property(assign, nonatomic) BOOL enable_doppler; @end struct SpatialAudioParams { - Optional<double> speaker_azimuth; - Optional<double> speaker_elevation; - Optional<double> speaker_distance; - Optional<int> speaker_orientation; - Optional<bool> enable_blur; - Optional<bool> enable_air_absorb; - Optional<double> speaker_attenuation; - Optional<bool> enable_doppler; + Optional<double> speaker_azimuth; + Optional<double> speaker_elevation; + Optional<double> speaker_distance; + Optional<int> speaker_orientation; + Optional<bool> enable_blur; + Optional<bool> enable_air_absorb; + Optional<double> speaker_attenuation; + Optional<bool> enable_doppler; }; export class SpatialAudioParams { @@ -94,8 +94,8 @@ public Optional<int> speaker_orientation = new Optional<int>(); public Optional<bool> enable_blur = new Optional<bool>(); public Optional<bool> enable_air_absorb = new Optional<bool>(); - public Optional<double> speaker_attenuation = new Optional<double>(); - public Optional<bool> enable_doppler = new Optional<bool>(); + public Optional<double> speaker_attenuation = new Optional<double>(); + public Optional<bool> enable_doppler = new Optional<bool>(); } export class SpatialAudioParams { @@ -150,12 +150,12 @@ @JsonKey(name: 'enable_doppler') final bool? enableDoppler; - factory SpatialAudioParams.fromJson(Map<String, dynamic> json) => + factory SpatialAudioParams.fromJson(Map<String, dynamic> json) => _$SpatialAudioParamsFromJson(json); - Map<String, dynamic> toJson() => _$SpatialAudioParamsToJson(this); + Map<String, dynamic> toJson() => _$SpatialAudioParamsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita b/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita index d6075f326df..0c549097b18 100644 --- a/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita +++ b/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita @@ -137,16 +137,16 @@ final int? zoneSetId; @JsonKey(name: 'position') - final List<double>? position; + final List<double>? position; @JsonKey(name: 'forward') - final List<double>? forward; + final List<double>? forward; @JsonKey(name: 'right') - final List<double>? right; + final List<double>? right; @JsonKey(name: 'up') - final List<double>? up; + final List<double>? up; @JsonKey(name: 'forwardLength') final double? forwardLength; @@ -160,12 +160,12 @@ @JsonKey(name: 'audioAttenuation') final double? audioAttenuation; - factory SpatialAudioZone.fromJson(Map<String, dynamic> json) => + factory SpatialAudioZone.fromJson(Map<String, dynamic> json) => _$SpatialAudioZoneFromJson(json); - Map<String, dynamic> toJson() => _$SpatialAudioZoneToJson(this); + Map<String, dynamic> toJson() => _$SpatialAudioZoneToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_srcinfo.dita b/en-US/dita/RTC-NG/API/class_srcinfo.dita index 0aaf2eccf91..a0cdd71bc3e 100644 --- a/en-US/dita/RTC-NG/API/class_srcinfo.dita +++ b/en-US/dita/RTC-NG/API/class_srcinfo.dita @@ -48,7 +48,7 @@ _$SrcInfoFromJson(json); Map<String, dynamic> toJson() => _$SrcInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_transcodinguser.dita b/en-US/dita/RTC-NG/API/class_transcodinguser.dita index 462f32785cc..20cda9fde61 100644 --- a/en-US/dita/RTC-NG/API/class_transcodinguser.dita +++ b/en-US/dita/RTC-NG/API/class_transcodinguser.dita @@ -137,7 +137,7 @@ _$TranscodingUserFromJson(json); Map<String, dynamic> toJson() => _$TranscodingUserToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita b/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita index d6b9c671871..68631bcdcd2 100644 --- a/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -176,10 +176,10 @@ class TranscodingVideoStream { @JsonKey(name: 'mirror') final bool? mirror; - factory TranscodingVideoStream.fromJson(Map<String, dynamic> json) => + factory TranscodingVideoStream.fromJson(Map<String, dynamic> json) => _$TranscodingVideoStreamFromJson(json); - Map<String, dynamic> toJson() => _$TranscodingVideoStreamToJson(this); + Map<String, dynamic> toJson() => _$TranscodingVideoStreamToJson(this); }

        diff --git a/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita b/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita index 86b64b8ac9f..532ae8517a6 100644 --- a/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita +++ b/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita @@ -51,7 +51,7 @@ _$UplinkNetworkInfoFromJson(json); Map<String, dynamic> toJson() => _$UplinkNetworkInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_user.dita b/en-US/dita/RTC-NG/API/class_user.dita index cc7b344921d..96684433008 100644 --- a/en-US/dita/RTC-NG/API/class_user.dita +++ b/en-US/dita/RTC-NG/API/class_user.dita @@ -6,14 +6,14 @@

        - - - - - - - -

        + + + + + + + +

        This class specifies the user information to which the SDK renders the video. You can set it as one of the following values:

          diff --git a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita index 83b1e96284f..e596c79a50d 100644 --- a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -53,7 +53,7 @@ _$UserAudioSpectrumInfoFromJson(json); Map<String, dynamic> toJson() => _$UserAudioSpectrumInfoToJson(this); } -

          +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_userinfo.dita b/en-US/dita/RTC-NG/API/class_userinfo.dita index 2878ca46a801beae5dbcf186df683231c1cf018a..a903ca365b7c814cfce595bc71f8083729648166 100644 GIT binary patch delta 37 tcmX>kep-A3GaD0w`s9y{Vw+{yY?*oNZ1j`!Q&N+1@{_YSM{}k#0RYla3n>5q delta 28 kcmX>ten@-+GaGY^f%@c+jAEOm*=(7a6!bTzaHcZ>0DS5Pv;Y7A diff --git a/en-US/dita/RTC-NG/API/class_videocanvas.dita b/en-US/dita/RTC-NG/API/class_videocanvas.dita index 239a10a4f4c..71c0e17c9da 100644 --- a/en-US/dita/RTC-NG/API/class_videocanvas.dita +++ b/en-US/dita/RTC-NG/API/class_videocanvas.dita @@ -173,12 +173,12 @@ class VideoCanvas { @JsonKey(name: 'enableAlphaMask') final bool? enableAlphaMask; - factory VideoCanvas.fromJson(Map<String, dynamic> json) => + factory VideoCanvas.fromJson(Map<String, dynamic> json) => _$VideoCanvasFromJson(json); - Map<String, dynamic> toJson() => _$VideoCanvasToJson(this); + Map<String, dynamic> toJson() => _$VideoCanvasToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita index d870472caea..0c7e0f17168 100644 --- a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -86,12 +86,12 @@ @JsonKey(name: 'level') final VideoDenoiserLevel? level; - factory VideoDenoiserOptions.fromJson(Map&lt;String, dynamic> json) => + factory VideoDenoiserOptions.fromJson(Map&lt;String, dynamic> json) => _$VideoDenoiserOptionsFromJson(json); - Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this); + Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita b/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita index d1260c16083..72f849cc329 100644 --- a/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita @@ -6,9 +6,9 @@

        - - - + + + export class VideoDeviceInfo { deviceId?: string; deviceName?: string; @@ -33,7 +33,7 @@ _$VideoDeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$VideoDeviceInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videodimensions.dita b/en-US/dita/RTC-NG/API/class_videodimensions.dita index fe2855d3957..784dd36d52f 100644 --- a/en-US/dita/RTC-NG/API/class_videodimensions.dita +++ b/en-US/dita/RTC-NG/API/class_videodimensions.dita @@ -69,7 +69,7 @@ _$VideoDimensionsFromJson(json); Map<String, dynamic> toJson() => _$VideoDimensionsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita index ac76a9da5b3..64b343d47cd 100644 --- a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -420,12 +420,12 @@ @JsonKey(name: 'advanceOptions') final AdvanceOptions? advanceOptions; - factory VideoEncoderConfiguration.fromJson(Map<String, dynamic> json) => + factory VideoEncoderConfiguration.fromJson(Map<String, dynamic> json) => _$VideoEncoderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoformat.dita b/en-US/dita/RTC-NG/API/class_videoformat.dita index ce5a5e035ba..8b854d77437 100644 --- a/en-US/dita/RTC-NG/API/class_videoformat.dita +++ b/en-US/dita/RTC-NG/API/class_videoformat.dita @@ -64,7 +64,7 @@ _$VideoFormatFromJson(json); Map<String, dynamic> toJson() => _$VideoFormatToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 820f0dc0beb..ece7ebcda9c 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -476,17 +476,17 @@ class VideoFrame { final int? textureId; @JsonKey(name: 'matrix') - final List<double>? matrix; + final List<double>? matrix; @JsonKey(name: 'pixelBuffer', ignore: true) final Uint8List? pixelBuffer; - factory VideoFrame.fromJson(Map<String, dynamic> json) => + factory VideoFrame.fromJson(Map<String, dynamic> json) => _$VideoFrameFromJson(json); - Map<String, dynamic> toJson() => _$VideoFrameToJson(this); + Map<String, dynamic> toJson() => _$VideoFrameToJson(this); } -

        +

        Note that the buffer provides a pointer to a pointer. This interface cannot modify the pointer of the buffer, but it can modify the content of the buffer.

        diff --git a/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita b/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita index 683d9ef3d5c..c8bba20c80f 100644 --- a/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita +++ b/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita @@ -93,10 +93,10 @@ class VideoRenderingTracingInfo { @JsonKey(name: 'remoteJoined2PacketReceived') final int? remoteJoined2PacketReceived; - factory VideoRenderingTracingInfo.fromJson(Map<String, dynamic> json) => + factory VideoRenderingTracingInfo.fromJson(Map<String, dynamic> json) => _$VideoRenderingTracingInfoFromJson(json); - Map<String, dynamic> toJson() => _$VideoRenderingTracingInfoToJson(this); + Map<String, dynamic> toJson() => _$VideoRenderingTracingInfoToJson(this); }

        diff --git a/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita index 3eb62b97334..81d8d2bcc09 100644 --- a/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -48,8 +48,8 @@ @end struct VideoSubscriptionOptions { - Optional<VIDEO_STREAM_TYPE> type; - Optional<bool> encodedFrameOnly; + Optional<VIDEO_STREAM_TYPE> type; + Optional<bool> encodedFrameOnly; VideoSubscriptionOptions() {} }; @@ -61,9 +61,9 @@ } public class VideoSubscriptionOptions:OptionalJsonParse { - public Optional<VIDEO_STREAM_TYPE> type = new Optional<VIDEO_STREAM_TYPE>(); + public Optional<VIDEO_STREAM_TYPE> type = new Optional<VIDEO_STREAM_TYPE>(); - public Optional<bool> encodedFrameOnly = new Optional<bool>(); + public Optional<bool> encodedFrameOnly = new Optional<bool>(); } export class VideoSubscriptionOptions { @@ -80,12 +80,12 @@ @JsonKey(name: 'encodedFrameOnly') final bool? encodedFrameOnly; - factory VideoSubscriptionOptions.fromJson(Map<String, dynamic> json) => + factory VideoSubscriptionOptions.fromJson(Map<String, dynamic> json) => _$VideoSubscriptionOptionsFromJson(json); - Map<String, dynamic> toJson() => _$VideoSubscriptionOptionsToJson(this); + Map<String, dynamic> toJson() => _$VideoSubscriptionOptionsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita b/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita index 2f82f5590c7..c4f6118810f 100644 --- a/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita +++ b/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita @@ -53,7 +53,7 @@ : VideoSourceType.videoSourceRemote.value(); } } -

        +

        On different platforms, the default view corresponding to this class is different:

          diff --git a/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita b/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita index c213a090575..ca448abf580 100644 --- a/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita +++ b/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita @@ -6,21 +6,21 @@

          - - - - - - + + + + + + abstract class VideoViewControllerBase { RtcEngine get rtcEngine; VideoCanvas get canvas; RtcConnection? get connection; bool get useFlutterTexture; bool get useAndroidSurfaceView; - Future<void> dispose(); + Future<void> dispose(); } -

          +

          On different platforms, the default view corresponding to this class is different:

            diff --git a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita index 4b310d0d8fc..c16329b4e42 100644 --- a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -110,7 +110,7 @@ _$VirtualBackgroundSourceFromJson(json); Map<String, dynamic> toJson() => _$VirtualBackgroundSourceToJson(this); } -

            +

          <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_watermarkoptions.dita b/en-US/dita/RTC-NG/API/class_watermarkoptions.dita index 51b194856e3..dc9b0b45869 100644 --- a/en-US/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/en-US/dita/RTC-NG/API/class_watermarkoptions.dita @@ -121,7 +121,7 @@ _$WatermarkOptionsFromJson(json); Map<String, dynamic> toJson() => _$WatermarkOptionsToJson(this); } -

          +

          diff --git a/en-US/dita/RTC-NG/API/class_watermarkratio.dita b/en-US/dita/RTC-NG/API/class_watermarkratio.dita index bbd9ea5c8e9..718d99ed2e4 100644 --- a/en-US/dita/RTC-NG/API/class_watermarkratio.dita +++ b/en-US/dita/RTC-NG/API/class_watermarkratio.dita @@ -6,8 +6,8 @@

          - - + + struct WatermarkRatio { float xRatio; float yRatio; @@ -64,7 +64,7 @@ _$WatermarkRatioFromJson(json); Map<String, dynamic> toJson() => _$WatermarkRatioToJson(this); } -

          +

          The position and size of the watermark on the screen are determined by xRatio, yRatio, and widthRatio:

            diff --git a/en-US/dita/RTC-NG/API/class_windowinfo.dita b/en-US/dita/RTC-NG/API/class_windowinfo.dita index c92c174b12d..2c5f00bb571 100644 --- a/en-US/dita/RTC-NG/API/class_windowinfo.dita +++ b/en-US/dita/RTC-NG/API/class_windowinfo.dita @@ -7,14 +7,14 @@

            - - - - - - - -

            + + + + + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_wlaccstats.dita b/en-US/dita/RTC-NG/API/class_wlaccstats.dita index dcef2deb009..a848c781b14 100644 --- a/en-US/dita/RTC-NG/API/class_wlaccstats.dita +++ b/en-US/dita/RTC-NG/API/class_wlaccstats.dita @@ -11,11 +11,11 @@ unsigned short frozenRatioPercent; unsigned short lossRatePercent; }; - - - - -

            + + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/api_addhandler.dita b/en-US/dita/RTC/API/api_addhandler.dita index fcacb199ed8..0471c525df5 100644 --- a/en-US/dita/RTC/API/api_addhandler.dita +++ b/en-US/dita/RTC/API/api_addhandler.dita @@ -16,11 +16,11 @@ public void addHandler(IRtcEngineEventHandler handler) { mInstance.addHandler(handler); } - - - + + + public abstract void InitEventHandler(IAgoraRtcEngineEventHandler engineEventHandler); - + void setEventHandler(RtcEngineEventHandler handler)

            diff --git a/en-US/dita/RTC/API/api_addvideowatermark.dita b/en-US/dita/RTC/API/api_addvideowatermark.dita index 85fb2e69781..37f05097427 100644 --- a/en-US/dita/RTC/API/api_addvideowatermark.dita +++ b/en-US/dita/RTC/API/api_addvideowatermark.dita @@ -16,10 +16,10 @@ public abstract int addVideoWatermark(AgoraImage watermark); - (int)addVideoWatermark:(AgoraImage * _Nonnull)watermark virtual int addVideoWatermark(const RtcImage& watermark) = 0; - + public abstract int AddVideoWatermark(RtcImage watermark); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_adjustloopbackrecordingsignalvolume.dita b/en-US/dita/RTC/API/api_adjustloopbackrecordingsignalvolume.dita index b51c2800447..cd8a370f7e3 100644 --- a/en-US/dita/RTC/API/api_adjustloopbackrecordingsignalvolume.dita +++ b/en-US/dita/RTC/API/api_adjustloopbackrecordingsignalvolume.dita @@ -13,14 +13,14 @@

            - + - (int)adjustLoopbackRecordingVolume:(NSInteger)volume; virtual int adjustLoopbackRecordingVolume(int volume) = 0; - + public abstract int AdjustLoopbackRecordingSignalVolume(int volume); - -

            + +

            After calling to enable loopback audio capturing, you can call this method to adjust the volume of the signal captured by the sound card.

            diff --git a/en-US/dita/RTC/API/api_clearvideowatermarks.dita b/en-US/dita/RTC/API/api_clearvideowatermarks.dita index 4aa4aec6417..e5542e222d2 100644 --- a/en-US/dita/RTC/API/api_clearvideowatermarks.dita +++ b/en-US/dita/RTC/API/api_clearvideowatermarks.dita @@ -18,7 +18,7 @@ virtual int clearVideoWatermarks() = 0; clearVideoWatermarks(): number public abstract int ClearVideoWatermarks(); - + Future<void> clearVideoWatermarks();

            diff --git a/en-US/dita/RTC/API/api_complain.dita b/en-US/dita/RTC/API/api_complain.dita index 06f0d954270..49ae2639162 100644 --- a/en-US/dita/RTC/API/api_complain.dita +++ b/en-US/dita/RTC/API/api_complain.dita @@ -19,7 +19,7 @@ virtual int complain(const char* callId, const char* description) = 0; complain(callId: string, description: string): number public abstract int Complain(string callId, string description); - + Future<void> complain(String callId, String description);

            diff --git a/en-US/dita/RTC/API/api_configrhythmplayer.dita b/en-US/dita/RTC/API/api_configrhythmplayer.dita index 3839021de6c..69fd9c5f39e 100644 --- a/en-US/dita/RTC/API/api_configrhythmplayer.dita +++ b/en-US/dita/RTC/API/api_configrhythmplayer.dita @@ -15,10 +15,10 @@

            public int configRhythmPlayer(AgoraRhythmPlayerConfig config); - (int)configRhythmPlayer:(AgoraRtcRhythmPlayerConfig* _Nonnull)config; - - - - + + + + Future<void> configRhythmPlayer(RhythmPlayerConfig config);

            diff --git a/en-US/dita/RTC/API/api_consumerawvideoframe.dita b/en-US/dita/RTC/API/api_consumerawvideoframe.dita index 9b90f11475d..2505cf10d36 100644 --- a/en-US/dita/RTC/API/api_consumerawvideoframe.dita +++ b/en-US/dita/RTC/API/api_consumerawvideoframe.dita @@ -13,18 +13,18 @@

            - - + + virtual void consumeRawVideoFrame(const unsigned char *buffer, agora::media::ExternalVideoFrame::VIDEO_PIXEL_FORMAT frameType, int width, int height, int rotation, long timestamp) = 0; - - - -

            + + + +

            Ensure that the video frame type specified in this method is the same as that in the callback.
            diff --git a/en-US/dita/RTC/API/api_create.dita b/en-US/dita/RTC/API/api_create.dita index e15d838a973..25ab6f8bbcd 100644 --- a/en-US/dita/RTC/API/api_create.dita +++ b/en-US/dita/RTC/API/api_create.dita @@ -18,11 +18,11 @@ + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; - - - - -

            + + + + +

            All called methods provided by the class are executed asynchronously. We recommend calling these methods in the same thread.

            diff --git a/en-US/dita/RTC/API/api_create2.dita b/en-US/dita/RTC/API/api_create2.dita index 84fedc822c3..ce2de55ec9d 100644 --- a/en-US/dita/RTC/API/api_create2.dita +++ b/en-US/dita/RTC/API/api_create2.dita @@ -20,7 +20,7 @@ virtual int initialize(const RtcEngineContext& context) = 0; initializeWithContext(context: RtcEngineContext): number public abstract int Initialize(RtcEngineContext context); - + static Future<RtcEngine> createWithContext(RtcEngineContext config) async { return RtcEngineImpl.createWithContext(config); }

            diff --git a/en-US/dita/RTC/API/api_createagorartcengine.dita b/en-US/dita/RTC/API/api_createagorartcengine.dita index 908322d354d..c633eb34af5 100644 --- a/en-US/dita/RTC/API/api_createagorartcengine.dita +++ b/en-US/dita/RTC/API/api_createagorartcengine.dita @@ -13,12 +13,12 @@

            - - + + AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine () - + public static IAgoraRtcEngine CreateAgoraRtcEngine(AgoraEngineType engineType = AgoraEngineType.MainProcess) - + static Future<RtcEngine> create(String appId)

            diff --git a/en-US/dita/RTC/API/api_createdatastream.dita b/en-US/dita/RTC/API/api_createdatastream.dita index 8a5246212fb..ef44f527cdc 100644 --- a/en-US/dita/RTC/API/api_createdatastream.dita +++ b/en-US/dita/RTC/API/api_createdatastream.dita @@ -20,7 +20,7 @@ virtual int createDataStream(int* streamId, bool reliable, bool ordered) = 0; createDataStream(reliable: boolean, ordered: boolean): number public abstract int CreateDataStream(bool reliable, bool ordered); - + Future<int?> createDataStream(bool reliable, bool ordered);

            diff --git a/en-US/dita/RTC/API/api_createdatastream2.dita b/en-US/dita/RTC/API/api_createdatastream2.dita index e49ccff3677..c8ed0af6360 100644 --- a/en-US/dita/RTC/API/api_createdatastream2.dita +++ b/en-US/dita/RTC/API/api_createdatastream2.dita @@ -20,7 +20,7 @@ createDataStreamWithConfig(config: DataStreamConfig): number public abstract int CreateDataStream(DataStreamConfig config); - + Future<int?> createDataStreamWithConfig(DataStreamConfig config);

            diff --git a/en-US/dita/RTC/API/api_createrendererview.dita b/en-US/dita/RTC/API/api_createrendererview.dita index 6298733e67e..cbacd0ae8eb 100644 --- a/en-US/dita/RTC/API/api_createrendererview.dita +++ b/en-US/dita/RTC/API/api_createrendererview.dita @@ -15,12 +15,12 @@

            public static SurfaceView CreateRendererView(Context context) { return new SurfaceView(context); - - - - - -

            + + + + + +

            diff --git a/en-US/dita/RTC/API/api_createtextureview.dita b/en-US/dita/RTC/API/api_createtextureview.dita index 75ea0e5ba67..384b9c512ec 100644 --- a/en-US/dita/RTC/API/api_createtextureview.dita +++ b/en-US/dita/RTC/API/api_createtextureview.dita @@ -15,12 +15,12 @@

            public static TextureView CreateTextureView(Context context) { return new TextureView(context); - - - - - -

            + + + + + +

            diff --git a/en-US/dita/RTC/API/api_createwithareacode.dita b/en-US/dita/RTC/API/api_createwithareacode.dita index 708d14211d9..8064b369582 100644 --- a/en-US/dita/RTC/API/api_createwithareacode.dita +++ b/en-US/dita/RTC/API/api_createwithareacode.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + static Future<RtcEngine> createWithAreaCode( String appId, List<AreaCode> areaCode) { return createWithContext(RtcEngineContext(appId, areaCode: areaCode)); diff --git a/en-US/dita/RTC/API/api_createwithconfig.dita b/en-US/dita/RTC/API/api_createwithconfig.dita index 79bf30d2f9e..4d4dc839565 100644 --- a/en-US/dita/RTC/API/api_createwithconfig.dita +++ b/en-US/dita/RTC/API/api_createwithconfig.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + static Future<RtcEngine> createWithConfig(RtcEngineConfig config) async { return createWithContext(config); }

            diff --git a/en-US/dita/RTC/API/api_delegate.dita b/en-US/dita/RTC/API/api_delegate.dita index ae957236be5..5ee201ab0ed 100644 --- a/en-US/dita/RTC/API/api_delegate.dita +++ b/en-US/dita/RTC/API/api_delegate.dita @@ -13,13 +13,13 @@

            - + @property(nonatomic, weak) id<AgoraRtcEngineDelegate> _Nullable delegate; - - - - -

            + + + + +

            The SDK uses to inform the app on engine runtime events. All methods defined in the delegate are optional implementation methods.

            diff --git a/en-US/dita/RTC/API/api_destroyrenderer.dita b/en-US/dita/RTC/API/api_destroyrenderer.dita index deb23737759..6b13dfe07b9 100644 --- a/en-US/dita/RTC/API/api_destroyrenderer.dita +++ b/en-US/dita/RTC/API/api_destroyrenderer.dita @@ -13,13 +13,13 @@

            - - - + + + destroyRenderer(user: User): void - - -

            + + +

            You can call this method to destroy the video renderer after calling .

            diff --git a/en-US/dita/RTC/API/api_devicemanager.dita b/en-US/dita/RTC/API/api_devicemanager.dita index 1d0392cf5e7..9c91a6b3c33 100644 --- a/en-US/dita/RTC/API/api_devicemanager.dita +++ b/en-US/dita/RTC/API/api_devicemanager.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + RtcDeviceManager get deviceManager

            diff --git a/en-US/dita/RTC/API/api_disableaudio.dita b/en-US/dita/RTC/API/api_disableaudio.dita index 288c3708c8c..7d49ab09e2b 100644 --- a/en-US/dita/RTC/API/api_disableaudio.dita +++ b/en-US/dita/RTC/API/api_disableaudio.dita @@ -18,7 +18,7 @@ virtual int disableAudio() = 0; disableAudio(): number public abstract int DisableAudio(); - + Future<void> disableAudio();

            diff --git a/en-US/dita/RTC/API/api_disablelastmiletest.dita b/en-US/dita/RTC/API/api_disablelastmiletest.dita index cfc07fdbfb9..53ded731f5d 100644 --- a/en-US/dita/RTC/API/api_disablelastmiletest.dita +++ b/en-US/dita/RTC/API/api_disablelastmiletest.dita @@ -13,12 +13,12 @@

            - - + + virtual int disableLastmileTest() = 0; disableLastmileTest(): number public abstract int DisableLastmileTest(); - + Future<void> disableLastmileTest();

            diff --git a/en-US/dita/RTC/API/api_disablevideo.dita b/en-US/dita/RTC/API/api_disablevideo.dita index d4a0e0f644a..8d9fbb0529b 100644 --- a/en-US/dita/RTC/API/api_disablevideo.dita +++ b/en-US/dita/RTC/API/api_disablevideo.dita @@ -18,7 +18,7 @@ virtual int disableVideo() = 0; disableVideo(): number public abstract int DisableVideo(); - + Future<void> disableVideo();

            diff --git a/en-US/dita/RTC/API/api_enableaudio.dita b/en-US/dita/RTC/API/api_enableaudio.dita index 96cf69e91f7..c36a3315b78 100644 --- a/en-US/dita/RTC/API/api_enableaudio.dita +++ b/en-US/dita/RTC/API/api_enableaudio.dita @@ -18,7 +18,7 @@ virtual int enableAudio() = 0; enableAudio(): number public abstract int EnableAudio(); - + Future<void> enableAudio();

            diff --git a/en-US/dita/RTC/API/api_enableaudioqualityindication.dita b/en-US/dita/RTC/API/api_enableaudioqualityindication.dita index d307127de5b..2f1bd366eca 100644 --- a/en-US/dita/RTC/API/api_enableaudioqualityindication.dita +++ b/en-US/dita/RTC/API/api_enableaudioqualityindication.dita @@ -14,12 +14,12 @@

            public abstract int enableAudioQualityIndication(boolean enabled); - - - - - -

            + + + + + +

            diff --git a/en-US/dita/RTC/API/api_enableaudiovolumeindication.dita b/en-US/dita/RTC/API/api_enableaudiovolumeindication.dita index a43baafe89d..5dd859a46b4 100644 --- a/en-US/dita/RTC/API/api_enableaudiovolumeindication.dita +++ b/en-US/dita/RTC/API/api_enableaudiovolumeindication.dita @@ -25,7 +25,7 @@ virtual int enableAudioVolumeIndication(int interval, int smooth, bool report_vad) = 0; enableAudioVolumeIndication(interval: number, smooth: number, report_vad: boolean = false): number public abstract int EnableAudioVolumeIndication(int interval, int smooth, bool reportVad); - + Future<void> enableAudioVolumeIndication(int interval, int smooth, bool report_vad);

            diff --git a/en-US/dita/RTC/API/api_enabledeeplearningdenoise.dita b/en-US/dita/RTC/API/api_enabledeeplearningdenoise.dita index cec54c4053c..7754f6318da 100644 --- a/en-US/dita/RTC/API/api_enabledeeplearningdenoise.dita +++ b/en-US/dita/RTC/API/api_enabledeeplearningdenoise.dita @@ -13,12 +13,12 @@

            - - + + virtual int enableDeepLearningDenoise(bool enable) = 0; enableDeepLearningDenoise(enable: boolean): number public abstract int EnableDeepLearningDenoise(bool enable); - + Future<void> enableDeepLearningDenoise(bool enable);

            diff --git a/en-US/dita/RTC/API/api_enabledualstreammode.dita b/en-US/dita/RTC/API/api_enabledualstreammode.dita index 28b73c98cc6..4dbdfda1f7d 100644 --- a/en-US/dita/RTC/API/api_enabledualstreammode.dita +++ b/en-US/dita/RTC/API/api_enabledualstreammode.dita @@ -18,7 +18,7 @@ virtual int enableDualStreamMode(bool enabled) = 0; enableDualStreamMode(enabled: boolean): number public abstract int EnableDualStreamMode(bool enabled); - + Future<void> enableDualStreamMode(bool enabled);

            diff --git a/en-US/dita/RTC/API/api_enabledualstreammode2.dita b/en-US/dita/RTC/API/api_enabledualstreammode2.dita index 4cd7aa156ef..8f46b734c5e 100644 --- a/en-US/dita/RTC/API/api_enabledualstreammode2.dita +++ b/en-US/dita/RTC/API/api_enabledualstreammode2.dita @@ -18,9 +18,9 @@ public abstract int enableDualStreamMode(Constants.VideoSourceType sourceType, boolean enabled); - (int)enableDualStreamMode:(AgoraVideoSourceType)sourceType enabled:(BOOL)enabled; virtual int enableDualStreamMode(VIDEO_SOURCE_TYPE sourceType, bool enabled) = 0; - - -

            + + +

            You can call this method to enable or disable the dual-stream mode on the publisher side. Dual streams are a hybrid of a high-quality video stream and a low-quality video stream: diff --git a/en-US/dita/RTC/API/api_enabledualstreammode3.dita b/en-US/dita/RTC/API/api_enabledualstreammode3.dita index d9b8fc5245b..595f43ddc81 100644 --- a/en-US/dita/RTC/API/api_enabledualstreammode3.dita +++ b/en-US/dita/RTC/API/api_enabledualstreammode3.dita @@ -22,9 +22,9 @@ streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig; virtual int enableDualStreamMode( VIDEO_SOURCE_TYPE sourceType, bool enabled, const SimulcastStreamConfig& streamConfig) = 0; - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_enableencryption.dita b/en-US/dita/RTC/API/api_enableencryption.dita index 4ee47bd8785..d5e1194aecc 100644 --- a/en-US/dita/RTC/API/api_enableencryption.dita +++ b/en-US/dita/RTC/API/api_enableencryption.dita @@ -18,7 +18,7 @@ virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0; enableEncryption(enabled: boolean, config: EncryptionConfig): number public abstract int EnableEncryption(bool enabled, EncryptionConfig config); - + Future<void> enableEncryption(bool enabled, EncryptionConfig config);

            diff --git a/en-US/dita/RTC/API/api_enablefacedetection.dita b/en-US/dita/RTC/API/api_enablefacedetection.dita index b6b9ce6f057..fd055fb4a62 100644 --- a/en-US/dita/RTC/API/api_enablefacedetection.dita +++ b/en-US/dita/RTC/API/api_enablefacedetection.dita @@ -22,8 +22,8 @@ public abstract int EnableFaceDetection(bool enable);

            public abstract int enableFaceDetection(boolean enabled); - - + + Future<void> enableFaceDetection(bool enable);

            diff --git a/en-US/dita/RTC/API/api_enableinearmonitoring.dita b/en-US/dita/RTC/API/api_enableinearmonitoring.dita index 2eac522a13a..cd28ba09b10 100644 --- a/en-US/dita/RTC/API/api_enableinearmonitoring.dita +++ b/en-US/dita/RTC/API/api_enableinearmonitoring.dita @@ -16,9 +16,9 @@ public abstract int enableInEarMonitoring(boolean enabled); - (int)enableInEarMonitoring:(BOOL)enabled; virtual int enableInEarMonitoring(bool enabled) = 0; - + public abstract int EnableInEarMonitoring(bool enabled); - + Future<void> enableInEarMonitoring(bool enabled);

            diff --git a/en-US/dita/RTC/API/api_enablelastmiletest.dita b/en-US/dita/RTC/API/api_enablelastmiletest.dita index 3dd0c783702..5d2ea418c1c 100644 --- a/en-US/dita/RTC/API/api_enablelastmiletest.dita +++ b/en-US/dita/RTC/API/api_enablelastmiletest.dita @@ -13,12 +13,12 @@

            - - + + virtual int enableLastmileTest() = 0; enableLastmileTest(): number public abstract int EnableLastmileTest(); - + Future<void> enableLastmileTest();

            diff --git a/en-US/dita/RTC/API/api_enablelocalaudio.dita b/en-US/dita/RTC/API/api_enablelocalaudio.dita index 1b0e67aa394..6797be2a77f 100644 --- a/en-US/dita/RTC/API/api_enablelocalaudio.dita +++ b/en-US/dita/RTC/API/api_enablelocalaudio.dita @@ -18,7 +18,7 @@ virtual int enableLocalAudio(bool enabled) = 0; enableLocalAudio(enabled: boolean): number public abstract int EnableLocalAudio(bool enabled); - + Future<void> enableLocalAudio(bool enabled);

            diff --git a/en-US/dita/RTC/API/api_enablelocalvideo.dita b/en-US/dita/RTC/API/api_enablelocalvideo.dita index b84402f029c..c9889ec26dd 100644 --- a/en-US/dita/RTC/API/api_enablelocalvideo.dita +++ b/en-US/dita/RTC/API/api_enablelocalvideo.dita @@ -18,7 +18,7 @@ virtual int enableLocalVideo(bool enabled) = 0; enableLocalVideo(enabled: boolean): number public abstract int EnableLocalVideo(bool enabled); - + Future<void> enableLocalVideo(bool enabled);

            diff --git a/en-US/dita/RTC/API/api_enablelocalvoicepitchcallback.dita b/en-US/dita/RTC/API/api_enablelocalvoicepitchcallback.dita index b943a7b1fbd..4b2adabb9c5 100644 --- a/en-US/dita/RTC/API/api_enablelocalvoicepitchcallback.dita +++ b/en-US/dita/RTC/API/api_enablelocalvoicepitchcallback.dita @@ -13,7 +13,7 @@

            - Future<void> enableLocalVoicePitchCallback(int interval);

            + Future<void> enableLocalVoicePitchCallback(int interval);

            This method enables the SDK to regularly report the voice pitch of the local user. After the local audio capture is enabled, and you call this method, the SDK triggers the callback at the time interval set in this method.

            diff --git a/en-US/dita/RTC/API/api_enableloopbackrecording.dita b/en-US/dita/RTC/API/api_enableloopbackrecording.dita index 7ff877d10ce..0cd055de697 100644 --- a/en-US/dita/RTC/API/api_enableloopbackrecording.dita +++ b/en-US/dita/RTC/API/api_enableloopbackrecording.dita @@ -23,7 +23,7 @@ deviceName: string | null = null ): number public abstract int EnableLoopbackRecording(bool enabled, string deviceName); - + Future<void> enableLoopbackRecording(bool enabled, {String? deviceName})

            diff --git a/en-US/dita/RTC/API/api_enableplugin.dita b/en-US/dita/RTC/API/api_enableplugin.dita index 11c9520bc51..75114d13fb4 100644 --- a/en-US/dita/RTC/API/api_enableplugin.dita +++ b/en-US/dita/RTC/API/api_enableplugin.dita @@ -13,13 +13,13 @@

            - - - + + + enablePlugin(pluginId: string, enabled: boolean): number - - -

            + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_enableremotesuperresolution.dita b/en-US/dita/RTC/API/api_enableremotesuperresolution.dita index c4bba5c41c0..0563d1e1085 100644 --- a/en-US/dita/RTC/API/api_enableremotesuperresolution.dita +++ b/en-US/dita/RTC/API/api_enableremotesuperresolution.dita @@ -16,9 +16,9 @@ public abstract int enableRemoteSuperResolution(int uid, boolean enable); - (int)enableRemoteSuperResolution:(NSUInteger)uid enable:(BOOL)enable; virtual int enableRemoteSuperResolution(uid_t userId, bool enable) = 0; - + public abstract int EnableRemoteSuperResolution(uint userId, bool enable); - + Future<void> enableRemoteSuperResolution(int userId, bool enable);

            diff --git a/en-US/dita/RTC/API/api_enableremotesuperresolution2.dita b/en-US/dita/RTC/API/api_enableremotesuperresolution2.dita index 048b6b8d0a5..5a17da3b9b8 100644 --- a/en-US/dita/RTC/API/api_enableremotesuperresolution2.dita +++ b/en-US/dita/RTC/API/api_enableremotesuperresolution2.dita @@ -13,13 +13,13 @@

            - - + + virtual int enableRemoteSuperResolution(bool enabled, SR_MODE mode, uid_t userId) = 0; - - - -

            + + + +

            This feature effectively boosts the resolution of a remote user's video seen by the local user. If the original resolution of a remote user's video is a × b, the local user's device can render the remote video at a resolution of 2a × 2b diff --git a/en-US/dita/RTC/API/api_enablesoundpositionindication.dita b/en-US/dita/RTC/API/api_enablesoundpositionindication.dita index d55d61d0287..9bfd3e21f1a 100644 --- a/en-US/dita/RTC/API/api_enablesoundpositionindication.dita +++ b/en-US/dita/RTC/API/api_enablesoundpositionindication.dita @@ -18,7 +18,7 @@ virtual int enableSoundPositionIndication(bool enabled) = 0; enableSoundPositionIndication(enabled: boolean) public abstract int EnableSoundPositionIndication(bool enabled); - + Future<void> enableSoundPositionIndication(bool enabled);

            diff --git a/en-US/dita/RTC/API/api_enablespatialaudio.dita b/en-US/dita/RTC/API/api_enablespatialaudio.dita index 89039af39ca..32f947d6331 100644 --- a/en-US/dita/RTC/API/api_enablespatialaudio.dita +++ b/en-US/dita/RTC/API/api_enablespatialaudio.dita @@ -16,10 +16,10 @@ public abstract int enableSpatialAudio(boolean enabled); - (int)enableSpatialAudio:(BOOL)enabled; virtual int enableSpatialAudio(bool enabled) = 0; - + public abstract int EnableSpatialAudio(bool enabled); - -

            + +

            After enabling the spatial audio effect, you can call to set the spatial audio effect parameters of the remote user. diff --git a/en-US/dita/RTC/API/api_enablevideo.dita b/en-US/dita/RTC/API/api_enablevideo.dita index a66ad45cd20..ae42f637fcc 100644 --- a/en-US/dita/RTC/API/api_enablevideo.dita +++ b/en-US/dita/RTC/API/api_enablevideo.dita @@ -18,7 +18,7 @@ virtual int enableVideo() = 0; enableVideo(): number public abstract int EnableVideo(); - + Future<void> enableVideo();

            diff --git a/en-US/dita/RTC/API/api_enablevirtualbackground.dita b/en-US/dita/RTC/API/api_enablevirtualbackground.dita index dc3cb67b4d5..cd0d6bd60e0 100644 --- a/en-US/dita/RTC/API/api_enablevirtualbackground.dita +++ b/en-US/dita/RTC/API/api_enablevirtualbackground.dita @@ -28,9 +28,9 @@ virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource) = 0; - + public abstract int EnableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource); - + Future<void> enableVirtualBackground( bool enabled, VirtualBackgroundSource backgroundSource);

            diff --git a/en-US/dita/RTC/API/api_enablewebsdkinteroperability.dita b/en-US/dita/RTC/API/api_enablewebsdkinteroperability.dita index b29bf295ad4..a9a9b9a6a1f 100644 --- a/en-US/dita/RTC/API/api_enablewebsdkinteroperability.dita +++ b/en-US/dita/RTC/API/api_enablewebsdkinteroperability.dita @@ -18,7 +18,7 @@ virtual int enableWebSdkInteroperability(bool enabled) = 0; enableWebSdkInteroperability(enabled: boolean): number public abstract int EnableWebSdkInteroperability(bool enabled); - + Future<void> enableWebSdkInteroperability(bool enabled);

            diff --git a/en-US/dita/RTC/API/api_enumeratedevices.dita b/en-US/dita/RTC/API/api_enumeratedevices.dita index 77121be33ad..d3e536ab8a3 100644 --- a/en-US/dita/RTC/API/api_enumeratedevices.dita +++ b/en-US/dita/RTC/API/api_enumeratedevices.dita @@ -13,13 +13,13 @@

            - + - (NSArray<AgoraRtcDeviceInfo *> * _Nullable)enumerateDevices:(AgoraMediaDeviceType)type; - - - - -

            + + + + +

            This method returns an NSArray object that includes all audio and video devices in the system. Apps can enumerate devices with the NSArray object.

            diff --git a/en-US/dita/RTC/API/api_enumeratedisplays.dita b/en-US/dita/RTC/API/api_enumeratedisplays.dita index bbe7b9d9c00..2ea2d0ce288 100644 --- a/en-US/dita/RTC/API/api_enumeratedisplays.dita +++ b/en-US/dita/RTC/API/api_enumeratedisplays.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + List<Display> enumerateDisplays()

            diff --git a/en-US/dita/RTC/API/api_enumeratewindows.dita b/en-US/dita/RTC/API/api_enumeratewindows.dita index 8d47b31c652..0ebd1eaf5bb 100644 --- a/en-US/dita/RTC/API/api_enumeratewindows.dita +++ b/en-US/dita/RTC/API/api_enumeratewindows.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + List<Window> enumerateWindows()

            diff --git a/en-US/dita/RTC/API/api_getassetabsolutepath.dita b/en-US/dita/RTC/API/api_getassetabsolutepath.dita index 653e0586eb5..79b5afc291c 100644 --- a/en-US/dita/RTC/API/api_getassetabsolutepath.dita +++ b/en-US/dita/RTC/API/api_getassetabsolutepath.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + Future<String?> getAssetAbsolutePath(String assetPath)

            diff --git a/en-US/dita/RTC/API/api_getaudiodeviceinfo.dita b/en-US/dita/RTC/API/api_getaudiodeviceinfo.dita index c729cd8d297..62c76c7c0b7 100644 --- a/en-US/dita/RTC/API/api_getaudiodeviceinfo.dita +++ b/en-US/dita/RTC/API/api_getaudiodeviceinfo.dita @@ -14,12 +14,12 @@

            public abstract DeviceInfo getAudioDeviceInfo(); - + virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0; - - - -

            + + + +

            After calling this method, you can get whether the audio device supports ultra-low-latency capture and playback.

            diff --git a/en-US/dita/RTC/API/api_getaudioeffectmanager.dita b/en-US/dita/RTC/API/api_getaudioeffectmanager.dita index 910fce3188a..6196f679cda 100644 --- a/en-US/dita/RTC/API/api_getaudioeffectmanager.dita +++ b/en-US/dita/RTC/API/api_getaudioeffectmanager.dita @@ -14,12 +14,12 @@

            public abstract IAudioEffectManager getAudioEffectManager(); - - - - - -

            + + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_getaudiofileinfo.dita b/en-US/dita/RTC/API/api_getaudiofileinfo.dita index 516248c1450..8a08244ab3d 100644 --- a/en-US/dita/RTC/API/api_getaudiofileinfo.dita +++ b/en-US/dita/RTC/API/api_getaudiofileinfo.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int GetAudioFileInfo(string filePath); - + Future<int?> getAudioFileInfo(String filePath);

            diff --git a/en-US/dita/RTC/API/api_getaudiomixingcurrentposition.dita b/en-US/dita/RTC/API/api_getaudiomixingcurrentposition.dita index b32f6ad43cb..acb200e8704 100644 --- a/en-US/dita/RTC/API/api_getaudiomixingcurrentposition.dita +++ b/en-US/dita/RTC/API/api_getaudiomixingcurrentposition.dita @@ -18,7 +18,7 @@ virtual int getAudioMixingCurrentPosition() = 0; getAudioMixingCurrentPosition(): number public abstract int GetAudioMixingCurrentPosition(); - + Future<int?> getAudioMixingCurrentPosition();

            diff --git a/en-US/dita/RTC/API/api_getaudiomixingduration.dita b/en-US/dita/RTC/API/api_getaudiomixingduration.dita index 41b9a0c949a..ec2290c0074 100644 --- a/en-US/dita/RTC/API/api_getaudiomixingduration.dita +++ b/en-US/dita/RTC/API/api_getaudiomixingduration.dita @@ -18,8 +18,8 @@ virtual int getAudioMixingDuration() = 0; getAudioMixingDuration(): number public abstract int GetAudioMixingDuration(); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_getaudiomixingduration2.dita b/en-US/dita/RTC/API/api_getaudiomixingduration2.dita index 90734498bef..d20f4982579 100644 --- a/en-US/dita/RTC/API/api_getaudiomixingduration2.dita +++ b/en-US/dita/RTC/API/api_getaudiomixingduration2.dita @@ -18,7 +18,7 @@ virtual int getAudioMixingDuration(const char* filePath) = 0; getAudioMixingDuration(filePath?: string): number public abstract int GetAudioMixingDuration(string filePath); - + Future<int?> getAudioMixingDuration([String? filePath]);

            diff --git a/en-US/dita/RTC/API/api_getaudiomixingplayoutvolume.dita b/en-US/dita/RTC/API/api_getaudiomixingplayoutvolume.dita index fde10800916..ba2474d68ca 100644 --- a/en-US/dita/RTC/API/api_getaudiomixingplayoutvolume.dita +++ b/en-US/dita/RTC/API/api_getaudiomixingplayoutvolume.dita @@ -18,7 +18,7 @@ virtual int getAudioMixingPlayoutVolume() = 0; getAudioMixingPlayoutVolume(): number public abstract int GetAudioMixingPlayoutVolume(); - + Future<int?> getAudioMixingPlayoutVolume();

            diff --git a/en-US/dita/RTC/API/api_getaudiomixingpublishvolume.dita b/en-US/dita/RTC/API/api_getaudiomixingpublishvolume.dita index 8d5fdbef50f..44e76fa5107 100644 --- a/en-US/dita/RTC/API/api_getaudiomixingpublishvolume.dita +++ b/en-US/dita/RTC/API/api_getaudiomixingpublishvolume.dita @@ -18,7 +18,7 @@ virtual int getAudioMixingPublishVolume() = 0; getAudioMixingPublishVolume(): number public abstract int GetAudioMixingPublishVolume(); - + Future<int?> getAudioMixingPublishVolume();

            diff --git a/en-US/dita/RTC/API/api_getaudioplaybackdevices.dita b/en-US/dita/RTC/API/api_getaudioplaybackdevices.dita index a060b8f8391..4550f12375d 100644 --- a/en-US/dita/RTC/API/api_getaudioplaybackdevices.dita +++ b/en-US/dita/RTC/API/api_getaudioplaybackdevices.dita @@ -13,13 +13,13 @@

            - - - + + + getAudioPlaybackDevices(): Array<Device> - - -

            + + +

            Returns diff --git a/en-US/dita/RTC/API/api_getaudiorecordingdevices.dita b/en-US/dita/RTC/API/api_getaudiorecordingdevices.dita index 48fce0b820d..fb96cf31c86 100644 --- a/en-US/dita/RTC/API/api_getaudiorecordingdevices.dita +++ b/en-US/dita/RTC/API/api_getaudiorecordingdevices.dita @@ -13,13 +13,13 @@

            - - - + + + getAudioRecordingDevices(): Array<Device> - - -

            + + +

            Returns diff --git a/en-US/dita/RTC/API/api_getaudiotrackcount.dita b/en-US/dita/RTC/API/api_getaudiotrackcount.dita index 0ad06cdbc5c..58e0cd82a6e 100644 --- a/en-US/dita/RTC/API/api_getaudiotrackcount.dita +++ b/en-US/dita/RTC/API/api_getaudiotrackcount.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int GetAudioTrackCount(); - + Future<int?> getAudioTrackCount();

            diff --git a/en-US/dita/RTC/API/api_getbuffertype.dita b/en-US/dita/RTC/API/api_getbuffertype.dita index d551e0a8d85..ecc8ab58164 100644 --- a/en-US/dita/RTC/API/api_getbuffertype.dita +++ b/en-US/dita/RTC/API/api_getbuffertype.dita @@ -13,13 +13,13 @@

            - - + + virtual agora::media::ExternalVideoFrame::VIDEO_PIXEL_FORMAT getBufferType() = 0; - - - -

            + + + +

            Before you initialize the custom video source, the SDK triggers this callback to query the video frame type. You must specify the video frame type in the return value and then pass it to the SDK.

            diff --git a/en-US/dita/RTC/API/api_getcallid.dita b/en-US/dita/RTC/API/api_getcallid.dita index a6e05b28ed8..c832c72f85e 100644 --- a/en-US/dita/RTC/API/api_getcallid.dita +++ b/en-US/dita/RTC/API/api_getcallid.dita @@ -18,7 +18,7 @@ virtual int getCallId(agora::util::AString& callId) = 0; getCallId(): string public abstract string GetCallId(); - + Future<String?> getCallId();

            diff --git a/en-US/dita/RTC/API/api_getcameramaxzoomfactor.dita b/en-US/dita/RTC/API/api_getcameramaxzoomfactor.dita index 94973dff718..d28b7d7c1d3 100644 --- a/en-US/dita/RTC/API/api_getcameramaxzoomfactor.dita +++ b/en-US/dita/RTC/API/api_getcameramaxzoomfactor.dita @@ -16,9 +16,9 @@ public abstract float getCameraMaxZoomFactor(); - (CGFloat)cameraMaxZoomFactor; virtual float getCameraMaxZoomFactor() = 0; - + public abstract float GetCameraMaxZoomFactor(); - + Future<double?> getCameraMaxZoomFactor();

            diff --git a/en-US/dita/RTC/API/api_getconnectionstate.dita b/en-US/dita/RTC/API/api_getconnectionstate.dita index 28c6b1e3362..898fb68ed50 100644 --- a/en-US/dita/RTC/API/api_getconnectionstate.dita +++ b/en-US/dita/RTC/API/api_getconnectionstate.dita @@ -18,7 +18,7 @@ virtual CONNECTION_STATE_TYPE getConnectionState() = 0; getConnectionState(): CONNECTION_STATE_TYPE public abstract CONNECTION_STATE_TYPE GetConnectionState(); - + Future<ConnectionStateType> getConnectionState();

            diff --git a/en-US/dita/RTC/API/api_getdeviceinfo.dita b/en-US/dita/RTC/API/api_getdeviceinfo.dita index 899ea242a0b..078973570ea 100644 --- a/en-US/dita/RTC/API/api_getdeviceinfo.dita +++ b/en-US/dita/RTC/API/api_getdeviceinfo.dita @@ -13,13 +13,13 @@

            - + - (AgoraRtcDeviceInfo * _Nullable)getDeviceInfo:(AgoraMediaDeviceType)type; - - - - -

            + + + + +

            This method retrieves the current audio and video capturing device based on your settings in the type parameter.

            diff --git a/en-US/dita/RTC/API/api_getdevicevolume.dita b/en-US/dita/RTC/API/api_getdevicevolume.dita index 2500ac9c8e9..f02c3b1bdfc 100644 --- a/en-US/dita/RTC/API/api_getdevicevolume.dita +++ b/en-US/dita/RTC/API/api_getdevicevolume.dita @@ -13,13 +13,13 @@

            - + - (int)getDeviceVolume:(AgoraMediaDeviceType)type; - - - - -

            + + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_geteffectcurrentposition.dita b/en-US/dita/RTC/API/api_geteffectcurrentposition.dita index c06ff3f5948..e477d557cec 100644 --- a/en-US/dita/RTC/API/api_geteffectcurrentposition.dita +++ b/en-US/dita/RTC/API/api_geteffectcurrentposition.dita @@ -18,7 +18,7 @@ virtual int getEffectCurrentPosition(int soundId) = 0; getEffectCurrentPosition(soundId: number): number public abstract int GetEffectCurrentPosition(int soundId); - + Future<int?> getEffectCurrentPosition(int soundId);

            diff --git a/en-US/dita/RTC/API/api_geteffectduration.dita b/en-US/dita/RTC/API/api_geteffectduration.dita index 5c0e9e9a573..ca9a55e3b7e 100644 --- a/en-US/dita/RTC/API/api_geteffectduration.dita +++ b/en-US/dita/RTC/API/api_geteffectduration.dita @@ -18,7 +18,7 @@ virtual int getEffectDuration(const char* filePath) = 0; getEffectDuration(filePath: string): number public abstract int GetEffectDuration(string filePath); - + Future<int?> getEffectDuration(String filePath);

            diff --git a/en-US/dita/RTC/API/api_geteffectsvolume.dita b/en-US/dita/RTC/API/api_geteffectsvolume.dita index 2e21528b1cd..5be4dd9b694 100644 --- a/en-US/dita/RTC/API/api_geteffectsvolume.dita +++ b/en-US/dita/RTC/API/api_geteffectsvolume.dita @@ -20,7 +20,7 @@ virtual int getEffectsVolume() = 0; getEffectsVolume(): number public abstract int GetEffectsVolume(); - + Future<double?> getEffectsVolume();

            diff --git a/en-US/dita/RTC/API/api_geterrordescription.dita b/en-US/dita/RTC/API/api_geterrordescription.dita index f4de8cec152..ae5287ec357 100644 --- a/en-US/dita/RTC/API/api_geterrordescription.dita +++ b/en-US/dita/RTC/API/api_geterrordescription.dita @@ -18,7 +18,7 @@ virtual const char* getErrorDescription(int code) = 0; getErrorDescription(errorCode: number): string public abstract string GetErrorDescription(int code); - + Future<String?> getErrorDescription(int error)

            diff --git a/en-US/dita/RTC/API/api_getloopbackrecordingvolume.dita b/en-US/dita/RTC/API/api_getloopbackrecordingvolume.dita index bc026380b57..20d0a53c88f 100644 --- a/en-US/dita/RTC/API/api_getloopbackrecordingvolume.dita +++ b/en-US/dita/RTC/API/api_getloopbackrecordingvolume.dita @@ -13,13 +13,13 @@

            - - + + virtual int getLoopbackRecordingVolume() = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_getmediarecorder.dita b/en-US/dita/RTC/API/api_getmediarecorder.dita index a4a8a58f574..d41311c87e2 100644 --- a/en-US/dita/RTC/API/api_getmediarecorder.dita +++ b/en-US/dita/RTC/API/api_getmediarecorder.dita @@ -13,12 +13,12 @@

            - - + + AGORA_CPP_API static IMediaRecorder* getMediaRecorder(IRtcEngine* engine, IMediaRecorderObserver* callback); - - - + + + static MediaRecorder getMediaRecorder(RtcEngine engine, {MediaRecorderObserver? callback})

            diff --git a/en-US/dita/RTC/API/api_getnativehandle.dita b/en-US/dita/RTC/API/api_getnativehandle.dita index 530e0bf80a4..c64b5e292b2 100644 --- a/en-US/dita/RTC/API/api_getnativehandle.dita +++ b/en-US/dita/RTC/API/api_getnativehandle.dita @@ -15,10 +15,10 @@

            public abstract long getNativeHandle(); - (void* _Nullable)getNativeHandle; - - - - + + + + Future<int?> getNativeHandle();

            diff --git a/en-US/dita/RTC/API/api_getpluginparameter.dita b/en-US/dita/RTC/API/api_getpluginparameter.dita index fbae18281f1..68788948fb4 100644 --- a/en-US/dita/RTC/API/api_getpluginparameter.dita +++ b/en-US/dita/RTC/API/api_getpluginparameter.dita @@ -13,13 +13,13 @@

            - - - + + + getPluginParameter(pluginId: string, key: string): string - - -

            + + +

            If you want to pass the JSON string to the C++ layer when using the plugin, you need to call and to get and set the plugin parameters.

            diff --git a/en-US/dita/RTC/API/api_getplugins.dita b/en-US/dita/RTC/API/api_getplugins.dita index f79806d0851..e93a8cc3963 100644 --- a/en-US/dita/RTC/API/api_getplugins.dita +++ b/en-US/dita/RTC/API/api_getplugins.dita @@ -13,13 +13,13 @@

            - - - + + + getPlugins(): Plugin[] - - -

            + + +

            After the method call of , you can call this method to get registered plugins.

            diff --git a/en-US/dita/RTC/API/api_getscreencapturesources.dita b/en-US/dita/RTC/API/api_getscreencapturesources.dita index 604559820a4..9ddf47d7c33 100644 --- a/en-US/dita/RTC/API/api_getscreencapturesources.dita +++ b/en-US/dita/RTC/API/api_getscreencapturesources.dita @@ -13,13 +13,13 @@

            - - + + virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_getscreensharehelper.dita b/en-US/dita/RTC/API/api_getscreensharehelper.dita index 2a1e89a0afc..9036ceabfd7 100644 --- a/en-US/dita/RTC/API/api_getscreensharehelper.dita +++ b/en-US/dita/RTC/API/api_getscreensharehelper.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + Future<RtcEngine> getScreenShareHelper({String? appGroup})

            diff --git a/en-US/dita/RTC/API/api_getscreensinfo.dita b/en-US/dita/RTC/API/api_getscreensinfo.dita index ee98613245e..7e0b7945321 100644 --- a/en-US/dita/RTC/API/api_getscreensinfo.dita +++ b/en-US/dita/RTC/API/api_getscreensinfo.dita @@ -13,13 +13,13 @@

            - - - + + + getScreensInfo(): Array<Object> - - -

            + + +

            You need to call this method to get the screen information before sharing the screen by a display ID (macOS) or ScreenRect (Windows).

            diff --git a/en-US/dita/RTC/API/api_getuserinfobyuid.dita b/en-US/dita/RTC/API/api_getuserinfobyuid.dita index 3c8c2f8236e..886b3981a10 100644 --- a/en-US/dita/RTC/API/api_getuserinfobyuid.dita +++ b/en-US/dita/RTC/API/api_getuserinfobyuid.dita @@ -22,7 +22,7 @@ public abstract int getUserInfoByUid(int uid, UserInfo userInfo); - (AgoraUserInfo* _Nullable)getUserInfoByUid:(NSUInteger)uid withError:(AgoraErrorCode* _Nullable)error; getUserInfoByUid(uid: number): { errCode: number; userInfo: UserInfo } - + Future<UserInfo> getUserInfoByUid(int uid);

            diff --git a/en-US/dita/RTC/API/api_getuserinfobyuidex.dita b/en-US/dita/RTC/API/api_getuserinfobyuidex.dita index fbb73096981..0ec8fb4f7e9 100644 --- a/en-US/dita/RTC/API/api_getuserinfobyuidex.dita +++ b/en-US/dita/RTC/API/api_getuserinfobyuidex.dita @@ -19,11 +19,11 @@ userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId localUserAccount:(NSString* _Nonnull)localUserAccount; - - - - -

            + + + + +

            diff --git a/en-US/dita/RTC/API/api_getuserinfobyuseraccount.dita b/en-US/dita/RTC/API/api_getuserinfobyuseraccount.dita index 10601ed8271..c5343981a52 100644 --- a/en-US/dita/RTC/API/api_getuserinfobyuseraccount.dita +++ b/en-US/dita/RTC/API/api_getuserinfobyuseraccount.dita @@ -22,7 +22,7 @@ public abstract int getUserInfoByUserAccount(String userAccount, UserInfo userInfo); - (AgoraUserInfo* _Nullable)getUserInfoByUserAccount:(NSString* _Nonnull)userAccount withError:(AgoraErrorCode* _Nullable)error; getUserInfoByUserAccount(userAccount: string): { errCode: number; userInfo: UserInfo } - + Future<UserInfo> getUserInfoByUserAccount(String userAccount);

            diff --git a/en-US/dita/RTC/API/api_getuserinfobyuseraccountex.dita b/en-US/dita/RTC/API/api_getuserinfobyuseraccountex.dita index 3332b7dfb14..cc5395c00c3 100644 --- a/en-US/dita/RTC/API/api_getuserinfobyuseraccountex.dita +++ b/en-US/dita/RTC/API/api_getuserinfobyuseraccountex.dita @@ -18,11 +18,11 @@ userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId localUserAccount:(NSString* _Nonnull)localUserAccount; - - - - -

            + + + + +

            diff --git a/en-US/dita/RTC/API/api_getversion.dita b/en-US/dita/RTC/API/api_getversion.dita index 334cd26d1dc..b840befc81b 100644 --- a/en-US/dita/RTC/API/api_getversion.dita +++ b/en-US/dita/RTC/API/api_getversion.dita @@ -18,7 +18,7 @@ virtual const char* getVersion(int* build) = 0; getVersion(): string public abstract string GetVersion(); - + Future<String?> getSdkVersion()

            diff --git a/en-US/dita/RTC/API/api_getvideocapturetype.dita b/en-US/dita/RTC/API/api_getvideocapturetype.dita index db0c12bc4c7..dba13ec88b9 100644 --- a/en-US/dita/RTC/API/api_getvideocapturetype.dita +++ b/en-US/dita/RTC/API/api_getvideocapturetype.dita @@ -13,13 +13,13 @@

            - - + + virtual VIDEO_CAPTURE_TYPE getVideoCaptureType() = 0; - - - -

            + + + +

            Before you initialize the custom video source, the SDK triggers this callback to query the capture type of the video source. You must specify the capture type in the return value and then pass it to the SDK. The SDK enables the corresponding video processing algorithm according to the capture type after receiving the video frame.

            diff --git a/en-US/dita/RTC/API/api_getvideocontenthint.dita b/en-US/dita/RTC/API/api_getvideocontenthint.dita index fdde0b07294..1fc364f93cc 100644 --- a/en-US/dita/RTC/API/api_getvideocontenthint.dita +++ b/en-US/dita/RTC/API/api_getvideocontenthint.dita @@ -13,13 +13,13 @@

            - - + + virtual VideoContentHint getVideoContentHint() = 0; - - - -

            + + + +

            If you specify the custom video source as a screen-sharing video, the SDK triggers this callback to query the content hint of the video source before you initialize the video source. You must specify the content hint in the return value and then pass it to the SDK. The SDK enables the corresponding video processing algorithm according to the content hint after receiving the video frame.

            diff --git a/en-US/dita/RTC/API/api_getvideodevices.dita b/en-US/dita/RTC/API/api_getvideodevices.dita index 1c64b3a358f..433a49c1384 100644 --- a/en-US/dita/RTC/API/api_getvideodevices.dita +++ b/en-US/dita/RTC/API/api_getvideodevices.dita @@ -13,13 +13,13 @@

            - - - + + + getVideoDevices(): Array<Device> - - -

            + + +

            Returns diff --git a/en-US/dita/RTC/API/api_getvolumeofeffect.dita b/en-US/dita/RTC/API/api_getvolumeofeffect.dita index 8d87efc4961..452fe708f0d 100644 --- a/en-US/dita/RTC/API/api_getvolumeofeffect.dita +++ b/en-US/dita/RTC/API/api_getvolumeofeffect.dita @@ -19,10 +19,10 @@ virtual int getVolumeOfEffect(int soundId) = 0; - + public abstract int GetVolumeOfEffect(int soundId); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_getwindowsinfo.dita b/en-US/dita/RTC/API/api_getwindowsinfo.dita index f299a63c16b..c34a3a33fb3 100644 --- a/en-US/dita/RTC/API/api_getwindowsinfo.dita +++ b/en-US/dita/RTC/API/api_getwindowsinfo.dita @@ -13,13 +13,13 @@

            - - - + + + getWindowsInfo(): Array<WindowInfo> - - -

            + + +

            Before sharing a window through a window ID that specifies the window, you need to call this method to get the window information.

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_getapplicationvolume.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_getapplicationvolume.dita index f56927c1af6..5bec3bd6995 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_getapplicationvolume.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_getapplicationvolume.dita @@ -13,13 +13,13 @@

            - - + + virtual int getApplicationVolume(int& volume) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_getcount.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_getcount.dita index 9c6dc331e9e..57ed59fdade 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_getcount.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_getcount.dita @@ -13,13 +13,13 @@

            - - + + virtual int getCount() = 0; - - - -

            + + + +

            If you call before this method, the SDK returns the number of audio playback devices. If you call before this method, the SDK returns the number of audio capture devices.

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_getdefaultdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_getdefaultdevice.dita index faf9777f6bf..a764fe3e286 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_getdefaultdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_getdefaultdevice.dita @@ -13,11 +13,11 @@

            - + virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - - -

            + + +

            <ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_getdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_getdevice.dita index 44268f1d144..dc5c65faa75 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_getdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_getdevice.dita @@ -13,13 +13,13 @@

            - - + + virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - + public abstract string GetDevice(); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_isapplicationmute.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_isapplicationmute.dita index 8c18d28fde3..bf54a042831 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_isapplicationmute.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_isapplicationmute.dita @@ -13,14 +13,14 @@

            - - + + virtual int isApplicationMute(bool &mute) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_release.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_release.dita index 892c3f1ff53..a8e8db86f39 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_release.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_release.dita @@ -13,13 +13,13 @@

            - - + + virtual void release() = 0; - - - -

            + + + +

            \ No newline at end of file diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationmute.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationmute.dita index 80ce5474574..f5bc8b711cb 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationmute.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationmute.dita @@ -13,13 +13,13 @@

            - - + + virtual int setApplicationMute(bool mute) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationvolume.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationvolume.dita index f5ace6e1df9..fddc4fea681 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationvolume.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_setapplicationvolume.dita @@ -13,14 +13,14 @@

            - - + + virtual int setApplicationVolume(int volume) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_iaudiodevicecollection_setdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicecollection_setdevice.dita index 710a29320aa..37491622ba2 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicecollection_setdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicecollection_setdevice.dita @@ -13,13 +13,13 @@

            - - + + virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - + public abstract int SetDevice(string deviceIdUTF8); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita index d6d2d10f532..07c92773d49 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita @@ -15,12 +15,12 @@

            public abstract DeviceInfo[] EnumeratePlaybackDevices();

            - - + + virtual IAudioDeviceCollection* enumeratePlaybackDevices() = 0; public abstract DeviceInfo[] EnumeratePlaybackDevices(); getAudioPlaybackDevices(): Array<{ deviceid: string, devicename: string }> - + Future<List<MediaDeviceInfo>> enumerateAudioPlaybackDevices()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita index 4a34a3de9d6..b190d82754c 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita @@ -15,12 +15,12 @@

            abstract DeviceInfo[] EnumerateRecordingDevices();

            - - + + virtual IAudioDeviceCollection* enumerateRecordingDevices() = 0; public abstract DeviceInfo[] EnumerateRecordingDevices(); getAudioRecordingDevices(): Array<{ deviceid: string, devicename: string }> - + Future<List<MediaDeviceInfo>> enumerateAudioRecordingDevices()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita index c27877a6d77..98184228afd 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita @@ -13,7 +13,7 @@

            - + virtual int followSystemPlaybackDevice(bool enable) = 0; setAudioRecordingDevice(deviceId: string): number public abstract int FollowSystemPlaybackDevice(bool enable); diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita index 1f1ffa467fa..c116c454069 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita @@ -13,11 +13,11 @@

            - + virtual int followSystemRecordingDevice(bool enable) = 0; setAudioRecordingDevice(deviceId: string): number public abstract int FollowSystemRecordingDevice(bool enable); - + Future<void> followSystemRecordingDevice(bool enable);

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevice.dita index 8dc204ea43a..766950420a4 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevice.dita @@ -13,12 +13,12 @@

            - - + + virtual int getPlaybackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; getCurrentAudioPlaybackDevice(): Device public abstract string GetPlaybackDevice(); - + Future<String?> getAudioPlaybackDevice()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita index 7b09c4610b1..3abf72f5bab 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita @@ -13,12 +13,12 @@

            - - + + virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH]) = 0; getPlaybackDeviceInfo(): Array<{ deviceid: string, devicename: string }> public abstract DeviceInfo GetPlaybackDeviceInfo(); - + Future<MediaDeviceInfo?> getAudioPlaybackDeviceInfo()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicemute.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicemute.dita index 1950adb4749..a45e52a78ee 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicemute.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicemute.dita @@ -13,12 +13,12 @@

            - - + + virtual int getPlaybackDeviceMute(bool *mute) = 0; getAudioPlaybackDeviceMute(): boolean public abstract bool GetPlaybackDeviceMute(); - + Future<bool?> getAudioPlaybackDeviceMute()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita index 29529f0ca80..b612922b1d6 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita @@ -13,12 +13,12 @@

            - - + + virtual int getPlaybackDeviceVolume(int *volume) = 0; getAudioPlaybackVolume(): number public abstract int GetPlaybackDeviceVolume(); - + Future<int?> getAudioPlaybackDeviceVolume()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevice.dita index fc0234fbf91..9a32c434889 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevice.dita @@ -13,12 +13,12 @@

            - - + + virtual int getRecordingDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; getCurrentAudioRecordingDevice(): Device public abstract string GetRecordingDevice(); - + Future<String?> getAudioRecordingDevice()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita index 39508ae1590..9d57fdf075f 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita @@ -13,12 +13,12 @@

            - - + + virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH]) = 0; getRecordingDeviceInfo(): Array<{ deviceid: string, devicename: string }> public abstract DeviceInfo GetRecordingDeviceInfo(); - + Future<MediaDeviceInfo?> getAudioRecordingDeviceInfo()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicemute.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicemute.dita index a560e2ee3d6..9908c70b4a8 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicemute.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicemute.dita @@ -13,12 +13,12 @@

            - - + + virtual int getRecordingDeviceMute(bool *mute) = 0; getAudioRecordingDeviceMute(): boolean public abstract bool GetRecordingDeviceMute(); - + Future<bool?> getAudioRecordingDeviceMute()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita index 044aa5c2a6e..cb86521ce33 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita @@ -13,12 +13,12 @@

            - - + + virtual int getRecordingDeviceVolume(int *volume) = 0; getAudioRecordingVolume(): number public abstract int GetRecordingDeviceVolume(); - + Future<int?> getAudioRecordingDeviceVolume()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_release.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_release.dita index 2769d89cae1..5ab18d3c464 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_release.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_release.dita @@ -13,13 +13,13 @@

            - - + + virtual void release() = 0; - - - -

            + + + +

            \ No newline at end of file diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevice.dita index 291ca20ab09..4db84450853 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevice.dita @@ -13,12 +13,12 @@

            - - + + virtual int setPlaybackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; setAudioPlaybackDevice(deviceId: string): number public abstract int SetPlaybackDevice(string deviceId); - + Future<void> setAudioPlaybackDevice(String deviceId)

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicemute.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicemute.dita index a49c2dab50c..16196db8b9e 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicemute.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicemute.dita @@ -13,12 +13,12 @@

            - - + + virtual int setPlaybackDeviceMute(bool mute) = 0; setAudioPlaybackDeviceMute(mute: boolean): number public abstract int SetPlaybackDeviceMute(bool mute); - + Future<void> setAudioPlaybackDeviceMute(bool mute)

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita index 5e54446e04a..5c9985e7760 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita @@ -13,12 +13,12 @@

            - - + + virtual int setPlaybackDeviceVolume(int volume) = 0; setAudioPlaybackVolume(volume: number): number public abstract int SetPlaybackDeviceVolume(int volume); - + Future<void> setAudioPlaybackDeviceVolume(int volume)

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevice.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevice.dita index fc06de9a3e3..d2552a588af 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevice.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevice.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRecordingDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; setAudioRecordingDevice(deviceId: string): number public abstract int SetRecordingDevice(string deviceId); - + Future<void> setAudioRecordingDevice(String deviceId)

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicemute.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicemute.dita index e22f6f6026f..4f06878add8 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicemute.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicemute.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRecordingDeviceMute(bool mute) = 0; setAudioRecordingDeviceMute(mute: boolean): number public abstract int SetRecordingDeviceMute(bool mute); - + Future<void> setAudioRecordingDeviceMute(bool mute)

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita index 88d6872aaad..569119507aa 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRecordingDeviceVolume(int volume) = 0; setAudioRecordingVolume(volume: number): number public abstract int SetRecordingDeviceVolume(int volume); - + Future<void> setAudioRecordingDeviceVolume(int volume)

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita index 91024ca964d..bdf8fb7078f 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita @@ -13,12 +13,12 @@

            - + -(int)stopAudioDeviceLoopbackTest; virtual int stopAudioDeviceLoopbackTest() = 0; stopAudioDeviceLoopbackTest(): number public abstract int StopAudioDeviceLoopbackTest(); - + Future<void> stopAudioDeviceLoopbackTest()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita index 6442cb8fc66..7d182fd0ccb 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita @@ -13,12 +13,12 @@

            - + - (int)stopPlaybackDeviceTest; virtual int stopPlaybackDeviceTest() = 0; stopAudioPlaybackDeviceTest(): number public abstract int StopPlaybackDeviceTest(); - + Future<void> stopAudioPlaybackDeviceTest()

            diff --git a/en-US/dita/RTC/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita b/en-US/dita/RTC/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita index 55885309eee..3dde50eb2a5 100644 --- a/en-US/dita/RTC/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita +++ b/en-US/dita/RTC/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita @@ -13,12 +13,12 @@

            - + - (int)stopRecordingDeviceTest; virtual int stopRecordingDeviceTest() = 0; stopAudioRecordingDeviceTest(): number public abstract int StopRecordingDeviceTest(); - + Future<void> stopAudioRecordingDeviceTest()

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita index abed9d09587..01dacc3079d 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita @@ -16,10 +16,10 @@ public abstract int muteAllRemoteAudioStreams(boolean mute); - (int)muteAllRemoteAudioStreams:(BOOL)mute; virtual int muteAllRemoteAudioStreams(bool mute) = 0; - + public abstract int MuteAllRemoteAudioStreams(bool mute); - -

            + +

            After successfully calling this method, the local user stops or resumes subscribing to the audio streams of all remote users, including all subsequent users.

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita index f67604d1be8..08ca7523712 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita @@ -16,10 +16,10 @@ public abstract int muteLocalAudioStream(boolean mute); - (int)muteLocalAudioStream:(BOOL)mute; virtual int muteLocalAudioStream(bool mute) = 0; - + public abstract int MuteLocalAudioStream(bool mute); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_release.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_release.dita index a900a48800b..ca1a637944e 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_release.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_release.dita @@ -13,12 +13,12 @@

            - - + + virtual void release() = 0; - - -

            + + +

            This method releases all resources under . When the user does not need to use the spatial audio effect, you can call this method to release resources for other operations.

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_setaudiorecvrange.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_setaudiorecvrange.dita index 0ea0936629a..8837b45f15c 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_setaudiorecvrange.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_setaudiorecvrange.dita @@ -16,10 +16,10 @@ public abstract int setAudioRecvRange(float range); - (int)setAudioRecvRange:(float)range; virtual int setAudioRecvRange(float range) = 0; - + public abstract int SetAudioRecvRange(float range); - -

            + +

            After the setting is successful, the local user can only hear the remote users within the setting range or belonging to the same team. You can call this method at any time to update the audio reception range.

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_setdistanceunit.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_setdistanceunit.dita index 2889d4d5b6d..36d57e3cf29 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_setdistanceunit.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_setdistanceunit.dita @@ -16,10 +16,10 @@ public abstract int setDistanceUnit(float unit); - (int)setDistanceUnit:(float)unit; virtual int setDistanceUnit(float unit) = 0; - + public abstract int SetDistanceUnit(float unit); - -

            + +

            In a game engine, the unit of distance is customized, while in the Agora spatial audio algorithm, distance is measured in meters. By default, the SDK converts the game engine distance per unit to one meter. You can call this method to convert the game engine distance per unit to a specified number of meters.

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita index 96d98e7c7f9..6bfc9437c3c 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita @@ -16,10 +16,10 @@ public abstract int setMaxAudioRecvCount(int maxCount); - (int)setMaxAudioRecvCount:(NSUInteger)maxCount; virtual int setMaxAudioRecvCount(int maxCount) = 0; - + public abstract int SetMaxAudioRecvCount(int maxCount); - -

            + +

            If the number of receivable streams exceeds the set value, the local user receives the maxCount streams that are closest to the local user. If there are users who belong to the same team as the local user in the room, the local user receives the audio of the teammates first. For example, when maxCount is set to 3, if there are five remote users in the room, two of whom belong to the same team as the local user, and three of whom belong to different teams but are within the audio reception range of the local user, the local user can hear the two teammates and the one user from a different team closest to the local user.

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita index 270b3b2c7ff..09037f96a61 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita @@ -16,10 +16,10 @@ public abstract int updatePlayerPositionInfo(int playerId, RemoteVoicePositionInfo positionInfo); - (int)updatePlayerPositionInfo:(NSInteger)playerId positionInfo:(AgoraRemoteVoicePositionInfo* _Nonnull)positionInfo; virtual int updatePlayerPositionInfo(int playerId, const RemoteVoicePositionInfo& positionInfo) = 0; - + public abstract int UpdatePlayerPositionInfo(int playerId, float[] position, float[] forward); - -

            + +

            After a successful update, the local user can hear the change in the spatial position of the media player.

            diff --git a/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateselfposition.dita b/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateselfposition.dita index 3135b804584..27b9aeb031b 100644 --- a/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateselfposition.dita +++ b/en-US/dita/RTC/API/api_ibasespatialaudioengine_updateselfposition.dita @@ -15,12 +15,12 @@

            public abstract int updateSelfPosition( float[] position, float[] axisForward, float[] axisRight, float[] axisUp); - - (int)updateSelfPosition:(NSArray<NSNumber*>* _Nonnull)position axisForward:(NSArray<NSNumber*>* _Nonnull)axisForward axisRight:(NSArray<NSNumber*>* _Nonnull)axisRight axisUp:(NSArray<NSNumber*>* _Nonnull)axisUp; + - (int)updateSelfPosition:(NSArray<NSNumber*>* _Nonnull)position axisForward:(NSArray<NSNumber*>* _Nonnull)axisForward axisRight:(NSArray<NSNumber*>* _Nonnull)axisRight axisUp:(NSArray<NSNumber*>* _Nonnull)axisUp; virtual int updateSelfPosition(float position[3], float axisForward[3], float axisRight[3], float axisUp[3]) = 0; - + public abstract int UpdateSelfPosition(float[] position, float[] axisForward, float[] axisRight, float[] axisUp); - -

            + +

            When this method is called under different classes, the effect is different: diff --git a/en-US/dita/RTC/API/api_ichannel_addinjectstreamurl.dita b/en-US/dita/RTC/API/api_ichannel_addinjectstreamurl.dita index 18971b70e73..9ce7e333ce2 100644 --- a/en-US/dita/RTC/API/api_ichannel_addinjectstreamurl.dita +++ b/en-US/dita/RTC/API/api_ichannel_addinjectstreamurl.dita @@ -13,12 +13,12 @@

            - - + + virtual int addInjectStreamUrl(const char* url, const InjectStreamConfig& config) = 0; addInjectStreamUrl(url: string, config: InjectStreamConfig): number public abstract int AddInjectStreamUrl(string url, InjectStreamConfig config); - + Future<void> addInjectStreamUrl(String url, LiveInjectStreamConfig config);

            diff --git a/en-US/dita/RTC/API/api_ichannel_addpublishstreamurl.dita b/en-US/dita/RTC/API/api_ichannel_addpublishstreamurl.dita index a44a0236292..8aeccfcd80b 100644 --- a/en-US/dita/RTC/API/api_ichannel_addpublishstreamurl.dita +++ b/en-US/dita/RTC/API/api_ichannel_addpublishstreamurl.dita @@ -13,12 +13,12 @@

            - - + + virtual int addPublishStreamUrl(const char *url, bool transcodingEnabled) = 0; addPublishStreamUrl(url: string, transcodingEnabled: boolean): number public abstract int AddPublishStreamUrl(string url, bool transcodingEnabled); - + Future<void> addPublishStreamUrl(String url, bool transcodingEnabled);

            diff --git a/en-US/dita/RTC/API/api_ichannel_adjustuserplaybacksignalvolume.dita b/en-US/dita/RTC/API/api_ichannel_adjustuserplaybacksignalvolume.dita index b7e49121c5a..007f4f2da9e 100644 --- a/en-US/dita/RTC/API/api_ichannel_adjustuserplaybacksignalvolume.dita +++ b/en-US/dita/RTC/API/api_ichannel_adjustuserplaybacksignalvolume.dita @@ -13,12 +13,12 @@

            - - + + virtual int adjustUserPlaybackSignalVolume(uid_t userId, int volume) = 0; adjustUserPlaybackSignalVolume(userId: number, volume: number): number public abstract int AdjustUserPlaybackSignalVolume(uint uid, int volume); - + Future<void> adjustUserPlaybackSignalVolume(int uid, int volume);

            diff --git a/en-US/dita/RTC/API/api_ichannel_channelId.dita b/en-US/dita/RTC/API/api_ichannel_channelId.dita index 255d5028438..715b5d39682 100644 --- a/en-US/dita/RTC/API/api_ichannel_channelId.dita +++ b/en-US/dita/RTC/API/api_ichannel_channelId.dita @@ -13,12 +13,12 @@

            - - + + virtual const char *channelId() = 0; channelId(): string public abstract string ChannelId(); - + String channelId;

            diff --git a/en-US/dita/RTC/API/api_ichannel_createdatastream.dita b/en-US/dita/RTC/API/api_ichannel_createdatastream.dita index 5032160a595..8002bff2de5 100644 --- a/en-US/dita/RTC/API/api_ichannel_createdatastream.dita +++ b/en-US/dita/RTC/API/api_ichannel_createdatastream.dita @@ -13,12 +13,12 @@

            - - + + virtual int createDataStream(int* streamId, bool reliable, bool ordered) = 0; createDataStream(reliable: boolean, ordered: boolean): number public abstract int CreateDataStream(bool reliable, bool ordered); - + Future<int?> createDataStream(bool reliable, bool ordered);

            diff --git a/en-US/dita/RTC/API/api_ichannel_createdatastream2.dita b/en-US/dita/RTC/API/api_ichannel_createdatastream2.dita index f51e22fbcc6..271a538fb58 100644 --- a/en-US/dita/RTC/API/api_ichannel_createdatastream2.dita +++ b/en-US/dita/RTC/API/api_ichannel_createdatastream2.dita @@ -13,12 +13,12 @@

            - - + + virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0; createDataStreamWithConfig(config: DataStreamConfig): number public abstract int CreateDataStream(DataStreamConfig config); - + Future<int?> createDataStreamWithConfig(DataStreamConfig config);

            diff --git a/en-US/dita/RTC/API/api_ichannel_enableencryption.dita b/en-US/dita/RTC/API/api_ichannel_enableencryption.dita index 9d4b815471a..2caccf19b1f 100644 --- a/en-US/dita/RTC/API/api_ichannel_enableencryption.dita +++ b/en-US/dita/RTC/API/api_ichannel_enableencryption.dita @@ -13,12 +13,12 @@

            - - + + virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0; enableEncryption(enabled: boolean, config: EncryptionConfig): number public abstract int EnableEncryption(bool enabled, EncryptionConfig config); - + Future<void> enableEncryption(bool enabled, EncryptionConfig config);

            diff --git a/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution.dita b/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution.dita index 856662716e5..bed88b35df0 100644 --- a/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution.dita +++ b/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int EnableRemoteSuperResolution(uint userId, bool enable); - + Future<void> enableRemoteSuperResolution(int userId, bool enable);

            diff --git a/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution2.dita b/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution2.dita index c1bc78a8f7f..1badb817918 100644 --- a/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution2.dita +++ b/en-US/dita/RTC/API/api_ichannel_enableremotesuperresolution2.dita @@ -13,13 +13,13 @@

            - - + + virtual int enableRemoteSuperResolution(bool enabled, SR_MODE mode, uid_t userId) = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_ichannel_getcallid.dita b/en-US/dita/RTC/API/api_ichannel_getcallid.dita index d9380e1c088..a2dbea25445 100644 --- a/en-US/dita/RTC/API/api_ichannel_getcallid.dita +++ b/en-US/dita/RTC/API/api_ichannel_getcallid.dita @@ -13,12 +13,12 @@

            - - + + virtual int getCallId(agora::util::AString& callId) = 0; getCallId(): string public abstract string GetCallId(); - + Future<String?> getCallId();

            diff --git a/en-US/dita/RTC/API/api_ichannel_getconnectionstate.dita b/en-US/dita/RTC/API/api_ichannel_getconnectionstate.dita index c477e7e2e90..b6917ac9468 100644 --- a/en-US/dita/RTC/API/api_ichannel_getconnectionstate.dita +++ b/en-US/dita/RTC/API/api_ichannel_getconnectionstate.dita @@ -13,12 +13,12 @@

            - - + + virtual CONNECTION_STATE_TYPE getConnectionState() = 0; getConnectionState(): CONNECTION_STATE_TYPE public abstract CONNECTION_STATE_TYPE GetConnectionState(); - + Future<ConnectionStateType> getConnectionState();

            diff --git a/en-US/dita/RTC/API/api_ichannel_joinchannel.dita b/en-US/dita/RTC/API/api_ichannel_joinchannel.dita index 2d96e5ea207..54d19e3d50e 100644 --- a/en-US/dita/RTC/API/api_ichannel_joinchannel.dita +++ b/en-US/dita/RTC/API/api_ichannel_joinchannel.dita @@ -13,8 +13,8 @@

            - - + + virtual int joinChannel(const char* token, const char* info, uid_t uid, @@ -25,7 +25,7 @@ options?: ChannelMediaOptions ): number public abstract int JoinChannel(string token, string info, uint uid, ChannelMediaOptions options); - + Future<void> joinChannel(String? token, String? optionalInfo, int optionalUid, ChannelMediaOptions options);

            diff --git a/en-US/dita/RTC/API/api_ichannel_joinchannelwithuseraccount.dita b/en-US/dita/RTC/API/api_ichannel_joinchannelwithuseraccount.dita index 29b3032ec53..dc7626585dd 100644 --- a/en-US/dita/RTC/API/api_ichannel_joinchannelwithuseraccount.dita +++ b/en-US/dita/RTC/API/api_ichannel_joinchannelwithuseraccount.dita @@ -13,8 +13,8 @@

            - - + + virtual int joinChannelWithUserAccount(const char* token, const char* userAccount, const ChannelMediaOptions& options) = 0; @@ -23,7 +23,7 @@ options: ChannelMediaOptions ): number public abstract int JoinChannelWithUserAccount(string token, string userAccount, ChannelMediaOptions options); - + Future<void> joinChannelWithUserAccount( String? token, String userAccount, ChannelMediaOptions options);

            diff --git a/en-US/dita/RTC/API/api_ichannel_leavechannel.dita b/en-US/dita/RTC/API/api_ichannel_leavechannel.dita index 411b3076ffc..5b84b10f534 100644 --- a/en-US/dita/RTC/API/api_ichannel_leavechannel.dita +++ b/en-US/dita/RTC/API/api_ichannel_leavechannel.dita @@ -13,12 +13,12 @@

            - - + + virtual int leaveChannel() = 0; leaveChannel(): number public abstract int LeaveChannel(); - + Future<void> leaveChannel();

            diff --git a/en-US/dita/RTC/API/api_ichannel_muteallremoteaudiostreams.dita b/en-US/dita/RTC/API/api_ichannel_muteallremoteaudiostreams.dita index 01aa07d9fdc..842de283fb9 100644 --- a/en-US/dita/RTC/API/api_ichannel_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC/API/api_ichannel_muteallremoteaudiostreams.dita @@ -13,12 +13,12 @@

            - - + + virtual int muteAllRemoteAudioStreams(bool mute) = 0; muteAllRemoteAudioStreams(mute: boolean): number public abstract int MuteAllRemoteAudioStreams(bool mute); - + Future<void> muteAllRemoteAudioStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_ichannel_muteallremotevideostreams.dita b/en-US/dita/RTC/API/api_ichannel_muteallremotevideostreams.dita index 73bbb91f30e..d2b1d2e9518 100644 --- a/en-US/dita/RTC/API/api_ichannel_muteallremotevideostreams.dita +++ b/en-US/dita/RTC/API/api_ichannel_muteallremotevideostreams.dita @@ -13,12 +13,12 @@

            - - + + virtual int muteAllRemoteVideoStreams(bool mute) = 0; muteAllRemoteVideoStreams(mute: boolean): number public abstract int MuteAllRemoteVideoStreams(bool mute); - + Future<void> muteAllRemoteVideoStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_ichannel_mutelocalaudiostream.dita b/en-US/dita/RTC/API/api_ichannel_mutelocalaudiostream.dita index feb2de38649..7c8a9928bcf 100644 --- a/en-US/dita/RTC/API/api_ichannel_mutelocalaudiostream.dita +++ b/en-US/dita/RTC/API/api_ichannel_mutelocalaudiostream.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + Future<void> muteLocalAudioStream(bool mute);

            diff --git a/en-US/dita/RTC/API/api_ichannel_mutelocalvideostream.dita b/en-US/dita/RTC/API/api_ichannel_mutelocalvideostream.dita index 2ee3683a71b..eed4a921887 100644 --- a/en-US/dita/RTC/API/api_ichannel_mutelocalvideostream.dita +++ b/en-US/dita/RTC/API/api_ichannel_mutelocalvideostream.dita @@ -13,13 +13,13 @@

            - - - - - - - Future<void> muteLocalVideoStream(bool muted);

            + + + + + + + Future<void> muteLocalVideoStream(bool muted);

            Parameters diff --git a/en-US/dita/RTC/API/api_ichannel_muteremoteaudiostream.dita b/en-US/dita/RTC/API/api_ichannel_muteremoteaudiostream.dita index 917cad428fd..ece620ab0ae 100644 --- a/en-US/dita/RTC/API/api_ichannel_muteremoteaudiostream.dita +++ b/en-US/dita/RTC/API/api_ichannel_muteremoteaudiostream.dita @@ -13,12 +13,12 @@

            - - + + virtual int muteRemoteAudioStream(uid_t userId, bool mute) = 0; muteRemoteAudioStream(userId: number, mute: boolean): number public abstract int MuteRemoteAudioStream(uint userId, bool mute); - + Future<void> muteRemoteAudioStream(int userId, bool muted);

            diff --git a/en-US/dita/RTC/API/api_ichannel_muteremotevideostream.dita b/en-US/dita/RTC/API/api_ichannel_muteremotevideostream.dita index b802d512586..08cdf34bd09 100644 --- a/en-US/dita/RTC/API/api_ichannel_muteremotevideostream.dita +++ b/en-US/dita/RTC/API/api_ichannel_muteremotevideostream.dita @@ -13,12 +13,12 @@

            - - + + virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0; muteRemoteVideoStream(userId: number, mute: boolean): number public abstract int MuteRemoteVideoStream(uint userId, bool mute); - + Future<void> muteRemoteVideoStream(int userId, bool muted);

            diff --git a/en-US/dita/RTC/API/api_ichannel_pauseallchannelmediarelay.dita b/en-US/dita/RTC/API/api_ichannel_pauseallchannelmediarelay.dita index 9d009b5d9f8..b1eebbab690 100644 --- a/en-US/dita/RTC/API/api_ichannel_pauseallchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_ichannel_pauseallchannelmediarelay.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + Future<void> pauseAllChannelMediaRelay();

            diff --git a/en-US/dita/RTC/API/api_ichannel_publish.dita b/en-US/dita/RTC/API/api_ichannel_publish.dita index 2bdef5fe821..0446474c559 100644 --- a/en-US/dita/RTC/API/api_ichannel_publish.dita +++ b/en-US/dita/RTC/API/api_ichannel_publish.dita @@ -13,12 +13,12 @@

            - - + + virtual int publish() = 0; publish(): number public abstract int Publish(); - + Future<void> publish();

            diff --git a/en-US/dita/RTC/API/api_ichannel_registermediametadataobserver.dita b/en-US/dita/RTC/API/api_ichannel_registermediametadataobserver.dita index a5c4cb92e2a..793cc16a570 100644 --- a/en-US/dita/RTC/API/api_ichannel_registermediametadataobserver.dita +++ b/en-US/dita/RTC/API/api_ichannel_registermediametadataobserver.dita @@ -13,12 +13,12 @@

            - - + + virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0; registerMediaMetadataObserver(type: METADATA_TYPE = 0): number public abstract int RegisterMediaMetadataObserver(METADATA_TYPE type); - + Future<void> registerMediaMetadataObserver();

            diff --git a/en-US/dita/RTC/API/api_ichannel_registerpacketobserver.dita b/en-US/dita/RTC/API/api_ichannel_registerpacketobserver.dita index 65d0f0e205e..20218761e46 100644 --- a/en-US/dita/RTC/API/api_ichannel_registerpacketobserver.dita +++ b/en-US/dita/RTC/API/api_ichannel_registerpacketobserver.dita @@ -13,13 +13,13 @@

            - - + + virtual int registerPacketObserver(IPacketObserver* observer) = 0; - + public abstract int RegisterPacketObserver(IPacketObserver observer); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_ichannel_release.dita b/en-US/dita/RTC/API/api_ichannel_release.dita index f5a757e62fd..b377e7e6f7b 100644 --- a/en-US/dita/RTC/API/api_ichannel_release.dita +++ b/en-US/dita/RTC/API/api_ichannel_release.dita @@ -13,12 +13,12 @@

            - - + + virtual int release() = 0; release(): number public abstract void Dispose(); - + Future<void> destroy();

            diff --git a/en-US/dita/RTC/API/api_ichannel_releaseall.dita b/en-US/dita/RTC/API/api_ichannel_releaseall.dita index 7a2504f6df4..a2fb4b42b30 100644 --- a/en-US/dita/RTC/API/api_ichannel_releaseall.dita +++ b/en-US/dita/RTC/API/api_ichannel_releaseall.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + static void destroyAll()

            diff --git a/en-US/dita/RTC/API/api_ichannel_removeinjectstreamurl.dita b/en-US/dita/RTC/API/api_ichannel_removeinjectstreamurl.dita index bde14a0d1ef..bd7910d2f2c 100644 --- a/en-US/dita/RTC/API/api_ichannel_removeinjectstreamurl.dita +++ b/en-US/dita/RTC/API/api_ichannel_removeinjectstreamurl.dita @@ -13,12 +13,12 @@

            - - + + virtual int removeInjectStreamUrl(const char* url) = 0; removeInjectStreamUrl(url: string): number public abstract int RemoveInjectStreamUrl(string url); - + Future<void> removeInjectStreamUrl(String url);

            diff --git a/en-US/dita/RTC/API/api_ichannel_removepublishstreamurl.dita b/en-US/dita/RTC/API/api_ichannel_removepublishstreamurl.dita index c01deeccaf1..8340047115d 100644 --- a/en-US/dita/RTC/API/api_ichannel_removepublishstreamurl.dita +++ b/en-US/dita/RTC/API/api_ichannel_removepublishstreamurl.dita @@ -13,12 +13,12 @@

            - - + + virtual int removePublishStreamUrl(const char *url) = 0; removePublishStreamUrl(url: string): number public abstract int RemovePublishStreamUrl(string url); - + Future<void> removePublishStreamUrl(String url);

            diff --git a/en-US/dita/RTC/API/api_ichannel_renewtoken.dita b/en-US/dita/RTC/API/api_ichannel_renewtoken.dita index e2d31afc24f..3db902cb790 100644 --- a/en-US/dita/RTC/API/api_ichannel_renewtoken.dita +++ b/en-US/dita/RTC/API/api_ichannel_renewtoken.dita @@ -13,12 +13,12 @@

            - - + + virtual int renewToken(const char* token) = 0; renewToken(token: string): number public abstract int RenewToken(string token); - + Future<void> renewToken(String token);

            diff --git a/en-US/dita/RTC/API/api_ichannel_resumeallchannelmediarelay.dita b/en-US/dita/RTC/API/api_ichannel_resumeallchannelmediarelay.dita index 73716706cf6..e53a38dd3b0 100644 --- a/en-US/dita/RTC/API/api_ichannel_resumeallchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_ichannel_resumeallchannelmediarelay.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + Future<void> resumeAllChannelMediaRelay();

            diff --git a/en-US/dita/RTC/API/api_ichannel_sendmetadata.dita b/en-US/dita/RTC/API/api_ichannel_sendmetadata.dita index c9f23ba994c..567ea516c68 100644 --- a/en-US/dita/RTC/API/api_ichannel_sendmetadata.dita +++ b/en-US/dita/RTC/API/api_ichannel_sendmetadata.dita @@ -13,12 +13,12 @@

            - - - + + + sendMetadata(metadata: Metadata): number public abstract int SendMetadata(Metadata metadata); - + Future<void> sendMetadata(Uint8List metadata);

            diff --git a/en-US/dita/RTC/API/api_ichannel_sendstreammessage.dita b/en-US/dita/RTC/API/api_ichannel_sendstreammessage.dita index 590575bcb06..a0e718ab722 100644 --- a/en-US/dita/RTC/API/api_ichannel_sendstreammessage.dita +++ b/en-US/dita/RTC/API/api_ichannel_sendstreammessage.dita @@ -13,12 +13,12 @@

            - - + + virtual int sendStreamMessage(int streamId, const char* data, size_t length) = 0; sendStreamMessage(streamId: number, data: string): number public abstract int SendStreamMessage(int streamId, byte[] data); - + Future<void> sendStreamMessage(int streamId, Uint8List message);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setchanneleventhandler.dita b/en-US/dita/RTC/API/api_ichannel_setchanneleventhandler.dita index 45bfffe761a..5812654d0d4 100644 --- a/en-US/dita/RTC/API/api_ichannel_setchanneleventhandler.dita +++ b/en-US/dita/RTC/API/api_ichannel_setchanneleventhandler.dita @@ -13,12 +13,12 @@

            - - + + virtual int setChannelEventHandler(IChannelEventHandler *channelEh) = 0; - + public abstract void InitEventHandler(IAgoraRtcChannelEventHandler channelEventHandler); - + void setEventHandler(RtcChannelEventHandler handler)

            diff --git a/en-US/dita/RTC/API/api_ichannel_setclientrole.dita b/en-US/dita/RTC/API/api_ichannel_setclientrole.dita index c930d05970d..a0b5e9b912b 100644 --- a/en-US/dita/RTC/API/api_ichannel_setclientrole.dita +++ b/en-US/dita/RTC/API/api_ichannel_setclientrole.dita @@ -13,13 +13,13 @@

            - - + + virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0; setClientRole(role: CLIENT_ROLE_TYPE): number public abstract int SetClientRole(CLIENT_ROLE_TYPE role); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_ichannel_setclientrole2.dita b/en-US/dita/RTC/API/api_ichannel_setclientrole2.dita index a96e29bf1b4..4174655725d 100644 --- a/en-US/dita/RTC/API/api_ichannel_setclientrole2.dita +++ b/en-US/dita/RTC/API/api_ichannel_setclientrole2.dita @@ -13,12 +13,12 @@

            - - + + virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0; setClientRoleWithOptions(role: CLIENT_ROLE_TYPE, options: ClientRoleOptions): number public abstract int SetClientRole(CLIENT_ROLE_TYPE role, ClientRoleOptions options); - + Future<void> setClientRole(ClientRole role, [ClientRoleOptions? options]);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremoteaudiostreams.dita b/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremoteaudiostreams.dita index b9ef1b732a5..99b86b3507b 100644 --- a/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremoteaudiostreams.dita +++ b/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremoteaudiostreams.dita @@ -13,12 +13,12 @@

            - - + + virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) = 0; setDefaultMuteAllRemoteAudioStreams(mute: boolean): number public abstract int SetDefaultMuteAllRemoteAudioStreams(bool mute); - + Future<void> setDefaultMuteAllRemoteAudioStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremotevideostreams.dita b/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremotevideostreams.dita index e6621dde899..bc931c792b4 100644 --- a/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremotevideostreams.dita +++ b/en-US/dita/RTC/API/api_ichannel_setdefaultmuteallremotevideostreams.dita @@ -13,12 +13,12 @@

            - - + + virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) = 0; setDefaultMuteAllRemoteVideoStreams(mute: boolean): number public abstract int SetDefaultMuteAllRemoteVideoStreams(bool mute); - + Future<void> setDefaultMuteAllRemoteVideoStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setencryptionmode.dita b/en-US/dita/RTC/API/api_ichannel_setencryptionmode.dita index 7db92705a9b..77278b916bb 100644 --- a/en-US/dita/RTC/API/api_ichannel_setencryptionmode.dita +++ b/en-US/dita/RTC/API/api_ichannel_setencryptionmode.dita @@ -13,12 +13,12 @@

            - - + + virtual int setEncryptionMode(const char* encryptionMode) = 0; setEncryptionMode(encryptionMode: string): number public abstract int SetEncryptionMode(string encryptionMode); - + Future<void> setEncryptionMode(EncryptionMode encryptionMode);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setencryptionsecret.dita b/en-US/dita/RTC/API/api_ichannel_setencryptionsecret.dita index 835efb51d75..d27d9324a92 100644 --- a/en-US/dita/RTC/API/api_ichannel_setencryptionsecret.dita +++ b/en-US/dita/RTC/API/api_ichannel_setencryptionsecret.dita @@ -13,12 +13,12 @@

            - - + + virtual int setEncryptionSecret(const char* secret) = 0; setEncryptionSecret(secret: string): number public abstract int SetEncryptionSecret(string secret); - + Future<void> setEncryptionSecret(String secret);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setlivetranscoding.dita b/en-US/dita/RTC/API/api_ichannel_setlivetranscoding.dita index 9b0e884a59e..cde3452de91 100644 --- a/en-US/dita/RTC/API/api_ichannel_setlivetranscoding.dita +++ b/en-US/dita/RTC/API/api_ichannel_setlivetranscoding.dita @@ -13,12 +13,12 @@

            - - + + virtual int setLiveTranscoding(const LiveTranscoding &transcoding) = 0; setLiveTranscoding(transcoding: LiveTranscoding): number public abstract int SetLiveTranscoding(LiveTranscoding transcoding); - + Future<void> setLiveTranscoding(LiveTranscoding transcoding);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setmaxmetadatasize.dita b/en-US/dita/RTC/API/api_ichannel_setmaxmetadatasize.dita index a93c166d988..3578d36ce9f 100644 --- a/en-US/dita/RTC/API/api_ichannel_setmaxmetadatasize.dita +++ b/en-US/dita/RTC/API/api_ichannel_setmaxmetadatasize.dita @@ -13,12 +13,12 @@

            - - - + + + setMaxMetadataSize(size: number): number public abstract int SetMaxMetadataSize(int size); - + Future<void> setMaxMetadataSize(int size);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setremotedefaultvideostreamtype.dita b/en-US/dita/RTC/API/api_ichannel_setremotedefaultvideostreamtype.dita index 603d8b332b9..281658bebab 100644 --- a/en-US/dita/RTC/API/api_ichannel_setremotedefaultvideostreamtype.dita +++ b/en-US/dita/RTC/API/api_ichannel_setremotedefaultvideostreamtype.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRemoteDefaultVideoStreamType(REMOTE_VIDEO_STREAM_TYPE streamType) = 0; setRemoteDefaultVideoStreamType(streamType: REMOTE_VIDEO_STREAM_TYPE): number public abstract int SetRemoteDefaultVideoStreamType(REMOTE_VIDEO_STREAM_TYPE streamType); - + Future<void> setRemoteDefaultVideoStreamType(VideoStreamType streamType);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setremoterendermode.dita b/en-US/dita/RTC/API/api_ichannel_setremoterendermode.dita index 2dc3c5d14db..cb4dcd33339 100644 --- a/en-US/dita/RTC/API/api_ichannel_setremoterendermode.dita +++ b/en-US/dita/RTC/API/api_ichannel_setremoterendermode.dita @@ -13,16 +13,16 @@

            - - + + virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; - + public abstract int SetRemoteRenderMode(uint userId, RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_ichannel_setremoteuserpriority.dita b/en-US/dita/RTC/API/api_ichannel_setremoteuserpriority.dita index 61a704f4666..795dd87f3f3 100644 --- a/en-US/dita/RTC/API/api_ichannel_setremoteuserpriority.dita +++ b/en-US/dita/RTC/API/api_ichannel_setremoteuserpriority.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0; setRemoteUserPriority(uid: number, userPriority: PRIORITY_TYPE): number public abstract int SetRemoteUserPriority(uint uid, PRIORITY_TYPE userPriority); - + Future<void> setRemoteUserPriority(int uid, UserPriority userPriority);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setremotevideostreamtype.dita b/en-US/dita/RTC/API/api_ichannel_setremotevideostreamtype.dita index d7c5eb4b76a..eae695c541f 100644 --- a/en-US/dita/RTC/API/api_ichannel_setremotevideostreamtype.dita +++ b/en-US/dita/RTC/API/api_ichannel_setremotevideostreamtype.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRemoteVideoStreamType(uid_t userId, REMOTE_VIDEO_STREAM_TYPE streamType) = 0; setRemoteVideoStreamType(userId: number, streamType: REMOTE_VIDEO_STREAM_TYPE): number public abstract int SetRemoteVideoStreamType(uint userId, REMOTE_VIDEO_STREAM_TYPE streamType); - + Future<void> setRemoteVideoStreamType(int userId, VideoStreamType streamType);

            diff --git a/en-US/dita/RTC/API/api_ichannel_setremotevoiceposition.dita b/en-US/dita/RTC/API/api_ichannel_setremotevoiceposition.dita index c8bfb8d51df..1aa852e6b2c 100644 --- a/en-US/dita/RTC/API/api_ichannel_setremotevoiceposition.dita +++ b/en-US/dita/RTC/API/api_ichannel_setremotevoiceposition.dita @@ -13,12 +13,12 @@

            - - + + virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0; setRemoteVoicePosition(uid: number, pan: number, gain: number): number public abstract int SetRemoteVoicePosition(uint uid, double pan, double gain); - + Future<void> setRemoteVoicePosition(int uid, double pan, double gain);

            diff --git a/en-US/dita/RTC/API/api_ichannel_startchannelmediarelay.dita b/en-US/dita/RTC/API/api_ichannel_startchannelmediarelay.dita index ad63ce258e1..17179e84628 100644 --- a/en-US/dita/RTC/API/api_ichannel_startchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_ichannel_startchannelmediarelay.dita @@ -13,12 +13,12 @@

            - - + + virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; startChannelMediaRelay(configuration: ChannelMediaRelayConfiguration): number public abstract int StartChannelMediaRelay(ChannelMediaRelayConfiguration configuration); - + Future<void> startChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);

            diff --git a/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithouttranscoding.dita b/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithouttranscoding.dita index bb129660b74..aa39c5520da 100644 --- a/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithouttranscoding.dita +++ b/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithouttranscoding.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int StartRtmpStreamWithoutTranscoding(string url); - + Future<void> startRtmpStreamWithoutTranscoding(String url);

            diff --git a/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithtranscoding.dita b/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithtranscoding.dita index cd61fd745a1..40f03b42b2d 100644 --- a/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithtranscoding.dita +++ b/en-US/dita/RTC/API/api_ichannel_startrtmpstreamwithtranscoding.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int StartRtmpStreamWithTranscoding(string url, LiveTranscoding transcoding); - + Future<void> startRtmpStreamWithTranscoding(LiveTranscoding transcoding);

            diff --git a/en-US/dita/RTC/API/api_ichannel_stopchannelmediarelay.dita b/en-US/dita/RTC/API/api_ichannel_stopchannelmediarelay.dita index 64744313466..2d158ea404c 100644 --- a/en-US/dita/RTC/API/api_ichannel_stopchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_ichannel_stopchannelmediarelay.dita @@ -13,12 +13,12 @@

            - - + + virtual int stopChannelMediaRelay() = 0; stopChannelMediaRelay(): number public abstract int StopChannelMediaRelay(); - + Future<void> stopChannelMediaRelay();

            diff --git a/en-US/dita/RTC/API/api_ichannel_stoprtmpstream.dita b/en-US/dita/RTC/API/api_ichannel_stoprtmpstream.dita index 6f0f3f88e43..2857c38182a 100644 --- a/en-US/dita/RTC/API/api_ichannel_stoprtmpstream.dita +++ b/en-US/dita/RTC/API/api_ichannel_stoprtmpstream.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int StopRtmpStream(string url); - + Future<void> stopRtmpStream(String url);

            diff --git a/en-US/dita/RTC/API/api_ichannel_unpublish.dita b/en-US/dita/RTC/API/api_ichannel_unpublish.dita index c127737b992..b14462db21b 100644 --- a/en-US/dita/RTC/API/api_ichannel_unpublish.dita +++ b/en-US/dita/RTC/API/api_ichannel_unpublish.dita @@ -13,12 +13,12 @@

            - - + + virtual int unpublish() = 0; unpublish(): number public abstract int Unpublish(); - + Future<void> unpublish();

            diff --git a/en-US/dita/RTC/API/api_ichannel_unregistermediametadataobserver.dita b/en-US/dita/RTC/API/api_ichannel_unregistermediametadataobserver.dita index aabebd1853d..bc566ec0527 100644 --- a/en-US/dita/RTC/API/api_ichannel_unregistermediametadataobserver.dita +++ b/en-US/dita/RTC/API/api_ichannel_unregistermediametadataobserver.dita @@ -13,12 +13,12 @@

            - - - + + + unregisterMediaMetadataObserver(type: METADATA_TYPE = 0): number public abstract int UnRegisterMediaMetadataObserver(METADATA_TYPE type); - + Future<void> unregisterMediaMetadataObserver();

            diff --git a/en-US/dita/RTC/API/api_ichannel_updatechannelmediarelay.dita b/en-US/dita/RTC/API/api_ichannel_updatechannelmediarelay.dita index 8e55d4a5750..e26526ab70d 100644 --- a/en-US/dita/RTC/API/api_ichannel_updatechannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_ichannel_updatechannelmediarelay.dita @@ -13,12 +13,12 @@

            - - + + virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; updateChannelMediaRelay(configuration: ChannelMediaRelayConfiguration): number public abstract int UpdateChannelMediaRelay(ChannelMediaRelayConfiguration configuration); - + Future<void> updateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);

            diff --git a/en-US/dita/RTC/API/api_ichannel_updatertmptranscoding.dita b/en-US/dita/RTC/API/api_ichannel_updatertmptranscoding.dita index 2b7adac3d3d..f49c3d581ab 100644 --- a/en-US/dita/RTC/API/api_ichannel_updatertmptranscoding.dita +++ b/en-US/dita/RTC/API/api_ichannel_updatertmptranscoding.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int UpdateRtmpTranscoding(LiveTranscoding transcoding); - + Future<void> updateRtmpTranscoding(LiveTranscoding transcoding);

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_addeventhandler.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_addeventhandler.dita index 0e234cd7a10..a497b1f14e8 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_addeventhandler.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_addeventhandler.dita @@ -14,12 +14,12 @@

            public abstract int addEventHandler(ICloudSpatialAudioEventHandler eventHandler); - + virtual int addEventHandler(ICloudSpatialAudioEventHandler* eventHandler) = 0; - + public abstract void InitEventHandler(IAgoraRtcCloudSpatialAudioEngineEventHandler eh); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_create.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_create.dita index f4833b4cc49..a5bdeace9c6 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_create.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_create.dita @@ -19,12 +19,12 @@ } return mInstance; } - - - - - -

            + + + + + +

            Call this method before .

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_enablespatializer.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_enablespatializer.dita index 1086b40acdc..d6efb91abce 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_enablespatializer.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_enablespatializer.dita @@ -16,10 +16,10 @@ public abstract int enableSpatializer(boolean enable, boolean applyToTeam); - (int)enableSpatializer:(BOOL)enable applyToTeam:(BOOL)applyToTeam; virtual int enableSpatializer(bool enable, bool applyToTeam) = 0; - + public abstract int EnableSpatializer(bool enable, bool applyToTeam); - -

            + +

            Once enabled, users can hear the spatial audio effect of remote users, as well as their spatial position changes. diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_enterroom.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_enterroom.dita index 5837f999523..d4d46cb4f9d 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_enterroom.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_enterroom.dita @@ -16,10 +16,10 @@ public abstract int enterRoom(String token, String roomName, int uid); - (int)enterRoomByToken:(NSString* _Nullable)token roomName:(NSString* _Nonnull)roomName uid:(NSUInteger)uid; virtual int enterRoom(const char* token, const char* roomName, unsigned int uid) = 0; - + public abstract int EnterRoom(string token, string roomName, uint uid); - -

            + +

            The spatial audio effect does not take effect until you enter a room. After you call this method, the SDK triggers the callback.

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_exitroom.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_exitroom.dita index c03a9b68af1..2398275d88f 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_exitroom.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_exitroom.dita @@ -16,10 +16,10 @@ public abstract int exitRoom(); - (int)exitRoom; virtual int exitRoom() = 0; - + public abstract int ExitRoom(); - -

            + +

            After the user exits the room, the spatial audio effect disappears immediately.

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_getteammates.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_getteammates.dita index df4c9f94de8..5c5fcc4aa67 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_getteammates.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_getteammates.dita @@ -13,13 +13,13 @@

            - public abstract int getTeammates(ArrayList<Integer> uids); - - (int)getTeammates:(NSArray<NSNumber*> * _Nullable * _Nonnull)uids; + public abstract int getTeammates(ArrayList<Integer> uids); + - (int)getTeammates:(NSArray<NSNumber*> * _Nullable * _Nonnull)uids; virtual int getTeammates(const uid_t **uids, int *userCount) = 0; - + public abstract int GetTeammates(ref uint[] uids, int[] userCount); - -

            + +

            After calling to set the team ID and calling to enter the room, you can call this method to get the information of remote users in the same team (teammates).

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_initialize.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_initialize.dita index fb52a8ec344..2de765726aa 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_initialize.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_initialize.dita @@ -14,12 +14,12 @@

            public abstract int initialize(CloudSpatialAudioConfig config); - + (instancetype _Nonnull)sharedCloudSpatialAudioWithConfig:(AgoraCloudSpatialAudioConfig* _Nonnull)config delegate:(id<AgoraCloudSpatialAudioDelegate> _Nullable)delegate; + + (instancetype _Nonnull)sharedCloudSpatialAudioWithConfig:(AgoraCloudSpatialAudioConfig* _Nonnull)config delegate:(id<AgoraCloudSpatialAudioDelegate> _Nullable)delegate; virtual int initialize(const CloudSpatialAudioConfig& config) = 0; - + public abstract int Initialize(CloudSpatialAudioConfig config); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_release.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_release.dita index 5fa7839a382..7efe2771673 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_release.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_release.dita @@ -21,10 +21,10 @@ } + (void)destroy; virtual void release() = 0; - + public abstract void Dispose(); - -

            + +

            This method releases all resources under . When the user does not need to use the spatial audio effect, you can call this method to release resources for other operations.

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_removeeventhandler.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_removeeventhandler.dita index cd363190264..39f49985773 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_removeeventhandler.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_removeeventhandler.dita @@ -14,12 +14,12 @@

            public abstract int removeEventHandler(ICloudSpatialAudioEventHandler eventHandler); - + virtual int removeEventHandler(ICloudSpatialAudioEventHandler* eventHandler) = 0; - - - -

            + + + +

            For callbacks that you only want to listen for once, call this method to remove these callbacks after you have received them.

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_renewtoken.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_renewtoken.dita index d6e3e1e8874..4978d79f5fd 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_renewtoken.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_renewtoken.dita @@ -16,10 +16,10 @@ public abstract int renewToken(String token); - (int)renewToken:(NSString* _Nonnull)token; virtual int renewToken(const char* token) = 0; - - - -

            + + + +

            An RTM token is valid for 24 hours. When the SDK triggers the callback, the application should get a new RTM token and then call this method to pass in the new token; otherwise, the SDK cannot connect to the Agora Spatial Audio Server.

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_setaudiorangemode.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_setaudiorangemode.dita index 4f8d0271644..10a0b5b03e3 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_setaudiorangemode.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_setaudiorangemode.dita @@ -16,10 +16,10 @@ public abstract int setAudioRangeMode(int rangeMode); - (int)setAudioRangeMode:(AgoraAudioRangeMode)rangeMode; virtual int setAudioRangeMode(AUDIO_RANGE_MODE_TYPE rangeMode) = 0; - + public abstract int SetAudioRangeMode(RANGE_AUDIO_MODE_TYPE rangeMode); - -

            + +

            The SDK supports two audio range modes: everyone mode and team mode. The SDK uses everyone mode by default. If you want to change to team mode, call this method.

            diff --git a/en-US/dita/RTC/API/api_icloudspatialaudioengine_setteamid.dita b/en-US/dita/RTC/API/api_icloudspatialaudioengine_setteamid.dita index e1b8f8499e2..0bfab6c754c 100644 --- a/en-US/dita/RTC/API/api_icloudspatialaudioengine_setteamid.dita +++ b/en-US/dita/RTC/API/api_icloudspatialaudioengine_setteamid.dita @@ -16,10 +16,10 @@ public abstract int setTeamId(int teamId); - (int)setTeamId:(NSInteger)teamId; virtual int setTeamId(int teamId) = 0; - + public abstract int SetTeamId(int teamId); - -

            + +

            In the same room, no matter what the audio range mode and audio reception range are, users with the same team ID can hear each other. Whether users with different team IDs can hear each other is determined by the audio range mode and audio reception range. diff --git a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_clearremotepositions.dita b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_clearremotepositions.dita index 3cdb5e2183b..6b726c581a1 100644 --- a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_clearremotepositions.dita +++ b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_clearremotepositions.dita @@ -16,10 +16,10 @@ public abstract int clearRemotePositions(); - (int) clearRemotePositions; virtual int clearRemotePositions() = 0; - + public abstract int ClearRemotePositions(); - -

            + +

            After successfully calling this method, the local user no longer hears any remote users.

            diff --git a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_create.dita b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_create.dita index a0a3eee8798..0b658c1697e 100644 --- a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_create.dita +++ b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_create.dita @@ -19,12 +19,12 @@ } return mInstance; } - - - - - -

            + + + + + +

            Call this method before .

            diff --git a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_initialize.dita b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_initialize.dita index 9b92502d7b6..ec8d10f23f2 100644 --- a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_initialize.dita +++ b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_initialize.dita @@ -16,10 +16,10 @@ public abstract int initialize(LocalSpatialAudioConfig config); + (instancetype _Nonnull)sharedLocalSpatialAudioWithConfig:(AgoraLocalSpatialAudioConfig* _Nonnull)config; virtual int initialize(const LocalSpatialAudioConfig& config) = 0; - + public abstract int Initialize(); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_release.dita b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_release.dita index d04ed30d06b..f008358e2ef 100644 --- a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_release.dita +++ b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_release.dita @@ -20,11 +20,11 @@ mInstance = null; } + (void)destroy; - - + + public abstract void Dispose(); - -

            + +

            This method releases all resources under . When the user does not need to use the spatial audio effect, you can call this method to release resources for other operations.

            diff --git a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_removeremoteposition.dita b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_removeremoteposition.dita index 6d26e0c3568..db849f49191 100644 --- a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_removeremoteposition.dita +++ b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_removeremoteposition.dita @@ -16,10 +16,10 @@ public abstract int removeRemotePosition(int uid); - (int) removeRemotePosition:(NSUInteger)uid; virtual int removeRemotePosition(uid_t uid) = 0; - + public abstract int RemoveRemotePosition(uint uid); - -

            + +

            After successfully calling this method, the local user no longer hears the specified remote user.

            diff --git a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_updateremoteposition.dita b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_updateremoteposition.dita index ac72e4455a5..441b5346699 100644 --- a/en-US/dita/RTC/API/api_ilocalspatialaudioengine_updateremoteposition.dita +++ b/en-US/dita/RTC/API/api_ilocalspatialaudioengine_updateremoteposition.dita @@ -16,10 +16,10 @@ public abstract int updateRemotePosition(int uid, RemoteVoicePositionInfo posInfo); - (int)updateRemotePosition:(NSUInteger)uid positionInfo:(AgoraRemoteVoicePositionInfo* _Nonnull)posInfo; virtual int updateRemotePosition(uid_t uid, const RemoteVoicePositionInfo &posInfo) = 0; - + public abstract int UpdateRemotePosition(uint uid, float[] position, float[] forward); - -

            + +

            After successfully calling this method, the SDK calculates the spatial audio parameters based on the relative position of the local and remote user.

            diff --git a/en-US/dita/RTC/API/api_imediaengine_pullaudioframe.dita b/en-US/dita/RTC/API/api_imediaengine_pullaudioframe.dita index bee5f244e41..84d72a1f26b 100644 --- a/en-US/dita/RTC/API/api_imediaengine_pullaudioframe.dita +++ b/en-US/dita/RTC/API/api_imediaengine_pullaudioframe.dita @@ -17,10 +17,10 @@ - (BOOL)pullPlaybackAudioFrameRawData:(void * _Nonnull)data lengthInByte:(NSUInteger)lengthInByte; virtual int pullAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0; - + public abstract int PullAudioFrame(AudioFrame frame); - -

            + +

            Before calling this method, you need to call to notify the app to enable and set the external rendering.

            diff --git a/en-US/dita/RTC/API/api_imediaengine_pushaudioframe.dita b/en-US/dita/RTC/API/api_imediaengine_pushaudioframe.dita index beb8060c2ac..beb0a225c6b 100644 --- a/en-US/dita/RTC/API/api_imediaengine_pushaudioframe.dita +++ b/en-US/dita/RTC/API/api_imediaengine_pushaudioframe.dita @@ -23,9 +23,9 @@ virtual int pushAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0; - (BOOL)pushExternalAudioFrameRawData:(void* _Nonnull)data samples:(NSUInteger)samples timestamp:(NSTimeInterval)timestamp; public abstract int PushAudioFrame(AudioFrame frame); - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_imediaengine_pushaudioframe2.dita b/en-US/dita/RTC/API/api_imediaengine_pushaudioframe2.dita index edb659b7f22..a7157986e5e 100644 --- a/en-US/dita/RTC/API/api_imediaengine_pushaudioframe2.dita +++ b/en-US/dita/RTC/API/api_imediaengine_pushaudioframe2.dita @@ -18,10 +18,10 @@ int bytesPerSample, int sourcePos); - (int)pushExternalAudioFrameRawData:(AgoraAudioExternalSourcePos)sourcePos frame:(AgoraAudioFrame* _Nonnull)frame; virtual int pushAudioFrame(int32_t sourcePos, IAudioFrameObserver::AudioFrame* frame) = 0; - + public abstract int PushAudioFrame(int sourcePos, AudioFrame frame); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_imediaengine_pushencodedvideoimage.dita b/en-US/dita/RTC/API/api_imediaengine_pushencodedvideoimage.dita index cca67078a41..0e2f51cf699 100644 --- a/en-US/dita/RTC/API/api_imediaengine_pushencodedvideoimage.dita +++ b/en-US/dita/RTC/API/api_imediaengine_pushencodedvideoimage.dita @@ -15,14 +15,14 @@

            public abstract int pushExternalEncodedVideoFrame( ByteBuffer data, EncodedVideoFrameInfo frameInfo); - + virtual int pushEncodedVideoImage(const uint8_t* imageBuffer, size_t length, const agora::rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0; - + public abstract int PushEncodedVideoImage(byte[] imageBuffer, uint length, EncodedVideoFrameInfo videoEncodedFrameInfo); - -

            + +

            When enabling the external video source, if you call and set the enable parameter as and the encodedFrame parameter as , you can call this method to push the external encoded video frame to the SDK.

            diff --git a/en-US/dita/RTC/API/api_imediaengine_pushvideoframe.dita b/en-US/dita/RTC/API/api_imediaengine_pushvideoframe.dita index 374c525de29..4a79279daab 100644 --- a/en-US/dita/RTC/API/api_imediaengine_pushvideoframe.dita +++ b/en-US/dita/RTC/API/api_imediaengine_pushvideoframe.dita @@ -16,10 +16,10 @@ public abstract boolean pushExternalVideoFrame(AgoraVideoFrame frame); - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame; virtual int pushVideoFrame(ExternalVideoFrame *frame) = 0; - + public abstract int PushVideoFrame(ExternalVideoFrame frame); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_imediaengine_registeraudioframeobserver.dita b/en-US/dita/RTC/API/api_imediaengine_registeraudioframeobserver.dita index 73b22d2f21f..f575dd7eb97 100644 --- a/en-US/dita/RTC/API/api_imediaengine_registeraudioframeobserver.dita +++ b/en-US/dita/RTC/API/api_imediaengine_registeraudioframeobserver.dita @@ -19,10 +19,10 @@

            public abstract int registerAudioFrameObserver(IAudioFrameObserver observer); virtual int registerAudioFrameObserver(IAudioFrameObserver* observer) = 0; - + public abstract void RegisterAudioFrameObserver(IAgoraRtcAudioFrameObserver audioFrameObserver); - -

            + +

            Call this method to register an audio frame observer object (register a callback). When you need the SDK to trigger or callback, you need to use this method to register the callbacks.

            diff --git a/en-US/dita/RTC/API/api_imediaengine_registervideoencodedimagereceiver.dita b/en-US/dita/RTC/API/api_imediaengine_registervideoencodedimagereceiver.dita index 56f85977e85..7675fb17f3b 100644 --- a/en-US/dita/RTC/API/api_imediaengine_registervideoencodedimagereceiver.dita +++ b/en-US/dita/RTC/API/api_imediaengine_registervideoencodedimagereceiver.dita @@ -16,11 +16,11 @@ public abstract void RegisterVideoEncodedImageReceiver(IAgoraRtcVideoEncodedImageReceiver videoEncodedImageReceiver);

            public abstract int registerVideoEncodedImageReceiver(IVideoEncodedImageReceiver receiver); - + virtual int registerVideoEncodedImageReceiver(rtc::IVideoEncodedImageReceiver* receiver) = 0; - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_imediaengine_registervideoframeobserver.dita b/en-US/dita/RTC/API/api_imediaengine_registervideoframeobserver.dita index 11462463f42..4f5bb104230 100644 --- a/en-US/dita/RTC/API/api_imediaengine_registervideoframeobserver.dita +++ b/en-US/dita/RTC/API/api_imediaengine_registervideoframeobserver.dita @@ -16,10 +16,10 @@ public abstract int registerVideoFrameObserver(IVideoFrameObserver observer); - (BOOL)setVideoFrameDelegate:(id<AgoraVideoFrameDelegate> _Nullable)delegate; virtual int registerVideoFrameObserver(IVideoFrameObserver* observer) = 0; - + public abstract void RegisterVideoFrameObserver(IAgoraRtcVideoFrameObserver videoFrameObserver); - -

            + +

            You need to implement the class in this method and register callbacks according to your scenarios. After you successfully register the video frame observer, the SDK triggers the registered callbacks each time a video frame is received.

            diff --git a/en-US/dita/RTC/API/api_imediaengine_setexternalvideosource.dita b/en-US/dita/RTC/API/api_imediaengine_setexternalvideosource.dita index 3e2eadf7a84..dc499925997 100644 --- a/en-US/dita/RTC/API/api_imediaengine_setexternalvideosource.dita +++ b/en-US/dita/RTC/API/api_imediaengine_setexternalvideosource.dita @@ -13,13 +13,13 @@

            - - + + virtual int setExternalVideoSource(bool enable, bool useTexture) = 0; - + public abstract int SetExternalVideoSource(bool enable, bool useTexture = false); - -

            + +

            Ensure that you call this method before joining a channel.
            diff --git a/en-US/dita/RTC/API/api_imediaplayer_registeraudioframeobserver2.dita b/en-US/dita/RTC/API/api_imediaplayer_registeraudioframeobserver2.dita index a7bd022f70d..f4c6320e1e9 100644 --- a/en-US/dita/RTC/API/api_imediaplayer_registeraudioframeobserver2.dita +++ b/en-US/dita/RTC/API/api_imediaplayer_registeraudioframeobserver2.dita @@ -17,11 +17,11 @@

            int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode); - + virtual int registerAudioFrameObserver(media::base::IAudioFrameObserver observer, RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0; - - -

            + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_irtcengine2_createchannel.dita b/en-US/dita/RTC/API/api_irtcengine2_createchannel.dita index 4a53f455c16..ee03e692b71 100644 --- a/en-US/dita/RTC/API/api_irtcengine2_createchannel.dita +++ b/en-US/dita/RTC/API/api_irtcengine2_createchannel.dita @@ -13,12 +13,12 @@

            - - + + virtual IChannel* createChannel(const char *channelId) = 0; createChannel(channelId: string): (AgoraRtcChannel | null) public abstract IAgoraRtcChannel CreateChannel(string channelId); - + static Future<RtcChannel> create(String channelId) async

            diff --git a/en-US/dita/RTC/API/api_iscameraautofocusfacemodesupported.dita b/en-US/dita/RTC/API/api_iscameraautofocusfacemodesupported.dita index 32ba97df089..a950cbcc419 100644 --- a/en-US/dita/RTC/API/api_iscameraautofocusfacemodesupported.dita +++ b/en-US/dita/RTC/API/api_iscameraautofocusfacemodesupported.dita @@ -17,9 +17,9 @@

            public abstract boolean isCameraAutoFocusFaceModeSupported(); - (BOOL)isCameraAutoFocusFaceModeSupported; - - - + + + Future<bool?> isCameraAutoFocusFaceModeSupported();

            diff --git a/en-US/dita/RTC/API/api_iscameraexposurepositionsupported.dita b/en-US/dita/RTC/API/api_iscameraexposurepositionsupported.dita index bfbd1ca4de7..8414d1c8bde 100644 --- a/en-US/dita/RTC/API/api_iscameraexposurepositionsupported.dita +++ b/en-US/dita/RTC/API/api_iscameraexposurepositionsupported.dita @@ -16,9 +16,9 @@ public abstract boolean isCameraExposurePositionSupported(); - (BOOL)isCameraAutoExposureFaceModeSupported; virtual bool isCameraExposurePositionSupported() = 0; - + public abstract bool IsCameraExposurePositionSupported(); - + Future<bool?> isCameraExposurePositionSupported();

            diff --git a/en-US/dita/RTC/API/api_iscamerafacedetectsupported.dita b/en-US/dita/RTC/API/api_iscamerafacedetectsupported.dita index 7accb7e6325..ae9570e4021 100644 --- a/en-US/dita/RTC/API/api_iscamerafacedetectsupported.dita +++ b/en-US/dita/RTC/API/api_iscamerafacedetectsupported.dita @@ -14,12 +14,12 @@

            public abstract boolean isCameraFaceDetectSupported(); - + virtual bool isCameraFaceDetectSupported() = 0; - + public abstract bool IsCameraFaceDetectSupported(); - -

            + +

            This method is for Android and iOS only.
            diff --git a/en-US/dita/RTC/API/api_iscamerafocussupported.dita b/en-US/dita/RTC/API/api_iscamerafocussupported.dita index 63fe045c051..b59e93761a2 100644 --- a/en-US/dita/RTC/API/api_iscamerafocussupported.dita +++ b/en-US/dita/RTC/API/api_iscamerafocussupported.dita @@ -16,9 +16,9 @@ public abstract boolean isCameraFocusSupported(); - (BOOL)isCameraFocusPositionInPreviewSupported; virtual bool isCameraFocusSupported() = 0; - + public abstract bool IsCameraFocusSupported(); - + Future<bool?> isCameraFocusSupported();

            diff --git a/en-US/dita/RTC/API/api_iscameratorchsupported.dita b/en-US/dita/RTC/API/api_iscameratorchsupported.dita index d4041dc91c7..553f33a2aff 100644 --- a/en-US/dita/RTC/API/api_iscameratorchsupported.dita +++ b/en-US/dita/RTC/API/api_iscameratorchsupported.dita @@ -16,9 +16,9 @@ public abstract boolean isCameraTorchSupported(); - (BOOL)isCameraTorchSupported; virtual bool isCameraTorchSupported() = 0; - + public abstract int IsCameraTorchSupported(); - + Future<bool?> isCameraTorchSupported();

            diff --git a/en-US/dita/RTC/API/api_iscamerazoomsupported.dita b/en-US/dita/RTC/API/api_iscamerazoomsupported.dita index 2ec412df3d0..6048fc4ac18 100644 --- a/en-US/dita/RTC/API/api_iscamerazoomsupported.dita +++ b/en-US/dita/RTC/API/api_iscamerazoomsupported.dita @@ -16,9 +16,9 @@ public abstract boolean isCameraZoomSupported(); - (BOOL)isCameraZoomSupported; virtual bool isCameraZoomSupported() = 0; - + public abstract bool IsCameraZoomSupported(); - + Future<bool?> isCameraZoomSupported();

            diff --git a/en-US/dita/RTC/API/api_iscreencapturesourcelist_getcount.dita b/en-US/dita/RTC/API/api_iscreencapturesourcelist_getcount.dita index aed435e4fdb..25b7f3562e7 100644 --- a/en-US/dita/RTC/API/api_iscreencapturesourcelist_getcount.dita +++ b/en-US/dita/RTC/API/api_iscreencapturesourcelist_getcount.dita @@ -13,13 +13,13 @@

            - - + + virtual unsigned int getCount() = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_iscreencapturesourcelist_getsourceinfo.dita b/en-US/dita/RTC/API/api_iscreencapturesourcelist_getsourceinfo.dita index 648442264e1..9fcbdf91da1 100644 --- a/en-US/dita/RTC/API/api_iscreencapturesourcelist_getsourceinfo.dita +++ b/en-US/dita/RTC/API/api_iscreencapturesourcelist_getsourceinfo.dita @@ -13,13 +13,13 @@

            - - + + virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_iscreencapturesourcelist_release.dita b/en-US/dita/RTC/API/api_iscreencapturesourcelist_release.dita index 67599da5214..af288ff6369 100644 --- a/en-US/dita/RTC/API/api_iscreencapturesourcelist_release.dita +++ b/en-US/dita/RTC/API/api_iscreencapturesourcelist_release.dita @@ -13,13 +13,13 @@

            - - + + virtual void release() = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_isspeakerphoneenabled.dita b/en-US/dita/RTC/API/api_isspeakerphoneenabled.dita index 04db2f80b59..a7818982d4a 100644 --- a/en-US/dita/RTC/API/api_isspeakerphoneenabled.dita +++ b/en-US/dita/RTC/API/api_isspeakerphoneenabled.dita @@ -16,9 +16,9 @@ public abstract boolean isSpeakerphoneEnabled(); - (BOOL)isSpeakerphoneEnabled; virtual bool isSpeakerphoneEnabled() = 0; - + public abstract bool IsSpeakerphoneEnabled(); - + Future<bool?> isSpeakerphoneEnabled();

            diff --git a/en-US/dita/RTC/API/api_istextureencodesupported.dita b/en-US/dita/RTC/API/api_istextureencodesupported.dita index 7d15768e1af..7fbd8648962 100644 --- a/en-US/dita/RTC/API/api_istextureencodesupported.dita +++ b/en-US/dita/RTC/API/api_istextureencodesupported.dita @@ -14,12 +14,12 @@

            public abstract boolean isTextureEncodeSupported(); - - - - - -

            + + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_ivideodevicecollection_getcount.dita b/en-US/dita/RTC/API/api_ivideodevicecollection_getcount.dita index 00cd8058680..07aae0d7cc8 100644 --- a/en-US/dita/RTC/API/api_ivideodevicecollection_getcount.dita +++ b/en-US/dita/RTC/API/api_ivideodevicecollection_getcount.dita @@ -13,13 +13,13 @@

            - - + + virtual int getCount() = 0; - - - -

            + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_ivideodevicecollection_getdevice.dita b/en-US/dita/RTC/API/api_ivideodevicecollection_getdevice.dita index caeaedb327b..7e6a1185ad7 100644 --- a/en-US/dita/RTC/API/api_ivideodevicecollection_getdevice.dita +++ b/en-US/dita/RTC/API/api_ivideodevicecollection_getdevice.dita @@ -13,15 +13,15 @@

            - - + + virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - + public abstract string GetDevice(); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_ivideodevicecollection_release.dita b/en-US/dita/RTC/API/api_ivideodevicecollection_release.dita index f4fe4700a42..22edf30fb00 100644 --- a/en-US/dita/RTC/API/api_ivideodevicecollection_release.dita +++ b/en-US/dita/RTC/API/api_ivideodevicecollection_release.dita @@ -13,13 +13,13 @@

            - - + + virtual void release() = 0; - - - -

            + + + +

            \ No newline at end of file diff --git a/en-US/dita/RTC/API/api_ivideodevicecollection_setdevice.dita b/en-US/dita/RTC/API/api_ivideodevicecollection_setdevice.dita index bc4e7b2f409..fb6fb0e3311 100644 --- a/en-US/dita/RTC/API/api_ivideodevicecollection_setdevice.dita +++ b/en-US/dita/RTC/API/api_ivideodevicecollection_setdevice.dita @@ -13,13 +13,13 @@

            - + - (int)setDevice:(AgoraMediaDeviceType)type deviceId:(NSString * _Nonnull)deviceId; virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; - + public abstract int SetDevice(string deviceIdUTF8); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_ivideodevicemanager_enumeratevideodevices.dita b/en-US/dita/RTC/API/api_ivideodevicemanager_enumeratevideodevices.dita index fa44b1b6f17..0decf87cfaf 100644 --- a/en-US/dita/RTC/API/api_ivideodevicemanager_enumeratevideodevices.dita +++ b/en-US/dita/RTC/API/api_ivideodevicemanager_enumeratevideodevices.dita @@ -13,12 +13,12 @@

            - - + + virtual IVideoDeviceCollection* enumerateVideoDevices() = 0; getVideoDevices(): Array<{ deviceid: string, devicename: string }> public abstract DeviceInfo[] EnumerateVideoDevices(); - + Future<List<MediaDeviceInfo>> enumerateVideoDevices()

            diff --git a/en-US/dita/RTC/API/api_ivideodevicemanager_getdevice.dita b/en-US/dita/RTC/API/api_ivideodevicemanager_getdevice.dita index 2728af462d0..a544f6bbb79 100644 --- a/en-US/dita/RTC/API/api_ivideodevicemanager_getdevice.dita +++ b/en-US/dita/RTC/API/api_ivideodevicemanager_getdevice.dita @@ -19,10 +19,10 @@ virtual int getDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; public abstract string GetDevice();

            - - + + getCurrentVideoDevice(): Device - + Future<String?> getVideoDevice()

            diff --git a/en-US/dita/RTC/API/api_ivideodevicemanager_release.dita b/en-US/dita/RTC/API/api_ivideodevicemanager_release.dita index 63f283d78a2..17cee1e3f24 100644 --- a/en-US/dita/RTC/API/api_ivideodevicemanager_release.dita +++ b/en-US/dita/RTC/API/api_ivideodevicemanager_release.dita @@ -13,13 +13,13 @@

            - - + + virtual void release() = 0; - - - -

            + + + +

            \ No newline at end of file diff --git a/en-US/dita/RTC/API/api_ivideodevicemanager_setdevice.dita b/en-US/dita/RTC/API/api_ivideodevicemanager_setdevice.dita index b617c51676d..85c013b1da6 100644 --- a/en-US/dita/RTC/API/api_ivideodevicemanager_setdevice.dita +++ b/en-US/dita/RTC/API/api_ivideodevicemanager_setdevice.dita @@ -17,11 +17,11 @@

            public abstract int SetDevice(string deviceId);

            - - + + virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; setVideoDevice(deviceId: string): number - + Future<void> setVideoDevice(String deviceId)

            diff --git a/en-US/dita/RTC/API/api_ivideodevicemanager_startdevicetest.dita b/en-US/dita/RTC/API/api_ivideodevicemanager_startdevicetest.dita index d9951364f9d..63aed0668ca 100644 --- a/en-US/dita/RTC/API/api_ivideodevicemanager_startdevicetest.dita +++ b/en-US/dita/RTC/API/api_ivideodevicemanager_startdevicetest.dita @@ -13,12 +13,12 @@

            - - + + virtual int startDeviceTest(view_t hwnd) = 0; startVideoDeviceTest(): number public abstract int StartDeviceTest(view_t hwnd); - + Future<void> startVideoDeviceTest(int hwnd)

            diff --git a/en-US/dita/RTC/API/api_ivideodevicemanager_stopdevicetest.dita b/en-US/dita/RTC/API/api_ivideodevicemanager_stopdevicetest.dita index f8ceccfd096..3e0d20046cf 100644 --- a/en-US/dita/RTC/API/api_ivideodevicemanager_stopdevicetest.dita +++ b/en-US/dita/RTC/API/api_ivideodevicemanager_stopdevicetest.dita @@ -13,12 +13,12 @@

            - - + + virtual int stopDeviceTest() = 0; stopVideoDeviceTest(): number public abstract int StopDeviceTest(); - + Future<void> stopVideoDeviceTest()

            diff --git a/en-US/dita/RTC/API/api_joinchannel.dita b/en-US/dita/RTC/API/api_joinchannel.dita index 6ffef7be8a8..35953aba392 100644 --- a/en-US/dita/RTC/API/api_joinchannel.dita +++ b/en-US/dita/RTC/API/api_joinchannel.dita @@ -27,10 +27,10 @@ public abstract int joinChannel(String token, String channelName, String optionalInfo, int optionalUid); - (int)joinChannelByToken:(NSString* _Nullable)token channelId:(NSString* _Nonnull)channelId info:(NSString* _Nullable)info uid:(NSUInteger)uid joinSuccess:(void (^_Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock; virtual int joinChannel(const char* token, const char* channelId, const char* info, uid_t uid) = 0; - + public abstract int JoinChannel(string token, string channelId, string info = "", uint uid = 0); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_joinchannel2.dita b/en-US/dita/RTC/API/api_joinchannel2.dita index 6ae9eacd1a6..795af7f12fb 100644 --- a/en-US/dita/RTC/API/api_joinchannel2.dita +++ b/en-US/dita/RTC/API/api_joinchannel2.dita @@ -35,7 +35,7 @@ ): number public abstract int JoinChannel(string token, string channelId, string info, uint uid, ChannelMediaOptions options); - + Future<void> joinChannel( String? token, String channelName, String? optionalInfo, int optionalUid, [ChannelMediaOptions? options]);

            diff --git a/en-US/dita/RTC/API/api_joinchannelwithuseraccount.dita b/en-US/dita/RTC/API/api_joinchannelwithuseraccount.dita index 3de064b7292..df38e61115f 100644 --- a/en-US/dita/RTC/API/api_joinchannelwithuseraccount.dita +++ b/en-US/dita/RTC/API/api_joinchannelwithuseraccount.dita @@ -25,10 +25,10 @@ virtual int joinChannelWithUserAccount(const char* token, const char* channelId, const char* userAccount) = 0; - + public abstract int JoinChannelWithUserAccount(string token, string channelId, string userAccount); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_joinchannelwithuseraccount2.dita b/en-US/dita/RTC/API/api_joinchannelwithuseraccount2.dita index cad8ae06079..a6c6c867815 100644 --- a/en-US/dita/RTC/API/api_joinchannelwithuseraccount2.dita +++ b/en-US/dita/RTC/API/api_joinchannelwithuseraccount2.dita @@ -35,7 +35,7 @@ ): number public abstract int JoinChannelWithUserAccount(string token, string channelId, string userAccount, ChannelMediaOptions options); - + Future<void> joinChannelWithUserAccount( String? token, String channelName, String userAccount, [ChannelMediaOptions? options]);

            diff --git a/en-US/dita/RTC/API/api_leavechannel.dita b/en-US/dita/RTC/API/api_leavechannel.dita index 7b156a12ab3..bf5c39366d7 100644 --- a/en-US/dita/RTC/API/api_leavechannel.dita +++ b/en-US/dita/RTC/API/api_leavechannel.dita @@ -18,7 +18,7 @@ virtual int leaveChannel() = 0; leaveChannel(): number public abstract int LeaveChannel(); - + Future<void> leaveChannel();

            diff --git a/en-US/dita/RTC/API/api_leavechannel2.dita b/en-US/dita/RTC/API/api_leavechannel2.dita index 432de659fed..fd0085ab211 100644 --- a/en-US/dita/RTC/API/api_leavechannel2.dita +++ b/en-US/dita/RTC/API/api_leavechannel2.dita @@ -19,9 +19,9 @@ - (int)leaveChannel:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void (^ _Nullable)(AgoraChannelStats * _Nonnull))leaveChannelBlock; virtual int leaveChannel(const LeaveChannelOptions& options) = 0; - - -

            + + +

            This method lets the user leave the channel, for example, by hanging up or exiting the call.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_addbackgroundimage.dita b/en-US/dita/RTC/API/api_livetranscoding_addbackgroundimage.dita index 461456b0b9d..6e4d81ba514 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_addbackgroundimage.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_addbackgroundimage.dita @@ -15,16 +15,16 @@

            public void addBackgroundImage(AgoraImage backgroundImage) { if (backgroundImageList == null) { - backgroundImageList = new ArrayList<AgoraImage>(); + backgroundImageList = new ArrayList<AgoraImage>(); } backgroundImageList.add(backgroundImage); } - - - - - -

            + + + + + +

            This method only supports adding one background imageat a time. If you need to add more than one background images, call this method multiple times.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_adduser.dita b/en-US/dita/RTC/API/api_livetranscoding_adduser.dita index f8c7de2b0d6..97aaf33d332 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_adduser.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_adduser.dita @@ -19,11 +19,11 @@ } - (int)addUser:(AgoraLiveTranscodingUser* _Nonnull)user; - - - - -

            + + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_livetranscoding_addwatermark.dita b/en-US/dita/RTC/API/api_livetranscoding_addwatermark.dita index 3ab6e7ac78f..853cdf6411e 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_addwatermark.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_addwatermark.dita @@ -15,16 +15,16 @@

            public void addWatermark(AgoraImage watermark) { if (watermarkList == null) { - watermarkList = new ArrayList<AgoraImage>(); + watermarkList = new ArrayList<AgoraImage>(); } watermarkList.add(watermark); } - - - - - -

            + + + + + +

            This method only supports adding one watermark every time. If you need to add more than one watermark, call this method multiple times.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_defaulttranscoding.dita b/en-US/dita/RTC/API/api_livetranscoding_defaulttranscoding.dita index 7e9186bd027..e303b7f0eb6 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_defaulttranscoding.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_defaulttranscoding.dita @@ -13,13 +13,13 @@

            - + + (AgoraLiveTranscoding* _Nonnull)defaultTranscoding; - - - - -

            + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_livetranscoding_getadvancedfeatures.dita b/en-US/dita/RTC/API/api_livetranscoding_getadvancedfeatures.dita index c2040304877..114fff10d19 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_getadvancedfeatures.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_getadvancedfeatures.dita @@ -12,15 +12,15 @@
            - public Map<String, Boolean> getAdvancedFeatures() { + public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; } - - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; - - - - -
            + - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; + + + + +

            If you want to enable the advanced features of streaming with transcoding, contact .

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_getbackgroundcolor.dita b/en-US/dita/RTC/API/api_livetranscoding_getbackgroundcolor.dita index da21851af13..865156f8264 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_getbackgroundcolor.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_getbackgroundcolor.dita @@ -16,12 +16,12 @@ public int getBackgroundColor() { return this.backgroundColor; } - - - - - -

            + + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_livetranscoding_getbackgroundimagelist.dita b/en-US/dita/RTC/API/api_livetranscoding_getbackgroundimagelist.dita index 6b6199890e6..e6c102b4350 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_getbackgroundimagelist.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_getbackgroundimagelist.dita @@ -13,15 +13,15 @@

            - public ArrayList<AgoraImage> getBackgroundImageList() { + public ArrayList<AgoraImage> getBackgroundImageList() { return backgroundImageList; } - - - - - -

            + + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_livetranscoding_getusercount.dita b/en-US/dita/RTC/API/api_livetranscoding_getusercount.dita index 8b7c2167af3..065f294ddae 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_getusercount.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_getusercount.dita @@ -16,12 +16,12 @@ public int getUserCount() { return transcodingUsers.size(); } - - - - - -

            + + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_livetranscoding_getusers.dita b/en-US/dita/RTC/API/api_livetranscoding_getusers.dita index 49e1ea1fa2e..f70998627b6 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_getusers.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_getusers.dita @@ -13,16 +13,16 @@

            - public final ArrayList<TranscodingUser> getUsers() { - Collection<TranscodingUser> values = transcodingUsers.values(); - return new ArrayList<>(values); + public final ArrayList<TranscodingUser> getUsers() { + Collection<TranscodingUser> values = transcodingUsers.values(); + return new ArrayList<>(values); } - - - - - -

            + + + + + +

            This method retrieves all users in the CDN live streaming. The user list returned by this method is read-only and should not be modified.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_getwatermarklist.dita b/en-US/dita/RTC/API/api_livetranscoding_getwatermarklist.dita index 259addcf819..b2d08193361 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_getwatermarklist.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_getwatermarklist.dita @@ -13,15 +13,15 @@

            - public ArrayList<AgoraImage> getWatermarkList() { + public ArrayList<AgoraImage> getWatermarkList() { return watermarkList; } - - - - - -

            + + + + + +

            Returns diff --git a/en-US/dita/RTC/API/api_livetranscoding_removebackgroundimage.dita b/en-US/dita/RTC/API/api_livetranscoding_removebackgroundimage.dita index 1e266763c40..5a41c4520d2 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_removebackgroundimage.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_removebackgroundimage.dita @@ -19,12 +19,12 @@ } return backgroundImageList.remove(backgroundImage); } - - - - - -

            + + + + + +

            This method only supports removing one background image every time. If you need to remove more than one background image, call this method multiple times.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_removeuser.dita b/en-US/dita/RTC/API/api_livetranscoding_removeuser.dita index 2d4a0ec33c1..03bf9a13bc8 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_removeuser.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_removeuser.dita @@ -22,11 +22,11 @@ return Constants.ERR_OK; } - (int)removeUser:(NSUInteger)uid; - - - - -

            + + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_livetranscoding_removewatermark.dita b/en-US/dita/RTC/API/api_livetranscoding_removewatermark.dita index e565199273d..eee1493e14a 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_removewatermark.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_removewatermark.dita @@ -19,12 +19,12 @@ } return watermarkList.remove(watermark); } - - - - - -

            + + + + + +

            This method only supports removing one watermark every time. If you need to removing more than one watermark, call this method multiple times.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_setadvancedfeatures.dita b/en-US/dita/RTC/API/api_livetranscoding_setadvancedfeatures.dita index b7462ea1418..c20339dd877 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_setadvancedfeatures.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_setadvancedfeatures.dita @@ -16,11 +16,11 @@ advancedFeatures.put(featureName, opened); } - (void)setAdvancedFeatures:(NSString* _Nonnull)featureName opened:(BOOL)opened; - - - - -
            + + + + +

            If you want to enable the advanced features of streaming with transcoding, contact .

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor.dita b/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor.dita index da0e2900c20..2aef30aa018 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor.dita @@ -16,12 +16,12 @@ public void setBackgroundColor(int color) { this.backgroundColor = color; } - - - - - -

            + + + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor2.dita b/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor2.dita index cf280be6f48..a0facb7a279 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor2.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_setbackgroundcolor2.dita @@ -16,12 +16,12 @@ public void setBackgroundColor(int red, int green, int blue) { this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - -

            + + + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_livetranscoding_setusers.dita b/en-US/dita/RTC/API/api_livetranscoding_setusers.dita index 9c4cca49090..368a748dc81 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_setusers.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_setusers.dita @@ -13,7 +13,7 @@

            - public void setUsers(ArrayList<TranscodingUser> users) { + public void setUsers(ArrayList<TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { for (TranscodingUser user : users) { @@ -22,12 +22,12 @@ } userCount = transcodingUsers.size(); } - - - - - -

            + + + + + +

            This method sets all users involved in the CDN live stream. This method replaces the old user data with the new TranscodingUser data.

            diff --git a/en-US/dita/RTC/API/api_livetranscoding_setusers2.dita b/en-US/dita/RTC/API/api_livetranscoding_setusers2.dita index f403f873665..1922b212b69 100644 --- a/en-US/dita/RTC/API/api_livetranscoding_setusers2.dita +++ b/en-US/dita/RTC/API/api_livetranscoding_setusers2.dita @@ -13,7 +13,7 @@

            - public void setUsers(Map<Integer, TranscodingUser> users) { + public void setUsers(Map<Integer, TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { transcodingUsers.putAll(users); @@ -21,12 +21,12 @@ userCount = transcodingUsers.size(); } - - - - - -

            + + + + + +

            diff --git a/en-US/dita/RTC/API/api_monitordevicechange.dita b/en-US/dita/RTC/API/api_monitordevicechange.dita index fb9b2185e68..1026c3f9853 100644 --- a/en-US/dita/RTC/API/api_monitordevicechange.dita +++ b/en-US/dita/RTC/API/api_monitordevicechange.dita @@ -13,27 +13,27 @@

            - + - (void)monitorDeviceChange:(BOOL)enabled; virtual int enableLoopbackRecording(bool enabled) = 0; enableLoopbackRecording( enabled = false, deviceName: string | null = null ): number - - -

            + + +

            - - + + virtual int enableLoopbackRecording(bool enabled) = 0; enableLoopbackRecording( enabled = false, deviceName: string | null = null ): number - - -

            + + +

            Use this method to monitor the plugging and swapping of external audio or video devices, for example, an external camera.

            diff --git a/en-US/dita/RTC/API/api_muteallremoteaudiostreams.dita b/en-US/dita/RTC/API/api_muteallremoteaudiostreams.dita index 1a8de8a5924..0c40b7465fb 100644 --- a/en-US/dita/RTC/API/api_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC/API/api_muteallremoteaudiostreams.dita @@ -18,7 +18,7 @@ virtual int muteAllRemoteAudioStreams(bool mute) = 0; muteAllRemoteAudioStreams(mute: boolean): number public abstract int MuteAllRemoteAudioStreams(bool mute); - + Future<void> muteAllRemoteAudioStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_muteallremotevideostreams.dita b/en-US/dita/RTC/API/api_muteallremotevideostreams.dita index 9f65cdffc40..6de479c720e 100644 --- a/en-US/dita/RTC/API/api_muteallremotevideostreams.dita +++ b/en-US/dita/RTC/API/api_muteallremotevideostreams.dita @@ -18,7 +18,7 @@ virtual int muteAllRemoteVideoStreams(bool mute) = 0; muteAllRemoteVideoStreams(mute: boolean): number public abstract int MuteAllRemoteVideoStreams(bool mute); - + Future<void> muteAllRemoteVideoStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_mutelocalaudiostream.dita b/en-US/dita/RTC/API/api_mutelocalaudiostream.dita index 82de995fc55..afbe056224e 100644 --- a/en-US/dita/RTC/API/api_mutelocalaudiostream.dita +++ b/en-US/dita/RTC/API/api_mutelocalaudiostream.dita @@ -18,7 +18,7 @@ virtual int muteLocalAudioStream(bool mute) = 0; muteLocalAudioStream(mute: boolean): number public abstract int MuteLocalAudioStream(bool mute); - + Future<void> muteLocalAudioStream(bool muted);

            diff --git a/en-US/dita/RTC/API/api_mutelocalvideostream.dita b/en-US/dita/RTC/API/api_mutelocalvideostream.dita index 989e10839f1..39d3990afdc 100644 --- a/en-US/dita/RTC/API/api_mutelocalvideostream.dita +++ b/en-US/dita/RTC/API/api_mutelocalvideostream.dita @@ -18,7 +18,7 @@ virtual int muteLocalVideoStream(bool mute) = 0; muteLocalVideoStream(mute: boolean): number public abstract int MuteLocalVideoStream(bool mute); - + Future<void> muteLocalVideoStream(bool muted);

            diff --git a/en-US/dita/RTC/API/api_muterecordingsignal.dita b/en-US/dita/RTC/API/api_muterecordingsignal.dita index dfd98e0c751..c6a3c58a3af 100644 --- a/en-US/dita/RTC/API/api_muterecordingsignal.dita +++ b/en-US/dita/RTC/API/api_muterecordingsignal.dita @@ -16,10 +16,10 @@ public abstract int muteRecordingSignal(boolean muted); -(int)muteRecordingSignal:(BOOL)muted; virtual int muteRecordingSignal(bool mute) = 0; - + public abstract int MuteRecordingSignal(bool mute); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_muteremoteaudiostream.dita b/en-US/dita/RTC/API/api_muteremoteaudiostream.dita index f13dbd42fd5..3b1cd7928e0 100644 --- a/en-US/dita/RTC/API/api_muteremoteaudiostream.dita +++ b/en-US/dita/RTC/API/api_muteremoteaudiostream.dita @@ -22,7 +22,7 @@ virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0; muteRemoteAudioStream(userId: number, mute: boolean): number - + Future<void> muteRemoteAudioStream(int uid, bool muted);

            diff --git a/en-US/dita/RTC/API/api_muteremotevideostream.dita b/en-US/dita/RTC/API/api_muteremotevideostream.dita index b8dea1496c8..ddca2719da8 100644 --- a/en-US/dita/RTC/API/api_muteremotevideostream.dita +++ b/en-US/dita/RTC/API/api_muteremotevideostream.dita @@ -22,7 +22,7 @@ mute:(BOOL)mute; virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0; muteRemoteVideoStream(userId: number, mute: boolean): number - + Future<void> muteRemoteVideoStream(int userId, bool muted);

            diff --git a/en-US/dita/RTC/API/api_pauseallchannelmediarelay.dita b/en-US/dita/RTC/API/api_pauseallchannelmediarelay.dita index 9fa6a0cd3ec..47a332630a4 100644 --- a/en-US/dita/RTC/API/api_pauseallchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_pauseallchannelmediarelay.dita @@ -16,9 +16,9 @@ public abstract int pauseAllChannelMediaRelay(); - (int)pauseAllChannelMediaRelay; virtual int pauseAllChannelMediaRelay() = 0; - + public abstract int PauseAllChannelMediaRelay(); - + Future<void> pauseAllChannelMediaRelay();

            diff --git a/en-US/dita/RTC/API/api_pausealleffects.dita b/en-US/dita/RTC/API/api_pausealleffects.dita index b03367b1cd5..55760a852c5 100644 --- a/en-US/dita/RTC/API/api_pausealleffects.dita +++ b/en-US/dita/RTC/API/api_pausealleffects.dita @@ -20,7 +20,7 @@ virtual int pauseAllEffects() = 0; pauseAllEffects(): number public abstract int PauseAllEffects(); - + Future<void> pauseAllEffects();

            diff --git a/en-US/dita/RTC/API/api_pauseaudiomixing.dita b/en-US/dita/RTC/API/api_pauseaudiomixing.dita index 27099995100..9e3eaf009a6 100644 --- a/en-US/dita/RTC/API/api_pauseaudiomixing.dita +++ b/en-US/dita/RTC/API/api_pauseaudiomixing.dita @@ -18,7 +18,7 @@ virtual int pauseAudioMixing() = 0; pauseAudioMixing(): number public abstract int PauseAudioMixing(); - + Future<void> pauseAudioMixing();

            diff --git a/en-US/dita/RTC/API/api_pauseeffect.dita b/en-US/dita/RTC/API/api_pauseeffect.dita index d708432a404..826101e61ff 100644 --- a/en-US/dita/RTC/API/api_pauseeffect.dita +++ b/en-US/dita/RTC/API/api_pauseeffect.dita @@ -20,7 +20,7 @@ virtual int pauseEffect(int soundId) = 0; pauseEffect(soundId: number): number public abstract int PauseEffect(int soundId); - + Future<void> pauseEffect(int soundId);

            diff --git a/en-US/dita/RTC/API/api_playalleffects.dita b/en-US/dita/RTC/API/api_playalleffects.dita index 739da40334f..f98f5c78cca 100644 --- a/en-US/dita/RTC/API/api_playalleffects.dita +++ b/en-US/dita/RTC/API/api_playalleffects.dita @@ -15,12 +15,12 @@

            public abstract int PlayAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false);

            - - + + virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0; - - -

            + + +

            After calling multiple times to preload multiple audio effects into the memory, you can call this method to play all the specified audio effects for all users in the channel.

            diff --git a/en-US/dita/RTC/API/api_playeffect.dita b/en-US/dita/RTC/API/api_playeffect.dita index b63a282064a..bcdba80f4d4 100644 --- a/en-US/dita/RTC/API/api_playeffect.dita +++ b/en-US/dita/RTC/API/api_playeffect.dita @@ -26,11 +26,11 @@ pan:(double)pan gain:(NSInteger)gain; - - - - -

            + + + + +

            diff --git a/en-US/dita/RTC/API/api_playeffect2.dita b/en-US/dita/RTC/API/api_playeffect2.dita index aabc3b16cc4..6bfd5734549 100644 --- a/en-US/dita/RTC/API/api_playeffect2.dita +++ b/en-US/dita/RTC/API/api_playeffect2.dita @@ -34,9 +34,9 @@ double pan, int gain, bool publish = false) = 0; - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_playeffect3.dita b/en-US/dita/RTC/API/api_playeffect3.dita index 8f8686dcde3..f4c5c11dec4 100644 --- a/en-US/dita/RTC/API/api_playeffect3.dita +++ b/en-US/dita/RTC/API/api_playeffect3.dita @@ -47,7 +47,7 @@ publish: number, startPos?: number ): number - + Future<void> playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, int gain, bool publish, [int? startPos]);

            diff --git a/en-US/dita/RTC/API/api_preloadeffect.dita b/en-US/dita/RTC/API/api_preloadeffect.dita index b68299836aa..0849139677a 100644 --- a/en-US/dita/RTC/API/api_preloadeffect.dita +++ b/en-US/dita/RTC/API/api_preloadeffect.dita @@ -24,7 +24,7 @@
            virtual int preloadEffect(int soundId, const char* filePath) = 0; preloadEffect(soundId: number, filePath: string): number - + Future<void> preloadEffect(int soundId, String filePath);

            diff --git a/en-US/dita/RTC/API/api_pullaudioframe2.dita b/en-US/dita/RTC/API/api_pullaudioframe2.dita index c0603b08a36..af4ecd4545e 100644 --- a/en-US/dita/RTC/API/api_pullaudioframe2.dita +++ b/en-US/dita/RTC/API/api_pullaudioframe2.dita @@ -14,11 +14,11 @@

            public abstract int pullPlaybackAudioFrame(ByteBuffer data, int lengthInByte); - - - - -

            + + + + +

            Before calling this method, you need to set mEnableAudioDevice in as , and call to notify the app to enable and set the external rendering.

            diff --git a/en-US/dita/RTC/API/api_pushaudioframeex.dita b/en-US/dita/RTC/API/api_pushaudioframeex.dita index bfc9470c530..06d96d49110 100644 --- a/en-US/dita/RTC/API/api_pushaudioframeex.dita +++ b/en-US/dita/RTC/API/api_pushaudioframeex.dita @@ -13,16 +13,16 @@

            - + - (int)pushExternalAudioFrameExNSData:(NSData * _Nonnull)data sourceId:(NSInteger)sourceId timestamp:(NSTimeInterval)timestamp; - - - - -

            + + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_pushexternalaudioframesamplebuffer2.dita b/en-US/dita/RTC/API/api_pushexternalaudioframesamplebuffer2.dita index b02070b4880..fd362ac4ccc 100644 --- a/en-US/dita/RTC/API/api_pushexternalaudioframesamplebuffer2.dita +++ b/en-US/dita/RTC/API/api_pushexternalaudioframesamplebuffer2.dita @@ -14,10 +14,10 @@

            - (int)pushExternalAudioFrameSampleBuffer:(AgoraAudioExternalSourcePos)sourcePos sampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_pushvideoframe2.dita b/en-US/dita/RTC/API/api_pushvideoframe2.dita index 4b83374fc5b..e128493a079 100644 --- a/en-US/dita/RTC/API/api_pushvideoframe2.dita +++ b/en-US/dita/RTC/API/api_pushvideoframe2.dita @@ -14,12 +14,12 @@

            public abstract boolean pushExternalVideoFrame(VideoFrame frame); - - - - - -

            + + + + + +

            Call this method to push the video frame using the VideoFrame class and pass the video frame to the SDK. Call the method and set enable as before calling this method; otherwise, a failure returns after calling this method.

            diff --git a/en-US/dita/RTC/API/api_pushvideoframeex2.dita b/en-US/dita/RTC/API/api_pushvideoframeex2.dita index c5be5430cfc..47bc341bcd6 100644 --- a/en-US/dita/RTC/API/api_pushvideoframeex2.dita +++ b/en-US/dita/RTC/API/api_pushvideoframeex2.dita @@ -14,12 +14,12 @@

            public abstract int pushExternalVideoFrameEx(VideoFrame frame, RtcConnection connection); - - - - - -

            + + + + + +

            diff --git a/en-US/dita/RTC/API/api_queryinterface.dita b/en-US/dita/RTC/API/api_queryinterface.dita index 2780e0d7f58..e90cac6976e 100644 --- a/en-US/dita/RTC/API/api_queryinterface.dita +++ b/en-US/dita/RTC/API/api_queryinterface.dita @@ -13,13 +13,13 @@

            - - + + virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_rate.dita b/en-US/dita/RTC/API/api_rate.dita index d8a89d21818..0fb76656433 100644 --- a/en-US/dita/RTC/API/api_rate.dita +++ b/en-US/dita/RTC/API/api_rate.dita @@ -24,7 +24,7 @@ description:(NSString * _Nullable)description; rating: number, description: string): number public abstract int Rate(string callId, int rating, string description = ""); - + Future<void> rate(String callId, int rating, {String? description});

            diff --git a/en-US/dita/RTC/API/api_registeraudioencodedframeobserver.dita b/en-US/dita/RTC/API/api_registeraudioencodedframeobserver.dita index 3d3bd558e3b..21fc3e8b596 100644 --- a/en-US/dita/RTC/API/api_registeraudioencodedframeobserver.dita +++ b/en-US/dita/RTC/API/api_registeraudioencodedframeobserver.dita @@ -20,9 +20,9 @@ - (int)setAudioEncodedFrameDelegate:(id<AgoraAudioEncodedFrameDelegate> _Nonnull)delegate config:(AgoraAudioEncodedFrameDelegateConfig * _Nonnull) config; virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig& config, IAudioEncodedFrameObserver *observer) = 0; - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_registerlocaluseraccount.dita b/en-US/dita/RTC/API/api_registerlocaluseraccount.dita index d8f040f2fb1..e1ac037fb4b 100644 --- a/en-US/dita/RTC/API/api_registerlocaluseraccount.dita +++ b/en-US/dita/RTC/API/api_registerlocaluseraccount.dita @@ -22,7 +22,7 @@ public abstract int registerLocalUserAccount(String appId, String userAccount); virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0; registerLocalUserAccount(appId: string, userAccount: string): number - + Future<void> registerLocalUserAccount(String appId, String userAccount);

            diff --git a/en-US/dita/RTC/API/api_registermediametadataobserver.dita b/en-US/dita/RTC/API/api_registermediametadataobserver.dita index d9839d3328d..bf56ff47665 100644 --- a/en-US/dita/RTC/API/api_registermediametadataobserver.dita +++ b/en-US/dita/RTC/API/api_registermediametadataobserver.dita @@ -19,7 +19,7 @@ registerMediaMetadataObserver(type: METADATA_TYPE = 0): number public abstract int RegisterMediaMetadataObserver(METADATA_TYPE type); - + Future<void> registerMediaMetadataObserver();

            diff --git a/en-US/dita/RTC/API/api_registerpacketobserver.dita b/en-US/dita/RTC/API/api_registerpacketobserver.dita index 80c51f1eb1c..2f0f805b54c 100644 --- a/en-US/dita/RTC/API/api_registerpacketobserver.dita +++ b/en-US/dita/RTC/API/api_registerpacketobserver.dita @@ -13,13 +13,13 @@

            - - + + virtual int registerPacketObserver(IPacketObserver* observer) = 0; - + public abstract int RegisterPacketObserver(IPacketObserver observer); - -

            + +

            Call this method registers a packet observer. When the Agora SDK triggers callbacks registered by for voice or video packet transmission, you can call this method to process the packets, such as encryption and decryption.

            diff --git a/en-US/dita/RTC/API/api_registerplugin.dita b/en-US/dita/RTC/API/api_registerplugin.dita index 80153de3e77..9ca6de765b6 100644 --- a/en-US/dita/RTC/API/api_registerplugin.dita +++ b/en-US/dita/RTC/API/api_registerplugin.dita @@ -13,13 +13,13 @@

            - - - + + + registerPlugin(pluginInfo: PluginInfo): number - - -

            + + +

            After registering the plugin, you can use the functionality of the plugin in the SDK. For example, if you want to use a FaceUnity plugin, you can integrate the plugin file into the SDK's project project file first, and then call this method to register the plugin.

            diff --git a/en-US/dita/RTC/API/api_release.dita b/en-US/dita/RTC/API/api_release.dita index 7852517766e..f49cb609800 100644 --- a/en-US/dita/RTC/API/api_release.dita +++ b/en-US/dita/RTC/API/api_release.dita @@ -30,7 +30,7 @@ + (void)destroy; release(sync: boolean = false): number - + Future<void> destroy();

            diff --git a/en-US/dita/RTC/API/api_releaserecorder.dita b/en-US/dita/RTC/API/api_releaserecorder.dita index fcf1b541ce5..5bbd714226c 100644 --- a/en-US/dita/RTC/API/api_releaserecorder.dita +++ b/en-US/dita/RTC/API/api_releaserecorder.dita @@ -13,12 +13,12 @@

            - - + + virtual void releaseRecorder() = 0; - - - + + + Future<void> releaseRecorder();

            diff --git a/en-US/dita/RTC/API/api_removehandler.dita b/en-US/dita/RTC/API/api_removehandler.dita index 19781437f7f..73295dbb45e 100644 --- a/en-US/dita/RTC/API/api_removehandler.dita +++ b/en-US/dita/RTC/API/api_removehandler.dita @@ -16,12 +16,12 @@ public void removeHandler(IRtcEngineEventHandler handler) { mInstance.removeHandler((IAgoraEventHandler) handler); } - - - - - -

            + + + + + +

            diff --git a/en-US/dita/RTC/API/api_removeinjectstreamurl.dita b/en-US/dita/RTC/API/api_removeinjectstreamurl.dita index e74b07ee435..29e7e50d8de 100644 --- a/en-US/dita/RTC/API/api_removeinjectstreamurl.dita +++ b/en-US/dita/RTC/API/api_removeinjectstreamurl.dita @@ -18,7 +18,7 @@ virtual int removeInjectStreamUrl(const char* url) = 0; removeInjectStreamUrl(url: string): number public abstract int RemoveInjectStreamUrl(string url); - + Future<void> removeInjectStreamUrl(String url);

            diff --git a/en-US/dita/RTC/API/api_removepublishstreamurl.dita b/en-US/dita/RTC/API/api_removepublishstreamurl.dita index 19111c5d1a1..53557c62bdf 100644 --- a/en-US/dita/RTC/API/api_removepublishstreamurl.dita +++ b/en-US/dita/RTC/API/api_removepublishstreamurl.dita @@ -18,7 +18,7 @@ virtual int removePublishStreamUrl(const char *url) = 0; removePublishStreamUrl(url: string): number public abstract int RemovePublishStreamUrl(string url); - + Future<void> removePublishStreamUrl(String url);

            diff --git a/en-US/dita/RTC/API/api_renewtoken.dita b/en-US/dita/RTC/API/api_renewtoken.dita index 9bc19ed341a..b2c1341fc9f 100644 --- a/en-US/dita/RTC/API/api_renewtoken.dita +++ b/en-US/dita/RTC/API/api_renewtoken.dita @@ -18,7 +18,7 @@ virtual int renewToken(const char* token) = 0; renewToken(token: string): number public abstract int RenewToken(string token); - + Future<void> renewToken(String token);

            Passes a new token to the SDK. A token expires after a certain period of time. In the following two cases, the app should call this method to pass in a new token. Failure to do so will result in the SDK disconnecting from the server. diff --git a/en-US/dita/RTC/API/api_resumeallchannelmediarelay.dita b/en-US/dita/RTC/API/api_resumeallchannelmediarelay.dita index 607fe257d55..d4a42504963 100644 --- a/en-US/dita/RTC/API/api_resumeallchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_resumeallchannelmediarelay.dita @@ -16,9 +16,9 @@ public abstract int resumeAllChannelMediaRelay(); - (int)resumeAllChannelMediaRelay; virtual int resumeAllChannelMediaRelay() = 0; - + public abstract int ResumeAllChannelMediaRelay(); - + Future<void> resumeAllChannelMediaRelay();

            diff --git a/en-US/dita/RTC/API/api_resumealleffects.dita b/en-US/dita/RTC/API/api_resumealleffects.dita index 1efe355de34..a50bf629bc6 100644 --- a/en-US/dita/RTC/API/api_resumealleffects.dita +++ b/en-US/dita/RTC/API/api_resumealleffects.dita @@ -20,7 +20,7 @@ virtual int resumeAllEffects() = 0; resumeAllEffects(): number public abstract int ResumeAllEffects(); - + Future<void> resumeAllEffects();

            diff --git a/en-US/dita/RTC/API/api_resumeaudiomixing.dita b/en-US/dita/RTC/API/api_resumeaudiomixing.dita index 7ef3dbc0507..224f3c6324c 100644 --- a/en-US/dita/RTC/API/api_resumeaudiomixing.dita +++ b/en-US/dita/RTC/API/api_resumeaudiomixing.dita @@ -18,7 +18,7 @@ virtual int resumeAudioMixing() = 0; resumeAudioMixing(): number public abstract int ResumeAudioMixing(); - + Future<void> resumeAudioMixing();

            diff --git a/en-US/dita/RTC/API/api_resumeeffect.dita b/en-US/dita/RTC/API/api_resumeeffect.dita index bca6e928463..6de6c72ee2b 100644 --- a/en-US/dita/RTC/API/api_resumeeffect.dita +++ b/en-US/dita/RTC/API/api_resumeeffect.dita @@ -20,7 +20,7 @@ virtual int resumeEffect(int soundId) = 0; resumeEffect(soundId: number): number public abstract int ResumeEffect(int soundId); - + Future<void> resumeEffect(int soundId);

            diff --git a/en-US/dita/RTC/API/api_rtc_local_view_surfaceview.dita b/en-US/dita/RTC/API/api_rtc_local_view_surfaceview.dita index 47ab66457d4..9f4cd5d47d0 100644 --- a/en-US/dita/RTC/API/api_rtc_local_view_surfaceview.dita +++ b/en-US/dita/RTC/API/api_rtc_local_view_surfaceview.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const SurfaceView({ Key? key, String? channelId, diff --git a/en-US/dita/RTC/API/api_rtc_local_view_surfaceview_screen.dita b/en-US/dita/RTC/API/api_rtc_local_view_surfaceview_screen.dita index fad64f128f0..452383843f9 100644 --- a/en-US/dita/RTC/API/api_rtc_local_view_surfaceview_screen.dita +++ b/en-US/dita/RTC/API/api_rtc_local_view_surfaceview_screen.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const SurfaceView.screenShare({ Key? key, renderMode = VideoRenderMode.Hidden, diff --git a/en-US/dita/RTC/API/api_rtc_local_view_textureview.dita b/en-US/dita/RTC/API/api_rtc_local_view_textureview.dita index 29222809706..6328e723ecb 100644 --- a/en-US/dita/RTC/API/api_rtc_local_view_textureview.dita +++ b/en-US/dita/RTC/API/api_rtc_local_view_textureview.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const TextureView({ Key? key, String? channelId, diff --git a/en-US/dita/RTC/API/api_rtc_local_view_textureview_screen.dita b/en-US/dita/RTC/API/api_rtc_local_view_textureview_screen.dita index 96e0825222e..11fa4ce7bb0 100644 --- a/en-US/dita/RTC/API/api_rtc_local_view_textureview_screen.dita +++ b/en-US/dita/RTC/API/api_rtc_local_view_textureview_screen.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const TextureView.screenShare({ Key? key, renderMode = VideoRenderMode.Hidden, diff --git a/en-US/dita/RTC/API/api_rtc_remote_view_surfaceview.dita b/en-US/dita/RTC/API/api_rtc_remote_view_surfaceview.dita index 8fc1f0212be..fa8083bf206 100644 --- a/en-US/dita/RTC/API/api_rtc_remote_view_surfaceview.dita +++ b/en-US/dita/RTC/API/api_rtc_remote_view_surfaceview.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const SurfaceView({ Key? key, required int uid, diff --git a/en-US/dita/RTC/API/api_rtc_remote_view_textureview.dita b/en-US/dita/RTC/API/api_rtc_remote_view_textureview.dita index d9f792803ff..4123cd9a885 100644 --- a/en-US/dita/RTC/API/api_rtc_remote_view_textureview.dita +++ b/en-US/dita/RTC/API/api_rtc_remote_view_textureview.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const TextureView({ Key? key, required int uid, diff --git a/en-US/dita/RTC/API/api_rtc_render_view_rtcsurfaceview.dita b/en-US/dita/RTC/API/api_rtc_render_view_rtcsurfaceview.dita index b801fbbc46b..49ea96fc029 100644 --- a/en-US/dita/RTC/API/api_rtc_render_view_rtcsurfaceview.dita +++ b/en-US/dita/RTC/API/api_rtc_render_view_rtcsurfaceview.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const RtcSurfaceView({ Key? key, required this.uid, diff --git a/en-US/dita/RTC/API/api_rtc_render_view_rtctextureview.dita b/en-US/dita/RTC/API/api_rtc_render_view_rtctextureview.dita index 622de690fa6..af238d796ed 100644 --- a/en-US/dita/RTC/API/api_rtc_render_view_rtctextureview.dita +++ b/en-US/dita/RTC/API/api_rtc_render_view_rtctextureview.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + const RtcTextureView({ Key? key, required this.uid, diff --git a/en-US/dita/RTC/API/api_selectaudiotrack.dita b/en-US/dita/RTC/API/api_selectaudiotrack.dita index 96928dd895b..f5fb13165c3 100644 --- a/en-US/dita/RTC/API/api_selectaudiotrack.dita +++ b/en-US/dita/RTC/API/api_selectaudiotrack.dita @@ -13,13 +13,13 @@

            - - - - + + + + public abstract int SelectAudioTrack(int index); - -

            + +

            After getting the number of audio tracks of the current music file, call this method to specify any audio track to play. For example, if different tracks of a multitrack file store songs in different languages, you can call this method to set the language of the music file to play.

            diff --git a/en-US/dita/RTC/API/api_sendcustomreportmessage.dita b/en-US/dita/RTC/API/api_sendcustomreportmessage.dita index b0e0d4dab59..ea6a3859eef 100644 --- a/en-US/dita/RTC/API/api_sendcustomreportmessage.dita +++ b/en-US/dita/RTC/API/api_sendcustomreportmessage.dita @@ -31,7 +31,7 @@ label: string, value: number): number public abstract int SendCustomReportMessage(string id, string category, string events, string label, int value); - + Future<void> sendCustomReportMessage( String id, String category, String event, String label, int value);

            diff --git a/en-US/dita/RTC/API/api_sendmetadata.dita b/en-US/dita/RTC/API/api_sendmetadata.dita index 50acf881b4f..14e386f59db 100644 --- a/en-US/dita/RTC/API/api_sendmetadata.dita +++ b/en-US/dita/RTC/API/api_sendmetadata.dita @@ -13,12 +13,12 @@

            - - - + + + sendMetadata(metadata: Metadata): number public abstract int SendMetadata(Metadata metadata); - + Future<void> sendMetadata(Uint8List metadata);

            diff --git a/en-US/dita/RTC/API/api_sendstreammessage.dita b/en-US/dita/RTC/API/api_sendstreammessage.dita index 5871561c90f..fee64b1a0b6 100644 --- a/en-US/dita/RTC/API/api_sendstreammessage.dita +++ b/en-US/dita/RTC/API/api_sendstreammessage.dita @@ -24,7 +24,7 @@ const char* data, size_t length) = 0; sendStreamMessage(streamId: number, data: string): number - + Future<void> sendStreamMessage(int streamId, Uint8List message);

            diff --git a/en-US/dita/RTC/API/api_setaddonlogfile.dita b/en-US/dita/RTC/API/api_setaddonlogfile.dita index e0ac4330389..efc3282db87 100644 --- a/en-US/dita/RTC/API/api_setaddonlogfile.dita +++ b/en-US/dita/RTC/API/api_setaddonlogfile.dita @@ -14,13 +14,13 @@

            - - - + + + setAddonLogFile(filePath: string): number - - -

            + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_setaudioeffectparameters.dita b/en-US/dita/RTC/API/api_setaudioeffectparameters.dita index 1acb2843a21..8eb4bb1ade9 100644 --- a/en-US/dita/RTC/API/api_setaudioeffectparameters.dita +++ b/en-US/dita/RTC/API/api_setaudioeffectparameters.dita @@ -18,7 +18,7 @@ virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0; setAudioEffectParameters(preset: AUDIO_EFFECT_PRESET, param1: number, param2: number): number public abstract int SetAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2); - + Future<void> setAudioEffectParameters( AudioEffectPreset preset, int param1, int param2);

            diff --git a/en-US/dita/RTC/API/api_setaudioeffectpreset.dita b/en-US/dita/RTC/API/api_setaudioeffectpreset.dita index 89a15968d62..619e7e384d8 100644 --- a/en-US/dita/RTC/API/api_setaudioeffectpreset.dita +++ b/en-US/dita/RTC/API/api_setaudioeffectpreset.dita @@ -18,7 +18,7 @@ virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0; setAudioEffectPreset(preset: AUDIO_EFFECT_PRESET): number public abstract int SetAudioEffectPreset(AUDIO_EFFECT_PRESET preset); - + Future<void> setAudioEffectPreset(AudioEffectPreset preset);

            diff --git a/en-US/dita/RTC/API/api_setaudiomixingdualmonomode.dita b/en-US/dita/RTC/API/api_setaudiomixingdualmonomode.dita index 608604a1e78..bb02fc16db1 100644 --- a/en-US/dita/RTC/API/api_setaudiomixingdualmonomode.dita +++ b/en-US/dita/RTC/API/api_setaudiomixingdualmonomode.dita @@ -13,13 +13,13 @@

            - - - - + + + + public abstract int SetAudioMixingDualMonoMode(AUDIO_MIXING_DUAL_MONO_MODE mode); - -

            + +

            In a stereo music file, the left and right channels can store different audio data. According to your needs, you can set the channel mode to original mode, left channel mode, right channel mode, or mixed channel mode. For example, in the KTV scenario, the left channel of the music file stores the musical accompaniment, and the right channel stores the singing voice. If you only need to listen to the accompaniment, call this method to set the channel mode of the music file to left channel mode; if you need to listen to the accompaniment and the singing voice at the same time, call this method to set the channel mode to mixed channel mode. diff --git a/en-US/dita/RTC/API/api_setaudiomixingpitch.dita b/en-US/dita/RTC/API/api_setaudiomixingpitch.dita index 1a198c5ab36..a6e8688abbd 100644 --- a/en-US/dita/RTC/API/api_setaudiomixingpitch.dita +++ b/en-US/dita/RTC/API/api_setaudiomixingpitch.dita @@ -18,7 +18,7 @@ virtual int setAudioMixingPitch(int pitch) = 0; setAudioMixingPitch(pitch: number): number public abstract int SetAudioMixingPitch(int pitch); - + Future<void> setAudioMixingPitch(int pitch);

            diff --git a/en-US/dita/RTC/API/api_setaudiomixingplaybackspeed.dita b/en-US/dita/RTC/API/api_setaudiomixingplaybackspeed.dita index cb838a0f390..3a319dcb9f3 100644 --- a/en-US/dita/RTC/API/api_setaudiomixingplaybackspeed.dita +++ b/en-US/dita/RTC/API/api_setaudiomixingplaybackspeed.dita @@ -16,9 +16,9 @@ public abstract int setAudioMixingPlaybackSpeed(int speed); - (int)setAudioMixingPlaybackSpeed:(int)speed; virtual int setAudioMixingPlaybackSpeed(int speed) = 0; - + public abstract int SetAudioMixingPlaybackSpeed(int speed); - + Future<void> setAudioMixingPlaybackSpeed(int speed);

            diff --git a/en-US/dita/RTC/API/api_setaudiomixingposition.dita b/en-US/dita/RTC/API/api_setaudiomixingposition.dita index 7bebf006ccb..4d99125e33d 100644 --- a/en-US/dita/RTC/API/api_setaudiomixingposition.dita +++ b/en-US/dita/RTC/API/api_setaudiomixingposition.dita @@ -18,7 +18,7 @@ virtual int setAudioMixingPosition(int pos /*in ms*/) = 0; setAudioMixingPosition(pos: number): number public abstract int SetAudioMixingPosition(int pos); - + Future<void> setAudioMixingPosition(int pos);

            diff --git a/en-US/dita/RTC/API/api_setaudioprofile.dita b/en-US/dita/RTC/API/api_setaudioprofile.dita index 55ab3b102ac..d4ebd0a167c 100644 --- a/en-US/dita/RTC/API/api_setaudioprofile.dita +++ b/en-US/dita/RTC/API/api_setaudioprofile.dita @@ -18,7 +18,7 @@ virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) = 0; setAudioProfile(profile: AUDIO_PROFILE_TYPE, scenario: AUDIO_SCENARIO_TYPE): number public abstract int SetAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario); - + Future<void> setAudioProfile(AudioProfile profile, AudioScenario scenario);

            diff --git a/en-US/dita/RTC/API/api_setaudioprofile2.dita b/en-US/dita/RTC/API/api_setaudioprofile2.dita index 1588813c687..4c1017ad02e 100644 --- a/en-US/dita/RTC/API/api_setaudioprofile2.dita +++ b/en-US/dita/RTC/API/api_setaudioprofile2.dita @@ -18,9 +18,9 @@ public synchronized int setAudioProfile(int profile) - (int)setAudioProfile:(AgoraAudioProfile)profile; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0; - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_setaudiosessionoperationrestriction.dita b/en-US/dita/RTC/API/api_setaudiosessionoperationrestriction.dita index 2b7ed972a16..c64a760bde1 100644 --- a/en-US/dita/RTC/API/api_setaudiosessionoperationrestriction.dita +++ b/en-US/dita/RTC/API/api_setaudiosessionoperationrestriction.dita @@ -13,12 +13,12 @@

            - - + + virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction) = 0; - + public abstract int SetAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction); - + Future<void> setAudioSessionOperationRestriction( AudioSessionOperationRestriction restriction);

            diff --git a/en-US/dita/RTC/API/api_setbeautyeffectoptions.dita b/en-US/dita/RTC/API/api_setbeautyeffectoptions.dita index 63370e1b53a..e8fdc8e34a9 100644 --- a/en-US/dita/RTC/API/api_setbeautyeffectoptions.dita +++ b/en-US/dita/RTC/API/api_setbeautyeffectoptions.dita @@ -18,7 +18,7 @@ virtual int setBeautyEffectOptions(bool enabled, BeautyOptions options) = 0; setBeautyEffectOptions(enabled: boolean, options: BeautyOptions): number public abstract int SetBeautyEffectOptions(bool enabled, BeautyOptions options); - + Future<void> setBeautyEffectOptions(bool enabled, BeautyOptions options);

            diff --git a/en-US/dita/RTC/API/api_setcameraautoexposurefacemodeenabled.dita b/en-US/dita/RTC/API/api_setcameraautoexposurefacemodeenabled.dita index e2a914e02d0..d6abe2432b3 100644 --- a/en-US/dita/RTC/API/api_setcameraautoexposurefacemodeenabled.dita +++ b/en-US/dita/RTC/API/api_setcameraautoexposurefacemodeenabled.dita @@ -13,14 +13,14 @@

            - - + + virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_setcameraautofocusfacemodeenabled.dita b/en-US/dita/RTC/API/api_setcameraautofocusfacemodeenabled.dita index 4df57b802ca..1de225cd2bf 100644 --- a/en-US/dita/RTC/API/api_setcameraautofocusfacemodeenabled.dita +++ b/en-US/dita/RTC/API/api_setcameraautofocusfacemodeenabled.dita @@ -17,10 +17,10 @@ - (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable; virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0; - + public abstract int SetCameraAutoFocusFaceModeEnabled(bool enabled); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setcameracapturerconfiguration.dita b/en-US/dita/RTC/API/api_setcameracapturerconfiguration.dita index ce02f3623a9..a2f63039ed8 100644 --- a/en-US/dita/RTC/API/api_setcameracapturerconfiguration.dita +++ b/en-US/dita/RTC/API/api_setcameracapturerconfiguration.dita @@ -18,7 +18,7 @@ virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0; setCameraCapturerConfiguration(config: CameraCapturerConfiguration): number public abstract int SetCameraCapturerConfiguration(CameraCapturerConfiguration config); - + Future<void> setCameraCapturerConfiguration( CameraCapturerConfiguration config);

            diff --git a/en-US/dita/RTC/API/api_setcameradeviceorientation.dita b/en-US/dita/RTC/API/api_setcameradeviceorientation.dita index 1ea008226ff..895241655b4 100644 --- a/en-US/dita/RTC/API/api_setcameradeviceorientation.dita +++ b/en-US/dita/RTC/API/api_setcameradeviceorientation.dita @@ -13,14 +13,14 @@

            - - + + virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0; - + public abstract int SetCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation); - -

            + +

            When the video capture device does not have the gravity sensing function, you can call this method to manually adjust the rotation angle of the captured video.

            diff --git a/en-US/dita/RTC/API/api_setcameraexposureposition.dita b/en-US/dita/RTC/API/api_setcameraexposureposition.dita index 13951b79179..53f6556c8c3 100644 --- a/en-US/dita/RTC/API/api_setcameraexposureposition.dita +++ b/en-US/dita/RTC/API/api_setcameraexposureposition.dita @@ -17,9 +17,9 @@ - (BOOL)setCameraExposurePosition:(CGPoint)positionInView; virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0; - + public abstract int SetCameraExposurePosition(float positionXinView, float positionYinView); - + Future<void> setCameraExposurePosition( double positionXinView, double positionYinView);

            diff --git a/en-US/dita/RTC/API/api_setcamerafocuspositioninpreview.dita b/en-US/dita/RTC/API/api_setcamerafocuspositioninpreview.dita index a8a891572c5..6b930c711d7 100644 --- a/en-US/dita/RTC/API/api_setcamerafocuspositioninpreview.dita +++ b/en-US/dita/RTC/API/api_setcamerafocuspositioninpreview.dita @@ -17,9 +17,9 @@ - (BOOL)setCameraFocusPositionInPreview:(CGPoint)position; virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0; - + public abstract int SetCameraFocusPositionInPreview(float positionX, float positionY); - + Future<void> setCameraFocusPositionInPreview( double positionX, double positionY);

            diff --git a/en-US/dita/RTC/API/api_setcameratorchon.dita b/en-US/dita/RTC/API/api_setcameratorchon.dita index 8e717edb1cf..0c8ab694a67 100644 --- a/en-US/dita/RTC/API/api_setcameratorchon.dita +++ b/en-US/dita/RTC/API/api_setcameratorchon.dita @@ -17,10 +17,10 @@ - (BOOL)setCameraTorchOn:(BOOL)isOn; virtual int setCameraTorchOn(bool isOn) = 0; - + public abstract int SetCameraTorchOn(bool isOn); - - Future<void> setCameraTorchOn(bool isOn);

            + + Future<void> setCameraTorchOn(bool isOn);

            diff --git a/en-US/dita/RTC/API/api_setcamerazoomfactor.dita b/en-US/dita/RTC/API/api_setcamerazoomfactor.dita index 23ed71acf2e..591d9722d1a 100644 --- a/en-US/dita/RTC/API/api_setcamerazoomfactor.dita +++ b/en-US/dita/RTC/API/api_setcamerazoomfactor.dita @@ -17,9 +17,9 @@ - (CGFloat)setCameraZoomFactor:(CGFloat)zoomFactor; virtual int setCameraZoomFactor(float factor) = 0; - + public abstract int SetCameraZoomFactor(float factor); - + Future<void> setCameraZoomFactor(double factor);

            diff --git a/en-US/dita/RTC/API/api_setchannelprofile.dita b/en-US/dita/RTC/API/api_setchannelprofile.dita index 10410232146..4174a043cf6 100644 --- a/en-US/dita/RTC/API/api_setchannelprofile.dita +++ b/en-US/dita/RTC/API/api_setchannelprofile.dita @@ -18,7 +18,7 @@ virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0; setChannelProfile(profile: CHANNEL_PROFILE_TYPE): number public abstract int SetChannelProfile(CHANNEL_PROFILE_TYPE profile); - + Future<void> setChannelProfile(ChannelProfile profile);

            diff --git a/en-US/dita/RTC/API/api_setclientrole.dita b/en-US/dita/RTC/API/api_setclientrole.dita index 28e10276c4c..5e7d69c067a 100644 --- a/en-US/dita/RTC/API/api_setclientrole.dita +++ b/en-US/dita/RTC/API/api_setclientrole.dita @@ -18,8 +18,8 @@ virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0; setClientRole(role: CLIENT_ROLE_TYPE): number public abstract int SetClientRole(CLIENT_ROLE_TYPE role); - -

            + +

            You can call this method either before or after joining the channel to set the user role as audience or host.

            diff --git a/en-US/dita/RTC/API/api_setclientrole2.dita b/en-US/dita/RTC/API/api_setclientrole2.dita index 49927691aa4..229ec3ba16e 100644 --- a/en-US/dita/RTC/API/api_setclientrole2.dita +++ b/en-US/dita/RTC/API/api_setclientrole2.dita @@ -18,7 +18,7 @@ virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0; setClientRoleWithOptions(role: CLIENT_ROLE_TYPE, options: ClientRoleOptions): number public abstract int SetClientRole(CLIENT_ROLE_TYPE role, ClientRoleOptions options); - + Future<void> setClientRole(ClientRole role, [ClientRoleOptions? options]);

            diff --git a/en-US/dita/RTC/API/api_setcloudproxy.dita b/en-US/dita/RTC/API/api_setcloudproxy.dita index d7613fc5e20..21486c92442 100644 --- a/en-US/dita/RTC/API/api_setcloudproxy.dita +++ b/en-US/dita/RTC/API/api_setcloudproxy.dita @@ -17,12 +17,12 @@ - (int)setCloudProxy:(AgoraCloudProxyType)proxyType NS_SWIFT_NAME(setCloudProxy(_:)); virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0;

            - - + + virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0; setCloudProxy(type: CLOUD_PROXY_TYPE): number public abstract int SetCloudProxy(CLOUD_PROXY_TYPE proxyType); - + Future<void> setCloudProxy(CloudProxyType proxyType);

            diff --git a/en-US/dita/RTC/API/api_setcolorenhanceoptions.dita b/en-US/dita/RTC/API/api_setcolorenhanceoptions.dita index fe1df5f7b42..c946a930954 100644 --- a/en-US/dita/RTC/API/api_setcolorenhanceoptions.dita +++ b/en-US/dita/RTC/API/api_setcolorenhanceoptions.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int SetColorEnhanceOptions(bool enabled, ColorEnhanceOptions options); - + Future<void> setColorEnhanceOptions(bool enabled, ColorEnhanceOptions option);

            diff --git a/en-US/dita/RTC/API/api_setdefaultaudioroutetospeakerphone.dita b/en-US/dita/RTC/API/api_setdefaultaudioroutetospeakerphone.dita index ab442a922ad..8ed6e9d932d 100644 --- a/en-US/dita/RTC/API/api_setdefaultaudioroutetospeakerphone.dita +++ b/en-US/dita/RTC/API/api_setdefaultaudioroutetospeakerphone.dita @@ -13,12 +13,12 @@

            - - + + virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0; - + public abstract int SetDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker); - + Future<void> setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker);

            diff --git a/en-US/dita/RTC/API/api_setdefaultmuteallremoteaudiostreams.dita b/en-US/dita/RTC/API/api_setdefaultmuteallremoteaudiostreams.dita index 8c905c7cc0b..2f4f3b33817 100644 --- a/en-US/dita/RTC/API/api_setdefaultmuteallremoteaudiostreams.dita +++ b/en-US/dita/RTC/API/api_setdefaultmuteallremoteaudiostreams.dita @@ -18,7 +18,7 @@ virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) = 0; setDefaultMuteAllRemoteAudioStreams(mute: boolean): number public abstract int SetDefaultMuteAllRemoteAudioStreams(bool mute); - + Future<void> setDefaultMuteAllRemoteAudioStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_setdefaultmuteallremotevideostreams.dita b/en-US/dita/RTC/API/api_setdefaultmuteallremotevideostreams.dita index 147ac4cf843..d5fcf2422f9 100644 --- a/en-US/dita/RTC/API/api_setdefaultmuteallremotevideostreams.dita +++ b/en-US/dita/RTC/API/api_setdefaultmuteallremotevideostreams.dita @@ -18,7 +18,7 @@ virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) = 0; setDefaultMuteAllRemoteVideoStreams(mute: boolean): number public abstract int SetDefaultMuteAllRemoteVideoStreams(bool mute); - + Future<void> setDefaultMuteAllRemoteVideoStreams(bool muted);

            diff --git a/en-US/dita/RTC/API/api_setdevicevolume.dita b/en-US/dita/RTC/API/api_setdevicevolume.dita index beb2e735a5d..0643c6e7fc4 100644 --- a/en-US/dita/RTC/API/api_setdevicevolume.dita +++ b/en-US/dita/RTC/API/api_setdevicevolume.dita @@ -13,13 +13,13 @@

            - + - (int)setDeviceVolume:(AgoraMediaDeviceType)type volume:(int)volume; - - - - -

            + + + + +

            Sets the volume of audio or video capture or playback devices.

            diff --git a/en-US/dita/RTC/API/api_setdirectcdnstreamingaudioconfiguration.dita b/en-US/dita/RTC/API/api_setdirectcdnstreamingaudioconfiguration.dita index 23d546dbbe9..659a11373e2 100644 --- a/en-US/dita/RTC/API/api_setdirectcdnstreamingaudioconfiguration.dita +++ b/en-US/dita/RTC/API/api_setdirectcdnstreamingaudioconfiguration.dita @@ -16,10 +16,10 @@ public abstract int setDirectCdnStreamingAudioConfiguration(int profile); - (int)setDirectCdnStreamingAudioConfiguration:(AgoraAudioProfile)profile; virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile) = 0; - + public abstract int SetDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile); - -

            + +

            When you set the publishMicrophoneTrack or publishCustomAudioTrack in the as to capture audios, you can call this method to set the audio profile.

            diff --git a/en-US/dita/RTC/API/api_setdirectcdnstreamingvideoconfiguration.dita b/en-US/dita/RTC/API/api_setdirectcdnstreamingvideoconfiguration.dita index 0c2ccdbb0f3..f0cecf46a80 100644 --- a/en-US/dita/RTC/API/api_setdirectcdnstreamingvideoconfiguration.dita +++ b/en-US/dita/RTC/API/api_setdirectcdnstreamingvideoconfiguration.dita @@ -18,10 +18,10 @@ virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration& config) = 0; - + public abstract int SetDirectCdnStreamingVideoConfiguration(VideoEncoderConfiguration config); - -

            + +

            When you set publishCameraTrack or publishCustomVideoTrack in the as to capture videos, you can call this method to set the video profile.

            diff --git a/en-US/dita/RTC/API/api_seteffectposition.dita b/en-US/dita/RTC/API/api_seteffectposition.dita index 73c74e5fd97..3456589484b 100644 --- a/en-US/dita/RTC/API/api_seteffectposition.dita +++ b/en-US/dita/RTC/API/api_seteffectposition.dita @@ -18,7 +18,7 @@ virtual int setEffectPosition(int soundId, int pos) = 0; setEffectPosition(soundId: number, pos: number): number public abstract int SetEffectPosition(int soundId, int pos); - + Future<void> setEffectPosition(int soundId, int pos);

            diff --git a/en-US/dita/RTC/API/api_seteffectsvolume.dita b/en-US/dita/RTC/API/api_seteffectsvolume.dita index f7120764b14..0d3f2f297be 100644 --- a/en-US/dita/RTC/API/api_seteffectsvolume.dita +++ b/en-US/dita/RTC/API/api_seteffectsvolume.dita @@ -20,7 +20,7 @@ virtual int setEffectsVolume(int volume) = 0; setEffectsVolume(volume: number): number public abstract int SetEffectsVolume(int volume); - + Future<void> setEffectsVolume(int volume);

            diff --git a/en-US/dita/RTC/API/api_setenablespeakerphone.dita b/en-US/dita/RTC/API/api_setenablespeakerphone.dita index f231968c318..2f60f6015b2 100644 --- a/en-US/dita/RTC/API/api_setenablespeakerphone.dita +++ b/en-US/dita/RTC/API/api_setenablespeakerphone.dita @@ -13,13 +13,13 @@

            - - + + virtual int setEnableSpeakerphone(bool speakerOn) = 0; - + public abstract int SetEnableSpeakerphone(bool speakerOn); - - Future<void> setEnableSpeakerphone(bool speakerOn);

            + + Future<void> setEnableSpeakerphone(bool speakerOn);

            This method sets whether the audio is routed to the speakerphone or earpiece. After a successful method call, the SDK triggers the callback.

            diff --git a/en-US/dita/RTC/API/api_setencryptionmode.dita b/en-US/dita/RTC/API/api_setencryptionmode.dita index 4190046621b..91e8c47c029 100644 --- a/en-US/dita/RTC/API/api_setencryptionmode.dita +++ b/en-US/dita/RTC/API/api_setencryptionmode.dita @@ -18,7 +18,7 @@ virtual int setEncryptionMode(const char* encryptionMode) = 0; setEncryptionMode(encryptionMode: string): number public abstract int SetEncryptionMode(string encryptionMode); - + Future<void> setEncryptionMode(EncryptionMode encryptionMode);

            diff --git a/en-US/dita/RTC/API/api_setencryptionsecret.dita b/en-US/dita/RTC/API/api_setencryptionsecret.dita index f331cd80d29..20ec3d5a5cd 100644 --- a/en-US/dita/RTC/API/api_setencryptionsecret.dita +++ b/en-US/dita/RTC/API/api_setencryptionsecret.dita @@ -18,7 +18,7 @@ virtual int setEncryptionSecret(const char* secret) = 0; setEncryptionSecret(secret: string): number public abstract int SetEncryptionSecret(string secret); - + Future<void> setEncryptionSecret(String secret);

            diff --git a/en-US/dita/RTC/API/api_setexternalaudiosink.dita b/en-US/dita/RTC/API/api_setexternalaudiosink.dita index 4675b6eafb0..f66f1ce7ede 100644 --- a/en-US/dita/RTC/API/api_setexternalaudiosink.dita +++ b/en-US/dita/RTC/API/api_setexternalaudiosink.dita @@ -13,13 +13,13 @@

            - - + + virtual int setExternalAudioSink(bool enabled, int sampleRate, int channels) = 0; - + public abstract int SetExternalAudioSink(bool enabled, int sampleRate, int channels); - -

            + +

            This method applies to scenarios where you want to use external audio data for playback. After enabling the external audio sink, you can call the method to pull the remote audio data, process it, and play it with the audio effects that you want.

            diff --git a/en-US/dita/RTC/API/api_setexternalaudiosource.dita b/en-US/dita/RTC/API/api_setexternalaudiosource.dita index 05e99df0e3c..ceba7393703 100644 --- a/en-US/dita/RTC/API/api_setexternalaudiosource.dita +++ b/en-US/dita/RTC/API/api_setexternalaudiosource.dita @@ -18,10 +18,10 @@ sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels; virtual int setExternalAudioSource(bool enabled, int sampleRate, int channels) = 0; - + public abstract int SetExternalAudioSource(bool enabled, int sampleRate, int channels); - -

            + +

            Call this method before calling and .

            diff --git a/en-US/dita/RTC/API/api_setexternalaudiosource2.dita b/en-US/dita/RTC/API/api_setexternalaudiosource2.dita index 6e8109b759d..b65250d2b8b 100644 --- a/en-US/dita/RTC/API/api_setexternalaudiosource2.dita +++ b/en-US/dita/RTC/API/api_setexternalaudiosource2.dita @@ -29,9 +29,9 @@ int sourceNumber, bool localPlayback = false, bool publish = true) = 0; - - -

            + + +

            Call this method before joining a channel.
            diff --git a/en-US/dita/RTC/API/api_setexternalaudiosourcevolume.dita b/en-US/dita/RTC/API/api_setexternalaudiosourcevolume.dita index a39fd1c0806..1d2427b5c85 100644 --- a/en-US/dita/RTC/API/api_setexternalaudiosourcevolume.dita +++ b/en-US/dita/RTC/API/api_setexternalaudiosourcevolume.dita @@ -13,13 +13,13 @@

            - - - - + + + + public abstract int SetExternalAudioSourceVolume(int sourcePos, int volume); - -

            + +

            You can call this method multiple times to set the volume of external audio frames in different positions. The volume setting takes effect for all external audio frames that are pushed to the specified position. diff --git a/en-US/dita/RTC/API/api_sethighqualityaudioparameters.dita b/en-US/dita/RTC/API/api_sethighqualityaudioparameters.dita index 45b8e8d9b29..04fd0e44102 100644 --- a/en-US/dita/RTC/API/api_sethighqualityaudioparameters.dita +++ b/en-US/dita/RTC/API/api_sethighqualityaudioparameters.dita @@ -13,8 +13,8 @@

            - - + + virtual int setHighQualityAudioParameters(bool fullband, bool stereo, bool fullBitrate) = 0; @@ -22,8 +22,8 @@ stereo: boolean, fullBitrate: boolean): number public abstract int SetHighQualityAudioParameters(bool fullband, bool stereo, bool fullBitrate); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setinearmonitoringvolume.dita b/en-US/dita/RTC/API/api_setinearmonitoringvolume.dita index 4042ed09108..d9ba0faf692 100644 --- a/en-US/dita/RTC/API/api_setinearmonitoringvolume.dita +++ b/en-US/dita/RTC/API/api_setinearmonitoringvolume.dita @@ -16,9 +16,9 @@ public abstract int setInEarMonitoringVolume(int volume); - (int)setInEarMonitoringVolume:(NSInteger)volume; virtual int setInEarMonitoringVolume(int volume) = 0; - + public abstract int SetInEarMonitoringVolume(int volume); - + Future<void> setInEarMonitoringVolume(int volume);

            diff --git a/en-US/dita/RTC/API/api_setlivetranscoding.dita b/en-US/dita/RTC/API/api_setlivetranscoding.dita index 78f3d2f721b..c42121c36ca 100644 --- a/en-US/dita/RTC/API/api_setlivetranscoding.dita +++ b/en-US/dita/RTC/API/api_setlivetranscoding.dita @@ -18,7 +18,7 @@ virtual int setLiveTranscoding(const LiveTranscoding &transcoding) = 0; setLiveTranscoding(transcoding: LiveTranscoding): number public abstract int SetLiveTranscoding(LiveTranscoding transcoding); - + Future<void> setLiveTranscoding(LiveTranscoding transcoding);

            diff --git a/en-US/dita/RTC/API/api_setlocalpublishfallbackoption.dita b/en-US/dita/RTC/API/api_setlocalpublishfallbackoption.dita index 409d244da34..1edd9e190a0 100644 --- a/en-US/dita/RTC/API/api_setlocalpublishfallbackoption.dita +++ b/en-US/dita/RTC/API/api_setlocalpublishfallbackoption.dita @@ -18,7 +18,7 @@ virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; setLocalPublishFallbackOption(option: STREAM_FALLBACK_OPTIONS): number public abstract int SetLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option); - + Future<void> setLocalPublishFallbackOption(StreamFallbackOptions option);

            diff --git a/en-US/dita/RTC/API/api_setlocalrendermode.dita b/en-US/dita/RTC/API/api_setlocalrendermode.dita index 6d0b44926c7..26940768404 100644 --- a/en-US/dita/RTC/API/api_setlocalrendermode.dita +++ b/en-US/dita/RTC/API/api_setlocalrendermode.dita @@ -21,10 +21,10 @@ - (int)setLocalRenderMode:(AgoraVideoRenderMode)mode; virtual int setLocalRenderMode(RENDER_MODE_TYPE renderMode) = 0; public abstract int setLocalRenderMode(int renderMode); - + public abstract int SetLocalRenderMode(RENDER_MODE_TYPE renderMode); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setlocalrendermode2.dita b/en-US/dita/RTC/API/api_setlocalrendermode2.dita index 1a83a99934f..3d8da3e6a0a 100644 --- a/en-US/dita/RTC/API/api_setlocalrendermode2.dita +++ b/en-US/dita/RTC/API/api_setlocalrendermode2.dita @@ -21,10 +21,10 @@ - (int)setLocalRenderMode:(AgoraVideoRenderMode)renderMode mirrorMode:(AgoraVideoMirrorMode)mirrorMode;

            public abstract int setLocalRenderMode(int renderMode, int mirrorMode); - + public abstract int SetLocalRenderMode(RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setlocalvideomirrormode.dita b/en-US/dita/RTC/API/api_setlocalvideomirrormode.dita index d6378658b93..68583eccdfb 100644 --- a/en-US/dita/RTC/API/api_setlocalvideomirrormode.dita +++ b/en-US/dita/RTC/API/api_setlocalvideomirrormode.dita @@ -18,8 +18,8 @@ virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; setLocalVideoMirrorMode(mirrorMode: VIDEO_MIRROR_MODE_TYPE): number public abstract int SetLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setlocalvoicechanger.dita b/en-US/dita/RTC/API/api_setlocalvoicechanger.dita index 9a107f1a50a..675c5f62542 100644 --- a/en-US/dita/RTC/API/api_setlocalvoicechanger.dita +++ b/en-US/dita/RTC/API/api_setlocalvoicechanger.dita @@ -18,7 +18,7 @@ virtual int setLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger) = 0; setLocalVoiceChanger(voiceChanger: VOICE_CHANGER_PRESET): number public abstract int SetLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger); - + Future<void> setLocalVoiceChanger(AudioVoiceChanger voiceChanger);

            diff --git a/en-US/dita/RTC/API/api_setlocalvoiceequalization.dita b/en-US/dita/RTC/API/api_setlocalvoiceequalization.dita index 549159bd85a..72dd9e04f15 100644 --- a/en-US/dita/RTC/API/api_setlocalvoiceequalization.dita +++ b/en-US/dita/RTC/API/api_setlocalvoiceequalization.dita @@ -20,7 +20,7 @@ virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain) = 0; setLocalVoiceEqualization(bandFrequency: AUDIO_EQUALIZATION_BAND_FREQUENCY, bandGain: number): number public abstract int SetLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain); - + Future<void> setLocalVoiceEqualization( AudioEqualizationBandFrequency bandFrequency, int bandGain);

            diff --git a/en-US/dita/RTC/API/api_setlocalvoicepitch.dita b/en-US/dita/RTC/API/api_setlocalvoicepitch.dita index 964ef915c12..44243133fe5 100644 --- a/en-US/dita/RTC/API/api_setlocalvoicepitch.dita +++ b/en-US/dita/RTC/API/api_setlocalvoicepitch.dita @@ -18,7 +18,7 @@ virtual int setLocalVoicePitch(double pitch) = 0; setLocalVoicePitch(pitch: number): number public abstract int SetLocalVoicePitch(double pitch); - + Future<void> setLocalVoicePitch(double pitch);

            diff --git a/en-US/dita/RTC/API/api_setlocalvoicereverb.dita b/en-US/dita/RTC/API/api_setlocalvoicereverb.dita index 4206057f405..83fda0f7f13 100644 --- a/en-US/dita/RTC/API/api_setlocalvoicereverb.dita +++ b/en-US/dita/RTC/API/api_setlocalvoicereverb.dita @@ -18,7 +18,7 @@ virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0; setLocalVoiceReverb(reverbKey: AUDIO_REVERB_TYPE, value: number): number public abstract int SetLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value); - + Future<void> setLocalVoiceReverb(AudioReverbType reverbKey, int value);

            diff --git a/en-US/dita/RTC/API/api_setlocalvoicereverbpreset.dita b/en-US/dita/RTC/API/api_setlocalvoicereverbpreset.dita index 1752658e3d5..9f0ae33855c 100644 --- a/en-US/dita/RTC/API/api_setlocalvoicereverbpreset.dita +++ b/en-US/dita/RTC/API/api_setlocalvoicereverbpreset.dita @@ -18,8 +18,8 @@ virtual int setLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset) = 0; setLocalVoiceReverbPreset(reverbPreset: AUDIO_REVERB_PRESET) public abstract int SetLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset); - - Future<void> setLocalVoiceReverbPreset(AudioReverbPreset preset);

            + + Future<void> setLocalVoiceReverbPreset(AudioReverbPreset preset);

            diff --git a/en-US/dita/RTC/API/api_setlogfile.dita b/en-US/dita/RTC/API/api_setlogfile.dita index 8ec7cf2d670..8ce32d0300b 100644 --- a/en-US/dita/RTC/API/api_setlogfile.dita +++ b/en-US/dita/RTC/API/api_setlogfile.dita @@ -13,12 +13,12 @@

            - - + + virtual int setLogFile(const char* filePath) = 0; setLogFile(filePath: string): number public abstract int SetLogFile(string filePath); - + Future<void> setLogFile(String filePath);

            diff --git a/en-US/dita/RTC/API/api_setlogfilesize.dita b/en-US/dita/RTC/API/api_setlogfilesize.dita index a67c8c2d4b6..00954d831ee 100644 --- a/en-US/dita/RTC/API/api_setlogfilesize.dita +++ b/en-US/dita/RTC/API/api_setlogfilesize.dita @@ -13,12 +13,12 @@

            - - + + virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0; setLogFileSize(fileSizeInKBytes: number): number public abstract int SetLogFileSize(uint fileSizeInKBytes); - + Future<void> setLogFileSize(int fileSizeInKBytes);

            diff --git a/en-US/dita/RTC/API/api_setlogfilter.dita b/en-US/dita/RTC/API/api_setlogfilter.dita index 4d685715d60..6a0e94ffdd9 100644 --- a/en-US/dita/RTC/API/api_setlogfilter.dita +++ b/en-US/dita/RTC/API/api_setlogfilter.dita @@ -18,7 +18,7 @@ virtual int setLogFilter(unsigned int filter) = 0; setLogFilter(filter: LOG_FILTER_TYPE): number public abstract int SetLogFilter(uint filter); - + Future<void> setLogFilter(LogFilter filter);

            diff --git a/en-US/dita/RTC/API/api_setloglevel.dita b/en-US/dita/RTC/API/api_setloglevel.dita index e4e1bd29ff5..75f9136eb99 100644 --- a/en-US/dita/RTC/API/api_setloglevel.dita +++ b/en-US/dita/RTC/API/api_setloglevel.dita @@ -17,10 +17,10 @@ - (int)setLogLevel:(AgoraLogLevel)level; virtual int setLogLevel(commons::LOG_LEVEL level) = 0; - + public abstract int SetLogLevel(LOG_LEVEL level); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setlowlightenhanceoptions.dita b/en-US/dita/RTC/API/api_setlowlightenhanceoptions.dita index 8841b418ed9..d5aa6e1067e 100644 --- a/en-US/dita/RTC/API/api_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC/API/api_setlowlightenhanceoptions.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int SetLowlightEnhanceOptions(bool enabled, LowLightEnhanceOptions options); - + Future<void> setLowlightEnhanceOptions( bool enabled, LowLightEnhanceOptions option);

            diff --git a/en-US/dita/RTC/API/api_setmaxmetadatasize.dita b/en-US/dita/RTC/API/api_setmaxmetadatasize.dita index c6ca6788afb..8a22e190c2c 100644 --- a/en-US/dita/RTC/API/api_setmaxmetadatasize.dita +++ b/en-US/dita/RTC/API/api_setmaxmetadatasize.dita @@ -13,12 +13,12 @@

            - - - + + + setMaxMetadataSize(size: number): number public abstract int SetMaxMetadataSize(int size); - + Future<void> setMaxMetadataSize(int size);

            diff --git a/en-US/dita/RTC/API/api_setmediametadatadatasource.dita b/en-US/dita/RTC/API/api_setmediametadatadatasource.dita index 59e18af620e..0ea1fcbe14a 100644 --- a/en-US/dita/RTC/API/api_setmediametadatadatasource.dita +++ b/en-US/dita/RTC/API/api_setmediametadatadatasource.dita @@ -12,13 +12,13 @@
            - + - (BOOL)setMediaMetadataDataSource:(id<AgoraMediaMetadataDataSource> _Nullable)metadataDataSource withType:(AgoraMetadataType)type; - - - - -
            + + + + +

            You need to implement the protocol in this method and specify the data format of the metadata. After a successful method call, the SDK triggers the callback.

            This method can be used with to add synchronized metadata in the video stream for more diversified live interactions, such as sending shopping links, digital coupons, and online quizzes.

            diff --git a/en-US/dita/RTC/API/api_setmixedaudioframeparameters.dita b/en-US/dita/RTC/API/api_setmixedaudioframeparameters.dita index 083bd508969..60bb5effa67 100644 --- a/en-US/dita/RTC/API/api_setmixedaudioframeparameters.dita +++ b/en-US/dita/RTC/API/api_setmixedaudioframeparameters.dita @@ -13,13 +13,13 @@

            - - + + virtual int setMixedAudioFrameParameters(int sampleRate, int samplesPerCall) = 0; - + public abstract int SetMixedAudioFrameParameters(int sampleRate, int samplesPerCall); - -

            + +

            Sets the data format for the callback.

            diff --git a/en-US/dita/RTC/API/api_setparameters.dita b/en-US/dita/RTC/API/api_setparameters.dita index 4acb7bea14f..a8e7053234c 100644 --- a/en-US/dita/RTC/API/api_setparameters.dita +++ b/en-US/dita/RTC/API/api_setparameters.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int SetParameters(string parameters); - + Future<void> setParameters(String parameters);

            diff --git a/en-US/dita/RTC/API/api_setplaybackaudioframebeforemixingparameters.dita b/en-US/dita/RTC/API/api_setplaybackaudioframebeforemixingparameters.dita index d90a318e8f2..7ae5b88ebe3 100644 --- a/en-US/dita/RTC/API/api_setplaybackaudioframebeforemixingparameters.dita +++ b/en-US/dita/RTC/API/api_setplaybackaudioframebeforemixingparameters.dita @@ -17,10 +17,10 @@ - (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel; virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0; - + public abstract int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); - -

            + +

            Sets the audio data format reported by .

            diff --git a/en-US/dita/RTC/API/api_setplaybackaudioframeparameters.dita b/en-US/dita/RTC/API/api_setplaybackaudioframeparameters.dita index 16d5cd5d480..6a03fb7a14f 100644 --- a/en-US/dita/RTC/API/api_setplaybackaudioframeparameters.dita +++ b/en-US/dita/RTC/API/api_setplaybackaudioframeparameters.dita @@ -23,11 +23,11 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - + public abstract int SetPlaybackAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); - -

            + +

            Sets the data format for the callback.

            diff --git a/en-US/dita/RTC/API/api_setplayeroption.dita b/en-US/dita/RTC/API/api_setplayeroption.dita index 21e4077b0f8..2ba46855185 100644 --- a/en-US/dita/RTC/API/api_setplayeroption.dita +++ b/en-US/dita/RTC/API/api_setplayeroption.dita @@ -16,11 +16,11 @@ int setPlayerOption(String key, int value); - (void)setPlayerOptionInt:(NSString *)key value:(NSInteger)value; - - - - -

            + + + + +

            The media player supports setting private options by key and value. Under normal circumstances, you do not need to know the private option settings, and just use the default option settings.

            diff --git a/en-US/dita/RTC/API/api_setpluginparameter.dita b/en-US/dita/RTC/API/api_setpluginparameter.dita index 24b62be31b2..6a35767e791 100644 --- a/en-US/dita/RTC/API/api_setpluginparameter.dita +++ b/en-US/dita/RTC/API/api_setpluginparameter.dita @@ -14,13 +14,13 @@

            - - - + + + setPluginParameter(pluginId: string, parameter: string): number - - -

            + + +

            After getting the value using , you can call this method to pass a JSON string containing a key and a value to the C++ layer.

            diff --git a/en-US/dita/RTC/API/api_setrecordingaudioframeparameters.dita b/en-US/dita/RTC/API/api_setrecordingaudioframeparameters.dita index b3ba4c48b3e..3ec758fce91 100644 --- a/en-US/dita/RTC/API/api_setrecordingaudioframeparameters.dita +++ b/en-US/dita/RTC/API/api_setrecordingaudioframeparameters.dita @@ -31,8 +31,8 @@ ): number public abstract int SetRecordingAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); - -

            + +

            Sets the audio format for the callback.

            diff --git a/en-US/dita/RTC/API/api_setremotedefaultvideostreamtype.dita b/en-US/dita/RTC/API/api_setremotedefaultvideostreamtype.dita index c85ab37e6bd..11c51f3e8ba 100644 --- a/en-US/dita/RTC/API/api_setremotedefaultvideostreamtype.dita +++ b/en-US/dita/RTC/API/api_setremotedefaultvideostreamtype.dita @@ -23,7 +23,7 @@ - (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType; setRemoteVideoStreamType(userId: number, streamType: REMOTE_VIDEO_STREAM_TYPE): number - + Future<void> setRemoteVideoStreamType(int userId, VideoStreamType streamType);

            diff --git a/en-US/dita/RTC/API/api_setremoterendermode.dita b/en-US/dita/RTC/API/api_setremoterendermode.dita index 0de8e768dc6..4985245342c 100644 --- a/en-US/dita/RTC/API/api_setremoterendermode.dita +++ b/en-US/dita/RTC/API/api_setremoterendermode.dita @@ -17,10 +17,10 @@ - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode; virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode) = 0; - + public abstract int SetRemoteRenderMode(uint userId, RENDER_MODE_TYPE renderMode); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setremoterendermode2.dita b/en-US/dita/RTC/API/api_setremoterendermode2.dita index 68645c45e90..4a78319b7e2 100644 --- a/en-US/dita/RTC/API/api_setremoterendermode2.dita +++ b/en-US/dita/RTC/API/api_setremoterendermode2.dita @@ -23,9 +23,9 @@ mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_setremotesubscribefallbackoption.dita b/en-US/dita/RTC/API/api_setremotesubscribefallbackoption.dita index eb600d01e38..c876d7f85bb 100644 --- a/en-US/dita/RTC/API/api_setremotesubscribefallbackoption.dita +++ b/en-US/dita/RTC/API/api_setremotesubscribefallbackoption.dita @@ -18,7 +18,7 @@ virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; setRemoteSubscribeFallbackOption(option: STREAM_FALLBACK_OPTIONS): number public abstract int SetRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option); - + Future<void> setRemoteSubscribeFallbackOption(StreamFallbackOptions option);

            diff --git a/en-US/dita/RTC/API/api_setremoteuserpriority.dita b/en-US/dita/RTC/API/api_setremoteuserpriority.dita index 012bfaac6a7..5e02bf4337b 100644 --- a/en-US/dita/RTC/API/api_setremoteuserpriority.dita +++ b/en-US/dita/RTC/API/api_setremoteuserpriority.dita @@ -14,11 +14,11 @@

            public abstract int setRemoteUserPriority(int uid, int userPriority); - + virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0; setRemoteUserPriority(uid: number, userPriority: PRIORITY_TYPE) public abstract int SetRemoteUserPriority(uint uid, PRIORITY_TYPE userPriority); - + Future<void> setRemoteUserPriority(int uid, UserPriority userPriority);

            diff --git a/en-US/dita/RTC/API/api_setremoteuserspatialaudioparams.dita b/en-US/dita/RTC/API/api_setremoteuserspatialaudioparams.dita index ca88db17fc5..261692d4523 100644 --- a/en-US/dita/RTC/API/api_setremoteuserspatialaudioparams.dita +++ b/en-US/dita/RTC/API/api_setremoteuserspatialaudioparams.dita @@ -17,10 +17,10 @@ - (int)setRemoteUserSpatialAudioParams:(NSUInteger)uid params:(AgoraSpatialAudioParams* _Nonnull)params; virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0; - + public abstract int SetRemoteUserSpatialAudioParams(uint uid, SpatialAudioParams param); - -

            + +

            Call this method after . After successfully setting the spatial audio effect parameters of the remote user, the local user can hear the remote user with a sense of space.

            diff --git a/en-US/dita/RTC/API/api_setremotevideostreamtype.dita b/en-US/dita/RTC/API/api_setremotevideostreamtype.dita index b4f73b81bc9..b37fe008c97 100644 --- a/en-US/dita/RTC/API/api_setremotevideostreamtype.dita +++ b/en-US/dita/RTC/API/api_setremotevideostreamtype.dita @@ -24,7 +24,7 @@ - (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType; setRemoteVideoStreamType(userId: number, streamType: REMOTE_VIDEO_STREAM_TYPE): number - + Future<void> setRemoteVideoStreamType(int userId, VideoStreamType streamType);

            diff --git a/en-US/dita/RTC/API/api_setremotevoiceposition.dita b/en-US/dita/RTC/API/api_setremotevoiceposition.dita index 4c62debefa3..0f3cc9ef84f 100644 --- a/en-US/dita/RTC/API/api_setremotevoiceposition.dita +++ b/en-US/dita/RTC/API/api_setremotevoiceposition.dita @@ -18,7 +18,7 @@ virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0; setRemoteVoicePosition(uid: number, pan: number, gain: number): number public abstract int SetRemoteVoicePosition(uint uid, double pan, double gain); - + Future<void> setRemoteVoicePosition(int uid, double pan, double gain);

            diff --git a/en-US/dita/RTC/API/api_setremotevoicepositionex.dita b/en-US/dita/RTC/API/api_setremotevoicepositionex.dita index 4dd56d60894..fc0f573cc1b 100644 --- a/en-US/dita/RTC/API/api_setremotevoicepositionex.dita +++ b/en-US/dita/RTC/API/api_setremotevoicepositionex.dita @@ -20,10 +20,10 @@ gain:(double)gain connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setRemoteVoicePositionEx(uid_t uid, double pan, double gain, const RtcConnection& connection) = 0; - + public abstract int SetRemoteVoicePositionEx(uint uid, double pan, double gain, RtcConnection connection); - -

            + +

            This method sets the voice position and volume of a remote user.

            diff --git a/en-US/dita/RTC/API/api_setrendermode.dita b/en-US/dita/RTC/API/api_setrendermode.dita index 67318401912..a61eff02862 100644 --- a/en-US/dita/RTC/API/api_setrendermode.dita +++ b/en-US/dita/RTC/API/api_setrendermode.dita @@ -13,13 +13,13 @@

            - - - + + + setRenderMode(mode: RENDER_MODE): void - - -

            + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_setscreencapturecontenthint.dita b/en-US/dita/RTC/API/api_setscreencapturecontenthint.dita index 8f132ae5d46..e7f1e17255b 100644 --- a/en-US/dita/RTC/API/api_setscreencapturecontenthint.dita +++ b/en-US/dita/RTC/API/api_setscreencapturecontenthint.dita @@ -13,21 +13,21 @@

            - - + + virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0; - + public abstract int SetScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint); - -

            + +

            - - + + virtual int setScreenCaptureContentHint(VideoContentHint contentHint) = 0; setScreenCaptureContentHint(contentHint: VideoContentHint): number public abstract int SetScreenCaptureContentHint(VideoContentHint contentHint); - + Future<void> setScreenCaptureContentHint(VideoContentHint contentHint);

            diff --git a/en-US/dita/RTC/API/api_setscreencapturescenario.dita b/en-US/dita/RTC/API/api_setscreencapturescenario.dita index 016fc49d6f5..a1c4cefc9fc 100644 --- a/en-US/dita/RTC/API/api_setscreencapturescenario.dita +++ b/en-US/dita/RTC/API/api_setscreencapturescenario.dita @@ -12,9 +12,9 @@
            - - - Future<void> setScreenCaptureScenario(ScreenScenarioType screenScenario); + + + Future<void> setScreenCaptureScenario(ScreenScenarioType screenScenario);

            When you start screen sharing or window sharing, you can call this method to set the screen sharing scenario. The SDK adjusts the video quality and experience of the sharing according to the scenario.

            diff --git a/en-US/dita/RTC/API/api_setuplocalvideo.dita b/en-US/dita/RTC/API/api_setuplocalvideo.dita index 6557afd93c1..11d72e3b7f3 100644 --- a/en-US/dita/RTC/API/api_setuplocalvideo.dita +++ b/en-US/dita/RTC/API/api_setuplocalvideo.dita @@ -16,10 +16,10 @@ public abstract int setupLocalVideo(VideoCanvas local); - (int)setupLocalVideo:(AgoraRtcVideoCanvas * _Nullable)local; virtual int setupLocalVideo(const VideoCanvas& canvas) = 0; - + public abstract int SetupLocalVideo(VideoCanvas canvas); - -

            + +

            This method initializes the video view of a local stream on the local device. It affects only the video view that the local user sees, not the published local video stream. Call this method to bind the local video stream to a video view and to set the rendering and mirror modes of the video view.

            diff --git a/en-US/dita/RTC/API/api_setupremotevideo.dita b/en-US/dita/RTC/API/api_setupremotevideo.dita index 5711fd8b140..6b5d0bb2991 100644 --- a/en-US/dita/RTC/API/api_setupremotevideo.dita +++ b/en-US/dita/RTC/API/api_setupremotevideo.dita @@ -16,10 +16,10 @@ public abstract int setupRemoteVideo(VideoCanvas remote); - (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote; virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0; - + public abstract int SetupRemoteVideo(VideoCanvas canvas); - -

            + +

            This method initializes the video view of a remote stream on the local device. It affects only the video view that the local user sees. Call this method to bind the remote video stream to a video view and to set the rendering and mirror modes of the video view.

            diff --git a/en-US/dita/RTC/API/api_setupremotevideoex.dita b/en-US/dita/RTC/API/api_setupremotevideoex.dita index b0e228b1aa3..8affe22534d 100644 --- a/en-US/dita/RTC/API/api_setupremotevideoex.dita +++ b/en-US/dita/RTC/API/api_setupremotevideoex.dita @@ -17,10 +17,10 @@ - (int)setupRemoteVideoEx:(AgoraRtcVideoCanvas* _Nonnull)remote connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setupRemoteVideoEx(const VideoCanvas& canvas, const RtcConnection& connection) = 0; - + public abstract int SetupRemoteVideoEx(VideoCanvas canvas, RtcConnection connection); - -

            + +

            This method initializes the video view of a remote stream on the local device. It affects only the video view that the local user sees. Call this method to bind the remote video stream to a video view and to set the rendering and mirror modes of the video view.

            diff --git a/en-US/dita/RTC/API/api_setvideodenoiseroptions.dita b/en-US/dita/RTC/API/api_setvideodenoiseroptions.dita index 4e0e1ed0565..29f6d22eb91 100644 --- a/en-US/dita/RTC/API/api_setvideodenoiseroptions.dita +++ b/en-US/dita/RTC/API/api_setvideodenoiseroptions.dita @@ -13,12 +13,12 @@

            - - - - + + + + public abstract int SetVideoDenoiserOptions(bool enabled, VideoDenoiserOptions options); - + Future<void> setVideoDenoiserOptions( bool enabled, VideoDenoiserOptions option);

            diff --git a/en-US/dita/RTC/API/api_setvideoencoderconfiguration.dita b/en-US/dita/RTC/API/api_setvideoencoderconfiguration.dita index d0e404720a8..59e8b24c5c2 100644 --- a/en-US/dita/RTC/API/api_setvideoencoderconfiguration.dita +++ b/en-US/dita/RTC/API/api_setvideoencoderconfiguration.dita @@ -18,7 +18,7 @@ virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration& config) = 0; setVideoEncoderConfiguration(config: VideoEncoderConfiguration): number public abstract int SetVideoEncoderConfiguration(VideoEncoderConfiguration config); - + Future<void> setVideoEncoderConfiguration(VideoEncoderConfiguration config);

            diff --git a/en-US/dita/RTC/API/api_setvideoprofile.dita b/en-US/dita/RTC/API/api_setvideoprofile.dita index 435cd3bc804..6acd62c0a5f 100644 --- a/en-US/dita/RTC/API/api_setvideoprofile.dita +++ b/en-US/dita/RTC/API/api_setvideoprofile.dita @@ -19,8 +19,8 @@ virtual int setVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight) = 0; setVideoProfile(profile: VIDEO_PROFILE_TYPE, swapWidthAndHeight: boolean = false): number public abstract int SetVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight = false); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setvideoprofile2.dita b/en-US/dita/RTC/API/api_setvideoprofile2.dita index 0290dd1ef19..7c5d310dcbc 100644 --- a/en-US/dita/RTC/API/api_setvideoprofile2.dita +++ b/en-US/dita/RTC/API/api_setvideoprofile2.dita @@ -15,11 +15,11 @@

            public abstract int setVideoProfile(int width, int height, int frameRate, int bitrate); - (int)setVideoResolution:(CGSize)size andFrameRate:(NSInteger)frameRate bitrate:(NSInteger)bitrate; - - - - -

            + + + + +

            diff --git a/en-US/dita/RTC/API/api_setvideoqualityparameters.dita b/en-US/dita/RTC/API/api_setvideoqualityparameters.dita index 77afd6a2599..00a9230a85d 100644 --- a/en-US/dita/RTC/API/api_setvideoqualityparameters.dita +++ b/en-US/dita/RTC/API/api_setvideoqualityparameters.dita @@ -16,10 +16,10 @@ public abstract int setVideoQualityParameters(boolean preferFrameRateOverImageQuality); - (int)setVideoQualityParameters:(BOOL)preferFrameRateOverImageQuality; virtual int setVideoQualityParameters(bool preferFrameRateOverImageQuality) = 0; - + public abstract int SetVideoQualityParameters(bool preferFrameRateOverImageQuality); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_setvideorenderdimension.dita b/en-US/dita/RTC/API/api_setvideorenderdimension.dita index c427db8223c..3ca743a52cc 100644 --- a/en-US/dita/RTC/API/api_setvideorenderdimension.dita +++ b/en-US/dita/RTC/API/api_setvideorenderdimension.dita @@ -13,18 +13,18 @@

            - - - + + + setVideoRenderDimension( user: User, width: number, height: number, channelId: string = "" ) - - -

            + + +

            The Agora SDK automatically controls the video rendering in the JavaScript layer. If the display resolution is too low, you can call this method to adjust the resolution.

            diff --git a/en-US/dita/RTC/API/api_setvideorenderfps.dita b/en-US/dita/RTC/API/api_setvideorenderfps.dita index c1904ba3e64..ec1601ffbee 100644 --- a/en-US/dita/RTC/API/api_setvideorenderfps.dita +++ b/en-US/dita/RTC/API/api_setvideorenderfps.dita @@ -13,13 +13,13 @@

            - - - + + + setVideoRenderFPS(fps: number) - - -

            + + +

            The Agora SDK automatically controls the video rendering in the JavaScript layer. If the display frame rate is too low, you can call this method to adjust the frame rate.

            diff --git a/en-US/dita/RTC/API/api_setvideosource.dita b/en-US/dita/RTC/API/api_setvideosource.dita index 783965022a5..79bf00c92d9 100644 --- a/en-US/dita/RTC/API/api_setvideosource.dita +++ b/en-US/dita/RTC/API/api_setvideosource.dita @@ -13,13 +13,13 @@

            - - + + virtual bool setVideoSource(IVideoSource *source) = 0; - - - -

            + + + +

            During real-time communication, the Agora SDK enables the default video input device, that is, the built-in camera to capture video. If you need a custom video source, implement the class first, and call this method to add the custom video source to the SDK.

            diff --git a/en-US/dita/RTC/API/api_setview.dita b/en-US/dita/RTC/API/api_setview.dita index dbbe6d18472..ace8663ca4d 100644 --- a/en-US/dita/RTC/API/api_setview.dita +++ b/en-US/dita/RTC/API/api_setview.dita @@ -13,13 +13,13 @@

            - - - + + + setView(rendererConfig: RendererConfig): void - - -

            + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_setvoicebeautifierparameters.dita b/en-US/dita/RTC/API/api_setvoicebeautifierparameters.dita index ee96550f9fa..447c27bac6f 100644 --- a/en-US/dita/RTC/API/api_setvoicebeautifierparameters.dita +++ b/en-US/dita/RTC/API/api_setvoicebeautifierparameters.dita @@ -18,7 +18,7 @@ virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2) = 0; setVoiceBeautifierParameters(preset: VOICE_BEAUTIFIER_PRESET, param1: number, param2: number): number public abstract int SetVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2); - + Future<void> setAudioEffectParameters( AudioEffectPreset preset, int param1, int param2);

            diff --git a/en-US/dita/RTC/API/api_setvoicebeautifierpreset.dita b/en-US/dita/RTC/API/api_setvoicebeautifierpreset.dita index 038a664b363..051cef01ffa 100644 --- a/en-US/dita/RTC/API/api_setvoicebeautifierpreset.dita +++ b/en-US/dita/RTC/API/api_setvoicebeautifierpreset.dita @@ -18,7 +18,7 @@ virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0; setVoiceBeautifierPreset(preset: VOICE_BEAUTIFIER_PRESET): number public abstract int SetVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset); - + Future<void> setVoiceBeautifierPreset(VoiceBeautifierPreset preset);

            diff --git a/en-US/dita/RTC/API/api_setvoiceconversionpreset.dita b/en-US/dita/RTC/API/api_setvoiceconversionpreset.dita index 75e8387ee9e..18a36bd3520 100644 --- a/en-US/dita/RTC/API/api_setvoiceconversionpreset.dita +++ b/en-US/dita/RTC/API/api_setvoiceconversionpreset.dita @@ -18,7 +18,7 @@ virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0; setVoiceConversionPreset(preset: VOICE_CONVERSION_PRESET): number public abstract int SetVoiceConversionPreset(VOICE_CONVERSION_PRESET preset); - + Future<void> setVoiceConversionPreset(VoiceConversionPreset preset);

            diff --git a/en-US/dita/RTC/API/api_setvolumeofeffect.dita b/en-US/dita/RTC/API/api_setvolumeofeffect.dita index c5adb51eb63..0085a465c99 100644 --- a/en-US/dita/RTC/API/api_setvolumeofeffect.dita +++ b/en-US/dita/RTC/API/api_setvolumeofeffect.dita @@ -21,7 +21,7 @@ virtual int setVolumeOfEffect(int soundId, int volume) = 0; setVolumeOfEffect(soundId: number, volume: number): number public abstract int SetVolumeOfEffect(int soundId, int volume); - + Future<void> setVolumeOfEffect(int soundId, int volume);

            diff --git a/en-US/dita/RTC/API/api_startaudioframedump.dita b/en-US/dita/RTC/API/api_startaudioframedump.dita index 2e369e63d73..119ad302329 100644 --- a/en-US/dita/RTC/API/api_startaudioframedump.dita +++ b/en-US/dita/RTC/API/api_startaudioframedump.dita @@ -13,15 +13,15 @@

            - - + + virtual int startAudioFrameDump(const char* channel_id, uid_t user_id, const char* location, const char* uuid, const char* passwd, long duration_ms, bool auto_upload) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_startaudiomixing.dita b/en-US/dita/RTC/API/api_startaudiomixing.dita index fb33b8d93db..4edf096ada3 100644 --- a/en-US/dita/RTC/API/api_startaudiomixing.dita +++ b/en-US/dita/RTC/API/api_startaudiomixing.dita @@ -29,8 +29,8 @@ cycle: number ): number public abstract int StartAudioMixing(string filePath, bool loopback, bool replace, int cycle); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_startaudiomixing2.dita b/en-US/dita/RTC/API/api_startaudiomixing2.dita index bb777f06987..4eed97ed030 100644 --- a/en-US/dita/RTC/API/api_startaudiomixing2.dita +++ b/en-US/dita/RTC/API/api_startaudiomixing2.dita @@ -24,7 +24,7 @@ startPos?: number, ): number public abstract int StartAudioMixing(string filePath, bool loopback, bool replace, int cycle, int startPos); - + Future<void> startAudioMixing( String filePath, bool loopback, bool replace, int cycle, [int? startPos]);

            diff --git a/en-US/dita/RTC/API/api_startaudiorecording.dita b/en-US/dita/RTC/API/api_startaudiorecording.dita index 224eac44841..f9b9fa71b47 100644 --- a/en-US/dita/RTC/API/api_startaudiorecording.dita +++ b/en-US/dita/RTC/API/api_startaudiorecording.dita @@ -17,10 +17,10 @@ - (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality; virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; - + public abstract int StartAudioRecording(string filePath, AUDIO_RECORDING_QUALITY_TYPE quality); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_startaudiorecording2.dita b/en-US/dita/RTC/API/api_startaudiorecording2.dita index 8e1def6519f..037da6cc8b6 100644 --- a/en-US/dita/RTC/API/api_startaudiorecording2.dita +++ b/en-US/dita/RTC/API/api_startaudiorecording2.dita @@ -13,8 +13,8 @@

            - - + + virtual int startAudioRecording(const char* filePath, int sampleRate, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; @@ -23,7 +23,7 @@ quality: AUDIO_RECORDING_QUALITY_TYPE ): number public abstract int StartAudioRecording(string filePath, int sampleRate, AUDIO_RECORDING_QUALITY_TYPE quality); - + Future<void> startAudioRecording(String filePath, AudioSampleRateType sampleRate, AudioRecordingQuality quality);

            diff --git a/en-US/dita/RTC/API/api_startaudiorecording3.dita b/en-US/dita/RTC/API/api_startaudiorecording3.dita index 3f7442e2a20..0f741af8fd9 100644 --- a/en-US/dita/RTC/API/api_startaudiorecording3.dita +++ b/en-US/dita/RTC/API/api_startaudiorecording3.dita @@ -18,7 +18,7 @@ virtual int startAudioRecording(const AudioRecordingConfiguration& config) = 0; startAudioRecordingWithConfig(config: AudioRecordingConfiguration): number public abstract int StartAudioRecording(AudioRecordingConfiguration config); - + Future<void> startAudioRecordingWithConfig( AudioRecordingConfiguration config);

            diff --git a/en-US/dita/RTC/API/api_startchannelmediarelay.dita b/en-US/dita/RTC/API/api_startchannelmediarelay.dita index 4daa95cdd93..10d96b0dd88 100644 --- a/en-US/dita/RTC/API/api_startchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_startchannelmediarelay.dita @@ -19,7 +19,7 @@ virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; startChannelMediaRelay(config: ChannelMediaRelayConfiguration): number public abstract int StartChannelMediaRelay(ChannelMediaRelayConfiguration configuration); - + Future<void> startChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);

            diff --git a/en-US/dita/RTC/API/api_startdirectcdnstreaming.dita b/en-US/dita/RTC/API/api_startdirectcdnstreaming.dita index c72559969ce..498c6053abb 100644 --- a/en-US/dita/RTC/API/api_startdirectcdnstreaming.dita +++ b/en-US/dita/RTC/API/api_startdirectcdnstreaming.dita @@ -14,13 +14,13 @@
            public abstract int startDirectCdnStreaming(IDirectCdnStreamingEventHandler eventHandler, String publishUrl, DirectCdnStreamingMediaOptions options); - - (int)startDirectCdnStreaming:(id<AgoraDirectCdnStreamingEventDelegate> _Nonnull)delegate publishUrl:(NSString * _Nonnull)publishUrl mediaOptions:(AgoraDirectCdnStreamingMediaOptions * _Nonnull)options; + - (int)startDirectCdnStreaming:(id<AgoraDirectCdnStreamingEventDelegate> _Nonnull)delegate publishUrl:(NSString * _Nonnull)publishUrl mediaOptions:(AgoraDirectCdnStreamingMediaOptions * _Nonnull)options; virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler* eventHandler, const char* publishUrl, const DirectCdnStreamingMediaOptions& options) = 0; - - - -
            + + + +

            Aogra does not support pushing streams to one URL repeatedly.

            Media options

            diff --git a/en-US/dita/RTC/API/api_startechotest.dita b/en-US/dita/RTC/API/api_startechotest.dita index ce18f252fe5..e4c3d2820c8 100644 --- a/en-US/dita/RTC/API/api_startechotest.dita +++ b/en-US/dita/RTC/API/api_startechotest.dita @@ -19,8 +19,8 @@ virtual int startEchoTest() = 0; startEchoTest(): number public abstract int StartEchoTest(); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_startechotest2.dita b/en-US/dita/RTC/API/api_startechotest2.dita index faa68e6cac1..b85bee5e9e5 100644 --- a/en-US/dita/RTC/API/api_startechotest2.dita +++ b/en-US/dita/RTC/API/api_startechotest2.dita @@ -20,8 +20,8 @@ virtual int startEchoTest(int intervalInSeconds) = 0; startEchoTestWithInterval(intervalInSeconds: number): number public abstract int StartEchoTest(int intervalInSeconds); - - Future<void> startEchoTest( + + Future<void> startEchoTest( {int? intervalInSeconds, EchoTestConfiguration? config});

            diff --git a/en-US/dita/RTC/API/api_startechotest3.dita b/en-US/dita/RTC/API/api_startechotest3.dita index 8eb452a3d15..29de48d9004 100644 --- a/en-US/dita/RTC/API/api_startechotest3.dita +++ b/en-US/dita/RTC/API/api_startechotest3.dita @@ -13,13 +13,13 @@

            - - + + virtual int startEchoTest(const EchoTestConfiguration& config) = 0; - + public abstract int StartEchoTest(EchoTestConfiguration config); - -

            + +

            Before joining a channel, to test whether the user's local sending and receiving streams are normal, you can call this method to perform an audio and video call loop test, which tests whether the audio and video devices and the user's upstream and downstream networks are working properly.

            diff --git a/en-US/dita/RTC/API/api_startlastmileprobetest.dita b/en-US/dita/RTC/API/api_startlastmileprobetest.dita index 04e7a059a74..a652dbfd1cd 100644 --- a/en-US/dita/RTC/API/api_startlastmileprobetest.dita +++ b/en-US/dita/RTC/API/api_startlastmileprobetest.dita @@ -18,7 +18,7 @@ virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0; startLastmileProbeTest(config: LastmileProbeConfig): number public abstract int StartLastmileProbeTest(LastmileProbeConfig config); - + Future<void> startLastmileProbeTest(LastmileProbeConfig config);

            diff --git a/en-US/dita/RTC/API/api_startpreview.dita b/en-US/dita/RTC/API/api_startpreview.dita index 4b2fe5c1965..07b7c4ecbf7 100644 --- a/en-US/dita/RTC/API/api_startpreview.dita +++ b/en-US/dita/RTC/API/api_startpreview.dita @@ -18,7 +18,7 @@ virtual int startPreview() = 0; startPreview(): number public abstract int StartPreview(); - + Future<void> startPreview();

            diff --git a/en-US/dita/RTC/API/api_startrecording.dita b/en-US/dita/RTC/API/api_startrecording.dita index fb750f09734..b91930322df 100644 --- a/en-US/dita/RTC/API/api_startrecording.dita +++ b/en-US/dita/RTC/API/api_startrecording.dita @@ -13,12 +13,12 @@

            - - + + virtual int startRecording(const MediaRecorderConfiguration& config) = 0; - + public abstract int StartRecording(MediaRecorderConfiguration config); - + Future<void> startRecording(MediaRecorderConfiguration config);

            diff --git a/en-US/dita/RTC/API/api_startrhythmplayer.dita b/en-US/dita/RTC/API/api_startrhythmplayer.dita index 4ab5df7e2b5..772ddec0040 100644 --- a/en-US/dita/RTC/API/api_startrhythmplayer.dita +++ b/en-US/dita/RTC/API/api_startrhythmplayer.dita @@ -21,10 +21,10 @@

            public int startRhythmPlayer(String sound1, String sound2, AgoraRhythmPlayerConfig config); - (int)startRhythmPlayer:(NSString* _Nonnull)sound1 sound2:(NSString* _Nonnull)sound2 config:(AgoraRtcRhythmPlayerConfig* _Nonnull)config; - - + + public abstract int StartRhythmPlayer(string sound1, string sound2, AgoraRhythmPlayerConfig config); - + Future<void> startRhythmPlayer( String sound1, String sound2, RhythmPlayerConfig config);

            diff --git a/en-US/dita/RTC/API/api_startrtmpstreamwithouttranscoding.dita b/en-US/dita/RTC/API/api_startrtmpstreamwithouttranscoding.dita index b274d3b41e4..0b67411c8b6 100644 --- a/en-US/dita/RTC/API/api_startrtmpstreamwithouttranscoding.dita +++ b/en-US/dita/RTC/API/api_startrtmpstreamwithouttranscoding.dita @@ -16,9 +16,9 @@ public abstract int startRtmpStreamWithoutTranscoding(String url); - (int)startRtmpStreamWithoutTranscoding:(NSString* _Nonnull)url; virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0; - + public abstract int StartRtmpStreamWithoutTranscoding(string url); - + Future<void> startRtmpStreamWithoutTranscoding(String url);

            diff --git a/en-US/dita/RTC/API/api_startrtmpstreamwithtranscoding.dita b/en-US/dita/RTC/API/api_startrtmpstreamwithtranscoding.dita index 6591b436cdd..92ca7116aee 100644 --- a/en-US/dita/RTC/API/api_startrtmpstreamwithtranscoding.dita +++ b/en-US/dita/RTC/API/api_startrtmpstreamwithtranscoding.dita @@ -17,7 +17,7 @@ - (int)startRtmpStreamWithTranscoding:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0; public abstract int StartRtmpStreamWithTranscoding(string url, LiveTranscoding transcoding); - + Future<void> startRtmpStreamWithTranscoding(LiveTranscoding transcoding);

            diff --git a/en-US/dita/RTC/API/api_startscreencapture.dita b/en-US/dita/RTC/API/api_startscreencapture.dita index 1bd8dd7f635..a01589193ec 100644 --- a/en-US/dita/RTC/API/api_startscreencapture.dita +++ b/en-US/dita/RTC/API/api_startscreencapture.dita @@ -13,15 +13,15 @@

            - - + + virtual int startScreenCapture(WindowIDType windowId, int captureFreq, const Rect* rect, int bitrate) = 0; - - - + + + Future<void> startScreenCapture(int windowId, [int captureFreq = 0, Rect? rect, int bitrate = 0]);

            diff --git a/en-US/dita/RTC/API/api_startscreencapturebydisplayid.dita b/en-US/dita/RTC/API/api_startscreencapturebydisplayid.dita index 77f396bdcd1..664f1e61214 100644 --- a/en-US/dita/RTC/API/api_startscreencapturebydisplayid.dita +++ b/en-US/dita/RTC/API/api_startscreencapturebydisplayid.dita @@ -22,12 +22,12 @@ public abstract int StartScreenCaptureByDisplayId(uint displayId, Rectangle regionRect, ScreenCaptureParameters captureParams);

            - + virtual int startScreenCaptureByDisplayId(unsigned int displayId, const Rectangle& regionRect, const ScreenCaptureParameters& captureParams) = 0; - - + + Future<void> startScreenCaptureByDisplayId(int displayId, [Rectangle? regionRect, ScreenCaptureParameters? captureParams]);

            diff --git a/en-US/dita/RTC/API/api_startscreencapturebyscreenrect.dita b/en-US/dita/RTC/API/api_startscreencapturebyscreenrect.dita index 22015258b35..17740a256ee 100644 --- a/en-US/dita/RTC/API/api_startscreencapturebyscreenrect.dita +++ b/en-US/dita/RTC/API/api_startscreencapturebyscreenrect.dita @@ -13,8 +13,8 @@

            - - + + virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect, const Rectangle& regionRect, const ScreenCaptureParameters& captureParams) = 0; @@ -24,7 +24,7 @@ ): number public abstract int StartScreenCaptureByScreenRect(Rectangle screenRect, Rectangle regionRect, ScreenCaptureParameters captureParams); - + Future<void> startScreenCaptureByScreenRect(Rectangle screenRect, [Rectangle? regionRect, ScreenCaptureParameters? captureParams]);

            diff --git a/en-US/dita/RTC/API/api_startscreencapturebywindowid.dita b/en-US/dita/RTC/API/api_startscreencapturebywindowid.dita index 32314988af5..ae1bd343818 100644 --- a/en-US/dita/RTC/API/api_startscreencapturebywindowid.dita +++ b/en-US/dita/RTC/API/api_startscreencapturebywindowid.dita @@ -22,7 +22,7 @@ public abstract int StartScreenCaptureByWindowId(view_t windowId, Rectangle regionRect, ScreenCaptureParameters captureParams);

            - + virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle& regionRect, const ScreenCaptureParameters& captureParams) = 0; @@ -30,7 +30,7 @@ regionRect: Rectangle, captureParams: ScreenCaptureParameters ): number - + Future<void> startScreenCaptureByWindowId(int windowId, [Rectangle? regionRect, ScreenCaptureParameters? captureParams]);

            diff --git a/en-US/dita/RTC/API/api_startscreencapturemobile.dita b/en-US/dita/RTC/API/api_startscreencapturemobile.dita index 9dddae5e898..f153c0ad22d 100644 --- a/en-US/dita/RTC/API/api_startscreencapturemobile.dita +++ b/en-US/dita/RTC/API/api_startscreencapturemobile.dita @@ -13,12 +13,12 @@

            - - - - - - + + + + + + Future<void> startScreenCaptureMobile(ScreenCaptureParameters2 parameters);

            diff --git a/en-US/dita/RTC/API/api_statechanged.dita b/en-US/dita/RTC/API/api_statechanged.dita index 3fb66fa2c3f..231a48f6e60 100644 --- a/en-US/dita/RTC/API/api_statechanged.dita +++ b/en-US/dita/RTC/API/api_statechanged.dita @@ -13,15 +13,15 @@

            - + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine device:(NSString* _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state; - - - - -

            + + + + +

            diff --git a/en-US/dita/RTC/API/api_stopalleffects.dita b/en-US/dita/RTC/API/api_stopalleffects.dita index b09d191fd5a..2ffa7535449 100644 --- a/en-US/dita/RTC/API/api_stopalleffects.dita +++ b/en-US/dita/RTC/API/api_stopalleffects.dita @@ -20,7 +20,7 @@ virtual int stopAllEffects() = 0; stopAllEffects(): number public abstract int StopAllEffects(); - + Future<void> stopAllEffects();

            diff --git a/en-US/dita/RTC/API/api_stopaudioframedump.dita b/en-US/dita/RTC/API/api_stopaudioframedump.dita index 5d992a1195b..0dba1aeca90 100644 --- a/en-US/dita/RTC/API/api_stopaudioframedump.dita +++ b/en-US/dita/RTC/API/api_stopaudioframedump.dita @@ -13,14 +13,14 @@

            - - + + virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/api_stopaudiomixing.dita b/en-US/dita/RTC/API/api_stopaudiomixing.dita index 632b95ed748..44b31a938c6 100644 --- a/en-US/dita/RTC/API/api_stopaudiomixing.dita +++ b/en-US/dita/RTC/API/api_stopaudiomixing.dita @@ -18,7 +18,7 @@ virtual int stopAudioMixing() = 0; stopAudioMixing(): number public abstract int StopAudioMixing(); - + Future<void> stopAudioMixing();

            diff --git a/en-US/dita/RTC/API/api_stopaudiorecording.dita b/en-US/dita/RTC/API/api_stopaudiorecording.dita index b812b95244f..23b235e0da4 100644 --- a/en-US/dita/RTC/API/api_stopaudiorecording.dita +++ b/en-US/dita/RTC/API/api_stopaudiorecording.dita @@ -18,7 +18,7 @@ virtual int stopAudioRecording() = 0; stopAudioRecording(): number public abstract int StopAudioRecording(); - + Future<void> stopAudioRecording();

            diff --git a/en-US/dita/RTC/API/api_stopchannelmediarelay.dita b/en-US/dita/RTC/API/api_stopchannelmediarelay.dita index 00a523c449e..644fe27dff3 100644 --- a/en-US/dita/RTC/API/api_stopchannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_stopchannelmediarelay.dita @@ -18,7 +18,7 @@ virtual int stopChannelMediaRelay() = 0; stopChannelMediaRelay(): number public abstract int StopChannelMediaRelay(); - + Future<void> stopChannelMediaRelay();

            diff --git a/en-US/dita/RTC/API/api_stopdirectcdnstreaming.dita b/en-US/dita/RTC/API/api_stopdirectcdnstreaming.dita index ab88012bfec..7ae4764f118 100644 --- a/en-US/dita/RTC/API/api_stopdirectcdnstreaming.dita +++ b/en-US/dita/RTC/API/api_stopdirectcdnstreaming.dita @@ -15,10 +15,10 @@ public abstract int stopDirectCdnStreaming(); - (int)stopDirectCdnStreaming; virtual int stopDirectCdnStreaming() = 0; - - - -
            + + + +
            Returns
              diff --git a/en-US/dita/RTC/API/api_stopechotest.dita b/en-US/dita/RTC/API/api_stopechotest.dita index deb1ae83b9b..1e5edf1c79a 100644 --- a/en-US/dita/RTC/API/api_stopechotest.dita +++ b/en-US/dita/RTC/API/api_stopechotest.dita @@ -18,7 +18,7 @@ virtual int stopEchoTest() = 0; stopEchoTest(): number public abstract int StopEchoTest(); - + Future<void> stopEchoTest();

            diff --git a/en-US/dita/RTC/API/api_stopeffect.dita b/en-US/dita/RTC/API/api_stopeffect.dita index 5891d7e397f..7f33a69c460 100644 --- a/en-US/dita/RTC/API/api_stopeffect.dita +++ b/en-US/dita/RTC/API/api_stopeffect.dita @@ -20,7 +20,7 @@ virtual int stopEffect(int soundId) = 0; stopEffect(soundId: number): number public abstract int StopEffect(int soundId); - + Future<void> stopEffect(int soundId);

            diff --git a/en-US/dita/RTC/API/api_stoplastmileprobetest.dita b/en-US/dita/RTC/API/api_stoplastmileprobetest.dita index b28c43e17b7..28d5e55b347 100644 --- a/en-US/dita/RTC/API/api_stoplastmileprobetest.dita +++ b/en-US/dita/RTC/API/api_stoplastmileprobetest.dita @@ -18,7 +18,7 @@ virtual int stopLastmileProbeTest() = 0; stopLastmileProbeTest(): number public abstract int StopLastmileProbeTest(); - + Future<void> stopLastmileProbeTest();

            diff --git a/en-US/dita/RTC/API/api_stoppreview.dita b/en-US/dita/RTC/API/api_stoppreview.dita index dbc17e839b0..d5aa814fe83 100644 --- a/en-US/dita/RTC/API/api_stoppreview.dita +++ b/en-US/dita/RTC/API/api_stoppreview.dita @@ -18,7 +18,7 @@ virtual int stopPreview() = 0; stopPreview(): number public abstract int StopPreview(); - + Future<void> stopPreview();

            diff --git a/en-US/dita/RTC/API/api_stoprecording.dita b/en-US/dita/RTC/API/api_stoprecording.dita index 2a6872b7d00..048c3aec436 100644 --- a/en-US/dita/RTC/API/api_stoprecording.dita +++ b/en-US/dita/RTC/API/api_stoprecording.dita @@ -13,12 +13,12 @@

            - - + + virtual int stopRecording() = 0; - + public abstract int StopRecording(); - + Future<void> stopRecording();

            diff --git a/en-US/dita/RTC/API/api_stoprhythmplayer.dita b/en-US/dita/RTC/API/api_stoprhythmplayer.dita index 927cc705124..c67a3c51aea 100644 --- a/en-US/dita/RTC/API/api_stoprhythmplayer.dita +++ b/en-US/dita/RTC/API/api_stoprhythmplayer.dita @@ -20,8 +20,8 @@

            - (int)stopRhythmPlayer; virtual int stopRhythmPlayer() = 0; - - + + Future<void> stopRhythmPlayer();

            diff --git a/en-US/dita/RTC/API/api_stoprtmpstream.dita b/en-US/dita/RTC/API/api_stoprtmpstream.dita index f154750786a..b52c29bad0d 100644 --- a/en-US/dita/RTC/API/api_stoprtmpstream.dita +++ b/en-US/dita/RTC/API/api_stoprtmpstream.dita @@ -16,9 +16,9 @@ public abstract int stopRtmpStream(String url); - (int)stopRtmpStream:(NSString* _Nonnull)url; virtual int stopRtmpStream(const char* url) = 0; - + public abstract int StopRtmpStream(string url); - + Future<void> stopRtmpStream(String url);

            diff --git a/en-US/dita/RTC/API/api_stopscreencapture.dita b/en-US/dita/RTC/API/api_stopscreencapture.dita index a0d0ed3f97b..e3ee4381295 100644 --- a/en-US/dita/RTC/API/api_stopscreencapture.dita +++ b/en-US/dita/RTC/API/api_stopscreencapture.dita @@ -18,7 +18,7 @@ virtual int stopScreenCapture() = 0; stopScreenCapture(): number public abstract int StopScreenCapture(); - + Future<void> stopScreenCapture();

            diff --git a/en-US/dita/RTC/API/api_switchcamera.dita b/en-US/dita/RTC/API/api_switchcamera.dita index 4013e971926..63d310c99f8 100644 --- a/en-US/dita/RTC/API/api_switchcamera.dita +++ b/en-US/dita/RTC/API/api_switchcamera.dita @@ -16,9 +16,9 @@ public abstract int switchCamera(); - (int)switchCamera; virtual int switchCamera() = 0; - + public abstract int SwitchCamera(); - + Future<void> switchCamera();

            diff --git a/en-US/dita/RTC/API/api_switchchannel.dita b/en-US/dita/RTC/API/api_switchchannel.dita index e33b7bf2d47..6772db85323 100644 --- a/en-US/dita/RTC/API/api_switchchannel.dita +++ b/en-US/dita/RTC/API/api_switchchannel.dita @@ -17,13 +17,13 @@ -(int)switchChannel:(NSString* _Nonnull)token channelName:(NSString* _Nonnull)channelName; virtual int switchChannel(const char* token, const char* channel) = 0;

            - - + + virtual int switchChannel(const char* token, const char* channelId) = 0; - + public abstract int SwitchChannel(string token, string channelId); - -

            + +

            This method allows the audience of an interactive live streaming channel to switch to a different channel.

            diff --git a/en-US/dita/RTC/API/api_switchchannel2.dita b/en-US/dita/RTC/API/api_switchchannel2.dita index 1bd808b0a24..31107ee6b07 100644 --- a/en-US/dita/RTC/API/api_switchchannel2.dita +++ b/en-US/dita/RTC/API/api_switchchannel2.dita @@ -13,8 +13,8 @@

            - - + + virtual int switchChannel(const char* token, const char* channelId, const ChannelMediaOptions& options) = 0; @@ -22,7 +22,7 @@ channelId: string, options?: ChannelMediaOptions): number public abstract int SwitchChannel(string token, string channelId, ChannelMediaOptions options); - + Future<void> switchChannel(String? token, String channelName, [ChannelMediaOptions? options]);

            diff --git a/en-US/dita/RTC/API/api_takescreenshot.dita b/en-US/dita/RTC/API/api_takescreenshot.dita index b0d287fd2c6..065b23e7262 100644 --- a/en-US/dita/RTC/API/api_takescreenshot.dita +++ b/en-US/dita/RTC/API/api_takescreenshot.dita @@ -13,13 +13,13 @@

            - - + + virtual int takeScreenshot(const char* filename) = 0; - - - -

            + + + +

            Parameters diff --git a/en-US/dita/RTC/API/api_takesnapshot.dita b/en-US/dita/RTC/API/api_takesnapshot.dita index 4d5629fc75b..8991e0d6c71 100644 --- a/en-US/dita/RTC/API/api_takesnapshot.dita +++ b/en-US/dita/RTC/API/api_takesnapshot.dita @@ -23,8 +23,8 @@ public abstract int takeSnapshot(String channel, int uid, String filePath); virtual int takeSnapshot(const char* channel, uid_t uid, const char* filePath) = 0; - - + + Future<void> takeSnapshot(String channel, int uid, String filePath);

            diff --git a/en-US/dita/RTC/API/api_unloadeffect.dita b/en-US/dita/RTC/API/api_unloadeffect.dita index 44b4eee3174..bda5805b83a 100644 --- a/en-US/dita/RTC/API/api_unloadeffect.dita +++ b/en-US/dita/RTC/API/api_unloadeffect.dita @@ -20,7 +20,7 @@ virtual int unloadEffect(int soundId) = 0; unloadEffect(soundId: number): number public abstract int UnloadEffect(int soundId); - + Future<void> unloadEffect(int soundId);

            diff --git a/en-US/dita/RTC/API/api_unregisteraudioframeobserver.dita b/en-US/dita/RTC/API/api_unregisteraudioframeobserver.dita index 13db5cb19ac..95b97169505 100644 --- a/en-US/dita/RTC/API/api_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC/API/api_unregisteraudioframeobserver.dita @@ -15,13 +15,13 @@

            public abstract void UnRegisterAudioFrameObserver();

            - - - + + + public abstract void UnRegisterAudioFrameObserver(); - - -

            + + +

            Returns diff --git a/en-US/dita/RTC/API/api_unregistermediametadataobserver.dita b/en-US/dita/RTC/API/api_unregistermediametadataobserver.dita index 13ac16e21ee..2ae7cd0e1a7 100644 --- a/en-US/dita/RTC/API/api_unregistermediametadataobserver.dita +++ b/en-US/dita/RTC/API/api_unregistermediametadataobserver.dita @@ -14,11 +14,11 @@

            public abstract int unregisterMediaMetadataObserver(IMetadataObserver observer, int type); - + virtual int unregisterMediaMetadataObserver(IMetadataObserver* observer, IMetadataObserver::METADATA_TYPE type) = 0; unregisterMediaMetadataObserver(type: METADATA_TYPE = 0): number public abstract int UnRegisterMediaMetadataObserver(METADATA_TYPE type); - + Future<void> unregisterMediaMetadataObserver();

            diff --git a/en-US/dita/RTC/API/api_unregisterplugin.dita b/en-US/dita/RTC/API/api_unregisterplugin.dita index eecb4bcf0b6..099cd558f2d 100644 --- a/en-US/dita/RTC/API/api_unregisterplugin.dita +++ b/en-US/dita/RTC/API/api_unregisterplugin.dita @@ -13,13 +13,13 @@

            - - - + + + unregisterPlugin(pluginId: string): number - - -

            + + +

            After calling to register the plugin, you can call this method to unregister the plugin.

            diff --git a/en-US/dita/RTC/API/api_unregistervideoframeobserver.dita b/en-US/dita/RTC/API/api_unregistervideoframeobserver.dita index 19aa1a08c36..c47a4a8ce24 100644 --- a/en-US/dita/RTC/API/api_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC/API/api_unregistervideoframeobserver.dita @@ -13,13 +13,13 @@

            - - - - + + + + public abstract void UnRegisterVideoFrameObserver(); - -

            + +

            Returns diff --git a/en-US/dita/RTC/API/api_updatechannelmediaoptions.dita b/en-US/dita/RTC/API/api_updatechannelmediaoptions.dita index 392cff68bff..233d824fcd5 100644 --- a/en-US/dita/RTC/API/api_updatechannelmediaoptions.dita +++ b/en-US/dita/RTC/API/api_updatechannelmediaoptions.dita @@ -15,11 +15,11 @@

            public abstract int updateChannelMediaOptions(ChannelMediaOptions options); - (int)updateChannelWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions; - - + + public abstract int UpdateChannelMediaOptions(ChannelMediaOptions options); - -

            + +

            Parameters diff --git a/en-US/dita/RTC/API/api_updatechannelmediarelay.dita b/en-US/dita/RTC/API/api_updatechannelmediarelay.dita index 98051031f43..4e6e089ea33 100644 --- a/en-US/dita/RTC/API/api_updatechannelmediarelay.dita +++ b/en-US/dita/RTC/API/api_updatechannelmediarelay.dita @@ -19,7 +19,7 @@ virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; updateChannelMediaRelay(config: ChannelMediaRelayConfiguration): number public abstract int UpdateChannelMediaRelay(ChannelMediaRelayConfiguration configuration); - + Future<void> updateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);

            diff --git a/en-US/dita/RTC/API/api_updatertmptranscoding.dita b/en-US/dita/RTC/API/api_updatertmptranscoding.dita index 77261f6e525..23bd95c8f09 100644 --- a/en-US/dita/RTC/API/api_updatertmptranscoding.dita +++ b/en-US/dita/RTC/API/api_updatertmptranscoding.dita @@ -16,9 +16,9 @@ public abstract int updateRtmpTranscoding(LiveTranscoding transcoding); - (int)updateRtmpTranscoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0; - + public abstract int UpdateRtmpTranscoding(LiveTranscoding transcoding); - + Future<void> updateRtmpTranscoding(LiveTranscoding transcoding);

            diff --git a/en-US/dita/RTC/API/api_updatescreencaptureparameters.dita b/en-US/dita/RTC/API/api_updatescreencaptureparameters.dita index 2e7d0f0dba5..69e4835a8af 100644 --- a/en-US/dita/RTC/API/api_updatescreencaptureparameters.dita +++ b/en-US/dita/RTC/API/api_updatescreencaptureparameters.dita @@ -13,12 +13,12 @@

            - + - (int)updateScreenCaptureParameters:(AgoraScreenCaptureParameters * _Nonnull)captureParams; virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0; updateScreenCaptureParameters(captureParams: ScreenCaptureParameters): number public abstract int UpdateScreenCaptureParameters(ScreenCaptureParameters captureParams); - + Future<void> updateScreenCaptureParameters( ScreenCaptureParameters captureParams);

            diff --git a/en-US/dita/RTC/API/api_updatescreencaptureparametersmobile.dita b/en-US/dita/RTC/API/api_updatescreencaptureparametersmobile.dita index 24fda185357..f74a2cb5140 100644 --- a/en-US/dita/RTC/API/api_updatescreencaptureparametersmobile.dita +++ b/en-US/dita/RTC/API/api_updatescreencaptureparametersmobile.dita @@ -13,13 +13,13 @@

            - - - - - - - Future<void> updateScreenCaptureParametersMobile( + + + + + + + Future<void> updateScreenCaptureParametersMobile( ScreenCaptureParameters2 parameters);

            diff --git a/en-US/dita/RTC/API/api_updatescreencaptureregion.dita b/en-US/dita/RTC/API/api_updatescreencaptureregion.dita index 875d157199c..763cc63a5fe 100644 --- a/en-US/dita/RTC/API/api_updatescreencaptureregion.dita +++ b/en-US/dita/RTC/API/api_updatescreencaptureregion.dita @@ -13,12 +13,12 @@

            - - + + virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0; updateScreenCaptureRegion(regionRect: Rectangle): number public abstract int UpdateScreenCaptureRegion(Rectangle regionRect); - + Future<void> updateScreenCaptureRegion(Rectangle regionRect);

            diff --git a/en-US/dita/RTC/API/api_updatescreencaptureregion2.dita b/en-US/dita/RTC/API/api_updatescreencaptureregion2.dita index b77ce947fdc..2df4fd2519f 100644 --- a/en-US/dita/RTC/API/api_updatescreencaptureregion2.dita +++ b/en-US/dita/RTC/API/api_updatescreencaptureregion2.dita @@ -13,13 +13,13 @@

            - + - (int)updateScreenCaptureRegion:(CGRect)rect; virtual int updateScreenCaptureRegion(const Rect* rect) = 0; - + public abstract int UpdateScreenCaptureRegion(Rectangle regionRect); - -

            + +

            diff --git a/en-US/dita/RTC/API/api_uploadlogfile.dita b/en-US/dita/RTC/API/api_uploadlogfile.dita index 2f7c85b72f9..9ad4e3753f6 100644 --- a/en-US/dita/RTC/API/api_uploadlogfile.dita +++ b/en-US/dita/RTC/API/api_uploadlogfile.dita @@ -13,13 +13,13 @@

            - - + + virtual int uploadLogFile(agora::util::AString& requestId) = 0; uploadLogFile(): string public abstract string UploadLogFile(); - - Future<String?> uploadLogFile();

            + + Future<String?> uploadLogFile();

            diff --git a/en-US/dita/RTC/API/api_videosourcedisableaudio.dita b/en-US/dita/RTC/API/api_videosourcedisableaudio.dita index b365b09fab4..464d6d9a93c 100644 --- a/en-US/dita/RTC/API/api_videosourcedisableaudio.dita +++ b/en-US/dita/RTC/API/api_videosourcedisableaudio.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceDisableAudio(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcedisablevideo.dita b/en-US/dita/RTC/API/api_videosourcedisablevideo.dita index 27432e6501f..7474cec4a76 100644 --- a/en-US/dita/RTC/API/api_videosourcedisablevideo.dita +++ b/en-US/dita/RTC/API/api_videosourcedisablevideo.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceDisableVideo(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenableaudio.dita b/en-US/dita/RTC/API/api_videosourceenableaudio.dita index 1c427ce15aa..f29743c88f5 100644 --- a/en-US/dita/RTC/API/api_videosourceenableaudio.dita +++ b/en-US/dita/RTC/API/api_videosourceenableaudio.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableAudio(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenabledualstreammode.dita b/en-US/dita/RTC/API/api_videosourceenabledualstreammode.dita index 9d1f82af817..197f704de11 100644 --- a/en-US/dita/RTC/API/api_videosourceenabledualstreammode.dita +++ b/en-US/dita/RTC/API/api_videosourceenabledualstreammode.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableDualStreamMode(enabled: boolean): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenableencryption.dita b/en-US/dita/RTC/API/api_videosourceenableencryption.dita index d55e319bd00..fbbfb52a813 100644 --- a/en-US/dita/RTC/API/api_videosourceenableencryption.dita +++ b/en-US/dita/RTC/API/api_videosourceenableencryption.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableEncryption(enabled: boolean, config: EncryptionConfig): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenablelocalaudio.dita b/en-US/dita/RTC/API/api_videosourceenablelocalaudio.dita index a49ea968087..4e472d17896 100644 --- a/en-US/dita/RTC/API/api_videosourceenablelocalaudio.dita +++ b/en-US/dita/RTC/API/api_videosourceenablelocalaudio.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableLocalAudio(enabled: boolean): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenablelocalvideo.dita b/en-US/dita/RTC/API/api_videosourceenablelocalvideo.dita index a0a993a993d..6c3f36e3dda 100644 --- a/en-US/dita/RTC/API/api_videosourceenablelocalvideo.dita +++ b/en-US/dita/RTC/API/api_videosourceenablelocalvideo.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableLocalVideo(enabled: boolean): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenableloopbackrecording.dita b/en-US/dita/RTC/API/api_videosourceenableloopbackrecording.dita index 798e395c765..396a5c8ce33 100644 --- a/en-US/dita/RTC/API/api_videosourceenableloopbackrecording.dita +++ b/en-US/dita/RTC/API/api_videosourceenableloopbackrecording.dita @@ -13,16 +13,16 @@

            - - - + + + videoSourceEnableLoopbackRecording( enabled = false, deviceName: string | null = null ): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenableplugin.dita b/en-US/dita/RTC/API/api_videosourceenableplugin.dita index 1c251a8e1ab..5f622afa24b 100644 --- a/en-US/dita/RTC/API/api_videosourceenableplugin.dita +++ b/en-US/dita/RTC/API/api_videosourceenableplugin.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnablePlugin(pluginId: string, enabled: boolean): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenablevideo.dita b/en-US/dita/RTC/API/api_videosourceenablevideo.dita index db63feef710..7d371d6c86d 100644 --- a/en-US/dita/RTC/API/api_videosourceenablevideo.dita +++ b/en-US/dita/RTC/API/api_videosourceenablevideo.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableVideo(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceenablewebsdkinteroperability.dita b/en-US/dita/RTC/API/api_videosourceenablewebsdkinteroperability.dita index 84030fcc641..1f2f6b298e3 100644 --- a/en-US/dita/RTC/API/api_videosourceenablewebsdkinteroperability.dita +++ b/en-US/dita/RTC/API/api_videosourceenablewebsdkinteroperability.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceEnableWebSdkInteroperability(enabled: boolean): number - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_videosourcegetpluginparameter.dita b/en-US/dita/RTC/API/api_videosourcegetpluginparameter.dita index 96b5e15bb79..f9cf0767521 100644 --- a/en-US/dita/RTC/API/api_videosourcegetpluginparameter.dita +++ b/en-US/dita/RTC/API/api_videosourcegetpluginparameter.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceGetPluginParameter(pluginId: string, key: string): string - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcegetplugins.dita b/en-US/dita/RTC/API/api_videosourcegetplugins.dita index 263b5613f4c..75939ee6586 100644 --- a/en-US/dita/RTC/API/api_videosourcegetplugins.dita +++ b/en-US/dita/RTC/API/api_videosourcegetplugins.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceGetPlugins(): Plugin[] - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceinitializewithcontext.dita b/en-US/dita/RTC/API/api_videosourceinitializewithcontext.dita index 3373edb8263..8290b16ce66 100644 --- a/en-US/dita/RTC/API/api_videosourceinitializewithcontext.dita +++ b/en-US/dita/RTC/API/api_videosourceinitializewithcontext.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceInitializeWithContext(context: RtcEngineContext): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcejoinchannel.dita b/en-US/dita/RTC/API/api_videosourcejoinchannel.dita index c1b6cbf1f36..755cdce7774 100644 --- a/en-US/dita/RTC/API/api_videosourcejoinchannel.dita +++ b/en-US/dita/RTC/API/api_videosourcejoinchannel.dita @@ -13,9 +13,9 @@

            - - - + + + videoSourceJoinChannel( token: string, channelId: string, @@ -23,9 +23,9 @@ uid: number, options?: ChannelMediaOptions ): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceleavechannel.dita b/en-US/dita/RTC/API/api_videosourceleavechannel.dita index 513d363159c..7519b41f4dd 100644 --- a/en-US/dita/RTC/API/api_videosourceleavechannel.dita +++ b/en-US/dita/RTC/API/api_videosourceleavechannel.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceLeaveChannel(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcemuteallremoteaudiostreams.dita b/en-US/dita/RTC/API/api_videosourcemuteallremoteaudiostreams.dita index 3af287d0ff3..50f05f5da81 100644 --- a/en-US/dita/RTC/API/api_videosourcemuteallremoteaudiostreams.dita +++ b/en-US/dita/RTC/API/api_videosourcemuteallremoteaudiostreams.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceMuteAllRemoteAudioStreams(mute: boolean): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcemuteallremotevideostreams.dita b/en-US/dita/RTC/API/api_videosourcemuteallremotevideostreams.dita index 5b0397118ab..b6a1d0ede64 100644 --- a/en-US/dita/RTC/API/api_videosourcemuteallremotevideostreams.dita +++ b/en-US/dita/RTC/API/api_videosourcemuteallremotevideostreams.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceMuteAllRemoteVideoStreams(mute: boolean): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceregisterplugin.dita b/en-US/dita/RTC/API/api_videosourceregisterplugin.dita index 5927ab1ce70..88f36844c67 100644 --- a/en-US/dita/RTC/API/api_videosourceregisterplugin.dita +++ b/en-US/dita/RTC/API/api_videosourceregisterplugin.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceRegisterPlugin(pluginInfo: PluginInfo): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcerelease.dita b/en-US/dita/RTC/API/api_videosourcerelease.dita index 1f4ab69b9f7..3a445da62d8 100644 --- a/en-US/dita/RTC/API/api_videosourcerelease.dita +++ b/en-US/dita/RTC/API/api_videosourcerelease.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceRelease(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcerenewtoken.dita b/en-US/dita/RTC/API/api_videosourcerenewtoken.dita index 8d2ae27c277..83519565b51 100644 --- a/en-US/dita/RTC/API/api_videosourcerenewtoken.dita +++ b/en-US/dita/RTC/API/api_videosourcerenewtoken.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceRenewToken(token: string): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcesetaddonlogfile.dita b/en-US/dita/RTC/API/api_videosourcesetaddonlogfile.dita index 825befade71..bf7e1325807 100644 --- a/en-US/dita/RTC/API/api_videosourcesetaddonlogfile.dita +++ b/en-US/dita/RTC/API/api_videosourcesetaddonlogfile.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetAddonLogFile(filePath: string): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcesetchannelprofile.dita b/en-US/dita/RTC/API/api_videosourcesetchannelprofile.dita index f76149e7bda..b3d6dc6a27f 100644 --- a/en-US/dita/RTC/API/api_videosourcesetchannelprofile.dita +++ b/en-US/dita/RTC/API/api_videosourcesetchannelprofile.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetChannelProfile(profile: CHANNEL_PROFILE_TYPE): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcesetencryptionmode.dita b/en-US/dita/RTC/API/api_videosourcesetencryptionmode.dita index 35b58b40511..5316f02dcae 100644 --- a/en-US/dita/RTC/API/api_videosourcesetencryptionmode.dita +++ b/en-US/dita/RTC/API/api_videosourcesetencryptionmode.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetEncryptionMode(encryptionMode: string): number - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_videosourcesetencryptionsecret.dita b/en-US/dita/RTC/API/api_videosourcesetencryptionsecret.dita index d9f081c0339..e26d466d40f 100644 --- a/en-US/dita/RTC/API/api_videosourcesetencryptionsecret.dita +++ b/en-US/dita/RTC/API/api_videosourcesetencryptionsecret.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetEncryptionSecret(secret: string): number - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_videosourcesetlogfile.dita b/en-US/dita/RTC/API/api_videosourcesetlogfile.dita index 863b23438a1..3160779f634 100644 --- a/en-US/dita/RTC/API/api_videosourcesetlogfile.dita +++ b/en-US/dita/RTC/API/api_videosourcesetlogfile.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetLogFile(filePath: string): number - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_videosourcesetparameters.dita b/en-US/dita/RTC/API/api_videosourcesetparameters.dita index fd086e22c26..40e2c4dee5b 100644 --- a/en-US/dita/RTC/API/api_videosourcesetparameters.dita +++ b/en-US/dita/RTC/API/api_videosourcesetparameters.dita @@ -13,13 +13,13 @@

            - - - - - - -

            + + + + + + +

            diff --git a/en-US/dita/RTC/API/api_videosourcesetpluginparameter.dita b/en-US/dita/RTC/API/api_videosourcesetpluginparameter.dita index 9421e19f651..56538bb17dd 100644 --- a/en-US/dita/RTC/API/api_videosourcesetpluginparameter.dita +++ b/en-US/dita/RTC/API/api_videosourcesetpluginparameter.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetPluginParameter(pluginId: string, parameter: string): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcesetscreencapturecontenthint.dita b/en-US/dita/RTC/API/api_videosourcesetscreencapturecontenthint.dita index e8f787c0700..a5d769fabe5 100644 --- a/en-US/dita/RTC/API/api_videosourcesetscreencapturecontenthint.dita +++ b/en-US/dita/RTC/API/api_videosourcesetscreencapturecontenthint.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetScreenCaptureContentHint(contentHint: VideoContentHint): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcesetvideoencoderconfiguration.dita b/en-US/dita/RTC/API/api_videosourcesetvideoencoderconfiguration.dita index af191851762..51096379876 100644 --- a/en-US/dita/RTC/API/api_videosourcesetvideoencoderconfiguration.dita +++ b/en-US/dita/RTC/API/api_videosourcesetvideoencoderconfiguration.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceSetVideoEncoderConfiguration(config: VideoEncoderConfiguration): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcesetvideoprofile.dita b/en-US/dita/RTC/API/api_videosourcesetvideoprofile.dita index 010c51968ce..b548e18482f 100644 --- a/en-US/dita/RTC/API/api_videosourcesetvideoprofile.dita +++ b/en-US/dita/RTC/API/api_videosourcesetvideoprofile.dita @@ -13,16 +13,16 @@

            - - - + + + videoSourceSetVideoProfile( profile: VIDEO_PROFILE_TYPE, swapWidthAndHeight: boolean = false ): number - - -

            + + +

            diff --git a/en-US/dita/RTC/API/api_videosourcestartpreview.dita b/en-US/dita/RTC/API/api_videosourcestartpreview.dita index 979791c4521..95f4dca3d2f 100644 --- a/en-US/dita/RTC/API/api_videosourcestartpreview.dita +++ b/en-US/dita/RTC/API/api_videosourcestartpreview.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceStartPreview(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcestartscreencapturebyscreen.dita b/en-US/dita/RTC/API/api_videosourcestartscreencapturebyscreen.dita index 83224d50f8c..9d694e4ab7f 100644 --- a/en-US/dita/RTC/API/api_videosourcestartscreencapturebyscreen.dita +++ b/en-US/dita/RTC/API/api_videosourcestartscreencapturebyscreen.dita @@ -13,17 +13,17 @@

            - - - + + + videoSourceStartScreenCaptureByScreen( screenSymbol: ScreenSymbol, regionRect: Rectangle, captureParams: ScreenCaptureParameters ): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcestartscreencapturebywindow.dita b/en-US/dita/RTC/API/api_videosourcestartscreencapturebywindow.dita index 62f4094016e..f28d8f722e7 100644 --- a/en-US/dita/RTC/API/api_videosourcestartscreencapturebywindow.dita +++ b/en-US/dita/RTC/API/api_videosourcestartscreencapturebywindow.dita @@ -13,17 +13,17 @@

            - - - + + + videoSourceStartScreenCaptureByWindow( windowId: number, regionRect: Rectangle, captureParams: ScreenCaptureParameters ): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcestoppreview.dita b/en-US/dita/RTC/API/api_videosourcestoppreview.dita index f8deb850056..5375a132c17 100644 --- a/en-US/dita/RTC/API/api_videosourcestoppreview.dita +++ b/en-US/dita/RTC/API/api_videosourcestoppreview.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceStopPreview(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourcestopscreencapture.dita b/en-US/dita/RTC/API/api_videosourcestopscreencapture.dita index 852d34767da..19e02cd8df7 100644 --- a/en-US/dita/RTC/API/api_videosourcestopscreencapture.dita +++ b/en-US/dita/RTC/API/api_videosourcestopscreencapture.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceStopScreenCapture(): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceunregisterplugin.dita b/en-US/dita/RTC/API/api_videosourceunregisterplugin.dita index f0e3413b516..b875ceb1612 100644 --- a/en-US/dita/RTC/API/api_videosourceunregisterplugin.dita +++ b/en-US/dita/RTC/API/api_videosourceunregisterplugin.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceUnregisterPlugin(pluginId: string): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceupdatescreencaptureparameters.dita b/en-US/dita/RTC/API/api_videosourceupdatescreencaptureparameters.dita index 472d97cb31b..bf379e0c0c1 100644 --- a/en-US/dita/RTC/API/api_videosourceupdatescreencaptureparameters.dita +++ b/en-US/dita/RTC/API/api_videosourceupdatescreencaptureparameters.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceUpdateScreenCaptureParameters(captureParams: ScreenCaptureParameters): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/api_videosourceupdatescreencaptureregion.dita b/en-US/dita/RTC/API/api_videosourceupdatescreencaptureregion.dita index ff30dbda2e7..9444e2fd519 100644 --- a/en-US/dita/RTC/API/api_videosourceupdatescreencaptureregion.dita +++ b/en-US/dita/RTC/API/api_videosourceupdatescreencaptureregion.dita @@ -13,13 +13,13 @@

            - - - + + + videoSourceUpdateScreenCaptureRegion(regionRect: Rectangle): number - - -

            + + +

            A method for the second instance.

            diff --git a/en-US/dita/RTC/API/callback_iaudioframeobserver_onframe.dita b/en-US/dita/RTC/API/callback_iaudioframeobserver_onframe.dita index c0ac4bc6709..da716886452 100644 --- a/en-US/dita/RTC/API/callback_iaudioframeobserver_onframe.dita +++ b/en-US/dita/RTC/API/callback_iaudioframeobserver_onframe.dita @@ -12,13 +12,17 @@
            +

            + public virtual bool OnFrame(AudioPcmFrame videoFrame, int mediaPlayerId) + { + return true; + }

            AudioFrame onFrame(AudioFrame frame); - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveAudioFrame:(CMSampleBufferRef _Nonnull)audioFrame; virtual void onFrame(AudioPcmFrame* frame) = 0; -

            diff --git a/en-US/dita/RTC/API/callback_iaudioframeobserver_onmixedaudioframe.dita b/en-US/dita/RTC/API/callback_iaudioframeobserver_onmixedaudioframe.dita index 17ca14a048f..cbd98694f69 100644 --- a/en-US/dita/RTC/API/callback_iaudioframeobserver_onmixedaudioframe.dita +++ b/en-US/dita/RTC/API/callback_iaudioframeobserver_onmixedaudioframe.dita @@ -12,6 +12,16 @@
            +

            + public virtual bool OnMixedAudioFrame(AudioFrame audio_frame) + { + return true; + }

            +

            + public virtual bool OnMixedAudioFrame(AudioFrame audioFrame) + { + return true; + }

            public abstract boolean onMixedAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); @@ -19,10 +29,6 @@ - (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onMixedAudioFrame(AudioFrame& audioFrame) = 0; - public virtual bool OnMixedAudioFrame(AudioFrame audioFrame) - { - return true; - }

            diff --git a/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframe.dita b/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframe.dita index b046cf501f2..b1b0bcd32c5 100644 --- a/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframe.dita +++ b/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframe.dita @@ -12,17 +12,22 @@
            +

            + public virtual bool OnPlaybackAudioFrame(AudioFrame audio_frame) + { + return true; + }

            public abstract boolean onPlaybackAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onPlaybackAudioFrame(AudioFrame& audioFrame) = 0; - public virtual bool OnPlaybackAudioFrame(AudioFrame audioFrame) { return true; } +

            diff --git a/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index 57b23fd78e4..cf5ba15d8e8 100644 --- a/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -17,14 +17,14 @@ public abstract boolean onPlaybackAudioFrameBeforeMixing(int userId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - virtual bool onPlaybackAudioFrameBeforeMixing(rtc::uid_t uid, AudioFrame& audioFrame) = 0;

            + virtual bool onPlaybackAudioFrameBeforeMixing(rtc::uid_t uid, AudioFrame& audioFrame) = 0; + public virtual bool OnPlaybackAudioFrameBeforeMixing(uint uid, AudioFrame audio_frame) + { + return true; + }

            - (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame uid:(NSUInteger)uid; - public virtual bool OnPlaybackAudioFrameBeforeMixing(uint uid, AudioFrame audioFrame) - { - return true; - }

            @@ -32,6 +32,10 @@ int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + public virtual bool OnPlaybackAudioFrameBeforeMixing(uint uid, AudioFrame audioFrame) + { + return true; + } virtual bool onPlaybackAudioFrameBeforeMixing(unsigned int uid, AudioFrame& audioFrame) = 0;

            diff --git a/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixingex.dita b/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixingex.dita index 38e3e6ff3f0..34efefe33e5 100644 --- a/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixingex.dita +++ b/en-US/dita/RTC/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixingex.dita @@ -16,7 +16,7 @@ virtual bool onPlaybackAudioFrameBeforeMixingEx(const char *channelId, - unsigned int uid, + unsigned int uid, AudioFrame& audioFrame) { return true; } public virtual bool OnPlaybackAudioFrameBeforeMixingEx(string channelId, uint uid, AudioFrame audioFrame) diff --git a/en-US/dita/RTC/API/callback_iaudioframeobserver_onrecordaudioframe.dita b/en-US/dita/RTC/API/callback_iaudioframeobserver_onrecordaudioframe.dita index dbf33a23181..26e38fac997 100644 --- a/en-US/dita/RTC/API/callback_iaudioframeobserver_onrecordaudioframe.dita +++ b/en-US/dita/RTC/API/callback_iaudioframeobserver_onrecordaudioframe.dita @@ -12,6 +12,11 @@
            +

            + public virtual bool OnRecordAudioFrame(AudioFrame audioFrame) + { + return true; + }

            public abstract boolean onRecordAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); @@ -19,11 +24,11 @@ - (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onRecordAudioFrame(AudioFrame& audioFrame) = 0; - public virtual bool OnRecordAudioFrame(AudioFrame audioFrame) { return true; } +

            diff --git a/en-US/dita/RTC/API/callback_ichanneleventhandler_onfirstremotevideoframe.dita b/en-US/dita/RTC/API/callback_ichanneleventhandler_onfirstremotevideoframe.dita index fc36cd7353b..77cf1d2338c 100644 --- a/en-US/dita/RTC/API/callback_ichanneleventhandler_onfirstremotevideoframe.dita +++ b/en-US/dita/RTC/API/callback_ichanneleventhandler_onfirstremotevideoframe.dita @@ -13,10 +13,10 @@

            - - - OnFirstRemoteVideoFrame? firstRemoteVideoFrame; -

            + + + OnFirstRemoteVideoFrame? firstRemoteVideoFrame; +

            diff --git a/en-US/dita/RTC/API/callback_ichanneleventhandler_onrtmpstreamingstatechanged.dita b/en-US/dita/RTC/API/callback_ichanneleventhandler_onrtmpstreamingstatechanged.dita index b41a5c9c00f..19ceeeebd5b 100644 --- a/en-US/dita/RTC/API/callback_ichanneleventhandler_onrtmpstreamingstatechanged.dita +++ b/en-US/dita/RTC/API/callback_ichanneleventhandler_onrtmpstreamingstatechanged.dita @@ -15,15 +15,7 @@

            - virtual void onRtmpStreamingStateChanged(IChannel *rtcChannel, - const char *url, - RTMP_STREAM_PUBLISH_STATE state, - RTMP_STREAM_PUBLISH_ERROR errCode) { - (void)rtcChannel; - (void) url; - (RTMP_STREAM_PUBLISH_STATE) state; - (RTMP_STREAM_PUBLISH_ERROR) errCode; - } + on( evt: ChannelEvents.RTMP_STREAMING_STATE_CHANGED, cb: ( @@ -36,8 +28,7 @@ public virtual void OnRtmpStreamingStateChanged(string channelId, string url, RTMP_STREAM_PUBLISH_STATE state, RTMP_STREAM_PUBLISH_ERROR errCode) - RtmpStreamingStateCallback? rtmpStreamingStateChanged; -

            + RtmpStreamingStateCallback? rtmpStreamingStateChanged;

            When the CDN live streaming state changes, the SDK triggers this callback to report the current state and the reason why the state has changed. When exceptions occur, you can troubleshoot issues by referring to the detailed error descriptions in the error code parameter.

            diff --git a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita index b853caaceca..10dc2658414 100644 --- a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita +++ b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita @@ -17,7 +17,7 @@ - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine connectionDidChangedToState:(AgoraSaeConnectionState)state withReason:(AgoraSaeConnectionChangedReason)reason; virtual void onConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} - + public virtual void OnConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {}

            diff --git a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita index bc5d448ef5e..7b19207c36e 100644 --- a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita +++ b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita @@ -17,7 +17,7 @@ - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine teammateJoined:(NSUInteger)uid; virtual void onTeammateJoined(uid_t uid) {} - + public virtual void OnTeammateJoined(uint uid) {}

            diff --git a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita index d9080733d56..b2378581efc 100644 --- a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita +++ b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita @@ -17,7 +17,7 @@ - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine teammateLeft:(NSUInteger)uid; virtual void onTeammateLeft(uid_t uid) {} - + public virtual void OnTeammateLeft(uint uid) {}

            diff --git a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita index 2f806df9e5e..34a77270377 100644 --- a/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita +++ b/en-US/dita/RTC/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita @@ -17,7 +17,7 @@ - (void)csaEngineTokenWillExpire:(AgoraCloudSpatialAudioKit* _Nonnull)engine; virtual void onTokenWillExpire() {} - + public virtual void OnTokenWillExpire() {}

            diff --git a/en-US/dita/RTC/API/callback_imetadataobserver_onreadytosendmetadata.dita b/en-US/dita/RTC/API/callback_imetadataobserver_onreadytosendmetadata.dita index cf6d5480c9a..c161adf39c2 100644 --- a/en-US/dita/RTC/API/callback_imetadataobserver_onreadytosendmetadata.dita +++ b/en-US/dita/RTC/API/callback_imetadataobserver_onreadytosendmetadata.dita @@ -21,7 +21,7 @@ public abstract byte[] onReadyToSendMetadata(long timeStampMs); - (NSData* _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp; virtual bool onReadyToSendMetadata(Metadata& metadata) = 0; - on(evt: EngineEvents.READY_TO_SEND_METADATA, cb: (metadata: Metadata) => void): this; + on(evt: EngineEvents.READY_TO_SEND_METADATA, cb: (metadata: Metadata) => void): this; public virtual bool OnReadyToSendMetadata(Metadata metadata) { return true; diff --git a/en-US/dita/RTC/API/callback_ivideoframeobserver_getobservedframeposition.dita b/en-US/dita/RTC/API/callback_ivideoframeobserver_getobservedframeposition.dita index 28cf10e2db6..af055347712 100644 --- a/en-US/dita/RTC/API/callback_ivideoframeobserver_getobservedframeposition.dita +++ b/en-US/dita/RTC/API/callback_ivideoframeobserver_getobservedframeposition.dita @@ -18,12 +18,14 @@ virtual uint32_t getObservedFramePosition() { return base::POSITION_POST_CAPTURER | base::POSITION_PRE_RENDERER; } -

            + public virtual VIDEO_OBSERVER_POSITION GetObservedFramePosition() + { + return VIDEO_OBSERVER_POSITION.POSITION_POST_CAPTURER | VIDEO_OBSERVER_POSITION.POSITION_PRE_RENDERER; + }

            - virtual uint32_t getObservedFramePosition() { return static_cast<uint32_t>(POSITION_POST_CAPTURER | POSITION_PRE_RENDERER); }

            -

            + virtual uint32_t getObservedFramePosition() { return static_cast<uint32_t>(POSITION_POST_CAPTURER | POSITION_PRE_RENDERER); } public virtual VIDEO_OBSERVER_POSITION GetObservedFramePosition() { diff --git a/en-US/dita/RTC/API/callback_ivideoframeobserver_onframe.dita b/en-US/dita/RTC/API/callback_ivideoframeobserver_onframe.dita index ccb1d40bc73..332f2a087e9 100644 --- a/en-US/dita/RTC/API/callback_ivideoframeobserver_onframe.dita +++ b/en-US/dita/RTC/API/callback_ivideoframeobserver_onframe.dita @@ -12,13 +12,17 @@

            +

            + public virtual bool OnFrame(VideoFrame audioFrame, VideoFrameBufferConfig config) + { + return true; + }

            void onFrame(VideoFrame frame); - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveVideoFrame:(CVPixelBufferRef _Nonnull)pixelBuffer; virtual void onFrame(const VideoFrame* frame) = 0; -

            diff --git a/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita b/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita index ee35fa6b464..00b2bb20ae9 100644 --- a/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita +++ b/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita @@ -16,6 +16,7 @@ boolean onPreEncodeScreenVideoFrame(VideoFrame videoFrame); - (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; virtual bool onPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0; + diff --git a/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodevideoframe.dita b/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodevideoframe.dita index 7eebf610335..490b6c15937 100644 --- a/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodevideoframe.dita +++ b/en-US/dita/RTC/API/callback_ivideoframeobserver_onpreencodevideoframe.dita @@ -16,7 +16,10 @@ boolean onPreEncodeVideoFrame(VideoFrame videoFrame); - (BOOL)onPreEncodeVideoFrame:(AgoraOutputVideoFrame * _Nonnull)srcFrame dstFrame:(AgoraOutputVideoFrame *_Nullable* _Nullable)dstFrame; virtual bool onPreEncodeVideoFrame(VideoFrame& videoFrame) = 0; -

            + public virtual bool OnPreEncodeVideoFrame(VideoFrame videoFrame) + { + return true; + }

            diff --git a/en-US/dita/RTC/API/callback_ivideoframeobserver_onrendervideoframe.dita b/en-US/dita/RTC/API/callback_ivideoframeobserver_onrendervideoframe.dita index 64ead0876c2..74c31ecc76a 100644 --- a/en-US/dita/RTC/API/callback_ivideoframeobserver_onrendervideoframe.dita +++ b/en-US/dita/RTC/API/callback_ivideoframeobserver_onrendervideoframe.dita @@ -18,7 +18,11 @@ uid:(NSUInteger)uid channelId:(NSString * _Nonnull)channelId; virtual bool onRenderVideoFrame(const char* channelId, rtc::uid_t remoteUid, VideoFrame& videoFrame) = 0; -

            +
            + public virtual bool OnRenderVideoFrame(uint uid, VideoFrame videoFrame) + { + return true; + }

            boolean onRenderVideoFrame(int uid, VideoFrame videoFrame); - (BOOL)onRenderVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame diff --git a/en-US/dita/RTC/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita b/en-US/dita/RTC/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita index 178635cdec3..2d662f760fe 100644 --- a/en-US/dita/RTC/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita +++ b/en-US/dita/RTC/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita @@ -12,11 +12,6 @@

            -

            - - - virtual bool onSecondaryPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0; -

            diff --git a/en-US/dita/RTC/API/callback_onactivespeaker.dita b/en-US/dita/RTC/API/callback_onactivespeaker.dita index 511b072e7b3..e2194bb6ab0 100644 --- a/en-US/dita/RTC/API/callback_onactivespeaker.dita +++ b/en-US/dita/RTC/API/callback_onactivespeaker.dita @@ -13,18 +13,19 @@

            - virtual void onActiveSpeaker(uid_t userId) { (void)userId; }

            + virtual void onActiveSpeaker(uid_t userId) { (void)userId; } + public virtual void OnActiveSpeaker(uint userId) {}

            +

            + virtual void onActiveSpeaker(uid_t uid) { + (void)uid; + } + public virtual void OnActiveSpeaker(uint uid)

            public void onActiveSpeaker(int uid) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine activeSpeaker:(NSUInteger)speakerUid; on(evt: EngineEvents.ACTIVE_SPEAKER, cb: (uid: number) => void): this; - public virtual void OnActiveSpeaker(uint uid) UidCallback? activeSpeaker;

            -

            - virtual void onActiveSpeaker(uid_t uid) { - (void)uid; - }

            After a successful call of , the SDK continuously detects which remote user has the loudest volume. During the current period, the remote user, who is detected as the loudest for the most times, is the most active user.

            diff --git a/en-US/dita/RTC/API/callback_onaudiodevicetestvolumeindication.dita b/en-US/dita/RTC/API/callback_onaudiodevicetestvolumeindication.dita index 1557dd38638..d650fd99fa8 100644 --- a/en-US/dita/RTC/API/callback_onaudiodevicetestvolumeindication.dita +++ b/en-US/dita/RTC/API/callback_onaudiodevicetestvolumeindication.dita @@ -14,9 +14,9 @@

            virtual void onAudioDeviceTestVolumeIndication(AudioDeviceTestVolumeType volumeType, int volume) { -(void)volumeType; -(void)volume; -} + (void)volumeType; + (void)volume; + } public virtual void OnAudioDeviceTestVolumeIndication(AudioDeviceTestVolumeType volumeType, int volume) diff --git a/en-US/dita/RTC/API/callback_onaudioquality.dita b/en-US/dita/RTC/API/callback_onaudioquality.dita index e9bec4857ba..93752b578cf 100644 --- a/en-US/dita/RTC/API/callback_onaudioquality.dita +++ b/en-US/dita/RTC/API/callback_onaudioquality.dita @@ -12,6 +12,10 @@

            +

            + public virtual void OnAudioQuality(RtcConnection connection, uint remoteUid, int quality, UInt16 delay, UInt16 lost) {}

            +

            + public virtual void OnAudioQuality(uint uid, int quality, ushort delay, ushort lost)

            public void onAudioQuality(int uid, int quality, short delay, short lost) {} - (void)audioQualityBlock:(void (^_Nullable)(NSUInteger uid, AgoraNetworkQuality quality, NSUInteger delay, NSUInteger lost))audioQualityBlock @@ -22,7 +26,6 @@ (void)lost; } - public virtual void OnAudioQuality(uint uid, int quality, ushort delay, ushort lost) AudioQualityCallback? audioQuality;

            diff --git a/en-US/dita/RTC/API/callback_onaudioroutechanged.dita b/en-US/dita/RTC/API/callback_onaudioroutechanged.dita index 08d8f97be1f..3b40fe4e1ac 100644 --- a/en-US/dita/RTC/API/callback_onaudioroutechanged.dita +++ b/en-US/dita/RTC/API/callback_onaudioroutechanged.dita @@ -14,15 +14,17 @@

            virtual void onAudioRoutingChanged(int routing) { (void)routing; } -

            + + public virtual void OnAudioRoutingChanged(int routing) {}

            - public void onAudioRouteChanged(int routing) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing; virtual void onAudioRouteChanged(AUDIO_ROUTE_TYPE routing) { (void)routing; } + public virtual void OnAudioRouteChanged(AUDIO_ROUTE_TYPE routing)

            +

            + public void onAudioRouteChanged(int routing) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing; - public virtual void OnAudioRouteChanged(AUDIO_ROUTE_TYPE routing) AudioRouteCallback? audioRouteChanged;

            diff --git a/en-US/dita/RTC/API/callback_onaudiovolumeindication.dita b/en-US/dita/RTC/API/callback_onaudiovolumeindication.dita index 6eefc4eb256..1046139588b 100644 --- a/en-US/dita/RTC/API/callback_onaudiovolumeindication.dita +++ b/en-US/dita/RTC/API/callback_onaudiovolumeindication.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnAudioVolumeIndication(RtcConnection connection, AudioVolumeInfo[] speakers, uint speakerNumber, int totalVolume) {}

            +

            + public virtual void OnAudioVolumeIndication(AudioVolumeInfo[] speakers, uint speakerNumber, int totalVolume)

            public void onAudioVolumeIndication(AudioVolumeInfo[] speakers, int totalVolume) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -30,7 +34,6 @@ totalVolume: number ) => void ): this; - public virtual void OnAudioVolumeIndication(AudioVolumeInfo[] speakers, uint speakerNumber, int totalVolume) AudioVolumeCallback? audioVolumeIndication;

            diff --git a/en-US/dita/RTC/API/callback_onchannelmediarelayevent.dita b/en-US/dita/RTC/API/callback_onchannelmediarelayevent.dita index 6b10d217ab6..0400d789167 100644 --- a/en-US/dita/RTC/API/callback_onchannelmediarelayevent.dita +++ b/en-US/dita/RTC/API/callback_onchannelmediarelayevent.dita @@ -15,18 +15,19 @@

            virtual void onChannelMediaRelayEvent(int code) { (void)code; -}

            +} + public virtual void OnChannelMediaRelayEvent(CHANNEL_MEDIA_RELAY_EVENT code)

            - virtual void onChannelMediaRelayEvent(CHANNEL_MEDIA_RELAY_EVENT code) {}

            + virtual void onChannelMediaRelayEvent(CHANNEL_MEDIA_RELAY_EVENT code) {} + public virtual void OnChannelMediaRelayEvent(CHANNEL_MEDIA_RELAY_EVENT code)

            public void onChannelMediaRelayEvent(int code) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didReceiveChannelMediaRelayEvent:(AgoraChannelMediaRelayEvent)event; on( evt: EngineEvents.CHANNEL_MEDIA_RELAY_EVENT, - cb: (code: CHANNEL_MEDIA_RELAY_EVENT) => void + cb: (code: CHANNEL_MEDIA_RELAY_EVENT) => void ): this; - public virtual void OnChannelMediaRelayEvent(CHANNEL_MEDIA_RELAY_EVENT code) MediaRelayEventCallback? channelMediaRelayEvent;

            diff --git a/en-US/dita/RTC/API/callback_onchannelmediarelaystatechanged.dita b/en-US/dita/RTC/API/callback_onchannelmediarelaystatechanged.dita index 13c901bcad0..bcea0818942 100644 --- a/en-US/dita/RTC/API/callback_onchannelmediarelaystatechanged.dita +++ b/en-US/dita/RTC/API/callback_onchannelmediarelaystatechanged.dita @@ -12,6 +12,11 @@
            +

            + public virtual void OnChannelMediaRelayStateChanged(int state, int code) {}

            +

            + public virtual void OnChannelMediaRelayStateChanged(CHANNEL_MEDIA_RELAY_STATE state, + CHANNEL_MEDIA_RELAY_ERROR code)

            public void onChannelMediaRelayStateChanged(int state, int code) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -22,8 +27,6 @@ channelMediaRelayStateDidChange:(AgoraChannelMediaRelayState)state on(evt: EngineEvents.CHANNEL_MEDIA_RELAY_EVENT, cb: ( event: CHANNEL_MEDIA_RELAY_EVENT ) => void): this; - public virtual void OnChannelMediaRelayStateChanged(CHANNEL_MEDIA_RELAY_STATE state, - CHANNEL_MEDIA_RELAY_ERROR code) MediaRelayStateCallback? channelMediaRelayStateChanged;

            diff --git a/en-US/dita/RTC/API/callback_onclientrolechanged.dita b/en-US/dita/RTC/API/callback_onclientrolechanged.dita index a855bf4dbe7..c99bfbcf674 100644 --- a/en-US/dita/RTC/API/callback_onclientrolechanged.dita +++ b/en-US/dita/RTC/API/callback_onclientrolechanged.dita @@ -5,6 +5,10 @@ Occurs when the user role switches in the interactive live streaming.
            +

            + public virtual void OnClientRoleChanged(RtcConnection connection, CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole) {}

            +

            + public virtual void OnClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole)

            public void onClientRoleChanged(int oldRole, int newRole) {} @@ -16,7 +20,6 @@ oldRole: CLIENT_ROLE_TYPE, newRole: CLIENT_ROLE_TYPE) => void ): this; - public virtual void OnClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole) ClientRoleCallback? clientRoleChanged;

            diff --git a/en-US/dita/RTC/API/callback_onconnectionbanned.dita b/en-US/dita/RTC/API/callback_onconnectionbanned.dita index 055dae1cfb5..3dc4a0d5dbb 100644 --- a/en-US/dita/RTC/API/callback_onconnectionbanned.dita +++ b/en-US/dita/RTC/API/callback_onconnectionbanned.dita @@ -12,12 +12,15 @@
            +

            + public virtual void OnConnectionBanned(RtcConnection connection) {}

            +

            + public virtual void OnConnectionBanned()

            public void onConnectionBanned() {} - (void)rtcEngineConnectionDidBanned:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionBanned() on(evt: EngineEvents.CONNECTION_BANNED, cb: () => void): this; - public virtual void OnConnectionBanned() EmptyCallback? connectionBanned;

            diff --git a/en-US/dita/RTC/API/callback_onconnectioninterrupted.dita b/en-US/dita/RTC/API/callback_onconnectioninterrupted.dita index a7b5bd3f39d..2b96b686a2c 100644 --- a/en-US/dita/RTC/API/callback_onconnectioninterrupted.dita +++ b/en-US/dita/RTC/API/callback_onconnectioninterrupted.dita @@ -12,12 +12,15 @@
            +

            + public virtual void OnConnectionInterrupted(RtcConnection connection) {}

            +

            + public virtual void OnConnectionInterrupted()

            public void onConnectionInterrupted() {} - (void)rtcEngineConnectionDidInterrupted:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionInterrupted() {} on(evt: EngineEvents.CONNECTION_INTERRUPTED, cb: () => void): this; - public virtual void OnConnectionInterrupted() EmptyCallback? connectionInterrupted;

            diff --git a/en-US/dita/RTC/API/callback_onconnectionlost.dita b/en-US/dita/RTC/API/callback_onconnectionlost.dita index 747037db7e4..371bbab1e6b 100644 --- a/en-US/dita/RTC/API/callback_onconnectionlost.dita +++ b/en-US/dita/RTC/API/callback_onconnectionlost.dita @@ -12,12 +12,15 @@
            +

            + public virtual void OnConnectionLost(RtcConnection connection) {}

            +

            + public virtual void OnConnectionLost()

            public void onConnectionLost() {} - (void)rtcEngineConnectionDidLost:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionLost() on(evt: EngineEvents.CONNECTION_LOST, cb: () => void): this; - public virtual void OnConnectionLost() EmptyCallback? connectionLost;

            diff --git a/en-US/dita/RTC/API/callback_onconnectionstatechanged.dita b/en-US/dita/RTC/API/callback_onconnectionstatechanged.dita index 89a177334e2..b2dc93b6eda 100644 --- a/en-US/dita/RTC/API/callback_onconnectionstatechanged.dita +++ b/en-US/dita/RTC/API/callback_onconnectionstatechanged.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnConnectionStateChanged(RtcConnection connection, CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason) {}

            +

            + public virtual void OnConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason)

            public void onConnectionStateChanged(int state, int reason) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -25,7 +29,6 @@ state: CONNECTION_STATE_TYPE, reason: CONNECTION_CHANGED_REASON_TYPE ) => void): this; - public virtual void OnConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason) ConnectionStateCallback? connectionStateChanged;

            diff --git a/en-US/dita/RTC/API/callback_onencryptionerror.dita b/en-US/dita/RTC/API/callback_onencryptionerror.dita index 64ea3be2249..f3f54ba6143 100644 --- a/en-US/dita/RTC/API/callback_onencryptionerror.dita +++ b/en-US/dita/RTC/API/callback_onencryptionerror.dita @@ -14,14 +14,14 @@

            public void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurEncryptionError:(AgoraEncryptionErrorType)errorType; virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) { (void)errorType; } - + public virtual void OnEncryptionError(RtcConnection connection, ENCRYPTION_ERROR_TYPE errorType) {}

            diff --git a/en-US/dita/RTC/API/callback_onfacepositionchanged.dita b/en-US/dita/RTC/API/callback_onfacepositionchanged.dita index ebea8777500..d310231f2d9 100644 --- a/en-US/dita/RTC/API/callback_onfacepositionchanged.dita +++ b/en-US/dita/RTC/API/callback_onfacepositionchanged.dita @@ -23,7 +23,8 @@ (void) vecRectangle; (void) vecDistance; (void) numFaces; - }

            + } + public virtual void OnFacePositionChanged(int imageWidth, int imageHeight, Rectangle vecRectangle, int[] vecDistance, int numFaces) {}

            - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine facePositionDidChangeWidth:(int)width previewHeight:(int)height faces:(NSArray<AgoraFacePositionInfo*>* _Nullable)faces; virtual void onFacePositionChanged(int imageWidth, diff --git a/en-US/dita/RTC/API/callback_onfirstlocalaudioframepublished.dita b/en-US/dita/RTC/API/callback_onfirstlocalaudioframepublished.dita index 3988c9288b0..0e5a7c1eb00 100644 --- a/en-US/dita/RTC/API/callback_onfirstlocalaudioframepublished.dita +++ b/en-US/dita/RTC/API/callback_onfirstlocalaudioframepublished.dita @@ -13,6 +13,10 @@

            +

            + public virtual void OnFirstLocalAudioFramePublished(RtcConnection connection, int elapsed) {}

            +

            + public virtual void OnFirstLocalAudioFramePublished(int elapsed)

            public void onFirstLocalAudioFramePublished(int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalAudioFramePublished:(NSInteger)elapsed; @@ -22,7 +26,6 @@ on(evt: EngineEvents.FIRST_LOCAL_AUDIO_FRAME_PUBLISHED, cb: ( elapsed: number ) => void): this; - public virtual void OnFirstLocalAudioFramePublished(int elapsed) ElapsedCallback? firstLocalAudioFramePublished;

            diff --git a/en-US/dita/RTC/API/callback_onfirstlocalvideoframe.dita b/en-US/dita/RTC/API/callback_onfirstlocalvideoframe.dita index 597d154953c..cb3899ffccb 100644 --- a/en-US/dita/RTC/API/callback_onfirstlocalvideoframe.dita +++ b/en-US/dita/RTC/API/callback_onfirstlocalvideoframe.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnFirstLocalVideoFrame(RtcConnection connection, int width, int height, int elapsed) {}

            +

            + public virtual void OnFirstLocalVideoFrame(int width, int height, int elapsed)

            public void onFirstLocalVideoFrame(int width, int height, int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -29,7 +33,6 @@ height: number, elapsed: number) => void ): this; - public virtual void OnFirstLocalVideoFrame(int width, int height, int elapsed) VideoFrameCallback? firstLocalVideoFrame;

            diff --git a/en-US/dita/RTC/API/callback_onfirstlocalvideoframepublished.dita b/en-US/dita/RTC/API/callback_onfirstlocalvideoframepublished.dita index 0e5e3ddc221..eb79a723fcb 100644 --- a/en-US/dita/RTC/API/callback_onfirstlocalvideoframepublished.dita +++ b/en-US/dita/RTC/API/callback_onfirstlocalvideoframepublished.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnFirstLocalVideoFramePublished(RtcConnection connection, int elapsed) {}

            +

            + public virtual void OnFirstLocalVideoFramePublished(int elapsed)

            public void onFirstLocalVideoFramePublished(int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -22,7 +26,6 @@ on(evt: EngineEvents.FIRST_LOCAL_VIDEO_FRAME_PUBLISHED, cb: ( elapsed: number ) => void): this; - public virtual void OnFirstLocalVideoFramePublished(int elapsed) ElapsedCallback? firstLocalVideoFramePublished;

            diff --git a/en-US/dita/RTC/API/callback_onfirstremoteaudiodecoded.dita b/en-US/dita/RTC/API/callback_onfirstremoteaudiodecoded.dita index 1edb26297f5..c2e2550370e 100644 --- a/en-US/dita/RTC/API/callback_onfirstremoteaudiodecoded.dita +++ b/en-US/dita/RTC/API/callback_onfirstremoteaudiodecoded.dita @@ -22,7 +22,8 @@ virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) AGORA_DEPRECATED_ATTRIBUTE { (void)uid; (void)elapsed; - }

            + } + public virtual void OnFirstRemoteAudioDecoded(uint uid, int elapsed)

            public void onFirstRemoteAudioDecoded(int uid, int elapsed) { } @@ -31,9 +32,8 @@ on(evt: EngineEvents.FIRST_REMOTE_AUDIO_DECODED, cb: ( uid: number, - elapsed: number) => void + elapsed: number) => void ): this; - public virtual void OnFirstRemoteAudioDecoded(uint uid, int elapsed) UidWithElapsedCallback? firstRemoteAudioDecoded;

            diff --git a/en-US/dita/RTC/API/callback_onfirstremoteaudioframe.dita b/en-US/dita/RTC/API/callback_onfirstremoteaudioframe.dita index e179ca2ae5c..de00f972490 100644 --- a/en-US/dita/RTC/API/callback_onfirstremoteaudioframe.dita +++ b/en-US/dita/RTC/API/callback_onfirstremoteaudioframe.dita @@ -25,7 +25,7 @@ on(evt: EngineEvents.FIRST_REMOTE_AUDIO_FRAME, cb: ( uid: number, - elapsed: number) => void + elapsed: number) => void ): this; public virtual void OnFirstRemoteAudioFrame(uint uid, int elapsed) diff --git a/en-US/dita/RTC/API/callback_onfirstremotevideodecoded.dita b/en-US/dita/RTC/API/callback_onfirstremotevideodecoded.dita index ed61d3b70a8..7aafde78fe6 100644 --- a/en-US/dita/RTC/API/callback_onfirstremotevideodecoded.dita +++ b/en-US/dita/RTC/API/callback_onfirstremotevideodecoded.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnFirstRemoteVideoDecoded(RtcConnection connection, uint remoteUid, int width, int height, int elapsed) {}

            +

            + public virtual void OnFirstRemoteVideoDecoded(uint uid, int width, int height, int elapsed)

            public void onFirstRemoteVideoDecoded(int uid, int width, int height, int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -31,7 +35,6 @@ height: number, elapsed: number) => void ): this; - public virtual void OnFirstRemoteVideoDecoded(uint uid, int width, int height, int elapsed) VideoFrameWithUidCallback? firstRemoteVideoDecoded;

            diff --git a/en-US/dita/RTC/API/callback_onfirstremotevideoframe.dita b/en-US/dita/RTC/API/callback_onfirstremotevideoframe.dita index 09359c770db..5d1e17a820c 100644 --- a/en-US/dita/RTC/API/callback_onfirstremotevideoframe.dita +++ b/en-US/dita/RTC/API/callback_onfirstremotevideoframe.dita @@ -14,28 +14,29 @@

            - virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) { + virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) { (void)userId; (void)width; (void)height; (void)elapsed; - }

            + } + public virtual void OnFirstRemoteVideoFrame(RtcConnection connection, uint remoteUid, int width, int height, int elapsed) {} +

            - public void onFirstRemoteVideoFrame(int uid, int width, int height, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + public void onFirstRemoteVideoFrame(int uid, int width, int height, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoFrameOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed; - on(evt: EngineEvents.FIRST_REMOTE_VIDEO_FRAME, cb: ( + on(evt: EngineEvents.FIRST_REMOTE_VIDEO_FRAME, cb: ( uid: number, width: number, height: number, elapsed: number) => void ): this; - public virtual void OnFirstRemoteVideoFrame(uint uid, int width, int height, int elapsed) - - VideoFrameWithUidCallback? firstRemoteVideoFrame; + + VideoFrameWithUidCallback? firstRemoteVideoFrame;

            - virtual void onFirstRemoteVideoFrame(uid_t uid, + virtual void onFirstRemoteVideoFrame(uid_t uid, int width, int height, int elapsed) { @@ -43,7 +44,9 @@ (void)width; (void)height; (void)elapsed; - }

            + } + public virtual void OnFirstRemoteVideoFrame(uint uid, int width, int height, int elapsed) +

            diff --git a/en-US/dita/RTC/API/callback_onjoinchannelsuccess.dita b/en-US/dita/RTC/API/callback_onjoinchannelsuccess.dita index 0b704f31966..f1d223008fd 100644 --- a/en-US/dita/RTC/API/callback_onjoinchannelsuccess.dita +++ b/en-US/dita/RTC/API/callback_onjoinchannelsuccess.dita @@ -12,12 +12,16 @@

            +

            + public virtual void OnJoinChannelSuccess(RtcConnection connection, int elapsed) {}

            +

            + public virtual void OnJoinChannelSuccess(string channel, uint uid, int elapsed)

            public void onJoinChannelSuccess(String channel, int uid, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed; - virtual void onJoinChannelSuccess(const char* channel, - uid_t uid, + virtual void onJoinChannelSuccess(const char* channel, + uid_t uid, int elapsed) { (void)channel; (void)uid; @@ -27,7 +31,6 @@ evt: EngineEvents.JOINED_CHANNEL, cb: (channel: string, uid: number, elapsed: number) => void ): this; - public virtual void OnJoinChannelSuccess(string channel, uint uid, int elapsed) UidWithElapsedAndChannelCallback? joinChannelSuccess;

            diff --git a/en-US/dita/RTC/API/callback_onleavechannel.dita b/en-US/dita/RTC/API/callback_onleavechannel.dita index 22fa875428c..dde3f9f047b 100644 --- a/en-US/dita/RTC/API/callback_onleavechannel.dita +++ b/en-US/dita/RTC/API/callback_onleavechannel.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnLeaveChannel(RtcConnection connection, RtcStats stats) {}

            +

            + public virtual void OnLeaveChannel(RtcStats stats)

            public void onLeaveChannel(RtcStats stats) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)stats; } on(evt: EngineEvents.LEAVE_CHANNEL, cb: (stats: RtcStats) => void): this; - public virtual void OnLeaveChannel(RtcStats stats) RtcStatsCallback? leaveChannel;

            diff --git a/en-US/dita/RTC/API/callback_onlocalaudiostatechanged.dita b/en-US/dita/RTC/API/callback_onlocalaudiostatechanged.dita index 4e507112fde..2b1ab0eb429 100644 --- a/en-US/dita/RTC/API/callback_onlocalaudiostatechanged.dita +++ b/en-US/dita/RTC/API/callback_onlocalaudiostatechanged.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnLocalAudioStateChanged(RtcConnection connection, LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error) {}

            +

            + public virtual void OnLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error)

            public void onLocalAudioStateChanged( LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error) {} @@ -25,7 +29,6 @@ state: number, error: number ) => void): this; - public virtual void OnLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error) LocalAudioStateCallback? localAudioStateChanged;

            diff --git a/en-US/dita/RTC/API/callback_onlocalaudiostats.dita b/en-US/dita/RTC/API/callback_onlocalaudiostats.dita index 34d7cc7ed2b..ec64d344fd1 100644 --- a/en-US/dita/RTC/API/callback_onlocalaudiostats.dita +++ b/en-US/dita/RTC/API/callback_onlocalaudiostats.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnLocalAudioStats(RtcConnection connection, LocalAudioStats stats) {}

            +

            + public virtual void OnLocalAudioStats(LocalAudioStats stats)

            public void onLocalAudioStats(LocalAudioStats stats) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)stats; } on(evt: EngineEvents.LOCAL_AUDIO_STATS, cb: (stats: LocalAudioStats) => void): this; - public virtual void OnLocalAudioStats(LocalAudioStats stats) LocalAudioStatsCallback? localAudioStats;

            diff --git a/en-US/dita/RTC/API/callback_onlocaluserregistered.dita b/en-US/dita/RTC/API/callback_onlocaluserregistered.dita index 39c1d727fef..a4d2f07a90d 100644 --- a/en-US/dita/RTC/API/callback_onlocaluserregistered.dita +++ b/en-US/dita/RTC/API/callback_onlocaluserregistered.dita @@ -13,9 +13,11 @@

            - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalUserRegisteredWithUserId:(NSUInteger)uid userAccount:(NSString * _Nonnull)userAccount;

            + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalUserRegisteredWithUserId:(NSUInteger)uid userAccount:(NSString * _Nonnull)userAccount; + public virtual void OnLocalUserRegistered(uint uid, string userAccount) {}

            - - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didRegisteredLocalUser:(NSString* _Nonnull)userAccount withUid:(NSUInteger)uid;

            + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didRegisteredLocalUser:(NSString* _Nonnull)userAccount withUid:(NSUInteger)uid; + public virtual void OnLocalUserRegistered(uint uid, string userAccount)

            public void onLocalUserRegistered(int uid, String userAccount) {} virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { @@ -24,9 +26,8 @@ } on(evt: EngineEvents.LOCAL_USER_REGISTERED, cb: ( uid: number, - userAccount: string) => void + userAccount: string) => void ): this; - public virtual void OnLocalUserRegistered(uint uid, string userAccount) UserAccountCallback? localUserRegistered;

            diff --git a/en-US/dita/RTC/API/callback_onlocalvideostatechanged.dita b/en-US/dita/RTC/API/callback_onlocalvideostatechanged.dita index 1a4a42348d7..0c2fd6787cf 100644 --- a/en-US/dita/RTC/API/callback_onlocalvideostatechanged.dita +++ b/en-US/dita/RTC/API/callback_onlocalvideostatechanged.dita @@ -20,7 +20,8 @@ virtual void onLocalVideoStateChanged(LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error) { (void)state; (void)error; - }

            + } + public virtual void OnLocalVideoStateChanged(RtcConnection connection, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR errorCode) {}

            public void onLocalVideoStateChanged(int localVideoState, int error) { } @@ -30,14 +31,14 @@ LOCAL_VIDEO_STREAM_ERROR error) { (void)localVideoState; (void)error; - }

            + } + public virtual void OnLocalVideoStateChanged(LOCAL_VIDEO_STREAM_STATE localVideoState, + LOCAL_VIDEO_STREAM_ERROR error)

            on(evt: EngineEvents.LOCAL_VIDEO_STATE_CHANGED, cb: ( localVideoState: number, error: number ) => void): this; - public virtual void OnLocalVideoStateChanged(LOCAL_VIDEO_STREAM_STATE localVideoState, - LOCAL_VIDEO_STREAM_ERROR error) LocalVideoStateCallback? localVideoStateChanged;

            diff --git a/en-US/dita/RTC/API/callback_onlocalvideostats.dita b/en-US/dita/RTC/API/callback_onlocalvideostats.dita index 5e85afba408..d48689a26af 100644 --- a/en-US/dita/RTC/API/callback_onlocalvideostats.dita +++ b/en-US/dita/RTC/API/callback_onlocalvideostats.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnLocalVideoStats(RtcConnection connection, LocalVideoStats stats) {}

            +

            + public virtual void OnLocalVideoStats(LocalVideoStats stats)

            public void onLocalVideoStats(LocalVideoStats stats) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)stats; } on(evt: EngineEvents.LOCAL_VIDEO_STATS, cb: (stats: LocalVideoStats) => void): this; - public virtual void OnLocalVideoStats(LocalVideoStats stats) LocalVideoStatsCallback? localVideoStats;

            diff --git a/en-US/dita/RTC/API/callback_onlocalvoicepitchinhz.dita b/en-US/dita/RTC/API/callback_onlocalvoicepitchinhz.dita index f6bac0ab987..c0d0c7e1775 100644 --- a/en-US/dita/RTC/API/callback_onlocalvoicepitchinhz.dita +++ b/en-US/dita/RTC/API/callback_onlocalvoicepitchinhz.dita @@ -13,9 +13,8 @@

            - - OnLocalVoicePitchInHz? localVoicePitchInHz; -

            + + OnLocalVoicePitchInHz? localVoicePitchInHz;

            After the local audio capture is enabled and you call , the SDK triggers the callback at the time interval set in . diff --git a/en-US/dita/RTC/API/callback_onnetworkquality.dita b/en-US/dita/RTC/API/callback_onnetworkquality.dita index ab0479332e6..942d15d6697 100644 --- a/en-US/dita/RTC/API/callback_onnetworkquality.dita +++ b/en-US/dita/RTC/API/callback_onnetworkquality.dita @@ -13,6 +13,10 @@

            +

            + public virtual void OnNetworkQuality(RtcConnection connection, uint remoteUid, int txQuality, int rxQuality) {}

            +

            + public virtual void OnNetworkQuality(uint uid, int txQuality, int rxQuality)

            public void onNetworkQuality(int uid, int txQuality, int rxQuality) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -30,10 +34,8 @@ rxquality: QUALITY_TYPE ) => void ): this; - public virtual void OnNetworkQuality(uint uid, int txQuality, int rxQuality) - NetworkQualityWithUidCallback? networkQuality; -

            + NetworkQualityWithUidCallback? networkQuality;

            +

            + public virtual void OnNetworkTypeChanged(RtcConnection connection, NETWORK_TYPE type) {}

            +

            + public virtual void OnNetworkTypeChanged(NETWORK_TYPE type)

            public void onNetworkTypeChanged(int type) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkTypeChanged:(AgoraNetworkType)type; @@ -19,7 +23,6 @@ (void)type; } on(evt: EngineEvents.NETWORK_TYPE_CHANGED, cb: (type: NETWORK_TYPE) => void): this; - public virtual void OnNetworkTypeChanged(NETWORK_TYPE type) NetworkTypeCallback? networkTypeChanged;

            diff --git a/en-US/dita/RTC/API/callback_onpermissionerror.dita b/en-US/dita/RTC/API/callback_onpermissionerror.dita index c81ad6d1b48..35eaf7118de 100644 --- a/en-US/dita/RTC/API/callback_onpermissionerror.dita +++ b/en-US/dita/RTC/API/callback_onpermissionerror.dita @@ -19,7 +19,7 @@ (void)permissionType; } - + public virtual void OnPermissionError(PERMISSION_TYPE permissionType) {}

            diff --git a/en-US/dita/RTC/API/callback_onproxyconnected.dita b/en-US/dita/RTC/API/callback_onproxyconnected.dita index 7474864346a..93c8a847fb0 100644 --- a/en-US/dita/RTC/API/callback_onproxyconnected.dita +++ b/en-US/dita/RTC/API/callback_onproxyconnected.dita @@ -14,12 +14,12 @@

            virtual void onProxyConnected(IChannel* rtcChannel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) { -(void)rtcChannel; -(void)uid; -(void)proxyType; -(void)localProxyIp; -(void)elapsed; -} + (void)rtcChannel; + (void)uid; + (void)proxyType; + (void)localProxyIp; + (void)elapsed; + } public virtual void OnProxyConnected(string channel, uint uid, PROXY_TYPE proxyType, string localProxyIp, int elapsed) diff --git a/en-US/dita/RTC/API/callback_onrecorderinfoupdated.dita b/en-US/dita/RTC/API/callback_onrecorderinfoupdated.dita index 8c7928e4347..997c3656f83 100644 --- a/en-US/dita/RTC/API/callback_onrecorderinfoupdated.dita +++ b/en-US/dita/RTC/API/callback_onrecorderinfoupdated.dita @@ -15,11 +15,11 @@

            - + virtual void onRecorderInfoUpdated(const RecorderInfo& info){}; - OnRecorderInfoUpdated? onRecorderInfoUpdated;

            +

            After you successfully register this callback and enable the local audio and video recording, the SDK periodically triggers this callback according to the value of recorderInfoUpdateInterval you set in . This callback reports the filename, duration, and size of the current recording file.

            diff --git a/en-US/dita/RTC/API/callback_onrecorderstatechanged.dita b/en-US/dita/RTC/API/callback_onrecorderstatechanged.dita index 8899321df39..a73827ec94e 100644 --- a/en-US/dita/RTC/API/callback_onrecorderstatechanged.dita +++ b/en-US/dita/RTC/API/callback_onrecorderstatechanged.dita @@ -15,7 +15,7 @@

            - + virtual void onRecorderStateChanged(RecorderState state, RecorderErrorCode error) = 0; diff --git a/en-US/dita/RTC/API/callback_onrejoinchannelsuccess.dita b/en-US/dita/RTC/API/callback_onrejoinchannelsuccess.dita index c43cd016697..cf1f053a751 100644 --- a/en-US/dita/RTC/API/callback_onrejoinchannelsuccess.dita +++ b/en-US/dita/RTC/API/callback_onrejoinchannelsuccess.dita @@ -12,6 +12,10 @@

            +

            + public virtual void OnRejoinChannelSuccess(RtcConnection connection, int elapsed) {}

            +

            + public virtual void OnRejoinChannelSuccess(string channel, uint uid, int elapsed)

            public void onRejoinChannelSuccess(String channel, int uid, int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -26,7 +30,6 @@ uid: number, elapsed: number) => void ): this; - public virtual void OnRejoinChannelSuccess(string channel, uint uid, int elapsed) UidWithElapsedAndChannelCallback? rejoinChannelSuccess;

            diff --git a/en-US/dita/RTC/API/callback_onremoteaudiostatechanged.dita b/en-US/dita/RTC/API/callback_onremoteaudiostatechanged.dita index 0ecad0b1706..c11bebc80b9 100644 --- a/en-US/dita/RTC/API/callback_onremoteaudiostatechanged.dita +++ b/en-US/dita/RTC/API/callback_onremoteaudiostatechanged.dita @@ -12,12 +12,17 @@
            -

            - public void onRemoteAudioStateChanged( +

            + public virtual void OnRemoteAudioStateChanged(RtcConnection connection, uint remoteUid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed) {}

            +

            + public virtual void OnRemoteAudioStateChanged(uint uid, REMOTE_AUDIO_STATE state, + REMOTE_AUDIO_STATE_REASON reason, int elapsed)

            +

            + public void onRemoteAudioStateChanged( int uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStateChangedOfUid:(NSUInteger)uid state:(AgoraAudioRemoteState)state reason:(AgoraAudioRemoteReason)reason elapsed:(NSInteger)elapsed; - virtual void onRemoteAudioStateChanged(uid_t uid, + virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed) { @@ -26,17 +31,15 @@ (void)reason; (void)elapsed; } - on(evt: EngineEvents.REMOTE_AUDIO_STATE_CHANGED, cb: ( + on(evt: EngineEvents.REMOTE_AUDIO_STATE_CHANGED, cb: ( uid: number, state: REMOTE_AUDIO_STATE, reason: REMOTE_AUDIO_STATE_REASON, elapsed: number ) => void): this; - public virtual void OnRemoteAudioStateChanged(uint uid, REMOTE_AUDIO_STATE state, - REMOTE_AUDIO_STATE_REASON reason, int elapsed) - - RemoteAudioStateCallback? remoteAudioStateChanged;

            -
            + + RemoteAudioStateCallback? remoteAudioStateChanged;

            +
            diff --git a/en-US/dita/RTC/API/callback_onremoteaudiostats.dita b/en-US/dita/RTC/API/callback_onremoteaudiostats.dita index aec239b6eb3..4f41cb5e088 100644 --- a/en-US/dita/RTC/API/callback_onremoteaudiostats.dita +++ b/en-US/dita/RTC/API/callback_onremoteaudiostats.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnRemoteAudioStats(RtcConnection connection, RemoteAudioStats stats) {}

            +

            + public virtual void OnRemoteAudioStats(RemoteAudioStats stats)

            public void onRemoteAudioStats(RemoteAudioStats stats) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)stats; } on(evt: EngineEvents.REMOTE_AUDIO_STATS, cb: (stats: RemoteAudioStats) => void): this; - public virtual void OnRemoteAudioStats(RemoteAudioStats stats) RemoteAudioStatsCallback? remoteAudioStats;

            diff --git a/en-US/dita/RTC/API/callback_onremoteaudiotransportstats.dita b/en-US/dita/RTC/API/callback_onremoteaudiotransportstats.dita index 60a13d9d32d..170f284d527 100644 --- a/en-US/dita/RTC/API/callback_onremoteaudiotransportstats.dita +++ b/en-US/dita/RTC/API/callback_onremoteaudiotransportstats.dita @@ -13,6 +13,10 @@
            +

            + public virtual void OnRemoteAudioTransportStats(RtcConnection connection, uint remoteUid, UInt16 delay, UInt16 lost, UInt16 rxKBitRate) {}

            +

            + public virtual void OnRemoteAudioTransportStats(uint uid, ushort delay, ushort lost, ushort rxKBitRate)

            public void onRemoteAudioTransportStats(int uid, int delay, int lost, int rxKBitRate) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -35,7 +39,6 @@ lost: number, rxKBitRate: number) => void ): this; - public virtual void OnRemoteAudioTransportStats(uint uid, ushort delay, ushort lost, ushort rxKBitRate) TransportStatsCallback? remoteAudioTransportStats;

            diff --git a/en-US/dita/RTC/API/callback_onremotesubscribefallbacktoaudioonly.dita b/en-US/dita/RTC/API/callback_onremotesubscribefallbacktoaudioonly.dita index aec9eb44593..1857f6a3a70 100644 --- a/en-US/dita/RTC/API/callback_onremotesubscribefallbacktoaudioonly.dita +++ b/en-US/dita/RTC/API/callback_onremotesubscribefallbacktoaudioonly.dita @@ -12,6 +12,8 @@
            +

            +

            public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine diff --git a/en-US/dita/RTC/API/callback_onremotevideostatechanged.dita b/en-US/dita/RTC/API/callback_onremotevideostatechanged.dita index 1cb3c5a6055..33706c0e087 100644 --- a/en-US/dita/RTC/API/callback_onremotevideostatechanged.dita +++ b/en-US/dita/RTC/API/callback_onremotevideostatechanged.dita @@ -13,6 +13,11 @@

            +

            + public virtual void OnRemoteVideoStateChanged(RtcConnection connection, uint remoteUid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) {}

            +

            + public virtual void OnRemoteVideoStateChanged(uint uid, REMOTE_VIDEO_STATE state, + REMOTE_VIDEO_STATE_REASON reason, int elapsed)

            public void onRemoteVideoStateChanged(int uid, int state, int reason, int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -33,8 +38,6 @@ elapsed: number ) => void ): this; - public virtual void OnRemoteVideoStateChanged(uint uid, REMOTE_VIDEO_STATE state, - REMOTE_VIDEO_STATE_REASON reason, int elapsed) RemoteVideoStateCallback? remoteVideoStateChanged;

            diff --git a/en-US/dita/RTC/API/callback_onremotevideostats.dita b/en-US/dita/RTC/API/callback_onremotevideostats.dita index f1eacd244f3..afdac77cc75 100644 --- a/en-US/dita/RTC/API/callback_onremotevideostats.dita +++ b/en-US/dita/RTC/API/callback_onremotevideostats.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnRemoteVideoStats(RtcConnection connection, RemoteVideoStats stats) {}

            +

            + public virtual void OnRemoteVideoStats(RemoteVideoStats stats)

            public void onRemoteVideoStats(RemoteVideoStats stats) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)stats; } on(evt: EngineEvents.REMOTE_VIDEO_STATS, cb: (stats: RemoteVideoStats) => void): this; - public virtual void OnRemoteVideoStats(RemoteVideoStats stats) RemoteVideoStatsCallback? remoteVideoStats;

            diff --git a/en-US/dita/RTC/API/callback_onremotevideotransportstats.dita b/en-US/dita/RTC/API/callback_onremotevideotransportstats.dita index 21e2eb7f1be..fbd8951932e 100644 --- a/en-US/dita/RTC/API/callback_onremotevideotransportstats.dita +++ b/en-US/dita/RTC/API/callback_onremotevideotransportstats.dita @@ -13,6 +13,10 @@
            +

            + public virtual void OnRemoteVideoTransportStats(RtcConnection connection, uint remoteUid, UInt16 delay, UInt16 lost, UInt16 rxKBitRate) {}

            +

            + public virtual void OnRemoteVideoTransportStats(uint uid, ushort delay, ushort lost, ushort rxKBitRate)

            public void onRemoteVideoTransportStats(int uid, int delay, int lost, int rxKBitRate) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -35,7 +39,6 @@ lost: number, rxKBitRate: number) => void ): this; - public virtual void OnRemoteVideoTransportStats(uint uid, ushort delay, ushort lost, ushort rxKBitRate) TransportStatsCallback? remoteVideoTransportStats;

            diff --git a/en-US/dita/RTC/API/callback_onrequesttoken.dita b/en-US/dita/RTC/API/callback_onrequesttoken.dita index f14a078eaf0..2e8d2cbe0a5 100644 --- a/en-US/dita/RTC/API/callback_onrequesttoken.dita +++ b/en-US/dita/RTC/API/callback_onrequesttoken.dita @@ -12,12 +12,15 @@
            +

            + public virtual void OnRequestToken(RtcConnection connection) {}

            +

            + public virtual void OnRequestToken()

            public void onRequestToken() {} - (void)rtcEngineRequestToken:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onRequestToken() on(evt: EngineEvents.REQUEST_TOKEN, cb: () => void): this; - public virtual void OnRequestToken() EmptyCallback? requestToken;

            diff --git a/en-US/dita/RTC/API/callback_onrtcstats.dita b/en-US/dita/RTC/API/callback_onrtcstats.dita index e824cbf3441..b5f1debfe2c 100644 --- a/en-US/dita/RTC/API/callback_onrtcstats.dita +++ b/en-US/dita/RTC/API/callback_onrtcstats.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnRtcStats(RtcConnection connection, RtcStats stats) {}

            +

            + public virtual void OnRtcStats(RtcStats stats)

            public void onRtcStats(RtcStats stats) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)stats; } on(evt: EngineEvents.RTC_STATS, cb: (stats: RtcStats) => void): this; - public virtual void OnRtcStats(RtcStats stats) RtcStatsCallback? rtcStats;

            diff --git a/en-US/dita/RTC/API/callback_onrtmpstreamingevent.dita b/en-US/dita/RTC/API/callback_onrtmpstreamingevent.dita index b28e992fbf8..483f748223f 100644 --- a/en-US/dita/RTC/API/callback_onrtmpstreamingevent.dita +++ b/en-US/dita/RTC/API/callback_onrtmpstreamingevent.dita @@ -28,7 +28,7 @@ ): this; public virtual void OnRtmpStreamingEvent(string url, RTMP_STREAMING_EVENT eventCode) - RtmpStreamingEventCallback? rtmpStreamingEvent;

            + RtmpStreamingEventCallback? rtmpStreamingEvent;

            diff --git a/en-US/dita/RTC/API/callback_onrtmpstreamingstatechanged.dita b/en-US/dita/RTC/API/callback_onrtmpstreamingstatechanged.dita index d0bd2b9ffb6..ff0cc3f8d2a 100644 --- a/en-US/dita/RTC/API/callback_onrtmpstreamingstatechanged.dita +++ b/en-US/dita/RTC/API/callback_onrtmpstreamingstatechanged.dita @@ -14,19 +14,9 @@

            - public void onRtmpStreamingStateChanged( - String url, RTMP_STREAM_PUBLISH_STATE state, RTMP_STREAM_PUBLISH_ERROR errCode) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine - rtmpStreamingChangedToState:(NSString * _Nonnull)url - state:(AgoraRtmpStreamPublishState)state - errCode:(AgoraRtmpStreamPublishError)errCode; - virtual void onRtmpStreamingStateChanged(const char *url, - RTMP_STREAM_PUBLISH_STATE state, - RTMP_STREAM_PUBLISH_ERROR errCode) { - (void) url; - (void) state; - (void) errCode; - } + + + on( evt: EngineEvents.RTMP_STREAMING_STATE_CHANGED, cb: ( @@ -38,8 +28,7 @@ public virtual void OnRtmpStreamingStateChanged(string url, RTMP_STREAM_PUBLISH_STATE state, RTMP_STREAM_PUBLISH_ERROR errCode) - RtmpStreamingStateCallback? rtmpStreamingStateChanged; -

            + RtmpStreamingStateCallback? rtmpStreamingStateChanged;

            When the media push state changes, the SDK triggers this callback to report the current state and the reason why the state has changed. When exceptions occur, you can troubleshoot issues by referring to the detailed error descriptions in the error code parameter.

            diff --git a/en-US/dita/RTC/API/callback_onstreammessage.dita b/en-US/dita/RTC/API/callback_onstreammessage.dita index fe5f0c9ac01..243b0128048 100644 --- a/en-US/dita/RTC/API/callback_onstreammessage.dita +++ b/en-US/dita/RTC/API/callback_onstreammessage.dita @@ -19,14 +19,16 @@ (void)data; (void)length; (void)sentTs; -}

            +} + public virtual void OnStreamMessage(RtcConnection connection, uint remoteUid, int streamId, byte[] data, uint length, UInt64 sentTs) {}

            virtual void onStreamMessage(uid_t uid, int streamId, const char* data, size_t length) { (void)uid; (void)streamId; (void)data; (void)length; -}

            +} + public virtual void OnStreamMessage(uint uid, int streamId, byte[] data, uint length)

            public void onStreamMessage(int uid, int streamId, byte[] data) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -37,7 +39,6 @@ evt: EngineEvents.STREAM_MESSAGE, cb: (uid: number, streamId: number, data: string) => void ): this; - public virtual void OnStreamMessage(uint uid, int streamId, byte[] data, uint length) StreamMessageCallback? streamMessage;

            diff --git a/en-US/dita/RTC/API/callback_onstreammessageerror.dita b/en-US/dita/RTC/API/callback_onstreammessageerror.dita index d89aa035f3b..1140b9a768a 100644 --- a/en-US/dita/RTC/API/callback_onstreammessageerror.dita +++ b/en-US/dita/RTC/API/callback_onstreammessageerror.dita @@ -21,7 +21,8 @@ (void)missed; (void)cached; } -

            + + public virtual void OnStreamMessageError(RtcConnection connection, uint remoteUid, int streamId, int code, int missed, int cached) {}

            virtual void onStreamMessageError(uid_t uid, int streamId, int code, int missed, int cached) { (void)uid; diff --git a/en-US/dita/RTC/API/callback_ontokenprivilegewillexpire.dita b/en-US/dita/RTC/API/callback_ontokenprivilegewillexpire.dita index c0a59120c0e..4beacab52f2 100644 --- a/en-US/dita/RTC/API/callback_ontokenprivilegewillexpire.dita +++ b/en-US/dita/RTC/API/callback_ontokenprivilegewillexpire.dita @@ -12,6 +12,10 @@

            +

            + public virtual void OnTokenPrivilegeWillExpire(RtcConnection connection, string token) {}

            +

            + public virtual void OnTokenPrivilegeWillExpire(string token)

            public void onTokenPrivilegeWillExpire(String token) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -20,7 +24,6 @@ (void)token; } on(evt: EngineEvents.TOKEN_PRIVILEGE_WILL_EXPIRE, cb: (token: string) => void): this; - public virtual void OnTokenPrivilegeWillExpire(string token) TokenCallback? tokenPrivilegeWillExpire;

            diff --git a/en-US/dita/RTC/API/callback_onuplinknetworkinfoupdated.dita b/en-US/dita/RTC/API/callback_onuplinknetworkinfoupdated.dita index 7d5177f765b..21c8479b287 100644 --- a/en-US/dita/RTC/API/callback_onuplinknetworkinfoupdated.dita +++ b/en-US/dita/RTC/API/callback_onuplinknetworkinfoupdated.dita @@ -14,13 +14,13 @@

            public void onUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {} - - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine uplinkNetworkInfoUpdate:(AgoraUplinkNetworkInfo *_Nonnull)networkInfo; virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) { (void)info; } - + public virtual void OnUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {}

            diff --git a/en-US/dita/RTC/API/callback_onuploadlogresult.dita b/en-US/dita/RTC/API/callback_onuploadlogresult.dita index 35afd2e8ee6..6063169a26d 100644 --- a/en-US/dita/RTC/API/callback_onuploadlogresult.dita +++ b/en-US/dita/RTC/API/callback_onuploadlogresult.dita @@ -15,8 +15,8 @@

            - virtual void onUploadLogResult(const char* requestId, - bool success, + virtual void onUploadLogResult(const char* requestId, + bool success, UPLOAD_ERROR_REASON reason) { (void)requestId; (void)success; diff --git a/en-US/dita/RTC/API/callback_onuserenablelocalvideo.dita b/en-US/dita/RTC/API/callback_onuserenablelocalvideo.dita index 9b07ea8aef6..435c73afb51 100644 --- a/en-US/dita/RTC/API/callback_onuserenablelocalvideo.dita +++ b/en-US/dita/RTC/API/callback_onuserenablelocalvideo.dita @@ -12,6 +12,10 @@

            +

            + public virtual void OnUserEnableLocalVideo(RtcConnection connection, uint remoteUid, bool enabled) {}

            +

            + public virtual void OnUserEnableLocalVideo(uint uid, bool enabled)

            public void onUserEnableLocalVideo(int uid, boolean enabled) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -25,7 +29,6 @@ uid: number, enabled: boolean) => void ): this; - public virtual void OnUserEnableLocalVideo(uint uid, bool enabled) UidWithEnabledCallback? userEnableLocalVideo;

            diff --git a/en-US/dita/RTC/API/callback_onuserenablevideo.dita b/en-US/dita/RTC/API/callback_onuserenablevideo.dita index 6b391495eec..65faca74863 100644 --- a/en-US/dita/RTC/API/callback_onuserenablevideo.dita +++ b/en-US/dita/RTC/API/callback_onuserenablevideo.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnUserEnableVideo(RtcConnection connection, uint remoteUid, bool enabled) {}

            +

            + public virtual void OnUserEnableVideo(uint uid, bool enabled)

            public void onUserEnableVideo(int uid, boolean enabled) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -22,7 +26,6 @@ (void)enabled; } on(evt: EngineEvents.USER_ENABLE_VIDEO, cb: (uid: number, enabled: boolean) => void): this; - public virtual void OnUserEnableVideo(uint uid, bool enabled) UidWithEnabledCallback? userEnableVideo;

            diff --git a/en-US/dita/RTC/API/callback_onuserinfoupdated.dita b/en-US/dita/RTC/API/callback_onuserinfoupdated.dita index 60485bdad4e..10af21a6a73 100644 --- a/en-US/dita/RTC/API/callback_onuserinfoupdated.dita +++ b/en-US/dita/RTC/API/callback_onuserinfoupdated.dita @@ -13,9 +13,11 @@

            - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didUserInfoUpdatedWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo* _Nonnull)userInfo;

            + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didUserInfoUpdatedWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo* _Nonnull)userInfo;

            + public virtual void OnUserInfoUpdated(uint uid, UserInfo info)

            - - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didUpdatedUserInfo:(AgoraUserInfo* _Nonnull)userInfo withUid:(NSUInteger)uid;

            + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didUpdatedUserInfo:(AgoraUserInfo* _Nonnull)userInfo withUid:(NSUInteger)uid;

            + public virtual void OnUserInfoUpdated(uint uid, UserInfo info)

            public void onUserInfoUpdated(int uid, UserInfo userInfo) {} virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) { @@ -26,7 +28,6 @@ evt: EngineEvents.USER_INFO_UPDATED, cb: (uid: number, userInfo: UserInfo) => void ): this; - public virtual void OnUserInfoUpdated(uint uid, UserInfo info) UserInfoCallback? userInfoUpdated;

            diff --git a/en-US/dita/RTC/API/callback_onuserjoined.dita b/en-US/dita/RTC/API/callback_onuserjoined.dita index 35ba1056d93..83726afaf42 100644 --- a/en-US/dita/RTC/API/callback_onuserjoined.dita +++ b/en-US/dita/RTC/API/callback_onuserjoined.dita @@ -5,6 +5,10 @@ Occurs when a remote user (COMMUNICATION)/ host (LIVE_BROADCASTING) joins the channel.
            +

            + public virtual void OnUserJoined(RtcConnection connection, uint remoteUid, int elapsed) {}

            +

            + public virtual void OnUserJoined(uint uid, int elapsed)

            public void onUserJoined(int uid, int elapsed) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -14,7 +18,6 @@ (void)elapsed; } on(evt: EngineEvents.USER_JOINED, cb: (uid: number, elapsed: number) => void): this; - public virtual void OnUserJoined(uint uid, int elapsed) UidWithElapsedCallback? userJoined;

            diff --git a/en-US/dita/RTC/API/callback_onusermutevideo.dita b/en-US/dita/RTC/API/callback_onusermutevideo.dita index b02530bd385..48486aa4990 100644 --- a/en-US/dita/RTC/API/callback_onusermutevideo.dita +++ b/en-US/dita/RTC/API/callback_onusermutevideo.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnUserMuteVideo(RtcConnection connection, uint remoteUid, bool muted) {}

            +

            + public virtual void OnUserMuteVideo(uint uid, bool muted)

            public void onUserMuteVideo(int uid, boolean muted) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoMuted:(BOOL)muted byUid:(NSUInteger)uid @@ -20,7 +24,6 @@ (void)muted; } on(evt: EngineEvents.USER_MUTE_VIDEO, cb: (uid: number, muted: boolean) => void): this; - public virtual void OnUserMuteVideo(uint uid, bool muted) UidWithMutedCallback? userMuteVideo;

            diff --git a/en-US/dita/RTC/API/callback_onuseroffline.dita b/en-US/dita/RTC/API/callback_onuseroffline.dita index 08366ff88a6..bef70daa49e 100644 --- a/en-US/dita/RTC/API/callback_onuseroffline.dita +++ b/en-US/dita/RTC/API/callback_onuseroffline.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnUserOffline(RtcConnection connection, uint remoteUid, USER_OFFLINE_REASON_TYPE reason) {}

            +

            + public virtual void OnUserOffline(uint uid, USER_OFFLINE_REASON_TYPE reason)

            public void onUserOffline(int uid, int reason) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -25,7 +29,6 @@ evt: EngineEvents.USER_OFFLINE, cb: (uid: number, reason: USER_OFFLINE_REASON_TYPE) => void ): this; - public virtual void OnUserOffline(uint uid, USER_OFFLINE_REASON_TYPE reason) UserOfflineCallback? userOffline;

            diff --git a/en-US/dita/RTC/API/callback_onvideosizechanged.dita b/en-US/dita/RTC/API/callback_onvideosizechanged.dita index 6bc2198057e..06d741ae702 100644 --- a/en-US/dita/RTC/API/callback_onvideosizechanged.dita +++ b/en-US/dita/RTC/API/callback_onvideosizechanged.dita @@ -12,6 +12,10 @@
            +

            + public virtual void OnVideoSizeChanged(RtcConnection connection, uint uid, int width, int height, int rotation) {}

            +

            + public virtual void OnVideoSizeChanged(uint uid, int width, int height, int rotation)

            public void onVideoSizeChanged(int uid, int width, int height, int rotation) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine @@ -31,7 +35,6 @@ evt: EngineEvents.VIDEO_SIZE_CHANGED, cb: (uid: number, width: number, height: number, rotation: number) => void ): this; - public virtual void OnVideoSizeChanged(uint uid, int width, int height, int rotation) VideoSizeCallback? videoSizeChanged;

            diff --git a/en-US/dita/RTC/API/class_agorafacepositioninfo.dita b/en-US/dita/RTC/API/class_agorafacepositioninfo.dita index 82eb9e4bf2c..76be176b65e 100644 --- a/en-US/dita/RTC/API/class_agorafacepositioninfo.dita +++ b/en-US/dita/RTC/API/class_agorafacepositioninfo.dita @@ -20,10 +20,10 @@ @property(assign, nonatomic) NSInteger height NS_SWIFT_NAME(height); @property(assign, nonatomic) NSInteger distance NS_SWIFT_NAME(distance); @end - - - - + + + + class FacePositionInfo { int x; @@ -40,10 +40,10 @@ this.distance, ); - factory FacePositionInfo.fromJson(Map<String, dynamic> json) => + factory FacePositionInfo.fromJson(Map<String, dynamic> json) => _$FacePositionInfoFromJson(json); - Map<String, dynamic> toJson() => _$FacePositionInfoToJson(this); + Map<String, dynamic> toJson() => _$FacePositionInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_agorarhythmplayerconfig.dita b/en-US/dita/RTC/API/class_agorarhythmplayerconfig.dita index ee272ea2132..e31ff4352dd 100644 --- a/en-US/dita/RTC/API/class_agorarhythmplayerconfig.dita +++ b/en-US/dita/RTC/API/class_agorarhythmplayerconfig.dita @@ -57,10 +57,10 @@ @property(assign, nonatomic) NSUInteger beatsPerMinute; @property(assign, nonatomic) BOOL publish; @end - - - - + + + + class RhythmPlayerConfig { @JsonKey(includeIfNull: false) @@ -78,10 +78,10 @@ this.publish, }); - factory RhythmPlayerConfig.fromJson(Map<String, dynamic> json) => + factory RhythmPlayerConfig.fromJson(Map<String, dynamic> json) => _$RhythmPlayerConfigFromJson(json); - Map<String, dynamic> toJson() => _$RhythmPlayerConfigToJson(this); + Map<String, dynamic> toJson() => _$RhythmPlayerConfigToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_agorartcdeviceinfo.dita b/en-US/dita/RTC/API/class_agorartcdeviceinfo.dita index 8b12746c5bd..5e49a906ea9 100644 --- a/en-US/dita/RTC/API/class_agorartcdeviceinfo.dita +++ b/en-US/dita/RTC/API/class_agorartcdeviceinfo.dita @@ -6,18 +6,18 @@

            - + __attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; @property(copy, nonatomic) NSString *_Nullable deviceId; @property(copy, nonatomic) NSString *_Nullable deviceName; @end - - - - -

            + + + + +

            diff --git a/en-US/dita/RTC/API/class_audioencodedframeobserverconfig.dita b/en-US/dita/RTC/API/class_audioencodedframeobserverconfig.dita index 488dfc5e27a..4fb307e77bb 100644 --- a/en-US/dita/RTC/API/class_audioencodedframeobserverconfig.dita +++ b/en-US/dita/RTC/API/class_audioencodedframeobserverconfig.dita @@ -45,9 +45,9 @@ : postionType(AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK), encodingType(AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM){} }; - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_audioexternalsourceposition.dita b/en-US/dita/RTC/API/class_audioexternalsourceposition.dita index 534e36e646d..569eb762c26 100644 --- a/en-US/dita/RTC/API/class_audioexternalsourceposition.dita +++ b/en-US/dita/RTC/API/class_audioexternalsourceposition.dita @@ -21,10 +21,10 @@ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS = 1, AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS = 2, }; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/class_audiofileinfo.dita b/en-US/dita/RTC/API/class_audiofileinfo.dita index f82f01d7ff3..5b4d021e0a1 100644 --- a/en-US/dita/RTC/API/class_audiofileinfo.dita +++ b/en-US/dita/RTC/API/class_audiofileinfo.dita @@ -6,15 +6,15 @@

            - - - - + + + + public struct AudioFileInfo { public string filePath; public int durationMs; }; - + class AudioFileInfo { @JsonKey() @@ -28,10 +28,10 @@ required this.durationMs, }); - factory AudioFileInfo.fromJson(Map<String, dynamic> json) => + factory AudioFileInfo.fromJson(Map<String, dynamic> json) => _$AudioFileInfoFromJson(json); - Map<String, dynamic> toJson() => _$AudioFileInfoToJson(this); + Map<String, dynamic> toJson() => _$AudioFileInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_audioframe.dita b/en-US/dita/RTC/API/class_audioframe.dita index 1f5142d1713..4dcd39628ab 100644 --- a/en-US/dita/RTC/API/class_audioframe.dita +++ b/en-US/dita/RTC/API/class_audioframe.dita @@ -177,9 +177,9 @@ public long renderTimeMs { set; get; } public int avsync_type { set; get; } } - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_audiorecordingconfiguration.dita b/en-US/dita/RTC/API/class_audiorecordingconfiguration.dita index b425d4bc8c0..0135d385e02 100644 --- a/en-US/dita/RTC/API/class_audiorecordingconfiguration.dita +++ b/en-US/dita/RTC/API/class_audiorecordingconfiguration.dita @@ -93,7 +93,7 @@ recordingPosition: AUDIO_RECORDING_POSITION; recordingSampleRate: number; } - + class AudioRecordingConfiguration { String filePath; @@ -114,10 +114,10 @@ this.recordingSampleRate, }); - factory AudioRecordingConfiguration.fromJson(Map<String, dynamic> json) => + factory AudioRecordingConfiguration.fromJson(Map<String, dynamic> json) => _$AudioRecordingConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$AudioRecordingConfigurationToJson(this); + Map<String, dynamic> toJson() => _$AudioRecordingConfigurationToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_audiovolumeinfo.dita b/en-US/dita/RTC/API/class_audiovolumeinfo.dita index 3968100d6f9..1810585aa08 100644 --- a/en-US/dita/RTC/API/class_audiovolumeinfo.dita +++ b/en-US/dita/RTC/API/class_audiovolumeinfo.dita @@ -90,7 +90,7 @@ vad: number channelId: string } - + class AudioVolumeInfo { int uid; int volume; @@ -104,10 +104,10 @@ this.channelId, ); - factory AudioVolumeInfo.fromJson(Map<String, dynamic> json) => + factory AudioVolumeInfo.fromJson(Map<String, dynamic> json) => _$AudioVolumeInfoFromJson(json); - Map<String, dynamic> toJson() => _$AudioVolumeInfoToJson(this); + Map<String, dynamic> toJson() => _$AudioVolumeInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_beautyoptions.dita b/en-US/dita/RTC/API/class_beautyoptions.dita index 5ac4b459aa6..8f872ef2235 100644 --- a/en-US/dita/RTC/API/class_beautyoptions.dita +++ b/en-US/dita/RTC/API/class_beautyoptions.dita @@ -70,8 +70,8 @@ }

            - - + + struct BeautyOptions { enum LIGHTENING_CONTRAST_LEVEL { @@ -127,7 +127,7 @@ smoothnessLevel: number; rednessLevel: number; } - + class BeautyOptions { @JsonKey(includeIfNull: false) @@ -149,10 +149,10 @@ this.rednessLevel, }); - factory BeautyOptions.fromJson(Map<String, dynamic> json) => + factory BeautyOptions.fromJson(Map<String, dynamic> json) => _$BeautyOptionsFromJson(json); - Map<String, dynamic> toJson() => _$BeautyOptionsToJson(this); + Map<String, dynamic> toJson() => _$BeautyOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_cameracapturerconfiguration.dita b/en-US/dita/RTC/API/class_cameracapturerconfiguration.dita index 66aa91bb415..fec510e4c92 100644 --- a/en-US/dita/RTC/API/class_cameracapturerconfiguration.dita +++ b/en-US/dita/RTC/API/class_cameracapturerconfiguration.dita @@ -6,8 +6,8 @@

            - - + + struct CameraCapturerConfiguration { CAPTURER_OUTPUT_PREFERENCE preference; int captureWidth; @@ -66,7 +66,7 @@ captureWidth?: number; captureHeight?: number; } - + class CameraCapturerConfiguration { @JsonKey(includeIfNull: false) @@ -88,10 +88,10 @@ this.cameraDirection, }); - factory CameraCapturerConfiguration.fromJson(Map<String, dynamic> json) => + factory CameraCapturerConfiguration.fromJson(Map<String, dynamic> json) => _$CameraCapturerConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$CameraCapturerConfigurationToJson(this); + Map<String, dynamic> toJson() => _$CameraCapturerConfigurationToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_channel.dita b/en-US/dita/RTC/API/class_channel.dita index 6bddf367cae..b845923791a 100644 --- a/en-US/dita/RTC/API/class_channel.dita +++ b/en-US/dita/RTC/API/class_channel.dita @@ -6,13 +6,13 @@

            - - - + + + export type Channel = "" | string; - - -

            + + +

            The channel information. You can set it as one of the following values: diff --git a/en-US/dita/RTC/API/class_channelmediainfo.dita b/en-US/dita/RTC/API/class_channelmediainfo.dita index 70c4a6bc921..c739dd39666 100644 --- a/en-US/dita/RTC/API/class_channelmediainfo.dita +++ b/en-US/dita/RTC/API/class_channelmediainfo.dita @@ -68,7 +68,7 @@ token: string; uid: number; } - + class ChannelMediaInfo { String channelName; @@ -83,10 +83,10 @@ this.token, }); - factory ChannelMediaInfo.fromJson(Map<String, dynamic> json) => + factory ChannelMediaInfo.fromJson(Map<String, dynamic> json) => _$ChannelMediaInfoFromJson(json); - Map<String, dynamic> toJson() => _$ChannelMediaInfoToJson(this); + Map<String, dynamic> toJson() => _$ChannelMediaInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_channelmediaoptions.dita b/en-US/dita/RTC/API/class_channelmediaoptions.dita index f508e8d5bf3..d73bba8f1c7 100644 --- a/en-US/dita/RTC/API/class_channelmediaoptions.dita +++ b/en-US/dita/RTC/API/class_channelmediaoptions.dita @@ -6,8 +6,8 @@

            - - + + struct ChannelMediaOptions { bool autoSubscribeAudio; bool autoSubscribeVideo; @@ -44,7 +44,7 @@ autoSubscribeAudio: boolean; autoSubscribeVideo: boolean; } - + class ChannelMediaOptions { @JsonKey(includeIfNull: false) @@ -66,10 +66,10 @@ this.publishLocalVideo, }); - factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => + factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => _$ChannelMediaOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); + Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_channelmediarelayconfiguration.dita b/en-US/dita/RTC/API/class_channelmediarelayconfiguration.dita index 3616a5ac5e6..0b9cb44ed65 100644 --- a/en-US/dita/RTC/API/class_channelmediarelayconfiguration.dita +++ b/en-US/dita/RTC/API/class_channelmediarelayconfiguration.dita @@ -84,7 +84,7 @@ srcInfo: ChannelMediaInfo; destInfos: [ChannelMediaInfo]; } - + class ChannelMediaRelayConfiguration { ChannelMediaInfo srcInfo; @@ -95,10 +95,10 @@ this.destInfos, ); - factory ChannelMediaRelayConfiguration.fromJson(Map<String, dynamic> json) => + factory ChannelMediaRelayConfiguration.fromJson(Map<String, dynamic> json) => _$ChannelMediaRelayConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$ChannelMediaRelayConfigurationToJson(this); + Map<String, dynamic> toJson() => _$ChannelMediaRelayConfigurationToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_clientroleoptions.dita b/en-US/dita/RTC/API/class_clientroleoptions.dita index c4631be820c..6df855805fe 100644 --- a/en-US/dita/RTC/API/class_clientroleoptions.dita +++ b/en-US/dita/RTC/API/class_clientroleoptions.dita @@ -64,7 +64,7 @@ export interface ClientRoleOptions { audienceLatencyLevel: AUDIENCE_LATENCY_LEVEL_TYPE; } - + class ClientRoleOptions { @JsonKey(includeIfNull: false) AudienceLatencyLevelType? audienceLatencyLevel; @@ -73,10 +73,10 @@ this.audienceLatencyLevel, }); - factory ClientRoleOptions.fromJson(Map<String, dynamic> json) => + factory ClientRoleOptions.fromJson(Map<String, dynamic> json) => _$ClientRoleOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ClientRoleOptionsToJson(this); + Map<String, dynamic> toJson() => _$ClientRoleOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_cloudspatialaudioconfig.dita b/en-US/dita/RTC/API/class_cloudspatialaudioconfig.dita index fe26dabb110..4d544a6960e 100644 --- a/en-US/dita/RTC/API/class_cloudspatialaudioconfig.dita +++ b/en-US/dita/RTC/API/class_cloudspatialaudioconfig.dita @@ -40,15 +40,15 @@ unsigned int deployRegion; CloudSpatialAudioConfig() : rtcEngine(NULL), eventHandler(NULL), appId(NULL), deployRegion(SAE_DEPLOY_REGION_CN) {} }; - + public struct CloudSpatialAudioConfig { public IAgoraRtcEngine rtcEngine; public IAgoraRtcCloudSpatialAudioEngineEventHandler eventHandler; public string appId; public uint deployRegion; }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_colorenhanceoptions.dita b/en-US/dita/RTC/API/class_colorenhanceoptions.dita index 282d75de4c0..338647bab3e 100644 --- a/en-US/dita/RTC/API/class_colorenhanceoptions.dita +++ b/en-US/dita/RTC/API/class_colorenhanceoptions.dita @@ -6,13 +6,13 @@

            - - -

            + + +

            - - - + + + public class ColorEnhanceOptions { public ColorEnhanceOptions() @@ -28,8 +28,8 @@ public float strengthLevel { set; get; } public float skinProtectLevel { set; get; } }; - - + + class ColorEnhanceOptions { final double strengthLevel; @@ -38,10 +38,10 @@ const ColorEnhanceOptions( {this.strengthLevel = 0.0, this.skinProtectLevel = 1.0}); - factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) => + factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) => _$ColorEnhanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_datastreamconfig.dita b/en-US/dita/RTC/API/class_datastreamconfig.dita index 1c4f87c5f1f..9b978cad853 100644 --- a/en-US/dita/RTC/API/class_datastreamconfig.dita +++ b/en-US/dita/RTC/API/class_datastreamconfig.dita @@ -41,7 +41,7 @@ syncWithAudio: boolean; ordered: boolean; } - + class DataStreamConfig { bool syncWithAudio; @@ -52,10 +52,10 @@ this.ordered, ); - factory DataStreamConfig.fromJson(Map<String, dynamic> json) => + factory DataStreamConfig.fromJson(Map<String, dynamic> json) => _$DataStreamConfigFromJson(json); - Map<String, dynamic> toJson() => _$DataStreamConfigToJson(this); + Map<String, dynamic> toJson() => _$DataStreamConfigToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_device.dita b/en-US/dita/RTC/API/class_device.dita index b1cc67948aa..ffa2ed136d8 100644 --- a/en-US/dita/RTC/API/class_device.dita +++ b/en-US/dita/RTC/API/class_device.dita @@ -6,16 +6,16 @@

            - - - + + + export interface Device { deviceId: string; deviceName: string; } - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_deviceinfo.dita b/en-US/dita/RTC/API/class_deviceinfo.dita index 7c2fcf27253..f1c13c44483 100644 --- a/en-US/dita/RTC/API/class_deviceinfo.dita +++ b/en-US/dita/RTC/API/class_deviceinfo.dita @@ -14,20 +14,20 @@ this.isLowLatencyAudioSupported = isLowLatencyAudioSupported; } } - + struct DeviceInfo { bool isLowLatencyAudioSupported; DeviceInfo() : isLowLatencyAudioSupported(false) {} }; - + public struct DeviceInfo { public string deviceName { set; get; } public string deviceId { set; get; } } - -

            + +

            This class is for Android only.
            diff --git a/en-US/dita/RTC/API/class_echotestconfiguration.dita b/en-US/dita/RTC/API/class_echotestconfiguration.dita index 6860bce7380..88344ff98f9 100644 --- a/en-US/dita/RTC/API/class_echotestconfiguration.dita +++ b/en-US/dita/RTC/API/class_echotestconfiguration.dita @@ -6,8 +6,8 @@

            - - + + struct EchoTestConfiguration { view_t view; bool enableAudio; @@ -17,7 +17,7 @@ EchoTestConfiguration() : view(NULL), enableAudio(true), enableVideo(true), token(NULL), channelId(NULL) {} EchoTestConfiguration(view_t v, bool ea, bool ev, const char* t, const char* c) : view(v), enableAudio(ea), enableVideo(ev), token(t), channelId(c) {} }; - + public struct EchoTestConfiguration { public IntPtr view; public bool enableAudio; @@ -25,7 +25,7 @@ public string token; public string channelId; }; - + class EchoTestConfiguration { @JsonKey(includeIfNull: false) bool? enableAudio; @@ -46,10 +46,10 @@ this.channelId, }); - factory EchoTestConfiguration.fromJson(Map<String, dynamic> json) => + factory EchoTestConfiguration.fromJson(Map<String, dynamic> json) => _$EchoTestConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$EchoTestConfigurationToJson(this); + Map<String, dynamic> toJson() => _$EchoTestConfigurationToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_encodedaudioframeinfo.dita b/en-US/dita/RTC/API/class_encodedaudioframeinfo.dita index 7643f202163..25e0cd22913 100644 --- a/en-US/dita/RTC/API/class_encodedaudioframeinfo.dita +++ b/en-US/dita/RTC/API/class_encodedaudioframeinfo.dita @@ -6,7 +6,7 @@

            - + __attribute__((visibility("default"))) @interface AgoraEncodedAudioFrameInfo: NSObject @property (assign, nonatomic) NSInteger samplesPerChannel; @property (assign, nonatomic) NSInteger channels; @@ -31,7 +31,7 @@ int numberOfChannels; EncodedAudioFrameAdvancedSettings advancedSettings; }; - + public class EncodedAudioFrameInfo { public EncodedAudioFrameInfo() @@ -57,8 +57,8 @@ public int numberOfChannels { set; get; } public EncodedAudioFrameAdvancedSettings advancedSettings { set; get; } } - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_encodedvideoframeinfo.dita b/en-US/dita/RTC/API/class_encodedvideoframeinfo.dita index dc371e05acf..f1598e4811a 100644 --- a/en-US/dita/RTC/API/class_encodedvideoframeinfo.dita +++ b/en-US/dita/RTC/API/class_encodedvideoframeinfo.dita @@ -135,7 +135,7 @@ } } - + struct EncodedVideoFrameInfo { EncodedVideoFrameInfo() : codecType(VIDEO_CODEC_H264), diff --git a/en-US/dita/RTC/API/class_encryptionconfig.dita b/en-US/dita/RTC/API/class_encryptionconfig.dita index 4e3372c121d..ab690abdf9a 100644 --- a/en-US/dita/RTC/API/class_encryptionconfig.dita +++ b/en-US/dita/RTC/API/class_encryptionconfig.dita @@ -162,7 +162,7 @@ encryptionMode: ENCRYPTION_MODE; encryptionKey: string; } - + class EncryptionConfig { @JsonKey(includeIfNull: false) @@ -180,10 +180,10 @@ this.encryptionKdfSalt, }); - factory EncryptionConfig.fromJson(Map<String, dynamic> json) => + factory EncryptionConfig.fromJson(Map<String, dynamic> json) => _$EncryptionConfigFromJson(json); - Map<String, dynamic> toJson() => _$EncryptionConfigToJson(this); + Map<String, dynamic> toJson() => _$EncryptionConfigToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_externalvideoframe.dita b/en-US/dita/RTC/API/class_externalvideoframe.dita index cf5d238a034..6a789c3e11a 100644 --- a/en-US/dita/RTC/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC/API/class_externalvideoframe.dita @@ -112,9 +112,9 @@ public int rotation { set; get; } public long timestamp { set; get; } } - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_imediafilterextensiondelegate.dita b/en-US/dita/RTC/API/class_imediafilterextensiondelegate.dita index f84c42d397e..3fc2d270c43 100644 --- a/en-US/dita/RTC/API/class_imediafilterextensiondelegate.dita +++ b/en-US/dita/RTC/API/class_imediafilterextensiondelegate.dita @@ -6,15 +6,15 @@

            - - @protocol AgoraMediaFilterExtensionDelegate <NSObject> + + @protocol AgoraMediaFilterExtensionDelegate <NSObject> - (NSString * __nonnull)vendor; @end - - - - -

            + + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_injectstreamconfig.dita b/en-US/dita/RTC/API/class_injectstreamconfig.dita index a631ccf65c0..25f41f88320 100644 --- a/en-US/dita/RTC/API/class_injectstreamconfig.dita +++ b/en-US/dita/RTC/API/class_injectstreamconfig.dita @@ -111,7 +111,7 @@ audioBitrate: number; audioChannels: number; } - + class LiveInjectStreamConfig { @JsonKey(includeIfNull: false) @@ -149,10 +149,10 @@ this.audioChannels, }); - factory LiveInjectStreamConfig.fromJson(Map<String, dynamic> json) => + factory LiveInjectStreamConfig.fromJson(Map<String, dynamic> json) => _$LiveInjectStreamConfigFromJson(json); - Map<String, dynamic> toJson() => _$LiveInjectStreamConfigToJson(this); + Map<String, dynamic> toJson() => _$LiveInjectStreamConfigToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_lastmileprobeconfig.dita b/en-US/dita/RTC/API/class_lastmileprobeconfig.dita index 0d9254110b2..8d378e5a94a 100644 --- a/en-US/dita/RTC/API/class_lastmileprobeconfig.dita +++ b/en-US/dita/RTC/API/class_lastmileprobeconfig.dita @@ -52,7 +52,7 @@ expectedUplinkBitrate: number; expectedDownlinkBitrate: number; } - + class LastmileProbeConfig { bool probeUplink; @@ -67,10 +67,10 @@ this.expectedDownlinkBitrate, ); - factory LastmileProbeConfig.fromJson(Map<String, dynamic> json) => + factory LastmileProbeConfig.fromJson(Map<String, dynamic> json) => _$LastmileProbeConfigFromJson(json); - Map<String, dynamic> toJson() => _$LastmileProbeConfigToJson(this); + Map<String, dynamic> toJson() => _$LastmileProbeConfigToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_lastmileprobeonewayresult.dita b/en-US/dita/RTC/API/class_lastmileprobeonewayresult.dita index 3aaea65441e..4118b788703 100644 --- a/en-US/dita/RTC/API/class_lastmileprobeonewayresult.dita +++ b/en-US/dita/RTC/API/class_lastmileprobeonewayresult.dita @@ -51,7 +51,7 @@ jitter: number; availableBandwidth: number; } - + class LastmileProbeOneWayResult { int packetLossRate; @@ -64,10 +64,10 @@ this.availableBandwidth, ); - factory LastmileProbeOneWayResult.fromJson(Map<String, dynamic> json) => + factory LastmileProbeOneWayResult.fromJson(Map<String, dynamic> json) => _$LastmileProbeOneWayResultFromJson(json); - Map<String, dynamic> toJson() => _$LastmileProbeOneWayResultToJson(this); + Map<String, dynamic> toJson() => _$LastmileProbeOneWayResultToJson(this); }

            struct LastmileProbeOneWayResult { diff --git a/en-US/dita/RTC/API/class_lastmileproberesult.dita b/en-US/dita/RTC/API/class_lastmileproberesult.dita index ef9feb9f0d7..2516f6fa976 100644 --- a/en-US/dita/RTC/API/class_lastmileproberesult.dita +++ b/en-US/dita/RTC/API/class_lastmileproberesult.dita @@ -64,7 +64,7 @@ downlinkReport: LastmileProbeOneWayResult; rtt: number; } - + class LastmileProbeResult { LastmileProbeResultState state; @@ -79,10 +79,10 @@ this.downlinkReport, ); - factory LastmileProbeResult.fromJson(Map<String, dynamic> json) => + factory LastmileProbeResult.fromJson(Map<String, dynamic> json) => _$LastmileProbeResultFromJson(json); - Map<String, dynamic> toJson() => _$LastmileProbeResultToJson(this); + Map<String, dynamic> toJson() => _$LastmileProbeResultToJson(this); }

            struct LastmileProbeResult { diff --git a/en-US/dita/RTC/API/class_leavechanneloptions.dita b/en-US/dita/RTC/API/class_leavechanneloptions.dita index c225fd8d4e5..912a4be0505 100644 --- a/en-US/dita/RTC/API/class_leavechanneloptions.dita +++ b/en-US/dita/RTC/API/class_leavechanneloptions.dita @@ -24,14 +24,14 @@ LeaveChannelOptions() : stopAudioMixing(true), stopAllEffect(true), stopMicrophoneRecording(true) {} }; - + public class LeaveChannelOptions { public bool stopAudioMixing { set; get; } public bool stopAllEffect { set; get; } public bool stopMicrophoneRecording { set; get; } }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_livestreamadvancedfeature.dita b/en-US/dita/RTC/API/class_livestreamadvancedfeature.dita index 3faf495ba2e..6ca286fa606 100644 --- a/en-US/dita/RTC/API/class_livestreamadvancedfeature.dita +++ b/en-US/dita/RTC/API/class_livestreamadvancedfeature.dita @@ -6,7 +6,7 @@

            - + __attribute__((visibility("default"))) @interface AgoraLiveStreamAdvancedFeature : NSObject @property(copy, nonatomic) NSString* _Nullable featureName; diff --git a/en-US/dita/RTC/API/class_livetranscoding.dita b/en-US/dita/RTC/API/class_livetranscoding.dita index 9950f33e672..3551bb8ae93 100644 --- a/en-US/dita/RTC/API/class_livetranscoding.dita +++ b/en-US/dita/RTC/API/class_livetranscoding.dita @@ -63,10 +63,10 @@ @Deprecated public boolean lowLatency; public int videoGop; public AgoraImage watermark; - private ArrayList<AgoraImage> watermarkList; + private ArrayList<AgoraImage> watermarkList; public void addWatermark(AgoraImage watermark) { if (watermarkList == null) { - watermarkList = new ArrayList<AgoraImage>(); + watermarkList = new ArrayList<AgoraImage>(); } watermarkList.add(watermark); } @@ -76,14 +76,14 @@ } return watermarkList.remove(watermark); } - public ArrayList<AgoraImage> getWatermarkList() { + public ArrayList<AgoraImage> getWatermarkList() { return watermarkList; } public AgoraImage backgroundImage; - private ArrayList<AgoraImage> backgroundImageList; + private ArrayList<AgoraImage> backgroundImageList; public void addBackgroundImage(AgoraImage backgroundImage) { if (backgroundImageList == null) { - backgroundImageList = new ArrayList<AgoraImage>(); + backgroundImageList = new ArrayList<AgoraImage>(); } backgroundImageList.add(backgroundImage); } @@ -93,7 +93,7 @@ } return backgroundImageList.remove(backgroundImage); } - public ArrayList<AgoraImage> getBackgroundImageList() { + public ArrayList<AgoraImage> getBackgroundImageList() { return backgroundImageList; } public AudioSampleRateType audioSampleRate; @@ -107,12 +107,12 @@ public String userConfigExtraInfo; public String metadata; @Deprecated public String metadata; - private Map<Integer, TranscodingUser> transcodingUsers; - private Map<String, Boolean> advancedFeatures; + private Map<Integer, TranscodingUser> transcodingUsers; + private Map<String, Boolean> advancedFeatures; public void setAdvancedFeatures(String featureName, Boolean opened) { advancedFeatures.put(featureName, opened); } - public Map<String, Boolean> getAdvancedFeatures() { + public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; } public static class TranscodingUser { @@ -145,8 +145,8 @@ audioBitrate = 48; audioChannels = 1; audioCodecProfile = AudioCodecProfileType.LC_AAC; - transcodingUsers = new HashMap<>(); - advancedFeatures = new HashMap<>(); + transcodingUsers = new HashMap<>(); + advancedFeatures = new HashMap<>(); backgroundColor = 0xFF000000; userConfigExtraInfo = null; metadata = null; @@ -159,11 +159,11 @@ userCount = transcodingUsers.size(); return Constants.ERR_OK; } - public final ArrayList<TranscodingUser> getUsers() { - Collection<TranscodingUser> values = transcodingUsers.values(); - return new ArrayList<>(values); + public final ArrayList<TranscodingUser> getUsers() { + Collection<TranscodingUser> values = transcodingUsers.values(); + return new ArrayList<>(values); } - public void setUsers(ArrayList<TranscodingUser> users) { + public void setUsers(ArrayList<TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { for (TranscodingUser user : users) { @@ -172,7 +172,7 @@ } userCount = transcodingUsers.size(); } - public void setUsers(Map<Integer, TranscodingUser> users) { + public void setUsers(Map<Integer, TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { transcodingUsers.putAll(users); @@ -200,11 +200,11 @@ } @Deprecated public int getRed() { - return (backgroundColor >> 16) & 0x0ff; + return (backgroundColor >> 16) & 0x0ff; } @Deprecated public int getGreen() { - return (backgroundColor >> 8) & 0x0ff; + return (backgroundColor >> 8) & 0x0ff; } @Deprecated public int getBlue() { @@ -253,7 +253,7 @@ - (int)addUser:(AgoraLiveTranscodingUser *_Nonnull)user; - (int)removeUser:(NSUInteger)uid; - (void)setAdvancedFeatures:(NSString* _Nonnull)featureName opened:(BOOL)opened; -- (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; +- (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; @end struct LiveTranscoding { int width; @@ -512,10 +512,10 @@ this.userConfigExtraInfo, }); - factory LiveTranscoding.fromJson(Map<String, dynamic> json) => + factory LiveTranscoding.fromJson(Map<String, dynamic> json) => _$LiveTranscodingFromJson(json); - Map<String, dynamic> toJson() => _$LiveTranscodingToJson(this); + Map<String, dynamic> toJson() => _$LiveTranscodingToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_localaudiostats.dita b/en-US/dita/RTC/API/class_localaudiostats.dita index 4024a1ae177..bbdf4791381 100644 --- a/en-US/dita/RTC/API/class_localaudiostats.dita +++ b/en-US/dita/RTC/API/class_localaudiostats.dita @@ -94,7 +94,7 @@ sentBitrate: number; txPacketLossRate: number; } - + class LocalAudioStats { int numChannels; @@ -109,10 +109,10 @@ this.txPacketLossRate, ); - factory LocalAudioStats.fromJson(Map<String, dynamic> json) => + factory LocalAudioStats.fromJson(Map<String, dynamic> json) => _$LocalAudioStatsFromJson(json); - Map<String, dynamic> toJson() => _$LocalAudioStatsToJson(this); + Map<String, dynamic> toJson() => _$LocalAudioStatsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_localspatialaudioconfig.dita b/en-US/dita/RTC/API/class_localspatialaudioconfig.dita index f8229dfd86b..e1e8cc16604 100644 --- a/en-US/dita/RTC/API/class_localspatialaudioconfig.dita +++ b/en-US/dita/RTC/API/class_localspatialaudioconfig.dita @@ -20,10 +20,10 @@ LocalSpatialAudioConfig() : rtcEngine(NULL) {} }; - - - -

            + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_localtranscoderconfiguration.dita b/en-US/dita/RTC/API/class_localtranscoderconfiguration.dita index acc58ddce02..d5562fd1add 100644 --- a/en-US/dita/RTC/API/class_localtranscoderconfiguration.dita +++ b/en-US/dita/RTC/API/class_localtranscoderconfiguration.dita @@ -6,7 +6,7 @@

            - + __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject @property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; @property (strong, nonatomic) AgoraVideoEncoderConfiguration *_Nonnull videoOutputConfiguration; @@ -22,7 +22,7 @@ videoOutputConfiguration() {} }; - + public class LocalTranscoderConfiguration { public LocalTranscoderConfiguration(uint streamCount, TranscodingVideoStream[] VideoInputStreams, VideoEncoderConfiguration videoOutputConfiguration) @@ -35,8 +35,8 @@ public TranscodingVideoStream[] VideoInputStreams { set; get; } public VideoEncoderConfiguration videoOutputConfiguration { set; get; } } - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_localvideostats.dita b/en-US/dita/RTC/API/class_localvideostats.dita index 64e0f8eafc5..8111e0003bf 100644 --- a/en-US/dita/RTC/API/class_localvideostats.dita +++ b/en-US/dita/RTC/API/class_localvideostats.dita @@ -218,7 +218,7 @@ captureFrameRate: number; captureBrightnessLevel: CAPTURE_BRIGHTNESS_LEVEL_TYPE; } - + class LocalVideoStats { int sentBitrate; @@ -255,10 +255,10 @@ this.captureBrightnessLevel, ); - factory LocalVideoStats.fromJson(Map<String, dynamic> json) => + factory LocalVideoStats.fromJson(Map<String, dynamic> json) => _$LocalVideoStatsFromJson(json); - Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this); + Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_logconfig.dita b/en-US/dita/RTC/API/class_logconfig.dita index 66672e6448b..47d0d8c12cc 100644 --- a/en-US/dita/RTC/API/class_logconfig.dita +++ b/en-US/dita/RTC/API/class_logconfig.dita @@ -18,8 +18,8 @@ @end

            - - + + struct LogConfig { const char* filePath; int fileSize; @@ -55,7 +55,7 @@ fileSize: number, level: LOG_LEVEL } - + class LogConfig { @JsonKey(includeIfNull: false) String? filePath; @@ -72,10 +72,10 @@ this.level, }); - factory LogConfig.fromJson(Map<String, dynamic> json) => + factory LogConfig.fromJson(Map<String, dynamic> json) => _$LogConfigFromJson(json); - Map<String, dynamic> toJson() => _$LogConfigToJson(this); + Map<String, dynamic> toJson() => _$LogConfigToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_lowlightenhanceoptions.dita b/en-US/dita/RTC/API/class_lowlightenhanceoptions.dita index dc7e4038a73..202e305ddbe 100644 --- a/en-US/dita/RTC/API/class_lowlightenhanceoptions.dita +++ b/en-US/dita/RTC/API/class_lowlightenhanceoptions.dita @@ -6,13 +6,13 @@

            - - -

            + + +

            - - - + + + public class LowLightEnhanceOptions { public LowLightEnhanceOptions() @@ -29,8 +29,8 @@ public LOW_LIGHT_ENHANCE_LEVEL level { set; get; } }; - - + + class LowLightEnhanceOptions { final LowLightEnhanceMode mode; @@ -40,10 +40,10 @@ {this.mode = LowLightEnhanceMode.Auto, this.level = LowLightEnhanceLevel.HighQuality}); - factory LowLightEnhanceOptions.fromJson(Map<String, dynamic> json) => + factory LowLightEnhanceOptions.fromJson(Map<String, dynamic> json) => _$LowLightEnhanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$LowLightEnhanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$LowLightEnhanceOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_mediadeviceinfo.dita b/en-US/dita/RTC/API/class_mediadeviceinfo.dita index f2d9c52de85..e926efbf47a 100644 --- a/en-US/dita/RTC/API/class_mediadeviceinfo.dita +++ b/en-US/dita/RTC/API/class_mediadeviceinfo.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class MediaDeviceInfo { String deviceId; @@ -22,10 +22,10 @@ this.deviceName, ); - factory MediaDeviceInfo.fromJson(Map<String, dynamic> json) => + factory MediaDeviceInfo.fromJson(Map<String, dynamic> json) => _$MediaDeviceInfoFromJson(json); - Map<String, dynamic> toJson() => _$MediaDeviceInfoToJson(this); + Map<String, dynamic> toJson() => _$MediaDeviceInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_mediarecorderconfiguration.dita b/en-US/dita/RTC/API/class_mediarecorderconfiguration.dita index 7bf1134f777..44dd350081b 100644 --- a/en-US/dita/RTC/API/class_mediarecorderconfiguration.dita +++ b/en-US/dita/RTC/API/class_mediarecorderconfiguration.dita @@ -6,8 +6,8 @@

            - - + + struct MediaRecorderConfiguration { const char* storagePath; MediaRecorderContainerFormat containerFormat; @@ -18,7 +18,7 @@ MediaRecorderConfiguration() : storagePath(nullptr), containerFormat(FORMAT_MP4), streamType(STREAM_TYPE_BOTH), maxDurationMs(120000), recorderInfoUpdateInterval(0) {} MediaRecorderConfiguration(const char* path, MediaRecorderContainerFormat format, MediaRecorderStreamType type, int duration, int interval) : storagePath(path), containerFormat(format), streamType(type), maxDurationMs(duration), recorderInfoUpdateInterval(interval) {} }; - + public struct MediaRecorderConfiguration { public string storagePath; public MediaRecorderContainerFormat containerFormat; @@ -26,7 +26,7 @@ public int maxDurationMs; public int recorderInfoUpdateInterval; }; - + class MediaRecorderConfiguration { final String? storagePath; @@ -48,10 +48,10 @@ this.recorderInfoUpdateInterval = 0, }); - factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) => + factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) => _$MediaRecorderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$MediaRecorderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$MediaRecorderConfigurationToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_metadata.dita b/en-US/dita/RTC/API/class_metadata.dita index 6241a944e9b..cb0fefe317c 100644 --- a/en-US/dita/RTC/API/class_metadata.dita +++ b/en-US/dita/RTC/API/class_metadata.dita @@ -6,8 +6,8 @@

            - - + + struct Metadata { unsigned int uid; unsigned int size; @@ -40,7 +40,7 @@ buffer: string; timeStampMs: number; } - + class Metadata { int uid; @@ -50,10 +50,10 @@ Metadata(this.uid, this.timeStampMs); - factory Metadata.fromJson(Map<String, dynamic> json) => + factory Metadata.fromJson(Map<String, dynamic> json) => _$MetadataFromJson(json); - Map<String, dynamic> toJson() => _$MetadataToJson(this); + Map<String, dynamic> toJson() => _$MetadataToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_packet.dita b/en-US/dita/RTC/API/class_packet.dita index f6cce1a6e81..a29a9fa6a4b 100644 --- a/en-US/dita/RTC/API/class_packet.dita +++ b/en-US/dita/RTC/API/class_packet.dita @@ -33,14 +33,14 @@ const unsigned char* buffer; unsigned int size; }; - + public struct Packet { public IntPtr buffer; public IntPtr size; }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_playerstreaminfo.dita b/en-US/dita/RTC/API/class_playerstreaminfo.dita index 43db4308963..ced050205e0 100644 --- a/en-US/dita/RTC/API/class_playerstreaminfo.dita +++ b/en-US/dita/RTC/API/class_playerstreaminfo.dita @@ -83,9 +83,9 @@ duration(0) { memset(codecName, 0, sizeof(codecName)); memset(language, 0, sizeof(language)); - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_playerupdatedinfo.dita b/en-US/dita/RTC/API/class_playerupdatedinfo.dita index cdd626eb86e..f626981ded8 100644 --- a/en-US/dita/RTC/API/class_playerupdatedinfo.dita +++ b/en-US/dita/RTC/API/class_playerupdatedinfo.dita @@ -25,12 +25,12 @@ @property(copy, nonatomic) NSString *_Nullable deviceId; @end struct PlayerUpdatedInfo { - Optional<const char*> playerId; - Optional<const char*> deviceId; + Optional<const char*> playerId; + Optional<const char*> deviceId; }; - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_plugin.dita b/en-US/dita/RTC/API/class_plugin.dita index a0fdf44207f..950f6cfede9 100644 --- a/en-US/dita/RTC/API/class_plugin.dita +++ b/en-US/dita/RTC/API/class_plugin.dita @@ -6,9 +6,9 @@

            - - - + + + export interface Plugin { id: string; enable: () => number; @@ -16,9 +16,9 @@ setParameter: (param: string) => number; getParameter: (paramKey: string) => string; } - - -

            + + +

            After calling to register a plugin, you can get the interface through .

            diff --git a/en-US/dita/RTC/API/class_plugininfo.dita b/en-US/dita/RTC/API/class_plugininfo.dita index 8087e47030e..739b1ed7720 100644 --- a/en-US/dita/RTC/API/class_plugininfo.dita +++ b/en-US/dita/RTC/API/class_plugininfo.dita @@ -6,17 +6,17 @@

            - - - + + + export interface PluginInfo { pluginId: string; pluginPath: string; order: number; } - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_recorderinfo.dita b/en-US/dita/RTC/API/class_recorderinfo.dita index f01dfa4df03..5c6e50f2550 100644 --- a/en-US/dita/RTC/API/class_recorderinfo.dita +++ b/en-US/dita/RTC/API/class_recorderinfo.dita @@ -6,8 +6,8 @@

            - - + + struct RecorderInfo { const char* fileName; unsigned int durationMs; @@ -16,13 +16,13 @@ RecorderInfo() = default; RecorderInfo(const char* name, unsigned int dur, unsigned int size) : fileName(name), durationMs(dur), fileSize(size) {} }; - + public struct RecorderInfo { public string fileName; public uint durationMs; public uint fileSize; }; - + class RecorderInfo { final String fileName; @@ -33,10 +33,10 @@ RecorderInfo(this.fileName, this.durationMs, this.fileSize); - factory RecorderInfo.fromJson(Map<String, dynamic> json) => + factory RecorderInfo.fromJson(Map<String, dynamic> json) => _$RecorderInfoFromJson(json); - Map<String, dynamic> toJson() => _$RecorderInfoToJson(this); + Map<String, dynamic> toJson() => _$RecorderInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_rect.dita b/en-US/dita/RTC/API/class_rect.dita index df54da7d245..86632cfd9fa 100644 --- a/en-US/dita/RTC/API/class_rect.dita +++ b/en-US/dita/RTC/API/class_rect.dita @@ -6,8 +6,8 @@

            - - + + typedef struct Rect { int top; int left; @@ -42,7 +42,7 @@ bottom: number; right: number; } - + class Rect { @JsonKey(includeIfNull: false) @@ -80,9 +80,9 @@ this.bottom, }); - factory Rect.fromJson(Map<String, dynamic> json) => _$RectFromJson(json); + factory Rect.fromJson(Map<String, dynamic> json) => _$RectFromJson(json); - Map<String, dynamic> toJson() => _$RectToJson(this); + Map<String, dynamic> toJson() => _$RectToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_rectangle.dita b/en-US/dita/RTC/API/class_rectangle.dita index 8d628124f2d..8d4e0e3783b 100644 --- a/en-US/dita/RTC/API/class_rectangle.dita +++ b/en-US/dita/RTC/API/class_rectangle.dita @@ -48,7 +48,7 @@ height = height_; } }; - + struct Rectangle { int x; int y; @@ -83,7 +83,7 @@ width: number; height: number; } - + class Rectangle { @JsonKey(includeIfNull: false) @@ -105,10 +105,10 @@ this.height, }); - factory Rectangle.fromJson(Map<String, dynamic> json) => + factory Rectangle.fromJson(Map<String, dynamic> json) => _$RectangleFromJson(json); - Map<String, dynamic> toJson() => _$RectangleToJson(this); + Map<String, dynamic> toJson() => _$RectangleToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_remoteaudiostats.dita b/en-US/dita/RTC/API/class_remoteaudiostats.dita index 9063bfe0cf3..6958768d484 100644 --- a/en-US/dita/RTC/API/class_remoteaudiostats.dita +++ b/en-US/dita/RTC/API/class_remoteaudiostats.dita @@ -234,7 +234,7 @@ qualityChangedReason: number; mosValue: number; } - + class RemoteAudioStats { int uid; @@ -271,10 +271,10 @@ this.mosValue, ); - factory RemoteAudioStats.fromJson(Map<String, dynamic> json) => + factory RemoteAudioStats.fromJson(Map<String, dynamic> json) => _$RemoteAudioStatsFromJson(json); - Map<String, dynamic> toJson() => _$RemoteAudioStatsToJson(this); + Map<String, dynamic> toJson() => _$RemoteAudioStatsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_remotevideostats.dita b/en-US/dita/RTC/API/class_remotevideostats.dita index 722442893a0..1d71fafdab3 100644 --- a/en-US/dita/RTC/API/class_remotevideostats.dita +++ b/en-US/dita/RTC/API/class_remotevideostats.dita @@ -220,7 +220,7 @@ totalActiveTime: number; publishDuration: number; } - + class RemoteVideoStats { int uid; @@ -256,10 +256,10 @@ class RemoteVideoStats { this.publishDuration, ); - factory RemoteVideoStats.fromJson(Map<String, dynamic> json) => + factory RemoteVideoStats.fromJson(Map<String, dynamic> json) => _$RemoteVideoStatsFromJson(json); - Map<String, dynamic> toJson() => _$RemoteVideoStatsToJson(this); + Map<String, dynamic> toJson() => _$RemoteVideoStatsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_remotevoicepositioninfo.dita b/en-US/dita/RTC/API/class_remotevoicepositioninfo.dita index dea6d74b9cb..2743d667352 100644 --- a/en-US/dita/RTC/API/class_remotevoicepositioninfo.dita +++ b/en-US/dita/RTC/API/class_remotevoicepositioninfo.dita @@ -16,8 +16,8 @@ } } __attribute__((visibility("default"))) @interface AgoraRemoteVoicePositionInfo : NSObject -@property(strong, nonatomic) NSArray<NSNumber*> * _Nonnull position; -@property(strong, nonatomic) NSArray<NSNumber*> * _Nullable forward; +@property(strong, nonatomic) NSArray<NSNumber*> * _Nonnull position; +@property(strong, nonatomic) NSArray<NSNumber*> * _Nullable forward; @end struct RemoteVoicePositionInfo { float position[3]; @@ -25,7 +25,7 @@ RemoteVoicePositionInfo() = default; }; - + public class RemoteVoicePositionInfo { public RemoteVoicePositionInfo(float[] position, float[] forward) @@ -37,8 +37,8 @@ public float[] position { set; get; } public float[] forward { set; get; } }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_rendererconfig.dita b/en-US/dita/RTC/API/class_rendererconfig.dita index 3901f21068d..aefa346b617 100644 --- a/en-US/dita/RTC/API/class_rendererconfig.dita +++ b/en-US/dita/RTC/API/class_rendererconfig.dita @@ -6,18 +6,18 @@

            - - - + + + export interface RendererConfig { user: User; view: Element | undefined; rendererOptions?: RendererOptions; channelId?: Channel; fps?: number; - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_rendereroptions.dita b/en-US/dita/RTC/API/class_rendereroptions.dita index 62e4fd6442a..bc26e8b5667 100644 --- a/en-US/dita/RTC/API/class_rendereroptions.dita +++ b/en-US/dita/RTC/API/class_rendereroptions.dita @@ -6,17 +6,17 @@

            - - - + + + export interface RendererOptions { append: boolean; contentMode: CONTENT_MODE; mirror: boolean; } - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_rtc_local_view_surfaceview.dita b/en-US/dita/RTC/API/class_rtc_local_view_surfaceview.dita index 5b1d6e11c64..ea8fd2c5f22 100644 --- a/en-US/dita/RTC/API/class_rtc_local_view_surfaceview.dita +++ b/en-US/dita/RTC/API/class_rtc_local_view_surfaceview.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class SurfaceView extends RtcSurfaceView { const SurfaceView({ Key? key, diff --git a/en-US/dita/RTC/API/class_rtc_local_view_textureview.dita b/en-US/dita/RTC/API/class_rtc_local_view_textureview.dita index 495f609d399..bc3d1891cad 100644 --- a/en-US/dita/RTC/API/class_rtc_local_view_textureview.dita +++ b/en-US/dita/RTC/API/class_rtc_local_view_textureview.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class TextureView extends RtcTextureView { const TextureView({ Key? key, diff --git a/en-US/dita/RTC/API/class_rtc_remote_view_surfaceview.dita b/en-US/dita/RTC/API/class_rtc_remote_view_surfaceview.dita index 985e1f0742f..844076a5220 100644 --- a/en-US/dita/RTC/API/class_rtc_remote_view_surfaceview.dita +++ b/en-US/dita/RTC/API/class_rtc_remote_view_surfaceview.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class SurfaceView extends RtcSurfaceView { const SurfaceView({ Key? key, diff --git a/en-US/dita/RTC/API/class_rtc_remote_view_textureview.dita b/en-US/dita/RTC/API/class_rtc_remote_view_textureview.dita index bee85b77d52..2b1df0d36d9 100644 --- a/en-US/dita/RTC/API/class_rtc_remote_view_textureview.dita +++ b/en-US/dita/RTC/API/class_rtc_remote_view_textureview.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class TextureView extends RtcTextureView { const TextureView({ Key? key, diff --git a/en-US/dita/RTC/API/class_rtc_render_view_rtcsurfaceview.dita b/en-US/dita/RTC/API/class_rtc_render_view_rtcsurfaceview.dita index 57bb0b0533b..db7ef67a74e 100644 --- a/en-US/dita/RTC/API/class_rtc_render_view_rtcsurfaceview.dita +++ b/en-US/dita/RTC/API/class_rtc_render_view_rtcsurfaceview.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class RtcSurfaceView extends StatefulWidget { final int uid; final String? channelId; diff --git a/en-US/dita/RTC/API/class_rtc_render_view_rtctextureview.dita b/en-US/dita/RTC/API/class_rtc_render_view_rtctextureview.dita index aedc99ddc0a..610fb24999c 100644 --- a/en-US/dita/RTC/API/class_rtc_render_view_rtctextureview.dita +++ b/en-US/dita/RTC/API/class_rtc_render_view_rtctextureview.dita @@ -6,12 +6,12 @@

            - - - - - - + + + + + + class RtcTextureView extends StatefulWidget { final int uid; final String? channelId; diff --git a/en-US/dita/RTC/API/class_rtcconnection.dita b/en-US/dita/RTC/API/class_rtcconnection.dita index 1a856a94f47..60b34877f4d 100644 --- a/en-US/dita/RTC/API/class_rtcconnection.dita +++ b/en-US/dita/RTC/API/class_rtcconnection.dita @@ -62,7 +62,7 @@ RtcConnection(const char* channel_id, uid_t local_uid) : channelId(channel_id), localUid(local_uid) {} }; - + public class RtcConnection { public RtcConnection() { @@ -77,8 +77,8 @@ public string channelId { set; get; } public uint localUid { set; get; } }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_rtcengineconfig.dita b/en-US/dita/RTC/API/class_rtcengineconfig.dita index 42dd21666f9..c64e14c31f2 100644 --- a/en-US/dita/RTC/API/class_rtcengineconfig.dita +++ b/en-US/dita/RTC/API/class_rtcengineconfig.dita @@ -6,8 +6,8 @@

            - - + + struct RtcEngineContext { IRtcEngineEventHandler* eventHandler; const char* appId; @@ -47,7 +47,7 @@ areaCode?: AREA_CODE; logConfig?: LogConfig; } - + class RtcEngineContext { String appId; @@ -64,10 +64,10 @@ this.logConfig, }); - factory RtcEngineContext.fromJson(Map<String, dynamic> json) => + factory RtcEngineContext.fromJson(Map<String, dynamic> json) => _$RtcEngineContextFromJson(json); - Map<String, dynamic> toJson() => _$RtcEngineContextToJson(this); + Map<String, dynamic> toJson() => _$RtcEngineContextToJson(this); static int? _$AreaCodeListToJson(List<AreaCode>? instance) { if (instance == null) return null; diff --git a/en-US/dita/RTC/API/class_rtcimage.dita b/en-US/dita/RTC/API/class_rtcimage.dita index d857f125753..a842651be39 100644 --- a/en-US/dita/RTC/API/class_rtcimage.dita +++ b/en-US/dita/RTC/API/class_rtcimage.dita @@ -108,7 +108,7 @@ height: number, url: string } - + class AgoraImage { String url; @JsonKey(includeIfNull: false) @@ -126,10 +126,10 @@ this.height, }); - factory AgoraImage.fromJson(Map<String, dynamic> json) => + factory AgoraImage.fromJson(Map<String, dynamic> json) => _$AgoraImageFromJson(json); - Map<String, dynamic> toJson() => _$AgoraImageToJson(this); + Map<String, dynamic> toJson() => _$AgoraImageToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_rtcstats.dita b/en-US/dita/RTC/API/class_rtcstats.dita index ab8b172cbec..08252b034bf 100644 --- a/en-US/dita/RTC/API/class_rtcstats.dita +++ b/en-US/dita/RTC/API/class_rtcstats.dita @@ -154,8 +154,8 @@ public int connectTimeMs { set; get; } }

            - - + + struct RtcStats { unsigned int duration; unsigned int txBytes; @@ -370,10 +370,10 @@ this.memoryAppUsageInKbytes, ); - factory RtcStats.fromJson(Map<String, dynamic> json) => + factory RtcStats.fromJson(Map<String, dynamic> json) => _$RtcStatsFromJson(json); - Map<String, dynamic> toJson() => _$RtcStatsToJson(this); + Map<String, dynamic> toJson() => _$RtcStatsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_screenaudioparameters.dita b/en-US/dita/RTC/API/class_screenaudioparameters.dita index 3b7be56424a..0ff3854e03c 100644 --- a/en-US/dita/RTC/API/class_screenaudioparameters.dita +++ b/en-US/dita/RTC/API/class_screenaudioparameters.dita @@ -11,9 +11,9 @@ const ScreenAudioParameters(this.captureSignalVolume); - factory ScreenAudioParameters.fromJson(Map<String, dynamic> json) => + factory ScreenAudioParameters.fromJson(Map<String, dynamic> json) => _$ScreenAudioParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenAudioParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenAudioParametersToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_screencaptureconfiguration.dita b/en-US/dita/RTC/API/class_screencaptureconfiguration.dita index 3036e01d034..f3c672ed299 100644 --- a/en-US/dita/RTC/API/class_screencaptureconfiguration.dita +++ b/en-US/dita/RTC/API/class_screencaptureconfiguration.dita @@ -6,8 +6,8 @@

            - - + + struct ScreenCaptureConfiguration { bool isCaptureWindow; uint32_t displayId; @@ -18,7 +18,7 @@ ScreenCaptureConfiguration() : isCaptureWindow(false), displayId(0) {} }; - + public class ScreenCaptureConfiguration { public bool isCaptureWindow { set; get; } public uint displayId { set; get; } @@ -27,8 +27,8 @@ public ScreenCaptureParameters parameters { set; get; } public Rectangle regionRect { set; get; } } - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_screencaptureinfo.dita b/en-US/dita/RTC/API/class_screencaptureinfo.dita index 411f79a8068..d012d8dab55 100644 --- a/en-US/dita/RTC/API/class_screencaptureinfo.dita +++ b/en-US/dita/RTC/API/class_screencaptureinfo.dita @@ -6,8 +6,8 @@

            - - + + public class ScreenCaptureInfo { public ScreenCaptureInfo() @@ -23,17 +23,17 @@ public string graphicsCardType; public EXCLUDE_WINDOW_ERROR errCode; }; - + class ScreenCaptureInfo { final String graphicsCardType; final ExcludeWindowError errCode; const ScreenCaptureInfo(this.graphicsCardType, this.errCode); - factory ScreenCaptureInfo.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureInfo.fromJson(Map<String, dynamic> json) => _$ScreenCaptureInfoFromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureInfoToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureInfoToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_screencaptureparameters.dita b/en-US/dita/RTC/API/class_screencaptureparameters.dita index 60e85b02e39..654ebcc4cab 100644 --- a/en-US/dita/RTC/API/class_screencaptureparameters.dita +++ b/en-US/dita/RTC/API/class_screencaptureparameters.dita @@ -143,7 +143,7 @@ @property(copy, nonatomic) NSArray* _Nullable excludeWindowList; @end - + struct ScreenCaptureParameters { VideoDimensions dimensions; int frameRate; @@ -208,7 +208,7 @@ excludeWindowList: Array<number>; excludeWindowCount: number; } - + class ScreenCaptureParameters { @JsonKey(includeIfNull: false) @@ -238,10 +238,10 @@ this.excludeWindowList, }); - factory ScreenCaptureParameters.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureParameters.fromJson(Map<String, dynamic> json) => _$ScreenCaptureParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureParametersToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_screencaptureparameters2.dita b/en-US/dita/RTC/API/class_screencaptureparameters2.dita index e4f9c9ff232..608d2176a36 100644 --- a/en-US/dita/RTC/API/class_screencaptureparameters2.dita +++ b/en-US/dita/RTC/API/class_screencaptureparameters2.dita @@ -19,9 +19,9 @@ this.videoParams, }); - factory ScreenCaptureParameters2.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureParameters2.fromJson(Map<String, dynamic> json) => _$ScreenCaptureParameters2FromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureParameters2ToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureParameters2ToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_screencapturesourceinfo.dita b/en-US/dita/RTC/API/class_screencapturesourceinfo.dita index c1a09c19c62..5e0281ca6ca 100644 --- a/en-US/dita/RTC/API/class_screencapturesourceinfo.dita +++ b/en-US/dita/RTC/API/class_screencapturesourceinfo.dita @@ -6,8 +6,8 @@

            - - + + struct ScreenCaptureSourceInfo { ScreenCaptureSourceType type; view_t sourceId; @@ -19,10 +19,10 @@ bool primaryMonitor; ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(nullptr), sourceName(nullptr), processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false) {} }; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/class_screensymbol.dita b/en-US/dita/RTC/API/class_screensymbol.dita index 1f244f3d21a..4bc2e84a0f0 100644 --- a/en-US/dita/RTC/API/class_screensymbol.dita +++ b/en-US/dita/RTC/API/class_screensymbol.dita @@ -6,13 +6,13 @@

            - - - + + + export type ScreenSymbol = number | Rectangle; - - -

            + + +

            The display ID (macOS) or ScreenRect that identifies the screen. You can set it as one of the following values: diff --git a/en-US/dita/RTC/API/class_screenvideoparameters.dita b/en-US/dita/RTC/API/class_screenvideoparameters.dita index a057c27d55b..43791c0b6e4 100644 --- a/en-US/dita/RTC/API/class_screenvideoparameters.dita +++ b/en-US/dita/RTC/API/class_screenvideoparameters.dita @@ -15,9 +15,9 @@ const ScreenVideoParameters( {this.dimensions, this.frameRate, this.bitrate, this.contentHint}); - factory ScreenVideoParameters.fromJson(Map<String, dynamic> json) => + factory ScreenVideoParameters.fromJson(Map<String, dynamic> json) => _$ScreenVideoParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenVideoParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenVideoParametersToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_simulcaststreamconfig.dita b/en-US/dita/RTC/API/class_simulcaststreamconfig.dita index cdd6867b1eb..b5136b21674 100644 --- a/en-US/dita/RTC/API/class_simulcaststreamconfig.dita +++ b/en-US/dita/RTC/API/class_simulcaststreamconfig.dita @@ -38,7 +38,7 @@ return dimensions == rhs.dimensions && bitrate == rhs.bitrate && framerate == rhs.framerate; } }; - + public class SimulcastStreamConfig { public SimulcastStreamConfig() { @@ -57,8 +57,8 @@ public int bitrate { set; get; } public int framerate { set; get; } } - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_size.dita b/en-US/dita/RTC/API/class_size.dita index a723dfd4a8c..d88a1c4a3e9 100644 --- a/en-US/dita/RTC/API/class_size.dita +++ b/en-US/dita/RTC/API/class_size.dita @@ -6,31 +6,31 @@

            - - + + struct SIZE { int width; int height; SIZE() : width(0), height(0) {} SIZE(int ww, int hh) : width(ww), height(hh) {} }; - - - -

            + + + +

            - - + + struct SIZE { int width; int height; SIZE() : width(0), height(0) {} SIZE(int w, int h) : width(w), height(h) {} }; - - - -

            + + + +

            diff --git a/en-US/dita/RTC/API/class_spatialaudioparams.dita b/en-US/dita/RTC/API/class_spatialaudioparams.dita index f2a9c034c4e..fa912ca27f2 100644 --- a/en-US/dita/RTC/API/class_spatialaudioparams.dita +++ b/en-US/dita/RTC/API/class_spatialaudioparams.dita @@ -24,14 +24,14 @@ @end struct SpatialAudioParams { - Optional<double> speaker_azimuth; - Optional<double> speaker_elevation; - Optional<double> speaker_distance; - Optional<int> speaker_orientation; - Optional<bool> enable_blur; - Optional<bool> enable_air_absorb; + Optional<double> speaker_azimuth; + Optional<double> speaker_elevation; + Optional<double> speaker_distance; + Optional<int> speaker_orientation; + Optional<bool> enable_blur; + Optional<bool> enable_air_absorb; }; - + public class SpatialAudioParams { public double speaker_azimuth { set; get; } @@ -41,8 +41,8 @@ public bool enable_blur { set; get; } public bool enable_air_absorb { set; get; } }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_srcinfo.dita b/en-US/dita/RTC/API/class_srcinfo.dita index bcc123c6a54..d7198d0df10 100644 --- a/en-US/dita/RTC/API/class_srcinfo.dita +++ b/en-US/dita/RTC/API/class_srcinfo.dita @@ -20,13 +20,13 @@ int bitrateInKbps; const char* name; }; - + public class SrcInfo { public int bitrateInKbps; public string name; }; - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_thumbimagebuffer.dita b/en-US/dita/RTC/API/class_thumbimagebuffer.dita index 5b1f9871f17..162f222e55f 100644 --- a/en-US/dita/RTC/API/class_thumbimagebuffer.dita +++ b/en-US/dita/RTC/API/class_thumbimagebuffer.dita @@ -6,8 +6,8 @@

            - - + + struct ThumbImageBuffer { const char* buffer; unsigned int length; @@ -15,10 +15,10 @@ unsigned int height; ThumbImageBuffer() : buffer(nullptr), length(0), width(0), height(0) {} }; - - - -

            + + + +

            The default image is in the RGBA format. If you need to use another format, you need to convert the image on your own.
            diff --git a/en-US/dita/RTC/API/class_transcodinguser.dita b/en-US/dita/RTC/API/class_transcodinguser.dita index 493c1a4d863..0c33aa805f3 100644 --- a/en-US/dita/RTC/API/class_transcodinguser.dita +++ b/en-US/dita/RTC/API/class_transcodinguser.dita @@ -89,7 +89,7 @@ alpha: number; audioChannel: number; } - + class TranscodingUser { int uid; @@ -126,10 +126,10 @@ this.audioChannel, }); - factory TranscodingUser.fromJson(Map<String, dynamic> json) => + factory TranscodingUser.fromJson(Map<String, dynamic> json) => _$TranscodingUserFromJson(json); - Map<String, dynamic> toJson() => _$TranscodingUserToJson(this); + Map<String, dynamic> toJson() => _$TranscodingUserToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_transcodingvideostream.dita b/en-US/dita/RTC/API/class_transcodingvideostream.dita index 81363915892..2121ff3ac30 100644 --- a/en-US/dita/RTC/API/class_transcodingvideostream.dita +++ b/en-US/dita/RTC/API/class_transcodingvideostream.dita @@ -6,7 +6,7 @@

            - + __attribute__((visibility("default"))) @interface AgoraTranscodingVideoStream: NSObject @property (assign, nonatomic) AgoraMediaSourceType sourceType; @property (assign, nonatomic) NSUInteger remoteUserUid; @@ -40,7 +40,7 @@ alpha(1.0), mirror(false) {} }; - + public class TranscodingVideoStream { public TranscodingVideoStream() @@ -73,8 +73,8 @@ public double alpha { set; get; } public bool mirror { set; get; } } - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_uplinknetworkinfo.dita b/en-US/dita/RTC/API/class_uplinknetworkinfo.dita index 7556279575a..633e83e8d6e 100644 --- a/en-US/dita/RTC/API/class_uplinknetworkinfo.dita +++ b/en-US/dita/RTC/API/class_uplinknetworkinfo.dita @@ -21,7 +21,7 @@ return (video_encoder_target_bitrate_bps == rhs.video_encoder_target_bitrate_bps); } }; - + public class UplinkNetworkInfo { public UplinkNetworkInfo() @@ -34,8 +34,8 @@ } public int video_encoder_target_bitrate_bps; } - -

            + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_user.dita b/en-US/dita/RTC/API/class_user.dita index d6592df5ce6..2ec9ceb7232 100644 --- a/en-US/dita/RTC/API/class_user.dita +++ b/en-US/dita/RTC/API/class_user.dita @@ -6,13 +6,13 @@

            - - - + + + export type User = "local" | "videoSource" | number | string ; - - -

            + + +

            This class specifies the user information to which the SDK renders the video. You can set it as one of the following values: diff --git a/en-US/dita/RTC/API/class_useraudiospectruminfo.dita b/en-US/dita/RTC/API/class_useraudiospectruminfo.dita index e327cda13ee..dce3e9c36a3 100644 --- a/en-US/dita/RTC/API/class_useraudiospectruminfo.dita +++ b/en-US/dita/RTC/API/class_useraudiospectruminfo.dita @@ -25,10 +25,10 @@ UserAudioSpectrumInfo(agora::rtc::uid_t _uid, const float *data, int length) : uid(_uid) { spectrumData.audioSpectrumData = data; spectrumData.dataLength = length; } }; - - - -

            + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC/API/class_userinfo.dita b/en-US/dita/RTC/API/class_userinfo.dita index 9504022966b6eb63c0b9a01edf945a0ddb603c47..7fe4cc2994ea4009b30578d5e4620147d610c3ce 100644 GIT binary patch delta 77 zcmbQB(5SFMl#Pi&eG-${W<9o2CJ1w~9-GSM2ON`_81*MNGAc}-!hMj-P9du}KTlJ^ a)^2htj}@<-LP@?CP(TADvUw9v95VnI_Z3|L delta 87 zcmZovn4qvhl#MyYKz$OE*k)a}QYI*SvM!s-=6f8Im>3l%7jQokP)jedR>&&O&(l<} a1+gc`@K_0h1xxb1fWjJ3@y&~Q;+O#_-5D4F diff --git a/en-US/dita/RTC/API/class_videocanvas.dita b/en-US/dita/RTC/API/class_videocanvas.dita index 452247c2625..ef81b7ae82e 100644 --- a/en-US/dita/RTC/API/class_videocanvas.dita +++ b/en-US/dita/RTC/API/class_videocanvas.dita @@ -6,8 +6,8 @@

            - - + + struct VideoCanvas { view_t view; int renderMode; @@ -43,9 +43,9 @@ public uint uid { set; get; } public VIDEO_MIRROR_MODE_TYPE mirrorMode { set; get; } } - - -

            + + +

            diff --git a/en-US/dita/RTC/API/class_videodenoiseroptions.dita b/en-US/dita/RTC/API/class_videodenoiseroptions.dita index b153fe679d2..213c791555d 100644 --- a/en-US/dita/RTC/API/class_videodenoiseroptions.dita +++ b/en-US/dita/RTC/API/class_videodenoiseroptions.dita @@ -6,13 +6,13 @@

            - - -

            + + +

            - - - + + + public class VideoDenoiserOptions { public VideoDenoiserOptions() @@ -28,8 +28,8 @@ public VIDEO_DENOISER_MODE mode { set; get; } public VIDEO_DENOISER_LEVEL level { set; get; } }; - - + + class VideoDenoiserOptions { final VideoDenoiserMode mode; final VideoDenoiserLevel level; @@ -38,10 +38,10 @@ {this.mode = VideoDenoiserMode.Auto, this.level = VideoDenoiserLevel.HighQuality}); - factory VideoDenoiserOptions.fromJson(Map<String, dynamic> json) => + factory VideoDenoiserOptions.fromJson(Map<String, dynamic> json) => _$VideoDenoiserOptionsFromJson(json); - Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this); + Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_videodimensions.dita b/en-US/dita/RTC/API/class_videodimensions.dita index b58a9d3026f..e99cfa212a5 100644 --- a/en-US/dita/RTC/API/class_videodimensions.dita +++ b/en-US/dita/RTC/API/class_videodimensions.dita @@ -20,7 +20,7 @@ this.height = 0; } } - + struct VideoDimensions { int width; int height; @@ -51,7 +51,7 @@ width: number, height: number } - + class VideoDimensions { @JsonKey(includeIfNull: false) @@ -65,10 +65,10 @@ this.height, }); - factory VideoDimensions.fromJson(Map<String, dynamic> json) => + factory VideoDimensions.fromJson(Map<String, dynamic> json) => _$VideoDimensionsFromJson(json); - Map<String, dynamic> toJson() => _$VideoDimensionsToJson(this); + Map<String, dynamic> toJson() => _$VideoDimensionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_videoencoderconfiguration.dita b/en-US/dita/RTC/API/class_videoencoderconfiguration.dita index df8edd27252..74314015ef6 100644 --- a/en-US/dita/RTC/API/class_videoencoderconfiguration.dita +++ b/en-US/dita/RTC/API/class_videoencoderconfiguration.dita @@ -254,7 +254,7 @@ degradationPreference: DEGRADATION_PREFERENCE; mirrorMode: VIDEO_MIRROR_MODE_TYPE; } - + class VideoEncoderConfiguration { @JsonKey(includeIfNull: false) @@ -292,10 +292,10 @@ this.mirrorMode, }); - factory VideoEncoderConfiguration.fromJson(Map<String, dynamic> json) => + factory VideoEncoderConfiguration.fromJson(Map<String, dynamic> json) => _$VideoEncoderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_videoframe.dita b/en-US/dita/RTC/API/class_videoframe.dita index 37a2b690104..c3fc1016cb6 100644 --- a/en-US/dita/RTC/API/class_videoframe.dita +++ b/en-US/dita/RTC/API/class_videoframe.dita @@ -6,8 +6,8 @@

            - - + + struct VideoFrame { VIDEO_FRAME_TYPE type; int width; @@ -40,9 +40,9 @@ public long renderTimeMs; public int avsync_type; }; - - -

            + + +

            The video data format is YUV420. Note that the buffer provides a pointer to a pointer. This interface cannot modify the pointer of the buffer but can modify the content of the buffer.

            diff --git a/en-US/dita/RTC/API/class_virtualbackgroundsource.dita b/en-US/dita/RTC/API/class_virtualbackgroundsource.dita index c1ab21d7b29..3b1b8ed05a5 100644 --- a/en-US/dita/RTC/API/class_virtualbackgroundsource.dita +++ b/en-US/dita/RTC/API/class_virtualbackgroundsource.dita @@ -81,8 +81,8 @@ @end

            - - + + struct VirtualBackgroundSource { enum BACKGROUND_SOURCE_TYPE { BACKGROUND_COLOR = 1, @@ -135,10 +135,10 @@ this.blurDegree = VirtualBackgroundBlurDegree.High, }); - factory VirtualBackgroundSource.fromJson(Map<String, dynamic> json) => + factory VirtualBackgroundSource.fromJson(Map<String, dynamic> json) => _$VirtualBackgroundSourceFromJson(json); - Map<String, dynamic> toJson() => _$VirtualBackgroundSourceToJson(this); + Map<String, dynamic> toJson() => _$VirtualBackgroundSourceToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_watermarkoptions.dita b/en-US/dita/RTC/API/class_watermarkoptions.dita index 4c631d80e20..4c2f1f472a0 100644 --- a/en-US/dita/RTC/API/class_watermarkoptions.dita +++ b/en-US/dita/RTC/API/class_watermarkoptions.dita @@ -55,7 +55,7 @@ positionInPortraitMode: Rectangle, positionInLandscapeMode: Rectangle } - + class WatermarkOptions { @JsonKey(includeIfNull: false) @@ -73,10 +73,10 @@ this.positionInPortraitMode, }); - factory WatermarkOptions.fromJson(Map<String, dynamic> json) => + factory WatermarkOptions.fromJson(Map<String, dynamic> json) => _$WatermarkOptionsFromJson(json); - Map<String, dynamic> toJson() => _$WatermarkOptionsToJson(this); + Map<String, dynamic> toJson() => _$WatermarkOptionsToJson(this); }

            diff --git a/en-US/dita/RTC/API/class_watermarkratio.dita b/en-US/dita/RTC/API/class_watermarkratio.dita index 17f03ada283..751469ffece 100644 --- a/en-US/dita/RTC/API/class_watermarkratio.dita +++ b/en-US/dita/RTC/API/class_watermarkratio.dita @@ -6,8 +6,8 @@

            - - + + struct WatermarkRatio { float xRatio; float yRatio; @@ -16,7 +16,7 @@ WatermarkRatio(float x, float y, float width) : xRatio(x), yRatio(y), widthRatio(width) {} }; - + public class WatermarkRatio { public WatermarkRatio() { @@ -36,8 +36,8 @@ public float yRatio { set; get; } public float widthRatio { set; get; } } - -

            + +

            The position and size of the watermark on the screen are determined by xRatio, yRatio, and widthRatio: diff --git a/en-US/dita/RTC/API/class_windowinfo.dita b/en-US/dita/RTC/API/class_windowinfo.dita index 4825d9ef730..26c5a7c6c08 100644 --- a/en-US/dita/RTC/API/class_windowinfo.dita +++ b/en-US/dita/RTC/API/class_windowinfo.dita @@ -7,9 +7,9 @@

            - - - + + + export interface WindowInfo { windowId: number; name: string; @@ -21,9 +21,9 @@ originHeight: number; image: Uint8Array; } - - -

            + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" />