From 628bfe25f3db19a251567061976e9dd98b87eab8 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:43:28 +0800 Subject: [PATCH 001/146] add hmos codeblock --- .../API/api_agoravideoencoderconfiguration_initwithsize.dita | 1 + .../API/api_agoravideoencoderconfiguration_initwithwidth.dita | 1 + ...hannelmediarelayconfiguration_getdestchannelmediainfos.dita | 1 + ..._channelmediarelayconfiguration_getsrcchannelmediainfo.dita | 1 + ...i_channelmediarelayconfiguration_removedestchannelinfo.dita | 1 + .../api_channelmediarelayconfiguration_setdestchannelinfo.dita | 1 + .../api_channelmediarelayconfiguration_setsrcchannelinfo.dita | 1 + dita/RTC-NG/API/api_createagorartcengine.dita | 1 + dita/RTC-NG/API/api_createagorartcengineex.dita | 1 + dita/RTC-NG/API/api_getmediaplayercachemanager.dita | 1 + dita/RTC-NG/API/api_iagoraparameter_setparameters.dita | 1 + .../API/api_iaudiodevicecollection_getapplicationvolume.dita | 1 + dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita | 1 + .../API/api_iaudiodevicecollection_getdefaultdevice.dita | 1 + .../API/api_iaudiodevicecollection_getdefaultdevice2.dita | 1 + dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita | 1 + dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita | 1 + .../API/api_iaudiodevicecollection_isapplicationmute.dita | 1 + dita/RTC-NG/API/api_iaudiodevicecollection_release.dita | 1 + .../API/api_iaudiodevicecollection_setapplicationmute.dita | 1 + .../API/api_iaudiodevicecollection_setapplicationvolume.dita | 1 + dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita | 1 + .../API/api_iaudiodevicemanager_enumerateplaybackdevices.dita | 1 + .../API/api_iaudiodevicemanager_enumeraterecordingdevices.dita | 1 + .../api_iaudiodevicemanager_followsystemloopbackdevice.dita | 1 + .../api_iaudiodevicemanager_followsystemplaybackdevice.dita | 1 + .../api_iaudiodevicemanager_followsystemrecordingdevice.dita | 1 + dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita | 1 + .../API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita | 1 + .../API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita | 1 + dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita | 1 + .../API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita | 1 + .../API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita | 1 + .../API/api_iaudiodevicemanager_getplaybackdevicemute.dita | 1 + .../API/api_iaudiodevicemanager_getplaybackdevicevolume.dita | 1 + .../API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita | 1 + .../api_iaudiodevicemanager_getrecordingdefaultdevice2.dita | 1 + .../RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita | 1 + .../API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita | 1 + .../API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita | 1 + .../API/api_iaudiodevicemanager_getrecordingdevicemute.dita | 1 + .../API/api_iaudiodevicemanager_getrecordingdevicevolume.dita | 1 + dita/RTC-NG/API/api_iaudiodevicemanager_release.dita | 1 + dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita | 1 + dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita | 1 + .../API/api_iaudiodevicemanager_setplaybackdevicemute.dita | 1 + .../API/api_iaudiodevicemanager_setplaybackdevicevolume.dita | 1 + .../RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita | 1 + .../API/api_iaudiodevicemanager_setrecordingdevicemute.dita | 1 + .../API/api_iaudiodevicemanager_setrecordingdevicevolume.dita | 1 + .../api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita | 1 + .../API/api_iaudiodevicemanager_startplaybackdevicetest.dita | 1 + .../API/api_iaudiodevicemanager_startrecordingdevicetest.dita | 1 + .../api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita | 1 + .../API/api_iaudiodevicemanager_stopplaybackdevicetest.dita | 1 + .../API/api_iaudiodevicemanager_stoprecordingdevicetest.dita | 1 + .../api_ibasespatialaudioengine_muteallremoteaudiostreams.dita | 1 + .../API/api_ibasespatialaudioengine_mutelocalaudiostream.dita | 1 + .../API/api_ibasespatialaudioengine_muteremoteaudiostream.dita | 1 + dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita | 1 + .../API/api_ibasespatialaudioengine_setaudiorecvrange.dita | 1 + .../API/api_ibasespatialaudioengine_setdistanceunit.dita | 1 + .../API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita | 1 + .../API/api_ibasespatialaudioengine_setplayerattenuation.dita | 1 + dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita | 1 + .../api_ibasespatialaudioengine_updateplayerpositioninfo.dita | 1 + .../API/api_ibasespatialaudioengine_updateselfposition.dita | 1 + .../API/api_ilocalspatialaudioengine_clearremotepositions.dita | 1 + dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita | 1 + dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita | 1 + dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita | 1 + .../API/api_ilocalspatialaudioengine_removeremoteposition.dita | 1 + ...api_ilocalspatialaudioengine_setremoteaudioattenuation.dita | 1 + .../API/api_ilocalspatialaudioengine_updateremoteposition.dita | 1 + .../API/api_ilocalspatialaudioengine_updateselftransform.dita | 1 + dita/RTC-NG/API/api_imediaengine_addlistener.dita | 1 + dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita | 1 + dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita | 1 + dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita | 1 + dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita | 1 + dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita | 1 + dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita | 1 + dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita | 1 + .../API/api_imediaengine_registeraudioframeobserver.dita | 1 + dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita | 1 + .../api_imediaengine_registervideoencodedframeobserver.dita | 1 + .../API/api_imediaengine_registervideoframeobserver.dita | 1 + dita/RTC-NG/API/api_imediaengine_removealllisteners.dita | 1 + dita/RTC-NG/API/api_imediaengine_removelistener.dita | 1 + dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita | 1 + dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita | 1 + dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita | 1 + .../API/api_imediaengine_unregisteraudioframeobserver.dita | 1 + .../API/api_imediaengine_unregisterfaceinfoobserver.dita | 1 + .../api_imediaengine_unregistervideoencodedframeobserver.dita | 1 + .../API/api_imediaengine_unregistervideoframeobserver.dita | 1 + dita/RTC-NG/API/api_imediaplayer_addlistener.dita | 1 + dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita | 1 + .../RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita | 1 + dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita | 1 + dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getduration.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita | 1 + .../API/api_imediaplayer_getmediaplayersourceobserver.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getmute.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getplayposition.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getstate.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita | 1 + dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita | 1 + dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita | 1 + dita/RTC-NG/API/api_imediaplayer_mute.dita | 1 + dita/RTC-NG/API/api_imediaplayer_open.dita | 1 + dita/RTC-NG/API/api_imediaplayer_open2.dita | 1 + dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita | 1 + dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita | 1 + dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita | 1 + dita/RTC-NG/API/api_imediaplayer_pause.dita | 1 + dita/RTC-NG/API/api_imediaplayer_play.dita | 1 + dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita | 1 + dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita | 1 + .../API/api_imediaplayer_registeraudioframeobserver.dita | 1 + .../API/api_imediaplayer_registeraudioframeobserver2.dita | 1 + .../API/api_imediaplayer_registerplayersourceobserver.dita | 1 + .../API/api_imediaplayer_registervideoframeobserver.dita | 1 + dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita | 1 + dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita | 1 + dita/RTC-NG/API/api_imediaplayer_removelistener.dita | 1 + dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita | 1 + dita/RTC-NG/API/api_imediaplayer_resume.dita | 1 + dita/RTC-NG/API/api_imediaplayer_seek.dita | 1 + dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita | 1 + dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita | 1 + dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setloopcount.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setrendermode.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita | 1 + dita/RTC-NG/API/api_imediaplayer_setview.dita | 1 + dita/RTC-NG/API/api_imediaplayer_stop.dita | 1 + .../RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita | 1 + dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita | 3 ++- dita/RTC-NG/API/api_imediaplayer_switchsrc.dita | 1 + dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita | 1 + dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita | 1 + .../API/api_imediaplayer_unregisteraudioframeobserver.dita | 1 + .../API/api_imediaplayer_unregisterplayersourceobserver.dita | 1 + .../API/api_imediaplayer_unregistervideoframeobserver.dita | 1 + .../api_imediaplayercachemanager_enableautoremovecache.dita | 1 + dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita | 1 + .../API/api_imediaplayercachemanager_getcachefilecount.dita | 1 + .../API/api_imediaplayercachemanager_getmaxcachefilecount.dita | 1 + .../API/api_imediaplayercachemanager_getmaxcachefilesize.dita | 1 + .../API/api_imediaplayercachemanager_removeallcaches.dita | 1 + .../API/api_imediaplayercachemanager_removecachebyuri.dita | 1 + .../API/api_imediaplayercachemanager_removeoldcache.dita | 1 + dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita | 1 + .../API/api_imediaplayercachemanager_setmaxcachefilecount.dita | 1 + .../API/api_imediaplayercachemanager_setmaxcachefilesize.dita | 1 + .../API/api_imediaplayercachemanager_sharedinstance.dita | 1 + dita/RTC-NG/API/api_imediarecorder_addlistener.dita | 1 + .../RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita | 1 + dita/RTC-NG/API/api_imediarecorder_release.dita | 1 + dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita | 1 + dita/RTC-NG/API/api_imediarecorder_removelistener.dita | 1 + .../API/api_imediarecorder_setmediarecorderobserver.dita | 1 + dita/RTC-NG/API/api_imediarecorder_startrecording.dita | 1 + dita/RTC-NG/API/api_imediarecorder_stoprecording.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita | 1 + .../API/api_imusiccontentcenter_enablemainqueuedispatch.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita | 1 + .../API/api_imusiccontentcenter_getinternalsongcode.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita | 1 + ...i_imusiccontentcenter_getmusiccollectionbymusicchartid.dita | 1 + ..._imusiccontentcenter_getmusiccollectionbymusicchartid2.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_getsongsimpleinfo.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita | 1 + .../API/api_imusiccontentcenter_registereventhandler.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_release.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita | 1 + dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita | 1 + .../API/api_imusiccontentcenter_unregistereventhandler.dita | 1 + dita/RTC-NG/API/api_imusicontentcenter_preload.dita | 1 + dita/RTC-NG/API/api_imusicontentcenter_preload2.dita | 1 + dita/RTC-NG/API/api_imusicplayer_destroy.dita | 1 + dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita | 1 + dita/RTC-NG/API/api_imusicplayer_open.dita | 1 + dita/RTC-NG/API/api_imusicplayer_open2.dita | 1 + dita/RTC-NG/API/api_imusicplayer_stop.dita | 1 + dita/RTC-NG/API/api_irtcengine_addextension.dita | 1 + dita/RTC-NG/API/api_irtcengine_addhandler.dita | 1 + dita/RTC-NG/API/api_irtcengine_addlistener.dita | 1 + dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita | 1 + dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita | 1 + dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita | 1 + .../API/api_irtcengine_adjustaudiomixingplayoutvolume.dita | 1 + .../API/api_irtcengine_adjustaudiomixingpublishvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita | 1 + .../API/api_irtcengine_adjustcustomaudioplayoutvolume.dita | 1 + .../API/api_irtcengine_adjustcustomaudiopublishvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita | 1 + .../RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita | 1 + .../API/api_irtcengine_adjustuserplaybacksignalvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita | 1 + dita/RTC-NG/API/api_irtcengine_complain.dita | 1 + dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita | 1 + dita/RTC-NG/API/api_irtcengine_create.dita | 1 + .../API/api_irtcengine_createcustomencodedvideotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_createdatastream.dita | 1 + dita/RTC-NG/API/api_irtcengine_createdatastream2.dita | 1 + dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita | 1 + dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita | 1 + dita/RTC-NG/API/api_irtcengine_createrendererview.dita | 1 + dita/RTC-NG/API/api_irtcengine_createtextureview.dita | 1 + dita/RTC-NG/API/api_irtcengine_createwithareacode.dita | 1 + dita/RTC-NG/API/api_irtcengine_createwithconfig.dita | 1 + dita/RTC-NG/API/api_irtcengine_delegate.dita | 1 + .../API/api_irtcengine_destroycustomencodedvideotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita | 1 + dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita | 1 + dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita | 1 + dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita | 1 + dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita | 1 + dita/RTC-NG/API/api_irtcengine_devicemanager.dita | 1 + dita/RTC-NG/API/api_irtcengine_disableaudio.dita | 1 + .../RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita | 1 + dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita | 1 + dita/RTC-NG/API/api_irtcengine_disablevideo.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableaudio.dita | 1 + .../API/api_irtcengine_enableaudioqualityindication.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita | 1 + .../RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita | 1 + .../API/api_irtcengine_enablecustomaudiolocalplayback.dita | 1 + dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita | 1 + dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita | 1 + dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita | 1 + .../API/api_irtcengine_enableechocancellationexternal.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableencryption.dita | 3 ++- dita/RTC-NG/API/api_irtcengine_enableextension.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita | 1 + .../RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita | 1 + dita/RTC-NG/API/api_irtcengine_enableplugin.dita | 1 + .../API/api_irtcengine_enablesoundpositionindication.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablevideo.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita | 1 + .../API/api_irtcengine_enablewebsdkinteroperability.dita | 1 + dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita | 1 + dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita | 1 + dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita | 1 + dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita | 1 + .../api_irtcengine_getagorartcaudioplaybackdevicemanager.dita | 1 + .../api_irtcengine_getagorartcaudiorecordingdevicemanager.dita | 1 + .../API/api_irtcengine_getagorartccloudspatialaudioengine.dita | 1 + dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita | 1 + .../API/api_irtcengine_getagorartcvideodevicemanager.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita | 1 + .../API/api_irtcengine_getaudiomixingcurrentposition.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita | 1 + .../RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita | 1 + .../RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita | 1 + dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita | 1 + dita/RTC-NG/API/api_irtcengine_getbuffertype.dita | 1 + dita/RTC-NG/API/api_irtcengine_getcallid.dita | 1 + dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita | 1 + dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita | 1 + .../RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita | 1 + dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita | 1 + dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita | 2 ++ dita/RTC-NG/API/api_irtcengine_geteffectduration.dita | 1 + dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_geterrordescription.dita | 1 + dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita | 1 + dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita | 1 + dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita | 1 + dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_getmediaengine.dita | 1 + dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita | 1 + dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita | 1 + dita/RTC-NG/API/api_irtcengine_getnativehandle.dita | 1 + dita/RTC-NG/API/api_irtcengine_getnetworktype.dita | 1 + dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita | 1 + dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita | 1 + dita/RTC-NG/API/api_irtcengine_getplugins.dita | 1 + dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita | 1 + dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita | 1 + dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita | 1 + dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita | 1 + dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita | 1 + dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita | 1 + dita/RTC-NG/API/api_irtcengine_getversion.dita | 1 + dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita | 1 + dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita | 1 + dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita | 1 + dita/RTC-NG/API/api_irtcengine_getvideodevices.dita | 1 + dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita | 1 + dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita | 1 + dita/RTC-NG/API/api_irtcengine_initialize.dita | 1 + .../api_irtcengine_iscameraautoexposurefacemodesupported.dita | 1 + .../API/api_irtcengine_iscameraautofocusfacemodesupported.dita | 1 + .../API/api_irtcengine_iscameracenterstagesupported.dita | 1 + .../API/api_irtcengine_iscameraexposurepositionsupported.dita | 1 + dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita | 1 + .../RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita | 1 + dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita | 1 + dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita | 1 + dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita | 1 + dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita | 1 + dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita | 1 + dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita | 1 + dita/RTC-NG/API/api_irtcengine_joinchannel.dita | 1 + dita/RTC-NG/API/api_irtcengine_joinchannel2.dita | 1 + dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita | 1 + .../RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita | 3 ++- .../API/api_irtcengine_joinchannelwithuseraccountex.dita | 1 + dita/RTC-NG/API/api_irtcengine_leavechannel.dita | 1 + dita/RTC-NG/API/api_irtcengine_leavechannel2.dita | 1 + dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita | 1 + dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita | 1 + dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita | 1 + dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita | 1 + dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita | 1 + dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita | 1 + dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita | 1 + dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita | 1 + dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita | 1 + dita/RTC-NG/API/api_irtcengine_pausealleffects.dita | 1 + dita/RTC-NG/API/api_irtcengine_pauseaudio.dita | 1 + dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita | 1 + dita/RTC-NG/API/api_irtcengine_pauseeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_playalleffects.dita | 1 + dita/RTC-NG/API/api_irtcengine_playeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_playeffect2.dita | 1 + dita/RTC-NG/API/api_irtcengine_playeffect3.dita | 1 + dita/RTC-NG/API/api_irtcengine_preloadchannel.dita | 1 + .../API/api_irtcengine_preloadchannelwithuseraccount.dita | 1 + dita/RTC-NG/API/api_irtcengine_preloadeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita | 1 + ...ngine_pullplaybackaudioframesamplebufferbylengthinbyte.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita | 1 + .../api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita | 1 + .../API/api_irtcengine_pushexternalaudioframesamplebuffer.dita | 1 + .../api_irtcengine_pushexternalaudioframesamplebuffer2.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita | 1 + dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita | 1 + .../API/api_irtcengine_querycamerafocallengthcapability.dita | 1 + dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita | 1 + dita/RTC-NG/API/api_irtcengine_querydevicescore.dita | 1 + dita/RTC-NG/API/api_irtcengine_queryinterface.dita | 1 + .../API/api_irtcengine_queryscreencapturecapability.dita | 1 + dita/RTC-NG/API/api_irtcengine_rate.dita | 1 + .../API/api_irtcengine_registeraudioencodedframeobserver.dita | 1 + .../API/api_irtcengine_registeraudiospectrumobserver.dita | 1 + dita/RTC-NG/API/api_irtcengine_registerextension.dita | 1 + dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita | 1 + .../API/api_irtcengine_registermediametadataobserver.dita | 1 + dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita | 1 + dita/RTC-NG/API/api_irtcengine_registerplugin.dita | 1 + dita/RTC-NG/API/api_irtcengine_release.dita | 1 + dita/RTC-NG/API/api_irtcengine_removealllisteners.dita | 1 + dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita | 1 + dita/RTC-NG/API/api_irtcengine_removehandler.dita | 1 + dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita | 1 + dita/RTC-NG/API/api_irtcengine_removelistener.dita | 1 + dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita | 1 + dita/RTC-NG/API/api_irtcengine_renewtoken.dita | 1 + dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita | 1 + dita/RTC-NG/API/api_irtcengine_resumealleffects.dita | 1 + dita/RTC-NG/API/api_irtcengine_resumeaudio.dita | 1 + dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita | 1 + dita/RTC-NG/API/api_irtcengine_resumeeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita | 1 + dita/RTC-NG/API/api_irtcengine_sendmetadata.dita | 1 + dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita | 1 + dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_setainsmode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita | 1 + .../RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita | 1 + dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita | 1 + .../api_irtcengine_setaudiosessionoperationrestriction.dita | 1 + dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita | 1 + dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita | 1 + .../api_irtcengine_setcameraautoexposurefacemodeenabled.dita | 1 + .../API/api_irtcengine_setcameraautofocusfacemodeenabled.dita | 1 + .../API/api_irtcengine_setcameracapturerconfiguration.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita | 1 + .../API/api_irtcengine_setcamerafocuspositioninpreview.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita | 1 + dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita | 1 + dita/RTC-NG/API/api_irtcengine_setclientrole.dita | 1 + dita/RTC-NG/API/api_irtcengine_setclientrole2.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita | 1 + dita/RTC-NG/API/api_irtcengine_setcontentinspec.dita | 1 + .../api_irtcengine_setdefaultmuteallremoteaudiostreams.dita | 1 + .../api_irtcengine_setdefaultmuteallremotevideostreams.dita | 1 + dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita | 1 + ...api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita | 1 + ...api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita | 1 + dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita | 1 + .../api_irtcengine_setearmonitoringaudioframeparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_seteffectposition.dita | 1 + dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita | 1 + dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita | 1 + .../API/api_irtcengine_setextensionproviderproperty.dita | 1 + dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita | 1 + .../API/api_irtcengine_setexternalaudiosourcevolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita | 1 + .../API/api_irtcengine_sethighqualityaudioparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita | 1 + .../API/api_irtcengine_setlocalpublishfallbackoption.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlogfile.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlogfilter.dita | 1 + dita/RTC-NG/API/api_irtcengine_setloglevel.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita | 1 + dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita | 1 + dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita | 1 + .../API/api_irtcengine_setmixedaudioframeparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setparameters.dita | 1 + ...irtcengine_setplaybackaudioframebeforemixingparameters.dita | 1 + .../API/api_irtcengine_setplaybackaudioframeparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita | 1 + .../API/api_irtcengine_setrecordingaudioframeparameters.dita | 1 + .../API/api_irtcengine_setremotedefaultvideostreamtype.dita | 1 + dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita | 1 + dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita | 1 + .../API/api_irtcengine_setremotesubscribefallbackoption.dita | 3 ++- dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita | 3 ++- .../API/api_irtcengine_setremoteuserspatialaudioparams.dita | 1 + dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita | 1 + dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita | 3 ++- .../API/api_irtcengine_setremotevideosubscriptionoptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita | 1 + dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita | 1 + dita/RTC-NG/API/api_irtcengine_setrendermode.dita | 1 + .../RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita | 1 + .../RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita | 1 + .../RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita | 1 + dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita | 1 + dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita | 1 + dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita | 1 + dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita | 1 + dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita | 1 + dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita | 1 + dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita | 1 + .../API/api_irtcengine_setvideoencoderconfiguration.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvideosource.dita | 1 + dita/RTC-NG/API/api_irtcengine_setview.dita | 1 + .../API/api_irtcengine_setvoicebeautifierparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita | 1 + .../API/api_irtcengine_setvoiceconversionparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita | 1 + dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita | 1 + dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita | 1 + dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita | 1 + dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita | 1 + dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita | 1 + dita/RTC-NG/API/api_irtcengine_startcameracapture.dita | 1 + dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita | 1 + dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita | 1 + dita/RTC-NG/API/api_irtcengine_startechotest.dita | 1 + dita/RTC-NG/API/api_irtcengine_startechotest2.dita | 1 + dita/RTC-NG/API/api_irtcengine_startechotest3.dita | 1 + dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita | 1 + dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita | 1 + dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita | 1 + .../API/api_irtcengine_startorupdatechannelmediarelay.dita | 1 + dita/RTC-NG/API/api_irtcengine_startpreview.dita | 1 + dita/RTC-NG/API/api_irtcengine_startpreview2.dita | 1 + .../API/api_irtcengine_startprimarycustomaudiotrack.dita | 1 + .../API/api_irtcengine_startrtmpstreamwithouttranscoding.dita | 1 + .../API/api_irtcengine_startrtmpstreamwithtranscoding.dita | 1 + dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita | 1 + .../API/api_irtcengine_startscreencapturebydisplayid.dita | 1 + .../API/api_irtcengine_startscreencapturebyscreenrect.dita | 1 + .../API/api_irtcengine_startscreencapturebywindowid.dita | 1 + .../API/api_irtcengine_startsecondarycustomaudiotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_statechanged.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopalleffects.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopechotest.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopeffect.dita | 1 + dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita | 1 + dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita | 1 + dita/RTC-NG/API/api_irtcengine_stoppreview.dita | 1 + dita/RTC-NG/API/api_irtcengine_stoppreview2.dita | 1 + .../RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita | 1 + dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita | 1 + dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita | 1 + .../API/api_irtcengine_stopsecondarycustomaudiotrack.dita | 1 + dita/RTC-NG/API/api_irtcengine_switchcamera.dita | 1 + dita/RTC-NG/API/api_irtcengine_switchcamera2.dita | 1 + dita/RTC-NG/API/api_irtcengine_switchchannel.dita | 1 + dita/RTC-NG/API/api_irtcengine_switchchannel2.dita | 1 + dita/RTC-NG/API/api_irtcengine_takescreenshot.dita | 1 + dita/RTC-NG/API/api_irtcengine_takesnapshot.dita | 1 + dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita | 1 + dita/RTC-NG/API/api_irtcengine_unloadeffect.dita | 1 + .../api_irtcengine_unregisteraudioencodedframeobserver.dita | 1 + .../API/api_irtcengine_unregisteraudioframeobserver.dita | 1 + .../API/api_irtcengine_unregisteraudiospectrumobserver.dita | 1 + .../API/api_irtcengine_unregistermediametadataobserver.dita | 1 + dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita | 1 + .../api_irtcengine_unregistervideoencodedimagereceiver.dita | 1 + .../API/api_irtcengine_unregistervideoframeobserver.dita | 1 + dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita | 1 + dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita | 1 + .../api_irtcengine_updatedirectcdnstreamingmediaoptions.dita | 1 + .../API/api_irtcengine_updatelocaltranscoderconfiguration.dita | 1 + dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita | 1 + dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita | 1 + .../API/api_irtcengine_updatescreencaptureparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita | 1 + dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita | 1 + dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita | 1 + dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita | 1 + .../API/api_irtcengineex_adjustrecordingsignalvolumeex.dita | 1 + .../API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita | 1 + .../API/api_irtcengineex_enableaudiovolumeindicationex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita | 1 + .../RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_getcallidex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita | 1 + .../API/api_irtcengineex_getuserinfobyuseraccountex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita | 1 + .../API/api_irtcengineex_muteallremoteaudiostreamsex.dita | 1 + .../API/api_irtcengineex_muteallremotevideostreamsex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita | 1 + .../API/api_irtcengineex_pauseallchannelmediarelayex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita | 1 + .../API/api_irtcengineex_resumeallchannelmediarelayex.dita | 1 + .../RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita | 1 + .../API/api_irtcengineex_setremotevideostreamtypeex.dita | 3 ++- .../api_irtcengineex_setremotevideosubscriptionoptionsex.dita | 1 + .../API/api_irtcengineex_setremotevoice3dpositionex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita | 1 + .../API/api_irtcengineex_setsubscribeaudioallowlistex.dita | 1 + .../API/api_irtcengineex_setsubscribeaudioblocklistex.dita | 1 + .../API/api_irtcengineex_setsubscribevideoallowlistex.dita | 1 + .../API/api_irtcengineex_setsubscribevideoblocklistex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita | 1 + .../API/api_irtcengineex_setvideoencoderconfigurationex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita | 1 + .../API/api_irtcengineex_startmediarenderingtracingex.dita | 1 + .../API/api_irtcengineex_startorupdatechannelmediarelayex.dita | 1 + .../api_irtcengineex_startrtmpstreamwithouttranscodingex.dita | 1 + .../API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita | 1 + .../API/api_irtcengineex_updatechannelmediaoptionsex.dita | 1 + .../RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita | 1 + dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita | 1 + dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita | 1 + .../RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita | 1 + dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita | 1 + dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita | 1 + dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita | 1 + dita/RTC-NG/API/api_ivideodevicecollection_release.dita | 1 + dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita | 1 + .../API/api_ivideodevicemanager_enumeratevideodevices.dita | 1 + dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita | 1 + dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita | 1 + .../API/api_ivideodevicemanager_numberofcapabilities.dita | 1 + dita/RTC-NG/API/api_ivideodevicemanager_release.dita | 1 + dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita | 1 + dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita | 1 + dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita | 1 + dita/RTC-NG/API/api_ivideosink_getbuffertype.dita | 1 + dita/RTC-NG/API/api_ivideosink_getpixelformat.dita | 1 + dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita | 1 + dita/RTC-NG/API/api_livetranscoding_adduser.dita | 1 + dita/RTC-NG/API/api_livetranscoding_addwatermark.dita | 1 + dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita | 1 + .../RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getblue.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getgreen.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getred.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getusercount.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getusers.dita | 1 + dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita | 1 + dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita | 1 + dita/RTC-NG/API/api_livetranscoding_removeuser.dita | 1 + dita/RTC-NG/API/api_livetranscoding_removewatermark.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setblue.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setgreen.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setred.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setusers.dita | 1 + dita/RTC-NG/API/api_livetranscoding_setusers2.dita | 1 + dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita | 1 + dita/RTC-NG/API/api_monitordevicechange.dita | 1 + dita/RTC-NG/API/api_musicchartcollection_get.dita | 1 + dita/RTC-NG/API/api_musicchartcollection_getcount.dita | 1 + dita/RTC-NG/API/api_musiccollection_getcount.dita | 1 + dita/RTC-NG/API/api_musiccollection_getmusic.dita | 1 + dita/RTC-NG/API/api_musiccollection_getpage.dita | 1 + dita/RTC-NG/API/api_musiccollection_getpagesize.dita | 1 + dita/RTC-NG/API/api_musiccollection_gettotal.dita | 1 + dita/RTC-NG/API/api_registereventhandler.dita | 1 + dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita | 1 + dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita | 1 + dita/RTC-NG/API/api_rtc_local_view_textureview.dita | 1 + dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita | 1 + dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita | 1 + dita/RTC-NG/API/api_rtc_remote_view_textureview.dita | 1 + dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita | 1 + dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita | 1 + dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita | 1 + dita/RTC-NG/API/api_videosurface_enablefilptextureapply.dita | 1 + dita/RTC-NG/API/api_videosurface_setenable.dita | 1 + dita/RTC-NG/API/api_videosurface_setforuser.dita | 1 + ...eoframedelegate_agorartcmediaplayergetvideopixelformat.dita | 1 + ...rtcmediaplayervideoframedelegate_didreceivepixelbuffer.dita | 1 + dita/RTC-NG/API/callback_airplayconnected.dita | 1 + ...ck_iaudioencodedframeobserver_onmixedaudioencodedframe.dita | 1 + ...iaudioencodedframeobserver_onplaybackaudioencodedframe.dita | 1 + ...k_iaudioencodedframeobserver_onrecordaudioencodedframe.dita | 1 + ...lback_iaudioframeobserver_ismultiplechannelframewanted.dita | 1 + ...k_iaudioframeobserver_onplaybackaudioframebeforemixing.dita | 1 + ..._iaudioframeobserver_onplaybackaudioframebeforemixing2.dita | 1 + ...ck_iaudioframeobserverbase_getearmonitoringaudioparams.dita | 1 + .../callback_iaudioframeobserverbase_getmixedaudioparams.dita | 1 + ..._iaudioframeobserverbase_getobservedaudioframeposition.dita | 1 + ...allback_iaudioframeobserverbase_getplaybackaudioparams.dita | 1 + .../callback_iaudioframeobserverbase_getrecordaudioparams.dita | 1 + ...back_iaudioframeobserverbase_onearmonitoringaudioframe.dita | 1 + .../callback_iaudioframeobserverbase_onmixedaudioframe.dita | 1 + .../callback_iaudioframeobserverbase_onplaybackaudioframe.dita | 1 + .../callback_iaudioframeobserverbase_onrecordaudioframe.dita | 1 + dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita | 1 + .../callback_iaudiospectrumobserver_onlocalaudiospectrum.dita | 1 + .../callback_iaudiospectrumobserver_onremoteaudiospectrum.dita | 1 + ...streamingeventhandler_ondirectcdnstreamingstatechanged.dita | 1 + ...rectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita | 1 + dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita | 1 + .../API/callback_imediaplayeraudioframeobserver_onframe.dita | 1 + .../callback_imediaplayercustomdataprovider_onreaddata.dita | 1 + .../API/callback_imediaplayercustomdataprovider_onseek.dita | 1 + ...k_imediaplayersourceobserver_onagoracdntokenwillexpire.dita | 1 + ...ack_imediaplayersourceobserver_onaudiovolumeindication.dita | 1 + .../API/callback_imediaplayersourceobserver_oncompleted.dita | 1 + .../API/callback_imediaplayersourceobserver_onmetadata.dita | 1 + ...allback_imediaplayersourceobserver_onplaybufferupdated.dita | 1 + ...callback_imediaplayersourceobserver_onplayercachestats.dita | 1 + .../API/callback_imediaplayersourceobserver_onplayerevent.dita | 1 + ...allback_imediaplayersourceobserver_onplayerinfoupdated.dita | 1 + ...lback_imediaplayersourceobserver_onplayerplaybackstats.dita | 1 + ..._imediaplayersourceobserver_onplayersourcestatechanged.dita | 1 + ...back_imediaplayersourceobserver_onplayersrcinfochanged.dita | 1 + .../callback_imediaplayersourceobserver_onpositionchanged.dita | 1 + .../callback_imediaplayersourceobserver_onpreloadevent.dita | 1 + .../API/callback_imediaplayervideoframeobserver_onframe.dita | 1 + .../callback_imediarecorderobserver_onrecorderinfoupdated.dita | 1 + ...callback_imediarecorderobserver_onrecorderstatechanged.dita | 1 + .../API/callback_imetadataobserver_getmaxmetadatasize.dita | 1 + .../API/callback_imetadataobserver_onmetadatareceived.dita | 1 + .../API/callback_imetadataobserver_onreadytosendmetadata.dita | 1 + ...callback_imusiccontentcentereventhandler_onlyricresult.dita | 1 + ...ck_imusiccontentcentereventhandler_onmusicchartsresult.dita | 1 + ...musiccontentcentereventhandler_onmusiccollectionresult.dita | 1 + ...allback_imusiccontentcentereventhandler_onpreloadevent.dita | 1 + ...imusiccontentcentereventhandler_onsongsimpleinforesult.dita | 1 + .../API/callback_ipacketobserver_onreceiveaudiopacket.dita | 1 + .../API/callback_ipacketobserver_onreceivevideopacket.dita | 1 + .../RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita | 1 + .../RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita | 1 + .../API/callback_irtcengineeventhandler_onactivespeaker.dita | 1 + .../API/callback_irtcengineeventhandler_onapicallexecuted.dita | 1 + .../RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita | 1 + ...lback_irtcengineeventhandler_onaudiodevicestatechanged.dita | 1 + ...tcengineeventhandler_onaudiodevicetestvolumeindication.dita | 1 + ...back_irtcengineeventhandler_onaudiodevicevolumechanged.dita | 1 + .../callback_irtcengineeventhandler_onaudioeffectfinished.dita | 1 + .../callback_irtcengineeventhandler_onaudiomixingfinished.dita | 1 + ...ck_irtcengineeventhandler_onaudiomixingpositionchanged.dita | 1 + ...lback_irtcengineeventhandler_onaudiomixingstatechanged.dita | 1 + ...back_irtcengineeventhandler_onaudiopublishstatechanged.dita | 1 + .../API/callback_irtcengineeventhandler_onaudioquality.dita | 1 + .../callback_irtcengineeventhandler_onaudioroutingchanged.dita | 1 + ...ck_irtcengineeventhandler_onaudiosubscribestatechanged.dita | 1 + ...allback_irtcengineeventhandler_onaudiovolumeindication.dita | 1 + ...ack_irtcengineeventhandler_oncameraexposureareachanged.dita | 1 + ...llback_irtcengineeventhandler_oncamerafocusareachanged.dita | 1 + .../API/callback_irtcengineeventhandler_oncameraready.dita | 1 + ...llback_irtcengineeventhandler_onchannelmediarelayevent.dita | 1 + ...irtcengineeventhandler_onchannelmediarelaystatechanged.dita | 1 + .../callback_irtcengineeventhandler_onclientrolechanged.dita | 1 + ...llback_irtcengineeventhandler_onclientrolechangefailed.dita | 1 + .../callback_irtcengineeventhandler_onconnectionbanned.dita | 1 + ...allback_irtcengineeventhandler_onconnectioninterrupted.dita | 1 + .../API/callback_irtcengineeventhandler_onconnectionlost.dita | 1 + ...llback_irtcengineeventhandler_onconnectionstatechanged.dita | 1 + ...callback_irtcengineeventhandler_oncontentinspectresult.dita | 1 + dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita | 1 + ...ck_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita | 1 + .../API/callback_irtcengineeventhandler_onencryptionerror.dita | 1 + dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita | 1 + .../API/callback_irtcengineeventhandler_onextensionerror.dita | 1 + .../API/callback_irtcengineeventhandler_onextensionevent.dita | 1 + .../callback_irtcengineeventhandler_onextensionstarted.dita | 1 + .../callback_irtcengineeventhandler_onextensionstopped.dita | 1 + .../callback_irtcengineeventhandler_onfacepositionchanged.dita | 1 + ...callback_irtcengineeventhandler_onfirstlocalaudioframe.dita | 1 + ...irtcengineeventhandler_onfirstlocalaudioframepublished.dita | 1 + ...callback_irtcengineeventhandler_onfirstlocalvideoframe.dita | 3 ++- ...irtcengineeventhandler_onfirstlocalvideoframepublished.dita | 1 + ...lback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita | 1 + ...allback_irtcengineeventhandler_onfirstremoteaudioframe.dita | 1 + ...lback_irtcengineeventhandler_onfirstremotevideodecoded.dita | 1 + ...allback_irtcengineeventhandler_onfirstremotevideoframe.dita | 3 ++- .../API/callback_irtcengineeventhandler_oninitialize.dita | 1 + ...callback_irtcengineeventhandler_onintrarequestreceived.dita | 1 + .../callback_irtcengineeventhandler_onjoinchannelsuccess.dita | 1 + .../callback_irtcengineeventhandler_onlastmileproberesult.dita | 1 + .../API/callback_irtcengineeventhandler_onlastmilequality.dita | 1 + .../API/callback_irtcengineeventhandler_onleavechannel.dita | 1 + ...llback_irtcengineeventhandler_onlocalaudiostatechanged.dita | 1 + .../API/callback_irtcengineeventhandler_onlocalaudiostats.dita | 1 + ...tcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita | 1 + .../callback_irtcengineeventhandler_onlocaluserregistered.dita | 1 + ...llback_irtcengineeventhandler_onlocalvideostatechanged.dita | 1 + .../API/callback_irtcengineeventhandler_onlocalvideostats.dita | 1 + ...ack_irtcengineeventhandler_onlocalvideotranscodererror.dita | 1 + .../callback_irtcengineeventhandler_onmicrophoneenabled.dita | 1 + .../API/callback_irtcengineeventhandler_onnetworkquality.dita | 1 + .../callback_irtcengineeventhandler_onnetworktypechanged.dita | 1 + .../API/callback_irtcengineeventhandler_onpermissionerror.dita | 1 + .../API/callback_irtcengineeventhandler_onproxyconnected.dita | 1 + ...callback_irtcengineeventhandler_onrejoinchannelsuccess.dita | 1 + ...llback_irtcengineeventhandler_onremoteaudiomixingbegin.dita | 1 + ...callback_irtcengineeventhandler_onremoteaudiomixingend.dita | 1 + ...lback_irtcengineeventhandler_onremoteaudiostatechanged.dita | 3 ++- .../callback_irtcengineeventhandler_onremoteaudiostats.dita | 1 + ...ack_irtcengineeventhandler_onremoteaudiotransportstats.dita | 1 + ...ngineeventhandler_onremotesubscribefallbacktoaudioonly.dita | 1 + ...lback_irtcengineeventhandler_onremotevideostatechanged.dita | 3 ++- .../callback_irtcengineeventhandler_onremotevideostats.dita | 1 + ...ack_irtcengineeventhandler_onremotevideotransportstats.dita | 1 + ...callback_irtcengineeventhandler_onrequestaudiofileinfo.dita | 1 + .../API/callback_irtcengineeventhandler_onrequesttoken.dita | 1 + ...back_irtcengineeventhandler_onrhythmplayerstatechanged.dita | 1 + .../RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita | 1 + .../callback_irtcengineeventhandler_onrtmpstreamingevent.dita | 1 + ...ack_irtcengineeventhandler_onrtmpstreamingstatechanged.dita | 1 + ...back_irtcengineeventhandler_onscreencaptureinfoupdated.dita | 1 + .../API/callback_irtcengineeventhandler_onsnapshottaken.dita | 1 + dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita | 1 + dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita | 1 + ...callback_irtcengineeventhandler_onstreaminjectedstatus.dita | 1 + .../API/callback_irtcengineeventhandler_onstreammessage.dita | 1 + .../callback_irtcengineeventhandler_onstreammessageerror.dita | 1 + .../API/callback_irtcengineeventhandler_onstreampublished.dita | 1 + .../callback_irtcengineeventhandler_onstreamunpublished.dita | 1 + ...back_irtcengineeventhandler_ontokenprivilegewillexpire.dita | 1 + ...ck_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita | 1 + .../callback_irtcengineeventhandler_ontranscodingupdated.dita | 1 + ...back_irtcengineeventhandler_onuplinknetworkinfoupdated.dita | 1 + .../API/callback_irtcengineeventhandler_onuploadlogresult.dita | 3 ++- .../callback_irtcengineeventhandler_onuseraccountupdated.dita | 1 + ...callback_irtcengineeventhandler_onuserenablelocalvideo.dita | 1 + .../API/callback_irtcengineeventhandler_onuserenablevideo.dita | 1 + .../API/callback_irtcengineeventhandler_onuserinfoupdated.dita | 1 + .../API/callback_irtcengineeventhandler_onuserjoined.dita | 1 + .../API/callback_irtcengineeventhandler_onusermuteaudio.dita | 1 + .../API/callback_irtcengineeventhandler_onusermutevideo.dita | 1 + .../API/callback_irtcengineeventhandler_onuseroffline.dita | 1 + .../callback_irtcengineeventhandler_onuserstatechanged.dita | 1 + ...lback_irtcengineeventhandler_onvideodevicestatechanged.dita | 3 ++- ...back_irtcengineeventhandler_onvideopublishstatechanged.dita | 1 + ...k_irtcengineeventhandler_onvideorenderingtracingresult.dita | 1 + .../callback_irtcengineeventhandler_onvideosizechanged.dita | 1 + ...k_irtcengineeventhandler_onvideosourceframesizechanged.dita | 1 + .../API/callback_irtcengineeventhandler_onvideostopped.dita | 1 + ...ck_irtcengineeventhandler_onvideosubscribestatechanged.dita | 1 + ...rtcengineeventhandler_onvirtualbackgroundsourceenabled.dita | 1 + dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita | 1 + ...ivideoencodedframeobserver_onencodedvideoframereceived.dita | 1 + .../API/callback_ivideoframeobserver_getmirrorapplied.dita | 1 + .../callback_ivideoframeobserver_getobservedframeposition.dita | 1 + .../API/callback_ivideoframeobserver_getrotationapplied.dita | 1 + ...callback_ivideoframeobserver_getsmoothrenderingenabled.dita | 1 + .../callback_ivideoframeobserver_getvideoformatpreference.dita | 1 + .../callback_ivideoframeobserver_getvideoframeprocessmode.dita | 1 + .../API/callback_ivideoframeobserver_oncapturevideoframe.dita | 1 + dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita | 1 + .../callback_ivideoframeobserver_onmediaplayervideoframe.dita | 1 + ...llback_ivideoframeobserver_onpreencodescreenvideoframe.dita | 3 ++- .../callback_ivideoframeobserver_onpreencodevideoframe.dita | 1 + .../API/callback_ivideoframeobserver_onrendervideoframe.dita | 1 + .../API/callback_ivideoframeobserver_onrendervideoframeex.dita | 1 + ...callback_ivideoframeobserver_onscreencapturevideoframe.dita | 1 + ...ideoframeobserver_onsecondarypreencodecameravideoframe.dita | 1 + ...ideoframeobserver_onsecondarypreencodescreenvideoframe.dita | 1 + dita/RTC-NG/API/callback_ivideosink_ondispose.dita | 1 + dita/RTC-NG/API/callback_ivideosink_oninitialize.dita | 1 + dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita | 1 + dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita | 1 + dita/RTC-NG/API/callback_ivideosink_onstart.dita | 1 + dita/RTC-NG/API/callback_ivideosink_onstop.dita | 1 + dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita | 1 + dita/RTC-NG/API/class_Localaccesspointconfiguration.dita | 1 + dita/RTC-NG/API/class_advancedaudiooptions.dita | 3 ++- dita/RTC-NG/API/class_advancedconfiginfo.dita | 1 + dita/RTC-NG/API/class_advanceoptions.dita | 1 + dita/RTC-NG/API/class_agorafacepositioninfo.dita | 1 + dita/RTC-NG/API/class_agorarhythmplayerconfig.dita | 1 + dita/RTC-NG/API/class_agorartcdeviceinfo.dita | 1 + dita/RTC-NG/API/class_agorartcexception.dita | 1 + dita/RTC-NG/API/class_agoravideoview.dita | 1 + dita/RTC-NG/API/class_agoraview.dita | 1 + dita/RTC-NG/API/class_audiodeviceinfo.dita | 1 + dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita | 1 + dita/RTC-NG/API/class_audioexternalsourceposition.dita | 1 + dita/RTC-NG/API/class_audioframe.dita | 1 + dita/RTC-NG/API/class_audioparams.dita | 1 + dita/RTC-NG/API/class_audiopcmframe.dita | 1 + dita/RTC-NG/API/class_audiorecordingconfiguration.dita | 1 + dita/RTC-NG/API/class_audiospectrumdata.dita | 1 + dita/RTC-NG/API/class_audiotrackconfig.dita | 3 ++- dita/RTC-NG/API/class_audiovolumeinfo.dita | 1 + dita/RTC-NG/API/class_beautyoptions.dita | 1 + dita/RTC-NG/API/class_cachestatistics.dita | 1 + dita/RTC-NG/API/class_cameracapturerconfiguration.dita | 3 ++- dita/RTC-NG/API/class_channel.dita | 1 + dita/RTC-NG/API/class_channelmediainfo.dita | 1 + dita/RTC-NG/API/class_channelmediaoptions.dita | 1 + dita/RTC-NG/API/class_channelmediarelayconfiguration.dita | 1 + dita/RTC-NG/API/class_clientroleoptions.dita | 1 + dita/RTC-NG/API/class_climaxsegment.dita | 1 + dita/RTC-NG/API/class_codeccapinfo.dita | 1 + dita/RTC-NG/API/class_codeccaplevels.dita | 1 + dita/RTC-NG/API/class_colorenhanceoptions.dita | 1 + dita/RTC-NG/API/class_contentinspectconfig.dita | 1 + dita/RTC-NG/API/class_contentinspectmodule.dita | 1 + dita/RTC-NG/API/class_datastreamconfig.dita | 1 + dita/RTC-NG/API/class_device.dita | 1 + dita/RTC-NG/API/class_deviceinfo.dita | 1 + dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita | 1 + dita/RTC-NG/API/class_directcdnstreamingstats.dita | 1 + dita/RTC-NG/API/class_downlinknetworkinfo.dita | 1 + dita/RTC-NG/API/class_echotestconfiguration.dita | 1 + dita/RTC-NG/API/class_encodedaudioframeinfo.dita | 1 + dita/RTC-NG/API/class_encodedvideoframeinfo.dita | 1 + dita/RTC-NG/API/class_encryptionconfig.dita | 3 ++- dita/RTC-NG/API/class_externalvideoframe.dita | 1 + dita/RTC-NG/API/class_focallengthinfo.dita | 1 + dita/RTC-NG/API/class_imagetrackoptions.dita | 1 + dita/RTC-NG/API/class_imediaengineevent.dita | 1 + dita/RTC-NG/API/class_imediafilterextensiondelegate.dita | 1 + dita/RTC-NG/API/class_imediaplayerevent.dita | 1 + dita/RTC-NG/API/class_imediarecorderevent.dita | 1 + dita/RTC-NG/API/class_injectstreamconfig.dita | 1 + dita/RTC-NG/API/class_intrinsicelements.dita | 1 + dita/RTC-NG/API/class_irtcengineevent.dita | 1 + dita/RTC-NG/API/class_ivideosink.dita | 1 + dita/RTC-NG/API/class_lastmileprobeconfig.dita | 1 + dita/RTC-NG/API/class_lastmileprobeonewayresult.dita | 1 + dita/RTC-NG/API/class_lastmileproberesult.dita | 1 + dita/RTC-NG/API/class_leavechanneloptions.dita | 1 + dita/RTC-NG/API/class_livestreamadvancedfeature.dita | 1 + dita/RTC-NG/API/class_livetranscoding.dita | 3 ++- dita/RTC-NG/API/class_localaudiostats.dita | 1 + dita/RTC-NG/API/class_localspatialaudioconfig.dita | 1 + dita/RTC-NG/API/class_localtranscoderconfiguration.dita | 1 + dita/RTC-NG/API/class_localvideostats.dita | 1 + dita/RTC-NG/API/class_logconfig.dita | 1 + dita/RTC-NG/API/class_loguploadserverinfo.dita | 1 + dita/RTC-NG/API/class_lowlightenhanceoptions.dita | 3 ++- dita/RTC-NG/API/class_mediadeviceinfo.dita | 1 + dita/RTC-NG/API/class_mediaplayercontroller.dita | 1 + dita/RTC-NG/API/class_mediarecorderconfiguration.dita | 1 + dita/RTC-NG/API/class_mediasource.dita | 1 + dita/RTC-NG/API/class_metadata.dita | 1 + dita/RTC-NG/API/class_music.dita | 1 + dita/RTC-NG/API/class_musiccacheinfo.dita | 1 + dita/RTC-NG/API/class_musicchartcollection.dita | 1 + dita/RTC-NG/API/class_musicchartinfo.dita | 1 + dita/RTC-NG/API/class_musiccollection.dita | 1 + dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita | 1 + dita/RTC-NG/API/class_mvproperty.dita | 1 + dita/RTC-NG/API/class_playerplaybackstats.dita | 1 + dita/RTC-NG/API/class_playerstreaminfo.dita | 1 + dita/RTC-NG/API/class_playerupdatedinfo.dita | 1 + dita/RTC-NG/API/class_plugin.dita | 1 + dita/RTC-NG/API/class_plugininfo.dita | 1 + dita/RTC-NG/API/class_recorderinfo.dita | 1 + dita/RTC-NG/API/class_recorderstreaminfo.dita | 1 + dita/RTC-NG/API/class_rect.dita | 1 + dita/RTC-NG/API/class_rectangle.dita | 1 + dita/RTC-NG/API/class_remoteaudiostats.dita | 1 + dita/RTC-NG/API/class_remotevideostats.dita | 1 + dita/RTC-NG/API/class_remotevoicepositioninfo.dita | 1 + dita/RTC-NG/API/class_rendererconfig.dita | 1 + dita/RTC-NG/API/class_rendereroptions.dita | 1 + dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita | 1 + dita/RTC-NG/API/class_rtc_local_view_textureview.dita | 1 + dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita | 1 + dita/RTC-NG/API/class_rtc_remote_view_textureview.dita | 1 + dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita | 1 + dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita | 1 + dita/RTC-NG/API/class_rtcconnection.dita | 3 ++- dita/RTC-NG/API/class_rtcengineconfig.dita | 1 + dita/RTC-NG/API/class_rtcimage.dita | 1 + dita/RTC-NG/API/class_rtcrendererviewprops.dita | 1 + dita/RTC-NG/API/class_rtcstats.dita | 1 + dita/RTC-NG/API/class_screencaptureconfiguration.dita | 1 + dita/RTC-NG/API/class_screencaptureparameters.dita | 1 + dita/RTC-NG/API/class_screencapturesourceinfo.dita | 1 + dita/RTC-NG/API/class_screensymbol.dita | 1 + dita/RTC-NG/API/class_sdkbuildinfo.dita | 1 + dita/RTC-NG/API/class_segmentationproperty.dita | 1 + dita/RTC-NG/API/class_simulcaststreamconfig.dita | 1 + dita/RTC-NG/API/class_size.dita | 1 + dita/RTC-NG/API/class_snapshotconfig.dita | 1 + dita/RTC-NG/API/class_spatialaudioparams.dita | 3 ++- dita/RTC-NG/API/class_spatialaudiozone.dita | 1 + dita/RTC-NG/API/class_srcinfo.dita | 1 + dita/RTC-NG/API/class_thumbimagebuffer.dita | 1 + dita/RTC-NG/API/class_transcodinguser.dita | 1 + dita/RTC-NG/API/class_transcodingvideostream.dita | 1 + dita/RTC-NG/API/class_uplinknetworkinfo.dita | 1 + dita/RTC-NG/API/class_user.dita | 1 + dita/RTC-NG/API/class_useraudiospectruminfo.dita | 1 + dita/RTC-NG/API/class_userinfo.dita | 1 + dita/RTC-NG/API/class_videocanvas.dita | 1 + dita/RTC-NG/API/class_videodenoiseroptions.dita | 1 + dita/RTC-NG/API/class_videodeviceinfo.dita | 1 + dita/RTC-NG/API/class_videodimensions.dita | 1 + dita/RTC-NG/API/class_videoencoderconfiguration.dita | 1 + dita/RTC-NG/API/class_videoformat.dita | 1 + dita/RTC-NG/API/class_videoframe.dita | 1 + dita/RTC-NG/API/class_videoframebufferconfig.dita | 1 + dita/RTC-NG/API/class_videolayout.dita | 1 + dita/RTC-NG/API/class_videorenderingtracinginfo.dita | 1 + dita/RTC-NG/API/class_videosubscriptionoptions.dita | 3 ++- dita/RTC-NG/API/class_videoviewcontroller.dita | 1 + dita/RTC-NG/API/class_videoviewcontrollerbase.dita | 1 + dita/RTC-NG/API/class_virtualbackgroundsource.dita | 1 + dita/RTC-NG/API/class_watermarkoptions.dita | 1 + dita/RTC-NG/API/class_watermarkratio.dita | 1 + dita/RTC-NG/API/class_windowinfo.dita | 1 + dita/RTC-NG/API/construct_videoviewcontroller.dita | 1 + dita/RTC-NG/API/construct_videoviewcontroller_remote.dita | 1 + 1057 files changed, 1081 insertions(+), 23 deletions(-) diff --git a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita index 937c0097878..bdbda8a5cbf 100644 --- a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita +++ b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita @@ -14,6 +14,7 @@

+ - (instancetype _Nonnull)initWithSize:(CGSize)size frameRate:(AgoraVideoFrameRate)frameRate bitrate:(NSInteger)bitrate diff --git a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita index 79cd1878e49..7181c23de96 100644 --- a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita +++ b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita @@ -14,6 +14,7 @@

+ - (instancetype _Nonnull)initWithWidth:(NSInteger)width height:(NSInteger)height frameRate:(AgoraVideoFrameRate)frameRate diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita index 41074dc3f47..1ee900021ff 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita @@ -16,6 +16,7 @@ public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; } + diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita index 0439f53d052..78ebda2c6f0 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita @@ -16,6 +16,7 @@ public ChannelMediaInfo getSrcChannelMediaInfo() { return srcInfo; } + diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita index 122b930287b..8b65d8e74f9 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita @@ -16,6 +16,7 @@ public void removeDestChannelInfo(String channelName) { destInfos.remove(channelName); } + - (BOOL)removeDestinationInfoForChannelName:(NSString *_Nonnull)channelName; diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita index 7c131733655..538de71c3b6 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita @@ -16,6 +16,7 @@ public void setDestChannelInfo(String channelName, ChannelMediaInfo destInfo) { destInfos.put(channelName, destInfo); } + - (BOOL)setDestinationInfo:(AgoraChannelMediaRelayInfo *_Nonnull)destinationInfo forChannelName:(NSString *_Nonnull)channelName; diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita index be35d45b672..7b6e8f409f3 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita @@ -16,6 +16,7 @@ public void setSrcChannelInfo(ChannelMediaInfo srcInfo) { this.srcInfo = srcInfo; } + diff --git a/dita/RTC-NG/API/api_createagorartcengine.dita b/dita/RTC-NG/API/api_createagorartcengine.dita index 3e4c2e00980..aa3c20e601e 100644 --- a/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/dita/RTC-NG/API/api_createagorartcengine.dita @@ -14,6 +14,7 @@

+ AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine () export function createAgoraRtcEngine(): IRtcEngineEx { diff --git a/dita/RTC-NG/API/api_createagorartcengineex.dita b/dita/RTC-NG/API/api_createagorartcengineex.dita index bf0df7b4e39..535b4e26116 100644 --- a/dita/RTC-NG/API/api_createagorartcengineex.dita +++ b/dita/RTC-NG/API/api_createagorartcengineex.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index c792dd91f5d..ba6b96aab45 100644 --- a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -16,6 +16,7 @@

public abstract IMediaPlayerCacheManager getMediaPlayerCacheManager(); + - (id<AgoraRtcMediaPlayerCacheManagerProtocol> _Nullable)createMediaPlayerCacheManager; AGORA_API agora::rtc::IMediaPlayerCacheManager* AGORA_CALL getMediaPlayerCacheManager(); export function getMediaPlayerCacheManager(): IMediaPlayerCacheManager { diff --git a/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita b/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita index e312de03d81..3a8c01a2f90 100644 --- a/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita +++ b/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita @@ -14,6 +14,7 @@

+ virtual int setParameters(const char* parameters) = 0; diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita index f248f894114..08e5cf06172 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita @@ -14,6 +14,7 @@

+ virtual int getApplicationVolume(int& volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita index 273bff77ac8..6c6b661bae5 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita @@ -14,6 +14,7 @@

+ virtual int getCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita index 21bae55e6f4..1b8c4a92866 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita @@ -13,6 +13,7 @@

+ - (AgoraRtcDeviceInfo* _Nullable)getDefaultAudioDevice:(AgoraMediaDeviceType)type; virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita index 2c1d33986ce..6119c9e5045 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita @@ -14,6 +14,7 @@

+ virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita index 0fbe643c632..44a6eafebcf 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita @@ -14,6 +14,7 @@

+ virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita index 8d15cbada89..75786a93735 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita @@ -14,6 +14,7 @@

+ virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita index c46314f3b44..99f4e2327c5 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita @@ -14,6 +14,7 @@

+ virtual int isApplicationMute(bool &mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita index e1462415106..44500366b6b 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita @@ -14,6 +14,7 @@

+ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita index 22a326c4cec..77b7e52ed43 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita @@ -14,6 +14,7 @@

+ virtual int setApplicationMute(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita index f49da0ba198..a8bf916badf 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita @@ -14,6 +14,7 @@

+ virtual int setApplicationVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita b/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita index be96dcda050..14ea47e3614 100644 --- a/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita @@ -14,6 +14,7 @@

+ virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita index caaecc45dd1..3aa8b31cd5f 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita @@ -14,6 +14,7 @@

+ virtual IAudioDeviceCollection* enumeratePlaybackDevices() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita index 23b75b25619..d36637fd77a 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita @@ -14,6 +14,7 @@

+ virtual IAudioDeviceCollection* enumerateRecordingDevices() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita index bc55adc9789..039c8a52c99 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita @@ -14,6 +14,7 @@

+ virtual int followSystemLoopbackDevice(bool enable) = 0; abstract followSystemLoopbackDevice(enable: boolean): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita index e90231395ef..dec5bdf165a 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita @@ -13,6 +13,7 @@

+ (int) followSystemPlaybackDevice:(BOOL)enable; virtual int followSystemPlaybackDevice(bool enable) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita index 2f79fac6b1e..456956740ba 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita @@ -13,6 +13,7 @@

+ (int) followSystemRecordingDevice:(BOOL)enable; virtual int followSystemRecordingDevice(bool enable) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita index c1346f9ac9c..02c145edb67 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita @@ -14,6 +14,7 @@

+ virtual int getLoopbackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract getLoopbackDevice(): string; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita index d144de93e3f..ab8d9f27c3d 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita @@ -14,6 +14,7 @@

+ abstract getPlaybackDefaultDevice(): AudioDeviceInfo; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita index cade26e22bd..ec2bf51bb67 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita index 44f6ef991ed..e2a0f0a7acd 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita @@ -14,6 +14,7 @@

+ virtual int getPlaybackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita index 2d45cf8daf2..ddf8b5b1ba1 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita @@ -14,6 +14,7 @@

+ virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita index 228139ade7d..54090cc1008 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita @@ -14,6 +14,7 @@

+ virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita index fae1c57f503..cf258671316 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita @@ -14,6 +14,7 @@

+ virtual int getPlaybackDeviceMute(bool *mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita index ad53bb59767..cd77ba6652f 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita @@ -14,6 +14,7 @@

+ virtual int getPlaybackDeviceVolume(int *volume) = 0; abstract getPlaybackDeviceVolume(): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita index 1b5e9ca23ca..c459b1c5ccd 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita @@ -14,6 +14,7 @@

+ abstract getRecordingDefaultDevice(): AudioDeviceInfo; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita index b73e7101c34..496dc3c40bf 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita index d8c7ba57a68..22d07ce118b 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita @@ -14,6 +14,7 @@

+ virtual int getRecordingDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita index 7a60fbfb5a0..c6fb5f47ab1 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita @@ -14,6 +14,7 @@

+ virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita index 938fe91a3e1..137095b442c 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita @@ -14,6 +14,7 @@

+ virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita index c3b4520ab82..d887f655520 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita @@ -14,6 +14,7 @@

+ virtual int getRecordingDeviceMute(bool *mute) = 0; abstract getRecordingDeviceMute(): boolean; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita index 959154a8a80..435f57d6198 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita @@ -14,6 +14,7 @@

+ virtual int getRecordingDeviceVolume(int *volume) = 0; abstract getRecordingDeviceVolume(): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita index 1fa0a84aa0d..b87043510fa 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita @@ -14,6 +14,7 @@

+ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita index f174ac98207..d914b6ab958 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita @@ -14,6 +14,7 @@

+ virtual int setLoopbackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract setLoopbackDevice(deviceId: string): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita index dc0addf512c..0a4f0b8c63b 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita @@ -14,6 +14,7 @@

+ virtual int setPlaybackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita index 19d03e1297a..4f95cf1fd28 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita @@ -14,6 +14,7 @@

+ virtual int setPlaybackDeviceMute(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita index 0be448db384..0e0cbc30aec 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita @@ -14,6 +14,7 @@

+ virtual int setPlaybackDeviceVolume(int volume) = 0; abstract setPlaybackDeviceVolume(volume: number): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita index 1d6bd011f79..4601fc556a9 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita @@ -14,6 +14,7 @@

+ virtual int setRecordingDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita index c7a69f1ffd0..47b259c1b77 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita @@ -14,6 +14,7 @@

+ virtual int setRecordingDeviceMute(bool mute) = 0; abstract setRecordingDeviceMute(mute: boolean): number; diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita index a0a0f73417d..2bffff94975 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita @@ -14,6 +14,7 @@

+ virtual int setRecordingDeviceVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita index 116d9f66e41..72476e9fc60 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita @@ -14,6 +14,7 @@

+ -(int)startAudioDeviceLoopbackTest:(int)indicationInterval; virtual int startAudioDeviceLoopbackTest(int indicationInterval) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita index 5b4a6318791..b1ad01baa76 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita @@ -14,6 +14,7 @@

public abstract int startPlaybackDeviceTest(String audioFileName); + - (int)startPlaybackDeviceTest:(NSString * _Nonnull)audioFileName; virtual int startPlaybackDeviceTest(const char* testAudioFilePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita index 14f9bcc8b4e..6b99e91f314 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita @@ -14,6 +14,7 @@

public abstract int startRecordingDeviceTest(int indicationInterval); + - (int)startRecordingDeviceTest:(int)indicationInterval; virtual int startRecordingDeviceTest(int indicationInterval) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita index 401f576c4e4..6d9a98f6dfe 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita @@ -14,6 +14,7 @@

+ -(int)stopAudioDeviceLoopbackTest; virtual int stopAudioDeviceLoopbackTest() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita index ccf103d5538..0f490a71bdd 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita @@ -14,6 +14,7 @@

public abstract int stopPlaybackDeviceTest(); + - (int)stopPlaybackDeviceTest; virtual int stopPlaybackDeviceTest() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita b/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita index ab2bb3cd7da..d5df31800e7 100644 --- a/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita +++ b/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita @@ -14,6 +14,7 @@

public abstract int stopRecordingDeviceTest(); + - (int)stopRecordingDeviceTest; virtual int stopRecordingDeviceTest() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita index 49d5ac270f7..14cdeb3d639 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita @@ -14,6 +14,7 @@

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

public abstract int muteLocalAudioStream(boolean mute); + - (int)muteLocalAudioStream:(BOOL)mute; virtual int muteLocalAudioStream(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita index 216c6d5e7bf..e464a5afe7f 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita @@ -14,6 +14,7 @@

public abstract int muteRemoteAudioStream(int uid, boolean mute); + - (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita index f3b0a146bfe..6b4521958a1 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita @@ -14,6 +14,7 @@

+ + (void)destroy NS_SWIFT_NAME(destroy()); virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita index d6e63985824..23591a03a92 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita @@ -14,6 +14,7 @@

public abstract int setAudioRecvRange(float range); + - (int)setAudioRecvRange:(float)range; virtual int setAudioRecvRange(float range) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita index 07801822a3f..9e09b203223 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita @@ -14,6 +14,7 @@

public abstract int setDistanceUnit(float unit); + - (int)setDistanceUnit:(float)unit; virtual int setDistanceUnit(float unit) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita index 7527b38f5dc..49cf59776fa 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita @@ -14,6 +14,7 @@

public abstract int setMaxAudioRecvCount(int maxCount); + - (int)setMaxAudioRecvCount:(NSUInteger)maxCount; virtual int setMaxAudioRecvCount(int maxCount) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita index bc1568572f9..1aa20af6cda 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita @@ -14,6 +14,7 @@

public abstract int setPlayerAttenuation(int playerId, double attenuation, boolean forceSet); + - (int)setPlayerAttenuation:(double)attenuation playerId:(NSUInteger)playerId forceSet:(BOOL)forceSet; virtual int setPlayerAttenuation(int playerId, double attenuation, bool forceSet) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita index cf94b8e9303..35ad7403f37 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita @@ -14,6 +14,7 @@

public abstract int setZones(SpatialAudioZone[] zones); + - (int)setZones:(NSArray<AgoraSpatialAudioZone*> * _Nullable)zones NS_SWIFT_NAME(setZones(_:)); virtual int setZones(const SpatialAudioZone *zones, unsigned int zoneCount) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita index 7a711959a15..74f1758507e 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita @@ -14,6 +14,7 @@

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; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita index 545d8bbabc9..f56ef653d16 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita @@ -15,6 +15,7 @@

public abstract int updateSelfPosition( float[] position, float[] axisForward, float[] axisRight, float[] axisUp); + - (int)updateSelfPosition:(simd_float3)position axisForward:(simd_float3)axisForward axisRight:(simd_float3)axisRight axisUp:(simd_float3)axisUp NS_SWIFT_NAME(updateSelfPosition(_:axisForward:axisRight:axisUp:)); virtual int updateSelfPosition(float position[3], float axisForward[3], float axisRight[3], float axisUp[3]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita index c2e5ece3bc1..2fd38e7cb08 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita @@ -14,6 +14,7 @@

public abstract int clearRemotePositions(); + - (int) clearRemotePositions; virtual int clearRemotePositions() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita index 27c94c16652..e72c0a9077a 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita @@ -19,6 +19,7 @@ } return mInstance; } + diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita index d88586f1fc8..c10adc6d67f 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita @@ -14,6 +14,7 @@

public abstract int initialize(LocalSpatialAudioConfig config); + + (instancetype _Nonnull)sharedLocalSpatialAudioWithConfig:(AgoraLocalSpatialAudioConfig* _Nonnull)config; virtual int initialize(const LocalSpatialAudioConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita index 703f485553d..6c90868a14d 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita @@ -19,6 +19,7 @@ mInstance.release(); mInstance = null; } + + (void)destroy; diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita index 234930f789a..069f10b7b60 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita @@ -14,6 +14,7 @@

public abstract int removeRemotePosition(int uid); + - (int) removeRemotePosition:(NSUInteger)uid; virtual int removeRemotePosition(uid_t uid) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita index 7c354bfdbc6..e407d6a28f6 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita @@ -14,6 +14,7 @@

public abstract int setRemoteAudioAttenuation(int uid, double attenuation, boolean forceSet); + - (int) setRemoteAudioAttenuation:(double)attenuation userId:(NSUInteger)uid forceSet:(BOOL)forceSet; virtual int setRemoteAudioAttenuation(uid_t uid, double attenuation, bool forceSet) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita index a33c0ccdd5e..c1d6afe778d 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita @@ -14,6 +14,7 @@

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; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita index 5c73c84e747..c783b89f77c 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita @@ -14,6 +14,7 @@

+ - (int)updateSelfTransform:(simd_float4x4)transform NS_SWIFT_NAME(updateSelfTransform(_:)); diff --git a/dita/RTC-NG/API/api_imediaengine_addlistener.dita b/dita/RTC-NG/API/api_imediaengine_addlistener.dita index b56dc9dd6b2..3626800493e 100644 --- a/dita/RTC-NG/API/api_imediaengine_addlistener.dita +++ b/dita/RTC-NG/API/api_imediaengine_addlistener.dita @@ -14,6 +14,7 @@

+ addListener?<EventType extends keyof IMediaEngineEvent>( diff --git a/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita b/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita index 47e92a2cb32..96b4597f328 100644 --- a/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita @@ -15,6 +15,7 @@

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

public abstract int destroyCustomAudioTrack(int trackId); + - (int)destroyCustomAudioTrack:(NSInteger)trackId; virtual int destroyCustomAudioTrack(rtc::track_id_t trackId) = 0; abstract destroyCustomAudioTrack(trackId: number): number; diff --git a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita index b9ed41fc65d..6f6b6ea4c99 100644 --- a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita @@ -14,6 +14,7 @@

public abstract int pullPlaybackAudioFrame(byte[] data, int lengthInByte); + - (BOOL)pullPlaybackAudioFrameRawData:(void * _Nonnull)data lengthInByte:(NSUInteger)lengthInByte; virtual int pullAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0; diff --git a/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita b/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita index 8463e5fed63..c0b5b0398eb 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita @@ -14,6 +14,7 @@

public abstract int pushExternalAudioFrame(byte[] data, long timestamp); + - (int)pushExternalAudioFrameRawData:(void * _Nonnull)data samples:(NSInteger)samples sourceId:(NSInteger)sourceId diff --git a/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita b/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita index 2c45588d8e4..4faa87d4c92 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita @@ -14,6 +14,7 @@

+ virtual int pushAudioFrame(IAudioFrameObserver::AudioFrame* frame, rtc::track_id_t trackId = 0) = 0; abstract pushAudioFrame(frame: AudioFrame, trackId?: number): number; diff --git a/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita b/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita index 8f78a40ac8c..5d8cdfda991 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita @@ -16,6 +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; diff --git a/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita b/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita index 651f1b101e5..f53c5ceb797 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita @@ -14,6 +14,7 @@

public abstract int pushExternalVideoFrameById(AgoraVideoFrame frame, int videoTrackId); + - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame videoTrackId:(NSUInteger)videoTrackId NS_SWIFT_NAME(pushExternalVideoFrame(_:videoTrackId:)); virtual int pushVideoFrame(base::ExternalVideoFrame* frame, unsigned int videoTrackId = 0) = 0; abstract pushVideoFrame( diff --git a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index 275625435c9..215d930aea0 100644 --- a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -14,6 +14,7 @@

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

public abstract int registerFaceInfoObserver(IFaceInfoObserver receiver); + - (BOOL)setFaceInfoDelegate:(id<AgoraFaceInfoDelegate> _Nullable)delegate NS_SWIFT_NAME(setFaceInfoDelegate(_:)); virtual int registerFaceInfoObserver(IFaceInfoObserver* observer) = 0; diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita index b4a15093bb6..b55cbe2de13 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita @@ -15,6 +15,7 @@

public abstract int registerVideoEncodedFrameObserver(IVideoEncodedFrameObserver receiver); + - (BOOL)setEncodedVideoFrameDelegate:(id<AgoraEncodedVideoFrameDelegate> _Nullable)delegate; virtual int registerVideoEncodedFrameObserver(IVideoEncodedFrameObserver* observer) = 0; abstract registerVideoEncodedFrameObserver( diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita index 0ad4b78ede3..1bf0be96ded 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -14,6 +14,7 @@

public abstract int registerVideoFrameObserver(IVideoFrameObserver observer); + - (BOOL)setVideoFrameDelegate:(id<AgoraVideoFrameDelegate> _Nullable)delegate; virtual int registerVideoFrameObserver(IVideoFrameObserver* observer) = 0; abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number; diff --git a/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita b/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita index 74a4e399ffa..884b5fa5dc3 100644 --- a/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita +++ b/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita @@ -14,6 +14,7 @@

+ removeAllListeners?<EventType extends keyof IMediaEngineEvent>( diff --git a/dita/RTC-NG/API/api_imediaengine_removelistener.dita b/dita/RTC-NG/API/api_imediaengine_removelistener.dita index f8c0089dc49..5602ea14d0d 100644 --- a/dita/RTC-NG/API/api_imediaengine_removelistener.dita +++ b/dita/RTC-NG/API/api_imediaengine_removelistener.dita @@ -14,6 +14,7 @@

+ removeListener?<EventType extends keyof IMediaEngineEvent>( diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita index 60440054728..4f6dd5e0e53 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita @@ -14,6 +14,7 @@

public abstract int setExternalAudioSink(boolean enabled, int sampleRate, int channels); + - (void)enableExternalAudioSink:(BOOL)enabled sampleRate:(NSUInteger)sampleRate channels:(NSUInteger)channels; diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita index 856bc84a609..17400b8247c 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita @@ -14,6 +14,7 @@

public abstract int setExternalAudioSource(boolean enabled, int sampleRate, int channels, boolean localPlayback, boolean publish); + - (int)setExternalAudioSource:(BOOL)enabled sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita index c52255cccf3..3c555ac5595 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita @@ -15,6 +15,7 @@

public abstract int setExternalVideoSource( boolean enable, boolean useTexture, Constants.ExternalVideoSourceType sourceType); + - (void)setExternalVideoSource:(BOOL)enable useTexture:(BOOL)useTexture sourceType:(AgoraExternalVideoSourceType)sourceType; virtual int setExternalVideoSource( bool enabled, bool useTexture, EXTERNAL_VIDEO_SOURCE_TYPE sourceType = VIDEO_FRAME, diff --git a/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita index 95b9fe0d356..fd56ab89651 100644 --- a/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita @@ -14,6 +14,7 @@

+ abstract unregisterAudioFrameObserver(observer: IAudioFrameObserver): number; diff --git a/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita b/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita index 83106236f27..1028391f9fc 100644 --- a/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita index 9f83bff4250..403815554bc 100644 --- a/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita @@ -14,6 +14,7 @@

+ abstract unregisterVideoEncodedFrameObserver( diff --git a/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita index 4fa05fca76e..59f16afee9c 100644 --- a/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita @@ -14,6 +14,7 @@

+ abstract unregisterVideoFrameObserver(observer: IVideoFrameObserver): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_addlistener.dita b/dita/RTC-NG/API/api_imediaplayer_addlistener.dita index 14e0f293321..c841b98f2ae 100644 --- a/dita/RTC-NG/API/api_imediaplayer_addlistener.dita +++ b/dita/RTC-NG/API/api_imediaplayer_addlistener.dita @@ -14,6 +14,7 @@

+ addListener?<EventType extends keyof IMediaPlayerEvent>( diff --git a/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita b/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita index a9f443a97ff..17b6a1dd6ac 100644 --- a/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita @@ -14,6 +14,7 @@

int adjustPlayoutVolume(int volume); + - (int)adjustPlayoutVolume:(int)volume; virtual int adjustPlayoutVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita b/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita index 9a0a8ff1af2..2c91f0ff832 100644 --- a/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita @@ -14,6 +14,7 @@

int adjustPublishSignalVolume(int volume); + - (int)adjustPublishSignalVolume:(int)volume; virtual int adjustPublishSignalVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita b/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita index 7e7c25ea748..9923c3028f3 100644 --- a/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita +++ b/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita @@ -14,6 +14,7 @@

int changePlaybackSpeed(Constants.MediaPlayerPlaybackSpeed speed); + - (void)changePlaybackSpeed:(AgoraMediaPlayerSpeed)speed; virtual int changePlaybackSpeed(media::base::MEDIA_PLAYER_PLAYBACK_SPEED speed) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita b/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita index 41868d64687..22c34baf497 100644 --- a/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita +++ b/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita @@ -14,6 +14,7 @@

int enableAutoSwitchAgoraCDN(boolean enable); + - (int)enableAutoSwitchAgoraCDN:(BOOL)enable; virtual int enableAutoSwitchAgoraCDN(bool enable) = 0; abstract enableAutoSwitchAgoraCDN(enable: boolean): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita b/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita index 9418c26ad28..e382ba44c66 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita @@ -14,6 +14,7 @@

int getAgoraCDNLineCount(); + - (int)getAgoraCDNLineCount; virtual int getAgoraCDNLineCount() = 0; abstract getAgoraCDNLineCount(): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita b/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita index a05237db484..a2345607b8d 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita @@ -14,6 +14,7 @@

int getCurrentAgoraCDNIndex(); + - (int)getCurrentAgoraCDNIndex; virtual int getCurrentAgoraCDNIndex() = 0; abstract getCurrentAgoraCDNIndex(): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_getduration.dita b/dita/RTC-NG/API/api_imediaplayer_getduration.dita index e999111b018..4692dcc6233 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getduration.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getduration.dita @@ -14,6 +14,7 @@

long getDuration(); + - (NSInteger)getDuration; virtual int getDuration(int64_t& duration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita b/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita index 1f1eaf46410..53912509d32 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita @@ -14,6 +14,7 @@

int getMediaPlayerId(); + - (int)getMediaPlayerId; virtual int getMediaPlayerId() const = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita index a1a818c16cf..0218f41cb8f 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_imediaplayer_getmute.dita b/dita/RTC-NG/API/api_imediaplayer_getmute.dita index 343670ae998..c952b22f851 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getmute.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getmute.dita @@ -14,6 +14,7 @@

boolean getMute(); + - (bool)getMute; virtual int getMute(bool& mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita b/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita index 399893da51c..339a2f8b5c3 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita @@ -14,6 +14,7 @@

int getPlayoutVolume(); + - (int)getPlayoutVolume; virtual int getPlayoutVolume(int& volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita b/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita index 79d1317a01d..d1e754673d5 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita @@ -14,6 +14,7 @@

long getPlayPosition(); + - (NSInteger)getPosition; virtual int getPlayPosition(int64_t& pos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita b/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita index 56c0fdf170c..924d943a74a 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita @@ -14,6 +14,7 @@

String getPlaySrc(); + - (NSString *)getPlaySrc; virtual const char* getPlaySrc() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita b/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita index 71fe195b32d..2f004afa92f 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita @@ -14,6 +14,7 @@

int getPublishSignalVolume(); + - (int)getPublishSignalVolume; virtual int getPublishSignalVolume(int& volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getstate.dita b/dita/RTC-NG/API/api_imediaplayer_getstate.dita index 76025a35067..6d9e175ec56 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getstate.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getstate.dita @@ -14,6 +14,7 @@

Constants.MediaPlayerState getState(); + - (AgoraMediaPlayerState)getPlayerState; virtual media::base::MEDIA_PLAYER_STATE getState() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita b/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita index b48312bf8b8..d681d146d07 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita @@ -14,6 +14,7 @@

int getStreamCount(); + - (NSInteger)getStreamCount; virtual int getStreamCount(int64_t& count) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita b/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita index 2fcc81b79f8..296d1daeb31 100644 --- a/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita +++ b/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita @@ -14,6 +14,7 @@

MediaStreamInfo getStreamInfo(int index); + - (AgoraMediaStreamInfo *_Nullable)getStreamByIndex:(int)index; virtual int getStreamInfo(int64_t index, media::base::PlayerStreamInfo* info) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita b/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita index 6cd91b4baf5..e64a67d0bc3 100644 --- a/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita +++ b/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_imediaplayer_mute.dita b/dita/RTC-NG/API/api_imediaplayer_mute.dita index 3bf2f282278..2783343aab8 100644 --- a/dita/RTC-NG/API/api_imediaplayer_mute.dita +++ b/dita/RTC-NG/API/api_imediaplayer_mute.dita @@ -14,6 +14,7 @@

int mute(boolean muted); + - (int)mute:(bool)isMute NS_SWIFT_NAME(mute(_:)); virtual int mute(bool muted) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_open.dita b/dita/RTC-NG/API/api_imediaplayer_open.dita index e70355e231f..183392792c3 100644 --- a/dita/RTC-NG/API/api_imediaplayer_open.dita +++ b/dita/RTC-NG/API/api_imediaplayer_open.dita @@ -15,6 +15,7 @@

int open(String url, long startPos); + - (int)open:(NSString *)url startPos:(NSInteger)startPos; virtual int open(const char* url, int64_t startPos) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_open2.dita b/dita/RTC-NG/API/api_imediaplayer_open2.dita index 7838ece1eca..0f6a80c5fcb 100644 --- a/dita/RTC-NG/API/api_imediaplayer_open2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_open2.dita @@ -14,6 +14,7 @@

int open(Uri uri, long startPos); + diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita b/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita index 9ccb56f0814..811886b82ee 100644 --- a/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita @@ -15,6 +15,7 @@

int openWithAgoraCDNSrc(String src, long startPos); + - (int)openWithAgoraCDNSrc:(NSString *)src startPos:(NSInteger)startPos; virtual int openWithAgoraCDNSrc(const char* src, int64_t startPos) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita b/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita index a390b5a6f34..2501f910ac8 100644 --- a/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita +++ b/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita @@ -15,6 +15,7 @@

int openWithCustomSource(long startPos, IMediaPlayerCustomDataProvider provider); + - (int)openWithCustomSourceAtStartPos:(NSInteger)startPos withPlayerOnReadData:(AgoraRtcMediaPlayerCustomSourceOnReadCallback)onReadDataCallback andPlayerOnSeek:(AgoraRtcMediaPlayerCustomSourceOnSeekCallback)onSeekCallback; diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita index 79d83b61a63..bac70af7664 100644 --- a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita +++ b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita @@ -14,6 +14,7 @@

int openWithMediaSource(MediaPlayerSource source); + - (int)openWithMediaSource:(AgoraMediaSource *)source; virtual int openWithMediaSource(const media::base::MediaSource &source) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_pause.dita b/dita/RTC-NG/API/api_imediaplayer_pause.dita index b2af949feb7..ffe2c66aea9 100644 --- a/dita/RTC-NG/API/api_imediaplayer_pause.dita +++ b/dita/RTC-NG/API/api_imediaplayer_pause.dita @@ -15,6 +15,7 @@

int pause(); + - (int)pause; virtual int pause() = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_play.dita b/dita/RTC-NG/API/api_imediaplayer_play.dita index 07ef855b645..4c62017e493 100644 --- a/dita/RTC-NG/API/api_imediaplayer_play.dita +++ b/dita/RTC-NG/API/api_imediaplayer_play.dita @@ -14,6 +14,7 @@

int play(); + - (int)play; virtual int play() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita b/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita index 808903b2230..839c6be2ee9 100644 --- a/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita @@ -15,6 +15,7 @@

int playPreloadedSrc(String src); + - (int)playPreloadedSrc:(NSString *)src; virtual int playPreloadedSrc(const char* src) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita b/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita index ce26d7ee5a0..4c4958f073b 100644 --- a/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita @@ -15,6 +15,7 @@

int preloadSrc(String src, long startPos); + - (int)preloadSrc:(NSString *)src startPos:(int)startPos; virtual int preloadSrc(const char* src, int64_t startPos) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita index 961cc49ad14..0c0fd018e39 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita @@ -14,6 +14,7 @@

+ virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita index ef56415ac17..27efe369d6e 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita @@ -15,6 +15,7 @@

int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode); + virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer, RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index 80f8d6052e7..e05b0504508 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -15,6 +15,7 @@

int registerPlayerObserver(IMediaPlayerObserver playerObserver); + virtual int registerPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita index 4aafe91a0af..5dcc1ec796b 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita @@ -14,6 +14,7 @@

int registerVideoFrameObserver(IMediaPlayerVideoFrameObserver videoFrameObserver); + virtual int registerVideoFrameObserver(media::base::IVideoFrameObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita b/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita index 9eb0f53501a..19bc9fffba6 100644 --- a/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita +++ b/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita @@ -14,6 +14,7 @@

+ removeAllListeners?<EventType extends keyof IMediaPlayerEvent>( diff --git a/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita b/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita index cd8e6d9f694..59791965a81 100644 --- a/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita +++ b/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_imediaplayer_removelistener.dita b/dita/RTC-NG/API/api_imediaplayer_removelistener.dita index 5062d2610da..219716e0b62 100644 --- a/dita/RTC-NG/API/api_imediaplayer_removelistener.dita +++ b/dita/RTC-NG/API/api_imediaplayer_removelistener.dita @@ -14,6 +14,7 @@

+ removeListener?<EventType extends keyof IMediaPlayerEvent>( diff --git a/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita b/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita index c498afb305f..69b874e3511 100644 --- a/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita +++ b/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita @@ -15,6 +15,7 @@

int renewAgoraCDNSrcToken(String token, long ts); + - (int)renewAgoraCDNSrcToken:(NSString *)token ts:(NSInteger)ts; virtual int renewAgoraCDNSrcToken(const char* token, int64_t ts) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_resume.dita b/dita/RTC-NG/API/api_imediaplayer_resume.dita index f479e2aa713..fb514f6c4a9 100644 --- a/dita/RTC-NG/API/api_imediaplayer_resume.dita +++ b/dita/RTC-NG/API/api_imediaplayer_resume.dita @@ -14,6 +14,7 @@

int resume(); + - (int)resume; virtual int resume() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_seek.dita b/dita/RTC-NG/API/api_imediaplayer_seek.dita index 12a67b0b070..093ea70455c 100644 --- a/dita/RTC-NG/API/api_imediaplayer_seek.dita +++ b/dita/RTC-NG/API/api_imediaplayer_seek.dita @@ -15,6 +15,7 @@

int seek(long newPos); + - (void)seekToPosition:(NSInteger)position; virtual int seek(int64_t newPos) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita b/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita index a0d3fd72156..6867a6c9dab 100644 --- a/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita @@ -14,6 +14,7 @@

int selectAudioTrack(int index); + - (int)selectAudioTrack:(int)index; virtual int selectAudioTrack(int index) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita b/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita index 071dadd8a61..893209a0b08 100644 --- a/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita +++ b/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita @@ -15,6 +15,7 @@

int selectInternalSubtitle(int index); + - (int)selectInternalSubtitle:(int)index; virtual int selectInternalSubtitle(int index) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita b/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita index 7c525ea9abb..87968cbcb2d 100644 --- a/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita +++ b/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita @@ -14,6 +14,7 @@

int selectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex); + - (int)selectMultiAudioTrack:(NSInteger)playoutTrackIndex publishTrackIndex:(NSInteger)publishTrackIndex NS_SWIFT_NAME(selectMultiAudioTrack(_:publishTrackIndex:)); virtual int selectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita b/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita index 07ad27e23ec..cf11ee4a1ce 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita @@ -14,6 +14,7 @@

int setAudioDualMonoMode(int mode); + - (int)setAudioDualMonoMode:(AgoraAudioDualMonoMode)mode; virtual int setAudioDualMonoMode(agora::media::base::AUDIO_DUAL_MONO_MODE mode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita b/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita index fca9f8b3df6..5825f796399 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita @@ -14,6 +14,7 @@

int setAudioPitch(int pitch); + - (int)setAudioPitch:(NSInteger)pitch; virtual int setAudioPitch(int pitch) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita b/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita index c0e21ac4d92..e9ba2d628ba 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita @@ -15,6 +15,7 @@

int setExternalSubtitle(String url); + - (void)setExternalSubtitle:(NSString *)url; virtual int setExternalSubtitle(const char* url) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita b/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita index 407a4997419..a23e11b310e 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita @@ -15,6 +15,7 @@

int setLoopCount(int loopCount); + - (void)setLoopCount:(NSInteger)loopCount; virtual int setLoopCount(int loopCount) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita b/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita index 13467804eab..ad733dc6497 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita @@ -14,6 +14,7 @@

int setPlaybackSpeed(int speed); + - (int)setPlaybackSpeed:(int)speed; virtual int setPlaybackSpeed(int speed) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita b/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita index a4a6fbb82e4..f4f5ee94d98 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita @@ -14,6 +14,7 @@

int setPlayerOption(String key, int value); + - (int)setPlayerOption:(NSString *)key value:(NSInteger)value NS_SWIFT_NAME(setPlayerOption(_:value:)); virtual int setPlayerOption(const char* key, int64_t value) = 0; abstract setPlayerOptionInInt(key: string, value: number): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita b/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita index d3e082b980b..c44db065ed8 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita @@ -14,6 +14,7 @@

int setPlayerOptionString(String key, String value); + - (int)setPlayerOptionString:(NSString *)key value:(NSString *)value NS_SWIFT_NAME(setPlayerOptionString(_:value:)); virtual int setPlayerOption(const char* key, const char* value) = 0; abstract setPlayerOptionInString(key: string, value: string): number; diff --git a/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita b/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita index 534982fd2ac..8b2485462e0 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita @@ -15,6 +15,7 @@

int setRenderMode(int mode); + - (void)setRenderMode:(AgoraMediaPlayerRenderMode)mode; virtual int setRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita b/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita index 7a81efe80a8..14584fb0e8c 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita @@ -14,6 +14,7 @@

int setSpatialAudioParams(SpatialAudioParams params); + - (int)setSpatialAudioParams:(AgoraSpatialAudioParams* _Nonnull)params; virtual int setSpatialAudioParams(const SpatialAudioParams& params) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita b/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita index 12b773b4eb0..3093b916e50 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setvideoframedelegate.dita @@ -14,6 +14,7 @@

+ - (BOOL)setVideoFrameDelegate:(id<AgoraRtcMediaPlayerVideoFrameDelegate> _Nullable)delegate NS_SWIFT_NAME(setVideoFrameDelegate(_:)); diff --git a/dita/RTC-NG/API/api_imediaplayer_setview.dita b/dita/RTC-NG/API/api_imediaplayer_setview.dita index 8e04ddf6788..9a8e2df6291 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setview.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setview.dita @@ -15,6 +15,7 @@

int setView(View videoView); + - (void)setView:(View *_Nullable)view; virtual int setView(media::base::view_t view) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_stop.dita b/dita/RTC-NG/API/api_imediaplayer_stop.dita index 2111e3e9741..15cc6221c8d 100644 --- a/dita/RTC-NG/API/api_imediaplayer_stop.dita +++ b/dita/RTC-NG/API/api_imediaplayer_stop.dita @@ -15,6 +15,7 @@

int stop(); + - (void)stop; virtual int stop() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita b/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita index 96254e4a4b3..17a7e68afa2 100644 --- a/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita +++ b/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita @@ -15,6 +15,7 @@

int switchAgoraCDNLineByIndex(int index); + - (int)switchAgoraCDNLineByIndex:(int)index; virtual int switchAgoraCDNLineByIndex(int index) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita b/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita index 19806ad45de..e04933332c1 100644 --- a/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita @@ -15,7 +15,8 @@

int switchAgoraCDNSrc(String src, boolean syncPts); - - (int)switchAgoraCDNSrc:(NSString *)src syncPts:(BOOL)syncPts; + + - (int)switchAgoraCDNSrc:(NSString *)src syncPts:(BOOL)syncPts; virtual int switchAgoraCDNSrc(const char* src, bool syncPts = false) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita b/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita index e0ff6338418..9b467487e2e 100644 --- a/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita @@ -15,6 +15,7 @@

int switchSrc(String src, boolean syncPts); + - (int)switchSrc:(NSString *)src syncPts:(BOOL)sync; virtual int switchSrc(const char* src, bool syncPts) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita b/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita index 66cc273e353..d19ebea235e 100644 --- a/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita +++ b/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita @@ -15,6 +15,7 @@

int takeScreenshot(String filename); + - (int)takeScreenshot:(NSString *)filename; virtual int takeScreenshot(const char* filename) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita b/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita index ef6f2f954cd..80fd556c127 100644 --- a/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita +++ b/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita @@ -15,6 +15,7 @@

int unloadSrc(String src); + - (int)unloadSrc:(NSString *)src; virtual int unloadSrc(const char* src) = 0; diff --git a/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita index 27b935b3d47..266d50a4fbc 100644 --- a/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita @@ -14,6 +14,7 @@

+ virtual int unregisterAudioFrameObserver(media::IAudioPcmFrameSink* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita index 84eaca3a15c..e9f497f2607 100644 --- a/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita @@ -14,6 +14,7 @@

int unRegisterPlayerObserver(IMediaPlayerObserver playerObserver); + virtual int unregisterPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita index a6d21bd1309..bafe67ed2fd 100644 --- a/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita @@ -14,6 +14,7 @@

+ virtual int unregisterVideoFrameObserver(agora::media::base::IVideoFrameObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita index beeba407aab..09364d1250a 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita @@ -14,6 +14,7 @@

int enableAutoRemoveCache(boolean enable); + - (int)enableAutoRemoveCache:(BOOL)enable; virtual int enableAutoRemoveCache(bool enable) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita index f537c3fa25b..5b8ca4879ba 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita @@ -14,6 +14,7 @@

String getCacheDir(); + - (NSString *)cacheDir; virtual int getCacheDir(char* path, int length) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita index 5d5b47f9fa5..4c21ca29be6 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita @@ -14,6 +14,7 @@

int getCacheFileCount(); + - (NSInteger)cacheFileCount; virtual int getCacheFileCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita index f1260684c36..8d7903b1b17 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita @@ -14,6 +14,7 @@

int getMaxCacheFileCount(); + - (NSInteger)maxCacheFileCount; virtual int getMaxCacheFileCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita index 1eb3fce25f2..56bd5842ac8 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita @@ -14,6 +14,7 @@

long getMaxCacheFileSize(); + - (NSInteger)maxCacheFileSize; virtual int64_t getMaxCacheFileSize() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita index 49789138126..8d4ad15cf94 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita @@ -14,6 +14,7 @@

int removeAllCaches(); + - (int)removeAllCaches; virtual int removeAllCaches() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita index 2dce5213959..8aeba3746b0 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita @@ -14,6 +14,7 @@

int removeCacheByUri(String uri); + - (int)removeCacheByUri:(NSString *)uri; virtual int removeCacheByUri(const char *uri) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita index fdff3348b57..5c0405dd7af 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita @@ -14,6 +14,7 @@

int removeOldCache(); + - (int)removeOldCache; virtual int removeOldCache() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita index 1419d8331b3..4a523eb9cae 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita @@ -14,6 +14,7 @@

int setCacheDir(String path); + - (int)setCacheDir:(NSString *)cacheDir; virtual int setCacheDir(const char *path) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita index 37cdd7ffd75..3e46ea6a957 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita @@ -14,6 +14,7 @@

int setMaxCacheFileCount(int count); + - (int)setMaxCacheFileCount:(NSInteger)count; virtual int setMaxCacheFileCount(int count) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita index a85be333753..0b0b3cf5866 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita @@ -14,6 +14,7 @@

int setMaxCacheFileSize(long cacheSize); + - (int)setMaxCacheFileSize:(NSInteger)cacheSize; virtual int setMaxCacheFileSize(int64_t cacheSize) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") diff --git a/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita b/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita index 886961baf85..2c3233aaa31 100644 --- a/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita +++ b/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita @@ -14,6 +14,7 @@

+ + (instancetype)sharedInstance; diff --git a/dita/RTC-NG/API/api_imediarecorder_addlistener.dita b/dita/RTC-NG/API/api_imediarecorder_addlistener.dita index 36ad2629206..f442d423357 100644 --- a/dita/RTC-NG/API/api_imediarecorder_addlistener.dita +++ b/dita/RTC-NG/API/api_imediarecorder_addlistener.dita @@ -14,6 +14,7 @@

+ addListener?<EventType extends keyof IMediaRecorderEvent>( diff --git a/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita b/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita index 0f2aafad2f8..17fe9f9876f 100644 --- a/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita +++ b/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita @@ -14,6 +14,7 @@

+ - (int)enableMainQueueDispatch:(BOOL)enabled; diff --git a/dita/RTC-NG/API/api_imediarecorder_release.dita b/dita/RTC-NG/API/api_imediarecorder_release.dita index ce1f9076806..73f54b1cb5d 100644 --- a/dita/RTC-NG/API/api_imediarecorder_release.dita +++ b/dita/RTC-NG/API/api_imediarecorder_release.dita @@ -14,6 +14,7 @@

public void release() + + (void)destroy; virtual void release() = 0; abstract release(): void; diff --git a/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita b/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita index 5aea14b9d65..7a7240c32e9 100644 --- a/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita +++ b/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita @@ -14,6 +14,7 @@

+ removeAllListeners?<EventType extends keyof IMediaRecorderEvent>( diff --git a/dita/RTC-NG/API/api_imediarecorder_removelistener.dita b/dita/RTC-NG/API/api_imediarecorder_removelistener.dita index 9a730aa4584..a550e9f8407 100644 --- a/dita/RTC-NG/API/api_imediarecorder_removelistener.dita +++ b/dita/RTC-NG/API/api_imediarecorder_removelistener.dita @@ -14,6 +14,7 @@

+ removeListener?<EventType extends keyof IMediaRecorderEvent>( diff --git a/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita b/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita index 49a6764e277..f07825de220 100644 --- a/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita +++ b/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita @@ -14,6 +14,7 @@

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

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

public int stopRecording() + - (int)stopRecording; virtual int stopRecording() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita b/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita index 10e418b9f53..4a7a1b6cdda 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita @@ -14,6 +14,7 @@

public abstract IAgoraMusicPlayer createMusicPlayer(); + (id<AgoraMusicPlayerProtocol> _Nullable)createMusicPlayerWithDelegate:(id<AgoraRtcMediaPlayerDelegate> _Nullable)delegate NS_SWIFT_NAME(createMusicPlayer(delegate:)); virtual agora_refptr<IMusicPlayer> createMusicPlayer() = 0; abstract createMusicPlayer(): IMusicPlayer; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita index 5b1158ff536..0cb6f9d2d81 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -19,6 +19,7 @@ mInstance.release(); mInstance = null; } + + (void)destroy; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita b/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita index 4337f5f539a..a12a35fd3f1 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita @@ -14,6 +14,7 @@

+ - (void)enableMainQueueDispatch:(BOOL)enabled; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita index b18830364bf..0893c89fe19 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita @@ -14,6 +14,7 @@

public abstract MusicCacheInfo[] getCaches(); + - (NSArray *)getCaches NS_SWIFT_NAME(getCaches()); virtual int getCaches(MusicCacheInfo *cacheInfo, int32_t* cacheInfoSize) = 0; abstract getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number }; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getinternalsongcode.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getinternalsongcode.dita index 9d4353a5654..a1cb4b2fd20 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getinternalsongcode.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getinternalsongcode.dita @@ -14,6 +14,7 @@

public abstract long getInternalSongCode(long songCode, String jsonOption); + - (NSInteger)getInternalSongCode:(NSInteger)songCode jsonOption:(NSString * _Nullable)jsonOption NS_SWIFT_NAME(getInternalSongCode(songCode:jsonOption:)); virtual int getInternalSongCode(int64_t songCode, const char* jsonOption, int64_t& internalSongCode) = 0; abstract getInternalSongCode(songCode: number, jsonOption: string): number; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita index 3759c92866e..0fcb9904d2b 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita @@ -14,6 +14,7 @@

public abstract String getLyric(long songCode, int lyricType); + - (NSString *)getLyricWithSongCode:(NSInteger)songCode lyricType:(NSInteger)lyricType NS_SWIFT_NAME(getLyric(songCode:lyricType:)); virtual int getLyric(agora::util::AString& requestId, int64_t songCode, int32_t LyricType = 0) = 0; abstract getLyric(songCode: number, lyricType?: number): string; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita index 148ff55a89e..969030db483 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita @@ -14,6 +14,7 @@

public abstract String getMusicCharts(); + - (NSString *)getMusicCharts; virtual int getMusicCharts(agora::util::AString& requestId) = 0; abstract getMusicCharts(): string; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita index 10508ddfb86..645ecc95cd7 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita @@ -16,6 +16,7 @@ public String getMusicCollectionByMusicChartId(int musicChartId, int page, int pageSize) { return getMusicCollectionByMusicChartId(musicChartId, page, pageSize, null); } + - (NSString *)getMusicCollectionWithMusicChartId:(NSInteger)musicChartId page:(NSInteger)page pageSize:(NSInteger)pageSize jsonOption:(NSString * _Nullable)jsonOption NS_SWIFT_NAME(getMusicCollection(musicChartId:page:pageSize:jsonOption:)); virtual int getMusicCollectionByMusicChartId(agora::util::AString& requestId, int32_t musicChartId, int32_t page, int32_t pageSize, const char* jsonOption = nullptr) = 0; abstract getMusicCollectionByMusicChartId( diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita index f9ff2d0b61a..193aab0725e 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita @@ -15,6 +15,7 @@

public abstract String getMusicCollectionByMusicChartId( int musicChartId, int page, int pageSize, String jsonOption); + diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getsongsimpleinfo.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getsongsimpleinfo.dita index 360b24a550f..fcb603b2efd 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getsongsimpleinfo.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getsongsimpleinfo.dita @@ -14,6 +14,7 @@

public abstract String getSongSimpleInfo(long songCode); + - (NSString *)getSongSimpleInfoWithSongCode:(NSInteger)songCode NS_SWIFT_NAME(getSongSimpleInfo(songCode:)); virtual int getSongSimpleInfo(agora::util::AString& requestId, int64_t songCode) = 0; abstract getSongSimpleInfo(songCode: number): string; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita b/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita index 0b2807d9dea..535aacc6d21 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita @@ -14,6 +14,7 @@

public abstract int initialize(MusicContentCenterConfiguration configuration); + + (instancetype)sharedContentCenterWithConfig:(AgoraMusicContentCenterConfig *)config NS_SWIFT_NAME(sharedContentCenter(config:)); virtual int initialize(const MusicContentCenterConfiguration & configuration) = 0; abstract initialize(configuration: MusicContentCenterConfiguration): number; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita b/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita index 9ec0fc2982c..6a4a2650068 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita @@ -14,6 +14,7 @@

public abstract int isPreloaded(long songCode); + - (NSInteger)isPreloadedWithSongCode:(NSInteger)songCode NS_SWIFT_NAME(isPreloaded(songCode:)); virtual int isPreloaded(int64_t songCode) = 0; abstract isPreloaded(songCode: number): number; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita b/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita index 99020f2615a..06ad56df417 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita @@ -14,6 +14,7 @@

public abstract int registerEventHandler(IMusicContentCenterEventHandler eventHandler); + - (NSInteger)registerEventDelegate:(id<AgoraMusicContentCenterEventDelegate> _Nullable)eventDelegate; virtual int registerEventHandler(IMusicContentCenterEventHandler* eventHandler) = 0; abstract registerEventHandler( diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_release.dita b/dita/RTC-NG/API/api_imusiccontentcenter_release.dita index e1beb939e40..1444984f46e 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_release.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_release.dita @@ -14,6 +14,7 @@

protected abstract void release(); + virtual void release() = 0; abstract release(): void; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita b/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita index ad3a6509031..c36d68d3e1a 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita @@ -14,6 +14,7 @@

public abstract int removeCache(long songCode); + - (NSInteger)removeCacheWithSongCode:(NSInteger)songCode NS_SWIFT_NAME(removeCache(songCode:)); virtual int removeCache(int64_t songCode) = 0; abstract removeCache(songCode: number): number; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita b/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita index 552e8bcc235..9fc4eaf5d1c 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita @@ -14,6 +14,7 @@

public abstract int renewToken(String token); + - (NSInteger)renewToken:(NSString * _Nonnull)token; virtual int renewToken(const char* token) = 0; abstract renewToken(token: string): number; diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita b/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita index 11d986c46c9..d08e1dc5974 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita @@ -16,6 +16,7 @@ public String searchMusic(String keyword, int page, int pageSize) { return searchMusic(keyword, page, pageSize, null); } + - (NSString *)searchMusicWithKeyWord:(NSString *)keyWord page:(NSInteger)page pageSize:(NSInteger)pageSize jsonOption:(NSString * _Nullable)jsonOption NS_SWIFT_NAME(searchMusic(keyWord:page:pageSize:jsonOption:)); virtual int searchMusic(agora::util::AString& requestId, const char* keyWord, int32_t page, int32_t pageSize, const char* jsonOption = nullptr) = 0; abstract searchMusic( diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita b/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita index c76aad2e859..3a514965f52 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita @@ -14,6 +14,7 @@

public abstract String searchMusic(String keyword, int page, int pageSize, String jsonOption); + diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita b/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita index b29a0653acb..a083ebab7e5 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita @@ -14,6 +14,7 @@

public abstract int unregisterEventHandler(); + virtual int unregisterEventHandler() = 0; abstract unregisterEventHandler(): number; diff --git a/dita/RTC-NG/API/api_imusicontentcenter_preload.dita b/dita/RTC-NG/API/api_imusicontentcenter_preload.dita index b733b835c86..3faf1b751c0 100644 --- a/dita/RTC-NG/API/api_imusicontentcenter_preload.dita +++ b/dita/RTC-NG/API/api_imusicontentcenter_preload.dita @@ -14,6 +14,7 @@

public abstract int preload(long songCode, String jsonOption); + - (NSInteger)preloadWithSongCode:(NSInteger)songCode jsonOption:(NSString* _Nullable)jsonOption NS_SWIFT_NAME(preload(songCode:jsonOption:)); virtual int preload(int64_t songCode, const char* jsonOption = nullptr) = 0; abstract preload(songCode: number, jsonOption?: string): number; diff --git a/dita/RTC-NG/API/api_imusicontentcenter_preload2.dita b/dita/RTC-NG/API/api_imusicontentcenter_preload2.dita index d36e76c9332..590efe8c4d5 100644 --- a/dita/RTC-NG/API/api_imusicontentcenter_preload2.dita +++ b/dita/RTC-NG/API/api_imusicontentcenter_preload2.dita @@ -14,6 +14,7 @@

public abstract String preload(long songCode); + - (NSString *)preloadWithSongCode:(NSInteger)songCode NS_SWIFT_NAME(preload(songCode:)); virtual int preload(agora::util::AString& requestId, int64_t songCode) = 0; abstract preload(songCode: number): string; diff --git a/dita/RTC-NG/API/api_imusicplayer_destroy.dita b/dita/RTC-NG/API/api_imusicplayer_destroy.dita index 795d1eea5d9..8b521909f2e 100644 --- a/dita/RTC-NG/API/api_imusicplayer_destroy.dita +++ b/dita/RTC-NG/API/api_imusicplayer_destroy.dita @@ -14,6 +14,7 @@

@Override int destroy(); + diff --git a/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita b/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita index dad6dc8f3c3..fc28d40d790 100644 --- a/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita +++ b/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita @@ -14,6 +14,7 @@

@Override String getPlaySrc(); + diff --git a/dita/RTC-NG/API/api_imusicplayer_open.dita b/dita/RTC-NG/API/api_imusicplayer_open.dita index 5a62658c4f9..e845b5f3086 100644 --- a/dita/RTC-NG/API/api_imusicplayer_open.dita +++ b/dita/RTC-NG/API/api_imusicplayer_open.dita @@ -14,6 +14,7 @@

int open(long songCode, long startPos); + - (NSInteger)openMediaWithSongCode:(NSInteger)songCode startPos:(NSInteger)startPos NS_SWIFT_NAME(openMedia(songCode:startPos:)); virtual int open(int64_t songCode, int64_t startPos = 0) = 0; abstract openWithSongCode(songCode: number, startPos?: number): number; diff --git a/dita/RTC-NG/API/api_imusicplayer_open2.dita b/dita/RTC-NG/API/api_imusicplayer_open2.dita index 5cad540ec14..9f3055102ae 100644 --- a/dita/RTC-NG/API/api_imusicplayer_open2.dita +++ b/dita/RTC-NG/API/api_imusicplayer_open2.dita @@ -14,6 +14,7 @@

@Override int open(String url, long startPos); + diff --git a/dita/RTC-NG/API/api_imusicplayer_stop.dita b/dita/RTC-NG/API/api_imusicplayer_stop.dita index 44023974138..14732eb1d62 100644 --- a/dita/RTC-NG/API/api_imusicplayer_stop.dita +++ b/dita/RTC-NG/API/api_imusicplayer_stop.dita @@ -14,6 +14,7 @@

@Override int stop(); + diff --git a/dita/RTC-NG/API/api_irtcengine_addextension.dita b/dita/RTC-NG/API/api_irtcengine_addextension.dita index bf5f92cba09..16bb508c495 100644 --- a/dita/RTC-NG/API/api_irtcengine_addextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_addextension.dita @@ -16,6 +16,7 @@ public void addExtension(String providerName) { mExtensionList.add(providerName); } + diff --git a/dita/RTC-NG/API/api_irtcengine_addhandler.dita b/dita/RTC-NG/API/api_irtcengine_addhandler.dita index 9963e816e76..dd45efecc4b 100644 --- a/dita/RTC-NG/API/api_irtcengine_addhandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_addhandler.dita @@ -16,6 +16,7 @@ public void addHandler(IRtcEngineEventHandler handler) { mInstance.addHandler(handler); } + abstract registerEventHandler(eventHandler: IRtcEngineEventHandler): boolean; diff --git a/dita/RTC-NG/API/api_irtcengine_addlistener.dita b/dita/RTC-NG/API/api_irtcengine_addlistener.dita index b825c585d27..00bd787f030 100644 --- a/dita/RTC-NG/API/api_irtcengine_addlistener.dita +++ b/dita/RTC-NG/API/api_irtcengine_addlistener.dita @@ -14,6 +14,7 @@

+ addListener?<EventType extends keyof IRtcEngineEvent>( diff --git a/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita b/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita index 9e71a2955ef..af552d375e4 100644 --- a/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita +++ b/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita @@ -14,6 +14,7 @@

public abstract int addPublishStreamUrl(String url, boolean transcodingEnabled); + - (int)addPublishStreamUrl:(NSString* _Nonnull)url transcodingEnabled:(BOOL)transcodingEnabled; virtual int addPublishStreamUrl(const char* url, bool transcodingEnabled) = 0; abstract addPublishStreamUrl(url: string, transcodingEnabled: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita b/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita index 014177b0324..7f11fed00b8 100644 --- a/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita +++ b/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita @@ -14,6 +14,7 @@

public abstract int addVideoWatermark(AgoraImage watermark); + - (int)addVideoWatermark:(AgoraImage * _Nonnull)watermark virtual int addVideoWatermark(const RtcImage& watermark) = 0; abstract addVideoWatermark(watermarkUrl: string, options: WatermarkOptions): number; diff --git a/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita b/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita index 4497b20f450..268ba797cc5 100644 --- a/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita +++ b/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita @@ -14,6 +14,7 @@

public abstract int addVideoWatermark(String watermarkUrl, WatermarkOptions options); + - (int)addVideoWatermark:(NSURL* _Nonnull)url options:(WatermarkOptions* _Nonnull)options; virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita index 036b5554187..36f59e2ce4c 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita @@ -14,6 +14,7 @@

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

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

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

public abstract int adjustCustomAudioPlayoutVolume(int trackId, int volume); + - (int)adjustCustomAudioPlayoutVolume:(NSInteger)trackId volume:(NSInteger)volume NS_SWIFT_NAME(adjustCustomAudioPlayoutVolume(_:volume:)); virtual int adjustCustomAudioPlayoutVolume(track_id_t trackId, int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita index d872d14b0b5..d2dc6f3dcd0 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita @@ -14,6 +14,7 @@

public abstract int adjustCustomAudioPublishVolume(int trackId, int volume); + - (int)adjustCustomAudioPublishVolume:(NSInteger)trackId volume:(NSInteger)volume NS_SWIFT_NAME(adjustCustomAudioPublishVolume(_:volume:)); virtual int adjustCustomAudioPublishVolume(track_id_t trackId, int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita index d4723ad0207..7485e4b589b 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita @@ -14,6 +14,7 @@

+ - (int)adjustLoopbackSignalVolume:(NSInteger)volume; virtual int adjustLoopbackSignalVolume(int volume) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita index feb29bb0c6e..dc1eebb18b7 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita @@ -14,6 +14,7 @@

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

public abstract int adjustRecordingSignalVolume(int volume); + - (int)adjustRecordingSignalVolume:(NSInteger)volume; virtual int adjustRecordingSignalVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita b/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita index c0a38fe90d6..1f4c4635288 100644 --- a/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita @@ -14,6 +14,7 @@

public abstract int adjustUserPlaybackSignalVolume(int uid, int volume); + - (int)adjustUserPlaybackSignalVolume:(NSUInteger)uid volume:(int)volume; virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita b/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita index 9597973bd1d..9361f0a6eaa 100644 --- a/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita +++ b/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita @@ -14,6 +14,7 @@

public abstract int clearVideoWatermarks(); + - (int)clearVideoWatermarks; virtual int clearVideoWatermarks() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_complain.dita b/dita/RTC-NG/API/api_irtcengine_complain.dita index 81b3d50f603..e5618fc7deb 100644 --- a/dita/RTC-NG/API/api_irtcengine_complain.dita +++ b/dita/RTC-NG/API/api_irtcengine_complain.dita @@ -14,6 +14,7 @@

public abstract int complain(String callId, String description); + - (int)complain:(NSString * _Nonnull)callId description:(NSString * _Nullable)description; virtual int complain(const char* callId, const char* description) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita b/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita index fb37187a981..21273c06c71 100644 --- a/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita @@ -14,6 +14,7 @@

public abstract int configRhythmPlayer(AgoraRhythmPlayerConfig config); + - (int)configRhythmPlayer:(AgoraRhythmPlayerConfig * _Nullable)config; virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_create.dita b/dita/RTC-NG/API/api_irtcengine_create.dita index bf693290093..ccbbf39e71a 100644 --- a/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/dita/RTC-NG/API/api_irtcengine_create.dita @@ -16,6 +16,7 @@ public static synchronized RtcEngine create( Context context, String appId, IRtcEngineEventHandler handler) throws Exception {} + + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita index cbba38145c4..accd59c8e1e 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita @@ -14,6 +14,7 @@

public abstract int createCustomEncodedVideoTrack(EncodedVideoTrackOptions encodedOpt); + - (unsigned int)createCustomEncodedVideoTrack:(AgoraEncodedVideoTrackOptions* _Nonnull)encodedVideoTrackOption; virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions& sender_option) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita index ec005b23ed4..8bcdc3ca37a 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita @@ -14,6 +14,7 @@

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

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

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

public abstract IMediaPlayer createMediaPlayer(); + - (id<AgoraRtcMediaPlayerProtocol>_Nullable)createMediaPlayerWithDelegate: (id<AgoraRtcMediaPlayerDelegate>_Nullable)delegate; virtual agora_refptr <IMediaPlayer> createMediaPlayer() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita index ae2068c307d..63a3169e06e 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita @@ -14,6 +14,7 @@

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; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_createrendererview.dita b/dita/RTC-NG/API/api_irtcengine_createrendererview.dita index 95bee390e48..4c1d1be235e 100644 --- a/dita/RTC-NG/API/api_irtcengine_createrendererview.dita +++ b/dita/RTC-NG/API/api_irtcengine_createrendererview.dita @@ -15,6 +15,7 @@

public static SurfaceView CreateRendererView(Context context) { return new SurfaceView(context); + diff --git a/dita/RTC-NG/API/api_irtcengine_createtextureview.dita b/dita/RTC-NG/API/api_irtcengine_createtextureview.dita index ddc4eec9d35..92cff716740 100644 --- a/dita/RTC-NG/API/api_irtcengine_createtextureview.dita +++ b/dita/RTC-NG/API/api_irtcengine_createtextureview.dita @@ -15,6 +15,7 @@

public static TextureView CreateTextureView(Context context) { return new TextureView(context); + diff --git a/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita b/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita index 0358186acce..4f4679a654c 100644 --- a/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita +++ b/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita @@ -15,6 +15,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita b/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita index 1017d47b73f..14b1a76ef03 100644 --- a/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita +++ b/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_delegate.dita b/dita/RTC-NG/API/api_irtcengine_delegate.dita index 19929bb4b35..2c0ff2f82d5 100644 --- a/dita/RTC-NG/API/api_irtcengine_delegate.dita +++ b/dita/RTC-NG/API/api_irtcengine_delegate.dita @@ -14,6 +14,7 @@

+ @property(nonatomic, weak) id<AgoraRtcEngineDelegate> _Nullable delegate; diff --git a/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita index fc5a64e1782..7d5785805dd 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita @@ -14,6 +14,7 @@

public abstract int destroyCustomEncodedVideoTrack(int video_track_id); + - (int)destroyCustomEncodedVideoTrack:(NSUInteger)position; virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita index 1186782c694..a92161370a6 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita @@ -14,6 +14,7 @@

public abstract int destroyCustomVideoTrack(int video_track_id); + - (int)destroyCustomVideoTrack:(NSUInteger)videoTrackId; virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita index 66ea87e58cc..4c5bf4c97e8 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita @@ -15,6 +15,7 @@

int destroy(); + - (int)destroyMediaPlayer:(id<AgoraRtcMediaPlayerProtocol>_Nullable)mediaPlayer; virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita index 38fcbb05e81..24ceaa7d488 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita @@ -14,6 +14,7 @@

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

+ diff --git a/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita b/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita index 59f520ea1fe..d3780ca6c79 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita @@ -14,6 +14,7 @@

+ abstract destroyRendererByConfig(sourceType: VideoSourceType, channelId?: string, uid?: number): void; diff --git a/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita b/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita index 9777b0dfe2d..def3ec3b574 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita @@ -14,6 +14,7 @@

+ abstract destroyRendererByView(view: any): void; diff --git a/dita/RTC-NG/API/api_irtcengine_devicemanager.dita b/dita/RTC-NG/API/api_irtcengine_devicemanager.dita index 21c138bbb5b..8caffa2df53 100644 --- a/dita/RTC-NG/API/api_irtcengine_devicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_devicemanager.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_disableaudio.dita b/dita/RTC-NG/API/api_irtcengine_disableaudio.dita index 7427cf82967..e3886eaccd1 100644 --- a/dita/RTC-NG/API/api_irtcengine_disableaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_disableaudio.dita @@ -14,6 +14,7 @@

public abstract int disableAudio(); + - (int)disableAudio; virtual int disableAudio() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita b/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita index 88aa42f2c7c..e2062abac57 100644 --- a/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita +++ b/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita @@ -14,6 +14,7 @@

public abstract int disableAudioSpectrumMonitor(); + - (int)disableAudioSpectrumMonitor; virtual int disableAudioSpectrumMonitor() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita b/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita index fdcb5330557..2c54a6db49a 100644 --- a/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita +++ b/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita @@ -14,6 +14,7 @@

+ virtual int disableLastmileTest() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_disablevideo.dita b/dita/RTC-NG/API/api_irtcengine_disablevideo.dita index 2d3003e3eea..b32140f58e3 100644 --- a/dita/RTC-NG/API/api_irtcengine_disablevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_disablevideo.dita @@ -14,6 +14,7 @@

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

public abstract int enableAudio(); + - (int)enableAudio; virtual int enableAudio() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita b/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita index f0f35ec3f57..9f299a41197 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita @@ -14,6 +14,7 @@

public abstract int enableAudioQualityIndication(boolean enabled); + diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita b/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita index 50bdbc64c14..24c344cdb21 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita @@ -14,6 +14,7 @@

public abstract int enableAudioSpectrumMonitor(int intervalInMS); + - (int)enableAudioSpectrumMonitor:(int)intervalInMS; virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita b/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita index 21733d65695..c86091d4c42 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita @@ -14,6 +14,7 @@

public abstract int enableAudioVolumeIndication(int interval, int smooth, boolean reportVad); + - (int)enableAudioVolumeIndication:(NSInteger)interval smooth:(NSInteger)smooth reportVad:(BOOL)reportVad; diff --git a/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita b/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita index 7283c9af0cb..f71f26dd07f 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita @@ -14,6 +14,7 @@

+ - (int)enableCameraCenterStage:(BOOL)enabled NS_SWIFT_NAME(enableCameraCenterStage(_:)); virtual int enableCameraCenterStage(bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita index ef95546a5ba..138123d5117 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -14,6 +14,7 @@

public abstract int enableContentInspect(boolean enabled, ContentInspectConfig config); + - (int)enableContentInspect:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config; virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita b/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita index c81c8b0d502..9d738d60444 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita @@ -13,6 +13,7 @@

public abstract int enableCustomAudioLocalPlayback(int trackId, boolean enabled); + - (int)enableCustomAudioLocalPlayback:(NSInteger)trackId enabled:(BOOL)enabled NS_SWIFT_NAME(enableCustomAudioLocalPlayback(_:enabled:)); virtual int enableCustomAudioLocalPlayback(track_id_t trackId, bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita index ae46f165e14..acc604dc070 100644 --- a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita +++ b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita @@ -14,6 +14,7 @@

public abstract int enableDualStreamMode(boolean enabled); + - (int)enableDualStreamMode:(BOOL)enabled; virtual int enableDualStreamMode(bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita index 2c396c2e966..99153cc7f08 100644 --- a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita @@ -14,6 +14,7 @@

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; abstract enableDualStreamMode( diff --git a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita index 49f46a5689f..71d26d322d9 100644 --- a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita +++ b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita @@ -14,6 +14,7 @@

public abstract int enableDualStreamMode(boolean enabled, SimulcastStreamConfig streamConfig); + - (int)enableDualStreamMode:(BOOL)enabled streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig; virtual int enableDualStreamMode(bool enabled, const SimulcastStreamConfig& streamConfig) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita b/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita index 17f587fcc03..c2c68b7dd5b 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita @@ -14,6 +14,7 @@

public abstract int enableEchoCancellationExternal(boolean enabled, int audioSourceDelay); + - (int)enableEchoCancellationExternal:(BOOL)enabled audioSourceDelay:(NSInteger)audioSourceDelay; virtual int enableEchoCancellationExternal(bool enabled, int audioSourceDelay) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita index f09a2f40325..88bbe367232 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita @@ -14,7 +14,8 @@

public abstract int enableEncryption(boolean enabled, EncryptionConfig config); - - (int)enableEncryption:(bool)enabled encryptionConfig:(AgoraEncryptionConfig * _Nonnull)config; + + - (int)enableEncryption:(bool)enabled encryptionConfig:(AgoraEncryptionConfig * _Nonnull)config; virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") int EnableEncryption(bool enabled, const FEncryptionConfig& config); diff --git a/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/dita/RTC-NG/API/api_irtcengine_enableextension.dita index 99b82e87d95..8b4286e99b1 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -15,6 +15,7 @@

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

public abstract int enableFaceDetection(boolean enabled); + - (int)enableFaceDetection:(bool)enable NS_SWIFT_NAME(enableFaceDetection(_:)); virtual int enableFaceDetection(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita b/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita index cb852f87234..08df680df52 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita index 63e62090e93..ccc3dab3088 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita @@ -14,6 +14,7 @@

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

public abstract int enableInEarMonitoring(boolean enabled, int includeAudioFilters); + - (int)enableInEarMonitoring:(BOOL)enabled includeAudioFilters:(AgoraEarMonitoringFilterType)includeAudioFilters; virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita index 1ccd0f80962..c54afe27bb0 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita @@ -14,6 +14,7 @@

public abstract int enableInstantMediaRendering(); + - (int)enableInstantMediaRendering NS_SWIFT_NAME(enableInstantMediaRendering()); virtual int enableInstantMediaRendering() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita b/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita index 50dd63a9799..41e22fed074 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita @@ -14,6 +14,7 @@

+ virtual int enableLastmileTest() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita index c5acde2745d..195945110a9 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita @@ -14,6 +14,7 @@

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

public abstract int enableLocalVideo(boolean enabled); + - (int)enableLocalVideo:(BOOL)enabled; virtual int enableLocalVideo(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita b/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita index 4352bcc7139..7052f94b293 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita @@ -14,6 +14,7 @@

+ - (int)enableLoopbackRecording:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName NS_SWIFT_NAME(enableLoopbackRecording(_:deviceName:)); virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita b/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita index be1bac89828..3e958d2eb8c 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita @@ -14,6 +14,7 @@

+ - (int)enableMainQueueDispatch:(BOOL)enabled; removeAllListeners?<EventType extends keyof IMediaEngineEvent>( diff --git a/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita b/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita index 095ce06e974..8a6bbb7bc3a 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita @@ -14,6 +14,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; diff --git a/dita/RTC-NG/API/api_irtcengine_enableplugin.dita b/dita/RTC-NG/API/api_irtcengine_enableplugin.dita index 85a2234b17b..eda86faabe8 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableplugin.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableplugin.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita b/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita index 7c3db02a5ca..33737d867a7 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita @@ -14,6 +14,7 @@

public abstract int enableSoundPositionIndication(boolean enabled); + - (int)enableSoundPositionIndication:(BOOL)enabled; virtual int enableSoundPositionIndication(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita b/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita index c5e44feaa65..50a095390b4 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita @@ -14,6 +14,7 @@

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

public abstract int enableVideo(); + - (int)enableVideo; virtual int enableVideo() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita b/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita index 266d8d71a8b..486907a1a6d 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita @@ -14,6 +14,7 @@

public abstract int enableVideoImageSource(boolean enabled, ImageTrackOptions options); + - (int) enableVideoImageSource:(BOOL)enable options:(AgoraImageTrackOptions *_Nullable)options; virtual int enableVideoImageSource(bool enable, const ImageTrackOptions& options) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita index 2c69b55693a..1f5e578e20a 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -16,6 +16,7 @@ public abstract int enableVirtualBackground( boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty); + - (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:)); virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita index 39fee1bd719..ca31ed5eb78 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita @@ -16,6 +16,7 @@ public abstract int enableVirtualBackground(boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, Constants.MediaSourceType sourceType); + - (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita b/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita index a82d5e59562..5051baa4e65 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita @@ -14,6 +14,7 @@

public abstract int enableWebSdkInteroperability(boolean enabled); + - (int)enableWebSdkInteroperability:(BOOL)enabled; virtual int enableWebSdkInteroperability(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita b/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita index c53e50858c9..6bfb8b60ac1 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita @@ -14,6 +14,7 @@

+ virtual int enableWirelessAccelerate(bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita b/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita index 2da7a02bcaf..f708124df4e 100644 --- a/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita +++ b/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita @@ -14,6 +14,7 @@

+ - (NSArray<AgoraRtcDeviceInfo *> * _Nullable)enumerateDevices:(AgoraMediaDeviceType)type; diff --git a/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita b/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita index 517839318e2..fda8970f55c 100644 --- a/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita +++ b/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita b/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita index f69b31e4cbf..55a2561fa41 100644 --- a/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita +++ b/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita index aef6dde0067..a2299992a87 100644 --- a/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita index b0eb6739420..0169545d977 100644 --- a/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getagorartccloudspatialaudioengine.dita b/dita/RTC-NG/API/api_irtcengine_getagorartccloudspatialaudioengine.dita index dfbd1c22542..e8ea11c9687 100644 --- a/dita/RTC-NG/API/api_irtcengine_getagorartccloudspatialaudioengine.dita +++ b/dita/RTC-NG/API/api_irtcengine_getagorartccloudspatialaudioengine.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita index ce502ed4637..ccd92f42810 100644 --- a/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita index 601a986ce02..f036926310e 100644 --- a/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita b/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita index 5dcc2cf4f5a..e1a01843080 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita @@ -14,6 +14,7 @@

public abstract DeviceInfo getAudioDeviceInfo(); + virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita index f500494e21f..c4ad6b7feaa 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita @@ -14,6 +14,7 @@

+ abstract getAudioDeviceManager(): IAudioDeviceManager; diff --git a/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita b/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita index 9b4565d0989..bdf2b9211bb 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita @@ -14,6 +14,7 @@

public abstract IAudioEffectManager getAudioEffectManager(); + diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita b/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita index b8ae6128601..f7a88efd47f 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita index 297e6eae8c9..7e53e8b2c59 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita @@ -14,6 +14,7 @@

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

public abstract int getAudioMixingDuration(); + - (int)getAudioMixingDuration; virtual int getAudioMixingDuration() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita index 7bf14eef30f..65dbb1c3e0b 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita @@ -14,6 +14,7 @@

public abstract int getAudioMixingPlayoutVolume(); + - (int)getAudioMixingPlayoutVolume; virtual int getAudioMixingPlayoutVolume() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita b/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita index 0c736521405..73e3d5fe224 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita @@ -14,6 +14,7 @@

public abstract int getAudioMixingPublishVolume(); + - (int)getAudioMixingPublishVolume; virtual int getAudioMixingPublishVolume() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita b/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita index eb602ffdbc3..9169601fe13 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita b/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita index 2b43c8e4d57..fa49388c7f2 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita b/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita index dfb7ed85670..0d5ea60a6c1 100644 --- a/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita +++ b/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita @@ -14,6 +14,7 @@

public abstract int getAudioTrackCount(); + - (int)getAudioTrackCount; virtual int getAudioTrackCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita b/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita index 04c00bca42d..d9b4ecb87b9 100644 --- a/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita +++ b/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita @@ -14,6 +14,7 @@

+ virtual agora::media::ExternalVideoFrame::VIDEO_PIXEL_FORMAT getBufferType() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_getcallid.dita b/dita/RTC-NG/API/api_irtcengine_getcallid.dita index be076200a7c..ce0a313ef4c 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcallid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcallid.dita @@ -14,6 +14,7 @@

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

public abstract float getCameraMaxZoomFactor(); + - (CGFloat)cameraMaxZoomFactor; virtual float getCameraMaxZoomFactor() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita b/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita index 4156fd5bbb3..3618ed03143 100644 --- a/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita +++ b/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita @@ -14,6 +14,7 @@

public abstract RtcConnection.CONNECTION_STATE_TYPE getConnectionState(); + - (AgoraConnectionState)getConnectionState; virtual CONNECTION_STATE_TYPE getConnectionState() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita b/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita index 90ab008ebd5..2fdb5881273 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita @@ -14,6 +14,7 @@

public abstract long getCurrentMonotonicTimeInMs(); + - (int64_t)getCurrentMonotonicTimeInMs NS_SWIFT_NAME(getCurrentMonotonicTimeInMs()); virtual int64_t getCurrentMonotonicTimeInMs() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita b/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita index b3cd8882f56..d32836d6779 100644 --- a/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita +++ b/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita @@ -14,6 +14,7 @@

+ - (AgoraRtcDeviceInfo * _Nullable)getDeviceInfo:(AgoraMediaDeviceType)type; diff --git a/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita b/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita index 853db08f97d..e69ba1973d3 100644 --- a/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita @@ -14,6 +14,7 @@

+ - (int)getDeviceVolume:(AgoraMediaDeviceType)type; diff --git a/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita b/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita index 13a21319cf4..877441bd013 100644 --- a/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita @@ -14,7 +14,9 @@

public int getEffectCurrentPosition(int soundId); + - (int)getEffectCurrentPosition:(int)soundId NS_SWIFT_NAME(getEffectCurrentPosition(_:)); + - (int)getEffectCurrentPosition:(int)soundId; virtual int getEffectCurrentPosition(int soundId) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita b/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita index 9795b45bae6..110f7dc8651 100644 --- a/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita +++ b/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita @@ -14,6 +14,7 @@

public abstract int getEffectDuration(String filePath); + - (int)getEffectDuration:(NSString* _Nonnull)filePath NS_SWIFT_NAME(getEffectDuration(_:)); virtual int getEffectDuration(const char* filePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita b/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita index 1ed2f46482a..e3f1497798b 100644 --- a/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita @@ -14,6 +14,7 @@

public double getEffectsVolume(); + - (int)getEffectsVolume; virtual int getEffectsVolume() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita b/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita index 9b6c47acb15..fe58c5fc353 100644 --- a/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita +++ b/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita @@ -14,6 +14,7 @@

public static String getErrorDescription(int error) + + (NSString* _Nonnull)getErrorDescription: (NSInteger)error; virtual const char* getErrorDescription(int code) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita b/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita index b0611f2129d..93dc4233f35 100644 --- a/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita +++ b/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita @@ -15,6 +15,7 @@

public abstract String getExtensionProperty(String provider, String extension, String key); + - (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension key:(NSString * __nonnull)key; diff --git a/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita b/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita index cb48f082b21..8c3d8d21786 100644 --- a/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita +++ b/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita @@ -16,6 +16,7 @@ public abstract String getExtensionProperty( String provider, String extension, String key, Constants.MediaSourceType sourceType); + - (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension key:(NSString * __nonnull)key diff --git a/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita b/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita index 2be52464b19..7e9a290ad4d 100644 --- a/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita +++ b/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita @@ -14,6 +14,7 @@

+ abstract getLocalSpatialAudioEngine(): ILocalSpatialAudioEngine; diff --git a/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita b/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita index f5fa62f3fba..0b68aaf9611 100644 --- a/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita @@ -14,6 +14,7 @@

+ virtual int getLoopbackRecordingVolume() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita b/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita index 06730bacf2c..bb4b8aaf67d 100644 --- a/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita +++ b/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita @@ -14,6 +14,7 @@

+ abstract getMediaEngine(): IMediaEngine; diff --git a/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita index 5e0e4ee5c13..a4eac6b2856 100644 --- a/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita @@ -14,6 +14,7 @@

public static synchronized AgoraMediaRecorder getMediaRecorder(RtcEngine engine) + + (instancetype _Nonnull)sharedMediaRecorderWithRtcEngine:(AgoraRtcEngineKit* _Nonnull)engine; abstract getMediaRecorder(): IMediaRecorder; diff --git a/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita b/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita index 4070a7734e9..87253d1324b 100644 --- a/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita +++ b/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita @@ -14,6 +14,7 @@

+ abstract getMusicContentCenter(): IMusicContentCenter; diff --git a/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita b/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita index 5cef7111ac9..24cae0c68e0 100644 --- a/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita +++ b/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita @@ -14,6 +14,7 @@

public abstract long getNativeHandle(); + - (void* _Nullable)getNativeHandle; abstract getNativeHandle(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita b/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita index 5f9c594cdaf..ede955580c8 100644 --- a/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita +++ b/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita @@ -14,6 +14,7 @@

public abstract int getNetworkType(); + - (int) getNetworkType; virtual int getNetworkType() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita b/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita index 934b9037a5a..31543589f5c 100644 --- a/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita +++ b/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita @@ -14,6 +14,7 @@

public abstract long getNtpWallTimeInMs(); + - (uint64_t)getNtpWallTimeInMs; virtual uint64_t getNtpWallTimeInMs() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita b/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita index 197ccaba4b6..1b741c8e787 100644 --- a/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita +++ b/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getplugins.dita b/dita/RTC-NG/API/api_irtcengine_getplugins.dita index f0cfc58abcf..e081a27c1e9 100644 --- a/dita/RTC-NG/API/api_irtcengine_getplugins.dita +++ b/dita/RTC-NG/API/api_irtcengine_getplugins.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita b/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita index 8d0944f03a0..a4ca835506d 100644 --- a/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita @@ -13,6 +13,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita b/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita index 5ef0be84caa..d02cbb58ee3 100644 --- a/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita +++ b/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita @@ -14,6 +14,7 @@

+ - (NSArray<AgoraScreenCaptureSourceInfo*>* _Nullable)getScreenCaptureSourcesWithThumbSize:(NSSize)thumbSize iconSize:(NSSize)iconSize includeScreen:(BOOL)includeScreen; virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita b/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita index cde71ffd6da..08b065b282d 100644 --- a/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita +++ b/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita b/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita index e6ad7275856..cfe863db073 100644 --- a/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita +++ b/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita index 011411413c5..8fb0c70a475 100644 --- a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita @@ -14,6 +14,7 @@

public abstract int getUserInfoByUid(int uid, UserInfo userInfo); + - (AgoraUserInfo* _Nullable)getUserInfoByUid:(NSUInteger)uid withError:(AgoraErrorCode* _Nullable)error; virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo* userInfo, const char* channelId = NULL, const char* localUserAccount = NULL) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita index 05ca4b31e85..756f679ab5e 100644 --- a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita @@ -13,6 +13,7 @@

+ - (AgoraUserInfo* _Nullable)getUserInfoByUserAccount:(NSString* _Nonnull)userAccount withError:(AgoraErrorCode* _Nullable)error; public abstract int getUserInfoByUserAccount(String userAccount, UserInfo userInfo); virtual int getUserInfoByUserAccount(const char* userAccount, rtc::UserInfo* userInfo, const char* channelId = NULL, const char* localUserAccount = NULL) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_getversion.dita b/dita/RTC-NG/API/api_irtcengine_getversion.dita index a25a0a74e41..8ca609d24f7 100644 --- a/dita/RTC-NG/API/api_irtcengine_getversion.dita +++ b/dita/RTC-NG/API/api_irtcengine_getversion.dita @@ -14,6 +14,7 @@

public static String getSdkVersion() + + (NSString * _Nonnull)getSdkVersion; virtual const char* getVersion(int* build) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita b/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita index 84168f5efd8..8cf08910658 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita @@ -14,6 +14,7 @@

+ virtual VIDEO_CAPTURE_TYPE getVideoCaptureType() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita b/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita index 8dc7d1e3662..3193842e8a2 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita @@ -14,6 +14,7 @@

+ virtual VideoContentHint getVideoContentHint() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita b/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita index a216d10c612..5471d87a553 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita @@ -14,6 +14,7 @@

+ abstract getVideoDeviceManager(): IVideoDeviceManager; diff --git a/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita b/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita index 1dc1c05b39c..2bb35078192 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita b/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita index 15e4ef0a815..bead1409118 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita b/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita index d7b1032f8f2..d78df28b480 100644 --- a/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita @@ -14,6 +14,7 @@

public abstract int getVolumeOfEffect(int soundId); + - (int)getVolumeOfEffect:(int)soundId; virtual int getVolumeOfEffect(int soundId) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita b/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita index 9abb00187fe..9dbdd4bf0e3 100644 --- a/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita +++ b/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_initialize.dita b/dita/RTC-NG/API/api_irtcengine_initialize.dita index b8d790ca2e9..2d4b79d8e5a 100644 --- a/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -15,6 +15,7 @@

public static synchronized RtcEngine create(RtcEngineConfig config) throws Exception {} + + (instancetype _Nonnull)sharedEngineWithConfig:(AgoraRtcEngineConfig * _Nonnull)config delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; virtual int initialize(const RtcEngineContext& context) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita index 88c4575f1cd..4e123fafce5 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita @@ -14,6 +14,7 @@

+ - (BOOL)isCameraAutoExposureFaceModeSupported; virtual bool isCameraAutoExposureFaceModeSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita index c380a47493e..f96dcef1619 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraAutoFocusFaceModeSupported(); + - (BOOL)isCameraAutoFocusFaceModeSupported; virtual bool isCameraAutoFocusFaceModeSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita index 0bd4d100ccd..d2c2ba0d4f6 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita @@ -14,6 +14,7 @@

+ - (BOOL)isCameraCenterStageSupported NS_SWIFT_NAME(isCameraCenterStageSupported()); virtual bool isCameraCenterStageSupported() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita index 90c6f5f523a..4bfda68d675 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraExposurePositionSupported(); + - (BOOL)isCameraExposurePositionSupported; virtual bool isCameraExposurePositionSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita index 204e3d6a2e9..87e70e45641 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraExposureSupported(); + - (BOOL)isCameraExposureSupported NS_SWIFT_NAME(isCameraExposureSupported()); virtual bool isCameraExposureSupported() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita index fe318dda65a..a82f401a21e 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraFaceDetectSupported(); + virtual bool isCameraFaceDetectSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita index 35ccbef2766..8a0652e1a93 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraFocusSupported(); + - (BOOL)isCameraFocusPositionInPreviewSupported; virtual bool isCameraFocusSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita index 976ae7ef248..c07f597cbd7 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraTorchSupported(); + - (BOOL)isCameraTorchSupported NS_SWIFT_NAME(isCameraTorchSupported()); virtual bool isCameraTorchSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita b/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita index b18c0e943de..3c84714e1d5 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita @@ -14,6 +14,7 @@

public abstract boolean isCameraZoomSupported(); + - (BOOL)isCameraZoomSupported; virtual bool isCameraZoomSupported() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita index 1326b7c43e8..f08811e3f0a 100644 --- a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita +++ b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita @@ -14,6 +14,7 @@

public abstract boolean isFeatureAvailableOnDevice(int type); + - (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type; virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; public abstract bool IsFeatureAvailableOnDevice(FeatureType type); diff --git a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita index 7ea7de58130..f4d39d07d3c 100644 --- a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita @@ -14,6 +14,7 @@

public abstract boolean isSpeakerphoneEnabled(); + - (BOOL)isSpeakerphoneEnabled; virtual bool isSpeakerphoneEnabled() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita b/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita index 4db2d445ecf..69f1bb7adf3 100644 --- a/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita @@ -14,6 +14,7 @@

public abstract boolean isTextureEncodeSupported(); + diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita index 9cd04ac6af2..1d806f97867 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita @@ -15,6 +15,7 @@

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

public abstract int joinChannel( String token, String channelId, int uid, ChannelMediaOptions options); + - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita index e6e021f8729..54f27a60b1a 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita @@ -15,6 +15,7 @@

public abstract int joinChannelWithUserAccount( String token, String channelName, String userAccount); + - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita index 3accbe9176b..42b14c2b752 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita @@ -15,7 +15,8 @@

public abstract int joinChannelWithUserAccount( String token, String channelName, String userAccount, ChannelMediaOptions options); - - (int)joinChannelByToken:(NSString * _Nullable)token + + - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount mediaOptions:(AgoraRtcChannelMediaOptions * _Nonnull)mediaOptions diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita index e853d8f7829..f5c953762c3 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita @@ -15,6 +15,7 @@

public abstract int joinChannelWithUserAccountEx(String token, String channelId, String userAccount, ChannelMediaOptions options, IRtcEngineEventHandler eventHandler); + - (int)joinChannelExByToken:(NSString* _Nullable)token channelId:(NSString* _Nonnull)channelId userAccount:(NSString* _Nonnull)userAccount diff --git a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita index 5b094a1bf24..79c44ae4855 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita @@ -14,6 +14,7 @@

public abstract int leaveChannel(); + - (int)leaveChannel:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock; virtual int leaveChannel() = 0; abstract leaveChannel(options?: LeaveChannelOptions): number; diff --git a/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita b/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita index 5928efd69a0..6f32a6e19ad 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita @@ -14,6 +14,7 @@

public abstract int leaveChannel(LeaveChannelOptions options); + - (int)leaveChannel:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void (^ _Nullable)(AgoraChannelStats * _Nonnull))leaveChannelBlock; virtual int leaveChannel(const LeaveChannelOptions& options) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita b/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita index 3f3df4a7043..7964ea219e6 100644 --- a/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita +++ b/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita @@ -14,6 +14,7 @@

+ virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita index b1f16c0f118..68112eddafc 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

public abstract int muteRemoteVideoStream(int userId, boolean muted); + - (int)muteRemoteVideoStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita index 5e460126489..409c04ae1e0 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita @@ -14,6 +14,7 @@

public abstract int pauseAllChannelMediaRelay(); + - (int)pauseAllChannelMediaRelay; virtual int pauseAllChannelMediaRelay() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita b/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita index 3d34d83229f..75d21035e32 100644 --- a/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita @@ -15,6 +15,7 @@

public abstract int pauseAllEffects(); + - (int)pauseAllEffects; virtual int pauseAllEffects() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita b/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita index 56c2de2acb2..76cb37834b8 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita @@ -13,6 +13,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita index f89011fc19a..31a613d8fd9 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita @@ -14,6 +14,7 @@

public abstract int pauseAudioMixing(); + - (int)pauseAudioMixing; virtual int pauseAudioMixing() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita b/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita index e5db3c6482f..b567c591a7c 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita @@ -14,6 +14,7 @@

public abstract int pauseEffect(int soundId); + - (int)pauseEffect:(int)soundId; virtual int pauseEffect(int soundId) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_playalleffects.dita b/dita/RTC-NG/API/api_irtcengine_playalleffects.dita index 4b70f56b08d..051e5599e24 100644 --- a/dita/RTC-NG/API/api_irtcengine_playalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_playalleffects.dita @@ -14,6 +14,7 @@

+ virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect.dita b/dita/RTC-NG/API/api_irtcengine_playeffect.dita index 5809d25e346..9334f28f5d7 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -19,6 +19,7 @@ double pitch, double pan, double gain); + - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index c622ac77ee6..9f4583b2f4d 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -16,6 +16,7 @@ public abstract int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish); + - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index 4ef4d9ad6ce..4e53d534232 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -16,6 +16,7 @@ public int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish, int startPos); + - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita index 5a9d036233b..17fd9083bad 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita @@ -14,6 +14,7 @@

public abstract int preloadChannel(String token, String channelName, int optionalUid); + - (int)preloadChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(preloadChannel(byToken:channelId:uid:)); diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita index c2c41647899..ac959c55675 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita @@ -15,6 +15,7 @@

public abstract int preloadChannelWithUserAccount( String token, String channelName, String userAccount); + - (int)preloadChannelByTokenWithUserAccount:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount NS_SWIFT_NAME(preloadChannelWithUserAccount(byToken:channelId:userAccount:)); diff --git a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita index 13ef5985df7..038297d6fa3 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -15,6 +15,7 @@

public int preloadEffect(int soundId, String filePath); + - (int)preloadEffect:(int)soundId filePath:(NSString* _Nonnull)filePath; diff --git a/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita index d26cae586a8..42769e03bfc 100644 --- a/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita @@ -14,6 +14,7 @@

public abstract int pullPlaybackAudioFrame(ByteBuffer data, int lengthInByte); + diff --git a/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita b/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita index 12de2535bd6..5ced4aaf1b0 100644 --- a/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita +++ b/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita @@ -13,6 +13,7 @@

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

diff --git a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index f89f7f6098c..46d4b37b500 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -15,6 +15,7 @@

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

public abstract int pushCaptureAudioFrame(byte[] data, int lengthInByte); + - (int)pushCaptureAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame; virtual int pushCaptureAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0; abstract pushCaptureAudioFrame(frame: AudioFrame): number; diff --git a/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita index f7ad0e83b4a..3060390d603 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita @@ -14,6 +14,7 @@

public abstract int pushCaptureAudioFrame(ByteBuffer data, int lengthInByte); + diff --git a/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita b/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita index 93c2f74f6fd..01bad50969e 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita @@ -14,6 +14,7 @@

public abstract int pushDirectCdnStreamingCustomVideoFrame(VideoFrame frame); + - (int)pushDirectCdnStreamingCustomVideoFrame:(AgoraVideoFrame * _Nonnull)frame; virtual int pushDirectCdnStreamingCustomVideoFrame(media::base::ExternalVideoFrame* frame) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita b/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita index 76011c9cb40..873d8fd99a4 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita @@ -13,6 +13,7 @@

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

diff --git a/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita b/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita index 7e6b2a3bc42..2a9c3e936b7 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita @@ -13,6 +13,7 @@

+ - (int)pushExternalAudioFrameSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels diff --git a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita index 47ae5b3054e..c91456ac900 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita @@ -14,6 +14,7 @@

public abstract int pushReverseAudioFrame(byte[] data, int lengthInByte); + - (int)pushReverseAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame; virtual int pushReverseAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0; abstract pushReverseAudioFrame(frame: AudioFrame): number; diff --git a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita index 3399bd9ce8e..85bb955840e 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita @@ -14,6 +14,7 @@

public abstract int pushReverseAudioFrame(ByteBuffer data, int lengthInByte); + diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita index 021d9b31b67..b327ae1c2ff 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita @@ -14,6 +14,7 @@

public abstract boolean pushExternalVideoFrame(AgoraVideoFrame frame); + - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame NS_SWIFT_NAME(pushExternalVideoFrame(_:)) diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita index c49cfba358d..19f711af6cd 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita @@ -14,6 +14,7 @@

public abstract int pushExternalVideoFrameById(VideoFrame frame, int videoTrackId); + diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita index 15478db340f..0df57de45da 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita @@ -14,6 +14,7 @@

public abstract boolean pushExternalVideoFrame(VideoFrame frame); + diff --git a/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita b/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita index 21692ce1a57..08e5de516d9 100644 --- a/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita @@ -14,6 +14,7 @@

public AgoraFocalLengthInfo[] queryCameraFocalLengthCapability(); + - (NSArray<AgoraFocalLengthInfo *>* __nullable)queryCameraFocalLengthCapability NS_SWIFT_NAME(queryCameraFocalLengthCapability()); virtual int queryCameraFocalLengthCapability(agora::rtc::FocalLengthInfo* focalLengthInfos, int& size) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita b/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita index d3142f7a793..26ddca62eec 100644 --- a/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita @@ -14,6 +14,7 @@

public abstract CodecCapInfo[] queryCodecCapability(); + - (NSArray <AgoraVideoCodecCapInfo *> *__nullable)queryCodecCapability; virtual int queryCodecCapability(CodecCapInfo* codecInfo, int& size) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita b/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita index bf734af88a7..e7ca32f39d9 100644 --- a/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita +++ b/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita @@ -14,6 +14,7 @@

public abstract int queryDeviceScore(); + - (int)queryDeviceScore NS_SWIFT_NAME(queryDeviceScore()); virtual int queryDeviceScore() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_queryinterface.dita b/dita/RTC-NG/API/api_irtcengine_queryinterface.dita index df8a3ee2ebd..b1a721d5a85 100644 --- a/dita/RTC-NG/API/api_irtcengine_queryinterface.dita +++ b/dita/RTC-NG/API/api_irtcengine_queryinterface.dita @@ -14,6 +14,7 @@

+ virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita b/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita index 643248905c2..a741eb7e054 100644 --- a/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita +++ b/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita @@ -14,6 +14,7 @@

public abstract int queryScreenCaptureCapability(); + - (AgoraScreenCaptureFrameRateCapability)queryScreenCaptureCapability NS_SWIFT_NAME(queryScreenCaptureCapability()); #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int queryScreenCaptureCapability() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_rate.dita b/dita/RTC-NG/API/api_irtcengine_rate.dita index 52379d505af..0a5a254b186 100644 --- a/dita/RTC-NG/API/api_irtcengine_rate.dita +++ b/dita/RTC-NG/API/api_irtcengine_rate.dita @@ -14,6 +14,7 @@

public abstract int rate(String callId, int rating, String description); + - (int)rate:(NSString * _Nonnull)callId rating:(NSInteger)rating description:(NSString * _Nullable)description; diff --git a/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita b/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita index bd93d93bcbc..0f3911d7fce 100644 --- a/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita @@ -15,6 +15,7 @@

public abstract int registerAudioEncodedFrameObserver( AudioEncodedFrameObserverConfig config, IAudioEncodedFrameObserver observer); + - (int)setAudioEncodedFrameDelegate:(id<AgoraAudioEncodedFrameDelegate> _Nonnull)delegate config:(AgoraAudioEncodedFrameDelegateConfig * _Nonnull) config; virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig& config, IAudioEncodedFrameObserver *observer) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita b/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita index 77c700591f1..2d67649bed3 100644 --- a/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita @@ -14,6 +14,7 @@

public abstract int registerAudioSpectrumObserver(IAudioSpectrumObserver observer); + - (int)registerAudioSpectrumDelegate:(id<AgoraAudioSpectrumDelegate> _Nullable )delegate; virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver * observer) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_registerextension.dita b/dita/RTC-NG/API/api_irtcengine_registerextension.dita index 43413dce5ac..3dd69abcae8 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerextension.dita @@ -15,6 +15,7 @@

public abstract int registerExtension( String provider, String extension, Constants.MediaSourceType sourceType); + - (int)registerExtensionWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(registerExtension(withVendor:extension:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita b/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita index 1a64354e80a..72aa1099939 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita @@ -14,6 +14,7 @@

public abstract int registerLocalUserAccount(String appId, String userAccount); + - (int)registerLocalUserAccountWithAppID:(NSString * _Nonnull)appID userAccount:(NSString * _Nonnull)userAccount; virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita b/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita index 558c869d5a6..a90fd89ef6c 100644 --- a/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita @@ -14,6 +14,7 @@

public abstract int registerMediaMetadataObserver(IMetadataObserver observer, int type); + - (BOOL)setMediaMetadataDelegate:(id<AgoraMediaMetadataDelegate> _Nullable)metadataDelegate withType:(AgoraMetadataType)type; virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita b/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita index 91fbe526327..93299d8b214 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita @@ -14,6 +14,7 @@

+ virtual int registerPacketObserver(IPacketObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_registerplugin.dita b/dita/RTC-NG/API/api_irtcengine_registerplugin.dita index d1f91d26b87..602ea11498e 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerplugin.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerplugin.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_release.dita b/dita/RTC-NG/API/api_irtcengine_release.dita index 26bbfcf0550..5e382bc42cd 100644 --- a/dita/RTC-NG/API/api_irtcengine_release.dita +++ b/dita/RTC-NG/API/api_irtcengine_release.dita @@ -21,6 +21,7 @@ System.gc(); } + + (void)destroy; virtual void release(bool sync = false) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita b/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita index 5219f51bd3e..6bc2acdaa84 100644 --- a/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita +++ b/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita @@ -14,6 +14,7 @@

+ removeAllListeners?<EventType extends keyof IMediaEngineEvent>( diff --git a/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita b/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita index a3b1ba3a5fc..22160e7d345 100644 --- a/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_removehandler.dita b/dita/RTC-NG/API/api_irtcengine_removehandler.dita index c0557bc8ed4..87e56ebe9a9 100644 --- a/dita/RTC-NG/API/api_irtcengine_removehandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_removehandler.dita @@ -16,6 +16,7 @@ public void removeHandler(IRtcEngineEventHandler handler) { mInstance.removeHandler(handler); } + abstract unregisterEventHandler(eventHandler: IRtcEngineEventHandler): boolean; diff --git a/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita b/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita index c4f3b86e089..0dd3563ee7f 100644 --- a/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita +++ b/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita @@ -14,6 +14,7 @@

public abstract int removeInjectStreamUrl(String url); + - (int)removeInjectStreamUrl:(NSString * _Nonnull)url; virtual int removeInjectStreamUrl(const char* url) = 0; abstract removeInjectStreamUrl(url: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_removelistener.dita b/dita/RTC-NG/API/api_irtcengine_removelistener.dita index f2e7ea330d4..b5e0588dedd 100644 --- a/dita/RTC-NG/API/api_irtcengine_removelistener.dita +++ b/dita/RTC-NG/API/api_irtcengine_removelistener.dita @@ -14,6 +14,7 @@

+ removeListener?<EventType extends keyof IRtcEngineEvent>( diff --git a/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita b/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita index affc48e1332..255b7ed2a48 100644 --- a/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita +++ b/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita @@ -14,6 +14,7 @@

public abstract int removePublishStreamUrl(String url); + - (int)removePublishStreamUrl:(NSString * _Nonnull)url; virtual int removePublishStreamUrl(const char *url) = 0; abstract removePublishStreamUrl(url: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_renewtoken.dita b/dita/RTC-NG/API/api_irtcengine_renewtoken.dita index 267f9154fe0..6414b8a5486 100644 --- a/dita/RTC-NG/API/api_irtcengine_renewtoken.dita +++ b/dita/RTC-NG/API/api_irtcengine_renewtoken.dita @@ -14,6 +14,7 @@

public abstract int renewToken(String token); + - (int)renewToken:(NSString * _Nonnull)token; virtual int renewToken(const char* token) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita index 6ab953309df..6155c1d6451 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita @@ -14,6 +14,7 @@

public abstract int resumeAllChannelMediaRelay(); + - (int)resumeAllChannelMediaRelay; virtual int resumeAllChannelMediaRelay() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita index 842ad7db55a..20604254658 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita @@ -15,6 +15,7 @@

public abstract int resumeAllEffects(); + - (int)resumeAllEffects; virtual int resumeAllEffects() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita b/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita index 6a502ff9935..0e5d4f2a5ab 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita index ab09c182447..362825c4442 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita @@ -14,6 +14,7 @@

public abstract int resumeAudioMixing(); + - (int)resumeAudioMixing; virtual int resumeAudioMixing() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita b/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita index 0e1f08b09ba..2cd24ad2265 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita @@ -15,6 +15,7 @@

public abstract int resumeEffect(int soundId); + - (int)resumeEffect:(int)soundId; virtual int resumeEffect(int soundId) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita index 1368e7fd003..1deaf3360ab 100644 --- a/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita @@ -14,6 +14,7 @@

public abstract int selectAudioTrack(int audioIndex); + - (int)selectAudioTrack:(NSInteger)index; virtual int selectAudioTrack(int index) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita b/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita index f882e08dc34..6c876157427 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita @@ -15,6 +15,7 @@

public abstract int sendCustomReportMessage( String id, String category, String event, String label, int value); + - (int)sendCustomReportMessage:(NSString * _Nullable)messageId category:(NSString * _Nullable)category event:(NSString * _Nullable)event diff --git a/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita b/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita index 78f8ef72525..bc4719a3469 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita @@ -14,6 +14,7 @@

+ abstract sendMetaData(metadata: Metadata, sourceType: VideoSourceType): number; diff --git a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita index 44764cec99c..df308901205 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita @@ -14,6 +14,7 @@

public abstract int sendStreamMessage(int streamId, byte[] message); + - (int)sendStreamMessage:(NSInteger)streamId data:(NSData * _Nonnull)data; virtual int sendStreamMessage(int streamId, diff --git a/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita index 7ec68772340..1338e832a92 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita index 45e42fd6251..54b8a8c3e21 100644 --- a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -14,6 +14,7 @@

public abstract int SetAdvancedAudioOptions(AdvancedAudioOptions options); + - (int)setAdvancedAudioOptions:(AgoraAdvancedAudioOptions * _Nonnull)options; virtual int setAdvancedAudioOptions(media::base::AdvancedAudioOptions &options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita index 7abd5191caf..de3fd42889a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita @@ -14,6 +14,7 @@

public abstract int setAINSMode(boolean enabled, int mode); + - (int)setAINSMode:(BOOL)enabled mode:(AUDIO_AINS_MODE)mode NS_SWIFT_NAME(setAINSMode(_:mode:)); virtual int setAINSMode(bool enabled, AUDIO_AINS_MODE mode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita index 750dea04106..bffe20e243d 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita @@ -14,6 +14,7 @@

public abstract int setAudioEffectParameters(int preset, int param1, int param2); + - (int)setAudioEffectParameters:(AgoraAudioEffectPreset)preset param1:(int)param1 param2:(int)param2; virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita index 7cfeb3599c9..32bd6ef4cae 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita @@ -14,6 +14,7 @@

public abstract int setAudioEffectPreset(int preset); + - (int)setAudioEffectPreset:(AgoraAudioEffectPreset)preset; virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita index acb8cea369a..b33298c7c80 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita @@ -14,6 +14,7 @@

public abstract int setAudioMixingDualMonoMode(Constants.AudioMixingDualMonoMode mode); + - (int)setAudioMixingDualMonoMode:(AgoraAudioMixingDualMonoMode)mode; virtual int setAudioMixingDualMonoMode(media::AUDIO_MIXING_DUAL_MONO_MODE mode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita index 7413050d7f7..1ea4efffa52 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita @@ -14,6 +14,7 @@

public abstract int setAudioMixingPitch(int pitch); + - (int)setAudioMixingPitch:(NSInteger)pitch; virtual int setAudioMixingPitch(int pitch) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita index ed96fcb2fe9..7cdc4a64adc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita @@ -14,6 +14,7 @@

public abstract int setAudioMixingPlaybackSpeed(int speed); + - (int)setAudioMixingPlaybackSpeed:(NSInteger)speed NS_SWIFT_NAME(setAudioMixingPlaybackSpeed(_:)); virtual int setAudioMixingPlaybackSpeed(int speed) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita index 0db641d3398..94f845df9a1 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita @@ -14,6 +14,7 @@

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

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

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

public abstract int setAudioScenario(int scenario); + - (int)setAudioScenario:(AgoraAudioScenario)scenario; virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita index 7a18e341c2b..00e62e471d5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita @@ -14,6 +14,7 @@

+ - (void)setAudioSessionOperationRestriction:(AgoraAudioSessionOperationRestriction)restriction NS_SWIFT_NAME(setAudioSessionOperationRestriction(_:)); virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita b/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita index fd4946109e9..2c71b5951fb 100644 --- a/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita +++ b/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita @@ -14,6 +14,7 @@

public abstract int setAVSyncSource(String channelId, int uid); + - (int) setAVSyncSource:(NSString* _Nonnull)channelId uid:(NSUInteger)uid; virtual int setAVSyncSource(const char* channelId, uid_t uid) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita index 21f4825e7ba..ec7b9f2dcc2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -14,6 +14,7 @@

public abstract int setBeautyEffectOptions(boolean enabled, BeautyOptions options); + - (int)setBeautyEffectOptions:(BOOL)enable options:(AgoraBeautyOptions* _Nullable)options; virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita index bda021a8988..91d6123fbda 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita @@ -15,6 +15,7 @@

public abstract int setBeautyEffectOptions( boolean enabled, BeautyOptions options, Constants.MediaSourceType sourceType); + - (int)setBeautyEffectOptions:(BOOL)enable options:(AgoraBeautyOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setBeautyEffectOptions(_:options:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita b/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita index 754fdf57464..fd61c870cee 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita @@ -14,6 +14,7 @@

+ virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita b/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita index 39046764c4a..080e1e70c74 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita @@ -14,6 +14,7 @@

public abstract int setCameraAutoFocusFaceModeEnabled(boolean enabled); + - (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable; virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita index 31098950ba3..89a3f34df38 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita @@ -14,6 +14,7 @@

public abstract int setCameraCapturerConfiguration(CameraCapturerConfiguration config); + - (int)setCameraCapturerConfiguration:(AgoraCameraCapturerConfiguration * _Nullable)config; virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita b/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita index 920d7b11dc5..0f2ab4fa31b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita @@ -14,6 +14,7 @@

+ virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita b/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita index ba837215489..6535fa7a5f6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita @@ -14,6 +14,7 @@

public abstract int setCameraExposureFactor(int factor); + - (CGFloat)setCameraExposureFactor:(CGFloat)exposureFactor NS_SWIFT_NAME(setCameraExposureFactor(_:)); virtual int setCameraExposureFactor(float factor) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita b/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita index cbf245b1910..8f95b56af60 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita @@ -14,6 +14,7 @@

public abstract int setCameraExposurePosition(float positionXinView, float positionYinView); + - (BOOL)setCameraExposurePosition:(CGPoint)positionInView; virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita b/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita index 6ae0be75bc9..2bd99164b4d 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita @@ -14,6 +14,7 @@

public abstract int setCameraFocusPositionInPreview(float positionX, float positionY); + - (BOOL)setCameraFocusPositionInPreview:(CGPoint)position; virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita b/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita index 8d6af1ce3da..697a33be5df 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita @@ -14,6 +14,7 @@

+ - (int) setCameraStabilizationMode:(AgoraCameraStabilizationMode)mode NS_SWIFT_NAME(setCameraStabilizationMode(_:)); virtual int setCameraStabilizationMode(CAMERA_STABILIZATION_MODE mode) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita b/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita index 5161c08d24a..178f0947e62 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita @@ -14,6 +14,7 @@

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

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

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

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

public abstract int setClientRole(int role, ClientRoleOptions options); + - (int)setClientRole:(AgoraClientRole)role options:(AgoraClientRoleOptions * _Nullable)options; virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita index 66fd226dd4f..df29bef7e73 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita @@ -14,6 +14,7 @@

public abstract int setCloudProxy(int proxyType); + - (int)setCloudProxy:(AgoraCloudProxyType)proxyType NS_SWIFT_NAME(setCloudProxy(_:)); virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita index 84bd1dc4906..d93a70e91ad 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita @@ -15,6 +15,7 @@

public abstract int setColorEnhanceOptions(boolean enabled, ColorEnhanceOptions options); + - (int)setColorEnhanceOptions:(BOOL)enable options:(AgoraColorEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setColorEnhanceOptions(_:options:)); virtual int setColorEnhanceOptions(bool enabled, const ColorEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita index 644a408d0ce..22d97f26e14 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita @@ -15,6 +15,7 @@

public abstract int setColorEnhanceOptions( boolean enabled, ColorEnhanceOptions options, Constants.MediaSourceType sourceType); + - (int)setColorEnhanceOptions:(BOOL)enable options:(AgoraColorEnhanceOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setColorEnhanceOptions(_:options:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_setcontentinspec.dita b/dita/RTC-NG/API/api_irtcengine_setcontentinspec.dita index 4b08caee768..7ea24388d20 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcontentinspec.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcontentinspec.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita index db95470d782..85166202a99 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita @@ -14,6 +14,7 @@

public abstract int setDefaultMuteAllRemoteAudioStreams(boolean muted); + - (int)setDefaultMuteAllRemoteAudioStreams:(BOOL)mute; virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) = 0; abstract setDefaultMuteAllRemoteAudioStreams(mute: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita index f9b5dc5f0d7..3344c7862d2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita @@ -14,6 +14,7 @@

public abstract int setDefaultMuteAllRemoteVideoStreams(boolean muted); + - (int)setDefaultMuteAllRemoteVideoStreams:(BOOL)mute; virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) = 0; abstract setDefaultMuteAllRemoteVideoStreams(mute: boolean): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita b/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita index e5cdbd895bd..222e8f7a658 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita @@ -14,6 +14,7 @@

+ - (int)setDeviceVolume:(AgoraMediaDeviceType)type volume:(int)volume; diff --git a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita index 4d9c4d36fe4..8a2fb52a8bd 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita @@ -14,6 +14,7 @@

public abstract int setDirectCdnStreamingAudioConfiguration(int profile); + - (int)setDirectCdnStreamingAudioConfiguration:(AgoraAudioProfile)profile; virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita index ac289fd9e1d..b668d42c415 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita @@ -14,6 +14,7 @@

public abstract int setDirectCdnStreamingVideoConfiguration(VideoEncoderConfiguration config); + - (int)setDirectCdnStreamingVideoConfiguration:(AgoraVideoEncoderConfiguration * _Nonnull)config; virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration& config) diff --git a/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita b/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita index c0b91af3b01..b8131a9ce2b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita @@ -14,6 +14,7 @@

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

public abstract int setDualStreamMode( Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig); + - (int)setDualStreamMode:(AgoraSimulcastStreamMode)mode streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig; virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode, diff --git a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita index 9b4eee32407..d51acb5c0b4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita @@ -15,6 +15,7 @@

public abstract int setEarMonitoringAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall); + - (int)setEarMonitoringAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode diff --git a/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita b/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita index 2abb224d68f..52479d11fc9 100644 --- a/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita @@ -14,6 +14,7 @@

public abstract int setEffectPosition(int soundId, int pos); + - (int)setEffectPosition:(int)soundId pos:(NSInteger)pos NS_SWIFT_NAME(setEffectPosition(_:pos:)); virtual int setEffectPosition(int soundId, int pos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita b/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita index 7aab6349513..c806598671e 100644 --- a/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita @@ -15,6 +15,7 @@

public abstract int setEffectsVolume(double volume); + - (int)setEffectsVolume:(NSInteger)volume; virtual int setEffectsVolume(int volume) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita b/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita index 6d1598766a8..4e22c0ae2da 100644 --- a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita @@ -14,6 +14,7 @@

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

public abstract int setEncryptionSecret(String secret); + - (int)setEncryptionSecret:(NSString * _Nullable)secret; virtual int setEncryptionSecret(const char* secret) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita b/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita index 1c1e8ad3b7e..5e48ab65778 100644 --- a/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita +++ b/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita @@ -16,6 +16,7 @@ public abstract int setExtensionProperty( String provider, String extension, String key, String value); + - (int)setExtensionPropertyWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension key:(NSString * __nonnull)key value:(NSString * __nonnull)value; virtual int setExtensionProperty( diff --git a/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita b/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita index 3e58f67235d..832e20068fd 100644 --- a/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita +++ b/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita @@ -15,6 +15,7 @@

public abstract int setExtensionProviderProperty(String provider, String key, String value); + - (int) setExtensionProviderPropertyWithVendor:(NSString * __nonnull)provider key:(NSString * __nonnull)key value:(NSString * __nonnull)value; virtual int setExtensionProviderProperty( diff --git a/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita b/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita index e3819a30170..ed3490a0235 100644 --- a/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita +++ b/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita @@ -14,6 +14,7 @@

public abstract int setExternalAudioSource(boolean enabled, int sampleRate, int channels); + - (int)setExternalAudioSource:(BOOL)enabled sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels; diff --git a/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita b/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita index 6867fea83cb..a1af0a72e7f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita index f9879cf7a28..328109251f0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita @@ -14,6 +14,7 @@

public abstract int setHeadphoneEQParameters(int lowGain, int highGain); + - (int)setHeadphoneEQParameters:(int)lowGain highGain:(int)highGain; virtual int setHeadphoneEQParameters(int lowGain, int highGain) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita index ec449b1ceb0..2432db87a79 100644 --- a/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita @@ -14,6 +14,7 @@

public abstract int setHeadphoneEQPreset(int preset); + - (int)setHeadphoneEQPreset:(AgoraHeadphoneEQPreset)preset; virtual int setHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita b/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita index 599d6fa2786..23bd6c35835 100644 --- a/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita @@ -14,6 +14,7 @@

+ virtual int setHighQualityAudioParameters(bool fullband, bool stereo, diff --git a/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita b/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita index 1c6ad8dac43..b368ffb5fc3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita @@ -14,6 +14,7 @@

public abstract int setInEarMonitoringVolume(int volume); + - (int)setInEarMonitoringVolume:(NSInteger)volume; virtual int setInEarMonitoringVolume(int volume) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita b/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita index 3249898537b..ca449b525d6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita @@ -14,6 +14,7 @@

public abstract int setLiveTranscoding(LiveTranscoding transcoding); + - (int)setLiveTranscoding:(AgoraLiveTranscoding *_Nullable)transcoding; virtual int setLiveTranscoding(const LiveTranscoding &transcoding) = 0; abstract setLiveTranscoding(transcoding: LiveTranscoding): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita b/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita index 5d36a561d19..cce6f40f832 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita @@ -14,6 +14,7 @@

public abstract int setLocalAccessPoint(LocalAccessPointConfiguration config); + - (int)setLocalAccessPoint:(AgoraLocalAccessPointConfiguration* _Nonnull)config NS_SWIFT_NAME(setLocalAccessPoint(withConfig:)); virtual int setLocalAccessPoint(const LocalAccessPointConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita index c6a76b21a13..21d027059f0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita @@ -14,6 +14,7 @@

public abstract int setLocalPublishFallbackOption(int option); + - (int)setLocalPublishFallbackOption:(AgoraStreamFallbackOptions)option; virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita index d93001fb96b..289b7f17e16 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita @@ -14,6 +14,7 @@

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

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

public abstract int setLocalVideoMirrorMode(int mode); + - (int)setLocalVideoMirrorMode:(AgoraVideoMirrorMode)mode; virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita index af06527cf05..8770278edfb 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita index 13750817510..fa760e746ce 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita @@ -14,6 +14,7 @@

public abstract int setLocalVoiceChanger(int voiceChanger); + - (int) setLocalVoiceChanger:(AgoraAudioVoiceChanger)voiceChanger; virtual int setLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita index 6cc7727f078..512402fefd9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita @@ -15,6 +15,7 @@

public abstract int setLocalVoiceEqualization( Constants.AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain); + - (int)setLocalVoiceEqualizationOfBandFrequency:(AgoraAudioEqualizationBandFrequency)bandFrequency withGain:(NSInteger)gain; virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita index 989783b3bdb..b7f04d9d1cb 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita @@ -15,6 +15,7 @@

public abstract int setLocalVoiceFormant(double formantRatio); + - (int)setLocalVoiceFormant:(double)formantRatio; virtual int setLocalVoiceFormant(double formantRatio) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita index e268fbb7f66..6de83516adc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita @@ -14,6 +14,7 @@

public abstract int setLocalVoicePitch(double pitch); + - (int)setLocalVoicePitch:(double)pitch; virtual int setLocalVoicePitch(double pitch) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita index b791e56d9e8..579448acfd6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita @@ -14,6 +14,7 @@

public abstract int setLocalVoiceReverb(Constants.AUDIO_REVERB_TYPE reverbKey, int value); + - (int)setLocalVoiceReverbOfType:(AgoraAudioReverbType)reverbType withValue:(NSInteger)value; virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita index 6481f216acc..2c7d0599081 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita @@ -14,6 +14,7 @@

public abstract int setLocalVoiceReverbPreset(int reverbPreset); + - (int) setLocalVoiceReverbPreset:(AgoraAudioReverbPreset)reverbPreset; virtual int setLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 457503dc02a..cdae871fd4c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -14,6 +14,7 @@

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

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

public abstract int setLogFilter(int filter); + - (int)setLogFilter:(NSUInteger)filter; virtual int setLogFilter(unsigned int filter) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setloglevel.dita b/dita/RTC-NG/API/api_irtcengine_setloglevel.dita index 080433b44a2..5fa3a974fd0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setloglevel.dita +++ b/dita/RTC-NG/API/api_irtcengine_setloglevel.dita @@ -14,6 +14,7 @@

public abstract int setLogLevel(int level); + - (int)setLogLevel:(AgoraLogLevel)level; virtual int setLogLevel(commons::LOG_LEVEL level) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index a3922a65404..40132993b73 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -15,6 +15,7 @@

public abstract int setLowlightEnhanceOptions(boolean enabled, LowLightEnhanceOptions options); + - (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:)); virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita index 059d7a67369..fdba412b2d3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita @@ -15,6 +15,7 @@

public abstract int setLowlightEnhanceOptions( boolean enabled, LowLightEnhanceOptions options, Constants.MediaSourceType sourceType); + - (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita b/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita index d33a40a0f56..a6ecef5b525 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita @@ -14,6 +14,7 @@

+ abstract setMaxMetadataSize(size: number): number; diff --git a/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita b/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita index d01624c7130..c175373617c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita @@ -13,6 +13,7 @@

+ - (BOOL)setMediaMetadataDataSource:(id<AgoraMediaMetadataDataSource> _Nullable)metadataDataSource withType:(AgoraMetadataType)type; diff --git a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index 73822f26220..f5de2207f2a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -14,6 +14,7 @@

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

public abstract int setParameters(String parameters); + - (int)setParameters:(NSString * _Nonnull)options NS_SWIFT_NAME(setParameters(_:)); virtual int setParameters(const char* parameters) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index 45e262f5285..c514ab4d33b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -14,6 +14,7 @@

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

public abstract int setPlaybackAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall); + - (int)setPlaybackAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode diff --git a/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita b/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita index f51bbfb423e..6c548797e92 100644 --- a/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita +++ b/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index 270de9cb077..fc2875b520c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -15,6 +15,7 @@

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

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

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

public abstract int setRemoteRenderMode(int userId, int renderMode, int mirrorMode); + - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index 824129303cc..ef6c97e794b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -14,7 +14,8 @@

public abstract int setRemoteSubscribeFallbackOption(int option); - - (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option; + + - (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option; virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; abstract setRemoteSubscribeFallbackOption( option: StreamFallbackOptions diff --git a/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita b/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita index 8ee6eca4bdf..7b667bc4ad2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita @@ -14,7 +14,8 @@

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); diff --git a/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita b/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita index ae9189aa6b0..67add3b016c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita @@ -14,6 +14,7 @@

public abstract int setRemoteUserSpatialAudioParams(int uid, SpatialAudioParams params); + - (int)setRemoteUserSpatialAudioParams:(NSUInteger)uid params:(AgoraSpatialAudioParams* _Nonnull)params; virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita index 8b21027eea7..1a774ad7220 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index bcd0cbc0956..60510ce0a4b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -14,7 +14,8 @@

public abstract int setRemoteVideoStreamType(int uid, int streamType); - - (int)setRemoteVideoStream:(NSUInteger)uid + + - (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType; virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita index e70e57bb169..7813dd81b43 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita @@ -14,6 +14,7 @@

public abstract int setRemoteVideoSubscriptionOptions(int uid, VideoSubscriptionOptions options); + - (int)setRemoteVideoSubscriptionOptions:(NSUInteger)uid options:(AgoraVideoSubscriptionOptions* _Nonnull)options NS_SWIFT_NAME(setRemoteVideoSubscriptionOptions(_:options:)); virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita b/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita index 210fd405ec9..06d0793c432 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita @@ -15,6 +15,7 @@

public abstract int setRemoteVoice3DPosition( int uid, double azimuth, double elevation, double distance); + - (int)setRemoteVoice3DPosition:(NSUInteger)uid azimuth:(double)azimuth elevation:(double)elevation diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita b/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita index 08f6279de59..a9a1f1bdd4c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita @@ -14,6 +14,7 @@

public abstract int setRemoteVoicePosition(int uid, double pan, double gain); + - (int)setRemoteVoicePosition:(NSUInteger)uid pan:(double)pan gain:(double)gain; virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setrendermode.dita b/dita/RTC-NG/API/api_irtcengine_setrendermode.dita index ca7bcb21505..981df553c92 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrendermode.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita b/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita index a197f80bba6..63138e0d33e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita @@ -14,6 +14,7 @@

public abstract int setRouteInCommunicationMode(int route); + virtual int setRouteInCommunicationMode(int route) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita b/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita index 9507f97afdc..3fc0dc3407a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita +++ b/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita @@ -14,6 +14,7 @@

+ virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita b/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita index 888cac74ae4..46a22ae9635 100644 --- a/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita +++ b/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita @@ -13,6 +13,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita b/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita index 3a5f190e9be..e20f417da6a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita @@ -14,6 +14,7 @@

public abstract int setScreenCaptureScenario(Constants.ScreenScenarioType screenScenario); + - (int)setScreenCaptureScenario:(AgoraScreenScenarioType)scenarioType NS_SWIFT_NAME(setScreenCaptureScenario(_:)); diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita index 70d41558d94..81e60cc8126 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeAudioAllowlist(int[] uidList); + - (int)setSubscribeAudioAllowlist:(NSArray <NSNumber *> *_Nonnull)allowlist; virtual int setSubscribeAudioAllowlist(uid_t* uidList, int uidNumber) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita index fa63d3603a9..52f80b49c20 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeAudioBlocklist(int[] uidList); + - (int)setSubscribeAudioBlocklist:(NSArray <NSNumber *> *_Nonnull)blocklist; virtual int setSubscribeAudioBlocklist(uid_t* uidList, int uidNumber) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita index d2fab3f8d34..e3b9e892b2f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeVideoAllowlist(int[] uidList); + - (int)setSubscribeVideoAllowlist:(NSArray <NSNumber *> *_Nonnull)allowlist; virtual int setSubscribeVideoAllowlist(uid_t* uidList, int uidNumber) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita index 8a9c67e7a65..fac270f29f7 100644 --- a/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita +++ b/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeVideoBlocklist(int[] uidList); + - (int)setSubscribeVideoBlocklist:(NSArray <NSNumber *> *_Nonnull)blocklist; virtual int setSubscribeVideoBlocklist(uid_t* uidList, int uidNumber) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita index a219dec226e..1b210487fa4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita @@ -14,6 +14,7 @@

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

public abstract int setupRemoteVideo(VideoCanvas remote); + - (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote; virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index a63dfadd0bd..745961f9675 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -15,6 +15,7 @@

public abstract int setVideoDenoiserOptions(boolean enabled, VideoDenoiserOptions options); + - (int)setVideoDenoiserOptions:(BOOL)enable options:(AgoraVideoDenoiserOptions* _Nullable)options NS_SWIFT_NAME(setVideoDenoiserOptions(_:options:)); virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita index 2ba73e8ff24..8f098532fec 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita @@ -15,6 +15,7 @@

public abstract int setVideoDenoiserOptions( boolean enabled, VideoDenoiserOptions options, Constants.MediaSourceType sourceType); + - (int)setVideoDenoiserOptions:(BOOL)enable options:(AgoraVideoDenoiserOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setVideoDenoiserOptions(_:options:sourceType:)); diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita index 670bd6cd5ea..f292d634997 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita @@ -14,6 +14,7 @@

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

public abstract int setVideoProfile(int profile, boolean swapWidthAndHeight); + - (int)setVideoProfile:(AgoraVideoProfile)profile swapWidthAndHeight:(BOOL)swapWidthAndHeight virtual int setVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita b/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita index ee402b598e0..89f5b0d7a07 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita @@ -14,6 +14,7 @@

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/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita index 4c9dd426360..a303f737b97 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita @@ -14,6 +14,7 @@

public abstract int setVideoQualityParameters(boolean preferFrameRateOverImageQuality); + - (int)setVideoQualityParameters:(BOOL)preferFrameRateOverImageQuality; virtual int setVideoQualityParameters(bool preferFrameRateOverImageQuality) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita b/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita index e9733430ec3..9fd197d3dd4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita b/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita index 9c51bb96c29..0e2ca5f4b73 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita b/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita index 5ef7068654d..f90551237e1 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita @@ -14,6 +14,7 @@

public abstract int setVideoScenario(Constants.VideoScenario scenarioType); + - (int)setVideoScenario:(AgoraApplicationScenarioType)scenarioType NS_SWIFT_NAME(setVideoScenario(_:)); virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvideosource.dita b/dita/RTC-NG/API/api_irtcengine_setvideosource.dita index 30f998c8229..97d45162d71 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideosource.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideosource.dita @@ -14,6 +14,7 @@

+ virtual bool setVideoSource(IVideoSource *source) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_setview.dita b/dita/RTC-NG/API/api_irtcengine_setview.dita index 420941819c9..d90a9336104 100644 --- a/dita/RTC-NG/API/api_irtcengine_setview.dita +++ b/dita/RTC-NG/API/api_irtcengine_setview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita index 2ae2f796d7c..999badc854a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita @@ -14,6 +14,7 @@

public abstract int setVoiceBeautifierParameters(int preset, int param1, int param2); + - (int)setVoiceBeautifierParameters:(AgoraVoiceBeautifierPreset)preset param1:(int)param1 param2:(int)param2; virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita index 3a4236a09c9..810a5edfc7b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -14,6 +14,7 @@

public abstract int setVoiceBeautifierPreset(int preset); + - (int)setVoiceBeautifierPreset:(AgoraVoiceBeautifierPreset)preset; virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita index 2b0241223c2..3d76ddcad77 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita index 9ba4841223c..482563c71d8 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita @@ -14,6 +14,7 @@

public abstract int setVoiceConversionPreset(int preset); + - (int)setVoiceConversionPreset:(AgoraVoiceConversionPreset)preset; virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita b/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita index 73e1aba1df4..d7574e19335 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita @@ -15,6 +15,7 @@

public abstract int setVolumeOfEffect(int soundId, double volume); + - (int)setVolumeOfEffect:(int)soundId withVolume:(int)volume; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita b/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita index 01513b9023c..d5793b3b94f 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita @@ -14,6 +14,7 @@

+ 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; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index cc7d2c4e8d4..bb035a65528 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -14,6 +14,7 @@

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

public abstract int startAudioMixing(String filePath, boolean loopback, int cycle, int startPos); + - (int)startAudioMixing:(NSString* _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle startPos:(NSInteger)startPos; virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 93db65f6c7b..25bcad407a6 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -14,6 +14,7 @@

public abstract int startAudioRecording(String filePath, int quality); + - (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality; virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita index 8cbb4b9e938..ec2cac93e61 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita @@ -14,6 +14,7 @@

+ virtual int startAudioRecording(const char* filePath, int sampleRate, diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index af1bad04409..734e4fec708 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -14,6 +14,7 @@

public abstract int startAudioRecording(AudioFileRecordingConfig config); + - (int)startAudioRecordingWithConfig:(AgoraAudioRecordingConfiguration * _Nonnull)config; virtual int startAudioRecording(const AudioFileRecordingConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita b/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita index 373f293ff07..5f0744e6a51 100644 --- a/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita @@ -15,6 +15,7 @@

public abstract int startCameraCapture( Constants.VideoSourceType sourceType, CameraCapturerConfiguration config); + - (int)startCameraCapture:(AgoraVideoSourceType)sourceType config:(AgoraCameraCapturerConfiguration * _Nullable)config NS_SWIFT_NAME(startCameraCapture(_:config:)); virtual int startCameraCapture(VIDEO_SOURCE_TYPE sourceType, const CameraCapturerConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita index 66710e94fe8..1e5b9528ab3 100644 --- a/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita @@ -15,6 +15,7 @@

public abstract int startChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); + - (int)startChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config; virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita b/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita index 71b39706929..52713bd83cd 100644 --- a/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita +++ b/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita @@ -14,6 +14,7 @@

public abstract int startDirectCdnStreaming(IDirectCdnStreamingEventHandler eventHandler, String publishUrl, DirectCdnStreamingMediaOptions 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; diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest.dita b/dita/RTC-NG/API/api_irtcengine_startechotest.dita index c9d6f3f13ff..52bb5b8dfe5 100644 --- a/dita/RTC-NG/API/api_irtcengine_startechotest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startechotest.dita @@ -14,6 +14,7 @@

public abstract int startEchoTest(); + - (int)startEchoTest:(void(^ _Nullable) (NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))successBlock; virtual int startEchoTest() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest2.dita b/dita/RTC-NG/API/api_irtcengine_startechotest2.dita index da606f33031..31bb1af2e04 100644 --- a/dita/RTC-NG/API/api_irtcengine_startechotest2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startechotest2.dita @@ -14,6 +14,7 @@

public abstract int startEchoTest(int intervalInSeconds); + - (int)startEchoTestWithInterval:(NSInteger)interval successBlock:(void(^ _Nullable) (NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))successBlock; diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest3.dita b/dita/RTC-NG/API/api_irtcengine_startechotest3.dita index bd605aa7b91..d154ebf2532 100644 --- a/dita/RTC-NG/API/api_irtcengine_startechotest3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startechotest3.dita @@ -14,6 +14,7 @@

public abstract int startEchoTest(EchoTestConfiguration config); + - (int)startEchoTestWithConfig:(AgoraEchoTestConfiguration* _Nonnull)config; virtual int startEchoTest(const EchoTestConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita index c82417112ca..216697eb444 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -14,6 +14,7 @@

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

public abstract int startLocalVideoTranscoder(LocalTranscoderConfiguration config); + - (int)startLocalVideoTranscoder:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalVideoTranscoder(_:)); virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita b/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita index 5f9b0c788a6..fac6aac60d3 100644 --- a/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita @@ -14,6 +14,7 @@

public abstract int startMediaRenderingTracing(); + - (int)startMediaRenderingTracing NS_SWIFT_NAME(startMediaRenderingTracing()); virtual int startMediaRenderingTracing() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index 89acb320053..79fcd3b1521 100644 --- a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -15,6 +15,7 @@

public abstract int startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); + - (int)startOrUpdateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config NS_SWIFT_NAME(startOrUpdateChannelMediaRelay(_:)); virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview.dita b/dita/RTC-NG/API/api_irtcengine_startpreview.dita index 90eac929052..dcca663dd5b 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview.dita @@ -14,6 +14,7 @@

public abstract int startPreview(); + - (int)startPreview; virtual int startPreview() = 0; abstract startPreviewWithoutSourceType(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview2.dita b/dita/RTC-NG/API/api_irtcengine_startpreview2.dita index 37d90cbf2dd..f76be911bb6 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview2.dita @@ -15,6 +15,7 @@

public abstract int startPreview(Constants.VideoSourceType sourceType); + - (int)startPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(startPreview(_:)); virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita index 2cd0406d128..bad0562f161 100644 --- a/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita index c249f6ac6d7..f9126d754b9 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita @@ -14,6 +14,7 @@

public abstract int startRtmpStreamWithoutTranscoding(String url); + - (int)startRtmpStreamWithoutTranscoding:(NSString* _Nonnull)url; virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita index b00fa6b36e0..b4800a3f33c 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita @@ -14,6 +14,7 @@

public abstract int startRtmpStreamWithTranscoding(String url, LiveTranscoding transcoding); + - (int)startRtmpStreamWithTranscoding:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita index 124c01fb8ce..f4ee1d3994b 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita @@ -14,6 +14,7 @@

+ - (int)startScreenCapture:(AgoraVideoSourceType)sourceType config:(AgoraScreenCaptureConfiguration * _Nullable)config NS_SWIFT_NAME(startScreenCapture(_:config:)); virtual int startScreenCapture(VIDEO_SOURCE_TYPE sourceType, const ScreenCaptureConfiguration& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita index 28736130b1e..1647bf1ce17 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita @@ -14,6 +14,7 @@

+ - (int)startScreenCaptureByDisplayId:(UInt32)displayId regionRect:(CGRect)regionRect captureParams:(AgoraScreenCaptureParameters *_Nonnull)captureParams; diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita index 8cecc103720..785848c1305 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita @@ -14,6 +14,7 @@

+ virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect, const Rectangle& regionRect, diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita index 68d9a9de926..4886c09347a 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita @@ -14,6 +14,7 @@

+ - (int)startScreenCaptureByWindowId:(UInt32)windowId regionRect:(CGRect)regionRect captureParams:(AgoraScreenCaptureParameters *_Nonnull)captureParams; diff --git a/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita index 9e15f190d45..ad75f5bedf2 100644 --- a/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_statechanged.dita b/dita/RTC-NG/API/api_irtcengine_statechanged.dita index 683d32d8a0b..9a9f7e64be1 100644 --- a/dita/RTC-NG/API/api_irtcengine_statechanged.dita +++ b/dita/RTC-NG/API/api_irtcengine_statechanged.dita @@ -14,6 +14,7 @@

+ - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine device:(NSString* _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state; diff --git a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita index 3da2641a986..75f345dac3d 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -15,6 +15,7 @@

public abstract int stopAllEffects(); + - (int)stopAllEffects; virtual int stopAllEffects() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita b/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita index ecea2222581..85006de17dd 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita @@ -14,6 +14,7 @@

+ virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita index 536bc32b57c..35a08fd1b7f 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -14,6 +14,7 @@

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

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

public abstract int stopCameraCapture(Constants.VideoSourceType sourceType); + - (int)stopCameraCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopCameraCapture(_:)); virtual int stopCameraCapture(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita index dc03cbe710e..f145c202387 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -14,6 +14,7 @@

public abstract int stopChannelMediaRelay(); + - (int)stopChannelMediaRelay; virtual int stopChannelMediaRelay() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita b/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita index a66f99c9eb7..a5ef6450675 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita @@ -13,6 +13,7 @@

public abstract int stopDirectCdnStreaming(); + - (int)stopDirectCdnStreaming; virtual int stopDirectCdnStreaming() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopechotest.dita b/dita/RTC-NG/API/api_irtcengine_stopechotest.dita index 64b9d220694..065181f2cda 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopechotest.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopechotest.dita @@ -14,6 +14,7 @@

public abstract int stopEchoTest(); + - (int)stopEchoTest; virtual int stopEchoTest() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita index 5ed167cde93..7e0f7944176 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita @@ -15,6 +15,7 @@

public abstract int stopEffect(int soundId); + - (int)stopEffect:(int)soundId; virtual int stopEffect(int soundId) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita index 31c071696a4..a044937e64f 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita @@ -14,6 +14,7 @@

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

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

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

public abstract int stopPreview(Constants.VideoSourceType sourceType); + - (int)stopPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopPreview(_:)); virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita index 2682d6a133d..354e42fe74c 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita b/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita index d51af2fa7d2..bea46495cea 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita @@ -14,6 +14,7 @@

public abstract int stopRhythmPlayer(); + - (int)stopRhythmPlayer; virtual int stopRhythmPlayer() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita index 6853e82ad66..5481719c94a 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita @@ -14,6 +14,7 @@

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

public abstract int stopScreenCapture(); + - (int)stopScreenCapture NS_SWIFT_NAME(stopScreenCapture()); #if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__) diff --git a/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita b/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita index 13f2b702976..2241f58da7e 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita @@ -14,6 +14,7 @@

+ - (int)stopScreenCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopScreenCapture(_:)); virtual int stopScreenCapture(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita index 28e8b4d708c..c10f06c9546 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita index 4d16600f78f..99005744a39 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita @@ -14,6 +14,7 @@

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

public abstract int switchCamera(String cameraId); + diff --git a/dita/RTC-NG/API/api_irtcengine_switchchannel.dita b/dita/RTC-NG/API/api_irtcengine_switchchannel.dita index 45f9f2b551a..0750371082a 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchchannel.dita @@ -14,6 +14,7 @@

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; diff --git a/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita b/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita index 2189a08cc35..189b8e01077 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita @@ -14,6 +14,7 @@

+ virtual int switchChannel(const char* token, const char* channelId, diff --git a/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita b/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita index 5cc0f939787..c89c1428d64 100644 --- a/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita +++ b/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita @@ -14,6 +14,7 @@

+ virtual int takeScreenshot(const char* filename) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita b/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita index a81f3041904..6edd2970597 100644 --- a/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita +++ b/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita @@ -14,6 +14,7 @@

public abstract int takeSnapshot(int uid, String filePath); + - (NSInteger)takeSnapshot:(NSInteger)uid filePath:(NSString* _Nonnull)filePath; virtual int takeSnapshot(uid_t uid, const char* filePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita b/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita index 57746301af6..d5a533a0aba 100644 --- a/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita @@ -14,6 +14,7 @@

+ virtual int unloadAllEffects() = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita index 5920540a7d7..0fd16b8ea5a 100644 --- a/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita @@ -15,6 +15,7 @@

public abstract int unloadEffect(int soundId); + - (int)unloadEffect:(int)soundId; virtual int unloadEffect(int soundId) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita index 025dbcf4e69..10432d211aa 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita @@ -14,6 +14,7 @@

+ abstract unregisterAudioEncodedFrameObserver( diff --git a/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita index cdae66ebea4..8182483e6b0 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita index a1ca89c70a2..bcb5f323b8b 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita @@ -14,6 +14,7 @@

public abstract int unRegisterAudioSpectrumObserver(IAudioSpectrumObserver observer); + - (int) unregisterAudioSpectrumDelegate:(id<AgoraAudioSpectrumDelegate> _Nullable)delegate; virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver * observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita index 10cd90eb934..aaac4d54e41 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita @@ -14,6 +14,7 @@

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

+ diff --git a/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita b/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita index 3f7caa65785..3f3f3e7282c 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita index 7fef40a76a4..122afea75fe 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita index 2cb85a6f5b2..a7536cccec2 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita @@ -14,6 +14,7 @@

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

public abstract int updateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); + - (int)updateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config; virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita b/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita index 034dce724ed..410f3e60c44 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita index 6a2b914f5d7..c1668132bd3 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita @@ -14,6 +14,7 @@

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

public abstract int updatePreloadChannelToken(String token); + - (int)updatePreloadChannelToken:(NSString * _Nonnull)token NS_SWIFT_NAME(updatePreloadChannelToken(_:)); virtual int updatePreloadChannelToken(const char* token) = 0; abstract updatePreloadChannelToken(token: string): number; diff --git a/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita b/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita index 38660527f2c..21d6c6cbbbe 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita @@ -14,6 +14,7 @@

public abstract int updateRtmpTranscoding(LiveTranscoding transcoding); + - (int)updateRtmpTranscoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita index 2a8f2543106..69a3fc66df1 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -16,6 +16,7 @@ public abstract int updateScreenCaptureParameters( ScreenCaptureParameters screenCaptureParameters); + - (int)updateScreenCaptureParameters:(AgoraScreenCaptureParameters * _Nonnull)captureParams; virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita index a508319ae86..e591fb3500b 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita @@ -14,6 +14,7 @@

+ virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita index 49a6c8036d0..2ffbe9912db 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita @@ -14,6 +14,7 @@

+ - (int)updateScreenCaptureRegion:(CGRect)rect; virtual int updateScreenCaptureRegion(const Rect* rect) = 0; abstract updateScreenCaptureRegion(regionRect: Rectangle): number; diff --git a/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita b/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita index 683efb01f75..1dbe3ebc4bc 100644 --- a/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita @@ -14,6 +14,7 @@

+ virtual int uploadLogFile(agora::util::AString& requestId) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita b/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita index 188c3d220d2..42648c83525 100644 --- a/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita @@ -15,6 +15,7 @@

public abstract int addPublishStreamUrlEx( String url, boolean transcodingEnabled, RtcConnection connection); + - (int)addPublishStreamUrlEx:(NSString * _Nonnull)url transcodingEnabled:(BOOL)transcodingEnabled connection:(AgoraRtcConnection * _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita b/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita index 83982f02f9b..7ccee72ab58 100644 --- a/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita @@ -15,6 +15,7 @@

public abstract int addVideoWatermarkEx( String watermarkUrl, WatermarkOptions options, RtcConnection connection); + - (int)addVideoWatermarkEx:(NSURL* _Nonnull)url options:(WatermarkOptions* _Nonnull)options connection:(AgoraRtcConnection * _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita b/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita index 90b966c8568..a1cbd3103e0 100644 --- a/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita @@ -14,6 +14,7 @@

public abstract int adjustRecordingSignalVolumeEx(int volume, RtcConnection connection); + - (int)adjustRecordingSignalVolumeEx:(NSInteger)volume connection:(AgoraRtcConnection* _Nonnull)connection; virtual int adjustRecordingSignalVolumeEx(int volume, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita b/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita index 0da430cb9f6..5faeac2db88 100644 --- a/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita @@ -15,6 +15,7 @@

public abstract int adjustUserPlaybackSignalVolumeEx( int uid, int volume, RtcConnection connection); + - (int)adjustUserPlaybackSignalVolumeEx:(NSUInteger)uid volume:(NSInteger)volume connection:(AgoraRtcConnection* _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita b/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita index 33d1fc738a2..7164b1c8b79 100644 --- a/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita @@ -14,6 +14,7 @@

public abstract int clearVideoWatermarkEx(RtcConnection connection); + - (int)clearVideoWatermarkEx:(AgoraRtcConnection * _Nonnull)connection; virtual int clearVideoWatermarkEx(const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita index d1ef4573ceb..2b9f845244a 100644 --- a/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita @@ -15,6 +15,7 @@

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

public abstract int createDataStreamEx(DataStreamConfig config, RtcConnection connection); + - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(createDataStreamEx(_:config:connection:)); diff --git a/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita b/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita index 60b34f1234c..69928a1d17b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita @@ -15,6 +15,7 @@

public abstract int enableAudioVolumeIndicationEx( int interval, int smooth, boolean reportVad, RtcConnection connection); + - (int)enableAudioVolumeIndicationEx:(NSInteger)interval smooth:(NSInteger)smooth reportVad:(BOOL)reportVad diff --git a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita index 4435a6731b7..49627c219c9 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita @@ -15,6 +15,7 @@

public abstract int enableContentInspectEx( boolean enabled, ContentInspectConfig config, RtcConnection connection); + - (int)enableContentInspectEx:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableContentInspectEx(_:config:connection:)); virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &config, const RtcConnection& connection) = 0; public abstract int EnableContentInspectEx(bool enabled, ContentInspectConfig config, RtcConnection connection); diff --git a/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita b/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita index 32f7e1faad1..1c097799733 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita @@ -15,6 +15,7 @@

public abstract int enableDualStreamModeEx( boolean enabled, SimulcastStreamConfig streamConfig, RtcConnection connection); + - (int)enableDualStreamModeEx:(BOOL)enabled streamConfig:(AgoraSimulcastStreamConfig*)streamConfig connection:(AgoraRtcConnection* _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita index 2ed5d4c13a1..2128f7e4a26 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita @@ -15,6 +15,7 @@

public abstract int enableEncryptionEx( boolean enabled, EncryptionConfig config, RtcConnection connection); + - (int)enableEncryptionEx:(bool)enabled encryptionConfig:(AgoraEncryptionConfig *_Nonnull)config connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableEncryptionEx(_:encryptionConfig:connection:)); virtual int enableEncryptionEx(const RtcConnection& connection, bool enabled, const EncryptionConfig& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita b/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita index 534193e7738..59636e50d0d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita @@ -14,6 +14,7 @@

+ - (int)enableLoopbackRecordingEx:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableLoopbackRecordingEx(_:deviceName:connection:)); diff --git a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index 4a87a50589d..d90e37b9fd0 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -14,6 +14,7 @@

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

public abstract RtcConnection.CONNECTION_STATE_TYPE getConnectionStateEx( RtcConnection connection); + - (AgoraConnectionState)getConnectionStateEx:(AgoraRtcConnection * _Nonnull)connection; virtual CONNECTION_STATE_TYPE getConnectionStateEx(const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita index 7fde57814d7..94429b251bc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita @@ -14,6 +14,7 @@

public abstract UserInfo getUserInfoByUid(int uid, String channelId, String localUserAccount); + - (int)getUserInfoWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId diff --git a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita index de24b47276e..f2af4e8714b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita @@ -14,6 +14,7 @@

public abstract UserInfo getUserInfoByUserAccount(String userAccount, String channelId, String localUserAccount); + - (int)getUserInfoWithUserAccount:(NSString * _Nonnull)userAccount userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId diff --git a/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita b/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita index f38f4a7c75b..1157b750417 100644 --- a/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita @@ -15,6 +15,7 @@

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

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

public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options); + - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita index c21645ab0c4..fe0a06124fb 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita @@ -14,6 +14,7 @@

public abstract int muteAllRemoteAudioStreamsEx(boolean muted, RtcConnection connection); + - (int)muteAllRemoteAudioStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteAudioStreamsEx(_:connection:)); virtual int muteAllRemoteAudioStreamsEx(bool mute, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita index db17fa33d5b..a32d9b34882 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita @@ -14,6 +14,7 @@

public abstract int muteAllRemoteVideoStreamsEx(boolean muted, RtcConnection connection); + - (int)muteAllRemoteVideoStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteVideoStreamsEx(_:connection:)); virtual int muteAllRemoteVideoStreamsEx(bool mute, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita index 7f31c3c6f69..eaf62ff6295 100644 --- a/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita @@ -14,6 +14,7 @@

public abstract int muteLocalAudioStreamEx(boolean muted, RtcConnection connection); + - (int)muteLocalAudioStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalAudioStreamEx(_:connection:)); virtual int muteLocalAudioStreamEx(bool mute, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita index f8f80233704..429079d802f 100644 --- a/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita @@ -14,6 +14,7 @@

public abstract int muteLocalVideoStreamEx(boolean muted, RtcConnection connection); + - (int)muteLocalVideoStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalVideoStreamEx(_:connection:)); virtual int muteLocalVideoStreamEx(bool mute, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita b/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita index 8b545292c38..00a81b0dcdc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita @@ -14,6 +14,7 @@

public abstract int muteRecordingSignalEx(boolean muted, RtcConnection connection); + - (int)muteRecordingSignalEx:(BOOL)mute connection:(AgoraRtcConnection* _Nonnull)connection; virtual int muteRecordingSignalEx(bool mute, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita index 672be97efa3..675a2a722eb 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita @@ -14,6 +14,7 @@

public abstract int muteRemoteAudioStreamEx(int uid, boolean muted, RtcConnection connection); + - (int)muteRemoteAudioStreamEx:(NSUInteger)uid mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita index 95b8c4f471e..37712235b98 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita @@ -14,6 +14,7 @@

public abstract int muteRemoteVideoStreamEx(int uid, boolean muted, RtcConnection connection); + - (int)muteRemoteVideoStreamEx:(NSUInteger)uid mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita index 1c41a5843b4..e7dc5b6fcbc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita @@ -14,6 +14,7 @@

public abstract int pauseAllChannelMediaRelayEx(RtcConnection connection); + - (int)pauseAllChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(pauseAllChannelMediaRelayEx(_:)); virtual int pauseAllChannelMediaRelayEx(const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita b/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita index 659022e6eb1..8afef197cc4 100644 --- a/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita @@ -14,6 +14,7 @@

+ - (int)pushExternalAudioFrameExNSData:(NSData * _Nonnull)data sourceId:(NSInteger)sourceId timestamp:(NSTimeInterval)timestamp; diff --git a/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita b/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita index 389809c71b8..bd66f8894f3 100644 --- a/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita @@ -15,6 +15,7 @@

public abstract int pushExternalEncodedVideoFrameEx( ByteBuffer data, EncodedVideoFrameInfo frameInfo, int videoTrackId); + virtual int pushEncodedVideoImage(const uint8_t* imageBuffer, size_t length, const agora::rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo, diff --git a/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita index e69629a826a..aaa35ff6496 100644 --- a/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita @@ -14,6 +14,7 @@

public abstract int resumeAllChannelMediaRelayEx(RtcConnection connection); + - (int)resumeAllChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(resumeAllChannelMediaRelayEx(_:)); virtual int resumeAllChannelMediaRelayEx(const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita b/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita index 06317496e71..0b80084d3dc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita @@ -15,6 +15,7 @@

public abstract int sendCustomReportMessageEx( String id, String category, String event, String label, int value, RtcConnection connection); + - (int)sendCustomReportMessageEx:(NSString * _Nullable)messageId category:(NSString * _Nullable)category event:(NSString * _Nullable)event diff --git a/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita b/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita index 5ef34031d9e..5615ca73341 100644 --- a/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita @@ -14,6 +14,7 @@

public abstract int sendStreamMessageEx(int streamId, byte[] message, RtcConnection connection); + virtual int sendStreamMessageEx(int streamId, const char* data, size_t length, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita index 499272643a9..30fa81f7cc5 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita @@ -15,6 +15,7 @@

public abstract int setDualStreamModeEx(Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig, RtcConnection connection); + - (int)setDualStreamModeEx:(AgoraSimulcastStreamMode)mode streamConfig:(AgoraSimulcastStreamConfig*)streamConfig connection:(AgoraRtcConnection* _Nonnull)connection; diff --git a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita index bc804ce70ef..0ec54ad4341 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita @@ -15,6 +15,7 @@

public abstract int setRemoteRenderModeEx( int uid, int renderMode, int mirrorMode, RtcConnection connection); + - (int)setRemoteRenderModeEx:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 21ad36f385e..0c4012e072b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -14,7 +14,8 @@

public abstract int setRemoteVideoStreamTypeEx(int uid, int streamType, RtcConnection connection); - - (int)setRemoteVideoStreamEx:(NSUInteger)uid + + - (int)setRemoteVideoStreamEx:(NSUInteger)uid type:(AgoraVideoStreamType)streamType connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoStreamEx(_:type:connection:)); virtual int setRemoteVideoStreamTypeEx(uid_t uid, VIDEO_STREAM_TYPE streamType, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita index 61882428f3d..deca9f523f5 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita @@ -15,6 +15,7 @@

public abstract int setRemoteVideoSubscriptionOptionsEx( int uid, VideoSubscriptionOptions options, RtcConnection rtcConnection); + - (int)setRemoteVideoSubscriptionOptionsEx:(NSUInteger)uid options:(AgoraVideoSubscriptionOptions* _Nonnull)options connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoSubscriptionOptionsEx(_:options:connection:)); diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita index 8a06dcd4485..31296180c23 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita @@ -15,6 +15,7 @@

public abstract int setRemoteVoice3DPositionEx( int uid, double azimuth, double elevation, double distance, RtcConnection connection); + - (int)setRemoteVoice3DPositionEx:(NSUInteger)uid azimuth:(double)azimuth elevation:(double)elevation diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita index 87448cf01d2..c2fc60d8e0a 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita @@ -15,6 +15,7 @@

public abstract int setRemoteVoicePositionEx( int uid, double pan, double gain, RtcConnection connection); + - (int)setRemoteVoicePosition:(NSUInteger)uid pan:(double)pan gain:(double)gain diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita index 51d2fe0b100..97d37dd7d4e 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeAudioAllowlistEx(int[] uidList, RtcConnection connection); + - (int)setSubscribeAudioAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeAudioAllowlistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita index c8a8c875906..819710659cf 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeAudioBlocklistEx(int[] uidList, RtcConnection connection); + - (int)setSubscribeAudioBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeAudioBlocklistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita index 4aef44bf325..01ec7ed0eac 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeVideoAllowlistEx(int[] uidList, RtcConnection connection); + - (int)setSubscribeVideoAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeVideoAllowlistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita index 6d57ecb07fb..99563a02121 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita @@ -14,6 +14,7 @@

public abstract int setSubscribeVideoBlocklistEx(int[] uidList, RtcConnection connection); + - (int)setSubscribeVideoBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setSubscribeVideoBlocklistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita b/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita index 40980f2bc12..7d9ae1f033b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita @@ -14,6 +14,7 @@

public abstract int setupRemoteVideoEx(VideoCanvas remote, RtcConnection connection); + - (int)setupRemoteVideoEx:(AgoraRtcVideoCanvas* _Nonnull)remote connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setupRemoteVideoEx(const VideoCanvas& canvas, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita b/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita index 09bf693382d..104db0c8135 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita @@ -15,6 +15,7 @@

public abstract int setVideoEncoderConfigurationEx( VideoEncoderConfiguration config, RtcConnection connection); + - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration& config, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita index ea1e9c009ec..7d4cef163a9 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita @@ -15,6 +15,7 @@

public abstract int startChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection); + - (int)startChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startChannelMediaRelayEx(_:connection:)); virtual int startChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita b/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita index f0f821fad6b..b6eed446454 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita @@ -14,6 +14,7 @@

public abstract int startMediaRenderingTracingEx(RtcConnection connection); + - (int)startMediaRenderingTracingEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startMediaRenderingTracingEx(_:)); virtual int startMediaRenderingTracingEx(const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita index 7669bbd4b89..d6ff64de322 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita @@ -15,6 +15,7 @@

public abstract int startOrUpdateChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection); + - (int)startOrUpdateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startOrUpdateChannelMediaRelayEx(_:connection:)); virtual int startOrUpdateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita index 437b38099fd..a11b41e6b46 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita @@ -14,6 +14,7 @@

public abstract int startRtmpStreamWithoutTranscodingEx(String url, RtcConnection connection); + - (int)startRtmpStreamWithoutTranscodingEx:(NSString* _Nonnull)url connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithoutTranscodingEx(_:connection:)); virtual int startRtmpStreamWithoutTranscodingEx(const char* url, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita index 951074d4797..d7545d792b0 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita @@ -15,6 +15,7 @@

public abstract int startRtmpStreamWithTranscodingEx( String url, LiveTranscoding transcoding, RtcConnection connection); + - (int)startRtmpStreamWithTranscodingEx:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithTranscodingEx(_:transcoding:connection:)); diff --git a/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita index 7a9e49d1991..5d3c1d61be4 100644 --- a/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita @@ -14,6 +14,7 @@

public abstract int stopChannelMediaRelayEx(RtcConnection connection); + - (int)stopChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopChannelMediaRelayEx(_:)); virtual int stopChannelMediaRelayEx(const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita b/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita index 02f378b5470..b725c05a291 100644 --- a/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita @@ -14,6 +14,7 @@

public abstract int stopRtmpStreamEx(String url, RtcConnection connection); + - (int)stopRtmpStreamEx:(NSString* _Nonnull)url connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopRtmpStreamEx(_:connection:)); virtual int stopRtmpStreamEx(const char* url, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita b/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita index ec761af5122..ed48b5fb8c4 100644 --- a/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita @@ -14,6 +14,7 @@

public abstract int takeSnapshotEx(RtcConnection connection, int uid, String filePath); + - (NSInteger)takeSnapshotEx:(AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid filePath:(NSString* _Nonnull)filePath; virtual int takeSnapshotEx(const RtcConnection& connection, uid_t uid, const char* filePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita index 50833f02b8a..87086cb94bd 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita @@ -15,6 +15,7 @@

public abstract int updateChannelMediaOptionsEx( ChannelMediaOptions options, RtcConnection connection); + - (int)updateChannelExWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions connection:(AgoraRtcConnection * _Nonnull)connection; virtual int updateChannelMediaOptionsEx(const ChannelMediaOptions& options, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita index 64ee8aa2b09..830cc6ba7ff 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita @@ -15,6 +15,7 @@

public abstract int updateChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection); + - (int)updateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateChannelMediaRelayEx(_:connection:)); virtual int updateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita index 4b303ffe09c..6bba334c8d8 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita @@ -15,6 +15,7 @@

public abstract int updateRtmpTranscodingEx( LiveTranscoding transcoding, RtcConnection connection); + - (int)updateRtmpTranscodingEx:(AgoraLiveTranscoding* _Nullable)transcoding connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateRtmpTranscodingEx(_:connection:)); virtual int updateRtmpTranscodingEx(const LiveTranscoding& transcoding, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita b/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita index a788b4c50d3..b5e8f2a6509 100644 --- a/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita +++ b/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita @@ -14,6 +14,7 @@

+ virtual unsigned int getCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") diff --git a/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita b/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita index af09ab01b51..4902d3ee26d 100644 --- a/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita +++ b/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita @@ -14,6 +14,7 @@

+ virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") diff --git a/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita b/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita index 6d7a031e794..53e5c5f83e4 100644 --- a/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita +++ b/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita @@ -14,6 +14,7 @@

+ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita b/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita index 593abcbc1d6..1f08ab2e1e2 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita @@ -14,6 +14,7 @@

+ virtual int getCount() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita b/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita index 86bdc5c7d33..cac3d40d130 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita @@ -14,6 +14,7 @@

+ virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_release.dita b/dita/RTC-NG/API/api_ivideodevicecollection_release.dita index a12325532c8..a624ce5b44a 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_release.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_release.dita @@ -14,6 +14,7 @@

+ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") diff --git a/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita b/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita index a64e92c8d62..34d757f36a5 100644 --- a/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita @@ -14,6 +14,7 @@

+ - (int)setDevice:(AgoraMediaDeviceType)type deviceId:(NSString * _Nonnull)deviceId; virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita b/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita index e99234f60d6..757e375de90 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita @@ -14,6 +14,7 @@

+ virtual IVideoDeviceCollection* enumerateVideoDevices() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita b/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita index 14584cd1790..428ac621d02 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita @@ -14,6 +14,7 @@

+ virtual int getCapability(const char* deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat& capability) = 0; diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita b/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita index 471f13a606d..93649e08678 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita @@ -14,6 +14,7 @@

+ virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita b/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita index bd581c8853a..261931205c8 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita @@ -14,6 +14,7 @@

+ virtual int numberOfCapabilities(const char* deviceIdUTF8) = 0; diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_release.dita b/dita/RTC-NG/API/api_ivideodevicemanager_release.dita index 5d66767ecb6..e16bdce56ef 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_release.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_release.dita @@ -14,6 +14,7 @@

+ virtual void release() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita b/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita index e024df84496..f1a16c22833 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita @@ -14,6 +14,7 @@

+ virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita b/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita index 86c5f83682d..32c34bd23d3 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita @@ -14,6 +14,7 @@

+ virtual int startDeviceTest(view_t hwnd) = 0; abstract startDeviceTest(hwnd: any): number; diff --git a/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita b/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita index 98fb64b4579..6a58d1f2e00 100644 --- a/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita +++ b/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita @@ -14,6 +14,7 @@

+ virtual int stopDeviceTest() = 0; abstract stopDeviceTest(): number; diff --git a/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita b/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita index 424efb27a0a..c7c3c6f5fab 100644 --- a/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita +++ b/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita b/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita index 3a209911bbe..6e218199f56 100644 --- a/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita +++ b/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita b/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita index dd664f9ab4c..26ab5a3a065 100644 --- a/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita +++ b/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita @@ -19,6 +19,7 @@ } backgroundImageList.add(backgroundImage); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_adduser.dita b/dita/RTC-NG/API/api_livetranscoding_adduser.dita index 6e7f9657c76..95885a882ed 100644 --- a/dita/RTC-NG/API/api_livetranscoding_adduser.dita +++ b/dita/RTC-NG/API/api_livetranscoding_adduser.dita @@ -17,6 +17,7 @@ if (user == null || user.uid == 0) { return -Constants.ERR_INVALID_ARGUMENT; } + - (int)addUser:(AgoraLiveTranscodingUser* _Nonnull)user; diff --git a/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita b/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita index 653fedf2bff..6641c7f6e13 100644 --- a/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita +++ b/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita @@ -19,6 +19,7 @@ } watermarkList.add(watermark); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita b/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita index f8c433aeef8..04eb967fe8c 100644 --- a/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita +++ b/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita @@ -14,6 +14,7 @@

+ + (AgoraLiveTranscoding* _Nonnull)defaultTranscoding; diff --git a/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita b/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita index ad59bbea87d..d3a630a6ff8 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita @@ -16,6 +16,7 @@ public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; } + - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; diff --git a/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita b/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita index 841a8d0d3be..1ede87e9ba9 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita @@ -16,6 +16,7 @@ public int getBackgroundColor() { return this.backgroundColor; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita b/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita index c89a98782be..a6f56afed54 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita @@ -16,6 +16,7 @@ public ArrayList<AgoraImage> getBackgroundImageList() { return backgroundImageList; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getblue.dita b/dita/RTC-NG/API/api_livetranscoding_getblue.dita index 8da60ff3b3a..bb571bfb286 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getblue.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getblue.dita @@ -17,6 +17,7 @@ public int getBlue() { return backgroundColor & 0x0ff; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getgreen.dita b/dita/RTC-NG/API/api_livetranscoding_getgreen.dita index d10ae421b33..e611a94430e 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getgreen.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getgreen.dita @@ -17,6 +17,7 @@ public int getGreen() { return (backgroundColor >> 8) & 0x0ff; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getred.dita b/dita/RTC-NG/API/api_livetranscoding_getred.dita index b7502172f36..77f14a2516d 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getred.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getred.dita @@ -17,6 +17,7 @@ public int getRed() { return (backgroundColor >> 16) & 0x0ff; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getusercount.dita b/dita/RTC-NG/API/api_livetranscoding_getusercount.dita index 0b7c320ad36..2caa87acd02 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getusercount.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getusercount.dita @@ -16,6 +16,7 @@ public int getUserCount() { return transcodingUsers.size(); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getusers.dita b/dita/RTC-NG/API/api_livetranscoding_getusers.dita index d1d0fe50747..d7e9c12fdc8 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getusers.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getusers.dita @@ -17,6 +17,7 @@ Collection<TranscodingUser> values = transcodingUsers.values(); return new ArrayList<>(values); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita b/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita index 4cb8082c9b8..92dccb3b0ff 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita @@ -16,6 +16,7 @@ public ArrayList<AgoraImage> getWatermarkList() { return watermarkList; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita b/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita index afc2d1b0912..61092bb6853 100644 --- a/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita +++ b/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita @@ -19,6 +19,7 @@ } return backgroundImageList.remove(backgroundImage); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_removeuser.dita b/dita/RTC-NG/API/api_livetranscoding_removeuser.dita index 5736afddf99..f0d20173232 100644 --- a/dita/RTC-NG/API/api_livetranscoding_removeuser.dita +++ b/dita/RTC-NG/API/api_livetranscoding_removeuser.dita @@ -21,6 +21,7 @@ userCount = transcodingUsers.size(); return Constants.ERR_OK; } + - (int)removeUser:(NSUInteger)uid; diff --git a/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita b/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita index c1f2f816409..2ddd82b1aba 100644 --- a/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita +++ b/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita @@ -19,6 +19,7 @@ } return watermarkList.remove(watermark); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita b/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita index 3531f49bc97..087f444795c 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita @@ -16,6 +16,7 @@ public void setAdvancedFeatures(String featureName, Boolean opened) { advancedFeatures.put(featureName, opened); } + - (void)setAdvancedFeatures:(NSString* _Nonnull)featureName opened:(BOOL)opened; diff --git a/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita b/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita index 821118c669b..da5d009432c 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita @@ -16,6 +16,7 @@ public void setBackgroundColor(int color) { this.backgroundColor = color; } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita b/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita index 98138522ec5..3fe63e91b06 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita @@ -16,6 +16,7 @@ public void setBackgroundColor(int red, int green, int blue) { this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setblue.dita b/dita/RTC-NG/API/api_livetranscoding_setblue.dita index 6a558e204df..f303aecd370 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setblue.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setblue.dita @@ -19,6 +19,7 @@ public void setBlue(int blue) { int green = getGreen(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setgreen.dita b/dita/RTC-NG/API/api_livetranscoding_setgreen.dita index de93a33edba..b0e65645e33 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setgreen.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setgreen.dita @@ -19,6 +19,7 @@ public void setGreen(int green) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setred.dita b/dita/RTC-NG/API/api_livetranscoding_setred.dita index cfc3cfcbd3d..a3d6bb1554c 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setred.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setred.dita @@ -19,6 +19,7 @@ public void setRed(int red) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setusers.dita b/dita/RTC-NG/API/api_livetranscoding_setusers.dita index b4376a9bba7..ddd67bd2313 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setusers.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setusers.dita @@ -22,6 +22,7 @@ } userCount = transcodingUsers.size(); } + diff --git a/dita/RTC-NG/API/api_livetranscoding_setusers2.dita b/dita/RTC-NG/API/api_livetranscoding_setusers2.dita index 6a2d0cf24b8..40601b5fbda 100644 --- a/dita/RTC-NG/API/api_livetranscoding_setusers2.dita +++ b/dita/RTC-NG/API/api_livetranscoding_setusers2.dita @@ -21,6 +21,7 @@ userCount = transcodingUsers.size(); } + diff --git a/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita b/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita index 6259a4f0614..e3a92c29727 100644 --- a/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita +++ b/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_monitordevicechange.dita b/dita/RTC-NG/API/api_monitordevicechange.dita index ee70bb26935..5ce6b174bc6 100644 --- a/dita/RTC-NG/API/api_monitordevicechange.dita +++ b/dita/RTC-NG/API/api_monitordevicechange.dita @@ -14,6 +14,7 @@

+ - (void)monitorDeviceChange:(BOOL)enabled; virtual int enableLoopbackRecording(bool enabled) = 0; diff --git a/dita/RTC-NG/API/api_musicchartcollection_get.dita b/dita/RTC-NG/API/api_musicchartcollection_get.dita index 8370c3599d0..06b40b10865 100644 --- a/dita/RTC-NG/API/api_musicchartcollection_get.dita +++ b/dita/RTC-NG/API/api_musicchartcollection_get.dita @@ -14,6 +14,7 @@

+ virtual MusicChartInfo* get(int index) = 0; abstract get(index: number): MusicChartInfo; diff --git a/dita/RTC-NG/API/api_musicchartcollection_getcount.dita b/dita/RTC-NG/API/api_musicchartcollection_getcount.dita index 0ca0004dfd5..3b58ceabec4 100644 --- a/dita/RTC-NG/API/api_musicchartcollection_getcount.dita +++ b/dita/RTC-NG/API/api_musicchartcollection_getcount.dita @@ -14,6 +14,7 @@

+ virtual int getCount() = 0; abstract getCount(): number; diff --git a/dita/RTC-NG/API/api_musiccollection_getcount.dita b/dita/RTC-NG/API/api_musiccollection_getcount.dita index 8f57981eb8f..0a07ced3f4f 100644 --- a/dita/RTC-NG/API/api_musiccollection_getcount.dita +++ b/dita/RTC-NG/API/api_musiccollection_getcount.dita @@ -14,6 +14,7 @@

+ virtual int getCount() = 0; abstract getCount(): number; diff --git a/dita/RTC-NG/API/api_musiccollection_getmusic.dita b/dita/RTC-NG/API/api_musiccollection_getmusic.dita index ea3d690debe..50dffd5d46e 100644 --- a/dita/RTC-NG/API/api_musiccollection_getmusic.dita +++ b/dita/RTC-NG/API/api_musiccollection_getmusic.dita @@ -14,6 +14,7 @@

+ virtual Music* getMusic(int32_t index) = 0; abstract getMusic(index: number): Music; diff --git a/dita/RTC-NG/API/api_musiccollection_getpage.dita b/dita/RTC-NG/API/api_musiccollection_getpage.dita index 2d779213d2d..87b617d1456 100644 --- a/dita/RTC-NG/API/api_musiccollection_getpage.dita +++ b/dita/RTC-NG/API/api_musiccollection_getpage.dita @@ -14,6 +14,7 @@

+ virtual int getPage() = 0; abstract getPage(): number; diff --git a/dita/RTC-NG/API/api_musiccollection_getpagesize.dita b/dita/RTC-NG/API/api_musiccollection_getpagesize.dita index 4e0ef3d876c..177dddf45eb 100644 --- a/dita/RTC-NG/API/api_musiccollection_getpagesize.dita +++ b/dita/RTC-NG/API/api_musiccollection_getpagesize.dita @@ -14,6 +14,7 @@

+ virtual int getPageSize() = 0; virtual int getPageSize() = 0; diff --git a/dita/RTC-NG/API/api_musiccollection_gettotal.dita b/dita/RTC-NG/API/api_musiccollection_gettotal.dita index 5958958630d..2d1be27133b 100644 --- a/dita/RTC-NG/API/api_musiccollection_gettotal.dita +++ b/dita/RTC-NG/API/api_musiccollection_gettotal.dita @@ -14,6 +14,7 @@

+ virtual int getTotal() = 0; abstract getTotal(): number; diff --git a/dita/RTC-NG/API/api_registereventhandler.dita b/dita/RTC-NG/API/api_registereventhandler.dita index d50a019a81f..a8ec6e23821 100644 --- a/dita/RTC-NG/API/api_registereventhandler.dita +++ b/dita/RTC-NG/API/api_registereventhandler.dita @@ -13,6 +13,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita b/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita index 734cb52b99c..1738a9cb09f 100644 --- a/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita +++ b/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita b/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita index 9157b427a6e..2889e7f78c9 100644 --- a/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita +++ b/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_local_view_textureview.dita b/dita/RTC-NG/API/api_rtc_local_view_textureview.dita index 3ea3cf149d7..63f5d2c1af3 100644 --- a/dita/RTC-NG/API/api_rtc_local_view_textureview.dita +++ b/dita/RTC-NG/API/api_rtc_local_view_textureview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita b/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita index 041e3fa04ed..908938b5ddd 100644 --- a/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita +++ b/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita b/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita index f3614b62d03..9c8ae1da6c4 100644 --- a/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita +++ b/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_remote_view_textureview.dita b/dita/RTC-NG/API/api_rtc_remote_view_textureview.dita index 318e9be3835..f257fc9dea2 100644 --- a/dita/RTC-NG/API/api_rtc_remote_view_textureview.dita +++ b/dita/RTC-NG/API/api_rtc_remote_view_textureview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita b/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita index 9e266673ea7..66b00a3e1aa 100644 --- a/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita +++ b/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita b/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita index e1dfba4e0b1..0a326d297e8 100644 --- a/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita +++ b/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita b/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita index 9d4fd4ff461..766279c60f1 100644 --- a/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita +++ b/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_videosurface_enablefilptextureapply.dita b/dita/RTC-NG/API/api_videosurface_enablefilptextureapply.dita index 07b98a900c5..6ed4e6fa914 100644 --- a/dita/RTC-NG/API/api_videosurface_enablefilptextureapply.dita +++ b/dita/RTC-NG/API/api_videosurface_enablefilptextureapply.dita @@ -15,6 +15,7 @@

+ diff --git a/dita/RTC-NG/API/api_videosurface_setenable.dita b/dita/RTC-NG/API/api_videosurface_setenable.dita index 7e8dd2020b8..aff00cf98a5 100644 --- a/dita/RTC-NG/API/api_videosurface_setenable.dita +++ b/dita/RTC-NG/API/api_videosurface_setenable.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/api_videosurface_setforuser.dita b/dita/RTC-NG/API/api_videosurface_setforuser.dita index ec2dd8804d4..a077b2cc8e0 100644 --- a/dita/RTC-NG/API/api_videosurface_setforuser.dita +++ b/dita/RTC-NG/API/api_videosurface_setforuser.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita index 2f18cc25b4d..5b080c1d3b1 100644 --- a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita +++ b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_agorartcmediaplayergetvideopixelformat.dita @@ -14,6 +14,7 @@

+ - (AgoraVideoFormat)AgoraRtcMediaPlayerGetVideoPixelFormat NS_SWIFT_NAME(AgoraRtcMediaPlayerGetVideoPixelFormat()); diff --git a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita index 37689c05b01..8497616dd7f 100644 --- a/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita +++ b/dita/RTC-NG/API/callback_agorartcmediaplayervideoframedelegate_didreceivepixelbuffer.dita @@ -14,6 +14,7 @@

+ - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceivePixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceivePixelBuffer:)); diff --git a/dita/RTC-NG/API/callback_airplayconnected.dita b/dita/RTC-NG/API/callback_airplayconnected.dita index 81bc6e77fed..907dfeb2535 100644 --- a/dita/RTC-NG/API/callback_airplayconnected.dita +++ b/dita/RTC-NG/API/callback_airplayconnected.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita index fe139df712f..93a62bca4fb 100644 --- a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita +++ b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita @@ -15,6 +15,7 @@

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; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnMixedAudioEncodedFrame, const TArray<int64>, frameBuffer, int, length, const FEncodedAudioFrameInfo&, audioEncodedFrameInfo); diff --git a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita index a1ade2e5ef7..0a3e4743783 100644 --- a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita +++ b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita @@ -16,6 +16,7 @@ public abstract void onPlaybackAudioEncodedFrame( 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; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioEncodedFrame, const TArray<int64>, frameBuffer, int, length, const FEncodedAudioFrameInfo&, audioEncodedFrameInfo); diff --git a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita index 763f1d69d13..b31955b8fd1 100644 --- a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita +++ b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita @@ -16,6 +16,7 @@ public abstract void onRecordAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); + - (void)onRecordEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; virtual void onRecordAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita index 8b67a6a0894..0060050b01d 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita @@ -14,6 +14,7 @@

+ virtual bool isMultipleChannelFrameWanted() { return false; } diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index a3e5aeb8c30..e9743f9a1db 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -16,6 +16,7 @@ public abstract boolean onPlaybackAudioFrameBeforeMixing(int userId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + - (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(onPlaybackAudioFrame(beforeMixing:channelId:uid:)); virtual bool onPlaybackAudioFrameBeforeMixing(const char* channelId, rtc::uid_t uid, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioFrameBeforeMixing, const FString, channelId, int64, uid, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita index 67343866080..9fd92d5c195 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita index 1d70a323083..fd322085194 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita @@ -14,6 +14,7 @@

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

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

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

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

public abstract AudioParams getRecordAudioParams(); + - (AgoraAudioParams* _Nonnull)getRecordAudioParams NS_SWIFT_NAME(getRecordAudioParams()); virtual AudioParams getRecordAudioParams() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRecordAudioParams); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita index 0a5034f0d45..c70010c243f 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita @@ -17,6 +17,7 @@ int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + - (BOOL)onEarMonitoringAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index 316a2cd2d34..ddb0ac95d84 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -16,6 +16,7 @@ public abstract boolean onMixedAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + - (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onMixedAudioFrame(_:channelId:)); virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnMixedAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita index d3df0c4d37b..6d70c675d02 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita @@ -16,6 +16,7 @@ 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(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlaybackAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita index f6f0a8b7bfa..c1c546e0f8f 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita @@ -16,6 +16,7 @@ public abstract boolean onRecordAudioFrame(String channelId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + - (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onRecordAudioFrame(_:channelId:)); virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRecordAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita b/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita index 1f6f03fc7bc..238afe65bce 100644 --- a/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita +++ b/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita @@ -14,6 +14,7 @@

AudioFrame onFrame(AudioFrame frame); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveAudioFrame:)); virtual void onFrame(agora::media::base::AudioPcmFrame* frame) = 0; diff --git a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita index dd01479b546..2a19c34ead0 100644 --- a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita +++ b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita @@ -15,6 +15,7 @@

boolean onLocalAudioSpectrum(AudioSpectrumInfo data); + - (BOOL)onLocalAudioSpectrum:(NSArray<NSNumber *> * _Nullable)audioSpectrumData; virtual bool onLocalAudioSpectrum(const AudioSpectrumData& data) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnLocalAudioSpectrum, const FAudioSpectrumData&, data); diff --git a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita index 9d1c5847362..64dcd79b800 100644 --- a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita +++ b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita @@ -15,6 +15,7 @@

boolean onRemoteAudioSpectrum(UserAudioSpectrumInfo[] userAudioSpectrumInfos, int spectrumNumber); + - (BOOL)onRemoteAudioSpectrum:(NSArray<AgoraAudioSpectrumInfo *> * _Nullable)AudioSpectrumInfo; virtual bool onRemoteAudioSpectrum(const UserAudioSpectrumInfo * spectrums, unsigned int spectrumNumber) = 0; diff --git a/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita b/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita index c5243e17da6..59312833c48 100644 --- a/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita +++ b/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita @@ -15,6 +15,7 @@

void onDirectCdnStreamingStateChanged( DirectCdnStreamingState state, DirectCdnStreamingReason reason, String message); + - (void)onDirectCdnStreamingStateChanged:(AgoraDirectCdnStreamingState)state reason:(AgoraDirectCdnStreamingReason)reason message:(NSString *_Nullable)message NS_SWIFT_NAME(onDirectCdnStreamingStateChanged(_:reason:message:)); diff --git a/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita b/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita index 9aee6c4c9ac..a682c55cc1a 100644 --- a/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita +++ b/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita @@ -14,6 +14,7 @@

void onDirectCdnStreamingStats(DirectCdnStreamingStats stats); + - (void)onDirectCdnStreamingStats:(AgoraDirectCdnStreamStats *_Nonnull)stats; virtual void onDirectCdnStreamingStats(const DirectCdnStreamStats& stats) { (void)stats; diff --git a/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita b/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita index 3590c6aa2b0..520bbe9d46a 100644 --- a/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita +++ b/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita @@ -14,6 +14,7 @@

boolean onFaceInfo(String outFaceInfo); + - (BOOL)onFaceInfo:(NSString* _Nonnull)outFaceInfo NS_SWIFT_NAME(onFaceInfo(_:)); virtual bool onFaceInfo(const char* outFaceInfo) = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita b/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita index 7cec9f9d234..13325e02ab2 100644 --- a/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita +++ b/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita @@ -14,6 +14,7 @@

+ onFrame?(frame: AudioPcmFrame): void; diff --git a/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita b/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita index b228090cf62..b33fe0de02c 100644 --- a/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita +++ b/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita @@ -15,6 +15,7 @@

int onReadData(ByteBuffer buffer, int bufferSize); + typedef int(^AgoraRtcMediaPlayerCustomSourceOnReadCallback)(id<AgoraRtcMediaPlayerProtocol> _Nonnull playerKit, unsigned char * _Nullable buffer, int bufferSize); virtual int onReadData(unsigned char *buffer, int bufferSize) = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita b/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita index 7eb0949c9cf..59f0aaade16 100644 --- a/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita +++ b/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita @@ -15,6 +15,7 @@

long onSeek(long offset, int whence); + typedef long long(^AgoraRtcMediaPlayerCustomSourceOnSeekCallback)(id<AgoraRtcMediaPlayerProtocol> _Nonnull playerKit, long long offset, int whence); virtual int64_t onSeek(int64_t offset, int whence) = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita index a69d3656a27..36b33df2ffd 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita @@ -15,6 +15,7 @@

void onAgoraCDNTokenWillExpire(); + - (void)onAgoraCDNTokenWillExpire; virtual void onAgoraCDNTokenWillExpire() = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita index 73acfa66f36..180828767d1 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita @@ -14,6 +14,7 @@

void onAudioVolumeIndication(int volume); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit volumeIndicationDidReceive:(NSInteger)volume; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita index a9a54f13b72..6758272796b 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita @@ -15,6 +15,7 @@

void onCompleted(); + virtual void onCompleted() = 0; onCompleted?(): void; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita index 746dd1ac952..ac17eaa833e 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita @@ -15,6 +15,7 @@

void onMetaData(Constants.MediaPlayerMetadataType type, byte[] data); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveData:(NSString *_Nullable)data length:(NSInteger)length; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita index eef88553549..9881a8528d8 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita @@ -15,6 +15,7 @@

void onPlayBufferUpdated(long playCachedBuffer); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didPlayBufferUpdated:(NSInteger)playCachedBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didPlayBufferUpdated:)); virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita index ed7995277d9..715614747a3 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita @@ -14,6 +14,7 @@

void onPlayerCacheStats(CacheStatistics stats); + (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit cacheStats:(AgoraMediaPlayerCacheStatistics *_Nonnull)info NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:cacheStats:)); virtual void onPlayerCacheStats(const media::base::CacheStatistics& stats) { (void)stats; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita index 158f08642be..236bcb188d7 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita @@ -15,6 +15,7 @@

void onPlayerEvent(Constants.MediaPlayerEvent eventCode, long elapsedTime, String message); + (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didOccurEvent:(AgoraMediaPlayerEvent)eventCode elapsedTime:(NSInteger)elapsedTime diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita index 5b38ec29307..af260db1115 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita @@ -15,6 +15,7 @@

void onPlayerInfoUpdated(PlayerUpdatedInfo info); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit infoUpdated:(AgoraMediaPlayerUpdatedInfo *_Nonnull)info; virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita index f7f7eac33d7..441abfe434c 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita @@ -14,6 +14,7 @@

void onPlayerPlaybackStats(PlayerPlaybackStats stats); + (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playbackStats:(AgoraMediaPlayerPlaybackStats *_Nonnull)info NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:playbackStats:)); virtual void onPlayerPlaybackStats(const media::base::PlayerPlaybackStats& stats) { (void)stats; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita index c1b5fc79add..2303078c688 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita @@ -15,6 +15,7 @@

void onPlayerStateChanged(Constants.MediaPlayerState state, Constants.MediaPlayerReason reason); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didChangedToState:(AgoraMediaPlayerState)state reason:(AgoraMediaPlayerReason)reason NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didChangedTo:reason:)); diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita index 5170ae25056..127cbed8e7f 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita @@ -15,6 +15,7 @@

void onPlayerSrcInfoChanged(SrcInfo from, SrcInfo to); + - (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; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita index 2fd8291edaf..4dab43866db 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita @@ -14,6 +14,7 @@

void onPositionChanged(long positionMs, long timestampMs); + - (void)AgoraMediaPlayer:(AgoraMediaPlayer *_Nonnull)playerKit didChangedToPosition:(NSInteger)positionMs atTimestamp:(NSTimeInterval)timestampMs NS_SWIFT_NAME(AgoraMediaPlayer(_:didChangedToPosition:atTimestamp:)); diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita index bedd8938378..c6eb44e2d34 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita @@ -15,6 +15,7 @@

void onPreloadEvent(String src, Constants.MediaPlayerPreloadEvent event); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didPreloadEvent:(AgoraMediaPlayerPreloadEvent)event; diff --git a/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita b/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita index f929ee6ecfe..af6f9ab16ec 100644 --- a/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita +++ b/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita @@ -14,6 +14,7 @@

+ onFrame?(frame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita index 15750de96ad..745b37edde8 100644 --- a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita +++ b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita @@ -14,6 +14,7 @@

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

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

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

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

public abstract byte[] onReadyToSendMetadata(long timeStampMs, int sourceType); + - (NSData * _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp sourceType:(AgoraVideoSourceType)sourceType; virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0; diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita index 05d955b9da2..5402dea8617 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita @@ -14,6 +14,7 @@

void onLyricResult(String requestId, long songCode, String lyricUrl, int reason); + - (void)onLyricResult:(NSString*)requestId songCode:(NSInteger)songCode lyricUrl:(NSString* _Nullable)lyricUrl reason:(AgoraMusicContentCenterStateReason)reason; virtual void onLyricResult(const char* requestId, int64_t songCode, const char* lyricUrl, MusicContentCenterStateReason reason) = 0; onLyricResult?( diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita index 6e03818e45e..498af95cda3 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita @@ -14,6 +14,7 @@

void onMusicChartsResult(String requestId, MusicChartInfo[] list, int reason); + - (void)onMusicChartsResult:(NSString *)requestId result:(NSArray<AgoraMusicChartInfo*> *)result reason:(AgoraMusicContentCenterStateReason)reason; virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStateReason reason) = 0; onMusicChartsResult?( diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita index ac2c3e068c5..31b36af0689 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita @@ -15,6 +15,7 @@

void onMusicCollectionResult( String requestId, int page, int pageSize, int total, Music[] list, int reason); + - (void)onMusicCollectionResult:(NSString *)requestId result:(AgoraMusicCollection *)result reason:(AgoraMusicContentCenterStateReason)reason; virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStateReason reason) = 0; onMusicCollectionResult?( diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita index 61b2cb02226..fc316d7a404 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita @@ -15,6 +15,7 @@

void onPreLoadEvent( String requestId, long songCode, int percent, String lyricUrl, int state, int reason); + - (void)onPreLoadEvent:(NSString*)requestId songCode:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl state:(AgoraMusicContentCenterPreloadState)state reason:(AgoraMusicContentCenterStateReason)reason; virtual void onPreLoadEvent(const char* requestId, int64_t songCode, int percent, const char* lyricUrl, PreloadState state, MusicContentCenterStateReason reason) = 0; onPreLoadEvent?( diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita index a4c32b0d77c..a72ba0e102c 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita @@ -14,6 +14,7 @@

void onSongSimpleInfoResult(String requestId, long songCode, String simpleInfo, int reason); + - (void)onSongSimpleInfoResult:(NSString*)requestId songCode:(NSInteger)songCode simpleInfo:(NSString* _Nullable)simpleInfo reason:(AgoraMusicContentCenterStateReason)reason; virtual void onSongSimpleInfoResult(const char* requestId, int64_t songCode, const char* simpleInfo, MusicContentCenterStateReason reason) = 0; onSongSimpleInfoResult?( diff --git a/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita b/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita index 0feb137188f..ff6b9a4e195 100644 --- a/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita +++ b/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita @@ -14,6 +14,7 @@

+ virtual bool onReceiveAudioPacket(Packet& packet) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnReceiveAudioPacket, const FPacket&, packet); diff --git a/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita b/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita index 393f1c5d3b0..cb01915ec53 100644 --- a/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita +++ b/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita @@ -14,6 +14,7 @@

+ virtual bool onReceiveVideoPacket(Packet& packet) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnReceiveVideoPacket, const FPacket&, packet); diff --git a/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita b/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita index a1afea083ff..127c5f6e7da 100644 --- a/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita +++ b/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita @@ -14,6 +14,7 @@

+ virtual bool onSendAudioPacket(Packet& packet) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnSendAudioPacket, const FPacket&, packet); diff --git a/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita b/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita index 879243be6e5..a8541a65aea 100644 --- a/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita +++ b/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita @@ -14,6 +14,7 @@

+ virtual bool onSendVideoPacket(Packet& packet) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnSendVideoPacket, const FPacket&, packet); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita index 7af04419d4e..1fa7559c9f6 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita @@ -14,6 +14,7 @@

public void onActiveSpeaker(int uid) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine activeSpeaker:(NSUInteger)speakerUid; virtual void onActiveSpeaker(uid_t userId) { (void)userId; } DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnActiveSpeaker, int64, userId); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita index 25b6f86d422..377cb2f594c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita @@ -14,6 +14,7 @@

public void onApiCallExecuted(int error, String api, String result) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didApiCallExecute:(NSInteger)error api:(NSString * _Nonnull)api diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita index 6373107585c..f2a22fadc7d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita index 71a076bac1f..ad19a01a6ed 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita @@ -14,6 +14,7 @@

+ virtual void onAudioDeviceStateChanged(const char* deviceId, int deviceType, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicetestvolumeindication.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicetestvolumeindication.dita index 5a4cce6f38a..da53e5e6a59 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicetestvolumeindication.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicetestvolumeindication.dita @@ -14,6 +14,7 @@

+ virtual void onAudioDeviceTestVolumeIndication(AudioDeviceTestVolumeType volumeType, int volume) { (void)volumeType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita index d094652edb4..95d8067444e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita @@ -14,6 +14,7 @@

+ virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) { (void)deviceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita index c4db8ed519d..f231638de13 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita @@ -14,6 +14,7 @@

public void onAudioEffectFinished(int soundId) {} + - (void)rtcEngineDidAudioEffectFinish:(AgoraRtcEngineKit * _Nonnull)engine soundId:(int)soundId; virtual void onAudioEffectFinished(int soundId) { } diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita index 99cc238e097..3cd25994d4e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita @@ -14,6 +14,7 @@

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

public void onAudioMixingPositionChanged(long position) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingPositionChanged:(NSInteger)position NS_SWIFT_NAME(rtcEngine(_:audioMixingPositionChanged:)); virtual void onAudioMixingPositionChanged(int64_t position) {} DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioMixingPositionChanged, int64, position); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index 838f53d1029..fcf29d32d5b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -14,6 +14,7 @@

public void onAudioMixingStateChanged(int state, int reasonCode); + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)state reasonCode:(AgoraAudioMixingReasonCode)reasonCode; virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita index 9f133b2bf0a..224eeb4da45 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita @@ -15,6 +15,7 @@

public void onAudioPublishStateChanged(String channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didAudioPublishStateChange:(NSString * _Nonnull)channelId oldState:(AgoraStreamPublishState)oldState diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita index 00f43380a12..54044184566 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita @@ -14,6 +14,7 @@

public void onAudioQuality(int uid, int quality, short delay, short lost) {} + - (void)audioQualityBlock:(void (^_Nullable)(NSUInteger uid, AgoraNetworkQuality quality, NSUInteger delay, NSUInteger lost))audioQualityBlock virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay, unsigned short lost) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita index a3d5b837546..bdff05d72f7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita @@ -14,6 +14,7 @@

public void onAudioRouteChanged(int routing) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing; virtual void onAudioRoutingChanged(int routing) { (void)routing; } diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita index ad328ae0d6b..6e374e5904f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita @@ -15,6 +15,7 @@

public void onAudioSubscribeStateChanged( String channel, int uid, int oldState, int newState, int elapseSinceLastState) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didAudioSubscribeStateChange:(NSString * _Nonnull)channelId uid:(unsigned int)uid diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita index 639ab0fb36c..c805594a5bc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita @@ -14,6 +14,7 @@

public void onAudioVolumeIndication(AudioVolumeInfo[] speakers, int totalVolume) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportAudioVolumeIndicationOfSpeakers:(NSArray<AgoraRtcAudioVolumeInfo *> * _Nonnull)speakers totalVolume:(NSInteger)totalVolume; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita index 92a34e6a922..e515569d6d2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita @@ -14,6 +14,7 @@

public void onCameraExposureAreaChanged(Rect rect) {} + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine cameraExposureDidChangedToRect:(CGRect)rect; virtual void onCameraExposureAreaChanged(int x, int y, int width, int height) { (void)x; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita index 8dc0e2d8ccd..b36860a8b6b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita @@ -14,6 +14,7 @@

public void onCameraFocusAreaChanged(Rect rect) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine cameraFocusDidChangedToRect:(CGRect)rect; virtual void onCameraFocusAreaChanged(int x, int y, int width, int height) { (void)x; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita index 3607ce2cce0..819c1319f20 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita @@ -14,6 +14,7 @@

public void onCameraReady() {} + - (void)rtcEngineCameraDidReady:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onCameraReady() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCameraReady); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita index ce1e664fae7..3645bd1b0af 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita @@ -14,6 +14,7 @@

public void onChannelMediaRelayEvent(int code) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didReceiveChannelMediaRelayEvent:(AgoraChannelMediaRelayEvent)event; virtual void onChannelMediaRelayEvent(int code) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita index 454b1a2f2c4..30e9e558f3c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita @@ -14,6 +14,7 @@

public void onChannelMediaRelayStateChanged(int state, int code) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine channelMediaRelayStateDidChange:(AgoraChannelMediaRelayState)state error:(AgoraChannelMediaRelayError)error; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita index ea42ab9e7f9..ed9f62b529f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita @@ -8,6 +8,7 @@

public void onClientRoleChanged(int oldRole, int newRole, ClientRoleOptions newRoleOptions) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChanged:(AgoraClientRole)oldRole newRole:(AgoraClientRole)newRole newRoleOptions:(AgoraClientRoleOptions * _Nullable)newRoleOptions NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index 21878964b60..1221081983a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -14,6 +14,7 @@

public void onClientRoleChangeFailed(int reason, int currentRole) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChangeFailed:(AgoraClientRoleChangeFailedReason)reason currentRole:(AgoraClientRole)currentRole; virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole) { (void)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita index db52aba4cbb..8a57420c694 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita @@ -14,6 +14,7 @@

public void onConnectionBanned() {} + - (void)rtcEngineConnectionDidBanned:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionBanned() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionBanned); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita index 0fdb280faf6..cf1fbf9ac55 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita @@ -14,6 +14,7 @@

public void onConnectionInterrupted() {} + - (void)rtcEngineConnectionDidInterrupted:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onConnectionInterrupted() {} DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionInterrupted); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita index bed2959ddad..fe0536960f4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita @@ -14,6 +14,7 @@

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

public void onConnectionStateChanged(int state, int reason) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine connectionStateChanged:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita index 6bd4d5d884d..153eb77ea00 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita @@ -15,6 +15,7 @@

public void onContentInspectResult(int result) {} + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine contentInspectResult:(AgoraContentInspectResult)result; virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; } diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita index 7e2961ee6e5..ec248f36e81 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita @@ -14,6 +14,7 @@

+ virtual void onDispose() = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita index c17cf56ec96..6f0dd2050f0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita @@ -14,6 +14,7 @@

public void onDownlinkNetworkInfoUpdated(DownlinkNetworkInfo info) {} + virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) { (void)info; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita index 4931beca97a..aaa45a2c7ae 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita @@ -14,6 +14,7 @@

public void onEncryptionError(int errorType) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurEncryptionError:(AgoraEncryptionErrorType)errorType; virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index 73a65d24690..9684323df1c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -15,6 +15,7 @@

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

void onError(String provider, String extension, int error, String message); + - (void)onExtensionError:(NSString * __nullable)provider extension:(NSString * __nullable)extension error:(int)error diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita index 2c66789b0e6..789e3f41554 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita @@ -14,6 +14,7 @@

void onEvent(String provider, String extension, String key, String value); + - (void)onEvent:(NSString * __nullable)provider extension:(NSString * __nullable)extension key:(NSString * __nullable)key diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita index ccbb018a576..ef0e76f1493 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita @@ -14,6 +14,7 @@

void onStarted(String provider, String extension); + - (void)onExtensionStarted:(NSString * __nullable)provider extension:(NSString * __nullable)extension; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita index c14aee36aa9..2ce41b728c3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita @@ -14,6 +14,7 @@

void onStopped(String provider, String extension); + - (void)onExtensionStopped:(NSString * __nullable)provider extension:(NSString * __nullable)extension; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita index e249385695b..5f3e47f676d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita @@ -15,6 +15,7 @@

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

+ virtual void onFirstLocalAudioFrame(int elapsed) { (void)elapsed; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita index b7a165029d1..80907f1c27f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita @@ -14,6 +14,7 @@

public void onFirstLocalAudioFramePublished(int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalAudioFramePublished:(NSInteger)elapsed; virtual void onFirstLocalAudioFramePublished(int elapsed) { (void)elapsed; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita index 5c396d83c58..31ec85bd6b1 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita @@ -16,7 +16,8 @@ public void onFirstLocalVideoFrame( Constants.VideoSourceType source, int width, int height, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalVideoFrameWithSize:(CGSize)size elapsed:(NSInteger)elapsed sourceType:(AgoraVideoSourceType)sourceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita index 5bfff8c83d4..3cf9b4e5c34 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita @@ -15,6 +15,7 @@

public void onFirstLocalVideoFramePublished(Constants.VideoSourceType source, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalVideoFramePublishedWithElapsed:(NSInteger)elapsed sourceType:(AgoraVideoSourceType)sourceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita index 5179050eaea..14b35718b8f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita @@ -16,6 +16,7 @@ public void onFirstRemoteAudioDecoded(int uid, int elapsed) { } + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine firstRemoteAudioFrameDecodedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed; virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita index e1eb6e0aa1d..95ee0d0b631 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita @@ -16,6 +16,7 @@ public void onFirstRemoteAudioFrame(int uid, int elapsed) { } + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine firstRemoteAudioFrameOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed NS_SWIFT_NAME(rtcEngine(_:firstRemoteAudioFrameOfUid:elapsed:)); virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) AGORA_DEPRECATED_ATTRIBUTE { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita index 69e0e7c319a..e0efe055e31 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita @@ -14,6 +14,7 @@

public void onFirstRemoteVideoDecoded(int uid, int width, int height, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoDecodedOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed; virtual void onFirstRemoteVideoDecoded(uid_t uid, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita index c34873aa86f..79cf919c33b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita @@ -14,7 +14,8 @@

public void onFirstRemoteVideoFrame(int uid, int width, int height, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoFrameOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed; virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) { (void)userId; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita index ee953d3d434..a40d3051e8c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita @@ -14,6 +14,7 @@

+ virtual bool onInitialize(IVideoFrameConsumer *consumer) = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita index b37b35d71ac..6710a0f90c2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita index 6efe53a5364..832ca5cd297 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita @@ -14,6 +14,7 @@

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

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

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

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

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

public void onLocalAudioStats(LocalAudioStats stats) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStats:(AgoraRtcLocalAudioStats * _Nonnull)stats; virtual void onLocalAudioStats(const LocalAudioStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita index 87ad42e987d..d0a3aa93c9f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita @@ -14,6 +14,7 @@

public void onLocalPublishFallbackToAudioOnly(boolean isFallbackOrRecover) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalPublishFallbackToAudioOnly:(BOOL)isFallbackOrRecover; virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita index a1be7813553..dcb967b167e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita @@ -14,6 +14,7 @@

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) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index 0c92680d6b8..74a12b44a81 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -15,6 +15,7 @@

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

public void onLocalVideoStats(Constants.VideoSourceType source, LocalVideoStats stats) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStats:(AgoraRtcLocalVideoStats * _Nonnull)stats sourceType:(AgoraVideoSourceType)sourceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita index 696221c7698..bfc1ad9b010 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita @@ -15,6 +15,7 @@

public void onLocalVideoTranscoderError( LocalTranscoderConfiguration.TranscodingVideoStream stream, int error) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoTranscoderErrorWithStream:(AgoraTranscodingVideoStream * _Nonnull )stream errorCode:(AgoraVideoTranscoderError)errorCode NS_SWIFT_NAME(rtcEngine(_:didLocalVideoTranscoderErrorWithStream:errorCode:)); virtual void onLocalVideoTranscoderError(const TranscodingVideoStream& stream, VIDEO_TRANSCODER_ERROR error){ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita index 040b4cb0b3a..1b1e8891142 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita @@ -14,6 +14,7 @@

+ virtual void onMicrophoneEnabled(bool enabled) { (void)enabled; } diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita index 5c1e523a506..d4358fccb80 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita @@ -14,6 +14,7 @@

public void onNetworkQuality(int uid, int txQuality, int rxQuality) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkQuality:(NSUInteger)uid txQuality:(AgoraNetworkQuality)txQuality diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita index 2de1ff0ae10..4e8af1afe55 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita @@ -14,6 +14,7 @@

public void onNetworkTypeChanged(int type) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkTypeChanged:(AgoraNetworkType)type; virtual void onNetworkTypeChanged(NETWORK_TYPE type) { (void)type; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita index 6abb2cba765..cd30fa9d87f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita @@ -14,6 +14,7 @@

public void onPermissionError(int permission) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine permissionError:(AgoraPermissionType)type; virtual void onPermissionError(PERMISSION_TYPE permissionType) { (void)permissionType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita index 660bf860fb4..0bcddad03ef 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita @@ -15,6 +15,7 @@

public void onProxyConnected( String channel, int uid, int proxyType, String localProxyIp, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didProxyConnected:(NSString* _Nonnull)channel withUid:(NSUInteger)uid proxyType:(AgoraProxyType)proxyType localProxyIp:(NSString* _Nonnull)localProxyIp elapsed:(NSInteger)elapsed NS_SWIFT_NAME(rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)); virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) { (void)channel; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita index eebd2181e67..80aecc23642 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita @@ -14,6 +14,7 @@

public void onRejoinChannelSuccess(String channel, int uid, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRejoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed; virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita index 64f2769486c..103daf07b47 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita @@ -14,6 +14,7 @@

+ - (void)rtcEngineRemoteAudioMixingDidStart:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onRemoteAudioMixingBegin() diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita index 61b7a818ba1..d1e82c8881d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita @@ -14,6 +14,7 @@

+ - (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onRemoteAudioMixingEnd() diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita index e64d8dffec6..34c7a66c477 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita @@ -14,7 +14,8 @@

public void onRemoteAudioStateChanged(int uid, int state, int 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, REMOTE_AUDIO_STATE state, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita index 0bb1572d14d..223fbcb7d82 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita @@ -14,6 +14,7 @@

public void onRemoteAudioStats(RemoteAudioStats stats) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStats:(AgoraRtcRemoteAudioStats * _Nonnull)stats; virtual void onRemoteAudioStats(const RemoteAudioStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita index 483e19bdc3e..c1bea47f8e4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita @@ -14,6 +14,7 @@

public void onRemoteAudioTransportStats(int uid, int delay, int lost, int rxKBitRate) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine audioTransportStatsOfUid:(NSUInteger)uid delay:(NSUInteger)delay diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita index f59f9ab3574..38669d194a2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita @@ -14,6 +14,7 @@

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) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita index 4d3f44fc689..7aa4bf01fec 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita @@ -14,7 +14,8 @@

public void onRemoteVideoStateChanged(int uid, int state, int reason, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStateChangedOfUid:(NSUInteger)uid state:(AgoraVideoRemoteState)state reason:(AgoraVideoRemoteReason)reason elapsed:(NSInteger)elapsed; virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita index 73ef3c04203..1556b84f635 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita @@ -14,6 +14,7 @@

public void onRemoteVideoStats(RemoteVideoStats stats) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStats:(AgoraRtcRemoteVideoStats * _Nonnull)stats; virtual void onRemoteVideoStats(const RemoteVideoStats& stats) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita index 3b853e0173a..57f4ed28d0c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita @@ -14,6 +14,7 @@

public void onRemoteVideoTransportStats(int uid, int delay, int lost, int rxKBitRate) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoTransportStatsOfUid:(NSUInteger)uid delay:(NSUInteger)delay diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita index cc104e6e209..747be1221b0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita index 3f933a61ea0..4e0734e3586 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita @@ -14,6 +14,7 @@

public void onRequestToken() {} + - (void)rtcEngineRequestToken:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onRequestToken() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnRequestToken); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita index bb820f3cdd2..7e5b6f0ceed 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita @@ -14,6 +14,7 @@

public void onRhythmPlayerStateChanged(int state, int reason) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRhythmPlayerStateChanged:(AgoraRhythmPlayerState)state reason:(AgoraRhythmPlayerReason)reason NS_SWIFT_NAME(rtcEngine(_:didRhythmPlayerStateChanged:reason:)); virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_REASON reason) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita index 4f1493e0d02..7f80326d1b6 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita @@ -14,6 +14,7 @@

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

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

public void onRtmpStreamingStateChanged(String url, int state, int reason) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine rtmpStreamingChangedToState:(NSString * _Nonnull)url state:(AgoraRtmpStreamingState)state reason:(AgoraRtmpStreamingReason)reason NS_SWIFT_NAME(rtcEngine(_:rtmpStreamingChangedToState:state:reason:)); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita index 4073059aabd..2d3f9a4b6ad 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita index 80e03f9dfd0..648ebeb21bb 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita @@ -14,6 +14,7 @@

public void onSnapshotTaken(int uid, String filePath, int width, int height, int errCode) {} + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine snapshotTaken:(NSUInteger)uid filePath:(NSString* _Nonnull)filePath width:(NSInteger)width height:(NSInteger)height errCode:(NSInteger)errCode; virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita index 52a38ff484a..6496e68afc6 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita @@ -14,6 +14,7 @@

+ virtual bool onStart() = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita index ef15cd278a3..5cd4d149b2d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita @@ -14,6 +14,7 @@

+ virtual void onStop() = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita index d8129501dcf..2aa1cce1a32 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita @@ -14,6 +14,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) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita index cad25b25f95..f1282bb81e7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita @@ -14,6 +14,7 @@

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

public void onStreamMessageError(int uid, int streamId, int error, int missed, int cached) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurStreamMessageErrorFromUid:(NSUInteger)uid streamId:(NSInteger)streamId diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita index dcf968ae50f..256d7d80199 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita @@ -14,6 +14,7 @@

public void onStreamPublished(String url, int error) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamPublishedWithUrl:(NSString * _Nonnull)url errorCode:(AgoraErrorCode)errorCode; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita index 761ba58ee8f..d1e4785ec03 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita @@ -14,6 +14,7 @@

public void onStreamUnpublished(String url) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamUnpublishedWithUrl:(NSString * _Nonnull)url; virtual void onStreamUnpublished(const char *url) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita index 5b5fc5eb1ba..3a11969fb0b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita @@ -14,6 +14,7 @@

public void onTokenPrivilegeWillExpire(String token) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine tokenPrivilegeWillExpire:(NSString *_Nonnull)token; virtual void onTokenPrivilegeWillExpire(const char* token) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index 8c1b6892df6..d2f4233ed17 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -14,6 +14,7 @@

public void onTranscodedStreamLayoutInfo(int uid, VideoLayoutInfo info) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didTranscodedStreamLayoutInfoUpdatedWithUserId:(NSUInteger)uid videoLayoutInfo:(AgoraVideoLayoutInfo* _Nonnull)videoLayoutInfo NS_SWIFT_NAME(rtcEngine(_:didTranscodedStreamLayoutInfoUpdatedWithUserId:videoLayoutInfo:)); virtual void onTranscodedStreamLayoutInfo(uid_t uid, int width, int height, int layoutCount,const VideoLayout* layoutlist) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita index 2c33f39cc70..d86d132e09f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita @@ -14,6 +14,7 @@

public void onTranscodingUpdated() {} + - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onTranscodingUpdated() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnTranscodingUpdated); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita index 705371d0b59..5bf385bbd3b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita @@ -14,6 +14,7 @@

public void onUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine uplinkNetworkInfoUpdate:(AgoraUplinkNetworkInfo *_Nonnull)networkInfo; virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita index 95ce35dabfa..7f1bb6194c7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita @@ -14,7 +14,8 @@

- + + virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita index e73ebd74857..ff93d09f09c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita index 75bd818b70a..a8581332dc4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita @@ -14,6 +14,7 @@

public void onUserEnableLocalVideo(int uid, boolean enabled) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita index 10e5940f7d0..d5a7a330725 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita @@ -14,6 +14,7 @@

public void onUserEnableVideo(int uid, boolean enabled) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita index b94f12eaa4b..7e46b968a31 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita @@ -14,6 +14,7 @@

public void onUserInfoUpdated(int uid, UserInfo userInfo) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didUserInfoUpdatedWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo* _Nonnull)userInfo; virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index 9ea3d342898..e2d87b37646 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -7,6 +7,7 @@

public void onUserJoined(int uid, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed; virtual void onUserJoined(uid_t uid, int elapsed) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita index dcfee238ad5..6b7895b5b7c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita @@ -14,6 +14,7 @@

public void onUserMuteAudio(int uid, boolean muted) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioMuted:(BOOL)muted byUid:(NSUInteger)uid; virtual void onUserMuteAudio(uid_t uid, bool muted) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita index cfb29ae9672..aba321dbe96 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita @@ -14,6 +14,7 @@

public void onUserMuteVideo(int uid, boolean muted) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoMuted:(BOOL)muted byUid:(NSUInteger)uid virtual void onUserMuteVideo(uid_t uid, bool muted) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index 95b344ea567..229f99400e7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -14,6 +14,7 @@

public void onUserOffline(int uid, int reason) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOfflineOfUid:(NSUInteger)uid reason:(AgoraUserOfflineReason)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita index 7ab50d0dff2..30c7ab62f75 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita index 59cd1658dc0..ecc311fa7f2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita @@ -14,7 +14,8 @@

- - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state NS_SWIFT_NAME(rtcEngine(_:device:type:stateChanged:)); + + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state NS_SWIFT_NAME(rtcEngine(_:device:type:stateChanged:)); virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) { (void)deviceId; (void)deviceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita index e840b9162b1..de9b7076f92 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita @@ -16,6 +16,7 @@ public void onVideoPublishStateChanged(Constants.VideoSourceType source, String channel, int oldState, int newState, int elapseSinceLastState) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoPublishStateChange:(NSString * _Nonnull)channelId sourceType:(AgoraVideoSourceType)sourceType oldState:(AgoraStreamPublishState)oldState diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita index 3e043e5f014..2c802e8a8f8 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita @@ -15,6 +15,7 @@

public void onVideoRenderingTracingResult(int uid, Constants.MEDIA_RENDER_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoRenderingTracingResultOfUid:(NSUInteger)uid currentEvent:(AgoraMediaRenderTraceEvent)currentEvent tracingInfo:(AgoraVideoRenderingTracingInfo * _Nonnull)tracingInfo NS_SWIFT_NAME(rtcEngine(_:videoRenderingTracingResultOfUid:currentEvent:tracingInfo:)); virtual void onVideoRenderingTracingResult(uid_t uid, MEDIA_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita index 1147a4c9f11..e8b9d084772 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita @@ -15,6 +15,7 @@

public void onVideoSizeChanged( Constants.VideoSourceType source, int uid, int width, int height, int rotation) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoSizeChangedOfSourceType:(AgoraVideoSourceType)sourceType uid:(NSString * _Nonnull)uid size:(CGSize)size rotation:(NSInteger)rotation NS_SWIFT_NAME(rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)); virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita index 306c7602997..06611e70203 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita index e4c1df0c043..3ccf9c7a5d3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita @@ -14,6 +14,7 @@

public void onVideoStopped() {} + - (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onVideoStopped() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnVideoStopped); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita index efd89783cdb..be5850d6e32 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -15,6 +15,7 @@

public void onVideoSubscribeStateChanged( String channel, int uid, int oldState, int newState, int elapseSinceLastState) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoSubscribeStateChange:(NSString * _Nonnull)channelId uid:(unsigned int)uid diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita index 1b7b0917e7f..da363915282 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita index cb33415352e..09337411c2a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita b/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita index 525a4eba12b..9bd9353fa91 100644 --- a/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita +++ b/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita @@ -14,6 +14,7 @@

boolean onEncodedVideoFrameReceived(ByteBuffer buffer, EncodedVideoFrameInfo info); + - (BOOL)onEncodedVideoFrameReceived:(NSData * _Nonnull )videoData length:(size_t)length info:(AgoraEncodedVideoFrameInfo * _Nonnull)videoFrameInfo NS_SWIFT_NAME(onEncodedVideoFrameReceived(_:length:info:)); virtual bool onEncodedVideoFrameReceived(rtc::uid_t uid, const uint8_t* imageBuffer, size_t length, const rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita index 603923434c0..afcab900cee 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita @@ -14,6 +14,7 @@

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

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

boolean getRotationApplied(); + - (BOOL)getRotationApplied; virtual bool getRotationApplied() { return false; } DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRotationApplied); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita index e126379bb44..5cf2d5165ac 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita @@ -14,6 +14,7 @@

+ virtual bool getSmoothRenderingEnabled(){ return false; } diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index 7935316eea2..6e3d7d19e1c 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -15,6 +15,7 @@

int getVideoFormatPreference(); + - (AgoraVideoFormat)getVideoFormatPreference; virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference() { return VIDEO_PIXEL_DEFAULT; } diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita index 8bfd6b476a4..bf5d08404df 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita @@ -14,6 +14,7 @@

int getVideoFrameProcessMode(); + - (AgoraVideoFrameProcessMode)getVideoFrameProcessMode; virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { return PROCESS_MODE_READ_ONLY; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita index 5c51f210ea8..1fe7d906c19 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita @@ -14,6 +14,7 @@

boolean onCaptureVideoFrame(int sourceType, VideoFrame videoFrame); + - (BOOL)onCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType; virtual bool onCaptureVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnCaptureVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita index 0cf2765bb7c..84347fcd146 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita @@ -14,6 +14,7 @@

void onFrame(VideoFrame frame); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveVideoFrame:)); virtual void onFrame(const VideoFrame* frame) = 0; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita index c02074e8683..9f9a00aabbd 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita @@ -14,6 +14,7 @@

boolean onMediaPlayerVideoFrame(VideoFrame videoFrame, int mediaPlayerId); + - (BOOL)onMediaPlayerVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame mediaPlayerId:(NSInteger)mediaPlayerId; virtual bool onMediaPlayerVideoFrame(VideoFrame& videoFrame, int mediaPlayerId) = 0; onMediaPlayerVideoFrame?(videoFrame: VideoFrame, mediaPlayerId: number): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita index 3c7d909cd76..50b3780a224 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita @@ -14,7 +14,8 @@

boolean onPreEncodeScreenVideoFrame(VideoFrame videoFrame); - - (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; + + - (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; virtual bool onPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0; onPreEncodeScreenVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita index 22654749826..3c15d5364c3 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita @@ -14,6 +14,7 @@

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

boolean onRenderVideoFrame(String channelId, int uid, VideoFrame videoFrame); + - (BOOL)onRenderVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame uid:(NSUInteger)uid channelId:(NSString * _Nonnull)channelId; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita index 039b0a22353..2d233e73d3e 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita @@ -14,6 +14,7 @@

+ virtual bool onRenderVideoFrameEx(const char *channelId, unsigned int uid, diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita index abbce53a760..a51fc7a022c 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita @@ -14,6 +14,7 @@

boolean onScreenCaptureVideoFrame(VideoFrame videoFrame); + - (BOOL)onScreenCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; virtual bool onScreenCaptureVideoFrame(VideoFrame& videoFrame) = 0; onScreenCaptureVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita index ce2e4a40192..ae6329e245f 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita @@ -14,6 +14,7 @@

+ virtual bool onSecondaryPreEncodeCameraVideoFrame(VideoFrame& videoFrame) = 0; onSecondaryPreEncodeCameraVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita index ca57cc02a56..efeead5ea46 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita @@ -14,6 +14,7 @@

+ virtual bool onSecondaryPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0; onSecondaryPreEncodeScreenVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideosink_ondispose.dita b/dita/RTC-NG/API/callback_ivideosink_ondispose.dita index ba91ca32fec..bbb6392a1c8 100644 --- a/dita/RTC-NG/API/callback_ivideosink_ondispose.dita +++ b/dita/RTC-NG/API/callback_ivideosink_ondispose.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita b/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita index 4ad45499f72..9de419f69c2 100644 --- a/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita +++ b/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita b/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita index 512a3e6d85b..fcd933df4d4 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita b/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita index 33cce906960..69a02a72a5f 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_ivideosink_onstart.dita b/dita/RTC-NG/API/callback_ivideosink_onstart.dita index fe5a5568831..350371afcef 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onstart.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onstart.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_ivideosink_onstop.dita b/dita/RTC-NG/API/callback_ivideosink_onstop.dita index 58af8a57e2a..95db926be1a 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onstop.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onstop.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita b/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita index 1e6e3eba8fe..f6bb35d7932 100644 --- a/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita +++ b/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index d5dc9ce374b..58d3171000c 100644 --- a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -65,6 +65,7 @@ public int mode = Constants.LOCAL_RPOXY_CONNECTIVITY_FIRST; public AdvancedConfigInfo advancedConfig = null; } + NS_SWIFT_NAME(AgoraLocalAccessPointConfiguration) __attribute__((visibility("default"))) @interface AgoraLocalAccessPointConfiguration : NSObject @property(copy, nonatomic) NSArray* _Nullable ipList NS_SWIFT_NAME(ipList); @property(copy, nonatomic) NSArray* _Nullable domainList NS_SWIFT_NAME(domainList); diff --git a/dita/RTC-NG/API/class_advancedaudiooptions.dita b/dita/RTC-NG/API/class_advancedaudiooptions.dita index b434cd26e24..6a1098e94f7 100644 --- a/dita/RTC-NG/API/class_advancedaudiooptions.dita +++ b/dita/RTC-NG/API/class_advancedaudiooptions.dita @@ -28,7 +28,8 @@ audioProcessingChannels = AgoraAudioProcessChannels.AGORA_AUDIO_MONO_PROCESSING; } } - __attribute__((visibility("default"))) @interface AgoraAdvancedAudioOptions: NSObject + + __attribute__((visibility("default"))) @interface AgoraAdvancedAudioOptions: NSObject @property(assign, nonatomic) AgoraAudioProcessChannels audioProcessingChannels; @end struct AdvancedAudioOptions { diff --git a/dita/RTC-NG/API/class_advancedconfiginfo.dita b/dita/RTC-NG/API/class_advancedconfiginfo.dita index 6b5cc22e509..a6c87d4a672 100644 --- a/dita/RTC-NG/API/class_advancedconfiginfo.dita +++ b/dita/RTC-NG/API/class_advancedconfiginfo.dita @@ -16,6 +16,7 @@ return logUploadServer; } }; + NS_SWIFT_NAME(AdvancedConfigInfo) __attribute__((visibility("default"))) @interface AdvancedConfigInfo : NSObject @property(strong, nonatomic) LogUploadServerInfo* _Nullable logUploadServer; @end diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index 4984de56c3d..d6982e9b50b 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -19,6 +19,7 @@ this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; } } + __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; diff --git a/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/dita/RTC-NG/API/class_agorafacepositioninfo.dita index c076d449886..e2cac637544 100644 --- a/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -13,6 +13,7 @@ public int height; public int distance; } + NS_SWIFT_NAME(AgoraFacePositionInfo) __attribute__((visibility("default"))) @interface AgoraFacePositionInfo : NSObject @property(assign, nonatomic) NSInteger x NS_SWIFT_NAME(x); @property(assign, nonatomic) NSInteger y NS_SWIFT_NAME(y); diff --git a/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita b/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita index 46aced82367..bd8b8831570 100644 --- a/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita +++ b/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita @@ -25,6 +25,7 @@ return beatsPerMinute; } } + __attribute__((visibility("default"))) @interface AgoraRhythmPlayerConfig: NSObject @property (assign, nonatomic) int beatsPerMeasure; @property (assign, nonatomic) int beatsPerMinute; diff --git a/dita/RTC-NG/API/class_agorartcdeviceinfo.dita b/dita/RTC-NG/API/class_agorartcdeviceinfo.dita index b1c165de6e7..d01a9891af0 100644 --- a/dita/RTC-NG/API/class_agorartcdeviceinfo.dita +++ b/dita/RTC-NG/API/class_agorartcdeviceinfo.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; diff --git a/dita/RTC-NG/API/class_agorartcexception.dita b/dita/RTC-NG/API/class_agorartcexception.dita index 5a96abe14df..d846b9010ba 100644 --- a/dita/RTC-NG/API/class_agorartcexception.dita +++ b/dita/RTC-NG/API/class_agorartcexception.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_agoravideoview.dita b/dita/RTC-NG/API/class_agoravideoview.dita index 8420ac9c2a0..3186a19547a 100644 --- a/dita/RTC-NG/API/class_agoravideoview.dita +++ b/dita/RTC-NG/API/class_agoravideoview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_agoraview.dita b/dita/RTC-NG/API/class_agoraview.dita index f4ff32ac458..a04d1d39e29 100644 --- a/dita/RTC-NG/API/class_agoraview.dita +++ b/dita/RTC-NG/API/class_agoraview.dita @@ -7,6 +7,7 @@

+ interface AgoraView { diff --git a/dita/RTC-NG/API/class_audiodeviceinfo.dita b/dita/RTC-NG/API/class_audiodeviceinfo.dita index 24eb63ae76a..c2de5df7829 100644 --- a/dita/RTC-NG/API/class_audiodeviceinfo.dita +++ b/dita/RTC-NG/API/class_audiodeviceinfo.dita @@ -7,6 +7,7 @@

+ export class AudioDeviceInfo { diff --git a/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita b/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita index 657f1ab3947..3226f3f165e 100644 --- a/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita +++ b/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita @@ -15,6 +15,7 @@ encodingType = Constants.AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM; } } + __attribute__((visibility("default"))) @interface AgoraAudioEncodedFrameDelegateConfig: NSObject @property (assign, nonatomic) AgoraAudioEncodedFrameDelegatePosition postionType; @property (assign, nonatomic) AgoraAudioEncodingType encodingType; diff --git a/dita/RTC-NG/API/class_audioexternalsourceposition.dita b/dita/RTC-NG/API/class_audioexternalsourceposition.dita index 91b23f1a883..6c1a8969390 100644 --- a/dita/RTC-NG/API/class_audioexternalsourceposition.dita +++ b/dita/RTC-NG/API/class_audioexternalsourceposition.dita @@ -11,6 +11,7 @@ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS(1), AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS(2); } + typedef NS_ENUM(NSUInteger, AgoraAudioExternalSourcePos) { AgoraAudioExternalPlayoutSource = 0, AgoraAudioExternalRecordSourcePreProcess = 1, diff --git a/dita/RTC-NG/API/class_audioframe.dita b/dita/RTC-NG/API/class_audioframe.dita index f5f32d6113e..09dafbae3f1 100644 --- a/dita/RTC-NG/API/class_audioframe.dita +++ b/dita/RTC-NG/API/class_audioframe.dita @@ -62,6 +62,7 @@ + ", timestamp=" + timestamp + '}'; } } + __attribute__((visibility("default"))) @interface AgoraAudioFrame : NSObject diff --git a/dita/RTC-NG/API/class_audioparams.dita b/dita/RTC-NG/API/class_audioparams.dita index 5b0f2ae8f7a..e54d1bcac17 100644 --- a/dita/RTC-NG/API/class_audioparams.dita +++ b/dita/RTC-NG/API/class_audioparams.dita @@ -20,6 +20,7 @@ this.samplesPerCall = samplesPerCall; } } + __attribute__((visibility("default"))) @interface AgoraAudioParams : NSObject @property (assign, nonatomic) NSInteger sampleRate; diff --git a/dita/RTC-NG/API/class_audiopcmframe.dita b/dita/RTC-NG/API/class_audiopcmframe.dita index 4fa35f5754c..1a6baddd3fb 100644 --- a/dita/RTC-NG/API/class_audiopcmframe.dita +++ b/dita/RTC-NG/API/class_audiopcmframe.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraAudioPcmFrame: NSObject @property (assign, nonatomic) uint32_t captureTimestamp; @property (assign, nonatomic) size_t samplesPerChannel; diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index a86a61a05b3..91d4042f481 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -22,6 +22,7 @@ recordingChannel = 1; } } + __attribute__((visibility("default"))) @interface AgoraAudioRecordingConfiguration: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @property (assign, nonatomic) NSUInteger sampleRate; diff --git a/dita/RTC-NG/API/class_audiospectrumdata.dita b/dita/RTC-NG/API/class_audiospectrumdata.dita index d64eaa3a3ad..126297193f2 100644 --- a/dita/RTC-NG/API/class_audiospectrumdata.dita +++ b/dita/RTC-NG/API/class_audiospectrumdata.dita @@ -10,6 +10,7 @@ private float[] audioSpectrumData; private int dataLength; } + struct AudioSpectrumData { const float *audioSpectrumData; diff --git a/dita/RTC-NG/API/class_audiotrackconfig.dita b/dita/RTC-NG/API/class_audiotrackconfig.dita index 5839c99e6ad..ebb452fe064 100644 --- a/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -14,7 +14,8 @@ this.enableLocalPlayback = true; } } - NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject + + NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject @property (assign, nonatomic) BOOL enableLocalPlayback NS_SWIFT_NAME(enableLocalPlayback); @end diff --git a/dita/RTC-NG/API/class_audiovolumeinfo.dita b/dita/RTC-NG/API/class_audiovolumeinfo.dita index fa1d11d12e1..094e0ffe9ee 100644 --- a/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -12,6 +12,7 @@ public int vad; public double voicePitch; } + __attribute__((visibility("default"))) @interface AgoraRtcAudioVolumeInfo : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger volume; diff --git a/dita/RTC-NG/API/class_beautyoptions.dita b/dita/RTC-NG/API/class_beautyoptions.dita index 83a897c680a..10a31ba6a69 100644 --- a/dita/RTC-NG/API/class_beautyoptions.dita +++ b/dita/RTC-NG/API/class_beautyoptions.dita @@ -17,6 +17,7 @@ public float rednessLevel; public float sharpnessLevel; } + __attribute__((visibility("default"))) @interface AgoraBeautyOptions : NSObject @property(nonatomic, assign) AgoraLighteningContrastLevel lighteningContrastLevel; diff --git a/dita/RTC-NG/API/class_cachestatistics.dita b/dita/RTC-NG/API/class_cachestatistics.dita index 43d88a147bf..9e615b81e04 100644 --- a/dita/RTC-NG/API/class_cachestatistics.dita +++ b/dita/RTC-NG/API/class_cachestatistics.dita @@ -17,6 +17,7 @@ private long cacheSize; private long downloadSize; } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerCacheStatistics : NSObject @property(assign, nonatomic) NSInteger fileSize; @property(assign, nonatomic) NSInteger cacheSize; diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 730ee7c892c..745b8ed31aa 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -153,7 +153,8 @@ + ", cameraFocalLengthType=" + cameraFocalLengthType + '}'; } } - __attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject + + __attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject #if TARGET_OS_IOS @property (assign, nonatomic) AgoraCameraDirection cameraDirection; @property(assign, nonatomic) AgoraFocalLength cameraFocalLengthType; diff --git a/dita/RTC-NG/API/class_channel.dita b/dita/RTC-NG/API/class_channel.dita index 845a41a70ad..bf83a704261 100644 --- a/dita/RTC-NG/API/class_channel.dita +++ b/dita/RTC-NG/API/class_channel.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_channelmediainfo.dita b/dita/RTC-NG/API/class_channelmediainfo.dita index 714325985aa..4f2da9b689b 100644 --- a/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/dita/RTC-NG/API/class_channelmediainfo.dita @@ -12,6 +12,7 @@ public String token = null; public int uid = 0; } + __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayInfo: NSObject @property (copy, nonatomic) NSString * _Nullable token; diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index ef2c03d3f44..a19f385fef9 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -37,6 +37,7 @@ public Integer customVideoTrackId; public Boolean isAudioFilterable; } + __attribute__((visibility("default"))) @interface AgoraRtcChannelMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; @property(assign, nonatomic) BOOL publishSecondaryCameraTrack; diff --git a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index ffd37629297..796978e8398 100644 --- a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -36,6 +36,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayConfiguration: NSObject @property (strong, nonatomic, readonly) NSDictionary<NSString *, AgoraChannelMediaRelayInfo *> *_Nullable destinationInfos; diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 0d9aa700379..8ec09a47e02 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -14,6 +14,7 @@ return audienceLatencyLevel; } } + __attribute__((visibility("default"))) @interface AgoraClientRoleOptions: NSObject @property (assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; diff --git a/dita/RTC-NG/API/class_climaxsegment.dita b/dita/RTC-NG/API/class_climaxsegment.dita index 65321b644cf..1aaad90b47b 100644 --- a/dita/RTC-NG/API/class_climaxsegment.dita +++ b/dita/RTC-NG/API/class_climaxsegment.dita @@ -26,6 +26,7 @@ return endTimeMs; } } + __attribute__((visibility("default"))) @interface AgoraClimaxSegment : NSObject @property(nonatomic, assign) NSInteger startTimeMs; @property(nonatomic, assign) NSInteger endTimeMs; diff --git a/dita/RTC-NG/API/class_codeccapinfo.dita b/dita/RTC-NG/API/class_codeccapinfo.dita index 74d0783c220..abdf189b28b 100644 --- a/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/dita/RTC-NG/API/class_codeccapinfo.dita @@ -25,6 +25,7 @@ this.codecCapMask = codecCapMask; } } + __attribute__((visibility("default"))) @interface AgoraVideoCodecCapInfo : NSObject @property(assign, nonatomic) AgoraVideoCodecType codecType; @property(assign, nonatomic) NSUInteger codecCapMask; diff --git a/dita/RTC-NG/API/class_codeccaplevels.dita b/dita/RTC-NG/API/class_codeccaplevels.dita index 989cdf856b9..301a69e9505 100644 --- a/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/dita/RTC-NG/API/class_codeccaplevels.dita @@ -21,6 +21,7 @@ this.swDecodingLevel = swDecLevel; }; }; + __attribute__((visibility("default"))) @interface AgoraVideoCodecCapLevels : NSObject @property(assign, nonatomic) AgoraVideoCodecCapabilityLevel hwDecodingLevel; @property(assign, nonatomic) AgoraVideoCodecCapabilityLevel swDecodingLevel; diff --git a/dita/RTC-NG/API/class_colorenhanceoptions.dita b/dita/RTC-NG/API/class_colorenhanceoptions.dita index 828439006f7..0bdd5a291ad 100644 --- a/dita/RTC-NG/API/class_colorenhanceoptions.dita +++ b/dita/RTC-NG/API/class_colorenhanceoptions.dita @@ -20,6 +20,7 @@ skinProtectLevel = skinProtect; } } + __attribute__((visibility("default"))) @interface AgoraColorEnhanceOptions : NSObject @property(nonatomic, assign) float strengthLevel; @property(nonatomic, assign) float skinProtectLevel; diff --git a/dita/RTC-NG/API/class_contentinspectconfig.dita b/dita/RTC-NG/API/class_contentinspectconfig.dita index a3a3b027825..59c50ca3e7c 100644 --- a/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -34,6 +34,7 @@ moduleCount = 0; } } + __attribute__((visibility("default"))) @interface AgoraContentInspectConfig: NSObject @property (nonatomic, copy) NSString* _Nullable extraInfo; @property (nonatomic, copy) NSString* _Nullable serverConfig; diff --git a/dita/RTC-NG/API/class_contentinspectmodule.dita b/dita/RTC-NG/API/class_contentinspectmodule.dita index fd6f9af7777..6d46cca887b 100644 --- a/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -13,6 +13,7 @@ type = CONTENT_INSPECT_TYPE_INVALID; interval = 0; } + __attribute__((visibility("default"))) @interface AgoraContentInspectModule: NSObject @property (assign, nonatomic) AgoraContentInspectType type; diff --git a/dita/RTC-NG/API/class_datastreamconfig.dita b/dita/RTC-NG/API/class_datastreamconfig.dita index 57fd48d15e6..f3acd2bbd27 100644 --- a/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/dita/RTC-NG/API/class_datastreamconfig.dita @@ -10,6 +10,7 @@ public boolean syncWithAudio = false; public boolean ordered = false; } + __attribute__((visibility("default"))) @interface AgoraDataStreamConfig: NSObject @property (assign, nonatomic) BOOL ordered; @property (assign, nonatomic) BOOL syncWithAudio; diff --git a/dita/RTC-NG/API/class_device.dita b/dita/RTC-NG/API/class_device.dita index a3dae84ed91..aa537266260 100644 --- a/dita/RTC-NG/API/class_device.dita +++ b/dita/RTC-NG/API/class_device.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_deviceinfo.dita b/dita/RTC-NG/API/class_deviceinfo.dita index 9f2a5b53f6e..f55cfa44dcc 100644 --- a/dita/RTC-NG/API/class_deviceinfo.dita +++ b/dita/RTC-NG/API/class_deviceinfo.dita @@ -14,6 +14,7 @@ this.isLowLatencyAudioSupported = isLowLatencyAudioSupported; } } + struct DeviceInfo { bool isLowLatencyAudioSupported; diff --git a/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita b/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita index 65e6df4a3fb..17ed95e8f44 100644 --- a/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita +++ b/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita @@ -20,6 +20,7 @@ publishCustomVideoTrack = false; } } + __attribute__((visibility("default"))) @interface AgoraDirectCdnStreamingMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; diff --git a/dita/RTC-NG/API/class_directcdnstreamingstats.dita b/dita/RTC-NG/API/class_directcdnstreamingstats.dita index 49d6fdbb25a..00946befc65 100644 --- a/dita/RTC-NG/API/class_directcdnstreamingstats.dita +++ b/dita/RTC-NG/API/class_directcdnstreamingstats.dita @@ -21,6 +21,7 @@ audioBitrate = 0; } } + __attribute__((visibility("default"))) @interface AgoraDirectCdnStreamingStats : NSObject @property(assign, nonatomic) NSUInteger videoWidth; @property(assign, nonatomic) NSUInteger videoHeight; diff --git a/dita/RTC-NG/API/class_downlinknetworkinfo.dita b/dita/RTC-NG/API/class_downlinknetworkinfo.dita index b929e43e033..77f95ba9060 100644 --- a/dita/RTC-NG/API/class_downlinknetworkinfo.dita +++ b/dita/RTC-NG/API/class_downlinknetworkinfo.dita @@ -10,6 +10,7 @@ public int lastmile_buffer_delay_time_ms; public int bandwidth_estimation_bps; }; + __attribute__((visibility("default"))) @interface AgoraDownlinkNetworkInfo : NSObject @property(nonatomic, assign) int lastmileBufferDelayTimeMs; @property(nonatomic, assign) int bandwidthEstimationBps; diff --git a/dita/RTC-NG/API/class_echotestconfiguration.dita b/dita/RTC-NG/API/class_echotestconfiguration.dita index 67a5781219f..309a39a8b7c 100644 --- a/dita/RTC-NG/API/class_echotestconfiguration.dita +++ b/dita/RTC-NG/API/class_echotestconfiguration.dita @@ -40,6 +40,7 @@ this.channelId = null; } } + NS_SWIFT_NAME(AgoraEchoTestConfiguration) __attribute__((visibility("default"))) @interface AgoraEchoTestConfiguration : NSObject @property(strong, nonatomic) VIEW_CLASS* _Nullable view NS_SWIFT_NAME(view); diff --git a/dita/RTC-NG/API/class_encodedaudioframeinfo.dita b/dita/RTC-NG/API/class_encodedaudioframeinfo.dita index f480cb6a660..113bd95ed30 100644 --- a/dita/RTC-NG/API/class_encodedaudioframeinfo.dita +++ b/dita/RTC-NG/API/class_encodedaudioframeinfo.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraEncodedAudioFrameInfo: NSObject @property (assign, nonatomic) NSInteger samplesPerChannel; @property (assign, nonatomic) NSInteger channels; diff --git a/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index 0876108cf34..4d3b5e20e8b 100644 --- a/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -106,6 +106,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraEncodedVideoFrameInfo: NSObject @property (assign, nonatomic) AgoraVideoCodecType codecType; diff --git a/dita/RTC-NG/API/class_encryptionconfig.dita b/dita/RTC-NG/API/class_encryptionconfig.dita index 3d7ba2cf8ac..30c7960442d 100644 --- a/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/dita/RTC-NG/API/class_encryptionconfig.dita @@ -19,7 +19,8 @@ java.util.Arrays.fill(encryptionKdfSalt, (byte) 0); } } - __attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject + + __attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject @property (assign, nonatomic) AgoraEncryptionMode encryptionMode; @property (copy, nonatomic) NSString * _Nullable encryptionKey; diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 5025251be92..85fe22a4cf5 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -35,6 +35,7 @@ public int cropBottom; public int rotation; } + __attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; @property(assign, nonatomic) CMTime time; diff --git a/dita/RTC-NG/API/class_focallengthinfo.dita b/dita/RTC-NG/API/class_focallengthinfo.dita index b59e74f0082..0d9e4657c2f 100644 --- a/dita/RTC-NG/API/class_focallengthinfo.dita +++ b/dita/RTC-NG/API/class_focallengthinfo.dita @@ -26,6 +26,7 @@ '}'; } } + __attribute__((visibility("default"))) @interface AgoraFocalLengthInfo : NSObject @property(assign, nonatomic) int cameraDirection; @property(assign, nonatomic) AgoraFocalLength focalLengthType; diff --git a/dita/RTC-NG/API/class_imagetrackoptions.dita b/dita/RTC-NG/API/class_imagetrackoptions.dita index 7ddbef62c0a..87f017bbf1f 100644 --- a/dita/RTC-NG/API/class_imagetrackoptions.dita +++ b/dita/RTC-NG/API/class_imagetrackoptions.dita @@ -18,6 +18,7 @@ this.fps = fps; } } + __attribute__((visibility("default"))) @interface AgoraImageTrackOptions : NSObject @property(copy, nonatomic) NSString *_Nullable imageUrl; @property(assign, nonatomic) int fps; diff --git a/dita/RTC-NG/API/class_imediaengineevent.dita b/dita/RTC-NG/API/class_imediaengineevent.dita index 2782d80e127..ef089bb6448 100644 --- a/dita/RTC-NG/API/class_imediaengineevent.dita +++ b/dita/RTC-NG/API/class_imediaengineevent.dita @@ -7,6 +7,7 @@

+ export type IMediaEngineEvent = IAudioFrameObserver & diff --git a/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita b/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita index 85cd72561a4..8ee650b0645 100644 --- a/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita +++ b/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita @@ -7,6 +7,7 @@

+ @protocol AgoraMediaFilterExtensionDelegate <NSObject> - (NSString * __nonnull)vendor; @end diff --git a/dita/RTC-NG/API/class_imediaplayerevent.dita b/dita/RTC-NG/API/class_imediaplayerevent.dita index ce6104d724c..35bbe56908a 100644 --- a/dita/RTC-NG/API/class_imediaplayerevent.dita +++ b/dita/RTC-NG/API/class_imediaplayerevent.dita @@ -7,6 +7,7 @@

+ export type IMediaPlayerEvent = IMediaPlayerSourceObserver & diff --git a/dita/RTC-NG/API/class_imediarecorderevent.dita b/dita/RTC-NG/API/class_imediarecorderevent.dita index 270279e6944..3ca78949ec6 100644 --- a/dita/RTC-NG/API/class_imediarecorderevent.dita +++ b/dita/RTC-NG/API/class_imediarecorderevent.dita @@ -7,6 +7,7 @@

+ export type IMediaRecorderEvent = IMediaRecorderObserver; diff --git a/dita/RTC-NG/API/class_injectstreamconfig.dita b/dita/RTC-NG/API/class_injectstreamconfig.dita index f3aa4396d58..4b6419fe28d 100644 --- a/dita/RTC-NG/API/class_injectstreamconfig.dita +++ b/dita/RTC-NG/API/class_injectstreamconfig.dita @@ -34,6 +34,7 @@ audioChannels = 1; } } + __attribute__((visibility("default"))) @interface AgoraLiveInjectStreamConfig : NSObject @property(assign, nonatomic) CGSize size; diff --git a/dita/RTC-NG/API/class_intrinsicelements.dita b/dita/RTC-NG/API/class_intrinsicelements.dita index 5f6f6d6bf37..9f8b33818b2 100644 --- a/dita/RTC-NG/API/class_intrinsicelements.dita +++ b/dita/RTC-NG/API/class_intrinsicelements.dita @@ -7,6 +7,7 @@

+ interface IntrinsicElements { diff --git a/dita/RTC-NG/API/class_irtcengineevent.dita b/dita/RTC-NG/API/class_irtcengineevent.dita index 9996af2315d..c4039a5d230 100644 --- a/dita/RTC-NG/API/class_irtcengineevent.dita +++ b/dita/RTC-NG/API/class_irtcengineevent.dita @@ -7,6 +7,7 @@

+ export type IRtcEngineEvent = IRtcEngineEventHandler & diff --git a/dita/RTC-NG/API/class_ivideosink.dita b/dita/RTC-NG/API/class_ivideosink.dita index 3074f839cda..9c58dfde8cc 100644 --- a/dita/RTC-NG/API/class_ivideosink.dita +++ b/dita/RTC-NG/API/class_ivideosink.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/dita/RTC-NG/API/class_lastmileprobeconfig.dita index 81dc4f4f5df..cf754436af7 100644 --- a/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -14,6 +14,7 @@ public LastmileProbeConfig() {} } + __attribute__((visibility("default"))) @interface AgoraLastmileProbeConfig : NSObject @property (assign, nonatomic) BOOL probeUplink; @property (assign, nonatomic) BOOL probeDownlink; diff --git a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita index 67701393464..e29595f485a 100644 --- a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita +++ b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita @@ -30,6 +30,7 @@ struct FLastmileProbeOneWayResult { public int jitter; public int availableBandwidth; } + __attribute__((visibility("default"))) @interface AgoraLastmileProbeOneWayResult : NSObject @property (assign, nonatomic) NSUInteger packetLossRate; @property (assign, nonatomic) NSUInteger jitter; diff --git a/dita/RTC-NG/API/class_lastmileproberesult.dita b/dita/RTC-NG/API/class_lastmileproberesult.dita index 54f7bd0dc77..e47a6896dc3 100644 --- a/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -41,6 +41,7 @@ struct FLastmileProbeResult { public LastmileProbeOneWayResult uplinkReport = new LastmileProbeOneWayResult(); public LastmileProbeOneWayResult downlinkReport = new LastmileProbeOneWayResult(); } + __attribute__((visibility("default"))) @interface AgoraLastmileProbeResult : NSObject @property (assign, nonatomic) AgoraLastmileProbeResultState state; diff --git a/dita/RTC-NG/API/class_leavechanneloptions.dita b/dita/RTC-NG/API/class_leavechanneloptions.dita index 74368ab6a17..66fcf0d95ab 100644 --- a/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -11,6 +11,7 @@ public boolean stopAllEffect; public boolean stopMicrophoneRecording; } + __attribute__((visibility("default"))) @interface AgoraLeaveChannelOptions : NSObject @property(nonatomic, assign) BOOL stopAudioMixing; @property(nonatomic, assign) BOOL stopAllEffect; diff --git a/dita/RTC-NG/API/class_livestreamadvancedfeature.dita b/dita/RTC-NG/API/class_livestreamadvancedfeature.dita index 80d8ca89a44..2f0eaf3fdc4 100644 --- a/dita/RTC-NG/API/class_livestreamadvancedfeature.dita +++ b/dita/RTC-NG/API/class_livestreamadvancedfeature.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraLiveStreamAdvancedFeature : NSObject @property(copy, nonatomic) NSString* _Nullable featureName; diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index 7061fb99b2a..c8bc05b4057 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -225,7 +225,8 @@ this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } } - __attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject + + __attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject @property(assign, nonatomic) CGSize size; @property(assign, nonatomic) NSInteger videoBitrate; diff --git a/dita/RTC-NG/API/class_localaudiostats.dita b/dita/RTC-NG/API/class_localaudiostats.dita index f1e567f6ed0..d473ce88b5d 100644 --- a/dita/RTC-NG/API/class_localaudiostats.dita +++ b/dita/RTC-NG/API/class_localaudiostats.dita @@ -16,6 +16,7 @@ public int earMonitorDelay; public int aecEstimatedDelay; }; + __attribute__((visibility("default"))) @interface AgoraRtcLocalAudioStats : NSObject @property(assign, nonatomic) NSUInteger numChannels; @property(assign, nonatomic) NSUInteger sentSampleRate; diff --git a/dita/RTC-NG/API/class_localspatialaudioconfig.dita b/dita/RTC-NG/API/class_localspatialaudioconfig.dita index 7ef9254c471..91503d83595 100644 --- a/dita/RTC-NG/API/class_localspatialaudioconfig.dita +++ b/dita/RTC-NG/API/class_localspatialaudioconfig.dita @@ -12,6 +12,7 @@ mRtcEngine = null; } } + __attribute__((visibility("default"))) @interface AgoraLocalSpatialAudioConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; @end diff --git a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 3f8a5ebe3bd..06d0621d8c5 100644 --- a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -16,6 +16,7 @@ videoOutputConfiguration = new VideoEncoderConfiguration(); } } + __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject @property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; diff --git a/dita/RTC-NG/API/class_localvideostats.dita b/dita/RTC-NG/API/class_localvideostats.dita index 158f8c4192c..967b595ed39 100644 --- a/dita/RTC-NG/API/class_localvideostats.dita +++ b/dita/RTC-NG/API/class_localvideostats.dita @@ -30,6 +30,7 @@ public int captureBrightnessLevel; public int hwEncoderAccelerating; } + __attribute__((visibility("default"))) @interface AgoraRtcLocalVideoStats : NSObject @property(assign, nonatomic) NSUInteger sentBitrate; @property(assign, nonatomic) NSUInteger sentFrameRate; diff --git a/dita/RTC-NG/API/class_logconfig.dita b/dita/RTC-NG/API/class_logconfig.dita index e472f361cd6..837b4638f74 100644 --- a/dita/RTC-NG/API/class_logconfig.dita +++ b/dita/RTC-NG/API/class_logconfig.dita @@ -11,6 +11,7 @@ public int fileSizeInKB; public int level = Constants.LogLevel.getValue(Constants.LogLevel.LOG_LEVEL_INFO); } + __attribute__((visibility("default"))) @interface AgoraLogConfig: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @property (assign, nonatomic) NSInteger fileSizeInKB; diff --git a/dita/RTC-NG/API/class_loguploadserverinfo.dita b/dita/RTC-NG/API/class_loguploadserverinfo.dita index 3bba6b26962..d978af3cbda 100644 --- a/dita/RTC-NG/API/class_loguploadserverinfo.dita +++ b/dita/RTC-NG/API/class_loguploadserverinfo.dita @@ -27,6 +27,7 @@ serverHttps = https; } }; + __attribute__((visibility("default"))) @interface LogUploadServerInfo : NSObject @property(copy, nonatomic) NSString* _Nullable serverDomain; diff --git a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 50f991bea9a..361f3be73d0 100644 --- a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -24,7 +24,8 @@ lowlightEnhanceLevel = level; } } - __attribute__((visibility("default"))) @interface AgoraLowlightEnhanceOptions : NSObject + + __attribute__((visibility("default"))) @interface AgoraLowlightEnhanceOptions : NSObject @property(nonatomic, assign) AgoraLowlightEnhanceMode mode; @property(nonatomic, assign) AgoraLowlightEnhanceLevel level; @end diff --git a/dita/RTC-NG/API/class_mediadeviceinfo.dita b/dita/RTC-NG/API/class_mediadeviceinfo.dita index bdf5ac9de1d..cfa5ba380a3 100644 --- a/dita/RTC-NG/API/class_mediadeviceinfo.dita +++ b/dita/RTC-NG/API/class_mediadeviceinfo.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_mediaplayercontroller.dita b/dita/RTC-NG/API/class_mediaplayercontroller.dita index d347886bf69..5512c8be5ff 100644 --- a/dita/RTC-NG/API/class_mediaplayercontroller.dita +++ b/dita/RTC-NG/API/class_mediaplayercontroller.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index b2c7b499ace..9fee9e100ad 100644 --- a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -22,6 +22,7 @@ this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; } } + __attribute__((visibility("default"))) @interface AgoraMediaRecorderConfiguration : NSObject @property(copy, nonatomic) NSString* _Nonnull storagePath; @property(assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormat; diff --git a/dita/RTC-NG/API/class_mediasource.dita b/dita/RTC-NG/API/class_mediasource.dita index 70c4f744b41..5adda6d0bbf 100644 --- a/dita/RTC-NG/API/class_mediasource.dita +++ b/dita/RTC-NG/API/class_mediasource.dita @@ -17,6 +17,7 @@ boolean enableMultiAudioTrack; IMediaPlayerCustomDataProvider provider; } + __attribute__((visibility("default"))) @interface AgoraMediaSource : NSObject @property(copy, nonatomic) NSString *_Nullable url; @property(copy, nonatomic) NSString *_Nullable uri; diff --git a/dita/RTC-NG/API/class_metadata.dita b/dita/RTC-NG/API/class_metadata.dita index 1350c810d6a..3a5d961b1e0 100644 --- a/dita/RTC-NG/API/class_metadata.dita +++ b/dita/RTC-NG/API/class_metadata.dita @@ -7,6 +7,7 @@

+ struct Metadata { unsigned int uid; diff --git a/dita/RTC-NG/API/class_music.dita b/dita/RTC-NG/API/class_music.dita index 63456ff3971..2896151b024 100644 --- a/dita/RTC-NG/API/class_music.dita +++ b/dita/RTC-NG/API/class_music.dita @@ -86,6 +86,7 @@ return climaxSegments; } } + __attribute__((visibility("default"))) @interface AgoraMusic : NSObject @property(nonatomic, assign) NSInteger songCode; @property(nonatomic, assign) NSInteger type; diff --git a/dita/RTC-NG/API/class_musiccacheinfo.dita b/dita/RTC-NG/API/class_musiccacheinfo.dita index 314f3e7d1f6..2891c7f51fd 100644 --- a/dita/RTC-NG/API/class_musiccacheinfo.dita +++ b/dita/RTC-NG/API/class_musiccacheinfo.dita @@ -12,6 +12,7 @@ public MusicCacheInfo() {} } + __attribute__((visibility("default"))) @interface AgoraMusicCacheInfo : NSObject @property(nonatomic, assign) NSInteger songCode; diff --git a/dita/RTC-NG/API/class_musicchartcollection.dita b/dita/RTC-NG/API/class_musicchartcollection.dita index 6b45a23ac5c..ca86e2ca182 100644 --- a/dita/RTC-NG/API/class_musicchartcollection.dita +++ b/dita/RTC-NG/API/class_musicchartcollection.dita @@ -7,6 +7,7 @@

+ class MusicChartCollection : public RefCountInterface { public: diff --git a/dita/RTC-NG/API/class_musicchartinfo.dita b/dita/RTC-NG/API/class_musicchartinfo.dita index 9ecddd1fd0c..2662afa6de7 100644 --- a/dita/RTC-NG/API/class_musicchartinfo.dita +++ b/dita/RTC-NG/API/class_musicchartinfo.dita @@ -26,6 +26,7 @@ return type; } } + __attribute__((visibility("default"))) @interface AgoraMusicChartInfo : NSObject @property (nonatomic, copy) NSString *chartName; @property (nonatomic, assign) NSInteger identify; diff --git a/dita/RTC-NG/API/class_musiccollection.dita b/dita/RTC-NG/API/class_musiccollection.dita index f67fe25c25c..6111a7c5dbb 100644 --- a/dita/RTC-NG/API/class_musiccollection.dita +++ b/dita/RTC-NG/API/class_musiccollection.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraMusicCollection : NSObject @property(nonatomic, assign) NSInteger count; @property(nonatomic, assign) NSInteger total; diff --git a/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita b/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita index fca3749d4a1..6f642dc4453 100644 --- a/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita +++ b/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita @@ -22,6 +22,7 @@ eventHandler = null; } } + __attribute__((visibility("default"))) @interface AgoraMusicContentCenterConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; @property (nonatomic, copy) NSString *appId; diff --git a/dita/RTC-NG/API/class_mvproperty.dita b/dita/RTC-NG/API/class_mvproperty.dita index e9cc7974d45..3dd6c89175f 100644 --- a/dita/RTC-NG/API/class_mvproperty.dita +++ b/dita/RTC-NG/API/class_mvproperty.dita @@ -26,6 +26,7 @@ return resolution; } } + __attribute__((visibility("default"))) @interface AgoraMvProperty : NSObject @property (nonatomic, copy) NSString *resolution; @property (nonatomic, copy) NSString *bandwidth; diff --git a/dita/RTC-NG/API/class_playerplaybackstats.dita b/dita/RTC-NG/API/class_playerplaybackstats.dita index 8f09ad872b2..fb42818cc20 100644 --- a/dita/RTC-NG/API/class_playerplaybackstats.dita +++ b/dita/RTC-NG/API/class_playerplaybackstats.dita @@ -12,6 +12,7 @@ private long audioBitrateInKbps; private long totalBitrateInKbps; } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerPlaybackStats : NSObject @property(assign, nonatomic) NSInteger videoFps; @property(assign, nonatomic) NSInteger videoBitrateInKbps; diff --git a/dita/RTC-NG/API/class_playerstreaminfo.dita b/dita/RTC-NG/API/class_playerstreaminfo.dita index 5462467e12d..1379173969b 100644 --- a/dita/RTC-NG/API/class_playerstreaminfo.dita +++ b/dita/RTC-NG/API/class_playerstreaminfo.dita @@ -23,6 +23,7 @@ public MediaStreamInfo() {} } + __attribute__((visibility("default"))) @interface AgoraMediaStreamInfo : NSObject @property(nonatomic, assign) NSInteger streamIndex; diff --git a/dita/RTC-NG/API/class_playerupdatedinfo.dita b/dita/RTC-NG/API/class_playerupdatedinfo.dita index 1dee52c433c..608c9697e47 100644 --- a/dita/RTC-NG/API/class_playerupdatedinfo.dita +++ b/dita/RTC-NG/API/class_playerupdatedinfo.dita @@ -14,6 +14,7 @@ private long audioChannels; private long audioBitsPerSample; } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerUpdatedInfo : NSObject @property(copy, nonatomic) NSString *_Nullable deviceId; @property(assign, nonatomic) NSInteger videoHeight; diff --git a/dita/RTC-NG/API/class_plugin.dita b/dita/RTC-NG/API/class_plugin.dita index 2897dc96c40..ccd55d9ee46 100644 --- a/dita/RTC-NG/API/class_plugin.dita +++ b/dita/RTC-NG/API/class_plugin.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_plugininfo.dita b/dita/RTC-NG/API/class_plugininfo.dita index a962fd3789a..543b833d8dc 100644 --- a/dita/RTC-NG/API/class_plugininfo.dita +++ b/dita/RTC-NG/API/class_plugininfo.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_recorderinfo.dita b/dita/RTC-NG/API/class_recorderinfo.dita index f555d79ec2f..691d30c7c9e 100644 --- a/dita/RTC-NG/API/class_recorderinfo.dita +++ b/dita/RTC-NG/API/class_recorderinfo.dita @@ -18,6 +18,7 @@ this.fileSize = fileSize; } } + __attribute__((visibility("default"))) @interface AgoraMediaRecorderInfo : NSObject @property(copy, nonatomic) NSString* _Nonnull recorderFileName; @property(assign, nonatomic) NSUInteger durationMs; diff --git a/dita/RTC-NG/API/class_recorderstreaminfo.dita b/dita/RTC-NG/API/class_recorderstreaminfo.dita index 81ed3d070dd..126ff9d410b 100644 --- a/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -10,6 +10,7 @@ public String channelId; public int uid; } + __attribute__((visibility("default"))) @interface AgoraRecorderStreamInfo: NSObject @property (nonatomic, copy) NSString *_Nonnull channelId; diff --git a/dita/RTC-NG/API/class_rect.dita b/dita/RTC-NG/API/class_rect.dita index 1fb536e2e84..d8ff556b8a0 100644 --- a/dita/RTC-NG/API/class_rect.dita +++ b/dita/RTC-NG/API/class_rect.dita @@ -7,6 +7,7 @@

+ typedef struct Rect { int top; diff --git a/dita/RTC-NG/API/class_rectangle.dita b/dita/RTC-NG/API/class_rectangle.dita index c4f3c2871fb..a0f73e03f48 100644 --- a/dita/RTC-NG/API/class_rectangle.dita +++ b/dita/RTC-NG/API/class_rectangle.dita @@ -25,6 +25,7 @@ height = height_; } }; + struct Rectangle { int x; diff --git a/dita/RTC-NG/API/class_remoteaudiostats.dita b/dita/RTC-NG/API/class_remoteaudiostats.dita index e97870ee9d8..2d7e8a9f11e 100644 --- a/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -24,6 +24,7 @@ public int qualityChangedReason; public int e2eDelay; } + __attribute__((visibility("default"))) @interface AgoraRtcRemoteAudioStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger quality; diff --git a/dita/RTC-NG/API/class_remotevideostats.dita b/dita/RTC-NG/API/class_remotevideostats.dita index 21999ee31dc..24b5a3dda5b 100644 --- a/dita/RTC-NG/API/class_remotevideostats.dita +++ b/dita/RTC-NG/API/class_remotevideostats.dita @@ -24,6 +24,7 @@ public long totalActiveTime; public long publishDuration; } + __attribute__((visibility("default"))) @interface AgoraRtcRemoteVideoStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger delay __deprecated; diff --git a/dita/RTC-NG/API/class_remotevoicepositioninfo.dita b/dita/RTC-NG/API/class_remotevoicepositioninfo.dita index 3c590cc92a2..c29540b66b1 100644 --- a/dita/RTC-NG/API/class_remotevoicepositioninfo.dita +++ b/dita/RTC-NG/API/class_remotevoicepositioninfo.dita @@ -15,6 +15,7 @@ forward = new float[] {0.0f, 0.0f, 0.0f}; } } + __attribute__((visibility("default"))) @interface AgoraRemoteVoicePositionInfo : NSObject @property(assign, nonatomic) simd_float3 position; @property(assign, nonatomic) simd_float3 forward; diff --git a/dita/RTC-NG/API/class_rendererconfig.dita b/dita/RTC-NG/API/class_rendererconfig.dita index ff2c5ed43b3..6d5573823d2 100644 --- a/dita/RTC-NG/API/class_rendererconfig.dita +++ b/dita/RTC-NG/API/class_rendererconfig.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rendereroptions.dita b/dita/RTC-NG/API/class_rendereroptions.dita index e8b1482cbcc..e5d957d237d 100644 --- a/dita/RTC-NG/API/class_rendereroptions.dita +++ b/dita/RTC-NG/API/class_rendereroptions.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita b/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita index 4633dcd2f16..8797be37b97 100644 --- a/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita +++ b/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtc_local_view_textureview.dita b/dita/RTC-NG/API/class_rtc_local_view_textureview.dita index b16c6d7132a..e7818da3175 100644 --- a/dita/RTC-NG/API/class_rtc_local_view_textureview.dita +++ b/dita/RTC-NG/API/class_rtc_local_view_textureview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita b/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita index d916254a205..bc598022815 100644 --- a/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita +++ b/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita b/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita index 94d5917c08c..affba723533 100644 --- a/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita +++ b/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita b/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita index 35cc14500fe..c3414ff276e 100644 --- a/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita +++ b/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita b/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita index 18d3da27e47..2d5f5be5414 100644 --- a/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita +++ b/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtcconnection.dita b/dita/RTC-NG/API/class_rtcconnection.dita index 2c2caecb169..525fbf8518d 100644 --- a/dita/RTC-NG/API/class_rtcconnection.dita +++ b/dita/RTC-NG/API/class_rtcconnection.dita @@ -40,7 +40,8 @@ return sb.toString(); } } - __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> + + __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> @property (nonatomic, copy) NSString *_Nonnull channelId; @property (nonatomic, assign) NSUInteger localUid; diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index cc1541b0797..2750043646d 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -25,6 +25,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraRtcEngineConfig: NSObject @property (copy, nonatomic) NSString * _Nullable appId; diff --git a/dita/RTC-NG/API/class_rtcimage.dita b/dita/RTC-NG/API/class_rtcimage.dita index 432c901bfb6..d00231f1009 100644 --- a/dita/RTC-NG/API/class_rtcimage.dita +++ b/dita/RTC-NG/API/class_rtcimage.dita @@ -35,6 +35,7 @@ this.alpha = 1.0; } } + __attribute__((visibility("default"))) @interface AgoraImage : NSObject @property(strong, nonatomic) NSURL *_Nonnull url; @property(assign, nonatomic) CGRect rect; diff --git a/dita/RTC-NG/API/class_rtcrendererviewprops.dita b/dita/RTC-NG/API/class_rtcrendererviewprops.dita index 06ed275410c..061d0d19516 100644 --- a/dita/RTC-NG/API/class_rtcrendererviewprops.dita +++ b/dita/RTC-NG/API/class_rtcrendererviewprops.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index 0dce50a04b7..b3d5033feff 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -32,6 +32,7 @@ public double memoryTotalUsageRatio; public int memoryAppUsageInKbytes; } + __attribute__((visibility("default"))) @interface AgoraChannelStats : NSObject @property(assign, nonatomic) NSUInteger duration; @property(assign, nonatomic) NSUInteger txBytes; diff --git a/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/dita/RTC-NG/API/class_screencaptureconfiguration.dita index 015e5b089e6..b6546470b7d 100644 --- a/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -7,6 +7,7 @@

+ #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC)) __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguration: NSObject diff --git a/dita/RTC-NG/API/class_screencaptureparameters.dita b/dita/RTC-NG/API/class_screencaptureparameters.dita index 00118249c5f..8218753dac7 100644 --- a/dita/RTC-NG/API/class_screencaptureparameters.dita +++ b/dita/RTC-NG/API/class_screencaptureparameters.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraScreenCaptureParameters: NSObject @property (assign, nonatomic) CGSize dimensions; @property (assign, nonatomic) NSInteger frameRate; diff --git a/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/dita/RTC-NG/API/class_screencapturesourceinfo.dita index f2a44dba46b..ec00402dcd0 100644 --- a/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -7,6 +7,7 @@

+ __attribute__((visibility("default"))) @interface AgoraScreenCaptureSourceInfo : NSObject @property(assign, nonatomic) AgoraScreenCaptureSourceType type; @property(assign, nonatomic) CGWindowID sourceId; diff --git a/dita/RTC-NG/API/class_screensymbol.dita b/dita/RTC-NG/API/class_screensymbol.dita index 0678f500e6a..356de9f853c 100644 --- a/dita/RTC-NG/API/class_screensymbol.dita +++ b/dita/RTC-NG/API/class_screensymbol.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_sdkbuildinfo.dita b/dita/RTC-NG/API/class_sdkbuildinfo.dita index adf4b2a5dbe..444799818ec 100644 --- a/dita/RTC-NG/API/class_sdkbuildinfo.dita +++ b/dita/RTC-NG/API/class_sdkbuildinfo.dita @@ -7,6 +7,7 @@

+ export class SDKBuildInfo { diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index 5a5c54c0fb7..13608194b00 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -21,6 +21,7 @@ this.greenCapacity = 0.5f; } } + __attribute__((visibility("default"))) @interface AgoraSegmentationProperty: NSObject @property(nonatomic, assign) SegModelType modelType; @property(nonatomic, assign) float greenCapacity; diff --git a/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/dita/RTC-NG/API/class_simulcaststreamconfig.dita index b6c4f42d839..4be5c2a41c6 100644 --- a/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -24,6 +24,7 @@ this.framerate = framerate; } } + __attribute__((visibility("default"))) @interface AgoraSimulcastStreamConfig: NSObject @property (assign, nonatomic) int bitrate; @property (assign, nonatomic) int framerate; diff --git a/dita/RTC-NG/API/class_size.dita b/dita/RTC-NG/API/class_size.dita index df1cc37740d..3bc7caed785 100644 --- a/dita/RTC-NG/API/class_size.dita +++ b/dita/RTC-NG/API/class_size.dita @@ -7,6 +7,7 @@

+ struct SIZE { int width; diff --git a/dita/RTC-NG/API/class_snapshotconfig.dita b/dita/RTC-NG/API/class_snapshotconfig.dita index 0f1563a74e1..832a6e24a43 100644 --- a/dita/RTC-NG/API/class_snapshotconfig.dita +++ b/dita/RTC-NG/API/class_snapshotconfig.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_spatialaudioparams.dita b/dita/RTC-NG/API/class_spatialaudioparams.dita index f6e01a9b249..1e9c34e85ab 100644 --- a/dita/RTC-NG/API/class_spatialaudioparams.dita +++ b/dita/RTC-NG/API/class_spatialaudioparams.dita @@ -48,7 +48,8 @@ return enable_doppler; } } - __attribute__((visibility("default"))) @interface AgoraSpatialAudioParams : NSObject + + __attribute__((visibility("default"))) @interface AgoraSpatialAudioParams : NSObject @property(assign, nonatomic) double speaker_azimuth; @property(assign, nonatomic) double speaker_elevation; @property(assign, nonatomic) double speaker_distance; diff --git a/dita/RTC-NG/API/class_spatialaudiozone.dita b/dita/RTC-NG/API/class_spatialaudiozone.dita index b7bbe75dfb2..77ed2fddc66 100644 --- a/dita/RTC-NG/API/class_spatialaudiozone.dita +++ b/dita/RTC-NG/API/class_spatialaudiozone.dita @@ -64,6 +64,7 @@ return audioAttenuation; } } + __attribute__((visibility("default"))) @interface AgoraSpatialAudioZone : NSObject @property(assign, nonatomic) NSInteger zoneSetId; @property(nonatomic) simd_float3 position; diff --git a/dita/RTC-NG/API/class_srcinfo.dita b/dita/RTC-NG/API/class_srcinfo.dita index 669fb21f9d8..bf7ed1c1392 100644 --- a/dita/RTC-NG/API/class_srcinfo.dita +++ b/dita/RTC-NG/API/class_srcinfo.dita @@ -12,6 +12,7 @@ public SrcInfo() {} } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerSrcInfo : NSObject @property(assign, nonatomic) int bitrateInKbps; @property(copy, nonatomic) NSString *_Nullable name; diff --git a/dita/RTC-NG/API/class_thumbimagebuffer.dita b/dita/RTC-NG/API/class_thumbimagebuffer.dita index 380c3acc768..708cf28f7e4 100644 --- a/dita/RTC-NG/API/class_thumbimagebuffer.dita +++ b/dita/RTC-NG/API/class_thumbimagebuffer.dita @@ -7,6 +7,7 @@

+ struct ThumbImageBuffer { const char* buffer; diff --git a/dita/RTC-NG/API/class_transcodinguser.dita b/dita/RTC-NG/API/class_transcodinguser.dita index a6ae4e651fe..beb289e1c72 100644 --- a/dita/RTC-NG/API/class_transcodinguser.dita +++ b/dita/RTC-NG/API/class_transcodinguser.dita @@ -23,6 +23,7 @@ alpha = 1; } } + __attribute__((visibility("default"))) @interface AgoraLiveTranscodingUser : NSObject @property(assign, nonatomic) NSUInteger uid; diff --git a/dita/RTC-NG/API/class_transcodingvideostream.dita b/dita/RTC-NG/API/class_transcodingvideostream.dita index b6c7370edcd..5c0c3617e28 100644 --- a/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -31,6 +31,7 @@ this.mirror = false; } }; + __attribute__((visibility("default"))) @interface AgoraTranscodingVideoStream: NSObject @property (assign, nonatomic) AgoraVideoSourceType sourceType; @property (assign, nonatomic) NSUInteger remoteUserUid; diff --git a/dita/RTC-NG/API/class_uplinknetworkinfo.dita b/dita/RTC-NG/API/class_uplinknetworkinfo.dita index 29c5d36d735..fd24f160511 100644 --- a/dita/RTC-NG/API/class_uplinknetworkinfo.dita +++ b/dita/RTC-NG/API/class_uplinknetworkinfo.dita @@ -9,6 +9,7 @@ public static class UplinkNetworkInfo { public int video_encoder_target_bitrate_bps; }; + __attribute__((visibility("default"))) @interface AgoraUplinkNetworkInfo : NSObject @property(nonatomic, assign) int videoEncoderTargetBitrateBps; @end diff --git a/dita/RTC-NG/API/class_user.dita b/dita/RTC-NG/API/class_user.dita index 1bb5814e347..7bf5274a7af 100644 --- a/dita/RTC-NG/API/class_user.dita +++ b/dita/RTC-NG/API/class_user.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/dita/RTC-NG/API/class_useraudiospectruminfo.dita index c38660d69d4..7f66b04a989 100644 --- a/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -11,6 +11,7 @@ private AudioSpectrumInfo audioSpectrumInfo; } + __attribute__((visibility("default"))) @interface AgoraAudioSpectrumInfo : NSObject @property(nonatomic, assign) NSInteger uid; diff --git a/dita/RTC-NG/API/class_userinfo.dita b/dita/RTC-NG/API/class_userinfo.dita index bd4e61f9c74..a1241e199ad 100644 --- a/dita/RTC-NG/API/class_userinfo.dita +++ b/dita/RTC-NG/API/class_userinfo.dita @@ -22,6 +22,7 @@ public uint uid; public string userAccount; } + __attribute__((visibility("default"))) @interface AgoraUserInfo: NSObject @property(assign, nonatomic) NSUInteger uid; @property (copy, nonatomic) NSString * _Nullable userAccount; diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 41136864a46..b3ec4c4490f 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -48,6 +48,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraRtcVideoCanvas : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger subviewUid; diff --git a/dita/RTC-NG/API/class_videodenoiseroptions.dita b/dita/RTC-NG/API/class_videodenoiseroptions.dita index d0a7be8735e..743025672b2 100644 --- a/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -26,6 +26,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraVideoDenoiserOptions : NSObject @property(nonatomic, assign) AgoraVideoDenoiserMode mode; @property(nonatomic, assign) AgoraVideoDenoiserLevel level; diff --git a/dita/RTC-NG/API/class_videodeviceinfo.dita b/dita/RTC-NG/API/class_videodeviceinfo.dita index 822f6ed7add..6537913aec5 100644 --- a/dita/RTC-NG/API/class_videodeviceinfo.dita +++ b/dita/RTC-NG/API/class_videodeviceinfo.dita @@ -7,6 +7,7 @@

+ export class VideoDeviceInfo { diff --git a/dita/RTC-NG/API/class_videodimensions.dita b/dita/RTC-NG/API/class_videodimensions.dita index ad8f47f174b..c3ce7434f2c 100644 --- a/dita/RTC-NG/API/class_videodimensions.dita +++ b/dita/RTC-NG/API/class_videodimensions.dita @@ -20,6 +20,7 @@ this.height = 0; } } + struct VideoDimensions { int width; diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index 5a108fd2d46..623a1590c07 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -247,6 +247,7 @@ this.codecType = VIDEO_CODEC_TYPE.VIDEO_CODEC_H265; } } + __attribute__((visibility("default"))) @interface AgoraVideoEncoderConfiguration : NSObject @property(assign, nonatomic) CGSize dimensions; @property(assign, nonatomic) AgoraVideoCodecType codecType; diff --git a/dita/RTC-NG/API/class_videoformat.dita b/dita/RTC-NG/API/class_videoformat.dita index 9909a663053..488ce7f0755 100644 --- a/dita/RTC-NG/API/class_videoformat.dita +++ b/dita/RTC-NG/API/class_videoformat.dita @@ -12,6 +12,7 @@ public int fps; } + struct VideoFormat { int width; diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 9374298f11a..af9ee2e6473 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -241,6 +241,7 @@ buffer.release(); } } + __attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @property (nonatomic, assign) int width; diff --git a/dita/RTC-NG/API/class_videoframebufferconfig.dita b/dita/RTC-NG/API/class_videoframebufferconfig.dita index 53335fd8b98..5118f6b77ff 100644 --- a/dita/RTC-NG/API/class_videoframebufferconfig.dita +++ b/dita/RTC-NG/API/class_videoframebufferconfig.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_videolayout.dita b/dita/RTC-NG/API/class_videolayout.dita index 3ec6dfdeb0c..5f508e04c68 100644 --- a/dita/RTC-NG/API/class_videolayout.dita +++ b/dita/RTC-NG/API/class_videolayout.dita @@ -23,6 +23,7 @@ + ", height=" + height + '}'; } } + __attribute__((visibility("default"))) @interface AgoraVideoLayout: NSObject @property(copy, nonatomic) NSString* _Nonnull channelId NS_SWIFT_NAME(channelId); @property (assign, nonatomic) NSUInteger uid NS_SWIFT_NAME(uid); diff --git a/dita/RTC-NG/API/class_videorenderingtracinginfo.dita b/dita/RTC-NG/API/class_videorenderingtracinginfo.dita index 5b54d6440ee..f80cddb4775 100644 --- a/dita/RTC-NG/API/class_videorenderingtracinginfo.dita +++ b/dita/RTC-NG/API/class_videorenderingtracinginfo.dita @@ -15,6 +15,7 @@ public int remoteJoined2UnmuteVideo; public int remoteJoined2PacketReceived; }; + NS_SWIFT_NAME(AgoraVideoRenderingTracingInfo) __attribute__((visibility("default"))) @interface AgoraVideoRenderingTracingInfo : NSObject @property (assign, nonatomic) NSInteger elapsedTime NS_SWIFT_NAME(elapsedTime); @property (assign, nonatomic) NSInteger start2JoinChannel NS_SWIFT_NAME(start2JoinChannel); diff --git a/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/dita/RTC-NG/API/class_videosubscriptionoptions.dita index eea321c754d..8d5516aa482 100644 --- a/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -41,7 +41,8 @@ this.streamType = streamType; } } - __attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject + + __attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject @property (nonatomic, assign) AgoraVideoStreamType type; @property (nonatomic, assign) bool encodedFrameOnly; diff --git a/dita/RTC-NG/API/class_videoviewcontroller.dita b/dita/RTC-NG/API/class_videoviewcontroller.dita index 6f6154db098..3342d93910e 100644 --- a/dita/RTC-NG/API/class_videoviewcontroller.dita +++ b/dita/RTC-NG/API/class_videoviewcontroller.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_videoviewcontrollerbase.dita b/dita/RTC-NG/API/class_videoviewcontrollerbase.dita index a11b14f7689..850efb41043 100644 --- a/dita/RTC-NG/API/class_videoviewcontrollerbase.dita +++ b/dita/RTC-NG/API/class_videoviewcontrollerbase.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index e604a1bbd80..e039c8cabce 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -34,6 +34,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraVirtualBackgroundSource : NSObject @property(nonatomic, assign) AgoraVirtualBackgroundSourceType backgroundSourceType NS_SWIFT_NAME(backgroundSourceType); @property(nonatomic, assign) NSUInteger color NS_SWIFT_NAME(color); diff --git a/dita/RTC-NG/API/class_watermarkoptions.dita b/dita/RTC-NG/API/class_watermarkoptions.dita index 07d7bc44cfe..9b8c8594ed6 100644 --- a/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/dita/RTC-NG/API/class_watermarkoptions.dita @@ -30,6 +30,7 @@ public Rectangle positionInPortraitMode = new Rectangle(); } + __attribute__((visibility("default"))) @interface WatermarkOptions : NSObject @property(assign, nonatomic) BOOL visibleInPreview; @property(assign, nonatomic) CGRect positionInLandscapeMode; diff --git a/dita/RTC-NG/API/class_watermarkratio.dita b/dita/RTC-NG/API/class_watermarkratio.dita index 00f2b5b15b9..9052e04462a 100644 --- a/dita/RTC-NG/API/class_watermarkratio.dita +++ b/dita/RTC-NG/API/class_watermarkratio.dita @@ -7,6 +7,7 @@

+ struct WatermarkRatio { float xRatio; diff --git a/dita/RTC-NG/API/class_windowinfo.dita b/dita/RTC-NG/API/class_windowinfo.dita index 053825e49dd..ad13269991a 100644 --- a/dita/RTC-NG/API/class_windowinfo.dita +++ b/dita/RTC-NG/API/class_windowinfo.dita @@ -7,6 +7,7 @@

+ diff --git a/dita/RTC-NG/API/construct_videoviewcontroller.dita b/dita/RTC-NG/API/construct_videoviewcontroller.dita index 05270543ddf..636424b8f78 100644 --- a/dita/RTC-NG/API/construct_videoviewcontroller.dita +++ b/dita/RTC-NG/API/construct_videoviewcontroller.dita @@ -14,6 +14,7 @@

+ diff --git a/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita b/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita index c140a3808b1..5e75dcbdd84 100644 --- a/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita +++ b/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public abstract int destroyCustomVideoTrack(int video_track_id); - + public abstract destroyCustomVideoTrack(videoTrackId: number): number; - (int)destroyCustomVideoTrack:(NSUInteger)videoTrackId; virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita index 24ceaa7d488..e0faf383c4e 100644 --- a/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita @@ -14,7 +14,7 @@

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

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

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

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

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

public abstract int enableEncryption(boolean enabled, EncryptionConfig config); - + public abstract enableEncryption(enabled: boolean, config: EncryptionConfig): number; - (int)enableEncryption:(bool)enabled encryptionConfig:(AgoraEncryptionConfig * _Nonnull)config; virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/dita/RTC-NG/API/api_irtcengine_enableextension.dita index 8b4286e99b1..8004aac7fa2 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -15,7 +15,7 @@

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

public abstract int enableFaceDetection(boolean enabled); - + public abstract enableFaceDetection(enabled: boolean): number; - (int)enableFaceDetection:(bool)enable NS_SWIFT_NAME(enableFaceDetection(_:)); virtual int enableFaceDetection(bool enabled) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita index ccc3dab3088..7f2f9bd4e07 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita @@ -14,7 +14,7 @@

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

public abstract int enableInEarMonitoring(boolean enabled, int includeAudioFilters); - + public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters: number): number; - (int)enableInEarMonitoring:(BOOL)enabled includeAudioFilters:(AgoraEarMonitoringFilterType)includeAudioFilters; virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita index 195945110a9..a1562c51692 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita @@ -14,7 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public abstract int setClientRole(int role, ClientRoleOptions options); - + public abstract setClientRole(role: number, options?: ClientRoleOptions): number; - (int)setClientRole:(AgoraClientRole)role options:(AgoraClientRoleOptions * _Nullable)options; virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita b/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita index b8131a9ce2b..8e100e01766 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita @@ -14,7 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

public abstract int setParameters(String parameters); - + public abstract setParameters(parameters: string): number; - (int)setParameters:(NSString * _Nonnull)options NS_SWIFT_NAME(setParameters(_:)); virtual int setParameters(const char* parameters) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index c514ab4d33b..cd245b97537 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -14,7 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

public abstract int startAudioMixing(String filePath, boolean loopback, int cycle, int startPos); - + public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number; - (int)startAudioMixing:(NSString* _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle startPos:(NSInteger)startPos; virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 25bcad407a6..764ce88631e 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -14,7 +14,7 @@

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

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

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

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

public abstract int startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); - + public abstract startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration:ChannelMediaRelayConfiguration):number; - (int)startOrUpdateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config NS_SWIFT_NAME(startOrUpdateChannelMediaRelay(_:)); virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview.dita b/dita/RTC-NG/API/api_irtcengine_startpreview.dita index dcca663dd5b..a67d13e9d80 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview.dita @@ -14,7 +14,7 @@

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

public abstract int startPreview(Constants.VideoSourceType sourceType); - + public abstract startPreview(sourceType?: Constants.VideoSourceType): number; - (int)startPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(startPreview(_:)); virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita index b4800a3f33c..2e10af42112 100644 --- a/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita +++ b/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita @@ -14,7 +14,7 @@

public abstract int startRtmpStreamWithTranscoding(String url, LiveTranscoding transcoding); - + public abstract startRtmpStreamWithTranscoding(url: string, transcoding: LiveTranscoding): number; - (int)startRtmpStreamWithTranscoding:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita index 35a08fd1b7f..bd290e64502 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -14,7 +14,7 @@

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

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

public abstract int stopCameraCapture(Constants.VideoSourceType sourceType); - + public abstract stopCameraCapture(sourceType: Constants.VideoSourceType): number; - (int)stopCameraCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopCameraCapture(_:)); virtual int stopCameraCapture(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita index f145c202387..dea0ffe7676 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -14,7 +14,7 @@

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

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

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

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

public abstract int stopPreview(Constants.VideoSourceType sourceType); - + public abstract stopPreview(sourceType?: Constants.VideoSourceType): number; - (int)stopPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopPreview(_:)); virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita index 5481719c94a..e74ba09c789 100644 --- a/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita +++ b/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita @@ -14,7 +14,7 @@

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

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

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

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

public abstract int takeSnapshot(int uid, String filePath); - + public abstract takeSnapshot(uid: number, filePath: string): number; - (NSInteger)takeSnapshot:(NSInteger)uid filePath:(NSString* _Nonnull)filePath; virtual int takeSnapshot(uid_t uid, const char* filePath) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita b/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita index aaac4d54e41..19927fbfe71 100644 --- a/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita +++ b/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita @@ -14,7 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public void onAudioMixingPositionChanged(long position) {} - + onAudioMixingPositionChanged?:(position:bigint) => void - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingPositionChanged:(NSInteger)position NS_SWIFT_NAME(rtcEngine(_:audioMixingPositionChanged:)); virtual void onAudioMixingPositionChanged(int64_t position) {} DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioMixingPositionChanged, int64, position); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index fcf29d32d5b..525f76f3e66 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -14,7 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

boolean onRenderVideoFrame(String channelId, int uid, VideoFrame videoFrame); - + onRenderVideoFrame?: (channelId: string, uid: number, videoFrame: VideoFrame) => boolean; - (BOOL)onRenderVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame uid:(NSUInteger)uid channelId:(NSString * _Nonnull)channelId; diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index d6982e9b50b..c705bd7ed53 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -19,7 +19,12 @@ this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; } } - + export class AdvanceOptions { + public encodingPreference:ENCODING_PREFERENCE = ENCODING_PREFERENCE.PREFER_AUTO; + public compressionPreference:COMPRESSION_PREFERENCE = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; + constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; diff --git a/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/dita/RTC-NG/API/class_agorafacepositioninfo.dita index e2cac637544..c7cad08da1f 100644 --- a/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -13,7 +13,18 @@ public int height; public int distance; } - + export class AgoraFacePositionInfo { + + public x:number = 0; + + public y:number = 0; + + public width:number = 0 ; + + public height:number = 0; + + public distance:number = -1; +} NS_SWIFT_NAME(AgoraFacePositionInfo) __attribute__((visibility("default"))) @interface AgoraFacePositionInfo : NSObject @property(assign, nonatomic) NSInteger x NS_SWIFT_NAME(x); @property(assign, nonatomic) NSInteger y NS_SWIFT_NAME(y); diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index 91d4042f481..77d4f814b71 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -22,7 +22,29 @@ recordingChannel = 1; } } - + export class AudioRecordingConfiguration{ + + public filePath:string; + + public sampleRate:number; + + public codec:boolean; + + public fileRecordOption:number; + + public quality:number; + + public recordingChannel:number; + + public constructor(filepath:string) { + this.filePath = filepath; + this.sampleRate = 32000; + this.codec = true; + this.fileRecordOption = Constants.AudioRecordingType.AUDIO_FILE_RECORDING_MIXED; + this.quality = Constants.AudioRecordingQuality.AUDIO_RECORDING_QUALITY_MEDIUM; + this.recordingChannel = 1; + } +} __attribute__((visibility("default"))) @interface AgoraAudioRecordingConfiguration: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @property (assign, nonatomic) NSUInteger sampleRate; diff --git a/dita/RTC-NG/API/class_audiotrackconfig.dita b/dita/RTC-NG/API/class_audiotrackconfig.dita index ebb452fe064..95e46f8b937 100644 --- a/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -14,7 +14,10 @@ this.enableLocalPlayback = true; } } - + export class AudioTrackConfig { + + public enableLocalPlayback: boolean = true; +} NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject @property (assign, nonatomic) BOOL enableLocalPlayback NS_SWIFT_NAME(enableLocalPlayback); diff --git a/dita/RTC-NG/API/class_audiovolumeinfo.dita b/dita/RTC-NG/API/class_audiovolumeinfo.dita index 094e0ffe9ee..8fc234cc804 100644 --- a/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -12,7 +12,15 @@ public int vad; public double voicePitch; } - + export class AudioVolumeInfo { + + public uid:number = 0; + + public volume:number = 0; + public vad:number = 0; + + public voicePitch:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcAudioVolumeInfo : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger volume; diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 745b8ed31aa..f473f4a11ac 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -153,7 +153,11 @@ + ", cameraFocalLengthType=" + cameraFocalLengthType + '}'; } } - + export class CameraCapturerConfiguration { + public cameraDirection: Constants.CameraDirection = Constants.CameraDirection.CAMERA_FRONT; + public cameraFormat: CaptureFormat = new CaptureFormat(); + public followEncodeDimensionRatio: boolean = true; +} __attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject #if TARGET_OS_IOS @property (assign, nonatomic) AgoraCameraDirection cameraDirection; diff --git a/dita/RTC-NG/API/class_channelmediainfo.dita b/dita/RTC-NG/API/class_channelmediainfo.dita index 4f2da9b689b..4d52b0f08bc 100644 --- a/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/dita/RTC-NG/API/class_channelmediainfo.dita @@ -12,7 +12,19 @@ public String token = null; public int uid = 0; } - + export class ChannelMediaInfo { + + public channelName:string|null; + + public token:string|null; + + public uid:number = 0; + public constructor(cname:string|null, token: string|null, uid: number) { + this.channelName = cname; + this.token = token; + this.uid = uid; + } +} __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayInfo: NSObject @property (copy, nonatomic) NSString * _Nullable token; diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index a19f385fef9..4e499bb4630 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -37,7 +37,68 @@ public Integer customVideoTrackId; public Boolean isAudioFilterable; } - + export class ChannelMediaOptions { + + public publishCameraTrack?:boolean; + + public publishSecondaryCameraTrack?:boolean; + + public publishMicrophoneTrack?:boolean; + + public publishScreenCaptureVideo?:boolean; + + public publishScreenCaptureAudio?:boolean; + + public publishCustomAudioTrack?:boolean; + + public publishCustomAudioTrackId?:number; + + public publishCustomVideoTrack?:boolean; + + public publishEncodedVideoTrack?:boolean; + + public publishMediaPlayerAudioTrack?:boolean; + + public publishMediaPlayerVideoTrack?:boolean; + + public publishTranscodedVideoTrack?:boolean; + + public publishMixedAudioTrack?:boolean; + + public autoSubscribeAudio?:boolean; + + public autoSubscribeVideo?:boolean; + + public enableAudioRecordingOrPlayout?:boolean; + + public publishMediaPlayerId?:number; + + public clientRoleType?:number; + + public audienceLatencyLevel?:number; + + public defaultVideoStreamType?:number; + + public channelProfile?:number; + + public audioDelayMs?:number; + + public mediaPlayerAudioDelayMs?:number; + + public enableBuiltInMediaEncryption?:boolean; + + public publishRhythmPlayerTrack?:boolean; + + public isInteractiveAudience?:boolean; + + public customVideoTrackId?:number; + + public isAudioFilterable?:boolean; + + public startPreview?:boolean; + public constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraRtcChannelMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; @property(assign, nonatomic) BOOL publishSecondaryCameraTrack; diff --git a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index 796978e8398..f7e3270d32c 100644 --- a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -36,7 +36,13 @@ } } - + export class ChannelMediaRelayConfiguration { + public srcInfo:ChannelMediaInfo = new ChannelMediaInfo(null,null,0); + public destInfos:Map<string, ChannelMediaInfo> = new Map<string, ChannelMediaInfo>(); + + public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; +} __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayConfiguration: NSObject @property (strong, nonatomic, readonly) NSDictionary<NSString *, AgoraChannelMediaRelayInfo *> *_Nullable destinationInfos; diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 8ec09a47e02..290cbf26988 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -14,7 +14,10 @@ return audienceLatencyLevel; } } - + export class ClientRoleOptions { + + public audienceLatencyLevel: Constants.AudienceLatencyLevel = Constants.AudienceLatencyLevel.AUDIENCE_LATENCY_LEVEL_LOW_LATENCY; +} __attribute__((visibility("default"))) @interface AgoraClientRoleOptions: NSObject @property (assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; diff --git a/dita/RTC-NG/API/class_datastreamconfig.dita b/dita/RTC-NG/API/class_datastreamconfig.dita index f3acd2bbd27..253993f6b88 100644 --- a/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/dita/RTC-NG/API/class_datastreamconfig.dita @@ -10,7 +10,10 @@ public boolean syncWithAudio = false; public boolean ordered = false; } - + export class DataStreamConfig { + public syncWithAudio: boolean = false; + public ordered: boolean = false; +} __attribute__((visibility("default"))) @interface AgoraDataStreamConfig: NSObject @property (assign, nonatomic) BOOL ordered; @property (assign, nonatomic) BOOL syncWithAudio; diff --git a/dita/RTC-NG/API/class_encryptionconfig.dita b/dita/RTC-NG/API/class_encryptionconfig.dita index 30c7960442d..cde623bd000 100644 --- a/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/dita/RTC-NG/API/class_encryptionconfig.dita @@ -19,7 +19,13 @@ java.util.Arrays.fill(encryptionKdfSalt, (byte) 0); } } - + export class EncryptionConfig { + encryptionMode : ENCRYPTION_MODE = ENCRYPTION_MODE.AES_128_GCM2; + encryptionKey : string = ""; + encryptionKdfSalt : ArrayBuffer = new ArrayBuffer(32); + public EncryptionConfig() { + } +} __attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject @property (assign, nonatomic) AgoraEncryptionMode encryptionMode; diff --git a/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/dita/RTC-NG/API/class_lastmileprobeconfig.dita index cf754436af7..5886e79d9b7 100644 --- a/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -14,7 +14,18 @@ public LastmileProbeConfig() {} } - + export class LastmileProbeConfig { + + public probeUplink: boolean = false; + + public probeDownlink: boolean = false; + + public expectedUplinkBitrate: number = 0; + + public expectedDownlinkBitrate: number = 0; + constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeConfig : NSObject @property (assign, nonatomic) BOOL probeUplink; @property (assign, nonatomic) BOOL probeDownlink; diff --git a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita index e29595f485a..3f4a72b6ed4 100644 --- a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita +++ b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita @@ -30,7 +30,14 @@ struct FLastmileProbeOneWayResult { public int jitter; public int availableBandwidth; } - + export class LastmileProbeOneWayResult { + + public packetLossRate:number = 0; + + public jitter:number = 0; + + public availableBandwidth:number = 0; +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeOneWayResult : NSObject @property (assign, nonatomic) NSUInteger packetLossRate; @property (assign, nonatomic) NSUInteger jitter; diff --git a/dita/RTC-NG/API/class_lastmileproberesult.dita b/dita/RTC-NG/API/class_lastmileproberesult.dita index e47a6896dc3..710c0dd0cba 100644 --- a/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -41,7 +41,16 @@ struct FLastmileProbeResult { public LastmileProbeOneWayResult uplinkReport = new LastmileProbeOneWayResult(); public LastmileProbeOneWayResult downlinkReport = new LastmileProbeOneWayResult(); } - + export class LastmileProbeResult { + + public state:number = 0; + + public rtt:number = 0; + + public uplinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); + + public downlinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeResult : NSObject @property (assign, nonatomic) AgoraLastmileProbeResultState state; diff --git a/dita/RTC-NG/API/class_leavechanneloptions.dita b/dita/RTC-NG/API/class_leavechanneloptions.dita index 66fcf0d95ab..bf4d24314f8 100644 --- a/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -11,7 +11,19 @@ public boolean stopAllEffect; public boolean stopMicrophoneRecording; } - + export class LeaveChannelOptions { + + public stopAudioMixing: boolean; + + public stopAllEffect: boolean; + + public stopMicrophoneRecording: boolean; + constructor() { + this.stopAudioMixing = true; + this.stopAllEffect = true; + this.stopMicrophoneRecording = true; + } +} __attribute__((visibility("default"))) @interface AgoraLeaveChannelOptions : NSObject @property(nonatomic, assign) BOOL stopAudioMixing; @property(nonatomic, assign) BOOL stopAllEffect; diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index c8bc05b4057..4504c731fc1 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -225,7 +225,55 @@ this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } } - + export class LiveTranscoding { + + public width: number; + + public height: number; + + public videoBitrate: number; + + public videoFramerate: number; + + public videoGop: number; + + private watermarkList?: Array<AgoraImage>; + + private backgroundImageList?: Array<AgoraImage>; + + public audioSampleRate: Constants.AudioSampleRateType; + + public audioBitrate: number; + + public audioChannels: number; + + public audioCodecProfile: Constants.AudioCodecProfileType; + + public videoCodecProfile: Constants.VideoCodecProfileType; + + public videoCodecType: Constants.VideoCodecType; + + public userConfigExtraInfo?: string | null = null; + + private transcodingUsers: Map<number, TranscodingUser>; + + private advancedFeatures: Map<string, boolean>; + constructor() { + this.width = 360; + this.height = 640; + this.videoBitrate = 400; + this.videoCodecProfile = Constants.VideoCodecProfileType.HIGH; + this.videoCodecType = Constants.VideoCodecType.H264; + this.videoGop = 30; + this.videoFramerate = 15; + this.audioSampleRate = Constants.AudioSampleRateType.TYPE_44100; + this.audioBitrate = 48; + this.audioChannels = 1; + this.audioCodecProfile = Constants.AudioCodecProfileType.LC_AAC; + this.advancedFeatures = new Map<string, boolean>(); + this.transcodingUsers = new Map<number, TranscodingUser>(); + } +} __attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject @property(assign, nonatomic) CGSize size; diff --git a/dita/RTC-NG/API/class_localaudiostats.dita b/dita/RTC-NG/API/class_localaudiostats.dita index d473ce88b5d..cfef5869eef 100644 --- a/dita/RTC-NG/API/class_localaudiostats.dita +++ b/dita/RTC-NG/API/class_localaudiostats.dita @@ -16,7 +16,26 @@ public int earMonitorDelay; public int aecEstimatedDelay; }; - + export class LocalAudioStats { + + public numChannels:number = 0; + + public sentSampleRate:number = 0; + + public sentBitrate:number = 0; + + public internalCodec:number = 0; + + public txPacketLossRate:number = 0; + + public audioDeviceDelay:number = 0; + + public audioPlayoutDelay:number = 0; + + public earMonitorDelay:number = 0; + + public aecEstimatedDelay:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcLocalAudioStats : NSObject @property(assign, nonatomic) NSUInteger numChannels; @property(assign, nonatomic) NSUInteger sentSampleRate; diff --git a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 06d0621d8c5..d1bf744ca50 100644 --- a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -16,7 +16,14 @@ videoOutputConfiguration = new VideoEncoderConfiguration(); } } - + export class LocalTranscoderConfiguration { + public transcodingVideoStreams:Array<TranscodingVideoStream>; + public videoOutputConfiguration:VideoEncoderConfiguration; + public constructor() { + this.transcodingVideoStreams = new Array<TranscodingVideoStream>(); + this.videoOutputConfiguration = new VideoEncoderConfiguration(); + } +} __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject @property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; diff --git a/dita/RTC-NG/API/class_localvideostats.dita b/dita/RTC-NG/API/class_localvideostats.dita index 967b595ed39..613f6a0cd8e 100644 --- a/dita/RTC-NG/API/class_localvideostats.dita +++ b/dita/RTC-NG/API/class_localvideostats.dita @@ -30,7 +30,53 @@ public int captureBrightnessLevel; public int hwEncoderAccelerating; } - + export class LocalVideoStats { + + public uid:number = 0; + public sentBitrate:number = 0; + + public sentFrameRate:number = 0; + + public captureFrameRate:number = 0; + + public captureFrameWidth:number = 0; + + public captureFrameHeight:number = 0; + + public regulatedCaptureFrameRate:number = 0; + + public regulatedCaptureFrameWidth:number = 0; + + public regulatedCaptureFrameHeight:number = 0; + + public encoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public targetBitrate:number = 0; + + public targetFrameRate:number = 0; + + public qualityAdaptIndication:number = 0; + + public encodedBitrate:number = 0; + + public encodedFrameWidth:number = 0; + + public encodedFrameHeight:number = 0; + + public encodedFrameCount:number = 0; + + public codecType:number = 0; + + public txPacketLossRate:number = 0; + + public captureBrightnessLevel:number = 0; + + public dualStreamEnabled:boolean = false; + + public hwEncoderAccelerating:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcLocalVideoStats : NSObject @property(assign, nonatomic) NSUInteger sentBitrate; @property(assign, nonatomic) NSUInteger sentFrameRate; diff --git a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index 9fee9e100ad..3b74405c38d 100644 --- a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -22,7 +22,26 @@ this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; } } - + export class MediaRecorderConfiguration { + + public storagePath: string; + + public containerFormat: number = AgoraMediaRecorder.CONTAINER_MP4; + + public streamType: number = AgoraMediaRecorder.STREAM_TYPE_BOTH; + + public maxDurationMs: number = 120000; + + public recorderInfoUpdateInterval: number = 0; + public constructor(storagePath: string, containerFormat: number, streamType: number, + maxDurationMs: number, recorderInfoUpdateInterval: number) { + this.storagePath = storagePath; + this.containerFormat = containerFormat; + this.streamType = streamType; + this.maxDurationMs = maxDurationMs; + this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; + } +} __attribute__((visibility("default"))) @interface AgoraMediaRecorderConfiguration : NSObject @property(copy, nonatomic) NSString* _Nonnull storagePath; @property(assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormat; diff --git a/dita/RTC-NG/API/class_recorderinfo.dita b/dita/RTC-NG/API/class_recorderinfo.dita index 691d30c7c9e..ad61164843b 100644 --- a/dita/RTC-NG/API/class_recorderinfo.dita +++ b/dita/RTC-NG/API/class_recorderinfo.dita @@ -18,7 +18,19 @@ this.fileSize = fileSize; } } - + export class RecorderInfo { + + public fileName: string; + + public durationMs: number; + + public fileSize: number; + public constructor(fileName: string, durationMs: number, fileSize: number) { + this.fileName = fileName; + this.durationMs = durationMs; + this.fileSize = fileSize; + } +} __attribute__((visibility("default"))) @interface AgoraMediaRecorderInfo : NSObject @property(copy, nonatomic) NSString* _Nonnull recorderFileName; @property(assign, nonatomic) NSUInteger durationMs; diff --git a/dita/RTC-NG/API/class_recorderstreaminfo.dita b/dita/RTC-NG/API/class_recorderstreaminfo.dita index 126ff9d410b..451d2472ea5 100644 --- a/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -10,7 +10,19 @@ public String channelId; public int uid; } - + export class RecorderStreamInfo { + + public uid: number = 0; + + public channelId: string; + public constructor() { + this.uid = 0; + this.channelId = ""; + } + public toString(): string { + return "channelId=" + this.channelId; + } +} __attribute__((visibility("default"))) @interface AgoraRecorderStreamInfo: NSObject @property (nonatomic, copy) NSString *_Nonnull channelId; diff --git a/dita/RTC-NG/API/class_remoteaudiostats.dita b/dita/RTC-NG/API/class_remoteaudiostats.dita index 2d7e8a9f11e..3bd0b8e83dc 100644 --- a/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -24,7 +24,44 @@ public int qualityChangedReason; public int e2eDelay; } - + export class RemoteAudioStats { + + public uid:number = 0; + + public quality:number = 0; + + public networkTransportDelay:number = 0; + + public jitterBufferDelay:number = 0; + + public audioLossRate:number = 0; + + public numChannels:number = 0; + + public receivedSampleRate:number = 0; + + public receivedBitrate:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public mosValue:number = 0; + + public frozenRateByCustomPlcCount:number = 0; + + public plcCount:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public qoeQuality:number = 0; + + public qualityChangedReason:number = 0; + + public rxAudioBytes:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcRemoteAudioStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger quality; diff --git a/dita/RTC-NG/API/class_remotevideostats.dita b/dita/RTC-NG/API/class_remotevideostats.dita index 24b5a3dda5b..7945dbf3d8b 100644 --- a/dita/RTC-NG/API/class_remotevideostats.dita +++ b/dita/RTC-NG/API/class_remotevideostats.dita @@ -24,7 +24,44 @@ public long totalActiveTime; public long publishDuration; } - + export class RemoteVideoStats { + + public uid:number = 0; + + public delay:number = 0; + + public e2eDelay:number = 0; + + public width:number = 0; + + public height:number = 0; + + public receivedBitrate:number = 0; + + public decoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public frameLossRate:number = 0; + + public packetLossRate:number = 0; + + public rxStreamType:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public avSyncTimeMs:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public mosValue:number = 0; + + public rxVideoBytes:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcRemoteVideoStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger delay __deprecated; diff --git a/dita/RTC-NG/API/class_rtcconnection.dita b/dita/RTC-NG/API/class_rtcconnection.dita index 525fbf8518d..2d477084a53 100644 --- a/dita/RTC-NG/API/class_rtcconnection.dita +++ b/dita/RTC-NG/API/class_rtcconnection.dita @@ -40,7 +40,14 @@ return sb.toString(); } } - + export class RtcConnection { + public localUid:number = 0; + public channelId:string = ""; + constructor(channelId:string,uid:number) { + this.channelId = channelId; + this.localUid = uid; + } +} __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> @property (nonatomic, copy) NSString *_Nonnull channelId; @property (nonatomic, assign) NSUInteger localUid; diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index 2750043646d..b312eed4a27 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -25,7 +25,11 @@ } } - + export class RtcEngineConfig{ + public mContext:Context | null = null; + public mAppId:string | null = null; + public mEventHandler: IRtcEngineEventHandler | null = null; +} __attribute__((visibility("default"))) @interface AgoraRtcEngineConfig: NSObject @property (copy, nonatomic) NSString * _Nullable appId; diff --git a/dita/RTC-NG/API/class_rtcimage.dita b/dita/RTC-NG/API/class_rtcimage.dita index d00231f1009..da12e17c873 100644 --- a/dita/RTC-NG/API/class_rtcimage.dita +++ b/dita/RTC-NG/API/class_rtcimage.dita @@ -35,7 +35,31 @@ this.alpha = 1.0; } } - + export class AgoraImage { + + public url: string; + + public x: number; + + public y: number; + + public width: number; + + public height: number; + + public zOrder: number; + + public alpha: number; + constructor(url: string) { + this.url = url; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + } +} __attribute__((visibility("default"))) @interface AgoraImage : NSObject @property(strong, nonatomic) NSURL *_Nonnull url; @property(assign, nonatomic) CGRect rect; diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index b3d5033feff..701043480d5 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -32,7 +32,19 @@ public double memoryTotalUsageRatio; public int memoryAppUsageInKbytes; } - + export class RtcStats { + public duration : number = 0; public rtcTxRxBytes : PTxRxBytes = new PTxRxBytes; + public audioTxRxBytes : PTxRxBytes = new PTxRxBytes; + public videoTxRxBytes : PTxRxKBitrate = new PTxRxKBitrate; + public rtc_kbitrate : PTxRxKBitrate = new PTxRxKBitrate; + public audio_kbitrate:PTxRxKBitrate = new PTxRxKBitrate; + public video_kbitrate: PTxRxKBitrate = new PTxRxKBitrate; + public lastmileDelay: PTxRxLossRate = new PTxRxLossRate; + public loss_rate: PTxRxLossRate = new PTxRxLossRate; + public cpuTotalUsage: number = 0; public gatewayRtt: number = 0; public cpuAppUsage:number = 0; public memoryAppUsageRatio: number = 0; public memoryTotalUsageRatio: number = 0; public memoryAppUsageInKbytes: number = 0; public userCount: number = 0; public connectTimeMs: number = 0; + public RtcStats() { + } +} __attribute__((visibility("default"))) @interface AgoraChannelStats : NSObject @property(assign, nonatomic) NSUInteger duration; @property(assign, nonatomic) NSUInteger txBytes; diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index 13608194b00..deebd79af55 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -21,7 +21,12 @@ this.greenCapacity = 0.5f; } } - + export class SegmentationProperty { + + public modelType:Constants.SegModel = Constants.SegModel.AI; + + public greenCapacity:number = 0.5; +} __attribute__((visibility("default"))) @interface AgoraSegmentationProperty: NSObject @property(nonatomic, assign) SegModelType modelType; @property(nonatomic, assign) float greenCapacity; diff --git a/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/dita/RTC-NG/API/class_simulcaststreamconfig.dita index 4be5c2a41c6..005d8ca7c9f 100644 --- a/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -24,7 +24,16 @@ this.framerate = framerate; } } - + export class SimulcastStreamConfig { + public dimensions: VideoDimensions; + + public bitrate: number = -1; + + public framerate: number = 5; + constructor() { + this.dimensions = new VideoDimensions(-1, -1); + } +} __attribute__((visibility("default"))) @interface AgoraSimulcastStreamConfig: NSObject @property (assign, nonatomic) int bitrate; @property (assign, nonatomic) int framerate; diff --git a/dita/RTC-NG/API/class_transcodinguser.dita b/dita/RTC-NG/API/class_transcodinguser.dita index beb289e1c72..718d343bca0 100644 --- a/dita/RTC-NG/API/class_transcodinguser.dita +++ b/dita/RTC-NG/API/class_transcodinguser.dita @@ -23,7 +23,25 @@ alpha = 1; } } - + export class TranscodingUser { + + public uid: number = 0; + public userId: string = ""; + + public x: number = 0; + + public y: number = 0; + + public width: number = 360; + + public height: number = 640; + + public zOrder: number = 0; + + public alpha: number = 1.0; + + public audioChannel: number = 0; +} __attribute__((visibility("default"))) @interface AgoraLiveTranscodingUser : NSObject @property(assign, nonatomic) NSUInteger uid; diff --git a/dita/RTC-NG/API/class_transcodingvideostream.dita b/dita/RTC-NG/API/class_transcodingvideostream.dita index 5c0c3617e28..3d6c8492f56 100644 --- a/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -31,7 +31,43 @@ this.mirror = false; } }; - + export class TranscodingVideoStream { + + public remoteUserUid:number; + + public sourceType:Constants.VideoSourceType; + + public imageUrl:string; + + public mediaPlayerId:number; + + public x:number; + + public y:number; + + public width:number; + + public height:number; + + public zOrder:number; + + public alpha:number; + + public mirror:boolean; + public constructor() { + this.remoteUserUid = 0; + this.sourceType = Constants.VideoSourceType.VIDEO_SOURCE_CAMERA_PRIMARY; + this.imageUrl = ""; + this.mediaPlayerId = -1; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + this.mirror = false; + } +} __attribute__((visibility("default"))) @interface AgoraTranscodingVideoStream: NSObject @property (assign, nonatomic) AgoraVideoSourceType sourceType; @property (assign, nonatomic) NSUInteger remoteUserUid; diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index b3ec4c4490f..8851c809a35 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -48,7 +48,20 @@ } } - + export class VideoCanvas{ + public static readonly RENDER_MODE_HIDDEN = 1; + public static readonly RENDER_MODE_FIT = 2; + public static readonly VIDEO_MIRROR_MODE_ENABLED = 1; + public static readonly VIDEO_MIRROR_MODE_DISABLED = 2; + + public xcomponentId:string = ''; + public uid:number = 0; + public renderMode:number = VideoCanvas.RENDER_MODE_HIDDEN; + public mirrorMode:number = VideoCanvas.VIDEO_MIRROR_MODE_DISABLED; + constructor(componentId:string) { + this.xcomponentId = componentId; + } +} __attribute__((visibility("default"))) @interface AgoraRtcVideoCanvas : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger subviewUid; diff --git a/dita/RTC-NG/API/class_videodimensions.dita b/dita/RTC-NG/API/class_videodimensions.dita index c3ce7434f2c..f5ff93de3e8 100644 --- a/dita/RTC-NG/API/class_videodimensions.dita +++ b/dita/RTC-NG/API/class_videodimensions.dita @@ -20,7 +20,14 @@ this.height = 0; } } - + export class VideoDimensions { + constructor(w:number, h:number) { + this.width = w; + this.height = h; + } + public width:number; + public height:number; +} struct VideoDimensions { int width; diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index 623a1590c07..61f3017162e 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -247,7 +247,17 @@ this.codecType = VIDEO_CODEC_TYPE.VIDEO_CODEC_H265; } } - + export class VideoEncoderConfiguration{ + public dimensions:VideoDimensions = new VideoDimensions(960,540); + public frameRate:number = 15; + public bitrate:number = 0; + public minBitrate:number = -1; + public orientationMode:ORIENTATION_MODE = ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE; + public degradationPrefer:DEGRADATION_PREFERENCE = DEGRADATION_PREFERENCE.MAINTAIN_QUALITY; + public mirrorMode:MIRROR_MODE_TYPE = MIRROR_MODE_TYPE.MIRROR_MODE_DISABLED; + public advanceOptions:AdvanceOptions = new AdvanceOptions(); + constructor() {} +} __attribute__((visibility("default"))) @interface AgoraVideoEncoderConfiguration : NSObject @property(assign, nonatomic) CGSize dimensions; @property(assign, nonatomic) AgoraVideoCodecType codecType; diff --git a/dita/RTC-NG/API/class_videoformat.dita b/dita/RTC-NG/API/class_videoformat.dita index 488ce7f0755..3f1ddf25278 100644 --- a/dita/RTC-NG/API/class_videoformat.dita +++ b/dita/RTC-NG/API/class_videoformat.dita @@ -12,7 +12,11 @@ public int fps; } - + export class CaptureFormat { + public width: number = 960; + public height: number = 540; + public fps: number = 15; +} struct VideoFormat { int width; diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index af9ee2e6473..308ebc514dd 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -241,7 +241,20 @@ buffer.release(); } } - + export class VideoFrame { + public buffer:ArrayBuffer | null = null; + public rotation:number = 0; + public timestamp:number = 0; + public stride:number = 0; + public height:number = 0; + public type:VIDEO_BUFFER_TYPE = VIDEO_BUFFER_TYPE.VIDEO_BUFFER_RAW_DATA; + public format:VIDEO_PIXEL_FORMAT = VIDEO_PIXEL_FORMAT.VIDEO_PIXEL_NV21; + public faceInfo:Array<FaceDetectionInfo> | undefined = undefined; + constructor(type:VIDEO_BUFFER_TYPE,format:VIDEO_PIXEL_FORMAT) { + this.type = type; + this.format = format; + } +} __attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @property (nonatomic, assign) int width; diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index e039c8cabce..86ec0aaaad8 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -34,7 +34,16 @@ } } - + export class VirtualBackgroundSource { + + public backgroundSourceType: Constants.VirtualBackgroundType = Constants.VirtualBackgroundType.BACKGROUND_COLOR; + + public color:number = 0xffffff; + + public source:string | null = null; + + public blurDegree:Constants.VirtualBackgroundBlurDegree = Constants.VirtualBackgroundBlurDegree.BLUR_DEGREE_HIGH; +} __attribute__((visibility("default"))) @interface AgoraVirtualBackgroundSource : NSObject @property(nonatomic, assign) AgoraVirtualBackgroundSourceType backgroundSourceType NS_SWIFT_NAME(backgroundSourceType); @property(nonatomic, assign) NSUInteger color NS_SWIFT_NAME(color); From a1609c31c93a6dfd387b629f45bf6df24859103b Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:36:26 +0800 Subject: [PATCH 003/146] add hmos props --- dita/RTC-NG/config/filter-android-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-bp-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-cs-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-electron-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-ios-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-mac-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-rn-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-unity-rtc-ng.ditaval | 1 + dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval | 1 + dita/RTC-NG/config/subject-scheme-rtc.ditamap | 5 +++++ en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval | 1 + en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap | 5 +++++ 24 files changed, 32 insertions(+) diff --git a/dita/RTC-NG/config/filter-android-rtc-ng.ditaval b/dita/RTC-NG/config/filter-android-rtc-ng.ditaval index 9d78bb11bda..0982b2d491c 100644 --- a/dita/RTC-NG/config/filter-android-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-android-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval b/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval index 68623aea213..7d12b281eb4 100644 --- a/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval b/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval index 750dc630666..7f0401e0c09 100644 --- a/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval @@ -7,6 +7,7 @@ + diff --git a/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval b/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval index 3a9e2bb7bb4..f3edeb10b30 100644 --- a/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval @@ -7,6 +7,7 @@ + diff --git a/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval b/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval index 14d29cd2bb4..e61090f8601 100644 --- a/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval b/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval index 04732e6de4f..c505d0f0e73 100644 --- a/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval b/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval index 6fd1f8f083d..603ae469846 100644 --- a/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval b/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval index 77286d24016..ae576149ed5 100644 --- a/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval b/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval index 2f05c54f39a..315868ac62c 100644 --- a/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval b/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval index 508e0456074..46a139019b3 100644 --- a/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval b/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval index 1589d6d4db0..f23dd0603b7 100644 --- a/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/subject-scheme-rtc.ditamap b/dita/RTC-NG/config/subject-scheme-rtc.ditamap index 683fbb3706c..670eadb29e5 100644 --- a/dita/RTC-NG/config/subject-scheme-rtc.ditamap +++ b/dita/RTC-NG/config/subject-scheme-rtc.ditamap @@ -21,6 +21,11 @@ Android + + + Harmony + + iOS and macOS diff --git a/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval index 41449e6aec8..f7381563d5d 100644 --- a/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval index 8e123ef40f1..27f6be09797 100644 --- a/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval index 2118ec59a23..d9ab91aa002 100644 --- a/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval index e272c8504b3..2fc09853fb2 100644 --- a/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval index 1066759580a..3a48dc28304 100644 --- a/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval index d1d277fb15e..1ef37c99d9e 100644 --- a/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval index b439df44861..7326a42c45f 100644 --- a/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval index 14a99170585..de298d51e09 100644 --- a/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval index d916ac12555..de78f44e439 100644 --- a/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval index 358d9c888e9..dc0b996ecbb 100644 --- a/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval index 00ea1bcc616..5cece1c6103 100644 --- a/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap b/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap index 683fbb3706c..670eadb29e5 100644 --- a/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap +++ b/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap @@ -21,6 +21,11 @@ Android + + + Harmony + + iOS and macOS From f67b6aaa8bb23111a6faed27048d8306b592a0ea Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 12 Jun 2024 11:34:01 +0800 Subject: [PATCH 004/146] hmos ditamap --- dita/RTC-NG/API/api_irtcengine_create.dita | 8 +- dita/RTC-NG/API/api_irtcengine_release.dita | 4 +- .../api_irtcengine_startcameracapture.dita | 3 +- ...ineeventhandler_onfacepositionchanged.dita | 3 +- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 746 + .../config/keys-rtc-ng-api-harmony.ditamap | 12145 ++++++++++++++++ 6 files changed, 12905 insertions(+), 4 deletions(-) create mode 100644 dita/RTC-NG/RTC_NG_API_Harmony.ditamap create mode 100644 dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap diff --git a/dita/RTC-NG/API/api_irtcengine_create.dita b/dita/RTC-NG/API/api_irtcengine_create.dita index ccbbf39e71a..950c3f24c6f 100644 --- a/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/dita/RTC-NG/API/api_irtcengine_create.dita @@ -16,7 +16,13 @@ public static synchronized RtcEngine create( Context context, String appId, IRtcEngineEventHandler handler) throws Exception {} - + public static createEngine(context: Context, appID: string, handler: IRtcEngineEventHandler): RtcEngine { + let config = new RtcEngineConfig(); + config.mContext = context; + config.mAppId = appID; + config.mEventHandler = handler; + return RtcEngineImpl.createEngineImpl(config); + } + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; diff --git a/dita/RTC-NG/API/api_irtcengine_release.dita b/dita/RTC-NG/API/api_irtcengine_release.dita index 5e382bc42cd..cca9835c561 100644 --- a/dita/RTC-NG/API/api_irtcengine_release.dita +++ b/dita/RTC-NG/API/api_irtcengine_release.dita @@ -21,7 +21,9 @@ System.gc(); } - + public static destroy(): Promise<void> { + return RtcEngineImpl.destroyEngine(); + }; + (void)destroy; virtual void release(bool sync = false) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita b/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita index 5f0744e6a51..9093a4d7b74 100644 --- a/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita @@ -15,7 +15,8 @@

public abstract int startCameraCapture( Constants.VideoSourceType sourceType, CameraCapturerConfiguration config); - + public abstract startCameraCapture( + sourceType: Constants.VideoSourceType, config: CameraCapturerConfiguration): number; - (int)startCameraCapture:(AgoraVideoSourceType)sourceType config:(AgoraCameraCapturerConfiguration * _Nullable)config NS_SWIFT_NAME(startCameraCapture(_:config:)); virtual int startCameraCapture(VIDEO_SOURCE_TYPE sourceType, const CameraCapturerConfiguration& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita index 68bec623414..a737dfd11b0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita @@ -15,7 +15,8 @@

public void onFacePositionChanged( int imageWidth, int imageHeight, AgoraFacePositionInfo[] faceRectArr) {} - onFacePositionChanged?:( + onFacePositionChanged?:( + imageWidth:number, imageHeight:number, faceRectArr:Array<AgoraFacePositionInfo>) => void; - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine facePositionDidChangeWidth:(int)width previewHeight:(int)height faces:(NSArray<AgoraFacePositionInfo*>* _Nullable)faces NS_SWIFT_NAME(rtcEngine(_:facePositionDidChangeWidth:previewHeight:faces:)); virtual void onFacePositionChanged(int imageWidth, int imageHeight, const Rectangle* vecRectangle, const int* vecDistance, diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap new file mode 100644 index 00000000000..85a74808969 --- /dev/null +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -0,0 +1,746 @@ + + + + Android API Reference + + Android API Reference + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap new file mode 100644 index 00000000000..e350d294a18 --- /dev/null +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -0,0 +1,12145 @@ + + + + Keys RTC NG Java API + + + + Android + + + + + + + Java + + + + + + + Agora Java API Reference for Android + + + + + + + 参数 + Parameters + + + + + + + 返回值 + Returns + + + + + + + + RtcEngine + + + + + + + RtcEngineEx + + + + + + + IRtcEngineEventHandler + + + + + + + IRtcEngineEventHandlerEx + + + + + + + IAudioEncodedFrameObserver + + + + + + + IAudioEffectManager + + + + + + + IAudioFrameObserver + + + + + + + IMediaExtensionObserver + + + + + + + IMediaPlayer + + + + + + + IMediaPlayerCacheManager + + + + + + + IMediaPlayerAudioFrameObserver + + + + + + + IMediaPlayerVideoFrameObserver + + + + + + + IMediaPlayerCustomDataProvider + + + + + + + IMediaPlayerObserver + + + + + + + AgoraMediaRecorder + + + + + + + IMediaRecorderCallback + + + + + + + IMetadataObserver + + + + + + + IVideoEncodedFrameObserver + + + + + + + IVideoFrameObserver + + + + + + + IFaceInfoObserver + + + + + + + IAudioSpectrumObserver + + + + + + + IBaseSpatialAudioEngine + + + + + + + ICloudSpatialAudioEngine + + + + + + + ICloudSpatialAudioEventHandler + + + + + + + ILocalSpatialAudioEngine + + + + + + + AudioParams + + + + + + + IMusicContentCenterEventHandler + + + + + + + IAgoraMusicPlayer + + + + + + + IAgoraMusicContentCenter + + + + + + + + + + create + + + + + + + create [2/2] + + + + + + + destroy + + + + + + + setChannelProfile + + + + + + + setClientRole [1/2] + + + + + + + setClientRole [2/2] + + + + + + + joinChannel [1/2] + + + + + + + joinChannel [2/2] + + + + + + + updateChannelMediaOptions + + + + + + + leaveChannel [1/2] + + + + + + + leaveChannel [2/2] + + + + + + + preloadChannel + + + + + + + preloadChannelWithUserAccount + + + + + + + renewToken + + + + + + + getConnectionState + + + + + + + registerLocalUserAccount + + + + + + + joinChannelWithUserAccount [1/2] + + + + + + + joinChannelWithUserAccount [2/2] + + + + + + + getUserInfoByUid + + + + + + + getUserInfoByUserAccount + + + + + + + enableWebSdkInteroperability + + + + + + + startMediaRenderingTracing + + + + + + + startMediaRenderingTracingEx + + + + + + + enableInstantMediaRendering + + + + + + + + + createMediaPlayer + + + + + + + destroy + + + + + + + enableAutoRemoveCache + + + + + + + adjustPlayoutVolume + + + + + + + adjustPublishSignalVolume + + + + + + + getPlaySrc [1/2] + + + + + + + getPlaySrc [2/2] + + + + + + + getCacheDir + + + + + + + getCacheFileCount + + + + + + + getDuration + + + + + + + getMaxCacheFileCount + + + + + + + getMaxCacheFileSize + + + + + + + getMediaPlayerCacheManager + + + + + + + getMediaPlayerId + + + + + + + getMute + + + + + + + getPlayoutVolume + + + + + + + getPlayPosition + + + + + + + getPublishSignalVolume + + + + + + + getState + + + + + + + getStreamCount + + + + + + + getStreamInfo + + + + + + + mute + + + + + + + open [1/2] + + + + + + + open [2/2] + + + + + + + pause + + + + + + + play + + + + + + + removeAllCaches + + + + + + + removeCacheByUri + + + + + + + removeOldCache + + + + + + + registerAudioFrameObserver + + + + + + + registerVideoFrameObserver + + + + + + + registerPlayerObserver + + + + + + + resume + + + + + + + seek + + + + + + + selectAudioTrack + + + + + + + selectAudioTrack + + + + + + + selectMultiAudioTrack + + + + + + + setAudioDualMonoMode + + + + + + + setAudioPitch + + + + + + + setCacheDir + + + + + + + setLoopCount + + + + + + + setMaxCacheFileCount + + + + + + + setMaxCacheFileSize + + + + + + + setPlaybackSpeed + + + + + + + setPlayerOption + + + + + + + setPlayerOptionString + + + + + + + setRenderMode + + + + + + + setView + + + + + + + stop + + + + + + + unRegisterPlayerObserver + + + + + + + openWithCustomSource + + + + + + + openWithAgoraCDNSrc + + + + + + + openWithMediaSource + + + + + + + getAgoraCDNLineCount + + + + + + + getCurrentAgoraCDNIndex + + + + + + + switchAgoraCDNLineByIndex + + + + + + + enableAutoSwitchAgoraCDN + + + + + + + switchAgoraCDNSrc + + + + + + + renewAgoraCDNSrcToken + + + + + + + switchSrc + + + + + + + preloadSrc + + + + + + + unloadSrc + + + + + + + playPreloadedSrc + + + + + + + + + enableAudio + + + + + + + enableAudioQualityIndication + + + + + + + disableAudio + + + + + + + setAudioProfile [1/2] + + + + + + + setAudioProfile [2/2] + + + + + + + setAudioScenario + + + + + + + adjustRecordingSignalVolume + + + + + + + adjustUserPlaybackSignalVolume + + + + + + + adjustPlaybackSignalVolume + + + + + + + adjustCustomAudioPlayoutVolume + + + + + + + adjustCustomAudioPublishVolume + + + + + + + enableLocalAudio + + + + + + + muteLocalAudioStream + + + + + + + muteRemoteAudioStream + + + + + + + muteAllRemoteAudioStreams + + + + + + + muteRecordingSignal + + + + + + + setSubscribeAudioBlocklist + + + + + + + setSubscribeAudioAllowlist + + + + + + + + + enableVideo + + + + + + + disableVideo + + + + + + + setSubscribeVideoBlocklist + + + + + + + setSubscribeVideoAllowlist + + + + + + + setVideoScenario + + + + + + + setVideoEncoderConfiguration + + + + + + + setupLocalVideo + + + + + + + setupRemoteVideo + + + + + + + setLocalRenderMode [1/2] + + + + + + + setLocalRenderMode [2/2] + + + + + + + setRemoteRenderMode [1/2] + + + + + + + setRemoteRenderMode [2/2] + + + + + + + setRemoteVideoSubscriptionOptions + + + + + + + CreateRendererView + + + + + + + CreateTextureView + + + + + + + startPreview [1/2] + + + + + + + startPreview [2/2] + + + + + + + stopPreview [1/2] + + + + + + + stopPreview [2/2] + + + + + + + enableLocalVideo + + + + + + + muteLocalVideoStream + + + + + + + muteRemoteVideoStream + + + + + + + muteAllRemoteVideoStreams + + + + + + + setVideoProfile + + + + + + + + queryCodecCapability + + + + + + + + setAdvancedAudioOptions + + + + + + + setAINSMode + + + + + + + + + setBeautyEffectOptions [1/2] + + + + + + + setBeautyEffectOptions [2/2] + + + + + + + enableVirtualBackground [1/2] + + + + + + + enableVirtualBackground [2/2] + + + + + + + setLowlightEnhanceOptions [1/2] + + + + + + + setLowlightEnhanceOptions [2/2] + + + + + + + setVideoDenoiserOptions [1/2] + + + + + + + setVideoDenoiserOptions [2/2] + + + + + + + setColorEnhanceOptions [1/2] + + + + + + + setColorEnhanceOptions [2/2] + + + + + + + registerFaceInfoObserver + + + + + + + + + addVideoWatermarkEx + + + + + + + adjustUserPlaybackSignalVolumeEx + + + + + + + clearVideoWatermarkEx + + + + + + + createDataStreamEx [1/2] + + + + + + + createDataStreamEx [2/2] + + + + + + + enableAudioVolumeIndicationEx + + + + + + + getConnectionStateEx + + + + + + + getUserInfoByUid + + + + + + + getUserInfoByUserAccount + + + + + + + joinChannelEx + + + + + + + joinChannelWithUserAccountEx + + + + + + + leaveChannelEx [1/2] + + + + + + + leaveChannelEx [2/2] + + + + + + + muteRemoteAudioStreamEx + + + + + + + muteRemoteVideoStreamEx + + + + + + + pushExternalAudioFrameEx + + + + + + + pushExternalEncodedVideoFrameEx + + + + + + + sendCustomReportMessageEx + + + + + + + sendStreamMessageEx + + + + + + + setRemoteRenderModeEx + + + + + + + setRemoteVoice3DPositionEx + + + + + + + setRemoteVideoStreamTypeEx + + + + + + + setRemoteVideoSubscriptionOptionsEx + + + + + + + setRemoteVoicePositionEx + + + + + + + setSubscribeAudioBlocklistEx + + + + + + + setSubscribeAudioAllowlistEx + + + + + + + setSubscribeVideoBlocklistEx + + + + + + + setSubscribeVideoAllowlistEx + + + + + + + setupRemoteVideoEx + + + + + + + setVideoEncoderConfigurationEx + + + + + + + takeSnapshotEx + + + + + + + updateChannelMediaOptionsEx + + + + + + + updatePreloadChannelToken + + + + + + + startRtmpStreamWithoutTranscodingEx + + + + + + + startRtmpStreamWithTranscodingEx + + + + + + + updateRtmpTranscodingEx + + + + + + + stopRtmpStreamEx + + + + + + + startOrUpdateChannelMediaRelayEx + + + + + + + pauseAllChannelMediaRelayEx + + + + + + + muteLocalAudioStreamEx + + + + + + + muteLocalVideoStreamEx + + + + + + + muteAllRemoteAudioStreamsEx + + + + + + + muteAllRemoteVideoStreamsEx + + + + + + + stopChannelMediaRelayEx + + + + + + + resumeAllChannelMediaRelayEx + + + + + + + + + startScreenCapture + + + + + + + stopScreenCapture + + + + + + + updateScreenCaptureParameters + + + + + + + startScreenCaptureByDisplayId + + + + + + + queryScreenCaptureCapability + + + + + + + setScreenCaptureScenario + + + + + + + + + setAudioMixingDualMonoMode + + + + + + + setAudioMixingPlaybackSpeed + + + + + + + startAudioMixing [1/2] + + + + + + + startAudioMixing [2/2] + + + + + + + stopAudioMixing + + + + + + + pauseAudioMixing + + + + + + + resumeAudioMixing + + + + + + + adjustAudioMixingVolume + + + + + + + adjustAudioMixingPlayoutVolume + + + + + + + adjustAudioMixingPublishVolume + + + + + + + getAudioMixingPlayoutVolume + + + + + + + getAudioMixingPublishVolume + + + + + + + getAudioMixingDuration + + + + + + + getAudioMixingCurrentPosition + + + + + + + getAudioTrackCount + + + + + + + setAudioMixingPitch + + + + + + + setAudioMixingPosition + + + + + + + + + getAudioEffectManager + + + + + + + getEffectsVolume + + + + + + + setEffectsVolume + + + + + + + setVolumeOfEffect + + + + + + + getVolumeOfEffect + + + + + + + playEffect [1/2] + + + + + + + playEffect [2/2] + + + + + + + stopEffect + + + + + + + stopAllEffects + + + + + + + preloadEffect + + + + + + + unloadEffect + + + + + + + pauseEffect + + + + + + + pauseAllEffects + + + + + + + resumeEffect + + + + + + + resumeAllEffects + + + + + + + setEffectPosition + + + + + + + getEffectDuration + + + + + + + getEffectCurrentPosition + + + + + + + + + startRhythmPlayer + + + + + + + stopRhythmPlayer + + + + + + + configRhythmPlayer + + + + + + + + + setLocalVoicePitch + + + + + + + setLocalVoiceEqualization + + + + + + + setLocalVoiceReverb + + + + + + + setVoiceBeautifierPreset + + + + + + + setVoiceBeautifierParameters + + + + + + + setAudioEffectPreset + + + + + + + setAudioEffectParameters + + + + + + + setLocalVoiceFormant + + + + + + + setVoiceConversionPreset + + + + + + + + + enableSoundPositionIndication + + + + + + + setRemoteVoice3DPosition + + + + + + + setRemoteVoicePosition + + + + + + + + + muteLocalAudioStream + + + + + + + muteAllRemoteAudioStreams + + + + + + + setAudioRecvRange + + + + + + + setDistanceUnit + + + + + + + setMaxAudioRecvCount + + + + + + + updatePlayerPositionInfo + + + + + + + updateSelfPosition + + + + + + + setZones + + + + + + + setPlayerAttenuation + + + + + + + setRemoteAudioAttenuation + + + + + + + + + clearRemotePositions + + + + + + + create + + + + + + + initialize + + + + + + + destroy + + + + + + + removeRemotePosition + + + + + + + updateRemotePosition + + + + + + + + + enableSpatialAudio + + + + + + + setRemoteUserSpatialAudioParams + + + + + + + setSpatialAudioParams + + + + + + + + + addEventHandler + + + + + + + create + + + + + + + enableSpatializer + + + + + + + enterRoom + + + + + + + exitRoom + + + + + + + getTeammates + + + + + + + initialize + + + + + + + destroy + + + + + + + removeEventHandler + + + + + + + renewToken + + + + + + + setAudioRangeMode + + + + + + + setTeamId + + + + + + + + + startRtmpStreamWithoutTranscoding + + + + + + + startRtmpStreamWithTranscoding + + + + + + + updateRtmpTranscoding + + + + + + + stopRtmpStream + + + + + + + addBackgroundImage + + + + + + + addUser + + + + + + + addWatermark + + + + + + + getAdvancedFeatures + + + + + + + getBackgroundColor + + + + + + + getBackgroundImageList + + + + + + + getBlue + + + + + + + getGreen + + + + + + + getRed + + + + + + + getUserCount + + + + + + + getUsers + + + + + + + getWatermarkList + + + + + + + removeBackgroundImage + + + + + + + removeUser + + + + + + + removeWatermark + + + + + + + setAdvancedFeatures + + + + + + + setBackgroundColor [1/2] + + + + + + + setBackgroundColor [2/2] + + + + + + + setBlue + + + + + + + setDirectCdnStreamingAudioConfiguration + + + + + + + setDirectCdnStreamingVideoConfiguration + + + + + + + setGreen + + + + + + + setLiveTranscoding + + + + + + + setRed + + + + + + + setUsers [1/2] + + + + + + + setUsers [2/2] + + + + + + + startDirectCdnStreaming + + + + + + + stopDirectCdnStreaming + + + + + + + updateDirectCdnStreamingMediaOptions + + + + + + + + + pauseAllChannelMediaRelay + + + + + + + resumeAllChannelMediaRelay + + + + + + + startOrUpdateChannelMediaRelay + + + + + + + stopChannelMediaRelay + + + + + + + setSrcChannelInfo + + + + + + + setDestChannelInfo + + + + + + + getDestChannelMediaInfos + + + + + + + getSrcChannelMediaInfo + + + + + + + removeDestChannelInfo + + + + + + + + + enableAudioVolumeIndication + + + + + + + + + enableFaceDetection + + + + + + + isCameraFaceDetectSupported + + + + + + + + + setDefaultAudioRouteToSpeakerphone + + + + + + + setEnableSpeakerphone + + + + + + + setRouteInCommunicationMode + + + + + + + isSpeakerphoneEnabled + + + + + + + + + enableInEarMonitoring [1/2] + + + + + + + enableInEarMonitoring [2/2] + + + + + + + setEarMonitoringAudioFrameParameters + + + + + + + setInEarMonitoringVolume + + + + + + + setHeadphoneEQParameters + + + + + + + setHeadphoneEQPreset + + + + + + + + + enableDualStreamMode [1/2] + + + + + + + + enableDualStreamMode [2/2] + + + + + + + enableDualStreamModeEx + + + + + + + setDualStreamMode [1/2] + + + + + + + setDualStreamMode [2/2] + + + + + + + setDualStreamModeEx + + + + + + + setRemoteVideoStreamType + + + + + + + setRemoteDefaultVideoStreamType + + + + + + + + + setRemoteSubscribeFallbackOption + + + + + + + + + startEchoTest [1/3] + + + + + + + startEchoTest [2/3] + + + + + + + startEchoTest [3/3] + + + + + + + stopEchoTest + + + + + + + startLastmileProbeTest + + + + + + + stopLastmileProbeTest + + + + + + + + + createCustomVideoTrack + + + + + + + destroyCustomVideoTrack + + + + + + + setExternalVideoSource + + + + + + + pushExternalVideoFrameById [1/2] + + + + + + + pushExternalVideoFrame [1/2] + + + + + + + pushExternalVideoFrameById [2/2] + + + + + + + pushExternalVideoFrame [2/2] + + + + + + + pushExternalEncodedVideoFrame + + + + + + + isTextureEncodeSupported + + + + + + + getCurrentMonotonicTimeInMs + + + + + + + + + createCustomAudioTrack + + + + + + + destroyCustomAudioTrack + + + + + + + enableCustomAudioLocalPlayback + + + + + + + setExternalAudioSource [1/2] + + + + + + + setExternalAudioSource [2/2] + + + + + + + pushExternalAudioFrame [1/2] + + + + + + + pushExternalAudioFrame + + + + + + + + + startCameraCapture + + + + + + + stopCameraCapture + + + + + + + + + setExternalAudioSink + + + + + + + pullPlaybackAudioFrame [1/2] + + + + + + + pullPlaybackAudioFrame [2/2] + + + + + + + + + registerAudioEncodedFrameObserver + + + + + + + onPlaybackAudioEncodedFrame + + + + + + + onRecordAudioEncodedFrame + + + + + + + onMixedAudioEncodedFrame + + + + + + + + + registerVideoFrameObserver + + + + + + + onEncodedVideoFrameReceived + + + + + + + + + registerAudioFrameObserver + + + + + + + setRecordingAudioFrameParameters + + + + + + + setPlaybackAudioFrameParameters + + + + + + + setMixedAudioFrameParameters + + + + + + + setPlaybackAudioFrameBeforeMixingParameters + + + + + + + + + registerVideoEncodedFrameObserver + + + + + + + + + addExtension + + + + + + + enableExtension + + + + + + + getExtensionProperty [1/2] + + + + + + + getExtensionProperty [2/2] + + + + + + + registerExtension + + + + + + + setExtensionProperty + + + + + + + setExtensionProviderProperty + + + + + + + onEvent + + + + + + + onStarted + + + + + + + onStopped + + + + + + + onError + + + + + + + + + startLocalVideoTranscoder + + + + + + + stopLocalVideoTranscoder + + + + + + + updateLocalTranscoderConfiguration + + + + + + + + + registerMediaMetadataObserver + + + + + + + unregisterMediaMetadataObserver + + + + + + + + + addVideoWatermark [1/2] + + + + + + + addVideoWatermark [2/2] + + + + + + + clearVideoWatermarks + + + + + + + + + enableEncryption + + + + + + + enableEncryptionEx + + + + + + + setEncryptionMode + + + + + + + setEncryptionSecret + + + + + + + + + startAudioRecording [1/2] + + + + + + + startAudioRecording [2/2] + + + + + + + stopAudioRecording + + + + + + + + + createMediaRecorder + + + + + + + destroyMediaRecorder + + + + + + + setMediaRecorderObserver + + + + + + + startRecording + + + + + + + stopRecording + + + + + + + + + onRecorderStateChanged + + + + + + + onRecorderInfoUpdated + + + + + + + + + switchCamera [1/2] + + + + + + + switchCamera [2/2] + + + + + + + queryCameraFocalLengthCapability + + + + + + + getCameraMaxZoomFactor + + + + + + + isCameraZoomSupported + + + + + + + isCameraTorchSupported + + + + + + + isCameraFocusSupported + + + + + + + isCameraExposurePositionSupported + + + + + + + isCameraExposureSupported + + + + + + + isCameraAutoFocusFaceModeSupported + + + + + + + setCameraZoomFactor + + + + + + + setCameraFocusPositionInPreview + + + + + + + setCameraExposureFactor + + + + + + + setCameraExposurePosition + + + + + + + setCameraTorchOn + + + + + + + setCameraAutoFocusFaceModeEnabled + + + + + + + + + getAudioDeviceInfo + + + + + + + startPlaybackDeviceTest + + + + + + + stopPlaybackDeviceTest + + + + + + + startRecordingDeviceTest + + + + + + + stopRecordingDeviceTest + + + + + + + + + createDataStream [1/2] + + + + + + + createDataStream [2/2] + + + + + + + sendStreamMessage + + + + + + + + + disableAudioSpectrumMonitor + + + + + + + enableAudioSpectrumMonitor + + + + + + + registerAudioSpectrumObserver + + + + + + + unregisterAudioSpectrumObserver + + + + + + + + + enableEchoCancellationExternal + + + + + + + + + setCameraCapturerConfiguration + + + + + + + setLocalVideoMirrorMode + + + + + + + + + open + + + + + + + open2 + + + + + + + stop + + + + + + + preload [1/2] + + + + + + + preload [2/2] + + + + + + + isPreloaded + + + + + + + initialize + + + + + + + release + + + + + + + destroy + + + + + + + renewToken + + + + + + + unregisterEventHandler + + + + + + + registerEventHandler + + + + + + + createMusicPlayer + + + + + + + getLyric + + + + + + + getMusicCharts + + + + + + + getMusicCollectionByMusicChartId [1/2] + + + + + + + getMusicCollectionByMusicChartId [2/2] + + + + + + + getCaches + + + + + + + removeCache + + + + + + + getInternalSongCode + + + + + + + getSongSimpleInfo + + + + + + + searchMusic [1/2] + + + + + + + searchMusic [2/2] + + + + + + + + + onPreLoadEvent + + + + + + + onMusicChartsResult + + + + + + + onMusicCollectionResult + + + + + + + onLyricResult + + + + + + + onSongSimpleInfoResult + + + + + + + + + takeSnapshot + + + + + + + enableContentInspect + + + + + + + enableContentInspectEx + + + + + + + + + addInjectStreamUrl + + + + + + + enableVideoImageSource + + + + + + + removeInjectStreamUrl + + + + + + + setAVSyncSource + + + + + + + setParameters + + + + + + + addHandler + + + + + + + complain + + + + + + + getNetworkType + + + + + + + getNtpWallTimeInMs + + + + + + + getCallId + + + + + + + getCallIdEx + + + + + + + getErrorDescription + + + + + + + getNativeHandle + + + + + + + getSdkVersion + + + + + + + isFeatureAvailableOnDevice + + + + + + + queryDeviceScore + + + + + + + rate + + + + + + + removeHandler + + + + + + + setLocalAccessPoint + + + + + + + setCloudProxy + + + + + + + setLogFile + + + + + + + setLogFileSize + + + + + + + setLogFilter + + + + + + + setLogLevel + + + + + + + sendCustomReportMessage + + + + + + + + + + onConnectionStateChanged + + + + + + + onError + + + + + + + onFirstRemoteAudioDecoded + + + + + + + onFirstRemoteAudioFrame + + + + + + + onJoinChannelSuccess + + + + + + + onRejoinChannelSuccess + + + + + + + onLeaveChannel + + + + + + + onClientRoleChanged + + + + + + + onClientRoleChangeFailed + + + + + + + onUserJoined + + + + + + + onUserMuteAudio + + + + + + + onUserOffline + + + + + + + onNetworkTypeChanged + + + + + + + onConnectionInterrupted + + + + + + + onConnectionLost + + + + + + + onConnectionBanned + + + + + + + onTokenPrivilegeWillExpire + + + + + + + onRequestToken + + + + + + + onLocalUserRegistered + + + + + + + onUserInfoUpdated + + + + + + + onUplinkNetworkInfoUpdated + + + + + + + onVideoRenderingTracingResult + + + + + + + + + onLocalAudioStateChanged + + + + + + + onLocalVideoStateChanged + + + + + + + onVideoStopped + + + + + + + onFirstLocalAudioFramePublished + + + + + + + onFirstLocalVideoFramePublished + + + + + + + onFirstLocalVideoFrame + + + + + + + onAudioPublishStateChanged + + + + + + + onVideoPublishStateChanged + + + + + + + + + onAudioSubscribeStateChanged + + + + + + + onFirstRemoteVideoDecoded + + + + + + + onFirstRemoteVideoFrame + + + + + + + onRemoteAudioStateChanged + + + + + + + onRemoteVideoStateChanged + + + + + + + onUserEnableLocalVideo + + + + + + + onUserEnableVideo + + + + + + + onUserMuteVideo + + + + + + + onVideoSizeChanged + + + + + + + onVideoSubscribeStateChanged + + + + + + + + + onRtcStats + + + + + + + onNetworkQuality + + + + + + + onLocalAudioStats + + + + + + + onLocalVideoStats + + + + + + + onRemoteAudioStats + + + + + + + onRemoteAudioTransportStats + + + + + + + onRemoteVideoStats + + + + + + + onRemoteVideoTransportStats + + + + + + + onAudioQuality + + + + + + + + + onAudioVolumeIndication + + + + + + + onMetaData + + + + + + + onPlayerCacheStats + + + + + + + onPlayerEvent + + + + + + + onPlayerPlaybackStats + + + + + + + onPlayerStateChanged + + + + + + + onPositionChanged + + + + + + + onReadData + + + + + + + onSeek + + + + + + + onPlayBufferUpdated + + + + + + + onPreloadEvent + + + + + + + onAgoraCDNTokenWillExpire + + + + + + + onPlayerSrcInfoChanged + + + + + + + onPlayerInfoUpdated + + + + + + + + + + onDirectCdnStreamingStateChanged + + + + + + + onDirectCdnStreamingStats + + + + + + + + + onAudioMixingStateChanged + + + + + + + onAudioMixingFinished + + + + + + + onAudioMixingPositionChanged + + + + + + + onAudioEffectFinished + + + + + + + + + onEncryptionError + + + + + + + + + onRtmpStreamingEvent + + + + + + + onRtmpStreamingStateChanged + + + + + + + onTranscodingUpdated + + + + + + + + + onChannelMediaRelayStateChanged + + + + + + + + + onAudioVolumeIndication + + + + + + + onActiveSpeaker + + + + + + + + + onFacePositionChanged + + + + + + + + + onAudioRouteChanged + + + + + + + + + onRemoteSubscribeFallbackToAudioOnly + + + + + + + + + onLastmileQuality + + + + + + + onLastmileProbeResult + + + + + + + + + onLocalAudioSpectrum + + + + + + + onRemoteAudioSpectrum + + + + + + + + + onRecordAudioFrame + + + + + + + onPlaybackAudioFrame + + + + + + + onPlaybackAudioFrameBeforeMixing + + + + + + + onMixedAudioFrame + + + + + + + onFrame + + + + + + + getRecordAudioParams + + + + + + + getObservedAudioFramePosition + + + + + + + getMixedAudioParams + + + + + + + getPlaybackAudioParams + + + + + + + + + onCaptureVideoFrame + + + + + + + onFrame + + + + + + + onMediaPlayerVideoFrame + + + + + + + onRenderVideoFrame + + + + + + + getRotationApplied + + + + + + + getMirrorApplied + + + + + + + getVideoFormatPreference + + + + + + + getVideoFrameProcessMode + + + + + + + getObservedFramePosition + + + + + + + onPreEncodeVideoFrame + + + + + + + + + getMaxMetadataSize + + + + + + + onReadyToSendMetadata + + + + + + + onMetadataReceived + + + + + + + + + onCameraFocusAreaChanged + + + + + + + onCameraExposureAreaChanged + + + + + + + onCameraReady + + + + + + + + + onStreamMessage + + + + + + + onStreamMessageError + + + + + + + + + onConnectionStateChange + + + + + + + onTeammateJoined + + + + + + + onTeammateLeft + + + + + + + onTokenWillExpire + + + + + + + + + onEarMonitoringAudioFrame + + + + + + + getEarMonitoringAudioParams + + + + + + + + + onRhythmPlayerStateChanged + + + + + + + + + onLocalVideoTranscoderError + + + + + + + onTranscodedStreamLayoutInfo + + + + + + + + + onPermissionError + + + + + + + onProxyConnected + + + + + + + onFaceInfo + + + + + + + onSnapshotTaken + + + + + + + onContentInspectResult + + + + + + + OnVirtualBackgroundSourceEnabled + + + + + + + + + + AgoraFacePositionInfo + + + + + + + AdvancedAudioOptions + + + + + + + AdvanceOptions + + + + + + + AdvancedConfigInfo + + + + + + + AgoraRhythmPlayerConfig + + + + + + + AudioRecordingConfiguration + + + + + + + AudioEncodedFrameObserverConfig + + + + + + + AudioFrame + + + + + + + AudioSpectrumInfo + + + + + + + AudioTrackConfig + + + + + + + AudioVolumeInfo + + + + + + + BeautyOptions + + + + + + + CacheStatistics + + + + + + + CaptureFormat + + + + + + + CameraCapturerConfiguration + + + + + + + ChannelMediaInfo + + + + + + + ChannelMediaOptions + + + + + + + ChannelMediaRelayConfiguration + + + + + + + ClientRoleOptions + + + + + + + ClimaxSegment + + + + + + + CloudSpatialAudioConfig + + + + + + + ColorEnhanceOptions + + + + + + + ContentInspectConfig + + + + + + + ContentInspectModule + + + + + + + CodecCapInfo + + + + + + + CodecCapLevels + + + + + + + DataStreamConfig + + + + + + + DeviceInfo + + + + + + + DirectCdnStreamingMediaOptions + + + + + + + DirectCdnStreamingStats + + + + + + + EchoTestConfiguration + + + + + + + EncodedVideoFrameInfo + + + + + + + EncryptionConfig + + + + + + + AgoraVideoFrame + + + + + + + IDirectCdnStreamingEventHandler + + + + + + + AgoraFocalLengthInfo + + + + + + + ImageTrackOptions + + + + + + + LiveInjectStreamConfig + + + + + + + LastmileProbeConfig + + + + + + + LastmileProbeOneWayResult + + + + + + + LastmileProbeResult + + + + + + + LeaveChannelOptions + + + + + + + LiveTranscoding + + + + + + + LocalAccessPointConfiguration + + + + + + + LogUploadServerInfo + + + + + + + LocalAudioStats + + + + + + + LocalSpatialAudioConfig + + + + + + + LocalTranscoderConfiguration + + + + + + + LocalVideoStats + + + + + + + LogConfig + + + + + + + LowlightEnhanceOptions + + + + + + + MediaRecorderConfiguration + + + + + + + MediaPlayerSource + + + + + + + Music + + + + + + + MusicCacheInfo + + + + + + + MusicChartInfo + + + + + + + MusicCollection + + + + + + + MusicContentCenterConfiguration + + + + + + + MvProperty + + + + + + + PlayerPlaybackStats + + + + + + + MediaStreamInfo + + + + + + + PlayerUpdatedInfo + + + + + + + RecorderInfo + + + + + + + RecorderStreamInfo + + + + + + + Rectangle + + + + + + + RemoteAudioStats + + + + + + + RemoteVideoStats + + + + + + + RemoteVoicePositionInfo + + + + + + + RtcConnection + + + + + + + RtcEngineConfig + + + + + + + AgoraImage + + + + + + + RtcStats + + + + + + + ScreenCaptureParameters + + + + + + + AudioCaptureParameters + + + + + + + VideoCaptureParameters + + + + + + + SegmentationProperty + + + + + + + SimulcastStreamConfig + + + + + + + SpatialAudioParams + + + + + + + SpatialAudioZone + + + + + + + SrcInfo + + + + + + + TranscodingUser + + + + + + + TranscodingVideoStream + + + + + + + UplinkNetworkInfo + + + + + + + UserAudioSpectrumInfo + + + + + + + UserInfo + + + + + + + VideoCanvas + + + + + + + VideoDenoiserOptions + + + + + + + VideoDimensions + + + + + + + VD_120x120 + + + + + + + VD_160x120 + + + + + + + VD_180x180 + + + + + + + VD_240x180 + + + + + + + VD_320x180 + + + + + + + VD_240x240 + + + + + + + VD_320x240 + + + + + + + VD_424x240 + + + + + + + VD_360x360 + + + + + + + VD_480x360 + + + + + + + VD_640x360 + + + + + + + VD_480x480 + + + + + + + VD_640x480 + + + + + + + VD_840x480 + + + + + + + VD_960x720 + + + + + + + VD_960x540 + + + + + + + VD_1280x720 + + + + + + + VD_1920x1080 + + + + + + + VD_2540x1440 + + + + + + + VD_3840x2160 + + + + + + + VideoEncoderConfiguration + + + + + + + VideoFrame + + + + + + + VideoLayout + + + + + + + VideoRenderingTracingInfo + + + + + + + VideoSubscriptionOptions + + + + + + + VirtualBackgroundSource + + + + + + + BLUR_DEGREE_LOW + + + + + + + BLUR_DEGREE_MEDIUM + + + + + + + BLUR_DEGREE_HIGH + + + + + + + BACKGROUND_NONE + + + + + + + BACKGROUND_COLOR + + + + + + + BACKGROUND_IMG + + + + + + + BACKGROUND_BLUR + + + + + + + BACKGROUND_VIDEO + + + + + + + SaeDeployRegion + + + + + + + SAE_DEPLOY_REGION_NONE + + + + + + + SAE_DEPLOY_REGION_CN + + + + + + + SAE_DEPLOY_REGION_NA + + + + + + + SAE_DEPLOY_REGION_EU + + + + + + + SAE_DEPLOY_REGION_AS + + + + + + + WatermarkOptions + + + + + + + + + ADAPT_NONE + + + + + + + ADAPT_UP_BANDWIDTH + + + + + + + ADAPT_DOWN_BANDWIDTH + + + + + + + AreaCode + + + + + + + AREA_CODE_CN + + + + + + + AREA_CODE_NA + + + + + + + AREA_CODE_EU + + + + + + + AREA_CODE_AS + + + + + + + AREA_CODE_JP + + + + + + + AREA_CODE_IN + + + + + + + AREA_CODE_GLOB + + + + + + + AUDIENCE_LATENCY_LEVEL_LOW_LATENCY + + + + + + + AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY + + + + + + + AudioCodecProfileType + + + + + + + LC_AAC + + + + + + + HE_AAC + + + + + + + HE_AAC_V2 + + + + + + + AUDIO_CODEC_OPUS + + + + + + + AUDIO_CODEC_PCMA + + + + + + + AUDIO_CODEC_PCMU + + + + + + + AUDIO_CODEC_G722 + + + + + + + AUDIO_CODEC_AACLC + + + + + + + AUDIO_CODEC_HEAAC + + + + + + + AUDIO_CODEC_JC1 + + + + + + + AUDIO_CODEC_HEAAC2 + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + + + + + + + AUDIO_EFFECT_OFF + + + + + + + COMPRESSION_PREFERENCE + + + + + + + PREFER_LOW_LATENCY + + + + + + + PREFER_QUALITY + + + + + + + CONTENT_INSPECT_DEVICE_TYPE + + + + + + + CONTENT_INSPECT_DEVICE_INVALID + + + + + + + CONTENT_INSPECT_DEVICE_AGORA + + + + + + + CONTENT_INSPECT_DEVICE_HIVE + + + + + + + CONTENT_INSPECT_DEVICE_TUPU + + + + + + + CONTENT_INSPECT_NEUTRAL + + + + + + + CONTENT_INSPECT_SEXY + + + + + + + CONTENT_INSPECT_PORN + + + + + + + CONTENT_INSPECT_TYPE_INVALID + + + + + + + CONTENT_INSPECT_TYPE_MODERATION + + + + + + + CONTENT_INSPECT_TYPE_SUPERVISE + + + + + + + CONTENT_INSPECT_TYPE_IMAGE_MODERATION + + + + + + + ENCODING_PREFERENCE + + + + + + + PREFER_AUTO + + + + + + + PREFER_SOFTWARE + + + + + + + PREFER_HARDWARE + + + + + + + ExternalVideoSourceType + + + + + + + VIDEO_FRAME + + + + + + + ENCODED_VIDEO_FRAME + + + + + + + ROOM_ACOUSTICS_KTV + + + + + + + ROOM_ACOUSTICS_VOCAL_CONCERT + + + + + + + ROOM_ACOUSTICS_STUDIO + + + + + + + ROOM_ACOUSTICS_PHONOGRAPH + + + + + + + ROOM_ACOUSTICS_VIRTUAL_STEREO + + + + + + + ROOM_ACOUSTICS_SPACIAL + + + + + + + ROOM_ACOUSTICS_ETHEREAL + + + + + + + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + + + + + + + ROOM_ACOUSTICS_CHORUS + + + + + + + ROOM_ACOUSTICS_3D_VOICE + + + + + + + VOICE_CHANGER_EFFECT_UNCLE + + + + + + + VOICE_CHANGER_EFFECT_OLDMAN + + + + + + + VOICE_CHANGER_EFFECT_BOY + + + + + + + VOICE_CHANGER_EFFECT_SISTER + + + + + + + VOICE_CHANGER_EFFECT_GIRL + + + + + + + VOICE_CHANGER_EFFECT_PIGKING + + + + + + + VOICE_CHANGER_EFFECT_HULK + + + + + + + STYLE_TRANSFORMATION_RNB + + + + + + + STYLE_TRANSFORMATION_POPULAR + + + + + + + PITCH_CORRECTION + + + + + + + AUDIO_EQUALIZATION_BAND_FREQUENCY + + + + + + + AUDIO_EQUALIZATION_BAND_31 + + + + + + + AUDIO_EQUALIZATION_BAND_62 + + + + + + + AUDIO_EQUALIZATION_BAND_125 + + + + + + + AUDIO_EQUALIZATION_BAND_250 + + + + + + + AUDIO_EQUALIZATION_BAND_500 + + + + + + + AUDIO_EQUALIZATION_BAND_1K + + + + + + + AUDIO_EQUALIZATION_BAND_2K + + + + + + + AUDIO_EQUALIZATION_BAND_4K + + + + + + + AUDIO_EQUALIZATION_BAND_8K + + + + + + + AUDIO_EQUALIZATION_BAND_16K + + + + + + + FRAME_TYPE_PCM16 + + + + + + + POSITION_PLAYBACK + + + + + + + POSITION_RECORD + + + + + + + POSITION_MIXED + + + + + + + POSITION_BEFORE_MIXING + + + + + + + POSITION_EAR_MONITORING + + + + + + + AudioDualMonoMode + + + + + + + AUDIO_DUAL_MONO_STEREO + + + + + + + AUDIO_DUAL_MONO_L + + + + + + + AUDIO_DUAL_MONO_R + + + + + + + AUDIO_DUAL_MONO_MIX + + + + + + + AudioMixingDualMonoMode + + + + + + + AUDIO_MIXING_DUAL_MONO_AUTO + + + + + + + AUDIO_MIXING_DUAL_MONO_L + + + + + + + AUDIO_MIXING_DUAL_MONO_R + + + + + + + AUDIO_MIXING_DUAL_MONO_MIX + + + + + + + AUDIO_MIXING_REASON_CAN_NOT_OPEN + + + + + + + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + + + + + + + AUDIO_MIXING_REASON_INTERRUPTED_EOF + + + + + + + AUDIO_MIXING_REASON_OK + + + + + + + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + + + + + + + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_MIXING_REASON_STOPPED_BY_USER + + + + + + + AUDIO_MIXING_STATE_PLAYING + + + + + + + AUDIO_MIXING_STATE_PAUSED + + + + + + + AUDIO_MIXING_STATE_STOPPED + + + + + + + AUDIO_MIXING_STATE_FAILED + + + + + + + AUDIO_MIXING_STATE_COMPLETED + + + + + + + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + + + + + + + AgoraAudioProcessChannels + + + + + + + AGORA_AUDIO_MONO_PROCESSING + + + + + + + AGORA_AUDIO_STEREO_PROCESSING + + + + + + + AudioProfile + + + + + + + DEFAULT + + + + + + + SPEECH_STANDARD + + + + + + + MUSIC_STANDARD + + + + + + + MUSIC_STANDARD_STEREO + + + + + + + MUSIC_HIGH_QUALITY + + + + + + + MUSIC_HIGH_QUALITY_STEREO + + + + + + + AUDIO_PROFILE_IOT + + + + + + + AUDIO_PROFILE_NUM + + + + + + + AudioRangeMode + + + + + + + AUDIO_RANGE_MODE_WORLD + + + + + + + AUDIO_RANGE_MODE_TEAM + + + + + + + AUDIO_FILE_RECORDING_MIC + + + + + + + AUDIO_FILE_RECORDING_PLAYBACK + + + + + + + AUDIO_FILE_RECORDING_MIXED + + + + + + + AUDIO_RECORDING_QUALITY_LOW + + + + + + + AUDIO_RECORDING_QUALITY_MEDIUM + + + + + + + AUDIO_RECORDING_QUALITY_HIGH + + + + + + + AUDIO_RECORDING_QUALITY_ULTRA_HIGH + + + + + + + AUDIO_REVERB_OFF + + + + + + + AUDIO_REVERB_FX_KTV + + + + + + + AUDIO_REVERB_FX_VOCAL_CONCERT + + + + + + + AUDIO_REVERB_FX_UNCLE + + + + + + + AUDIO_REVERB_FX_SISTER + + + + + + + AUDIO_REVERB_FX_STUDIO + + + + + + + AUDIO_REVERB_FX_POPULAR + + + + + + + AUDIO_REVERB_FX_RNB + + + + + + + AUDIO_REVERB_FX_PHONOGRAPH + + + + + + + AUDIO_REVERB_POPULAR + + + + + + + AUDIO_REVERB_RNB + + + + + + + AUDIO_REVERB_ROCK + + + + + + + AUDIO_REVERB_HIPHOP + + + + + + + AUDIO_REVERB_VOCAL_CONCERT + + + + + + + AUDIO_REVERB_KTV + + + + + + + AUDIO_REVERB_STUDIO + + + + + + + AUDIO_VIRTUAL_STEREO + + + + + + + AUDIO_ELECTRONIC_VOICE + + + + + + + AUDIO_THREEDIM_VOICE + + + + + + + AUDIO_REVERB_TYPE + + + + + + + AUDIO_REVERB_DRY_LEVEL + + + + + + + AUDIO_REVERB_WET_LEVEL + + + + + + + AUDIO_REVERB_ROOM_SIZE + + + + + + + AUDIO_REVERB_WET_DELAY + + + + + + + AUDIO_REVERB_STRENGTH + + + + + + + AUDIO_ROUTE_DEFAULT + + + + + + + AUDIO_ROUTE_HEADSET + + + + + + + AUDIO_ROUTE_EARPIECE + + + + + + + AUDIO_ROUTE_HEADSETNOMIC + + + + + + + AUDIO_ROUTE_SPEAKERPHONE + + + + + + + AUDIO_ROUTE_LOUDSPEAKER + + + + + + + AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP + + + + + + + AUDIO_ROUTE_USB + + + + + + + AUDIO_ROUTE_HDMI + + + + + + + AUDIO_ROUTE_DISPLAYPORT + + + + + + + AUDIO_ROUTE_AIRPLAY + + + + + + + AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP + + + + + + + AudioSampleRateType + + + + + + + AUDIO_SAMPLE_RATE_32000 + + + + + + + AUDIO_SAMPLE_RATE_44100 + + + + + + + AUDIO_SAMPLE_RATE_48000 + + + + + + + AudioScenario + + + + + + + AUDIO_SCENARIO_DEFAULT + + + + + + + AUDIO_SCENARIO_CHATROOM + + + + + + + AUDIO_SCENARIO_GAME_STREAMING + + + + + + + AUDIO_SCENARIO_CHORUS + + + + + + + AUDIO_SCENARIO_MEETING + + + + + + + CONNECTION_STATE_DISCONNECTED + + + + + + + CONNECTION_STATE_CONNECTING + + + + + + + CONNECTION_STATE_CONNECTED + + + + + + + CONNECTION_STATE_RECONNECTING + + + + + + + CONNECTION_STATE_FAILED + + + + + + + CONNECTION_CHANGED_CONNECTING + + + + + + + CONNECTION_CHANGED_JOIN_SUCCESS + + + + + + + CONNECTION_CHANGED_INTERRUPTED + + + + + + + CONNECTION_CHANGED_BANNED_BY_SERVER + + + + + + + CONNECTION_CHANGED_JOIN_FAILED + + + + + + + CONNECTION_CHANGED_LEAVE_CHANNEL + + + + + + + CONNECTION_CHANGED_INVALID_APP_ID + + + + + + + CONNECTION_CHANGED_INVALID_CHANNEL_NAME + + + + + + + CONNECTION_CHANGED_INVALID_TOKEN + + + + + + + CONNECTION_CHANGED_TOKEN_EXPIRED + + + + + + + CONNECTION_CHANGED_REJECTED_BY_SERVER + + + + + + + CONNECTION_CHANGED_SETTING_PROXY_SERVER + + + + + + + CONNECTION_CHANGED_RENEW_TOKEN + + + + + + + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED + + + + + + + CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT + + + + + + + CONNECTION_CHANGED_REJOIN_SUCCESS + + + + + + + CONNECTION_CHANGED_LOST + + + + + + + CONNECTION_CHANGED_ECHO_TEST + + + + + + + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER + + + + + + + CONNECTION_CHANGED_SAME_UID_LOGIN + + + + + + + CONNECTION_CHANGED_TOO_MANY_BROADCASTERS + + + + + + + CONTAINER_MP4 + + + + + + + AudioTrackType + + + + + + + AUDIO_TRACK_MIXABLE + + + + + + + AUDIO_TRACK_DIRECT + + + + + + + CAMERA_DIRECTION + + + + + + + CAMERA_REAR + + + + + + + CAMERA_FRONT + + + + + + + CAMERA_EXTRA + + + + + + + CAMERA_FOCAL_LENGTH_TYPE + + + + + + + CAMERA_FOCAL_LENGTH_DEFAULT + + + + + + + CAMERA_FOCAL_LENGTH_WIDE_ANGLE + + + + + + + CAMERA_FOCAL_LENGTH_ULTRA_WIDE + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_INVALID + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_NORMAL + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_DARK + + + + + + + CAPTURER_OUTPUT_PREFERENCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_AUTO + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PREVIEW + + + + + + + CAPTURER_OUTPUT_PREFERENCE_MANUAL + + + + + + + RELAY_OK + + + + + + + RELAY_ERROR_SERVER_ERROR_RESPONSE + + + + + + + RELAY_ERROR_SERVER_NO_RESPONSE + + + + + + + RELAY_ERROR_NO_RESOURCE_AVAILABLE + + + + + + + RELAY_ERROR_FAILED_JOIN_SRC + + + + + + + RELAY_ERROR_FAILED_JOIN_DEST + + + + + + + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + + + + + + + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + + + + + + + RELAY_ERROR_SERVER_CONNECTION_LOST + + + + + + + RELAY_ERROR_INTERNAL_ERROR + + + + + + + RELAY_ERROR_SRC_TOKEN_EXPIRED + + + + + + + RELAY_ERROR_DEST_TOKEN_EXPIRED + + + + + + + RELAY_EVENT_NETWORK_DISCONNECTED + + + + + + + RELAY_EVENT_NETWORK_CONNECTED + + + + + + + RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL + + + + + + + RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC + + + + + + + RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL + + + + + + + RELAY_EVENT_VIDEO_PROFILE_UPDATE + + + + + + + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + + + + + + + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED + + + + + + + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + + + + + + + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED + + + + + + + RELAY_STATE_IDLE + + + + + + + RELAY_STATE_CONNECTING + + + + + + + RELAY_STATE_RUNNING + + + + + + + RELAY_STATE_FAILURE + + + + + + + CHANNEL_PROFILE_COMMUNICATION + + + + + + + CHANNEL_PROFILE_LIVE_BROADCASTING + + + + + + + CHANNEL_PROFILE_GAME + + + + + + + CHANNEL_PROFILE_CLOUD_GAMING + + + + + + + CHANNEL_PROFILE_COMMUNICATION_1v1 + + + + + + + CLIENT_ROLE_BROADCASTER + + + + + + + CLIENT_ROLE_AUDIENCE + + + + + + + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + + + + + + + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + + + + + + + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + + + + + + + TRANSPORT_TYPE_NONE_PROXY + + + + + + + TRANSPORT_TYPE_UDP_PROXY + + + + + + + TRANSPORT_TYPE_TCP_PROXY + + + + + + + PROXY_TYPE_NONE_PROXY + + + + + + + PROXY_TYPE_UDP_CLOUD_PROXY + + + + + + + PROXY_TYPE_TCP_CLOUD_PROXY + + + + + + + PROXY_TYPE_LOCAL_PROXY + + + + + + + PROXY_TYPE_TCP_AUTO_FALLBACK + + + + + + + DEGRADATION_PREFERENCE + + + + + + + MAINTAIN_QUALITY + + + + + + + MAINTAIN_FRAMERATE + + + + + + + MAINTAIN_BALANCED + + + + + + + MAINTAIN_RESOLUTION + + + + + + + DirectCdnStreamingReason + + + + + + + OK + + + + + + + FAILED + + + + + + + AUDIO_PUBLICATION + + + + + + + VIDEO_PUBLICATION + + + + + + + NET_CONNECT + + + + + + + BAD_NAME + + + + + + + DirectCdnStreamingState + + + + + + + IDLE + + + + + + + RUNNING + + + + + + + STOPPED + + + + + + + FAILED + + + + + + + RECOVERING + + + + + + + EAR_MONITORING_FILTER_NONE + + + + + + + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + + + + + + + EAR_MONITORING_FILTER_NOISE_SUPPRESSION + + + + + + + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + + + + + + + ENCRYPTION_ERROR_TYPE + + + + + + + ENCRYPTION_ERROR_INTERNAL_FAILURE + + + + + + + ENCRYPTION_ERROR_DECRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_ENCRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE + + + + + + + ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE + + + + + + + ERR_OK + + + + + + + ERR_FAILED + + + + + + + ERR_INVALID_ARGUMENT + + + + + + + ERR_NOT_READY + + + + + + + ERR_NOT_SUPPORTED + + + + + + + ERR_REFUSED + + + + + + + ERR_BUFFER_TOO_SMALL + + + + + + + ERR_NOT_INITIALIZED + + + + + + + ERR_INVALID_STATE + + + + + + + ERR_NO_PERMISSION + + + + + + + ERR_TIMEDOUT + + + + + + + ERR_JOIN_CHANNEL_REJECTED + + + + + + + ERR_LEAVE_CHANNEL_REJECTED + + + + + + + ERR_ALREADY_IN_USE + + + + + + + ERR_ABORTED + + + + + + + ERR_RESOURCE_LIMITED + + + + + + + ERR_INVALID_APP_ID + + + + + + + ERR_INVALID_CHANNEL_NAME + + + + + + + ERR_NO_SERVER_RESOURCES + + + + + + + ERR_TOKEN_EXPIRED + + + + + + + ERR_INVALID_TOKEN + + + + + + + ERR_CONNECTION_INTERRUPTED + + + + + + + ERR_CONNECTION_LOST + + + + + + + ERR_NOT_IN_CHANNEL + + + + + + + ERR_SIZE_TOO_LARGE + + + + + + + ERR_BITRATE_LIMIT + + + + + + + ERR_TOO_MANY_DATA_STREAMS + + + + + + + ERR_STREAM_MESSAGE_TIMEOUT + + + + + + + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + + + + + + + ERR_DECRYPTION_FAILED + + + + + + + ERR_INVALID_USER_ID + + + + + + + ERR_CLIENT_IS_BANNED_BY_SERVER + + + + + + + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + + + + + + + ERR_LICENSE_CREDENTIAL_INVALID + + + + + + + ERR_INVALID_USER_ACCOUNT + + + + + + + ERR_MODULE_NOT_FOUND + + + + + + + ERR_LOAD_MEDIA_ENGINE + + + + + + + ERR_ADM_GENERAL_ERROR + + + + + + + ERR_ADM_INIT_PLAYOUT + + + + + + + ERR_ADM_START_PLAYOUT + + + + + + + ERR_ADM_STOP_PLAYOUT + + + + + + + ERR_ADM_INIT_RECORDING + + + + + + + ERR_ADM_START_RECORDING + + + + + + + ERR_ADM_STOP_RECORDING + + + + + + + ERR_VDM_CAMERA_NOT_AUTHORIZED + + + + + + + ERR_DATASTREAM_DECRYPTION_FAILED + + + + + + + EncryptionMode + + + + + + + AES_128_XTS + + + + + + + AES_128_ECB + + + + + + + AES_256_XTS + + + + + + + SM4_128_ECB + + + + + + + AES_128_GCM + + + + + + + AES_256_GCM + + + + + + + AES_128_GCM2 + + + + + + + AES_256_GCM2 + + + + + + + MODE_END + + + + + + + EXPERIENCE_REASON_NONE + + + + + + + REMOTE_NETWORK_QUALITY_POOR + + + + + + + LOCAL_NETWORK_QUALITY_POOR + + + + + + + WIRELESS_SIGNAL_POOR + + + + + + + WIFI_BLUETOOTH_COEXIST + + + + + + + EXPERIENCE_QUALITY_GOOD + + + + + + + EXPERIENCE_QUALITY_BAD + + + + + + + FeatureType + + + + + + + VIDEO_VIRTUAL_BACKGROUND + + + + + + + VIDEO_BEAUTY_EFFECT + + + + + + + FRAME_RATE + + + + + + + FRAME_RATE_FPS_1 + + + + + + + FRAME_RATE_FPS_7 + + + + + + + FRAME_RATE_FPS_10 + + + + + + + FRAME_RATE_FPS_15 + + + + + + + FRAME_RATE_FPS_24 + + + + + + + FRAME_RATE_FPS_30 + + + + + + + FRAME_RATE_FPS_60 + + + + + + + HEADPHONE_EQUALIZER_PRESET + + + + + + + HEADPHONE_EQUALIZER_OFF + + + + + + + HEADPHONE_EQUALIZER_OVEREAR + + + + + + + HEADPHONE_EQUALIZER_INEAR + + + + + + + LASTMILE_PROBE_RESULT_COMPLETE + + + + + + + LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE + + + + + + + LASTMILE_PROBE_RESULT_UNAVAILABLE + + + + + + + LIGHTENING_CONTRAST_LOW + + + + + + + LIGHTENING_CONTRAST_NORMAL + + + + + + + LIGHTENING_CONTRAST_HIGH + + + + + + + INJECT_STREAM_STATUS_START_SUCCESS + + + + + + + INJECT_STREAM_STATUS_START_ALREADY_EXISTS + + + + + + + INJECT_STREAM_STATUS_START_UNAUTHORIZED + + + + + + + INJECT_STREAM_STATUS_START_TIMEDOUT + + + + + + + INJECT_STREAM_STATUS_START_FAILED + + + + + + + INJECT_STREAM_STATUS_STOP_SUCCESS + + + + + + + INJECT_STREAM_STATUS_STOP_NOT_FOUND + + + + + + + INJECT_STREAM_STATUS_STOP_UNAUTHORIZED + + + + + + + INJECT_STREAM_STATUS_STOP_TIMEDOUT + + + + + + + INJECT_STREAM_STATUS_STOP_FAILED + + + + + + + INJECT_STREAM_STATUS_BROKEN + + + + + + + LOCAL_AUDIO_STREAM_REASON_OK + + + + + + + LOCAL_AUDIO_STREAM_REASON_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + + + + + + + LOCAL_AUDIO_STREAM_STATE_STOPPED + + + + + + + LOCAL_AUDIO_STREAM_STATE_RECORDING + + + + + + + LOCAL_AUDIO_STREAM_STATE_ENCODING + + + + + + + LOCAL_AUDIO_STREAM_STATE_FAILED + + + + + + + LOCAL_RPOXY_CONNECTIVITY_FIRST + + + + + + + LOCAL_RPOXY_LOCAL_ONLY + + + + + + + LOCAL_VIDEO_STREAM_REASON_OK + + + + + + + LOCAL_VIDEO_STREAM_REASON_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE + + + + + + + LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED + + + + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT + + + + + + + LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR + + + + + + + LOCAL_VIDEO_STREAM_STATE_STOPPED + + + + + + + LOCAL_VIDEO_STREAM_STATE_CAPTURING + + + + + + + LOCAL_VIDEO_STREAM_STATE_ENCODING + + + + + + + LOCAL_VIDEO_STREAM_STATE_FAILED + + + + + + ERR_SCREEN_CAPTURE_PERMISSION_DENIED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + + + + + + + LOG_FILTER_OFF + + + + + + + LOG_FILTER_DEBUG + + + + + + + LOG_FILTER_INFO + + + + + + + LOG_FILTER_WARN + + + + + + + LOG_FILTER_ERROR + + + + + + + LOG_FILTER_CRITICAL + + + + + + + LogLevel + + + + + + + LOG_LEVEL_NONE + + + + + + + LOG_LEVEL_INFO + + + + + + + LOG_LEVEL_WARN + + + + + + + LOG_LEVEL_ERROR + + + + + + + LOG_LEVEL_FATAL + + + + + + + LOW_LIGHT_ENHANCE_AUTO + + + + + + + LOW_LIGHT_ENHANCE_MANUAL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_FAST + + + + + + + MEDIA_DEVICE_STATE_ACTIVE + + + + + + + MEDIA_DEVICE_STATE_DISABLED + + + + + + + MEDIA_DEVICE_STATE_NOT_PRESENT + + + + + + + MEDIA_DEVICE_STATE_UNPLUGGED + + + + + + + MEDIA_DEVICE_STATE_UNRECOMMENDED + + + + + + + AUDIO_APPLICATION_PLAYOUT_DEVICE + + + + + + + MediaPlayerReason + + + + + + + PLAYER_REASON_NONE + + + + + + + PLAYER_REASON_INVALID_ARGUMENTS + + + + + + + PLAYER_REASON_INTERNAL + + + + + + + PLAYER_REASON_NO_RESOURCE + + + + + + + PLAYER_REASON_INVALID_MEDIA_SOURCE + + + + + + + PLAYER_REASON_UNKNOWN_STREAM_TYPE + + + + + + + PLAYER_REASON_OBJ_NOT_INITIALIZED + + + + + + + PLAYER_REASON_CODEC_NOT_SUPPORTED + + + + + + + PLAYER_REASON_VIDEO_RENDER_FAILED + + + + + + + PLAYER_REASON_INVALID_STATE + + + + + + + PLAYER_REASON_URL_NOT_FOUND + + + + + + + PLAYER_REASON_INVALID_CONNECTION_STATE + + + + + + + PLAYER_REASON_SRC_BUFFER_UNDERFLOW + + + + + + + PLAYER_REASON_INTERRUPTED + + + + + + + PLAYER_REASON_NOT_SUPPORTED + + + + + + + PLAYER_REASON_TOKEN_EXPIRED + + + + + + + PLAYER_REASON_IP_EXPIRED + + + + + + + PLAYER_REASON_UNKNOWN + + + + + + + MediaPlayerEvent + + + + + + + PLAYER_EVENT_UNKNOWN + + + + + + + PLAYER_EVENT_SEEK_BEGIN + + + + + + + PLAYER_EVENT_SEEK_COMPLETE + + + + + + + PLAYER_EVENT_SEEK_ERROR + + + + + + + PLAYER_EVENT_AUDIO_TRACK_CHANGED + + + + + + + PLAYER_EVENT_BUFFER_LOW + + + + + + + PLAYER_EVENT_BUFFER_RECOVER + + + + + + + PLAYER_EVENT_FREEZE_START + + + + + + + PLAYER_EVENT_FREEZE_STOP + + + + + + + PLAYER_EVENT_SWITCH_BEGIN + + + + + + + PLAYER_EVENT_SWITCH_COMPLETE + + + + + + + PLAYER_EVENT_SWITCH_ERROR + + + + + + + PLAYER_EVENT_FIRST_DISPLAYED + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + + + + + + + MediaPlayerMetadataType + + + + + + + PLAYER_METADATA_TYPE_UNKNOWN + + + + + + + PLAYER_METADATA_TYPE_SEI + + + + + + + MediaPlayerState + + + + + + + PLAYER_STATE_UNKNOWN + + + + + + + PLAYER_STATE_IDLE + + + + + + + PLAYER_STATE_OPENING + + + + + + + PLAYER_STATE_OPEN_COMPLETED + + + + + + + PLAYER_STATE_PLAYING + + + + + + + PLAYER_STATE_PAUSED + + + + + + + PLAYER_STATE_PLAYBACK_COMPLETED + + + + + + + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + + + + + + + PLAYER_STATE_STOPPED + + + + + + + PLAYER_STATE_FAILED + + + + + + + MediaSourceType + + + + + + + AUDIO_PLAYOUT_SOURCE + + + + + + + AUDIO_RECORDING_SOURCE + + + + + + + PRIMARY_CAMERA_SOURCE + + + + + + + SECONDARY_CAMERA_SOURCE + + + + + + + CUSTOM_VIDEO_SOURCE + + + + + + + SPEECH_DRIVEN_VIDEO_SOURCE + + + + + + + UNKNOWN_MEDIA_SOURCE + + + + + + + MEDIA_TRACE_EVENT + + + + + + + MEDIA_TRACE_EVENT_VIDEO_RENDERED + + + + + + + MEDIA_TRACE_EVENT_VIDEO_DECODED + + + + + + + MediaStreamType + + + + + + + STREAM_TYPE_UNKNOWN + + + + + + + STREAM_TYPE_VIDEO + + + + + + + STREAM_TYPE_AUDIO + + + + + + + STREAM_TYPE_SUBTITLE + + + + + + + UNKNOWN_METADATA + + + + + + + VIDEO_METADATA + + + + + + + NETWORK_TYPE_UNKNOWN + + + + + + + NETWORK_TYPE_DISCONNECTED + + + + + + + NETWORK_TYPE_LAN + + + + + + + NETWORK_TYPE_WIFI + + + + + + + NETWORK_TYPE_MOBILE_2G + + + + + + + NETWORK_TYPE_MOBILE_3G + + + + + + + NETWORK_TYPE_MOBILE_4G + + + + + + + NETWORK_TYPE_MOBILE_5G + + + + + + + MusicContentCenterStateReason + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_OK + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_ERROR + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL + + + + + + + PreloadState + + + + + + + PRELOAD_STATE_COMPLETED + + + + + + + PRELOAD_STATE_FAILED + + + + + + + PRELOAD_STATE_PRELOADING + + + + + + + PRELOAD_STATE_REMOVED + + + + + + + MusicCacheStatusType + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHED + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHING + + + + + + + ORIENTATION_MODE + + + + + + + ORIENTATION_MODE_ADAPTIVE + + + + + + + ORIENTATION_FIXED_LANDSCAPE + + + + + + + ORIENTATION_FIXED_PORTRAIT + + + + + + + RECORD_AUDIO + + + + + + + CAMERA + + + + + + + SCREEN_CAPTURE + + + + + + + ScreenScenarioType + + + + + + + SCREEN_SCENARIO_DOCUMENT + + + + + + + SCREEN_SCENARIO_GAMING + + + + + + + SCREEN_SCENARIO_VIDEO + + + + + + + MediaPlayerPreloadEvent + + + + + + + PLAYER_PRELOAD_EVENT_BEGIN + + + + + + + PLAYER_PRELOAD_EVENT_COMPLETE + + + + + + + PLAYER_PRELOAD_EVENT_ERROR + + + + + + + USER_PRIORITY_HIGH + + + + + + + USER_PRIORITY_NORANL + + + + + + + QUALITY_REPORT_FORMAT_TYPE + + + + + + + QUALITY_REPORT_JSON + + + + + + + QUALITY_REPORT_HTML + + + + + + + QUALITY_UNKNOWN + + + + + + + QUALITY_EXCELLENT + + + + + + + QUALITY_GOOD + + + + + + + QUALITY_POOR + + + + + + + QUALITY_BAD + + + + + + + QUALITY_VBAD + + + + + + + QUALITY_DOWN + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + + + + + + + RECORDER_REASON_NONE + + + + + + + RECORDER_ERROR_WRITE_FAILED + + + + + + + RECORDER_ERROR_NO_STREAM + + + + + + + RECORDER_ERROR_OVER_MAX_DURATION + + + + + + + RECORDER_ERROR_CONFIG_CHANGED + + + + + + + RECORDER_STATE_ERROR + + + + + + + RECORDER_STATE_START + + + + + + + RECORDER_STATE_STOP + + + + + + + REMOTE_AUDIO_STATE_STOPPED + + + + + + + REMOTE_AUDIO_STATE_STARTING + + + + + + + REMOTE_AUDIO_STATE_DECODING + + + + + + + REMOTE_AUDIO_STATE_FROZEN + + + + + + + REMOTE_AUDIO_STATE_FAILED + + + + + + + REMOTE_VIDEO_STATE_STOPPED + + + + + + + REMOTE_VIDEO_STATE_STARTING + + + + + + + REMOTE_VIDEO_STATE_DECODING + + + + + + + REMOTE_VIDEO_STATE_FROZEN + + + + + + + REMOTE_VIDEO_STATE_FAILED + + + + + + + REMOTE_AUDIO_REASON_INTERNAL + + + + + + + REMOTE_AUDIO_REASON_NETWORK_CONGESTION + + + + + + + REMOTE_AUDIO_REASON_NETWORK_RECOVERY + + + + + + + REMOTE_AUDIO_REASON_LOCAL_MUTED + + + + + + + REMOTE_AUDIO_REASON_LOCAL_UNMUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_MUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_UNMUTED + + + + + + + REMOTE_AUDIO_REASON_REMOTE_OFFLINE + + + + + + + REMOTE_VIDEO_STATE_REASON_INTERNAL + + + + + + + REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION + + + + + + + REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY + + + + + + + REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED + + + + + + + REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE + + + + + + + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK + + + + + + + + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY + + + + + + + REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT + + + + + + + RENDER_MODE_HIDDEN + + + + + + + RENDER_MODE_FIT + + + + + + + RENDER_MODE_ADAPTIVE + + + + + + + RTMP_STREAM_PUBLISH_REASON_OK + + + + + + + RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT + + + + + + + RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED + + + + + + + RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT + + + + + + + RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR + + + + + + + RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR + + + + + + + RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN + + + + + + + RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT + + + + + + + RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED + + + + + + + RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND + + + + + + + RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED + + + + + + + RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER + + + + + + + RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM + + + + + + + RTMP_STREAM_PUBLISH_REASON_NET_DOWN + + + + + + + RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE + + + + + + + RTMP_STREAM_UNPUBLISH_REASON_OK + + + + + + + RTMP_STREAM_PUBLISH_STATE_IDLE + + + + + + + RTMP_STREAM_PUBLISH_STATE_CONNECTING + + + + + + + RTMP_STREAM_PUBLISH_STATE_RUNNING + + + + + + + RTMP_STREAM_PUBLISH_STATE_RECOVERING + + + + + + + RTMP_STREAM_PUBLISH_STATE_FAILURE + + + + + + + RTMP_STREAM_PUBLISH_STATE_DISCONNECTING + + + + + + + RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE + + + + + + + RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE + + + + + + + RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT + + + + + + + RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN + + + + + + + STREAM_FALLBACK_OPTION_DISABLED + + + + + + + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + + + + + + + STREAM_FALLBACK_OPTION_AUDIO_ONLY + + + + + + + RHYTHM_PLAYER_STATE_IDLE + + + + + + + RHYTHM_PLAYER_STATE_OPENING + + + + + + + RHYTHM_PLAYER_STATE_DECODING + + + + + + + RHYTHM_PLAYER_STATE_PLAYING + + + + + + + RHYTHM_PLAYER_STATE_FAILED + + + + + + + RHYTHM_PLAYER_REASON_OK + + + + + + + RHYTHM_PLAYER_REASON_FAILED + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + + + + + + + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + + + + + + + SIMULCAST_STREAM_MODE + + + + + + + AUTO_SIMULCAST_STREAM + + + + + + + DISABLE_SIMULCAST_STREAM + + + + + + + ENABLE_SIMULCAST_STREAM + + + + + + + ConnectionState + + + + + + + SAE_CONNECTION_STATE_CONNECTING + + + + + + + SAE_CONNECTION_STATE_CONNECTED + + + + + + + SAE_CONNECTION_STATE_DISCONNECTED + + + + + + + SAE_CONNECTION_STATE_RECONNECTING + + + + + + + SAE_CONNECTION_STATE_RECONNECTED + + + + + + + ConnectionChangedReason + + + + + + + SAE_CONNECTION_CHANGED_DEFAULT + + + + + + + SAE_CONNECTION_CHANGED_CONNECTING + + + + + + + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + + + + + + + SAE_CONNECTION_CHANGED_RTM_DISCONNECT + + + + + + + SAE_CONNECTION_CHANGED_RTM_ABORTED + + + + + + + SAE_CONNECTION_CHANGED_LOST_SYNC + + + + + + + SEG_MODEL_AI + + + + + + + SEG_MODEL_GREEN + + + + + + + STREAM_PUBLISH_STATE + + + + + + + PUB_STATE_IDLE + + + + + + + PUB_STATE_NO_PUBLISHED + + + + + + + PUB_STATE_PUBLISHING + + + + + + + PUB_STATE_PUBLISHED + + + + + + + STREAM_TYPE_BOTH + + + + + + + SUB_STATE_IDLE + + + + + + + SUB_STATE_NO_SUBSCRIBED + + + + + + + SUB_STATE_SUBSCRIBING + + + + + + + SUB_STATE_SUBSCRIBED + + + + + + + USER_OFFLINE_QUIT + + + + + + + USER_OFFLINE_DROPPED + + + + + + + USER_OFFLINE_BECOME_AUDIENCE + + + + + + + VIDEO_BUFFER_RAW_DATA + + + + + + + VideoScenario + + + + + + + APPLICATION_SCENARIO_GENERAL + + + + + + + APPLICATION_SCENARIO_MEETING + + + + + + + VIDEO_CAPTURE_TYPE + + + + + + + VIDEO_CAPTURE_UNKNOWN + + + + + + + VIDEO_CAPTURE_CAMERA + + + + + + + VIDEO_CAPTURE_SCREEN + + + + + + + VIDEO_DENOISER_AUTO + + + + + + + VIDEO_DENOISER_MANUAL + + + + + + + VIDEO_DENOISER_LEVEL_HIGH_QUALITY + + + + + + + VIDEO_DENOISER_LEVEL_FAST + + + + + + + VIDEO_DENOISER_LEVEL_STRENGTH + + + + + + + VideoSourceType + + + + + + + VIDEO_SOURCE_CAMERA_PRIMARY + + + + + + + VIDEO_SOURCE_CAMERA + + + + + + + VIDEO_SOURCE_CAMERA_SECONDARY + + + + + + + VIDEO_SOURCE_SCREEN_PRIMARY + + + + + + + VIDEO_SOURCE_SCREEN + + + + + + + VIDEO_SOURCE_SCREEN_SECONDARY + + + + + + + VIDEO_SOURCE_CUSTOM + + + + + + + VIDEO_SOURCE_MEDIA_PLAYER + + + + + + + VIDEO_SOURCE_RTC_IMAGE_PNG + + + + + + + VIDEO_SOURCE_RTC_IMAGE_JPEG + + + + + + + VIDEO_SOURCE_RTC_IMAGE_GIF + + + + + + + VIDEO_SOURCE_REMOTE + + + + + + + VIDEO_SOURCE_TRANSCODED + + + + + + + VIDEO_SOURCE_CAMERA_THIRD + + + + + + + VIDEO_SOURCE_CAMERA_FOURTH + + + + + + + VIDEO_SOURCE_SPEECH_DRIVEN + + + + + + + VIDEO_SOURCE_UNKNOWN + + + + + + + CODEC_CAPABILITY_LEVEL_UNSPECIFIED + + + + + + + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + + + + + + + CODEC_CAPABILITY_LEVEL_1080P30FPS + + + + + + + CODEC_CAPABILITY_LEVEL_1080P60FPS + + + + + + + CODEC_CAPABILITY_LEVEL_4K60FPS + + + + + + + VideoCodecProfileType + + + + + + + BASELINE + + + + + + + MAIN + + + + + + + HIGH + + + + + + + VIDEO_CODEC_TYPE + + + + + + + VIDEO_CODEC_NONE + + + + + + + VIDEO_CODEC_VP8 + + + + + + + VIDEO_CODEC_H264 + + + + + + + VIDEO_CODEC_H265 + + + + + + + VIDEO_CODEC_GENERIC + + + + + + + VIDEO_CODEC_GENERIC_H264 + + + + + + + VIDEO_CODEC_AV1 + + + + + + + VIDEO_CODEC_VP9 + + + + + + + VIDEO_CODEC_GENERIC_JPEG + + + + + + + VideoCodecType + + + + + + + H264 + + + + + + + H265 + + + + + + + SCREEN_CAPTURE_CONTENT_HINT_NONE + + + + + + + SCREEN_CAPTURE_CONTENT_HINT_MOTION + + + + + + + SCREEN_CAPTURE_CONTENT_HINT_DETAILS + + + + + + + VIDEO_FRAME_PROCESS_MODE + + + + + + + PROCESS_MODE_READ_ONLY + + + + + + + PROCESS_MODE_READ_WRITE + + + + + + + VIDEO_FRAME_TYPE_BLANK_FRAME + + + + + + + VIDEO_FRAME_TYPE_KEY_FRAME + + + + + + + VIDEO_FRAME_TYPE_DELTA_FRAME + + + + + + + VIDEO_FRAME_TYPE_B_FRAME + + + + + + + VIDEO_FRAME_TYPE_DROPPABLE_FRAME + + + + + + + VIDEO_FRAME_TYPE_UNKNOW + + + + + + + VIDEO_MIRROR_MODE_AUTO + + + + + + + VIDEO_MIRROR_MODE_ENABLED + + + + + + + VIDEO_MIRROR_MODE_DISABLED + + + + + + + VideoModulePosition + + + + + + + VIDEO_MODULE_POSITION_POST_CAPTURER + + + + + + + VIDEO_MODULE_POSITION_PRE_RENDERER + + + + + + + VIDEO_MODULE_POSITION_PRE_ENCODER + + + + + + + VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN + + + + + + + VIDEO_ORIENTATION_0 + + + + + + + VIDEO_ORIENTATION_90 + + + + + + + VIDEO_ORIENTATION_180 + + + + + + + VIDEO_ORIENTATION_270 + + + + + + + VIDEO_PIXEL_DEFAULT + + + + + + + VIDEO_PIXEL_I420 + + + + + + + VIDEO_PIXEL_BGRA + + + + + + + VIDEO_PIXEL_NV21 + + + + + + + VIDEO_PIXEL_RGBA + + + + + + + VIDEO_PIXEL_IMC2 + + + + + + + VIDEO_PIXEL_ARGB + + + + + + + VIDEO_PIXEL_NV12 + + + + + + + VIDEO_PIXEL_I422 + + + + + + + VIDEO_TEXTURE_2D + + + + + + + VIDEO_TEXTURE_OES + + + + + + + VIDEO_PROFILE_LANDSCAPE_120P + + + + + + + VIDEO_PROFILE_LANDSCAPE_120P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_7 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_8 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_9 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_10 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_11 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_8 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_9 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_10 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_5 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P_5 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1440P + + + + + + + VIDEO_PROFILE_LANDSCAPE_1440P_2 + + + + + + + VIDEO_PROFILE_LANDSCAPE_4K + + + + + + + VIDEO_PROFILE_LANDSCAPE_4K_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_120P + + + + + + + VIDEO_PROFILE_PORTRAIT_120P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_180P + + + + + + + VIDEO_PROFILE_PORTRAIT_180P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_180P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_240P + + + + + + + VIDEO_PROFILE_PORTRAIT_240P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_240P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_7 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_8 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_9 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_10 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_11 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_8 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_9 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_10 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_5 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P_5 + + + + + + + VIDEO_PROFILE_PORTRAIT_1440P + + + + + + + VIDEO_PROFILE_PORTRAIT_1440P_2 + + + + + + + VIDEO_PROFILE_PORTRAIT_4K + + + + + + + VIDEO_PROFILE_PORTRAIT_4K_3 + + + + + + + VIDEO_STREAM_HIGH + + + + + + + VIDEO_STREAM_LOW + + + + + + + VIDEO_PROFILE_DEFAULT + + + + + + + VIEW_SETUP_MODE_REPLACE + + + + + + + VIEW_SETUP_MODE_ADD + + + + + + + VIEW_SETUP_MODE_REMOVE + + + + + + + VOICE_BEAUTIFIER_OFF + + + + + + + CHAT_BEAUTIFIER_MAGNETIC + + + + + + + CHAT_BEAUTIFIER_FRESH + + + + + + + CHAT_BEAUTIFIER_VITALITY + + + + + + + SINGING_BEAUTIFIER + + + + + + + TIMBRE_TRANSFORMATION_VIGOROUS + + + + + + + TIMBRE_TRANSFORMATION_DEEP + + + + + + + TIMBRE_TRANSFORMATION_MELLOW + + + + + + + TIMBRE_TRANSFORMATION_FALSETTO + + + + + + + TIMBRE_TRANSFORMATION_FULL + + + + + + + TIMBRE_TRANSFORMATION_CLEAR + + + + + + + TIMBRE_TRANSFORMATION_RESOUNDING + + + + + + + TIMBRE_TRANSFORMATION_RINGING + + + + + + + ULTRA_HIGH_QUALITY_VOICE + + + + + + + VOICE_CHANGER_OFF + + + + + + + VOICE_CHANGER_OLDMAN + + + + + + + VOICE_CHANGER_BABYBOY + + + + + + + VOICE_CHANGER_BABYGIRL + + + + + + + VOICE_CHANGER_ZHUBAJIE + + + + + + + VOICE_CHANGER_ETHEREAL + + + + + + + VOICE_CHANGER_HULK + + + + + + + VOICE_BEAUTY_VIGOROUS + + + + + + + VOICE_BEAUTY_DEEP + + + + + + + VOICE_BEAUTY_MELLOW + + + + + + + VOICE_BEAUTY_FALSETTO + + + + + + + VOICE_BEAUTY_FULL + + + + + + + VOICE_BEAUTY_CLEAR + + + + + + + VOICE_BEAUTY_RESOUNDING + + + + + + + VOICE_BEAUTY_RINGING + + + + + + + VOICE_BEAUTY_SPACIAL + + + + + + + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_FRESH + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + + + + + + + VOICE_CONVERSION_OFF + + + + + + + VOICE_CHANGER_NEUTRAL + + + + + + + VOICE_CHANGER_SWEET + + + + + + + VOICE_CHANGER_SOLID + + + + + + + VOICE_CHANGER_BASS + + + + + + + + + channelId + + + + + + + info + + + + + + + uid + + + + + + + + + v3.2.0 + + + + + + + v3.3.0 + + + + + + + v3.0.0 + + + + + + + + + content://com.android.providers.media.documents/document/audio%203A14441 + + + + + + + /sdcard/emulated/0/audio.aac + + + + + + + /storage/emulated/0/Android/data/<packagename>/files/example.jpg + + + + + + + libagora_ai_denoise_extension.dll + + + + + + + STANDARD_BITRATE + + + + + + + COMPATIBLE_BITRATE + + + + + + + true + + + + + + + false + + + + + + + NULL + + + + + + + libagora_clear_vision_extension.so + + + + + + + libagora_super_resolution_extension.so + + + + + + + libagora_ai_noise_suppression_extension.so + + + + + + + libagora_audio_beauty_extension.so + + + + + + + libagora_spatial_audio_extension.so + + + + + + + agora_content_inspect_extension.so + + + + + + + libagora_segmentation_extension.so + + + + + + + Class 及 Enum + Class and Enum + + + + + + + Class + + + + + From 72fce7aa51b40adc072e8e8a96de93fe1488fdfb Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:01:32 +0800 Subject: [PATCH 005/146] methods done --- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 134 ++++++++-------- .../config/keys-rtc-ng-api-harmony.ditamap | 148 +++++++++--------- 2 files changed, 141 insertions(+), 141 deletions(-) diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap index 85a74808969..9c424713879 100644 --- a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -47,7 +47,7 @@ - + @@ -80,12 +80,12 @@ - + - + - - + + @@ -128,18 +128,18 @@ - - + + - - + + - - + + @@ -233,7 +233,7 @@ - + @@ -258,16 +258,16 @@ - - + + - - - - + + + + @@ -286,7 +286,7 @@ - + @@ -322,7 +322,7 @@ - + @@ -339,11 +339,11 @@ - + - + @@ -352,7 +352,7 @@ - + @@ -362,7 +362,7 @@ - + @@ -439,7 +439,7 @@ - + @@ -483,7 +483,7 @@ - + @@ -496,7 +496,7 @@ - + @@ -504,16 +504,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -528,9 +528,9 @@ - + - + @@ -583,7 +583,7 @@ - + @@ -599,7 +599,7 @@ - + @@ -644,7 +644,7 @@ - + @@ -665,11 +665,11 @@ - - - + + + - + @@ -691,7 +691,7 @@ - + @@ -700,25 +700,25 @@ - - - - - - - - - + + + + + + + + + - - + + - + - + @@ -727,19 +727,19 @@ - - + + - + - + - - - + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index e350d294a18..7ed570faf5b 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -3328,7 +3328,7 @@ - + @@ -3388,7 +3388,7 @@ - + @@ -3435,7 +3435,7 @@ - + setLocalVideoMirrorMode @@ -3443,7 +3443,7 @@ - + @@ -3606,7 +3606,7 @@ - + @@ -3651,7 +3651,7 @@ - + enableContentInspect @@ -3674,7 +3674,7 @@ - + enableVideoImageSource @@ -3688,7 +3688,7 @@ - + setAVSyncSource @@ -3702,28 +3702,28 @@ - + addHandler - + complain - + getNetworkType - + getNtpWallTimeInMs @@ -3744,63 +3744,63 @@ - + getErrorDescription - + getNativeHandle - + getSdkVersion - + isFeatureAvailableOnDevice - + queryDeviceScore - + rate - + removeHandler - + setLocalAccessPoint - + setCloudProxy @@ -3828,14 +3828,14 @@ - + setLogLevel - + sendCustomReportMessage @@ -3859,14 +3859,14 @@ - + onFirstRemoteAudioDecoded - + onFirstRemoteAudioFrame @@ -3915,7 +3915,7 @@ - + onUserMuteAudio @@ -3929,14 +3929,14 @@ - + onNetworkTypeChanged - + onConnectionInterrupted @@ -3950,21 +3950,21 @@ - + onConnectionBanned - + onTokenPrivilegeWillExpire - + onRequestToken @@ -3978,14 +3978,14 @@ - + onUserInfoUpdated - + onUplinkNetworkInfoUpdated @@ -4015,42 +4015,42 @@ - + onVideoStopped - + onFirstLocalAudioFramePublished - + onFirstLocalVideoFramePublished - + onFirstLocalVideoFrame - + onAudioPublishStateChanged - + onVideoPublishStateChanged @@ -4059,21 +4059,21 @@ - + onAudioSubscribeStateChanged - + onFirstRemoteVideoDecoded - + onFirstRemoteVideoFrame @@ -4094,21 +4094,21 @@ - + onUserEnableLocalVideo - + onUserEnableVideo - + onUserMuteVideo @@ -4122,7 +4122,7 @@ - + onVideoSubscribeStateChanged @@ -4166,7 +4166,7 @@ - + onRemoteAudioTransportStats @@ -4180,14 +4180,14 @@ - + onRemoteVideoTransportStats - + onAudioQuality @@ -4203,70 +4203,70 @@ - + onMetaData - + onPlayerCacheStats - + onPlayerEvent - + onPlayerPlaybackStats - + onPlayerStateChanged - + onPositionChanged - + onReadData - + onSeek - + onPlayBufferUpdated - + onPreloadEvent @@ -4280,14 +4280,14 @@ - + onPlayerSrcInfoChanged - + onPlayerInfoUpdated @@ -4334,7 +4334,7 @@ - + onAudioEffectFinished @@ -4343,7 +4343,7 @@ - + onEncryptionError @@ -4366,7 +4366,7 @@ - + onTranscodingUpdated @@ -4375,7 +4375,7 @@ - + onChannelMediaRelayStateChanged @@ -4391,7 +4391,7 @@ - + onActiveSpeaker @@ -4409,7 +4409,7 @@ - + onAudioRouteChanged @@ -4418,7 +4418,7 @@ - + onRemoteSubscribeFallbackToAudioOnly @@ -4442,7 +4442,7 @@ - + @@ -4618,7 +4618,7 @@ - + @@ -4703,7 +4703,7 @@ - + @@ -4712,7 +4712,7 @@ - + @@ -4736,14 +4736,14 @@ - + onProxyConnected - + onFaceInfo From 44599bc2c44ca32efc74ea880c5f8db2c7f2975b Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:24:00 +0800 Subject: [PATCH 006/146] temp --- .../api_irtcengine_startscreencapture.dita | 1 + dita/RTC-NG/API/rtc_api_data_type.dita | 609 ++++-- .../config/keys-rtc-ng-api-harmony.ditamap | 1904 ++++++++--------- 3 files changed, 1332 insertions(+), 1182 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index f8fa2165039..4ba8af59e5a 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -15,6 +15,7 @@

public abstract int startScreenCapture(ScreenCaptureParameters screenCaptureParameters); + public abstract startScreenCapture(): number; - (int)startScreenCapture:(AgoraScreenCaptureParameters2* _Nullable)parameters NS_SWIFT_NAME(startScreenCapture(_:)); #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 32b96fbbd09..2abb08a1897 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -275,6 +275,155 @@

  • +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
        +
      • +
      • +
      • +
      • +
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
        +
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • @@ -582,100 +731,100 @@
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • @@ -1625,142 +1774,142 @@
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index 7ed570faf5b..2c0b213b875 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -4781,7 +4781,7 @@ - + AdvancedAudioOptions @@ -4795,14 +4795,14 @@ - + AdvancedConfigInfo - + AgoraRhythmPlayerConfig @@ -4816,21 +4816,21 @@ - + AudioEncodedFrameObserverConfig - + AudioFrame - + AudioSpectrumInfo @@ -4851,14 +4851,14 @@ - + BeautyOptions - + CacheStatistics @@ -4907,7 +4907,7 @@ - + ClimaxSegment @@ -4921,35 +4921,35 @@ - + ColorEnhanceOptions - + ContentInspectConfig - + ContentInspectModule - + CodecCapInfo - + CodecCapLevels @@ -4963,35 +4963,35 @@ - + DeviceInfo - + DirectCdnStreamingMediaOptions - + DirectCdnStreamingStats - + EchoTestConfiguration - + EncodedVideoFrameInfo @@ -5005,28 +5005,28 @@ - + AgoraVideoFrame - + IDirectCdnStreamingEventHandler - + AgoraFocalLengthInfo - + ImageTrackOptions @@ -5075,14 +5075,14 @@ - + LocalAccessPointConfiguration - + LogUploadServerInfo @@ -5096,7 +5096,7 @@ - + LocalSpatialAudioConfig @@ -5117,14 +5117,14 @@ - + LogConfig - + LowlightEnhanceOptions @@ -5138,42 +5138,42 @@ - + MediaPlayerSource - + Music - + MusicCacheInfo - + MusicChartInfo - + MusicCollection - + MusicContentCenterConfiguration @@ -5187,42 +5187,42 @@ - + PlayerPlaybackStats - + MediaStreamInfo - + PlayerUpdatedInfo - + RecorderInfo - + RecorderStreamInfo - + Rectangle @@ -5243,7 +5243,7 @@ - + RemoteVoicePositionInfo @@ -5313,21 +5313,21 @@ - + SpatialAudioParams - + SpatialAudioZone - + SrcInfo @@ -5348,21 +5348,21 @@ - + UplinkNetworkInfo - + UserAudioSpectrumInfo - + UserInfo @@ -5376,7 +5376,7 @@ - + VideoDenoiserOptions @@ -5544,21 +5544,21 @@ - + VideoLayout - + VideoRenderingTracingInfo - + VideoSubscriptionOptions @@ -5670,7 +5670,7 @@ - + WatermarkOptions @@ -5682,3086 +5682,3086 @@ - ADAPT_NONE + Adaptnone - ADAPT_UP_BANDWIDTH + Adaptupbandwidth - ADAPT_DOWN_BANDWIDTH + Adaptdownbandwidth - + - AreaCode + Areacode - AREA_CODE_CN + Areacodecn - AREA_CODE_NA + Areacodena - AREA_CODE_EU + Areacodeeu - AREA_CODE_AS + Areacodeas - AREA_CODE_JP + Areacodejp - AREA_CODE_IN + Areacodein - AREA_CODE_GLOB + Areacodeglob - AUDIENCE_LATENCY_LEVEL_LOW_LATENCY + Audiencelatencylevellowlatency - AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY + Audiencelatencylevelultralowlatency - AudioCodecProfileType + Audiocodecprofiletype - LC_AAC + Lcaac - HE_AAC + Heaac - HE_AAC_V2 + Heaacv2 - AUDIO_CODEC_OPUS + Audiocodecopus - AUDIO_CODEC_PCMA + Audiocodecpcma - AUDIO_CODEC_PCMU + Audiocodecpcmu - AUDIO_CODEC_G722 + Audiocodecg722 - AUDIO_CODEC_AACLC + Audiocodecaaclc - AUDIO_CODEC_HEAAC + Audiocodecheaac - AUDIO_CODEC_JC1 + Audiocodecjc1 - AUDIO_CODEC_HEAAC2 + Audiocodecheaac2 - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC + Audioencodedframeobserverpositionmic - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + Audioencodedframeobserverpositionplayback - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + Audioencodedframeobserverpositionmixed - AUDIO_ENCODING_TYPE_AAC_16000_LOW + Audioencodingtypeaac16000low - AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + Audioencodingtypeaac16000medium - AUDIO_ENCODING_TYPE_AAC_32000_LOW + Audioencodingtypeaac32000low - AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + Audioencodingtypeaac32000medium - AUDIO_ENCODING_TYPE_AAC_32000_HIGH + Audioencodingtypeaac32000high - AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + Audioencodingtypeaac48000medium - AUDIO_ENCODING_TYPE_AAC_48000_HIGH + Audioencodingtypeaac48000high - AUDIO_ENCODING_TYPE_OPUS_16000_LOW + Audioencodingtypeopus16000low - AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + Audioencodingtypeopus16000medium - AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + Audioencodingtypeopus48000medium - AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + Audioencodingtypeopus48000high - AUDIO_EFFECT_OFF + Audioeffectoff - COMPRESSION_PREFERENCE + Compressionpreference - PREFER_LOW_LATENCY + Preferlowlatency - PREFER_QUALITY + Preferquality - CONTENT_INSPECT_DEVICE_TYPE + Contentinspectdevicetype - CONTENT_INSPECT_DEVICE_INVALID + Contentinspectdeviceinvalid - CONTENT_INSPECT_DEVICE_AGORA + Contentinspectdeviceagora - CONTENT_INSPECT_DEVICE_HIVE + Contentinspectdevicehive - CONTENT_INSPECT_DEVICE_TUPU + Contentinspectdevicetupu - CONTENT_INSPECT_NEUTRAL + Contentinspectneutral - CONTENT_INSPECT_SEXY + Contentinspectsexy - CONTENT_INSPECT_PORN + Contentinspectporn - CONTENT_INSPECT_TYPE_INVALID + Contentinspecttypeinvalid - CONTENT_INSPECT_TYPE_MODERATION + Contentinspecttypemoderation - CONTENT_INSPECT_TYPE_SUPERVISE + Contentinspecttypesupervise - CONTENT_INSPECT_TYPE_IMAGE_MODERATION + Contentinspecttypeimagemoderation - ENCODING_PREFERENCE + Encodingpreference - PREFER_AUTO + Preferauto - PREFER_SOFTWARE + Prefersoftware - PREFER_HARDWARE + Preferhardware - ExternalVideoSourceType + Externalvideosourcetype - VIDEO_FRAME + Videoframe - ENCODED_VIDEO_FRAME + Encodedvideoframe - ROOM_ACOUSTICS_KTV + Roomacousticsktv - ROOM_ACOUSTICS_VOCAL_CONCERT + Roomacousticsvocalconcert - ROOM_ACOUSTICS_STUDIO + Roomacousticsstudio - ROOM_ACOUSTICS_PHONOGRAPH + Roomacousticsphonograph - ROOM_ACOUSTICS_VIRTUAL_STEREO + Roomacousticsvirtualstereo - ROOM_ACOUSTICS_SPACIAL + Roomacousticsspacial - ROOM_ACOUSTICS_ETHEREAL + Roomacousticsethereal - ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + Roomacousticsvirtualsurroundsound - ROOM_ACOUSTICS_CHORUS + Roomacousticschorus - ROOM_ACOUSTICS_3D_VOICE + Roomacoustics3dvoice - VOICE_CHANGER_EFFECT_UNCLE + Voicechangereffectuncle - VOICE_CHANGER_EFFECT_OLDMAN + Voicechangereffectoldman - VOICE_CHANGER_EFFECT_BOY + Voicechangereffectboy - VOICE_CHANGER_EFFECT_SISTER + Voicechangereffectsister - VOICE_CHANGER_EFFECT_GIRL + Voicechangereffectgirl - VOICE_CHANGER_EFFECT_PIGKING + Voicechangereffectpigking - VOICE_CHANGER_EFFECT_HULK + Voicechangereffecthulk - STYLE_TRANSFORMATION_RNB + Styletransformationrnb - STYLE_TRANSFORMATION_POPULAR + Styletransformationpopular - PITCH_CORRECTION + Pitchcorrection - AUDIO_EQUALIZATION_BAND_FREQUENCY + Audioequalizationbandfrequency - AUDIO_EQUALIZATION_BAND_31 + Audioequalizationband31 - AUDIO_EQUALIZATION_BAND_62 + Audioequalizationband62 - AUDIO_EQUALIZATION_BAND_125 + Audioequalizationband125 - AUDIO_EQUALIZATION_BAND_250 + Audioequalizationband250 - AUDIO_EQUALIZATION_BAND_500 + Audioequalizationband500 - AUDIO_EQUALIZATION_BAND_1K + Audioequalizationband1k - AUDIO_EQUALIZATION_BAND_2K + Audioequalizationband2k - AUDIO_EQUALIZATION_BAND_4K + Audioequalizationband4k - AUDIO_EQUALIZATION_BAND_8K + Audioequalizationband8k - AUDIO_EQUALIZATION_BAND_16K + Audioequalizationband16k - FRAME_TYPE_PCM16 + Frametypepcm16 - POSITION_PLAYBACK + Positionplayback - POSITION_RECORD + Positionrecord - POSITION_MIXED + Positionmixed - POSITION_BEFORE_MIXING + Positionbeforemixing - POSITION_EAR_MONITORING + Positionearmonitoring - + - AudioDualMonoMode + Audiodualmonomode - AUDIO_DUAL_MONO_STEREO + Audiodualmonostereo - AUDIO_DUAL_MONO_L + Audiodualmonol - AUDIO_DUAL_MONO_R + Audiodualmonor - AUDIO_DUAL_MONO_MIX + Audiodualmonomix - AudioMixingDualMonoMode + Audiomixingdualmonomode - AUDIO_MIXING_DUAL_MONO_AUTO + Audiomixingdualmonoauto - AUDIO_MIXING_DUAL_MONO_L + Audiomixingdualmonol - AUDIO_MIXING_DUAL_MONO_R + Audiomixingdualmonor - AUDIO_MIXING_DUAL_MONO_MIX + Audiomixingdualmonomix - AUDIO_MIXING_REASON_CAN_NOT_OPEN + Audiomixingreasoncannotopen - AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + Audiomixingreasontoofrequentcall - AUDIO_MIXING_REASON_INTERRUPTED_EOF + Audiomixingreasoninterruptedeof - AUDIO_MIXING_REASON_OK + Audiomixingreasonok - AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + Audiomixingreasononeloopcompleted - AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + Audiomixingreasonallloopscompleted - AUDIO_MIXING_REASON_STOPPED_BY_USER + Audiomixingreasonstoppedbyuser - AUDIO_MIXING_STATE_PLAYING + Audiomixingstateplaying - AUDIO_MIXING_STATE_PAUSED + Audiomixingstatepaused - AUDIO_MIXING_STATE_STOPPED + Audiomixingstatestopped - AUDIO_MIXING_STATE_FAILED + Audiomixingstatefailed - AUDIO_MIXING_STATE_COMPLETED + Audiomixingstatecompleted - AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + Audiomixingstateallloopscompleted - + - AgoraAudioProcessChannels + Agoraaudioprocesschannels - AGORA_AUDIO_MONO_PROCESSING + Agoraaudiomonoprocessing - AGORA_AUDIO_STEREO_PROCESSING + Agoraaudiostereoprocessing - + - AudioProfile + Audioprofile - DEFAULT + Default - SPEECH_STANDARD + Speechstandard - MUSIC_STANDARD + Musicstandard - MUSIC_STANDARD_STEREO + Musicstandardstereo - MUSIC_HIGH_QUALITY + Musichighquality - MUSIC_HIGH_QUALITY_STEREO + Musichighqualitystereo - AUDIO_PROFILE_IOT + Audioprofileiot - AUDIO_PROFILE_NUM + Audioprofilenum - AudioRangeMode + Audiorangemode - AUDIO_RANGE_MODE_WORLD + Audiorangemodeworld - AUDIO_RANGE_MODE_TEAM + Audiorangemodeteam - AUDIO_FILE_RECORDING_MIC + Audiofilerecordingmic - AUDIO_FILE_RECORDING_PLAYBACK + Audiofilerecordingplayback - AUDIO_FILE_RECORDING_MIXED + Audiofilerecordingmixed - AUDIO_RECORDING_QUALITY_LOW + Audiorecordingqualitylow - AUDIO_RECORDING_QUALITY_MEDIUM + Audiorecordingqualitymedium - AUDIO_RECORDING_QUALITY_HIGH + Audiorecordingqualityhigh - AUDIO_RECORDING_QUALITY_ULTRA_HIGH + Audiorecordingqualityultrahigh - AUDIO_REVERB_OFF + Audioreverboff - AUDIO_REVERB_FX_KTV + Audioreverbfxktv - AUDIO_REVERB_FX_VOCAL_CONCERT + Audioreverbfxvocalconcert - AUDIO_REVERB_FX_UNCLE + Audioreverbfxuncle - AUDIO_REVERB_FX_SISTER + Audioreverbfxsister - AUDIO_REVERB_FX_STUDIO + Audioreverbfxstudio - AUDIO_REVERB_FX_POPULAR + Audioreverbfxpopular - AUDIO_REVERB_FX_RNB + Audioreverbfxrnb - AUDIO_REVERB_FX_PHONOGRAPH + Audioreverbfxphonograph - AUDIO_REVERB_POPULAR + Audioreverbpopular - AUDIO_REVERB_RNB + Audioreverbrnb - AUDIO_REVERB_ROCK + Audioreverbrock - AUDIO_REVERB_HIPHOP + Audioreverbhiphop - AUDIO_REVERB_VOCAL_CONCERT + Audioreverbvocalconcert - AUDIO_REVERB_KTV + Audioreverbktv - AUDIO_REVERB_STUDIO + Audioreverbstudio - AUDIO_VIRTUAL_STEREO + Audiovirtualstereo - AUDIO_ELECTRONIC_VOICE + Audioelectronicvoice - AUDIO_THREEDIM_VOICE + Audiothreedimvoice - AUDIO_REVERB_TYPE + Audioreverbtype - AUDIO_REVERB_DRY_LEVEL + Audioreverbdrylevel - AUDIO_REVERB_WET_LEVEL + Audioreverbwetlevel - AUDIO_REVERB_ROOM_SIZE + Audioreverbroomsize - AUDIO_REVERB_WET_DELAY + Audioreverbwetdelay - AUDIO_REVERB_STRENGTH + Audioreverbstrength - AUDIO_ROUTE_DEFAULT + Audioroutedefault - AUDIO_ROUTE_HEADSET + Audiorouteheadset - AUDIO_ROUTE_EARPIECE + Audiorouteearpiece - AUDIO_ROUTE_HEADSETNOMIC + Audiorouteheadsetnomic - AUDIO_ROUTE_SPEAKERPHONE + Audioroutespeakerphone - AUDIO_ROUTE_LOUDSPEAKER + Audiorouteloudspeaker - AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP + Audioroutebluetoothdevicehfp - AUDIO_ROUTE_USB + Audiorouteusb - AUDIO_ROUTE_HDMI + Audioroutehdmi - AUDIO_ROUTE_DISPLAYPORT + Audioroutedisplayport - AUDIO_ROUTE_AIRPLAY + Audiorouteairplay - AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP + Audioroutebluetoothdevicea2dp - AudioSampleRateType + Audiosampleratetype - AUDIO_SAMPLE_RATE_32000 + Audiosamplerate32000 - AUDIO_SAMPLE_RATE_44100 + Audiosamplerate44100 - AUDIO_SAMPLE_RATE_48000 + Audiosamplerate48000 - AudioScenario + Audioscenario - AUDIO_SCENARIO_DEFAULT + Audioscenariodefault - AUDIO_SCENARIO_CHATROOM + Audioscenariochatroom - AUDIO_SCENARIO_GAME_STREAMING + Audioscenariogamestreaming - AUDIO_SCENARIO_CHORUS + Audioscenariochorus - AUDIO_SCENARIO_MEETING + Audioscenariomeeting - CONNECTION_STATE_DISCONNECTED + Connectionstatedisconnected - CONNECTION_STATE_CONNECTING + Connectionstateconnecting - CONNECTION_STATE_CONNECTED + Connectionstateconnected - CONNECTION_STATE_RECONNECTING + Connectionstatereconnecting - CONNECTION_STATE_FAILED + Connectionstatefailed - CONNECTION_CHANGED_CONNECTING + Connectionchangedconnecting - CONNECTION_CHANGED_JOIN_SUCCESS + Connectionchangedjoinsuccess - CONNECTION_CHANGED_INTERRUPTED + Connectionchangedinterrupted - CONNECTION_CHANGED_BANNED_BY_SERVER + Connectionchangedbannedbyserver - CONNECTION_CHANGED_JOIN_FAILED + Connectionchangedjoinfailed - CONNECTION_CHANGED_LEAVE_CHANNEL + Connectionchangedleavechannel - CONNECTION_CHANGED_INVALID_APP_ID + Connectionchangedinvalidappid - CONNECTION_CHANGED_INVALID_CHANNEL_NAME + Connectionchangedinvalidchannelname - CONNECTION_CHANGED_INVALID_TOKEN + Connectionchangedinvalidtoken - CONNECTION_CHANGED_TOKEN_EXPIRED + Connectionchangedtokenexpired - CONNECTION_CHANGED_REJECTED_BY_SERVER + Connectionchangedrejectedbyserver - CONNECTION_CHANGED_SETTING_PROXY_SERVER + Connectionchangedsettingproxyserver - CONNECTION_CHANGED_RENEW_TOKEN + Connectionchangedrenewtoken - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED + Connectionchangedclientipaddresschanged - CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT + Connectionchangedkeepalivetimeout - CONNECTION_CHANGED_REJOIN_SUCCESS + Connectionchangedrejoinsuccess - CONNECTION_CHANGED_LOST + Connectionchangedlost - CONNECTION_CHANGED_ECHO_TEST + Connectionchangedechotest - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER + Connectionchangedclientipaddresschangedbyuser - CONNECTION_CHANGED_SAME_UID_LOGIN + Connectionchangedsameuidlogin - CONNECTION_CHANGED_TOO_MANY_BROADCASTERS + Connectionchangedtoomanybroadcasters - CONTAINER_MP4 + Containermp4 - AudioTrackType + Audiotracktype - AUDIO_TRACK_MIXABLE + Audiotrackmixable - AUDIO_TRACK_DIRECT + Audiotrackdirect - CAMERA_DIRECTION + Cameradirection - CAMERA_REAR + Camerarear - CAMERA_FRONT + Camerafront - CAMERA_EXTRA + Cameraextra - CAMERA_FOCAL_LENGTH_TYPE + Camerafocallengthtype - CAMERA_FOCAL_LENGTH_DEFAULT + Camerafocallengthdefault - CAMERA_FOCAL_LENGTH_WIDE_ANGLE + Camerafocallengthwideangle - CAMERA_FOCAL_LENGTH_ULTRA_WIDE + Camerafocallengthultrawide - CAPTURE_BRIGHTNESS_LEVEL_INVALID + Capturebrightnesslevelinvalid - CAPTURE_BRIGHTNESS_LEVEL_NORMAL + Capturebrightnesslevelnormal - CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + Capturebrightnesslevelbright - CAPTURE_BRIGHTNESS_LEVEL_DARK + Capturebrightnessleveldark - CAPTURER_OUTPUT_PREFERENCE + Captureroutputpreference - CAPTURER_OUTPUT_PREFERENCE_AUTO + Captureroutputpreferenceauto - CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + Captureroutputpreferenceperformance - CAPTURER_OUTPUT_PREFERENCE_PREVIEW + Captureroutputpreferencepreview - CAPTURER_OUTPUT_PREFERENCE_MANUAL + Captureroutputpreferencemanual - RELAY_OK + Relayok - RELAY_ERROR_SERVER_ERROR_RESPONSE + Relayerrorservererrorresponse - RELAY_ERROR_SERVER_NO_RESPONSE + Relayerrorservernoresponse - RELAY_ERROR_NO_RESOURCE_AVAILABLE + Relayerrornoresourceavailable - RELAY_ERROR_FAILED_JOIN_SRC + Relayerrorfailedjoinsrc - RELAY_ERROR_FAILED_JOIN_DEST + Relayerrorfailedjoindest - RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + Relayerrorfailedpacketreceivedfromsrc - RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + Relayerrorfailedpacketsenttodest - RELAY_ERROR_SERVER_CONNECTION_LOST + Relayerrorserverconnectionlost - RELAY_ERROR_INTERNAL_ERROR + Relayerrorinternalerror - RELAY_ERROR_SRC_TOKEN_EXPIRED + Relayerrorsrctokenexpired - RELAY_ERROR_DEST_TOKEN_EXPIRED + Relayerrordesttokenexpired - RELAY_EVENT_NETWORK_DISCONNECTED + Relayeventnetworkdisconnected - RELAY_EVENT_NETWORK_CONNECTED + Relayeventnetworkconnected - RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL + Relayeventpacketjoinedsrcchannel - RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL + Relayeventpacketjoineddestchannel - RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL + Relayeventpacketsenttodestchannel - RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC + Relayeventpacketreceivedvideofromsrc - RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC + Relayeventpacketreceivedaudiofromsrc - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL + Relayeventpacketupdatedestchannel - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE + Relayeventpacketupdatedestchannelnotchange - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL + Relayeventpacketupdatedestchannelisnull - RELAY_EVENT_VIDEO_PROFILE_UPDATE + Relayeventvideoprofileupdate - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + Relayeventpausesendpackettodestchannelsuccess - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED + Relayeventpausesendpackettodestchannelfailed - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + Relayeventresumesendpackettodestchannelsuccess - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED + Relayeventresumesendpackettodestchannelfailed - RELAY_STATE_IDLE + Relaystateidle - RELAY_STATE_CONNECTING + Relaystateconnecting - RELAY_STATE_RUNNING + Relaystaterunning - RELAY_STATE_FAILURE + Relaystatefailure - CHANNEL_PROFILE_COMMUNICATION + Channelprofilecommunication - CHANNEL_PROFILE_LIVE_BROADCASTING + Channelprofilelivebroadcasting - CHANNEL_PROFILE_GAME + Channelprofilegame - CHANNEL_PROFILE_CLOUD_GAMING + Channelprofilecloudgaming - CHANNEL_PROFILE_COMMUNICATION_1v1 + Channelprofilecommunication1v1 - CLIENT_ROLE_BROADCASTER + Clientrolebroadcaster - CLIENT_ROLE_AUDIENCE + Clientroleaudience - CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + Clientrolechangefailedtoomanybroadcasters - CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + Clientrolechangefailednotauthorized - CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + Clientrolechangefailedrequesttimeout - CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + Clientrolechangefailedconnectionfailed - TRANSPORT_TYPE_NONE_PROXY + Transporttypenoneproxy - TRANSPORT_TYPE_UDP_PROXY + Transporttypeudpproxy - TRANSPORT_TYPE_TCP_PROXY + Transporttypetcpproxy - PROXY_TYPE_NONE_PROXY + Proxytypenoneproxy - PROXY_TYPE_UDP_CLOUD_PROXY + Proxytypeudpcloudproxy - PROXY_TYPE_TCP_CLOUD_PROXY + Proxytypetcpcloudproxy - PROXY_TYPE_LOCAL_PROXY + Proxytypelocalproxy - PROXY_TYPE_TCP_AUTO_FALLBACK + Proxytypetcpautofallback - DEGRADATION_PREFERENCE + Degradationpreference - MAINTAIN_QUALITY + Maintainquality - MAINTAIN_FRAMERATE + Maintainframerate - MAINTAIN_BALANCED + Maintainbalanced - MAINTAIN_RESOLUTION + Maintainresolution - DirectCdnStreamingReason + Directcdnstreamingreason - OK + Ok - FAILED + Failed - AUDIO_PUBLICATION + Audiopublication - VIDEO_PUBLICATION + Videopublication - NET_CONNECT + Netconnect - BAD_NAME + Badname - DirectCdnStreamingState + Directcdnstreamingstate - IDLE + Idle - RUNNING + Running - STOPPED + Stopped - FAILED + Failed - RECOVERING + Recovering - EAR_MONITORING_FILTER_NONE + Earmonitoringfilternone - EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + Earmonitoringfilterbuiltinaudiofilters - EAR_MONITORING_FILTER_NOISE_SUPPRESSION + Earmonitoringfilternoisesuppression - EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + Earmonitoringfilterreusepostprocessingfilter - ENCRYPTION_ERROR_TYPE + Encryptionerrortype - ENCRYPTION_ERROR_INTERNAL_FAILURE + Encryptionerrorinternalfailure - ENCRYPTION_ERROR_DECRYPTION_FAILURE + Encryptionerrordecryptionfailure - ENCRYPTION_ERROR_ENCRYPTION_FAILURE + Encryptionerrorencryptionfailure - ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE + Encryptionerrordatastreamdecryptionfailure - ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE + Encryptionerrordatastreamencryptionfailure - ERR_OK + Errok - ERR_FAILED + Errfailed - ERR_INVALID_ARGUMENT + Errinvalidargument - ERR_NOT_READY + Errnotready - ERR_NOT_SUPPORTED + Errnotsupported - ERR_REFUSED + Errrefused - ERR_BUFFER_TOO_SMALL + Errbuffertoosmall - ERR_NOT_INITIALIZED + Errnotinitialized - ERR_INVALID_STATE + Errinvalidstate - ERR_NO_PERMISSION + Errnopermission - ERR_TIMEDOUT + Errtimedout - ERR_JOIN_CHANNEL_REJECTED + Errjoinchannelrejected - ERR_LEAVE_CHANNEL_REJECTED + Errleavechannelrejected - ERR_ALREADY_IN_USE + Erralreadyinuse - ERR_ABORTED + Erraborted - ERR_RESOURCE_LIMITED + Errresourcelimited - ERR_INVALID_APP_ID + Errinvalidappid - ERR_INVALID_CHANNEL_NAME + Errinvalidchannelname - ERR_NO_SERVER_RESOURCES + Errnoserverresources - ERR_TOKEN_EXPIRED + Errtokenexpired - ERR_INVALID_TOKEN + Errinvalidtoken - ERR_CONNECTION_INTERRUPTED + Errconnectioninterrupted - ERR_CONNECTION_LOST + Errconnectionlost - ERR_NOT_IN_CHANNEL + Errnotinchannel - ERR_SIZE_TOO_LARGE + Errsizetoolarge - ERR_BITRATE_LIMIT + Errbitratelimit - ERR_TOO_MANY_DATA_STREAMS + Errtoomanydatastreams - ERR_STREAM_MESSAGE_TIMEOUT + Errstreammessagetimeout - ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + Errsetclientrolenotauthorized - ERR_DECRYPTION_FAILED + Errdecryptionfailed - ERR_INVALID_USER_ID + Errinvaliduserid - ERR_CLIENT_IS_BANNED_BY_SERVER + Errclientisbannedbyserver - ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + Errencryptedstreamnotallowedpublish - ERR_LICENSE_CREDENTIAL_INVALID + Errlicensecredentialinvalid - ERR_INVALID_USER_ACCOUNT + Errinvaliduseraccount - ERR_MODULE_NOT_FOUND + Errmodulenotfound - ERR_LOAD_MEDIA_ENGINE + Errloadmediaengine - ERR_ADM_GENERAL_ERROR + Erradmgeneralerror - ERR_ADM_INIT_PLAYOUT + Erradminitplayout - ERR_ADM_START_PLAYOUT + Erradmstartplayout - ERR_ADM_STOP_PLAYOUT + Erradmstopplayout - ERR_ADM_INIT_RECORDING + Erradminitrecording - ERR_ADM_START_RECORDING + Erradmstartrecording - ERR_ADM_STOP_RECORDING + Erradmstoprecording - ERR_VDM_CAMERA_NOT_AUTHORIZED + Errvdmcameranotauthorized - ERR_DATASTREAM_DECRYPTION_FAILED + Errdatastreamdecryptionfailed - EncryptionMode + Encryptionmode - AES_128_XTS + Aes128xts - AES_128_ECB + Aes128ecb - AES_256_XTS + Aes256xts - SM4_128_ECB + Sm4128ecb - AES_128_GCM + Aes128gcm - AES_256_GCM + Aes256gcm - AES_128_GCM2 + Aes128gcm2 - AES_256_GCM2 + Aes256gcm2 - MODE_END + Modeend - EXPERIENCE_REASON_NONE + Experiencereasonnone - REMOTE_NETWORK_QUALITY_POOR + Remotenetworkqualitypoor - LOCAL_NETWORK_QUALITY_POOR + Localnetworkqualitypoor - WIRELESS_SIGNAL_POOR + Wirelesssignalpoor - WIFI_BLUETOOTH_COEXIST + Wifibluetoothcoexist - EXPERIENCE_QUALITY_GOOD + Experiencequalitygood - EXPERIENCE_QUALITY_BAD + Experiencequalitybad - FeatureType + Featuretype - VIDEO_VIRTUAL_BACKGROUND + Videovirtualbackground - VIDEO_BEAUTY_EFFECT + Videobeautyeffect - FRAME_RATE + Framerate - FRAME_RATE_FPS_1 + Frameratefps1 - FRAME_RATE_FPS_7 + Frameratefps7 - FRAME_RATE_FPS_10 + Frameratefps10 - FRAME_RATE_FPS_15 + Frameratefps15 - FRAME_RATE_FPS_24 + Frameratefps24 - FRAME_RATE_FPS_30 + Frameratefps30 - FRAME_RATE_FPS_60 + Frameratefps60 - HEADPHONE_EQUALIZER_PRESET + Headphoneequalizerpreset - HEADPHONE_EQUALIZER_OFF + Headphoneequalizeroff - HEADPHONE_EQUALIZER_OVEREAR + Headphoneequalizeroverear - HEADPHONE_EQUALIZER_INEAR + Headphoneequalizerinear - LASTMILE_PROBE_RESULT_COMPLETE + Lastmileproberesultcomplete - LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE + Lastmileproberesultincompletenobwe - LASTMILE_PROBE_RESULT_UNAVAILABLE + Lastmileproberesultunavailable - LIGHTENING_CONTRAST_LOW + Lighteningcontrastlow - LIGHTENING_CONTRAST_NORMAL + Lighteningcontrastnormal - LIGHTENING_CONTRAST_HIGH + Lighteningcontrasthigh - INJECT_STREAM_STATUS_START_SUCCESS + Injectstreamstatusstartsuccess - INJECT_STREAM_STATUS_START_ALREADY_EXISTS + Injectstreamstatusstartalreadyexists - INJECT_STREAM_STATUS_START_UNAUTHORIZED + Injectstreamstatusstartunauthorized - INJECT_STREAM_STATUS_START_TIMEDOUT + Injectstreamstatusstarttimedout - INJECT_STREAM_STATUS_START_FAILED + Injectstreamstatusstartfailed - INJECT_STREAM_STATUS_STOP_SUCCESS + Injectstreamstatusstopsuccess - INJECT_STREAM_STATUS_STOP_NOT_FOUND + Injectstreamstatusstopnotfound - INJECT_STREAM_STATUS_STOP_UNAUTHORIZED + Injectstreamstatusstopunauthorized - INJECT_STREAM_STATUS_STOP_TIMEDOUT + Injectstreamstatusstoptimedout - INJECT_STREAM_STATUS_STOP_FAILED + Injectstreamstatusstopfailed - INJECT_STREAM_STATUS_BROKEN + Injectstreamstatusbroken - LOCAL_AUDIO_STREAM_REASON_OK + Localaudiostreamreasonok - LOCAL_AUDIO_STREAM_REASON_FAILURE + Localaudiostreamreasonfailure - LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + Localaudiostreamreasondevicenopermission - LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + Localaudiostreamreasondevicebusy - LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE + Localaudiostreamreasoncapturefailure - LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + Localaudiostreamreasonencodefailure - LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + Localaudiostreamreasoninterrupted - LOCAL_AUDIO_STREAM_STATE_STOPPED + Localaudiostreamstatestopped - LOCAL_AUDIO_STREAM_STATE_RECORDING + Localaudiostreamstaterecording - LOCAL_AUDIO_STREAM_STATE_ENCODING + Localaudiostreamstateencoding - LOCAL_AUDIO_STREAM_STATE_FAILED + Localaudiostreamstatefailed - LOCAL_RPOXY_CONNECTIVITY_FIRST + Localrpoxyconnectivityfirst - LOCAL_RPOXY_LOCAL_ONLY + Localrpoxylocalonly - LOCAL_VIDEO_STREAM_REASON_OK + Localvideostreamreasonok - LOCAL_VIDEO_STREAM_REASON_FAILURE + Localvideostreamreasonfailure - LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION + Localvideostreamreasondevicenopermission - LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY + Localvideostreamreasondevicebusy - LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE + Localvideostreamreasoncapturefailure - LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT + Localvideostreamreasoncodecnotsupport - LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND + Localvideostreamreasondevicenotfound - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED + Localvideostreamreasonscreencapturewindowminimized - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED + Localvideostreamreasonscreencapturewindowclosed - LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT + Localvideostreamreasondeviceinterrupt - LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR + Localvideostreamreasondevicefatalerror - LOCAL_VIDEO_STREAM_STATE_STOPPED + Localvideostreamstatestopped - LOCAL_VIDEO_STREAM_STATE_CAPTURING + Localvideostreamstatecapturing - LOCAL_VIDEO_STREAM_STATE_ENCODING + Localvideostreamstateencoding - LOCAL_VIDEO_STREAM_STATE_FAILED + Localvideostreamstatefailed - ERR_SCREEN_CAPTURE_PERMISSION_DENIED + Errscreencapturepermissiondenied - ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + Errscreencapturesystemnotsupported @@ -8769,1253 +8769,1253 @@ - ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + Errscreencapturesystemaudionotsupported - LOG_FILTER_OFF + Logfilteroff - LOG_FILTER_DEBUG + Logfilterdebug - LOG_FILTER_INFO + Logfilterinfo - LOG_FILTER_WARN + Logfilterwarn - LOG_FILTER_ERROR + Logfiltererror - LOG_FILTER_CRITICAL + Logfiltercritical - LogLevel + Loglevel - LOG_LEVEL_NONE + Loglevelnone - LOG_LEVEL_INFO + Loglevelinfo - LOG_LEVEL_WARN + Loglevelwarn - LOG_LEVEL_ERROR + Loglevelerror - LOG_LEVEL_FATAL + Loglevelfatal - LOW_LIGHT_ENHANCE_AUTO + Lowlightenhanceauto - LOW_LIGHT_ENHANCE_MANUAL + Lowlightenhancemanual - LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + Lowlightenhancelevelhighquality - LOW_LIGHT_ENHANCE_LEVEL_FAST + Lowlightenhancelevelfast - MEDIA_DEVICE_STATE_ACTIVE + Mediadevicestateactive - MEDIA_DEVICE_STATE_DISABLED + Mediadevicestatedisabled - MEDIA_DEVICE_STATE_NOT_PRESENT + Mediadevicestatenotpresent - MEDIA_DEVICE_STATE_UNPLUGGED + Mediadevicestateunplugged - MEDIA_DEVICE_STATE_UNRECOMMENDED + Mediadevicestateunrecommended - AUDIO_APPLICATION_PLAYOUT_DEVICE + Audioapplicationplayoutdevice - MediaPlayerReason + Mediaplayerreason - PLAYER_REASON_NONE + Playerreasonnone - PLAYER_REASON_INVALID_ARGUMENTS + Playerreasoninvalidarguments - PLAYER_REASON_INTERNAL + Playerreasoninternal - PLAYER_REASON_NO_RESOURCE + Playerreasonnoresource - PLAYER_REASON_INVALID_MEDIA_SOURCE + Playerreasoninvalidmediasource - PLAYER_REASON_UNKNOWN_STREAM_TYPE + Playerreasonunknownstreamtype - PLAYER_REASON_OBJ_NOT_INITIALIZED + Playerreasonobjnotinitialized - PLAYER_REASON_CODEC_NOT_SUPPORTED + Playerreasoncodecnotsupported - PLAYER_REASON_VIDEO_RENDER_FAILED + Playerreasonvideorenderfailed - PLAYER_REASON_INVALID_STATE + Playerreasoninvalidstate - PLAYER_REASON_URL_NOT_FOUND + Playerreasonurlnotfound - PLAYER_REASON_INVALID_CONNECTION_STATE + Playerreasoninvalidconnectionstate - PLAYER_REASON_SRC_BUFFER_UNDERFLOW + Playerreasonsrcbufferunderflow - PLAYER_REASON_INTERRUPTED + Playerreasoninterrupted - PLAYER_REASON_NOT_SUPPORTED + Playerreasonnotsupported - PLAYER_REASON_TOKEN_EXPIRED + Playerreasontokenexpired - PLAYER_REASON_IP_EXPIRED + Playerreasonipexpired - PLAYER_REASON_UNKNOWN + Playerreasonunknown - MediaPlayerEvent + Mediaplayerevent - PLAYER_EVENT_UNKNOWN + Playereventunknown - PLAYER_EVENT_SEEK_BEGIN + Playereventseekbegin - PLAYER_EVENT_SEEK_COMPLETE + Playereventseekcomplete - PLAYER_EVENT_SEEK_ERROR + Playereventseekerror - PLAYER_EVENT_AUDIO_TRACK_CHANGED + Playereventaudiotrackchanged - PLAYER_EVENT_BUFFER_LOW + Playereventbufferlow - PLAYER_EVENT_BUFFER_RECOVER + Playereventbufferrecover - PLAYER_EVENT_FREEZE_START + Playereventfreezestart - PLAYER_EVENT_FREEZE_STOP + Playereventfreezestop - PLAYER_EVENT_SWITCH_BEGIN + Playereventswitchbegin - PLAYER_EVENT_SWITCH_COMPLETE + Playereventswitchcomplete - PLAYER_EVENT_SWITCH_ERROR + Playereventswitcherror - PLAYER_EVENT_FIRST_DISPLAYED + Playereventfirstdisplayed - PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + Playereventreachcachefilemaxcount - PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + Playereventreachcachefilemaxsize - MediaPlayerMetadataType + Mediaplayermetadatatype - PLAYER_METADATA_TYPE_UNKNOWN + Playermetadatatypeunknown - PLAYER_METADATA_TYPE_SEI + Playermetadatatypesei - MediaPlayerState + Mediaplayerstate - PLAYER_STATE_UNKNOWN + Playerstateunknown - PLAYER_STATE_IDLE + Playerstateidle - PLAYER_STATE_OPENING + Playerstateopening - PLAYER_STATE_OPEN_COMPLETED + Playerstateopencompleted - PLAYER_STATE_PLAYING + Playerstateplaying - PLAYER_STATE_PAUSED + Playerstatepaused - PLAYER_STATE_PLAYBACK_COMPLETED + Playerstateplaybackcompleted - PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + Playerstateplaybackallloopscompleted - PLAYER_STATE_STOPPED + Playerstatestopped - PLAYER_STATE_FAILED + Playerstatefailed - MediaSourceType + Mediasourcetype - AUDIO_PLAYOUT_SOURCE + Audioplayoutsource - AUDIO_RECORDING_SOURCE + Audiorecordingsource - PRIMARY_CAMERA_SOURCE + Primarycamerasource - SECONDARY_CAMERA_SOURCE + Secondarycamerasource - CUSTOM_VIDEO_SOURCE + Customvideosource - SPEECH_DRIVEN_VIDEO_SOURCE + Speechdrivenvideosource - UNKNOWN_MEDIA_SOURCE + Unknownmediasource - MEDIA_TRACE_EVENT + Mediatraceevent - MEDIA_TRACE_EVENT_VIDEO_RENDERED + Mediatraceeventvideorendered - MEDIA_TRACE_EVENT_VIDEO_DECODED + Mediatraceeventvideodecoded - MediaStreamType + Mediastreamtype - STREAM_TYPE_UNKNOWN + Streamtypeunknown - STREAM_TYPE_VIDEO + Streamtypevideo - STREAM_TYPE_AUDIO + Streamtypeaudio - STREAM_TYPE_SUBTITLE + Streamtypesubtitle - UNKNOWN_METADATA + Unknownmetadata - VIDEO_METADATA + Videometadata - NETWORK_TYPE_UNKNOWN + Networktypeunknown - NETWORK_TYPE_DISCONNECTED + Networktypedisconnected - NETWORK_TYPE_LAN + Networktypelan - NETWORK_TYPE_WIFI + Networktypewifi - NETWORK_TYPE_MOBILE_2G + Networktypemobile2g - NETWORK_TYPE_MOBILE_3G + Networktypemobile3g - NETWORK_TYPE_MOBILE_4G + Networktypemobile4g - NETWORK_TYPE_MOBILE_5G + Networktypemobile5g - MusicContentCenterStateReason + Musiccontentcenterstatereason - MUSIC_CONTENT_CENTER_STATE_REASON_OK + Musiccontentcenterstatereasonok - MUSIC_CONTENT_CENTER_STATE_REASON_ERROR + Musiccontentcenterstatereasonerror - MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY + Musiccontentcenterstatereasongateway - MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE + Musiccontentcenterstatereasonpermissionandresource - MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE + Musiccontentcenterstatereasoninternaldataparse - MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING + Musiccontentcenterstatereasonmusicloading - MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION + Musiccontentcenterstatereasonmusicdecryption - MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL + Musiccontentcenterstatereasonhttpinternal - PreloadState + Preloadstate - PRELOAD_STATE_COMPLETED + Preloadstatecompleted - PRELOAD_STATE_FAILED + Preloadstatefailed - PRELOAD_STATE_PRELOADING + Preloadstatepreloading - PRELOAD_STATE_REMOVED + Preloadstateremoved - MusicCacheStatusType + Musiccachestatustype - MUSIC_CACHE_STATUS_TYPE_CACHED + Musiccachestatustypecached - MUSIC_CACHE_STATUS_TYPE_CACHING + Musiccachestatustypecaching - ORIENTATION_MODE + Orientationmode - ORIENTATION_MODE_ADAPTIVE + Orientationmodeadaptive - ORIENTATION_FIXED_LANDSCAPE + Orientationfixedlandscape - ORIENTATION_FIXED_PORTRAIT + Orientationfixedportrait - RECORD_AUDIO + Recordaudio - CAMERA + Camera - SCREEN_CAPTURE + Screencapture - ScreenScenarioType + Screenscenariotype - SCREEN_SCENARIO_DOCUMENT + Screenscenariodocument - SCREEN_SCENARIO_GAMING + Screenscenariogaming - SCREEN_SCENARIO_VIDEO + Screenscenariovideo - MediaPlayerPreloadEvent + Mediaplayerpreloadevent - PLAYER_PRELOAD_EVENT_BEGIN + Playerpreloadeventbegin - PLAYER_PRELOAD_EVENT_COMPLETE + Playerpreloadeventcomplete - PLAYER_PRELOAD_EVENT_ERROR + Playerpreloadeventerror - USER_PRIORITY_HIGH + Userpriorityhigh - USER_PRIORITY_NORANL + Userprioritynoranl - QUALITY_REPORT_FORMAT_TYPE + Qualityreportformattype - QUALITY_REPORT_JSON + Qualityreportjson - QUALITY_REPORT_HTML + Qualityreporthtml - QUALITY_UNKNOWN + Qualityunknown - QUALITY_EXCELLENT + Qualityexcellent - QUALITY_GOOD + Qualitygood - QUALITY_POOR + Qualitypoor - QUALITY_BAD + Qualitybad - QUALITY_VBAD + Qualityvbad - QUALITY_DOWN + Qualitydown - RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + Rawaudioframeopmodereadonly - RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + Rawaudioframeopmodereadwrite - RECORDER_REASON_NONE + Recorderreasonnone - RECORDER_ERROR_WRITE_FAILED + Recordererrorwritefailed - RECORDER_ERROR_NO_STREAM + Recordererrornostream - RECORDER_ERROR_OVER_MAX_DURATION + Recordererrorovermaxduration - RECORDER_ERROR_CONFIG_CHANGED + Recordererrorconfigchanged - RECORDER_STATE_ERROR + Recorderstateerror - RECORDER_STATE_START + Recorderstatestart - RECORDER_STATE_STOP + Recorderstatestop - REMOTE_AUDIO_STATE_STOPPED + Remoteaudiostatestopped - REMOTE_AUDIO_STATE_STARTING + Remoteaudiostatestarting - REMOTE_AUDIO_STATE_DECODING + Remoteaudiostatedecoding - REMOTE_AUDIO_STATE_FROZEN + Remoteaudiostatefrozen - REMOTE_AUDIO_STATE_FAILED + Remoteaudiostatefailed - REMOTE_VIDEO_STATE_STOPPED + Remotevideostatestopped - REMOTE_VIDEO_STATE_STARTING + Remotevideostatestarting - REMOTE_VIDEO_STATE_DECODING + Remotevideostatedecoding - REMOTE_VIDEO_STATE_FROZEN + Remotevideostatefrozen - REMOTE_VIDEO_STATE_FAILED + Remotevideostatefailed - REMOTE_AUDIO_REASON_INTERNAL + Remoteaudioreasoninternal - REMOTE_AUDIO_REASON_NETWORK_CONGESTION + Remoteaudioreasonnetworkcongestion - REMOTE_AUDIO_REASON_NETWORK_RECOVERY + Remoteaudioreasonnetworkrecovery - REMOTE_AUDIO_REASON_LOCAL_MUTED + Remoteaudioreasonlocalmuted - REMOTE_AUDIO_REASON_LOCAL_UNMUTED + Remoteaudioreasonlocalunmuted - REMOTE_AUDIO_REASON_REMOTE_MUTED + Remoteaudioreasonremotemuted - REMOTE_AUDIO_REASON_REMOTE_UNMUTED + Remoteaudioreasonremoteunmuted - REMOTE_AUDIO_REASON_REMOTE_OFFLINE + Remoteaudioreasonremoteoffline - REMOTE_VIDEO_STATE_REASON_INTERNAL + Remotevideostatereasoninternal - REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION + Remotevideostatereasonnetworkcongestion - REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY + Remotevideostatereasonnetworkrecovery - REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED + Remotevideostatereasonlocalmuted - REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED + Remotevideostatereasonlocalunmuted - REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED + Remotevideostatereasonremotemuted - REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED + Remotevideostatereasonremoteunmuted - REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE + Remotevideostatereasonremoteoffline - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK + Remotevideostatereasonaudiofallback @@ -10023,889 +10023,889 @@ - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY + Remotevideostatereasonaudiofallbackrecovery - REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT + Remotevideostatereasoncodecnotsupport - RENDER_MODE_HIDDEN + Rendermodehidden - RENDER_MODE_FIT + Rendermodefit - RENDER_MODE_ADAPTIVE + Rendermodeadaptive - RTMP_STREAM_PUBLISH_REASON_OK + Rtmpstreampublishreasonok - RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT + Rtmpstreampublishreasoninvalidargument - RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED + Rtmpstreampublishreasonencryptedstreamnotallowed - RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT + Rtmpstreampublishreasonconnectiontimeout - RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR + Rtmpstreampublishreasoninternalservererror - RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR + Rtmpstreampublishreasonrtmpservererror - RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN + Rtmpstreampublishreasontoooften - RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT + Rtmpstreampublishreasonreachlimit - RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED + Rtmpstreampublishreasonnotauthorized - RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND + Rtmpstreampublishreasonstreamnotfound - RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED + Rtmpstreampublishreasonformatnotsupported - RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER + Rtmpstreampublishreasonnotbroadcaster - RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM + Rtmpstreampublishreasontranscodingnomixstream - RTMP_STREAM_PUBLISH_REASON_NET_DOWN + Rtmpstreampublishreasonnetdown - RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE + Rtmpstreampublishreasoninvalidprivilege - RTMP_STREAM_UNPUBLISH_REASON_OK + Rtmpstreamunpublishreasonok - RTMP_STREAM_PUBLISH_STATE_IDLE + Rtmpstreampublishstateidle - RTMP_STREAM_PUBLISH_STATE_CONNECTING + Rtmpstreampublishstateconnecting - RTMP_STREAM_PUBLISH_STATE_RUNNING + Rtmpstreampublishstaterunning - RTMP_STREAM_PUBLISH_STATE_RECOVERING + Rtmpstreampublishstaterecovering - RTMP_STREAM_PUBLISH_STATE_FAILURE + Rtmpstreampublishstatefailure - RTMP_STREAM_PUBLISH_STATE_DISCONNECTING + Rtmpstreampublishstatedisconnecting - RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE + Rtmpstreamingeventfailedloadimage - RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE + Rtmpstreamingeventurlalreadyinuse - RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT + Rtmpstreamingeventadvancedfeaturenotsupport - RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN + Rtmpstreamingeventrequesttoooften - STREAM_FALLBACK_OPTION_DISABLED + Streamfallbackoptiondisabled - STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + Streamfallbackoptionvideostreamlow - STREAM_FALLBACK_OPTION_AUDIO_ONLY + Streamfallbackoptionaudioonly - RHYTHM_PLAYER_STATE_IDLE + Rhythmplayerstateidle - RHYTHM_PLAYER_STATE_OPENING + Rhythmplayerstateopening - RHYTHM_PLAYER_STATE_DECODING + Rhythmplayerstatedecoding - RHYTHM_PLAYER_STATE_PLAYING + Rhythmplayerstateplaying - RHYTHM_PLAYER_STATE_FAILED + Rhythmplayerstatefailed - RHYTHM_PLAYER_REASON_OK + Rhythmplayerreasonok - RHYTHM_PLAYER_REASON_FAILED + Rhythmplayerreasonfailed - RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + Rhythmplayerreasoncannotopen - RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + Rhythmplayerreasoncannotplay - RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + Rhythmplayerreasonfileoverdurationlimit - SIMULCAST_STREAM_MODE + Simulcaststreammode - AUTO_SIMULCAST_STREAM + Autosimulcaststream - DISABLE_SIMULCAST_STREAM + Disablesimulcaststream - ENABLE_SIMULCAST_STREAM + Enablesimulcaststream - ConnectionState + Connectionstate - SAE_CONNECTION_STATE_CONNECTING + Saeconnectionstateconnecting - SAE_CONNECTION_STATE_CONNECTED + Saeconnectionstateconnected - SAE_CONNECTION_STATE_DISCONNECTED + Saeconnectionstatedisconnected - SAE_CONNECTION_STATE_RECONNECTING + Saeconnectionstatereconnecting - SAE_CONNECTION_STATE_RECONNECTED + Saeconnectionstatereconnected - ConnectionChangedReason + Connectionchangedreason - SAE_CONNECTION_CHANGED_DEFAULT + Saeconnectionchangeddefault - SAE_CONNECTION_CHANGED_CONNECTING + Saeconnectionchangedconnecting - SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + Saeconnectionchangedcreateroomfail - SAE_CONNECTION_CHANGED_RTM_DISCONNECT + Saeconnectionchangedrtmdisconnect - SAE_CONNECTION_CHANGED_RTM_ABORTED + Saeconnectionchangedrtmaborted - SAE_CONNECTION_CHANGED_LOST_SYNC + Saeconnectionchangedlostsync - SEG_MODEL_AI + Segmodelai - SEG_MODEL_GREEN + Segmodelgreen - STREAM_PUBLISH_STATE + Streampublishstate - PUB_STATE_IDLE + Pubstateidle - PUB_STATE_NO_PUBLISHED + Pubstatenopublished - PUB_STATE_PUBLISHING + Pubstatepublishing - PUB_STATE_PUBLISHED + Pubstatepublished - STREAM_TYPE_BOTH + Streamtypeboth - SUB_STATE_IDLE + Substateidle - SUB_STATE_NO_SUBSCRIBED + Substatenosubscribed - SUB_STATE_SUBSCRIBING + Substatesubscribing - SUB_STATE_SUBSCRIBED + Substatesubscribed - USER_OFFLINE_QUIT + Userofflinequit - USER_OFFLINE_DROPPED + Userofflinedropped - USER_OFFLINE_BECOME_AUDIENCE + Userofflinebecomeaudience - VIDEO_BUFFER_RAW_DATA + Videobufferrawdata - VideoScenario + Videoscenario - APPLICATION_SCENARIO_GENERAL + Applicationscenariogeneral - APPLICATION_SCENARIO_MEETING + Applicationscenariomeeting - VIDEO_CAPTURE_TYPE + Videocapturetype - VIDEO_CAPTURE_UNKNOWN + Videocaptureunknown - VIDEO_CAPTURE_CAMERA + Videocapturecamera - VIDEO_CAPTURE_SCREEN + Videocapturescreen - VIDEO_DENOISER_AUTO + Videodenoiserauto - VIDEO_DENOISER_MANUAL + Videodenoisermanual - VIDEO_DENOISER_LEVEL_HIGH_QUALITY + Videodenoiserlevelhighquality - VIDEO_DENOISER_LEVEL_FAST + Videodenoiserlevelfast - VIDEO_DENOISER_LEVEL_STRENGTH + Videodenoiserlevelstrength - VideoSourceType + Videosourcetype - VIDEO_SOURCE_CAMERA_PRIMARY + Videosourcecameraprimary - VIDEO_SOURCE_CAMERA + Videosourcecamera - VIDEO_SOURCE_CAMERA_SECONDARY + Videosourcecamerasecondary - VIDEO_SOURCE_SCREEN_PRIMARY + Videosourcescreenprimary - VIDEO_SOURCE_SCREEN + Videosourcescreen - VIDEO_SOURCE_SCREEN_SECONDARY + Videosourcescreensecondary - VIDEO_SOURCE_CUSTOM + Videosourcecustom - VIDEO_SOURCE_MEDIA_PLAYER + Videosourcemediaplayer - VIDEO_SOURCE_RTC_IMAGE_PNG + Videosourcertcimagepng - VIDEO_SOURCE_RTC_IMAGE_JPEG + Videosourcertcimagejpeg - VIDEO_SOURCE_RTC_IMAGE_GIF + Videosourcertcimagegif - VIDEO_SOURCE_REMOTE + Videosourceremote - VIDEO_SOURCE_TRANSCODED + Videosourcetranscoded - VIDEO_SOURCE_CAMERA_THIRD + Videosourcecamerathird - VIDEO_SOURCE_CAMERA_FOURTH + Videosourcecamerafourth - VIDEO_SOURCE_SPEECH_DRIVEN + Videosourcespeechdriven - VIDEO_SOURCE_UNKNOWN + Videosourceunknown - CODEC_CAPABILITY_LEVEL_UNSPECIFIED + Codeccapabilitylevelunspecified - CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + Codeccapabilitylevelbasicsupport - CODEC_CAPABILITY_LEVEL_1080P30FPS + Codeccapabilitylevel1080p30fps - CODEC_CAPABILITY_LEVEL_1080P60FPS + Codeccapabilitylevel1080p60fps - CODEC_CAPABILITY_LEVEL_4K60FPS + Codeccapabilitylevel4k60fps - VideoCodecProfileType + Videocodecprofiletype - BASELINE + Baseline - MAIN + Main - HIGH + High - VIDEO_CODEC_TYPE + Videocodectype - VIDEO_CODEC_NONE + Videocodecnone - VIDEO_CODEC_VP8 + Videocodecvp8 - VIDEO_CODEC_H264 + Videocodech264 - VIDEO_CODEC_H265 + Videocodech265 - VIDEO_CODEC_GENERIC + Videocodecgeneric - VIDEO_CODEC_GENERIC_H264 + Videocodecgenerich264 - VIDEO_CODEC_AV1 + Videocodecav1 - VIDEO_CODEC_VP9 + Videocodecvp9 - VIDEO_CODEC_GENERIC_JPEG + Videocodecgenericjpeg - VideoCodecType + Videocodectype @@ -10926,1043 +10926,1043 @@ - SCREEN_CAPTURE_CONTENT_HINT_NONE + Screencapturecontenthintnone - SCREEN_CAPTURE_CONTENT_HINT_MOTION + Screencapturecontenthintmotion - SCREEN_CAPTURE_CONTENT_HINT_DETAILS + Screencapturecontenthintdetails - VIDEO_FRAME_PROCESS_MODE + Videoframeprocessmode - PROCESS_MODE_READ_ONLY + Processmodereadonly - PROCESS_MODE_READ_WRITE + Processmodereadwrite - VIDEO_FRAME_TYPE_BLANK_FRAME + Videoframetypeblankframe - VIDEO_FRAME_TYPE_KEY_FRAME + Videoframetypekeyframe - VIDEO_FRAME_TYPE_DELTA_FRAME + Videoframetypedeltaframe - VIDEO_FRAME_TYPE_B_FRAME + Videoframetypebframe - VIDEO_FRAME_TYPE_DROPPABLE_FRAME + Videoframetypedroppableframe - VIDEO_FRAME_TYPE_UNKNOW + Videoframetypeunknow - VIDEO_MIRROR_MODE_AUTO + Videomirrormodeauto - VIDEO_MIRROR_MODE_ENABLED + Videomirrormodeenabled - VIDEO_MIRROR_MODE_DISABLED + Videomirrormodedisabled - VideoModulePosition + Videomoduleposition - VIDEO_MODULE_POSITION_POST_CAPTURER + Videomodulepositionpostcapturer - VIDEO_MODULE_POSITION_PRE_RENDERER + Videomodulepositionprerenderer - VIDEO_MODULE_POSITION_PRE_ENCODER + Videomodulepositionpreencoder - VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN + Videomodulepositionpostcapturerorigin - VIDEO_ORIENTATION_0 + Videoorientation0 - VIDEO_ORIENTATION_90 + Videoorientation90 - VIDEO_ORIENTATION_180 + Videoorientation180 - VIDEO_ORIENTATION_270 + Videoorientation270 - VIDEO_PIXEL_DEFAULT + Videopixeldefault - VIDEO_PIXEL_I420 + Videopixeli420 - VIDEO_PIXEL_BGRA + Videopixelbgra - VIDEO_PIXEL_NV21 + Videopixelnv21 - VIDEO_PIXEL_RGBA + Videopixelrgba - VIDEO_PIXEL_IMC2 + Videopixelimc2 - VIDEO_PIXEL_ARGB + Videopixelargb - VIDEO_PIXEL_NV12 + Videopixelnv12 - VIDEO_PIXEL_I422 + Videopixeli422 - VIDEO_TEXTURE_2D + Videotexture2d - VIDEO_TEXTURE_OES + Videotextureoes - VIDEO_PROFILE_LANDSCAPE_120P + Videoprofilelandscape120p - VIDEO_PROFILE_LANDSCAPE_120P_3 + Videoprofilelandscape120p3 - VIDEO_PROFILE_LANDSCAPE_180P + Videoprofilelandscape180p - VIDEO_PROFILE_LANDSCAPE_180P_3 + Videoprofilelandscape180p3 - VIDEO_PROFILE_LANDSCAPE_180P_4 + Videoprofilelandscape180p4 - VIDEO_PROFILE_LANDSCAPE_240P + Videoprofilelandscape240p - VIDEO_PROFILE_LANDSCAPE_240P_3 + Videoprofilelandscape240p3 - VIDEO_PROFILE_LANDSCAPE_240P_4 + Videoprofilelandscape240p4 - VIDEO_PROFILE_LANDSCAPE_360P + Videoprofilelandscape360p - VIDEO_PROFILE_LANDSCAPE_360P_3 + Videoprofilelandscape360p3 - VIDEO_PROFILE_LANDSCAPE_360P_4 + Videoprofilelandscape360p4 - VIDEO_PROFILE_LANDSCAPE_360P_6 + Videoprofilelandscape360p6 - VIDEO_PROFILE_LANDSCAPE_360P_7 + Videoprofilelandscape360p7 - VIDEO_PROFILE_LANDSCAPE_360P_8 + Videoprofilelandscape360p8 - VIDEO_PROFILE_LANDSCAPE_360P_9 + Videoprofilelandscape360p9 - VIDEO_PROFILE_LANDSCAPE_360P_10 + Videoprofilelandscape360p10 - VIDEO_PROFILE_LANDSCAPE_360P_11 + Videoprofilelandscape360p11 - VIDEO_PROFILE_LANDSCAPE_480P + Videoprofilelandscape480p - VIDEO_PROFILE_LANDSCAPE_480P_3 + Videoprofilelandscape480p3 - VIDEO_PROFILE_LANDSCAPE_480P_4 + Videoprofilelandscape480p4 - VIDEO_PROFILE_LANDSCAPE_480P_6 + Videoprofilelandscape480p6 - VIDEO_PROFILE_LANDSCAPE_480P_8 + Videoprofilelandscape480p8 - VIDEO_PROFILE_LANDSCAPE_480P_9 + Videoprofilelandscape480p9 - VIDEO_PROFILE_LANDSCAPE_480P_10 + Videoprofilelandscape480p10 - VIDEO_PROFILE_LANDSCAPE_720P + Videoprofilelandscape720p - VIDEO_PROFILE_LANDSCAPE_720P_3 + Videoprofilelandscape720p3 - VIDEO_PROFILE_LANDSCAPE_720P_5 + Videoprofilelandscape720p5 - VIDEO_PROFILE_LANDSCAPE_720P_6 + Videoprofilelandscape720p6 - VIDEO_PROFILE_LANDSCAPE_1080P + Videoprofilelandscape1080p - VIDEO_PROFILE_LANDSCAPE_1080P_3 + Videoprofilelandscape1080p3 - VIDEO_PROFILE_LANDSCAPE_1080P_5 + Videoprofilelandscape1080p5 - VIDEO_PROFILE_LANDSCAPE_1440P + Videoprofilelandscape1440p - VIDEO_PROFILE_LANDSCAPE_1440P_2 + Videoprofilelandscape1440p2 - VIDEO_PROFILE_LANDSCAPE_4K + Videoprofilelandscape4k - VIDEO_PROFILE_LANDSCAPE_4K_3 + Videoprofilelandscape4k3 - VIDEO_PROFILE_PORTRAIT_120P + Videoprofileportrait120p - VIDEO_PROFILE_PORTRAIT_120P_3 + Videoprofileportrait120p3 - VIDEO_PROFILE_PORTRAIT_180P + Videoprofileportrait180p - VIDEO_PROFILE_PORTRAIT_180P_3 + Videoprofileportrait180p3 - VIDEO_PROFILE_PORTRAIT_180P_4 + Videoprofileportrait180p4 - VIDEO_PROFILE_PORTRAIT_240P + Videoprofileportrait240p - VIDEO_PROFILE_PORTRAIT_240P_3 + Videoprofileportrait240p3 - VIDEO_PROFILE_PORTRAIT_240P_4 + Videoprofileportrait240p4 - VIDEO_PROFILE_PORTRAIT_360P + Videoprofileportrait360p - VIDEO_PROFILE_PORTRAIT_360P_3 + Videoprofileportrait360p3 - VIDEO_PROFILE_PORTRAIT_360P_4 + Videoprofileportrait360p4 - VIDEO_PROFILE_PORTRAIT_360P_6 + Videoprofileportrait360p6 - VIDEO_PROFILE_PORTRAIT_360P_7 + Videoprofileportrait360p7 - VIDEO_PROFILE_PORTRAIT_360P_8 + Videoprofileportrait360p8 - VIDEO_PROFILE_PORTRAIT_360P_9 + Videoprofileportrait360p9 - VIDEO_PROFILE_PORTRAIT_360P_10 + Videoprofileportrait360p10 - VIDEO_PROFILE_PORTRAIT_360P_11 + Videoprofileportrait360p11 - VIDEO_PROFILE_PORTRAIT_480P + Videoprofileportrait480p - VIDEO_PROFILE_PORTRAIT_480P_3 + Videoprofileportrait480p3 - VIDEO_PROFILE_PORTRAIT_480P_4 + Videoprofileportrait480p4 - VIDEO_PROFILE_PORTRAIT_480P_6 + Videoprofileportrait480p6 - VIDEO_PROFILE_PORTRAIT_480P_8 + Videoprofileportrait480p8 - VIDEO_PROFILE_PORTRAIT_480P_9 + Videoprofileportrait480p9 - VIDEO_PROFILE_PORTRAIT_480P_10 + Videoprofileportrait480p10 - VIDEO_PROFILE_PORTRAIT_720P + Videoprofileportrait720p - VIDEO_PROFILE_PORTRAIT_720P_3 + Videoprofileportrait720p3 - VIDEO_PROFILE_PORTRAIT_720P_5 + Videoprofileportrait720p5 - VIDEO_PROFILE_PORTRAIT_720P_6 + Videoprofileportrait720p6 - VIDEO_PROFILE_PORTRAIT_1080P + Videoprofileportrait1080p - VIDEO_PROFILE_PORTRAIT_1080P_3 + Videoprofileportrait1080p3 - VIDEO_PROFILE_PORTRAIT_1080P_5 + Videoprofileportrait1080p5 - VIDEO_PROFILE_PORTRAIT_1440P + Videoprofileportrait1440p - VIDEO_PROFILE_PORTRAIT_1440P_2 + Videoprofileportrait1440p2 - VIDEO_PROFILE_PORTRAIT_4K + Videoprofileportrait4k - VIDEO_PROFILE_PORTRAIT_4K_3 + Videoprofileportrait4k3 - VIDEO_STREAM_HIGH + Videostreamhigh - VIDEO_STREAM_LOW + Videostreamlow - VIDEO_PROFILE_DEFAULT + Videoprofiledefault - VIEW_SETUP_MODE_REPLACE + Viewsetupmodereplace - VIEW_SETUP_MODE_ADD + Viewsetupmodeadd - VIEW_SETUP_MODE_REMOVE + Viewsetupmoderemove - VOICE_BEAUTIFIER_OFF + Voicebeautifieroff - CHAT_BEAUTIFIER_MAGNETIC + Chatbeautifiermagnetic - CHAT_BEAUTIFIER_FRESH + Chatbeautifierfresh - CHAT_BEAUTIFIER_VITALITY + Chatbeautifiervitality - SINGING_BEAUTIFIER + Singingbeautifier - TIMBRE_TRANSFORMATION_VIGOROUS + Timbretransformationvigorous - TIMBRE_TRANSFORMATION_DEEP + Timbretransformationdeep - TIMBRE_TRANSFORMATION_MELLOW + Timbretransformationmellow - TIMBRE_TRANSFORMATION_FALSETTO + Timbretransformationfalsetto - TIMBRE_TRANSFORMATION_FULL + Timbretransformationfull - TIMBRE_TRANSFORMATION_CLEAR + Timbretransformationclear - TIMBRE_TRANSFORMATION_RESOUNDING + Timbretransformationresounding - TIMBRE_TRANSFORMATION_RINGING + Timbretransformationringing - ULTRA_HIGH_QUALITY_VOICE + Ultrahighqualityvoice - VOICE_CHANGER_OFF + Voicechangeroff - VOICE_CHANGER_OLDMAN + Voicechangeroldman - VOICE_CHANGER_BABYBOY + Voicechangerbabyboy - VOICE_CHANGER_BABYGIRL + Voicechangerbabygirl - VOICE_CHANGER_ZHUBAJIE + Voicechangerzhubajie - VOICE_CHANGER_ETHEREAL + Voicechangerethereal - VOICE_CHANGER_HULK + Voicechangerhulk - VOICE_BEAUTY_VIGOROUS + Voicebeautyvigorous - VOICE_BEAUTY_DEEP + Voicebeautydeep - VOICE_BEAUTY_MELLOW + Voicebeautymellow - VOICE_BEAUTY_FALSETTO + Voicebeautyfalsetto - VOICE_BEAUTY_FULL + Voicebeautyfull - VOICE_BEAUTY_CLEAR + Voicebeautyclear - VOICE_BEAUTY_RESOUNDING + Voicebeautyresounding - VOICE_BEAUTY_RINGING + Voicebeautyringing - VOICE_BEAUTY_SPACIAL + Voicebeautyspacial - GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + Generalbeautyvoicemalemagnetic - GENERAL_BEAUTY_VOICE_FEMALE_FRESH + Generalbeautyvoicefemalefresh - GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + Generalbeautyvoicefemalevitality - VOICE_CONVERSION_OFF + Voiceconversionoff - VOICE_CHANGER_NEUTRAL + Voicechangerneutral - VOICE_CHANGER_SWEET + Voicechangersweet - VOICE_CHANGER_SOLID + Voicechangersolid - VOICE_CHANGER_BASS + Voicechangerbass From 1f065427e9a3086b74daa08bd573065bbaec8d48 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:01:43 +0800 Subject: [PATCH 007/146] Revert "temp" This reverts commit 44599bc2c44ca32efc74ea880c5f8db2c7f2975b. --- .../api_irtcengine_startscreencapture.dita | 1 - dita/RTC-NG/API/rtc_api_data_type.dita | 609 ++---- .../config/keys-rtc-ng-api-harmony.ditamap | 1904 ++++++++--------- 3 files changed, 1182 insertions(+), 1332 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index 4ba8af59e5a..f8fa2165039 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -15,7 +15,6 @@

      public abstract int startScreenCapture(ScreenCaptureParameters screenCaptureParameters); - public abstract startScreenCapture(): number; - (int)startScreenCapture:(AgoraScreenCaptureParameters2* _Nullable)parameters NS_SWIFT_NAME(startScreenCapture(_:)); #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 2abb08a1897..32b96fbbd09 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -275,155 +275,6 @@

    -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
        -
      • -
      • -
      • -
      • -
      • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
        -
      • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • @@ -731,100 +582,100 @@
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • @@ -1774,142 +1625,142 @@
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index 2c0b213b875..7ed570faf5b 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -4781,7 +4781,7 @@ - + AdvancedAudioOptions @@ -4795,14 +4795,14 @@ - + AdvancedConfigInfo - + AgoraRhythmPlayerConfig @@ -4816,21 +4816,21 @@ - + AudioEncodedFrameObserverConfig - + AudioFrame - + AudioSpectrumInfo @@ -4851,14 +4851,14 @@ - + BeautyOptions - + CacheStatistics @@ -4907,7 +4907,7 @@ - + ClimaxSegment @@ -4921,35 +4921,35 @@ - + ColorEnhanceOptions - + ContentInspectConfig - + ContentInspectModule - + CodecCapInfo - + CodecCapLevels @@ -4963,35 +4963,35 @@ - + DeviceInfo - + DirectCdnStreamingMediaOptions - + DirectCdnStreamingStats - + EchoTestConfiguration - + EncodedVideoFrameInfo @@ -5005,28 +5005,28 @@ - + AgoraVideoFrame - + IDirectCdnStreamingEventHandler - + AgoraFocalLengthInfo - + ImageTrackOptions @@ -5075,14 +5075,14 @@ - + LocalAccessPointConfiguration - + LogUploadServerInfo @@ -5096,7 +5096,7 @@ - + LocalSpatialAudioConfig @@ -5117,14 +5117,14 @@ - + LogConfig - + LowlightEnhanceOptions @@ -5138,42 +5138,42 @@ - + MediaPlayerSource - + Music - + MusicCacheInfo - + MusicChartInfo - + MusicCollection - + MusicContentCenterConfiguration @@ -5187,42 +5187,42 @@ - + PlayerPlaybackStats - + MediaStreamInfo - + PlayerUpdatedInfo - + RecorderInfo - + RecorderStreamInfo - + Rectangle @@ -5243,7 +5243,7 @@ - + RemoteVoicePositionInfo @@ -5313,21 +5313,21 @@ - + SpatialAudioParams - + SpatialAudioZone - + SrcInfo @@ -5348,21 +5348,21 @@ - + UplinkNetworkInfo - + UserAudioSpectrumInfo - + UserInfo @@ -5376,7 +5376,7 @@ - + VideoDenoiserOptions @@ -5544,21 +5544,21 @@ - + VideoLayout - + VideoRenderingTracingInfo - + VideoSubscriptionOptions @@ -5670,7 +5670,7 @@ - + WatermarkOptions @@ -5682,3086 +5682,3086 @@ - Adaptnone + ADAPT_NONE - Adaptupbandwidth + ADAPT_UP_BANDWIDTH - Adaptdownbandwidth + ADAPT_DOWN_BANDWIDTH - + - Areacode + AreaCode - Areacodecn + AREA_CODE_CN - Areacodena + AREA_CODE_NA - Areacodeeu + AREA_CODE_EU - Areacodeas + AREA_CODE_AS - Areacodejp + AREA_CODE_JP - Areacodein + AREA_CODE_IN - Areacodeglob + AREA_CODE_GLOB - Audiencelatencylevellowlatency + AUDIENCE_LATENCY_LEVEL_LOW_LATENCY - Audiencelatencylevelultralowlatency + AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY - Audiocodecprofiletype + AudioCodecProfileType - Lcaac + LC_AAC - Heaac + HE_AAC - Heaacv2 + HE_AAC_V2 - Audiocodecopus + AUDIO_CODEC_OPUS - Audiocodecpcma + AUDIO_CODEC_PCMA - Audiocodecpcmu + AUDIO_CODEC_PCMU - Audiocodecg722 + AUDIO_CODEC_G722 - Audiocodecaaclc + AUDIO_CODEC_AACLC - Audiocodecheaac + AUDIO_CODEC_HEAAC - Audiocodecjc1 + AUDIO_CODEC_JC1 - Audiocodecheaac2 + AUDIO_CODEC_HEAAC2 - Audioencodedframeobserverpositionmic + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC - Audioencodedframeobserverpositionplayback + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK - Audioencodedframeobserverpositionmixed + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED - Audioencodingtypeaac16000low + AUDIO_ENCODING_TYPE_AAC_16000_LOW - Audioencodingtypeaac16000medium + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM - Audioencodingtypeaac32000low + AUDIO_ENCODING_TYPE_AAC_32000_LOW - Audioencodingtypeaac32000medium + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM - Audioencodingtypeaac32000high + AUDIO_ENCODING_TYPE_AAC_32000_HIGH - Audioencodingtypeaac48000medium + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM - Audioencodingtypeaac48000high + AUDIO_ENCODING_TYPE_AAC_48000_HIGH - Audioencodingtypeopus16000low + AUDIO_ENCODING_TYPE_OPUS_16000_LOW - Audioencodingtypeopus16000medium + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM - Audioencodingtypeopus48000medium + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM - Audioencodingtypeopus48000high + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH - Audioeffectoff + AUDIO_EFFECT_OFF - Compressionpreference + COMPRESSION_PREFERENCE - Preferlowlatency + PREFER_LOW_LATENCY - Preferquality + PREFER_QUALITY - Contentinspectdevicetype + CONTENT_INSPECT_DEVICE_TYPE - Contentinspectdeviceinvalid + CONTENT_INSPECT_DEVICE_INVALID - Contentinspectdeviceagora + CONTENT_INSPECT_DEVICE_AGORA - Contentinspectdevicehive + CONTENT_INSPECT_DEVICE_HIVE - Contentinspectdevicetupu + CONTENT_INSPECT_DEVICE_TUPU - Contentinspectneutral + CONTENT_INSPECT_NEUTRAL - Contentinspectsexy + CONTENT_INSPECT_SEXY - Contentinspectporn + CONTENT_INSPECT_PORN - Contentinspecttypeinvalid + CONTENT_INSPECT_TYPE_INVALID - Contentinspecttypemoderation + CONTENT_INSPECT_TYPE_MODERATION - Contentinspecttypesupervise + CONTENT_INSPECT_TYPE_SUPERVISE - Contentinspecttypeimagemoderation + CONTENT_INSPECT_TYPE_IMAGE_MODERATION - Encodingpreference + ENCODING_PREFERENCE - Preferauto + PREFER_AUTO - Prefersoftware + PREFER_SOFTWARE - Preferhardware + PREFER_HARDWARE - Externalvideosourcetype + ExternalVideoSourceType - Videoframe + VIDEO_FRAME - Encodedvideoframe + ENCODED_VIDEO_FRAME - Roomacousticsktv + ROOM_ACOUSTICS_KTV - Roomacousticsvocalconcert + ROOM_ACOUSTICS_VOCAL_CONCERT - Roomacousticsstudio + ROOM_ACOUSTICS_STUDIO - Roomacousticsphonograph + ROOM_ACOUSTICS_PHONOGRAPH - Roomacousticsvirtualstereo + ROOM_ACOUSTICS_VIRTUAL_STEREO - Roomacousticsspacial + ROOM_ACOUSTICS_SPACIAL - Roomacousticsethereal + ROOM_ACOUSTICS_ETHEREAL - Roomacousticsvirtualsurroundsound + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND - Roomacousticschorus + ROOM_ACOUSTICS_CHORUS - Roomacoustics3dvoice + ROOM_ACOUSTICS_3D_VOICE - Voicechangereffectuncle + VOICE_CHANGER_EFFECT_UNCLE - Voicechangereffectoldman + VOICE_CHANGER_EFFECT_OLDMAN - Voicechangereffectboy + VOICE_CHANGER_EFFECT_BOY - Voicechangereffectsister + VOICE_CHANGER_EFFECT_SISTER - Voicechangereffectgirl + VOICE_CHANGER_EFFECT_GIRL - Voicechangereffectpigking + VOICE_CHANGER_EFFECT_PIGKING - Voicechangereffecthulk + VOICE_CHANGER_EFFECT_HULK - Styletransformationrnb + STYLE_TRANSFORMATION_RNB - Styletransformationpopular + STYLE_TRANSFORMATION_POPULAR - Pitchcorrection + PITCH_CORRECTION - Audioequalizationbandfrequency + AUDIO_EQUALIZATION_BAND_FREQUENCY - Audioequalizationband31 + AUDIO_EQUALIZATION_BAND_31 - Audioequalizationband62 + AUDIO_EQUALIZATION_BAND_62 - Audioequalizationband125 + AUDIO_EQUALIZATION_BAND_125 - Audioequalizationband250 + AUDIO_EQUALIZATION_BAND_250 - Audioequalizationband500 + AUDIO_EQUALIZATION_BAND_500 - Audioequalizationband1k + AUDIO_EQUALIZATION_BAND_1K - Audioequalizationband2k + AUDIO_EQUALIZATION_BAND_2K - Audioequalizationband4k + AUDIO_EQUALIZATION_BAND_4K - Audioequalizationband8k + AUDIO_EQUALIZATION_BAND_8K - Audioequalizationband16k + AUDIO_EQUALIZATION_BAND_16K - Frametypepcm16 + FRAME_TYPE_PCM16 - Positionplayback + POSITION_PLAYBACK - Positionrecord + POSITION_RECORD - Positionmixed + POSITION_MIXED - Positionbeforemixing + POSITION_BEFORE_MIXING - Positionearmonitoring + POSITION_EAR_MONITORING - + - Audiodualmonomode + AudioDualMonoMode - Audiodualmonostereo + AUDIO_DUAL_MONO_STEREO - Audiodualmonol + AUDIO_DUAL_MONO_L - Audiodualmonor + AUDIO_DUAL_MONO_R - Audiodualmonomix + AUDIO_DUAL_MONO_MIX - Audiomixingdualmonomode + AudioMixingDualMonoMode - Audiomixingdualmonoauto + AUDIO_MIXING_DUAL_MONO_AUTO - Audiomixingdualmonol + AUDIO_MIXING_DUAL_MONO_L - Audiomixingdualmonor + AUDIO_MIXING_DUAL_MONO_R - Audiomixingdualmonomix + AUDIO_MIXING_DUAL_MONO_MIX - Audiomixingreasoncannotopen + AUDIO_MIXING_REASON_CAN_NOT_OPEN - Audiomixingreasontoofrequentcall + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL - Audiomixingreasoninterruptedeof + AUDIO_MIXING_REASON_INTERRUPTED_EOF - Audiomixingreasonok + AUDIO_MIXING_REASON_OK - Audiomixingreasononeloopcompleted + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED - Audiomixingreasonallloopscompleted + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED - Audiomixingreasonstoppedbyuser + AUDIO_MIXING_REASON_STOPPED_BY_USER - Audiomixingstateplaying + AUDIO_MIXING_STATE_PLAYING - Audiomixingstatepaused + AUDIO_MIXING_STATE_PAUSED - Audiomixingstatestopped + AUDIO_MIXING_STATE_STOPPED - Audiomixingstatefailed + AUDIO_MIXING_STATE_FAILED - Audiomixingstatecompleted + AUDIO_MIXING_STATE_COMPLETED - Audiomixingstateallloopscompleted + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED - + - Agoraaudioprocesschannels + AgoraAudioProcessChannels - Agoraaudiomonoprocessing + AGORA_AUDIO_MONO_PROCESSING - Agoraaudiostereoprocessing + AGORA_AUDIO_STEREO_PROCESSING - + - Audioprofile + AudioProfile - Default + DEFAULT - Speechstandard + SPEECH_STANDARD - Musicstandard + MUSIC_STANDARD - Musicstandardstereo + MUSIC_STANDARD_STEREO - Musichighquality + MUSIC_HIGH_QUALITY - Musichighqualitystereo + MUSIC_HIGH_QUALITY_STEREO - Audioprofileiot + AUDIO_PROFILE_IOT - Audioprofilenum + AUDIO_PROFILE_NUM - Audiorangemode + AudioRangeMode - Audiorangemodeworld + AUDIO_RANGE_MODE_WORLD - Audiorangemodeteam + AUDIO_RANGE_MODE_TEAM - Audiofilerecordingmic + AUDIO_FILE_RECORDING_MIC - Audiofilerecordingplayback + AUDIO_FILE_RECORDING_PLAYBACK - Audiofilerecordingmixed + AUDIO_FILE_RECORDING_MIXED - Audiorecordingqualitylow + AUDIO_RECORDING_QUALITY_LOW - Audiorecordingqualitymedium + AUDIO_RECORDING_QUALITY_MEDIUM - Audiorecordingqualityhigh + AUDIO_RECORDING_QUALITY_HIGH - Audiorecordingqualityultrahigh + AUDIO_RECORDING_QUALITY_ULTRA_HIGH - Audioreverboff + AUDIO_REVERB_OFF - Audioreverbfxktv + AUDIO_REVERB_FX_KTV - Audioreverbfxvocalconcert + AUDIO_REVERB_FX_VOCAL_CONCERT - Audioreverbfxuncle + AUDIO_REVERB_FX_UNCLE - Audioreverbfxsister + AUDIO_REVERB_FX_SISTER - Audioreverbfxstudio + AUDIO_REVERB_FX_STUDIO - Audioreverbfxpopular + AUDIO_REVERB_FX_POPULAR - Audioreverbfxrnb + AUDIO_REVERB_FX_RNB - Audioreverbfxphonograph + AUDIO_REVERB_FX_PHONOGRAPH - Audioreverbpopular + AUDIO_REVERB_POPULAR - Audioreverbrnb + AUDIO_REVERB_RNB - Audioreverbrock + AUDIO_REVERB_ROCK - Audioreverbhiphop + AUDIO_REVERB_HIPHOP - Audioreverbvocalconcert + AUDIO_REVERB_VOCAL_CONCERT - Audioreverbktv + AUDIO_REVERB_KTV - Audioreverbstudio + AUDIO_REVERB_STUDIO - Audiovirtualstereo + AUDIO_VIRTUAL_STEREO - Audioelectronicvoice + AUDIO_ELECTRONIC_VOICE - Audiothreedimvoice + AUDIO_THREEDIM_VOICE - Audioreverbtype + AUDIO_REVERB_TYPE - Audioreverbdrylevel + AUDIO_REVERB_DRY_LEVEL - Audioreverbwetlevel + AUDIO_REVERB_WET_LEVEL - Audioreverbroomsize + AUDIO_REVERB_ROOM_SIZE - Audioreverbwetdelay + AUDIO_REVERB_WET_DELAY - Audioreverbstrength + AUDIO_REVERB_STRENGTH - Audioroutedefault + AUDIO_ROUTE_DEFAULT - Audiorouteheadset + AUDIO_ROUTE_HEADSET - Audiorouteearpiece + AUDIO_ROUTE_EARPIECE - Audiorouteheadsetnomic + AUDIO_ROUTE_HEADSETNOMIC - Audioroutespeakerphone + AUDIO_ROUTE_SPEAKERPHONE - Audiorouteloudspeaker + AUDIO_ROUTE_LOUDSPEAKER - Audioroutebluetoothdevicehfp + AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP - Audiorouteusb + AUDIO_ROUTE_USB - Audioroutehdmi + AUDIO_ROUTE_HDMI - Audioroutedisplayport + AUDIO_ROUTE_DISPLAYPORT - Audiorouteairplay + AUDIO_ROUTE_AIRPLAY - Audioroutebluetoothdevicea2dp + AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP - Audiosampleratetype + AudioSampleRateType - Audiosamplerate32000 + AUDIO_SAMPLE_RATE_32000 - Audiosamplerate44100 + AUDIO_SAMPLE_RATE_44100 - Audiosamplerate48000 + AUDIO_SAMPLE_RATE_48000 - Audioscenario + AudioScenario - Audioscenariodefault + AUDIO_SCENARIO_DEFAULT - Audioscenariochatroom + AUDIO_SCENARIO_CHATROOM - Audioscenariogamestreaming + AUDIO_SCENARIO_GAME_STREAMING - Audioscenariochorus + AUDIO_SCENARIO_CHORUS - Audioscenariomeeting + AUDIO_SCENARIO_MEETING - Connectionstatedisconnected + CONNECTION_STATE_DISCONNECTED - Connectionstateconnecting + CONNECTION_STATE_CONNECTING - Connectionstateconnected + CONNECTION_STATE_CONNECTED - Connectionstatereconnecting + CONNECTION_STATE_RECONNECTING - Connectionstatefailed + CONNECTION_STATE_FAILED - Connectionchangedconnecting + CONNECTION_CHANGED_CONNECTING - Connectionchangedjoinsuccess + CONNECTION_CHANGED_JOIN_SUCCESS - Connectionchangedinterrupted + CONNECTION_CHANGED_INTERRUPTED - Connectionchangedbannedbyserver + CONNECTION_CHANGED_BANNED_BY_SERVER - Connectionchangedjoinfailed + CONNECTION_CHANGED_JOIN_FAILED - Connectionchangedleavechannel + CONNECTION_CHANGED_LEAVE_CHANNEL - Connectionchangedinvalidappid + CONNECTION_CHANGED_INVALID_APP_ID - Connectionchangedinvalidchannelname + CONNECTION_CHANGED_INVALID_CHANNEL_NAME - Connectionchangedinvalidtoken + CONNECTION_CHANGED_INVALID_TOKEN - Connectionchangedtokenexpired + CONNECTION_CHANGED_TOKEN_EXPIRED - Connectionchangedrejectedbyserver + CONNECTION_CHANGED_REJECTED_BY_SERVER - Connectionchangedsettingproxyserver + CONNECTION_CHANGED_SETTING_PROXY_SERVER - Connectionchangedrenewtoken + CONNECTION_CHANGED_RENEW_TOKEN - Connectionchangedclientipaddresschanged + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED - Connectionchangedkeepalivetimeout + CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT - Connectionchangedrejoinsuccess + CONNECTION_CHANGED_REJOIN_SUCCESS - Connectionchangedlost + CONNECTION_CHANGED_LOST - Connectionchangedechotest + CONNECTION_CHANGED_ECHO_TEST - Connectionchangedclientipaddresschangedbyuser + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER - Connectionchangedsameuidlogin + CONNECTION_CHANGED_SAME_UID_LOGIN - Connectionchangedtoomanybroadcasters + CONNECTION_CHANGED_TOO_MANY_BROADCASTERS - Containermp4 + CONTAINER_MP4 - Audiotracktype + AudioTrackType - Audiotrackmixable + AUDIO_TRACK_MIXABLE - Audiotrackdirect + AUDIO_TRACK_DIRECT - Cameradirection + CAMERA_DIRECTION - Camerarear + CAMERA_REAR - Camerafront + CAMERA_FRONT - Cameraextra + CAMERA_EXTRA - Camerafocallengthtype + CAMERA_FOCAL_LENGTH_TYPE - Camerafocallengthdefault + CAMERA_FOCAL_LENGTH_DEFAULT - Camerafocallengthwideangle + CAMERA_FOCAL_LENGTH_WIDE_ANGLE - Camerafocallengthultrawide + CAMERA_FOCAL_LENGTH_ULTRA_WIDE - Capturebrightnesslevelinvalid + CAPTURE_BRIGHTNESS_LEVEL_INVALID - Capturebrightnesslevelnormal + CAPTURE_BRIGHTNESS_LEVEL_NORMAL - Capturebrightnesslevelbright + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT - Capturebrightnessleveldark + CAPTURE_BRIGHTNESS_LEVEL_DARK - Captureroutputpreference + CAPTURER_OUTPUT_PREFERENCE - Captureroutputpreferenceauto + CAPTURER_OUTPUT_PREFERENCE_AUTO - Captureroutputpreferenceperformance + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE - Captureroutputpreferencepreview + CAPTURER_OUTPUT_PREFERENCE_PREVIEW - Captureroutputpreferencemanual + CAPTURER_OUTPUT_PREFERENCE_MANUAL - Relayok + RELAY_OK - Relayerrorservererrorresponse + RELAY_ERROR_SERVER_ERROR_RESPONSE - Relayerrorservernoresponse + RELAY_ERROR_SERVER_NO_RESPONSE - Relayerrornoresourceavailable + RELAY_ERROR_NO_RESOURCE_AVAILABLE - Relayerrorfailedjoinsrc + RELAY_ERROR_FAILED_JOIN_SRC - Relayerrorfailedjoindest + RELAY_ERROR_FAILED_JOIN_DEST - Relayerrorfailedpacketreceivedfromsrc + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC - Relayerrorfailedpacketsenttodest + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST - Relayerrorserverconnectionlost + RELAY_ERROR_SERVER_CONNECTION_LOST - Relayerrorinternalerror + RELAY_ERROR_INTERNAL_ERROR - Relayerrorsrctokenexpired + RELAY_ERROR_SRC_TOKEN_EXPIRED - Relayerrordesttokenexpired + RELAY_ERROR_DEST_TOKEN_EXPIRED - Relayeventnetworkdisconnected + RELAY_EVENT_NETWORK_DISCONNECTED - Relayeventnetworkconnected + RELAY_EVENT_NETWORK_CONNECTED - Relayeventpacketjoinedsrcchannel + RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL - Relayeventpacketjoineddestchannel + RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL - Relayeventpacketsenttodestchannel + RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL - Relayeventpacketreceivedvideofromsrc + RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC - Relayeventpacketreceivedaudiofromsrc + RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC - Relayeventpacketupdatedestchannel + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL - Relayeventpacketupdatedestchannelnotchange + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE - Relayeventpacketupdatedestchannelisnull + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL - Relayeventvideoprofileupdate + RELAY_EVENT_VIDEO_PROFILE_UPDATE - Relayeventpausesendpackettodestchannelsuccess + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - Relayeventpausesendpackettodestchannelfailed + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED - Relayeventresumesendpackettodestchannelsuccess + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - Relayeventresumesendpackettodestchannelfailed + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED - Relaystateidle + RELAY_STATE_IDLE - Relaystateconnecting + RELAY_STATE_CONNECTING - Relaystaterunning + RELAY_STATE_RUNNING - Relaystatefailure + RELAY_STATE_FAILURE - Channelprofilecommunication + CHANNEL_PROFILE_COMMUNICATION - Channelprofilelivebroadcasting + CHANNEL_PROFILE_LIVE_BROADCASTING - Channelprofilegame + CHANNEL_PROFILE_GAME - Channelprofilecloudgaming + CHANNEL_PROFILE_CLOUD_GAMING - Channelprofilecommunication1v1 + CHANNEL_PROFILE_COMMUNICATION_1v1 - Clientrolebroadcaster + CLIENT_ROLE_BROADCASTER - Clientroleaudience + CLIENT_ROLE_AUDIENCE - Clientrolechangefailedtoomanybroadcasters + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS - Clientrolechangefailednotauthorized + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED - Clientrolechangefailedrequesttimeout + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT - Clientrolechangefailedconnectionfailed + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED - Transporttypenoneproxy + TRANSPORT_TYPE_NONE_PROXY - Transporttypeudpproxy + TRANSPORT_TYPE_UDP_PROXY - Transporttypetcpproxy + TRANSPORT_TYPE_TCP_PROXY - Proxytypenoneproxy + PROXY_TYPE_NONE_PROXY - Proxytypeudpcloudproxy + PROXY_TYPE_UDP_CLOUD_PROXY - Proxytypetcpcloudproxy + PROXY_TYPE_TCP_CLOUD_PROXY - Proxytypelocalproxy + PROXY_TYPE_LOCAL_PROXY - Proxytypetcpautofallback + PROXY_TYPE_TCP_AUTO_FALLBACK - Degradationpreference + DEGRADATION_PREFERENCE - Maintainquality + MAINTAIN_QUALITY - Maintainframerate + MAINTAIN_FRAMERATE - Maintainbalanced + MAINTAIN_BALANCED - Maintainresolution + MAINTAIN_RESOLUTION - Directcdnstreamingreason + DirectCdnStreamingReason - Ok + OK - Failed + FAILED - Audiopublication + AUDIO_PUBLICATION - Videopublication + VIDEO_PUBLICATION - Netconnect + NET_CONNECT - Badname + BAD_NAME - Directcdnstreamingstate + DirectCdnStreamingState - Idle + IDLE - Running + RUNNING - Stopped + STOPPED - Failed + FAILED - Recovering + RECOVERING - Earmonitoringfilternone + EAR_MONITORING_FILTER_NONE - Earmonitoringfilterbuiltinaudiofilters + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS - Earmonitoringfilternoisesuppression + EAR_MONITORING_FILTER_NOISE_SUPPRESSION - Earmonitoringfilterreusepostprocessingfilter + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER - Encryptionerrortype + ENCRYPTION_ERROR_TYPE - Encryptionerrorinternalfailure + ENCRYPTION_ERROR_INTERNAL_FAILURE - Encryptionerrordecryptionfailure + ENCRYPTION_ERROR_DECRYPTION_FAILURE - Encryptionerrorencryptionfailure + ENCRYPTION_ERROR_ENCRYPTION_FAILURE - Encryptionerrordatastreamdecryptionfailure + ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE - Encryptionerrordatastreamencryptionfailure + ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE - Errok + ERR_OK - Errfailed + ERR_FAILED - Errinvalidargument + ERR_INVALID_ARGUMENT - Errnotready + ERR_NOT_READY - Errnotsupported + ERR_NOT_SUPPORTED - Errrefused + ERR_REFUSED - Errbuffertoosmall + ERR_BUFFER_TOO_SMALL - Errnotinitialized + ERR_NOT_INITIALIZED - Errinvalidstate + ERR_INVALID_STATE - Errnopermission + ERR_NO_PERMISSION - Errtimedout + ERR_TIMEDOUT - Errjoinchannelrejected + ERR_JOIN_CHANNEL_REJECTED - Errleavechannelrejected + ERR_LEAVE_CHANNEL_REJECTED - Erralreadyinuse + ERR_ALREADY_IN_USE - Erraborted + ERR_ABORTED - Errresourcelimited + ERR_RESOURCE_LIMITED - Errinvalidappid + ERR_INVALID_APP_ID - Errinvalidchannelname + ERR_INVALID_CHANNEL_NAME - Errnoserverresources + ERR_NO_SERVER_RESOURCES - Errtokenexpired + ERR_TOKEN_EXPIRED - Errinvalidtoken + ERR_INVALID_TOKEN - Errconnectioninterrupted + ERR_CONNECTION_INTERRUPTED - Errconnectionlost + ERR_CONNECTION_LOST - Errnotinchannel + ERR_NOT_IN_CHANNEL - Errsizetoolarge + ERR_SIZE_TOO_LARGE - Errbitratelimit + ERR_BITRATE_LIMIT - Errtoomanydatastreams + ERR_TOO_MANY_DATA_STREAMS - Errstreammessagetimeout + ERR_STREAM_MESSAGE_TIMEOUT - Errsetclientrolenotauthorized + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED - Errdecryptionfailed + ERR_DECRYPTION_FAILED - Errinvaliduserid + ERR_INVALID_USER_ID - Errclientisbannedbyserver + ERR_CLIENT_IS_BANNED_BY_SERVER - Errencryptedstreamnotallowedpublish + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH - Errlicensecredentialinvalid + ERR_LICENSE_CREDENTIAL_INVALID - Errinvaliduseraccount + ERR_INVALID_USER_ACCOUNT - Errmodulenotfound + ERR_MODULE_NOT_FOUND - Errloadmediaengine + ERR_LOAD_MEDIA_ENGINE - Erradmgeneralerror + ERR_ADM_GENERAL_ERROR - Erradminitplayout + ERR_ADM_INIT_PLAYOUT - Erradmstartplayout + ERR_ADM_START_PLAYOUT - Erradmstopplayout + ERR_ADM_STOP_PLAYOUT - Erradminitrecording + ERR_ADM_INIT_RECORDING - Erradmstartrecording + ERR_ADM_START_RECORDING - Erradmstoprecording + ERR_ADM_STOP_RECORDING - Errvdmcameranotauthorized + ERR_VDM_CAMERA_NOT_AUTHORIZED - Errdatastreamdecryptionfailed + ERR_DATASTREAM_DECRYPTION_FAILED - Encryptionmode + EncryptionMode - Aes128xts + AES_128_XTS - Aes128ecb + AES_128_ECB - Aes256xts + AES_256_XTS - Sm4128ecb + SM4_128_ECB - Aes128gcm + AES_128_GCM - Aes256gcm + AES_256_GCM - Aes128gcm2 + AES_128_GCM2 - Aes256gcm2 + AES_256_GCM2 - Modeend + MODE_END - Experiencereasonnone + EXPERIENCE_REASON_NONE - Remotenetworkqualitypoor + REMOTE_NETWORK_QUALITY_POOR - Localnetworkqualitypoor + LOCAL_NETWORK_QUALITY_POOR - Wirelesssignalpoor + WIRELESS_SIGNAL_POOR - Wifibluetoothcoexist + WIFI_BLUETOOTH_COEXIST - Experiencequalitygood + EXPERIENCE_QUALITY_GOOD - Experiencequalitybad + EXPERIENCE_QUALITY_BAD - Featuretype + FeatureType - Videovirtualbackground + VIDEO_VIRTUAL_BACKGROUND - Videobeautyeffect + VIDEO_BEAUTY_EFFECT - Framerate + FRAME_RATE - Frameratefps1 + FRAME_RATE_FPS_1 - Frameratefps7 + FRAME_RATE_FPS_7 - Frameratefps10 + FRAME_RATE_FPS_10 - Frameratefps15 + FRAME_RATE_FPS_15 - Frameratefps24 + FRAME_RATE_FPS_24 - Frameratefps30 + FRAME_RATE_FPS_30 - Frameratefps60 + FRAME_RATE_FPS_60 - Headphoneequalizerpreset + HEADPHONE_EQUALIZER_PRESET - Headphoneequalizeroff + HEADPHONE_EQUALIZER_OFF - Headphoneequalizeroverear + HEADPHONE_EQUALIZER_OVEREAR - Headphoneequalizerinear + HEADPHONE_EQUALIZER_INEAR - Lastmileproberesultcomplete + LASTMILE_PROBE_RESULT_COMPLETE - Lastmileproberesultincompletenobwe + LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE - Lastmileproberesultunavailable + LASTMILE_PROBE_RESULT_UNAVAILABLE - Lighteningcontrastlow + LIGHTENING_CONTRAST_LOW - Lighteningcontrastnormal + LIGHTENING_CONTRAST_NORMAL - Lighteningcontrasthigh + LIGHTENING_CONTRAST_HIGH - Injectstreamstatusstartsuccess + INJECT_STREAM_STATUS_START_SUCCESS - Injectstreamstatusstartalreadyexists + INJECT_STREAM_STATUS_START_ALREADY_EXISTS - Injectstreamstatusstartunauthorized + INJECT_STREAM_STATUS_START_UNAUTHORIZED - Injectstreamstatusstarttimedout + INJECT_STREAM_STATUS_START_TIMEDOUT - Injectstreamstatusstartfailed + INJECT_STREAM_STATUS_START_FAILED - Injectstreamstatusstopsuccess + INJECT_STREAM_STATUS_STOP_SUCCESS - Injectstreamstatusstopnotfound + INJECT_STREAM_STATUS_STOP_NOT_FOUND - Injectstreamstatusstopunauthorized + INJECT_STREAM_STATUS_STOP_UNAUTHORIZED - Injectstreamstatusstoptimedout + INJECT_STREAM_STATUS_STOP_TIMEDOUT - Injectstreamstatusstopfailed + INJECT_STREAM_STATUS_STOP_FAILED - Injectstreamstatusbroken + INJECT_STREAM_STATUS_BROKEN - Localaudiostreamreasonok + LOCAL_AUDIO_STREAM_REASON_OK - Localaudiostreamreasonfailure + LOCAL_AUDIO_STREAM_REASON_FAILURE - Localaudiostreamreasondevicenopermission + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION - Localaudiostreamreasondevicebusy + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY - Localaudiostreamreasoncapturefailure + LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE - Localaudiostreamreasonencodefailure + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE - Localaudiostreamreasoninterrupted + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED - Localaudiostreamstatestopped + LOCAL_AUDIO_STREAM_STATE_STOPPED - Localaudiostreamstaterecording + LOCAL_AUDIO_STREAM_STATE_RECORDING - Localaudiostreamstateencoding + LOCAL_AUDIO_STREAM_STATE_ENCODING - Localaudiostreamstatefailed + LOCAL_AUDIO_STREAM_STATE_FAILED - Localrpoxyconnectivityfirst + LOCAL_RPOXY_CONNECTIVITY_FIRST - Localrpoxylocalonly + LOCAL_RPOXY_LOCAL_ONLY - Localvideostreamreasonok + LOCAL_VIDEO_STREAM_REASON_OK - Localvideostreamreasonfailure + LOCAL_VIDEO_STREAM_REASON_FAILURE - Localvideostreamreasondevicenopermission + LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION - Localvideostreamreasondevicebusy + LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY - Localvideostreamreasoncapturefailure + LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE - Localvideostreamreasoncodecnotsupport + LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT - Localvideostreamreasondevicenotfound + LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND - Localvideostreamreasonscreencapturewindowminimized + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED - Localvideostreamreasonscreencapturewindowclosed + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED - Localvideostreamreasondeviceinterrupt + LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT - Localvideostreamreasondevicefatalerror + LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR - Localvideostreamstatestopped + LOCAL_VIDEO_STREAM_STATE_STOPPED - Localvideostreamstatecapturing + LOCAL_VIDEO_STREAM_STATE_CAPTURING - Localvideostreamstateencoding + LOCAL_VIDEO_STREAM_STATE_ENCODING - Localvideostreamstatefailed + LOCAL_VIDEO_STREAM_STATE_FAILED - Errscreencapturepermissiondenied + ERR_SCREEN_CAPTURE_PERMISSION_DENIED - Errscreencapturesystemnotsupported + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED @@ -8769,1253 +8769,1253 @@ - Errscreencapturesystemaudionotsupported + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED - Logfilteroff + LOG_FILTER_OFF - Logfilterdebug + LOG_FILTER_DEBUG - Logfilterinfo + LOG_FILTER_INFO - Logfilterwarn + LOG_FILTER_WARN - Logfiltererror + LOG_FILTER_ERROR - Logfiltercritical + LOG_FILTER_CRITICAL - Loglevel + LogLevel - Loglevelnone + LOG_LEVEL_NONE - Loglevelinfo + LOG_LEVEL_INFO - Loglevelwarn + LOG_LEVEL_WARN - Loglevelerror + LOG_LEVEL_ERROR - Loglevelfatal + LOG_LEVEL_FATAL - Lowlightenhanceauto + LOW_LIGHT_ENHANCE_AUTO - Lowlightenhancemanual + LOW_LIGHT_ENHANCE_MANUAL - Lowlightenhancelevelhighquality + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY - Lowlightenhancelevelfast + LOW_LIGHT_ENHANCE_LEVEL_FAST - Mediadevicestateactive + MEDIA_DEVICE_STATE_ACTIVE - Mediadevicestatedisabled + MEDIA_DEVICE_STATE_DISABLED - Mediadevicestatenotpresent + MEDIA_DEVICE_STATE_NOT_PRESENT - Mediadevicestateunplugged + MEDIA_DEVICE_STATE_UNPLUGGED - Mediadevicestateunrecommended + MEDIA_DEVICE_STATE_UNRECOMMENDED - Audioapplicationplayoutdevice + AUDIO_APPLICATION_PLAYOUT_DEVICE - Mediaplayerreason + MediaPlayerReason - Playerreasonnone + PLAYER_REASON_NONE - Playerreasoninvalidarguments + PLAYER_REASON_INVALID_ARGUMENTS - Playerreasoninternal + PLAYER_REASON_INTERNAL - Playerreasonnoresource + PLAYER_REASON_NO_RESOURCE - Playerreasoninvalidmediasource + PLAYER_REASON_INVALID_MEDIA_SOURCE - Playerreasonunknownstreamtype + PLAYER_REASON_UNKNOWN_STREAM_TYPE - Playerreasonobjnotinitialized + PLAYER_REASON_OBJ_NOT_INITIALIZED - Playerreasoncodecnotsupported + PLAYER_REASON_CODEC_NOT_SUPPORTED - Playerreasonvideorenderfailed + PLAYER_REASON_VIDEO_RENDER_FAILED - Playerreasoninvalidstate + PLAYER_REASON_INVALID_STATE - Playerreasonurlnotfound + PLAYER_REASON_URL_NOT_FOUND - Playerreasoninvalidconnectionstate + PLAYER_REASON_INVALID_CONNECTION_STATE - Playerreasonsrcbufferunderflow + PLAYER_REASON_SRC_BUFFER_UNDERFLOW - Playerreasoninterrupted + PLAYER_REASON_INTERRUPTED - Playerreasonnotsupported + PLAYER_REASON_NOT_SUPPORTED - Playerreasontokenexpired + PLAYER_REASON_TOKEN_EXPIRED - Playerreasonipexpired + PLAYER_REASON_IP_EXPIRED - Playerreasonunknown + PLAYER_REASON_UNKNOWN - Mediaplayerevent + MediaPlayerEvent - Playereventunknown + PLAYER_EVENT_UNKNOWN - Playereventseekbegin + PLAYER_EVENT_SEEK_BEGIN - Playereventseekcomplete + PLAYER_EVENT_SEEK_COMPLETE - Playereventseekerror + PLAYER_EVENT_SEEK_ERROR - Playereventaudiotrackchanged + PLAYER_EVENT_AUDIO_TRACK_CHANGED - Playereventbufferlow + PLAYER_EVENT_BUFFER_LOW - Playereventbufferrecover + PLAYER_EVENT_BUFFER_RECOVER - Playereventfreezestart + PLAYER_EVENT_FREEZE_START - Playereventfreezestop + PLAYER_EVENT_FREEZE_STOP - Playereventswitchbegin + PLAYER_EVENT_SWITCH_BEGIN - Playereventswitchcomplete + PLAYER_EVENT_SWITCH_COMPLETE - Playereventswitcherror + PLAYER_EVENT_SWITCH_ERROR - Playereventfirstdisplayed + PLAYER_EVENT_FIRST_DISPLAYED - Playereventreachcachefilemaxcount + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT - Playereventreachcachefilemaxsize + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE - Mediaplayermetadatatype + MediaPlayerMetadataType - Playermetadatatypeunknown + PLAYER_METADATA_TYPE_UNKNOWN - Playermetadatatypesei + PLAYER_METADATA_TYPE_SEI - Mediaplayerstate + MediaPlayerState - Playerstateunknown + PLAYER_STATE_UNKNOWN - Playerstateidle + PLAYER_STATE_IDLE - Playerstateopening + PLAYER_STATE_OPENING - Playerstateopencompleted + PLAYER_STATE_OPEN_COMPLETED - Playerstateplaying + PLAYER_STATE_PLAYING - Playerstatepaused + PLAYER_STATE_PAUSED - Playerstateplaybackcompleted + PLAYER_STATE_PLAYBACK_COMPLETED - Playerstateplaybackallloopscompleted + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED - Playerstatestopped + PLAYER_STATE_STOPPED - Playerstatefailed + PLAYER_STATE_FAILED - Mediasourcetype + MediaSourceType - Audioplayoutsource + AUDIO_PLAYOUT_SOURCE - Audiorecordingsource + AUDIO_RECORDING_SOURCE - Primarycamerasource + PRIMARY_CAMERA_SOURCE - Secondarycamerasource + SECONDARY_CAMERA_SOURCE - Customvideosource + CUSTOM_VIDEO_SOURCE - Speechdrivenvideosource + SPEECH_DRIVEN_VIDEO_SOURCE - Unknownmediasource + UNKNOWN_MEDIA_SOURCE - Mediatraceevent + MEDIA_TRACE_EVENT - Mediatraceeventvideorendered + MEDIA_TRACE_EVENT_VIDEO_RENDERED - Mediatraceeventvideodecoded + MEDIA_TRACE_EVENT_VIDEO_DECODED - Mediastreamtype + MediaStreamType - Streamtypeunknown + STREAM_TYPE_UNKNOWN - Streamtypevideo + STREAM_TYPE_VIDEO - Streamtypeaudio + STREAM_TYPE_AUDIO - Streamtypesubtitle + STREAM_TYPE_SUBTITLE - Unknownmetadata + UNKNOWN_METADATA - Videometadata + VIDEO_METADATA - Networktypeunknown + NETWORK_TYPE_UNKNOWN - Networktypedisconnected + NETWORK_TYPE_DISCONNECTED - Networktypelan + NETWORK_TYPE_LAN - Networktypewifi + NETWORK_TYPE_WIFI - Networktypemobile2g + NETWORK_TYPE_MOBILE_2G - Networktypemobile3g + NETWORK_TYPE_MOBILE_3G - Networktypemobile4g + NETWORK_TYPE_MOBILE_4G - Networktypemobile5g + NETWORK_TYPE_MOBILE_5G - Musiccontentcenterstatereason + MusicContentCenterStateReason - Musiccontentcenterstatereasonok + MUSIC_CONTENT_CENTER_STATE_REASON_OK - Musiccontentcenterstatereasonerror + MUSIC_CONTENT_CENTER_STATE_REASON_ERROR - Musiccontentcenterstatereasongateway + MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY - Musiccontentcenterstatereasonpermissionandresource + MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE - Musiccontentcenterstatereasoninternaldataparse + MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE - Musiccontentcenterstatereasonmusicloading + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING - Musiccontentcenterstatereasonmusicdecryption + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION - Musiccontentcenterstatereasonhttpinternal + MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL - Preloadstate + PreloadState - Preloadstatecompleted + PRELOAD_STATE_COMPLETED - Preloadstatefailed + PRELOAD_STATE_FAILED - Preloadstatepreloading + PRELOAD_STATE_PRELOADING - Preloadstateremoved + PRELOAD_STATE_REMOVED - Musiccachestatustype + MusicCacheStatusType - Musiccachestatustypecached + MUSIC_CACHE_STATUS_TYPE_CACHED - Musiccachestatustypecaching + MUSIC_CACHE_STATUS_TYPE_CACHING - Orientationmode + ORIENTATION_MODE - Orientationmodeadaptive + ORIENTATION_MODE_ADAPTIVE - Orientationfixedlandscape + ORIENTATION_FIXED_LANDSCAPE - Orientationfixedportrait + ORIENTATION_FIXED_PORTRAIT - Recordaudio + RECORD_AUDIO - Camera + CAMERA - Screencapture + SCREEN_CAPTURE - Screenscenariotype + ScreenScenarioType - Screenscenariodocument + SCREEN_SCENARIO_DOCUMENT - Screenscenariogaming + SCREEN_SCENARIO_GAMING - Screenscenariovideo + SCREEN_SCENARIO_VIDEO - Mediaplayerpreloadevent + MediaPlayerPreloadEvent - Playerpreloadeventbegin + PLAYER_PRELOAD_EVENT_BEGIN - Playerpreloadeventcomplete + PLAYER_PRELOAD_EVENT_COMPLETE - Playerpreloadeventerror + PLAYER_PRELOAD_EVENT_ERROR - Userpriorityhigh + USER_PRIORITY_HIGH - Userprioritynoranl + USER_PRIORITY_NORANL - Qualityreportformattype + QUALITY_REPORT_FORMAT_TYPE - Qualityreportjson + QUALITY_REPORT_JSON - Qualityreporthtml + QUALITY_REPORT_HTML - Qualityunknown + QUALITY_UNKNOWN - Qualityexcellent + QUALITY_EXCELLENT - Qualitygood + QUALITY_GOOD - Qualitypoor + QUALITY_POOR - Qualitybad + QUALITY_BAD - Qualityvbad + QUALITY_VBAD - Qualitydown + QUALITY_DOWN - Rawaudioframeopmodereadonly + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY - Rawaudioframeopmodereadwrite + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE - Recorderreasonnone + RECORDER_REASON_NONE - Recordererrorwritefailed + RECORDER_ERROR_WRITE_FAILED - Recordererrornostream + RECORDER_ERROR_NO_STREAM - Recordererrorovermaxduration + RECORDER_ERROR_OVER_MAX_DURATION - Recordererrorconfigchanged + RECORDER_ERROR_CONFIG_CHANGED - Recorderstateerror + RECORDER_STATE_ERROR - Recorderstatestart + RECORDER_STATE_START - Recorderstatestop + RECORDER_STATE_STOP - Remoteaudiostatestopped + REMOTE_AUDIO_STATE_STOPPED - Remoteaudiostatestarting + REMOTE_AUDIO_STATE_STARTING - Remoteaudiostatedecoding + REMOTE_AUDIO_STATE_DECODING - Remoteaudiostatefrozen + REMOTE_AUDIO_STATE_FROZEN - Remoteaudiostatefailed + REMOTE_AUDIO_STATE_FAILED - Remotevideostatestopped + REMOTE_VIDEO_STATE_STOPPED - Remotevideostatestarting + REMOTE_VIDEO_STATE_STARTING - Remotevideostatedecoding + REMOTE_VIDEO_STATE_DECODING - Remotevideostatefrozen + REMOTE_VIDEO_STATE_FROZEN - Remotevideostatefailed + REMOTE_VIDEO_STATE_FAILED - Remoteaudioreasoninternal + REMOTE_AUDIO_REASON_INTERNAL - Remoteaudioreasonnetworkcongestion + REMOTE_AUDIO_REASON_NETWORK_CONGESTION - Remoteaudioreasonnetworkrecovery + REMOTE_AUDIO_REASON_NETWORK_RECOVERY - Remoteaudioreasonlocalmuted + REMOTE_AUDIO_REASON_LOCAL_MUTED - Remoteaudioreasonlocalunmuted + REMOTE_AUDIO_REASON_LOCAL_UNMUTED - Remoteaudioreasonremotemuted + REMOTE_AUDIO_REASON_REMOTE_MUTED - Remoteaudioreasonremoteunmuted + REMOTE_AUDIO_REASON_REMOTE_UNMUTED - Remoteaudioreasonremoteoffline + REMOTE_AUDIO_REASON_REMOTE_OFFLINE - Remotevideostatereasoninternal + REMOTE_VIDEO_STATE_REASON_INTERNAL - Remotevideostatereasonnetworkcongestion + REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION - Remotevideostatereasonnetworkrecovery + REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY - Remotevideostatereasonlocalmuted + REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED - Remotevideostatereasonlocalunmuted + REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED - Remotevideostatereasonremotemuted + REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED - Remotevideostatereasonremoteunmuted + REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED - Remotevideostatereasonremoteoffline + REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE - Remotevideostatereasonaudiofallback + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK @@ -10023,889 +10023,889 @@ - Remotevideostatereasonaudiofallbackrecovery + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY - Remotevideostatereasoncodecnotsupport + REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT - Rendermodehidden + RENDER_MODE_HIDDEN - Rendermodefit + RENDER_MODE_FIT - Rendermodeadaptive + RENDER_MODE_ADAPTIVE - Rtmpstreampublishreasonok + RTMP_STREAM_PUBLISH_REASON_OK - Rtmpstreampublishreasoninvalidargument + RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT - Rtmpstreampublishreasonencryptedstreamnotallowed + RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED - Rtmpstreampublishreasonconnectiontimeout + RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT - Rtmpstreampublishreasoninternalservererror + RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR - Rtmpstreampublishreasonrtmpservererror + RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR - Rtmpstreampublishreasontoooften + RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN - Rtmpstreampublishreasonreachlimit + RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT - Rtmpstreampublishreasonnotauthorized + RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED - Rtmpstreampublishreasonstreamnotfound + RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND - Rtmpstreampublishreasonformatnotsupported + RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED - Rtmpstreampublishreasonnotbroadcaster + RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER - Rtmpstreampublishreasontranscodingnomixstream + RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM - Rtmpstreampublishreasonnetdown + RTMP_STREAM_PUBLISH_REASON_NET_DOWN - Rtmpstreampublishreasoninvalidprivilege + RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE - Rtmpstreamunpublishreasonok + RTMP_STREAM_UNPUBLISH_REASON_OK - Rtmpstreampublishstateidle + RTMP_STREAM_PUBLISH_STATE_IDLE - Rtmpstreampublishstateconnecting + RTMP_STREAM_PUBLISH_STATE_CONNECTING - Rtmpstreampublishstaterunning + RTMP_STREAM_PUBLISH_STATE_RUNNING - Rtmpstreampublishstaterecovering + RTMP_STREAM_PUBLISH_STATE_RECOVERING - Rtmpstreampublishstatefailure + RTMP_STREAM_PUBLISH_STATE_FAILURE - Rtmpstreampublishstatedisconnecting + RTMP_STREAM_PUBLISH_STATE_DISCONNECTING - Rtmpstreamingeventfailedloadimage + RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE - Rtmpstreamingeventurlalreadyinuse + RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE - Rtmpstreamingeventadvancedfeaturenotsupport + RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT - Rtmpstreamingeventrequesttoooften + RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN - Streamfallbackoptiondisabled + STREAM_FALLBACK_OPTION_DISABLED - Streamfallbackoptionvideostreamlow + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW - Streamfallbackoptionaudioonly + STREAM_FALLBACK_OPTION_AUDIO_ONLY - Rhythmplayerstateidle + RHYTHM_PLAYER_STATE_IDLE - Rhythmplayerstateopening + RHYTHM_PLAYER_STATE_OPENING - Rhythmplayerstatedecoding + RHYTHM_PLAYER_STATE_DECODING - Rhythmplayerstateplaying + RHYTHM_PLAYER_STATE_PLAYING - Rhythmplayerstatefailed + RHYTHM_PLAYER_STATE_FAILED - Rhythmplayerreasonok + RHYTHM_PLAYER_REASON_OK - Rhythmplayerreasonfailed + RHYTHM_PLAYER_REASON_FAILED - Rhythmplayerreasoncannotopen + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN - Rhythmplayerreasoncannotplay + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY - Rhythmplayerreasonfileoverdurationlimit + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT - Simulcaststreammode + SIMULCAST_STREAM_MODE - Autosimulcaststream + AUTO_SIMULCAST_STREAM - Disablesimulcaststream + DISABLE_SIMULCAST_STREAM - Enablesimulcaststream + ENABLE_SIMULCAST_STREAM - Connectionstate + ConnectionState - Saeconnectionstateconnecting + SAE_CONNECTION_STATE_CONNECTING - Saeconnectionstateconnected + SAE_CONNECTION_STATE_CONNECTED - Saeconnectionstatedisconnected + SAE_CONNECTION_STATE_DISCONNECTED - Saeconnectionstatereconnecting + SAE_CONNECTION_STATE_RECONNECTING - Saeconnectionstatereconnected + SAE_CONNECTION_STATE_RECONNECTED - Connectionchangedreason + ConnectionChangedReason - Saeconnectionchangeddefault + SAE_CONNECTION_CHANGED_DEFAULT - Saeconnectionchangedconnecting + SAE_CONNECTION_CHANGED_CONNECTING - Saeconnectionchangedcreateroomfail + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL - Saeconnectionchangedrtmdisconnect + SAE_CONNECTION_CHANGED_RTM_DISCONNECT - Saeconnectionchangedrtmaborted + SAE_CONNECTION_CHANGED_RTM_ABORTED - Saeconnectionchangedlostsync + SAE_CONNECTION_CHANGED_LOST_SYNC - Segmodelai + SEG_MODEL_AI - Segmodelgreen + SEG_MODEL_GREEN - Streampublishstate + STREAM_PUBLISH_STATE - Pubstateidle + PUB_STATE_IDLE - Pubstatenopublished + PUB_STATE_NO_PUBLISHED - Pubstatepublishing + PUB_STATE_PUBLISHING - Pubstatepublished + PUB_STATE_PUBLISHED - Streamtypeboth + STREAM_TYPE_BOTH - Substateidle + SUB_STATE_IDLE - Substatenosubscribed + SUB_STATE_NO_SUBSCRIBED - Substatesubscribing + SUB_STATE_SUBSCRIBING - Substatesubscribed + SUB_STATE_SUBSCRIBED - Userofflinequit + USER_OFFLINE_QUIT - Userofflinedropped + USER_OFFLINE_DROPPED - Userofflinebecomeaudience + USER_OFFLINE_BECOME_AUDIENCE - Videobufferrawdata + VIDEO_BUFFER_RAW_DATA - Videoscenario + VideoScenario - Applicationscenariogeneral + APPLICATION_SCENARIO_GENERAL - Applicationscenariomeeting + APPLICATION_SCENARIO_MEETING - Videocapturetype + VIDEO_CAPTURE_TYPE - Videocaptureunknown + VIDEO_CAPTURE_UNKNOWN - Videocapturecamera + VIDEO_CAPTURE_CAMERA - Videocapturescreen + VIDEO_CAPTURE_SCREEN - Videodenoiserauto + VIDEO_DENOISER_AUTO - Videodenoisermanual + VIDEO_DENOISER_MANUAL - Videodenoiserlevelhighquality + VIDEO_DENOISER_LEVEL_HIGH_QUALITY - Videodenoiserlevelfast + VIDEO_DENOISER_LEVEL_FAST - Videodenoiserlevelstrength + VIDEO_DENOISER_LEVEL_STRENGTH - Videosourcetype + VideoSourceType - Videosourcecameraprimary + VIDEO_SOURCE_CAMERA_PRIMARY - Videosourcecamera + VIDEO_SOURCE_CAMERA - Videosourcecamerasecondary + VIDEO_SOURCE_CAMERA_SECONDARY - Videosourcescreenprimary + VIDEO_SOURCE_SCREEN_PRIMARY - Videosourcescreen + VIDEO_SOURCE_SCREEN - Videosourcescreensecondary + VIDEO_SOURCE_SCREEN_SECONDARY - Videosourcecustom + VIDEO_SOURCE_CUSTOM - Videosourcemediaplayer + VIDEO_SOURCE_MEDIA_PLAYER - Videosourcertcimagepng + VIDEO_SOURCE_RTC_IMAGE_PNG - Videosourcertcimagejpeg + VIDEO_SOURCE_RTC_IMAGE_JPEG - Videosourcertcimagegif + VIDEO_SOURCE_RTC_IMAGE_GIF - Videosourceremote + VIDEO_SOURCE_REMOTE - Videosourcetranscoded + VIDEO_SOURCE_TRANSCODED - Videosourcecamerathird + VIDEO_SOURCE_CAMERA_THIRD - Videosourcecamerafourth + VIDEO_SOURCE_CAMERA_FOURTH - Videosourcespeechdriven + VIDEO_SOURCE_SPEECH_DRIVEN - Videosourceunknown + VIDEO_SOURCE_UNKNOWN - Codeccapabilitylevelunspecified + CODEC_CAPABILITY_LEVEL_UNSPECIFIED - Codeccapabilitylevelbasicsupport + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT - Codeccapabilitylevel1080p30fps + CODEC_CAPABILITY_LEVEL_1080P30FPS - Codeccapabilitylevel1080p60fps + CODEC_CAPABILITY_LEVEL_1080P60FPS - Codeccapabilitylevel4k60fps + CODEC_CAPABILITY_LEVEL_4K60FPS - Videocodecprofiletype + VideoCodecProfileType - Baseline + BASELINE - Main + MAIN - High + HIGH - Videocodectype + VIDEO_CODEC_TYPE - Videocodecnone + VIDEO_CODEC_NONE - Videocodecvp8 + VIDEO_CODEC_VP8 - Videocodech264 + VIDEO_CODEC_H264 - Videocodech265 + VIDEO_CODEC_H265 - Videocodecgeneric + VIDEO_CODEC_GENERIC - Videocodecgenerich264 + VIDEO_CODEC_GENERIC_H264 - Videocodecav1 + VIDEO_CODEC_AV1 - Videocodecvp9 + VIDEO_CODEC_VP9 - Videocodecgenericjpeg + VIDEO_CODEC_GENERIC_JPEG - Videocodectype + VideoCodecType @@ -10926,1043 +10926,1043 @@ - Screencapturecontenthintnone + SCREEN_CAPTURE_CONTENT_HINT_NONE - Screencapturecontenthintmotion + SCREEN_CAPTURE_CONTENT_HINT_MOTION - Screencapturecontenthintdetails + SCREEN_CAPTURE_CONTENT_HINT_DETAILS - Videoframeprocessmode + VIDEO_FRAME_PROCESS_MODE - Processmodereadonly + PROCESS_MODE_READ_ONLY - Processmodereadwrite + PROCESS_MODE_READ_WRITE - Videoframetypeblankframe + VIDEO_FRAME_TYPE_BLANK_FRAME - Videoframetypekeyframe + VIDEO_FRAME_TYPE_KEY_FRAME - Videoframetypedeltaframe + VIDEO_FRAME_TYPE_DELTA_FRAME - Videoframetypebframe + VIDEO_FRAME_TYPE_B_FRAME - Videoframetypedroppableframe + VIDEO_FRAME_TYPE_DROPPABLE_FRAME - Videoframetypeunknow + VIDEO_FRAME_TYPE_UNKNOW - Videomirrormodeauto + VIDEO_MIRROR_MODE_AUTO - Videomirrormodeenabled + VIDEO_MIRROR_MODE_ENABLED - Videomirrormodedisabled + VIDEO_MIRROR_MODE_DISABLED - Videomoduleposition + VideoModulePosition - Videomodulepositionpostcapturer + VIDEO_MODULE_POSITION_POST_CAPTURER - Videomodulepositionprerenderer + VIDEO_MODULE_POSITION_PRE_RENDERER - Videomodulepositionpreencoder + VIDEO_MODULE_POSITION_PRE_ENCODER - Videomodulepositionpostcapturerorigin + VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN - Videoorientation0 + VIDEO_ORIENTATION_0 - Videoorientation90 + VIDEO_ORIENTATION_90 - Videoorientation180 + VIDEO_ORIENTATION_180 - Videoorientation270 + VIDEO_ORIENTATION_270 - Videopixeldefault + VIDEO_PIXEL_DEFAULT - Videopixeli420 + VIDEO_PIXEL_I420 - Videopixelbgra + VIDEO_PIXEL_BGRA - Videopixelnv21 + VIDEO_PIXEL_NV21 - Videopixelrgba + VIDEO_PIXEL_RGBA - Videopixelimc2 + VIDEO_PIXEL_IMC2 - Videopixelargb + VIDEO_PIXEL_ARGB - Videopixelnv12 + VIDEO_PIXEL_NV12 - Videopixeli422 + VIDEO_PIXEL_I422 - Videotexture2d + VIDEO_TEXTURE_2D - Videotextureoes + VIDEO_TEXTURE_OES - Videoprofilelandscape120p + VIDEO_PROFILE_LANDSCAPE_120P - Videoprofilelandscape120p3 + VIDEO_PROFILE_LANDSCAPE_120P_3 - Videoprofilelandscape180p + VIDEO_PROFILE_LANDSCAPE_180P - Videoprofilelandscape180p3 + VIDEO_PROFILE_LANDSCAPE_180P_3 - Videoprofilelandscape180p4 + VIDEO_PROFILE_LANDSCAPE_180P_4 - Videoprofilelandscape240p + VIDEO_PROFILE_LANDSCAPE_240P - Videoprofilelandscape240p3 + VIDEO_PROFILE_LANDSCAPE_240P_3 - Videoprofilelandscape240p4 + VIDEO_PROFILE_LANDSCAPE_240P_4 - Videoprofilelandscape360p + VIDEO_PROFILE_LANDSCAPE_360P - Videoprofilelandscape360p3 + VIDEO_PROFILE_LANDSCAPE_360P_3 - Videoprofilelandscape360p4 + VIDEO_PROFILE_LANDSCAPE_360P_4 - Videoprofilelandscape360p6 + VIDEO_PROFILE_LANDSCAPE_360P_6 - Videoprofilelandscape360p7 + VIDEO_PROFILE_LANDSCAPE_360P_7 - Videoprofilelandscape360p8 + VIDEO_PROFILE_LANDSCAPE_360P_8 - Videoprofilelandscape360p9 + VIDEO_PROFILE_LANDSCAPE_360P_9 - Videoprofilelandscape360p10 + VIDEO_PROFILE_LANDSCAPE_360P_10 - Videoprofilelandscape360p11 + VIDEO_PROFILE_LANDSCAPE_360P_11 - Videoprofilelandscape480p + VIDEO_PROFILE_LANDSCAPE_480P - Videoprofilelandscape480p3 + VIDEO_PROFILE_LANDSCAPE_480P_3 - Videoprofilelandscape480p4 + VIDEO_PROFILE_LANDSCAPE_480P_4 - Videoprofilelandscape480p6 + VIDEO_PROFILE_LANDSCAPE_480P_6 - Videoprofilelandscape480p8 + VIDEO_PROFILE_LANDSCAPE_480P_8 - Videoprofilelandscape480p9 + VIDEO_PROFILE_LANDSCAPE_480P_9 - Videoprofilelandscape480p10 + VIDEO_PROFILE_LANDSCAPE_480P_10 - Videoprofilelandscape720p + VIDEO_PROFILE_LANDSCAPE_720P - Videoprofilelandscape720p3 + VIDEO_PROFILE_LANDSCAPE_720P_3 - Videoprofilelandscape720p5 + VIDEO_PROFILE_LANDSCAPE_720P_5 - Videoprofilelandscape720p6 + VIDEO_PROFILE_LANDSCAPE_720P_6 - Videoprofilelandscape1080p + VIDEO_PROFILE_LANDSCAPE_1080P - Videoprofilelandscape1080p3 + VIDEO_PROFILE_LANDSCAPE_1080P_3 - Videoprofilelandscape1080p5 + VIDEO_PROFILE_LANDSCAPE_1080P_5 - Videoprofilelandscape1440p + VIDEO_PROFILE_LANDSCAPE_1440P - Videoprofilelandscape1440p2 + VIDEO_PROFILE_LANDSCAPE_1440P_2 - Videoprofilelandscape4k + VIDEO_PROFILE_LANDSCAPE_4K - Videoprofilelandscape4k3 + VIDEO_PROFILE_LANDSCAPE_4K_3 - Videoprofileportrait120p + VIDEO_PROFILE_PORTRAIT_120P - Videoprofileportrait120p3 + VIDEO_PROFILE_PORTRAIT_120P_3 - Videoprofileportrait180p + VIDEO_PROFILE_PORTRAIT_180P - Videoprofileportrait180p3 + VIDEO_PROFILE_PORTRAIT_180P_3 - Videoprofileportrait180p4 + VIDEO_PROFILE_PORTRAIT_180P_4 - Videoprofileportrait240p + VIDEO_PROFILE_PORTRAIT_240P - Videoprofileportrait240p3 + VIDEO_PROFILE_PORTRAIT_240P_3 - Videoprofileportrait240p4 + VIDEO_PROFILE_PORTRAIT_240P_4 - Videoprofileportrait360p + VIDEO_PROFILE_PORTRAIT_360P - Videoprofileportrait360p3 + VIDEO_PROFILE_PORTRAIT_360P_3 - Videoprofileportrait360p4 + VIDEO_PROFILE_PORTRAIT_360P_4 - Videoprofileportrait360p6 + VIDEO_PROFILE_PORTRAIT_360P_6 - Videoprofileportrait360p7 + VIDEO_PROFILE_PORTRAIT_360P_7 - Videoprofileportrait360p8 + VIDEO_PROFILE_PORTRAIT_360P_8 - Videoprofileportrait360p9 + VIDEO_PROFILE_PORTRAIT_360P_9 - Videoprofileportrait360p10 + VIDEO_PROFILE_PORTRAIT_360P_10 - Videoprofileportrait360p11 + VIDEO_PROFILE_PORTRAIT_360P_11 - Videoprofileportrait480p + VIDEO_PROFILE_PORTRAIT_480P - Videoprofileportrait480p3 + VIDEO_PROFILE_PORTRAIT_480P_3 - Videoprofileportrait480p4 + VIDEO_PROFILE_PORTRAIT_480P_4 - Videoprofileportrait480p6 + VIDEO_PROFILE_PORTRAIT_480P_6 - Videoprofileportrait480p8 + VIDEO_PROFILE_PORTRAIT_480P_8 - Videoprofileportrait480p9 + VIDEO_PROFILE_PORTRAIT_480P_9 - Videoprofileportrait480p10 + VIDEO_PROFILE_PORTRAIT_480P_10 - Videoprofileportrait720p + VIDEO_PROFILE_PORTRAIT_720P - Videoprofileportrait720p3 + VIDEO_PROFILE_PORTRAIT_720P_3 - Videoprofileportrait720p5 + VIDEO_PROFILE_PORTRAIT_720P_5 - Videoprofileportrait720p6 + VIDEO_PROFILE_PORTRAIT_720P_6 - Videoprofileportrait1080p + VIDEO_PROFILE_PORTRAIT_1080P - Videoprofileportrait1080p3 + VIDEO_PROFILE_PORTRAIT_1080P_3 - Videoprofileportrait1080p5 + VIDEO_PROFILE_PORTRAIT_1080P_5 - Videoprofileportrait1440p + VIDEO_PROFILE_PORTRAIT_1440P - Videoprofileportrait1440p2 + VIDEO_PROFILE_PORTRAIT_1440P_2 - Videoprofileportrait4k + VIDEO_PROFILE_PORTRAIT_4K - Videoprofileportrait4k3 + VIDEO_PROFILE_PORTRAIT_4K_3 - Videostreamhigh + VIDEO_STREAM_HIGH - Videostreamlow + VIDEO_STREAM_LOW - Videoprofiledefault + VIDEO_PROFILE_DEFAULT - Viewsetupmodereplace + VIEW_SETUP_MODE_REPLACE - Viewsetupmodeadd + VIEW_SETUP_MODE_ADD - Viewsetupmoderemove + VIEW_SETUP_MODE_REMOVE - Voicebeautifieroff + VOICE_BEAUTIFIER_OFF - Chatbeautifiermagnetic + CHAT_BEAUTIFIER_MAGNETIC - Chatbeautifierfresh + CHAT_BEAUTIFIER_FRESH - Chatbeautifiervitality + CHAT_BEAUTIFIER_VITALITY - Singingbeautifier + SINGING_BEAUTIFIER - Timbretransformationvigorous + TIMBRE_TRANSFORMATION_VIGOROUS - Timbretransformationdeep + TIMBRE_TRANSFORMATION_DEEP - Timbretransformationmellow + TIMBRE_TRANSFORMATION_MELLOW - Timbretransformationfalsetto + TIMBRE_TRANSFORMATION_FALSETTO - Timbretransformationfull + TIMBRE_TRANSFORMATION_FULL - Timbretransformationclear + TIMBRE_TRANSFORMATION_CLEAR - Timbretransformationresounding + TIMBRE_TRANSFORMATION_RESOUNDING - Timbretransformationringing + TIMBRE_TRANSFORMATION_RINGING - Ultrahighqualityvoice + ULTRA_HIGH_QUALITY_VOICE - Voicechangeroff + VOICE_CHANGER_OFF - Voicechangeroldman + VOICE_CHANGER_OLDMAN - Voicechangerbabyboy + VOICE_CHANGER_BABYBOY - Voicechangerbabygirl + VOICE_CHANGER_BABYGIRL - Voicechangerzhubajie + VOICE_CHANGER_ZHUBAJIE - Voicechangerethereal + VOICE_CHANGER_ETHEREAL - Voicechangerhulk + VOICE_CHANGER_HULK - Voicebeautyvigorous + VOICE_BEAUTY_VIGOROUS - Voicebeautydeep + VOICE_BEAUTY_DEEP - Voicebeautymellow + VOICE_BEAUTY_MELLOW - Voicebeautyfalsetto + VOICE_BEAUTY_FALSETTO - Voicebeautyfull + VOICE_BEAUTY_FULL - Voicebeautyclear + VOICE_BEAUTY_CLEAR - Voicebeautyresounding + VOICE_BEAUTY_RESOUNDING - Voicebeautyringing + VOICE_BEAUTY_RINGING - Voicebeautyspacial + VOICE_BEAUTY_SPACIAL - Generalbeautyvoicemalemagnetic + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC - Generalbeautyvoicefemalefresh + GENERAL_BEAUTY_VOICE_FEMALE_FRESH - Generalbeautyvoicefemalevitality + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY - Voiceconversionoff + VOICE_CONVERSION_OFF - Voicechangerneutral + VOICE_CHANGER_NEUTRAL - Voicechangersweet + VOICE_CHANGER_SWEET - Voicechangersolid + VOICE_CHANGER_SOLID - Voicechangerbass + VOICE_CHANGER_BASS From abf19015fd6c2e208405cda69f82d5a0318b8c0e Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:25:36 +0800 Subject: [PATCH 008/146] keyword --- .../config/keys-rtc-ng-api-harmony.ditamap | 1792 ++++++++--------- 1 file changed, 896 insertions(+), 896 deletions(-) diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index 7ed570faf5b..5fe4c706381 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -5682,3086 +5682,3086 @@ - ADAPT_NONE + AdaptNone - ADAPT_UP_BANDWIDTH + AdaptUpBandwidth - ADAPT_DOWN_BANDWIDTH + AdaptDownBandwidth - AreaCode + Areacode - AREA_CODE_CN + AreaCodeCn - AREA_CODE_NA + AreaCodeNa - AREA_CODE_EU + AreaCodeEu - AREA_CODE_AS + AreaCodeAs - AREA_CODE_JP + AreaCodeJp - AREA_CODE_IN + AreaCodeIn - AREA_CODE_GLOB + AreaCodeGlob - AUDIENCE_LATENCY_LEVEL_LOW_LATENCY + AudienceLatencyLevelLowLatency - AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY + AudienceLatencyLevelUltraLowLatency - AudioCodecProfileType + Audiocodecprofiletype - LC_AAC + LcAac - HE_AAC + HeAac - HE_AAC_V2 + HeAacV2 - AUDIO_CODEC_OPUS + AudioCodecOpus - AUDIO_CODEC_PCMA + AudioCodecPcma - AUDIO_CODEC_PCMU + AudioCodecPcmu - AUDIO_CODEC_G722 + AudioCodecG722 - AUDIO_CODEC_AACLC + AudioCodecAaclc - AUDIO_CODEC_HEAAC + AudioCodecHeaac - AUDIO_CODEC_JC1 + AudioCodecJc1 - AUDIO_CODEC_HEAAC2 + AudioCodecHeaac2 - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC + AudioEncodedFrameObserverPositionMic - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + AudioEncodedFrameObserverPositionPlayback - AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + AudioEncodedFrameObserverPositionMixed - AUDIO_ENCODING_TYPE_AAC_16000_LOW + AudioEncodingTypeAac16000Low - AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + AudioEncodingTypeAac16000Medium - AUDIO_ENCODING_TYPE_AAC_32000_LOW + AudioEncodingTypeAac32000Low - AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + AudioEncodingTypeAac32000Medium - AUDIO_ENCODING_TYPE_AAC_32000_HIGH + AudioEncodingTypeAac32000High - AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + AudioEncodingTypeAac48000Medium - AUDIO_ENCODING_TYPE_AAC_48000_HIGH + AudioEncodingTypeAac48000High - AUDIO_ENCODING_TYPE_OPUS_16000_LOW + AudioEncodingTypeOpus16000Low - AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + AudioEncodingTypeOpus16000Medium - AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + AudioEncodingTypeOpus48000Medium - AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + AudioEncodingTypeOpus48000High - AUDIO_EFFECT_OFF + AudioEffectOff - COMPRESSION_PREFERENCE + CompressionPreference - PREFER_LOW_LATENCY + PreferLowLatency - PREFER_QUALITY + PreferQuality - CONTENT_INSPECT_DEVICE_TYPE + ContentInspectDeviceType - CONTENT_INSPECT_DEVICE_INVALID + ContentInspectDeviceInvalid - CONTENT_INSPECT_DEVICE_AGORA + ContentInspectDeviceAgora - CONTENT_INSPECT_DEVICE_HIVE + ContentInspectDeviceHive - CONTENT_INSPECT_DEVICE_TUPU + ContentInspectDeviceTupu - CONTENT_INSPECT_NEUTRAL + ContentInspectNeutral - CONTENT_INSPECT_SEXY + ContentInspectSexy - CONTENT_INSPECT_PORN + ContentInspectPorn - CONTENT_INSPECT_TYPE_INVALID + ContentInspectTypeInvalid - CONTENT_INSPECT_TYPE_MODERATION + ContentInspectTypeModeration - CONTENT_INSPECT_TYPE_SUPERVISE + ContentInspectTypeSupervise - CONTENT_INSPECT_TYPE_IMAGE_MODERATION + ContentInspectTypeImageModeration - ENCODING_PREFERENCE + EncodingPreference - PREFER_AUTO + PreferAuto - PREFER_SOFTWARE + PreferSoftware - PREFER_HARDWARE + PreferHardware - ExternalVideoSourceType + Externalvideosourcetype - VIDEO_FRAME + VideoFrame - ENCODED_VIDEO_FRAME + EncodedVideoFrame - ROOM_ACOUSTICS_KTV + RoomAcousticsKtv - ROOM_ACOUSTICS_VOCAL_CONCERT + RoomAcousticsVocalConcert - ROOM_ACOUSTICS_STUDIO + RoomAcousticsStudio - ROOM_ACOUSTICS_PHONOGRAPH + RoomAcousticsPhonograph - ROOM_ACOUSTICS_VIRTUAL_STEREO + RoomAcousticsVirtualStereo - ROOM_ACOUSTICS_SPACIAL + RoomAcousticsSpacial - ROOM_ACOUSTICS_ETHEREAL + RoomAcousticsEthereal - ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + RoomAcousticsVirtualSurroundSound - ROOM_ACOUSTICS_CHORUS + RoomAcousticsChorus - ROOM_ACOUSTICS_3D_VOICE + RoomAcoustics3dVoice - VOICE_CHANGER_EFFECT_UNCLE + VoiceChangerEffectUncle - VOICE_CHANGER_EFFECT_OLDMAN + VoiceChangerEffectOldman - VOICE_CHANGER_EFFECT_BOY + VoiceChangerEffectBoy - VOICE_CHANGER_EFFECT_SISTER + VoiceChangerEffectSister - VOICE_CHANGER_EFFECT_GIRL + VoiceChangerEffectGirl - VOICE_CHANGER_EFFECT_PIGKING + VoiceChangerEffectPigking - VOICE_CHANGER_EFFECT_HULK + VoiceChangerEffectHulk - STYLE_TRANSFORMATION_RNB + StyleTransformationRnb - STYLE_TRANSFORMATION_POPULAR + StyleTransformationPopular - PITCH_CORRECTION + PitchCorrection - AUDIO_EQUALIZATION_BAND_FREQUENCY + AudioEqualizationBandFrequency - AUDIO_EQUALIZATION_BAND_31 + AudioEqualizationBand31 - AUDIO_EQUALIZATION_BAND_62 + AudioEqualizationBand62 - AUDIO_EQUALIZATION_BAND_125 + AudioEqualizationBand125 - AUDIO_EQUALIZATION_BAND_250 + AudioEqualizationBand250 - AUDIO_EQUALIZATION_BAND_500 + AudioEqualizationBand500 - AUDIO_EQUALIZATION_BAND_1K + AudioEqualizationBand1k - AUDIO_EQUALIZATION_BAND_2K + AudioEqualizationBand2k - AUDIO_EQUALIZATION_BAND_4K + AudioEqualizationBand4k - AUDIO_EQUALIZATION_BAND_8K + AudioEqualizationBand8k - AUDIO_EQUALIZATION_BAND_16K + AudioEqualizationBand16k - FRAME_TYPE_PCM16 + FrameTypePcm16 - POSITION_PLAYBACK + PositionPlayback - POSITION_RECORD + PositionRecord - POSITION_MIXED + PositionMixed - POSITION_BEFORE_MIXING + PositionBeforeMixing - POSITION_EAR_MONITORING + PositionEarMonitoring - AudioDualMonoMode + Audiodualmonomode - AUDIO_DUAL_MONO_STEREO + AudioDualMonoStereo - AUDIO_DUAL_MONO_L + AudioDualMonoL - AUDIO_DUAL_MONO_R + AudioDualMonoR - AUDIO_DUAL_MONO_MIX + AudioDualMonoMix - AudioMixingDualMonoMode + Audiomixingdualmonomode - AUDIO_MIXING_DUAL_MONO_AUTO + AudioMixingDualMonoAuto - AUDIO_MIXING_DUAL_MONO_L + AudioMixingDualMonoL - AUDIO_MIXING_DUAL_MONO_R + AudioMixingDualMonoR - AUDIO_MIXING_DUAL_MONO_MIX + AudioMixingDualMonoMix - AUDIO_MIXING_REASON_CAN_NOT_OPEN + AudioMixingReasonCanNotOpen - AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + AudioMixingReasonTooFrequentCall - AUDIO_MIXING_REASON_INTERRUPTED_EOF + AudioMixingReasonInterruptedEof - AUDIO_MIXING_REASON_OK + AudioMixingReasonOk - AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + AudioMixingReasonOneLoopCompleted - AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + AudioMixingReasonAllLoopsCompleted - AUDIO_MIXING_REASON_STOPPED_BY_USER + AudioMixingReasonStoppedByUser - AUDIO_MIXING_STATE_PLAYING + AudioMixingStatePlaying - AUDIO_MIXING_STATE_PAUSED + AudioMixingStatePaused - AUDIO_MIXING_STATE_STOPPED + AudioMixingStateStopped - AUDIO_MIXING_STATE_FAILED + AudioMixingStateFailed - AUDIO_MIXING_STATE_COMPLETED + AudioMixingStateCompleted - AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + AudioMixingStateAllLoopsCompleted - AgoraAudioProcessChannels + Agoraaudioprocesschannels - AGORA_AUDIO_MONO_PROCESSING + AgoraAudioMonoProcessing - AGORA_AUDIO_STEREO_PROCESSING + AgoraAudioStereoProcessing - AudioProfile + Audioprofile - DEFAULT + Default - SPEECH_STANDARD + SpeechStandard - MUSIC_STANDARD + MusicStandard - MUSIC_STANDARD_STEREO + MusicStandardStereo - MUSIC_HIGH_QUALITY + MusicHighQuality - MUSIC_HIGH_QUALITY_STEREO + MusicHighQualityStereo - AUDIO_PROFILE_IOT + AudioProfileIot - AUDIO_PROFILE_NUM + AudioProfileNum - AudioRangeMode + Audiorangemode - AUDIO_RANGE_MODE_WORLD + AudioRangeModeWorld - AUDIO_RANGE_MODE_TEAM + AudioRangeModeTeam - AUDIO_FILE_RECORDING_MIC + AudioFileRecordingMic - AUDIO_FILE_RECORDING_PLAYBACK + AudioFileRecordingPlayback - AUDIO_FILE_RECORDING_MIXED + AudioFileRecordingMixed - AUDIO_RECORDING_QUALITY_LOW + AudioRecordingQualityLow - AUDIO_RECORDING_QUALITY_MEDIUM + AudioRecordingQualityMedium - AUDIO_RECORDING_QUALITY_HIGH + AudioRecordingQualityHigh - AUDIO_RECORDING_QUALITY_ULTRA_HIGH + AudioRecordingQualityUltraHigh - AUDIO_REVERB_OFF + AudioReverbOff - AUDIO_REVERB_FX_KTV + AudioReverbFxKtv - AUDIO_REVERB_FX_VOCAL_CONCERT + AudioReverbFxVocalConcert - AUDIO_REVERB_FX_UNCLE + AudioReverbFxUncle - AUDIO_REVERB_FX_SISTER + AudioReverbFxSister - AUDIO_REVERB_FX_STUDIO + AudioReverbFxStudio - AUDIO_REVERB_FX_POPULAR + AudioReverbFxPopular - AUDIO_REVERB_FX_RNB + AudioReverbFxRnb - AUDIO_REVERB_FX_PHONOGRAPH + AudioReverbFxPhonograph - AUDIO_REVERB_POPULAR + AudioReverbPopular - AUDIO_REVERB_RNB + AudioReverbRnb - AUDIO_REVERB_ROCK + AudioReverbRock - AUDIO_REVERB_HIPHOP + AudioReverbHiphop - AUDIO_REVERB_VOCAL_CONCERT + AudioReverbVocalConcert - AUDIO_REVERB_KTV + AudioReverbKtv - AUDIO_REVERB_STUDIO + AudioReverbStudio - AUDIO_VIRTUAL_STEREO + AudioVirtualStereo - AUDIO_ELECTRONIC_VOICE + AudioElectronicVoice - AUDIO_THREEDIM_VOICE + AudioThreedimVoice - AUDIO_REVERB_TYPE + AudioReverbType - AUDIO_REVERB_DRY_LEVEL + AudioReverbDryLevel - AUDIO_REVERB_WET_LEVEL + AudioReverbWetLevel - AUDIO_REVERB_ROOM_SIZE + AudioReverbRoomSize - AUDIO_REVERB_WET_DELAY + AudioReverbWetDelay - AUDIO_REVERB_STRENGTH + AudioReverbStrength - AUDIO_ROUTE_DEFAULT + AudioRouteDefault - AUDIO_ROUTE_HEADSET + AudioRouteHeadset - AUDIO_ROUTE_EARPIECE + AudioRouteEarpiece - AUDIO_ROUTE_HEADSETNOMIC + AudioRouteHeadsetnomic - AUDIO_ROUTE_SPEAKERPHONE + AudioRouteSpeakerphone - AUDIO_ROUTE_LOUDSPEAKER + AudioRouteLoudspeaker - AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP + AudioRouteBluetoothDeviceHfp - AUDIO_ROUTE_USB + AudioRouteUsb - AUDIO_ROUTE_HDMI + AudioRouteHdmi - AUDIO_ROUTE_DISPLAYPORT + AudioRouteDisplayport - AUDIO_ROUTE_AIRPLAY + AudioRouteAirplay - AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP + AudioRouteBluetoothDeviceA2dp - AudioSampleRateType + Audiosampleratetype - AUDIO_SAMPLE_RATE_32000 + AudioSampleRate32000 - AUDIO_SAMPLE_RATE_44100 + AudioSampleRate44100 - AUDIO_SAMPLE_RATE_48000 + AudioSampleRate48000 - AudioScenario + Audioscenario - AUDIO_SCENARIO_DEFAULT + AudioScenarioDefault - AUDIO_SCENARIO_CHATROOM + AudioScenarioChatroom - AUDIO_SCENARIO_GAME_STREAMING + AudioScenarioGameStreaming - AUDIO_SCENARIO_CHORUS + AudioScenarioChorus - AUDIO_SCENARIO_MEETING + AudioScenarioMeeting - CONNECTION_STATE_DISCONNECTED + ConnectionStateDisconnected - CONNECTION_STATE_CONNECTING + ConnectionStateConnecting - CONNECTION_STATE_CONNECTED + ConnectionStateConnected - CONNECTION_STATE_RECONNECTING + ConnectionStateReconnecting - CONNECTION_STATE_FAILED + ConnectionStateFailed - CONNECTION_CHANGED_CONNECTING + ConnectionChangedConnecting - CONNECTION_CHANGED_JOIN_SUCCESS + ConnectionChangedJoinSuccess - CONNECTION_CHANGED_INTERRUPTED + ConnectionChangedInterrupted - CONNECTION_CHANGED_BANNED_BY_SERVER + ConnectionChangedBannedByServer - CONNECTION_CHANGED_JOIN_FAILED + ConnectionChangedJoinFailed - CONNECTION_CHANGED_LEAVE_CHANNEL + ConnectionChangedLeaveChannel - CONNECTION_CHANGED_INVALID_APP_ID + ConnectionChangedInvalidAppId - CONNECTION_CHANGED_INVALID_CHANNEL_NAME + ConnectionChangedInvalidChannelName - CONNECTION_CHANGED_INVALID_TOKEN + ConnectionChangedInvalidToken - CONNECTION_CHANGED_TOKEN_EXPIRED + ConnectionChangedTokenExpired - CONNECTION_CHANGED_REJECTED_BY_SERVER + ConnectionChangedRejectedByServer - CONNECTION_CHANGED_SETTING_PROXY_SERVER + ConnectionChangedSettingProxyServer - CONNECTION_CHANGED_RENEW_TOKEN + ConnectionChangedRenewToken - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED + ConnectionChangedClientIpAddressChanged - CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT + ConnectionChangedKeepAliveTimeout - CONNECTION_CHANGED_REJOIN_SUCCESS + ConnectionChangedRejoinSuccess - CONNECTION_CHANGED_LOST + ConnectionChangedLost - CONNECTION_CHANGED_ECHO_TEST + ConnectionChangedEchoTest - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER + ConnectionChangedClientIpAddressChangedByUser - CONNECTION_CHANGED_SAME_UID_LOGIN + ConnectionChangedSameUidLogin - CONNECTION_CHANGED_TOO_MANY_BROADCASTERS + ConnectionChangedTooManyBroadcasters - CONTAINER_MP4 + ContainerMp4 - AudioTrackType + Audiotracktype - AUDIO_TRACK_MIXABLE + AudioTrackMixable - AUDIO_TRACK_DIRECT + AudioTrackDirect - CAMERA_DIRECTION + CameraDirection - CAMERA_REAR + CameraRear - CAMERA_FRONT + CameraFront - CAMERA_EXTRA + CameraExtra - CAMERA_FOCAL_LENGTH_TYPE + CameraFocalLengthType - CAMERA_FOCAL_LENGTH_DEFAULT + CameraFocalLengthDefault - CAMERA_FOCAL_LENGTH_WIDE_ANGLE + CameraFocalLengthWideAngle - CAMERA_FOCAL_LENGTH_ULTRA_WIDE + CameraFocalLengthUltraWide - CAPTURE_BRIGHTNESS_LEVEL_INVALID + CaptureBrightnessLevelInvalid - CAPTURE_BRIGHTNESS_LEVEL_NORMAL + CaptureBrightnessLevelNormal - CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + CaptureBrightnessLevelBright - CAPTURE_BRIGHTNESS_LEVEL_DARK + CaptureBrightnessLevelDark - CAPTURER_OUTPUT_PREFERENCE + CapturerOutputPreference - CAPTURER_OUTPUT_PREFERENCE_AUTO + CapturerOutputPreferenceAuto - CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + CapturerOutputPreferencePerformance - CAPTURER_OUTPUT_PREFERENCE_PREVIEW + CapturerOutputPreferencePreview - CAPTURER_OUTPUT_PREFERENCE_MANUAL + CapturerOutputPreferenceManual - RELAY_OK + RelayOk - RELAY_ERROR_SERVER_ERROR_RESPONSE + RelayErrorServerErrorResponse - RELAY_ERROR_SERVER_NO_RESPONSE + RelayErrorServerNoResponse - RELAY_ERROR_NO_RESOURCE_AVAILABLE + RelayErrorNoResourceAvailable - RELAY_ERROR_FAILED_JOIN_SRC + RelayErrorFailedJoinSrc - RELAY_ERROR_FAILED_JOIN_DEST + RelayErrorFailedJoinDest - RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + RelayErrorFailedPacketReceivedFromSrc - RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + RelayErrorFailedPacketSentToDest - RELAY_ERROR_SERVER_CONNECTION_LOST + RelayErrorServerConnectionLost - RELAY_ERROR_INTERNAL_ERROR + RelayErrorInternalError - RELAY_ERROR_SRC_TOKEN_EXPIRED + RelayErrorSrcTokenExpired - RELAY_ERROR_DEST_TOKEN_EXPIRED + RelayErrorDestTokenExpired - RELAY_EVENT_NETWORK_DISCONNECTED + RelayEventNetworkDisconnected - RELAY_EVENT_NETWORK_CONNECTED + RelayEventNetworkConnected - RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL + RelayEventPacketJoinedSrcChannel - RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL + RelayEventPacketJoinedDestChannel - RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL + RelayEventPacketSentToDestChannel - RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC + RelayEventPacketReceivedVideoFromSrc - RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC + RelayEventPacketReceivedAudioFromSrc - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL + RelayEventPacketUpdateDestChannel - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE + RelayEventPacketUpdateDestChannelNotChange - RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL + RelayEventPacketUpdateDestChannelIsNull - RELAY_EVENT_VIDEO_PROFILE_UPDATE + RelayEventVideoProfileUpdate - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + RelayEventPauseSendPacketToDestChannelSuccess - RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED + RelayEventPauseSendPacketToDestChannelFailed - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + RelayEventResumeSendPacketToDestChannelSuccess - RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED + RelayEventResumeSendPacketToDestChannelFailed - RELAY_STATE_IDLE + RelayStateIdle - RELAY_STATE_CONNECTING + RelayStateConnecting - RELAY_STATE_RUNNING + RelayStateRunning - RELAY_STATE_FAILURE + RelayStateFailure - CHANNEL_PROFILE_COMMUNICATION + ChannelProfileCommunication - CHANNEL_PROFILE_LIVE_BROADCASTING + ChannelProfileLiveBroadcasting - CHANNEL_PROFILE_GAME + ChannelProfileGame - CHANNEL_PROFILE_CLOUD_GAMING + ChannelProfileCloudGaming - CHANNEL_PROFILE_COMMUNICATION_1v1 + ChannelProfileCommunication1v1 - CLIENT_ROLE_BROADCASTER + ClientRoleBroadcaster - CLIENT_ROLE_AUDIENCE + ClientRoleAudience - CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + ClientRoleChangeFailedTooManyBroadcasters - CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + ClientRoleChangeFailedNotAuthorized - CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + ClientRoleChangeFailedRequestTimeOut - CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + ClientRoleChangeFailedConnectionFailed - TRANSPORT_TYPE_NONE_PROXY + TransportTypeNoneProxy - TRANSPORT_TYPE_UDP_PROXY + TransportTypeUdpProxy - TRANSPORT_TYPE_TCP_PROXY + TransportTypeTcpProxy - PROXY_TYPE_NONE_PROXY + ProxyTypeNoneProxy - PROXY_TYPE_UDP_CLOUD_PROXY + ProxyTypeUdpCloudProxy - PROXY_TYPE_TCP_CLOUD_PROXY + ProxyTypeTcpCloudProxy - PROXY_TYPE_LOCAL_PROXY + ProxyTypeLocalProxy - PROXY_TYPE_TCP_AUTO_FALLBACK + ProxyTypeTcpAutoFallback - DEGRADATION_PREFERENCE + DegradationPreference - MAINTAIN_QUALITY + MaintainQuality - MAINTAIN_FRAMERATE + MaintainFramerate - MAINTAIN_BALANCED + MaintainBalanced - MAINTAIN_RESOLUTION + MaintainResolution - DirectCdnStreamingReason + Directcdnstreamingreason - OK + Ok - FAILED + Failed - AUDIO_PUBLICATION + AudioPublication - VIDEO_PUBLICATION + VideoPublication - NET_CONNECT + NetConnect - BAD_NAME + BadName - DirectCdnStreamingState + Directcdnstreamingstate - IDLE + Idle - RUNNING + Running - STOPPED + Stopped - FAILED + Failed - RECOVERING + Recovering - EAR_MONITORING_FILTER_NONE + EarMonitoringFilterNone - EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + EarMonitoringFilterBuiltInAudioFilters - EAR_MONITORING_FILTER_NOISE_SUPPRESSION + EarMonitoringFilterNoiseSuppression - EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + EarMonitoringFilterReusePostProcessingFilter - ENCRYPTION_ERROR_TYPE + EncryptionErrorType - ENCRYPTION_ERROR_INTERNAL_FAILURE + EncryptionErrorInternalFailure - ENCRYPTION_ERROR_DECRYPTION_FAILURE + EncryptionErrorDecryptionFailure - ENCRYPTION_ERROR_ENCRYPTION_FAILURE + EncryptionErrorEncryptionFailure - ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE + EncryptionErrorDatastreamDecryptionFailure - ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE + EncryptionErrorDatastreamEncryptionFailure - ERR_OK + ErrOk - ERR_FAILED + ErrFailed - ERR_INVALID_ARGUMENT + ErrInvalidArgument - ERR_NOT_READY + ErrNotReady - ERR_NOT_SUPPORTED + ErrNotSupported - ERR_REFUSED + ErrRefused - ERR_BUFFER_TOO_SMALL + ErrBufferTooSmall - ERR_NOT_INITIALIZED + ErrNotInitialized - ERR_INVALID_STATE + ErrInvalidState - ERR_NO_PERMISSION + ErrNoPermission - ERR_TIMEDOUT + ErrTimedout - ERR_JOIN_CHANNEL_REJECTED + ErrJoinChannelRejected - ERR_LEAVE_CHANNEL_REJECTED + ErrLeaveChannelRejected - ERR_ALREADY_IN_USE + ErrAlreadyInUse - ERR_ABORTED + ErrAborted - ERR_RESOURCE_LIMITED + ErrResourceLimited - ERR_INVALID_APP_ID + ErrInvalidAppId - ERR_INVALID_CHANNEL_NAME + ErrInvalidChannelName - ERR_NO_SERVER_RESOURCES + ErrNoServerResources - ERR_TOKEN_EXPIRED + ErrTokenExpired - ERR_INVALID_TOKEN + ErrInvalidToken - ERR_CONNECTION_INTERRUPTED + ErrConnectionInterrupted - ERR_CONNECTION_LOST + ErrConnectionLost - ERR_NOT_IN_CHANNEL + ErrNotInChannel - ERR_SIZE_TOO_LARGE + ErrSizeTooLarge - ERR_BITRATE_LIMIT + ErrBitrateLimit - ERR_TOO_MANY_DATA_STREAMS + ErrTooManyDataStreams - ERR_STREAM_MESSAGE_TIMEOUT + ErrStreamMessageTimeout - ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + ErrSetClientRoleNotAuthorized - ERR_DECRYPTION_FAILED + ErrDecryptionFailed - ERR_INVALID_USER_ID + ErrInvalidUserId - ERR_CLIENT_IS_BANNED_BY_SERVER + ErrClientIsBannedByServer - ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + ErrEncryptedStreamNotAllowedPublish - ERR_LICENSE_CREDENTIAL_INVALID + ErrLicenseCredentialInvalid - ERR_INVALID_USER_ACCOUNT + ErrInvalidUserAccount - ERR_MODULE_NOT_FOUND + ErrModuleNotFound - ERR_LOAD_MEDIA_ENGINE + ErrLoadMediaEngine - ERR_ADM_GENERAL_ERROR + ErrAdmGeneralError - ERR_ADM_INIT_PLAYOUT + ErrAdmInitPlayout - ERR_ADM_START_PLAYOUT + ErrAdmStartPlayout - ERR_ADM_STOP_PLAYOUT + ErrAdmStopPlayout - ERR_ADM_INIT_RECORDING + ErrAdmInitRecording - ERR_ADM_START_RECORDING + ErrAdmStartRecording - ERR_ADM_STOP_RECORDING + ErrAdmStopRecording - ERR_VDM_CAMERA_NOT_AUTHORIZED + ErrVdmCameraNotAuthorized - ERR_DATASTREAM_DECRYPTION_FAILED + ErrDatastreamDecryptionFailed - EncryptionMode + Encryptionmode - AES_128_XTS + Aes128Xts - AES_128_ECB + Aes128Ecb - AES_256_XTS + Aes256Xts - SM4_128_ECB + Sm4128Ecb - AES_128_GCM + Aes128Gcm - AES_256_GCM + Aes256Gcm - AES_128_GCM2 + Aes128Gcm2 - AES_256_GCM2 + Aes256Gcm2 - MODE_END + ModeEnd - EXPERIENCE_REASON_NONE + ExperienceReasonNone - REMOTE_NETWORK_QUALITY_POOR + RemoteNetworkQualityPoor - LOCAL_NETWORK_QUALITY_POOR + LocalNetworkQualityPoor - WIRELESS_SIGNAL_POOR + WirelessSignalPoor - WIFI_BLUETOOTH_COEXIST + WifiBluetoothCoexist - EXPERIENCE_QUALITY_GOOD + ExperienceQualityGood - EXPERIENCE_QUALITY_BAD + ExperienceQualityBad - FeatureType + Featuretype - VIDEO_VIRTUAL_BACKGROUND + VideoVirtualBackground - VIDEO_BEAUTY_EFFECT + VideoBeautyEffect - FRAME_RATE + FrameRate - FRAME_RATE_FPS_1 + FrameRateFps1 - FRAME_RATE_FPS_7 + FrameRateFps7 - FRAME_RATE_FPS_10 + FrameRateFps10 - FRAME_RATE_FPS_15 + FrameRateFps15 - FRAME_RATE_FPS_24 + FrameRateFps24 - FRAME_RATE_FPS_30 + FrameRateFps30 - FRAME_RATE_FPS_60 + FrameRateFps60 - HEADPHONE_EQUALIZER_PRESET + HeadphoneEqualizerPreset - HEADPHONE_EQUALIZER_OFF + HeadphoneEqualizerOff - HEADPHONE_EQUALIZER_OVEREAR + HeadphoneEqualizerOverear - HEADPHONE_EQUALIZER_INEAR + HeadphoneEqualizerInear - LASTMILE_PROBE_RESULT_COMPLETE + LastmileProbeResultComplete - LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE + LastmileProbeResultIncompleteNoBwe - LASTMILE_PROBE_RESULT_UNAVAILABLE + LastmileProbeResultUnavailable - LIGHTENING_CONTRAST_LOW + LighteningContrastLow - LIGHTENING_CONTRAST_NORMAL + LighteningContrastNormal - LIGHTENING_CONTRAST_HIGH + LighteningContrastHigh - INJECT_STREAM_STATUS_START_SUCCESS + InjectStreamStatusStartSuccess - INJECT_STREAM_STATUS_START_ALREADY_EXISTS + InjectStreamStatusStartAlreadyExists - INJECT_STREAM_STATUS_START_UNAUTHORIZED + InjectStreamStatusStartUnauthorized - INJECT_STREAM_STATUS_START_TIMEDOUT + InjectStreamStatusStartTimedout - INJECT_STREAM_STATUS_START_FAILED + InjectStreamStatusStartFailed - INJECT_STREAM_STATUS_STOP_SUCCESS + InjectStreamStatusStopSuccess - INJECT_STREAM_STATUS_STOP_NOT_FOUND + InjectStreamStatusStopNotFound - INJECT_STREAM_STATUS_STOP_UNAUTHORIZED + InjectStreamStatusStopUnauthorized - INJECT_STREAM_STATUS_STOP_TIMEDOUT + InjectStreamStatusStopTimedout - INJECT_STREAM_STATUS_STOP_FAILED + InjectStreamStatusStopFailed - INJECT_STREAM_STATUS_BROKEN + InjectStreamStatusBroken - LOCAL_AUDIO_STREAM_REASON_OK + LocalAudioStreamReasonOk - LOCAL_AUDIO_STREAM_REASON_FAILURE + LocalAudioStreamReasonFailure - LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + LocalAudioStreamReasonDeviceNoPermission - LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + LocalAudioStreamReasonDeviceBusy - LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE + LocalAudioStreamReasonCaptureFailure - LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + LocalAudioStreamReasonEncodeFailure - LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + LocalAudioStreamReasonInterrupted - LOCAL_AUDIO_STREAM_STATE_STOPPED + LocalAudioStreamStateStopped - LOCAL_AUDIO_STREAM_STATE_RECORDING + LocalAudioStreamStateRecording - LOCAL_AUDIO_STREAM_STATE_ENCODING + LocalAudioStreamStateEncoding - LOCAL_AUDIO_STREAM_STATE_FAILED + LocalAudioStreamStateFailed - LOCAL_RPOXY_CONNECTIVITY_FIRST + LocalRpoxyConnectivityFirst - LOCAL_RPOXY_LOCAL_ONLY + LocalRpoxyLocalOnly - LOCAL_VIDEO_STREAM_REASON_OK + LocalVideoStreamReasonOk - LOCAL_VIDEO_STREAM_REASON_FAILURE + LocalVideoStreamReasonFailure - LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION + LocalVideoStreamReasonDeviceNoPermission - LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY + LocalVideoStreamReasonDeviceBusy - LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE + LocalVideoStreamReasonCaptureFailure - LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT + LocalVideoStreamReasonCodecNotSupport - LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND + LocalVideoStreamReasonDeviceNotFound - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED + LocalVideoStreamReasonScreenCaptureWindowMinimized - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED + LocalVideoStreamReasonScreenCaptureWindowClosed - LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT + LocalVideoStreamReasonDeviceInterrupt - LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR + LocalVideoStreamReasonDeviceFatalError - LOCAL_VIDEO_STREAM_STATE_STOPPED + LocalVideoStreamStateStopped - LOCAL_VIDEO_STREAM_STATE_CAPTURING + LocalVideoStreamStateCapturing - LOCAL_VIDEO_STREAM_STATE_ENCODING + LocalVideoStreamStateEncoding - LOCAL_VIDEO_STREAM_STATE_FAILED + LocalVideoStreamStateFailed - ERR_SCREEN_CAPTURE_PERMISSION_DENIED + ErrScreenCapturePermissionDenied - ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + ErrScreenCaptureSystemNotSupported @@ -8769,1253 +8769,1253 @@ - ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + ErrScreenCaptureSystemAudioNotSupported - LOG_FILTER_OFF + LogFilterOff - LOG_FILTER_DEBUG + LogFilterDebug - LOG_FILTER_INFO + LogFilterInfo - LOG_FILTER_WARN + LogFilterWarn - LOG_FILTER_ERROR + LogFilterError - LOG_FILTER_CRITICAL + LogFilterCritical - LogLevel + Loglevel - LOG_LEVEL_NONE + LogLevelNone - LOG_LEVEL_INFO + LogLevelInfo - LOG_LEVEL_WARN + LogLevelWarn - LOG_LEVEL_ERROR + LogLevelError - LOG_LEVEL_FATAL + LogLevelFatal - LOW_LIGHT_ENHANCE_AUTO + LowLightEnhanceAuto - LOW_LIGHT_ENHANCE_MANUAL + LowLightEnhanceManual - LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + LowLightEnhanceLevelHighQuality - LOW_LIGHT_ENHANCE_LEVEL_FAST + LowLightEnhanceLevelFast - MEDIA_DEVICE_STATE_ACTIVE + MediaDeviceStateActive - MEDIA_DEVICE_STATE_DISABLED + MediaDeviceStateDisabled - MEDIA_DEVICE_STATE_NOT_PRESENT + MediaDeviceStateNotPresent - MEDIA_DEVICE_STATE_UNPLUGGED + MediaDeviceStateUnplugged - MEDIA_DEVICE_STATE_UNRECOMMENDED + MediaDeviceStateUnrecommended - AUDIO_APPLICATION_PLAYOUT_DEVICE + AudioApplicationPlayoutDevice - MediaPlayerReason + Mediaplayerreason - PLAYER_REASON_NONE + PlayerReasonNone - PLAYER_REASON_INVALID_ARGUMENTS + PlayerReasonInvalidArguments - PLAYER_REASON_INTERNAL + PlayerReasonInternal - PLAYER_REASON_NO_RESOURCE + PlayerReasonNoResource - PLAYER_REASON_INVALID_MEDIA_SOURCE + PlayerReasonInvalidMediaSource - PLAYER_REASON_UNKNOWN_STREAM_TYPE + PlayerReasonUnknownStreamType - PLAYER_REASON_OBJ_NOT_INITIALIZED + PlayerReasonObjNotInitialized - PLAYER_REASON_CODEC_NOT_SUPPORTED + PlayerReasonCodecNotSupported - PLAYER_REASON_VIDEO_RENDER_FAILED + PlayerReasonVideoRenderFailed - PLAYER_REASON_INVALID_STATE + PlayerReasonInvalidState - PLAYER_REASON_URL_NOT_FOUND + PlayerReasonUrlNotFound - PLAYER_REASON_INVALID_CONNECTION_STATE + PlayerReasonInvalidConnectionState - PLAYER_REASON_SRC_BUFFER_UNDERFLOW + PlayerReasonSrcBufferUnderflow - PLAYER_REASON_INTERRUPTED + PlayerReasonInterrupted - PLAYER_REASON_NOT_SUPPORTED + PlayerReasonNotSupported - PLAYER_REASON_TOKEN_EXPIRED + PlayerReasonTokenExpired - PLAYER_REASON_IP_EXPIRED + PlayerReasonIpExpired - PLAYER_REASON_UNKNOWN + PlayerReasonUnknown - MediaPlayerEvent + Mediaplayerevent - PLAYER_EVENT_UNKNOWN + PlayerEventUnknown - PLAYER_EVENT_SEEK_BEGIN + PlayerEventSeekBegin - PLAYER_EVENT_SEEK_COMPLETE + PlayerEventSeekComplete - PLAYER_EVENT_SEEK_ERROR + PlayerEventSeekError - PLAYER_EVENT_AUDIO_TRACK_CHANGED + PlayerEventAudioTrackChanged - PLAYER_EVENT_BUFFER_LOW + PlayerEventBufferLow - PLAYER_EVENT_BUFFER_RECOVER + PlayerEventBufferRecover - PLAYER_EVENT_FREEZE_START + PlayerEventFreezeStart - PLAYER_EVENT_FREEZE_STOP + PlayerEventFreezeStop - PLAYER_EVENT_SWITCH_BEGIN + PlayerEventSwitchBegin - PLAYER_EVENT_SWITCH_COMPLETE + PlayerEventSwitchComplete - PLAYER_EVENT_SWITCH_ERROR + PlayerEventSwitchError - PLAYER_EVENT_FIRST_DISPLAYED + PlayerEventFirstDisplayed - PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + PlayerEventReachCacheFileMaxCount - PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + PlayerEventReachCacheFileMaxSize - MediaPlayerMetadataType + Mediaplayermetadatatype - PLAYER_METADATA_TYPE_UNKNOWN + PlayerMetadataTypeUnknown - PLAYER_METADATA_TYPE_SEI + PlayerMetadataTypeSei - MediaPlayerState + Mediaplayerstate - PLAYER_STATE_UNKNOWN + PlayerStateUnknown - PLAYER_STATE_IDLE + PlayerStateIdle - PLAYER_STATE_OPENING + PlayerStateOpening - PLAYER_STATE_OPEN_COMPLETED + PlayerStateOpenCompleted - PLAYER_STATE_PLAYING + PlayerStatePlaying - PLAYER_STATE_PAUSED + PlayerStatePaused - PLAYER_STATE_PLAYBACK_COMPLETED + PlayerStatePlaybackCompleted - PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + PlayerStatePlaybackAllLoopsCompleted - PLAYER_STATE_STOPPED + PlayerStateStopped - PLAYER_STATE_FAILED + PlayerStateFailed - MediaSourceType + Mediasourcetype - AUDIO_PLAYOUT_SOURCE + AudioPlayoutSource - AUDIO_RECORDING_SOURCE + AudioRecordingSource - PRIMARY_CAMERA_SOURCE + PrimaryCameraSource - SECONDARY_CAMERA_SOURCE + SecondaryCameraSource - CUSTOM_VIDEO_SOURCE + CustomVideoSource - SPEECH_DRIVEN_VIDEO_SOURCE + SpeechDrivenVideoSource - UNKNOWN_MEDIA_SOURCE + UnknownMediaSource - MEDIA_TRACE_EVENT + MediaTraceEvent - MEDIA_TRACE_EVENT_VIDEO_RENDERED + MediaTraceEventVideoRendered - MEDIA_TRACE_EVENT_VIDEO_DECODED + MediaTraceEventVideoDecoded - MediaStreamType + Mediastreamtype - STREAM_TYPE_UNKNOWN + StreamTypeUnknown - STREAM_TYPE_VIDEO + StreamTypeVideo - STREAM_TYPE_AUDIO + StreamTypeAudio - STREAM_TYPE_SUBTITLE + StreamTypeSubtitle - UNKNOWN_METADATA + UnknownMetadata - VIDEO_METADATA + VideoMetadata - NETWORK_TYPE_UNKNOWN + NetworkTypeUnknown - NETWORK_TYPE_DISCONNECTED + NetworkTypeDisconnected - NETWORK_TYPE_LAN + NetworkTypeLan - NETWORK_TYPE_WIFI + NetworkTypeWifi - NETWORK_TYPE_MOBILE_2G + NetworkTypeMobile2g - NETWORK_TYPE_MOBILE_3G + NetworkTypeMobile3g - NETWORK_TYPE_MOBILE_4G + NetworkTypeMobile4g - NETWORK_TYPE_MOBILE_5G + NetworkTypeMobile5g - MusicContentCenterStateReason + Musiccontentcenterstatereason - MUSIC_CONTENT_CENTER_STATE_REASON_OK + MusicContentCenterStateReasonOk - MUSIC_CONTENT_CENTER_STATE_REASON_ERROR + MusicContentCenterStateReasonError - MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY + MusicContentCenterStateReasonGateway - MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE + MusicContentCenterStateReasonPermissionAndResource - MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE + MusicContentCenterStateReasonInternalDataParse - MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING + MusicContentCenterStateReasonMusicLoading - MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION + MusicContentCenterStateReasonMusicDecryption - MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL + MusicContentCenterStateReasonHttpInternal - PreloadState + Preloadstate - PRELOAD_STATE_COMPLETED + PreloadStateCompleted - PRELOAD_STATE_FAILED + PreloadStateFailed - PRELOAD_STATE_PRELOADING + PreloadStatePreloading - PRELOAD_STATE_REMOVED + PreloadStateRemoved - MusicCacheStatusType + Musiccachestatustype - MUSIC_CACHE_STATUS_TYPE_CACHED + MusicCacheStatusTypeCached - MUSIC_CACHE_STATUS_TYPE_CACHING + MusicCacheStatusTypeCaching - ORIENTATION_MODE + OrientationMode - ORIENTATION_MODE_ADAPTIVE + OrientationModeAdaptive - ORIENTATION_FIXED_LANDSCAPE + OrientationFixedLandscape - ORIENTATION_FIXED_PORTRAIT + OrientationFixedPortrait - RECORD_AUDIO + RecordAudio - CAMERA + Camera - SCREEN_CAPTURE + ScreenCapture - ScreenScenarioType + Screenscenariotype - SCREEN_SCENARIO_DOCUMENT + ScreenScenarioDocument - SCREEN_SCENARIO_GAMING + ScreenScenarioGaming - SCREEN_SCENARIO_VIDEO + ScreenScenarioVideo - MediaPlayerPreloadEvent + Mediaplayerpreloadevent - PLAYER_PRELOAD_EVENT_BEGIN + PlayerPreloadEventBegin - PLAYER_PRELOAD_EVENT_COMPLETE + PlayerPreloadEventComplete - PLAYER_PRELOAD_EVENT_ERROR + PlayerPreloadEventError - USER_PRIORITY_HIGH + UserPriorityHigh - USER_PRIORITY_NORANL + UserPriorityNoranl - QUALITY_REPORT_FORMAT_TYPE + QualityReportFormatType - QUALITY_REPORT_JSON + QualityReportJson - QUALITY_REPORT_HTML + QualityReportHtml - QUALITY_UNKNOWN + QualityUnknown - QUALITY_EXCELLENT + QualityExcellent - QUALITY_GOOD + QualityGood - QUALITY_POOR + QualityPoor - QUALITY_BAD + QualityBad - QUALITY_VBAD + QualityVbad - QUALITY_DOWN + QualityDown - RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + RawAudioFrameOpModeReadOnly - RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + RawAudioFrameOpModeReadWrite - RECORDER_REASON_NONE + RecorderReasonNone - RECORDER_ERROR_WRITE_FAILED + RecorderErrorWriteFailed - RECORDER_ERROR_NO_STREAM + RecorderErrorNoStream - RECORDER_ERROR_OVER_MAX_DURATION + RecorderErrorOverMaxDuration - RECORDER_ERROR_CONFIG_CHANGED + RecorderErrorConfigChanged - RECORDER_STATE_ERROR + RecorderStateError - RECORDER_STATE_START + RecorderStateStart - RECORDER_STATE_STOP + RecorderStateStop - REMOTE_AUDIO_STATE_STOPPED + RemoteAudioStateStopped - REMOTE_AUDIO_STATE_STARTING + RemoteAudioStateStarting - REMOTE_AUDIO_STATE_DECODING + RemoteAudioStateDecoding - REMOTE_AUDIO_STATE_FROZEN + RemoteAudioStateFrozen - REMOTE_AUDIO_STATE_FAILED + RemoteAudioStateFailed - REMOTE_VIDEO_STATE_STOPPED + RemoteVideoStateStopped - REMOTE_VIDEO_STATE_STARTING + RemoteVideoStateStarting - REMOTE_VIDEO_STATE_DECODING + RemoteVideoStateDecoding - REMOTE_VIDEO_STATE_FROZEN + RemoteVideoStateFrozen - REMOTE_VIDEO_STATE_FAILED + RemoteVideoStateFailed - REMOTE_AUDIO_REASON_INTERNAL + RemoteAudioReasonInternal - REMOTE_AUDIO_REASON_NETWORK_CONGESTION + RemoteAudioReasonNetworkCongestion - REMOTE_AUDIO_REASON_NETWORK_RECOVERY + RemoteAudioReasonNetworkRecovery - REMOTE_AUDIO_REASON_LOCAL_MUTED + RemoteAudioReasonLocalMuted - REMOTE_AUDIO_REASON_LOCAL_UNMUTED + RemoteAudioReasonLocalUnmuted - REMOTE_AUDIO_REASON_REMOTE_MUTED + RemoteAudioReasonRemoteMuted - REMOTE_AUDIO_REASON_REMOTE_UNMUTED + RemoteAudioReasonRemoteUnmuted - REMOTE_AUDIO_REASON_REMOTE_OFFLINE + RemoteAudioReasonRemoteOffline - REMOTE_VIDEO_STATE_REASON_INTERNAL + RemoteVideoStateReasonInternal - REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION + RemoteVideoStateReasonNetworkCongestion - REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY + RemoteVideoStateReasonNetworkRecovery - REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED + RemoteVideoStateReasonLocalMuted - REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED + RemoteVideoStateReasonLocalUnmuted - REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED + RemoteVideoStateReasonRemoteMuted - REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED + RemoteVideoStateReasonRemoteUnmuted - REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE + RemoteVideoStateReasonRemoteOffline - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK + RemoteVideoStateReasonAudioFallback @@ -10023,889 +10023,889 @@ - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY + RemoteVideoStateReasonAudioFallbackRecovery - REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT + RemoteVideoStateReasonCodecNotSupport - RENDER_MODE_HIDDEN + RenderModeHidden - RENDER_MODE_FIT + RenderModeFit - RENDER_MODE_ADAPTIVE + RenderModeAdaptive - RTMP_STREAM_PUBLISH_REASON_OK + RtmpStreamPublishReasonOk - RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT + RtmpStreamPublishReasonInvalidArgument - RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED + RtmpStreamPublishReasonEncryptedStreamNotAllowed - RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT + RtmpStreamPublishReasonConnectionTimeout - RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR + RtmpStreamPublishReasonInternalServerError - RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR + RtmpStreamPublishReasonRtmpServerError - RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN + RtmpStreamPublishReasonTooOften - RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT + RtmpStreamPublishReasonReachLimit - RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED + RtmpStreamPublishReasonNotAuthorized - RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND + RtmpStreamPublishReasonStreamNotFound - RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED + RtmpStreamPublishReasonFormatNotSupported - RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER + RtmpStreamPublishReasonNotBroadcaster - RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM + RtmpStreamPublishReasonTranscodingNoMixStream - RTMP_STREAM_PUBLISH_REASON_NET_DOWN + RtmpStreamPublishReasonNetDown - RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE + RtmpStreamPublishReasonInvalidPrivilege - RTMP_STREAM_UNPUBLISH_REASON_OK + RtmpStreamUnpublishReasonOk - RTMP_STREAM_PUBLISH_STATE_IDLE + RtmpStreamPublishStateIdle - RTMP_STREAM_PUBLISH_STATE_CONNECTING + RtmpStreamPublishStateConnecting - RTMP_STREAM_PUBLISH_STATE_RUNNING + RtmpStreamPublishStateRunning - RTMP_STREAM_PUBLISH_STATE_RECOVERING + RtmpStreamPublishStateRecovering - RTMP_STREAM_PUBLISH_STATE_FAILURE + RtmpStreamPublishStateFailure - RTMP_STREAM_PUBLISH_STATE_DISCONNECTING + RtmpStreamPublishStateDisconnecting - RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE + RtmpStreamingEventFailedLoadImage - RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE + RtmpStreamingEventUrlAlreadyInUse - RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT + RtmpStreamingEventAdvancedFeatureNotSupport - RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN + RtmpStreamingEventRequestTooOften - STREAM_FALLBACK_OPTION_DISABLED + StreamFallbackOptionDisabled - STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + StreamFallbackOptionVideoStreamLow - STREAM_FALLBACK_OPTION_AUDIO_ONLY + StreamFallbackOptionAudioOnly - RHYTHM_PLAYER_STATE_IDLE + RhythmPlayerStateIdle - RHYTHM_PLAYER_STATE_OPENING + RhythmPlayerStateOpening - RHYTHM_PLAYER_STATE_DECODING + RhythmPlayerStateDecoding - RHYTHM_PLAYER_STATE_PLAYING + RhythmPlayerStatePlaying - RHYTHM_PLAYER_STATE_FAILED + RhythmPlayerStateFailed - RHYTHM_PLAYER_REASON_OK + RhythmPlayerReasonOk - RHYTHM_PLAYER_REASON_FAILED + RhythmPlayerReasonFailed - RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + RhythmPlayerReasonCanNotOpen - RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + RhythmPlayerReasonCanNotPlay - RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + RhythmPlayerReasonFileOverDurationLimit - SIMULCAST_STREAM_MODE + SimulcastStreamMode - AUTO_SIMULCAST_STREAM + AutoSimulcastStream - DISABLE_SIMULCAST_STREAM + DisableSimulcastStream - ENABLE_SIMULCAST_STREAM + EnableSimulcastStream - ConnectionState + Connectionstate - SAE_CONNECTION_STATE_CONNECTING + SaeConnectionStateConnecting - SAE_CONNECTION_STATE_CONNECTED + SaeConnectionStateConnected - SAE_CONNECTION_STATE_DISCONNECTED + SaeConnectionStateDisconnected - SAE_CONNECTION_STATE_RECONNECTING + SaeConnectionStateReconnecting - SAE_CONNECTION_STATE_RECONNECTED + SaeConnectionStateReconnected - ConnectionChangedReason + Connectionchangedreason - SAE_CONNECTION_CHANGED_DEFAULT + SaeConnectionChangedDefault - SAE_CONNECTION_CHANGED_CONNECTING + SaeConnectionChangedConnecting - SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + SaeConnectionChangedCreateRoomFail - SAE_CONNECTION_CHANGED_RTM_DISCONNECT + SaeConnectionChangedRtmDisconnect - SAE_CONNECTION_CHANGED_RTM_ABORTED + SaeConnectionChangedRtmAborted - SAE_CONNECTION_CHANGED_LOST_SYNC + SaeConnectionChangedLostSync - SEG_MODEL_AI + SegModelAi - SEG_MODEL_GREEN + SegModelGreen - STREAM_PUBLISH_STATE + StreamPublishState - PUB_STATE_IDLE + PubStateIdle - PUB_STATE_NO_PUBLISHED + PubStateNoPublished - PUB_STATE_PUBLISHING + PubStatePublishing - PUB_STATE_PUBLISHED + PubStatePublished - STREAM_TYPE_BOTH + StreamTypeBoth - SUB_STATE_IDLE + SubStateIdle - SUB_STATE_NO_SUBSCRIBED + SubStateNoSubscribed - SUB_STATE_SUBSCRIBING + SubStateSubscribing - SUB_STATE_SUBSCRIBED + SubStateSubscribed - USER_OFFLINE_QUIT + UserOfflineQuit - USER_OFFLINE_DROPPED + UserOfflineDropped - USER_OFFLINE_BECOME_AUDIENCE + UserOfflineBecomeAudience - VIDEO_BUFFER_RAW_DATA + VideoBufferRawData - VideoScenario + Videoscenario - APPLICATION_SCENARIO_GENERAL + ApplicationScenarioGeneral - APPLICATION_SCENARIO_MEETING + ApplicationScenarioMeeting - VIDEO_CAPTURE_TYPE + VideoCaptureType - VIDEO_CAPTURE_UNKNOWN + VideoCaptureUnknown - VIDEO_CAPTURE_CAMERA + VideoCaptureCamera - VIDEO_CAPTURE_SCREEN + VideoCaptureScreen - VIDEO_DENOISER_AUTO + VideoDenoiserAuto - VIDEO_DENOISER_MANUAL + VideoDenoiserManual - VIDEO_DENOISER_LEVEL_HIGH_QUALITY + VideoDenoiserLevelHighQuality - VIDEO_DENOISER_LEVEL_FAST + VideoDenoiserLevelFast - VIDEO_DENOISER_LEVEL_STRENGTH + VideoDenoiserLevelStrength - VideoSourceType + Videosourcetype - VIDEO_SOURCE_CAMERA_PRIMARY + VideoSourceCameraPrimary - VIDEO_SOURCE_CAMERA + VideoSourceCamera - VIDEO_SOURCE_CAMERA_SECONDARY + VideoSourceCameraSecondary - VIDEO_SOURCE_SCREEN_PRIMARY + VideoSourceScreenPrimary - VIDEO_SOURCE_SCREEN + VideoSourceScreen - VIDEO_SOURCE_SCREEN_SECONDARY + VideoSourceScreenSecondary - VIDEO_SOURCE_CUSTOM + VideoSourceCustom - VIDEO_SOURCE_MEDIA_PLAYER + VideoSourceMediaPlayer - VIDEO_SOURCE_RTC_IMAGE_PNG + VideoSourceRtcImagePng - VIDEO_SOURCE_RTC_IMAGE_JPEG + VideoSourceRtcImageJpeg - VIDEO_SOURCE_RTC_IMAGE_GIF + VideoSourceRtcImageGif - VIDEO_SOURCE_REMOTE + VideoSourceRemote - VIDEO_SOURCE_TRANSCODED + VideoSourceTranscoded - VIDEO_SOURCE_CAMERA_THIRD + VideoSourceCameraThird - VIDEO_SOURCE_CAMERA_FOURTH + VideoSourceCameraFourth - VIDEO_SOURCE_SPEECH_DRIVEN + VideoSourceSpeechDriven - VIDEO_SOURCE_UNKNOWN + VideoSourceUnknown - CODEC_CAPABILITY_LEVEL_UNSPECIFIED + CodecCapabilityLevelUnspecified - CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + CodecCapabilityLevelBasicSupport - CODEC_CAPABILITY_LEVEL_1080P30FPS + CodecCapabilityLevel1080p30fps - CODEC_CAPABILITY_LEVEL_1080P60FPS + CodecCapabilityLevel1080p60fps - CODEC_CAPABILITY_LEVEL_4K60FPS + CodecCapabilityLevel4k60fps - VideoCodecProfileType + Videocodecprofiletype - BASELINE + Baseline - MAIN + Main - HIGH + High - VIDEO_CODEC_TYPE + VideoCodecType - VIDEO_CODEC_NONE + VideoCodecNone - VIDEO_CODEC_VP8 + VideoCodecVp8 - VIDEO_CODEC_H264 + VideoCodecH264 - VIDEO_CODEC_H265 + VideoCodecH265 - VIDEO_CODEC_GENERIC + VideoCodecGeneric - VIDEO_CODEC_GENERIC_H264 + VideoCodecGenericH264 - VIDEO_CODEC_AV1 + VideoCodecAv1 - VIDEO_CODEC_VP9 + VideoCodecVp9 - VIDEO_CODEC_GENERIC_JPEG + VideoCodecGenericJpeg - VideoCodecType + Videocodectype @@ -10926,1043 +10926,1043 @@ - SCREEN_CAPTURE_CONTENT_HINT_NONE + ScreenCaptureContentHintNone - SCREEN_CAPTURE_CONTENT_HINT_MOTION + ScreenCaptureContentHintMotion - SCREEN_CAPTURE_CONTENT_HINT_DETAILS + ScreenCaptureContentHintDetails - VIDEO_FRAME_PROCESS_MODE + VideoFrameProcessMode - PROCESS_MODE_READ_ONLY + ProcessModeReadOnly - PROCESS_MODE_READ_WRITE + ProcessModeReadWrite - VIDEO_FRAME_TYPE_BLANK_FRAME + VideoFrameTypeBlankFrame - VIDEO_FRAME_TYPE_KEY_FRAME + VideoFrameTypeKeyFrame - VIDEO_FRAME_TYPE_DELTA_FRAME + VideoFrameTypeDeltaFrame - VIDEO_FRAME_TYPE_B_FRAME + VideoFrameTypeBFrame - VIDEO_FRAME_TYPE_DROPPABLE_FRAME + VideoFrameTypeDroppableFrame - VIDEO_FRAME_TYPE_UNKNOW + VideoFrameTypeUnknow - VIDEO_MIRROR_MODE_AUTO + VideoMirrorModeAuto - VIDEO_MIRROR_MODE_ENABLED + VideoMirrorModeEnabled - VIDEO_MIRROR_MODE_DISABLED + VideoMirrorModeDisabled - VideoModulePosition + Videomoduleposition - VIDEO_MODULE_POSITION_POST_CAPTURER + VideoModulePositionPostCapturer - VIDEO_MODULE_POSITION_PRE_RENDERER + VideoModulePositionPreRenderer - VIDEO_MODULE_POSITION_PRE_ENCODER + VideoModulePositionPreEncoder - VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN + VideoModulePositionPostCapturerOrigin - VIDEO_ORIENTATION_0 + VideoOrientation0 - VIDEO_ORIENTATION_90 + VideoOrientation90 - VIDEO_ORIENTATION_180 + VideoOrientation180 - VIDEO_ORIENTATION_270 + VideoOrientation270 - VIDEO_PIXEL_DEFAULT + VideoPixelDefault - VIDEO_PIXEL_I420 + VideoPixelI420 - VIDEO_PIXEL_BGRA + VideoPixelBgra - VIDEO_PIXEL_NV21 + VideoPixelNv21 - VIDEO_PIXEL_RGBA + VideoPixelRgba - VIDEO_PIXEL_IMC2 + VideoPixelImc2 - VIDEO_PIXEL_ARGB + VideoPixelArgb - VIDEO_PIXEL_NV12 + VideoPixelNv12 - VIDEO_PIXEL_I422 + VideoPixelI422 - VIDEO_TEXTURE_2D + VideoTexture2d - VIDEO_TEXTURE_OES + VideoTextureOes - VIDEO_PROFILE_LANDSCAPE_120P + VideoProfileLandscape120p - VIDEO_PROFILE_LANDSCAPE_120P_3 + VideoProfileLandscape120p3 - VIDEO_PROFILE_LANDSCAPE_180P + VideoProfileLandscape180p - VIDEO_PROFILE_LANDSCAPE_180P_3 + VideoProfileLandscape180p3 - VIDEO_PROFILE_LANDSCAPE_180P_4 + VideoProfileLandscape180p4 - VIDEO_PROFILE_LANDSCAPE_240P + VideoProfileLandscape240p - VIDEO_PROFILE_LANDSCAPE_240P_3 + VideoProfileLandscape240p3 - VIDEO_PROFILE_LANDSCAPE_240P_4 + VideoProfileLandscape240p4 - VIDEO_PROFILE_LANDSCAPE_360P + VideoProfileLandscape360p - VIDEO_PROFILE_LANDSCAPE_360P_3 + VideoProfileLandscape360p3 - VIDEO_PROFILE_LANDSCAPE_360P_4 + VideoProfileLandscape360p4 - VIDEO_PROFILE_LANDSCAPE_360P_6 + VideoProfileLandscape360p6 - VIDEO_PROFILE_LANDSCAPE_360P_7 + VideoProfileLandscape360p7 - VIDEO_PROFILE_LANDSCAPE_360P_8 + VideoProfileLandscape360p8 - VIDEO_PROFILE_LANDSCAPE_360P_9 + VideoProfileLandscape360p9 - VIDEO_PROFILE_LANDSCAPE_360P_10 + VideoProfileLandscape360p10 - VIDEO_PROFILE_LANDSCAPE_360P_11 + VideoProfileLandscape360p11 - VIDEO_PROFILE_LANDSCAPE_480P + VideoProfileLandscape480p - VIDEO_PROFILE_LANDSCAPE_480P_3 + VideoProfileLandscape480p3 - VIDEO_PROFILE_LANDSCAPE_480P_4 + VideoProfileLandscape480p4 - VIDEO_PROFILE_LANDSCAPE_480P_6 + VideoProfileLandscape480p6 - VIDEO_PROFILE_LANDSCAPE_480P_8 + VideoProfileLandscape480p8 - VIDEO_PROFILE_LANDSCAPE_480P_9 + VideoProfileLandscape480p9 - VIDEO_PROFILE_LANDSCAPE_480P_10 + VideoProfileLandscape480p10 - VIDEO_PROFILE_LANDSCAPE_720P + VideoProfileLandscape720p - VIDEO_PROFILE_LANDSCAPE_720P_3 + VideoProfileLandscape720p3 - VIDEO_PROFILE_LANDSCAPE_720P_5 + VideoProfileLandscape720p5 - VIDEO_PROFILE_LANDSCAPE_720P_6 + VideoProfileLandscape720p6 - VIDEO_PROFILE_LANDSCAPE_1080P + VideoProfileLandscape1080p - VIDEO_PROFILE_LANDSCAPE_1080P_3 + VideoProfileLandscape1080p3 - VIDEO_PROFILE_LANDSCAPE_1080P_5 + VideoProfileLandscape1080p5 - VIDEO_PROFILE_LANDSCAPE_1440P + VideoProfileLandscape1440p - VIDEO_PROFILE_LANDSCAPE_1440P_2 + VideoProfileLandscape1440p2 - VIDEO_PROFILE_LANDSCAPE_4K + VideoProfileLandscape4k - VIDEO_PROFILE_LANDSCAPE_4K_3 + VideoProfileLandscape4k3 - VIDEO_PROFILE_PORTRAIT_120P + VideoProfilePortrait120p - VIDEO_PROFILE_PORTRAIT_120P_3 + VideoProfilePortrait120p3 - VIDEO_PROFILE_PORTRAIT_180P + VideoProfilePortrait180p - VIDEO_PROFILE_PORTRAIT_180P_3 + VideoProfilePortrait180p3 - VIDEO_PROFILE_PORTRAIT_180P_4 + VideoProfilePortrait180p4 - VIDEO_PROFILE_PORTRAIT_240P + VideoProfilePortrait240p - VIDEO_PROFILE_PORTRAIT_240P_3 + VideoProfilePortrait240p3 - VIDEO_PROFILE_PORTRAIT_240P_4 + VideoProfilePortrait240p4 - VIDEO_PROFILE_PORTRAIT_360P + VideoProfilePortrait360p - VIDEO_PROFILE_PORTRAIT_360P_3 + VideoProfilePortrait360p3 - VIDEO_PROFILE_PORTRAIT_360P_4 + VideoProfilePortrait360p4 - VIDEO_PROFILE_PORTRAIT_360P_6 + VideoProfilePortrait360p6 - VIDEO_PROFILE_PORTRAIT_360P_7 + VideoProfilePortrait360p7 - VIDEO_PROFILE_PORTRAIT_360P_8 + VideoProfilePortrait360p8 - VIDEO_PROFILE_PORTRAIT_360P_9 + VideoProfilePortrait360p9 - VIDEO_PROFILE_PORTRAIT_360P_10 + VideoProfilePortrait360p10 - VIDEO_PROFILE_PORTRAIT_360P_11 + VideoProfilePortrait360p11 - VIDEO_PROFILE_PORTRAIT_480P + VideoProfilePortrait480p - VIDEO_PROFILE_PORTRAIT_480P_3 + VideoProfilePortrait480p3 - VIDEO_PROFILE_PORTRAIT_480P_4 + VideoProfilePortrait480p4 - VIDEO_PROFILE_PORTRAIT_480P_6 + VideoProfilePortrait480p6 - VIDEO_PROFILE_PORTRAIT_480P_8 + VideoProfilePortrait480p8 - VIDEO_PROFILE_PORTRAIT_480P_9 + VideoProfilePortrait480p9 - VIDEO_PROFILE_PORTRAIT_480P_10 + VideoProfilePortrait480p10 - VIDEO_PROFILE_PORTRAIT_720P + VideoProfilePortrait720p - VIDEO_PROFILE_PORTRAIT_720P_3 + VideoProfilePortrait720p3 - VIDEO_PROFILE_PORTRAIT_720P_5 + VideoProfilePortrait720p5 - VIDEO_PROFILE_PORTRAIT_720P_6 + VideoProfilePortrait720p6 - VIDEO_PROFILE_PORTRAIT_1080P + VideoProfilePortrait1080p - VIDEO_PROFILE_PORTRAIT_1080P_3 + VideoProfilePortrait1080p3 - VIDEO_PROFILE_PORTRAIT_1080P_5 + VideoProfilePortrait1080p5 - VIDEO_PROFILE_PORTRAIT_1440P + VideoProfilePortrait1440p - VIDEO_PROFILE_PORTRAIT_1440P_2 + VideoProfilePortrait1440p2 - VIDEO_PROFILE_PORTRAIT_4K + VideoProfilePortrait4k - VIDEO_PROFILE_PORTRAIT_4K_3 + VideoProfilePortrait4k3 - VIDEO_STREAM_HIGH + VideoStreamHigh - VIDEO_STREAM_LOW + VideoStreamLow - VIDEO_PROFILE_DEFAULT + VideoProfileDefault - VIEW_SETUP_MODE_REPLACE + ViewSetupModeReplace - VIEW_SETUP_MODE_ADD + ViewSetupModeAdd - VIEW_SETUP_MODE_REMOVE + ViewSetupModeRemove - VOICE_BEAUTIFIER_OFF + VoiceBeautifierOff - CHAT_BEAUTIFIER_MAGNETIC + ChatBeautifierMagnetic - CHAT_BEAUTIFIER_FRESH + ChatBeautifierFresh - CHAT_BEAUTIFIER_VITALITY + ChatBeautifierVitality - SINGING_BEAUTIFIER + SingingBeautifier - TIMBRE_TRANSFORMATION_VIGOROUS + TimbreTransformationVigorous - TIMBRE_TRANSFORMATION_DEEP + TimbreTransformationDeep - TIMBRE_TRANSFORMATION_MELLOW + TimbreTransformationMellow - TIMBRE_TRANSFORMATION_FALSETTO + TimbreTransformationFalsetto - TIMBRE_TRANSFORMATION_FULL + TimbreTransformationFull - TIMBRE_TRANSFORMATION_CLEAR + TimbreTransformationClear - TIMBRE_TRANSFORMATION_RESOUNDING + TimbreTransformationResounding - TIMBRE_TRANSFORMATION_RINGING + TimbreTransformationRinging - ULTRA_HIGH_QUALITY_VOICE + UltraHighQualityVoice - VOICE_CHANGER_OFF + VoiceChangerOff - VOICE_CHANGER_OLDMAN + VoiceChangerOldman - VOICE_CHANGER_BABYBOY + VoiceChangerBabyboy - VOICE_CHANGER_BABYGIRL + VoiceChangerBabygirl - VOICE_CHANGER_ZHUBAJIE + VoiceChangerZhubajie - VOICE_CHANGER_ETHEREAL + VoiceChangerEthereal - VOICE_CHANGER_HULK + VoiceChangerHulk - VOICE_BEAUTY_VIGOROUS + VoiceBeautyVigorous - VOICE_BEAUTY_DEEP + VoiceBeautyDeep - VOICE_BEAUTY_MELLOW + VoiceBeautyMellow - VOICE_BEAUTY_FALSETTO + VoiceBeautyFalsetto - VOICE_BEAUTY_FULL + VoiceBeautyFull - VOICE_BEAUTY_CLEAR + VoiceBeautyClear - VOICE_BEAUTY_RESOUNDING + VoiceBeautyResounding - VOICE_BEAUTY_RINGING + VoiceBeautyRinging - VOICE_BEAUTY_SPACIAL + VoiceBeautySpacial - GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + GeneralBeautyVoiceMaleMagnetic - GENERAL_BEAUTY_VOICE_FEMALE_FRESH + GeneralBeautyVoiceFemaleFresh - GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + GeneralBeautyVoiceFemaleVitality - VOICE_CONVERSION_OFF + VoiceConversionOff - VOICE_CHANGER_NEUTRAL + VoiceChangerNeutral - VOICE_CHANGER_SWEET + VoiceChangerSweet - VOICE_CHANGER_SOLID + VoiceChangerSolid - VOICE_CHANGER_BASS + VoiceChangerBass From a59654b6e58eae3adb0c2d3f03416c37cb5a66e3 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 14 Jun 2024 09:25:16 +0800 Subject: [PATCH 009/146] 1 --- dita/RTC-NG/API/api_irtcengine_startscreencapture.dita | 1 + 1 file changed, 1 insertion(+) diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index f8fa2165039..4ba8af59e5a 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -15,6 +15,7 @@

      public abstract int startScreenCapture(ScreenCaptureParameters screenCaptureParameters); + public abstract startScreenCapture(): number; - (int)startScreenCapture:(AgoraScreenCaptureParameters2* _Nullable)parameters NS_SWIFT_NAME(startScreenCapture(_:)); #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; From 4ddfa31d60aeb8efa6354f634bd503142d4b98ec Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 14 Jun 2024 09:27:12 +0800 Subject: [PATCH 010/146] add datatype --- dita/RTC-NG/API/rtc_api_data_type.dita | 609 +++++++++++++++---------- 1 file changed, 379 insertions(+), 230 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 32b96fbbd09..2abb08a1897 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -275,6 +275,155 @@

    +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
        +
      • +
      • +
      • +
      • +
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
        +
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • @@ -582,100 +731,100 @@
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • @@ -1625,142 +1774,142 @@
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • From bf90fc8f0ab818c97b84096894b9c0a1682c5eea Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:23:25 +0800 Subject: [PATCH 011/146] add hmos after android --- .gitignore | 1 + ...ideoencoderconfiguration_initwithsize.dita | 2 +- ...deoencoderconfiguration_initwithwidth.dita | 2 +- ...onfiguration_getdestchannelmediainfos.dita | 4 +- ...yconfiguration_getsrcchannelmediainfo.dita | 4 +- ...ayconfiguration_removedestchannelinfo.dita | 4 +- ...relayconfiguration_setdestchannelinfo.dita | 6 +- ...arelayconfiguration_setsrcchannelinfo.dita | 4 +- ...i_ilocalspatialaudioengine_initialize.dita | 2 +- ...pi_imediaengine_pushencodedvideoimage.dita | 4 +- .../API/api_imediaengine_pushvideoframe.dita | 4 +- ...ine_registervideoencodedframeobserver.dita | 2 +- dita/RTC-NG/API/api_imediaplayer_open.dita | 2 +- .../api_imediaplayer_openwithmediasource.dita | 2 +- ...diaplayer_registeraudioframeobserver2.dita | 6 +- ...iaplayer_registerplayersourceobserver.dita | 2 +- ...ediaplayer_registervideoframeobserver.dita | 2 +- ...api_imediaplayer_setaudiodualmonomode.dita | 2 +- .../API/api_imediaplayer_setrendermode.dita | 2 +- dita/RTC-NG/API/api_imediaplayer_setview.dita | 2 +- .../RTC-NG/API/api_irtcengine_addhandler.dita | 2 +- dita/RTC-NG/API/api_irtcengine_create.dita | 8 +-- ...cengine_createcustomencodedvideotrack.dita | 2 +- .../api_irtcengine_createmediarecorder.dita | 2 +- .../API/api_irtcengine_enableextension.dita | 2 +- .../RTC-NG/API/api_irtcengine_initialize.dita | 4 +- ...irtcengine_isfeatureavailableondevice.dita | 2 +- .../API/api_irtcengine_joinchannel.dita | 4 +- .../API/api_irtcengine_joinchannel2.dita | 4 +- ...irtcengine_joinchannelwithuseraccount.dita | 2 +- ...rtcengine_joinchannelwithuseraccount2.dita | 2 +- ..._irtcengine_muteallremoteaudiostreams.dita | 2 +- ..._irtcengine_muteallremotevideostreams.dita | 2 +- .../api_irtcengine_mutelocalaudiostream.dita | 2 +- .../api_irtcengine_mutelocalvideostream.dita | 2 +- .../api_irtcengine_muteremoteaudiostream.dita | 2 +- .../api_irtcengine_muteremotevideostream.dita | 2 +- .../API/api_irtcengine_playeffect2.dita | 2 +- .../API/api_irtcengine_playeffect3.dita | 2 +- .../API/api_irtcengine_preloadchannel.dita | 4 +- ...cengine_preloadchannelwithuseraccount.dita | 2 +- .../API/api_irtcengine_pushaudioframe2.dita | 2 +- .../api_irtcengine_pushcaptureaudioframe.dita | 4 +- ...ushdirectcdnstreamingcustomvideoframe.dita | 2 +- .../api_irtcengine_pushreverseaudioframe.dita | 4 +- .../API/api_irtcengine_pushvideoframe2.dita | 4 +- .../API/api_irtcengine_registerextension.dita | 2 +- .../API/api_irtcengine_removehandler.dita | 6 +- .../API/api_irtcengine_selectaudiotrack.dita | 2 +- .../API/api_irtcengine_sendstreammessage.dita | 2 +- .../API/api_irtcengine_setainsmode.dita | 2 +- .../api_irtcengine_setaudioeffectpreset.dita | 2 +- .../API/api_irtcengine_setaudioprofile.dita | 2 +- .../API/api_irtcengine_setaudioprofile2.dita | 2 +- .../API/api_irtcengine_setaudioscenario.dita | 2 +- ...api_irtcengine_setbeautyeffectoptions.dita | 2 +- ...ine_setcameraautofocusfacemodeenabled.dita | 2 +- ...pi_irtcengine_setcameraexposurefactor.dita | 2 +- .../API/api_irtcengine_setchannelprofile.dita | 2 +- .../API/api_irtcengine_setclientrole.dita | 2 +- .../API/api_irtcengine_setclientrole2.dita | 2 +- .../API/api_irtcengine_setcloudproxy.dita | 2 +- ...e_setdefaultmuteallremoteaudiostreams.dita | 2 +- ...e_setdefaultmuteallremotevideostreams.dita | 2 +- ..._setearmonitoringaudioframeparameters.dita | 2 +- .../api_irtcengine_setenablespeakerphone.dita | 2 +- ...cengine_setlocalpublishfallbackoption.dita | 2 +- .../api_irtcengine_setlocalrendermode.dita | 2 +- .../api_irtcengine_setlocalrendermode2.dita | 4 +- ...pi_irtcengine_setlocalvideomirrormode.dita | 2 +- .../api_irtcengine_setlocalvoicechanger.dita | 2 +- ..._irtcengine_setlocalvoicereverbpreset.dita | 2 +- ...ngine_setplaybackaudioframeparameters.dita | 2 +- ...gine_setrecordingaudioframeparameters.dita | 2 +- ...ngine_setremotedefaultvideostreamtype.dita | 2 +- .../api_irtcengine_setremoterendermode.dita | 2 +- .../api_irtcengine_setremoterendermode2.dita | 4 +- ...gine_setremotesubscribefallbackoption.dita | 2 +- .../api_irtcengine_setremoteuserpriority.dita | 2 +- ...i_irtcengine_setremotevideostreamtype.dita | 2 +- ...rtcengine_setrouteincommunicationmode.dita | 2 +- ...i_irtcengine_setvoicebeautifierpreset.dita | 2 +- ...i_irtcengine_setvoiceconversionpreset.dita | 2 +- .../API/api_irtcengine_startaudiomixing.dita | 2 +- .../API/api_irtcengine_startaudiomixing2.dita | 2 +- .../api_irtcengine_startaudiorecording.dita | 2 +- .../api_irtcengine_startaudiorecording3.dita | 2 +- ...api_irtcengine_startchannelmediarelay.dita | 2 +- ...pi_irtcengine_startdirectcdnstreaming.dita | 4 +- ..._irtcengine_startlocalvideotranscoder.dita | 2 +- ...engine_startorupdatechannelmediarelay.dita | 2 +- .../api_irtcengine_startscreencapture.dita | 2 +- .../API/api_irtcengine_switchcamera.dita | 2 +- ...pi_irtcengine_updatechannelmediarelay.dita | 2 +- ...cengine_updatescreencaptureparameters.dita | 2 +- .../api_irtcengineex_getuserinfobyuidex.dita | 2 +- ...cengineex_muteallremoteaudiostreamsex.dita | 2 +- ...i_irtcengineex_mutelocalaudiostreamex.dita | 2 +- ...pi_irtcengineex_muterecordingsignalex.dita | 2 +- ..._irtcengineex_muteremoteaudiostreamex.dita | 2 +- ..._irtcengineex_muteremotevideostreamex.dita | 2 +- .../api_irtcengineex_sendstreammessageex.dita | 2 +- ...pi_irtcengineex_setremoterendermodeex.dita | 4 +- ...irtcengineex_startchannelmediarelayex.dita | 2 +- ...neex_startorupdatechannelmediarelayex.dita | 2 +- ...rtcengineex_updatechannelmediarelayex.dita | 2 +- ...i_livetranscoding_getadvancedfeatures.dita | 2 +- .../api_rtc_render_view_rtcsurfaceview.dita | 2 +- ...ameobserver_onrecordaudioencodedframe.dita | 10 ++-- ...rver_onplaybackaudioframebeforemixing.dita | 4 +- ...bserverbase_onearmonitoringaudioframe.dita | 2 +- ...ioframeobserverbase_onmixedaudioframe.dita | 2 +- ...oframeobserverbase_onrecordaudioframe.dita | 2 +- .../callback_iaudiopcmframesink_onframe.dita | 4 +- ...pectrumobserver_onremoteaudiospectrum.dita | 2 +- ...imediaplayersourceobserver_onmetadata.dita | 2 +- ...corderobserver_onrecorderstatechanged.dita | 4 +- ..._imetadataobserver_onmetadatareceived.dita | 8 +-- ...etadataobserver_onreadytosendmetadata.dita | 6 +- ...entereventhandler_onmusicchartsresult.dita | 4 +- ...reventhandler_onmusiccollectionresult.dita | 8 +-- ...tentcentereventhandler_onpreloadevent.dita | 2 +- ...venthandler_onaudiomixingstatechanged.dita | 4 +- ...thandler_onaudiosubscribestatechanged.dita | 4 +- ...ngineeventhandler_onclientrolechanged.dita | 4 +- ...eventhandler_onclientrolechangefailed.dita | 4 +- ...eventhandler_onconnectionstatechanged.dita | 4 +- ...neeventhandler_oncontentinspectresult.dita | 2 +- ...cengineeventhandler_onencryptionerror.dita | 2 +- ...llback_irtcengineeventhandler_onerror.dita | 4 +- ...ineeventhandler_onfacepositionchanged.dita | 4 +- ...eventhandler_onlocalaudiostatechanged.dita | 4 +- ...eventhandler_onlocalvideostatechanged.dita | 4 +- ...nthandler_onlocalvideotranscodererror.dita | 2 +- ...gineeventhandler_onnetworktypechanged.dita | 2 +- ...cengineeventhandler_onpermissionerror.dita | 4 +- ...tcengineeventhandler_onproxyconnected.dita | 4 +- ...venthandler_onremoteaudiostatechanged.dita | 4 +- ...venthandler_onremotevideostatechanged.dita | 4 +- ...enthandler_onrhythmplayerstatechanged.dita | 4 +- ...gineeventhandler_onrtmpstreamingevent.dita | 4 +- ...nthandler_onrtmpstreamingstatechanged.dita | 4 +- ...neeventhandler_onstreaminjectedstatus.dita | 2 +- ...thandler_ontranscodedstreamlayoutinfo.dita | 2 +- ..._irtcengineeventhandler_onuseroffline.dita | 2 +- ...engineeventhandler_onvideosizechanged.dita | 2 +- ...thandler_onvideosubscribestatechanged.dita | 4 +- ...eobserver_onencodedvideoframereceived.dita | 4 +- ...rameobserver_getvideoformatpreference.dita | 2 +- .../callback_ivideoframeobserver_onframe.dita | 6 +- .../class_Localaccesspointconfiguration.dita | 2 +- ...class_audioencodedframeobserverconfig.dita | 4 +- dita/RTC-NG/API/class_audioframe.dita | 6 +- dita/RTC-NG/API/class_audioparams.dita | 2 +- .../class_audiorecordingconfiguration.dita | 8 +-- dita/RTC-NG/API/class_beautyoptions.dita | 10 ++-- .../class_cameracapturerconfiguration.dita | 4 +- .../class_channelmediarelayconfiguration.dita | 10 ++-- dita/RTC-NG/API/class_clientroleoptions.dita | 2 +- dita/RTC-NG/API/class_codeccapinfo.dita | 2 +- dita/RTC-NG/API/class_codeccaplevels.dita | 2 +- .../API/class_contentinspectconfig.dita | 6 +- .../API/class_contentinspectmodule.dita | 2 +- .../RTC-NG/API/class_downlinknetworkinfo.dita | 4 +- .../API/class_encodedvideoframeinfo.dita | 8 +-- dita/RTC-NG/API/class_externalvideoframe.dita | 26 ++++----- .../RTC-NG/API/class_lastmileproberesult.dita | 2 +- dita/RTC-NG/API/class_livetranscoding.dita | 58 +++++++++---------- .../API/class_localspatialaudioconfig.dita | 2 +- .../class_localtranscoderconfiguration.dita | 2 +- dita/RTC-NG/API/class_localvideostats.dita | 6 +- dita/RTC-NG/API/class_logconfig.dita | 2 +- .../API/class_lowlightenhanceoptions.dita | 4 +- .../API/class_mediarecorderconfiguration.dita | 4 +- dita/RTC-NG/API/class_music.dita | 4 +- dita/RTC-NG/API/class_musiccacheinfo.dita | 2 +- dita/RTC-NG/API/class_musicchartinfo.dita | 4 +- dita/RTC-NG/API/class_playerstreaminfo.dita | 8 +-- dita/RTC-NG/API/class_remotevideostats.dita | 2 +- dita/RTC-NG/API/class_rtcengineconfig.dita | 34 +++++------ dita/RTC-NG/API/class_rtcstats.dita | 4 +- .../API/class_screenaudioparameters.dita | 2 +- .../API/class_screencaptureparameters2.dita | 2 +- .../API/class_screenvideoparameters.dita | 10 ++-- .../API/class_segmentationproperty.dita | 2 +- .../API/class_useraudiospectruminfo.dita | 2 +- dita/RTC-NG/API/class_videocanvas.dita | 12 ++-- .../API/class_videodenoiseroptions.dita | 4 +- .../API/class_videoencoderconfiguration.dita | 2 +- dita/RTC-NG/API/class_videoframe.dita | 10 ++-- .../API/class_videosubscriptionoptions.dita | 4 +- .../API/class_virtualbackgroundsource.dita | 4 +- dita/RTC-NG/API/class_watermarkoptions.dita | 4 +- dita/RTC-NG/API/enum_audioscenariotype.dita | 2 +- dita/RTC-NG/API/enum_cameradirection.dita | 2 +- dita/RTC-NG/API/enum_errorcodetype.dita | 2 +- dita/RTC-NG/API/enum_mediaplayerevent.dita | 2 +- dita/RTC-NG/API/enum_mediaplayerstate.dita | 2 +- dita/RTC-NG/API/rtc_api_data_type.dita | 4 +- dita/RTC-NG/API/rtc_api_overview.dita | 50 ++++++++-------- .../config/keys-rtc-ng-api-harmony.ditamap | 25 +++++--- 201 files changed, 412 insertions(+), 394 deletions(-) diff --git a/.gitignore b/.gitignore index 260f32ea4fa..cc22d774f35 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ temp/ *.xpr .vscode/settings.json .vscode/extensions.json +*.py diff --git a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita index bdbda8a5cbf..dc2beb0b451 100644 --- a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita +++ b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita @@ -49,7 +49,7 @@ mirrorMode 发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。详见 。 -

      +

      diff --git a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita index 7181c23de96..e371578ce9d 100644 --- a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita +++ b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita @@ -54,7 +54,7 @@ mirrorMode 发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。详见 。 -

      +

      diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita index 1ee900021ff..572fcdd6b75 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita @@ -16,7 +16,9 @@ public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; } - + public getDestChannelMediaInfos(): Map<String, ChannelMediaInfo> { + return this.destInfos; +} diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita index 78ebda2c6f0..3cd3ccaf1f6 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita @@ -16,7 +16,9 @@ public ChannelMediaInfo getSrcChannelMediaInfo() { return srcInfo; } - + public getSrcChannelMediaInfo(): ChannelMediaInfo { + return this.srcInfo; +} diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita index 8b65d8e74f9..0f4fc66fe58 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita @@ -16,7 +16,9 @@ public void removeDestChannelInfo(String channelName) { destInfos.remove(channelName); } - + public removeDestChannelInfo(channelName: string) { + this.destInfos.delete(channelName); +} - (BOOL)removeDestinationInfoForChannelName:(NSString *_Nonnull)channelName; diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita index 538de71c3b6..3d2873879ce 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita @@ -16,7 +16,9 @@ public void setDestChannelInfo(String channelName, ChannelMediaInfo destInfo) { destInfos.put(channelName, destInfo); } - + public setDestChannelInfo(channelName: string, destInfo: ChannelMediaInfo) { + this.destInfos.set(channelName, destInfo); +} - (BOOL)setDestinationInfo:(AgoraChannelMediaRelayInfo *_Nonnull)destinationInfo forChannelName:(NSString *_Nonnull)channelName; @@ -34,7 +36,7 @@ 目标频道的频道名。
      - destInfo + destInfo destinationInfo

      目标频道信息 ,包含如下成员: diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita index 7b6e8f409f3..a98ab5cefef 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita @@ -16,7 +16,9 @@ public void setSrcChannelInfo(ChannelMediaInfo srcInfo) { this.srcInfo = srcInfo; } - + public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; +} diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita index c10adc6d67f..3be89bd8d37 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita @@ -30,7 +30,7 @@

      • 你需要在 () 后调用该方法。
      • -
      • 你需要在 后调用该方法。
      • +
      • 你需要在 后调用该方法。
      • 在调用 类的其他方法前,你需要先调用该方法初始化
      • SDK 只支持每个 App 创建一个 实例。
    diff --git a/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita b/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita index 5d8cdfda991..a6f1f2aaf19 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita @@ -48,7 +48,7 @@ 参数 - data + data imageBuffer 外部编码视频帧的 buffer。 @@ -57,7 +57,7 @@ 外部编码视频帧的长度。 - frameInfo + frameInfo videoEncodedFrameInfo 外部编码视频帧的信息。详见 diff --git a/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita b/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita index f53c5ceb797..142aa1dcad9 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita @@ -32,7 +32,7 @@
    详情 -
    +
    弃用:
    如果你需要推送 I422 格式的视频帧,请使用该方法。其他情况下,请改用
    @@ -46,7 +46,7 @@
  • 如果你不再需要采集外部视频数据,可以调用 销毁自定义采集的视频轨道。
  • 如果你只想将采集到的外部视频数据用于本地预览、而不在频道内发布,可以调用 取消发送视频流,或调用 publishCustomVideoTrack 设置为
  • -

    调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

    +

    调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

    适用场景 diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita index b55cbe2de13..eabcb6fd32f 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita @@ -53,7 +53,7 @@ delegate - receiver + receiver observer videoEncodedImageReceiver 视频帧接收观测器,详见 diff --git a/dita/RTC-NG/API/api_imediaplayer_open.dita b/dita/RTC-NG/API/api_imediaplayer_open.dita index 183392792c3..b13ac2f3388 100644 --- a/dita/RTC-NG/API/api_imediaplayer_open.dita +++ b/dita/RTC-NG/API/api_imediaplayer_open.dita @@ -30,7 +30,7 @@
    详情

    在 Android 平台上,如果你需要打开 URI 格式的文件,请使用

    -

    该方法支持打开以 content:// 开头的 URI 文件。

    +

    该方法支持打开以 content:// 开头的 URI 文件。

    媒体播放器支持的格式详见

    如果用户需要自定义播放线路,你可以调用 。声网会通过自研调度中心支持调度线路,提升观看用户体验。如果用户不需要自定义播放线路,你可以调用

    diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita index bac70af7664..7bdb774711d 100644 --- a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita +++ b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita @@ -27,7 +27,7 @@
    详情

    该方法支持你打开不同类型的媒体资源,包括自定义的媒体资源文件,并可进行播放设置。

    -

    +

    媒体播放器支持的格式详见

    diff --git a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita index f643224c18a..ac5e4972586 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita @@ -40,10 +40,10 @@ 参数 - audioFrameObserver + audioFrameObserver observer -

    音频帧观测器,观测每帧音频的接收,详见

    +

    音频帧观测器,观测每帧音频的接收,详见

    音频帧观测器,观测每帧音频的接收,详见

    @@ -51,7 +51,7 @@ mode

    音频帧的使用模式,详见

    -

    音频帧的使用模式: +

    音频帧的使用模式:

    • (0): (默认) 只读模式。例如: 若用户通过 SDK 采集数据,自己进行 RTMP 推流,则可以选择该模式。
    • (2): 读写模式。例如:若用户自己有音效处理模块,且想要根据实际需要对数据进行前处理 (例如变声),则可以选择该模式。
    • diff --git a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index e05b0504508..b8895544c06 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -34,7 +34,7 @@ 参数 - playerObserver + playerObserver observer 播放观测器,报告播放中的事件,详见 diff --git a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita index 7fae544cd7a..9a35ed36cb5 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita @@ -37,7 +37,7 @@ 参数 - videoFrameObserver + videoFrameObserver observer 视频帧观测器,观测每帧视频的接收。详见 视频帧观测器,观测每帧视频的接收。详见 diff --git a/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita b/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita index cf11ee4a1ce..d8a9cfc22ef 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita @@ -39,7 +39,7 @@ mode 声道模式。详见 -
        +
        • (0): 原始模式。
        • (1): 左声道模式。该模式用左声道的音频替换右声道的音频,即用户只能听到左声道的音频。
        • (2): 右声道模式。该模式用右声道的音频替换左声道的音频,即用户只能听到右声道的音频。
        • diff --git a/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita b/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita index 8b2485462e0..ca0a751f4cb 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita @@ -35,7 +35,7 @@ mode

          播放器视图的渲染模式。详见

          -

          播放器视图的渲染模式: +

          播放器视图的渲染模式:

          • diff --git a/dita/RTC-NG/API/api_imediaplayer_setview.dita b/dita/RTC-NG/API/api_imediaplayer_setview.dita index 9a8e2df6291..5dbf343ac6e 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setview.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setview.dita @@ -31,7 +31,7 @@ 参数 - videoView + videoView view 渲染视图。Windows 平台为窗口句柄(HWND)。 diff --git a/dita/RTC-NG/API/api_irtcengine_addhandler.dita b/dita/RTC-NG/API/api_irtcengine_addhandler.dita index dd45efecc4b..78407f60938 100644 --- a/dita/RTC-NG/API/api_irtcengine_addhandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_addhandler.dita @@ -35,7 +35,7 @@ 参数 - handler + handler engineEventHandler eventHandler 待添加的回调事件,详见 diff --git a/dita/RTC-NG/API/api_irtcengine_create.dita b/dita/RTC-NG/API/api_irtcengine_create.dita index 950c3f24c6f..3006752ddf3 100644 --- a/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/dita/RTC-NG/API/api_irtcengine_create.dita @@ -52,8 +52,8 @@ appId - - handler + + handler delegate 的事件句柄,详见 @@ -62,11 +62,11 @@
            <ph props="apple">返回值</ph> - <ph props="android">返回/异常</ph> + <ph props="android hmos">返回/异常</ph>
            • 方法调用成功,返回一个 对象。
            • -
            • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
            • +
            • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
            • 方法调用失败,返回错误码:
              • -1: 一般性的错误(未明确归类)。
              • diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita index accd59c8e1e..52fbbf189b3 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita @@ -36,7 +36,7 @@ 参数 - encodedOpt + encodedOpt encodedVideoTrackOption sender_option 视频编码选项。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita b/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita index f25ea842b31..2c0245cb190 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita @@ -47,7 +47,7 @@ 返回值
                • 方法调用成功:返回一个 对象。
                • -
                • 方法调用成功:返回一个 实例。
                • +
                • 方法调用成功:返回一个 实例。
                • 方法调用失败:返回空指针。
            diff --git a/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/dita/RTC-NG/API/api_irtcengine_enableextension.dita index 8004aac7fa2..fc84196280f 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -85,7 +85,7 @@
            type - sourceType + sourceType 插件的媒体源类型。详见
    diff --git a/dita/RTC-NG/API/api_irtcengine_initialize.dita b/dita/RTC-NG/API/api_irtcengine_initialize.dita index 2d4b79d8e5a..d9e6820d7d0 100644 --- a/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -55,13 +55,13 @@
    <ph keyref="return-section-title" props="apple cpp framework"/> - <ph props="android">返回/异常</ph> + <ph props="android hmos">返回/异常</ph>

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

    • 方法调用成功,返回一个 对象。
    • 0: 方法调用成功。
    • -
    • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
    • +
    • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
    • < 0:方法调用失败。
      • -1: 一般性的错误(未明确归类)。
      • diff --git a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita index f08811e3f0a..c9351c54696 100644 --- a/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita +++ b/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita @@ -41,7 +41,7 @@ type 进阶功能类型,详见 - +

        进阶功能类型:

        • (1):虚拟背景功能。
        • diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita index bd03e7c8c55..a5aa364c0fd 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel.dita @@ -63,12 +63,12 @@ info - optionalInfo + optionalInfo (非必选项) 预留参数。 uid - 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 + 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index d9b5b271158..44d1e0d05a0 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -15,7 +15,7 @@

          public abstract int joinChannel( String token, String channelId, int uid, ChannelMediaOptions options); - public abstract joinChannel(key: string, channel: string, optionalInfo: string, uid: number): number; + public abstract joinChannelWithOptions(token: string, channelId: string, uid: number, options: ChannelMediaOptions): number; - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid @@ -88,7 +88,7 @@ uid - 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 + 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 options diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita index 54f27a60b1a..3af62ddfc81 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita @@ -61,7 +61,7 @@ - channelName + channelName channelId

          diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita index 42b14c2b752..a26cad72a6a 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita @@ -65,7 +65,7 @@ - channelName + channelName channelId

          diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita index 12633a95e26..2a133d25315 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita @@ -43,7 +43,7 @@ 参数 - muted + muted mute

          是否取消订阅所有远端用户的音频流: diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita index a4738ac820e..a191daa8bda 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita @@ -43,7 +43,7 @@ 参数 - muted + muted mute

          是否取消订阅所有远端用户的视频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita index f68367e298f..958198293c6 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita @@ -44,7 +44,7 @@ 参数 - muted + muted mute

          是否取消发布本地音频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita index c7893b00e0f..f2df5bbdd17 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita @@ -45,7 +45,7 @@ 参数 - muted + muted mute

          是否取消发送本地视频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita index 6ed22630dd5..0c84c3640e5 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita @@ -48,7 +48,7 @@ 指定用户的用户 ID。 - muted + muted mute

          是否取消订阅指定远端用户的音频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita index 71d85351dfb..b8fa2b06781 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita @@ -49,7 +49,7 @@ 指定用户的用户 ID。 - muted + muted mute

          是否取消订阅指定远端用户的视频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index 9f4583b2f4d..1b5d4191fae 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -55,7 +55,7 @@ filePath

          支持在线文件的 URL 地址,本地文件的 URI 地址、绝对路径或以 /assets/ 开头的路径。例如

          -

          播放文件的绝对路径或 URL 地址,需精确到文件名及后缀。通过绝对路径访问本地文件可能会遇到权限问题,建议使用 URL 地址访问本地文件。例如

          +

          播放文件的绝对路径或 URL 地址,需精确到文件名及后缀。通过绝对路径访问本地文件可能会遇到权限问题,建议使用 URL 地址访问本地文件。例如

          如果你已通过 将音效加载至内存,请确保该参数与 中设置的 filePath 相同。
          diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index 4e53d534232..713f3d062df 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -72,7 +72,7 @@ 详情 如果你需要通过该方法来播放在线音效文件,建议你先将在线音效文件缓存到本地设备,调用 将缓存的音效文件预加载到内存中,然后再调用此方法播放音效。否则,可能出现因在线音效文件加载超时、加载失败而导致的播放失败和无声的问题。

          你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。音效文件播放结束后,SDK 会触发 回调。

          -

          +

    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita index 17fd9083bad..7a0929dad54 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita @@ -2,7 +2,7 @@ <ph keyref="preloadChannel"/> - 使用 tokenchannelIdchannelNameuidoptionalUid 预加载频道。 + 使用 tokenchannelIdchannelNameuidoptionalUid 预加载频道。 @@ -70,7 +70,7 @@ channelId - channelName + channelName

    待预加载的频道名。该参数标识用户进行实时音视频互动的频道。App ID 一致的前提下,填入相同频道名的用户会进入同一个频道进行音视频互动。 该参数为长度在 64 字节以内的字符串。以下为支持的字符集范围(共 89 个字符):

      diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita index ac959c55675..a4ef93e795c 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita @@ -2,7 +2,7 @@ <ph keyref="preloadChannelWithUserAccount"/> - 使用 tokenchannelIdchannelNameuserAccount 预加载频道。 + 使用 tokenchannelIdchannelNameuserAccount 预加载频道。 diff --git a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index f4426d12f9b..9fa648d9fe0 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -64,7 +64,7 @@
    • 2: 双声道
    - + bytesPerSample 每个采样点的字节数。对于 PCM 来说,一般使用 16 bit,即两个字节。 diff --git a/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita b/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita index c7885e0a332..03da18578aa 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita @@ -34,11 +34,11 @@ - + - + diff --git a/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita b/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita index 01bad50969e..741482c5c35 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita @@ -28,7 +28,7 @@ frame - 外部视频数据。详见 VideoFrame + 外部视频数据。详见 VideoFrame
    diff --git a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita index c91456ac900..0677f970f70 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita @@ -35,11 +35,11 @@ audioFrame 外部音频帧。详见 - + data 待推送的音频数据,数据类型为 byte[] - + diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita index 61d8402237d..a625122528f 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita @@ -25,14 +25,14 @@
    详情 -
    +
    弃用:
    如果你需要推送 I422 格式的视频帧,请使用该方法。其他情况下,请改用

    调用 方法,设置 enabled 参数为 encodedFrame 参数为 后,你可以调用本方法将未编码的外部视频帧推送到 SDK。

    -

    调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

    +

    调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_registerextension.dita b/dita/RTC-NG/API/api_irtcengine_registerextension.dita index 3dd69abcae8..cd31c6bdd34 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerextension.dita @@ -54,7 +54,7 @@
    • 建议你在初始化 后、加入频道前调用该方法。
    • 对于视频相关插件(例如美颜插件),需要在启用视频模块(/)之前调用该方法。
    • -
    • 调用该方法前,需要先调用 加载插件。
    • +
    • 调用该方法前,需要先调用 加载插件。
    • 调用该方法前,需要先在 Xcode 中将插件动态库(.xcframework)链接至工程以加载插件。
    • 调用该方法前,需要先调用 加载插件。
    diff --git a/dita/RTC-NG/API/api_irtcengine_removehandler.dita b/dita/RTC-NG/API/api_irtcengine_removehandler.dita index 87e56ebe9a9..10d23b4f0e8 100644 --- a/dita/RTC-NG/API/api_irtcengine_removehandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_removehandler.dita @@ -2,7 +2,7 @@ <ph keyref="removeHandler" /> - 删除指定的回调句柄。删除指定的回调事件。 + 删除指定的回调句柄。删除指定的回调事件。 @@ -29,13 +29,13 @@
    详情 -

    该方法删除指定的回调句柄。对于某些注册的回调句柄,如果你在收到相应回调事件后无需再次接收回调消息,可以调用该方法移除回调句柄。

    +

    该方法删除指定的回调句柄。对于某些注册的回调句柄,如果你在收到相应回调事件后无需再次接收回调消息,可以调用该方法移除回调句柄。

    该方法用于删除已添加的所有回调事件。

    参数 - + handler 待删除的回调句柄。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita b/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita index 1deaf3360ab..bd48b4ed271 100644 --- a/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita @@ -38,7 +38,7 @@ index - audioIndex + audioIndex 指定的播放音轨。取值范围为 [0, ()]。
    diff --git a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita index f8f1fa65d88..971e0ab844b 100644 --- a/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita +++ b/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita @@ -57,7 +57,7 @@ 数据流 ID。可以通过 获取。 - message + message data 待发送的数据。 diff --git a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita index de3fd42889a..33e39512b69 100644 --- a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita @@ -67,7 +67,7 @@ mode

    降噪模式,详见

    -

    降噪模式: +

    降噪模式:

    • 0:(默认)均衡降噪模式。如果你希望实现对噪声抑制和延时都较为均衡的降噪效果,可选择该模式。
    • 1:强降噪模式;适用于对噪声抑制性能要求较高的场景,如户外直播。该模式可以更大程度地减少噪声,但同时可能会造成语音损伤。
    • diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita index 32bd6ef4cae..b7457de1c33 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita @@ -52,7 +52,7 @@ preset 预设的音效选项,详见 - 预设的音效选项。 + 预设的音效选项。
        diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita index 611e67fac79..d0fc6fc0636 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita @@ -61,7 +61,7 @@ profile

        音频编码属性,包含采样率、码率、编码模式和声道数。详见 -

          +
          • (0):默认值。
            • diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita index f8d64cc5d02..d4d371d4ffc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita @@ -23,7 +23,7 @@

    -

    如果你想设置音频应用场景,可以直接调用 方法进行设置,也可以调用 并设置 结构体中的 mAudioScenarioaudioScenario

    +

    如果你想设置音频应用场景,可以直接调用 方法进行设置,也可以调用 并设置 结构体中的 mAudioScenarioaudioScenario

    适用场景 diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita index 9ddf22fda9e..68f5cf881a3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -44,7 +44,7 @@ scenario 音频场景。不同的音频场景下,设备的音量类型是不同的。 详见 -
      +
      • (0):(默认)自动场景,根据用户角色和音频路由自动匹配合适的音质。
      • (3): 高音质场景,适用于音乐为主的场景。
      • (5): 聊天室场景,适用于用户需要频繁上下麦的场景。该场景下,观众会收到申请麦克风权限的弹窗提示。
      • diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita index ec7b9f2dcc2..428a1812524 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -42,7 +42,7 @@
        • 请在 之后调用该方法。
        • -
        • 该方法仅适用于 Android 5.0 及以上版本。
        • +
        • 该方法仅适用于 Android 5.0 及以上版本。
        • 该方法依赖于视频增强动态库 ,如果删除该动态库会导致无法正常开启该功能。
        • 该功能对设备性能要求较高,调用该方法时 SDK 会自动对当前设备能力进行检查。
        diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita b/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita index 080e1e70c74..7d7e93e7f3b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita @@ -28,7 +28,7 @@
    详情 -

    SDK 默认关闭人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

    +

    SDK 默认关闭人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

    SDK 默认开启人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

    SDK 默认在 Android 平台关闭人脸自动对焦,在 iOS 平台开启人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

    diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita b/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita index 6535fa7a5f6..8fc92f7119a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita @@ -49,7 +49,7 @@ factor

    摄像头的曝光系数。默认值为 0,表示使用摄像头的默认曝光量。取值越大,曝光量越大。视频图像过曝时,你可以降低曝光系数;视频图像欠曝且暗部细节丢失时,你可以增加曝光系数。如果你指定的曝光系数超出设备支持的范围,SDK 会自动调节为设备实际支持的范围。

    -

    取值范围为 [-20,20]。

    +

    取值范围为 [-20,20]。

    取值范围为 [-8.0,8.0]。

    在 Android 平台上,取值范围为 [-20.0,20.0];在 iOS 平台上,取值范围为 [-8.0,8.0]。

    diff --git a/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita b/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita index f89c4fc8c04..e2bf361b105 100644 --- a/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita @@ -44,7 +44,7 @@ profile

    频道使用场景。详见

    -

    频道使用场景。 +

    频道使用场景。

    • (0):通信。声网推荐使用直播场景以获取更好的音视频体验。
    • diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole.dita index 7e282d01902..6746b4f0ba9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole.dita @@ -51,7 +51,7 @@ role

      用户角色。详见

      -

      用户的角色: +

      用户的角色:

      • (1):主播。
      • diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita index f563673fc71..7b42cbdb2f6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -65,7 +65,7 @@ role clientroletype 用户角色。详见 -
          +
          • (1): 主播。主播可以发流也可以收流。
          • (2):(默认)观众。观众只能收流不能发流。
          diff --git a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita index df29bef7e73..b927d111c02 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita @@ -46,7 +46,7 @@ proxyType

          云代理类型,详见

          -

          云代理类型。 +

          云代理类型。

          • (0):自动模式。SDK 默认开启该模式。在该模式下,SDK 优先连接 SD-RTN™,如果连接失败,自动切换到 TLS 443。
          • (1):UDP 协议的云代理,即 Force UDP 云代理模式。在该模式下,SDK 始终通过 UDP 协议传输数据。
          • diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita index 85166202a99..d82d46f39d0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita @@ -46,7 +46,7 @@ 参数 - muted + muted mute

            是否默认取消订阅远端用户的音频流: diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita index 3344c7862d2..323c32ed3ef 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita @@ -40,7 +40,7 @@ 参数 - muted + muted mute

            是否默认取消订阅远端用户的视频流: diff --git a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita index d51acb5c0b4..0a7e518801a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita @@ -75,7 +75,7 @@ mode

            音频帧的使用模式,详见

            -

            +

            diff --git a/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita b/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita index 423fe9e1a03..53229d2a88d 100644 --- a/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita +++ b/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita @@ -37,7 +37,7 @@ 参数 - enabled + enabled enableSpeaker speakerOn diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita index 21d027059f0..aad4be3fd39 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita @@ -37,7 +37,7 @@ option 本地发流回退处理选项。详见 - 本地发流回退处理选项: + 本地发流回退处理选项:

            • (0):(默认)上行网络较弱时,不对音视频流作回退处理。
            • diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita index 346124b03d5..6fdc1f12dbc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita @@ -48,7 +48,7 @@ mode

              本地视图显示模式。详见

              -

              本地视图显示模式。 +

              本地视图显示模式。

                diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 90757ff34ff..ab6398eae89 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -52,7 +52,7 @@ mode

                本地视图显示模式。详见

                -

                本地视图显示模式。 +

                本地视图显示模式。

                • (1):优先保证视窗被填满。视频尺寸等比缩放,直至整个视窗被视频填满。如果视频长宽与显示窗口不同,多出的视频将被截掉。
                • @@ -67,7 +67,7 @@

                  本地视图的镜像模式,详见 该参数仅对 SDK 自渲染生效,如果你想要设置视图镜像,可以将 GameObject 的 scaleX 设为 -1+1

                  -

                  本地视图的镜像模式。 +

                  本地视图的镜像模式。

                  • (0):SDK 决定镜像模式。如果你使用前置摄像头,默认启动本地视图镜像模式;如果你启用后置摄像头,默认关闭本地视图镜像模式。
                  • (1):开启本地视图的镜像模式。
                  • diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita index d2bfef1866d..d0fbf66aac6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita @@ -44,7 +44,7 @@ mirrorMode

                    本地视频镜像模式。详见

                    -

                    +

                    diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita index fa760e746ce..cc319048de2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita @@ -58,7 +58,7 @@ voiceChanger

                    预设本地语音变声、美音或语聊美声效果选项,默认值为 ,即原声。详见 。设置语聊美声效果时,建议使用 处理男声,使用 处理女声,否则音频可能会产生失真。

                    -

                    本地语音的变声、美音或语聊美声效果选项: +

                    本地语音的变声、美音或语聊美声效果选项:

                      diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita index 2c7d0599081..00fec373389 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita @@ -48,7 +48,7 @@ reverbPreset preset

                      本地语音混响选项,默认值为 ,即原声。详见 。为达到更好的混响效果,建议使用以 AUDIO_REVERB_FX 为前缀的枚举值。

                      -

                      本地语音混响选项。为达到更好的混响效果,建议使用以 AUDIO_REVERB_FX 为前缀的枚举值。

                        +

                        本地语音混响选项。为达到更好的混响效果,建议使用以 AUDIO_REVERB_FX 为前缀的枚举值。

                        • : (默认)原声,即关闭本地语音混响。
                        • : KTV(增强版)。
                        • : 演唱会(增强版)。
                        • diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index aaa2a142d19..ffb0a460963 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -78,7 +78,7 @@ mode

                          音频帧的使用模式,详见

                          -

                          +

                          diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index 6fb14dbcb29..b8697f2c0dd 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -83,7 +83,7 @@ mode

                          音频帧的使用模式,详见

                          -

                          +

                          SDK 返回数据的使用模式,详见 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index fb0a337cb56..150794224ee 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -41,7 +41,7 @@ streamType

                          默认订阅的视频流类型:

                          -

                          默认订阅的视频流类型: +

                          默认订阅的视频流类型:

                          • (0):视频大流,即高分辨率、高码率视频流。
                          • (1):视频小流,即低分辨率、低码率视频流。
                          • diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita index c0e6385db34..622150c5845 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita @@ -45,7 +45,7 @@ renderMode

                            远端用户视图的渲染模式,详见

                            -

                            远端用户视图的渲染模式。 +

                            远端用户视图的渲染模式。

                            • (1):优先保证视窗被填满。视频尺寸等比缩放,直至整个视窗被视频填满。如果视频长宽与显示窗口不同,多出的视频将被截掉。
                            • diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita index 3215861567e..2b3706ee1c6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita @@ -59,7 +59,7 @@ mode

                              远端用户视图的渲染模式,详见

                              -

                              远端用户视图的渲染模式。 +

                              远端用户视图的渲染模式。 @@ -74,7 +74,7 @@ mirror

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

                              -

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

                              远端用户视图的镜像模式。 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index ef6c97e794b..ce7b4e0142c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -37,7 +37,7 @@ option 订阅流的回退选项。详见 -

                                +
                                • (0): 网络条件较差时,不对音视频流作回退处理,但不能保证音视频流的质量。
                                • (1):(默认)网络条件较差时,只接收视频小流(低分辨率、低码率视频流)。
                                • (2): 网络条件较差时,先尝试只接收视频小流;如果因网络环境太差无法显示视频,则再回退到只接收订阅的音频流。
                                • diff --git a/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita b/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita index 7b667bc4ad2..303be46bda4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita @@ -41,7 +41,7 @@ userPriority

                                  远端用户的需求优先级。详见 -

                                    +
                                    • :用户需求优先级为高。
                                    • :(默认)用户需求优先级为正常。

                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index 15fb87756d9..7ba18020ee5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -53,7 +53,7 @@ streamType

                                    视频流类型:

                                    -

                                    视频流类型: +

                                    视频流类型:

                                    • 0:视频大流。
                                    • 1:视频小流。
                                    • diff --git a/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita b/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita index 63138e0d33e..7c535a8116b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita @@ -31,7 +31,7 @@

                                      该方法用于在通话音量模式()下,将音频路由从蓝牙耳机切换为听筒、有线耳机或扬声器。该方法调用成功后,SDK 会触发 回调,报告修改后的路由。

                                      - 该方法与 同时使用时可能引起冲突。声网建议你单独使用 + 该方法与 同时使用时可能引起冲突。声网建议你单独使用
                                      • 该方法仅适用于 Android。
                                      • 该方法与 同时使用时可能引起冲突。声网建议你单独使用
    diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita index 810a5edfc7b..2f03a88b041 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -58,7 +58,7 @@ preset

    预设的美声效果选项,详见

    -

    预设的美声效果选项: +

    预设的美声效果选项:

    • : 原声,即关闭美声效果。
    • : 磁性(男)。
    • diff --git a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita index 482563c71d8..2ebe807288f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita @@ -56,7 +56,7 @@ preset

      预设的变声效果选项:

      -

      预设的变声效果选项: +

      预设的变声效果选项:

      • : 原声,即关闭变声效果。
      • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index 4cd54f4e10a..1b18926ca3d 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -43,7 +43,7 @@

        该方法支持将本地或在线音乐文件和麦克风采集的音频进行混音或替换。成功播放音乐文件后,本地会触发 () 回调。播放结束后,本地会触发 () 回调。

        -

        该方法支持播放以 content:// 开头的 URI 文件。

        +

        该方法支持播放以 content:// 开头的 URI 文件。

        • 该方法在加入频道前后均可调用。如需多次调用 ,请确保调用间隔大于 500 ms。
        • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index a187a28c414..89b6584e891 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -42,7 +42,7 @@
          详情

          该方法支持将本地或在线音乐文件和麦克风采集的音频进行混音或替换。成功播放音乐文件后,本地会触发 () 回调。播放结束后,本地会触发 () 回调。

          -

          该方法支持播放以 content:// 开头的 URI 文件。

          +

          该方法支持播放以 content:// 开头的 URI 文件。

          • 该方法在加入频道前后均可调用。如需多次调用 ,请确保调用间隔大于 500 ms。
          • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 764ce88631e..cd25c87656c 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -46,7 +46,7 @@ quality 录音质量。详见 -
              +
              • 0: 低音质。采样率为 32 kHz,录制 10 分钟的文件大小为 1.2 M 左右。
              • 1: 中音质。采样率为 32 kHz,录制 10 分钟的文件大小为 2 M 左右。
              • 2: 高音质。采样率为 32 kHz,录制 10 分钟的文件大小为 3.75 M 左右。
              • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index 9c065734810..9e6926bae80 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -14,7 +14,7 @@

                public abstract int startAudioRecording(AudioFileRecordingConfig config); - public abstract startAudioRecording(filePath: string, quality: Constants.AUDIO_RECORDING_QUALITY_TYPE): number; + public abstract startAudioRecordingWithConfiguration(config: AudioRecordingConfiguration): number; - (int)startAudioRecordingWithConfig:(AgoraAudioRecordingConfiguration * _Nonnull)config; virtual int startAudioRecording(const AudioFileRecordingConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita index 1e5b9528ab3..ea612240c9d 100644 --- a/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita @@ -56,7 +56,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita b/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita index 52713bd83cd..95ef3072813 100644 --- a/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita +++ b/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita @@ -43,13 +43,13 @@

                SDK 不支持 publishCameraTrackpublishCustomVideoTrack 同时为 ,也不支持 publishMicrophoneTrackpublishCustomAudioTrack 同时为 。你可以根据场景需求设置媒体选项 ()。示例如下:

                如果你想推送主播端采集的音视频流,请将媒体选项进行如下设置:

                  -
                • publishCustomAudioTrack 设为 并调用
                • +
                • publishCustomAudioTrack 设为 并调用
                • publishCustomAudioTrack 设为 并调用
                • publishCustomVideoTrack 设为 并调用
                • 确保 publishCameraTrack (默认值)
                • 确保 publishMicrophoneTrack (默认值)
                -

                自 v4.2.0 起,SDK 支持推送纯音频流。你可以在 中将 publishCustomAudioTrack 或者 publishMicrophoneTrack 设为 ,并调用 即可推送纯音频流。 +

                自 v4.2.0 起,SDK 支持推送纯音频流。你可以在 中将 publishCustomAudioTrack 或者 publishMicrophoneTrack 设为 ,并调用 即可推送纯音频流。 自 v4.2.0 起,SDK 支持推送纯音频流。你可以在 中将 publishCustomAudioTrack 或者 publishMicrophoneTrack 设为 ,并调用 即可推送纯音频流。 在向 CDN 直接推流时,SDK 目前仅支持推送一路音频流及视频流,或一路纯音频流。

                diff --git a/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita b/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita index 849b311a302..57113e81fbb 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita @@ -58,7 +58,7 @@
              • 在 Windows 平台上,最多支持 4 路摄像头采集的视频流 + 4 路屏幕共享流合图。
              • 在 macOS 平台上,最多支持 4 路摄像头采集的视频流 + 1 路屏幕共享流合图。
              • 在 Android 和 iOS 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
              • -
              • 在 Android 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
              • +
              • 在 Android 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
              • 在 iOS 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
            • 在进行合图配置时,需确保采集人像的摄像头视频流在合图中的图层编号大于屏幕共享流的图层编号,否则人像会被屏幕共享覆盖、无法显示在最终合图的视频流中。
            diff --git a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index b5250002011..baced027197 100644 --- a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -55,7 +55,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index 4ba8af59e5a..8ee3bcf7c4f 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -72,7 +72,7 @@ parameters - screenCaptureParameters + screenCaptureParameters captureParams 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2,073,600 像素。该像素值为计费标准。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita index 4b6426be36a..2c3aca63773 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera.dita @@ -32,7 +32,7 @@
            • 该方法仅适用于 Android 和 iOS。
            • 该方法必须在摄像头成功开启后调用,即 SDK 触发 回调,返回本地视频状态为 (1) 后。
            • 该方法仅会对第一路摄像头采集的视频流进行摄像头切换操作,即调用 时设置为 (0) 的视频源。
            • -
            • 该方法和 均用于切换摄像头,区别在于 通过指定摄像头 ID 切换到特定的摄像头,该方法则切换摄像头的方向(前置或后置)。
            • +
            • 该方法和 均用于切换摄像头,区别在于 通过指定摄像头 ID 切换到特定的摄像头,该方法则切换摄像头的方向(前置或后置)。
          diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita index 80da3eab30e..d95da296de5 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita @@ -46,7 +46,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita index 69a3fc66df1..66fed16fbf2 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -43,7 +43,7 @@ 参数 - screenCaptureParameters + screenCaptureParameters captureParams 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2073600 像素。该像素值为计费标准。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita index 94429b251bc..690e81e7ced 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita @@ -62,7 +62,7 @@
        • 0: 方法调用成功。
        • < 0: 方法调用失败。详见了解详情和解决建议。
        -
          +
          • 方法调用成功,返回 对象。
          • 方法调用失败,则返回
    diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita index fe0a06124fb..9fc80744a0d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita @@ -46,7 +46,7 @@ 参数 - muted + muted mute

    是否取消订阅所有远端用户的音频流: diff --git a/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita index eaf62ff6295..da01176e93b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita @@ -40,7 +40,7 @@ 参数 - muted + muted mute

    是否取消发布本地音频流。 diff --git a/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita b/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita index 00a81b0dcdc..c8e34475189 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita @@ -41,7 +41,7 @@ 参数 - muted + muted mute 是否将录音信号静音:

    • : 静音。
    • diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita index 675a2a722eb..75e8eec9116 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita @@ -49,7 +49,7 @@ mute - muted + muted

      是否停止接收指定音频流:

        diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita index 37712235b98..9e8ddb4bf2a 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita @@ -53,7 +53,7 @@ mute - muted + muted

        是否停止接收某个远端用户的视频: diff --git a/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita b/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita index 5615ca73341..462c21af1b6 100644 --- a/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita @@ -60,7 +60,7 @@ 数据流 ID。可以通过 获取。 - message + message data 待发送的数据。 diff --git a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita index 0ec54ad4341..3405e12b240 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita @@ -64,7 +64,7 @@ renderMode

        远端视图显示模式,详见

        -

        远端视图显示模式: +

        远端视图显示模式:

        @@ -74,7 +74,7 @@ mirrorMode

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

        -

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

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

        diff --git a/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita index 7d4cef163a9..ae7982fbf54 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita @@ -59,7 +59,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita index d6ff64de322..2e38fb4cf9b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita @@ -58,7 +58,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita index 830cc6ba7ff..a802ccbc30d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita @@ -49,7 +49,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita b/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita index d3a630a6ff8..836b0b9000d 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita @@ -31,7 +31,7 @@
    返回值 -

    高级功能名称和该功能的开/关状态。详见 高级功能的名称,包含 LBHQ(低码率的高清视频功能)和 VEO(优化的视频编码器功能)以及该功能的开/关状态。

    +

    高级功能名称和该功能的开/关状态。详见 高级功能的名称,包含 LBHQ(低码率的高清视频功能)和 VEO(优化的视频编码器功能)以及该功能的开/关状态。

    diff --git a/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita b/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita index 66b00a3e1aa..18137d96d55 100644 --- a/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita +++ b/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita @@ -47,7 +47,7 @@ mirrorMode 视频镜像模式,详见 。 -

    +

    diff --git a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita index b31955b8fd1..9bde1889ff8 100644 --- a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita +++ b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita @@ -47,7 +47,7 @@ 参数 - buffer + buffer frameData frameBuffer frameBufferPtr @@ -62,19 +62,19 @@ info 编码后音频的信息。详见 - + - + - + - + codecType 音频编码类型: diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index 7bd129bbbe0..eab37ff7ad7 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -52,7 +52,7 @@ uid - userId + userId 订阅的远端用户的 ID。 @@ -62,7 +62,7 @@ 音频原始数据。详见 - + diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita index 558ee0bc4e5..9652e7aa530 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita @@ -51,7 +51,7 @@ 音频原始数据。详见 - + type 音频数据的类型。 diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index 3da04931e5a..159576dbc5c 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -58,7 +58,7 @@ 频道 ID。 - + type 音频数据的类型。 diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita index 0d3b340db0d..4f101188679 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita @@ -57,7 +57,7 @@ 频道 ID。 - + channelId 频道 ID。 diff --git a/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita b/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita index 238afe65bce..ea469418cd8 100644 --- a/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita +++ b/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita @@ -44,10 +44,10 @@ 详见
    -
    +
    返回值 -

    根据你在 中设置的 mode 使用音频数据后,在此返回值中传入该音频数据。

    +

    根据你在 中设置的 mode 使用音频数据后,在此返回值中传入该音频数据。

    无实际含义。

    diff --git a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita index 64dcd79b800..b2582f27ecf 100644 --- a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita +++ b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita @@ -44,7 +44,7 @@ 参数 - userAudioSpectrumInfos + userAudioSpectrumInfos AudioSpectrumInfo spectrums 远端用户的音频频谱信息,详见 。 数组数量等于 SDK 监测到的远端用户数量,数组为空表示没有监测到远端用户的音频频谱。 diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita index ac17eaa833e..7ef736bb02d 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita @@ -37,7 +37,7 @@ - + type 媒体附属信息数据类型,详见 diff --git a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita index 3499bd0163d..529e62ededd 100644 --- a/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita +++ b/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita @@ -56,7 +56,7 @@ state 当前的录制状态。详见 - 当前的录制状态: + 当前的录制状态:
      @@ -68,7 +68,7 @@ error 录制状态出错的原因。详见 - 录制状态出错的原因: + 录制状态出错的原因:
        diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index dcd1d98f299..02f6a94d1bb 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -31,8 +31,8 @@
        参数 - - buffer + + buffer data 接收到的数据。 @@ -40,8 +40,8 @@ uid 用户 ID。 - - timestampMs + + timestampMs timestamp 时间戳。 diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita index 5de2cb77aba..bd6649adfc3 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita @@ -35,8 +35,8 @@
        参数 - - timeStampMs + + timeStampMs timestamp 时间戳。 @@ -63,7 +63,7 @@
      • buffer:metadata 数据。
      • timeStampMs:metadata 发送时的 NTP 时间戳(ms)。

      -

      指定想要发送的 metadata,格式为 byte[]。请确保在该返回值中进行传参。

      +

      指定想要发送的 metadata,格式为 byte[]。请确保在该返回值中进行传参。

    diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita index 498af95cda3..b543aab632e 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita @@ -52,7 +52,7 @@ reason

    音乐内容中心的请求状态码,详见

    -

    音乐内容中心的请求状态码: +

    音乐内容中心的请求状态码:

    • (0):请求成功。
    • (1):一般错误,无明确归因。
    • @@ -71,7 +71,7 @@ - list + list result 当前可播放的音乐榜单列表。详见 diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita index 31b36af0689..232818807fc 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita @@ -53,20 +53,20 @@ - + page 当前页面编号,默认从 1 开始。 - + pageSize 每页所展示的音乐资源的最大数量,最大值为 50。 - + total 列表内音乐资源的总数量。 - list + list result 音乐资源列表的详细信息。详见 diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita index fc316d7a404..079432c4729 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita @@ -76,7 +76,7 @@ state

      当前音乐资源的加载状态。详见

      -

      当前音乐资源的加载状态: +

      当前音乐资源的加载状态:

      • 0:音乐资源加载完成。
      • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index 525f76f3e66..c39f8a9ce20 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -43,7 +43,7 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; state 音乐文件播放状态。详见 -

        +

        • (710): 音乐文件正常播放。
        • (711): 音乐文件暂停播放。
        • @@ -58,7 +58,7 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; reasonCode reason 错误码。详见 -

          +

          • (0): 正常。
          • (701): 音乐文件打开出错。
          • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita index 6e374e5904f..4d8f9d1b6c4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita @@ -77,7 +77,7 @@ elapseSinceLastState:(int)elapseSinceLastState; oldState 之前的订阅状态,详见 - 之前的订阅状态。 + 之前的订阅状态。 @@ -114,7 +114,7 @@ elapseSinceLastState:(int)elapseSinceLastState; newState 当前的订阅状态,详见 - 当前的订阅状态。 + 当前的订阅状态。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita index ed9f62b529f..5c93f61b114 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita @@ -66,14 +66,14 @@ NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)); oldRole 切换前的角色: -
              +
              newRole 切换后的角色: -
                +
                diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index 1221081983a..f91e0af01ef 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -60,7 +60,7 @@ reason 切换用户角色失败的原因。详见 - 切换用户角色失败的原因。 + 切换用户角色失败的原因。
                • (1): 频道内主播人数达到上限。 该枚举仅在开启 128 人功能后报告。主播人数的上限根据开启 128 人功能时实际配置的人数而定。
                • @@ -72,7 +72,7 @@ currentRole 当前用户角色。详见 - 当前用户角色。 + 当前用户角色。
                  • (1): 主播。主播可以发流也可以收流。
                  • (2): 观众。观众只能收流不能发流。
                  • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita index 404669091f9..997264727d0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita @@ -56,7 +56,7 @@ state

                    当前网络连接状态。详见

                    -
                      +
                      • (1):网络连接断开。
                      • @@ -73,7 +73,7 @@ reason

                        引起当前网络连接状态改变的原因。详见

                        -

                        +

                        • (0):建立网络连接中。
                        • (1):成功加入频道。
                        • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita index 153eb77ea00..faae4ed2cef 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita @@ -34,7 +34,7 @@ result 鉴黄结果。详见 - +

                          鉴黄结果: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita index aaa45a2c7ae..1495aa830d7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita @@ -53,7 +53,7 @@ errorType 错误类型,详见 - + errorType 错误类型。

                            diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index 25663c627c0..1d66fae9583 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -49,7 +49,7 @@ msg 错误描述。 - + err 错误码。 @@ -70,7 +70,7 @@
                              -
                            • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                            • +
                            • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                            • 使用内置加密时,设置的加密模式不正确,或加载外部加密库失败。请检查加密的枚举值是否正确,或重新加载外部加密库。
                          • (5):方法调用被拒绝。可能的原因有: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita index a737dfd11b0..fb38512d93b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita @@ -81,8 +81,8 @@ height 摄像头采集画面的高度 (px)。 - - faceRectArr + + faceRectArr faces 检测到的人脸信息,详见 。检测到几张人脸,就会报告几个 数组。数组长度可以为 0,表示没有检测到摄像头前出现人脸。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita index d7bcc947055..077dca047f8 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita @@ -55,7 +55,7 @@ state 当前的本地音频状态。详见 - 当前的本地音频状态。 + 当前的本地音频状态。
                            • (0): 本地音频默认初始状态。
                            • (1): 本地音频采集设备启动成功。
                            • @@ -66,7 +66,7 @@ reason 本地音频状态改变原因。详见 - 本地音频状态改变原因。 + 本地音频状态改变原因。
                              • (0): 本地音频状态正常。
                              • (1): 本地音频出错原因不明确。建议提示用户尝试重新加入频道。
                              • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index c063d9aad3d..d736a569dc4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -77,7 +77,7 @@ state

                                本地视频状态,详见

                                -

                                +

                                • (0): 本地视频默认初始状态。
                                • (1): 本地视频采集设备启动成功。
                                • @@ -90,7 +90,7 @@ reason

                                  本地视频状态改变原因,详见

                                  -

                                  +

                                  • (0): 本地视频状态正常。
                                  • (1): 出错原因不明确。
                                  • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita index bfc1ad9b010..f0837907acc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita @@ -57,7 +57,7 @@ error errorCode 本地合图出错原因。详见 - 本地合图出错原因: + 本地合图出错原因:
                                    • 1:指定的视频源未开始进行视频采集,你需要为其创建视频轨道并开始视频采集。
                                    • 2:视频源类型无效,你需要重新指定支持的视频源类型。
                                    • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita index 4e8af1afe55..dd00ccfce31 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita @@ -45,7 +45,7 @@ type

                                      本地网络连接类型。详见

                                      -

                                      网络连接类型: +

                                      网络连接类型: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita index 34771107798..fde016ea385 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita @@ -37,11 +37,11 @@ - permission + permission type permissionType 设备权限类型。详见 - 设备权限类型。 + 设备权限类型。

                                      • (0): 音频采集设备的权限。
                                      • (1): 摄像头权限。
                                      • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita index 0bcddad03ef..9c7f58c57a5 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita @@ -58,10 +58,10 @@ uid 用户 ID - + proxyType 连接上的代理类型。详见 - 连接上的代理类型。 + 连接上的代理类型。
                                        • (0): 预留参数,暂不支持。
                                        • (1): UDP 协议的云代理,即 Force UDP 云代理模式。在该模式下,SDK 始终通过 UDP 协议传输数据。
                                        • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita index c01b62bdef3..0c9fd24b7f2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita @@ -72,7 +72,7 @@ state 远端音频流状态,详见 - 远端音频流状态。 + 远端音频流状态。
                                          • (0): 远端音频默认初始状态。在 的情况下,会报告该状态。
                                          • @@ -85,7 +85,7 @@ reason 远端音频流状态改变的具体原因,详见 - 远端音频流状态改变的具体原因。 + 远端音频流状态改变的具体原因。
                                            • (0): 音频状态发生改变时,会报告该原因。
                                            • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita index 68163b9dbed..5e0bb9ac8a0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita @@ -72,7 +72,7 @@ state

                                              远端视频流状态,详见

                                              -

                                              远端视频流状态: +

                                              远端视频流状态:

                                              • (0):远端视频默认初始状态。在 (3)、 (5) 或 (7) 的情况下,会报告该状态。
                                              • (1):本地用户已接收远端视频首包。
                                              • @@ -86,7 +86,7 @@ reason

                                                远端视频流状态改变的具体原因,详见

                                                -

                                                远端视频流状态改变的具体原因: +

                                                远端视频流状态改变的具体原因:

                                                • (0):内部原因。
                                                • (1):网络阻塞。
                                                • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita index 7e5b6f0ceed..4a2873df905 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita @@ -45,7 +45,7 @@ state 当前的虚拟节拍器状态,详见 - + state 当前的虚拟节拍器状态。
                                                    @@ -59,7 +59,7 @@ errorCode 虚拟节拍器发生错误的错误码和错误信息,详见 - 虚拟节拍器发生错误的错误码和错误信息。 + 虚拟节拍器发生错误的错误码和错误信息。
                                                    • (0): 正常播放节拍音频文件,没有错误。
                                                    • (1): 一般性错误,没有明确原因。
                                                    • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita index c4478183c32..6c6f2cd0435 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita @@ -37,9 +37,9 @@ eventCode - event + event 旁路推流事件码。详见 - 旁路推流事件码。 + 旁路推流事件码。
                                                      • (1): 旁路推流时,添加背景图或水印出错。
                                                      • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita index 9e4612913a0..7c8f20b3c09 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita @@ -59,7 +59,7 @@ state 当前的推流状态,详见 - 当前的推流状态: + 当前的推流状态: @@ -82,7 +82,7 @@ reason 推流状态改变的原因,详见 - 推流状态改变的原因。 + 推流状态改变的原因。
                                                        • (0):推流成功。
                                                        • (1):参数无效。请检查输入参数是否正确。
                                                        • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita index 2aa1cce1a32..ba53ab7f2bc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita @@ -48,7 +48,7 @@ status 输入的在线媒体流状态: - 输入的在线媒体流状态: + 输入的在线媒体流状态:
                                                          • 0: 外部视频流导入成功。
                                                          • 1: 外部视频流已存在。
                                                          • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index d2f4233ed17..e6a18602741 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -81,7 +81,7 @@ 合图视频流中布局信息的数量。 - info + info videoLayoutInfo layoutlist 某一路合图视频流的详细布局信息。详见 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index 61997fefdeb..429d6af9b2c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -65,7 +65,7 @@ reason

                                                            离线原因:

                                                            -

                                                            远端用户(通信场景)或主播(直播场景)下线的原因: +

                                                            远端用户(通信场景)或主播(直播场景)下线的原因:

                                                            • (0):用户主动离开。此时离开频道的用户会发送一个类似“再见”的消息。收到该消息是,SDK 判定该用户离开频道。
                                                            • (1):因过长时间收不到对方数据包,SDK 判定该远端用户超时掉线。注意:在网络连接不稳定时,该判定 可能会有误。建议使用实时消息 SDK 来做可靠的掉线检测。
                                                            • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita index b34855edfa2..7409e1f7e98 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita @@ -58,7 +58,7 @@ sourceType - source + source 视频源的类型。详见 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita index be5850d6e32..1939e1699dc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -78,7 +78,7 @@ oldState 之前的订阅状态,详见 - 之前的订阅状态。 + 之前的订阅状态。
                                                              • (0): 加入频道后的初始订阅状态。
                                                              • (1): 订阅失败。可能是因为: @@ -103,7 +103,7 @@ newState 当前的订阅状态,详见 - 当前的订阅状态。 + 当前的订阅状态。
                                                                • (0): 加入频道后的初始订阅状态。
                                                                • (1): 订阅失败。可能是因为: diff --git a/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita b/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita index 9bd9353fa91..bc8852ce601 100644 --- a/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita +++ b/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita @@ -52,7 +52,7 @@ videoData imageBuffer imageBufferPtr - buffer + buffer 视频图像 buffer。 视频图像数据。 @@ -61,7 +61,7 @@ 视频图像的数据长度。 - info + info videoFrameInfo videoEncodedFrameInfo 编码后的视频帧信息,详见 diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index bd4762056cd..e0534a4089a 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -35,7 +35,7 @@
                                                                  返回值

                                                                  设置 SDK 输出的原始数据格式。详见

                                                                  -
                                                                    +
                                                                    • (0): 原始视频像素格式。
                                                                    • (1): I420 格式。
                                                                    • (2): BGRA 格式。
                                                                    • diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita index 84347fcd146..ed8b36f5c43 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita @@ -34,11 +34,11 @@
                                                                      <ph keyref="callback-section-title"/> - - frame + + frame

                                                                      视频帧信息。 - 详见 WebRTC VideoFrame 详见

                                                                      + 详见 WebRTC VideoFrame 详见

                                                                      diff --git a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index 58d3171000c..2388fecad2c 100644 --- a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -219,7 +219,7 @@ struct FLocalAccessPointConfiguration mode

                                                                      连接模式。详见

                                                                      -

                                                                      连接模式: +

                                                                      连接模式:

                                                                      • (0):SDK 优先尝试连接指定的声网私有媒体服务器;如果无法连接到指定的声网私有媒体服务器,则连接声网 SD-RTN™。
                                                                      • (1):SDK 只尝试连接指定的声网私有媒体服务器。
                                                                      • diff --git a/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita b/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita index 3226f3f165e..85d6cdfdfdb 100644 --- a/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita +++ b/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita @@ -88,7 +88,7 @@ struct FAudioEncodedFrameObserverConfig postionType

                                                                        音频编码内容。详见

                                                                        -

                                                                        音频编码内容: +

                                                                        音频编码内容:

                                                                        • (1):仅编码本地用户的音频。
                                                                        • @@ -101,7 +101,7 @@ struct FAudioEncodedFrameObserverConfig encodingType

                                                                          音频编码类型。详见

                                                                          -

                                                                          音频编码类型: +

                                                                          音频编码类型:

                                                                          • :AAC 编码格式,16000 Hz 采样率,低音质。音频时长为 10 分钟的文件编码后大小约为 1.2 MB。
                                                                          • diff --git a/dita/RTC-NG/API/class_audioframe.dita b/dita/RTC-NG/API/class_audioframe.dita index 09dafbae3f1..269540dfc3e 100644 --- a/dita/RTC-NG/API/class_audioframe.dita +++ b/dita/RTC-NG/API/class_audioframe.dita @@ -207,7 +207,7 @@ struct FAudioFrame { 每个采样点的字节数。对于 PCM 来说,一般使用 16 bit,即两个字节。 - channelschannelNums + channelschannelNums

                                                                            声道数量(如果是立体声,数据是交叉的)。

                                                                              @@ -218,7 +218,7 @@ struct FAudioFrame { samplesPerSec - sampleRataHz + sampleRataHz 每声道每秒的采样点数。 @@ -240,7 +240,7 @@ struct FAudioFrame { avsyncType avsync_type 保留参数。 - + timestamp 音频帧的时间戳。 diff --git a/dita/RTC-NG/API/class_audioparams.dita b/dita/RTC-NG/API/class_audioparams.dita index e54d1bcac17..09f71cd5182 100644 --- a/dita/RTC-NG/API/class_audioparams.dita +++ b/dita/RTC-NG/API/class_audioparams.dita @@ -154,7 +154,7 @@ mode 数据的使用模式。详见 - 数据的使用模式,取值如下: + 数据的使用模式,取值如下:
                                                                              • (0): 只读模式,用户仅从 获取原始数据,不作任何修改。例如: 若用户通过 SDK 采集数据,自己进行旁路推流,则可以选择该模式。
                                                                              • (2): 读写模式, 用户从 获取并修改数据,并返回给 SDK 进行编码传输。用户修改 SDK 返回的原始视频,并返回给 SDK 进行编码传输。例如: 若用户自己有音效处理模块,且想要根据实际需要对数据进行前处理(例如变声),则可以选择该模式。
                                                                              • diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index 77d4f814b71..a99f911c2b9 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -222,9 +222,9 @@ struct FAudioRecordingConfiguration

                                                                                请确保你指定的路径存在并且可写。

                                                                                - + encode - codec + codec 设置是否编码音频数据:
                                                                                • : 将音频数据用 AAC 编码。
                                                                                • @@ -249,7 +249,7 @@ struct FAudioRecordingConfiguration fileRecordOption

                                                                                  录音内容。详见

                                                                                  -

                                                                                  录音内容: +

                                                                                  录音内容:

                                                                                  • (1):仅录制本地用户的音频。
                                                                                  • (2):仅录制所有远端用户的音频。
                                                                                  • @@ -261,7 +261,7 @@ struct FAudioRecordingConfiguration quality

                                                                                    录音音质。详见

                                                                                    -

                                                                                    录音音质: +

                                                                                    录音音质:

                                                                                    • (0):低音质。例如,采样率为 32000 Hz,录音时长为 10 分钟的 AAC 文件大小约为 1.2 MB。
                                                                                    • (1):(默认)中音质。例如,采样率为 32000 Hz,录音时长为 10 分钟的 AAC 文件大小约为 2 MB。
                                                                                    • diff --git a/dita/RTC-NG/API/class_beautyoptions.dita b/dita/RTC-NG/API/class_beautyoptions.dita index 10a31ba6a69..3846b11fbcd 100644 --- a/dita/RTC-NG/API/class_beautyoptions.dita +++ b/dita/RTC-NG/API/class_beautyoptions.dita @@ -159,7 +159,7 @@ struct FBeautyOptions lighteningContrastLevel

                                                                                      对比度,常与 lighteningLevel 搭配使用。取值越大,明暗对比程度越大。详见 -

                                                                                        +
                                                                                        • (0):低对比度。
                                                                                        • (1):正常对比度。
                                                                                        • (2):高对比度。
                                                                                        • @@ -169,25 +169,25 @@ struct FBeautyOptions lighteningLevel -

                                                                                          美白程度,取值范围为 [0.0,1.0],其中 0.0 表示原始亮度,默认值为 0.70.60.0。取值越大,美白程度越大。

                                                                                          +

                                                                                          美白程度,取值范围为 [0.0,1.0],其中 0.0 表示原始亮度,默认值为 0.70.60.0。取值越大,美白程度越大。

                                                                                          smoothnessLevel -

                                                                                          磨皮程度,取值范围为 [0.0,1.0],其中 0.0 表示原始磨皮程度,默认值为 0.50.50.0。取值越大,磨皮程度越大。

                                                                                          +

                                                                                          磨皮程度,取值范围为 [0.0,1.0],其中 0.0 表示原始磨皮程度,默认值为 0.50.50.0。取值越大,磨皮程度越大。

                                                                                          rednessLevel -

                                                                                          红润度,取值范围为 [0.0,1.0],其中 0.0 表示原始红润度,默认值为 0.10.10.0。取值越大,红润程度越大。

                                                                                          +

                                                                                          红润度,取值范围为 [0.0,1.0],其中 0.0 表示原始红润度,默认值为 0.10.10.0。取值越大,红润程度越大。

                                                                                          sharpnessLevel -

                                                                                          锐化程度,取值范围为 [0.0,1.0],其中 0.0 表示原始锐度,默认值为 0.10.30.0。取值越大,锐化程度越大。

                                                                                          +

                                                                                          锐化程度,取值范围为 [0.0,1.0],其中 0.0 表示原始锐度,默认值为 0.10.30.0。取值越大,锐化程度越大。

                                                                      diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index f473f4a11ac..f1c42648e21 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -318,9 +318,9 @@ class CameraCapturerConfiguration {
                                                                    - + format - captureFormat + captureFormat (可选)视频帧格式。详见 diff --git a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index f7e3270d32c..fcd2a9e2cae 100644 --- a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -126,10 +126,10 @@ struct FChannelMediaRelayConfiguration }

                                                                  -
                                                                  +
                                                                  方法 - + setSrcChannelInfo 设置源频道信息。详见 @@ -138,15 +138,15 @@ struct FChannelMediaRelayConfiguration 设置目标频道信息。详见 - removeDestChannelInfo + removeDestChannelInfo removeDestinationInfoForChannelName 删除目标频道信息。详见 - + getSrcChannelMediaInfo 获取源频道信息。详见 - + getDestChannelMediaInfos 获取目标频道信息。详见 diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 290cbf26988..6f82e40881d 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -70,7 +70,7 @@ struct FClientRoleOptions audienceLatencyLevel 观众端延时级别。详见 -
                                                                    +
                                                                    • (1): 低延时。
                                                                    • (2): (默认)超低延时。
                                                                    diff --git a/dita/RTC-NG/API/class_codeccapinfo.dita b/dita/RTC-NG/API/class_codeccapinfo.dita index abdf189b28b..d3983fb4284 100644 --- a/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/dita/RTC-NG/API/class_codeccapinfo.dita @@ -101,7 +101,7 @@ class CodecCapInfo { codecType 视频编解码类型。详见 - +

                                                                    视频编解码类型:

                                                                    • 1:VP8。
                                                                    • diff --git a/dita/RTC-NG/API/class_codeccaplevels.dita b/dita/RTC-NG/API/class_codeccaplevels.dita index 301a69e9505..1c4ee4f8e6d 100644 --- a/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/dita/RTC-NG/API/class_codeccaplevels.dita @@ -82,7 +82,7 @@ class CodecCapLevels { hwDecodingLevel 硬件解码能力等级,表示设备能够对不同品质视频进行硬件解码的能力。详见 -
                                                                        +
                                                                        • (-1):不支持的视频类型。目前仅支持对 H.264 和 H.265 格式的视频进行查询,如果视频为其他格式,则返回该值。
                                                                        • (5):基本的编解码支持,即:对 1080p、30 fps 以下的视频进行编解码。
                                                                        • (10):最高支持对 1080p、30 fps 的视频进行编解码。
                                                                        • diff --git a/dita/RTC-NG/API/class_contentinspectconfig.dita b/dita/RTC-NG/API/class_contentinspectconfig.dita index 59c50ca3e7c..8da1200f181 100644 --- a/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -130,7 +130,7 @@ class ContentInspectConfig {
                                                                          参数 - + CONTENT_INSPECT_TYPE_INVALID 0:(默认)无实际功能。请不要将 type 设为该值。 @@ -138,11 +138,11 @@ class ContentInspectConfig { CONTENT_INSPECT_TYPE_MODERATION 1:视频鉴黄。SDK 会对本地用户发送的视频进行截图、鉴黄,并将截图和审核结果上传。 - + CONTENT_INSPECT_TYPE_SUPERVISE 2:使用声网自研插件截图上传。SDK 会对本地用户发送的视频进行截图并上传。 - + CONTENT_INSPECT_TYPE_IMAGE_MODERATION 3:使用云市场插件截图上传。SDK 会使用云市场视频审核插件对视频流进行截图并上传。 diff --git a/dita/RTC-NG/API/class_contentinspectmodule.dita b/dita/RTC-NG/API/class_contentinspectmodule.dita index 6d46cca887b..4abab55fe2a 100644 --- a/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -79,7 +79,7 @@ struct FContentInspectModule { type 功能模块的类型。详见 - +

                                                                          功能模块的类型:

                                                                          • (0):(默认)该功能模块无实际功能。请不要设为该值。
                                                                          • diff --git a/dita/RTC-NG/API/class_downlinknetworkinfo.dita b/dita/RTC-NG/API/class_downlinknetworkinfo.dita index 77f95ba9060..be2dafb3d42 100644 --- a/dita/RTC-NG/API/class_downlinknetworkinfo.dita +++ b/dita/RTC-NG/API/class_downlinknetworkinfo.dita @@ -26,12 +26,12 @@ <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - lastmile_buffer_delay_time_ms + lastmile_buffer_delay_time_ms lastmileBufferDelayTimeMs Lastmile 缓冲的网络延迟 (ms)。 - bandwidth_estimation_bps + bandwidth_estimation_bps bandwidthEstimationBps 网络带宽预估码率 (bps)。 diff --git a/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index 4d3b5e20e8b..f166f907959 100644 --- a/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -340,7 +340,7 @@ struct FEncodedVideoFrameInfo { codecType 视频编码类型,详见 。默认值为 (2) -

                                                                            视频编解码类型: +

                                                                            视频编解码类型:

                                                                            • (1):VP8。
                                                                            • (2):H.264。
                                                                            • @@ -366,7 +366,7 @@ struct FEncodedVideoFrameInfo { frameType 视频帧的类型,详见 - 视频帧的类型: + 视频帧的类型:
                                                                              • 0:(默认),空白帧。
                                                                              • @@ -379,7 +379,7 @@ struct FEncodedVideoFrameInfo { rotation 视频帧的旋转信息,详见 - 视频帧的旋转信息,取值如下: + 视频帧的旋转信息,取值如下:
                                                                                • 0:(默认)不旋转。
                                                                                • @@ -408,7 +408,7 @@ struct FEncodedVideoFrameInfo { streamType 视频流类型。详见 - +
                                                                                  • (0):视频大流,即高分辨率、高码率视频流。
                                                                                  • (1):视频小流,即低分辨率、低码率视频流。
                                                                                  • diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 85fe22a4cf5..b9632d14e09 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -239,7 +239,7 @@ class ExternalVideoFrame { }

                                                                          -
                                                                          +
                                                                          弃用:
                                                                          @@ -276,7 +276,7 @@ class ExternalVideoFrame {
                                                                        • 12: iOS 纹理 (CVPixelBufferRef)。
                                                                        • 16: I422。
                                                                        - 视频数据的格式: + 视频数据的格式:
                                                                        • 10:TEXTURE_2D。
                                                                        • @@ -289,10 +289,10 @@ class ExternalVideoFrame { buffer - buf + buf dataBuf 视频缓冲区。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 原始数据缓冲区,该参数不用于 iOS 纹理。 @@ -330,11 +330,11 @@ class ExternalVideoFrame { height 传入视频帧的高度。 - + textureID 该帧的 Texture ID。该参数仅适用于 Texture 格式的视频数据。 - + syncMode 设置是否开启同步模式,开启后 SDK 会在 Texture 处理时进行等待。该参数仅适用于 Texture 格式的视频数据。
                                                                            @@ -342,15 +342,15 @@ class ExternalVideoFrame {
                                                                          • :不开启同步模式。
                                                                          - + transform Texture 帧额外的转换。该参数仅适用于 Texture 格式的视频数据。 - + eglContext11 EGLContext11。该参数仅适用于 Texture 格式的视频数据。 - + eglContext14 EGLContext14。该参数仅适用于 Texture 格式的视频数据。 @@ -396,25 +396,25 @@ class ExternalVideoFrame { cropLeft 原始数据相关字段。指定左边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 cropTop 原始数据相关字段。指定顶边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 cropRight 原始数据相关字段。指定右边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 cropBottom 原始数据相关字段。指定底边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 diff --git a/dita/RTC-NG/API/class_lastmileproberesult.dita b/dita/RTC-NG/API/class_lastmileproberesult.dita index 710c0dd0cba..c76a1848cda 100644 --- a/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -125,7 +125,7 @@ struct FLastmileProbeResult { state

                                                                          Last mile 质量探测结果的状态。详见:

                                                                          -

                                                                          Last-mile 质量探测结果的状态,有如下几种: +

                                                                          Last-mile 质量探测结果的状态,有如下几种:

                                                                            diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index 4504c731fc1..6290ebe128a 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -745,7 +745,7 @@ struct FLiveTranscoding transcodingExtraInfo - userConfigExtraInfo + userConfigExtraInfo

                                                                            预留参数:用户自定义的发送到旁路推流客户端的信息,用于填充 H264/H265 视频中 SEI 帧内容。长度限制:4096 字节。关于 SEI 的详细信息,详见 SEI 帧相关问题

                                                                            @@ -764,9 +764,9 @@ struct FLiveTranscoding

                                                                          - + backgroundColor - +
                                                                          弃用
                                                                          @@ -778,10 +778,10 @@ struct FLiveTranscoding

                                                                          用于旁路直播的输出视频的背景色,格式为 RGB 定义下的十六进制整数,不要带 # 号,如 0xFFB6C1 表示浅粉色。默认0x000000,黑色。

                                                                          - + userCount -
                                                                          +
                                                                          弃用
                                                                          已废弃,不建议使用。请改用 方法。
                                                                          @@ -869,34 +869,34 @@ struct FLiveTranscoding 开启的高级功能数量。默认值为 0。
                                                                  -
                                                                  +
                                                                  方法 - + addBackgroundImage 添加背景图。详见 - + addUser 添加转码合图用户。详见 - + addWatermark 添加水印。详见 - + getAdvancedFeatures 获取转码推流高级功能的开/关状态。详见 - + getBackgroundColor 获取背景颜色。详见 - + getBackgroundImageList 获取背景图列表。详见 - + getBlue
                                                                  @@ -908,7 +908,7 @@ struct FLiveTranscoding

                                                                  获取背景蓝色分量。详见

                                                                  - + getGreen
                                                                  @@ -920,7 +920,7 @@ struct FLiveTranscoding

                                                                  获取背景绿色分量。详见

                                                                  - + getRed
                                                                  @@ -932,43 +932,43 @@ struct FLiveTranscoding

                                                                  获取背景红色分量。详见

                                                                  - + getUserCount 获取转码合图用户人数。详见 - + getUsers 获取参与合图的用户列表。详见 - + getWatermarkList 获取水印列表。详见 - + removeBackgroundImage 从背景图列表中删除一张背景图。详见 - + removeUser 删除转码合图用户。详见 - + removeWatermark 从水印列表中删除一个水印。详见 - + setAdvancedFeatures 设置是否启用转码推流的高级功能。详见 - + setBackgroundColor [1/2] 设置背景色。详见 - + setBackgroundColor [2/2] 设置背景色 RGB。详见 - + setBlue
                                                                  @@ -980,7 +980,7 @@ struct FLiveTranscoding

                                                                  设置背景蓝色分量。详见

                                                                  - + setGreen
                                                                  @@ -992,7 +992,7 @@ struct FLiveTranscoding

                                                                  设置背景绿色分量。详见

                                                                  - + setRed
                                                                  @@ -1004,11 +1004,11 @@ struct FLiveTranscoding

                                                                  设置背景红色分量。详见

                                                                  - + setUsers [1/2] 批量设置用户。详见 - + setUsers [2/2] 批量设置用户。详见 diff --git a/dita/RTC-NG/API/class_localspatialaudioconfig.dita b/dita/RTC-NG/API/class_localspatialaudioconfig.dita index 91503d83595..0fffa2388f6 100644 --- a/dita/RTC-NG/API/class_localspatialaudioconfig.dita +++ b/dita/RTC-NG/API/class_localspatialaudioconfig.dita @@ -52,7 +52,7 @@ struct FLocalSpatialAudioConfig rtcEngine - mRtcEngine + mRtcEngine
                                                                  diff --git a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index d1bf744ca50..2d03ec53f9b 100644 --- a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -110,7 +110,7 @@ class LocalTranscoderConfiguration { videoInputStreams - transcodingVideoStreams + transcodingVideoStreams 参与本地合图的视频流。详见 diff --git a/dita/RTC-NG/API/class_localvideostats.dita b/dita/RTC-NG/API/class_localvideostats.dita index 613f6a0cd8e..eaf9a1bbf66 100644 --- a/dita/RTC-NG/API/class_localvideostats.dita +++ b/dita/RTC-NG/API/class_localvideostats.dita @@ -462,7 +462,7 @@ struct FLocalVideoStats qualityAdaptIndication 统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况。详见 -

                                                                  +

                                                                  • (0): 本地视频质量不变。
                                                                  • (1): 因网络带宽增加,本地视频质量改善。
                                                                  • @@ -492,7 +492,7 @@ struct FLocalVideoStats codecType 视频的编码类型。详见 。 -

                                                                    +

                                                                    • (1):VP8。
                                                                    • (2):H.264。
                                                                    • @@ -513,7 +513,7 @@ struct FLocalVideoStats captureBrightnessLevel 本地采集的画质亮度级别。详见 - + captureBrightnessLevel 本地采集的画质亮度级别。
                                                                        diff --git a/dita/RTC-NG/API/class_logconfig.dita b/dita/RTC-NG/API/class_logconfig.dita index 837b4638f74..16ea5ef428a 100644 --- a/dita/RTC-NG/API/class_logconfig.dita +++ b/dita/RTC-NG/API/class_logconfig.dita @@ -104,7 +104,7 @@ struct FLogConfig {
                                                                    • Windows:C:\Users\<user_name>\AppData\Local\Agora\<process_name>\agorasdk.log

                                                                    -

                                                                    默认路径为 /storage/emulated/0/Android/data/<packagename>/files/agorasdk.log

                                                                    +

                                                                    默认路径为 /storage/emulated/0/Android/data/<packagename>/files/agorasdk.log

                                                                    默认路径为 AppSandbox/Library/caches/agorasdk.log

                                                                    默认路径为: diff --git a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 361f3be73d0..811d329c93e 100644 --- a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -110,7 +110,7 @@ struct FLowlightEnhanceOptions level 暗光增强等级。详见 -

                                                                      +
                                                                      • (0):(默认)优先画质的暗光增强,会处理视频图像的亮度、细节、噪声,消耗的性能适中,处理速度适中,综合画质最优。
                                                                      • (1):优先性能的暗光增强,会处理视频图像的亮度、细节,消耗的性能较少,处理速度较快。
                                                                      @@ -118,7 +118,7 @@ struct FLowlightEnhanceOptions mode 暗光增强模式。详见 -
                                                                        +
                                                                        • (0):(默认)自动模式。SDK 会根据环境光亮度自动开启或关闭暗光增强功能,以适时补光和防止过曝。
                                                                        • (1):手动模式。用户需手动开启或关闭暗光增强功能。
                                                                        diff --git a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index 3b74405c38d..035ff4be6cb 100644 --- a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -156,12 +156,12 @@ struct FMediaRecorderConfiguration containerFormat 录制文件的格式。详见 - 录制文件的格式,目前仅支持 + 录制文件的格式,目前仅支持 streamType 录制内容。详见 - 录制内容: + 录制内容:
                                                                        • :仅音频。
                                                                        • :仅视频。
                                                                        • diff --git a/dita/RTC-NG/API/class_music.dita b/dita/RTC-NG/API/class_music.dita index 2896151b024..d97d917e2d8 100644 --- a/dita/RTC-NG/API/class_music.dita +++ b/dita/RTC-NG/API/class_music.dita @@ -270,7 +270,7 @@ 音乐资源总时长 (秒)。 - lyricTypes + lyricTypes lyricList 支持的歌词类型:
                                                                            @@ -279,7 +279,7 @@
                                                                          - climaxSegments + climaxSegments climaxSegmentList 音乐高潮片段列表,详见 diff --git a/dita/RTC-NG/API/class_musiccacheinfo.dita b/dita/RTC-NG/API/class_musiccacheinfo.dita index 2891c7f51fd..31ef0e3e934 100644 --- a/dita/RTC-NG/API/class_musiccacheinfo.dita +++ b/dita/RTC-NG/API/class_musiccacheinfo.dita @@ -73,7 +73,7 @@ class MusicCacheInfo { status statusType

                                                                          音乐资源的缓存状态,详见

                                                                          -

                                                                          音乐资源的缓存状态: +

                                                                          音乐资源的缓存状态:

                                                                          • (0):音乐资源已缓存。
                                                                          • (1):音乐资源正在缓存。

                                                                          diff --git a/dita/RTC-NG/API/class_musicchartinfo.dita b/dita/RTC-NG/API/class_musicchartinfo.dita index 2662afa6de7..74afa74bab4 100644 --- a/dita/RTC-NG/API/class_musicchartinfo.dita +++ b/dita/RTC-NG/API/class_musicchartinfo.dita @@ -77,12 +77,12 @@ chartName - name + name 榜单名。 identify - type + type id 音乐榜单的 ID。 diff --git a/dita/RTC-NG/API/class_playerstreaminfo.dita b/dita/RTC-NG/API/class_playerstreaminfo.dita index 1379173969b..072bdf9e0d6 100644 --- a/dita/RTC-NG/API/class_playerstreaminfo.dita +++ b/dita/RTC-NG/API/class_playerstreaminfo.dita @@ -244,9 +244,9 @@ struct FPlayerStreamInfo streamType - mediaStreamType + mediaStreamType 此条媒体流的类型。详见 -
                                                                            +
                                                                            • (0): 未知类型。
                                                                            • (1): 视频流。
                                                                            • (2): 音频流。
                                                                            • @@ -290,9 +290,9 @@ struct FPlayerStreamInfo audioChannels 该参数仅对音频流生效,表示声道数。 - + audioBitsPerSample - audioBytesPerSample + audioBytesPerSample 该参数仅对音频流生效,表示每个音频采样点的位数 (bit)。 diff --git a/dita/RTC-NG/API/class_remotevideostats.dita b/dita/RTC-NG/API/class_remotevideostats.dita index 7945dbf3d8b..4317f1f454b 100644 --- a/dita/RTC-NG/API/class_remotevideostats.dita +++ b/dita/RTC-NG/API/class_remotevideostats.dita @@ -370,7 +370,7 @@ class RemoteVideoStats { rxStreamType 视频流类型,大流或小流。详见 -

                                                                              +

                                                                              • (0):视频大流,即高分辨率高码率的视频流。
                                                                              • (1):视频小流,即低分辨率低码率的视频流。
                                                                              • diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index b312eed4a27..a0cc16e4577 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -189,28 +189,28 @@ class RtcEngineContext {
                                                                                <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - + eventHandler - mEventHandler + mEventHandler 的事件句柄,详见 appId - mAppId + mAppId 声网为 App 开发者签发的 App ID。 使用同一个 App ID 的 App 才能进入同一个频道进行通话或直播。一个 App ID 只能用于创建一个 。如需更换 App ID,必须先调用 销毁当前 再重新创建。 - + context - mContext + mContext
                                                                                • Windows 平台上,context 是视窗句柄。如设值,则表示支持设备热插拔。
                                                                                • Android 平台上,context 是安卓活动上下文。
                                                                                -

                                                                                安卓活动上下文。

                                                                                +

                                                                                安卓活动上下文。

                                                                                - + mNativeLibPath

                                                                                指定 .so 文件的存储目录。存储目录必须为有效的 App 的私有目录,可以通过 Context.getDir() 获取。

                                                                                @@ -226,23 +226,23 @@ class RtcEngineContext {
                                                                                channelProfile - mChannelProfile + mChannelProfile audioScenario - mAudioScenario + mAudioScenario areaCode - mAreaCode + mAreaCode 服务器的访问区域。该功能为高级设置,适用于有访问安全限制的场景。支持的区域详见 。区域码支持位操作。 指定访问区域后,集成了 SDK 的 App 会连接指定区域内的声网服务器。 logConfig - mLogConfig + mLogConfig

                                                                                设置 SDK 输出的日志文件。详见

                                                                                默认情况下,SDK 会生成 5 个 SDK 日志文件和 5 个 API 调用日志文件,规则如下:

                                                                                @@ -250,12 +250,12 @@ class RtcEngineContext {
                                                                              - + mExtensionList 插件列表。 - - mExtensionObserver + + mExtensionObserver eventDelegate 实例。 @@ -264,7 +264,7 @@ class RtcEngineContext { 实例。 - mDomainLimit + mDomainLimit domainLimit

                                                                              是否开启域名限制: @@ -275,7 +275,7 @@ class RtcEngineContext { - mAutoRegisterAgoraExtensions + mAutoRegisterAgoraExtensions autoRegisterAgoraExtensions

                                                                              是否在初始化 时自动注册声网插件: @@ -286,7 +286,7 @@ class RtcEngineContext {

                                                                  -
                                                                  +
                                                                  方法 diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index 701043480d5..cca368b7ed9 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -508,7 +508,7 @@ public: duration - totalDuration + totalDuration 本地用户通话时长(秒),累计值。 @@ -573,7 +573,7 @@ public: userCount - users + users 当前频道内的用户人数。 diff --git a/dita/RTC-NG/API/class_screenaudioparameters.dita b/dita/RTC-NG/API/class_screenaudioparameters.dita index 1505fe6f821..7ad55b3eb09 100644 --- a/dita/RTC-NG/API/class_screenaudioparameters.dita +++ b/dita/RTC-NG/API/class_screenaudioparameters.dita @@ -122,7 +122,7 @@ struct FScreenAudioParameters { captureSignalVolume 采集的系统音量。取值范围为 [0,100]。默认值为 100。 - + allowCaptureCurrentApp 是否采集当前 App 中的音频:
                                                                    diff --git a/dita/RTC-NG/API/class_screencaptureparameters2.dita b/dita/RTC-NG/API/class_screencaptureparameters2.dita index e63e93c3811..d3afc80f1a2 100644 --- a/dita/RTC-NG/API/class_screencaptureparameters2.dita +++ b/dita/RTC-NG/API/class_screencaptureparameters2.dita @@ -213,7 +213,7 @@ struct FScreenCaptureParameters2 该参数仅在 captureVideo 时生效。
                                                                  -
                                                                  +
                                                                  diff --git a/dita/RTC-NG/API/class_screenvideoparameters.dita b/dita/RTC-NG/API/class_screenvideoparameters.dita index 27d2a0317a9..b8b182210ea 100644 --- a/dita/RTC-NG/API/class_screenvideoparameters.dita +++ b/dita/RTC-NG/API/class_screenvideoparameters.dita @@ -133,7 +133,7 @@ struct FScreenVideoParameters {

                                                                  -

                                                                  仅适用于 captureVideo 的场景。

                                                                  +

                                                                  仅适用于 captureVideo 的场景。

                                                                  <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> @@ -163,7 +163,7 @@ struct FScreenVideoParameters {
                                                                - + width 视频编码分辨率中的宽 (px)。默认值为 1280。如果 width 和 height 的宽高比与屏幕像素值的宽高比不一致,SDK 会按照如下规则调节视频编码分辨率, 以 width × height 是 1280 × 720 为例:
                                                                  @@ -187,7 +187,7 @@ struct FScreenVideoParameters {
                                                                - + height 视频编码分辨率中的高 (px)。默认值为 720。如果 width 和 height 的宽高比与屏幕像素值的宽高比不一致,SDK 会按照如下规则调节视频编码分辨率,以 width × height 是 1280 × 720 为例:
                                                                  @@ -212,7 +212,7 @@ struct FScreenVideoParameters { - framerate + framerate frameRate 视频编码帧率 (fps)。默认值为 15。 @@ -223,7 +223,7 @@ struct FScreenVideoParameters { contentHint 屏幕共享视频的内容类型。详见 -
                                                                    +
                                                                    • (0):(默认)无指定的内容类型。
                                                                    • (1):内容类型为动画。当共享的内容是视频、电影或视频游戏时,推荐选择该内容类型。
                                                                    • (2):内容类型为细节。当共享的内容是图片或文字时,推荐选择该内容类型。
                                                                    • diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index deebd79af55..964337dee02 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -100,7 +100,7 @@ struct FSegmentationProperty modelType 进行背景处理的算法。详见 -
                                                                        +
                                                                        • (1): (默认) 适用于所有场景下的背景处理算法。
                                                                        • (2): 仅适用于绿幕背景下的背景处理算法。
                                                                        diff --git a/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/dita/RTC-NG/API/class_useraudiospectruminfo.dita index 7f66b04a989..cfda2556d3c 100644 --- a/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -73,7 +73,7 @@ struct FUserAudioSpectrumInfo { 远端用户 ID。 - audioSpectrumInfo + audioSpectrumInfo audioSpectrumData spectrumData diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 8851c809a35..f77f0e0a632 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -268,14 +268,14 @@ class VideoCanvas { view - 视频显示窗口。必须为一个 对象。 + 视频显示窗口。必须为一个 对象。 在一个 中,你只能选择 viewsurfaceTexture 其中一个进行设置,如果同时设置,只有 view 中的设置会生效。 视频图像。你需要定义 UImage 类型的指针,并传入该参数,示例代码如下: agora::rtc::VideoCanvas videoCanvas; UImage* LocalVideo; videoCanvas.view = LocalVideo; - + surfaceTexture 提供视频图像的容器,当你使用该成员时,需要自行实现 OPENGL 中的纹理绘制。详见 在一个 中,你只能选择 viewsurfaceTexture 其中一个进行设置,如果同时设置,只有 view 中的设置会生效。 @@ -283,13 +283,13 @@ class VideoCanvas { renderMode 视频渲染模式,详见 -
                                                                        +
                                                                        mirrorMode

                                                                        视图镜像模式,详见

                                                                        -

                                                                        +

                                                                        @@ -313,7 +313,7 @@ class VideoCanvas { setupMode 视图设置模式。详见 - 视图设置模式: + 视图设置模式:
                                                                        • (0): (默认) 替换一个视图。
                                                                        • (1): 增加一个视图。
                                                                        • @@ -325,7 +325,7 @@ class VideoCanvas { 媒体播放器 ID。可通过 获取。 sourceType 时,此参数为必填项。 - + rect (可选)视频帧的展示区域。详见 。其中,widthheight 表示该区域的视频像素宽度和高度。默认值为空值 (宽或高为 0),表示展示实际分辨率的视频帧。 diff --git a/dita/RTC-NG/API/class_videodenoiseroptions.dita b/dita/RTC-NG/API/class_videodenoiseroptions.dita index 743025672b2..32d25a361c8 100644 --- a/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -110,7 +110,7 @@ struct FVideoDenoiserOptions level 视频降噪等级。详见 -
                                                                            +
                                                                            • (0):(默认)优先画质的暗光增强,会处理视频图像的亮度、细节、噪声,消耗的性能适中,处理速度适中,综合画质最优。
                                                                            • (1):优先性能的视频降噪。是在性能消耗和视频降噪效果中侧重于节省性能的等级。性能消耗较少,视频降噪速度较快。为避免处理后的视频有明显的拖影效果,建议你在摄像头固定的情况下使用该设置。
                                                                            • (2):强效的视频降噪。是在性能消耗和视频降噪效果中侧重于视频降噪效果的等级。性能消耗较多,视频降噪速度较慢,视频降噪效果较好。如果 不能满足你的视频降噪需求,你可以使用该设置。
                                                                            • @@ -120,7 +120,7 @@ struct FVideoDenoiserOptions mode 视频降噪模式。详见 -
                                                                                +
                                                                                • (0):(默认)自动模式。SDK 会根据环境光亮度自动开启或关闭视频降噪功能。
                                                                                • (1):手动模式。用户需手动开启或关闭视频降噪功能。
                                                                                diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index 61f3017162e..19282114c9c 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -618,7 +618,7 @@ struct FVideoEncoderConfiguration mirrorMode

                                                                                发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。详见

                                                                                -

                                                                                发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。 +

                                                                                发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。

                                                                                • (0):SDK 决定镜像模式。默认关闭远端用户的镜像模式。
                                                                                • (1):开启远端用户的镜像模式。
                                                                                • diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 308ebc514dd..532c2bf96b8 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -609,7 +609,7 @@ class VideoFrame { TextureBuffer Texture 视频帧的缓冲区,可以为 OES 或 RGB 格式。 - + buffer 该参数不可为空,否则会发生异常。缓冲区的数据。与该参数相关的方法如下所示: @@ -631,7 +631,7 @@ class VideoFrame { renderTimeMs 视频帧被渲染时的 Unix 时间戳(毫秒)。该时间戳可用于指导渲染视频帧。该参数为必填。 - + timestampNs 视频帧的时间戳(纳秒)。 @@ -666,11 +666,11 @@ class VideoFrame { pixelBuffer 将数据填充到 CVPixelBuffer。 - + colorSpace 表示视频帧的色彩空间。详见 - + sourceType 在使用 SDK 采集视频时,表示该视频源的类型。
                                                                                    @@ -679,7 +679,7 @@ class VideoFrame {
                                                                                  • kUnspecified:(默认) 视频源类型未知。
                                                                                  - + sampleAspectRatio 单个像素的宽高比,即每个像素宽度与高度的比值。 diff --git a/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/dita/RTC-NG/API/class_videosubscriptionoptions.dita index 8d5516aa482..5ca6c3130e1 100644 --- a/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -103,10 +103,10 @@ struct FVideoSubscriptionOptions <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - streamType + streamType type 订阅的视频流类型,默认值为 ,即订阅视频大流。详见 - 订阅的视频流类型: + 订阅的视频流类型:
                                                                                  • (0): (默认)视频大流,即高分辨率、高码率视频流。
                                                                                  • (1): 视频小流,即低分辨率、低码率视频流。
                                                                                  • diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index 86ec0aaaad8..7812f76ee89 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -143,7 +143,7 @@ struct FVirtualBackgroundSource backgroundSourceType background_source_type 自定义的背景。详见 -
                                                                                      +
                                                                                      • (0):将背景处理为 alpha 信息,不进行替换,仅分割人像和背景。设置后,你可以调用 ,实现人像画中画的效果。
                                                                                      • (1):(默认)背景为纯色。
                                                                                      • (2):背景为 PNG、JPG 格式的图片。
                                                                                      • @@ -170,7 +170,7 @@ struct FVirtualBackgroundSource blurDegree blur_degree 自定义背景图的模糊程度。详见 -
                                                                                          +
                                                                                          • (1):自定义背景图的虚化程度为低。用户差不多能看清背景。
                                                                                          • (2):自定义背景图的虚化程度为中。用户较难看清背景。
                                                                                          • (3):(默认)自定义背景图的虚化程度为高。用户很难看清背景。
                                                                                          • diff --git a/dita/RTC-NG/API/class_watermarkoptions.dita b/dita/RTC-NG/API/class_watermarkoptions.dita index 9b8c8594ed6..1d65e8ff6ff 100644 --- a/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/dita/RTC-NG/API/class_watermarkoptions.dita @@ -164,7 +164,7 @@ class WatermarkOptions { positionInLandscapeMode - 横屏模式下,显示水印图片的区域。详见 + 横屏模式下,显示水印图片的区域。详见 水印的适配模式为 时,用于设置横屏模式下水印图片的区域。详见 横屏模式下,显示水印图片的区域。该参数包含以下成员:
                                                                                              @@ -176,7 +176,7 @@ class WatermarkOptions { positionInPortraitMode - 竖屏模式下,显示水印图片的区域。详见 + 竖屏模式下,显示水印图片的区域。详见 水印的适配模式为 时,用于设置竖屏模式下水印图片的区域。详见 竖屏模式下,显示水印图片的区域。该参数包含以下成员:
                                                                                                diff --git a/dita/RTC-NG/API/enum_audioscenariotype.dita b/dita/RTC-NG/API/enum_audioscenariotype.dita index 94bd2ec054d..1353ae77993 100644 --- a/dita/RTC-NG/API/enum_audioscenariotype.dita +++ b/dita/RTC-NG/API/enum_audioscenariotype.dita @@ -22,7 +22,7 @@ 7: 合唱场景。适用于网络条件良好,要求极低延时的实时合唱场景。 - 使用该枚举前,你需要调用 获取音频设备是否支持极低延时采集和播放。只有在支持极低延时(isLowLatencyAudioSupported = )的音频设备上,才能够体验到极低延时。 + 使用该枚举前,你需要调用 获取音频设备是否支持极低延时采集和播放。只有在支持极低延时(isLowLatencyAudioSupported = )的音频设备上,才能够体验到极低延时。 diff --git a/dita/RTC-NG/API/enum_cameradirection.dita b/dita/RTC-NG/API/enum_cameradirection.dita index 7d9f042c7a4..532af86c713 100644 --- a/dita/RTC-NG/API/enum_cameradirection.dita +++ b/dita/RTC-NG/API/enum_cameradirection.dita @@ -15,7 +15,7 @@ 1: (默认)前置摄像头。 - + 2: 外接摄像头。 diff --git a/dita/RTC-NG/API/enum_errorcodetype.dita b/dita/RTC-NG/API/enum_errorcodetype.dita index b3bfe83a274..29547c8d468 100644 --- a/dita/RTC-NG/API/enum_errorcodetype.dita +++ b/dita/RTC-NG/API/enum_errorcodetype.dita @@ -41,7 +41,7 @@
                                                                                                  -
                                                                                                • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                                                                                                • +
                                                                                                • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                                                                                                • 使用内置加密时,设置的加密模式不正确,或加载外部加密库失败。请检查加密的枚举值是否正确,或重新加载外部加密库。
                                                                                                diff --git a/dita/RTC-NG/API/enum_mediaplayerevent.dita b/dita/RTC-NG/API/enum_mediaplayerevent.dita index de00b04c1d3..a400bd73600 100644 --- a/dita/RTC-NG/API/enum_mediaplayerevent.dita +++ b/dita/RTC-NG/API/enum_mediaplayerevent.dita @@ -7,7 +7,7 @@
                                                                                                枚举值 - + -1: 未知事件。 diff --git a/dita/RTC-NG/API/enum_mediaplayerstate.dita b/dita/RTC-NG/API/enum_mediaplayerstate.dita index 6e98aa210e1..494679a9f41 100644 --- a/dita/RTC-NG/API/enum_mediaplayerstate.dita +++ b/dita/RTC-NG/API/enum_mediaplayerstate.dita @@ -7,7 +7,7 @@
                                                                                                枚举值 - + -1: 未知状态。 diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 2abb08a1897..e0410d5edc0 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -126,7 +126,7 @@
                                                                                              -
                                                                                                +
                                                                                                • @@ -1330,7 +1330,7 @@
                                                                                                -
                                                                                                  +
                                                                                                  • diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 95c3edca7f1..6f3f14c4193 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -497,7 +497,7 @@ - + @@ -676,7 +676,7 @@ - + @@ -1298,7 +1298,7 @@ - + @@ -1306,7 +1306,7 @@ - + @@ -1416,7 +1416,7 @@ 方法/回调 描述 - + @@ -1682,7 +1682,7 @@ - + @@ -1722,7 +1722,7 @@ - + @@ -1730,7 +1730,7 @@ - + @@ -1750,7 +1750,7 @@ - + @@ -1758,7 +1758,7 @@ - + @@ -2196,7 +2196,7 @@
    -
    +
    视频设备管理 @@ -2207,51 +2207,51 @@ (仅适用于 iOS) - + (仅适用于 Android 和 iOS) - + - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2291,7 +2291,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Andorid 和 iOS) @@ -2572,7 +2572,7 @@ 方法/回调 描述 - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index 5fe4c706381..d19e1ee61aa 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -291,14 +291,14 @@ - joinChannel [1/2] + joinChannel - joinChannel [2/2] + joinChannelWithOptions @@ -2466,35 +2466,35 @@ - + setSrcChannelInfo - + setDestChannelInfo - + getDestChannelMediaInfos - + getSrcChannelMediaInfo - + removeDestChannelInfo @@ -3142,14 +3142,14 @@ - startAudioRecording [1/2] + startAudioRecording - startAudioRecording [2/2] + startAudioRecordingWithConfiguration @@ -7016,6 +7016,13 @@ + + + + ConnectionState + + + From dd9f712f5561160994049cf44b62ed36a872de5b Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 17 Jun 2024 14:14:43 +0800 Subject: [PATCH 012/146] APIs related to media player --- .../API/api_getmediaplayercachemanager.dita | 18 +++++++++++-- .../api_imediaplayer_openwithmediasource.dita | 25 +++++++++++++++---- .../API/api_irtcengine_createmediaplayer.dita | 23 ++++++++++++++--- 3 files changed, 55 insertions(+), 11 deletions(-) diff --git a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index c792dd91f5d..956c5103bbe 100644 --- a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -30,10 +30,24 @@
    详情 -

    当你调用该方法后,SDK 会返回一个媒体播放器缓存管理器的实例。由于媒体播放器缓存管理器对象是单例模式,因此多次调用该方法将返回同一个实例。

    +

    当你调用该方法后,SDK 会返回一个媒体播放器缓存管理器的实例。

    -

    请在初始化 后调用该方法。

    +
    +

    +
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    请在初始化 后调用该方法。//TODO是否要先创建 createmediaplayer<?/p> +

    +
    + 调用限制 +

    由于媒体播放器缓存管理器对象是单例模式,因此多次调用该方法将返回同一个实例。

    +
    返回值

    实例。

    diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita index 79d83b61a63..f7f7af306d8 100644 --- a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita +++ b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita @@ -23,13 +23,28 @@ abstract openWithMediaSource(source: MediaSource): number; Future<void> openWithMediaSource(MediaSource source);

    -
    - 详情 -

    该方法支持你打开不同类型的媒体资源,包括自定义的媒体资源文件,并可进行播放设置。

    -

    +

    +

    该方法支持你打开不同类型的媒体资源,包括自定义的媒体资源文件,并可进行播放设置。

    +

    该方法支持你打开不同类型的媒体资源,包括以 content:// 开头的 URI 文件、自定义的媒体资源文件,并可进行播放设置。

    媒体播放器支持的格式详见

    -
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    //TODO 是否是异步调用?如需播放媒体文件,是否需要在收到 回调报告播放状态为 后再调用 方法播放媒体文件?

    +
    +
    + 调用限制 +

    +

    + +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita index bc717a9d256..ebfdade78f7 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -2,7 +2,7 @@ <ph keyref="createMediaPlayer" /> - 创建媒体播放器。创建 实例。 + 创建媒体播放器对象。创建媒体播放器实例。 @@ -25,9 +25,24 @@ Future<MediaPlayer> createMediaPlayer();

    -
    - 参数 - +
    +

    在调用 类下的其他 API 前,你需要先调用该方法创建一个媒体播放器实例。

    +
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    //TODO 加入频道前后均可调用?

    +
    +
    + 调用限制 +

    +

    +
    + 参数 + delegate From fcbb63fceb795382dd528adf3519c6f9fb88a1a1 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 17 Jun 2024 14:39:01 +0800 Subject: [PATCH 013/146] draft --- .../API/api_getmediaplayercachemanager.dita | 2 +- .../API/api_irtcengine_playeffect2.dita | 31 +++++++++++++------ .../API/api_irtcengine_playeffect3.dita | 31 ++++++++++++++----- .../API/api_irtcengine_preloadeffect.dita | 24 +++++++++----- .../API/api_irtcengine_resumealleffects.dita | 11 +++++++ .../API/api_irtcengine_stopalleffects.dita | 11 +++++++ .../RTC-NG/API/api_irtcengine_stopeffect.dita | 15 ++++++++- 7 files changed, 99 insertions(+), 26 deletions(-) diff --git a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index 956c5103bbe..e21ff2dc720 100644 --- a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -42,7 +42,7 @@
    调用时机 -

    请在初始化 后调用该方法。//TODO是否要先创建 createmediaplayer<?/p> +

    请在初始化 后调用该方法。//TODO是否要先创建 createmediaplayer?

    调用限制 diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index c622ac77ee6..12ea48291df 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -36,13 +36,26 @@

    -
    - 详情 - -

    你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。 音效文件播放结束后,SDK 会触发 回调。 - 支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP等。详见 支持的媒体格式

    +
    +

    -
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    +

    +
    + 调用限制 +

    +

    + +
    参数 @@ -76,9 +89,9 @@

    音效的空间位置。取值范围为 [-1.0,1.0],例如:

      -
    • -1.0:音效出现在左边
    • -
    • 0.0:音效出现在正前方
    • -
    • 1.0:音效出现在右边
    • +
    • -1.0:音效出现在左边。
    • +
    • 0.0:音效出现在正前方。
    • +
    • 1.0:音效出现在右边。

    diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index 4ef4d9ad6ce..e0b8fa89c3d 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -67,13 +67,28 @@ int startPos = 0});

    -
    - 详情 - 如果你需要通过该方法来播放在线音效文件,建议你先将在线音效文件缓存到本地设备,调用 将缓存的音效文件预加载到内存中,然后再调用此方法播放音效。否则,可能出现因在线音效文件加载超时、加载失败而导致的播放失败和无声的问题。 -

    你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。音效文件播放结束后,SDK 会触发 回调。

    -

    +
    +

    +

    你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。

    +

    该方法和 的区别在于该方法还可以设置音效文件起始的播放位置。

    -
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    //TODO待确认 该方法在加入频道前后均可调用。

    +
    +
    + 调用限制 +

    如果你需要播放在线音效文件,声网建议先将在线音效文件缓存到本地设备,调用 将缓存的音效文件预加载到内存中,然后再调用此方法播放音效。否则,可能出现因在线音效文件加载超时、加载失败而导致的播放失败和无声的问题。

    +
    + +
    参数 @@ -82,10 +97,10 @@ 如果你已通过 将音效加载至内存,请确保该参数与 中设置的 soundId 相同。 - + filePath -

    播放文件的绝对路径或 URL 地址,需精确到文件名及后缀。例如 。支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP。详见支持的媒体格式

    +

    播放文件的绝对路径或 URL 地址,需精确到文件名及后缀。通过绝对路径访问本地文件可能会遇到权限问题,建议使用 URL 地址访问本地文件。例如 。支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP。详见支持的媒体格式

    如果你已通过 将音效加载至内存,请确保该参数与 中设置的 filePath 相同。
    diff --git a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita index 13ef5985df7..36513edcd0e 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -36,13 +36,23 @@ {required int soundId, required String filePath, int startPos = 0});

    -
    - 详情 -

    为保证通信畅通,请注意控制预加载音效文件的大小,并在 前就使用该方法完成音效预加载。

    - -

    该方法支持的音频文件格式见 RTC SDK 支持播放哪些格式的音频文件

    -
    -
    +
    +

    为保证通信畅通,请注意控制预加载音效文件的大小。

    +

    该方法支持的预加载音频文件的格式见 RTC SDK 支持播放哪些格式的音频文件

    +
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    声网建议在加入频道前调用该方法。

    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita index 842ad7db55a..4b7de064244 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita @@ -26,6 +26,17 @@ Future<void> resumeAllEffects();

    +
    +

    当你调用 停止播放所有音效文件后,如需恢复播放,可以调用该方法。

    +
    +
    + 调用时机 +

    //TODO

    +
    +
    + 调用限制 +

    无。

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

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

    diff --git a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita index 3da2641a986..53f8ac3ccc4 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -26,6 +26,17 @@ Future<void> stopAllEffects();

    +
    +

    当你调用该方法停止播放所有音效文件后,如需恢复播放,可以调用 方法。

    +
    +
    + 调用时机 +

    //TODO

    +
    +
    + 调用限制 +

    无。

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

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

    diff --git a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita index 5ed167cde93..d47cd42a31e 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita @@ -26,7 +26,20 @@ Future<void> stopEffect(int soundId);

    -
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    该方法需要在 之后调用。

    +

    该方法需要在 之后调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 From 48aee2fd847d42906daa346e5d9d08d37bb5ee8e Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 17 Jun 2024 16:08:46 +0800 Subject: [PATCH 014/146] resolve publish errors --- .../api_imusiccontentcenter_renewtoken.dita | 2 +- .../API/api_irtcengine_createdatastream.dita | 2 +- .../API/api_irtcengine_createdatastream2.dita | 2 +- .../api_irtcengine_enableinearmonitoring.dita | 2 +- ...pi_irtcengine_enablevirtualbackground.dita | 2 +- .../API/api_irtcengine_leavechannel.dita | 2 +- .../API/api_irtcengine_pushvideoframe2.dita | 2 +- .../API/api_irtcengine_setaudioprofile.dita | 2 +- .../API/api_irtcengine_setclientrole.dita | 2 +- ...ne_setdefaultaudioroutetospeakerphone.dita | 7 +- ..._setearmonitoringaudioframeparameters.dita | 4 +- .../api_irtcengine_setenablespeakerphone.dita | 1 + ...ngine_setplaybackaudioframeparameters.dita | 4 +- ...gine_setrecordingaudioframeparameters.dita | 4 +- .../API/api_irtcengine_setupremotevideo.dita | 2 +- .../API/api_irtcengineex_leavechannelex2.dita | 2 +- dita/RTC-NG/API/class_livetranscoding.dita | 56 +-- dita/RTC-NG/API/rtc_api_data_type.dita | 125 +++--- dita/RTC-NG/API/rtc_api_overview.dita | 376 +++++++++--------- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 156 ++++---- .../config/filter-harmony-rtc-ng.ditaval | 36 ++ .../config/keys-rtc-ng-api-harmony.ditamap | 265 +++++------- .../config/keys-rtc-ng-links-harmony.ditamap | 152 +++++++ .../config/relations-rtc-ng-api.ditamap | 52 +-- dita/rtc_api.xpr | 297 +++++++++++++- .../config/filter-harmony-rtc-ng.ditaval | 36 ++ 26 files changed, 1020 insertions(+), 573 deletions(-) create mode 100644 dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval create mode 100644 dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap create mode 100644 en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita b/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita index 05b113ad4c2..9fc4eaf5d1c 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita @@ -14,7 +14,7 @@

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

    public abstract int createDataStream(boolean reliable, boolean ordered); - public abstract createDataStream(config: DataStreamConfig): number; + - (int)createDataStream:(NSInteger * _Nonnull)streamId reliable:(BOOL)reliable ordered:(BOOL)ordered; diff --git a/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita b/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita index 19d4009050e..30ab5159623 100644 --- a/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita +++ b/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita @@ -53,7 +53,7 @@ <ph keyref="return-section-title"/>

    • 0: 创建数据流成功。
    • -
    • 创建的数据流的 ID:方法调用成功。
    • +
    • 创建的数据流的 ID:方法调用成功。
    • < 0:方法调用失败。详见了解详情和解决建议。
    diff --git a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita index 7f2f9bd4e07..ccc3dab3088 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita @@ -14,7 +14,7 @@

    public abstract int enableInEarMonitoring(boolean enabled); - public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters: number): number; + - (int)enableInEarMonitoring:(BOOL)enabled; diff --git a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita index 54cf9b43df0..1f5e578e20a 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -16,7 +16,7 @@ public abstract int enableVirtualBackground( boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty); - public abstract enableVirtualBackground(enabled:boolean,backgroundSource:VirtualBackgroundSource,segproperty:SegmentationProperty,sourceType?:Constants.MediaSourceType):number; + - (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:)); virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita index 10830f42511..79c44ae4855 100644 --- a/dita/RTC-NG/API/api_irtcengine_leavechannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_leavechannel.dita @@ -14,7 +14,7 @@

    public abstract int leaveChannel(); - public abstract leaveChannel(options?: LeaveChannelOptions): number; + - (int)leaveChannel:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock; virtual int leaveChannel() = 0; abstract leaveChannel(options?: LeaveChannelOptions): number; diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita index a625122528f..d35ef01a90f 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita @@ -14,7 +14,7 @@

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

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

    public abstract int setClientRole(int role); - public abstract setClientRole(role: number, options?: ClientRoleOptions): number; + - (int)setClientRole:(AgoraClientRole)role; virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0; abstract setClientRole( diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita index 50656b22c88..459339c489a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita @@ -14,6 +14,7 @@

    public abstract int setDefaultAudioRoutetoSpeakerphone(boolean defaultToSpeaker); + public abstract setDefaultAudioRoutetoSpeakerphone(defaultToSpeaker:boolean):number; - (int)setDefaultAudioRouteToSpeakerphone:(BOOL)defaultToSpeaker; virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0; @@ -31,7 +32,7 @@

    详情 - +
    • 该方法仅适用于 Android 和 iOS 平台。
    • 该方法需要在加入频道前调用。如需在加入频道后切换音频路由,请调用
    • @@ -49,7 +50,7 @@
    • 视频直播:扬声器

    调用该 API 可以改变上述默认音频路由。成功改变音频路由后,SDK 会触发 回调。

    - +

    当手机插入外接设备,如蓝牙设备或耳机时,系统的音频路由会发生改变。详细的路由变化规律请参考 音频路由

    @@ -67,7 +68,7 @@
    <ph keyref="return-section-title"/>

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

    -
      +
      • 0: 方法调用成功。
      • < 0: 方法调用失败。详见了解详情和解决建议。
    diff --git a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita index 0a7e518801a..2b368bf59c2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita @@ -74,8 +74,8 @@ mode -

    音频帧的使用模式,详见

    -

    +

    音频帧的使用模式,详见

    +

    diff --git a/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita b/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita index 53229d2a88d..ccc00d6354b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita +++ b/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita @@ -14,6 +14,7 @@

    public abstract int setEnableSpeakerphone(boolean enabled); + public abstract setEnableSpeakerphone(enabled: boolean): number; - (int)setEnableSpeakerphone:(BOOL)enableSpeaker; virtual int setEnableSpeakerphone(bool speakerOn) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index ffb0a460963..61e13e09a47 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -77,8 +77,8 @@ mode -

    音频帧的使用模式,详见

    -

    +

    音频帧的使用模式,详见

    +

    diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index b8697f2c0dd..8e0f5299ba4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -82,8 +82,8 @@ mode -

    音频帧的使用模式,详见

    -

    +

    音频帧的使用模式,详见

    +

    SDK 返回数据的使用模式,详见 diff --git a/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita b/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita index b0f1c4166bd..1b67783ecca 100644 --- a/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita @@ -36,7 +36,7 @@

    • 如果你想要在原生窗口上渲染图像,请调用此方法;如果你仅需在 Unity 项目内渲染图像,可直接通过 类来实现。
    • 如果你希望在通话中更新远端用户视图的渲染或镜像模式,请使用 方法。
    • -
    • 如果你使用了录制服务,录制服务会作为一个哑客户端加入频道,因此也会触发 回调。由于录制服务不会发送视频流,App 无需为它绑定视图。如果 App 无法识别哑客户端,可以在收到 回调时再绑定远端用户视图。
    • +
    • 如果你使用了录制服务,录制服务会作为一个哑客户端加入频道,因此也会触发 回调。由于录制服务不会发送视频流,App 无需为它绑定视图。如果 App 无法识别哑客户端,可以在收到 回调时再绑定远端用户视图。
    • 如果想要停止渲染视图,需要将 view 设为 后再次调用该方法,以停止渲染并清理渲染缓存。
    diff --git a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita index 03bacb33129..46c1b207bc8 100644 --- a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita @@ -14,7 +14,7 @@

    public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options); - public abstract leaveChannelEx(connection: RtcConnection): number; + - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index 6290ebe128a..49014c266ca 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -662,7 +662,7 @@ struct FLiveTranscoding

    <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - + width

    推流视频的总宽度,默认值 360,单位为像素。

    @@ -671,7 +671,7 @@ struct FLiveTranscoding
  • 如果推音频流,请将 widthheight 设为 0。
  • - + height

    推流视频的总高度,默认值 640,单位为像素。

    @@ -708,7 +708,7 @@ struct FLiveTranscoding

    用于旁路直播的输出视频的帧率。取值范围是 (0,30],单位为 fps。15 fps 为默认值。

    声网服务器会将高于 30 fps 的帧率统一调整为 30 fps。
    - + lowLatency
    @@ -764,7 +764,7 @@ struct FLiveTranscoding

    - + backgroundColor
    @@ -778,10 +778,10 @@ struct FLiveTranscoding

    用于旁路直播的输出视频的背景色,格式为 RGB 定义下的十六进制整数,不要带 # 号,如 0xFFB6C1 表示浅粉色。默认0x000000,黑色。

    - + userCount -
    +
    弃用
    已废弃,不建议使用。请改用 方法。
    @@ -872,31 +872,31 @@ struct FLiveTranscoding
    方法 - + addBackgroundImage 添加背景图。详见 - + addUser 添加转码合图用户。详见 - + addWatermark 添加水印。详见 - + getAdvancedFeatures 获取转码推流高级功能的开/关状态。详见 - + getBackgroundColor 获取背景颜色。详见 - + getBackgroundImageList 获取背景图列表。详见 - + getBlue
    @@ -908,7 +908,7 @@ struct FLiveTranscoding

    获取背景蓝色分量。详见

    - + getGreen
    @@ -920,7 +920,7 @@ struct FLiveTranscoding

    获取背景绿色分量。详见

    - + getRed
    @@ -932,19 +932,19 @@ struct FLiveTranscoding

    获取背景红色分量。详见

    - + getUserCount 获取转码合图用户人数。详见 - + getUsers 获取参与合图的用户列表。详见 - + getWatermarkList 获取水印列表。详见 - + removeBackgroundImage 从背景图列表中删除一张背景图。详见 @@ -952,23 +952,23 @@ struct FLiveTranscoding removeUser 删除转码合图用户。详见 - + removeWatermark 从水印列表中删除一个水印。详见 - + setAdvancedFeatures 设置是否启用转码推流的高级功能。详见 - + setBackgroundColor [1/2] 设置背景色。详见 - + setBackgroundColor [2/2] 设置背景色 RGB。详见 - + setBlue
    @@ -980,7 +980,7 @@ struct FLiveTranscoding

    设置背景蓝色分量。详见

    - + setGreen
    @@ -992,7 +992,7 @@ struct FLiveTranscoding

    设置背景绿色分量。详见

    - + setRed
    @@ -1004,11 +1004,11 @@ struct FLiveTranscoding

    设置背景红色分量。详见

    - + setUsers [1/2] 批量设置用户。详见 - + setUsers [2/2] 批量设置用户。详见 diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index e0410d5edc0..2d848d24028 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -126,7 +126,7 @@
  • -
      +
      • @@ -301,14 +301,14 @@
      -
    • -
    • -
    • -
    • +
    • +
    • +
    • +
    • -
    • +
    • @@ -326,43 +326,18 @@
    • -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
    • -
    • +
    • +
    • -
    • +
    • -
    • +
    • @@ -371,11 +346,8 @@
    • -
    • -
    • -
        -
      • -
    • +
    • +
    • @@ -384,8 +356,8 @@
    • -
    • -
    • +
    • +
    • @@ -401,28 +373,27 @@
    • -
    • +
    • -
    • -
    • -
    • -
    • -
    • -
    • +
    • +
    • +
    • +
    • +
    • +
    • -
    • -
    • -
    • -
    • +
    • +
    • +
    • @@ -1330,7 +1301,7 @@
    -
      +
      • @@ -1374,7 +1345,51 @@
      -
        +
          +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        • +
        +
        • diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 6f3f14c4193..a11714274ec 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -16,11 +16,11 @@ - + - + 创建并初始化 初始化 @@ -57,7 +57,7 @@ - + @@ -73,11 +73,11 @@ - + - + @@ -89,19 +89,19 @@ - + - + - + - + @@ -109,7 +109,7 @@ - + @@ -145,11 +145,11 @@ - + - + @@ -161,11 +161,11 @@ - + - + @@ -186,7 +186,7 @@ - + @@ -194,7 +194,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -210,7 +210,7 @@ - + @@ -218,7 +218,7 @@ - + @@ -226,59 +226,59 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -291,11 +291,11 @@ 方法/回调 描述 - + - + @@ -315,7 +315,7 @@ - + @@ -339,7 +339,7 @@ - + @@ -347,15 +347,15 @@ - + - + - + @@ -412,7 +412,7 @@ - + @@ -426,7 +426,7 @@
    -
    +
    音频前处理和后处理 @@ -509,7 +509,7 @@ - + @@ -562,7 +562,7 @@ - + @@ -624,7 +624,7 @@
    -
    +
    已编码音频数据 @@ -668,15 +668,15 @@ - + - + - + @@ -696,15 +696,15 @@ - + - + - + @@ -726,7 +726,7 @@
    -
    +
    音频频谱 @@ -774,7 +774,7 @@ - + @@ -786,11 +786,11 @@ - + - + @@ -810,11 +810,11 @@ - + - + @@ -830,23 +830,23 @@ - + - + - + - + - + @@ -908,7 +908,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -962,30 +962,30 @@ 描述 - - + + - + - + - + - + - + @@ -993,7 +993,7 @@ - + @@ -1001,7 +1001,7 @@ - + @@ -1009,7 +1009,7 @@ - + @@ -1017,7 +1017,7 @@ - + @@ -1025,7 +1025,7 @@ - + @@ -1041,23 +1041,23 @@ - + - + - + - + - + @@ -1086,7 +1086,7 @@ - + @@ -1094,15 +1094,15 @@ - + - + - + @@ -1118,7 +1118,7 @@ - + @@ -1139,7 +1139,7 @@ - + @@ -1155,7 +1155,7 @@ - + @@ -1171,19 +1171,19 @@ - + - + - + - + @@ -1195,13 +1195,13 @@ - +
    -
    +
    原始视频数据 @@ -1254,7 +1254,7 @@
    -
    +
    已编码视频数据 @@ -1298,7 +1298,7 @@ - + @@ -1323,7 +1323,7 @@ 方法/回调 描述 - + @@ -1351,19 +1351,19 @@ - + - + - + - + @@ -1375,27 +1375,27 @@ - + - + - + - + - + - + @@ -1409,7 +1409,7 @@
    -
    +
    音效文件播放 @@ -1444,7 +1444,7 @@ - + @@ -1543,11 +1543,11 @@ 方法/回调 描述 - + - + @@ -1581,7 +1581,7 @@
    -
    +
    媒体播放器缓存 @@ -1654,11 +1654,11 @@ - + - + @@ -1670,7 +1670,7 @@ - + @@ -1690,7 +1690,7 @@ - + @@ -1742,11 +1742,11 @@ - + - + @@ -1778,7 +1778,7 @@ - + @@ -1864,7 +1864,7 @@ - + @@ -1872,27 +1872,27 @@ - + - + - + - + - + - + @@ -1905,11 +1905,11 @@ 方法/回调 描述 - + - + @@ -1917,7 +1917,7 @@ - + @@ -1925,7 +1925,7 @@ - + @@ -1933,7 +1933,7 @@ - + @@ -1953,13 +1953,13 @@ - +
    -
    +
    直推 CDN @@ -2003,7 +2003,7 @@ 方法/回调 描述 - + @@ -2044,7 +2044,7 @@ - + @@ -2072,7 +2072,7 @@ - + @@ -2090,7 +2090,7 @@
    -
    +
    音频路由

    该组方法仅适用于 Android 和 iOS 平台。

    @@ -2110,11 +2110,11 @@ - + - + @@ -2219,7 +2219,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2231,7 +2231,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2239,7 +2239,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2247,7 +2247,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2259,15 +2259,15 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2275,7 +2275,7 @@ (仅适用于 iOS) - + (仅适用于 Android 和 iOS) @@ -2283,19 +2283,19 @@ (仅适用于 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Andorid 和 iOS) - + @@ -2368,19 +2368,19 @@ 方法/回调 描述 - + - + - + - + @@ -2560,7 +2560,7 @@ (仅适用于 Windows 和 macOS) - + (仅适用于 Android) @@ -2572,7 +2572,7 @@ 方法/回调 描述 - + @@ -2580,7 +2580,7 @@ - + @@ -2592,27 +2592,27 @@ - + - + - + - + - + - + @@ -2629,19 +2629,19 @@ 方法/回调 描述 - + - + - + - + @@ -2665,21 +2665,21 @@ - + - - + + - + - - + + @@ -2697,31 +2697,31 @@ - + - + - + - + - + - + - + @@ -2745,11 +2745,11 @@ - + - + @@ -2757,7 +2757,7 @@ - + @@ -2765,15 +2765,15 @@ - + - + - + @@ -2785,11 +2785,11 @@ - + - + diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap index 9c424713879..9d8ec041358 100644 --- a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -1,47 +1,47 @@ - Android API Reference + Harmony API Reference - Android API Reference + Harmony API Reference - + - + - + - + - - + + - - - - - - - + + + + + + + - - + + - - - - - + + + + + @@ -61,16 +61,16 @@ - + - + - + @@ -125,10 +125,10 @@ - + - + @@ -143,7 +143,7 @@ - + @@ -171,28 +171,28 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -251,10 +251,10 @@ - - + + - + @@ -294,7 +294,7 @@ - + @@ -315,7 +315,7 @@ - + @@ -388,9 +388,9 @@ - - - + + + @@ -414,14 +414,14 @@ - + - + @@ -447,13 +447,13 @@ - + - + @@ -462,7 +462,7 @@ - + @@ -472,7 +472,7 @@ - + @@ -485,7 +485,7 @@ - + @@ -498,12 +498,12 @@ - + - - - - + + + + @@ -516,7 +516,7 @@ - + @@ -528,9 +528,9 @@ - + - + @@ -641,7 +641,7 @@ - + @@ -650,19 +650,19 @@ - + - + - + @@ -683,7 +683,7 @@ - + diff --git a/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval b/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval new file mode 100644 index 00000000000..ad4319cf136 --- /dev/null +++ b/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index d19e1ee61aa..cc46394e827 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -1,25 +1,25 @@ - Keys RTC NG Java API + Keys RTC HarmonyOS API - Android + HarmonyOS - Java + ArkTS - Agora Java API Reference for Android + Agora ArkTS API Reference for HarmonyOS @@ -222,21 +222,21 @@ - + IMusicContentCenterEventHandler - + IAgoraMusicPlayer - + IAgoraMusicContentCenter @@ -256,7 +256,7 @@ - create [2/2] + create @@ -274,17 +274,11 @@ - - - - setClientRole [1/2] - - - + - setClientRole [2/2] + setClientRole @@ -309,17 +303,11 @@ - - - - leaveChannel [1/2] - - - + - leaveChannel [2/2] + leaveChannel @@ -358,17 +346,17 @@ - + joinChannelWithUserAccount [1/2] - + - joinChannelWithUserAccount [2/2] + joinChannelWithUserAccount @@ -461,7 +449,7 @@ - getPlaySrc [2/2] + getPlaySrc @@ -580,7 +568,7 @@ - open [2/2] + open @@ -890,7 +878,7 @@ - setAudioProfile [2/2] + setAudioProfile @@ -1015,7 +1003,7 @@ - + setVideoScenario @@ -1043,17 +1031,11 @@ - - - - setLocalRenderMode [1/2] - - - + - setLocalRenderMode [2/2] + setLocalRenderMode @@ -1067,7 +1049,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -1092,31 +1074,19 @@ - - - - startPreview [1/2] - - - + - startPreview [2/2] - - - - - - - stopPreview [1/2] + startPreview + - stopPreview [2/2] + stopPreview @@ -1179,74 +1149,68 @@ - - + + setBeautyEffectOptions [1/2] - + - setBeautyEffectOptions [2/2] - - - - - - - enableVirtualBackground [1/2] + setBeautyEffectOptions + - enableVirtualBackground [2/2] + enableVirtualBackground - + setLowlightEnhanceOptions [1/2] - + - setLowlightEnhanceOptions [2/2] + setLowlightEnhanceOptions - + setVideoDenoiserOptions [1/2] - + - setVideoDenoiserOptions [2/2] + setVideoDenoiserOptions - + setColorEnhanceOptions [1/2] - + - setColorEnhanceOptions [2/2] + setColorEnhanceOptions @@ -1273,7 +1237,7 @@ - + clearVideoWatermarkEx @@ -1290,7 +1254,7 @@ - createDataStreamEx [2/2] + createDataStreamEx @@ -1329,24 +1293,18 @@ - + joinChannelWithUserAccountEx - - - - leaveChannelEx [1/2] - - - + - leaveChannelEx [2/2] + leaveChannelEx @@ -1634,17 +1592,11 @@ - - - - startAudioMixing [1/2] - - - + - startAudioMixing [2/2] + startAudioMixing @@ -1740,7 +1692,7 @@ - + @@ -1786,7 +1738,7 @@ - playEffect [2/2] + playEffect @@ -2233,7 +2185,7 @@ - + addBackgroundImage @@ -2355,7 +2307,7 @@ - setBackgroundColor [2/2] + setBackgroundColor @@ -2411,7 +2363,7 @@ - setUsers [2/2] + setUsers @@ -2528,7 +2480,7 @@ - + setDefaultAudioRouteToSpeakerphone @@ -2558,17 +2510,11 @@ - - - - enableInEarMonitoring [1/2] - - - + - enableInEarMonitoring [2/2] + enableInEarMonitoring @@ -2602,7 +2548,7 @@ - + enableDualStreamMode [1/2] @@ -2613,7 +2559,7 @@ - enableDualStreamMode [2/2] + enableDualStreamMode @@ -2634,7 +2580,7 @@ - setDualStreamMode [2/2] + setDualStreamMode @@ -2660,7 +2606,7 @@ - + @@ -2735,31 +2681,19 @@ - + pushExternalVideoFrameById [1/2] - - - - pushExternalVideoFrame [1/2] - - - - - - - pushExternalVideoFrameById [2/2] - - - + + - pushExternalVideoFrame [2/2] + pushExternalVideoFrame @@ -2770,7 +2704,7 @@ - + isTextureEncodeSupported @@ -2817,7 +2751,7 @@ - setExternalAudioSource [2/2] + setExternalAudioSource @@ -2870,12 +2804,12 @@ - pullPlaybackAudioFrame [2/2] + pullPlaybackAudioFrame - + @@ -2992,7 +2926,7 @@ - getExtensionProperty [2/2] + getExtensionProperty @@ -3003,7 +2937,7 @@ - + setExtensionProperty @@ -3096,7 +3030,7 @@ - addVideoWatermark [2/2] + addVideoWatermark @@ -3215,17 +3149,11 @@ - - - - switchCamera [1/2] - - - + - switchCamera [2/2] + switchCamera @@ -3271,7 +3199,7 @@ - + isCameraExposureSupported @@ -3299,7 +3227,7 @@ - + setCameraExposureFactor @@ -3366,17 +3294,11 @@ - - - - createDataStream [1/2] - - - + - createDataStream [2/2] + createDataStream @@ -3475,7 +3397,7 @@ - preload [2/2] + preload @@ -3559,7 +3481,7 @@ - getMusicCollectionByMusicChartId [2/2] + getMusicCollectionByMusicChartId @@ -3601,12 +3523,12 @@ - searchMusic [2/2] + searchMusic - + @@ -3658,7 +3580,7 @@ - + enableContentInspectEx @@ -3744,7 +3666,7 @@ - + getErrorDescription @@ -3793,7 +3715,7 @@ - + setLocalAccessPoint @@ -4094,7 +4016,7 @@ - + onUserEnableLocalVideo @@ -4180,7 +4102,7 @@ - + onRemoteVideoTransportStats @@ -5243,7 +5165,7 @@ - + RemoteVoicePositionInfo @@ -7737,7 +7659,7 @@ - + Directcdnstreamingreason @@ -7786,7 +7708,7 @@ - + Directcdnstreamingstate @@ -9767,6 +9689,13 @@ + + + + RawAudioFrameOpMode + + + @@ -11035,7 +10964,7 @@ - + Videomoduleposition diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap new file mode 100644 index 00000000000..86ab65e0e6d --- /dev/null +++ b/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap @@ -0,0 +1,152 @@ + + + + Keys RTC NG Android Links + + + + + + + 音量类型 + + + + + + + 视频属性 + + + + + + + 计费示例 + + + + + + + 使用 Token 鉴权 + + + + + + + 使用通配 Token + + + + + + + 错误码 + + + + + + + 设置人声效果 + + + + + + + 媒体流加密 + + + + + + + 减小 App 体积 + + + + + + + 屏幕共享 + + + + + + + 媒体播放器 + + + + + + + + + + SurfaceView + + + + + + + TextureView + + + + + + + SurfaceTexture + + + + + + + VideoColorSpace + + + + + + + Rect + + + + + + + MODE_IN_COMMUNICATION + + + + + + + AudioAttributes + + + + + + + beautyapi + + + + + + + 调用示例 + + + + + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 0fd700b6da4..963b3971fd6 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -1415,8 +1415,8 @@ - - + + @@ -2255,8 +2255,8 @@ - - + + @@ -2275,9 +2275,9 @@ - - - + + + @@ -2291,7 +2291,7 @@ - + @@ -2321,16 +2321,16 @@ - + - + - + - + @@ -2372,9 +2372,9 @@ - + - + @@ -2388,7 +2388,7 @@ - + @@ -2417,13 +2417,13 @@ - - + + - - + + @@ -2478,12 +2478,12 @@ - + - + @@ -2496,7 +2496,7 @@ - + @@ -2508,16 +2508,16 @@ - + - + - + @@ -2528,7 +2528,7 @@ - + diff --git a/dita/rtc_api.xpr b/dita/rtc_api.xpr index f8c8bc62ec5..96b90771f7d 100644 --- a/dita/rtc_api.xpr +++ b/dita/rtc_api.xpr @@ -202,11 +202,11 @@ - RTC-NG/RTC_NG_API_CS.ditamap + RTC-NG/RTC_NG_API_Harmony.ditamap - DITA Map HTML5 - NG CS + DITA Map HTML5 - NG Harmony @@ -240,6 +240,26 @@ + + + RTC-NG/RTC_NG_API_CS.ditamap + + + + DITA Map HTML5 - NG CS + + + + + DITAMAP + + + + + 2 + + + RTC-NG/RTC_NG_Release_Unreal.ditamap @@ -3124,6 +3144,270 @@ + + + false + + + false + + + false + + + ${pd} + + + ${pd}/out/harmony + + + ${pd}/temp/html5 + + + html5 + + + + + true + + + false + + + + + + ${cfd}/config/filter-harmony-rtc-ng.ditaval + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args.rellinks + + + + + + all + + + + + + 4 + + + + none + all + noparent + nofamily + + + + + + No links are included. + All links are included. + Ancestor and parent links are not included. + Parent, ancestor, child, descendant, sibling, next, previous, and cousin links are not included. + + + + + + default.language + + + + + + zh-CN + + + + + + 0 + + + + + + + + + + + nav-toc + + + + + + full + + + none + + + 4 + + + + none + partial + full + + + + + + No TOC + Partial TOC that shows the current topic + Full TOC + + + + + + + + + + false + + + + + + false + + + + + + + + + true + + + + + + DITA Map HTML5 - NG Harmony + + + + + + + + + + + + + + + + + + + + + + + + false + + + false + + + DITAMAP + + + true + + + true + + + + + + false + + + + + + false + + + false + + + false + + + false + + + false + + + false + + + + + + + + + DITA-OT + + + + + false @@ -7281,6 +7565,7 @@ + @@ -7299,14 +7584,6 @@ - - - - - - - - diff --git a/en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval new file mode 100644 index 00000000000..6b35e5c6884 --- /dev/null +++ b/en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 36b044a93e83ae01c2b63b3c22fd82aff45b9cb0 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Mon, 17 Jun 2024 16:52:34 +0800 Subject: [PATCH 015/146] screenshot-and-upload-rename --- .../API/api_irtcengine_enablecontentinspect.dita | 16 ++++++++-------- .../api_irtcengineex_enablecontentinspectex.dita | 6 +++--- dita/RTC-NG/API/class_contentinspectconfig.dita | 4 ++-- dita/RTC-NG/API/class_contentinspectmodule.dita | 4 ++-- dita/RTC-NG/API/enum_contentinspectworktype.dita | 2 +- dita/RTC-NG/API/toc_snapshot.dita | 2 +- dita/RTC-NG/release/release_notes_4.2.3.dita | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita index ef95546a5ba..25fdd8fec19 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -2,7 +2,7 @@ <ph keyref="enableContentInspect"/> - 开启/关闭视频截图上传。 + 开启/关闭本地截图上传。 @@ -33,24 +33,24 @@
    详情 -

    开启视频截图上传后,SDK 会根据你在 中设置的模块类型和频率对本地用户发送的视频进行截图和上传。截图完成后,声网服务器会以 HTTPS 请求的形式,向你的服务器发送回调通知,并将所有截图发送至你指定的第三方云存储。

    - 调用该方法前,请确保已开通视频截图上传服务。 +

    开启本地截图上传后,SDK 会根据你在 中设置的模块类型和频率对本地用户发送的视频进行截图和上传。截图完成后,声网服务器会以 HTTPS 请求的形式,向你的服务器发送回调通知,并将所有截图发送至你指定的第三方云存储。

    + 调用该方法前,请确保已开通本地截图上传服务。
    参数 enabled - 设置是否开启视频截图上传视频内容审核: + 设置是否开启本地截图上传视频内容审核
      -
    • :开启视频截图上传
    • -
    • :关闭视频截图上传
    • +
    • :开启本地截图上传
    • +
    • :关闭本地截图上传
    config - 视频截图上传配置。详见 - 视频审核模块选择声网自研插件截图上传()时需集成视频截图上传动态库 ,如果删除该动态库会导致无法正常开启视频截图上传功能。 + 本地截图上传配置。详见 + 视频审核模块选择声网自研插件截图上传()时需集成本地截图上传动态库 ,如果删除该动态库会导致无法正常开启本地截图上传功能。
    diff --git a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita index 4435a6731b7..d32c4b6b3bc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita @@ -2,7 +2,7 @@ <ph keyref="enableContentInspectEx"/> - 开启/关闭视频截图上传。 + 开启/关闭本地截图上传。 @@ -36,8 +36,8 @@
    v4.2.3
    -

    该方法可以对多条视频流截图并上传。开启视频截图上传后,SDK 会根据你在 中设置的模块类型和频率对本地用户发送的视频进行截图和上传。截图完成后,声网服务器会以 HTTPS 请求的形式,向你的服务器发送回调通知,并将所有截图发送至你指定的第三方云存储。

    - 调用该方法前,请确保已开通视频截图上传服务。 +

    该方法可以对多条视频流截图并上传。开启本地截图上传后,SDK 会根据你在 中设置的模块类型和频率对本地用户发送的视频进行截图和上传。截图完成后,声网服务器会以 HTTPS 请求的形式,向你的服务器发送回调通知,并将所有截图发送至你指定的第三方云存储。

    + 调用该方法前,请确保已开通本地截图上传服务。
    参数 diff --git a/dita/RTC-NG/API/class_contentinspectconfig.dita b/dita/RTC-NG/API/class_contentinspectconfig.dita index a3a3b027825..e5031af7779 100644 --- a/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -2,7 +2,7 @@ <ph keyref="ContentInspectConfig"/> - 视频截图上传配置。 + 本地截图上传配置。

    @@ -155,7 +155,7 @@ class ContentInspectConfig { serverConfig - (可选)云市场视频截图上传相关服务端配置,该参数仅在 中的 type 设置为 时生效。如需使用,请 + (可选)云市场视频审核相关服务端配置,该参数仅在 中的 type 设置为 时生效。如需使用,请 modules diff --git a/dita/RTC-NG/API/class_contentinspectmodule.dita b/dita/RTC-NG/API/class_contentinspectmodule.dita index fd6f9af7777..be2c0b33044 100644 --- a/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -2,7 +2,7 @@ <ph keyref="ContentInspectModule"/> - 结构体,用于配置视频截图上传的频率。 + 结构体,用于配置本地截图上传的频率。

    @@ -90,7 +90,7 @@ struct FContentInspectModule { interval - 视频截图上传的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行截图上传。视频内容审核的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行内容审核。推荐值为 10 秒,你也可以根据业务需求自行调整。 + 本地截图上传的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行截图上传。视频内容审核的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行内容审核。推荐值为 10 秒,你也可以根据业务需求自行调整。

    diff --git a/dita/RTC-NG/API/enum_contentinspectworktype.dita b/dita/RTC-NG/API/enum_contentinspectworktype.dita index 4aaf7b74d28..a3c8d3a612e 100644 --- a/dita/RTC-NG/API/enum_contentinspectworktype.dita +++ b/dita/RTC-NG/API/enum_contentinspectworktype.dita @@ -17,7 +17,7 @@ - 2:(默认)端云融合内容审核,即先通过客户端 SDK 对视频内容截图并进行鉴黄,如果审核结果不确定,则将视频截图上传至云端服务器,由云端内容审核服务再次鉴黄。 + 2:(默认)端云融合内容审核,即先通过客户端 SDK 对视频内容截图并进行鉴黄,如果审核结果不确定,则将本地截图上传至云端服务器,由云端内容审核服务再次鉴黄。
    diff --git a/dita/RTC-NG/API/toc_snapshot.dita b/dita/RTC-NG/API/toc_snapshot.dita index 200eb75346b..bb7d524f04d 100644 --- a/dita/RTC-NG/API/toc_snapshot.dita +++ b/dita/RTC-NG/API/toc_snapshot.dita @@ -1,7 +1,7 @@ - 视频截图上传 + 本地截图上传 diff --git a/dita/RTC-NG/release/release_notes_4.2.3.dita b/dita/RTC-NG/release/release_notes_4.2.3.dita index 25d20079f82..068be5c8161 100644 --- a/dita/RTC-NG/release/release_notes_4.2.3.dita +++ b/dita/RTC-NG/release/release_notes_4.2.3.dita @@ -11,12 +11,12 @@ 新增特性
      -
    1. 视频截图上传更新 +
    2. 本地截图上传更新

      为方便接入声网云市场提供的第三方视频审核服务,该版本有以下改动:

      • 中新增 枚举值,代表使用声网云市场视频审核插件对视频截图并上传。
      • 中的 type 新增 枚举值,代表使用声网云市场视频审核插件对视频截图并上传。
      • -
      • 中新增的 serverConfig 可选参数用于云市场视频截图上传相关服务端配置,配置后可同时接入多个云市场审核插件并实现灵活控制插件开关等功能,详情请
      • +
      • 中新增的 serverConfig 可选参数用于云市场视频审核相关服务端配置,配置后可同时接入多个云市场审核插件并实现灵活控制插件开关等功能,详情请
      此外,该版本还新增了 方法,支持同时对多条视频流截图并上传。

      From ec15f5f8555df32814db79af52d8288f274512e4 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Tue, 18 Jun 2024 14:28:11 +0800 Subject: [PATCH 016/146] update cpp proto --- dita/RTC-NG/API/api_irtcengine_preloadeffect.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita index 36513edcd0e..959b166e29d 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -18,7 +18,7 @@ - (int)preloadEffect:(int)soundId filePath:(NSString* _Nonnull)filePath; - virtual int preloadEffect(int soundId, const char* filePath) = 0; + virtual int preloadEffect(int soundId, const char* filePath, int startPos = 0) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") int PreloadEffect(int soundId, FString filePath, int startPos); abstract preloadEffect( From d104c37955ba308a691ccd012ab211902bff1fa7 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 18 Jun 2024 15:31:00 +0800 Subject: [PATCH 017/146] NMS-19980 add VAT in overview and relations update VAT --- .../api_irtcengine_enablevoiceaituner.dita | 72 ++++++++++++++++ dita/RTC-NG/API/enum_voiceaitunertype.dita | 60 +++++++++++++ dita/RTC-NG/API/rtc_api_data_type.dita | 4 + dita/RTC-NG/API/rtc_api_overview.dita | 4 + dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 + dita/RTC-NG/RTC_NG_API_CPP.ditamap | 1 + dita/RTC-NG/RTC_NG_API_iOS.ditamap | 1 + dita/RTC-NG/RTC_NG_API_macOS.ditamap | 1 + .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 84 +++++++++++++++++++ .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 84 +++++++++++++++++++ .../config/keys-rtc-ng-api-java.ditamap | 84 +++++++++++++++++++ .../config/keys-rtc-ng-api-macos.ditamap | 84 +++++++++++++++++++ .../config/relations-rtc-ng-api.ditamap | 1 + 13 files changed, 481 insertions(+) create mode 100644 dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita create mode 100644 dita/RTC-NG/API/enum_voiceaitunertype.dita diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita new file mode 100644 index 00000000000..cf23b8845ed --- /dev/null +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -0,0 +1,72 @@ + + + + <ph keyref="enableVoiceAITuner"/> + 开启/关闭 AI 调音器功能。 + + + + + + + + +
      +

      + public abstract int enableVoiceAITuner(boolean enabled, Constants.VOICE_AI_TUNER_TYPE type); + - (int)enableVoiceAITuner:(bool)enabled type:(AgoraVoiceAITunerType)type NS_SWIFT_NAME(enableVoiceAITuner(_:type:)); + virtual int enableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type) = 0; + + + + +

      +
      +
      +
      + +
      自从
      +
      v4.4.0
      +
      +
      +

      +

      +
      + 适用场景 +

      +

      +
      + 调用时机 +

      加入频道前后均可调用。

      +
      +
      + 调用限制 +

      无。

      +
      +
      + 参数 + + + enabled + 是否开启 AI 调音器功能: +
        +
      • :开启 AI 调音器功能。
      • +
      • :(默认)关闭 AI 调音器功能。
      • +
      +
      +
      + + type + AI 调音器音效类型,详见 。 + + +
      +
      + <ph keyref="return-section-title"/> +

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

      +
        +
      • 0: 方法调用成功。
      • +
      • < 0: 方法调用失败。详见了解详情和解决建议。
      • +
      +
      +
      diff --git a/dita/RTC-NG/API/enum_voiceaitunertype.dita b/dita/RTC-NG/API/enum_voiceaitunertype.dita new file mode 100644 index 00000000000..f3c97fb32cb --- /dev/null +++ b/dita/RTC-NG/API/enum_voiceaitunertype.dita @@ -0,0 +1,60 @@ + + + + VOICE_AI_TUNER_TYPE + AI 调音器音效类型。 + +
      +
      + +
      自从
      +
      v4.4.0
      +
      +
      +
      +
      + 枚举值 + + + + 0:大叔音。低沉而有磁性的男声,适合成熟稳重的表达。 + + + + 1:清新男音。清新而略带甜美的男声,适合轻松愉快的场景。 + + + + 2:御姐音。深沉而富有魅力的女声,适合权威而自信的语调。 + + + + 3:萝莉音。高亢而可爱的女声,适合活泼可爱的内容。 + + + + 4:暖男b温暖而悠扬的男声,适合男声抒情歌曲。 + + + + 5:温柔女歌声。柔和而细腻的女声,适合女声抒情歌曲。 + + + + 6:烟嗓叔音歌声。独特的沙哑男声,适合女声摇滚或蓝调歌曲。 + + + + 7:温暖御姐歌声。温暖而成熟的女声,适合女声温情感染力强的歌曲。 + + + + 8:力量男歌声。强劲而有力的男声,适合激昂的歌曲。 + + + + 9:梦幻女歌声。梦幻而柔美的女声,适合空灵梦境般的歌曲。 + + +
      +
      diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 32b96fbbd09..579627eafbc 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -1177,6 +1177,7 @@
    3. +
    4. @@ -1224,6 +1225,7 @@
    5. +
      • @@ -1352,6 +1354,7 @@
      • +
      @@ -1477,6 +1480,7 @@
    6. +
    7. diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 95c3edca7f1..b6eb223cfba 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -433,6 +433,10 @@ 方法/回调 描述 + + + + diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 8b7a337451b..5e94c17a3d4 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -151,6 +151,7 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index b07e166efe3..aa29b597c55 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -155,6 +155,7 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 1c119292ed7..e6a08638123 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -150,6 +150,7 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index 0058273fdae..ea805cd9ee6 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -148,6 +148,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 797b595a3e5..f12246fbfb2 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -2007,6 +2007,13 @@ + + + + enableVoiceAITuner + + + @@ -12996,6 +13003,83 @@ + + + + VOICE_AI_TUNER_TYPE + + + + + + + VOICE_AI_TUNER_MATURE_MALE + + + + + + + VOICE_AI_TUNER_FRESH_MALE + + + + + + + VOICE_AI_TUNER_ELEGANT_FEMALE + + + + + + + VOICE_AI_TUNER_SWEET_FEMALE + + + + + + + VOICE_AI_TUNER_WARM_MALE_SINGING + + + + + + + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_HUSKY_MALE_SINGING + + + + + + + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_POWERFUL_MALE_SINGING + + + + + + + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 29c4be370f0..0fe99419eea 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -1837,6 +1837,13 @@ + + + + enableVoiceAITuner + + + @@ -12050,6 +12057,83 @@ + + + + AgoraVoiceAITunerType + + + + + + + AgoraVoiceAITunerMatureMale + + + + + + + AgoraVoiceAITunerFreshMale + + + + + + + AgoraVoiceAITunerElegantFemale + + + + + + + AgoraVoiceAITunerSweetFemale + + + + + + + AgoraVoiceAITunerWarmMaleSinging + + + + + + + AgoraVoiceAITunerGentleFemaleSinging + + + + + + + AgoraVoiceAITunerHuskyMaleSinging + + + + + + + AgoraVoiceAITunerWarmElegantFemaleSinging + + + + + + + AgoraVoiceAITunerPowerfulMaleSinging + + + + + + + AgoraVoiceAITunerDreamyFemaleSinging + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 22cf468a35e..903422b70ed 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -1892,6 +1892,13 @@ + + + + enableVoiceAITuner + + + @@ -11798,6 +11805,83 @@ + + + + VOICE_AI_TUNER_TYPE + + + + + + + VOICE_AI_TUNER_MATURE_MALE + + + + + + + VOICE_AI_TUNER_FRESH_MALE + + + + + + + VOICE_AI_TUNER_ELEGANT_FEMALE + + + + + + + VOICE_AI_TUNER_SWEET_FEMALE + + + + + + + VOICE_AI_TUNER_WARM_MALE_SINGING + + + + + + + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_HUSKY_MALE_SINGING + + + + + + + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_POWERFUL_MALE_SINGING + + + + + + + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 3a4c499035f..0ceed5a00ec 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -1833,6 +1833,13 @@ + + + + enableVoiceAITuner + + + @@ -11414,6 +11421,83 @@ + + + + AgoraVoiceAITunerType + + + + + + + AgoraVoiceAITunerMatureMale + + + + + + + AgoraVoiceAITunerFreshMale + + + + + + + AgoraVoiceAITunerElegantFemale + + + + + + + AgoraVoiceAITunerSweetFemale + + + + + + + AgoraVoiceAITunerWarmMaleSinging + + + + + + + AgoraVoiceAITunerGentleFemaleSinging + + + + + + + AgoraVoiceAITunerHuskyMaleSinging + + + + + + + AgoraVoiceAITunerWarmElegantFemaleSinging + + + + + + + AgoraVoiceAITunerPowerfulMaleSinging + + + + + + + AgoraVoiceAITunerDreamyFemaleSinging + + + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 0fd700b6da4..353a60ff230 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2257,6 +2257,7 @@ + From 3d5c331911243c43c11bd4bc722d2e99ad34fcaa Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 18 Jun 2024 18:01:46 +0800 Subject: [PATCH 018/146] CSD-59481 update isValid in extensionContext --- .../API/api_irtcengine_enableextension.dita | 2 +- .../api_irtcengine_setextensionproperty.dita | 2 +- ...thandler_onextensionerrorwithcontext.dita} | 27 +++--- ...thandler_onextensioneventwithcontext.dita} | 35 ++++---- ...andler_onextensionstartedwithcontext.dita} | 29 ++++--- ...andler_onextensionstoppedwithcontext.dita} | 25 +++--- dita/RTC-NG/API/class_extensioncontext.dita | 85 +++++++++++++++++++ dita/RTC-NG/API/rtc_api_data_type.dita | 4 + dita/RTC-NG/API/rtc_api_overview.dita | 16 ++-- dita/RTC-NG/RTC_NG_API_Android.ditamap | 8 +- dita/RTC-NG/RTC_NG_API_CPP.ditamap | 8 +- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 8 +- dita/RTC-NG/RTC_NG_API_macOS.ditamap | 8 +- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 23 +++-- .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 23 +++-- .../config/keys-rtc-ng-api-java.ditamap | 23 +++-- .../config/keys-rtc-ng-api-macos.ditamap | 23 +++-- .../config/relations-rtc-ng-api.ditamap | 22 ++--- ...engineeventhandler_onextensionstopped.dita | 2 +- en-US/dita/RTC-NG/API/rtc_api_overview.dita | 16 ++-- 20 files changed, 254 insertions(+), 135 deletions(-) rename dita/RTC-NG/API/{callback_irtcengineeventhandler_onextensionerror.dita => callback_irtcengineeventhandler_onextensionerrorwithcontext.dita} (74%) rename dita/RTC-NG/API/{callback_irtcengineeventhandler_onextensionevent.dita => callback_irtcengineeventhandler_onextensioneventwithcontext.dita} (71%) rename dita/RTC-NG/API/{callback_irtcengineeventhandler_onextensionstarted.dita => callback_irtcengineeventhandler_onextensionstartedwithcontext.dita} (70%) rename dita/RTC-NG/API/{callback_irtcengineeventhandler_onextensionstopped.dita => callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita} (71%) create mode 100644 dita/RTC-NG/API/class_extensioncontext.dita diff --git a/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/dita/RTC-NG/API/api_irtcengine_enableextension.dita index 99b82e87d95..cb339212a5f 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -58,7 +58,7 @@
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita b/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita index 1c1e8ad3b7e..fd750c78e20 100644 --- a/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita +++ b/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita @@ -60,7 +60,7 @@
    参数 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita similarity index 74% rename from dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita rename to dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita index 9235709523d..7e7e920f724 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita @@ -1,27 +1,24 @@ - - <ph keyref="onExtensionError" /> + + <ph keyref="onExtensionErrorWithContext" /> 插件出错回调。 - +

    - void onError(String provider, String extension, int error, String message); - - (void)onExtensionError:(NSString * __nullable)provider - extension:(NSString * __nullable)extension - error:(int)error - message:(NSString * __nullable)message; - - virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) { - (void)provider; - (void)extension; + void onErrorWithContext(ExtensionContext extContext, int error, String message){}; + - (void)onExtensionErrorWithContext:(AgoraExtensionContext * __nonnull)context + error:(int)error + message:(NSString * __nullable)message NS_SWIFT_NAME(onExtensionErrorWithContext(_:error:message:)); + virtual void onExtensionErrorWithContext(const ExtensionContext &context, int error, const char* message) { + (void)context; (void)error; (void)message; } @@ -50,11 +47,15 @@

    参数 + + context + 插件上下文信息,详见 + - + extension 插件的名称。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita similarity index 71% rename from dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita rename to dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita index 2c66789b0e6..fa1f201cf92 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita @@ -1,32 +1,27 @@ - - <ph keyref="onExtensionEvent" /> + + <ph keyref="onExtensionEventWithContext" /> 插件事件回调。 - +

    - void onEvent(String provider, String extension, String key, String value); - - (void)onEvent:(NSString * __nullable)provider - extension:(NSString * __nullable)extension + void onEventWithContext(ExtensionContext extContext, String key, String value){}; + - (void)onEventWithContext:(AgoraExtensionContext * __nonnull)context key:(NSString * __nullable)key - value:(NSString * __nullable)value; -@end - - virtual void onExtensionEvent(const char* provider, const char* extension, const char* key, const char* value) { - (void)provider; - (void)extension; - (void)key; - (void)value; - } - + value:(NSString * __nullable)value NS_SWIFT_NAME(onEventWithContext(_:key:value:)); + virtual void onExtensionEventWithContext(const ExtensionContext &context, const char* key, const char* value) { + (void)context; + (void)key; + (void)value; + } DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnExtensionEvent, FString, provider, FString, extension, FString, key, FString, value); onExtensionEvent?( provider: string, @@ -52,12 +47,16 @@

    参数 - + + + + + - extension + extension extName 插件名称。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita similarity index 70% rename from dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita rename to dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita index ccbb018a576..89659858bc6 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita @@ -1,26 +1,23 @@ - - <ph keyref="onExtensionStarted" /> + + <ph keyref="onExtensionStartedWithContext" /> 插件启用回调。 - +

    - void onStarted(String provider, String extension); - - (void)onExtensionStarted:(NSString * __nullable)provider - extension:(NSString * __nullable)extension; - - virtual void onExtensionStarted(const char* provider, const char* extension) { - (void)provider; - (void)extension; -} + void onStartedWithContext(ExtensionContext extContext){}; + - (void)onExtensionStartedWithContext:(AgoraExtensionContext * __nonnull)context NS_SWIFT_NAME(onExtensionStartedWithContext(_:)); + virtual void onExtensionStartedWithContext(const ExtensionContext &context) { + (void)context; + } DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStarted, FString, provider, FString, extension); onExtensionStarted?(provider: string, extension: string): void; public virtual void OnExtensionStarted(string provider, string extension) { } @@ -34,12 +31,16 @@

    参数 - + - - extension + + + + + + extension extName 插件名称。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita similarity index 71% rename from dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita rename to dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita index c14aee36aa9..c69818a6ef0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita @@ -1,25 +1,22 @@ - - <ph keyref="onExtensionStopped" /> + + <ph keyref="onExtensionStoppedWithContext" /> 插件禁用回调。 - +

    - void onStopped(String provider, String extension); - - (void)onExtensionStopped:(NSString * __nullable)provider - extension:(NSString * __nullable)extension; - - virtual void onExtensionStopped(const char* provider, const char* extension) { - (void)provider; - (void)extension; + void onStoppedWithContext(ExtensionContext extContext){}; + - (void)onExtensionStoppedWithContext:(AgoraExtensionContext * __nonnull)context NS_SWIFT_NAME(onExtensionStoppedWithContext(_:)); + virtual void onExtensionStoppedWithContext(const ExtensionContext &context) { + (void)context; } DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnExtensionStopped, FString, provider, FString, extension); onExtensionStopped?(provider: string, extension: string): void; @@ -34,11 +31,15 @@

    参数 - + - + + + + + diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita new file mode 100644 index 00000000000..4147cba2102 --- /dev/null +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -0,0 +1,85 @@ + + + + ExtensionContext + 插件上下文信息。 + +
    +

    + public class ExtensionContext { + public boolean isValid; + public int uid; + public String providerName; + public String extensionName; + + @CalledByNative + public ExtensionContext() { + isValid = false; + uid = 0; + providerName = ""; + extensionName = ""; + } + + @CalledByNative + public ExtensionContext(int uid, String providerName, String extensionName) { + this.isValid = true; + this.uid = uid; + this.providerName = providerName; + this.extensionName = extensionName; + } +} + @interface AgoraExtensionContext : NSObject +@property (assign, nonatomic) BOOL isValid; +@property (assign, nonatomic) NSUInteger uid; +@property (copy, nonatomic) NSString * _Nullable providerName; +@property (copy, nonatomic) NSString * _Nullable extensionName; +@end + struct ExtensionContext { + bool isValid; + uid_t uid; + const char *providerName; + const char *extensionName; + ExtensionContext():isValid(false), uid(0), providerName(NULL), extensionName(NULL) {} +}; + + + + +

    +
    +
    +
    + +
    自从
    +
    v4.4.0
    +
    +
    +

    +

    +
    + <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> + + + isValid + 插件上下文信息中的 uid 是否有效: +
      +
    • uid 有效。
    • +
    • uid 无效。
    • +
    +
    +
    + + uid + 用户 ID。0 代表本地用户,大于 0 代表远端用户。 + + + providerName + 提供插件的服务商名称。 + + + extensionName + 插件的名称。 + +
    +
    +
    diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 579627eafbc..cf1d3a3cd52 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -40,6 +40,7 @@
  • +
  • @@ -170,6 +171,7 @@
  • +
  • @@ -308,6 +310,7 @@
  • +
  • @@ -408,6 +411,7 @@
  • +
  • diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index b6eb223cfba..98966680cc9 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -2609,20 +2609,20 @@ - - + + - - + + - - + + - - + +
    diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 5e94c17a3d4..5faa2fe84e8 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -686,10 +686,10 @@ - - - - + + + + diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index aa29b597c55..d28013edb8b 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -755,10 +755,10 @@ - - - - + + + + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index e6a08638123..76c084c0a63 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -681,10 +681,10 @@ - - - - + + + + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index ea805cd9ee6..e6fa59c1e12 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -628,10 +628,10 @@ - - - - + + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index f12246fbfb2..8085afed9be 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -2869,31 +2869,31 @@ - + - onExtensionEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -5343,6 +5343,13 @@ + + + + ExtensionContext + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 0fe99419eea..b525b16e704 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -2802,31 +2802,31 @@ - + - onEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -4852,6 +4852,13 @@ + + + + AgoraExtensionContext + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 903422b70ed..bbfcee52377 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -3024,31 +3024,31 @@ - + - onEvent + onEventWithContext - + - onStarted + onStartedWithContext - + - onStopped + onStoppedWithContext - + - onError + onErrorWithContext @@ -5012,6 +5012,13 @@ + + + + ExtensionContext + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 0ceed5a00ec..b16d59f42e8 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -2748,31 +2748,31 @@ - + - onEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -4508,6 +4508,13 @@ + + + + AgoraExtensionContext + + + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 353a60ff230..adef89e4d36 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2063,9 +2063,9 @@ - - - + + + @@ -2654,10 +2654,10 @@ - - - - + + + + @@ -2722,10 +2722,10 @@ - - - - + + + + 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 842f1cc8786..210b152f11c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita @@ -38,7 +38,7 @@ - + diff --git a/en-US/dita/RTC-NG/API/rtc_api_overview.dita b/en-US/dita/RTC-NG/API/rtc_api_overview.dita index d0e855f85cd..f916ee17416 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_overview.dita +++ b/en-US/dita/RTC-NG/API/rtc_api_overview.dita @@ -2605,20 +2605,20 @@ - - + + - - + + - - + + - - + +
    From 4fcbb12fe6ba013718058d5d16d1064013f8657a Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 18 Jun 2024 18:28:00 +0800 Subject: [PATCH 019/146] release SpeechDriven in CN --- dita/RTC-NG/API/class_channelmediaoptions.dita | 14 +++++++++++++- dita/RTC-NG/API/rtc_api_overview.dita | 6 +++--- dita/RTC-NG/RTC_NG_API_Android.ditamap | 4 ++-- dita/RTC-NG/RTC_NG_API_CPP.ditamap | 4 ++-- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 4 ++-- dita/RTC-NG/RTC_NG_API_macOS.ditamap | 4 ++-- dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 6 +++--- dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 6 +++--- dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap | 6 +++--- dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 6 +++--- 10 files changed, 36 insertions(+), 24 deletions(-) diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index ef2c03d3f44..b09ee3d6969 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -21,6 +21,7 @@ public Boolean publishMediaPlayerAudioTrack; public Boolean publishMediaPlayerVideoTrack; public Boolean publishTranscodedVideoTrack; + public Boolean publishLipSyncTrack; public Boolean autoSubscribeAudio; public Boolean autoSubscribeVideo; public Boolean enableAudioRecordingOrPlayout; @@ -60,6 +61,7 @@ @property(assign, nonatomic) BOOL publishMediaPlayerAudioTrack; @property(assign, nonatomic) BOOL publishMediaPlayerVideoTrack; @property(assign, nonatomic) BOOL publishTranscodedVideoTrack; +@property(assign, nonatomic) BOOL publishLipSyncTrack; @property(assign, nonatomic) BOOL autoSubscribeAudio; @property(assign, nonatomic) BOOL autoSubscribeVideo; @property(assign, nonatomic) BOOL enableAudioRecordingOrPlayout; @@ -103,6 +105,7 @@ Optional<bool> publishMediaPlayerAudioTrack; Optional<bool> publishMediaPlayerVideoTrack; Optional<bool> publishTranscodedVideoTrack; + Optional<bool> publishLipSyncTrack; Optional<bool> autoSubscribeAudio; Optional<bool> autoSubscribeVideo; Optional<bool> enableAudioRecordingOrPlayout; @@ -281,6 +284,8 @@ struct FChannelMediaOptions publishTranscodedVideoTrack?: boolean; + publishLipSyncTrack?: boolean; + autoSubscribeAudio?: boolean; autoSubscribeVideo?: boolean; @@ -329,6 +334,7 @@ struct FChannelMediaOptions public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); + public Optional<bool> publishLipSyncTrack = new Optional<bool>(); public Optional<bool> autoSubscribeAudio = new Optional<bool>(); public Optional<bool> autoSubscribeVideo = new Optional<bool>(); public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); @@ -382,6 +388,8 @@ struct FChannelMediaOptions publishTranscodedVideoTrack?: boolean; + publishLipSyncTrack?: boolean; + autoSubscribeAudio?: boolean; autoSubscribeVideo?: boolean; @@ -431,6 +439,7 @@ class ChannelMediaOptions { this.publishMediaPlayerAudioTrack, this.publishMediaPlayerVideoTrack, this.publishTranscodedVideoTrack, + this.publishLipSyncTrack, this.autoSubscribeAudio, this.autoSubscribeVideo, this.enableAudioRecordingOrPlayout, @@ -502,6 +511,9 @@ class ChannelMediaOptions { @JsonKey(name: 'publishTranscodedVideoTrack') final bool? publishTranscodedVideoTrack; + @JsonKey(name: 'publishLipSyncTrack') + final bool? publishLipSyncTrack; + @JsonKey(name: 'autoSubscribeAudio') final bool? autoSubscribeAudio; @@ -699,7 +711,7 @@ class ChannelMediaOptions {
    - + publishLipSyncTrack 设置是否发布语音驱动插件处理后的视频:
      diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 98966680cc9..9090b2e1312 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -1065,15 +1065,15 @@ - + - + - + diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 5faa2fe84e8..8cb3bbad0ee 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -25,7 +25,7 @@ - + @@ -312,7 +312,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index d28013edb8b..e9669a8b0fd 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -25,7 +25,7 @@ - + @@ -322,7 +322,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 76c084c0a63..fcfb8fc5a54 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -25,7 +25,7 @@ - + @@ -319,7 +319,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index e6fa59c1e12..c98c7211b1c 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -24,7 +24,7 @@ - + @@ -313,7 +313,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 8085afed9be..7bb9e08c105 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -216,7 +216,7 @@ - + IFaceInfoObserver @@ -1295,7 +1295,7 @@ - + registerFaceInfoObserver @@ -5123,7 +5123,7 @@ - + onFaceInfo diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index b525b16e704..67125d0402a 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -202,7 +202,7 @@ - + AgoraFaceInfoDelegate @@ -1258,7 +1258,7 @@ - + setFaceInfoDelegate @@ -4574,7 +4574,7 @@ - + onFaceInfo diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index bbfcee52377..ff3de5e3c5a 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -173,7 +173,7 @@ - + IFaceInfoObserver @@ -1250,7 +1250,7 @@ - + registerFaceInfoObserver @@ -4750,7 +4750,7 @@ - + onFaceInfo diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index b16d59f42e8..b16be530c7d 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -173,7 +173,7 @@ - + AgoraFaceInfoDelegate @@ -1208,7 +1208,7 @@ - + setFaceInfoDelegate @@ -4286,7 +4286,7 @@ - + onFaceInfo From d83d5c2f62461cc421da13317b9516a4e21b48e2 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 18 Jun 2024 20:13:14 +0800 Subject: [PATCH 020/146] Revert "keyword" This reverts commit abf19015fd6c2e208405cda69f82d5a0318b8c0e. --- .../config/keys-rtc-ng-api-harmony.ditamap | 1792 ++++++++--------- 1 file changed, 896 insertions(+), 896 deletions(-) diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index cc46394e827..e2b4ea2a013 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -5604,1337 +5604,1337 @@ - AdaptNone + ADAPT_NONE - AdaptUpBandwidth + ADAPT_UP_BANDWIDTH - AdaptDownBandwidth + ADAPT_DOWN_BANDWIDTH - Areacode + AreaCode - AreaCodeCn + AREA_CODE_CN - AreaCodeNa + AREA_CODE_NA - AreaCodeEu + AREA_CODE_EU - AreaCodeAs + AREA_CODE_AS - AreaCodeJp + AREA_CODE_JP - AreaCodeIn + AREA_CODE_IN - AreaCodeGlob + AREA_CODE_GLOB - AudienceLatencyLevelLowLatency + AUDIENCE_LATENCY_LEVEL_LOW_LATENCY - AudienceLatencyLevelUltraLowLatency + AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY - Audiocodecprofiletype + AudioCodecProfileType - LcAac + LC_AAC - HeAac + HE_AAC - HeAacV2 + HE_AAC_V2 - AudioCodecOpus + AUDIO_CODEC_OPUS - AudioCodecPcma + AUDIO_CODEC_PCMA - AudioCodecPcmu + AUDIO_CODEC_PCMU - AudioCodecG722 + AUDIO_CODEC_G722 - AudioCodecAaclc + AUDIO_CODEC_AACLC - AudioCodecHeaac + AUDIO_CODEC_HEAAC - AudioCodecJc1 + AUDIO_CODEC_JC1 - AudioCodecHeaac2 + AUDIO_CODEC_HEAAC2 - AudioEncodedFrameObserverPositionMic + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC - AudioEncodedFrameObserverPositionPlayback + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK - AudioEncodedFrameObserverPositionMixed + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED - AudioEncodingTypeAac16000Low + AUDIO_ENCODING_TYPE_AAC_16000_LOW - AudioEncodingTypeAac16000Medium + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM - AudioEncodingTypeAac32000Low + AUDIO_ENCODING_TYPE_AAC_32000_LOW - AudioEncodingTypeAac32000Medium + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM - AudioEncodingTypeAac32000High + AUDIO_ENCODING_TYPE_AAC_32000_HIGH - AudioEncodingTypeAac48000Medium + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM - AudioEncodingTypeAac48000High + AUDIO_ENCODING_TYPE_AAC_48000_HIGH - AudioEncodingTypeOpus16000Low + AUDIO_ENCODING_TYPE_OPUS_16000_LOW - AudioEncodingTypeOpus16000Medium + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM - AudioEncodingTypeOpus48000Medium + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM - AudioEncodingTypeOpus48000High + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH - AudioEffectOff + AUDIO_EFFECT_OFF - CompressionPreference + COMPRESSION_PREFERENCE - PreferLowLatency + PREFER_LOW_LATENCY - PreferQuality + PREFER_QUALITY - ContentInspectDeviceType + CONTENT_INSPECT_DEVICE_TYPE - ContentInspectDeviceInvalid + CONTENT_INSPECT_DEVICE_INVALID - ContentInspectDeviceAgora + CONTENT_INSPECT_DEVICE_AGORA - ContentInspectDeviceHive + CONTENT_INSPECT_DEVICE_HIVE - ContentInspectDeviceTupu + CONTENT_INSPECT_DEVICE_TUPU - ContentInspectNeutral + CONTENT_INSPECT_NEUTRAL - ContentInspectSexy + CONTENT_INSPECT_SEXY - ContentInspectPorn + CONTENT_INSPECT_PORN - ContentInspectTypeInvalid + CONTENT_INSPECT_TYPE_INVALID - ContentInspectTypeModeration + CONTENT_INSPECT_TYPE_MODERATION - ContentInspectTypeSupervise + CONTENT_INSPECT_TYPE_SUPERVISE - ContentInspectTypeImageModeration + CONTENT_INSPECT_TYPE_IMAGE_MODERATION - EncodingPreference + ENCODING_PREFERENCE - PreferAuto + PREFER_AUTO - PreferSoftware + PREFER_SOFTWARE - PreferHardware + PREFER_HARDWARE - Externalvideosourcetype + ExternalVideoSourceType - VideoFrame + VIDEO_FRAME - EncodedVideoFrame + ENCODED_VIDEO_FRAME - RoomAcousticsKtv + ROOM_ACOUSTICS_KTV - RoomAcousticsVocalConcert + ROOM_ACOUSTICS_VOCAL_CONCERT - RoomAcousticsStudio + ROOM_ACOUSTICS_STUDIO - RoomAcousticsPhonograph + ROOM_ACOUSTICS_PHONOGRAPH - RoomAcousticsVirtualStereo + ROOM_ACOUSTICS_VIRTUAL_STEREO - RoomAcousticsSpacial + ROOM_ACOUSTICS_SPACIAL - RoomAcousticsEthereal + ROOM_ACOUSTICS_ETHEREAL - RoomAcousticsVirtualSurroundSound + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND - RoomAcousticsChorus + ROOM_ACOUSTICS_CHORUS - RoomAcoustics3dVoice + ROOM_ACOUSTICS_3D_VOICE - VoiceChangerEffectUncle + VOICE_CHANGER_EFFECT_UNCLE - VoiceChangerEffectOldman + VOICE_CHANGER_EFFECT_OLDMAN - VoiceChangerEffectBoy + VOICE_CHANGER_EFFECT_BOY - VoiceChangerEffectSister + VOICE_CHANGER_EFFECT_SISTER - VoiceChangerEffectGirl + VOICE_CHANGER_EFFECT_GIRL - VoiceChangerEffectPigking + VOICE_CHANGER_EFFECT_PIGKING - VoiceChangerEffectHulk + VOICE_CHANGER_EFFECT_HULK - StyleTransformationRnb + STYLE_TRANSFORMATION_RNB - StyleTransformationPopular + STYLE_TRANSFORMATION_POPULAR - PitchCorrection + PITCH_CORRECTION - AudioEqualizationBandFrequency + AUDIO_EQUALIZATION_BAND_FREQUENCY - AudioEqualizationBand31 + AUDIO_EQUALIZATION_BAND_31 - AudioEqualizationBand62 + AUDIO_EQUALIZATION_BAND_62 - AudioEqualizationBand125 + AUDIO_EQUALIZATION_BAND_125 - AudioEqualizationBand250 + AUDIO_EQUALIZATION_BAND_250 - AudioEqualizationBand500 + AUDIO_EQUALIZATION_BAND_500 - AudioEqualizationBand1k + AUDIO_EQUALIZATION_BAND_1K - AudioEqualizationBand2k + AUDIO_EQUALIZATION_BAND_2K - AudioEqualizationBand4k + AUDIO_EQUALIZATION_BAND_4K - AudioEqualizationBand8k + AUDIO_EQUALIZATION_BAND_8K - AudioEqualizationBand16k + AUDIO_EQUALIZATION_BAND_16K - FrameTypePcm16 + FRAME_TYPE_PCM16 - PositionPlayback + POSITION_PLAYBACK - PositionRecord + POSITION_RECORD - PositionMixed + POSITION_MIXED - PositionBeforeMixing + POSITION_BEFORE_MIXING - PositionEarMonitoring + POSITION_EAR_MONITORING - Audiodualmonomode + AudioDualMonoMode - AudioDualMonoStereo + AUDIO_DUAL_MONO_STEREO - AudioDualMonoL + AUDIO_DUAL_MONO_L - AudioDualMonoR + AUDIO_DUAL_MONO_R - AudioDualMonoMix + AUDIO_DUAL_MONO_MIX - Audiomixingdualmonomode + AudioMixingDualMonoMode - AudioMixingDualMonoAuto + AUDIO_MIXING_DUAL_MONO_AUTO - AudioMixingDualMonoL + AUDIO_MIXING_DUAL_MONO_L - AudioMixingDualMonoR + AUDIO_MIXING_DUAL_MONO_R - AudioMixingDualMonoMix + AUDIO_MIXING_DUAL_MONO_MIX - AudioMixingReasonCanNotOpen + AUDIO_MIXING_REASON_CAN_NOT_OPEN - AudioMixingReasonTooFrequentCall + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL - AudioMixingReasonInterruptedEof + AUDIO_MIXING_REASON_INTERRUPTED_EOF - AudioMixingReasonOk + AUDIO_MIXING_REASON_OK - AudioMixingReasonOneLoopCompleted + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED - AudioMixingReasonAllLoopsCompleted + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED - AudioMixingReasonStoppedByUser + AUDIO_MIXING_REASON_STOPPED_BY_USER - AudioMixingStatePlaying + AUDIO_MIXING_STATE_PLAYING - AudioMixingStatePaused + AUDIO_MIXING_STATE_PAUSED - AudioMixingStateStopped + AUDIO_MIXING_STATE_STOPPED - AudioMixingStateFailed + AUDIO_MIXING_STATE_FAILED - AudioMixingStateCompleted + AUDIO_MIXING_STATE_COMPLETED - AudioMixingStateAllLoopsCompleted + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED - Agoraaudioprocesschannels + AgoraAudioProcessChannels - AgoraAudioMonoProcessing + AGORA_AUDIO_MONO_PROCESSING - AgoraAudioStereoProcessing + AGORA_AUDIO_STEREO_PROCESSING - Audioprofile + AudioProfile - Default + DEFAULT - SpeechStandard + SPEECH_STANDARD - MusicStandard + MUSIC_STANDARD - MusicStandardStereo + MUSIC_STANDARD_STEREO - MusicHighQuality + MUSIC_HIGH_QUALITY - MusicHighQualityStereo + MUSIC_HIGH_QUALITY_STEREO - AudioProfileIot + AUDIO_PROFILE_IOT - AudioProfileNum + AUDIO_PROFILE_NUM - Audiorangemode + AudioRangeMode - AudioRangeModeWorld + AUDIO_RANGE_MODE_WORLD - AudioRangeModeTeam + AUDIO_RANGE_MODE_TEAM - AudioFileRecordingMic + AUDIO_FILE_RECORDING_MIC - AudioFileRecordingPlayback + AUDIO_FILE_RECORDING_PLAYBACK - AudioFileRecordingMixed + AUDIO_FILE_RECORDING_MIXED - AudioRecordingQualityLow + AUDIO_RECORDING_QUALITY_LOW - AudioRecordingQualityMedium + AUDIO_RECORDING_QUALITY_MEDIUM - AudioRecordingQualityHigh + AUDIO_RECORDING_QUALITY_HIGH - AudioRecordingQualityUltraHigh + AUDIO_RECORDING_QUALITY_ULTRA_HIGH - AudioReverbOff + AUDIO_REVERB_OFF - AudioReverbFxKtv + AUDIO_REVERB_FX_KTV - AudioReverbFxVocalConcert + AUDIO_REVERB_FX_VOCAL_CONCERT - AudioReverbFxUncle + AUDIO_REVERB_FX_UNCLE - AudioReverbFxSister + AUDIO_REVERB_FX_SISTER - AudioReverbFxStudio + AUDIO_REVERB_FX_STUDIO - AudioReverbFxPopular + AUDIO_REVERB_FX_POPULAR - AudioReverbFxRnb + AUDIO_REVERB_FX_RNB - AudioReverbFxPhonograph + AUDIO_REVERB_FX_PHONOGRAPH - AudioReverbPopular + AUDIO_REVERB_POPULAR - AudioReverbRnb + AUDIO_REVERB_RNB - AudioReverbRock + AUDIO_REVERB_ROCK - AudioReverbHiphop + AUDIO_REVERB_HIPHOP - AudioReverbVocalConcert + AUDIO_REVERB_VOCAL_CONCERT - AudioReverbKtv + AUDIO_REVERB_KTV - AudioReverbStudio + AUDIO_REVERB_STUDIO - AudioVirtualStereo + AUDIO_VIRTUAL_STEREO - AudioElectronicVoice + AUDIO_ELECTRONIC_VOICE - AudioThreedimVoice + AUDIO_THREEDIM_VOICE - AudioReverbType + AUDIO_REVERB_TYPE - AudioReverbDryLevel + AUDIO_REVERB_DRY_LEVEL - AudioReverbWetLevel + AUDIO_REVERB_WET_LEVEL - AudioReverbRoomSize + AUDIO_REVERB_ROOM_SIZE - AudioReverbWetDelay + AUDIO_REVERB_WET_DELAY - AudioReverbStrength + AUDIO_REVERB_STRENGTH - AudioRouteDefault + AUDIO_ROUTE_DEFAULT - AudioRouteHeadset + AUDIO_ROUTE_HEADSET - AudioRouteEarpiece + AUDIO_ROUTE_EARPIECE - AudioRouteHeadsetnomic + AUDIO_ROUTE_HEADSETNOMIC - AudioRouteSpeakerphone + AUDIO_ROUTE_SPEAKERPHONE - AudioRouteLoudspeaker + AUDIO_ROUTE_LOUDSPEAKER - AudioRouteBluetoothDeviceHfp + AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP - AudioRouteUsb + AUDIO_ROUTE_USB - AudioRouteHdmi + AUDIO_ROUTE_HDMI - AudioRouteDisplayport + AUDIO_ROUTE_DISPLAYPORT - AudioRouteAirplay + AUDIO_ROUTE_AIRPLAY - AudioRouteBluetoothDeviceA2dp + AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP - Audiosampleratetype + AudioSampleRateType - AudioSampleRate32000 + AUDIO_SAMPLE_RATE_32000 - AudioSampleRate44100 + AUDIO_SAMPLE_RATE_44100 - AudioSampleRate48000 + AUDIO_SAMPLE_RATE_48000 - Audioscenario + AudioScenario - AudioScenarioDefault + AUDIO_SCENARIO_DEFAULT - AudioScenarioChatroom + AUDIO_SCENARIO_CHATROOM - AudioScenarioGameStreaming + AUDIO_SCENARIO_GAME_STREAMING - AudioScenarioChorus + AUDIO_SCENARIO_CHORUS - AudioScenarioMeeting + AUDIO_SCENARIO_MEETING @@ -6948,1749 +6948,1749 @@ - ConnectionStateDisconnected + CONNECTION_STATE_DISCONNECTED - ConnectionStateConnecting + CONNECTION_STATE_CONNECTING - ConnectionStateConnected + CONNECTION_STATE_CONNECTED - ConnectionStateReconnecting + CONNECTION_STATE_RECONNECTING - ConnectionStateFailed + CONNECTION_STATE_FAILED - ConnectionChangedConnecting + CONNECTION_CHANGED_CONNECTING - ConnectionChangedJoinSuccess + CONNECTION_CHANGED_JOIN_SUCCESS - ConnectionChangedInterrupted + CONNECTION_CHANGED_INTERRUPTED - ConnectionChangedBannedByServer + CONNECTION_CHANGED_BANNED_BY_SERVER - ConnectionChangedJoinFailed + CONNECTION_CHANGED_JOIN_FAILED - ConnectionChangedLeaveChannel + CONNECTION_CHANGED_LEAVE_CHANNEL - ConnectionChangedInvalidAppId + CONNECTION_CHANGED_INVALID_APP_ID - ConnectionChangedInvalidChannelName + CONNECTION_CHANGED_INVALID_CHANNEL_NAME - ConnectionChangedInvalidToken + CONNECTION_CHANGED_INVALID_TOKEN - ConnectionChangedTokenExpired + CONNECTION_CHANGED_TOKEN_EXPIRED - ConnectionChangedRejectedByServer + CONNECTION_CHANGED_REJECTED_BY_SERVER - ConnectionChangedSettingProxyServer + CONNECTION_CHANGED_SETTING_PROXY_SERVER - ConnectionChangedRenewToken + CONNECTION_CHANGED_RENEW_TOKEN - ConnectionChangedClientIpAddressChanged + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED - ConnectionChangedKeepAliveTimeout + CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT - ConnectionChangedRejoinSuccess + CONNECTION_CHANGED_REJOIN_SUCCESS - ConnectionChangedLost + CONNECTION_CHANGED_LOST - ConnectionChangedEchoTest + CONNECTION_CHANGED_ECHO_TEST - ConnectionChangedClientIpAddressChangedByUser + CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER - ConnectionChangedSameUidLogin + CONNECTION_CHANGED_SAME_UID_LOGIN - ConnectionChangedTooManyBroadcasters + CONNECTION_CHANGED_TOO_MANY_BROADCASTERS - ContainerMp4 + CONTAINER_MP4 - Audiotracktype + AudioTrackType - AudioTrackMixable + AUDIO_TRACK_MIXABLE - AudioTrackDirect + AUDIO_TRACK_DIRECT - CameraDirection + CAMERA_DIRECTION - CameraRear + CAMERA_REAR - CameraFront + CAMERA_FRONT - CameraExtra + CAMERA_EXTRA - CameraFocalLengthType + CAMERA_FOCAL_LENGTH_TYPE - CameraFocalLengthDefault + CAMERA_FOCAL_LENGTH_DEFAULT - CameraFocalLengthWideAngle + CAMERA_FOCAL_LENGTH_WIDE_ANGLE - CameraFocalLengthUltraWide + CAMERA_FOCAL_LENGTH_ULTRA_WIDE - CaptureBrightnessLevelInvalid + CAPTURE_BRIGHTNESS_LEVEL_INVALID - CaptureBrightnessLevelNormal + CAPTURE_BRIGHTNESS_LEVEL_NORMAL - CaptureBrightnessLevelBright + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT - CaptureBrightnessLevelDark + CAPTURE_BRIGHTNESS_LEVEL_DARK - CapturerOutputPreference + CAPTURER_OUTPUT_PREFERENCE - CapturerOutputPreferenceAuto + CAPTURER_OUTPUT_PREFERENCE_AUTO - CapturerOutputPreferencePerformance + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE - CapturerOutputPreferencePreview + CAPTURER_OUTPUT_PREFERENCE_PREVIEW - CapturerOutputPreferenceManual + CAPTURER_OUTPUT_PREFERENCE_MANUAL - RelayOk + RELAY_OK - RelayErrorServerErrorResponse + RELAY_ERROR_SERVER_ERROR_RESPONSE - RelayErrorServerNoResponse + RELAY_ERROR_SERVER_NO_RESPONSE - RelayErrorNoResourceAvailable + RELAY_ERROR_NO_RESOURCE_AVAILABLE - RelayErrorFailedJoinSrc + RELAY_ERROR_FAILED_JOIN_SRC - RelayErrorFailedJoinDest + RELAY_ERROR_FAILED_JOIN_DEST - RelayErrorFailedPacketReceivedFromSrc + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC - RelayErrorFailedPacketSentToDest + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST - RelayErrorServerConnectionLost + RELAY_ERROR_SERVER_CONNECTION_LOST - RelayErrorInternalError + RELAY_ERROR_INTERNAL_ERROR - RelayErrorSrcTokenExpired + RELAY_ERROR_SRC_TOKEN_EXPIRED - RelayErrorDestTokenExpired + RELAY_ERROR_DEST_TOKEN_EXPIRED - RelayEventNetworkDisconnected + RELAY_EVENT_NETWORK_DISCONNECTED - RelayEventNetworkConnected + RELAY_EVENT_NETWORK_CONNECTED - RelayEventPacketJoinedSrcChannel + RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL - RelayEventPacketJoinedDestChannel + RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL - RelayEventPacketSentToDestChannel + RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL - RelayEventPacketReceivedVideoFromSrc + RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC - RelayEventPacketReceivedAudioFromSrc + RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC - RelayEventPacketUpdateDestChannel + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL - RelayEventPacketUpdateDestChannelNotChange + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE - RelayEventPacketUpdateDestChannelIsNull + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL - RelayEventVideoProfileUpdate + RELAY_EVENT_VIDEO_PROFILE_UPDATE - RelayEventPauseSendPacketToDestChannelSuccess + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - RelayEventPauseSendPacketToDestChannelFailed + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED - RelayEventResumeSendPacketToDestChannelSuccess + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS - RelayEventResumeSendPacketToDestChannelFailed + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED - RelayStateIdle + RELAY_STATE_IDLE - RelayStateConnecting + RELAY_STATE_CONNECTING - RelayStateRunning + RELAY_STATE_RUNNING - RelayStateFailure + RELAY_STATE_FAILURE - ChannelProfileCommunication + CHANNEL_PROFILE_COMMUNICATION - ChannelProfileLiveBroadcasting + CHANNEL_PROFILE_LIVE_BROADCASTING - ChannelProfileGame + CHANNEL_PROFILE_GAME - ChannelProfileCloudGaming + CHANNEL_PROFILE_CLOUD_GAMING - ChannelProfileCommunication1v1 + CHANNEL_PROFILE_COMMUNICATION_1v1 - ClientRoleBroadcaster + CLIENT_ROLE_BROADCASTER - ClientRoleAudience + CLIENT_ROLE_AUDIENCE - ClientRoleChangeFailedTooManyBroadcasters + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS - ClientRoleChangeFailedNotAuthorized + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED - ClientRoleChangeFailedRequestTimeOut + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT - ClientRoleChangeFailedConnectionFailed + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED - TransportTypeNoneProxy + TRANSPORT_TYPE_NONE_PROXY - TransportTypeUdpProxy + TRANSPORT_TYPE_UDP_PROXY - TransportTypeTcpProxy + TRANSPORT_TYPE_TCP_PROXY - ProxyTypeNoneProxy + PROXY_TYPE_NONE_PROXY - ProxyTypeUdpCloudProxy + PROXY_TYPE_UDP_CLOUD_PROXY - ProxyTypeTcpCloudProxy + PROXY_TYPE_TCP_CLOUD_PROXY - ProxyTypeLocalProxy + PROXY_TYPE_LOCAL_PROXY - ProxyTypeTcpAutoFallback + PROXY_TYPE_TCP_AUTO_FALLBACK - DegradationPreference + DEGRADATION_PREFERENCE - MaintainQuality + MAINTAIN_QUALITY - MaintainFramerate + MAINTAIN_FRAMERATE - MaintainBalanced + MAINTAIN_BALANCED - MaintainResolution + MAINTAIN_RESOLUTION - Directcdnstreamingreason + DirectCdnStreamingReason - Ok + OK - Failed + FAILED - AudioPublication + AUDIO_PUBLICATION - VideoPublication + VIDEO_PUBLICATION - NetConnect + NET_CONNECT - BadName + BAD_NAME - Directcdnstreamingstate + DirectCdnStreamingState - Idle + IDLE - Running + RUNNING - Stopped + STOPPED - Failed + FAILED - Recovering + RECOVERING - EarMonitoringFilterNone + EAR_MONITORING_FILTER_NONE - EarMonitoringFilterBuiltInAudioFilters + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS - EarMonitoringFilterNoiseSuppression + EAR_MONITORING_FILTER_NOISE_SUPPRESSION - EarMonitoringFilterReusePostProcessingFilter + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER - EncryptionErrorType + ENCRYPTION_ERROR_TYPE - EncryptionErrorInternalFailure + ENCRYPTION_ERROR_INTERNAL_FAILURE - EncryptionErrorDecryptionFailure + ENCRYPTION_ERROR_DECRYPTION_FAILURE - EncryptionErrorEncryptionFailure + ENCRYPTION_ERROR_ENCRYPTION_FAILURE - EncryptionErrorDatastreamDecryptionFailure + ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE - EncryptionErrorDatastreamEncryptionFailure + ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE - ErrOk + ERR_OK - ErrFailed + ERR_FAILED - ErrInvalidArgument + ERR_INVALID_ARGUMENT - ErrNotReady + ERR_NOT_READY - ErrNotSupported + ERR_NOT_SUPPORTED - ErrRefused + ERR_REFUSED - ErrBufferTooSmall + ERR_BUFFER_TOO_SMALL - ErrNotInitialized + ERR_NOT_INITIALIZED - ErrInvalidState + ERR_INVALID_STATE - ErrNoPermission + ERR_NO_PERMISSION - ErrTimedout + ERR_TIMEDOUT - ErrJoinChannelRejected + ERR_JOIN_CHANNEL_REJECTED - ErrLeaveChannelRejected + ERR_LEAVE_CHANNEL_REJECTED - ErrAlreadyInUse + ERR_ALREADY_IN_USE - ErrAborted + ERR_ABORTED - ErrResourceLimited + ERR_RESOURCE_LIMITED - ErrInvalidAppId + ERR_INVALID_APP_ID - ErrInvalidChannelName + ERR_INVALID_CHANNEL_NAME - ErrNoServerResources + ERR_NO_SERVER_RESOURCES - ErrTokenExpired + ERR_TOKEN_EXPIRED - ErrInvalidToken + ERR_INVALID_TOKEN - ErrConnectionInterrupted + ERR_CONNECTION_INTERRUPTED - ErrConnectionLost + ERR_CONNECTION_LOST - ErrNotInChannel + ERR_NOT_IN_CHANNEL - ErrSizeTooLarge + ERR_SIZE_TOO_LARGE - ErrBitrateLimit + ERR_BITRATE_LIMIT - ErrTooManyDataStreams + ERR_TOO_MANY_DATA_STREAMS - ErrStreamMessageTimeout + ERR_STREAM_MESSAGE_TIMEOUT - ErrSetClientRoleNotAuthorized + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED - ErrDecryptionFailed + ERR_DECRYPTION_FAILED - ErrInvalidUserId + ERR_INVALID_USER_ID - ErrClientIsBannedByServer + ERR_CLIENT_IS_BANNED_BY_SERVER - ErrEncryptedStreamNotAllowedPublish + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH - ErrLicenseCredentialInvalid + ERR_LICENSE_CREDENTIAL_INVALID - ErrInvalidUserAccount + ERR_INVALID_USER_ACCOUNT - ErrModuleNotFound + ERR_MODULE_NOT_FOUND - ErrLoadMediaEngine + ERR_LOAD_MEDIA_ENGINE - ErrAdmGeneralError + ERR_ADM_GENERAL_ERROR - ErrAdmInitPlayout + ERR_ADM_INIT_PLAYOUT - ErrAdmStartPlayout + ERR_ADM_START_PLAYOUT - ErrAdmStopPlayout + ERR_ADM_STOP_PLAYOUT - ErrAdmInitRecording + ERR_ADM_INIT_RECORDING - ErrAdmStartRecording + ERR_ADM_START_RECORDING - ErrAdmStopRecording + ERR_ADM_STOP_RECORDING - ErrVdmCameraNotAuthorized + ERR_VDM_CAMERA_NOT_AUTHORIZED - ErrDatastreamDecryptionFailed + ERR_DATASTREAM_DECRYPTION_FAILED - Encryptionmode + EncryptionMode - Aes128Xts + AES_128_XTS - Aes128Ecb + AES_128_ECB - Aes256Xts + AES_256_XTS - Sm4128Ecb + SM4_128_ECB - Aes128Gcm + AES_128_GCM - Aes256Gcm + AES_256_GCM - Aes128Gcm2 + AES_128_GCM2 - Aes256Gcm2 + AES_256_GCM2 - ModeEnd + MODE_END - ExperienceReasonNone + EXPERIENCE_REASON_NONE - RemoteNetworkQualityPoor + REMOTE_NETWORK_QUALITY_POOR - LocalNetworkQualityPoor + LOCAL_NETWORK_QUALITY_POOR - WirelessSignalPoor + WIRELESS_SIGNAL_POOR - WifiBluetoothCoexist + WIFI_BLUETOOTH_COEXIST - ExperienceQualityGood + EXPERIENCE_QUALITY_GOOD - ExperienceQualityBad + EXPERIENCE_QUALITY_BAD - Featuretype + FeatureType - VideoVirtualBackground + VIDEO_VIRTUAL_BACKGROUND - VideoBeautyEffect + VIDEO_BEAUTY_EFFECT - FrameRate + FRAME_RATE - FrameRateFps1 + FRAME_RATE_FPS_1 - FrameRateFps7 + FRAME_RATE_FPS_7 - FrameRateFps10 + FRAME_RATE_FPS_10 - FrameRateFps15 + FRAME_RATE_FPS_15 - FrameRateFps24 + FRAME_RATE_FPS_24 - FrameRateFps30 + FRAME_RATE_FPS_30 - FrameRateFps60 + FRAME_RATE_FPS_60 - HeadphoneEqualizerPreset + HEADPHONE_EQUALIZER_PRESET - HeadphoneEqualizerOff + HEADPHONE_EQUALIZER_OFF - HeadphoneEqualizerOverear + HEADPHONE_EQUALIZER_OVEREAR - HeadphoneEqualizerInear + HEADPHONE_EQUALIZER_INEAR - LastmileProbeResultComplete + LASTMILE_PROBE_RESULT_COMPLETE - LastmileProbeResultIncompleteNoBwe + LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE - LastmileProbeResultUnavailable + LASTMILE_PROBE_RESULT_UNAVAILABLE - LighteningContrastLow + LIGHTENING_CONTRAST_LOW - LighteningContrastNormal + LIGHTENING_CONTRAST_NORMAL - LighteningContrastHigh + LIGHTENING_CONTRAST_HIGH - InjectStreamStatusStartSuccess + INJECT_STREAM_STATUS_START_SUCCESS - InjectStreamStatusStartAlreadyExists + INJECT_STREAM_STATUS_START_ALREADY_EXISTS - InjectStreamStatusStartUnauthorized + INJECT_STREAM_STATUS_START_UNAUTHORIZED - InjectStreamStatusStartTimedout + INJECT_STREAM_STATUS_START_TIMEDOUT - InjectStreamStatusStartFailed + INJECT_STREAM_STATUS_START_FAILED - InjectStreamStatusStopSuccess + INJECT_STREAM_STATUS_STOP_SUCCESS - InjectStreamStatusStopNotFound + INJECT_STREAM_STATUS_STOP_NOT_FOUND - InjectStreamStatusStopUnauthorized + INJECT_STREAM_STATUS_STOP_UNAUTHORIZED - InjectStreamStatusStopTimedout + INJECT_STREAM_STATUS_STOP_TIMEDOUT - InjectStreamStatusStopFailed + INJECT_STREAM_STATUS_STOP_FAILED - InjectStreamStatusBroken + INJECT_STREAM_STATUS_BROKEN - LocalAudioStreamReasonOk + LOCAL_AUDIO_STREAM_REASON_OK - LocalAudioStreamReasonFailure + LOCAL_AUDIO_STREAM_REASON_FAILURE - LocalAudioStreamReasonDeviceNoPermission + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION - LocalAudioStreamReasonDeviceBusy + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY - LocalAudioStreamReasonCaptureFailure + LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE - LocalAudioStreamReasonEncodeFailure + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE - LocalAudioStreamReasonInterrupted + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED - LocalAudioStreamStateStopped + LOCAL_AUDIO_STREAM_STATE_STOPPED - LocalAudioStreamStateRecording + LOCAL_AUDIO_STREAM_STATE_RECORDING - LocalAudioStreamStateEncoding + LOCAL_AUDIO_STREAM_STATE_ENCODING - LocalAudioStreamStateFailed + LOCAL_AUDIO_STREAM_STATE_FAILED - LocalRpoxyConnectivityFirst + LOCAL_RPOXY_CONNECTIVITY_FIRST - LocalRpoxyLocalOnly + LOCAL_RPOXY_LOCAL_ONLY - LocalVideoStreamReasonOk + LOCAL_VIDEO_STREAM_REASON_OK - LocalVideoStreamReasonFailure + LOCAL_VIDEO_STREAM_REASON_FAILURE - LocalVideoStreamReasonDeviceNoPermission + LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION - LocalVideoStreamReasonDeviceBusy + LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY - LocalVideoStreamReasonCaptureFailure + LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE - LocalVideoStreamReasonCodecNotSupport + LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT - LocalVideoStreamReasonDeviceNotFound + LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND - LocalVideoStreamReasonScreenCaptureWindowMinimized + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED - LocalVideoStreamReasonScreenCaptureWindowClosed + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED - LocalVideoStreamReasonDeviceInterrupt + LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT - LocalVideoStreamReasonDeviceFatalError + LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR - LocalVideoStreamStateStopped + LOCAL_VIDEO_STREAM_STATE_STOPPED - LocalVideoStreamStateCapturing + LOCAL_VIDEO_STREAM_STATE_CAPTURING - LocalVideoStreamStateEncoding + LOCAL_VIDEO_STREAM_STATE_ENCODING - LocalVideoStreamStateFailed + LOCAL_VIDEO_STREAM_STATE_FAILED - ErrScreenCapturePermissionDenied + ERR_SCREEN_CAPTURE_PERMISSION_DENIED - ErrScreenCaptureSystemNotSupported + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED @@ -8698,994 +8698,994 @@ - ErrScreenCaptureSystemAudioNotSupported + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED - LogFilterOff + LOG_FILTER_OFF - LogFilterDebug + LOG_FILTER_DEBUG - LogFilterInfo + LOG_FILTER_INFO - LogFilterWarn + LOG_FILTER_WARN - LogFilterError + LOG_FILTER_ERROR - LogFilterCritical + LOG_FILTER_CRITICAL - Loglevel + LogLevel - LogLevelNone + LOG_LEVEL_NONE - LogLevelInfo + LOG_LEVEL_INFO - LogLevelWarn + LOG_LEVEL_WARN - LogLevelError + LOG_LEVEL_ERROR - LogLevelFatal + LOG_LEVEL_FATAL - LowLightEnhanceAuto + LOW_LIGHT_ENHANCE_AUTO - LowLightEnhanceManual + LOW_LIGHT_ENHANCE_MANUAL - LowLightEnhanceLevelHighQuality + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY - LowLightEnhanceLevelFast + LOW_LIGHT_ENHANCE_LEVEL_FAST - MediaDeviceStateActive + MEDIA_DEVICE_STATE_ACTIVE - MediaDeviceStateDisabled + MEDIA_DEVICE_STATE_DISABLED - MediaDeviceStateNotPresent + MEDIA_DEVICE_STATE_NOT_PRESENT - MediaDeviceStateUnplugged + MEDIA_DEVICE_STATE_UNPLUGGED - MediaDeviceStateUnrecommended + MEDIA_DEVICE_STATE_UNRECOMMENDED - AudioApplicationPlayoutDevice + AUDIO_APPLICATION_PLAYOUT_DEVICE - Mediaplayerreason + MediaPlayerReason - PlayerReasonNone + PLAYER_REASON_NONE - PlayerReasonInvalidArguments + PLAYER_REASON_INVALID_ARGUMENTS - PlayerReasonInternal + PLAYER_REASON_INTERNAL - PlayerReasonNoResource + PLAYER_REASON_NO_RESOURCE - PlayerReasonInvalidMediaSource + PLAYER_REASON_INVALID_MEDIA_SOURCE - PlayerReasonUnknownStreamType + PLAYER_REASON_UNKNOWN_STREAM_TYPE - PlayerReasonObjNotInitialized + PLAYER_REASON_OBJ_NOT_INITIALIZED - PlayerReasonCodecNotSupported + PLAYER_REASON_CODEC_NOT_SUPPORTED - PlayerReasonVideoRenderFailed + PLAYER_REASON_VIDEO_RENDER_FAILED - PlayerReasonInvalidState + PLAYER_REASON_INVALID_STATE - PlayerReasonUrlNotFound + PLAYER_REASON_URL_NOT_FOUND - PlayerReasonInvalidConnectionState + PLAYER_REASON_INVALID_CONNECTION_STATE - PlayerReasonSrcBufferUnderflow + PLAYER_REASON_SRC_BUFFER_UNDERFLOW - PlayerReasonInterrupted + PLAYER_REASON_INTERRUPTED - PlayerReasonNotSupported + PLAYER_REASON_NOT_SUPPORTED - PlayerReasonTokenExpired + PLAYER_REASON_TOKEN_EXPIRED - PlayerReasonIpExpired + PLAYER_REASON_IP_EXPIRED - PlayerReasonUnknown + PLAYER_REASON_UNKNOWN - Mediaplayerevent + MediaPlayerEvent - PlayerEventUnknown + PLAYER_EVENT_UNKNOWN - PlayerEventSeekBegin + PLAYER_EVENT_SEEK_BEGIN - PlayerEventSeekComplete + PLAYER_EVENT_SEEK_COMPLETE - PlayerEventSeekError + PLAYER_EVENT_SEEK_ERROR - PlayerEventAudioTrackChanged + PLAYER_EVENT_AUDIO_TRACK_CHANGED - PlayerEventBufferLow + PLAYER_EVENT_BUFFER_LOW - PlayerEventBufferRecover + PLAYER_EVENT_BUFFER_RECOVER - PlayerEventFreezeStart + PLAYER_EVENT_FREEZE_START - PlayerEventFreezeStop + PLAYER_EVENT_FREEZE_STOP - PlayerEventSwitchBegin + PLAYER_EVENT_SWITCH_BEGIN - PlayerEventSwitchComplete + PLAYER_EVENT_SWITCH_COMPLETE - PlayerEventSwitchError + PLAYER_EVENT_SWITCH_ERROR - PlayerEventFirstDisplayed + PLAYER_EVENT_FIRST_DISPLAYED - PlayerEventReachCacheFileMaxCount + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT - PlayerEventReachCacheFileMaxSize + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE - Mediaplayermetadatatype + MediaPlayerMetadataType - PlayerMetadataTypeUnknown + PLAYER_METADATA_TYPE_UNKNOWN - PlayerMetadataTypeSei + PLAYER_METADATA_TYPE_SEI - Mediaplayerstate + MediaPlayerState - PlayerStateUnknown + PLAYER_STATE_UNKNOWN - PlayerStateIdle + PLAYER_STATE_IDLE - PlayerStateOpening + PLAYER_STATE_OPENING - PlayerStateOpenCompleted + PLAYER_STATE_OPEN_COMPLETED - PlayerStatePlaying + PLAYER_STATE_PLAYING - PlayerStatePaused + PLAYER_STATE_PAUSED - PlayerStatePlaybackCompleted + PLAYER_STATE_PLAYBACK_COMPLETED - PlayerStatePlaybackAllLoopsCompleted + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED - PlayerStateStopped + PLAYER_STATE_STOPPED - PlayerStateFailed + PLAYER_STATE_FAILED - Mediasourcetype + MediaSourceType - AudioPlayoutSource + AUDIO_PLAYOUT_SOURCE - AudioRecordingSource + AUDIO_RECORDING_SOURCE - PrimaryCameraSource + PRIMARY_CAMERA_SOURCE - SecondaryCameraSource + SECONDARY_CAMERA_SOURCE - CustomVideoSource + CUSTOM_VIDEO_SOURCE - SpeechDrivenVideoSource + SPEECH_DRIVEN_VIDEO_SOURCE - UnknownMediaSource + UNKNOWN_MEDIA_SOURCE - MediaTraceEvent + MEDIA_TRACE_EVENT - MediaTraceEventVideoRendered + MEDIA_TRACE_EVENT_VIDEO_RENDERED - MediaTraceEventVideoDecoded + MEDIA_TRACE_EVENT_VIDEO_DECODED - Mediastreamtype + MediaStreamType - StreamTypeUnknown + STREAM_TYPE_UNKNOWN - StreamTypeVideo + STREAM_TYPE_VIDEO - StreamTypeAudio + STREAM_TYPE_AUDIO - StreamTypeSubtitle + STREAM_TYPE_SUBTITLE - UnknownMetadata + UNKNOWN_METADATA - VideoMetadata + VIDEO_METADATA - NetworkTypeUnknown + NETWORK_TYPE_UNKNOWN - NetworkTypeDisconnected + NETWORK_TYPE_DISCONNECTED - NetworkTypeLan + NETWORK_TYPE_LAN - NetworkTypeWifi + NETWORK_TYPE_WIFI - NetworkTypeMobile2g + NETWORK_TYPE_MOBILE_2G - NetworkTypeMobile3g + NETWORK_TYPE_MOBILE_3G - NetworkTypeMobile4g + NETWORK_TYPE_MOBILE_4G - NetworkTypeMobile5g + NETWORK_TYPE_MOBILE_5G - Musiccontentcenterstatereason + MusicContentCenterStateReason - MusicContentCenterStateReasonOk + MUSIC_CONTENT_CENTER_STATE_REASON_OK - MusicContentCenterStateReasonError + MUSIC_CONTENT_CENTER_STATE_REASON_ERROR - MusicContentCenterStateReasonGateway + MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY - MusicContentCenterStateReasonPermissionAndResource + MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE - MusicContentCenterStateReasonInternalDataParse + MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE - MusicContentCenterStateReasonMusicLoading + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING - MusicContentCenterStateReasonMusicDecryption + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION - MusicContentCenterStateReasonHttpInternal + MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL - Preloadstate + PreloadState - PreloadStateCompleted + PRELOAD_STATE_COMPLETED - PreloadStateFailed + PRELOAD_STATE_FAILED - PreloadStatePreloading + PRELOAD_STATE_PRELOADING - PreloadStateRemoved + PRELOAD_STATE_REMOVED - Musiccachestatustype + MusicCacheStatusType - MusicCacheStatusTypeCached + MUSIC_CACHE_STATUS_TYPE_CACHED - MusicCacheStatusTypeCaching + MUSIC_CACHE_STATUS_TYPE_CACHING - OrientationMode + ORIENTATION_MODE - OrientationModeAdaptive + ORIENTATION_MODE_ADAPTIVE - OrientationFixedLandscape + ORIENTATION_FIXED_LANDSCAPE - OrientationFixedPortrait + ORIENTATION_FIXED_PORTRAIT - RecordAudio + RECORD_AUDIO - Camera + CAMERA - ScreenCapture + SCREEN_CAPTURE - Screenscenariotype + ScreenScenarioType - ScreenScenarioDocument + SCREEN_SCENARIO_DOCUMENT - ScreenScenarioGaming + SCREEN_SCENARIO_GAMING - ScreenScenarioVideo + SCREEN_SCENARIO_VIDEO - Mediaplayerpreloadevent + MediaPlayerPreloadEvent - PlayerPreloadEventBegin + PLAYER_PRELOAD_EVENT_BEGIN - PlayerPreloadEventComplete + PLAYER_PRELOAD_EVENT_COMPLETE - PlayerPreloadEventError + PLAYER_PRELOAD_EVENT_ERROR - UserPriorityHigh + USER_PRIORITY_HIGH - UserPriorityNoranl + USER_PRIORITY_NORANL - QualityReportFormatType + QUALITY_REPORT_FORMAT_TYPE - QualityReportJson + QUALITY_REPORT_JSON - QualityReportHtml + QUALITY_REPORT_HTML - QualityUnknown + QUALITY_UNKNOWN - QualityExcellent + QUALITY_EXCELLENT - QualityGood + QUALITY_GOOD - QualityPoor + QUALITY_POOR - QualityBad + QUALITY_BAD - QualityVbad + QUALITY_VBAD - QualityDown + QUALITY_DOWN @@ -9699,259 +9699,259 @@ - RawAudioFrameOpModeReadOnly + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY - RawAudioFrameOpModeReadWrite + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE - RecorderReasonNone + RECORDER_REASON_NONE - RecorderErrorWriteFailed + RECORDER_ERROR_WRITE_FAILED - RecorderErrorNoStream + RECORDER_ERROR_NO_STREAM - RecorderErrorOverMaxDuration + RECORDER_ERROR_OVER_MAX_DURATION - RecorderErrorConfigChanged + RECORDER_ERROR_CONFIG_CHANGED - RecorderStateError + RECORDER_STATE_ERROR - RecorderStateStart + RECORDER_STATE_START - RecorderStateStop + RECORDER_STATE_STOP - RemoteAudioStateStopped + REMOTE_AUDIO_STATE_STOPPED - RemoteAudioStateStarting + REMOTE_AUDIO_STATE_STARTING - RemoteAudioStateDecoding + REMOTE_AUDIO_STATE_DECODING - RemoteAudioStateFrozen + REMOTE_AUDIO_STATE_FROZEN - RemoteAudioStateFailed + REMOTE_AUDIO_STATE_FAILED - RemoteVideoStateStopped + REMOTE_VIDEO_STATE_STOPPED - RemoteVideoStateStarting + REMOTE_VIDEO_STATE_STARTING - RemoteVideoStateDecoding + REMOTE_VIDEO_STATE_DECODING - RemoteVideoStateFrozen + REMOTE_VIDEO_STATE_FROZEN - RemoteVideoStateFailed + REMOTE_VIDEO_STATE_FAILED - RemoteAudioReasonInternal + REMOTE_AUDIO_REASON_INTERNAL - RemoteAudioReasonNetworkCongestion + REMOTE_AUDIO_REASON_NETWORK_CONGESTION - RemoteAudioReasonNetworkRecovery + REMOTE_AUDIO_REASON_NETWORK_RECOVERY - RemoteAudioReasonLocalMuted + REMOTE_AUDIO_REASON_LOCAL_MUTED - RemoteAudioReasonLocalUnmuted + REMOTE_AUDIO_REASON_LOCAL_UNMUTED - RemoteAudioReasonRemoteMuted + REMOTE_AUDIO_REASON_REMOTE_MUTED - RemoteAudioReasonRemoteUnmuted + REMOTE_AUDIO_REASON_REMOTE_UNMUTED - RemoteAudioReasonRemoteOffline + REMOTE_AUDIO_REASON_REMOTE_OFFLINE - RemoteVideoStateReasonInternal + REMOTE_VIDEO_STATE_REASON_INTERNAL - RemoteVideoStateReasonNetworkCongestion + REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION - RemoteVideoStateReasonNetworkRecovery + REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY - RemoteVideoStateReasonLocalMuted + REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED - RemoteVideoStateReasonLocalUnmuted + REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED - RemoteVideoStateReasonRemoteMuted + REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED - RemoteVideoStateReasonRemoteUnmuted + REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED - RemoteVideoStateReasonRemoteOffline + REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE - RemoteVideoStateReasonAudioFallback + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK @@ -9959,889 +9959,889 @@ - RemoteVideoStateReasonAudioFallbackRecovery + REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY - RemoteVideoStateReasonCodecNotSupport + REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT - RenderModeHidden + RENDER_MODE_HIDDEN - RenderModeFit + RENDER_MODE_FIT - RenderModeAdaptive + RENDER_MODE_ADAPTIVE - RtmpStreamPublishReasonOk + RTMP_STREAM_PUBLISH_REASON_OK - RtmpStreamPublishReasonInvalidArgument + RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT - RtmpStreamPublishReasonEncryptedStreamNotAllowed + RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED - RtmpStreamPublishReasonConnectionTimeout + RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT - RtmpStreamPublishReasonInternalServerError + RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR - RtmpStreamPublishReasonRtmpServerError + RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR - RtmpStreamPublishReasonTooOften + RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN - RtmpStreamPublishReasonReachLimit + RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT - RtmpStreamPublishReasonNotAuthorized + RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED - RtmpStreamPublishReasonStreamNotFound + RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND - RtmpStreamPublishReasonFormatNotSupported + RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED - RtmpStreamPublishReasonNotBroadcaster + RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER - RtmpStreamPublishReasonTranscodingNoMixStream + RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM - RtmpStreamPublishReasonNetDown + RTMP_STREAM_PUBLISH_REASON_NET_DOWN - RtmpStreamPublishReasonInvalidPrivilege + RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE - RtmpStreamUnpublishReasonOk + RTMP_STREAM_UNPUBLISH_REASON_OK - RtmpStreamPublishStateIdle + RTMP_STREAM_PUBLISH_STATE_IDLE - RtmpStreamPublishStateConnecting + RTMP_STREAM_PUBLISH_STATE_CONNECTING - RtmpStreamPublishStateRunning + RTMP_STREAM_PUBLISH_STATE_RUNNING - RtmpStreamPublishStateRecovering + RTMP_STREAM_PUBLISH_STATE_RECOVERING - RtmpStreamPublishStateFailure + RTMP_STREAM_PUBLISH_STATE_FAILURE - RtmpStreamPublishStateDisconnecting + RTMP_STREAM_PUBLISH_STATE_DISCONNECTING - RtmpStreamingEventFailedLoadImage + RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE - RtmpStreamingEventUrlAlreadyInUse + RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE - RtmpStreamingEventAdvancedFeatureNotSupport + RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT - RtmpStreamingEventRequestTooOften + RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN - StreamFallbackOptionDisabled + STREAM_FALLBACK_OPTION_DISABLED - StreamFallbackOptionVideoStreamLow + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW - StreamFallbackOptionAudioOnly + STREAM_FALLBACK_OPTION_AUDIO_ONLY - RhythmPlayerStateIdle + RHYTHM_PLAYER_STATE_IDLE - RhythmPlayerStateOpening + RHYTHM_PLAYER_STATE_OPENING - RhythmPlayerStateDecoding + RHYTHM_PLAYER_STATE_DECODING - RhythmPlayerStatePlaying + RHYTHM_PLAYER_STATE_PLAYING - RhythmPlayerStateFailed + RHYTHM_PLAYER_STATE_FAILED - RhythmPlayerReasonOk + RHYTHM_PLAYER_REASON_OK - RhythmPlayerReasonFailed + RHYTHM_PLAYER_REASON_FAILED - RhythmPlayerReasonCanNotOpen + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN - RhythmPlayerReasonCanNotPlay + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY - RhythmPlayerReasonFileOverDurationLimit + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT - SimulcastStreamMode + SIMULCAST_STREAM_MODE - AutoSimulcastStream + AUTO_SIMULCAST_STREAM - DisableSimulcastStream + DISABLE_SIMULCAST_STREAM - EnableSimulcastStream + ENABLE_SIMULCAST_STREAM - Connectionstate + ConnectionState - SaeConnectionStateConnecting + SAE_CONNECTION_STATE_CONNECTING - SaeConnectionStateConnected + SAE_CONNECTION_STATE_CONNECTED - SaeConnectionStateDisconnected + SAE_CONNECTION_STATE_DISCONNECTED - SaeConnectionStateReconnecting + SAE_CONNECTION_STATE_RECONNECTING - SaeConnectionStateReconnected + SAE_CONNECTION_STATE_RECONNECTED - Connectionchangedreason + ConnectionChangedReason - SaeConnectionChangedDefault + SAE_CONNECTION_CHANGED_DEFAULT - SaeConnectionChangedConnecting + SAE_CONNECTION_CHANGED_CONNECTING - SaeConnectionChangedCreateRoomFail + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL - SaeConnectionChangedRtmDisconnect + SAE_CONNECTION_CHANGED_RTM_DISCONNECT - SaeConnectionChangedRtmAborted + SAE_CONNECTION_CHANGED_RTM_ABORTED - SaeConnectionChangedLostSync + SAE_CONNECTION_CHANGED_LOST_SYNC - SegModelAi + SEG_MODEL_AI - SegModelGreen + SEG_MODEL_GREEN - StreamPublishState + STREAM_PUBLISH_STATE - PubStateIdle + PUB_STATE_IDLE - PubStateNoPublished + PUB_STATE_NO_PUBLISHED - PubStatePublishing + PUB_STATE_PUBLISHING - PubStatePublished + PUB_STATE_PUBLISHED - StreamTypeBoth + STREAM_TYPE_BOTH - SubStateIdle + SUB_STATE_IDLE - SubStateNoSubscribed + SUB_STATE_NO_SUBSCRIBED - SubStateSubscribing + SUB_STATE_SUBSCRIBING - SubStateSubscribed + SUB_STATE_SUBSCRIBED - UserOfflineQuit + USER_OFFLINE_QUIT - UserOfflineDropped + USER_OFFLINE_DROPPED - UserOfflineBecomeAudience + USER_OFFLINE_BECOME_AUDIENCE - VideoBufferRawData + VIDEO_BUFFER_RAW_DATA - Videoscenario + VideoScenario - ApplicationScenarioGeneral + APPLICATION_SCENARIO_GENERAL - ApplicationScenarioMeeting + APPLICATION_SCENARIO_MEETING - VideoCaptureType + VIDEO_CAPTURE_TYPE - VideoCaptureUnknown + VIDEO_CAPTURE_UNKNOWN - VideoCaptureCamera + VIDEO_CAPTURE_CAMERA - VideoCaptureScreen + VIDEO_CAPTURE_SCREEN - VideoDenoiserAuto + VIDEO_DENOISER_AUTO - VideoDenoiserManual + VIDEO_DENOISER_MANUAL - VideoDenoiserLevelHighQuality + VIDEO_DENOISER_LEVEL_HIGH_QUALITY - VideoDenoiserLevelFast + VIDEO_DENOISER_LEVEL_FAST - VideoDenoiserLevelStrength + VIDEO_DENOISER_LEVEL_STRENGTH - Videosourcetype + VideoSourceType - VideoSourceCameraPrimary + VIDEO_SOURCE_CAMERA_PRIMARY - VideoSourceCamera + VIDEO_SOURCE_CAMERA - VideoSourceCameraSecondary + VIDEO_SOURCE_CAMERA_SECONDARY - VideoSourceScreenPrimary + VIDEO_SOURCE_SCREEN_PRIMARY - VideoSourceScreen + VIDEO_SOURCE_SCREEN - VideoSourceScreenSecondary + VIDEO_SOURCE_SCREEN_SECONDARY - VideoSourceCustom + VIDEO_SOURCE_CUSTOM - VideoSourceMediaPlayer + VIDEO_SOURCE_MEDIA_PLAYER - VideoSourceRtcImagePng + VIDEO_SOURCE_RTC_IMAGE_PNG - VideoSourceRtcImageJpeg + VIDEO_SOURCE_RTC_IMAGE_JPEG - VideoSourceRtcImageGif + VIDEO_SOURCE_RTC_IMAGE_GIF - VideoSourceRemote + VIDEO_SOURCE_REMOTE - VideoSourceTranscoded + VIDEO_SOURCE_TRANSCODED - VideoSourceCameraThird + VIDEO_SOURCE_CAMERA_THIRD - VideoSourceCameraFourth + VIDEO_SOURCE_CAMERA_FOURTH - VideoSourceSpeechDriven + VIDEO_SOURCE_SPEECH_DRIVEN - VideoSourceUnknown + VIDEO_SOURCE_UNKNOWN - CodecCapabilityLevelUnspecified + CODEC_CAPABILITY_LEVEL_UNSPECIFIED - CodecCapabilityLevelBasicSupport + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT - CodecCapabilityLevel1080p30fps + CODEC_CAPABILITY_LEVEL_1080P30FPS - CodecCapabilityLevel1080p60fps + CODEC_CAPABILITY_LEVEL_1080P60FPS - CodecCapabilityLevel4k60fps + CODEC_CAPABILITY_LEVEL_4K60FPS - Videocodecprofiletype + VideoCodecProfileType - Baseline + BASELINE - Main + MAIN - High + HIGH - VideoCodecType + VIDEO_CODEC_TYPE - VideoCodecNone + VIDEO_CODEC_NONE - VideoCodecVp8 + VIDEO_CODEC_VP8 - VideoCodecH264 + VIDEO_CODEC_H264 - VideoCodecH265 + VIDEO_CODEC_H265 - VideoCodecGeneric + VIDEO_CODEC_GENERIC - VideoCodecGenericH264 + VIDEO_CODEC_GENERIC_H264 - VideoCodecAv1 + VIDEO_CODEC_AV1 - VideoCodecVp9 + VIDEO_CODEC_VP9 - VideoCodecGenericJpeg + VIDEO_CODEC_GENERIC_JPEG - Videocodectype + VideoCodecType @@ -10862,1043 +10862,1043 @@ - ScreenCaptureContentHintNone + SCREEN_CAPTURE_CONTENT_HINT_NONE - ScreenCaptureContentHintMotion + SCREEN_CAPTURE_CONTENT_HINT_MOTION - ScreenCaptureContentHintDetails + SCREEN_CAPTURE_CONTENT_HINT_DETAILS - VideoFrameProcessMode + VIDEO_FRAME_PROCESS_MODE - ProcessModeReadOnly + PROCESS_MODE_READ_ONLY - ProcessModeReadWrite + PROCESS_MODE_READ_WRITE - VideoFrameTypeBlankFrame + VIDEO_FRAME_TYPE_BLANK_FRAME - VideoFrameTypeKeyFrame + VIDEO_FRAME_TYPE_KEY_FRAME - VideoFrameTypeDeltaFrame + VIDEO_FRAME_TYPE_DELTA_FRAME - VideoFrameTypeBFrame + VIDEO_FRAME_TYPE_B_FRAME - VideoFrameTypeDroppableFrame + VIDEO_FRAME_TYPE_DROPPABLE_FRAME - VideoFrameTypeUnknow + VIDEO_FRAME_TYPE_UNKNOW - VideoMirrorModeAuto + VIDEO_MIRROR_MODE_AUTO - VideoMirrorModeEnabled + VIDEO_MIRROR_MODE_ENABLED - VideoMirrorModeDisabled + VIDEO_MIRROR_MODE_DISABLED - Videomoduleposition + VideoModulePosition - VideoModulePositionPostCapturer + VIDEO_MODULE_POSITION_POST_CAPTURER - VideoModulePositionPreRenderer + VIDEO_MODULE_POSITION_PRE_RENDERER - VideoModulePositionPreEncoder + VIDEO_MODULE_POSITION_PRE_ENCODER - VideoModulePositionPostCapturerOrigin + VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN - VideoOrientation0 + VIDEO_ORIENTATION_0 - VideoOrientation90 + VIDEO_ORIENTATION_90 - VideoOrientation180 + VIDEO_ORIENTATION_180 - VideoOrientation270 + VIDEO_ORIENTATION_270 - VideoPixelDefault + VIDEO_PIXEL_DEFAULT - VideoPixelI420 + VIDEO_PIXEL_I420 - VideoPixelBgra + VIDEO_PIXEL_BGRA - VideoPixelNv21 + VIDEO_PIXEL_NV21 - VideoPixelRgba + VIDEO_PIXEL_RGBA - VideoPixelImc2 + VIDEO_PIXEL_IMC2 - VideoPixelArgb + VIDEO_PIXEL_ARGB - VideoPixelNv12 + VIDEO_PIXEL_NV12 - VideoPixelI422 + VIDEO_PIXEL_I422 - VideoTexture2d + VIDEO_TEXTURE_2D - VideoTextureOes + VIDEO_TEXTURE_OES - VideoProfileLandscape120p + VIDEO_PROFILE_LANDSCAPE_120P - VideoProfileLandscape120p3 + VIDEO_PROFILE_LANDSCAPE_120P_3 - VideoProfileLandscape180p + VIDEO_PROFILE_LANDSCAPE_180P - VideoProfileLandscape180p3 + VIDEO_PROFILE_LANDSCAPE_180P_3 - VideoProfileLandscape180p4 + VIDEO_PROFILE_LANDSCAPE_180P_4 - VideoProfileLandscape240p + VIDEO_PROFILE_LANDSCAPE_240P - VideoProfileLandscape240p3 + VIDEO_PROFILE_LANDSCAPE_240P_3 - VideoProfileLandscape240p4 + VIDEO_PROFILE_LANDSCAPE_240P_4 - VideoProfileLandscape360p + VIDEO_PROFILE_LANDSCAPE_360P - VideoProfileLandscape360p3 + VIDEO_PROFILE_LANDSCAPE_360P_3 - VideoProfileLandscape360p4 + VIDEO_PROFILE_LANDSCAPE_360P_4 - VideoProfileLandscape360p6 + VIDEO_PROFILE_LANDSCAPE_360P_6 - VideoProfileLandscape360p7 + VIDEO_PROFILE_LANDSCAPE_360P_7 - VideoProfileLandscape360p8 + VIDEO_PROFILE_LANDSCAPE_360P_8 - VideoProfileLandscape360p9 + VIDEO_PROFILE_LANDSCAPE_360P_9 - VideoProfileLandscape360p10 + VIDEO_PROFILE_LANDSCAPE_360P_10 - VideoProfileLandscape360p11 + VIDEO_PROFILE_LANDSCAPE_360P_11 - VideoProfileLandscape480p + VIDEO_PROFILE_LANDSCAPE_480P - VideoProfileLandscape480p3 + VIDEO_PROFILE_LANDSCAPE_480P_3 - VideoProfileLandscape480p4 + VIDEO_PROFILE_LANDSCAPE_480P_4 - VideoProfileLandscape480p6 + VIDEO_PROFILE_LANDSCAPE_480P_6 - VideoProfileLandscape480p8 + VIDEO_PROFILE_LANDSCAPE_480P_8 - VideoProfileLandscape480p9 + VIDEO_PROFILE_LANDSCAPE_480P_9 - VideoProfileLandscape480p10 + VIDEO_PROFILE_LANDSCAPE_480P_10 - VideoProfileLandscape720p + VIDEO_PROFILE_LANDSCAPE_720P - VideoProfileLandscape720p3 + VIDEO_PROFILE_LANDSCAPE_720P_3 - VideoProfileLandscape720p5 + VIDEO_PROFILE_LANDSCAPE_720P_5 - VideoProfileLandscape720p6 + VIDEO_PROFILE_LANDSCAPE_720P_6 - VideoProfileLandscape1080p + VIDEO_PROFILE_LANDSCAPE_1080P - VideoProfileLandscape1080p3 + VIDEO_PROFILE_LANDSCAPE_1080P_3 - VideoProfileLandscape1080p5 + VIDEO_PROFILE_LANDSCAPE_1080P_5 - VideoProfileLandscape1440p + VIDEO_PROFILE_LANDSCAPE_1440P - VideoProfileLandscape1440p2 + VIDEO_PROFILE_LANDSCAPE_1440P_2 - VideoProfileLandscape4k + VIDEO_PROFILE_LANDSCAPE_4K - VideoProfileLandscape4k3 + VIDEO_PROFILE_LANDSCAPE_4K_3 - VideoProfilePortrait120p + VIDEO_PROFILE_PORTRAIT_120P - VideoProfilePortrait120p3 + VIDEO_PROFILE_PORTRAIT_120P_3 - VideoProfilePortrait180p + VIDEO_PROFILE_PORTRAIT_180P - VideoProfilePortrait180p3 + VIDEO_PROFILE_PORTRAIT_180P_3 - VideoProfilePortrait180p4 + VIDEO_PROFILE_PORTRAIT_180P_4 - VideoProfilePortrait240p + VIDEO_PROFILE_PORTRAIT_240P - VideoProfilePortrait240p3 + VIDEO_PROFILE_PORTRAIT_240P_3 - VideoProfilePortrait240p4 + VIDEO_PROFILE_PORTRAIT_240P_4 - VideoProfilePortrait360p + VIDEO_PROFILE_PORTRAIT_360P - VideoProfilePortrait360p3 + VIDEO_PROFILE_PORTRAIT_360P_3 - VideoProfilePortrait360p4 + VIDEO_PROFILE_PORTRAIT_360P_4 - VideoProfilePortrait360p6 + VIDEO_PROFILE_PORTRAIT_360P_6 - VideoProfilePortrait360p7 + VIDEO_PROFILE_PORTRAIT_360P_7 - VideoProfilePortrait360p8 + VIDEO_PROFILE_PORTRAIT_360P_8 - VideoProfilePortrait360p9 + VIDEO_PROFILE_PORTRAIT_360P_9 - VideoProfilePortrait360p10 + VIDEO_PROFILE_PORTRAIT_360P_10 - VideoProfilePortrait360p11 + VIDEO_PROFILE_PORTRAIT_360P_11 - VideoProfilePortrait480p + VIDEO_PROFILE_PORTRAIT_480P - VideoProfilePortrait480p3 + VIDEO_PROFILE_PORTRAIT_480P_3 - VideoProfilePortrait480p4 + VIDEO_PROFILE_PORTRAIT_480P_4 - VideoProfilePortrait480p6 + VIDEO_PROFILE_PORTRAIT_480P_6 - VideoProfilePortrait480p8 + VIDEO_PROFILE_PORTRAIT_480P_8 - VideoProfilePortrait480p9 + VIDEO_PROFILE_PORTRAIT_480P_9 - VideoProfilePortrait480p10 + VIDEO_PROFILE_PORTRAIT_480P_10 - VideoProfilePortrait720p + VIDEO_PROFILE_PORTRAIT_720P - VideoProfilePortrait720p3 + VIDEO_PROFILE_PORTRAIT_720P_3 - VideoProfilePortrait720p5 + VIDEO_PROFILE_PORTRAIT_720P_5 - VideoProfilePortrait720p6 + VIDEO_PROFILE_PORTRAIT_720P_6 - VideoProfilePortrait1080p + VIDEO_PROFILE_PORTRAIT_1080P - VideoProfilePortrait1080p3 + VIDEO_PROFILE_PORTRAIT_1080P_3 - VideoProfilePortrait1080p5 + VIDEO_PROFILE_PORTRAIT_1080P_5 - VideoProfilePortrait1440p + VIDEO_PROFILE_PORTRAIT_1440P - VideoProfilePortrait1440p2 + VIDEO_PROFILE_PORTRAIT_1440P_2 - VideoProfilePortrait4k + VIDEO_PROFILE_PORTRAIT_4K - VideoProfilePortrait4k3 + VIDEO_PROFILE_PORTRAIT_4K_3 - VideoStreamHigh + VIDEO_STREAM_HIGH - VideoStreamLow + VIDEO_STREAM_LOW - VideoProfileDefault + VIDEO_PROFILE_DEFAULT - ViewSetupModeReplace + VIEW_SETUP_MODE_REPLACE - ViewSetupModeAdd + VIEW_SETUP_MODE_ADD - ViewSetupModeRemove + VIEW_SETUP_MODE_REMOVE - VoiceBeautifierOff + VOICE_BEAUTIFIER_OFF - ChatBeautifierMagnetic + CHAT_BEAUTIFIER_MAGNETIC - ChatBeautifierFresh + CHAT_BEAUTIFIER_FRESH - ChatBeautifierVitality + CHAT_BEAUTIFIER_VITALITY - SingingBeautifier + SINGING_BEAUTIFIER - TimbreTransformationVigorous + TIMBRE_TRANSFORMATION_VIGOROUS - TimbreTransformationDeep + TIMBRE_TRANSFORMATION_DEEP - TimbreTransformationMellow + TIMBRE_TRANSFORMATION_MELLOW - TimbreTransformationFalsetto + TIMBRE_TRANSFORMATION_FALSETTO - TimbreTransformationFull + TIMBRE_TRANSFORMATION_FULL - TimbreTransformationClear + TIMBRE_TRANSFORMATION_CLEAR - TimbreTransformationResounding + TIMBRE_TRANSFORMATION_RESOUNDING - TimbreTransformationRinging + TIMBRE_TRANSFORMATION_RINGING - UltraHighQualityVoice + ULTRA_HIGH_QUALITY_VOICE - VoiceChangerOff + VOICE_CHANGER_OFF - VoiceChangerOldman + VOICE_CHANGER_OLDMAN - VoiceChangerBabyboy + VOICE_CHANGER_BABYBOY - VoiceChangerBabygirl + VOICE_CHANGER_BABYGIRL - VoiceChangerZhubajie + VOICE_CHANGER_ZHUBAJIE - VoiceChangerEthereal + VOICE_CHANGER_ETHEREAL - VoiceChangerHulk + VOICE_CHANGER_HULK - VoiceBeautyVigorous + VOICE_BEAUTY_VIGOROUS - VoiceBeautyDeep + VOICE_BEAUTY_DEEP - VoiceBeautyMellow + VOICE_BEAUTY_MELLOW - VoiceBeautyFalsetto + VOICE_BEAUTY_FALSETTO - VoiceBeautyFull + VOICE_BEAUTY_FULL - VoiceBeautyClear + VOICE_BEAUTY_CLEAR - VoiceBeautyResounding + VOICE_BEAUTY_RESOUNDING - VoiceBeautyRinging + VOICE_BEAUTY_RINGING - VoiceBeautySpacial + VOICE_BEAUTY_SPACIAL - GeneralBeautyVoiceMaleMagnetic + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC - GeneralBeautyVoiceFemaleFresh + GENERAL_BEAUTY_VOICE_FEMALE_FRESH - GeneralBeautyVoiceFemaleVitality + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY - VoiceConversionOff + VOICE_CONVERSION_OFF - VoiceChangerNeutral + VOICE_CHANGER_NEUTRAL - VoiceChangerSweet + VOICE_CHANGER_SWEET - VoiceChangerSolid + VOICE_CHANGER_SOLID - VoiceChangerBass + VOICE_CHANGER_BASS From 1fdbe57ed4b04a46683f7700ad9b107b9fcec593 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 18 Jun 2024 20:13:30 +0800 Subject: [PATCH 021/146] 1 --- dita/RTC-NG/API/api_irtcengine_startscreencapture.dita | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index 8ee3bcf7c4f..aeb955ac4d8 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -15,7 +15,7 @@

      public abstract int startScreenCapture(ScreenCaptureParameters screenCaptureParameters); - public abstract startScreenCapture(): number; + public abstract startScreenCapture(parameter: ScreenCaptureParameters): number; - (int)startScreenCapture:(AgoraScreenCaptureParameters2* _Nullable)parameters NS_SWIFT_NAME(startScreenCapture(_:)); #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; @@ -60,11 +60,11 @@

    • 因 Android 性能限制,屏幕共享不支持 Android TV。
    • 因 Android 系统限制,使用华为手机进行屏幕共享时,为避免崩溃,请不要在共享过程中调节屏幕共享流的视频编码分辨率。
    • 因 Android 系统限制,部分小米手机不支持屏幕共享时采集系统音频。
    • -
    • 为提高屏幕共享时采集系统音频的成功率,建议你在加入频道前通过 方法设置音频场景为
    • +
    • 为提高屏幕共享时采集系统音频的成功率,建议你在加入频道前通过 方法设置音频场景为
    @@ -80,7 +80,7 @@
    <ph keyref="return-section-title"/>

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

    -
      +
      • 0: 方法调用成功。
      • < 0: 方法调用失败。详见了解详情和解决建议。
          From 5f10b36a783801458b254252e06d6d204f1007ad Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 19 Jun 2024 16:43:34 +0800 Subject: [PATCH 022/146] update --- .../API/api_getmediaplayercachemanager.dita | 9 ++---- .../api_imediaplayer_openwithmediasource.dita | 17 ++++------- .../API/api_irtcengine_createmediaplayer.dita | 8 ++--- .../RTC-NG/API/api_irtcengine_playeffect.dita | 30 ++++++++++++------- .../API/api_irtcengine_playeffect2.dita | 18 ++++------- .../API/api_irtcengine_playeffect3.dita | 15 ++++------ .../API/api_irtcengine_preloadeffect.dita | 4 --- .../API/api_irtcengine_resumealleffects.dita | 4 +-- .../API/api_irtcengine_stopalleffects.dita | 6 ++-- .../RTC-NG/API/api_irtcengine_stopeffect.dita | 5 ++-- 10 files changed, 47 insertions(+), 69 deletions(-) diff --git a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index e21ff2dc720..b2b175467d4 100644 --- a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -30,19 +30,14 @@
    详情 -

    当你调用该方法后,SDK 会返回一个媒体播放器缓存管理器的实例。

    -

    -
    -
    - 适用场景 -

    +

    在调用 类下的其他 API 前,你需要先调用该方法获取一个媒体播放器缓存管理器的实例。

    调用时机 -

    请在初始化 后调用该方法。//TODO是否要先创建 createmediaplayer?

    +

    请在初始化 后调用该方法。

    调用限制 diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita index f7f7af306d8..7de9a94edc2 100644 --- a/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita +++ b/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita @@ -24,25 +24,18 @@ Future<void> openWithMediaSource(MediaSource source);

    -

    该方法支持你打开不同类型的媒体资源,包括自定义的媒体资源文件,并可进行播放设置。

    -

    该方法支持你打开不同类型的媒体资源,包括以 content:// 开头的 URI 文件、自定义的媒体资源文件,并可进行播放设置。

    +

    该方法支持你打开不同类型的媒体资源,包括自定义的媒体资源文件,并可进行播放设置。

    +

    该方法支持你打开不同类型的媒体资源,包括以 content:// 开头的 URI 文件、assets 文件夹中的媒体文件、以及其他自定义的媒体资源文件,并可进行播放设置。

    +

    该方法支持你打开不同类型的媒体资源,包括以 ipod-library:// 开头的文件、以及其他自定义的媒体资源文件,并可进行播放设置。

    媒体播放器支持的格式详见

    -
    - 适用场景 -

    -

    调用时机 -

    //TODO 是否是异步调用?如需播放媒体文件,是否需要在收到 回调报告播放状态为 后再调用 方法播放媒体文件?

    +

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

    调用限制 -

    -

    -
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita index ebfdade78f7..c817d5b328b 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -28,17 +28,13 @@

    在调用 类下的其他 API 前,你需要先调用该方法创建一个媒体播放器实例。

    -
    - 适用场景 -

    -

    调用时机 -

    //TODO 加入频道前后均可调用?

    +

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

    调用限制 -

    +

    无。

    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect.dita b/dita/RTC-NG/API/api_irtcengine_playeffect.dita index 5809d25e346..2be3b019a64 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -30,26 +30,34 @@ - +

    -
    - 详情 - -

    +

    +

    -
    +
    + 调用时机 +

    +

    +
    + 调用限制 +

    +

    + +
    参数 - - filePath - -

    - + + + diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index 12ea48291df..839b4f9b8a9 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -36,12 +36,9 @@

    -
    -

    -

    -
    - 适用场景 -

    +

    +

    +

    你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。

    调用时机 @@ -63,12 +60,9 @@ 音效的 ID。每个音效的 ID 具有唯一性。 如果你已通过 将音效加载至内存,请确保该参数与 中设置的 soundId 相同。 - - filePath - -

    支持在线文件的 URL 地址,本地文件的 URI 地址、绝对路径或以 /assets/ 开头的路径。例如

    -

    播放文件的绝对路径或 URL 地址,需精确到文件名及后缀。通过绝对路径访问本地文件可能会遇到权限问题,建议使用 URL 地址访问本地文件。例如

    - 如果你已通过 将音效加载至内存,请确保该参数与 中设置的 filePath 相同。
    + + + loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index e0b8fa89c3d..89cf007b521 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -70,15 +70,10 @@

    你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。

    -

    该方法和 的区别在于该方法还可以设置音效文件起始的播放位置。

    -
    -
    - 适用场景 -

    调用时机 -

    //TODO待确认 该方法在加入频道前后均可调用。

    +

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

    调用限制 @@ -99,9 +94,11 @@ filePath - -

    播放文件的绝对路径或 URL 地址,需精确到文件名及后缀。通过绝对路径访问本地文件可能会遇到权限问题,建议使用 URL 地址访问本地文件。例如 。支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP。详见支持的媒体格式

    - 如果你已通过 将音效加载至内存,请确保该参数与 中设置的 filePath 相同。
    + +

    播放文件的地址,支持在线文件的 URL 地址、播放文件的绝对路径,需精确到文件名及后缀。支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP 等。详见支持的媒体格式

    +

    播放文件的地址,支持以 content:// 开头的 URI 地址、以 /assets/ 开头的路径、在线文件的 URL 地址、本地文件的绝对路径,需精确到文件名及后缀。支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP。详见支持的媒体格式

    +

    播放文件的地址,支持以 ipod-library// 开头的文件路径、在线文件的 URL 地址、文件的绝对路径,需精确到文件名及后缀。支持的音频格式包括 MP3、AAC、M4A、MP4、WAV、3GP。详见支持的媒体格式

    + 如果你已通过 将音效加载至内存,请确保该参数与 中设置的 filePath 相同。
    loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita index 959b166e29d..1cb20266d81 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -40,10 +40,6 @@

    为保证通信畅通,请注意控制预加载音效文件的大小。

    该方法支持的预加载音频文件的格式见 RTC SDK 支持播放哪些格式的音频文件

    -
    - 适用场景 -

    -

    调用时机

    声网建议在加入频道前调用该方法。

    diff --git a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita index 4b7de064244..8a84ef8666a 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita @@ -27,11 +27,11 @@

    -

    当你调用 停止播放所有音效文件后,如需恢复播放,可以调用该方法。

    +

    当你调用 暂停播放所有音效文件后,如需恢复播放,可以调用该方法。

    调用时机 -

    //TODO

    +

    该方法需要在 后调用。

    调用限制 diff --git a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita index 53f8ac3ccc4..a9f89248c4b 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -27,11 +27,11 @@

    -

    当你调用该方法停止播放所有音效文件后,如需恢复播放,可以调用 方法。

    +

    当你不需要再播放音效文件时,可以调用该方法停止播放。如果你仅需暂停播放,请调用

    -
    +
    调用时机 -

    //TODO

    +

    调用限制 diff --git a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita index d47cd42a31e..78301555d1a 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopeffect.dita @@ -26,9 +26,8 @@ Future<void> stopEffect(int soundId);

    -
    - 适用场景 -

    +

    +

    当你不需要再播放某一音效文件时,可以调用该方法停止播放。如果你仅需暂停播放,请调用

    调用时机 From 874ef6c787e0bd7c9ad416da07b0a43a1eb1f9e1 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 19 Jun 2024 17:14:16 +0800 Subject: [PATCH 023/146] fix --- dita/RTC-NG/API/api_getmediaplayercachemanager.dita | 4 ---- dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita | 4 ++-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index b2b175467d4..ed3510dc82c 100644 --- a/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -28,10 +28,6 @@ MediaPlayerCacheManager getMediaPlayerCacheManager()

    -
    - 详情 - -

    在调用 类下的其他 API 前,你需要先调用该方法获取一个媒体播放器缓存管理器的实例。

    diff --git a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita index c817d5b328b..908285c1adc 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -37,7 +37,7 @@

    无。

    - 参数 + <ph props="apple">参数</ph> delegate diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index cc7d2c4e8d4..965937011e4 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -61,10 +61,10 @@ - + filePath -

    +

    From b6c66227cf62dc96a2d5f62d4668d6ddbedf2641 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 19 Jun 2024 17:55:56 +0800 Subject: [PATCH 024/146] a bunch of alpha bla --- dita/RTC-NG/API/class_externalvideoframe.dita | 133 ++++++++++++------ dita/RTC-NG/API/class_videoframe.dita | 97 +++++++++++-- 2 files changed, 180 insertions(+), 50 deletions(-) diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 5025251be92..6e49b529199 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -7,47 +7,80 @@

    public class AgoraVideoFrame { - public static final int FORMAT_NONE = -1; - public static final int FORMAT_TEXTURE_2D = 10; - public static final int FORMAT_TEXTURE_OES = 11; - public static final int FORMAT_I420 = 1; - public static final int FORMAT_BGRA = 2; - public static final int FORMAT_NV21 = 3; - public static final int FORMAT_RGBA = 4; - public static final int FORMAT_I422 = 16; - public static final int BUFFER_TYPE_NONE = -1; - public static final int BUFFER_TYPE_BUFFER = 1; - public static final int BUFFER_TYPE_ARRAY = 2; - public static final int BUFFER_TYPE_TEXTURE = 3; - public int format; - public long timeStamp; - public int stride; - public int height; - public int textureID; - public boolean syncMode; - public float[] transform; - public javax.microedition.khronos.egl.EGLContext eglContext11; - public android.opengl.EGLContext eglContext14; - public byte[] buf; - public int cropLeft; - public int cropTop; - public int cropRight; - public int cropBottom; - public int rotation; - } + public static final int FORMAT_NONE = -1; + public static final int FORMAT_TEXTURE_2D = 10; + public static final int FORMAT_TEXTURE_OES = 11; + public static final int FORMAT_I420 = 1; + public static final int FORMAT_BGRA = 2; + public static final int FORMAT_NV21 = 3; + public static final int FORMAT_RGBA = 4; + public static final int FORMAT_I422 = 16; + public static final int BUFFER_TYPE_NONE = -1; + public static final int BUFFER_TYPE_BUFFER = 1; + public static final int BUFFER_TYPE_ARRAY = 2; + public static final int BUFFER_TYPE_TEXTURE = 3; + public AgoraVideoFrame() { + format = 10; + timeStamp = 0; + stride = 0; + height = 0; + textureID = 0; + syncMode = true; + transform = null; + eglContext10 = null; + eglContext14 = null; + buf = null; + cropLeft = 0; + cropTop = 0; + cropRight = 0; + cropBottom = 0; + rotation = 0; + alphaStitchMode = 0; + } + public int format; + public long timeStamp; + public int stride; + public int height; + public int textureID; + public boolean syncMode; + public float[] transform; + public javax.microedition.khronos.egl.EGLContext eglContext10; + public android.opengl.EGLContext eglContext14; + + public byte[] buf; + public int cropLeft; + public int cropTop; + public int cropRight; + public int cropBottom; + public int rotation; + public int alphaStitchMode; + @Override + public String toString() { + return "AgoraVideoFrame{" + + "format=" + format + ", timeStamp=" + timeStamp + ", stride=" + stride + + ", height=" + height + ", textureID=" + textureID + + ", buf.length=" + (buf != null ? buf.length : 0) + ", cropLeft=" + cropLeft + + ", cropTop=" + cropTop + ", cropRight=" + cropRight + ", cropBottom=" + cropBottom + + ", rotation=" + rotation + ", alphaStitchMode=" + alphaStitchMode + '}'; + } +} __attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; -@property(assign, nonatomic) CMTime time; +@property(assign, nonatomic) CMTime time; @property(assign, nonatomic) int stride DEPRECATED_MSG_ATTRIBUTE("use strideInPixels instead"); -@property(assign, nonatomic) int strideInPixels; -@property(assign, nonatomic) int height; +@property(assign, nonatomic) int strideInPixels; +@property(assign, nonatomic) int height; @property(assign, nonatomic) CVPixelBufferRef _Nullable textureBuf; -@property(strong, nonatomic) NSData *_Nullable dataBuf; -@property(assign, nonatomic) int cropLeft; -@property(assign, nonatomic) int cropTop; -@property(assign, nonatomic) int cropRight; -@property(assign, nonatomic) int cropBottom; -@property(assign, nonatomic) int rotation; +@property(strong, nonatomic) IMAGE_CLASS * _Nullable image; +@property(strong, nonatomic) NSData *_Nullable dataBuf; +@property(strong, nonatomic) NSData *_Nullable alphaBuf; +@property(assign, nonatomic) int alphaStitchMode; +@property(assign, nonatomic) int cropLeft; +@property(assign, nonatomic) int cropTop; +@property(assign, nonatomic) int cropRight; +@property(assign, nonatomic) int cropBottom; +@property(assign, nonatomic) int rotation; +- (void)fillAlphaData; @end struct ExternalVideoFrame { ExternalVideoFrame() @@ -65,8 +98,12 @@ eglContext(NULL), eglType(EGL_CONTEXT10), textureId(0), + fence_object(0), metadata_buffer(NULL), metadata_size(0), + alphaBuffer(NULL), + fillAlphaBuffer(false), + alphaStitchMode(0), d3d11_texture_2d(NULL), texture_slice_index(0){} enum EGL_CONTEXT_TYPE { @@ -92,9 +129,13 @@ void *eglContext; EGL_CONTEXT_TYPE eglType; int textureId; + long long fence_object; float matrix[16]; uint8_t* metadata_buffer; int metadata_size; + uint8_t* alphaBuffer; + bool fillAlphaBuffer; + int alphaStitchMode; void *d3d11_texture_2d; int texture_slice_index; }; @@ -383,9 +424,21 @@ class ExternalVideoFrame { metadataSize 该参数仅适用于 Texture 格式的视频数据。指 MetaData 的大小,默认值为 0 - - d3d11_texture_2d - 该参数仅适用于 Windows Texture 格式的视频数据。表示一个指向 ID3D11Texture2D 类型对象的指针,该类型对象被视频帧所使用。 + + + + + + + + + + + + + + + texture_slice_index diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 9374298f11a..dcef69b5c01 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -11,8 +11,8 @@ @CalledByNative("Buffer") int getWidth(); @CalledByNative("Buffer") int getHeight(); @CalledByNative("Buffer") I420Buffer toI420(); - @Override @CalledByNative("Buffer") void retain(); @Override @CalledByNative("Buffer") void release(); + @Override @CalledByNative("Buffer") void retain(); @CalledByNative("Buffer") Buffer cropAndScale( int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight); @@ -61,11 +61,14 @@ Type getType(); @CalledByNative("TextureBuffer") int getTextureId(); Matrix getTransformMatrix(); - EglBase.Context getEglBaseContext(); + @CalledByNative("TextureBuffer") EglBase.Context getEglBaseContext(); + @CalledByNative("TextureBuffer") Object getSourceTexturePool(); @CalledByNative("TextureBuffer") long getNativeEglContext(); @CalledByNative("TextureBuffer") int getEglContextType(); @CalledByNative("TextureBuffer") float[] getTransformMatrixArray(); @CalledByNative("TextureBuffer") int getSequence(); + @CalledByNative("TextureBuffer") long getFenceObject(); + @CalledByNative("TextureBuffer") boolean is10BitTexture(); } public interface ColorSpace { enum Range { @@ -135,7 +138,7 @@ Unspecified(2), BT470M(4), BT470BG(5), - kSMPTE170M(6), + kSMPTE170M(6), kSMPTE240M(7), kFILM(8), kBT2020(9), @@ -155,6 +158,25 @@ Matrix getMatrix(); Transfer getTransfer(); Primary getPrimary(); + HdrMetadata getHdrMetadata(); + } + public interface HdrMetadata { + class Chromaticity { + public int x; + public int y; + public Chromaticity(int x, int y) { + this.x = x; + this.y = y; + } + } + int getMaxContentLightLevel(); + int getMaxFrameAverageLightLevel(); + Chromaticity getprimaryR(); + Chromaticity getprimaryG(); + Chromaticity getprimaryB(); + Chromaticity getWhitePoint(); + int getLuminanceMax(); + int getLuminanceMin(); } public enum SourceType { kFrontCamera, @@ -168,12 +190,14 @@ private SourceType sourceType; private float sampleAspectRatio; private VideoFrameMetaInfo metaInfo = new VideoFrameMetaInfo(); + private @Nullable ByteBuffer alphaBuffer; + private int alphaStitchMode; public VideoFrame(Buffer buffer, int rotation, long timestampNs) { - this(buffer, rotation, timestampNs, null, null, 1.0f, SourceType.kUnspecified.ordinal()); + this(buffer, rotation, timestampNs, new WrappedNativeColorSpace(), null, 0L, 1.0f, SourceType.kUnspecified.ordinal()); } @CalledByNative public VideoFrame(Buffer buffer, int rotation, long timestampNs, ColorSpace colorSpace, - float sampleAspectRatio, int sourceType) { + ByteBuffer alphaBuffer, float sampleAspectRatio, int sourceType) { if (buffer == null) { throw new IllegalArgumentException("buffer not allowed to be null"); } @@ -184,6 +208,7 @@ this.rotation = rotation; this.timestampNs = timestampNs; this.colorSpace = colorSpace; + this.alphaBuffer = alphaBuffer; this.sampleAspectRatio = sampleAspectRatio; this.sourceType = SourceType.values()[sourceType]; } @@ -203,6 +228,10 @@ return rotation; } @CalledByNative + public int getAlphaStitchMode() { + return alphaStitchMode; + } + @CalledByNative public long getTimestampNs() { return timestampNs; } @@ -231,6 +260,16 @@ public ColorSpace getColorSpace() { return colorSpace; } + @CalledByNative + public ByteBuffer getAlphaBuffer() { + return alphaBuffer; + } + public void fillAlphaData(ByteBuffer buffer) { + alphaBuffer = buffer; + } + public void setAlphaStitchMode(int mode) { + this.alphaStitchMode = mode; + } @Override public void retain() { buffer.retain(); @@ -240,7 +279,8 @@ public void release() { buffer.release(); } -} +} + __attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @property (nonatomic, assign) int width; @@ -255,8 +295,9 @@ @property (nonatomic, assign) int64_t renderTimeMs; @property (nonatomic, assign) int avSyncType; @property(assign, nonatomic) CVPixelBufferRef _Nullable pixelBuffer; +@property (nonatomic, assign) uint8_t* _Nullable alphaBuffer; +@property (nonatomic, assign) int alphaStitchMode; @property(nonatomic, strong) NSDictionary *_Nonnull metaInfo; - @end struct VideoFrame { VideoFrame(): @@ -276,6 +317,9 @@ metadata_size(0), sharedContext(0), textureId(0), + d3d11Texture2d(NULL), + alphaBuffer(NULL), + alphaStitchMode(0), pixelBuffer(NULL), metaInfo(NULL){ memset(matrix, 0, sizeof(matrix)); @@ -296,7 +340,10 @@ int metadata_size; void* sharedContext; int textureId; + void* d3d11Texture2d; float matrix[16]; + uint8_t* alphaBuffer; + int alphaStitchMode; void* pixelBuffer; IVideoFrameMetaInfo* metaInfo; }; @@ -644,6 +691,10 @@ class VideoFrame { textureId 该参数仅适用于 Texture 格式的视频数据。Texture ID。 + + d3d11Texture2d + 该参数仅适用于 Windows Texture 格式的视频数据。表示一个指向 ID3D11Texture2D 类型对象的指针,该类型对象被视频帧所使用。 + matrix 该参数仅适用于 Texture 格式的视频数据。为一个输入的 4x4 变换矩阵,典型值为一个单位矩阵。 @@ -669,15 +720,41 @@ class VideoFrame { sampleAspectRatio 单个像素的宽高比,即每个像素宽度与高度的比值。 - - alphaBuffer + + alphaBuffer + alphaBuf

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

    在用户自定义视频渲染场景下,该参数可帮助实现将视频背景自渲染为各种效果,例如:透明、纯色、图片、视频等。 该参数需要开通。

    - + + fillAlphaBuffer + fillAlphaData + 该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 alpha 通道数据并自动填入到 alphaBuffer 中: +
      +
    • :提取 alpha 通道数据。
    • +
    • :(默认)不提取 alpha 通道数据。
    • +
    + 对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 alpha 通道数据: +
      +
    • 通过该参数自动填写。
    • +
    • 通过 alphaBuffer 参数设置。
    • +
    +
    + + alphaStitchMode + alphaBuffer 和视频帧拼接的相对位置: +
      +
    • 0:(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
    • +
    • 1:alphaBuffer 拼接到视频帧的上方。
    • +
    • 2:alphaBuffer 拼接到视频帧的下方。
    • +
    • 3:alphaBuffer 拼接到视频帧的左侧。
    • +
    • 4:alphaBuffer 拼接到视频帧的右侧。
    • +
    +
    + metaInfo

    视频帧中的元信息。该参数需要使用。

    From 656bd1efc55df3471778b6fdd2e091982d9ac17e Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 20 Jun 2024 09:43:11 +0800 Subject: [PATCH 025/146] 440 --- ...api_irtcengine_enableinstantmediarendering.dita | 9 ++------- ...ideoframeobserver_getvideoformatpreference.dita | 2 +- dita/RTC-NG/API/enum_localvideostreamreason.dita | 4 ++++ dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 14 ++++++++++++++ dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 7 +++++++ 5 files changed, 28 insertions(+), 8 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita index 1ccd0f80962..ff5f111bf3f 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita @@ -31,13 +31,8 @@
    v4.1.1
    -

    成功调用该方法后,SDK 会开启加速出图和出声模式,可加快用户加入频道后的首帧出图与出声速度。 - -

      -
    • 一旦开启快速渲染功能,只能通过调用 方法销毁 对象来取消。
    • -
    • 在该模式下,SDK 启用声网自定义加密算法来缩短建立传输链路的耗时,安全性相对于标准 DTLS (Datagram Transport Layer Security) 有所降低。如果业务场景对安全标准要求较高,请谨慎调用该方法。
    • -
    -

    +

    成功调用该方法后,SDK 会开启加速出图和出声模式,可加快用户加入频道后的首帧出图与出声速度。

    + 一旦开启快速渲染功能,只能通过调用 方法销毁 对象来取消。
    适用场景 diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index 7935316eea2..3d3150e3889 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -48,7 +48,7 @@

    在默认情况下,原始视频像素格式 () 存在以下类型:

    • 在 Android 平台上,默认的视频帧类型可能为 I420Buffer 或 TextureBuffer。自 v4.2.3 起,TextureBuffer 类型的纹理格式不再包括 OES 格式,仅为 RGB 格式。你需要在处理视频数据时增加对 I420、RGB 纹理格式的适配。视频帧类型固定为 I420Buffer 的情况包括但不限于:
      • 特定机型,例如:LG G5 SE (H848),Google Pixel 4a,Samsung Galaxy A7 或 Xiaomi Mi Max。
      • -
      • 已集成视频增强插件并开启视频降噪或暗光增强功能。
      • +
      • 已集成视频增强插件并开启基础美颜、视频降噪或暗光增强功能。
    • 在 iOS 和 macOS 平台上,默认的视频帧类型可能为 I420 或 CVPixelBufferRef。
    • 默认的视频帧类型可能为 I420 或 CVPixelBufferRef。
    • diff --git a/dita/RTC-NG/API/enum_localvideostreamreason.dita b/dita/RTC-NG/API/enum_localvideostreamreason.dita index 147623ae661..211c688d266 100644 --- a/dita/RTC-NG/API/enum_localvideostreamreason.dita +++ b/dita/RTC-NG/API/enum_localvideostreamreason.dita @@ -128,6 +128,10 @@ 29:(仅适用于 Windows)屏幕采集已从暂停状态中恢复。 + + + 30:(仅适用于 Windows 和 macOS)进行屏幕采集的显示器已断开连接。 + 101:由于系统压力过大,导致当前视频采集设备不可用。 diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 797b595a3e5..2b1ebdf5d21 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -5877,6 +5877,13 @@ + + + + AREA_CODE + + + @@ -9419,6 +9426,13 @@ + + + + LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 3a4c499035f..82c50b89f16 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -8269,6 +8269,13 @@ + + + + AgoraLocalVideoStreamReasonScreenCaptureDisplayDisconnected + + + From 648691e18bed4aba724c7cd2adec22fa51c135a8 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:20:11 +0800 Subject: [PATCH 026/146] add api_sun_set --- dita/RTC-NG/API/rtc_api_sunset.dita | 112 +++++++++++++++++++++++++ dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 + dita/RTC-NG/RTC_NG_API_CPP.ditamap | 1 + dita/RTC-NG/RTC_NG_API_iOS.ditamap | 1 + dita/RTC-NG/RTC_NG_API_macOS.ditamap | 1 + 5 files changed, 116 insertions(+) create mode 100644 dita/RTC-NG/API/rtc_api_sunset.dita diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita new file mode 100644 index 00000000000..9074249c97a --- /dev/null +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -0,0 +1,112 @@ + + + + API 下架说明 + 本页介绍 SDK 中已废弃和删除的 API。 + +
      + 已废弃 API +

      废弃后的 API 预计会在 1 年左右正式下架。声网建议你尽快使用推荐的 API 进行替换,以免影响线上业务。

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +
      +
      + 已删除 API +

      API 已在 SDK 中删除。声网建议你使用推荐的替代 API。

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +
      + +
      diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 8b7a337451b..45ccc367362 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -742,5 +742,6 @@ +
      diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index b07e166efe3..46cbeacd560 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -817,5 +817,6 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 1c119292ed7..6a8bda1474e 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -738,5 +738,6 @@ + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index 0058273fdae..9aae15e9082 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -685,5 +685,6 @@ + From f0f09daea7c5fec56743beb728e833566a190219 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:51:00 +0800 Subject: [PATCH 027/146] add test --- dita/RTC-NG/API/rtc_api_sunset.dita | 272 +++++++++++++++++++++------- 1 file changed, 205 insertions(+), 67 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index 9074249c97a..6542d3d7b20 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -1,5 +1,3 @@ - - API 下架说明 本页介绍 SDK 中已废弃和删除的 API。 @@ -9,10 +7,10 @@

      废弃后的 API 预计会在 1 年左右正式下架。声网建议你尽快使用推荐的 API 进行替换,以免影响线上业务。

      - - - - + + + + @@ -23,90 +21,230 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - -
      -
    -
    - 已删除 API -

    API 已在 SDK 中删除。声网建议你使用推荐的替代 API。

    - - - - - - - - - - - + + + + - - - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    - + \ No newline at end of file From 78c6cca56a9003f3087738fd183d0a7d28fe10af Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:46:07 +0800 Subject: [PATCH 028/146] add deprecated APIs --- ...tcengine_enableaudioqualityindication.dita | 54 ---- .../RTC-NG/API/api_irtcengine_setlogfile.dita | 2 +- dita/RTC-NG/API/rtc_api_sunset.dita | 261 ++++++++++-------- dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 - .../api_irtcengine_addpublishstreamurl.dita | 0 ...api_irtcengine_removepublishstreamurl.dita | 0 ...cengine_sethighqualityaudioparameters.dita | 0 .../api_irtcengine_setlocalvoicechanger.dita | 0 ...api_irtcengine_startchannelmediarelay.dita | 0 ...pi_irtcengine_updatechannelmediarelay.dita | 0 ...pi_irtcengineex_addpublishstreamurlex.dita | 0 ...irtcengineex_startchannelmediarelayex.dita | 0 ...rtcengineex_updatechannelmediarelayex.dita | 0 ...cengineeventhandler_onapicallexecuted.dita | 0 .../config/keys-rtc-ng-api-java.ditamap | 7 - .../config/relations-rtc-ng-api.ditamap | 1 - 16 files changed, 145 insertions(+), 181 deletions(-) delete mode 100644 dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita rename dita/RTC-NG/{API => archive}/api_irtcengine_addpublishstreamurl.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_removepublishstreamurl.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_sethighqualityaudioparameters.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setlocalvoicechanger.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_startchannelmediarelay.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_updatechannelmediarelay.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengineex_addpublishstreamurlex.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengineex_startchannelmediarelayex.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengineex_updatechannelmediarelayex.dita (100%) rename dita/RTC-NG/{API => archive}/callback_irtcengineeventhandler_onapicallexecuted.dita (100%) diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita b/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita deleted file mode 100644 index f0f35ec3f57..00000000000 --- a/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita +++ /dev/null @@ -1,54 +0,0 @@ - - - - <ph keyref="enableAudioQualityIndication"/> - 启用音频质量通知回调。 - - - - - - - - -
    -

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

    -
    -
    - 详情 -
    - -
    弃用:
    -
    从 v2.4.1 起废弃。
    -
    -
    -
    -
    - 参数 - - - enabled - 是否启用音频质量通知回调。 - -
      -
    • : 启用。
    • -
    • : (默认)禁用。
    • -
    -
    -
    -
    - 返回值 -
      -
    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • -
    -
    -
    diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 457503dc02a..fb8b260d269 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -29,7 +29,7 @@
    弃用:
    -
    此方法已废弃,请改用 中的 logConfig 参数设置日志文件路径 。
    +
    此方法已废弃,请改用 中的 logConfig 参数设置日志文件路径。

    设置 SDK 的输出 log 文件。SDK 运行时产生的所有 log 将写入该文件。App 必须保证指定的目录存在而且可写。

    diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index 6542d3d7b20..fdf34be9416 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -1,4 +1,5 @@ - + + API 下架说明 本页介绍 SDK 中已废弃和删除的 API。 @@ -13,96 +14,164 @@ - - - - + API + 描述 + 替代 API + 废弃版本 - - - - - - - - - - - + + + + + v4.3.1 - - - - + + + + v4.2.0 - - - - + + + + v4.2.0 - - - - - - - - - - + + + + v4.2.0 - - + - + v4.0.0 - - + 使用 中的 logConfig 参数 + v4.0.0 - - - - - + + + + + v4.0.0 - - + + v4.0.0 - - - - + + + + v4.0.0 - - + + + + + + + v4.0.0 + + + + + + v4.0.0 + + + + 中的 logConfig 参数 + v4.0.0 + + + + + + v4.0.0 + + + + + + v4.0.0 + + + + + + v4.0.0 + + + + + - + v4.0.0 + + + + + - + v4.0.0 + + - - + - + v4.0.0 + + + + + - + v4.0.0 + + + + + - + v4.0.0 + + + + - + v4.0.0 + + + + +
    +
    + 已删除 API +

    + + + + + + + - - - - + API + 描述 + 替代 API + 删除版本 @@ -116,129 +185,87 @@ - - - - - - - + - + Android 原生的 方法 - - - + + + Android 原生的 - - + + - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 45ccc367362..18b884c6817 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -122,7 +122,6 @@ - diff --git a/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita b/dita/RTC-NG/archive/api_irtcengine_addpublishstreamurl.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita rename to dita/RTC-NG/archive/api_irtcengine_addpublishstreamurl.dita diff --git a/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita b/dita/RTC-NG/archive/api_irtcengine_removepublishstreamurl.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita rename to dita/RTC-NG/archive/api_irtcengine_removepublishstreamurl.dita diff --git a/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita b/dita/RTC-NG/archive/api_irtcengine_sethighqualityaudioparameters.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita rename to dita/RTC-NG/archive/api_irtcengine_sethighqualityaudioparameters.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita b/dita/RTC-NG/archive/api_irtcengine_setlocalvoicechanger.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita rename to dita/RTC-NG/archive/api_irtcengine_setlocalvoicechanger.dita diff --git a/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita b/dita/RTC-NG/archive/api_irtcengine_startchannelmediarelay.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita rename to dita/RTC-NG/archive/api_irtcengine_startchannelmediarelay.dita diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita b/dita/RTC-NG/archive/api_irtcengine_updatechannelmediarelay.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita rename to dita/RTC-NG/archive/api_irtcengine_updatechannelmediarelay.dita diff --git a/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita b/dita/RTC-NG/archive/api_irtcengineex_addpublishstreamurlex.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita rename to dita/RTC-NG/archive/api_irtcengineex_addpublishstreamurlex.dita diff --git a/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita b/dita/RTC-NG/archive/api_irtcengineex_startchannelmediarelayex.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita rename to dita/RTC-NG/archive/api_irtcengineex_startchannelmediarelayex.dita diff --git a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita b/dita/RTC-NG/archive/api_irtcengineex_updatechannelmediarelayex.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita rename to dita/RTC-NG/archive/api_irtcengineex_updatechannelmediarelayex.dita diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita b/dita/RTC-NG/archive/callback_irtcengineeventhandler_onapicallexecuted.dita similarity index 100% rename from dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita rename to dita/RTC-NG/archive/callback_irtcengineeventhandler_onapicallexecuted.dita diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 22cf468a35e..26f7ff74c1f 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -866,13 +866,6 @@ - - - - enableAudioQualityIndication - - - diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 0fd700b6da4..8114cd264c3 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2231,7 +2231,6 @@ - From 4146b3cad9941042547b4163d54833a8b3daf0e8 Mon Sep 17 00:00:00 2001 From: Cilla-luodan Date: Thu, 20 Jun 2024 09:46:41 +0000 Subject: [PATCH 029/146] Sync cn prototype to en prototype --- en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap | 7 ------- 1 file changed, 7 deletions(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 22cf468a35e..26f7ff74c1f 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -866,13 +866,6 @@ - - - - enableAudioQualityIndication - - - From 1a83b4f766aa40e012a88bfb8029f47a3a7140d1 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 21 Jun 2024 10:04:09 +0800 Subject: [PATCH 030/146] oopsy --- dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 2b1ebdf5d21..9a7fa6e7d9e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -5877,13 +5877,6 @@ - - - - AREA_CODE - - - From b449d55d5a896033c39a54497ac300c59eacb9a7 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:26:39 +0800 Subject: [PATCH 031/146] add encodeAlpha --- ...ideoframeobserver_oncapturevideoframe.dita | 2 +- ...videoframeobserver_onrendervideoframe.dita | 2 +- dita/RTC-NG/API/class_advanceoptions.dita | 36 ++++++++++++------- dita/RTC-NG/API/class_videocanvas.dita | 10 +++--- dita/RTC-NG/API/class_videoframe.dita | 10 +++--- .../API/class_virtualbackgroundsource.dita | 2 +- .../RTC-NG/API/enum_backgroundsourcetype.dita | 2 +- dita/RTC-NG/API/enum_videopixelformat.dita | 2 +- 8 files changed, 38 insertions(+), 28 deletions(-) diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita index 5c51f210ea8..91d9f6e848b 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita @@ -49,7 +49,7 @@ 使用限制
    • 此处获取的视频数据为原始视频数据,即:未经过水印、裁剪和旋转等前处理的视频数据。
    • -
    • 如果你获取到的视频数据类型为 RGBA,SDK 不支持对 alpha 通道的值进行处理。
    • +
    • 如果你获取到的视频数据类型为 RGBA,SDK 不支持对 Alpha 通道的值进行处理。
    • 建议你通过 C++ API 实现该回调。
    • 由于框架的限制,该回调不支持将处理后的视频数据发送回 SDK。
    diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita index f9c67631416..34a319beffe 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita @@ -38,7 +38,7 @@

    成功注册视频数据观测器后,SDK 会在捕捉到每个视频帧时触发该回调。你可以在回调中获取远端发送的渲染前的视频数据,然后根据场景需要,对视频数据进行处理。

      -
    • 如果你获取到的视频数据类型为 RGBA,SDK 不支持对 alpha 通道的值进行处理。
    • +
    • 如果你获取到的视频数据类型为 RGBA,SDK 不支持对 Alpha 通道的值进行处理。
    • 建议你通过 C++ API 实现该回调。
    • 由于框架的限制,该回调不支持将处理后的视频数据发送回 SDK。
    diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index 4984de56c3d..67135b097c2 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -23,24 +23,27 @@ @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; @end - + struct AdvanceOptions { ENCODING_PREFERENCE encodingPreference; - COMPRESSION_PREFERENCE compressionPreference; + bool encodeAlpha; + AdvanceOptions() : encodingPreference(PREFER_AUTO), + compressionPreference(PREFER_LOW_LATENCY), + encodeAlpha(false) {} - AdvanceOptions() : encodingPreference(PREFER_AUTO), - compressionPreference(PREFER_LOW_LATENCY) {} - - AdvanceOptions(ENCODING_PREFERENCE encoding_preference, - COMPRESSION_PREFERENCE compression_preference) : + AdvanceOptions(ENCODING_PREFERENCE encoding_preference, + COMPRESSION_PREFERENCE compression_preference, + bool encode_alpha) : encodingPreference(encoding_preference), - compressionPreference(compression_preference) {} + compressionPreference(compression_preference), + encodeAlpha(encode_alpha) {} bool operator==(const AdvanceOptions& rhs) const { - return encodingPreference == rhs.encodingPreference && - compressionPreference == rhs.compressionPreference; + return encodingPreference == rhs.encodingPreference && + compressionPreference == rhs.compressionPreference && + encodeAlpha == rhs.encodeAlpha; } -}; +}; USTRUCT(BlueprintType) struct FAdvanceOptions { @@ -76,8 +79,7 @@ struct FAdvanceOptions { export class AdvanceOptions { encodingPreference?: EncodingPreference; compressionPreference?: CompressionPreference; -} - class AdvanceOptions { +} class AdvanceOptions { const AdvanceOptions({this.encodingPreference, this.compressionPreference}); @JsonKey(name: 'encodingPreference') @@ -113,6 +115,14 @@ struct FAdvanceOptions { compressionPreference 视频编码的压缩偏好。详见 + + encodeAlpha + 当视频帧包含 Alpha 通道信息时,是否将 Alpha 信息编码并发送至远端: +
      +
    • :对 Alpha 信息编码。
    • +
    • :(默认)不对 Alpha 信息编码。
    • +
    +
    diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 41136864a46..6fe99cd4ac2 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -329,16 +329,16 @@ class VideoCanvas { enableAlphaMask - (可选)接收端是否开启 alpha 遮罩渲染: + (可选)是否开启 Alpha 遮罩渲染:
      -
    • :接收端开启 alpha 遮罩渲染。
    • -
    • :(默认)接收端关闭 alpha 遮罩渲染。
    • +
    • :开启 Alpha 遮罩渲染。
    • +
    • :(默认)关闭 Alpha 遮罩渲染。

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

      -
    • 仅当发送端开启 alpha 传输功能时,接收端才能渲染 alpha 通道的信息。
    • -
    • 如需开启 alpha 传输功能,请
    • +
    • 仅当发送端开启 Alpha 传输功能时,接收端才能渲染 Alpha 通道的信息。
    • +
    • 如需开启 Alpha 传输功能,请
    预留。 diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index dcef69b5c01..9dc13459304 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -724,7 +724,7 @@ class VideoFrame { alphaBuffer alphaBuf -

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

    +

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

    在用户自定义视频渲染场景下,该参数可帮助实现将视频背景自渲染为各种效果,例如:透明、纯色、图片、视频等。 该参数需要开通。

    @@ -732,12 +732,12 @@ class VideoFrame { fillAlphaBuffer fillAlphaData - 该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 alpha 通道数据并自动填入到 alphaBuffer 中: + 该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 Alpha 通道数据并自动填入到 alphaBuffer 中:
      -
    • :提取 alpha 通道数据。
    • -
    • :(默认)不提取 alpha 通道数据。
    • +
    • :提取 Alpha 通道数据。
    • +
    • :(默认)不提取 Alpha 通道数据。
    - 对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 alpha 通道数据: + 对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 Alpha 通道数据:
    • 通过该参数自动填写。
    • 通过 alphaBuffer 参数设置。
    • diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index e604a1bbd80..a2fc6ccdb82 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -134,7 +134,7 @@ struct FVirtualBackgroundSource background_source_type 自定义的背景。详见
        -
      • (0):将背景处理为 alpha 信息,不进行替换,仅分割人像和背景。设置后,你可以调用 ,实现人像画中画的效果。
      • +
      • (0):将背景处理为 Alpha 信息,不进行替换,仅分割人像和背景。设置后,你可以调用 ,实现人像画中画的效果。
      • (1):(默认)背景为纯色。
      • (2):背景为 PNG、JPG 格式的图片。
      • (3):背景为虚化处理后的背景。
      • diff --git a/dita/RTC-NG/API/enum_backgroundsourcetype.dita b/dita/RTC-NG/API/enum_backgroundsourcetype.dita index cd7d8660b08..3fe9c85a064 100644 --- a/dita/RTC-NG/API/enum_backgroundsourcetype.dita +++ b/dita/RTC-NG/API/enum_backgroundsourcetype.dita @@ -9,7 +9,7 @@ - 0: 将背景处理为 alpha 信息,不作替换,仅分割人像和背景。设置后,你可以调用 ,实现人像画中画的效果。 + 0: 将背景处理为 Alpha 信息,不作替换,仅分割人像和背景。设置后,你可以调用 ,实现人像画中画的效果。 diff --git a/dita/RTC-NG/API/enum_videopixelformat.dita b/dita/RTC-NG/API/enum_videopixelformat.dita index 7a4b6bfcc8e..beb753f50ec 100644 --- a/dita/RTC-NG/API/enum_videopixelformat.dita +++ b/dita/RTC-NG/API/enum_videopixelformat.dita @@ -6,7 +6,7 @@
        枚举值 - SDK 目前不支持 alpha 通道。传入的 alpha 值将被丢弃。 + SDK 目前不支持 Alpha 通道。传入的 Alpha 值将被丢弃。 From 5fcf41e598598f597913d49e4e97421fa44bc684 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Fri, 21 Jun 2024 06:29:00 +0000 Subject: [PATCH 032/146] Sync cn prototype to en prototype --- en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita | 2 +- en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 95807658d11..9197b0f09d4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -30,7 +30,7 @@ - +

        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 43423572a72..9f9271a2603 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -18,7 +18,7 @@ - (int)preloadEffect:(int)soundId filePath:(NSString* _Nonnull)filePath; - virtual int preloadEffect(int soundId, const char* filePath) = 0; + virtual int preloadEffect(int soundId, const char* filePath, int startPos = 0) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") int PreloadEffect(int soundId, FString filePath, int startPos); abstract preloadEffect( From 1f6eeacd216fbe37f9ceebddc071f10dba8845b7 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:59:13 +0800 Subject: [PATCH 033/146] add conkeyref --- .../API/callback_ivideoframeobserver_oncapturevideoframe.dita | 2 +- .../callback_ivideoframeobserver_onpreencodevideoframe.dita | 1 + .../API/callback_ivideoframeobserver_onrendervideoframe.dita | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita index 170c940f153..18468bf5657 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita @@ -50,7 +50,7 @@
        • 此处获取的视频数据为原始视频数据,即:未经过水印、裁剪和旋转等前处理的视频数据。
        • 如果你获取到的视频数据类型为 RGBA,SDK 不支持对 alpha 通道的值进行处理。
        • -
        • 建议你在修改 videoFrame 中的参数时,需确保修改后的参数跟视频帧缓冲区中的视频帧实际情况保持一致,否则可能导致本地预览画面和对端的视频画面出现非预期的旋转、失真等问题。
        • +
        • 建议你在修改 videoFrame 中的参数时,需确保修改后的参数跟视频帧缓冲区中的视频帧实际情况保持一致,否则可能导致本地预览画面和对端的视频画面出现非预期的旋转、失真等问题。
        • 建议你通过 C++ API 实现该回调。
        • 由于框架的限制,该回调不支持将处理后的视频数据发送回 SDK。
        diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita index 22654749826..9b0fdf1e859 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita @@ -39,6 +39,7 @@
      • 建议你通过 C++ API 实现该回调。
      • 由于框架的限制,该回调不支持将处理后的视频数据发送回 SDK。
      • 此处获取的视频数据已经过前处理,如裁剪、旋转和美颜等。
      • +
      diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita index f9c67631416..35ec88a2a9f 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita @@ -41,7 +41,8 @@
    • 如果你获取到的视频数据类型为 RGBA,SDK 不支持对 alpha 通道的值进行处理。
    • 建议你通过 C++ API 实现该回调。
    • 由于框架的限制,该回调不支持将处理后的视频数据发送回 SDK。
    • -
    +
  • + Unity 仅支持将 YUV 格式的视频数据发回 SDK。请确保调用 方法注册原始视频帧观测器时,将 mode 设置为 INTPTR
    参数 From cbbb15ce1def96d8f1f5b3701485288da5a4262e Mon Sep 17 00:00:00 2001 From: Suri539 Date: Fri, 21 Jun 2024 15:02:56 +0800 Subject: [PATCH 034/146] remove redundant titles --- dita/RTC-NG/API/api_irtcengine_playeffect.dita | 6 ------ dita/RTC-NG/API/api_irtcengine_playeffect2.dita | 10 ++-------- dita/RTC-NG/API/api_irtcengine_stopalleffects.dita | 2 -- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect.dita b/dita/RTC-NG/API/api_irtcengine_playeffect.dita index 2be3b019a64..d1f1a09e25e 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -37,16 +37,10 @@

    - 调用时机 -

    - 调用限制 -

    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index 839b4f9b8a9..f9413a0b974 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -41,16 +41,10 @@

    你可以多次调用该方法,传入不同的 soundIDfilePath,同时播放多个音效文件。为获得最佳用户体验,建议同时播放的音效文件不超过 3 个。

    - 调用时机 -

    - 调用限制 -

    参数 @@ -61,8 +55,8 @@ 如果你已通过 将音效加载至内存,请确保该参数与 中设置的 soundId 相同。 - - + + loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita index a9f89248c4b..535dbfa854c 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -30,8 +30,6 @@

    当你不需要再播放音效文件时,可以调用该方法停止播放。如果你仅需暂停播放,请调用

    - 调用时机 -

    调用限制 From b13761a0565791a197a6984abda72043af373381 Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 21 Jun 2024 18:25:24 +0800 Subject: [PATCH 035/146] + --- ...ediaengine_registeraudioframeobserver.dita | 25 +++++-- ...tcengine_setmixedaudioframeparameters.dita | 60 ++++++++-------- ...ybackaudioframebeforemixingparameters.dita | 53 +++++++++------ ...ngine_setplaybackaudioframeparameters.dita | 68 +++++++++---------- ...gine_setrecordingaudioframeparameters.dita | 59 ++++++++-------- 5 files changed, 141 insertions(+), 124 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index 275625435c9..f0a0a9b2d50 100644 --- a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -22,11 +22,22 @@ void registerAudioFrameObserver(AudioFrameObserver observer);

    -
    - 详情 -

    该方法用于注册音频观测器对象,即注册回调。当需要 SDK 给出 等回调时,需要使用该方法注册回调。

    - 该方法需要在加入频道前调用。
    -
    +
    +

    该方法用于注册音频观测器对象,即注册回调。当需要 SDK 触发 等回调时,需要使用该方法注册回调。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    无。

    +
    + +
    参数 @@ -65,5 +76,5 @@
  • :方法调用成功。
  • :方法调用失败。详见了解详情和解决建议。
  • - - + + \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index 73822f26220..07d99b6ce14 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -2,7 +2,7 @@ <ph keyref="setMixedAudioFrameParameters" /> - 设置 报告的音频数据格式。 + 设置采集和播放音频混音后的原始音频数据格式。 @@ -18,8 +18,8 @@ channel:(NSInteger)channel samplesPerCall:(NSInteger)samplesPerCall; virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); abstract setMixedAudioFrameParameters( sampleRate: number, channel: number, @@ -37,35 +37,37 @@ required int samplesPerCall});

    -
    +
    +

    SDK 会根据该采样间隔触发 回调。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    无。

    +
    + +
    参数 - - sampleRate - -

    音频数据采样率 (Hz),可设置为 800016000320004410048000

    -
    + + + -
    - - - channel - -

    音频数据声道数,可设置为 1(单声道) 或 2(双声道)。

    -
    + + + -
    - - - samplesPerCall - -

    音频数据采样点数。旁路推流场景下通常设为 1024

    -
    + + + -
    - -

    SDK 会根据该方法设置的采样间隔(秒)定期触发 回调。 采样间隔 = samplesPerCall/(sampleRate x channel)。请确保你的取值能满足采样间隔大于或等于 0.01 秒。

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

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

    @@ -73,5 +75,5 @@
  • 0: 方法调用成功。
  • < 0: 方法调用失败。详见了解详情和解决建议。
  • - - + + \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index 45e262f5285..47a5e509467 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -17,8 +17,8 @@ - (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel; virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); abstract setPlaybackAudioFrameBeforeMixingParameters( sampleRate: number, channel: number @@ -32,30 +32,41 @@ {required int sampleRate, required int channel});

    -
    +
    +
    + +
    自从
    +
    v
    +
    +
    +

    +

    +
    + 调用时机 +

    +

    +
    + 调用限制 +

    +

    + +
    参数 - sampleRate - -

    音频数据采样率 (Hz),可设置为 800016000320004410048000

    -
    -
    -
    - - - channel - -

    音频数据声道数,可设置为 1(单声道)或 2(双声道)。

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

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

    -
      -
    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • -
    - - \ No newline at end of file +
      +
    • 0: 方法调用成功。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    + + diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index 2e67a22aa53..1e1ec27b769 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -2,7 +2,7 @@ <ph keyref="setPlaybackAudioFrameParameters" /> - 设置播放的音频格式。 + 设置播放的原始音频数据格式。 @@ -23,8 +23,8 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetPlaybackAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetPlaybackAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setPlaybackAudioFrameParameters( sampleRate: number, channel: number, @@ -46,43 +46,39 @@ required int samplesPerCall});

    -
    - 详情 +
    +

    SDK 会根据该采样间隔触发 回调。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    无。

    +
    + -
    +
    +
    参数 - - sampleRate - 中返回数据的采样率,可设置为 8000、 16000、 32000、44100 或 48000。 + + + - - channel - -

    中返回数据的通道数,可设置为 1 或 2: - - -

      -
    • 1: 单声道
    • -
    • 2: 双声道
    • -

    -
    + + + - - mode - -

    音频帧的使用模式,详见

    -

    - + + + - - samplesPerCall - 中返回数据的采样点数,如旁路推流应用中通常为 1024。 + + +

    @@ -92,5 +88,5 @@
  • 0:方法调用成功。
  • < 0:方法调用失败。详见了解详情和解决建议。
  • - - + + \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index 270de9cb077..f4035fb3da0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -23,8 +23,8 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetRecordingAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetRecordingAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setRecordingAudioFrameParameters( sampleRate: number, channel: number, @@ -45,51 +45,48 @@ required int samplesPerCall});

    -
    - 详情 +
    +

    SDK 会通过该方法中的 samplesPerCallsampleRatechannel 参数计算出采样间隔,计算公式为采样间隔 = samplesPerCall/(sampleRate × channel)。请确保采样间隔不小于 0.01 秒。SDK 会根据该采样间隔触发 回调。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    无。

    +
    + -
    +
    +
    参数 - + sampleRate - 中返回数据的采样率,可设置为 8000、 16000、 32000、44100 或 48000。 - SDK 返回数据的采样率 (Hz),可设置为 8000、 16000、 32000、 44100 或 48000。 + 音频数据的采样率 (Hz),可设置为 8000、 16000、 32000、44100 或 48000。 - + channel - -

    中返回数据的通道数,可设置为 1 或 2: -

      -
    • 1: 单声道。
    • -
    • 2: 双声道。
    • -

    -
    - -

    SDK 返回数据的通道数。取值可为 1 或 2: + + 音频数据的声道数,可设置为 1 或 2:

    • 1: 单声道。
    • 2: 双声道。
    • -

    +
    - + mode -

    音频帧的使用模式,详见

    +

    音频帧的使用模式,详见

    - SDK 返回数据的使用模式,详见 - + samplesPerCall - 中返回数据的采样点数,如旁路推流应用中通常为 1024。 - SDK 返回数据的采样点数,如旁路推流应用中通常为 1024。 + 音频数据的采样点数,如旁路推流应用中通常为 1024。

    @@ -100,4 +97,4 @@
  • < 0:方法调用失败。详见了解详情和解决建议。
  • - + \ No newline at end of file From ac3a9de1ec8d38ca6afd39b7bf06c7585b7a4fd3 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:36:24 +0800 Subject: [PATCH 036/146] OC add Metadata --- dita/RTC-NG/API/class_externalvideoframe.dita | 2 +- dita/RTC-NG/API/class_videoframe.dita | 2 +- dita/RTC-NG/API/rtc_api_data_type.dita | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 6e49b529199..65d132b9c6f 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -424,7 +424,7 @@ class ExternalVideoFrame { metadataSize 该参数仅适用于 Texture 格式的视频数据。指 MetaData 的大小,默认值为 0 - + diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 9dc13459304..e717f8bdb09 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -691,7 +691,7 @@ class VideoFrame { textureId 该参数仅适用于 Texture 格式的视频数据。Texture ID。 - + d3d11Texture2d 该参数仅适用于 Windows Texture 格式的视频数据。表示一个指向 ID3D11Texture2D 类型对象的指针,该类型对象被视频帧所使用。 diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 32b96fbbd09..a5a91c80e75 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -332,6 +332,7 @@
  • +
  • @@ -433,6 +434,7 @@
  • +
  • From a7bbd8b47f23a5e3ff204030135c1f6962348f71 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:44:17 +0800 Subject: [PATCH 037/146] 1 --- dita/RTC-NG/API/class_videoframe.dita | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index e717f8bdb09..d218996f99c 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -725,8 +725,7 @@ class VideoFrame { alphaBuf

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

    -

    在用户自定义视频渲染场景下,该参数可帮助实现将视频背景自渲染为各种效果,例如:透明、纯色、图片、视频等。 - 该参数需要开通。

    +

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

    @@ -745,13 +744,13 @@ class VideoFrame { alphaStitchMode - alphaBuffer 和视频帧拼接的相对位置: + 当视频帧中包含 Alpha 通道信息时,alphaBuffer 和视频帧的相对位置
    • 0:(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
    • -
    • 1:alphaBuffer 拼接到视频帧的上方。
    • -
    • 2:alphaBuffer 拼接到视频帧的下方。
    • -
    • 3:alphaBuffer 拼接到视频帧的左侧。
    • -
    • 4:alphaBuffer 拼接到视频帧的右侧。
    • +
    • 1:alphaBuffer 位于视频帧的上方。
    • +
    • 2:alphaBuffer 位于视频帧的下方。
    • +
    • 3:alphaBuffer 位于视频帧的左侧。
    • +
    • 4:alphaBuffer 位于视频帧的右侧。
    From 4beddd6edb01e593dd8581243083d9a3ae54cabc Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 24 Jun 2024 17:21:33 +0800 Subject: [PATCH 038/146] tiny fix --- dita/RTC-NG/API/rtc_api_sunset.dita | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index fdf34be9416..7562b0adc65 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -78,8 +78,8 @@ - - + + v4.0.0 @@ -96,7 +96,7 @@ - 中的 logConfig 参数 + 使用 中的 logConfig 参数 v4.0.0 From 4dad972a0f464fdc326517cea53b50910c6a4462 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 25 Jun 2024 13:03:37 +0800 Subject: [PATCH 039/146] fix publish errors --- .../API/api_irtcengine_switchcamera2.dita | 2 +- .../API/api_irtcengineex_leavechannelex.dita | 2 +- .../API/api_irtcengineex_leavechannelex2.dita | 20 +- dita/RTC-NG/API/enum_channelprofiletype.dita | 4 +- dita/RTC-NG/API/enum_videocodectype.dita | 8 +- dita/RTC-NG/API/enum_videocontenthint.dita | 2 +- dita/RTC-NG/API/rtc_api_overview.dita | 6 +- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 4 +- .../config/keys-rtc-ng-api-harmony.ditamap | 1066 +++++++++-------- .../config/relations-rtc-ng-api.ditamap | 14 +- 10 files changed, 598 insertions(+), 530 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita index ba50ec81f26..0cceae2a596 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita @@ -14,7 +14,7 @@

    public abstract int switchCamera(String cameraId); - public abstract switchCamera(): number; + diff --git a/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita b/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita index 5daac3168bc..f5a0bdeb767 100644 --- a/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita @@ -14,7 +14,7 @@

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

    public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options); - + public abstract leaveChannelEx(connection: RtcConnection, options?:LeaveChannelOptions): number; - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; @@ -46,21 +46,21 @@

    - 适用场景 -

    -

    + 适用场景 +

    +

    调用时机

    该方法需要在 后调用。

    - 调用限制 -

    -

    + 调用限制 +

    +

    + 相关回调 +

    +

    参数 diff --git a/dita/RTC-NG/API/enum_channelprofiletype.dita b/dita/RTC-NG/API/enum_channelprofiletype.dita index efc60a3dfb8..531b1edc4f2 100644 --- a/dita/RTC-NG/API/enum_channelprofiletype.dita +++ b/dita/RTC-NG/API/enum_channelprofiletype.dita @@ -15,7 +15,7 @@ 1:(默认)直播场景。 - + 2: (已废弃)游戏场景。
    @@ -25,7 +25,7 @@
    - + 3: 互动场景。该场景对延时进行了优化。如果你的场景中有用户需要频繁互动,建议使用该场景。
    diff --git a/dita/RTC-NG/API/enum_videocodectype.dita b/dita/RTC-NG/API/enum_videocodectype.dita index 0da15ae3c89..b49a248a3e8 100644 --- a/dita/RTC-NG/API/enum_videocodectype.dita +++ b/dita/RTC-NG/API/enum_videocodectype.dita @@ -7,11 +7,11 @@
    枚举值 - + 0:(默认)不指定编解码格式。SDK 会根据当前视频流的分辨率、设备性能自动匹配适合的编解码格式。 - + 1:标准 VP8。 @@ -23,7 +23,7 @@ 3:标准 H.265。 - +

    6:Generic。

    @@ -34,7 +34,7 @@ 12:AV1。
    - + 20:Generic JPEG。

    本类型所需的算力较小,可用于算力有限的 IoT 设备。

    diff --git a/dita/RTC-NG/API/enum_videocontenthint.dita b/dita/RTC-NG/API/enum_videocontenthint.dita index d6592bc4a8d..5117b87c1d7 100644 --- a/dita/RTC-NG/API/enum_videocontenthint.dita +++ b/dita/RTC-NG/API/enum_videocontenthint.dita @@ -7,7 +7,7 @@
    枚举值 - + (默认)无指定的内容类型。 diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index a11714274ec..057d7d545ed 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -81,7 +81,7 @@ - + @@ -89,7 +89,7 @@ - + @@ -2211,7 +2211,7 @@ (仅适用于 Android 和 iOS) - + diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap index 9d8ec041358..bb0a3825a5a 100644 --- a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -662,8 +662,8 @@ - - + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index e2b4ea2a013..bde016a914c 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -194,20 +194,6 @@ - - - - ICloudSpatialAudioEngine - - - - - - - ICloudSpatialAudioEventHandler - - - @@ -2070,92 +2056,7 @@ - - - - - addEventHandler - - - - - - - create - - - - - - - enableSpatializer - - - - - - - enterRoom - - - - - - - exitRoom - - - - - - - getTeammates - - - - - - - initialize - - - - - - - destroy - - - - - - - removeEventHandler - - - - - - - renewToken - - - - - - - setAudioRangeMode - - - - - - - setTeamId - - - - + @@ -3149,8 +3050,7 @@ - - + switchCamera @@ -3589,13 +3489,6 @@ - - - - addInjectStreamUrl - - - @@ -4579,36 +4472,6 @@ - - - - - onConnectionStateChange - - - - - - - onTeammateJoined - - - - - - - onTeammateLeft - - - - - - - onTokenWillExpire - - - - @@ -4836,13 +4699,6 @@ - - - - CloudSpatialAudioConfig - - - @@ -5494,104 +5350,6 @@ - - - - BLUR_DEGREE_LOW - - - - - - - BLUR_DEGREE_MEDIUM - - - - - - - BLUR_DEGREE_HIGH - - - - - - - BACKGROUND_NONE - - - - - - - BACKGROUND_COLOR - - - - - - - BACKGROUND_IMG - - - - - - - BACKGROUND_BLUR - - - - - - - BACKGROUND_VIDEO - - - - - - - SaeDeployRegion - - - - - - - SAE_DEPLOY_REGION_NONE - - - - - - - SAE_DEPLOY_REGION_CN - - - - - - - SAE_DEPLOY_REGION_NA - - - - - - - SAE_DEPLOY_REGION_EU - - - - - - - SAE_DEPLOY_REGION_AS - - - @@ -5678,17 +5436,24 @@ + + + + AudienceLatencyLevel + + + - AUDIENCE_LATENCY_LEVEL_LOW_LATENCY + LOW_LATENCY - AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY + ULTRA_LOW_LATENCY @@ -5881,6 +5646,118 @@ + + + + VirtualBackgroundBlurDegree + + + + + + + LOW + + + + + + + MEDIUM + + + + + + + HIGH + + + + + + + VirtualBackgroundType + + + + + + + NONE + + + + + + + COLOR + + + + + + + IMG + + + + + + + BLUR + + + + + + + VIDEO + + + + + + + SaeDeployRegion + + + + + + + SAE_DEPLOY_REGION_NONE + + + + + + + SAE_DEPLOY_REGION_CN + + + + + + + SAE_DEPLOY_REGION_NA + + + + + + + SAE_DEPLOY_REGION_EU + + + + + + + SAE_DEPLOY_REGION_AS + + + @@ -6178,77 +6055,84 @@ - AUDIO_EQUALIZATION_BAND_FREQUENCY + BAND_FREQUENCY + + + + + + + AudioEqualizationBandFrequency - AUDIO_EQUALIZATION_BAND_31 + BAND_31 - AUDIO_EQUALIZATION_BAND_62 + BAND_62 - AUDIO_EQUALIZATION_BAND_125 + BAND_125 - AUDIO_EQUALIZATION_BAND_250 + BAND_250 - AUDIO_EQUALIZATION_BAND_500 + BAND_500 - AUDIO_EQUALIZATION_BAND_1K + BAND_1K - AUDIO_EQUALIZATION_BAND_2K + BAND_2K - AUDIO_EQUALIZATION_BAND_4K + BAND_4K - AUDIO_EQUALIZATION_BAND_8K + BAND_8K - AUDIO_EQUALIZATION_BAND_16K + BAND_16K @@ -6336,31 +6220,38 @@ + + + + AudioMixingDualMonoMode + + + - AUDIO_MIXING_DUAL_MONO_AUTO + AUTO - AUDIO_MIXING_DUAL_MONO_L + L - AUDIO_MIXING_DUAL_MONO_R + R - AUDIO_MIXING_DUAL_MONO_MIX + MIX @@ -6479,7 +6370,7 @@ - AudioProfile + AudioProfileType @@ -6560,164 +6451,185 @@ + + + + AudioRecordingType + + + - AUDIO_FILE_RECORDING_MIC + MIC - AUDIO_FILE_RECORDING_PLAYBACK + PLAYBACK - AUDIO_FILE_RECORDING_MIXED + MIXED + + + + + + + AudioRecordingQuality - AUDIO_RECORDING_QUALITY_LOW + LOW - AUDIO_RECORDING_QUALITY_MEDIUM + MEDIUM - AUDIO_RECORDING_QUALITY_HIGH + HIGH - AUDIO_RECORDING_QUALITY_ULTRA_HIGH + ULTRA_HIGH + + + + + + + PRESET - AUDIO_REVERB_OFF + OFF - AUDIO_REVERB_FX_KTV + FX_KTV - AUDIO_REVERB_FX_VOCAL_CONCERT + FX_VOCAL_CONCERT - AUDIO_REVERB_FX_UNCLE + FX_UNCLE - AUDIO_REVERB_FX_SISTER + FX_SISTER - AUDIO_REVERB_FX_STUDIO + FX_STUDIO - AUDIO_REVERB_FX_POPULAR + FX_POPULAR - AUDIO_REVERB_FX_RNB + FX_RNB - AUDIO_REVERB_FX_PHONOGRAPH + FX_PHONOGRAPH - AUDIO_REVERB_POPULAR + POPULAR - AUDIO_REVERB_RNB + RNB - AUDIO_REVERB_ROCK + ROCK - AUDIO_REVERB_HIPHOP + HIPHOP - AUDIO_REVERB_VOCAL_CONCERT + VOCAL_CONCERT - AUDIO_REVERB_KTV + KTV - AUDIO_REVERB_STUDIO + STUDIO @@ -6745,42 +6657,42 @@ - AUDIO_REVERB_TYPE + AudioReverbType - AUDIO_REVERB_DRY_LEVEL + DRY_LEVEL - AUDIO_REVERB_WET_LEVEL + WET_LEVEL - AUDIO_REVERB_ROOM_SIZE + ROOM_SIZE - AUDIO_REVERB_WET_DELAY + WET_DELAY - AUDIO_REVERB_STRENGTH + STRENGTH @@ -6899,42 +6811,42 @@ - AudioScenario + AudioScenarioType - AUDIO_SCENARIO_DEFAULT + DEFAULT - AUDIO_SCENARIO_CHATROOM + CHATROOM - AUDIO_SCENARIO_GAME_STREAMING + GAME_STREAMING - AUDIO_SCENARIO_CHORUS + CHORUS - AUDIO_SCENARIO_MEETING + MEETING @@ -6948,182 +6860,182 @@ - CONNECTION_STATE_DISCONNECTED + DISCONNECTED - CONNECTION_STATE_CONNECTING + CONNECTING - CONNECTION_STATE_CONNECTED + CONNECTED - CONNECTION_STATE_RECONNECTING + RECONNECTING - CONNECTION_STATE_FAILED + FAILED - CONNECTION_CHANGED_CONNECTING + CONNECTING - CONNECTION_CHANGED_JOIN_SUCCESS + JOIN_SUCCESS - CONNECTION_CHANGED_INTERRUPTED + INTERRUPTED - CONNECTION_CHANGED_BANNED_BY_SERVER + BANNED_BY_SERVER - CONNECTION_CHANGED_JOIN_FAILED + JOIN_FAILED - CONNECTION_CHANGED_LEAVE_CHANNEL + LEAVE_CHANNEL - CONNECTION_CHANGED_INVALID_APP_ID + INVALID_APP_ID - CONNECTION_CHANGED_INVALID_CHANNEL_NAME + INVALID_CHANNEL_NAME - CONNECTION_CHANGED_INVALID_TOKEN + INVALID_TOKEN - CONNECTION_CHANGED_TOKEN_EXPIRED + TOKEN_EXPIRED - CONNECTION_CHANGED_REJECTED_BY_SERVER + REJECTED_BY_SERVER - CONNECTION_CHANGED_SETTING_PROXY_SERVER + SETTING_PROXY_SERVER - CONNECTION_CHANGED_RENEW_TOKEN + RENEW_TOKEN - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED + CLIENT_IP_ADDRESS_CHANGED - CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT + KEEP_ALIVE_TIMEOUT - CONNECTION_CHANGED_REJOIN_SUCCESS + REJOIN_SUCCESS - CONNECTION_CHANGED_LOST + LOST - CONNECTION_CHANGED_ECHO_TEST + ECHO_TEST - CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER + CLIENT_IP_ADDRESS_CHANGED_BY_USER - CONNECTION_CHANGED_SAME_UID_LOGIN + SAME_UID_LOGIN - CONNECTION_CHANGED_TOO_MANY_BROADCASTERS + TOO_MANY_BROADCASTERS @@ -7135,51 +7047,51 @@ - - - AudioTrackType - - - - - - - AUDIO_TRACK_MIXABLE - - - - - - - AUDIO_TRACK_DIRECT - - - + + + AudioTrackType + + + + + + + MIXABLE + + + + + + + DIRECT + + + - CAMERA_DIRECTION + CameraDirection - CAMERA_REAR + REAR - CAMERA_FRONT + FRONT - CAMERA_EXTRA + EXTRA @@ -7491,52 +7403,66 @@ + + + + ChannelProfile + + + - CHANNEL_PROFILE_COMMUNICATION + COMMUNICATION - CHANNEL_PROFILE_LIVE_BROADCASTING + LIVE_BROADCASTING - CHANNEL_PROFILE_GAME + GAME - CHANNEL_PROFILE_CLOUD_GAMING + CLOUD_GAMING - CHANNEL_PROFILE_COMMUNICATION_1v1 + COMMUNICATION_1v1 + + + + + + + ClientRole - CLIENT_ROLE_BROADCASTER + BROADCASTER - CLIENT_ROLE_AUDIENCE + AUDIENCE @@ -7781,42 +7707,49 @@ - ENCRYPTION_ERROR_TYPE + EncryptionError - ENCRYPTION_ERROR_INTERNAL_FAILURE + INTERNAL_FAILURE - ENCRYPTION_ERROR_DECRYPTION_FAILURE + DECRYPTION_FAILURE - ENCRYPTION_ERROR_ENCRYPTION_FAILURE + ENCRYPTION_FAILURE - ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE + DATASTREAM_DECRYPTION_FAILURE - ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE + DATASTREAM_ENCRYPTION_FAILURE + + + + + + + ErrorCode @@ -8366,24 +8299,31 @@ + + + + LastmileProbeResult + + + - LASTMILE_PROBE_RESULT_COMPLETE + COMPLETE - LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE + INCOMPLETE_NO_BWE - LASTMILE_PROBE_RESULT_UNAVAILABLE + UNAVAILABLE @@ -8576,108 +8516,122 @@ + + + + LocalVideoStreamReason + + + - LOCAL_VIDEO_STREAM_REASON_OK + OK - LOCAL_VIDEO_STREAM_REASON_FAILURE + FAILURE - LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION + DEVICE_NO_PERMISSION - LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY + DEVICE_BUSY - LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE + CAPTURE_FAILURE - LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT + CODEC_NOT_SUPPORT - LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND + DEVICE_NOT_FOUND - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED + SCREEN_CAPTURE_WINDOW_MINIMIZED - LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED + SCREEN_CAPTURE_WINDOW_CLOSED - LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT + DEVICE_INTERRUPT - LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR + DEVICE_FATAL_ERROR + + + + + + + LocalVideoStreamState - LOCAL_VIDEO_STREAM_STATE_STOPPED + STOPPED - LOCAL_VIDEO_STREAM_STATE_CAPTURING + CAPTURING - LOCAL_VIDEO_STREAM_STATE_ENCODING + ENCODING - LOCAL_VIDEO_STREAM_STATE_FAILED + FAILED @@ -8702,45 +8656,52 @@ + + + + LogFilter + + + - LOG_FILTER_OFF + OFF - LOG_FILTER_DEBUG + DEBUG - LOG_FILTER_INFO + INFO - LOG_FILTER_WARN + WARN - LOG_FILTER_ERROR + ERROR - LOG_FILTER_CRITICAL + CRITICAL @@ -9640,52 +9601,59 @@ + + + + NetworkQuality + + + - QUALITY_UNKNOWN + UNKNOWN - QUALITY_EXCELLENT + EXCELLENT - QUALITY_GOOD + GOOD - QUALITY_POOR + POOR - QUALITY_BAD + BAD - QUALITY_VBAD + VBAD - QUALITY_DOWN + DOWN @@ -9766,38 +9734,45 @@ + + + + RemoteAudioState + + + - REMOTE_AUDIO_STATE_STOPPED + STOPPED - REMOTE_AUDIO_STATE_STARTING + STARTING - REMOTE_AUDIO_STATE_DECODING + DECODING - REMOTE_AUDIO_STATE_FROZEN + FROZEN - REMOTE_AUDIO_STATE_FAILED + FAILED @@ -9836,122 +9811,136 @@ + + + + RemoteAudioStateReason + + + - REMOTE_AUDIO_REASON_INTERNAL + INTERNAL - REMOTE_AUDIO_REASON_NETWORK_CONGESTION + NETWORK_CONGESTION - REMOTE_AUDIO_REASON_NETWORK_RECOVERY + NETWORK_RECOVERY - REMOTE_AUDIO_REASON_LOCAL_MUTED + LOCAL_MUTED - REMOTE_AUDIO_REASON_LOCAL_UNMUTED + LOCAL_UNMUTED - REMOTE_AUDIO_REASON_REMOTE_MUTED + REMOTE_MUTED - REMOTE_AUDIO_REASON_REMOTE_UNMUTED + REMOTE_UNMUTED - REMOTE_AUDIO_REASON_REMOTE_OFFLINE + REMOTE_OFFLINE + + + + + + + RemoteVideoStreamReason - REMOTE_VIDEO_STATE_REASON_INTERNAL + INTERNAL - REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION + NETWORK_CONGESTION - REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY + NETWORK_RECOVERY - REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED + LOCAL_MUTED - REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED + LOCAL_UNMUTED - REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED + REMOTE_MUTED - REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED + REMOTE_UNMUTED - REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE + REMOTE_OFFLINE - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK + AUDIO_FALLBACK @@ -9959,14 +9948,14 @@ - REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY + AUDIO_FALLBACK_RECOVERY - REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT + CODEC_NOT_SUPPORT @@ -9991,108 +9980,115 @@ + + + + RtmpStreamPublishReason + + + - RTMP_STREAM_PUBLISH_REASON_OK + OK - RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT + INVALID_ARGUMENT - RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED + ENCRYPTED_STREAM_NOT_ALLOWED - RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT + CONNECTION_TIMEOUT - RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR + INTERNAL_SERVER_ERROR - RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR + RTMP_SERVER_ERROR - RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN + TOO_OFTEN - RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT + REACH_LIMIT - RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED + NOT_AUTHORIZED - RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND + STREAM_NOT_FOUND - RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED + FORMAT_NOT_SUPPORTED - RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER + NOT_BROADCASTER - RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM + TRANSCODING_NO_MIX_STREAM - RTMP_STREAM_PUBLISH_REASON_NET_DOWN + NET_DOWN - RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE + INVALID_PRIVILEGE @@ -10103,73 +10099,87 @@ + + + + RtmpStreamPublishState + + + - RTMP_STREAM_PUBLISH_STATE_IDLE + IDLE - RTMP_STREAM_PUBLISH_STATE_CONNECTING + CONNECTING - RTMP_STREAM_PUBLISH_STATE_RUNNING + RUNNING - RTMP_STREAM_PUBLISH_STATE_RECOVERING + RECOVERING - RTMP_STREAM_PUBLISH_STATE_FAILURE + FAILURE - RTMP_STREAM_PUBLISH_STATE_DISCONNECTING + DISCONNECTING + + + + + + + RtmpStreamingEvent - RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE + FAILED_LOAD_IMAGE - RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE + URL_ALREADY_IN_USE - RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT + ADVANCED_FEATURE_NOT_SUPPORT - RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN + REQUEST_TOO_OFTEN @@ -10267,28 +10277,28 @@ - SIMULCAST_STREAM_MODE + SimulcastStreamMode - AUTO_SIMULCAST_STREAM + AUTO - DISABLE_SIMULCAST_STREAM + DISABLE - ENABLE_SIMULCAST_STREAM + ENABLE @@ -10383,52 +10393,59 @@ + + + + SegModelType + + + - SEG_MODEL_AI + AI - SEG_MODEL_GREEN + GREEN - STREAM_PUBLISH_STATE + StreamPublishState - PUB_STATE_IDLE + IDLE - PUB_STATE_NO_PUBLISHED + NO_PUBLISHED - PUB_STATE_PUBLISHING + PUBLISHING - PUB_STATE_PUBLISHED + PUBLISHED @@ -10505,14 +10522,14 @@ - APPLICATION_SCENARIO_GENERAL + GENERAL - APPLICATION_SCENARIO_MEETING + MEETING @@ -10589,119 +10606,126 @@ - VIDEO_SOURCE_CAMERA_PRIMARY + CAMERA_PRIMARY - VIDEO_SOURCE_CAMERA + CAMERA - VIDEO_SOURCE_CAMERA_SECONDARY + CAMERA_SECONDARY - VIDEO_SOURCE_SCREEN_PRIMARY + SCREEN_PRIMARY - VIDEO_SOURCE_SCREEN + SCREEN - VIDEO_SOURCE_SCREEN_SECONDARY + SCREEN_SECONDARY - VIDEO_SOURCE_CUSTOM + CUSTOM - VIDEO_SOURCE_MEDIA_PLAYER + MEDIA_PLAYER - VIDEO_SOURCE_RTC_IMAGE_PNG + RTC_IMAGE_PNG - VIDEO_SOURCE_RTC_IMAGE_JPEG + RTC_IMAGE_JPEG - VIDEO_SOURCE_RTC_IMAGE_GIF + RTC_IMAGE_GIF - VIDEO_SOURCE_REMOTE + REMOTE - VIDEO_SOURCE_TRANSCODED + TRANSCODED - VIDEO_SOURCE_CAMERA_THIRD + CAMERA_THIRD - VIDEO_SOURCE_CAMERA_FOURTH + CAMERA_FOURTH - VIDEO_SOURCE_SPEECH_DRIVEN + SPEECH_DRIVEN - VIDEO_SOURCE_UNKNOWN + UNKNOWN + + + + + + + VIDEO_CODEC_CAPABILITY_LEVEL @@ -10771,70 +10795,70 @@ - VIDEO_CODEC_TYPE + VideoCodecType - VIDEO_CODEC_NONE + NONE - VIDEO_CODEC_VP8 + VP8 - VIDEO_CODEC_H264 + H264 - VIDEO_CODEC_H265 + H265 - VIDEO_CODEC_GENERIC + GENERIC - VIDEO_CODEC_GENERIC_H264 + GENERIC_H264 - VIDEO_CODEC_AV1 + AV1 - VIDEO_CODEC_VP9 + VP9 - VIDEO_CODEC_GENERIC_JPEG + GENERIC_JPEG @@ -10859,24 +10883,31 @@ + + + + ScreenCaptureContentHint + + + - SCREEN_CAPTURE_CONTENT_HINT_NONE + NONE - SCREEN_CAPTURE_CONTENT_HINT_MOTION + MOTION - SCREEN_CAPTURE_CONTENT_HINT_DETAILS + DETAILS @@ -10887,17 +10918,24 @@ + + + + VideoFrameProcessMode + + + - PROCESS_MODE_READ_ONLY + READ_ONLY - PROCESS_MODE_READ_WRITE + READ_WRITE @@ -10971,31 +11009,38 @@ + + + + VideoModulePosition + + + - VIDEO_MODULE_POSITION_POST_CAPTURER + POST_CAPTURER - VIDEO_MODULE_POSITION_PRE_RENDERER + PRE_RENDERER - VIDEO_MODULE_POSITION_PRE_ENCODER + PRE_ENCODER - VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN + POST_CAPTURER_ORIGIN @@ -11030,63 +11075,77 @@ - VIDEO_PIXEL_DEFAULT + DEFAULT + + + + + + + VideoPixelFormat + + + + + + + DEFAULT - VIDEO_PIXEL_I420 + I420 - VIDEO_PIXEL_BGRA + BGRA - VIDEO_PIXEL_NV21 + NV21 - VIDEO_PIXEL_RGBA + RGBA - VIDEO_PIXEL_IMC2 + IMC2 - VIDEO_PIXEL_ARGB + ARGB - VIDEO_PIXEL_NV12 + NV12 - VIDEO_PIXEL_I422 + I422 @@ -11594,17 +11653,24 @@ + + + + VideoStreamType + + + - VIDEO_STREAM_HIGH + HIGH - VIDEO_STREAM_LOW + LOW diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 963b3971fd6..480976efee7 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2215,7 +2215,7 @@ - + @@ -2309,7 +2309,7 @@ - + @@ -2406,7 +2406,7 @@ - + @@ -2435,7 +2435,9 @@ - + + + @@ -2484,7 +2486,7 @@ - + @@ -2574,7 +2576,7 @@ - + From 7d0e1e700a68d1cc610702a57e4549ca8c79bce5 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 25 Jun 2024 13:04:27 +0800 Subject: [PATCH 040/146] delelte setVideoProfile --- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 1 - dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap | 7 ------- 2 files changed, 8 deletions(-) diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap index bb0a3825a5a..20699ea9f9e 100644 --- a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -250,7 +250,6 @@ - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index bde016a914c..bdefb6eb937 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -1104,13 +1104,6 @@ - - - - setVideoProfile - - - From b555146db32ffef5af4b6f1629015be04862fb29 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 25 Jun 2024 13:06:31 +0800 Subject: [PATCH 041/146] rename --- dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 2 +- dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 29c4be370f0..dc2d0b68824 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -4432,7 +4432,7 @@ - receiveMetadata + didMetadataReceived diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 82c50b89f16..ab2a6c888b8 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -4165,7 +4165,7 @@ - receiveMetadata + didMetadataReceived From 4b019fd58138c567eac6edc1d30641894c5cb0a8 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 25 Jun 2024 14:24:11 +0800 Subject: [PATCH 042/146] update scenario for enablevoiceaituner --- dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index cf23b8845ed..00207b873a0 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -33,7 +33,7 @@
    适用场景 -

    +

    主要适用于泛娱乐如在线 K 歌、在线播客、秀场等对音质、音准有较高要求的场景,支持音质美化、音准修正、对轨矫正等调音能力。

    调用时机 From e76030f127cdea07d44d40d39272f9f5578c5e1e Mon Sep 17 00:00:00 2001 From: jinyu Date: Tue, 25 Jun 2024 14:39:08 +0800 Subject: [PATCH 043/146] + --- .../API/api_irtcengine_getnativehandle.dita | 2 +- .../API/api_irtcengine_playeffect3.dita | 2 +- .../API/api_irtcengine_pushaudioframe2.dita | 2 +- .../API/api_irtcengine_setaudioprofile2.dita | 2 +- .../API/api_irtcengine_setaudioscenario.dita | 2 +- ...i_irtcengine_setremotevideostreamtype.dita | 2 +- .../api_irtcengine_startaudiorecording.dita | 2 +- ...engine_startorupdatechannelmediarelay.dita | 2 +- .../API/api_irtcengineex_getcallidex.dita | 2 +- .../API/api_irtcengineex_leavechannelex2.dita | 2 +- .../api_irtcengineex_setupremotevideoex.dita | 2 +- ...rver_onplaybackaudioframebeforemixing.dita | 2 +- ...verbase_getobservedaudioframeposition.dita | 2 +- ...bserverbase_onearmonitoringaudioframe.dita | 2 +- ...ioframeobserverbase_onmixedaudioframe.dita | 2 +- ...rameobserverbase_onplaybackaudioframe.dita | 2 +- ...oframeobserverbase_onrecordaudioframe.dita | 2 +- ...etadataobserver_onreadytosendmetadata.dita | 2 +- ...ngineeventhandler_onclientrolechanged.dita | 2 +- ...eventhandler_onclientrolechangefailed.dita | 2 +- ...eventhandler_onconnectionstatechanged.dita | 2 +- ...cengineeventhandler_onencryptionerror.dita | 2 +- ...cengineeventhandler_onlastmilequality.dita | 2 +- ...irtcengineeventhandler_onleavechannel.dita | 2 +- ...cengineeventhandler_onpermissionerror.dita | 2 +- ...gineeventhandler_onrtmpstreamingevent.dita | 2 +- ...nthandler_onrtmpstreamingstatechanged.dita | 2 +- ...gineeventhandler_ontranscodingupdated.dita | 2 +- ...enthandler_onvideopublishstatechanged.dita | 2 +- ...rameobserver_getobservedframeposition.dita | 2 +- ...videoframeobserver_getrotationapplied.dita | 2 +- ...rameobserver_getvideoformatpreference.dita | 2 +- ...rameobserver_getvideoframeprocessmode.dita | 2 +- ...ideoframeobserver_oncapturevideoframe.dita | 2 +- ...eoframeobserver_onpreencodevideoframe.dita | 2 +- dita/RTC-NG/API/class_advanceoptions.dita | 4 +- .../class_audiorecordingconfiguration.dita | 4 +- .../class_cameracapturerconfiguration.dita | 2 +- dita/RTC-NG/API/class_clientroleoptions.dita | 2 +- dita/RTC-NG/API/class_encryptionconfig.dita | 2 +- dita/RTC-NG/API/class_livetranscoding.dita | 12 ++-- dita/RTC-NG/API/class_rtcstats.dita | 59 +++++++++++++++---- .../API/class_segmentationproperty.dita | 2 +- dita/RTC-NG/API/class_transcodinguser.dita | 1 - .../API/class_transcodingvideostream.dita | 2 +- dita/RTC-NG/API/class_videocanvas.dita | 2 +- dita/RTC-NG/API/class_videodimensions.dita | 2 +- .../API/class_videoencoderconfiguration.dita | 6 +- dita/RTC-NG/API/class_videoframe.dita | 12 +++- .../API/class_virtualbackgroundsource.dita | 4 +- 50 files changed, 115 insertions(+), 71 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita b/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita index 24cae0c68e0..9cc2f2c1a2e 100644 --- a/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita +++ b/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita @@ -14,7 +14,7 @@

    public abstract long getNativeHandle(); - + public abstract getNativeHandle():bigint; - (void* _Nullable)getNativeHandle; abstract getNativeHandle(): number; diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index 713f3d062df..8f54d1af1fe 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -16,7 +16,7 @@ public int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish, int startPos); - + public abstract playEffect(soundId:number,filePath:string,loopCount:number,pitch:number,pan:number,gain:number,publish:boolean,startPos?:number):number; - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index 9fa648d9fe0..2765d5e34f1 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -15,7 +15,7 @@

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

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

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

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

    public abstract int startAudioRecording(String filePath, int quality); - public abstract startAudioRecording(filePath: string, quality: Constants.AUDIO_RECORDING_QUALITY_TYPE): number; + public abstract startAudioRecording(filePath: string, quality: Constants.AudioRecordingQualityType): number; - (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality; virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index baced027197..a065ed0e4c1 100644 --- a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -15,7 +15,7 @@

    public abstract int startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); - public abstract startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration:ChannelMediaRelayConfiguration):number; + public abstract startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration: ChannelMediaRelayConfiguration): number; - (int)startOrUpdateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config NS_SWIFT_NAME(startOrUpdateChannelMediaRelay(_:)); virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index c2580b1e0de..2350e31c4cf 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -14,7 +14,7 @@

    public abstract String getCallIdEx(RtcConnection connection); - public abstract getCallIdEx(connection:RtcConnection); + public abstract getCallIdEx(connection:RtcConnection):string; - (NSString * _Nullable)getCallIdEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(getCallIdEx(_:)); virtual int getCallIdEx(agora::util::AString& callId, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita index 46c1b207bc8..44798c21331 100644 --- a/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita @@ -14,7 +14,7 @@

    public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options); - + public abstract leaveChannelEx(connection: RtcConnection, options?:LeaveChannelOptions): number; - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; diff --git a/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita b/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita index 7d9ae1f033b..9c2c74781f7 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita @@ -14,7 +14,7 @@

    public abstract int setupRemoteVideoEx(VideoCanvas remote, RtcConnection connection); - + public abstract setupRemoteVideoEx(remote:VideoCanvas, connection:RtcConnection) : number; - (int)setupRemoteVideoEx:(AgoraRtcVideoCanvas* _Nonnull)remote connection:(AgoraRtcConnection * _Nonnull)connection; virtual int setupRemoteVideoEx(const VideoCanvas& canvas, const RtcConnection& connection) = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index eab37ff7ad7..46891b1b71e 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -16,7 +16,7 @@ public abstract boolean onPlaybackAudioFrameBeforeMixing(int userId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - onPlaybackAudioFrameBeforeMixing?: (channelId: string, userId: number, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number, rtpTimestamp: number) => boolean; + onPlaybackAudioFrameBeforeMixing?: (channelId: string, userId: number, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(onPlaybackAudioFrame(beforeMixing:channelId:uid:)); virtual bool onPlaybackAudioFrameBeforeMixing(const char* channelId, rtc::uid_t uid, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioFrameBeforeMixing, const FString, channelId, int64, uid, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita index 5181a325a5f..8c8077c4830 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita @@ -14,7 +14,7 @@

    - (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition()); - getObservedAudioFramePosition?: () => number; + getObservedAudioFramePosition: () => number; - (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition()); virtual int getObservedAudioFramePosition() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetObservedAudioFramePosition); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita index 9652e7aa530..591bd2da3b0 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita @@ -17,7 +17,7 @@ int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - onEarMonitoringAudioFrame?: (type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; + onEarMonitoringAudioFrame?: (type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onEarMonitoringAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0; diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index 159576dbc5c..575d6e4dd48 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -16,7 +16,7 @@ public abstract boolean onMixedAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - onMixedAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; + onMixedAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onMixedAudioFrame(_:channelId:)); virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnMixedAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita index 674a11e4721..65569932805 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita @@ -16,7 +16,7 @@ public abstract boolean onPlaybackAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - onPlaybackAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; + onPlaybackAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onPlaybackAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlaybackAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita index 4f101188679..866de97592b 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita @@ -16,7 +16,7 @@ public abstract boolean onRecordAudioFrame(String channelId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); - onRecordAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: bigint, avsync_type: number) => boolean; + onRecordAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onRecordAudioFrame(_:channelId:)); virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRecordAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita index bd6649adfc3..428111d29f6 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita @@ -14,7 +14,7 @@

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

    public void onClientRoleChanged(int oldRole, int newRole, ClientRoleOptions newRoleOptions) {} - + onClientRoleChanged?:(oldRole:Constants.ClientRole, newRole:Constants.ClientRole, newRoleOptions:ClientRoleOptions) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChanged:(AgoraClientRole)oldRole newRole:(AgoraClientRole)newRole newRoleOptions:(AgoraClientRoleOptions * _Nullable)newRoleOptions NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index f91e0af01ef..19423573bd4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -14,7 +14,7 @@

    public void onClientRoleChangeFailed(int reason, int currentRole) {} - + onClientRoleChangeFailed?: (reason:number, currentRole:Constants.ClientRole) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChangeFailed:(AgoraClientRoleChangeFailedReason)reason currentRole:(AgoraClientRole)currentRole; virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole) { (void)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita index 997264727d0..389bd42204b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita @@ -14,7 +14,7 @@

    public void onConnectionStateChanged(int state, int reason) {} - onConnectionStateChanged ? : ( state: Constants.ConnectionState, reason: Constants.ConnectionChangeReason ) => void + onConnectionStateChanged ? : ( state: Constants.ConnectionState, reason: Constants.ConnectionChangedReason ) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine connectionStateChanged:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita index 1495aa830d7..9160b517b83 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita @@ -14,7 +14,7 @@

    public void onEncryptionError(int errorType) {} - + onEncryptionError?:(errorType:Constants.EncryptionError) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurEncryptionError:(AgoraEncryptionErrorType)errorType; virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita index 3d606737504..135ac3e4186 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita @@ -14,7 +14,7 @@

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

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

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

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

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

    public void onTranscodingUpdated() {} - + onTranscodingUpdated? : () =>void; - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onTranscodingUpdated() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnTranscodingUpdated); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita index de9b7076f92..294e317ab38 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita @@ -16,7 +16,7 @@ public void onVideoPublishStateChanged(Constants.VideoSourceType source, String channel, int oldState, int newState, int elapseSinceLastState) {} - + onVideoPublishStateChanged?:(source:Constants.VideoSourceType, channel:string, oldState:Constants.StreamPublishState, newState:Constants.StreamPublishState, elapseSinceLastState:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoPublishStateChange:(NSString * _Nonnull)channelId sourceType:(AgoraVideoSourceType)sourceType oldState:(AgoraStreamPublishState)oldState diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita index ee85c9a2b63..abf720e5f1a 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita @@ -14,7 +14,7 @@

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

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

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

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

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

    boolean onPreEncodeVideoFrame(int sourceType, VideoFrame videoFrame); - onPreEncodeVideoFrame?: (sourceType: number, videoFrame: VideoFrame) => boolean; + onPreEncodeVideoFrame?: (sourceType: Constants.VideoSourceType, videoFrame: VideoFrame) => boolean; - (BOOL)onPreEncodeVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType; virtual bool onPreEncodeVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPreEncodeVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame); diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index c705bd7ed53..aafdfd7a714 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -20,8 +20,8 @@ } } export class AdvanceOptions { - public encodingPreference:ENCODING_PREFERENCE = ENCODING_PREFERENCE.PREFER_AUTO; - public compressionPreference:COMPRESSION_PREFERENCE = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; + public encodingPreference:EncodingPrefence = EncodingPrefence.PREFER_AUTO; + public compressionPreference:CompressionPrefence = CompressionPrefence.PREFER_LOW_LATENCY; constructor() { } } diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index a99f911c2b9..3ffd47e985f 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -40,8 +40,8 @@ this.filePath = filepath; this.sampleRate = 32000; this.codec = true; - this.fileRecordOption = Constants.AudioRecordingType.AUDIO_FILE_RECORDING_MIXED; - this.quality = Constants.AudioRecordingQuality.AUDIO_RECORDING_QUALITY_MEDIUM; + this.fileRecordOption = Constants.AudioRecordingType.MIXED; + this.quality = Constants.AudioRecordingQuality.MEDIUM; this.recordingChannel = 1; } } diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index f1c42648e21..0b5833484e5 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -154,7 +154,7 @@ } } export class CameraCapturerConfiguration { - public cameraDirection: Constants.CameraDirection = Constants.CameraDirection.CAMERA_FRONT; + public cameraDirection: Constants.CameraDirection = Constants.CameraDirection.FRONT; public cameraFormat: CaptureFormat = new CaptureFormat(); public followEncodeDimensionRatio: boolean = true; } diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 6f82e40881d..16f8abc7e04 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -16,7 +16,7 @@ } export class ClientRoleOptions { - public audienceLatencyLevel: Constants.AudienceLatencyLevel = Constants.AudienceLatencyLevel.AUDIENCE_LATENCY_LEVEL_LOW_LATENCY; + public audienceLatencyLevel: Constants.AudienceLatencyLevel = Constants.AudienceLatencyLevel.LOW_LATENCY; } __attribute__((visibility("default"))) @interface AgoraClientRoleOptions: NSObject @property (assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; diff --git a/dita/RTC-NG/API/class_encryptionconfig.dita b/dita/RTC-NG/API/class_encryptionconfig.dita index cde623bd000..b33b0433c16 100644 --- a/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/dita/RTC-NG/API/class_encryptionconfig.dita @@ -20,7 +20,7 @@ } } export class EncryptionConfig { - encryptionMode : ENCRYPTION_MODE = ENCRYPTION_MODE.AES_128_GCM2; + encryptionMode : EncryptionMode = EncryptionMode.AES_128_GCM2; encryptionKey : string = ""; encryptionKdfSalt : ArrayBuffer = new ArrayBuffer(32); public EncryptionConfig() { diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index 49014c266ca..04a37f25764 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -237,9 +237,9 @@ public videoGop: number; - private watermarkList?: Array<AgoraImage>; + public watermarkList?: Array<AgoraImage>; - private backgroundImageList?: Array<AgoraImage>; + public backgroundImageList?: Array<AgoraImage>; public audioSampleRate: Constants.AudioSampleRateType; @@ -253,11 +253,13 @@ public videoCodecType: Constants.VideoCodecType; - public userConfigExtraInfo?: string | null = null; + public userConfigExtraInfo?: string; - private transcodingUsers: Map<number, TranscodingUser>; + public metadata?: string; - private advancedFeatures: Map<string, boolean>; + public transcodingUsers: Map<number, TranscodingUser>; + + public advancedFeatures: Map<string, boolean>; constructor() { this.width = 360; this.height = 640; diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index cca368b7ed9..934b9ae78f5 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -33,17 +33,54 @@ public int memoryAppUsageInKbytes; } export class RtcStats { - public duration : number = 0; public rtcTxRxBytes : PTxRxBytes = new PTxRxBytes; - public audioTxRxBytes : PTxRxBytes = new PTxRxBytes; - public videoTxRxBytes : PTxRxKBitrate = new PTxRxKBitrate; - public rtc_kbitrate : PTxRxKBitrate = new PTxRxKBitrate; - public audio_kbitrate:PTxRxKBitrate = new PTxRxKBitrate; - public video_kbitrate: PTxRxKBitrate = new PTxRxKBitrate; - public lastmileDelay: PTxRxLossRate = new PTxRxLossRate; - public loss_rate: PTxRxLossRate = new PTxRxLossRate; - public cpuTotalUsage: number = 0; public gatewayRtt: number = 0; public cpuAppUsage:number = 0; public memoryAppUsageRatio: number = 0; public memoryTotalUsageRatio: number = 0; public memoryAppUsageInKbytes: number = 0; public userCount: number = 0; public connectTimeMs: number = 0; - public RtcStats() { - } + + public totalDuration:number = 0; + + public txBytes:number = 0; + + public rxBytes:number = 0; + + public txKBitRate:number = 0; + + public txAudioBytes:number = 0; + + public rxAudioBytes:number = 0; + + public txVideoBytes:number = 0; + + public rxVideoBytes:number = 0; + + public rxKBitRate:number = 0; + + public txAudioKBitRate:number = 0; + + public rxAudioKBitRate:number = 0; + + public txVideoKBitRate:number = 0; + + public rxVideoKBitRate:number = 0; + + public lastmileDelay:number = 0; + + public cpuTotalUsage:number = 0; + + public gatewayRtt:number = 0; + + public cpuAppUsage:number = 0; + + public users:number = 0; + + public connectTimeMs:number = 0; + + public txPacketLossRate:number = 0; + + public rxPacketLossRate:number = 0; + + public memoryAppUsageRatio:number = 0; + + public memoryTotalUsageRatio:number = 0; + + public memoryAppUsageInKbytes:number = 0; } __attribute__((visibility("default"))) @interface AgoraChannelStats : NSObject @property(assign, nonatomic) NSUInteger duration; diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index 964337dee02..ea04676fece 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -23,7 +23,7 @@ } export class SegmentationProperty { - public modelType:Constants.SegModel = Constants.SegModel.AI; + public modelType:Constants.SegModelType = Constants.SegModelType.AI; public greenCapacity:number = 0.5; } diff --git a/dita/RTC-NG/API/class_transcodinguser.dita b/dita/RTC-NG/API/class_transcodinguser.dita index 718d343bca0..47d2029e16a 100644 --- a/dita/RTC-NG/API/class_transcodinguser.dita +++ b/dita/RTC-NG/API/class_transcodinguser.dita @@ -26,7 +26,6 @@ export class TranscodingUser { public uid: number = 0; - public userId: string = ""; public x: number = 0; diff --git a/dita/RTC-NG/API/class_transcodingvideostream.dita b/dita/RTC-NG/API/class_transcodingvideostream.dita index 3d6c8492f56..c1ce5bece3a 100644 --- a/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -56,7 +56,7 @@ public mirror:boolean; public constructor() { this.remoteUserUid = 0; - this.sourceType = Constants.VideoSourceType.VIDEO_SOURCE_CAMERA_PRIMARY; + this.sourceType = Constants.VideoSourceType.CAMERA_PRIMARY; this.imageUrl = ""; this.mediaPlayerId = -1; this.x = 0; diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index f77f0e0a632..57897ccc244 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -57,7 +57,7 @@ public xcomponentId:string = ''; public uid:number = 0; public renderMode:number = VideoCanvas.RENDER_MODE_HIDDEN; - public mirrorMode:number = VideoCanvas.VIDEO_MIRROR_MODE_DISABLED; + public mirrorMode:number = 0; constructor(componentId:string) { this.xcomponentId = componentId; } diff --git a/dita/RTC-NG/API/class_videodimensions.dita b/dita/RTC-NG/API/class_videodimensions.dita index f5ff93de3e8..ba5e4f18aa4 100644 --- a/dita/RTC-NG/API/class_videodimensions.dita +++ b/dita/RTC-NG/API/class_videodimensions.dita @@ -21,7 +21,7 @@ } } export class VideoDimensions { - constructor(w:number, h:number) { + constructor(w : number, h : number) { this.width = w; this.height = h; } diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index 19282114c9c..292d7fb4199 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -252,9 +252,9 @@ public frameRate:number = 15; public bitrate:number = 0; public minBitrate:number = -1; - public orientationMode:ORIENTATION_MODE = ORIENTATION_MODE.ORIENTATION_MODE_ADAPTIVE; - public degradationPrefer:DEGRADATION_PREFERENCE = DEGRADATION_PREFERENCE.MAINTAIN_QUALITY; - public mirrorMode:MIRROR_MODE_TYPE = MIRROR_MODE_TYPE.MIRROR_MODE_DISABLED; + public orientationMode:OrientationMode = OrientationMode.ORIENTATION_MODE_ADAPTIVE; + public degradationPrefer:DegradationPreference = DegradationPreference.MAINTAIN_QUALITY; + public mirrorMode:MirrorModeType = MirrorModeType.MIRROR_MODE_DISABLED; public advanceOptions:AdvanceOptions = new AdvanceOptions(); constructor() {} } diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 532c2bf96b8..8e99466cbf3 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -243,14 +243,20 @@ } export class VideoFrame { public buffer:ArrayBuffer | null = null; + public yBuffer: ArrayBuffer | null = null; + public uBuffer: ArrayBuffer | null = null; + public vBuffer: ArrayBuffer | null = null; public rotation:number = 0; public timestamp:number = 0; public stride:number = 0; + public uStride:number = 0; + public vStride:number = 0; + public width:number = 0; public height:number = 0; - public type:VIDEO_BUFFER_TYPE = VIDEO_BUFFER_TYPE.VIDEO_BUFFER_RAW_DATA; - public format:VIDEO_PIXEL_FORMAT = VIDEO_PIXEL_FORMAT.VIDEO_PIXEL_NV21; + public type:VideoBufferType = VideoBufferType.VIDEO_BUFFER_RAW_DATA; + public format:VideoPixelFormat = VideoPixelFormat.VIDEO_PIXEL_NV21; public faceInfo:Array<FaceDetectionInfo> | undefined = undefined; - constructor(type:VIDEO_BUFFER_TYPE,format:VIDEO_PIXEL_FORMAT) { + constructor(type:VideoBufferType,format:VideoPixelFormat) { this.type = type; this.format = format; } diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index 7812f76ee89..2a797f32b78 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -36,13 +36,13 @@ export class VirtualBackgroundSource { - public backgroundSourceType: Constants.VirtualBackgroundType = Constants.VirtualBackgroundType.BACKGROUND_COLOR; + public backgroundSourceType: Constants.VirtualBackgroundType = Constants.VirtualBackgroundType.COLOR; public color:number = 0xffffff; public source:string | null = null; - public blurDegree:Constants.VirtualBackgroundBlurDegree = Constants.VirtualBackgroundBlurDegree.BLUR_DEGREE_HIGH; + public blurDegree:Constants.VirtualBackgroundBlurDegree = Constants.VirtualBackgroundBlurDegree.HIGH; } __attribute__((visibility("default"))) @interface AgoraVirtualBackgroundSource : NSObject @property(nonatomic, assign) AgoraVirtualBackgroundSourceType backgroundSourceType NS_SWIFT_NAME(backgroundSourceType); From 254ae59029dc4e1ab3e3670a01be7bc008a9e344 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 25 Jun 2024 14:49:59 +0800 Subject: [PATCH 044/146] update scenario --- dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index cf23b8845ed..a428669ee52 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -33,7 +33,7 @@

    适用场景 -

    +

    主要适用于泛娱乐如在线 K 歌、在线播客、秀场等对音质、音准有较高要求的场景,支持音质美化、音色风格化调整。

    调用时机 From ef47fdfe43b2c1f07f0e2a24be58696be27de761 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 25 Jun 2024 15:31:56 +0800 Subject: [PATCH 045/146] update voiceaitunertype --- dita/RTC-NG/API/enum_voiceaitunertype.dita | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dita/RTC-NG/API/enum_voiceaitunertype.dita b/dita/RTC-NG/API/enum_voiceaitunertype.dita index f3c97fb32cb..491c0850cfa 100644 --- a/dita/RTC-NG/API/enum_voiceaitunertype.dita +++ b/dita/RTC-NG/API/enum_voiceaitunertype.dita @@ -17,43 +17,43 @@ - 0:大叔音。低沉而有磁性的男声,适合成熟稳重的表达。 + 0:大叔音。低沉而有磁性的男声,适用于普通语聊场景。 - 1:清新男音。清新而略带甜美的男声,适合轻松愉快的场景。 + 1:清新男音。清新而略带甜美的男声,适用于普通语聊场景。 - 2:御姐音。深沉而富有魅力的女声,适合权威而自信的语调。 + 2:御姐音。深沉而富有魅力的女声,适用于普通语聊场景。 - 3:萝莉音。高亢而可爱的女声,适合活泼可爱的内容。 + 3:萝莉音。高亢而可爱的女声,适用于普通语聊场景。 - 4:暖男b温暖而悠扬的男声,适合男声抒情歌曲。 + 4:暖男b温暖而悠扬的男声,适用于 K 歌场景。 - 5:温柔女歌声。柔和而细腻的女声,适合女声抒情歌曲。 + 5:温柔女歌声。柔和而细腻的女声,适用于 K 歌场景。 - 6:烟嗓叔音歌声。独特的沙哑男声,适合女声摇滚或蓝调歌曲。 + 6:烟嗓叔音歌声。独特的沙哑男声,适用于 K 歌场景。 - 7:温暖御姐歌声。温暖而成熟的女声,适合女声温情感染力强的歌曲。 + 7:温暖御姐歌声。温暖而成熟的女声,适用于 K 歌场景。 - 8:力量男歌声。强劲而有力的男声,适合激昂的歌曲。 + 8:力量男歌声。强劲而有力的男声,适用于 K 歌场景。 - 9:梦幻女歌声。梦幻而柔美的女声,适合空灵梦境般的歌曲。 + 9:梦幻女歌声。梦幻而柔美的女声,适用于 K 歌场景。
    From 9dc8313a0606e360bf5f6056c95774be738dcefc Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:54:29 +0800 Subject: [PATCH 046/146] sync with latest prototype --- dita/RTC-NG/API/rtc_api_overview.dita | 10 +++++----- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 10 +++++----- .../config/keys-rtc-ng-api-harmony.ditamap | 18 ++++++------------ .../RTC-NG/config/relations-rtc-ng-api.ditamap | 2 +- 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 057d7d545ed..e06396db4d4 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -1171,7 +1171,7 @@ - + @@ -1444,7 +1444,7 @@ - + @@ -1953,7 +1953,7 @@ - + @@ -2725,7 +2725,7 @@ - + @@ -2789,7 +2789,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap index 20699ea9f9e..55323c83f0b 100644 --- a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -358,7 +358,7 @@ - + @@ -427,7 +427,7 @@ - + @@ -598,7 +598,7 @@ - + @@ -700,7 +700,7 @@ - + @@ -730,7 +730,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index bdefb6eb937..2da9439fc3a 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -1392,7 +1392,7 @@ - + setupRemoteVideoEx @@ -1707,13 +1707,7 @@ - - - - playEffect [1/2] - - - + @@ -3559,7 +3553,7 @@ - + getNativeHandle @@ -3858,7 +3852,7 @@ - + onVideoPublishStateChanged @@ -4151,7 +4145,7 @@ - + onEncryptionError @@ -4174,7 +4168,7 @@ - + onTranscodingUpdated diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 480976efee7..dee17f81bd4 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2283,7 +2283,7 @@ - + From 66209200b912994e436e17578cada24232fddb10 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 25 Jun 2024 17:20:04 +0800 Subject: [PATCH 047/146] Revert "release SpeechDriven in CN" This reverts commit 4fcbb12fe6ba013718058d5d16d1064013f8657a. --- dita/RTC-NG/API/class_channelmediaoptions.dita | 14 +------------- dita/RTC-NG/API/rtc_api_overview.dita | 6 +++--- dita/RTC-NG/RTC_NG_API_Android.ditamap | 4 ++-- dita/RTC-NG/RTC_NG_API_CPP.ditamap | 4 ++-- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 4 ++-- dita/RTC-NG/RTC_NG_API_macOS.ditamap | 4 ++-- dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 6 +++--- dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 6 +++--- dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap | 6 +++--- dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 6 +++--- 10 files changed, 24 insertions(+), 36 deletions(-) diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index b09ee3d6969..ef2c03d3f44 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -21,7 +21,6 @@ public Boolean publishMediaPlayerAudioTrack; public Boolean publishMediaPlayerVideoTrack; public Boolean publishTranscodedVideoTrack; - public Boolean publishLipSyncTrack; public Boolean autoSubscribeAudio; public Boolean autoSubscribeVideo; public Boolean enableAudioRecordingOrPlayout; @@ -61,7 +60,6 @@ @property(assign, nonatomic) BOOL publishMediaPlayerAudioTrack; @property(assign, nonatomic) BOOL publishMediaPlayerVideoTrack; @property(assign, nonatomic) BOOL publishTranscodedVideoTrack; -@property(assign, nonatomic) BOOL publishLipSyncTrack; @property(assign, nonatomic) BOOL autoSubscribeAudio; @property(assign, nonatomic) BOOL autoSubscribeVideo; @property(assign, nonatomic) BOOL enableAudioRecordingOrPlayout; @@ -105,7 +103,6 @@ Optional<bool> publishMediaPlayerAudioTrack; Optional<bool> publishMediaPlayerVideoTrack; Optional<bool> publishTranscodedVideoTrack; - Optional<bool> publishLipSyncTrack; Optional<bool> autoSubscribeAudio; Optional<bool> autoSubscribeVideo; Optional<bool> enableAudioRecordingOrPlayout; @@ -284,8 +281,6 @@ struct FChannelMediaOptions publishTranscodedVideoTrack?: boolean; - publishLipSyncTrack?: boolean; - autoSubscribeAudio?: boolean; autoSubscribeVideo?: boolean; @@ -334,7 +329,6 @@ struct FChannelMediaOptions public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); - public Optional<bool> publishLipSyncTrack = new Optional<bool>(); public Optional<bool> autoSubscribeAudio = new Optional<bool>(); public Optional<bool> autoSubscribeVideo = new Optional<bool>(); public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); @@ -388,8 +382,6 @@ struct FChannelMediaOptions publishTranscodedVideoTrack?: boolean; - publishLipSyncTrack?: boolean; - autoSubscribeAudio?: boolean; autoSubscribeVideo?: boolean; @@ -439,7 +431,6 @@ class ChannelMediaOptions { this.publishMediaPlayerAudioTrack, this.publishMediaPlayerVideoTrack, this.publishTranscodedVideoTrack, - this.publishLipSyncTrack, this.autoSubscribeAudio, this.autoSubscribeVideo, this.enableAudioRecordingOrPlayout, @@ -511,9 +502,6 @@ class ChannelMediaOptions { @JsonKey(name: 'publishTranscodedVideoTrack') final bool? publishTranscodedVideoTrack; - @JsonKey(name: 'publishLipSyncTrack') - final bool? publishLipSyncTrack; - @JsonKey(name: 'autoSubscribeAudio') final bool? autoSubscribeAudio; @@ -711,7 +699,7 @@ class ChannelMediaOptions { - + publishLipSyncTrack 设置是否发布语音驱动插件处理后的视频:
      diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 9090b2e1312..98966680cc9 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -1065,15 +1065,15 @@ - + - + - + diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 8cb3bbad0ee..5faa2fe84e8 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -25,7 +25,7 @@ - + @@ -312,7 +312,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index e9669a8b0fd..d28013edb8b 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -25,7 +25,7 @@ - + @@ -322,7 +322,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index fcfb8fc5a54..76c084c0a63 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -25,7 +25,7 @@ - + @@ -319,7 +319,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index c98c7211b1c..e6fa59c1e12 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -24,7 +24,7 @@ - + @@ -313,7 +313,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 7bb9e08c105..8085afed9be 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -216,7 +216,7 @@ - + IFaceInfoObserver @@ -1295,7 +1295,7 @@ - + registerFaceInfoObserver @@ -5123,7 +5123,7 @@ - + onFaceInfo diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 67125d0402a..b525b16e704 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -202,7 +202,7 @@ - + AgoraFaceInfoDelegate @@ -1258,7 +1258,7 @@ - + setFaceInfoDelegate @@ -4574,7 +4574,7 @@ - + onFaceInfo diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index ff3de5e3c5a..bbfcee52377 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -173,7 +173,7 @@ - + IFaceInfoObserver @@ -1250,7 +1250,7 @@ - + registerFaceInfoObserver @@ -4750,7 +4750,7 @@ - + onFaceInfo diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index b16be530c7d..b16d59f42e8 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -173,7 +173,7 @@ - + AgoraFaceInfoDelegate @@ -1208,7 +1208,7 @@ - + setFaceInfoDelegate @@ -4286,7 +4286,7 @@ - + onFaceInfo From db29992669315d5986502dbd7cc38533c559816b Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 25 Jun 2024 17:52:37 +0800 Subject: [PATCH 048/146] remove scenario --- dita/RTC-NG/API/enum_voiceaitunertype.dita | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dita/RTC-NG/API/enum_voiceaitunertype.dita b/dita/RTC-NG/API/enum_voiceaitunertype.dita index 491c0850cfa..e04744bc955 100644 --- a/dita/RTC-NG/API/enum_voiceaitunertype.dita +++ b/dita/RTC-NG/API/enum_voiceaitunertype.dita @@ -17,43 +17,43 @@ - 0:大叔音。低沉而有磁性的男声,适用于普通语聊场景。 + 0:大叔音。低沉而有磁性的男声。 - 1:清新男音。清新而略带甜美的男声,适用于普通语聊场景。 + 1:清新男音。清新而略带甜美的男声。 - 2:御姐音。深沉而富有魅力的女声,适用于普通语聊场景。 + 2:御姐音。深沉而富有魅力的女声。 - 3:萝莉音。高亢而可爱的女声,适用于普通语聊场景。 + 3:萝莉音。高亢而可爱的女声。 - 4:暖男b温暖而悠扬的男声,适用于 K 歌场景。 + 4:暖男b温暖而悠扬的男声。 - 5:温柔女歌声。柔和而细腻的女声,适用于 K 歌场景。 + 5:温柔女歌声。柔和而细腻的女声。 - 6:烟嗓叔音歌声。独特的沙哑男声,适用于 K 歌场景。 + 6:烟嗓叔音歌声。独特的沙哑男声。 - 7:温暖御姐歌声。温暖而成熟的女声,适用于 K 歌场景。 + 7:温暖御姐歌声。温暖而成熟的女声。 - 8:力量男歌声。强劲而有力的男声,适用于 K 歌场景。 + 8:力量男歌声。强劲而有力的男声。 - 9:梦幻女歌声。梦幻而柔美的女声,适用于 K 歌场景。 + 9:梦幻女歌声。梦幻而柔美的女声。
    From d96cec8cd0945cd2da94f71507ae748f5bf00d71 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 26 Jun 2024 10:24:33 +0800 Subject: [PATCH 049/146] delete redundant --- .../api_irtcengine_setdefaultmuteallremoteaudiostreams.dita | 0 .../api_irtcengine_setdefaultmuteallremotevideostreams.dita | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename dita/RTC-NG/{API => archive}/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setdefaultmuteallremotevideostreams.dita (100%) diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita b/dita/RTC-NG/archive/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita rename to dita/RTC-NG/archive/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita b/dita/RTC-NG/archive/api_irtcengine_setdefaultmuteallremotevideostreams.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita rename to dita/RTC-NG/archive/api_irtcengine_setdefaultmuteallremotevideostreams.dita From 613e7498305194f03b297f40310782c2abfe6bc9 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:23:14 +0800 Subject: [PATCH 050/146] fix publish errors --- dita/RTC-NG/API/api_irtcengine_create.dita | 4 +- .../API/api_irtcengine_joinchannel2.dita | 2 +- .../api_irtcengine_startscreencapture.dita | 2 +- dita/RTC-NG/API/class_livetranscoding.dita | 2 +- dita/RTC-NG/API/class_videocanvas.dita | 2 +- dita/RTC-NG/API/enum_qualitytype.dita | 2 +- dita/RTC-NG/API/rtc_api_data_type.dita | 37 ++++--------- dita/RTC-NG/RTC_NG_API_Harmony.ditamap | 4 +- .../config/keys-rtc-ng-api-harmony.ditamap | 52 +++++-------------- .../config/keys-rtc-ng-links-harmony.ditamap | 2 +- .../config/relations-rtc-ng-api.ditamap | 10 ++-- 11 files changed, 36 insertions(+), 83 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_create.dita b/dita/RTC-NG/API/api_irtcengine_create.dita index 3006752ddf3..a1cb74bec5f 100644 --- a/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/dita/RTC-NG/API/api_irtcengine_create.dita @@ -38,13 +38,13 @@
    • 请确保在调用其他 API 前先调用该方法创建并初始化
    • -
    • 调用该方法和 均能创建 实例。该方法与 的区别在于, 支持在创建 实例时进行更多配置,如指定访问区域、设置日志文件等。
    • +
    • 调用该方法和 均能创建 实例。该方法与 的区别在于, 支持在创建 实例时进行更多配置,如指定访问区域、设置日志文件等。
    • SDK 只支持每个 App 创建一个 实例。
    参数 - + context diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index 44d1e0d05a0..5f2fe188057 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -113,7 +113,7 @@
  • -2:传入的参数无效。例如,使用了不合法的 Token,uid 参数未设置为整型, 结构体成员值不合法。你需要填入有效的参数,重新加入频道。
  • -3: 对象初始化失败。你需要重新初始化 对象。
  • -7: 对象尚未初始化。你需要在调用该方法前成功初始化 对象。
  • -
  • -8: 对象内部状态错误。可能的原因是:调用 开始通话回路测试后,未调用 停止测试就调用该方法加入频道。你需要在该方法前调用
  • +
  • -8: 对象内部状态错误。可能的原因是:调用 开始通话回路测试后,未调用 停止测试就调用该方法加入频道。你需要在该方法前调用
  • -17:加入频道被拒绝。可能的原因是用户已经在频道中。建议通过 回调判断用户是否在频道中。除收到 (1) 状态外,不要再次调用该方法加入频道。
  • -102:频道名无效。你需要在 channelId 中填入有效的频道名,重新加入频道。
  • -121:用户 ID 无效。你需要在 uid 中填入有效的用户 ID,重新加入频道。
  • diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index aeb955ac4d8..29687f0713c 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -74,7 +74,7 @@ parameters screenCaptureParameters captureParams - 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2,073,600 像素。该像素值为计费标准。详见 + 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2,073,600 像素。该像素值为计费标准。详见
    diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index 04a37f25764..a86ba514955 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -871,7 +871,7 @@ struct FLiveTranscoding 开启的高级功能数量。默认值为 0。
    -
    +
    方法 diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 57897ccc244..708db7659eb 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -320,7 +320,7 @@ class VideoCanvas {
  • (2): 删除一个视图。
  • - + mediaPlayerId 媒体播放器 ID。可通过 获取。 sourceType 时,此参数为必填项。 diff --git a/dita/RTC-NG/API/enum_qualitytype.dita b/dita/RTC-NG/API/enum_qualitytype.dita index 83e1d259f48..a63c2528926 100644 --- a/dita/RTC-NG/API/enum_qualitytype.dita +++ b/dita/RTC-NG/API/enum_qualitytype.dita @@ -39,7 +39,7 @@ 7: 暂时无法检测网络质量(未使用)。 - + 8: 网络质量检测已开始还没完成。 diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 2d848d24028..d43be35e1e1 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -329,7 +329,7 @@
  • -
  • +
  • @@ -371,29 +371,10 @@
  • +
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
    • @@ -1349,7 +1330,7 @@
    • -
    • +
    • @@ -1358,7 +1339,7 @@
    • -
    • +
    • @@ -1367,8 +1348,8 @@
    • -
    • -
    • +
    • +
    • @@ -1376,16 +1357,16 @@
    • -
    • +
    • -
    • +
    • -
    • +
    diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap index 55323c83f0b..89121d8e9b9 100644 --- a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -20,9 +20,9 @@ - + - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap index 2da9439fc3a..941946da7f6 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -110,7 +110,7 @@ - + IMediaPlayerAudioFrameObserver @@ -180,7 +180,7 @@ - + IAudioSpectrumObserver @@ -194,7 +194,7 @@ - + ILocalSpatialAudioEngine @@ -235,7 +235,7 @@ - create + createEngine @@ -4861,7 +4861,7 @@ - + LocalSpatialAudioConfig @@ -5078,7 +5078,7 @@ - + SpatialAudioParams @@ -5316,7 +5316,7 @@ - + VideoRenderingTracingInfo @@ -5748,7 +5748,7 @@ - COMPRESSION_PREFERENCE + CompressionPrefence @@ -5853,7 +5853,7 @@ - ENCODING_PREFERENCE + DegradationPreference @@ -6039,13 +6039,6 @@ - - - - BAND_FREQUENCY - - - @@ -6207,13 +6200,6 @@ - - - - AudioMixingDualMonoMode - - - @@ -6333,7 +6319,7 @@ - + AgoraAudioProcessChannels @@ -7082,7 +7068,7 @@ - + CAMERA_FOCAL_LENGTH_TYPE @@ -7540,7 +7526,7 @@ - DEGRADATION_PREFERENCE + DegradationPreference @@ -10898,13 +10884,6 @@ - - - - VIDEO_FRAME_PROCESS_MODE - - - @@ -11059,13 +11038,6 @@ - - - - DEFAULT - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap index 86ab65e0e6d..0aaeb225c3e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap @@ -40,7 +40,7 @@ - + 错误码 diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index dee17f81bd4..f4e34a97a88 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -3000,7 +3000,7 @@ - + @@ -3033,14 +3033,14 @@ - + - + - + - + From 5981a1d9730ff51285531eee96f55aba67c5ac70 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:18:38 +0800 Subject: [PATCH 051/146] 1 --- dita/RTC-NG/API/class_rtcengineconfig.dita | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index a0cc16e4577..8050d83704f 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -207,7 +207,8 @@ class RtcEngineContext {
  • Windows 平台上,context 是视窗句柄。如设值,则表示支持设备热插拔。
  • Android 平台上,context 是安卓活动上下文。
  • -

    安卓活动上下文。

    +

    安卓活动上下文。

    +

    上下文。

    From 7d942b97dd8048bda843e8bc41e7b5308a577a56 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 14:41:06 +0800 Subject: [PATCH 052/146] + --- ...ediaengine_registeraudioframeobserver.dita | 2 +- ...tcengine_setmixedaudioframeparameters.dita | 4 +-- ...ybackaudioframebeforemixingparameters.dita | 32 +++++++++---------- ...ngine_setplaybackaudioframeparameters.dita | 4 +-- ...gine_setrecordingaudioframeparameters.dita | 4 +-- 5 files changed, 22 insertions(+), 24 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index f0a0a9b2d50..ffb03bb1ef0 100644 --- a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -23,7 +23,7 @@

    -

    该方法用于注册音频观测器对象,即注册回调。当需要 SDK 触发 等回调时,需要使用该方法注册回调。

    +

    该方法用于注册音频观测器对象,即注册回调。当需要 SDK 触发 等回调时,需要调用该方法注册回调。

    调用时机 diff --git a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index 07d99b6ce14..5889f28dcbe 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -38,7 +38,7 @@

    -

    SDK 会根据该采样间隔触发 回调。

    +

    SDK 会根据该采样间隔触发 回调。

    调用时机 @@ -50,7 +50,7 @@
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index 47a5e509467..c4551a4bcb3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -2,7 +2,7 @@ <ph keyref="setPlaybackAudioFrameBeforeMixingParameters" /> - 设置 报告的音频数据格式。 + 设置混音前的原始音频播放数据格式。 @@ -33,30 +33,28 @@

    -
    - -
    自从
    -
    v
    -
    -
    -

    +

    SDK 会根据该采样间隔触发 回调。

    调用时机 -

    -

    +

    该方法需要在加入频道前调用。

    +
    调用限制 -

    +

    无。

    参数 - + + + + + @@ -64,9 +62,9 @@
    <ph keyref="return-section-title"/>

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

    -
      -
    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • -
    +
      +
    • 0: 方法调用成功。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index 1e1ec27b769..1fff669dac9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -47,7 +47,7 @@

    -

    SDK 会根据该采样间隔触发 回调。

    +

    SDK 会根据该采样间隔触发 回调。

    调用时机 @@ -59,7 +59,7 @@
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index f4035fb3da0..fa8b5e58511 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -46,7 +46,7 @@

    -

    SDK 会通过该方法中的 samplesPerCallsampleRatechannel 参数计算出采样间隔,计算公式为采样间隔 = samplesPerCall/(sampleRate × channel)。请确保采样间隔不小于 0.01 秒。SDK 会根据该采样间隔触发 回调。

    +

    SDK 会通过该方法中的 samplesPerCallsampleRatechannel 参数计算出采样间隔,计算公式为采样间隔 = samplesPerCall/(sampleRate × channel)。请确保采样间隔不小于 0.01 秒。SDK 会根据该采样间隔触发 回调。

    调用时机 @@ -58,7 +58,7 @@
    参数 From 1a6d368cba6951dfdb8a824f43d6656c8a4ebf8e Mon Sep 17 00:00:00 2001 From: Suri539 Date: Thu, 20 Jun 2024 17:51:13 +0800 Subject: [PATCH 053/146] 440 --- .../API/api_imusiccontentcenter_destroy.dita | 8 +-- ...musiccontentcenter_destroymusicplayer.dita | 66 ++++++++++++++++++ .../API/api_imusiccontentcenter_getlyric.dita | 2 +- .../API/api_imusicplayer_setplaymode.dita | 67 +++++++++++++++++++ dita/RTC-NG/API/class_music.dita | 8 +-- dita/RTC-NG/API/enum_musicplaymode.dita | 32 +++++++++ dita/RTC-NG/API/rtc_api_data_type.dita | 1 + dita/RTC-NG/API/rtc_api_overview.dita | 8 +++ dita/RTC-NG/RTC_NG_API_CPP.ditamap | 2 + dita/RTC-NG/config/enum_musicplaymode.dita | 32 +++++++++ .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 42 ++++++++++++ .../config/relations-rtc-ng-api.ditamap | 2 + 12 files changed, 261 insertions(+), 9 deletions(-) create mode 100644 dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita create mode 100644 dita/RTC-NG/API/api_imusicplayer_setplaymode.dita create mode 100644 dita/RTC-NG/API/enum_musicplaymode.dita create mode 100644 dita/RTC-NG/config/enum_musicplaymode.dita diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita index 5b1158ff536..727bb296f31 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -29,10 +29,10 @@
    详情 -
    - -
    自从
    -
    v4.1.0
    +
    + +
    弃用:
    +
    该方法自 v4.4.0 起废弃,请改用

    该方法需要在 方法前调用。

    diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita new file mode 100644 index 00000000000..6a63fd5233e --- /dev/null +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita @@ -0,0 +1,66 @@ + + + + <ph keyref="destroyMusicPlayer"/> + 销毁音乐播放器对象。 + + + + + + + + +
    +

    + public abstract int destroyMusicPlayer(IAgoraMusicPlayer player); + - (NSInteger)destroyMusicPlayer:(id<AgoraMusicPlayerProtocol>)musicPlayer; + virtual int destroyMusicPlayer(agora_refptr<IMusicPlayer> music_player) = 0; + + + + +

    +
    +
    +
    + +
    自从
    +
    v4.4.0
    +
    +
    +

    当你不需要再使用音乐播放器时,你可以调用该方法来销毁音乐播放器对象。销毁之后如果需要重新使用音乐播放器,需要调用 重新创建一个音乐播放器对象。 + 以前如果要销毁的话,只能通过销毁 rtc engine 吗?android destroy 销毁的是 mcc 实例,对于 oc 和 windows,之前好像没有对应的方法。

    +
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

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

    +
    +
    + 调用限制 +

    无。

    +
    +
    + 参数 + + + player + musicPlayer + music_player + 对象。 + 指向 对象的指针。 + +
    +
    + <ph keyref="return-section-title"/> +

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

    +
      +
    • 0: 方法调用成功。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    +
    +
    diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita b/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita index 3759c92866e..7488c969d3a 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita @@ -40,7 +40,7 @@ - LyricType + lyricType 歌词类型:
      diff --git a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita new file mode 100644 index 00000000000..3b262e65930 --- /dev/null +++ b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita @@ -0,0 +1,67 @@ + + + + <ph keyref="setPlayMode"/> + 设置版权音乐播放时的音频轨道。 + + + + + + + + +
      +

      + int setPlayMode(MusicPlayMode mode); + - (NSInteger)setPlayMode:(AgoraMusicPlayMode)mode NS_SWIFT_NAME(setPlayMode(mode:)); + virtual int setPlayMode(MusicPlayMode mode) = 0; + + + + +

      +
      +
      +
      + +
      自从
      +
      v4.4.0
      +
      +
      +

      你可以调用该方法来设置某一音乐资源播放时的音轨,包括原唱、伴奏、导唱。如不调用该方法进行设置,则默认播放伴奏。(如果没有伴奏默认播放啥) + 如果使用的版权音乐,是通过 music 这个结构体里面的 type 参数来判断支持什么音乐资源吗? + 你可以通过 中的 type 参数来得知需播放的版权音乐支持的音轨类型。 +

      +
      +
      + 适用场景 +

      +

      +
      + 调用时机 +

      该方法需要在 之后调用。

      +
      +
      + 调用限制 +

      无,

      +
      +
      + 参数 + + + mode + 需播放的音轨类型,详见 + +
      +
      + <ph keyref="return-section-title"/> +

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

      +
        +
      • 0: 方法调用成功。
      • +
      • < 0: 方法调用失败。详见了解详情和解决建议。 +
          +
        • -2: 参数设置错误,请重新设置参数。
        • +
      +
      +
      diff --git a/dita/RTC-NG/API/class_music.dita b/dita/RTC-NG/API/class_music.dita index 63456ff3971..30ae8df69a4 100644 --- a/dita/RTC-NG/API/class_music.dita +++ b/dita/RTC-NG/API/class_music.dita @@ -249,10 +249,10 @@ type 音乐资源类型:
        -
      • 1:左声道伴奏,右声道原唱的单音轨纯音频音源。
      • -
      • 2:只有伴唱的单音轨纯音频音源。
      • -
      • 3:只有原唱的单音轨纯音频音源。
      • -
      • 4:多音轨的纯音频音源。
      • +
      • 1:左声道伴奏,右声道原唱的单音轨音源。
      • +
      • 2:只有伴唱的单音轨音源。
      • +
      • 3:只有原唱的单音轨音源。
      • +
      • 4:多音轨音源。
      diff --git a/dita/RTC-NG/API/enum_musicplaymode.dita b/dita/RTC-NG/API/enum_musicplaymode.dita new file mode 100644 index 00000000000..36eb16183c2 --- /dev/null +++ b/dita/RTC-NG/API/enum_musicplaymode.dita @@ -0,0 +1,32 @@ + + + + <ph keyref="MusicPlayMode"/> + 需要播放的音轨类型。 + +
      +
      + +
      自从
      +
      v4.4.0
      +
      +
      +
      +
      + 枚举值 + + + + 0:原唱。 + + + + 1:伴唱。 + + + + 导唱。 + + +
      +
      diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 32b96fbbd09..d203373b6bc 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -1123,6 +1123,7 @@
    • +
    • diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 95c3edca7f1..00647f0c3f4 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -1666,6 +1666,10 @@ + + + + @@ -1730,6 +1734,10 @@ + + + + diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index 46cbeacd560..c24cca6714d 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -541,6 +541,7 @@ + @@ -562,6 +563,7 @@ + diff --git a/dita/RTC-NG/config/enum_musicplaymode.dita b/dita/RTC-NG/config/enum_musicplaymode.dita new file mode 100644 index 00000000000..36eb16183c2 --- /dev/null +++ b/dita/RTC-NG/config/enum_musicplaymode.dita @@ -0,0 +1,32 @@ + + + + <ph keyref="MusicPlayMode"/> + 需要播放的音轨类型。 + +
      +
      + +
      自从
      +
      v4.4.0
      +
      +
      +
      +
      + 枚举值 + + + + 0:原唱。 + + + + 1:伴唱。 + + + + 导唱。 + + +
      +
      diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 797b595a3e5..cda560be2c6 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -3817,6 +3817,13 @@ + + + + destroyMusicPlayer + + + @@ -3845,6 +3852,13 @@ + + + + setPlayMode + + + @@ -10294,6 +10308,34 @@ + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 8114cd264c3..ad99404018b 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -3192,6 +3192,7 @@ + @@ -3203,6 +3204,7 @@ + From 7e79d8fd4e349acdeeb0b79f5ca7bb6ce9ac93f2 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 26 Jun 2024 16:42:52 +0800 Subject: [PATCH 054/146] resolve comments --- .../API/api_imusiccontentcenter_destroy.dita | 8 +-- ...musiccontentcenter_destroymusicplayer.dita | 11 +-- dita/RTC-NG/API/api_imusicplayer_destroy.dita | 14 ++-- .../API/api_imusicplayer_setplaymode.dita | 16 ++--- .../API/api_irtcengine_setaudioscenario.dita | 4 +- ..._imetadataobserver_onmetadatareceived.dita | 23 ++---- dita/RTC-NG/API/class_metadata.dita | 71 ++++++++++++++----- dita/RTC-NG/API/enum_audioscenariotype.dita | 2 +- dita/RTC-NG/API/enum_musicplaymode.dita | 4 +- dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 + .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 2 +- .../config/keys-rtc-ng-api-java.ditamap | 9 ++- .../config/keys-rtc-ng-api-macos.ditamap | 2 +- .../config/relations-rtc-ng-api.ditamap | 3 +- 14 files changed, 94 insertions(+), 76 deletions(-) diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita index 727bb296f31..6926c01ac84 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -24,17 +24,11 @@ - +

    详情 -
    - -
    弃用:
    -
    该方法自 v4.4.0 起废弃,请改用
    -
    -

    该方法需要在 方法前调用。

    diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita index 6a63fd5233e..cdc6e0179f7 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita @@ -29,17 +29,12 @@
    v4.4.0
    -

    当你不需要再使用音乐播放器时,你可以调用该方法来销毁音乐播放器对象。销毁之后如果需要重新使用音乐播放器,需要调用 重新创建一个音乐播放器对象。 - 以前如果要销毁的话,只能通过销毁 rtc engine 吗?android destroy 销毁的是 mcc 实例,对于 oc 和 windows,之前好像没有对应的方法。

    -
    -
    - 适用场景 -

    +

    当你不再需要使用音乐播放器时,你可以调用该方法来销毁音乐播放器对象。销毁之后如果需要重新使用音乐播放器,需要调用 重新创建一个音乐播放器对象。

    调用时机 -

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

    -
    +

    该方法在加入频道前后均可调用,但请确保在 方法前调用。

    +
    调用限制

    无。

    diff --git a/dita/RTC-NG/API/api_imusicplayer_destroy.dita b/dita/RTC-NG/API/api_imusicplayer_destroy.dita index 795d1eea5d9..2c7d06055fa 100644 --- a/dita/RTC-NG/API/api_imusicplayer_destroy.dita +++ b/dita/RTC-NG/API/api_imusicplayer_destroy.dita @@ -19,17 +19,17 @@ - +

    详情 -
    - -
    自从
    -
    v4.1.0
    -
    -
    +
    + +
    弃用:
    +
    该方法自 v4.4.0 起废弃,请改用
    +
    +
    返回值 diff --git a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita index 3b262e65930..cc2bbe3942d 100644 --- a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita +++ b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita @@ -2,7 +2,7 @@ <ph keyref="setPlayMode"/> - 设置版权音乐播放时的音频轨道。 + 设置音乐资源的播放模式。 @@ -29,29 +29,27 @@
    v4.4.0
    -

    你可以调用该方法来设置某一音乐资源播放时的音轨,包括原唱、伴奏、导唱。如不调用该方法进行设置,则默认播放伴奏。(如果没有伴奏默认播放啥) - 如果使用的版权音乐,是通过 music 这个结构体里面的 type 参数来判断支持什么音乐资源吗? - 你可以通过 中的 type 参数来得知需播放的版权音乐支持的音轨类型。 -

    +

    你可以调用该方法来设置启用原唱、伴奏或导唱。如不调用该方法进行设置,则默认播放伴奏;如果音乐资源没有伴奏,则播放原唱。

    + 你可以通过 中的 type 参数来得知需播放的版权音乐支持的播放类型。
    适用场景 -

    +

    推荐在线 K 歌场景下,如果你需要播放声网内容中心提供的版权音乐,你可以调用该方法来设置播放模式。

    调用时机

    该方法需要在 之后调用。

    -
    +
    调用限制 -

    无,

    +

    无。

    参数 mode - 需播放的音轨类型,详见 + 播放模式,详见
    diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita index 1117a0d6a77..787500b7bcc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -34,7 +34,7 @@
    调用时机

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

    -
    +
    参数 @@ -46,7 +46,7 @@
    • (0):(默认)自动场景,根据用户角色和音频路由自动匹配合适的音质。
    • (3): 高音质场景,适用于音乐为主的场景。
    • -
    • (5): 聊天室场景,适用于用户需要频繁上下麦的场景。该场景下,观众会收到申请麦克风权限的弹窗提示。
    • +
    • (5): 聊天室场景,适用于用户需要频繁上下麦的场景。
    • (7): 合唱场景。适用于网络条件良好,要求极低延时的实时合唱场景。
    • (8): 会议场景,适用于人声为主的多人会议。
    • diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index dfa3565f711..0036f7743d1 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -13,9 +13,8 @@

      - public abstract void onMetadataReceived(byte[] buffer, int uid, long timeStampMs); - - (void)receiveMetadata:(NSData * _Nonnull)data - fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp; + @CalledByNative public abstract void onMetadataReceived(AgoraMetadata metadata); + - (void)didMetadataReceived:(AgoraMetadata * _Nonnull)metadata NS_SWIFT_NAME(didMetadataReceived(_:)); virtual void onMetadataReceived(const Metadata &metadata) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnMetadataReceived, const FAgoraMetadata&, metadata); onMetadataReceived?(metadata: Metadata): void; @@ -30,24 +29,10 @@

      参数 - - buffer - data - 接收到的数据。 - - - uid - 用户 ID。 - - - timestampMs - timestamp - 时间戳。 - - + metadata 接收到的 metadata,详见
      - \ No newline at end of file + diff --git a/dita/RTC-NG/API/class_metadata.dita b/dita/RTC-NG/API/class_metadata.dita index 1350c810d6a..0b15aeb45d1 100644 --- a/dita/RTC-NG/API/class_metadata.dita +++ b/dita/RTC-NG/API/class_metadata.dita @@ -6,13 +6,40 @@

      - - + public class AgoraMetadata { + public String channelId; + public int uid; + public byte[] data; + public long timeStampMs; + + public AgoraMetadata() { + channelId = null; + uid = 0; + data = null; + timeStampMs = 0; + } + + @CalledByNative + public AgoraMetadata(String channelId, int uid, byte[] data, long timeStampMs) { + this.channelId = channelId; + this.uid = uid; + this.data = data; + this.timeStampMs = timeStampMs; + } +} + NS_SWIFT_NAME(AgoraMetadata) __attribute__((visibility("default"))) @interface AgoraMetadata : NSObject +@property (copy, nonatomic) NSString* _Nonnull channelId NS_SWIFT_NAME(channelId); +@property (assign, nonatomic) NSInteger uid NS_SWIFT_NAME(uid); +@property (strong, nonatomic) NSData* _Nonnull data NS_SWIFT_NAME(data); +@property (assign, nonatomic) NSTimeInterval timestamp NS_SWIFT_NAME(timestamp); +@end struct Metadata { + const char* channelId; unsigned int uid; unsigned int size; unsigned char *buffer; long long timeStampMs; + Metadata() : channelId(NULL), uid(0), size(0), buffer(NULL), timeStampMs(0) {} }; USTRUCT(BlueprintType) struct FAgoraMetadata @@ -49,23 +76,23 @@ struct FAgoraMetadata public long timeStampMs; }; export class Metadata { - + uid?: number; - + size?: number; - + buffer?: Uint8Array; - + timeStampMs?: number; } export class Metadata { - + uid?: number; - + size?: number; - + buffer?: Uint8Array; - + timeStampMs?: number; } class Metadata { @@ -89,6 +116,10 @@ struct FAgoraMetadata <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> + channelId + 频道名称。 + + uid

      用户 ID。 @@ -99,18 +130,24 @@ struct FAgoraMetadata

    - + size 接收到的或发送的 的缓存大小。 - - buffer + + buffer + data 接收到的或发送的 的缓存地址。 - - timeStampMs - 的时间戳,单位为毫秒。 + + data + 接收到的数据。 + + + timeStampMs + timestamp + 发送 的时间戳,单位为毫秒。
    - \ No newline at end of file + diff --git a/dita/RTC-NG/API/enum_audioscenariotype.dita b/dita/RTC-NG/API/enum_audioscenariotype.dita index 94bd2ec054d..965578f3cae 100644 --- a/dita/RTC-NG/API/enum_audioscenariotype.dita +++ b/dita/RTC-NG/API/enum_audioscenariotype.dita @@ -17,7 +17,7 @@ - 5: 聊天室场景,适用于用户需要频繁上下麦的场景。例如:教育场景。该场景下,观众会收到申请麦克风权限的弹窗提示。 + 5: 聊天室场景,适用于用户需要频繁上下麦的场景。例如:教育场景。 diff --git a/dita/RTC-NG/API/enum_musicplaymode.dita b/dita/RTC-NG/API/enum_musicplaymode.dita index 36eb16183c2..2c94ac9f5a6 100644 --- a/dita/RTC-NG/API/enum_musicplaymode.dita +++ b/dita/RTC-NG/API/enum_musicplaymode.dita @@ -2,7 +2,7 @@ <ph keyref="MusicPlayMode"/> - 需要播放的音轨类型。 + 音乐资源的播放模式。
    @@ -25,7 +25,7 @@ - 导唱。 + 2:导唱。
    diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 18b884c6817..faa1a8a3aef 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -532,6 +532,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 29c4be370f0..dc2d0b68824 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -4432,7 +4432,7 @@ - receiveMetadata + didMetadataReceived diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 26f7ff74c1f..72bad7e7f9c 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -3496,7 +3496,14 @@ - destroy + destroy [2/2] + + + + + + + destroy [1/2] diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 3a4c499035f..618a4a23bcb 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -4165,7 +4165,7 @@ - receiveMetadata + didMetadataReceived diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index ad99404018b..70c407095b0 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -3192,7 +3192,7 @@ - + @@ -3205,6 +3205,7 @@ + From 0208ac099f5df7a53bdb50b3ea1f3b26572cc8d4 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 14:57:36 +0800 Subject: [PATCH 055/146] media relay --- dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita | 4 +++- .../RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita | 4 +++- .../API/api_irtcengine_startorupdatechannelmediarelay.dita | 1 - dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita | 4 +++- .../API/api_irtcengineex_pauseallchannelmediarelayex.dita | 4 +++- .../API/api_irtcengineex_resumeallchannelmediarelayex.dita | 4 +++- .../api_irtcengineex_startorupdatechannelmediarelayex.dita | 1 - dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita | 4 +++- 8 files changed, 18 insertions(+), 8 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita index 5e460126489..e7b75180661 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita @@ -33,7 +33,9 @@

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

    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。 +
      • -5: 方法调用被拒绝。当前没有正在进行的跨频道媒体流转发。
      +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita index 6ab953309df..57d0af4c424 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita @@ -33,7 +33,9 @@

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

    • 0:方法调用成功。
    • -
    • < 0:方法调用失败。详见了解详情和解决建议。
    • +
    • < 0:方法调用失败。详见了解详情和解决建议。 +
      • -5: 方法调用被拒绝。当前没有暂停的跨频道媒体流转发。
      +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita index 89acb320053..4b99d257ade 100644 --- a/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -69,7 +69,6 @@
    • -1: 一般性的错误(未明确归类)。
    • -2: 参数无效。
    • -
    • -7: 方法调用被拒绝。可能因为 SDK 未初始化成功,或用户角色不是主播。
    • -8:内部状态错误。可能因为用户角色不是主播。
  • diff --git a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita index dc03cbe710e..d5e1f2eaf7f 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -35,7 +35,9 @@

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

    • 0:方法调用成功。
    • -
    • < 0:方法调用失败。详见了解详情和解决建议。
    • +
    • < 0:方法调用失败。详见了解详情和解决建议。 +
      • -5: 方法调用被拒绝。当前没有正在进行的跨频道媒体流转发。
      +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita index 1c41a5843b4..318c3752e01 100644 --- a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita @@ -41,7 +41,9 @@

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

    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。 +
      • -5: 方法调用被拒绝。当前没有正在进行的跨频道媒体流转发。
      +
    diff --git a/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita index e69629a826a..a96dcc763b2 100644 --- a/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita @@ -42,7 +42,9 @@

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

    • 0:方法调用成功。
    • -
    • < 0:方法调用失败。详见了解详情和解决建议。
    • +
    • < 0:方法调用失败。详见了解详情和解决建议。 +
      • -5: 方法调用被拒绝。当前没有暂停的跨频道媒体流转发。
      +
    diff --git a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita index 7669bbd4b89..f9b1dd3ff57 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita @@ -76,7 +76,6 @@
    • -1: 一般性的错误(未明确归类)。
    • -2: 参数无效。
    • -
    • -7: 方法调用被拒绝。可能因为 SDK 未初始化成功,或用户角色不是主播。
    • -8:内部状态错误。可能因为用户角色不是主播。
    diff --git a/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita index 7a9e49d1991..36ae579d3dd 100644 --- a/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita @@ -46,7 +46,9 @@

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

    • 0:方法调用成功。
    • -
    • < 0:方法调用失败。详见了解详情和解决建议。
    • +
    • < 0:方法调用失败。详见了解详情和解决建议。 +
      • -5: 方法调用被拒绝。当前没有正在进行的跨频道媒体流转发。
      +
    From 01344c09675ba3247013f3c42340b2ea10190fcc Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 16:50:26 +0800 Subject: [PATCH 056/146] 2 --- ...ngine_setremotedefaultvideostreamtype.dita | 6 +++ ...gine_setremotedefaultvideostreamtype2.dita | 43 ++++++++++++++++ ...gine_setremotesubscribefallbackoption.dita | 10 +++- ...ine_setremotesubscribefallbackoption2.dita | 39 ++++++++++++++ ...i_irtcengine_setremotevideostreamtype.dita | 6 +++ ..._irtcengine_setremotevideostreamtype2.dita | 47 +++++++++++++++++ ...tcengineex_setremotevideostreamtypeex.dita | 6 +++ ...cengineex_setremotevideostreamtypeex2.dita | 51 +++++++++++++++++++ dita/RTC-NG/API/rtc_api_data_type.dita | 4 +- dita/RTC-NG/RTC_NG_API_Android.ditamap | 4 ++ .../config/keys-rtc-ng-api-java.ditamap | 50 ++++++++++++++++-- 11 files changed, 259 insertions(+), 7 deletions(-) create mode 100644 dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita create mode 100644 dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita create mode 100644 dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita create mode 100644 dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index dce257a75e0..f26b474563a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -26,6 +26,12 @@
    详情 +
    + +
    弃用:
    +
    自 v4.4.0 废弃,请改用
    +
    +

    diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita new file mode 100644 index 00000000000..95443a2088d --- /dev/null +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita @@ -0,0 +1,43 @@ + + + + <ph keyref="setRemoteDefaultVideoStreamType2" /> + 设置默认订阅的视频流类型。 + + + + + + + + +

    +

    + public abstract int setRemoteDefaultVideoStreamType(Constants.VideoStreamType streamType); +

    +
    +
    + 详情 +

    +

    + +

      +
    • 该方法只能在加入频道前调用。SDK 不支持你在加入频道后修改默认订阅的视频流类型。
    • +
    • 如果你既调用了该方法,也调用了 ,则 SDK 以 中的设置为准。
    • +
    +
    + 参数 + + + + + +
    +
    + <ph keyref="return-section-title"/> +
      +
    • 0: 方法调用成功。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    + + \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index 824129303cc..96da4e5ae32 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -28,8 +28,14 @@
    详情 -

    网络不理想的环境下,实时通信音视频的质量会下降。你可以调用该方法并将 option 设置为 ,SDK 会在下行弱网且音视频质量严重受影响时,将视频流切换为小流或关闭视频流,从而保证音频质量。同时,SDK 会持续监控网络质量,并在网络质量改善时恢复订阅音视频流。

    -

    当订阅流回退为音频流或由音频流恢复为音视频流时,SDK 会触发 回调。

    +
    + +
    弃用:
    +
    自 v4.4.0 废弃,请改用
    +
    +
    +

    网络不理想的环境下,实时通信音视频的质量会下降。你可以调用该方法并将 option 设置为 ,SDK 会在下行弱网且音视频质量严重受影响时,将视频流切换为小流或关闭视频流,从而保证音频质量。同时,SDK 会持续监控网络质量,并在网络质量改善时恢复订阅音视频流。

    +

    当订阅流回退为音频流或由音频流恢复为音视频流时,SDK 会触发 回调。

    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita new file mode 100644 index 00000000000..748d5ecf2a3 --- /dev/null +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita @@ -0,0 +1,39 @@ + + + + <ph keyref="setRemoteSubscribeFallbackOption2" /> + 设置弱网环境下订阅的音视频流回退选项。 + + + + + + + + +
    +

    + public abstract int setRemoteSubscribeFallbackOption(Constants.StreamFallbackOptions option); +

    +
    +
    + 详情 +

    +

    +

    +
    + 参数 + + + option + 订阅流的回退选项。详见 + +
    +
    + <ph keyref="return-section-title"/> +
      +
    • 0: 方法调用成功。
    • +
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • +
    +
    +
    \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index bcd0cbc0956..8631d4c7669 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -34,6 +34,12 @@
    详情 +
    + +
    弃用:
    +
    自 v4.4.0 废弃,请改用
    +
    +

    SDK 默认在发送端开启小流自适应模式 (),即:发送端仅发送大流,主播身份的接收端可以调用该方法发起小流申请,发送端收到申请后开始自动发送小流。

    在接收视频小流时,SDK 会根据视频窗口的大小动态调整对应视频流的大小,以节约带宽和计算资源。视频小流默认的宽高比和视频大流的宽高比一致。根据当前大流的宽高比,系统会自动分配小流的分辨率、帧率及码率。

      diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita new file mode 100644 index 00000000000..7a577597313 --- /dev/null +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita @@ -0,0 +1,47 @@ + + + + <ph keyref="setRemoteVideoStreamType" /> + 设置订阅的视频流类型。 + + + + + + + + +
      +

      + public abstract int setRemoteVideoStreamType(int uid, Constants.VideoStreamType streamType); +

      +
      +
      + 详情 +

      +

      +

        +
      • 该方法在加入频道前后都能调用。
      • +
      • 如果发送端已调用 并将 mode 设置为 (始终不发送小流),则调用该方法不生效,你需要在发送端重新调用 修改设置。
      • +
      • 观众角色的接收端调用该方法不生效。
      • +
      • 如果既调用了 ,也调用了 ,则 SDK 以 中的设置为准。
      +
      + 参数 + + + uid + 用户 ID。 + + + streamType + 视频流类型: + +
      +
      + <ph keyref="return-section-title"/> +
        +
      • 0: 方法调用成功。
      • +
      • < 0: 方法调用失败。详见了解详情和解决建议。
      • +
      +
      +
      \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 21ad36f385e..5a560817d34 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -39,6 +39,12 @@
    详情 +
    + +
    弃用:
    +
    自 v4.4.0 废弃,请改用
    +
    +

      diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita new file mode 100644 index 00000000000..b53dc796201 --- /dev/null +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita @@ -0,0 +1,51 @@ + + + + <ph keyref="setRemoteVideoStreamTypeEx2"/> + 设置订阅的视频流类型。 + + + + + + + + +
      +

      + public abstract int setRemoteVideoStreamTypeEx( + int uid, Constants.VideoStreamType streamType, RtcConnection connection); +

      +
      +
      + 详情 +

      +

      +

        +
      • 如果发送端已调用 并将 mode 设置为 (始终不发送小流),则调用该方法不生效,你需要在发送端重新调用 修改设置。
      • +
      • 观众角色的接收端调用该方法不生效。
      +
      +
      + 参数 + + + + + + + + + + + + + +
      +
      + <ph keyref="return-section-title"/> +
        +
      • 0: 方法调用成功。
      • +
      • < 0: 方法调用失败。详见了解详情和解决建议。
      • +
      +
      +
      diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 32b96fbbd09..e2eb482ba1e 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -1218,11 +1218,13 @@
    • +
    • +
      @@ -2134,7 +2136,6 @@
    • -
    • @@ -2167,6 +2168,7 @@
    • +
    • diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 18b884c6817..684773dbd6b 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -335,8 +335,11 @@ + + + @@ -720,6 +723,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 26f7ff74c1f..613ec3f8f61 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -1402,7 +1402,14 @@ - setRemoteVideoStreamTypeEx + setRemoteVideoStreamTypeEx [1/2] + + + + + + + setRemoteVideoStreamTypeEx [2/2] @@ -2641,14 +2648,28 @@ - setRemoteVideoStreamType + setRemoteVideoStreamType [1/2] + + + + + + + setRemoteVideoStreamType [2/2] - setRemoteDefaultVideoStreamType + setRemoteDefaultVideoStreamType [1/2] + + + + + + + setRemoteDefaultVideoStreamType [2/2] @@ -2657,7 +2678,14 @@ - setRemoteSubscribeFallbackOption + setRemoteSubscribeFallbackOption [1/2] + + + + + + + setRemoteSubscribeFallbackOption [2/2] @@ -10230,6 +10258,13 @@ + + + + StreamFallbackOptions + + + @@ -11651,6 +11686,13 @@ + + + + VideoStreamType + + + From 5d9273d2a74d458d7d0e2afe543f9e8f465dc229 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 17:02:39 +0800 Subject: [PATCH 057/146] + --- ..._irtcengine_setremotevideostreamtype2.dita | 6 ++--- dita/RTC-NG/API/rtc_api_overview.dita | 24 ++++++++++++++--- dita/RTC-NG/API/rtc_api_sunset.dita | 26 ++++++++++++++++++- .../config/relations-rtc-ng-api.ditamap | 4 +++ 4 files changed, 52 insertions(+), 8 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita index 7a577597313..9378945f770 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita @@ -1,12 +1,12 @@ - - <ph keyref="setRemoteVideoStreamType" /> + + <ph keyref="setRemoteVideoStreamType2" /> 设置订阅的视频流类型。 - + diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 95c3edca7f1..8b307be71c9 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -1082,18 +1082,30 @@ 方法/回调 描述 - + - + + + + + - + + + + + + + + + @@ -2773,10 +2785,14 @@ - + + + + + diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index 7562b0adc65..6a33342b78a 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -21,6 +21,30 @@
    + + + + + v4.4.0 + + + + + + v4.4.0 + + + + + + v4.4.0 + + + + + + v4.4.0 + @@ -173,7 +197,7 @@ 替代 API 删除版本 - + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 8114cd264c3..70c159c0846 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2455,11 +2455,14 @@ + + + @@ -2590,6 +2593,7 @@ + From 20a75dd8948d52fa72b4c8e050185954d70fdb02 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 17:17:25 +0800 Subject: [PATCH 058/146] checklist --- dita/RTC-NG/API/rtc_api_data_type.dita | 1 + dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index e2eb482ba1e..571df756d93 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -213,6 +213,7 @@
  • +
  • diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 613ec3f8f61..abf25486a6c 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -5152,6 +5152,13 @@ + + + + Metadata + + + From 15900499eadf7aaafeab82974649be0f144da10a Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 26 Jun 2024 17:20:02 +0800 Subject: [PATCH 059/146] Update api_imusiccontentcenter_destroy.dita --- dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita index 6926c01ac84..8dd044de78d 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -29,6 +29,12 @@
    详情 +
    + +
    自从
    +
    v4.1.0
    +
    +

    该方法需要在 方法前调用。

    From 6fb3ee0b0627fc516018f02c768cfe0103929d7c Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 26 Jun 2024 17:24:35 +0800 Subject: [PATCH 060/146] bugfix --- dita/RTC-NG/API/api_irtcengine_joinchannel2.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index f0318b47234..22132d850ba 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -109,7 +109,7 @@
      -
    • -2:传入的参数无效。例如,使用了不合法的 Token,uid 参数未设置为整型, 结构体成员值不合法。你需要填入有效的参数,重新加入频道。
    • +
    • -2:传入的参数无效。例如,使用了不合法的 Token,uid 参数未设置为整型,或 成员值不合法。你需要填入有效的参数,重新加入频道。
    • -3: 对象初始化失败。你需要重新初始化 对象。
    • -7: 对象尚未初始化。你需要在调用该方法前成功初始化 对象。
    • -8: 对象内部状态错误。可能的原因是:调用 开始通话回路测试后,未调用 停止测试就调用该方法加入频道。你需要在该方法前调用
    • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 93db65f6c7b..3c716f7219d 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -26,7 +26,7 @@
      详情 调用该方法时,默认的录音采样率为 32 kHz,不可修改。 -

      SDK 支持通话过程中在客户端进行录音。该方法录制频道内所有用户的音频,并生成一个包含所有用户声音的录音文件,录音文件格式可以为: +

      SDK 支持通话过程中在客户端进行录音。该方法录制频道内所有用户的音频,并生成一个包含所有用户声音的录音文件,录音文件格式仅支持下列格式:

        diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita index 8cbb4b9e938..4e5f3f05f1f 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita @@ -26,7 +26,7 @@
      详情 -

      SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内所有用户的音频,并得到一个包含所有用户声音的录音文件。录音文件格式可以为: +

      SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内所有用户的音频,并得到一个包含所有用户声音的录音文件。录音文件格式仅支持下列格式:

        diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index af1bad04409..2402f0c43db 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -26,7 +26,7 @@
      详情 -

      SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内用户的音频,并得到一个录音文件。录音文件格式可以为: +

      SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内用户的音频,并得到一个录音文件。录音文件格式仅支持下列格式:

        From a126d8b1d8b310de96ec0679b0813c81d3907399 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 26 Jun 2024 17:25:42 +0800 Subject: [PATCH 061/146] Update api_irtcengine_updatechannelmediaoptions.dita --- dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita index 2cb85a6f5b2..7d09c6decea 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita @@ -43,7 +43,7 @@
          -
        • -2: 结构体成员值设置无效。例如,使用了不合法的 Token,设置了无效的用户角色。你需要填入有效的参数。
        • +
        • -2: 成员值设置无效。例如,使用了不合法的 Token,设置了无效的用户角色。你需要填入有效的参数。
        • -7: 对象尚未初始化。你需要在调用该方法前成功初始化 对象。
        • -8: 对象内部状态错误。可能的原因是用户不在频道中。建议通过 回调判断用户是否在频道中。如果收到 (1) 或 (5),则表示用户不在频道中。你需要在调用该方法前调用 加入频道。
        From d23b4c288b5a0ed9e7e45f719b5295de68019797 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 17:33:38 +0800 Subject: [PATCH 062/146] checklist --- dita/RTC-NG/API/enum_audioscenariotype.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/enum_audioscenariotype.dita b/dita/RTC-NG/API/enum_audioscenariotype.dita index 94bd2ec054d..7326c23114e 100644 --- a/dita/RTC-NG/API/enum_audioscenariotype.dita +++ b/dita/RTC-NG/API/enum_audioscenariotype.dita @@ -17,7 +17,7 @@ - 5: 聊天室场景,适用于用户需要频繁上下麦的场景。例如:教育场景。该场景下,观众会收到申请麦克风权限的弹窗提示。 + 5: 聊天室场景,适用于用户需要频繁上下麦的场景。例如:教育场景。该场景下,观众会收到申请麦克风权限的弹窗提示。 From 86234e2a477894732e295e44467adba430f94520 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 26 Jun 2024 17:36:35 +0800 Subject: [PATCH 063/146] update proto --- dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita index 45e42fd6251..282b2d3211a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -13,7 +13,7 @@

        - public abstract int SetAdvancedAudioOptions(AdvancedAudioOptions options); + public abstract int setAdvancedAudioOptions(AdvancedAudioOptions options); - (int)setAdvancedAudioOptions:(AgoraAdvancedAudioOptions * _Nonnull)options; virtual int setAdvancedAudioOptions(media::base::AdvancedAudioOptions &options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") From a2abc9aeb9e98d716f1a2878e85bc23199efe384 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 17:40:45 +0800 Subject: [PATCH 064/146] 1 --- .../API/callback_iaudioframeobserverbase_onmixedaudioframe.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index 316a2cd2d34..0f4fea04a23 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -93,7 +93,7 @@ renderTimeMs 外部音频帧的渲染时间戳(毫秒)。你可以使用该时间戳还原音频帧的顺序。在音视频场景下(包含使用外部视频源的场景),该时间戳可以用于实现音频和视频的同步。 - + avsync_type 预留参数。 From 3c803e6ba9f2da8c6c1a94b7301148bd30594701 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 26 Jun 2024 17:49:54 +0800 Subject: [PATCH 065/146] peer review fixes --- dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita | 4 ++-- ...ck_irtcengineeventhandler_onextensionerrorwithcontext.dita | 2 +- ..._irtcengineeventhandler_onextensionstartedwithcontext.dita | 4 ++-- ..._irtcengineeventhandler_onextensionstoppedwithcontext.dita | 4 ++-- dita/RTC-NG/API/class_channelmediaoptions.dita | 2 +- dita/RTC-NG/API/class_extensioncontext.dita | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index a428669ee52..3159a86c0a4 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -29,11 +29,11 @@

        v4.4.0
        -

        +

        AI 调音器功能支持美化音质,调整音色风格。

        适用场景 -

        主要适用于泛娱乐如在线 K 歌、在线播客、秀场等对音质、音准有较高要求的场景,支持音质美化、音色风格化调整。

        +

        在线 K 歌、在线播客、秀场直播等对音质有较高要求的社交娱乐场景。

        调用时机 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita index 7e7e920f724..e68be35942a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita @@ -42,7 +42,7 @@

        -

        启用插件失败或者插件运行出错时,插件会触发该回调并上报错误码和错误原因。

        +

        启用插件失败或者插件运行出错时,插件会触发该回调并报告错误码和错误原因。

        参数 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita index 89659858bc6..5565f040367 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita @@ -2,7 +2,7 @@ <ph keyref="onExtensionStartedWithContext" /> - 插件启用回调。 + 插件已启用成功回调。 @@ -26,7 +26,7 @@

        -

        成功创建音频或视频插件后,插件会触发该回调。

        +

        成功启用插件后会触发该回调。

        参数 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita index c69818a6ef0..b67d5651d91 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita @@ -2,7 +2,7 @@ <ph keyref="onExtensionStoppedWithContext" /> - 插件禁用回调。 + 插件已禁用回调。 @@ -26,7 +26,7 @@

        -

        成功销毁音频或视频插件后,插件会触发该回调。

        +

        成功销毁插件后会触发该回调。

        参数 diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index ef2c03d3f44..2b17d85a805 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -704,7 +704,7 @@ class ChannelMediaOptions { 设置是否发布语音驱动插件处理后的视频:
        • :发布语音驱动插件处理后的视频。
        • -
        • :不发布语音驱动插件处理后的视频。
        • +
        • :(默认)不发布语音驱动插件处理后的视频。
        diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita index 4147cba2102..b68043bfbaa 100644 --- a/dita/RTC-NG/API/class_extensioncontext.dita +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -61,7 +61,7 @@ isValid - 插件上下文信息中的 uid 是否有效: + 中报告的 uid 是否有效:
        • uid 有效。
        • uid 无效。
        • From 92d66a53fb41af73140531848c0efde0aa06e083 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 26 Jun 2024 17:51:50 +0800 Subject: [PATCH 066/146] + --- dita/RTC-NG/API/rtc_api_data_type.dita | 1 + dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 + .../config/keys-rtc-ng-api-java.ditamap | 35 +++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 571df756d93..980eee47005 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -1215,6 +1215,7 @@
        • +
        • diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 684773dbd6b..cd073aac82a 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -553,6 +553,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index abf25486a6c..ceaa4f4a6cd 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -3626,6 +3626,13 @@ + + + + setPlayMode + + + @@ -9543,6 +9550,34 @@ + + + + MusicPlayMode + + + + + + + MUSIC_PLAY_MODE_ORIGINAL + + + + + + + MUSIC_PLAY_MODE_ACCOMPANY + + + + + + + MUSIC_PLAY_MODE_LEAD_SING + + + From 9869dd818c5f1ab3e20218138981f287bc49b0f7 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 26 Jun 2024 18:24:06 +0800 Subject: [PATCH 067/146] review comments --- ...deoframeobserver_getvideoformatpreference.dita | 7 +++---- dita/RTC-NG/API/class_advanceoptions.dita | 6 +++--- dita/RTC-NG/API/class_externalvideoframe.dita | 15 ++++++++++----- dita/RTC-NG/API/class_videoframe.dita | 7 ++++--- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index 3d3150e3889..6ffd9ad00e9 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -46,10 +46,9 @@

        在默认情况下,原始视频像素格式 () 存在以下类型:

          -
        • 在 Android 平台上,默认的视频帧类型可能为 I420Buffer 或 TextureBuffer。自 v4.2.3 起,TextureBuffer 类型的纹理格式不再包括 OES 格式,仅为 RGB 格式。你需要在处理视频数据时增加对 I420、RGB 纹理格式的适配。视频帧类型固定为 I420Buffer 的情况包括但不限于:
            -
          • 特定机型,例如:LG G5 SE (H848),Google Pixel 4a,Samsung Galaxy A7 或 Xiaomi Mi Max。
          • -
          • 已集成视频增强插件并开启基础美颜、视频降噪或暗光增强功能。
          • -
        • +
        • 在 Android 平台上,默认的视频帧类型可能为 I420Buffer 或 TextureBuffer,你需要在处理视频数据时增加对此类格式的适配。
            +
          • I420Buffer:使用特定机型,例如:LG G5 SE (H848),Google Pixel 4a,Samsung Galaxy A7 或 Xiaomi Mi Max;已集成视频增强插件并开启基础美颜、视频降噪或暗光增强功能。
          • +
          • TextureBuffer:自 v4.2.3 起,TextureBuffer 类型的纹理格式不再包括 OES 格式,仅为 RGB 格式。
        • 在 iOS 和 macOS 平台上,默认的视频帧类型可能为 I420 或 CVPixelBufferRef。
        • 默认的视频帧类型可能为 I420 或 CVPixelBufferRef。
        • 在 Windows 平台上,默认为 YUV420。

        diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index 67135b097c2..c8d4b7e17ae 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -117,10 +117,10 @@ struct FAdvanceOptions {
        encodeAlpha - 当视频帧包含 Alpha 通道信息时,是否将 Alpha 信息编码并发送至远端: + 当视频帧包含 Alpha 通道数据时,设置是否将 Alpha 数据编码并发送至远端:
          -
        • :对 Alpha 信息编码。
        • -
        • :(默认)不对 Alpha 信息编码。
        • +
        • :对 Alpha 信息进行编码发送。
        • +
        • :(默认)不对 Alpha 信息进行编码发送。
        diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 65d132b9c6f..f09aa572bec 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -428,11 +428,16 @@ class ExternalVideoFrame {
        - - - - - + + alphaBuffer + alphaBuf + +

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

        +

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

        + 在自定义视频渲染场景下,需确保传入的视频帧和 alphaBuffer 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。 +
        +
        + diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index d218996f99c..dff59c696d4 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -724,8 +724,9 @@ class VideoFrame { alphaBuffer alphaBuf -

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

        +

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

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

        + 在自定义视频渲染场景下,需确保传入的视频帧和 alphaBuffer 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。
        @@ -738,13 +739,13 @@ class VideoFrame {
      对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 Alpha 通道数据:
        -
      • 通过该参数自动填写。
      • +
      • 通过将该参数设置为 自动填写。
      • 通过 alphaBuffer 参数设置。
      alphaStitchMode - 当视频帧中包含 Alpha 通道信息时,alphaBuffer 和视频帧的相对位置 + 当视频帧中包含 Alpha 通道数据时,设置 alphaBuffer 和视频帧的相对位置
      • 0:(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
      • 1:alphaBuffer 位于视频帧的上方。
      • From 7d7e56a1e8abdf3b8dc0d60b22084c7359ee33d0 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:06:59 +0800 Subject: [PATCH 068/146] reorg relations for oc --- .../config/relations-rtc-ng-api.ditamap | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 2a386c6c277..ab458726ea5 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -3031,15 +3031,31 @@ - + - + - + - + + + + + + + + + + + + + + + + + From 891ca84528b15128d102ddc3c17b7f327b73cddc Mon Sep 17 00:00:00 2001 From: jinyu Date: Thu, 27 Jun 2024 11:28:41 +0800 Subject: [PATCH 069/146] Update api_imediaengine_registeraudioframeobserver.dita --- .../API/api_imediaengine_registeraudioframeobserver.dita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index ffb03bb1ef0..d34f70f4eaf 100644 --- a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -23,7 +23,7 @@

      -

      该方法用于注册音频观测器对象,即注册回调。当需要 SDK 触发 等回调时,需要调用该方法注册回调。

      +

      该方法用于注册音频观测器对象,即注册回调。当需要 SDK 触发 回调时,需要调用该方法注册回调。

      调用时机 @@ -35,7 +35,7 @@
      参数 From 892bdb4712b1cbae16f81e0e0c5ccc9e36013f5e Mon Sep 17 00:00:00 2001 From: jinyuagora Date: Thu, 27 Jun 2024 03:32:38 +0000 Subject: [PATCH 070/146] Sync cn prototype to en prototype --- .../API/api_irtcengine_setmixedaudioframeparameters.dita | 4 ++-- ...rtcengine_setplaybackaudioframebeforemixingparameters.dita | 4 ++-- .../API/api_irtcengine_setplaybackaudioframeparameters.dita | 4 ++-- .../API/api_irtcengine_setrecordingaudioframeparameters.dita | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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 b4217bc6972..82562d27bc1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -18,8 +18,8 @@ channel:(NSInteger)channel samplesPerCall:(NSInteger)samplesPerCall; virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall); abstract setMixedAudioFrameParameters( sampleRate: number, channel: number, 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 60cb085931f..f7486754c8b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -17,8 +17,8 @@ - (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel; virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel); abstract setPlaybackAudioFrameBeforeMixingParameters( sampleRate: number, channel: number 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 8d7afab2014..3755b0cf829 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -23,8 +23,8 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetPlaybackAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetPlaybackAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setPlaybackAudioFrameParameters( sampleRate: number, channel: number, 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 fe13e1d36db..3bba6abcba4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -23,8 +23,8 @@ int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") - int SetRecordingAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + int SetRecordingAudioFrameParameters(int sampleRate, int channel, ERAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall); abstract setRecordingAudioFrameParameters( sampleRate: number, channel: number, From 88dffcd279d8477b4c131d4fc86c085a38e9acd8 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Thu, 27 Jun 2024 11:33:04 +0800 Subject: [PATCH 071/146] add audiobeauty note --- dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita | 1 + dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita | 1 + 2 files changed, 2 insertions(+) diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita index 750dea04106..e9632492868 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita @@ -55,6 +55,7 @@
    +
  • 该方法依赖于美声动态库 ,如果删除该动态库会导致无法正常开启该功能。
  • 参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita index 2ae2f796d7c..2ac6e48320e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita @@ -53,6 +53,7 @@
  • +
  • 该方法依赖于美声动态库 ,如果删除该动态库会导致无法正常开启该功能。
  • 参数 From c42fb3c0957f7b9883b9ebd0fa4e8e8845d38548 Mon Sep 17 00:00:00 2001 From: jinyu Date: Thu, 27 Jun 2024 12:56:40 +0800 Subject: [PATCH 072/146] + --- ...engine_setremotedefaultvideostreamtype.dita | 2 +- ...ngine_setremotedefaultvideostreamtype2.dita | 12 +++++++----- ...gine_setremotesubscribefallbackoption2.dita | 6 ++++++ ...pi_irtcengine_setremotevideostreamtype.dita | 6 +++--- ...i_irtcengine_setremotevideostreamtype2.dita | 18 ++++++++++-------- ...rtcengineex_setremotevideostreamtypeex.dita | 2 +- ...tcengineex_setremotevideostreamtypeex2.dita | 12 ++++++++---- 7 files changed, 36 insertions(+), 22 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index f26b474563a..c81996f9fe8 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -34,7 +34,7 @@

    - +

    • 该方法只能在加入频道前调用。SDK 不支持你在加入频道后修改默认订阅的视频流类型。
    • 如果你既调用了该方法,也调用了 ,则 SDK 以 中的设置为准。
    • diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita index 95443a2088d..9e2710924c1 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype2.dita @@ -18,13 +18,15 @@
    详情 +
    + +
    自从
    +
    v4.4.0
    +
    +

    - -

      -
    • 该方法只能在加入频道前调用。SDK 不支持你在加入频道后修改默认订阅的视频流类型。
    • -
    • 如果你既调用了该方法,也调用了 ,则 SDK 以 中的设置为准。
    • -
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita index 748d5ecf2a3..9937d74c64b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption2.dita @@ -18,6 +18,12 @@
    详情 +
    + +
    自从
    +
    v4.4.0
    +
    +

    diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index 8631d4c7669..ab693761ed7 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -42,11 +42,11 @@

    SDK 默认在发送端开启小流自适应模式 (),即:发送端仅发送大流,主播身份的接收端可以调用该方法发起小流申请,发送端收到申请后开始自动发送小流。

    在接收视频小流时,SDK 会根据视频窗口的大小动态调整对应视频流的大小,以节约带宽和计算资源。视频小流默认的宽高比和视频大流的宽高比一致。根据当前大流的宽高比,系统会自动分配小流的分辨率、帧率及码率。

    -
      +
      • 该方法在加入频道前后都能调用。
      • 如果发送端已调用 并将 mode 设置为 (始终不发送小流),则调用该方法不生效,你需要在发送端重新调用 修改设置。
      • -
      • 观众角色的接收端调用该方法不生效。
      • -
      • 如果既调用了 ,也调用了 ,则 SDK 以 中的设置为准。
      +
    • 观众角色的接收端调用该方法不生效。
    • +
    • 如果既调用了该方法,也调用了 ,则 SDK 以该方法中的设置为准。
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita index 9378945f770..0542e84f4ef 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype2.dita @@ -18,19 +18,21 @@
    详情 +
    + +
    自从
    +
    v4.4.0
    +
    +

    -

      -
    • 该方法在加入频道前后都能调用。
    • -
    • 如果发送端已调用 并将 mode 设置为 (始终不发送小流),则调用该方法不生效,你需要在发送端重新调用 修改设置。
    • -
    • 观众角色的接收端调用该方法不生效。
    • -
    • 如果既调用了 ,也调用了 ,则 SDK 以 中的设置为准。
    +
    参数 - - uid - 用户 ID。 + + + streamType diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 5a560817d34..8489bfe968b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -47,7 +47,7 @@

    -

      +
      • 如果发送端已调用 并将 mode 设置为 (始终不发送小流),则调用该方法不生效,你需要在发送端重新调用 修改设置。
      • 观众角色的接收端调用该方法不生效。
    diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita index b53dc796201..a48696a3e33 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex2.dita @@ -19,16 +19,20 @@
    详情 +
    + +
    自从
    +
    v4.4.0
    +
    +

    -

      -
    • 如果发送端已调用 并将 mode 设置为 (始终不发送小流),则调用该方法不生效,你需要在发送端重新调用 修改设置。
    • -
    • 观众角色的接收端调用该方法不生效。
    +
    参数 - + From 3d4ca81035285091b9447639f7effa3c2f3dbe81 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Thu, 27 Jun 2024 14:04:31 +0800 Subject: [PATCH 073/146] fix empty details --- .../RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita index 4f1493e0d02..cd4ce167c38 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita @@ -26,6 +26,9 @@ final void Function(RtcConnection connection, RtcStats stats)? onRtcStats;

    +
    +

    +

    触发时机

    SDK 定期向 App 报告当前通话的统计信息,每两秒触发一次。

    From 5da475f46bec63ade5076daeb2636b060c4e6c4e Mon Sep 17 00:00:00 2001 From: Suri539 Date: Thu, 27 Jun 2024 14:38:41 +0800 Subject: [PATCH 074/146] 1 --- dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 3c716f7219d..560c1ae65d7 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -26,7 +26,7 @@
    详情 调用该方法时,默认的录音采样率为 32 kHz,不可修改。 -

    SDK 支持通话过程中在客户端进行录音。该方法录制频道内所有用户的音频,并生成一个包含所有用户声音的录音文件,录音文件格式仅支持下列格式: +

    SDK 支持通话过程中在客户端进行录音。该方法录制频道内所有用户的音频,并生成一个包含所有用户声音的录音文件,录音文件仅支持下列格式:

      diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita index 4e5f3f05f1f..46df3997e1a 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita @@ -26,7 +26,7 @@
    详情 -

    SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内所有用户的音频,并得到一个包含所有用户声音的录音文件。录音文件格式仅支持下列格式: +

    SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内所有用户的音频,并得到一个包含所有用户声音的录音文件。录音文件仅支持下列格式:

      diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index 2402f0c43db..9f8f0986d6f 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -26,7 +26,7 @@
    详情 -

    SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内用户的音频,并得到一个录音文件。录音文件格式仅支持下列格式: +

    SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内用户的音频,并得到一个录音文件。录音文件仅支持下列格式:

      From 786493477184ce61cf9b6547f73b6d7baac38bbe Mon Sep 17 00:00:00 2001 From: Cilla-luodan Date: Thu, 27 Jun 2024 06:42:01 +0000 Subject: [PATCH 075/146] Sync cn prototype to en prototype --- .../dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9b792f41d67..3f76024edb8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -13,7 +13,7 @@

      - public abstract int SetAdvancedAudioOptions(AdvancedAudioOptions options); + public abstract int setAdvancedAudioOptions(AdvancedAudioOptions options); - (int)setAdvancedAudioOptions:(AgoraAdvancedAudioOptions * _Nonnull)options; virtual int setAdvancedAudioOptions(media::base::AdvancedAudioOptions &options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") From b81986b3a944b7364ff8b2dd9d1e61d3c3fe0029 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Fri, 28 Jun 2024 10:40:10 +0800 Subject: [PATCH 076/146] remove unnec ph --- dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita index 25fdd8fec19..26fa6844c10 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -41,10 +41,10 @@ enabled - 设置是否开启本地截图上传视频内容审核: + 设置是否开启本地截图上传:

        -
      • :开启本地截图上传
      • -
      • :关闭本地截图上传
      • +
      • :开启本地截图上传。
      • +
      • :关闭本地截图上传。
      From 98da4b36ac10b7bebbaae0671f80446551d12f49 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 28 Jun 2024 16:20:11 +0800 Subject: [PATCH 077/146] review comments --- dita/RTC-NG/API/class_advanceoptions.dita | 34 ++++++++++-------- dita/RTC-NG/API/class_externalvideoframe.dita | 32 +++++++++-------- dita/RTC-NG/API/class_videoframe.dita | 36 +------------------ 3 files changed, 37 insertions(+), 65 deletions(-) diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index c8d4b7e17ae..5e2f6694548 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -6,22 +6,26 @@

      - static public class AdvanceOptions { - public ENCODING_PREFERENCE encodingPreference; - public COMPRESSION_PREFERENCE compressionPreference; - public AdvanceOptions( - ENCODING_PREFERENCE encodingPreference, COMPRESSION_PREFERENCE compressionPreference) { - this.encodingPreference = encodingPreference; - this.compressionPreference = compressionPreference; - } - public AdvanceOptions() { - this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; - this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; - } -} - __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject -@property(assign, nonatomic) AgoraCompressionPreference compressionPreference; + static public class AdvanceOptions { + public ENCODING_PREFERENCE encodingPreference; + public COMPRESSION_PREFERENCE compressionPreference; + public boolean encodeAlpha; + public AdvanceOptions(ENCODING_PREFERENCE encodingPreference, + COMPRESSION_PREFERENCE compressionPreference, boolean encodeAlpha) { + this.encodingPreference = encodingPreference; + this.compressionPreference = compressionPreference; + this.encodeAlpha = encodeAlpha; + } + public AdvanceOptions() { + this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; + this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; + this.encodeAlpha = false; + } + } + __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; +@property(assign, nonatomic) AgoraCompressionPreference compressionPreference; +@property(assign, nonatomic) BOOL encodeAlpha; @end struct AdvanceOptions { ENCODING_PREFERENCE encodingPreference; diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index f09aa572bec..c3008c5d077 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -98,7 +98,6 @@ eglContext(NULL), eglType(EGL_CONTEXT10), textureId(0), - fence_object(0), metadata_buffer(NULL), metadata_size(0), alphaBuffer(NULL), @@ -129,7 +128,6 @@ void *eglContext; EGL_CONTEXT_TYPE eglType; int textureId; - long long fence_object; float matrix[16]; uint8_t* metadata_buffer; int metadata_size; @@ -279,13 +277,7 @@ class ExternalVideoFrame { }

      -
      -
      - -
      弃用:
      -
      该类已废弃。
      -
      -
      +
      <text @@ -424,7 +416,7 @@ class ExternalVideoFrame { <pt props="flutter">metadataSize</pt> <pd>该参数仅适用于 Texture 格式的视频数据。指 MetaData 的大小,默认值为 <codeph>0</codeph>。</pd> </plentry> - <plentry conkeyref="VideoFrame/d3d" props="cpp"> + <plentry conkeyref="VideoFrame/d3d" props="cpp unity electron"> <pt/> <pd/> </plentry> @@ -437,11 +429,21 @@ class ExternalVideoFrame { <note type="attention" props="android">在自定义视频渲染场景下,需确保传入的视频帧和 <parmname>alphaBuffer</parmname> 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。</note> </pd> </plentry> - <plentry conkeyref="VideoFrame/fillalphabuffer"> - <pt/> - <pd/> - </plentry> - <plentry conkeyref="VideoFrame/alphastitchmode"> + <plentry> + <pt props="cpp">fillAlphaBuffer</pt> + <pt props="android apple">fillAlphaData</pt> + <pd>该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 Alpha 通道数据并自动填入到 <parmname>alphaBuffer</parmname> 中: + <ul> + <li><codeph><ph keyref="true"/></codeph>:提取 Alpha 通道数据。</li> + <li><codeph><ph keyref="false"/></codeph>:(默认)不提取 Alpha 通道数据。</li> + </ul> + <note>对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 Alpha 通道数据: + <ul> + <li>通过将该参数设置为 <codeph><ph keyref="true"/></codeph> 自动填写。</li> + <li>通过 <parmname>alphaBuffer</parmname> 参数设置。</li> + </ul></note></pd> + </plentry> + <plentry conkeyref="VideoFrame/alphastitchmode"> <pt/> <pd/> </plentry> diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index dff59c696d4..e094369f84d 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -67,7 +67,6 @@ @CalledByNative("TextureBuffer") int getEglContextType(); @CalledByNative("TextureBuffer") float[] getTransformMatrixArray(); @CalledByNative("TextureBuffer") int getSequence(); - @CalledByNative("TextureBuffer") long getFenceObject(); @CalledByNative("TextureBuffer") boolean is10BitTexture(); } public interface ColorSpace { @@ -158,25 +157,6 @@ Matrix getMatrix(); Transfer getTransfer(); Primary getPrimary(); - HdrMetadata getHdrMetadata(); - } - public interface HdrMetadata { - class Chromaticity { - public int x; - public int y; - public Chromaticity(int x, int y) { - this.x = x; - this.y = y; - } - } - int getMaxContentLightLevel(); - int getMaxFrameAverageLightLevel(); - Chromaticity getprimaryR(); - Chromaticity getprimaryG(); - Chromaticity getprimaryB(); - Chromaticity getWhitePoint(); - int getLuminanceMax(); - int getLuminanceMin(); } public enum SourceType { kFrontCamera, @@ -729,23 +709,9 @@ class VideoFrame { <note type="attention" props="android apple">在自定义视频渲染场景下,需确保传入的视频帧和 <parmname>alphaBuffer</parmname> 均为 Full Range 类型;其他类型可能导致 Alpha 数据渲染不正常。</note> </pd> </plentry> - <plentry id="fillalphabuffer" props="cpp apple"> - <pt props="cpp">fillAlphaBuffer</pt> - <pt props="apple">fillAlphaData</pt> - <pd>该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 Alpha 通道数据并自动填入到 <parmname>alphaBuffer</parmname> 中: - <ul> - <li><codeph><ph keyref="true"/></codeph>:提取 Alpha 通道数据。</li> - <li><codeph><ph keyref="false"/></codeph>:(默认)不提取 Alpha 通道数据。</li> - </ul> - <note>对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 Alpha 通道数据: - <ul> - <li>通过将该参数设置为 <codeph><ph keyref="true"/></codeph> 自动填写。</li> - <li>通过 <parmname>alphaBuffer</parmname> 参数设置。</li> - </ul></note></pd> - </plentry> <plentry id="alphastitchmode"> <pt>alphaStitchMode</pt> - <pd>当视频帧中包含 Alpha 通道数据时,设置 <parmname>alphaBuffer</parmname> 和视频帧的相对位置 + <pd>当视频帧中包含 Alpha 通道数据时,设置 <parmname>alphaBuffer</parmname> 和视频帧的相对位置: <ul> <li>0:(默认)仅视频帧,即 <parmname>alphaBuffer</parmname> 不和视频帧拼接。</li> <li>1:<parmname>alphaBuffer</parmname> 位于视频帧的上方。</li> From 0886d158188ced938b4959749cc20a97e20e5efe Mon Sep 17 00:00:00 2001 From: Cilla-luodan <Cilla-luodan@users.noreply.github.com> Date: Fri, 28 Jun 2024 08:22:23 +0000 Subject: [PATCH 078/146] Sync cn prototype to en prototype --- .../dita/RTC-NG/API/class_advanceoptions.dita | 62 +++++----- .../RTC-NG/API/class_externalvideoframe.dita | 113 ++++++++++++------ en-US/dita/RTC-NG/API/class_videoframe.dita | 41 +++++-- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 7 ++ .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 2 +- .../config/keys-rtc-ng-api-macos.ditamap | 9 +- 6 files changed, 160 insertions(+), 74 deletions(-) diff --git a/en-US/dita/RTC-NG/API/class_advanceoptions.dita b/en-US/dita/RTC-NG/API/class_advanceoptions.dita index 162dad39f6e..99699706ce8 100644 --- a/en-US/dita/RTC-NG/API/class_advanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_advanceoptions.dita @@ -6,41 +6,48 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> - <codeblock props="android" outputclass="language-java">static public class AdvanceOptions { - public ENCODING_PREFERENCE encodingPreference; - public COMPRESSION_PREFERENCE compressionPreference; - public AdvanceOptions( - ENCODING_PREFERENCE encodingPreference, COMPRESSION_PREFERENCE compressionPreference) { - this.encodingPreference = encodingPreference; - this.compressionPreference = compressionPreference; - } - public AdvanceOptions() { - this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; - this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; - } -}</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject -@property(assign, nonatomic) AgoraCompressionPreference compressionPreference; + <codeblock props="android" outputclass="language-java"> static public class AdvanceOptions { + public ENCODING_PREFERENCE encodingPreference; + public COMPRESSION_PREFERENCE compressionPreference; + public boolean encodeAlpha; + public AdvanceOptions(ENCODING_PREFERENCE encodingPreference, + COMPRESSION_PREFERENCE compressionPreference, boolean encodeAlpha) { + this.encodingPreference = encodingPreference; + this.compressionPreference = compressionPreference; + this.encodeAlpha = encodeAlpha; + } + public AdvanceOptions() { + this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; + this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; + this.encodeAlpha = false; + } + }</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec"> __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; +@property(assign, nonatomic) AgoraCompressionPreference compressionPreference; +@property(assign, nonatomic) BOOL encodeAlpha; @end</codeblock> - <codeblock props="cpp unreal" outputclass="language-cpp"> + <codeblock props="cpp unreal" outputclass="language-cpp">struct AdvanceOptions { ENCODING_PREFERENCE encodingPreference; - COMPRESSION_PREFERENCE compressionPreference; + bool encodeAlpha; + AdvanceOptions() : encodingPreference(PREFER_AUTO), + compressionPreference(PREFER_LOW_LATENCY), + encodeAlpha(false) {} - AdvanceOptions() : encodingPreference(PREFER_AUTO), - compressionPreference(PREFER_LOW_LATENCY) {} - - AdvanceOptions(ENCODING_PREFERENCE encoding_preference, - COMPRESSION_PREFERENCE compression_preference) : + AdvanceOptions(ENCODING_PREFERENCE encoding_preference, + COMPRESSION_PREFERENCE compression_preference, + bool encode_alpha) : encodingPreference(encoding_preference), - compressionPreference(compression_preference) {} + compressionPreference(compression_preference), + encodeAlpha(encode_alpha) {} bool operator==(const AdvanceOptions& rhs) const { - return encodingPreference == rhs.encodingPreference && - compressionPreference == rhs.compressionPreference; + return encodingPreference == rhs.encodingPreference && + compressionPreference == rhs.compressionPreference && + encodeAlpha == rhs.encodeAlpha; } -};</codeblock> +};</codeblock> <codeblock props="bp" outputclass="language-cpp">USTRUCT(BlueprintType) struct FAdvanceOptions { @@ -76,8 +83,7 @@ struct FAdvanceOptions { <codeblock props="rn" outputclass="language-typescript">export class AdvanceOptions { encodingPreference?: EncodingPreference; compressionPreference?: CompressionPreference; -}</codeblock> - <codeblock props="flutter" outputclass="language-dart">class AdvanceOptions { +}</codeblock> <codeblock props="flutter" outputclass="language-dart">class AdvanceOptions { const AdvanceOptions({this.encodingPreference, this.compressionPreference}); @JsonKey(name: 'encodingPreference') diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 0aa8e1e26c7..3960e7b9a82 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -7,47 +7,80 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public class AgoraVideoFrame { - public static final int FORMAT_NONE = -1; - public static final int FORMAT_TEXTURE_2D = 10; - public static final int FORMAT_TEXTURE_OES = 11; - public static final int FORMAT_I420 = 1; - public static final int FORMAT_BGRA = 2; - public static final int FORMAT_NV21 = 3; - public static final int FORMAT_RGBA = 4; - public static final int FORMAT_I422 = 16; - public static final int BUFFER_TYPE_NONE = -1; - public static final int BUFFER_TYPE_BUFFER = 1; - public static final int BUFFER_TYPE_ARRAY = 2; - public static final int BUFFER_TYPE_TEXTURE = 3; - public int format; - public long timeStamp; - public int stride; - public int height; - public int textureID; - public boolean syncMode; - public float[] transform; - public javax.microedition.khronos.egl.EGLContext eglContext11; - public android.opengl.EGLContext eglContext14; - public byte[] buf; - public int cropLeft; - public int cropTop; - public int cropRight; - public int cropBottom; - public int rotation; - }</codeblock> + public static final int FORMAT_NONE = -1; + public static final int FORMAT_TEXTURE_2D = 10; + public static final int FORMAT_TEXTURE_OES = 11; + public static final int FORMAT_I420 = 1; + public static final int FORMAT_BGRA = 2; + public static final int FORMAT_NV21 = 3; + public static final int FORMAT_RGBA = 4; + public static final int FORMAT_I422 = 16; + public static final int BUFFER_TYPE_NONE = -1; + public static final int BUFFER_TYPE_BUFFER = 1; + public static final int BUFFER_TYPE_ARRAY = 2; + public static final int BUFFER_TYPE_TEXTURE = 3; + public AgoraVideoFrame() { + format = 10; + timeStamp = 0; + stride = 0; + height = 0; + textureID = 0; + syncMode = true; + transform = null; + eglContext10 = null; + eglContext14 = null; + buf = null; + cropLeft = 0; + cropTop = 0; + cropRight = 0; + cropBottom = 0; + rotation = 0; + alphaStitchMode = 0; + } + public int format; + public long timeStamp; + public int stride; + public int height; + public int textureID; + public boolean syncMode; + public float[] transform; + public javax.microedition.khronos.egl.EGLContext eglContext10; + public android.opengl.EGLContext eglContext14; + + public byte[] buf; + public int cropLeft; + public int cropTop; + public int cropRight; + public int cropBottom; + public int rotation; + public int alphaStitchMode; + @Override + public String toString() { + return "AgoraVideoFrame{" + + "format=" + format + ", timeStamp=" + timeStamp + ", stride=" + stride + + ", height=" + height + ", textureID=" + textureID + + ", buf.length=" + (buf != null ? buf.length : 0) + ", cropLeft=" + cropLeft + + ", cropTop=" + cropTop + ", cropRight=" + cropRight + ", cropBottom=" + cropBottom + + ", rotation=" + rotation + ", alphaStitchMode=" + alphaStitchMode + '}'; + } +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; -@property(assign, nonatomic) CMTime time; +@property(assign, nonatomic) CMTime time; @property(assign, nonatomic) int stride DEPRECATED_MSG_ATTRIBUTE("use strideInPixels instead"); -@property(assign, nonatomic) int strideInPixels; -@property(assign, nonatomic) int height; +@property(assign, nonatomic) int strideInPixels; +@property(assign, nonatomic) int height; @property(assign, nonatomic) CVPixelBufferRef _Nullable textureBuf; -@property(strong, nonatomic) NSData *_Nullable dataBuf; -@property(assign, nonatomic) int cropLeft; -@property(assign, nonatomic) int cropTop; -@property(assign, nonatomic) int cropRight; -@property(assign, nonatomic) int cropBottom; -@property(assign, nonatomic) int rotation; +@property(strong, nonatomic) IMAGE_CLASS * _Nullable image; +@property(strong, nonatomic) NSData *_Nullable dataBuf; +@property(strong, nonatomic) NSData *_Nullable alphaBuf; +@property(assign, nonatomic) int alphaStitchMode; +@property(assign, nonatomic) int cropLeft; +@property(assign, nonatomic) int cropTop; +@property(assign, nonatomic) int cropRight; +@property(assign, nonatomic) int cropBottom; +@property(assign, nonatomic) int rotation; +- (void)fillAlphaData; @end</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">struct ExternalVideoFrame { ExternalVideoFrame() @@ -67,6 +100,9 @@ textureId(0), metadata_buffer(NULL), metadata_size(0), + alphaBuffer(NULL), + fillAlphaBuffer(false), + alphaStitchMode(0), d3d11_texture_2d(NULL), texture_slice_index(0){} enum EGL_CONTEXT_TYPE { @@ -95,6 +131,9 @@ float matrix[16]; uint8_t* metadata_buffer; int metadata_size; + uint8_t* alphaBuffer; + bool fillAlphaBuffer; + int alphaStitchMode; void *d3d11_texture_2d; int texture_slice_index; };</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 35c6a129d3a..279d06e24ec 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -11,8 +11,8 @@ @CalledByNative("Buffer") int getWidth(); @CalledByNative("Buffer") int getHeight(); @CalledByNative("Buffer") I420Buffer toI420(); - @Override @CalledByNative("Buffer") void retain(); @Override @CalledByNative("Buffer") void release(); + @Override @CalledByNative("Buffer") void retain(); @CalledByNative("Buffer") Buffer cropAndScale( int cropX, int cropY, int cropWidth, int cropHeight, int scaleWidth, int scaleHeight); @@ -61,11 +61,13 @@ Type getType(); @CalledByNative("TextureBuffer") int getTextureId(); Matrix getTransformMatrix(); - EglBase.Context getEglBaseContext(); + @CalledByNative("TextureBuffer") EglBase.Context getEglBaseContext(); + @CalledByNative("TextureBuffer") Object getSourceTexturePool(); @CalledByNative("TextureBuffer") long getNativeEglContext(); @CalledByNative("TextureBuffer") int getEglContextType(); @CalledByNative("TextureBuffer") float[] getTransformMatrixArray(); @CalledByNative("TextureBuffer") int getSequence(); + @CalledByNative("TextureBuffer") boolean is10BitTexture(); } public interface ColorSpace { enum Range { @@ -135,7 +137,7 @@ Unspecified(2), BT470M(4), BT470BG(5), - kSMPTE170M(6), + kSMPTE170M(6), kSMPTE240M(7), kFILM(8), kBT2020(9), @@ -168,12 +170,14 @@ private SourceType sourceType; private float sampleAspectRatio; private VideoFrameMetaInfo metaInfo = new VideoFrameMetaInfo(); + private @Nullable ByteBuffer alphaBuffer; + private int alphaStitchMode; public VideoFrame(Buffer buffer, int rotation, long timestampNs) { - this(buffer, rotation, timestampNs, null, null, 1.0f, SourceType.kUnspecified.ordinal()); + this(buffer, rotation, timestampNs, new WrappedNativeColorSpace(), null, 0L, 1.0f, SourceType.kUnspecified.ordinal()); } @CalledByNative public VideoFrame(Buffer buffer, int rotation, long timestampNs, ColorSpace colorSpace, - float sampleAspectRatio, int sourceType) { + ByteBuffer alphaBuffer, float sampleAspectRatio, int sourceType) { if (buffer == null) { throw new IllegalArgumentException("buffer not allowed to be null"); } @@ -184,6 +188,7 @@ this.rotation = rotation; this.timestampNs = timestampNs; this.colorSpace = colorSpace; + this.alphaBuffer = alphaBuffer; this.sampleAspectRatio = sampleAspectRatio; this.sourceType = SourceType.values()[sourceType]; } @@ -203,6 +208,10 @@ return rotation; } @CalledByNative + public int getAlphaStitchMode() { + return alphaStitchMode; + } + @CalledByNative public long getTimestampNs() { return timestampNs; } @@ -231,6 +240,16 @@ public ColorSpace getColorSpace() { return colorSpace; } + @CalledByNative + public ByteBuffer getAlphaBuffer() { + return alphaBuffer; + } + public void fillAlphaData(ByteBuffer buffer) { + alphaBuffer = buffer; + } + public void setAlphaStitchMode(int mode) { + this.alphaStitchMode = mode; + } @Override public void retain() { buffer.retain(); @@ -240,7 +259,8 @@ public void release() { buffer.release(); } -}</codeblock> +} +</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @property (nonatomic, assign) int width; @@ -255,8 +275,9 @@ @property (nonatomic, assign) int64_t renderTimeMs; @property (nonatomic, assign) int avSyncType; @property(assign, nonatomic) CVPixelBufferRef _Nullable pixelBuffer; +@property (nonatomic, assign) uint8_t* _Nullable alphaBuffer; +@property (nonatomic, assign) int alphaStitchMode; @property(nonatomic, strong) NSDictionary *_Nonnull metaInfo; - @end</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">struct VideoFrame { VideoFrame(): @@ -276,6 +297,9 @@ metadata_size(0), sharedContext(0), textureId(0), + d3d11Texture2d(NULL), + alphaBuffer(NULL), + alphaStitchMode(0), pixelBuffer(NULL), metaInfo(NULL){ memset(matrix, 0, sizeof(matrix)); @@ -296,7 +320,10 @@ int metadata_size; void* sharedContext; int textureId; + void* d3d11Texture2d; float matrix[16]; + uint8_t* alphaBuffer; + int alphaStitchMode; void* pixelBuffer; IVideoFrameMetaInfo* metaInfo; };</codeblock> diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 797b595a3e5..9a7fa6e7d9e 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -9419,6 +9419,13 @@ </keywords> </topicmeta> </keydef> + <keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED"> + <topicmeta> + <keywords> + <keyword>LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED</keyword> + </keywords> + </topicmeta> + </keydef> <keydef keys="LOCAL_VIDEO_STREAM_STATE" href="../API/enum_localvideostreamstate.dita"> <topicmeta> <keywords> diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 29c4be370f0..dc2d0b68824 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -4432,7 +4432,7 @@ <keydef keys="onMetadataReceived" href="../API/callback_imetadataobserver_onmetadatareceived.dita"> <topicmeta> <keywords> - <keyword>receiveMetadata</keyword> + <keyword>didMetadataReceived</keyword> </keywords> </topicmeta> </keydef> diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 3a4c499035f..ab2a6c888b8 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -4165,7 +4165,7 @@ <keydef keys="onMetadataReceived" href="../API/callback_imetadataobserver_onmetadatareceived.dita"> <topicmeta> <keywords> - <keyword>receiveMetadata</keyword> + <keyword>didMetadataReceived</keyword> </keywords> </topicmeta> </keydef> @@ -8269,6 +8269,13 @@ </keywords> </topicmeta> </keydef> + <keydef keys="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED"> + <topicmeta> + <keywords> + <keyword>AgoraLocalVideoStreamReasonScreenCaptureDisplayDisconnected</keyword> + </keywords> + </topicmeta> + </keydef> <keydef keys="LOCAL_VIDEO_STREAM_STATE" href="../API/enum_localvideostreamstate.dita"> <topicmeta> <keywords> From f865f66e6fe551969b0d4e613f90366e6ee22df1 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <Cilla-luodan@users.noreply.github.com> Date: Fri, 28 Jun 2024 08:51:11 +0000 Subject: [PATCH 079/146] Sync cn prototype to en prototype --- ...ideoencoderconfiguration_initwithsize.dita | 1 + ...deoencoderconfiguration_initwithwidth.dita | 1 + ...onfiguration_getdestchannelmediainfos.dita | 3 + ...yconfiguration_getsrcchannelmediainfo.dita | 3 + ...ayconfiguration_removedestchannelinfo.dita | 3 + ...relayconfiguration_setdestchannelinfo.dita | 3 + ...arelayconfiguration_setsrcchannelinfo.dita | 3 + .../RTC-NG/API/api_createagorartcengine.dita | 1 + .../API/api_createagorartcengineex.dita | 1 + .../API/api_getmediaplayercachemanager.dita | 1 + .../api_iagoraparameter_setparameters.dita | 1 + ...devicecollection_getapplicationvolume.dita | 1 + .../api_iaudiodevicecollection_getcount.dita | 1 + ...udiodevicecollection_getdefaultdevice.dita | 1 + ...diodevicecollection_getdefaultdevice2.dita | 1 + .../api_iaudiodevicecollection_getdevice.dita | 1 + ...api_iaudiodevicecollection_getdevice2.dita | 1 + ...diodevicecollection_isapplicationmute.dita | 1 + .../api_iaudiodevicecollection_release.dita | 1 + ...iodevicecollection_setapplicationmute.dita | 1 + ...devicecollection_setapplicationvolume.dita | 1 + .../api_iaudiodevicecollection_setdevice.dita | 1 + ...evicemanager_enumerateplaybackdevices.dita | 1 + ...vicemanager_enumeraterecordingdevices.dita | 1 + ...icemanager_followsystemloopbackdevice.dita | 1 + ...icemanager_followsystemplaybackdevice.dita | 1 + ...cemanager_followsystemrecordingdevice.dita | 1 + ...iaudiodevicemanager_getloopbackdevice.dita | 1 + ...evicemanager_getplaybackdefaultdevice.dita | 1 + ...vicemanager_getplaybackdefaultdevice2.dita | 1 + ...iaudiodevicemanager_getplaybackdevice.dita | 1 + ...iodevicemanager_getplaybackdeviceinfo.dita | 1 + ...odevicemanager_getplaybackdeviceinfo2.dita | 1 + ...iodevicemanager_getplaybackdevicemute.dita | 1 + ...devicemanager_getplaybackdevicevolume.dita | 1 + ...vicemanager_getrecordingdefaultdevice.dita | 1 + ...icemanager_getrecordingdefaultdevice2.dita | 1 + ...audiodevicemanager_getrecordingdevice.dita | 1 + ...odevicemanager_getrecordingdeviceinfo.dita | 1 + ...devicemanager_getrecordingdeviceinfo2.dita | 1 + ...odevicemanager_getrecordingdevicemute.dita | 1 + ...evicemanager_getrecordingdevicevolume.dita | 1 + .../API/api_iaudiodevicemanager_release.dita | 1 + ...iaudiodevicemanager_setloopbackdevice.dita | 1 + ...iaudiodevicemanager_setplaybackdevice.dita | 1 + ...iodevicemanager_setplaybackdevicemute.dita | 1 + ...devicemanager_setplaybackdevicevolume.dita | 1 + ...audiodevicemanager_setrecordingdevice.dita | 1 + ...odevicemanager_setrecordingdevicemute.dita | 1 + ...evicemanager_setrecordingdevicevolume.dita | 1 + ...emanager_startaudiodeviceloopbacktest.dita | 1 + ...devicemanager_startplaybackdevicetest.dita | 1 + ...evicemanager_startrecordingdevicetest.dita | 1 + ...cemanager_stopaudiodeviceloopbacktest.dita | 1 + ...odevicemanager_stopplaybackdevicetest.dita | 1 + ...devicemanager_stoprecordingdevicetest.dita | 1 + ...audioengine_muteallremoteaudiostreams.dita | 1 + ...atialaudioengine_mutelocalaudiostream.dita | 1 + ...tialaudioengine_muteremoteaudiostream.dita | 1 + .../api_ibasespatialaudioengine_release.dita | 1 + ...espatialaudioengine_setaudiorecvrange.dita | 1 + ...asespatialaudioengine_setdistanceunit.dita | 1 + ...atialaudioengine_setmaxaudiorecvcount.dita | 1 + ...atialaudioengine_setplayerattenuation.dita | 1 + .../api_ibasespatialaudioengine_setzones.dita | 1 + ...laudioengine_updateplayerpositioninfo.dita | 1 + ...spatialaudioengine_updateselfposition.dita | 1 + ...atialaudioengine_clearremotepositions.dita | 1 + .../api_ilocalspatialaudioengine_create.dita | 1 + ...i_ilocalspatialaudioengine_initialize.dita | 1 + .../api_ilocalspatialaudioengine_release.dita | 1 + ...atialaudioengine_removeremoteposition.dita | 1 + ...audioengine_setremoteaudioattenuation.dita | 1 + ...atialaudioengine_updateremoteposition.dita | 1 + ...patialaudioengine_updateselftransform.dita | 1 + .../API/api_imediaengine_addlistener.dita | 1 + ...i_imediaengine_createcustomaudiotrack.dita | 1 + ..._imediaengine_destroycustomaudiotrack.dita | 1 + .../API/api_imediaengine_pullaudioframe.dita | 1 + .../API/api_imediaengine_pushaudioframe.dita | 1 + .../API/api_imediaengine_pushaudioframe0.dita | 1 + ...pi_imediaengine_pushencodedvideoimage.dita | 1 + .../API/api_imediaengine_pushvideoframe.dita | 1 + ...ediaengine_registeraudioframeobserver.dita | 1 + ...imediaengine_registerfaceinfoobserver.dita | 1 + ...ine_registervideoencodedframeobserver.dita | 1 + ...ediaengine_registervideoframeobserver.dita | 1 + .../api_imediaengine_removealllisteners.dita | 1 + .../API/api_imediaengine_removelistener.dita | 1 + ...api_imediaengine_setexternalaudiosink.dita | 1 + ..._imediaengine_setexternalaudiosource2.dita | 1 + ...i_imediaengine_setexternalvideosource.dita | 1 + ...iaengine_unregisteraudioframeobserver.dita | 1 + ...ediaengine_unregisterfaceinfoobserver.dita | 1 + ...e_unregistervideoencodedframeobserver.dita | 1 + ...iaengine_unregistervideoframeobserver.dita | 1 + .../API/api_imediaplayer_addlistener.dita | 1 + .../api_imediaplayer_adjustplayoutvolume.dita | 1 + ...mediaplayer_adjustpublishsignalvolume.dita | 1 + .../api_imediaplayer_changeplaybackspeed.dita | 1 + ...imediaplayer_enableautoswitchagoracdn.dita | 1 + ...api_imediaplayer_getagoracdnlinecount.dita | 1 + ..._imediaplayer_getcurrentagoracdnindex.dita | 1 + .../API/api_imediaplayer_getduration.dita | 1 + .../api_imediaplayer_getmediaplayerid.dita | 1 + ...iaplayer_getmediaplayersourceobserver.dita | 1 + .../RTC-NG/API/api_imediaplayer_getmute.dita | 1 + .../api_imediaplayer_getplayoutvolume.dita | 1 + .../API/api_imediaplayer_getplayposition.dita | 1 + .../API/api_imediaplayer_getplaysrc.dita | 1 + ...i_imediaplayer_getpublishsignalvolume.dita | 1 + .../RTC-NG/API/api_imediaplayer_getstate.dita | 1 + .../API/api_imediaplayer_getstreamcount.dita | 1 + .../API/api_imediaplayer_getstreaminfo.dita | 1 + .../api_imediaplayer_initeventhandler.dita | 1 + .../RTC-NG/API/api_imediaplayer_mute.dita | 1 + .../RTC-NG/API/api_imediaplayer_open.dita | 1 + .../RTC-NG/API/api_imediaplayer_open2.dita | 1 + .../api_imediaplayer_openwithagoracdnsrc.dita | 1 + ...api_imediaplayer_openwithcustomsource.dita | 1 + .../api_imediaplayer_openwithmediasource.dita | 1 + .../RTC-NG/API/api_imediaplayer_pause.dita | 1 + .../RTC-NG/API/api_imediaplayer_play.dita | 1 + .../api_imediaplayer_playpreloadedsrc.dita | 1 + .../API/api_imediaplayer_preloadsrc.dita | 1 + ...ediaplayer_registeraudioframeobserver.dita | 1 + ...diaplayer_registeraudioframeobserver2.dita | 1 + ...iaplayer_registerplayersourceobserver.dita | 1 + ...ediaplayer_registervideoframeobserver.dita | 1 + .../api_imediaplayer_removealllisteners.dita | 1 + .../api_imediaplayer_removeeventhandler.dita | 1 + .../API/api_imediaplayer_removelistener.dita | 1 + ...pi_imediaplayer_renewagoracdnsrctoken.dita | 1 + .../RTC-NG/API/api_imediaplayer_resume.dita | 1 + .../RTC-NG/API/api_imediaplayer_seek.dita | 1 + .../api_imediaplayer_selectaudiotrack.dita | 1 + ...i_imediaplayer_selectinternalsubtitle.dita | 1 + ...pi_imediaplayer_selectmultiaudiotrack.dita | 1 + ...api_imediaplayer_setaudiodualmonomode.dita | 1 + .../API/api_imediaplayer_setaudiopitch.dita | 1 + .../api_imediaplayer_setexternalsubtitle.dita | 1 + .../API/api_imediaplayer_setloopcount.dita | 1 + .../api_imediaplayer_setplaybackspeed.dita | 1 + .../API/api_imediaplayer_setplayeroption.dita | 1 + .../api_imediaplayer_setplayeroption2.dita | 1 + .../API/api_imediaplayer_setrendermode.dita | 1 + ...pi_imediaplayer_setspatialaudioparams.dita | 1 + .../RTC-NG/API/api_imediaplayer_setview.dita | 1 + .../RTC-NG/API/api_imediaplayer_stop.dita | 1 + ...mediaplayer_switchagoracdnlinebyindex.dita | 1 + .../api_imediaplayer_switchagoracdnsrc.dita | 3 +- .../API/api_imediaplayer_switchsrc.dita | 1 + .../API/api_imediaplayer_takescreenshot.dita | 1 + .../API/api_imediaplayer_unloadsrc.dita | 1 + ...iaplayer_unregisteraudioframeobserver.dita | 1 + ...player_unregisterplayersourceobserver.dita | 1 + ...iaplayer_unregistervideoframeobserver.dita | 1 + ...yercachemanager_enableautoremovecache.dita | 1 + ..._imediaplayercachemanager_getcachedir.dita | 1 + ...aplayercachemanager_getcachefilecount.dita | 1 + ...ayercachemanager_getmaxcachefilecount.dita | 1 + ...layercachemanager_getmaxcachefilesize.dita | 1 + ...diaplayercachemanager_removeallcaches.dita | 1 + ...iaplayercachemanager_removecachebyuri.dita | 1 + ...ediaplayercachemanager_removeoldcache.dita | 1 + ..._imediaplayercachemanager_setcachedir.dita | 1 + ...ayercachemanager_setmaxcachefilecount.dita | 1 + ...layercachemanager_setmaxcachefilesize.dita | 1 + ...ediaplayercachemanager_sharedinstance.dita | 1 + .../API/api_imediarecorder_addlistener.dita | 1 + ...mediarecorder_enablemainqueuedispatch.dita | 1 + .../API/api_imediarecorder_release.dita | 1 + ...api_imediarecorder_removealllisteners.dita | 1 + .../api_imediarecorder_removelistener.dita | 1 + ...ediarecorder_setmediarecorderobserver.dita | 1 + .../api_imediarecorder_startrecording.dita | 1 + .../API/api_imediarecorder_stoprecording.dita | 1 + ...imusiccontentcenter_createmusicplayer.dita | 1 + .../API/api_imusiccontentcenter_destroy.dita | 1 + ...contentcenter_enablemainqueuedispatch.dita | 1 + .../api_imusiccontentcenter_getcaches.dita | 1 + .../API/api_imusiccontentcenter_getlyric.dita | 1 + ...pi_imusiccontentcenter_getmusiccharts.dita | 1 + ...nter_getmusiccollectionbymusicchartid.dita | 1 + ...ter_getmusiccollectionbymusicchartid2.dita | 1 + .../api_imusiccontentcenter_initialize.dita | 1 + .../api_imusiccontentcenter_ispreloaded.dita | 1 + ...siccontentcenter_registereventhandler.dita | 1 + .../API/api_imusiccontentcenter_release.dita | 1 + .../api_imusiccontentcenter_removecache.dita | 1 + .../api_imusiccontentcenter_renewtoken.dita | 1 + .../api_imusiccontentcenter_searchmusic.dita | 1 + .../api_imusiccontentcenter_searchmusic2.dita | 1 + ...ccontentcenter_unregistereventhandler.dita | 1 + .../API/api_imusicontentcenter_preload.dita | 1 + .../API/api_imusicplayer_getplaysrc.dita | 1 + .../RTC-NG/API/api_imusicplayer_open.dita | 1 + .../RTC-NG/API/api_imusicplayer_open2.dita | 1 + .../RTC-NG/API/api_imusicplayer_stop.dita | 1 + .../API/api_irtcengine_addextension.dita | 1 + .../RTC-NG/API/api_irtcengine_addhandler.dita | 1 + .../API/api_irtcengine_addlistener.dita | 1 + .../api_irtcengine_addpublishstreamurl.dita | 1 + .../API/api_irtcengine_addvideowatermark.dita | 1 + .../api_irtcengine_addvideowatermark2.dita | 1 + ...engine_adjustaudiomixingplayoutvolume.dita | 1 + ...engine_adjustaudiomixingpublishvolume.dita | 1 + ...pi_irtcengine_adjustaudiomixingvolume.dita | 1 + ...engine_adjustcustomaudioplayoutvolume.dita | 1 + ...engine_adjustcustomaudiopublishvolume.dita | 1 + ...irtcengine_adjustloopbacksignalvolume.dita | 1 + ...irtcengine_adjustplaybacksignalvolume.dita | 1 + ...rtcengine_adjustrecordingsignalvolume.dita | 1 + ...engine_adjustuserplaybacksignalvolume.dita | 1 + .../api_irtcengine_clearvideowatermarks.dita | 1 + .../RTC-NG/API/api_irtcengine_complain.dita | 1 + .../api_irtcengine_configrhythmplayer.dita | 1 + .../RTC-NG/API/api_irtcengine_create.dita | 7 + ...cengine_createcustomencodedvideotrack.dita | 1 + ...api_irtcengine_createcustomvideotrack.dita | 1 + .../API/api_irtcengine_createdatastream.dita | 1 + .../API/api_irtcengine_createdatastream2.dita | 1 + .../API/api_irtcengine_createmediaplayer.dita | 1 + .../api_irtcengine_createmediarecorder.dita | 1 + .../api_irtcengine_createrendererview.dita | 1 + .../API/api_irtcengine_createtextureview.dita | 1 + .../api_irtcengine_createwithareacode.dita | 1 + .../API/api_irtcengine_createwithconfig.dita | 1 + .../RTC-NG/API/api_irtcengine_delegate.dita | 1 + ...engine_destroycustomencodedvideotrack.dita | 1 + ...pi_irtcengine_destroycustomvideotrack.dita | 1 + .../api_irtcengine_destroymediaplayer.dita | 1 + .../api_irtcengine_destroymediarecorder.dita | 1 + .../API/api_irtcengine_destroyrenderer.dita | 1 + ...pi_irtcengine_destroyrendererbyconfig.dita | 1 + .../api_irtcengine_destroyrendererbyview.dita | 1 + .../API/api_irtcengine_devicemanager.dita | 1 + .../API/api_irtcengine_disableaudio.dita | 1 + ...rtcengine_disableaudiospectrummonitor.dita | 1 + .../api_irtcengine_disablelastmiletest.dita | 1 + .../API/api_irtcengine_disablevideo.dita | 1 + .../API/api_irtcengine_enableaudio.dita | 1 + ...tcengine_enableaudioqualityindication.dita | 1 + ...irtcengine_enableaudiospectrummonitor.dita | 1 + ...rtcengine_enableaudiovolumeindication.dita | 1 + ...pi_irtcengine_enablecameracenterstage.dita | 1 + .../api_irtcengine_enablecontentinspect.dita | 1 + ...engine_enablecustomaudiolocalplayback.dita | 1 + .../api_irtcengine_enabledualstreammode.dita | 1 + .../api_irtcengine_enabledualstreammode2.dita | 1 + .../api_irtcengine_enabledualstreammode3.dita | 1 + ...engine_enableechocancellationexternal.dita | 1 + .../API/api_irtcengine_enableencryption.dita | 3 +- .../API/api_irtcengine_enableextension.dita | 1 + .../api_irtcengine_enablefacedetection.dita | 1 + .../api_irtcengine_enablefishcorrection.dita | 1 + .../api_irtcengine_enableinearmonitoring.dita | 1 + ...api_irtcengine_enableinearmonitoring2.dita | 1 + ...rtcengine_enableinstantmediarendering.dita | 1 + .../api_irtcengine_enablelastmiletest.dita | 1 + .../API/api_irtcengine_enablelocalaudio.dita | 1 + .../API/api_irtcengine_enablelocalvideo.dita | 1 + ...pi_irtcengine_enableloopbackrecording.dita | 1 + ...pi_irtcengine_enablemainqueuedispatch.dita | 1 + .../API/api_irtcengine_enablemulticamera.dita | 1 + .../API/api_irtcengine_enableplugin.dita | 1 + ...cengine_enablesoundpositionindication.dita | 1 + .../api_irtcengine_enablespatialaudio.dita | 1 + .../API/api_irtcengine_enablevideo.dita | 1 + ...api_irtcengine_enablevideoimagesource.dita | 1 + ...pi_irtcengine_enablevirtualbackground.dita | 1 + ...i_irtcengine_enablevirtualbackground2.dita | 1 + ...tcengine_enablewebsdkinteroperability.dita | 1 + ...i_irtcengine_enablewirelessaccelerate.dita | 1 + .../API/api_irtcengine_enumeratedevices.dita | 1 + .../API/api_irtcengine_enumeratedisplays.dita | 1 + .../API/api_irtcengine_enumeratewindows.dita | 1 + ...getagorartcaudioplaybackdevicemanager.dita | 1 + ...etagorartcaudiorecordingdevicemanager.dita | 1 + ...api_irtcengine_getagorartcmediaplayer.dita | 1 + ...cengine_getagorartcvideodevicemanager.dita | 1 + .../api_irtcengine_getaudiodeviceinfo.dita | 1 + .../api_irtcengine_getaudiodevicemanager.dita | 1 + .../api_irtcengine_getaudioeffectmanager.dita | 1 + .../API/api_irtcengine_getaudiofileinfo.dita | 1 + ...cengine_getaudiomixingcurrentposition.dita | 1 + ...api_irtcengine_getaudiomixingduration.dita | 1 + ...rtcengine_getaudiomixingplayoutvolume.dita | 1 + ...rtcengine_getaudiomixingpublishvolume.dita | 1 + ...pi_irtcengine_getaudioplaybackdevices.dita | 1 + ...i_irtcengine_getaudiorecordingdevices.dita | 1 + .../api_irtcengine_getaudiotrackcount.dita | 1 + .../API/api_irtcengine_getbuffertype.dita | 1 + .../RTC-NG/API/api_irtcengine_getcallid.dita | 1 + ...api_irtcengine_getcameramaxzoomfactor.dita | 1 + .../api_irtcengine_getconnectionstate.dita | 1 + ...rtcengine_getcurrentmonotonictimeinms.dita | 1 + .../API/api_irtcengine_getdeviceinfo.dita | 1 + .../API/api_irtcengine_getdevicevolume.dita | 1 + ...i_irtcengine_geteffectcurrentposition.dita | 2 + .../API/api_irtcengine_geteffectduration.dita | 1 + .../API/api_irtcengine_geteffectsvolume.dita | 1 + .../api_irtcengine_geterrordescription.dita | 1 + .../api_irtcengine_getextensionproperty.dita | 1 + .../api_irtcengine_getextensionproperty2.dita | 1 + ...irtcengine_getlocalspatialaudioengine.dita | 1 + ...irtcengine_getloopbackrecordingvolume.dita | 1 + .../API/api_irtcengine_getmediaengine.dita | 1 + .../API/api_irtcengine_getmediarecorder.dita | 1 + .../api_irtcengine_getmusiccontentcenter.dita | 1 + .../API/api_irtcengine_getnativehandle.dita | 1 + .../API/api_irtcengine_getnetworktype.dita | 1 + .../api_irtcengine_getntpwalltimeinms.dita | 1 + .../api_irtcengine_getpluginparameter.dita | 1 + .../RTC-NG/API/api_irtcengine_getplugins.dita | 1 + ...i_irtcengine_getrtcengineeventhandler.dita | 1 + ...pi_irtcengine_getscreencapturesources.dita | 1 + .../api_irtcengine_getscreensharehelper.dita | 1 + .../API/api_irtcengine_getscreensinfo.dita | 1 + .../API/api_irtcengine_getuserinfobyuid.dita | 1 + ...i_irtcengine_getuserinfobyuseraccount.dita | 1 + .../RTC-NG/API/api_irtcengine_getversion.dita | 1 + .../api_irtcengine_getvideocapturetype.dita | 1 + .../api_irtcengine_getvideocontenthint.dita | 1 + .../api_irtcengine_getvideodevicemanager.dita | 1 + .../API/api_irtcengine_getvideodevices.dita | 1 + .../api_irtcengine_getvideosourcetype.dita | 1 + .../API/api_irtcengine_getvolumeofeffect.dita | 1 + .../API/api_irtcengine_getwindowsinfo.dita | 1 + .../RTC-NG/API/api_irtcengine_initialize.dita | 1 + ...iscameraautoexposurefacemodesupported.dita | 1 + ...ne_iscameraautofocusfacemodesupported.dita | 1 + ...tcengine_iscameracenterstagesupported.dita | 1 + ...ine_iscameraexposurepositionsupported.dita | 1 + ..._irtcengine_iscameraexposuresupported.dita | 1 + ...rtcengine_iscamerafacedetectsupported.dita | 1 + ...api_irtcengine_iscamerafocussupported.dita | 1 + ...api_irtcengine_iscameratorchsupported.dita | 1 + .../api_irtcengine_iscamerazoomsupported.dita | 1 + ...irtcengine_isfeatureavailableondevice.dita | 1 + .../api_irtcengine_isspeakerphoneenabled.dita | 1 + ...i_irtcengine_istextureencodesupported.dita | 1 + .../API/api_irtcengine_joinchannel.dita | 1 + .../API/api_irtcengine_joinchannel2.dita | 1 + ...irtcengine_joinchannelwithuseraccount.dita | 1 + ...rtcengine_joinchannelwithuseraccount2.dita | 3 +- ...tcengine_joinchannelwithuseraccountex.dita | 1 + .../API/api_irtcengine_leavechannel.dita | 1 + .../API/api_irtcengine_leavechannel2.dita | 1 + .../api_irtcengine_loadextensionprovider.dita | 1 + ..._irtcengine_muteallremoteaudiostreams.dita | 1 + ..._irtcengine_muteallremotevideostreams.dita | 1 + .../api_irtcengine_mutelocalaudiostream.dita | 1 + .../api_irtcengine_mutelocalvideostream.dita | 1 + .../api_irtcengine_muterecordingsignal.dita | 1 + .../api_irtcengine_muteremoteaudiostream.dita | 1 + .../api_irtcengine_muteremotevideostream.dita | 1 + ..._irtcengine_pauseallchannelmediarelay.dita | 1 + .../API/api_irtcengine_pausealleffects.dita | 1 + .../RTC-NG/API/api_irtcengine_pauseaudio.dita | 1 + .../API/api_irtcengine_pauseaudiomixing.dita | 1 + .../API/api_irtcengine_pauseeffect.dita | 1 + .../API/api_irtcengine_playalleffects.dita | 1 + .../RTC-NG/API/api_irtcengine_playeffect.dita | 1 + .../API/api_irtcengine_playeffect2.dita | 1 + .../API/api_irtcengine_playeffect3.dita | 1 + .../API/api_irtcengine_preloadchannel.dita | 1 + .../API/api_irtcengine_preloadeffect.dita | 1 + .../API/api_irtcengine_pullaudioframe2.dita | 1 + ...kaudioframesamplebufferbylengthinbyte.dita | 1 + .../API/api_irtcengine_pushaudioframe2.dita | 1 + .../api_irtcengine_pushcaptureaudioframe.dita | 1 + ...api_irtcengine_pushcaptureaudioframe2.dita | 1 + ...ushdirectcdnstreamingcustomvideoframe.dita | 1 + ...ne_pushexternalaudioframesamplebuffer.dita | 1 + ...e_pushexternalaudioframesamplebuffer2.dita | 1 + .../api_irtcengine_pushreverseaudioframe.dita | 1 + ...api_irtcengine_pushreverseaudioframe2.dita | 1 + .../API/api_irtcengine_pushvideoframe2.dita | 1 + .../API/api_irtcengine_pushvideoframe3.dita | 1 + .../API/api_irtcengine_pushvideoframe4.dita | 1 + ...gine_querycamerafocallengthcapability.dita | 1 + .../api_irtcengine_querycodeccapability.dita | 1 + .../API/api_irtcengine_querydevicescore.dita | 1 + .../API/api_irtcengine_queryinterface.dita | 1 + ...tcengine_queryscreencapturecapability.dita | 1 + .../dita/RTC-NG/API/api_irtcengine_rate.dita | 1 + ...ine_registeraudioencodedframeobserver.dita | 1 + ...cengine_registeraudiospectrumobserver.dita | 1 + .../API/api_irtcengine_registerextension.dita | 1 + ...i_irtcengine_registerlocaluseraccount.dita | 1 + ...cengine_registermediametadataobserver.dita | 1 + ...api_irtcengine_registerpacketobserver.dita | 1 + .../API/api_irtcengine_registerplugin.dita | 1 + .../RTC-NG/API/api_irtcengine_release.dita | 3 + .../api_irtcengine_removealllisteners.dita | 1 + .../api_irtcengine_removeeventhandler.dita | 1 + .../API/api_irtcengine_removehandler.dita | 1 + .../api_irtcengine_removeinjectstreamurl.dita | 1 + .../API/api_irtcengine_removelistener.dita | 1 + ...api_irtcengine_removepublishstreamurl.dita | 1 + .../RTC-NG/API/api_irtcengine_renewtoken.dita | 1 + ...irtcengine_resumeallchannelmediarelay.dita | 1 + .../API/api_irtcengine_resumealleffects.dita | 1 + .../API/api_irtcengine_resumeaudio.dita | 1 + .../API/api_irtcengine_resumeaudiomixing.dita | 1 + .../API/api_irtcengine_resumeeffect.dita | 1 + .../API/api_irtcengine_selectaudiotrack.dita | 1 + ...pi_irtcengine_sendcustomreportmessage.dita | 1 + .../API/api_irtcengine_sendmetadata.dita | 1 + .../API/api_irtcengine_sendstreammessage.dita | 1 + .../API/api_irtcengine_setaddonlogfile.dita | 1 + ...pi_irtcengine_setadvancedaudiooptions.dita | 1 + .../API/api_irtcengine_setainsmode.dita | 1 + ...i_irtcengine_setaudioeffectparameters.dita | 1 + .../api_irtcengine_setaudioeffectpreset.dita | 1 + ...irtcengine_setaudiomixingdualmonomode.dita | 1 + .../api_irtcengine_setaudiomixingpitch.dita | 1 + ...rtcengine_setaudiomixingplaybackspeed.dita | 1 + ...api_irtcengine_setaudiomixingposition.dita | 1 + .../API/api_irtcengine_setaudioprofile.dita | 1 + .../API/api_irtcengine_setaudioprofile2.dita | 1 + .../API/api_irtcengine_setaudioscenario.dita | 1 + ...e_setaudiosessionoperationrestriction.dita | 1 + .../API/api_irtcengine_setavsyncsource.dita | 1 + ...api_irtcengine_setbeautyeffectoptions.dita | 1 + ...pi_irtcengine_setbeautyeffectoptions2.dita | 1 + ..._setcameraautoexposurefacemodeenabled.dita | 1 + ...ine_setcameraautofocusfacemodeenabled.dita | 1 + ...engine_setcameracapturerconfiguration.dita | 1 + ...irtcengine_setcameradeviceorientation.dita | 1 + ...pi_irtcengine_setcameraexposurefactor.dita | 1 + ..._irtcengine_setcameraexposureposition.dita | 1 + ...ngine_setcamerafocuspositioninpreview.dita | 1 + ...irtcengine_setcamerastabilizationmode.dita | 1 + .../API/api_irtcengine_setcameratorchon.dita | 1 + .../api_irtcengine_setcamerazoomfactor.dita | 1 + .../API/api_irtcengine_setchannelprofile.dita | 1 + .../API/api_irtcengine_setclientrole.dita | 1 + .../API/api_irtcengine_setclientrole2.dita | 1 + .../API/api_irtcengine_setcloudproxy.dita | 1 + ...api_irtcengine_setcolorenhanceoptions.dita | 1 + ...pi_irtcengine_setcolorenhanceoptions2.dita | 1 + ...ne_setdefaultaudioroutetospeakerphone.dita | 1 + ...e_setdefaultmuteallremoteaudiostreams.dita | 1 + ...e_setdefaultmuteallremotevideostreams.dita | 1 + .../API/api_irtcengine_setdevicevolume.dita | 1 + ...tdirectcdnstreamingaudioconfiguration.dita | 1 + ...tdirectcdnstreamingvideoconfiguration.dita | 1 + .../API/api_irtcengine_setdualstreammode.dita | 1 + .../api_irtcengine_setdualstreammode2.dita | 1 + ..._setearmonitoringaudioframeparameters.dita | 1 + .../API/api_irtcengine_seteffectposition.dita | 1 + .../API/api_irtcengine_seteffectsvolume.dita | 1 + .../api_irtcengine_setenablespeakerphone.dita | 1 + .../API/api_irtcengine_setencryptionmode.dita | 1 + .../api_irtcengine_setencryptionsecret.dita | 1 + .../api_irtcengine_setextensionproperty.dita | 1 + ...tcengine_setextensionproviderproperty.dita | 1 + ...api_irtcengine_setexternalaudiosource.dita | 1 + ...tcengine_setexternalaudiosourcevolume.dita | 1 + ...i_irtcengine_setheadphoneeqparameters.dita | 1 + .../api_irtcengine_setheadphoneeqpreset.dita | 1 + ...cengine_sethighqualityaudioparameters.dita | 1 + ...i_irtcengine_setinearmonitoringvolume.dita | 1 + .../api_irtcengine_setlivetranscoding.dita | 1 + .../api_irtcengine_setlocalaccesspoint.dita | 1 + ...cengine_setlocalpublishfallbackoption.dita | 1 + .../api_irtcengine_setlocalrendermode.dita | 1 + .../api_irtcengine_setlocalrendermode2.dita | 1 + ...pi_irtcengine_setlocalvideomirrormode.dita | 1 + .../api_irtcengine_setlocalvideorenderer.dita | 1 + .../api_irtcengine_setlocalvoicechanger.dita | 1 + ..._irtcengine_setlocalvoiceequalization.dita | 1 + .../api_irtcengine_setlocalvoiceformant.dita | 1 + .../api_irtcengine_setlocalvoicepitch.dita | 1 + .../api_irtcengine_setlocalvoicereverb.dita | 1 + ..._irtcengine_setlocalvoicereverbpreset.dita | 1 + .../RTC-NG/API/api_irtcengine_setlogfile.dita | 1 + .../API/api_irtcengine_setlogfilesize.dita | 1 + .../API/api_irtcengine_setlogfilter.dita | 1 + .../API/api_irtcengine_setloglevel.dita | 1 + ..._irtcengine_setlowlightenhanceoptions.dita | 1 + ...irtcengine_setlowlightenhanceoptions2.dita | 1 + .../api_irtcengine_setmaxmetadatasize.dita | 1 + ...irtcengine_setmediametadatadatasource.dita | 1 + ...tcengine_setmixedaudioframeparameters.dita | 1 + .../API/api_irtcengine_setparameters.dita | 1 + ...ybackaudioframebeforemixingparameters.dita | 1 + ...ngine_setplaybackaudioframeparameters.dita | 1 + .../api_irtcengine_setpluginparameter.dita | 1 + ...gine_setrecordingaudioframeparameters.dita | 1 + ...ngine_setremotedefaultvideostreamtype.dita | 1 + .../api_irtcengine_setremoterendermode.dita | 1 + .../api_irtcengine_setremoterendermode2.dita | 1 + ...gine_setremotesubscribefallbackoption.dita | 3 +- .../api_irtcengine_setremoteuserpriority.dita | 3 +- ...ngine_setremoteuserspatialaudioparams.dita | 1 + ...api_irtcengine_setremotevideorenderer.dita | 1 + ...i_irtcengine_setremotevideostreamtype.dita | 3 +- ...ine_setremotevideosubscriptionoptions.dita | 1 + ...i_irtcengine_setremotevoice3dposition.dita | 1 + ...api_irtcengine_setremotevoiceposition.dita | 1 + .../API/api_irtcengine_setrendermode.dita | 1 + ...rtcengine_setrouteincommunicationmode.dita | 1 + ...rtcengine_setscreencapturecontenthint.dita | 1 + ...rtcengine_setscreencaptureorientation.dita | 1 + ...i_irtcengine_setscreencapturescenario.dita | 1 + ...irtcengine_setsubscribeaudioallowlist.dita | 1 + ...irtcengine_setsubscribeaudioblocklist.dita | 1 + ...irtcengine_setsubscribevideoallowlist.dita | 1 + ...irtcengine_setsubscribevideoblocklist.dita | 1 + .../API/api_irtcengine_setuplocalvideo.dita | 1 + .../API/api_irtcengine_setupremotevideo.dita | 1 + ...pi_irtcengine_setvideodenoiseroptions.dita | 1 + ...i_irtcengine_setvideodenoiseroptions2.dita | 1 + ...tcengine_setvideoencoderconfiguration.dita | 1 + .../API/api_irtcengine_setvideoprofile.dita | 1 + .../API/api_irtcengine_setvideoprofile2.dita | 1 + ..._irtcengine_setvideoqualityparameters.dita | 1 + ...pi_irtcengine_setvideorenderdimension.dita | 1 + .../API/api_irtcengine_setvideorenderfps.dita | 1 + .../API/api_irtcengine_setvideoscenario.dita | 1 + .../API/api_irtcengine_setvideosource.dita | 1 + .../RTC-NG/API/api_irtcengine_setview.dita | 1 + ...tcengine_setvoicebeautifierparameters.dita | 1 + ...i_irtcengine_setvoicebeautifierpreset.dita | 1 + ...tcengine_setvoiceconversionparameters.dita | 1 + ...i_irtcengine_setvoiceconversionpreset.dita | 1 + .../API/api_irtcengine_setvolumeofeffect.dita | 1 + .../api_irtcengine_startaudioframedump.dita | 1 + .../API/api_irtcengine_startaudiomixing.dita | 1 + .../API/api_irtcengine_startaudiomixing2.dita | 1 + .../api_irtcengine_startaudiorecording.dita | 1 + .../api_irtcengine_startaudiorecording2.dita | 1 + .../api_irtcengine_startaudiorecording3.dita | 1 + .../api_irtcengine_startcameracapture.dita | 2 + ...api_irtcengine_startchannelmediarelay.dita | 1 + ...pi_irtcengine_startdirectcdnstreaming.dita | 1 + .../API/api_irtcengine_startechotest.dita | 1 + .../API/api_irtcengine_startechotest2.dita | 1 + .../API/api_irtcengine_startechotest3.dita | 1 + ...api_irtcengine_startlastmileprobetest.dita | 1 + ..._irtcengine_startlocalvideotranscoder.dita | 1 + ...irtcengine_startmediarenderingtracing.dita | 1 + ...engine_startorupdatechannelmediarelay.dita | 1 + .../API/api_irtcengine_startpreview.dita | 1 + .../API/api_irtcengine_startpreview2.dita | 1 + ...tcengine_startprimarycustomaudiotrack.dita | 1 + ...ine_startrtmpstreamwithouttranscoding.dita | 1 + ...engine_startrtmpstreamwithtranscoding.dita | 1 + .../api_irtcengine_startscreencapture.dita | 1 + .../api_irtcengine_startscreencapture2.dita | 1 + ...cengine_startscreencapturebydisplayid.dita | 1 + ...engine_startscreencapturebyscreenrect.dita | 1 + ...tcengine_startscreencapturebywindowid.dita | 1 + ...engine_startsecondarycustomaudiotrack.dita | 1 + .../API/api_irtcengine_statechanged.dita | 1 + .../API/api_irtcengine_stopalleffects.dita | 1 + .../api_irtcengine_stopaudioframedump.dita | 1 + .../API/api_irtcengine_stopaudiomixing.dita | 1 + .../api_irtcengine_stopaudiorecording.dita | 1 + .../API/api_irtcengine_stopcameracapture.dita | 1 + .../api_irtcengine_stopchannelmediarelay.dita | 1 + ...api_irtcengine_stopdirectcdnstreaming.dita | 1 + .../API/api_irtcengine_stopechotest.dita | 1 + .../RTC-NG/API/api_irtcengine_stopeffect.dita | 1 + .../api_irtcengine_stoplastmileprobetest.dita | 1 + ...i_irtcengine_stoplocalvideotranscoder.dita | 1 + .../API/api_irtcengine_stoppreview.dita | 1 + .../API/api_irtcengine_stoppreview2.dita | 1 + ...rtcengine_stopprimarycustomaudiotrack.dita | 1 + .../API/api_irtcengine_stoprhythmplayer.dita | 1 + .../API/api_irtcengine_stoprtmpstream.dita | 1 + .../API/api_irtcengine_stopscreencapture.dita | 1 + .../api_irtcengine_stopscreencapture2.dita | 1 + ...cengine_stopsecondarycustomaudiotrack.dita | 1 + .../API/api_irtcengine_switchcamera.dita | 1 + .../API/api_irtcengine_switchcamera2.dita | 1 + .../API/api_irtcengine_switchchannel.dita | 1 + .../API/api_irtcengine_switchchannel2.dita | 1 + .../API/api_irtcengine_takescreenshot.dita | 1 + .../API/api_irtcengine_takesnapshot.dita | 1 + .../API/api_irtcengine_unloadalleffects.dita | 1 + .../API/api_irtcengine_unloadeffect.dita | 1 + ...e_unregisteraudioencodedframeobserver.dita | 1 + ...tcengine_unregisteraudioframeobserver.dita | 1 + ...ngine_unregisteraudiospectrumobserver.dita | 1 + ...ngine_unregistermediametadataobserver.dita | 1 + .../API/api_irtcengine_unregisterplugin.dita | 1 + ...e_unregistervideoencodedimagereceiver.dita | 1 + ...tcengine_unregistervideoframeobserver.dita | 1 + ..._irtcengine_updatechannelmediaoptions.dita | 1 + ...pi_irtcengine_updatechannelmediarelay.dita | 1 + ..._updatedirectcdnstreamingmediaoptions.dita | 1 + ...ne_updatelocaltranscoderconfiguration.dita | 1 + ..._irtcengine_updatepreloadchanneltoken.dita | 1 + .../api_irtcengine_updatertmptranscoding.dita | 1 + ...cengine_updatescreencaptureparameters.dita | 1 + ..._irtcengine_updatescreencaptureregion.dita | 1 + ...irtcengine_updatescreencaptureregion2.dita | 1 + .../API/api_irtcengine_uploadlogfile.dita | 1 + ...pi_irtcengineex_addpublishstreamurlex.dita | 1 + .../api_irtcengineex_addvideowatermarkex.dita | 1 + ...ngineex_adjustrecordingsignalvolumeex.dita | 1 + ...neex_adjustuserplaybacksignalvolumeex.dita | 1 + ...pi_irtcengineex_clearvideowatermarkex.dita | 1 + .../api_irtcengineex_createdatastreamex.dita | 1 + .../api_irtcengineex_createdatastreamex2.dita | 1 + ...ngineex_enableaudiovolumeindicationex.dita | 1 + ...i_irtcengineex_enablecontentinspectex.dita | 1 + ...i_irtcengineex_enabledualstreammodeex.dita | 1 + .../api_irtcengineex_enableencryptionex.dita | 1 + ...rtcengineex_enableloopbackrecordingex.dita | 1 + .../API/api_irtcengineex_getcallidex.dita | 1 + ...api_irtcengineex_getconnectionstateex.dita | 1 + .../api_irtcengineex_getuserinfobyuidex.dita | 1 + ...tcengineex_getuserinfobyuseraccountex.dita | 1 + .../API/api_irtcengineex_joinchannelex.dita | 1 + .../API/api_irtcengineex_leavechannelex.dita | 1 + .../API/api_irtcengineex_leavechannelex2.dita | 1 + ...cengineex_muteallremoteaudiostreamsex.dita | 1 + ...cengineex_muteallremotevideostreamsex.dita | 1 + ...i_irtcengineex_mutelocalaudiostreamex.dita | 1 + ...i_irtcengineex_mutelocalvideostreamex.dita | 1 + ...pi_irtcengineex_muterecordingsignalex.dita | 1 + ..._irtcengineex_muteremoteaudiostreamex.dita | 1 + ..._irtcengineex_muteremotevideostreamex.dita | 1 + ...cengineex_pauseallchannelmediarelayex.dita | 1 + .../api_irtcengineex_pushaudioframeex.dita | 1 + ..._irtcengineex_pushencodedvideoimageex.dita | 1 + ...engineex_resumeallchannelmediarelayex.dita | 1 + ...rtcengineex_sendcustomreportmessageex.dita | 1 + .../api_irtcengineex_sendstreammessageex.dita | 1 + .../api_irtcengineex_setdualstreammodeex.dita | 1 + ...pi_irtcengineex_setremoterendermodeex.dita | 1 + ...tcengineex_setremotevideostreamtypeex.dita | 3 +- ...x_setremotevideosubscriptionoptionsex.dita | 1 + ...tcengineex_setremotevoice3dpositionex.dita | 1 + ...irtcengineex_setremotevoicepositionex.dita | 1 + ...engineex_setsubscribeaudioallowlistex.dita | 1 + ...engineex_setsubscribeaudioblocklistex.dita | 1 + ...engineex_setsubscribevideoallowlistex.dita | 1 + ...engineex_setsubscribevideoblocklistex.dita | 1 + .../api_irtcengineex_setupremotevideoex.dita | 1 + ...gineex_setvideoencoderconfigurationex.dita | 1 + ...irtcengineex_startchannelmediarelayex.dita | 1 + ...engineex_startmediarenderingtracingex.dita | 1 + ...neex_startorupdatechannelmediarelayex.dita | 1 + ...x_startrtmpstreamwithouttranscodingex.dita | 1 + ...neex_startrtmpstreamwithtranscodingex.dita | 1 + ..._irtcengineex_stopchannelmediarelayex.dita | 1 + .../api_irtcengineex_stoprtmpstreamex.dita | 1 + .../API/api_irtcengineex_takesnapshotex.dita | 1 + ...cengineex_updatechannelmediaoptionsex.dita | 1 + ...rtcengineex_updatechannelmediarelayex.dita | 1 + ..._irtcengineex_updatertmptranscodingex.dita | 1 + ...api_iscreencapturesourcelist_getcount.dita | 1 + ...screencapturesourcelist_getsourceinfo.dita | 1 + .../api_iscreencapturesourcelist_release.dita | 1 + .../api_ivideodevicecollection_getcount.dita | 1 + .../api_ivideodevicecollection_getdevice.dita | 1 + .../api_ivideodevicecollection_release.dita | 1 + .../api_ivideodevicecollection_setdevice.dita | 1 + ...eodevicemanager_enumeratevideodevices.dita | 1 + ...api_ivideodevicemanager_getcapability.dita | 1 + .../api_ivideodevicemanager_getdevice.dita | 1 + ...deodevicemanager_numberofcapabilities.dita | 1 + .../API/api_ivideodevicemanager_release.dita | 1 + .../api_ivideodevicemanager_setdevice.dita | 1 + ...i_ivideodevicemanager_startdevicetest.dita | 1 + ...pi_ivideodevicemanager_stopdevicetest.dita | 1 + .../API/api_ivideosink_getbuffertype.dita | 1 + .../API/api_ivideosink_getpixelformat.dita | 1 + ...pi_livetranscoding_addbackgroundimage.dita | 1 + .../API/api_livetranscoding_adduser.dita | 1 + .../API/api_livetranscoding_addwatermark.dita | 1 + ...pi_livetranscoding_defaulttranscoding.dita | 1 + ...i_livetranscoding_getadvancedfeatures.dita | 1 + ...pi_livetranscoding_getbackgroundcolor.dita | 1 + ...ivetranscoding_getbackgroundimagelist.dita | 1 + .../API/api_livetranscoding_getblue.dita | 1 + .../API/api_livetranscoding_getgreen.dita | 1 + .../API/api_livetranscoding_getred.dita | 1 + .../API/api_livetranscoding_getusercount.dita | 1 + .../API/api_livetranscoding_getusers.dita | 1 + .../api_livetranscoding_getwatermarklist.dita | 1 + ...livetranscoding_removebackgroundimage.dita | 1 + .../API/api_livetranscoding_removeuser.dita | 1 + .../api_livetranscoding_removewatermark.dita | 1 + ...i_livetranscoding_setadvancedfeatures.dita | 1 + ...pi_livetranscoding_setbackgroundcolor.dita | 1 + ...i_livetranscoding_setbackgroundcolor2.dita | 1 + .../API/api_livetranscoding_setblue.dita | 1 + .../API/api_livetranscoding_setgreen.dita | 1 + .../API/api_livetranscoding_setred.dita | 1 + .../API/api_livetranscoding_setusers.dita | 1 + .../API/api_livetranscoding_setusers2.dita | 1 + .../api_mediaplayercontroller_initialize.dita | 1 + .../RTC-NG/API/api_monitordevicechange.dita | 1 + .../api_musicchartcollection_getcount.dita | 1 + .../API/api_musiccollection_getcount.dita | 1 + .../API/api_musiccollection_getmusic.dita | 1 + .../API/api_musiccollection_getpagesize.dita | 1 + .../API/api_musiccollection_gettotal.dita | 1 + .../API/api_rtc_local_view_surfaceview.dita | 1 + ...api_rtc_local_view_surfaceview_screen.dita | 1 + ...api_rtc_local_view_textureview_screen.dita | 1 + .../API/api_rtc_remote_view_surfaceview.dita | 1 + .../api_rtc_render_view_rtcsurfaceview.dita | 1 + .../api_rtc_render_view_rtctextureview.dita | 1 + ...api_rtcengineext_getassetabsolutepath.dita | 1 + .../API/api_videosurface_setenable.dita | 1 + .../API/api_videosurface_setforuser.dita | 1 + .../RTC-NG/API/callback_airplayconnected.dita | 1 + ...rameobserver_onmixedaudioencodedframe.dita | 1 + ...eobserver_onplaybackaudioencodedframe.dita | 1 + ...ameobserver_onrecordaudioencodedframe.dita | 1 + ...observer_ismultiplechannelframewanted.dita | 1 + ...rver_onplaybackaudioframebeforemixing.dita | 1 + ...ver_onplaybackaudioframebeforemixing2.dita | 1 + ...erverbase_getearmonitoringaudioparams.dita | 1 + ...frameobserverbase_getmixedaudioparams.dita | 1 + ...verbase_getobservedaudioframeposition.dita | 1 + ...meobserverbase_getplaybackaudioparams.dita | 1 + ...rameobserverbase_getrecordaudioparams.dita | 1 + ...bserverbase_onearmonitoringaudioframe.dita | 1 + ...ioframeobserverbase_onmixedaudioframe.dita | 1 + ...rameobserverbase_onplaybackaudioframe.dita | 1 + ...oframeobserverbase_onrecordaudioframe.dita | 1 + .../callback_iaudiopcmframesink_onframe.dita | 1 + ...spectrumobserver_onlocalaudiospectrum.dita | 1 + ...pectrumobserver_onremoteaudiospectrum.dita | 1 + ...dler_ondirectcdnstreamingstatechanged.dita | 1 + ...venthandler_ondirectcdnstreamingstats.dita | 1 + ...callback_ifaceinfoobserver_onfaceinfo.dita | 1 + ...mediaplayeraudioframeobserver_onframe.dita | 1 + ...iaplayercustomdataprovider_onreaddata.dita | 1 + ...imediaplayercustomdataprovider_onseek.dita | 1 + ...rceobserver_onagoracdntokenwillexpire.dita | 1 + ...ourceobserver_onaudiovolumeindication.dita | 1 + ...mediaplayersourceobserver_oncompleted.dita | 1 + ...imediaplayersourceobserver_onmetadata.dita | 1 + ...yersourceobserver_onplaybufferupdated.dita | 1 + ...ayersourceobserver_onplayercachestats.dita | 1 + ...diaplayersourceobserver_onplayerevent.dita | 1 + ...yersourceobserver_onplayerinfoupdated.dita | 1 + ...rsourceobserver_onplayerplaybackstats.dita | 1 + ...ceobserver_onplayersourcestatechanged.dita | 1 + ...sourceobserver_onplayersrcinfochanged.dita | 1 + ...layersourceobserver_onpositionchanged.dita | 1 + ...iaplayersourceobserver_onpreloadevent.dita | 1 + ...mediaplayervideoframeobserver_onframe.dita | 1 + ...ecorderobserver_onrecorderinfoupdated.dita | 1 + ...corderobserver_onrecorderstatechanged.dita | 1 + ..._imetadataobserver_getmaxmetadatasize.dita | 1 + ..._imetadataobserver_onmetadatareceived.dita | 1 + ...etadataobserver_onreadytosendmetadata.dita | 1 + ...ntentcentereventhandler_onlyricresult.dita | 1 + ...entereventhandler_onmusicchartsresult.dita | 1 + ...reventhandler_onmusiccollectionresult.dita | 1 + ...tentcentereventhandler_onpreloadevent.dita | 1 + ...ereventhandler_onsongsimpleinforesult.dita | 1 + ..._ipacketobserver_onreceiveaudiopacket.dita | 1 + ..._ipacketobserver_onreceivevideopacket.dita | 1 + ...ack_ipacketobserver_onsendaudiopacket.dita | 1 + ...ack_ipacketobserver_onsendvideopacket.dita | 1 + ...rtcengineeventhandler_onactivespeaker.dita | 1 + ...cengineeventhandler_onapicallexecuted.dita | 1 + ...ack_irtcengineeventhandler_onapierror.dita | 1 + ...venthandler_onaudiodevicestatechanged.dita | 1 + ...enthandler_onaudiodevicevolumechanged.dita | 1 + ...ineeventhandler_onaudioeffectfinished.dita | 1 + ...ineeventhandler_onaudiomixingfinished.dita | 1 + ...thandler_onaudiomixingpositionchanged.dita | 1 + ...venthandler_onaudiomixingstatechanged.dita | 1 + ...enthandler_onaudiopublishstatechanged.dita | 1 + ...irtcengineeventhandler_onaudioquality.dita | 1 + ...ineeventhandler_onaudioroutingchanged.dita | 1 + ...thandler_onaudiosubscribestatechanged.dita | 1 + ...eeventhandler_onaudiovolumeindication.dita | 1 + ...nthandler_oncameraexposureareachanged.dita | 1 + ...eventhandler_oncamerafocusareachanged.dita | 1 + ..._irtcengineeventhandler_oncameraready.dita | 1 + ...eventhandler_onchannelmediarelayevent.dita | 1 + ...ndler_onchannelmediarelaystatechanged.dita | 1 + ...ngineeventhandler_onclientrolechanged.dita | 1 + ...eventhandler_onclientrolechangefailed.dita | 1 + ...engineeventhandler_onconnectionbanned.dita | 1 + ...eeventhandler_onconnectioninterrupted.dita | 1 + ...tcengineeventhandler_onconnectionlost.dita | 1 + ...eventhandler_onconnectionstatechanged.dita | 1 + ...neeventhandler_oncontentinspectresult.dita | 1 + ...back_irtcengineeventhandler_ondispose.dita | 1 + ...thandler_ondownlinknetworkinfoupdated.dita | 1 + ...cengineeventhandler_onencryptionerror.dita | 1 + ...llback_irtcengineeventhandler_onerror.dita | 1 + ...tcengineeventhandler_onextensionerror.dita | 1 + ...tcengineeventhandler_onextensionevent.dita | 1 + ...engineeventhandler_onextensionstarted.dita | 1 + ...engineeventhandler_onextensionstopped.dita | 1 + ...ineeventhandler_onfacepositionchanged.dita | 2 + ...neeventhandler_onfirstlocalaudioframe.dita | 1 + ...ndler_onfirstlocalaudioframepublished.dita | 1 + ...neeventhandler_onfirstlocalvideoframe.dita | 3 +- ...ndler_onfirstlocalvideoframepublished.dita | 1 + ...venthandler_onfirstremoteaudiodecoded.dita | 1 + ...eeventhandler_onfirstremoteaudioframe.dita | 1 + ...venthandler_onfirstremotevideodecoded.dita | 1 + ...eeventhandler_onfirstremotevideoframe.dita | 3 +- ...k_irtcengineeventhandler_oninitialize.dita | 1 + ...neeventhandler_onintrarequestreceived.dita | 1 + ...gineeventhandler_onjoinchannelsuccess.dita | 1 + ...ineeventhandler_onlastmileproberesult.dita | 1 + ...cengineeventhandler_onlastmilequality.dita | 1 + ...irtcengineeventhandler_onleavechannel.dita | 1 + ...eventhandler_onlocalaudiostatechanged.dita | 1 + ...cengineeventhandler_onlocalaudiostats.dita | 1 + ...ler_onlocalpublishfallbacktoaudioonly.dita | 1 + ...ineeventhandler_onlocaluserregistered.dita | 1 + ...eventhandler_onlocalvideostatechanged.dita | 1 + ...cengineeventhandler_onlocalvideostats.dita | 1 + ...nthandler_onlocalvideotranscodererror.dita | 1 + ...ngineeventhandler_onmicrophoneenabled.dita | 1 + ...tcengineeventhandler_onnetworkquality.dita | 1 + ...gineeventhandler_onnetworktypechanged.dita | 1 + ...cengineeventhandler_onpermissionerror.dita | 1 + ...tcengineeventhandler_onproxyconnected.dita | 1 + ...neeventhandler_onrejoinchannelsuccess.dita | 1 + ...eventhandler_onremoteaudiomixingbegin.dita | 1 + ...neeventhandler_onremoteaudiomixingend.dita | 1 + ...venthandler_onremoteaudiostatechanged.dita | 3 +- ...engineeventhandler_onremoteaudiostats.dita | 1 + ...nthandler_onremoteaudiotransportstats.dita | 1 + ..._onremotesubscribefallbacktoaudioonly.dita | 1 + ...venthandler_onremotevideostatechanged.dita | 3 +- ...engineeventhandler_onremotevideostats.dita | 1 + ...nthandler_onremotevideotransportstats.dita | 1 + ...neeventhandler_onrequestaudiofileinfo.dita | 1 + ...irtcengineeventhandler_onrequesttoken.dita | 1 + ...enthandler_onrhythmplayerstatechanged.dita | 1 + ...ack_irtcengineeventhandler_onrtcstats.dita | 1 + ...gineeventhandler_onrtmpstreamingevent.dita | 1 + ...nthandler_onrtmpstreamingstatechanged.dita | 1 + ...enthandler_onscreencaptureinfoupdated.dita | 1 + ...rtcengineeventhandler_onsnapshottaken.dita | 1 + ...llback_irtcengineeventhandler_onstart.dita | 1 + ...allback_irtcengineeventhandler_onstop.dita | 1 + ...neeventhandler_onstreaminjectedstatus.dita | 1 + ...rtcengineeventhandler_onstreammessage.dita | 1 + ...gineeventhandler_onstreammessageerror.dita | 1 + ...cengineeventhandler_onstreampublished.dita | 1 + ...ngineeventhandler_onstreamunpublished.dita | 1 + ...enthandler_ontokenprivilegewillexpire.dita | 1 + ...thandler_ontranscodedstreamlayoutinfo.dita | 1 + ...gineeventhandler_ontranscodingupdated.dita | 1 + ...enthandler_onuplinknetworkinfoupdated.dita | 1 + ...cengineeventhandler_onuploadlogresult.dita | 3 +- ...gineeventhandler_onuseraccountupdated.dita | 1 + ...neeventhandler_onuserenablelocalvideo.dita | 1 + ...cengineeventhandler_onuserenablevideo.dita | 1 + ...cengineeventhandler_onuserinfoupdated.dita | 1 + ...k_irtcengineeventhandler_onuserjoined.dita | 1 + ...rtcengineeventhandler_onusermuteaudio.dita | 1 + ...rtcengineeventhandler_onusermutevideo.dita | 1 + ..._irtcengineeventhandler_onuseroffline.dita | 1 + ...engineeventhandler_onuserstatechanged.dita | 1 + ...venthandler_onvideodevicestatechanged.dita | 3 +- ...enthandler_onvideopublishstatechanged.dita | 1 + ...handler_onvideorenderingtracingresult.dita | 1 + ...engineeventhandler_onvideosizechanged.dita | 1 + ...handler_onvideosourceframesizechanged.dita | 1 + ...irtcengineeventhandler_onvideostopped.dita | 1 + ...thandler_onvideosubscribestatechanged.dita | 1 + ...dler_onvirtualbackgroundsourceenabled.dita | 1 + ...back_irtcengineeventhandler_onwarning.dita | 1 + ...eobserver_onencodedvideoframereceived.dita | 1 + ..._ivideoframeobserver_getmirrorapplied.dita | 1 + ...rameobserver_getobservedframeposition.dita | 1 + ...videoframeobserver_getrotationapplied.dita | 1 + ...ameobserver_getsmoothrenderingenabled.dita | 1 + ...rameobserver_getvideoformatpreference.dita | 1 + ...rameobserver_getvideoframeprocessmode.dita | 1 + ...ideoframeobserver_oncapturevideoframe.dita | 1 + .../callback_ivideoframeobserver_onframe.dita | 1 + ...frameobserver_onmediaplayervideoframe.dita | 1 + ...eobserver_onpreencodescreenvideoframe.dita | 3 +- ...eoframeobserver_onpreencodevideoframe.dita | 1 + ...videoframeobserver_onrendervideoframe.dita | 1 + ...deoframeobserver_onrendervideoframeex.dita | 1 + ...ameobserver_onscreencapturevideoframe.dita | 1 + ..._onsecondarypreencodecameravideoframe.dita | 1 + ..._onsecondarypreencodescreenvideoframe.dita | 1 + .../API/callback_ivideosink_ondispose.dita | 1 + .../API/callback_ivideosink_oninitialize.dita | 1 + ...llback_ivideosink_onrenderpixelbuffer.dita | 1 + .../callback_ivideosink_onrenderrawdata.dita | 1 + .../API/callback_ivideosink_onstart.dita | 1 + .../API/callback_ivideosink_onstop.dita | 1 + ...back_videosurface_ontexturesizemodify.dita | 1 + .../class_Localaccesspointconfiguration.dita | 1 + .../API/class_advancedaudiooptions.dita | 3 +- .../RTC-NG/API/class_advancedconfiginfo.dita | 1 + .../dita/RTC-NG/API/class_advanceoptions.dita | 6 + .../API/class_agorafacepositioninfo.dita | 12 + .../API/class_agorarhythmplayerconfig.dita | 1 + .../RTC-NG/API/class_agorartcdeviceinfo.dita | 1 + .../RTC-NG/API/class_agorartcexception.dita | 1 + .../dita/RTC-NG/API/class_agoravideoview.dita | 1 + en-US/dita/RTC-NG/API/class_agoraview.dita | 1 + .../RTC-NG/API/class_audiodeviceinfo.dita | 1 + ...class_audioencodedframeobserverconfig.dita | 1 + .../class_audioexternalsourceposition.dita | 1 + en-US/dita/RTC-NG/API/class_audioframe.dita | 1 + en-US/dita/RTC-NG/API/class_audioparams.dita | 1 + .../dita/RTC-NG/API/class_audiopcmframe.dita | 1 + .../class_audiorecordingconfiguration.dita | 23 + .../RTC-NG/API/class_audiospectrumdata.dita | 1 + .../RTC-NG/API/class_audiotrackconfig.dita | 6 +- .../RTC-NG/API/class_audiovolumeinfo.dita | 9 + .../dita/RTC-NG/API/class_beautyoptions.dita | 1 + .../RTC-NG/API/class_cachestatistics.dita | 1 + .../class_cameracapturerconfiguration.dita | 7 +- en-US/dita/RTC-NG/API/class_channel.dita | 1 + .../RTC-NG/API/class_channelmediainfo.dita | 13 + .../RTC-NG/API/class_channelmediaoptions.dita | 62 + .../class_channelmediarelayconfiguration.dita | 7 + .../RTC-NG/API/class_clientroleoptions.dita | 4 + .../dita/RTC-NG/API/class_climaxsegment.dita | 1 + en-US/dita/RTC-NG/API/class_codeccapinfo.dita | 1 + .../dita/RTC-NG/API/class_codeccaplevels.dita | 1 + .../RTC-NG/API/class_colorenhanceoptions.dita | 1 + .../API/class_contentinspectconfig.dita | 1 + .../API/class_contentinspectmodule.dita | 1 + .../RTC-NG/API/class_datastreamconfig.dita | 4 + en-US/dita/RTC-NG/API/class_device.dita | 1 + en-US/dita/RTC-NG/API/class_deviceinfo.dita | 1 + .../class_directcdnstreamingmediaoptions.dita | 1 + .../API/class_directcdnstreamingstats.dita | 1 + .../RTC-NG/API/class_downlinknetworkinfo.dita | 1 + .../API/class_echotestconfiguration.dita | 1 + .../API/class_encodedaudioframeinfo.dita | 1 + .../API/class_encodedvideoframeinfo.dita | 1 + .../RTC-NG/API/class_encryptionconfig.dita | 9 +- .../RTC-NG/API/class_externalvideoframe.dita | 1 + .../RTC-NG/API/class_focallengthinfo.dita | 1 + .../RTC-NG/API/class_imagetrackoptions.dita | 1 + .../RTC-NG/API/class_imediaengineevent.dita | 1 + .../class_imediafilterextensiondelegate.dita | 1 + .../RTC-NG/API/class_imediaplayerevent.dita | 1 + .../RTC-NG/API/class_imediarecorderevent.dita | 1 + .../RTC-NG/API/class_injectstreamconfig.dita | 1 + .../RTC-NG/API/class_intrinsicelements.dita | 1 + .../RTC-NG/API/class_irtcengineevent.dita | 1 + en-US/dita/RTC-NG/API/class_ivideosink.dita | 1 + .../RTC-NG/API/class_lastmileprobeconfig.dita | 12 + .../API/class_lastmileprobeonewayresult.dita | 8 + .../RTC-NG/API/class_lastmileproberesult.dita | 10 + .../RTC-NG/API/class_leavechanneloptions.dita | 13 + .../API/class_livestreamadvancedfeature.dita | 1 + .../RTC-NG/API/class_livetranscoding.dita | 53 +- .../RTC-NG/API/class_localaudiostats.dita | 20 + .../API/class_localspatialaudioconfig.dita | 1 + .../class_localtranscoderconfiguration.dita | 8 + .../RTC-NG/API/class_localvideostats.dita | 47 + en-US/dita/RTC-NG/API/class_logconfig.dita | 1 + .../RTC-NG/API/class_loguploadserverinfo.dita | 1 + .../API/class_lowlightenhanceoptions.dita | 3 +- .../RTC-NG/API/class_mediadeviceinfo.dita | 1 + .../API/class_mediaplayercontroller.dita | 1 + .../API/class_mediarecorderconfiguration.dita | 20 + en-US/dita/RTC-NG/API/class_mediasource.dita | 1 + en-US/dita/RTC-NG/API/class_metadata.dita | 1 + en-US/dita/RTC-NG/API/class_music.dita | 1 + .../dita/RTC-NG/API/class_musiccacheinfo.dita | 1 + .../API/class_musicchartcollection.dita | 1 + .../RTC-NG/API/class_musiccollection.dita | 1 + ...class_musiccontentcenterconfiguration.dita | 1 + en-US/dita/RTC-NG/API/class_mvproperty.dita | 1 + .../RTC-NG/API/class_playerplaybackstats.dita | 1 + .../RTC-NG/API/class_playerstreaminfo.dita | 1 + .../RTC-NG/API/class_playerupdatedinfo.dita | 1 + en-US/dita/RTC-NG/API/class_plugin.dita | 1 + en-US/dita/RTC-NG/API/class_plugininfo.dita | 1 + en-US/dita/RTC-NG/API/class_recorderinfo.dita | 13 + .../RTC-NG/API/class_recorderstreaminfo.dita | 13 + en-US/dita/RTC-NG/API/class_rect.dita | 1 + en-US/dita/RTC-NG/API/class_rectangle.dita | 1 + .../RTC-NG/API/class_remoteaudiostats.dita | 38 + .../RTC-NG/API/class_remotevideostats.dita | 38 + .../API/class_remotevoicepositioninfo.dita | 1 + .../dita/RTC-NG/API/class_rendererconfig.dita | 1 + .../RTC-NG/API/class_rendereroptions.dita | 1 + .../API/class_rtc_local_view_surfaceview.dita | 1 + .../API/class_rtc_local_view_textureview.dita | 1 + .../class_rtc_remote_view_surfaceview.dita | 1 + .../class_rtc_remote_view_textureview.dita | 1 + .../class_rtc_render_view_rtcsurfaceview.dita | 1 + .../class_rtc_render_view_rtctextureview.dita | 1 + .../dita/RTC-NG/API/class_rtcconnection.dita | 10 +- .../RTC-NG/API/class_rtcengineconfig.dita | 5 + en-US/dita/RTC-NG/API/class_rtcimage.dita | 25 + .../API/class_rtcrendererviewprops.dita | 1 + en-US/dita/RTC-NG/API/class_rtcstats.dita | 50 + .../API/class_screencaptureconfiguration.dita | 1 + .../API/class_screencaptureparameters.dita | 1 + .../API/class_screencapturesourceinfo.dita | 1 + en-US/dita/RTC-NG/API/class_screensymbol.dita | 1 + en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita | 1 + .../API/class_segmentationproperty.dita | 6 + .../API/class_simulcaststreamconfig.dita | 10 + en-US/dita/RTC-NG/API/class_size.dita | 1 + .../RTC-NG/API/class_spatialaudioparams.dita | 3 +- .../RTC-NG/API/class_spatialaudiozone.dita | 1 + en-US/dita/RTC-NG/API/class_srcinfo.dita | 1 + .../RTC-NG/API/class_thumbimagebuffer.dita | 1 + .../RTC-NG/API/class_transcodinguser.dita | 18 + .../API/class_transcodingvideostream.dita | 37 + .../RTC-NG/API/class_uplinknetworkinfo.dita | 1 + en-US/dita/RTC-NG/API/class_user.dita | 1 + .../API/class_useraudiospectruminfo.dita | 1 + en-US/dita/RTC-NG/API/class_userinfo.dita | 1 + en-US/dita/RTC-NG/API/class_videocanvas.dita | 14 + .../API/class_videodenoiseroptions.dita | 1 + .../RTC-NG/API/class_videodeviceinfo.dita | 1 + .../RTC-NG/API/class_videodimensions.dita | 8 + .../API/class_videoencoderconfiguration.dita | 11 + en-US/dita/RTC-NG/API/class_videoformat.dita | 5 + en-US/dita/RTC-NG/API/class_videoframe.dita | 20 + .../API/class_videoframebufferconfig.dita | 1 + en-US/dita/RTC-NG/API/class_videolayout.dita | 1 + .../API/class_videorenderingtracinginfo.dita | 1 + .../API/class_videosubscriptionoptions.dita | 3 +- .../RTC-NG/API/class_videoviewcontroller.dita | 1 + .../API/class_videoviewcontrollerbase.dita | 1 + .../API/class_virtualbackgroundsource.dita | 10 + .../RTC-NG/API/class_watermarkoptions.dita | 1 + .../dita/RTC-NG/API/class_watermarkratio.dita | 1 + en-US/dita/RTC-NG/API/class_windowinfo.dita | 1 + .../config/keys-rtc-ng-api-harmony.ditamap | 12106 ++++++++++++++++ 1040 files changed, 13824 insertions(+), 23 deletions(-) create mode 100644 en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap 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 b6f2cb2fb62..b47eabf9e4d 100644 --- a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita +++ b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (instancetype _Nonnull)initWithSize:(CGSize)size frameRate:(AgoraVideoFrameRate)frameRate bitrate:(NSInteger)bitrate 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 0cef8b5442d..13af617a84d 100644 --- a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita +++ b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (instancetype _Nonnull)initWithWidth:(NSInteger)width height:(NSInteger)height frameRate:(AgoraVideoFrameRate)frameRate 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 cc6bb339b4d..7fcc6554fb2 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita @@ -15,6 +15,9 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public getDestChannelMediaInfos(): Map<String, ChannelMediaInfo> { + return this.destInfos; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> 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 26da29c87d3..1cd91f744a8 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita @@ -15,6 +15,9 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public ChannelMediaInfo getSrcChannelMediaInfo() { return srcInfo; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public getSrcChannelMediaInfo(): ChannelMediaInfo { + return this.srcInfo; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> 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 af0db70f8fa..0ababcf3079 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita @@ -15,6 +15,9 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void removeDestChannelInfo(String channelName) { destInfos.remove(channelName); +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public removeDestChannelInfo(channelName: string) { + this.destInfos.delete(channelName); }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)removeDestinationInfoForChannelName:(NSString *_Nonnull)channelName;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> 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 686386f794e..4f1d8261d9e 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita @@ -16,6 +16,9 @@ <codeblock props="android" outputclass="language-java">public void setDestChannelInfo(String channelName, ChannelMediaInfo destInfo) { destInfos.put(channelName, destInfo); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public setDestChannelInfo(channelName: string, destInfo: ChannelMediaInfo) { + this.destInfos.set(channelName, destInfo); +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setDestinationInfo:(AgoraChannelMediaRelayInfo *_Nonnull)destinationInfo forChannelName:(NSString *_Nonnull)channelName; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> 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 f1a2fd3fd32..52702de5be7 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita @@ -15,6 +15,9 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void setSrcChannelInfo(ChannelMediaInfo srcInfo) { this.srcInfo = srcInfo; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> diff --git a/en-US/dita/RTC-NG/API/api_createagorartcengine.dita b/en-US/dita/RTC-NG/API/api_createagorartcengine.dita index 5ed8c0d3d73..7df1f3151fb 100644 --- a/en-US/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/en-US/dita/RTC-NG/API/api_createagorartcengine.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine ()</codeblock> <codeblock props="electron" outputclass="language-typescript">export function createAgoraRtcEngine(): IRtcEngineEx { diff --git a/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita b/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita index 97a463d640b..47fcf1169b0 100644 --- a/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita +++ b/en-US/dita/RTC-NG/API/api_createagorartcengineex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita b/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita index 8d7eae441a7..5291cf43d27 100644 --- a/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita +++ b/en-US/dita/RTC-NG/API/api_getmediaplayercachemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract IMediaPlayerCacheManager getMediaPlayerCacheManager();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (id<AgoraRtcMediaPlayerCacheManagerProtocol> _Nullable)createMediaPlayerCacheManager;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">AGORA_API agora::rtc::IMediaPlayerCacheManager* AGORA_CALL getMediaPlayerCacheManager();</codeblock> <codeblock props="electron" outputclass="language-typescript">export function getMediaPlayerCacheManager(): IMediaPlayerCacheManager { 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 0dfec677aa4..82a857cda08 100644 --- a/en-US/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita +++ b/en-US/dita/RTC-NG/API/api_iagoraparameter_setparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setParameters(const char* parameters) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 c76367d5cd6..703ea00043b 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getapplicationvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getApplicationVolume(int& volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 23a0fbc4e8c..ee91b13152b 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCount() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 cd2c8c902a7..c826d4f0821 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (AgoraRtcDeviceInfo* _Nullable)getDefaultAudioDevice:(AgoraMediaDeviceType)type; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita index 316e9dd0984..8bcc0509bfd 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdefaultdevice2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; </codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 ff6a5de054b..8bb943a440c 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita index b49d0a0417a..d2757253adb 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_getdevice2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; </codeblock> 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 abdd187891b..d3f92265274 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_isapplicationmute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int isApplicationMute(bool &mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 4bf8365a8d5..49728c464b6 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 d02863ceeb8..24e0fd9e061 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationmute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setApplicationMute(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 bf75ca6e6f8..f07548ec52f 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setapplicationvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setApplicationVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 ab3804ae4f5..c193d713dfe 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicecollection_setdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceCollection") 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 50fee926f04..75342a71061 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumerateplaybackdevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual IAudioDeviceCollection* enumeratePlaybackDevices() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 c0ee2d53962..01592670947 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_enumeraterecordingdevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual IAudioDeviceCollection* enumerateRecordingDevices() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 52f4b4b787d..89d146dab93 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemloopbackdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int followSystemLoopbackDevice(bool enable) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract followSystemLoopbackDevice(enable: boolean): number;</codeblock> 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 1bbbc220b39..592d0de629d 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemplaybackdevice.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">(int) followSystemPlaybackDevice:(BOOL)enable;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int followSystemPlaybackDevice(bool enable) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 4e402ee4761..fe63065278c 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_followsystemrecordingdevice.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">(int) followSystemRecordingDevice:(BOOL)enable;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int followSystemRecordingDevice(bool enable) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 0cc942b1559..8d9f707c4f6 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getloopbackdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getLoopbackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getLoopbackDevice(): string;</codeblock> 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 8a0b46d2e51..748bb294bf7 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getPlaybackDefaultDevice(): AudioDeviceInfo;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita index a218c342c1e..3eb29232050 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdefaultdevice2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 9944872fb69..b4be447e96e 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlaybackDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 4e21a85a971..4ffd6d032a4 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita index 4c7216dfeb2..52266aff58f 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdeviceinfo2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 4e620e729c6..746d5e4ac09 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicemute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlaybackDeviceMute(bool *mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 5111a45fef8..060d8791c01 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getplaybackdevicevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlaybackDeviceVolume(int *volume) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getPlaybackDeviceVolume(): number;</codeblock> 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 34f24856b6b..44abe171cfc 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getRecordingDefaultDevice(): AudioDeviceInfo;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita index 55678acd200..9ceefc49aa4 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdefaultdevice2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"></codeblock> 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 c0efe2c527c..8115c3865b2 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getRecordingDevice(char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 1e4af5d14d0..6865aa33e88 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") diff --git a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita index b7e504235d2..c1706b874da 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdeviceinfo2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 d64cbd145c6..755bb76bf59 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicemute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getRecordingDeviceMute(bool *mute) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getRecordingDeviceMute(): boolean;</codeblock> 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 93375f65a46..fcee40746a4 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_getrecordingdevicevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getRecordingDeviceVolume(int *volume) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getRecordingDeviceVolume(): number;</codeblock> 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 0fd6e0f5656..57043c7555f 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 b94869426e2..c82a6f081fe 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setloopbackdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLoopbackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setLoopbackDevice(deviceId: string): number;</codeblock> 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 1740d9802c4..9950138b2dc 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlaybackDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 fa868a1e9db..c234c183f98 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicemute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlaybackDeviceMute(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 7d1c96ee992..42731bd2e0e 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setplaybackdevicevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlaybackDeviceVolume(int volume) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setPlaybackDeviceVolume(volume: number): number;</codeblock> 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 f3859bfc393..41fbed88ee7 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRecordingDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 aa9a911f149..4b7d415052a 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicemute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRecordingDeviceMute(bool mute) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setRecordingDeviceMute(mute: boolean): number;</codeblock> 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 3acae17884d..9c1e5a68095 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_setrecordingdevicevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRecordingDeviceVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 722810267d0..a78e6ab0e15 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startaudiodeviceloopbacktest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">-(int)startAudioDeviceLoopbackTest:(int)indicationInterval;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startAudioDeviceLoopbackTest(int indicationInterval) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 86f49e9370f..fb8db9f34cb 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startplaybackdevicetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startPlaybackDeviceTest(String audioFileName);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startPlaybackDeviceTest:(NSString * _Nonnull)audioFileName;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startPlaybackDeviceTest(const char* testAudioFilePath) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 db3f12cc5bf..2e44c5ba368 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_startrecordingdevicetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startRecordingDeviceTest(int indicationInterval);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startRecordingDeviceTest:(int)indicationInterval;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startRecordingDeviceTest(int indicationInterval) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 7f429b5f90c..581a1bfbc19 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopaudiodeviceloopbacktest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">-(int)stopAudioDeviceLoopbackTest;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopAudioDeviceLoopbackTest() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 f9ef0df0b81..e3cfd15d4b7 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stopplaybackdevicetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopPlaybackDeviceTest();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopPlaybackDeviceTest;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopPlaybackDeviceTest() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 7e28e13f47b..904dfa2422c 100644 --- a/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_iaudiodevicemanager_stoprecordingdevicetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopRecordingDeviceTest();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopRecordingDeviceTest;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopRecordingDeviceTest() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IAudioDeviceManager") 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 7b5febd53cd..e806233e854 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteallremoteaudiostreams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteAllRemoteAudioStreams(boolean mute);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteAllRemoteAudioStreams(muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteAllRemoteAudioStreams:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteAllRemoteAudioStreams(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 837e03a16e9..c7e3d070c40 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_mutelocalaudiostream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteLocalAudioStream(boolean mute);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteLocalAudioStream(muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteLocalAudioStream:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteLocalAudioStream(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 0be77384731..efc5d6612b1 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_muteremoteaudiostream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRemoteAudioStream(int uid, boolean mute);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 366f2d7d8f4..3d4dc9f77fc 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (void)destroy NS_SWIFT_NAME(destroy());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 4f55e364980..75eda7fb3bb 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setaudiorecvrange.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioRecvRange(float range);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioRecvRange:(float)range;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioRecvRange(float range) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 57191cea2dc..82f8e0f2470 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setdistanceunit.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDistanceUnit(float unit);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDistanceUnit:(float)unit;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDistanceUnit(float unit) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 136f80caa17..0eb20bb4de4 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setmaxaudiorecvcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setMaxAudioRecvCount(int maxCount);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setMaxAudioRecvCount:(NSUInteger)maxCount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setMaxAudioRecvCount(int maxCount) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 8700348e0eb..0e67c7ab64b 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setplayerattenuation.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setPlayerAttenuation(int playerId, double attenuation, boolean forceSet);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setPlayerAttenuation:(double)attenuation playerId:(NSUInteger)playerId forceSet:(BOOL)forceSet;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlayerAttenuation(int playerId, double attenuation, bool forceSet) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 1f6b95f4363..9ba35d3b63c 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setZones(SpatialAudioZone[] zones);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setZones:(NSArray<AgoraSpatialAudioZone*> * _Nullable)zones NS_SWIFT_NAME(setZones(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setZones(const SpatialAudioZone *zones, unsigned int zoneCount) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 0336f31179b..5fdaa530b6f 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateplayerpositioninfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updatePlayerPositionInfo(int playerId, RemoteVoicePositionInfo positionInfo);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updatePlayerPositionInfo:(NSInteger)playerId positionInfo:(AgoraRemoteVoicePositionInfo* _Nonnull)positionInfo;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updatePlayerPositionInfo(int playerId, const RemoteVoicePositionInfo& positionInfo) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 56d43b4214b..454b39132b9 100644 --- a/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita +++ b/en-US/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateSelfPosition( float[] position, float[] axisForward, float[] axisRight, float[] axisUp);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateSelfPosition:(simd_float3)position axisForward:(simd_float3)axisForward axisRight:(simd_float3)axisRight axisUp:(simd_float3)axisUp NS_SWIFT_NAME(updateSelfPosition(_:axisForward:axisRight:axisUp:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateSelfPosition(float position[3], float axisForward[3], float axisRight[3], float axisUp[3]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 e6bed9887fc..bf498ec1b34 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_clearremotepositions.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int clearRemotePositions();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) clearRemotePositions;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int clearRemotePositions() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 513255cb8b6..377b3c3720b 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_create.dita @@ -19,6 +19,7 @@ } return mInstance; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 8280bdc0f83..17f9350b96d 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_initialize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int initialize(LocalSpatialAudioConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (instancetype _Nonnull)sharedLocalSpatialAudioWithConfig:(AgoraLocalSpatialAudioConfig* _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int initialize(const LocalSpatialAudioConfig& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita index 1d87d730220..fb77bacd050 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita @@ -19,6 +19,7 @@ mInstance.release(); mInstance = null; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (void)destroy;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 5c8d4c173f2..91f6eec5e82 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int removeRemotePosition(int uid);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) removeRemotePosition:(NSUInteger)uid;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removeRemotePosition(uid_t uid) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 0de072b81df..5b2f0467c1e 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_setremoteaudioattenuation.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteAudioAttenuation(int uid, double attenuation, boolean forceSet);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) setRemoteAudioAttenuation:(double)attenuation userId:(NSUInteger)uid forceSet:(BOOL)forceSet;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteAudioAttenuation(uid_t uid, double attenuation, bool forceSet) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") 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 1b7ab83f152..c924f262023 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateremoteposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateRemotePosition(int uid, RemoteVoicePositionInfo posInfo);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateRemotePosition:(NSUInteger)uid positionInfo:(AgoraRemoteVoicePositionInfo* _Nonnull)posInfo;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateRemotePosition(uid_t uid, const RemoteVoicePositionInfo &posInfo) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita index fd18968797c..cab193cca1b 100644 --- a/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita +++ b/en-US/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateSelfTransform:(simd_float4x4)transform NS_SWIFT_NAME(updateSelfTransform(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="bp" outputclass="language-cpp"/> 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 f97153f4d5e..3967a965b8f 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_addlistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">addListener?<EventType extends keyof IMediaEngineEvent>( 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 af3bbd5a7df..7201fa7d6f2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createCustomAudioTrack( Constants.AudioTrackType trackType, AudioTrackConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract createCustomAudioTrack(trackType: Constants.AudioTrackType, config: AudioTrackConfig): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)createCustomAudioTrack:(AgoraAudioTrackType)trackType config:(AgoraAudioTrackConfig* _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual rtc::track_id_t createCustomAudioTrack(rtc::AUDIO_TRACK_TYPE trackType, const rtc::AudioTrackConfig& config) = 0;</codeblock> 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 e9876cc53b1..fea05d1a4bc 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_destroycustomaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int destroyCustomAudioTrack(int trackId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract destroyCustomAudioTrack(trackId: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)destroyCustomAudioTrack:(NSInteger)trackId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int destroyCustomAudioTrack(rtc::track_id_t trackId) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract destroyCustomAudioTrack(trackId: number): number;</codeblock> 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 796e64ab30e..f09c4bff4d9 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pullPlaybackAudioFrame(byte[] data, int lengthInByte);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)pullPlaybackAudioFrameRawData:(void * _Nonnull)data lengthInByte:(NSUInteger)lengthInByte;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pullAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0;</codeblock> 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 76b72749969..7145f779e48 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushExternalAudioFrame(byte[] data, long timestamp);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushExternalAudioFrameRawData:(void * _Nonnull)data samples:(NSInteger)samples sourceId:(NSInteger)sourceId 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 7f493e53111..fb38fbd5793 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushAudioFrame(IAudioFrameObserver::AudioFrame* frame, rtc::track_id_t trackId = 0) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract pushAudioFrame(frame: AudioFrame, trackId?: number): number;</codeblock> 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 5ff09add2e8..7d13cd6e665 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract int pushExternalEncodedVideoFrame( ByteBuffer data, EncodedVideoFrameInfo frameInfo); videoTrackId:(NSUInteger)videoTrackId;</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushEncodedVideoImage(const uint8_t* imageBuffer, size_t length, const agora::rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0;</codeblock> 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 4e66cecf84c..7af486c9e65 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushExternalVideoFrameById(AgoraVideoFrame frame, int videoTrackId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame videoTrackId:(NSUInteger)videoTrackId NS_SWIFT_NAME(pushExternalVideoFrame(_:videoTrackId:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushVideoFrame(base::ExternalVideoFrame* frame, unsigned int videoTrackId = 0) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract pushVideoFrame( 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 6f0c91abf47..e0854dc3793 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerAudioFrameObserver(IAudioFrameObserver observer);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract registerAudioFrameObserver(observer:IAudioFrameObserver):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setAudioFrameDelegate:(id<AgoraAudioFrameDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerAudioFrameObserver(IAudioFrameObserver* observer) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract registerAudioFrameObserver(observer: IAudioFrameObserver): number;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita index 9e15402c7af..df29757469b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registerfaceinfoobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerFaceInfoObserver(IFaceInfoObserver receiver);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setFaceInfoDelegate:(id<AgoraFaceInfoDelegate> _Nullable)delegate NS_SWIFT_NAME(setFaceInfoDelegate(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerFaceInfoObserver(IFaceInfoObserver* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 c287a35fcad..7ab17425210 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerVideoEncodedFrameObserver(IVideoEncodedFrameObserver receiver); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setEncodedVideoFrameDelegate:(id<AgoraEncodedVideoFrameDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerVideoEncodedFrameObserver(IVideoEncodedFrameObserver* observer) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract registerVideoEncodedFrameObserver( 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 08fdc732306..e36b3f7e5e5 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerVideoFrameObserver(IVideoFrameObserver observer);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setVideoFrameDelegate:(id<AgoraVideoFrameDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerVideoFrameObserver(IVideoFrameObserver* observer) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number;</codeblock> 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 4cf7a1a17e4..48f9ffa572c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_removealllisteners.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeAllListeners?<EventType extends keyof IMediaEngineEvent>( 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 6890e3b0fdf..8ab335175a2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_removelistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeListener?<EventType extends keyof IMediaEngineEvent>( 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 2bc35c3a090..673511d33f1 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setExternalAudioSink(boolean enabled, int sampleRate, int channels);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)enableExternalAudioSink:(BOOL)enabled sampleRate:(NSUInteger)sampleRate channels:(NSUInteger)channels;</codeblock> 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 a2616b68b85..6d57a5ab827 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setExternalAudioSource(boolean enabled, int sampleRate, int channels, boolean localPlayback, boolean publish);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setExternalAudioSource:(BOOL)enabled sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels 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 6bba70c3641..b13d2fefe0c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setExternalVideoSource( boolean enable, boolean useTexture, Constants.ExternalVideoSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setExternalVideoSource(enable: boolean, useTexture: boolean, sourceType: Constants.ExternalVideoSourceType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setExternalVideoSource:(BOOL)enable useTexture:(BOOL)useTexture sourceType:(AgoraExternalVideoSourceType)sourceType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setExternalVideoSource( bool enabled, bool useTexture, EXTERNAL_VIDEO_SOURCE_TYPE sourceType = VIDEO_FRAME, 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 ab960dabc45..ae1004999aa 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregisteraudioframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract unregisterAudioFrameObserver(observer: IAudioFrameObserver): number;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita index edf8bfdd030..f03687f72be 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregisterfaceinfoobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="bp" outputclass="language-cpp"/> 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 0fa291a9b6d..2fa4bd47bc2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoencodedframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract unregisterVideoEncodedFrameObserver( 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 538bc0d8956..efd98098606 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_unregistervideoframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract unregisterVideoFrameObserver(observer: IVideoFrameObserver): number;</codeblock> 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 0c96f2ee242..47c1b645b5f 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_addlistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">addListener?<EventType extends keyof IMediaPlayerEvent>( 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 dea5a7226d8..5603a1bfb13 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int adjustPlayoutVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustPlayoutVolume:(int)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustPlayoutVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 a77348b88f9..206df9d6812 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int adjustPublishSignalVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustPublishSignalVolume:(int)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustPublishSignalVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 43f1f410681..ff06eda0e93 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_changeplaybackspeed.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int changePlaybackSpeed(Constants.MediaPlayerPlaybackSpeed speed);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)changePlaybackSpeed:(AgoraMediaPlayerSpeed)speed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int changePlaybackSpeed(media::base::MEDIA_PLAYER_PLAYBACK_SPEED speed) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 0e7354ddb9e..b11bb9677ab 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_enableautoswitchagoracdn.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int enableAutoSwitchAgoraCDN(boolean enable);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAutoSwitchAgoraCDN:(BOOL)enable;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableAutoSwitchAgoraCDN(bool enable) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract enableAutoSwitchAgoraCDN(enable: boolean): number;</codeblock> 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 cc573354c36..43ab8a7d647 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getagoracdnlinecount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getAgoraCDNLineCount();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getAgoraCDNLineCount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAgoraCDNLineCount() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getAgoraCDNLineCount(): number;</codeblock> 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 f45e4ae339b..5732295387b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getcurrentagoracdnindex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getCurrentAgoraCDNIndex();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getCurrentAgoraCDNIndex;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCurrentAgoraCDNIndex() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getCurrentAgoraCDNIndex(): number;</codeblock> 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 9a844a1a5f4..e96b18ff592 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">long getDuration();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)getDuration;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDuration(int64_t& duration) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 e660385e9ca..2e46694ed6d 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getMediaPlayerId();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getMediaPlayerId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getMediaPlayerId() const = 0; </codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 7ab2449b346..22dae74f736 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayersourceobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 aa3a4fdfec0..c52e8fe9d7a 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean getMute();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (bool)getMute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getMute(bool& mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 a94471ef70d..acd4d746fe1 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getPlayoutVolume();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getPlayoutVolume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlayoutVolume(int& volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 74a18e4c0e5..1c5a05423d9 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">long getPlayPosition();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)getPosition;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPlayPosition(int64_t& pos) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 d573f913e38..f0d26bdbb22 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">String getPlaySrc();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString *)getPlaySrc;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual const char* getPlaySrc() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 a0584fc618c..0c2b03af684 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getPublishSignalVolume();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getPublishSignalVolume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPublishSignalVolume(int& volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 268ca914afd..be2d8f69cb7 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">Constants.MediaPlayerState getState();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraMediaPlayerState)getPlayerState;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual media::base::MEDIA_PLAYER_STATE getState() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 6499ee296ad..34a3b96dc01 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getStreamCount();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)getStreamCount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getStreamCount(int64_t& count) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 14e83ee4eeb..7de0cb4d344 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">MediaStreamInfo getStreamInfo(int index);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraMediaStreamInfo *_Nullable)getStreamByIndex:(int)index;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getStreamInfo(int64_t index, media::base::PlayerStreamInfo* info) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita index 65b0f6fba6c..7e557be434c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_initeventhandler.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 47c6b7659af..799c02c4e11 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int mute(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)mute:(bool)isMute NS_SWIFT_NAME(mute(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int mute(bool muted) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 6e4cf24915f..f58ea95afc4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int open(String url, long startPos); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)open:(NSString *)url startPos:(NSInteger)startPos; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int open(const char* url, int64_t startPos) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_open2.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_open2.dita index feaa3329dcd..094e2d8f205 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_open2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_open2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int open(Uri uri, long startPos);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 1eb60b161c8..3c3b4bca0b1 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithagoracdnsrc.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int openWithAgoraCDNSrc(String src, long startPos); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)openWithAgoraCDNSrc:(NSString *)src startPos:(NSInteger)startPos; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int openWithAgoraCDNSrc(const char* src, int64_t startPos) = 0; diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita index 4770447c058..c1bbd1b37b0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int openWithCustomSource(long startPos, IMediaPlayerCustomDataProvider provider); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)openWithCustomSourceAtStartPos:(NSInteger)startPos withPlayerOnReadData:(AgoraRtcMediaPlayerCustomSourceOnReadCallback)onReadDataCallback andPlayerOnSeek:(AgoraRtcMediaPlayerCustomSourceOnSeekCallback)onSeekCallback; 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 196dde81293..9027c7d4d2c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int openWithMediaSource(MediaPlayerSource source);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)openWithMediaSource:(AgoraMediaSource *)source;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int openWithMediaSource(const media::base::MediaSource &source) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 1f9a3a75592..c9ad60f1352 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int pause(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pause; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pause() = 0;</codeblock> 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 fbd725f7102..e3a018e2ec5 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int play();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)play;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int play() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 fbfb170771b..ae688c3f5b0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int playPreloadedSrc(String src); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)playPreloadedSrc:(NSString *)src; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int playPreloadedSrc(const char* src) = 0; 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 e91d1aac2e3..5f10242db81 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int preloadSrc(String src, long startPos); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)preloadSrc:(NSString *)src startPos:(int)startPos; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int preloadSrc(const char* src, int64_t startPos) = 0; 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 506b1082da7..eabf6ab0e73 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"></codeblock> 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 893d4aef48a..283947d3eed 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract registerAudioFrameObserver(observer:IAudioFrameObserver):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer, RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0;</codeblock> 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 39eebaafe8c..6b03cd91190 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int registerPlayerObserver(IMediaPlayerObserver playerObserver); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 7e5d021df41..2d58e034850 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int registerVideoFrameObserver(IMediaPlayerVideoFrameObserver videoFrameObserver);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerVideoFrameObserver(media::base::IVideoFrameObserver* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 dd67ae6eaca..4e65f9f926c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeAllListeners?<EventType extends keyof IMediaPlayerEvent>( 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 b708a0be266..bf803ff2907 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_removeeventhandler.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 02304f66912..8a73d0e24d5 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_removelistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeListener?<EventType extends keyof IMediaPlayerEvent>( 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 b4664eae667..98901ee5edf 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_renewagoracdnsrctoken.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int renewAgoraCDNSrcToken(String token, long ts); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)renewAgoraCDNSrcToken:(NSString *)token ts:(NSInteger)ts; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int renewAgoraCDNSrcToken(const char* token, int64_t ts) = 0; 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 f5f4a789c6e..545412ebd82 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int resume();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)resume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int resume() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 1eef39ee4db..93b68241b41 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int seek(long newPos); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)seekToPosition:(NSInteger)position; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int seek(int64_t newPos) = 0;</codeblock> 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 2331b6d6f79..1d9a290e2ed 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int selectAudioTrack(int index);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)selectAudioTrack:(int)index;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int selectAudioTrack(int index) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 0bf6494fa06..c36e5d66e29 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_selectinternalsubtitle.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int selectInternalSubtitle(int index); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)selectInternalSubtitle:(int)index; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int selectInternalSubtitle(int index) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita index fcedac15a2b..3e5e5667c9c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_selectmultiaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int selectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)selectMultiAudioTrack:(NSInteger)playoutTrackIndex publishTrackIndex:(NSInteger)publishTrackIndex NS_SWIFT_NAME(selectMultiAudioTrack(_:publishTrackIndex:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int selectMultiAudioTrack(int playoutTrackIndex, int publishTrackIndex) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 c4fa63f1969..2129cd2b527 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setAudioDualMonoMode(int mode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioDualMonoMode:(AgoraAudioDualMonoMode)mode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioDualMonoMode(agora::media::base::AUDIO_DUAL_MONO_MODE mode) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 32213c86e80..252b47a2349 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setAudioPitch(int pitch);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioPitch:(NSInteger)pitch;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioPitch(int pitch) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 0d5eafdb9d0..2d177edcfe2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setexternalsubtitle.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setExternalSubtitle(String url); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setExternalSubtitle:(NSString *)url; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setExternalSubtitle(const char* url) = 0;</codeblock> 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 23a417d49c3..b2779ddbda7 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setLoopCount(int loopCount); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setLoopCount:(NSInteger)loopCount; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLoopCount(int loopCount) = 0;</codeblock> 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 613ec294c00..de0a75ef2f1 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setPlaybackSpeed(int speed);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setPlaybackSpeed:(int)speed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlaybackSpeed(int speed) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 e1d54d6e024..4a34c4b78a7 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setPlayerOption(String key, int value);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setPlayerOption:(NSString *)key value:(NSInteger)value NS_SWIFT_NAME(setPlayerOption(_:value:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlayerOption(const char* key, int64_t value) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setPlayerOptionInInt(key: string, value: number): number;</codeblock> 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 0aa63792533..5cc4c180315 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setPlayerOptionString(String key, String value);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setPlayerOptionString:(NSString *)key value:(NSString *)value NS_SWIFT_NAME(setPlayerOptionString(_:value:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlayerOption(const char* key, const char* value) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setPlayerOptionInString(key: string, value: string): number;</codeblock> 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 fc970949248..bd0cd66ff1b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setRenderMode(int mode); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setRenderMode:(AgoraMediaPlayerRenderMode)mode; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0;</codeblock> 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 cc255f8b534..9ceccac90b4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setSpatialAudioParams(SpatialAudioParams params);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSpatialAudioParams:(AgoraSpatialAudioParams* _Nonnull)params;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSpatialAudioParams(const SpatialAudioParams& params) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 b4b8a5ac0da..2a4cfcab036 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setView(View videoView); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setView:(View *_Nullable)view; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setView(media::base::view_t view) = 0;</codeblock> 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 c6caeb0608e..1e88b692805 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int stop(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)stop;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stop() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 79813e82811..97e59901e72 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnlinebyindex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int switchAgoraCDNLineByIndex(int index); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)switchAgoraCDNLineByIndex:(int)index; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int switchAgoraCDNLineByIndex(int index) = 0; 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 c935ea0c595..dcec8a55b33 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchagoracdnsrc.dita @@ -15,7 +15,8 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int switchAgoraCDNSrc(String src, boolean syncPts); </codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (int)switchAgoraCDNSrc:(NSString *)src syncPts:(BOOL)syncPts; + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (int)switchAgoraCDNSrc:(NSString *)src syncPts:(BOOL)syncPts; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int switchAgoraCDNSrc(const char* src, bool syncPts = false) = 0; </codeblock> 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 0c0063f9caa..a1bbacf146c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int switchSrc(String src, boolean syncPts); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)switchSrc:(NSString *)src syncPts:(BOOL)sync; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int switchSrc(const char* src, bool syncPts) = 0; 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 d6b1f819d63..d24240fbe96 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_takescreenshot.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int takeScreenshot(String filename); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)takeScreenshot:(NSString *)filename; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int takeScreenshot(const char* filename) = 0;</codeblock> 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 20fa9e97a01..d7ed46ab6c3 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int unloadSrc(String src); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)unloadSrc:(NSString *)src; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unloadSrc(const char* src) = 0; 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 a973f851dc5..67f87901a9c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisteraudioframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unregisterAudioFrameObserver(media::IAudioPcmFrameSink* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 715bdfbd515..ab17093aaf0 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int unRegisterPlayerObserver(IMediaPlayerObserver playerObserver);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unregisterPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 4bffd2955c9..2d73579d795 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregistervideoframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unregisterVideoFrameObserver(agora::media::base::IVideoFrameObserver* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") 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 b10edbfea08..4c9e2aa2d81 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_enableautoremovecache.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int enableAutoRemoveCache(boolean enable);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAutoRemoveCache:(BOOL)enable;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableAutoRemoveCache(bool enable) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 51273042f26..d71532f5f65 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachedir.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">String getCacheDir();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString *)cacheDir;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCacheDir(char* path, int length) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 6f1dd6bec6a..4382666d14c 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getcachefilecount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getCacheFileCount();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)cacheFileCount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCacheFileCount() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 465a9a38863..a4876ff91ef 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilecount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getMaxCacheFileCount();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)maxCacheFileCount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getMaxCacheFileCount() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 73ba51ffb1b..65ec24964df 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_getmaxcachefilesize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">long getMaxCacheFileSize();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)maxCacheFileSize;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int64_t getMaxCacheFileSize() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 c74499a7165..bc7fd8309f8 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeallcaches.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int removeAllCaches();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)removeAllCaches;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removeAllCaches() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 9a8200d577c..3374e1c88eb 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removecachebyuri.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int removeCacheByUri(String uri);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)removeCacheByUri:(NSString *)uri;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removeCacheByUri(const char *uri) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 ccf90c8fab8..d4bdf2878fe 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_removeoldcache.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int removeOldCache();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)removeOldCache;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removeOldCache() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 7333f9d5dc3..57d84446446 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setcachedir.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setCacheDir(String path);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setCacheDir:(NSString *)cacheDir;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCacheDir(const char *path) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 bd874404737..18b014dbfc4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilecount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setMaxCacheFileCount(int count);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setMaxCacheFileCount:(NSInteger)count;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setMaxCacheFileCount(int count) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 2f5453d47c1..ea62b851ab2 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_setmaxcachefilesize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int setMaxCacheFileSize(long cacheSize);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setMaxCacheFileSize:(NSInteger)cacheSize;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setMaxCacheFileSize(int64_t cacheSize) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayerCacheManager") 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 2cc6adc1309..79e397bdb27 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayercachemanager_sharedinstance.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (instancetype)sharedInstance;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 d15adace99a..9cc5e4f6f88 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_addlistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">addListener?<EventType extends keyof IMediaRecorderEvent>( 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 a3b88025ef3..5935f98a089 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_enablemainqueuedispatch.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableMainQueueDispatch:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 4d4fc3bf0f9..058db9ecdb0 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_release.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void release()</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (void)destroy;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract release(): void;</codeblock> 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 d74ca8b184c..44a2ac1905b 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_removealllisteners.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeAllListeners?<EventType extends keyof IMediaRecorderEvent>( 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 747304c7d4e..189428dc757 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_removelistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeListener?<EventType extends keyof IMediaRecorderEvent>( 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 7d68a824474..3499845d43d 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public int setMediaRecorderObserver(IMediaRecorderCallback callback)</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setMediaRecorderObserver(callback: IMediaRecorderCallback | null): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setMediaRecorderDelegate:(id<AgoraMediaRecorderDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setMediaRecorderObserver(media::IMediaRecorderObserver* callback) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") 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 b048a69f1c5..e3d90c697b1 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_startrecording.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_startrecording.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public int startRecording(MediaRecorderConfiguration config)</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startRecording(config: MediaRecorderConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startRecording:(AgoraMediaRecorderConfiguration* _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startRecording(const media::MediaRecorderConfiguration& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") 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 d6369c4d67f..ed1ec5c340a 100644 --- a/en-US/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita +++ b/en-US/dita/RTC-NG/API/api_imediarecorder_stoprecording.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public int stopRecording()</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopRecording(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopRecording;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopRecording() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IMediaRecorder") 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 e0327f4b5f3..9b5bb73379e 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_createmusicplayer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract IAgoraMusicPlayer createMusicPlayer();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">(id<AgoraMusicPlayerProtocol> _Nullable)createMusicPlayerWithDelegate:(id<AgoraRtcMediaPlayerDelegate> _Nullable)delegate NS_SWIFT_NAME(createMusicPlayer(delegate:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual agora_refptr<IMusicPlayer> createMusicPlayer() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract createMusicPlayer(): IMusicPlayer;</codeblock> 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 ea75027c605..f0c90ef022b 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -19,6 +19,7 @@ mInstance.release(); mInstance = null; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (void)destroy;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5bfd494277f..f233753116c 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_enablemainqueuedispatch.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)enableMainQueueDispatch:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 7eae5b4d4f7..eefa4ced277 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract MusicCacheInfo[] getCaches();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSArray *)getCaches NS_SWIFT_NAME(getCaches());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCaches(MusicCacheInfo *cacheInfo, int32_t* cacheInfoSize) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getCaches(): { cacheInfo: MusicCacheInfo[]; cacheInfoSize: number };</codeblock> 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 b5c147439be..2b96817082a 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getlyric.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String getLyric(long songCode, int lyricType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString *)getLyricWithSongCode:(NSInteger)songCode lyricType:(NSInteger)lyricType NS_SWIFT_NAME(getLyric(songCode:lyricType:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getLyric(agora::util::AString& requestId, int64_t songCode, int32_t LyricType = 0) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getLyric(songCode: number, lyricType?: number): string;</codeblock> 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 7a2f6a94345..37f3bbf0ebf 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccharts.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String getMusicCharts();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString *)getMusicCharts;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getMusicCharts(agora::util::AString& requestId) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getMusicCharts(): string;</codeblock> 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 093977f614b..eadea6c034b 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public String getMusicCollectionByMusicChartId(int musicChartId, int page, int pageSize) { return getMusicCollectionByMusicChartId(musicChartId, page, pageSize, null); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString *)getMusicCollectionWithMusicChartId:(NSInteger)musicChartId page:(NSInteger)page pageSize:(NSInteger)pageSize jsonOption:(NSString * _Nullable)jsonOption NS_SWIFT_NAME(getMusicCollection(musicChartId:page:pageSize:jsonOption:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getMusicCollectionByMusicChartId(agora::util::AString& requestId, int32_t musicChartId, int32_t page, int32_t pageSize, const char* jsonOption = nullptr) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getMusicCollectionByMusicChartId( 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 1f4b4c8a02f..330aae2961c 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_getmusiccollectionbymusicchartid2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String getMusicCollectionByMusicChartId( int musicChartId, int page, int pageSize, String jsonOption);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 4c3f11cd4ed..39a11390276 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_initialize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int initialize(MusicContentCenterConfiguration configuration);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (instancetype)sharedContentCenterWithConfig:(AgoraMusicContentCenterConfig *)config NS_SWIFT_NAME(sharedContentCenter(config:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int initialize(const MusicContentCenterConfiguration & configuration) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract initialize(configuration: MusicContentCenterConfiguration): number;</codeblock> 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 cd18f815650..2f46b96ce41 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_ispreloaded.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int isPreloaded(long songCode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)isPreloadedWithSongCode:(NSInteger)songCode NS_SWIFT_NAME(isPreloaded(songCode:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int isPreloaded(int64_t songCode) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract isPreloaded(songCode: number): number;</codeblock> 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 046e86de29e..7b23415e97c 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_registereventhandler.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerEventHandler(IMusicContentCenterEventHandler eventHandler);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)registerEventDelegate:(id<AgoraMusicContentCenterEventDelegate> _Nullable)eventDelegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerEventHandler(IMusicContentCenterEventHandler* eventHandler) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract registerEventHandler( 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 fae3d50bf0f..53c1d1365dd 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_release.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">protected abstract void release();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract release(): void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract release(): void;</codeblock> 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 bb54b2ef11f..63db586172d 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_removecache.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int removeCache(long songCode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)removeCacheWithSongCode:(NSInteger)songCode NS_SWIFT_NAME(removeCache(songCode:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removeCache(int64_t songCode) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract removeCache(songCode: number): number;</codeblock> 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 f3756e9878f..8080d8540a6 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_renewtoken.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int renewToken(String token);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)renewToken:(NSString * _Nonnull)token;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int renewToken(const char* token) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract renewToken(token: string): number;</codeblock> 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 c2fc32ca079..314499a05be 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public String searchMusic(String keyword, int page, int pageSize) { return searchMusic(keyword, page, pageSize, null); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString *)searchMusicWithKeyWord:(NSString *)keyWord page:(NSInteger)page pageSize:(NSInteger)pageSize jsonOption:(NSString * _Nullable)jsonOption NS_SWIFT_NAME(searchMusic(keyWord:page:pageSize:jsonOption:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int searchMusic(agora::util::AString& requestId, const char* keyWord, int32_t page, int32_t pageSize, const char* jsonOption = nullptr) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract searchMusic( 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 23cac867329..efae2ecadbb 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_searchmusic2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String searchMusic(String keyword, int page, int pageSize, String jsonOption);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 0d16216c7c9..3c8cdf4a10b 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_unregistereventhandler.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int unregisterEventHandler();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unregisterEventHandler() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract unregisterEventHandler(): number;</codeblock> 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 945bcda988f..61ba7688dde 100644 --- a/en-US/dita/RTC-NG/API/api_imusicontentcenter_preload.dita +++ b/en-US/dita/RTC-NG/API/api_imusicontentcenter_preload.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int preload(long songCode, String jsonOption);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)preloadWithSongCode:(NSInteger)songCode jsonOption:(NSString* _Nullable)jsonOption NS_SWIFT_NAME(preload(songCode:jsonOption:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int preload(int64_t songCode, const char* jsonOption = nullptr) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract preload(songCode: number, jsonOption?: string): number;</codeblock> 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 a02f4ec2e2c..936532ba36e 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_getplaysrc.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">@Override String getPlaySrc();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 67ddcd9d2ba..db4d1f2f825 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_open.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_open.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int open(long songCode, long startPos);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)openMediaWithSongCode:(NSInteger)songCode startPos:(NSInteger)startPos NS_SWIFT_NAME(openMedia(songCode:startPos:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int open(int64_t songCode, int64_t startPos = 0) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract openWithSongCode(songCode: number, startPos?: number): number;</codeblock> 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 70bc123e4d4..fa578f48459 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_open2.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_open2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">@Override int open(String url, long startPos);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 25f48767dc8..c8ba9ae83ee 100644 --- a/en-US/dita/RTC-NG/API/api_imusicplayer_stop.dita +++ b/en-US/dita/RTC-NG/API/api_imusicplayer_stop.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">@Override int stop();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 6aa7973956f..9daf4f407ff 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addextension.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void addExtension(String providerName) { mExtensionList.add(providerName); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 17e99645adc..1291adecc41 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addhandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addhandler.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void addHandler(IRtcEngineEventHandler handler) { mInstance.addHandler(handler); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract registerEventHandler(eventHandler: IRtcEngineEventHandler): boolean;</codeblock> 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 028041b353b..06f6b433f7b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addlistener.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addlistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">addListener?<EventType extends keyof IRtcEngineEvent>( 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 8e3019ba07a..29a5c4c8c8c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int addPublishStreamUrl(String url, boolean transcodingEnabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)addPublishStreamUrl:(NSString* _Nonnull)url transcodingEnabled:(BOOL)transcodingEnabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int addPublishStreamUrl(const char* url, bool transcodingEnabled) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract addPublishStreamUrl(url: string, transcodingEnabled: boolean): number;</codeblock> 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 d5be13c1c07..526ec179ec8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int addVideoWatermark(AgoraImage watermark);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)addVideoWatermark:(AgoraImage * _Nonnull)watermark</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int addVideoWatermark(const RtcImage& watermark) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract addVideoWatermark(watermarkUrl: string, options: WatermarkOptions): number;</codeblock> 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 1f9dea8c8ef..6a0f4ed4937 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_addvideowatermark2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int addVideoWatermark(String watermarkUrl, WatermarkOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)addVideoWatermark:(NSURL* _Nonnull)url options:(WatermarkOptions* _Nonnull)options;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 a07bf4dfa8e..89a27884908 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingplayoutvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustAudioMixingPlayoutVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract adjustAudioMixingPlayoutVolume(volume: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustAudioMixingPlayoutVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustAudioMixingPlayoutVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 341b628323c..c0404584144 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingpublishvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustAudioMixingPublishVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract adjustAudioMixingPublishVolume(volume: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustAudioMixingPublishVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustAudioMixingPublishVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7771c61ad76..f119b6b2c12 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustaudiomixingvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustAudioMixingVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract adjustAudioMixingVolume(volume: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustAudioMixingVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustAudioMixingVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6e2b8853d28..01eca88e3b8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudioplayoutvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustCustomAudioPlayoutVolume(int trackId, int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustCustomAudioPlayoutVolume:(NSInteger)trackId volume:(NSInteger)volume NS_SWIFT_NAME(adjustCustomAudioPlayoutVolume(_:volume:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustCustomAudioPlayoutVolume(track_id_t trackId, int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 92640686b39..5a5419260c9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustcustomaudiopublishvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustCustomAudioPublishVolume(int trackId, int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustCustomAudioPublishVolume:(NSInteger)trackId volume:(NSInteger)volume NS_SWIFT_NAME(adjustCustomAudioPublishVolume(_:volume:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustCustomAudioPublishVolume(track_id_t trackId, int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 83b9a956983..49f885e6a6f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustloopbacksignalvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)adjustLoopbackSignalVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustLoopbackSignalVolume(int volume) = 0; </codeblock> 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 0ab5ed1a010..d57ce25ac54 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustplaybacksignalvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustPlaybackSignalVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract adjustPlaybackSignalVolume(volume: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustPlaybackSignalVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustPlaybackSignalVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 2c070dc9fc3..c48ff164e1e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustRecordingSignalVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract adjustRecordingSignalVolume(volume: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustRecordingSignalVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustRecordingSignalVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 1973c2bbab2..6e449d3e20b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustUserPlaybackSignalVolume(int uid, int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustUserPlaybackSignalVolume:(NSUInteger)uid volume:(int)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 3f9d3bd5bfa..fd8e02e2f8a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int clearVideoWatermarks();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract clearVideoWatermarks(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)clearVideoWatermarks;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int clearVideoWatermarks() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 dc9e9c7ad1e..a7065fa9dbb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_complain.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_complain.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int complain(String callId, String description);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)complain:(NSString * _Nonnull)callId description:(NSString * _Nullable)description;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int complain(const char* callId, const char* description) = 0;</codeblock> 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 7502da81fbf..5c438a61c2c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_configrhythmplayer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int configRhythmPlayer(AgoraRhythmPlayerConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)configRhythmPlayer:(AgoraRhythmPlayerConfig * _Nullable)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 0f308d42004..9934b9d2059 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_create.dita @@ -16,6 +16,13 @@ <codeblock props="android" outputclass="language-java">public static synchronized RtcEngine create( Context context, String appId, IRtcEngineEventHandler handler) throws Exception {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public static createEngine(context: Context, appID: string, handler: IRtcEngineEventHandler): RtcEngine { + let config = new RtcEngineConfig(); + config.mContext = context; + config.mAppId = appID; + config.mEventHandler = handler; + return RtcEngineImpl.createEngineImpl(config); + }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> 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 90c9e7e900f..5864038ba7b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createCustomEncodedVideoTrack(EncodedVideoTrackOptions encodedOpt);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (unsigned int)createCustomEncodedVideoTrack:(AgoraEncodedVideoTrackOptions* _Nonnull)encodedVideoTrackOption;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions& sender_option) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 9e3966dd69a..7bec37ac0d8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createCustomVideoTrack();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract createCustomVideoTrack(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (unsigned int)createCustomVideoTrack;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual video_track_id_t createCustomVideoTrack() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 8bf3b21bcb9..c62160041c4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createDataStream(boolean reliable, boolean ordered);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)createDataStream:(NSInteger * _Nonnull)streamId reliable:(BOOL)reliable ordered:(BOOL)ordered;</codeblock> 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 95388169a1c..87a5e6cbe8c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createDataStream(DataStreamConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract createDataStream(config: DataStreamConfig): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)createDataStream:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0;</codeblock> 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 6d5a05e1c7b..ba0e6557d45 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract IMediaPlayer createMediaPlayer();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (id<AgoraRtcMediaPlayerProtocol>_Nullable)createMediaPlayerWithDelegate: (id<AgoraRtcMediaPlayerDelegate>_Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual agora_refptr <IMediaPlayer> createMediaPlayer() = 0;</codeblock> 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 5de78f76702..fb7fac8ac98 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createmediarecorder.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract AgoraMediaRecorder createMediaRecorder(RecorderStreamInfo info);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract createMediaRecorder(info: RecorderStreamInfo): AgoraMediaRecorder;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraMediaRecorder * _Nullable)createMediaRecorder:(AgoraRecorderStreamInfo * _Nonnull)info NS_SWIFT_NAME(createMediaRecorder(withInfo:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual agora_refptr<IMediaRecorder> createMediaRecorder(const RecorderStreamInfo& info) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 052b7e3ad2a..fc2f15286f5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createrendererview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createrendererview.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public static SurfaceView CreateRendererView(Context context) { return new SurfaceView(context);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 753ad402f06..9c115bbe1ff 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createtextureview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createtextureview.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public static TextureView CreateTextureView(Context context) { return new TextureView(context);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 ae4e1f297ac..81e67c67589 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createwithareacode.dita @@ -15,6 +15,7 @@ Create the </ph> object and return the pointer.</shortdesc> <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5a01c98d127..58380ae3b7a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_createwithconfig.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 632dfc7fcd2..d4005ef1456 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_delegate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_delegate.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">@property(nonatomic, weak) id<AgoraRtcEngineDelegate> _Nullable delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 90b4ab22532..817c30c6a22 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomencodedvideotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int destroyCustomEncodedVideoTrack(int video_track_id);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)destroyCustomEncodedVideoTrack:(NSUInteger)position;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 51488528b67..ba9b1cb5cf9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int destroyCustomVideoTrack(int video_track_id);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract destroyCustomVideoTrack(videoTrackId: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)destroyCustomVideoTrack:(NSUInteger)videoTrackId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 29dd6def255..d596fc614b1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int destroy(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)destroyMediaPlayer:(id<AgoraRtcMediaPlayerProtocol>_Nullable)mediaPlayer; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0;</codeblock> 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 9c9b45ac387..eee5fface74 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract void destroyMediaRecorder(AgoraMediaRecorder mediaRecorder);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract destroyMediaRecorder(recorder: AgoraMediaRecorder): void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)destroyMediaRecorder:(AgoraMediaRecorder * _Nullable)mediaRecorder;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int destroyMediaRecorder(agora_refptr<IMediaRecorder> mediaRecorder) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 95a56469157..ce307ba034b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrenderer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita index dc8c7612497..cf3c73e1434 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyconfig.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract destroyRendererByConfig(sourceType: VideoSourceType, channelId?: string, uid?: number): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita index 6da1688256a..4847a583b16 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroyrendererbyview.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract destroyRendererByView(view: any): void;</codeblock> 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 f152b111c05..3b89f3470f9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_devicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_devicemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 f7b0d6af8f3..bfd09b648e4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disableaudio.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int disableAudio();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract disableAudio(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)disableAudio;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int disableAudio() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 e7c4fc073f0..1aef5ca4388 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disableaudiospectrummonitor.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int disableAudioSpectrumMonitor();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)disableAudioSpectrumMonitor;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int disableAudioSpectrumMonitor() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f300fd94ba4..ed46ef2b417 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disablelastmiletest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int disableLastmileTest() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 978037c7b37..6d9a85351b5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_disablevideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_disablevideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int disableVideo();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract disableVideo(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)disableVideo;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int disableVideo() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 748a3f01984..6429e2bdd00 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudio.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableAudio();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableAudio(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAudio;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableAudio() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 865bf9cb081..dab74509309 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableAudioQualityIndication(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 bf4c99ad2f2..98ce77e5b1d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiospectrummonitor.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableAudioSpectrumMonitor(int intervalInMS);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAudioSpectrumMonitor:(int)intervalInMS;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 4c3a483d27a..fcde99b986d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableaudiovolumeindication.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableAudioVolumeIndication(int interval, int smooth, boolean reportVad);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableAudioVolumeIndication(interval: number, smooth: number, reportVad: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAudioVolumeIndication:(NSInteger)interval smooth:(NSInteger)smooth reportVad:(BOOL)reportVad;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita index 984e4ec5808..2aab42e8ba0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablecameracenterstage.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableCameraCenterStage:(BOOL)enabled NS_SWIFT_NAME(enableCameraCenterStage(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableCameraCenterStage(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 9bef4625620..1ed96248c97 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableContentInspect(boolean enabled, ContentInspectConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableContentInspect:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6ba1e17dda8..49f90530ca4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablecustomaudiolocalplayback.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <codeblock props="android" outputclass="language-java">public abstract int enableCustomAudioLocalPlayback(int trackId, boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableCustomAudioLocalPlayback:(NSInteger)trackId enabled:(BOOL)enabled NS_SWIFT_NAME(enableCustomAudioLocalPlayback(_:enabled:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableCustomAudioLocalPlayback(track_id_t trackId, bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita index 94a73703175..4f7cf72f5ca 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableDualStreamMode(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableDualStreamMode:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableDualStreamMode(bool enabled) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript" /> 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 f79c8b4f19b..a279d9a3bad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableDualStreamMode(Constants.VideoSourceType sourceType, boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableDualStreamMode:(AgoraVideoSourceType)sourceType enabled:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableDualStreamMode(VIDEO_SOURCE_TYPE sourceType, bool enabled) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract enableDualStreamMode( 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 2b609a67bcf..cc0bd587952 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableDualStreamMode(boolean enabled, SimulcastStreamConfig streamConfig);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableDualStreamMode:(BOOL)enabled streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableDualStreamMode(bool enabled, const SimulcastStreamConfig& streamConfig) = 0;</codeblock> 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 256c3fc2e58..451d1e0a241 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableechocancellationexternal.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableEchoCancellationExternal(boolean enabled, int audioSourceDelay);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableEchoCancellationExternal:(BOOL)enabled audioSourceDelay:(NSInteger)audioSourceDelay;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableEchoCancellationExternal(bool enabled, int audioSourceDelay) = 0;</codeblock> 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 b85f7a3623f..822cfbab8c4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableEncryption(boolean enabled, EncryptionConfig config);</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableEncryption:(bool)enabled encryptionConfig:(AgoraEncryptionConfig * _Nonnull)config;</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableEncryption(enabled: boolean, config: EncryptionConfig): number;</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableEncryption:(bool)enabled encryptionConfig:(AgoraEncryptionConfig * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") int EnableEncryption(bool enabled, const FEncryptionConfig& config);</codeblock> 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 124e0eb4b9c..59675aeed85 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableExtension( String provider, String extension, boolean enable, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableExtension(provider:string,extension:string,enable:boolean,extensionInfo:ExtensionInfo):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableExtensionWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension enabled:(BOOL)enabled 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 0312229f77f..33b81d76790 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableFaceDetection(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableFaceDetection(enabled: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-cpp">- (int)enableFaceDetection:(bool)enable NS_SWIFT_NAME(enableFaceDetection(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableFaceDetection(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 cc663615d0b..ebba7f7cf67 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablefishcorrection.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 1a1bc25aea6..6957327e9e9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableInEarMonitoring(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableInEarMonitoring:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5271b2a2bf1..49683046438 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableInEarMonitoring(boolean enabled, int includeAudioFilters);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableInEarMonitoring:(BOOL)enabled includeAudioFilters:(AgoraEarMonitoringFilterType)includeAudioFilters;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 06bc15c3ac2..46d5a2facd1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableInstantMediaRendering();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableInstantMediaRendering NS_SWIFT_NAME(enableInstantMediaRendering());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableInstantMediaRendering() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 d9b36965bfa..b017c7fae89 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablelastmiletest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableLastmileTest() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 20568ddcdc0..c62cb63fcc5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableLocalAudio(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableLocalAudio(enabled: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableLocalAudio:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableLocalAudio(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 a00f7f0f8ff..3edfb4f1ade 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablelocalvideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableLocalVideo(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableLocalVideo(enabled: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableLocalVideo:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableLocalVideo(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 90786f65e05..db194674b5d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableLoopbackRecording:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName NS_SWIFT_NAME(enableLoopbackRecording(_:deviceName:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"> virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 81537e94260..e29c5ee63fc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablemainqueuedispatch.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableMainQueueDispatch:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeAllListeners?<EventType extends keyof IMediaEngineEvent>( 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 0410d849152..0e98c294cbf 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablemulticamera.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableMultiCamera:(BOOL)enabled config:(AgoraCameraCapturerConfiguration* _Nullable)config NS_SWIFT_NAME(enableMultiCamera(_:config:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">#if defined(__APPLE__) && TARGET_OS_IOS virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration& config) = 0; 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 9128972c0b2..c5d04c1fba2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableplugin.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableplugin.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 c2e21930eaa..99a9adb9eae 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablesoundpositionindication.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableSoundPositionIndication(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableSoundPositionIndication:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableSoundPositionIndication(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7a39469d6c6..783348d3c0c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablespatialaudio.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableSpatialAudio(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableSpatialAudio:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableSpatialAudio(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 80175e55f71..8f4e4423cad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableVideo();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableVideo(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableVideo;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableVideo() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 95afdbdecad..8c764d5b484 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevideoimagesource.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableVideoImageSource(boolean enabled, ImageTrackOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) enableVideoImageSource:(BOOL)enable options:(AgoraImageTrackOptions *_Nullable)options;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableVideoImageSource(bool enable, const ImageTrackOptions& options) = 0;</codeblock> 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 d94e87eff82..edfb9c23076 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract int enableVirtualBackground( boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:));</codeblock> <codeblock props="cpp unreal">virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; </codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita index bd24773d35e..e04af26c525 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground2.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract int enableVirtualBackground(boolean enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract enableVirtualBackground(enabled:boolean,backgroundSource:VirtualBackgroundSource,segproperty:SegmentationProperty,sourceType?:Constants.MediaSourceType):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableVirtualBackground:(BOOL)enable backData:(AgoraVirtualBackgroundSource* _Nullable)backData segData:(AgoraSegmentationProperty* _Nullable)segData sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(enableVirtualBackground(_:backData:segData:sourceType:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"></codeblock> <codeblock props="bp" outputclass="language-cpp"></codeblock> 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 92320c3c94a..7dda5c2559e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablewebsdkinteroperability.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableWebSdkInteroperability(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableWebSdkInteroperability:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableWebSdkInteroperability(bool enabled) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 cfe7dd86ef2..231607c2fee 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablewirelessaccelerate.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableWirelessAccelerate(bool enabled) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 38a9a99df98..8d9b3819605 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (NSArray<AgoraRtcDeviceInfo *> * _Nullable)enumerateDevices:(AgoraMediaDeviceType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 bfa545f2a3a..69517c0688f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratedisplays.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 f1cd234bdf0..6430da89530 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enumeratewindows.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 c2bed88a4a1..be7f775bb13 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudioplaybackdevicemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 74ed558f5be..f1491ad07b8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcaudiorecordingdevicemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 2c106ce0a69..95f39ebe4e4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcmediaplayer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 37c230af7df..35ee0cfaac2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getagorartcvideodevicemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 d140b7d950a..db2d32253df 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodeviceinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract DeviceInfo getAudioDeviceInfo();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bf052b0a66c..5e8aba0f1bd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiodevicemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract getAudioDeviceManager(): IAudioDeviceManager;</codeblock> 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 ee672c90cb8..8b6ac316403 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudioeffectmanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract IAudioEffectManager getAudioEffectManager();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 4428ab44d3c..66e815d7932 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiofileinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 d900a2dbad9..0ba2c6f9dd8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingcurrentposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getAudioMixingCurrentPosition();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getAudioMixingCurrentPosition(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getAudioMixingCurrentPosition;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAudioMixingCurrentPosition() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 96457eb2ccc..e7b5c05cc6d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingduration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getAudioMixingDuration();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getAudioMixingDuration():number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getAudioMixingDuration;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAudioMixingDuration() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 498ba976fe3..fae185d0a22 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getAudioMixingPlayoutVolume();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getAudioMixingPlayoutVolume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAudioMixingPlayoutVolume() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 772db21ca94..1269b9ec463 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getAudioMixingPublishVolume();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getAudioMixingPublishVolume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAudioMixingPublishVolume() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 36d9c224bad..9ad52a48c5e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudioplaybackdevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 2509b48bc0d..04d9b4c22fc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiorecordingdevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 1bb3244dba7..4b447c14c63 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiotrackcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getAudioTrackCount();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getAudioTrackCount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getAudioTrackCount() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 761ba037f2b..c96f6b6802e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getbuffertype.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual agora::media::ExternalVideoFrame::VIDEO_PIXEL_FORMAT getBufferType() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 45a04c33212..d4913e1a5ec 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String getCallId();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getCallId(): string;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString * _Nullable)getCallId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCallId(agora::util::AString& callId) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 a2813ab2cde..1e39b68c172 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract float getCameraMaxZoomFactor();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getCameraMaxZoomFactor():number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (CGFloat)cameraMaxZoomFactor;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual float getCameraMaxZoomFactor() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 891cf61b720..21035ec8238 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getconnectionstate.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract RtcConnection.CONNECTION_STATE_TYPE getConnectionState();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraConnectionState)getConnectionState;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual CONNECTION_STATE_TYPE getConnectionState() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 9832c9a832f..e8b01a766eb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcurrentmonotonictimeinms.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract long getCurrentMonotonicTimeInMs();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getCurrentMonotonicTimeInMs(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int64_t)getCurrentMonotonicTimeInMs NS_SWIFT_NAME(getCurrentMonotonicTimeInMs());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int64_t getCurrentMonotonicTimeInMs() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6f5650039ae..49d25c91fa4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getdeviceinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (AgoraRtcDeviceInfo * _Nullable)getDeviceInfo:(AgoraMediaDeviceType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 565ca9e5f12..7f48d8a8b6f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getdevicevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)getDeviceVolume:(AgoraMediaDeviceType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 a6cc9198d85..e26f3b06fa0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita @@ -14,7 +14,9 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public int getEffectCurrentPosition(int soundId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectCurrentPosition:(int)soundId NS_SWIFT_NAME(getEffectCurrentPosition(_:));</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectCurrentPosition:(int)soundId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getEffectCurrentPosition(int soundId) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6eec90c7cbf..f9dd8404c3a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectduration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getEffectDuration(String filePath);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectDuration:(NSString* _Nonnull)filePath NS_SWIFT_NAME(getEffectDuration(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getEffectDuration(const char* filePath) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f0f4a70acab..266c9146e14 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geteffectsvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public double getEffectsVolume();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectsVolume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getEffectsVolume() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ebd78fefbbb..20043f3bc3f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public static String getErrorDescription(int error)</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (NSString* _Nonnull)getErrorDescription: (NSInteger)error;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual const char* getErrorDescription(int code) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita index 4770eb88b7e..815cbdc4afe 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String getExtensionProperty(String provider, String extension, String key); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension key:(NSString * __nonnull)key; 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 0430fd24808..4b6017d9f93 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract String getExtensionProperty( String provider, String extension, String key, Constants.MediaSourceType sourceType); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension key:(NSString * __nonnull)key 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 49b05e13a6a..81284548bf6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getlocalspatialaudioengine.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract getLocalSpatialAudioEngine(): ILocalSpatialAudioEngine;</codeblock> 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 b36530f65d4..991e33740da 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getloopbackrecordingvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getLoopbackRecordingVolume() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript" /> 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 1afcbd354bc..57248557694 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getmediaengine.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getMediaEngine(): IMediaEngine;</codeblock> 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 530ede0cc8e..de77ad69072 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getmediarecorder.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public static synchronized AgoraMediaRecorder getMediaRecorder(RtcEngine engine)</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (instancetype _Nonnull)sharedMediaRecorderWithRtcEngine:(AgoraRtcEngineKit* _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getMediaRecorder(): IMediaRecorder;</codeblock> 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 515582819b4..60b638432f0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getmusiccontentcenter.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getMusicContentCenter(): IMusicContentCenter;</codeblock> 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 8e68a001bfa..c9f8ff09961 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract long getNativeHandle();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getNativeHandle():bigint;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void* _Nullable)getNativeHandle;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getNativeHandle(): number;</codeblock> 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 dd300e9bffe..67f626da87c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getnetworktype.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getNetworkType();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) getNetworkType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getNetworkType() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 60bbb2494c9..38f977efad0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getntpwalltimeinms.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract long getNtpWallTimeInMs();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (uint64_t)getNtpWallTimeInMs;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual uint64_t getNtpWallTimeInMs() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7dc8a386400..8e9bad2727e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getpluginparameter.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 482198cefa5..95d8be88842 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getplugins.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getplugins.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 9c6fb51f5b8..f5625881102 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getrtcengineeventhandler.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 8c549f7f183..051dc47567d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSArray<AgoraScreenCaptureSourceInfo*>* _Nullable)getScreenCaptureSourcesWithThumbSize:(NSSize)thumbSize iconSize:(NSSize)iconSize includeScreen:(BOOL)includeScreen; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0;</codeblock> 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 7f7a13fcef1..71ad06132f2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreensharehelper.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 2d68b1dd89d..27dd8cf0b0d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreensinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 209d19c5753..17c9f520e3c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getUserInfoByUid(int uid, UserInfo userInfo);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraUserInfo* _Nullable)getUserInfoByUid:(NSUInteger)uid withError:(AgoraErrorCode* _Nullable)error;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo* userInfo, const char* channelId = NULL, const char* localUserAccount = NULL) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 57c8cee2139..ca95b19abd0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getuserinfobyuseraccount.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraUserInfo* _Nullable)getUserInfoByUserAccount:(NSString* _Nonnull)userAccount withError:(AgoraErrorCode* _Nullable)error;</codeblock> <codeblock props="android" outputclass="language-java">public abstract int getUserInfoByUserAccount(String userAccount, UserInfo userInfo);</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getUserInfoByUserAccount(const char* userAccount, rtc::UserInfo* userInfo, const char* channelId = NULL, const char* localUserAccount = NULL) = 0;</codeblock> 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 9b596bc6da3..f606e8ad8fb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public static String getSdkVersion()</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (NSString * _Nonnull)getSdkVersion;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual const char* getVersion(int* build) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f62fc4b7b37..23163e94e62 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideocapturetype.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual VIDEO_CAPTURE_TYPE getVideoCaptureType() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 1e57c234c87..459ceabf0cc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideocontenthint.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual VideoContentHint getVideoContentHint() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 f8c8ef5ddbb..7077862ad3c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevicemanager.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">abstract getVideoDeviceManager(): IVideoDeviceManager;</codeblock> 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 d412f30c61f..32d3c6a0878 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideodevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 99e9d2c6232..c6ec41e8ec1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvideosourcetype.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 aa05fe0cef1..b073be7091f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getvolumeofeffect.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getVolumeOfEffect(int soundId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getVolumeOfEffect:(int)soundId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getVolumeOfEffect(int soundId) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 3f4b370f9ff..b252305c4c7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getwindowsinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 44fa7adefd8..353cdd5fcbc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public static synchronized RtcEngine create(RtcEngineConfig config) throws Exception {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (instancetype _Nonnull)sharedEngineWithConfig:(AgoraRtcEngineConfig * _Nonnull)config delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int initialize(const RtcEngineContext& context) = 0;</codeblock> 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 8e9c1e9d488..323a9f4a575 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraAutoExposureFaceModeSupported;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraAutoExposureFaceModeSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 68bc3cac16c..f11c10eb563 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraAutoFocusFaceModeSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraAutoFocusFaceModeSupported;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraAutoFocusFaceModeSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita index 73ca82084d8..a444a5cb60f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameracenterstagesupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraCenterStageSupported NS_SWIFT_NAME(isCameraCenterStageSupported());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraCenterStageSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 e135ef09fa7..9c50c22ce98 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraExposurePositionSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraExposurePositionSupported;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraExposurePositionSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 3fcfe0fbafc..5d28d6b10b3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraExposureSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraExposureSupported NS_SWIFT_NAME(isCameraExposureSupported());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraExposureSupported() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"></codeblock> 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 4360efcbb0f..eebca8b4d8a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraFaceDetectSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraFaceDetectSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bf1bb5f4afe..f21f0e85aba 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafocussupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraFocusSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract isCameraFocusSupported(): boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraFocusPositionInPreviewSupported;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraFocusSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 4885c2ed7fa..8203439b7d3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameratorchsupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraTorchSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraTorchSupported NS_SWIFT_NAME(isCameraTorchSupported());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraTorchSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 55ffda67e20..810d112dc8b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isCameraZoomSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isCameraZoomSupported;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isCameraZoomSupported() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita b/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita index 7e1cb8789ee..69ed9a29869 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_isfeatureavailableondevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isFeatureAvailableOnDevice(int type);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type;</codeblock> <codeblock props="cpp unreal bp" outputclass="language-cpp">virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0;</codeblock> <codeblock props="unity cs" outputclass="language-csharp">public abstract bool IsFeatureAvailableOnDevice(FeatureType type);</codeblock> 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 31cda8a824c..a35c181c803 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isSpeakerphoneEnabled();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract isSpeakerphoneEnabled(): boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)isSpeakerphoneEnabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isSpeakerphoneEnabled() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f8be24cef20..1432e6b1300 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_istextureencodesupported.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean isTextureEncodeSupported();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 974b49cb64b..cfd145f8e60 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int joinChannel( String token, String channelId, String optionalInfo, int uid);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract joinChannel(key: string, channel: string, optionalInfo: string, uid: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId info:(NSString * _Nullable)info 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 dd724968254..d22bb3c9b49 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int joinChannel( String token, String channelId, int uid, ChannelMediaOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract joinChannelWithOptions(token: string, channelId: string, uid: number, options: ChannelMediaOptions): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid 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 fa63936a763..9bffe6b5b78 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int joinChannelWithUserAccount( String token, String channelName, String userAccount);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita index 4aa7bfeb212..6eedff83a00 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita @@ -15,7 +15,8 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int joinChannelWithUserAccount( String token, String channelName, String userAccount, ChannelMediaOptions options);</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelByToken:(NSString * _Nullable)token + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount mediaOptions:(AgoraRtcChannelMediaOptions * _Nonnull)mediaOptions 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 13faf6c10e5..600bf6f42f9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int joinChannelWithUserAccountEx(String token, String channelId, String userAccount, ChannelMediaOptions options, IRtcEngineEventHandler eventHandler);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelExByToken:(NSString* _Nullable)token channelId:(NSString* _Nonnull)channelId userAccount:(NSString* _Nonnull)userAccount 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 fb0bd48217e..65a3f855fc3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int leaveChannel();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)leaveChannel:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int leaveChannel() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract leaveChannel(options?: LeaveChannelOptions): number;</codeblock> 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 d4c02cf9e96..d6c0f20c287 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int leaveChannel(LeaveChannelOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract leaveChannel(options?: LeaveChannelOptions): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)leaveChannel:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void (^ _Nullable)(AgoraChannelStats * _Nonnull))leaveChannelBlock;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int leaveChannel(const LeaveChannelOptions& options) = 0;</codeblock> 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 897b5720c83..367e9ff0f6e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_loadextensionprovider.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 9f5430a4cb8..4ea62c2ca40 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteallremoteaudiostreams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteAllRemoteAudioStreams(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteAllRemoteAudioStreams(muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteAllRemoteAudioStreams:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteAllRemoteAudioStreams(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 152b9126ec0..c6b6a44d6b0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteAllRemoteVideoStreams(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteAllRemoteVideoStreams(muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteAllRemoteVideoStreams:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteAllRemoteVideoStreams(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 28a7799e356..df0babd0dc2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteLocalAudioStream(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteLocalAudioStream(muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteLocalAudioStream:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteLocalAudioStream(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 4ae4ccfb942..da515edace7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteLocalVideoStream(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteLocalVideoStream(muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteLocalVideoStream:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteLocalVideoStream(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 67f463881d0..de497bca523 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRecordingSignal(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">-(int)muteRecordingSignal:(BOOL)muted;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteRecordingSignal(bool mute) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 b7ed449368d..fa3b6cf2af8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRemoteAudioStream(int uid, boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteRemoteAudioStream(uid: number, muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0; </codeblock> 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 6b7391d84c0..2469e87aacc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRemoteVideoStream(int userId, boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract muteRemoteVideoStream(uid: number, muted: boolean): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteRemoteVideoStream:(NSUInteger)uid mute:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0;</codeblock> 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 bf961955244..5aa26083845 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pauseAllChannelMediaRelay();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pauseAllChannelMediaRelay;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pauseAllChannelMediaRelay() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 011ddc45241..1df87cdbf6e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pausealleffects.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pauseAllEffects(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pauseAllEffects; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pauseAllEffects() = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita index bcaa2083b6b..b3815ae7d7b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudio.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 7adf02f770d..c1b578944df 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pauseAudioMixing();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract pauseAudioMixing(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pauseAudioMixing;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pauseAudioMixing() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 46ec74e0ebf..f6ea80acaea 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseeffect.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pauseEffect(int soundId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pauseEffect:(int)soundId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pauseEffect(int soundId) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 696f7e1b52e..c33f0fe6f6b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playalleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playalleffects.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 9197b0f09d4..b0083bb209c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -19,6 +19,7 @@ double pitch, double pan, double gain);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index b023a86cf8c..48592059167 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java"> public abstract int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount 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 83159f3cf78..b5d7096e27c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish, int startPos); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract playEffect(soundId:number,filePath:string,loopCount:number,pitch:number,pan:number,gain:number,publish:boolean,startPos?:number):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount 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 f8ce3807f35..ed82acfcf3e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int preloadChannel(String token, String channelName, int optionalUid);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)preloadChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(preloadChannel(byToken:channelId:uid:));</codeblock> 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 9f9271a2603..2e4ac6a9ab4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_preloadeffect.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public int preloadEffect(int soundId, String filePath); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)preloadEffect:(int)soundId filePath:(NSString* _Nonnull)filePath; </codeblock> 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 3e7f39907c5..9034a08e69f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pullPlaybackAudioFrame(ByteBuffer data, int lengthInByte);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 4a74bc02920..04712e5fb0f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pullplaybackaudioframesamplebufferbylengthinbyte.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (CMSampleBufferRef _Nullable)pullPlaybackAudioFrameSampleBufferByLengthInByte:(NSUInteger)lengthInByte;</codeblock> <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> 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 a721d57a289..f7bfc54b758 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushExternalAudioFrame(byte[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract pushExternalAudioFrame(data: ArrayBuffer, timestamp: number, sampleRate:number,channels:number, bytesPerSample:number,trackId:number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushExternalAudioFrameRawData:(void* _Nonnull)data samples:(NSInteger)samples sampleRate:(NSInteger)sampleRate 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 1c6834178ab..701f91dd216 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushCaptureAudioFrame(byte[] data, int lengthInByte);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushCaptureAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushCaptureAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract pushCaptureAudioFrame(frame: AudioFrame): number;</codeblock> 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 f0a9f57fe48..9e1a3177389 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushCaptureAudioFrame(ByteBuffer data, int lengthInByte);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 f9ced05b0eb..391516551ba 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushdirectcdnstreamingcustomvideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushDirectCdnStreamingCustomVideoFrame(VideoFrame frame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushDirectCdnStreamingCustomVideoFrame:(AgoraVideoFrame * _Nonnull)frame;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushDirectCdnStreamingCustomVideoFrame(media::base::ExternalVideoFrame* frame) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 e379ee102fb..f9a677c4c37 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushExternalAudioFrameSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;</codeblock> <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> 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 e6588c5fc6d..f2b1edef6cb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer2.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushExternalAudioFrameSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels 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 bcc099d1ad2..085981b5240 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushReverseAudioFrame(byte[] data, int lengthInByte);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushReverseAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushReverseAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract pushReverseAudioFrame(frame: AudioFrame): number;</codeblock> 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 9655cf56269..ceb349d3d08 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushReverseAudioFrame(ByteBuffer data, int lengthInByte);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 b4b4d47ce98..891cb723de8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean pushExternalVideoFrame(AgoraVideoFrame frame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame NS_SWIFT_NAME(pushExternalVideoFrame(_:))</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita index 91015aaccfc..b0bddd39432 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushExternalVideoFrameById(VideoFrame frame, int videoTrackId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita index 4a2d5bd987f..9c73ace4559 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe4.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract boolean pushExternalVideoFrame(VideoFrame frame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract pushExternalVideoFrame(frame: VideoFrame): boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita b/en-US/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita index 0cd4cd612f6..d59b045786c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public AgoraFocalLengthInfo[] queryCameraFocalLengthCapability();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSArray<AgoraFocalLengthInfo *>* __nullable)queryCameraFocalLengthCapability NS_SWIFT_NAME(queryCameraFocalLengthCapability());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int queryCameraFocalLengthCapability(agora::rtc::FocalLengthInfo* focalLengthInfos, int& size) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"></codeblock> 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 401d5cdb606..dfd2562a41d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract CodecCapInfo[] queryCodecCapability();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSArray <AgoraVideoCodecCapInfo *> *__nullable)queryCodecCapability;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int queryCodecCapability(CodecCapInfo* codecInfo, int& size) = 0; </codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita b/en-US/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita index 8be14006f16..4ac4437d359 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_querydevicescore.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int queryDeviceScore();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)queryDeviceScore NS_SWIFT_NAME(queryDeviceScore());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int queryDeviceScore() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 5b90c194332..c7b7aec28cd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_queryinterface.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_queryinterface.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 45dab8373ae..da60dd32e4e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int queryScreenCaptureCapability();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraScreenCaptureFrameRateCapability)queryScreenCaptureCapability NS_SWIFT_NAME(queryScreenCaptureCapability());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int queryScreenCaptureCapability() = 0; 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 55fa15f336a..2a46ed1dab2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_rate.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_rate.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int rate(String callId, int rating, String description);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)rate:(NSString * _Nonnull)callId rating:(NSInteger)rating description:(NSString * _Nullable)description;</codeblock> 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 b467d579579..cc0bd600bf1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registeraudioencodedframeobserver.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerAudioEncodedFrameObserver( AudioEncodedFrameObserverConfig config, IAudioEncodedFrameObserver observer);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioEncodedFrameDelegate:(id<AgoraAudioEncodedFrameDelegate> _Nonnull)delegate config:(AgoraAudioEncodedFrameDelegateConfig * _Nonnull) config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig& config, IAudioEncodedFrameObserver *observer) = 0;</codeblock> 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 c3158a437c5..9adb2005c44 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registeraudiospectrumobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerAudioSpectrumObserver(IAudioSpectrumObserver observer);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)registerAudioSpectrumDelegate:(id<AgoraAudioSpectrumDelegate> _Nullable )delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver * observer) = 0; </codeblock> 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 5dbb70f4d97..d15e4e6727a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerExtension( String provider, String extension, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)registerExtensionWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(registerExtension(withVendor:extension:sourceType:));</codeblock> 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 b6d32280ad9..376482cd838 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerLocalUserAccount(String appId, String userAccount);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)registerLocalUserAccountWithAppID:(NSString * _Nonnull)appID userAccount:(NSString * _Nonnull)userAccount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ba7ce0975df..ac53b76c050 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int registerMediaMetadataObserver(IMetadataObserver observer, int type);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract registerMediaMetadataObserver(observer:IMetadataObserver,type:number):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setMediaMetadataDelegate:(id<AgoraMediaMetadataDelegate> _Nullable)metadataDelegate withType:(AgoraMetadataType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0; </codeblock> 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 31744cd1061..51d029b5fa6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerpacketobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int registerPacketObserver(IPacketObserver* observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6506ec44eaa..bf431d5b10f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerplugin.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerplugin.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 879d1882498..4fe1ed1f888 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_release.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_release.dita @@ -21,6 +21,9 @@ System.gc(); } </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public static destroy(): Promise<void> { + return RtcEngineImpl.destroyEngine(); + };</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (void)destroy;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release(bool sync = false) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ca090de781f..2a855890c30 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeAllListeners?<EventType extends keyof IMediaEngineEvent>( 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 5981c724e16..b061f2af9ac 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removeeventhandler.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 f1a26578ffe..dfb0b666b57 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removehandler.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removehandler.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void removeHandler(IRtcEngineEventHandler handler) { mInstance.removeHandler(handler); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract unregisterEventHandler(eventHandler: IRtcEngineEventHandler): boolean;</codeblock> 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 355e152f600..6613a41a471 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int removeInjectStreamUrl(String url);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)removeInjectStreamUrl:(NSString * _Nonnull)url;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removeInjectStreamUrl(const char* url) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract removeInjectStreamUrl(url: string): number;</codeblock> 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 2beee6422f4..1c53b5752e3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removelistener.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removelistener.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">removeListener?<EventType extends keyof IRtcEngineEvent>( 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 5ab55753e8a..205def546e0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int removePublishStreamUrl(String url);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)removePublishStreamUrl:(NSString * _Nonnull)url;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int removePublishStreamUrl(const char *url) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract removePublishStreamUrl(url: string): number;</codeblock> 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 71111711656..a47d9948b8b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int renewToken(String token);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract renewToken(token: string): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)renewToken:(NSString * _Nonnull)token;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int renewToken(const char* token) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f866afcf908..46aeb369c31 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int resumeAllChannelMediaRelay();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)resumeAllChannelMediaRelay;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int resumeAllChannelMediaRelay() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 2e139c95aab..286feed69aa 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumealleffects.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int resumeAllEffects(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)resumeAllEffects; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int resumeAllEffects() = 0;</codeblock> 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 6302dd72c5d..4d49e4dac82 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudio.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 6c615ae89f6..46abb7c6564 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int resumeAudioMixing();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract resumeAudioMixing(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)resumeAudioMixing;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int resumeAudioMixing() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ca6aa343cb2..f6021a317be 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeeffect.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int resumeEffect(int soundId); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)resumeEffect:(int)soundId; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int resumeEffect(int soundId) = 0;</codeblock> 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 644f17abacc..4aa36922c72 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"> public abstract int selectAudioTrack(int audioIndex);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)selectAudioTrack:(NSInteger)index;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int selectAudioTrack(int index) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 3974a588100..cf3460d8f1c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendcustomreportmessage.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int sendCustomReportMessage( String id, String category, String event, String label, int value);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)sendCustomReportMessage:(NSString * _Nullable)messageId category:(NSString * _Nullable)category event:(NSString * _Nullable)event 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 e7e164b8caf..f9262e6146c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendmetadata.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract sendMetaData(metadata: Metadata, sourceType: VideoSourceType): number;</codeblock> 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 63e769b1d4b..1ec478c3e6d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int sendStreamMessage(int streamId, byte[] message);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract sendStreamMessage(streamId: number, message: ArrayBuffer): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)sendStreamMessage:(NSInteger)streamId data:(NSData * _Nonnull)data;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int sendStreamMessage(int streamId, 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 a1712d05653..10633916504 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita @@ -15,6 +15,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 3f76024edb8..b033a9e7603 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAdvancedAudioOptions(AdvancedAudioOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAdvancedAudioOptions:(AgoraAdvancedAudioOptions * _Nonnull)options;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAdvancedAudioOptions(media::base::AdvancedAudioOptions &options) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 2bd71b10cd0..4d52ff0ccf7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setainsmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setainsmode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAINSMode(boolean enabled, int mode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAINSMode:(BOOL)enabled mode:(AUDIO_AINS_MODE)mode NS_SWIFT_NAME(setAINSMode(_:mode:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAINSMode(bool enabled, AUDIO_AINS_MODE mode) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 3a7d391886c..64bc21e6d47 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioEffectParameters(int preset, int param1, int param2);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioEffectParameters:(AgoraAudioEffectPreset)preset param1:(int)param1 param2:(int)param2;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6188268cca1..1982d141e87 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioeffectpreset.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioEffectPreset(int preset);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioEffectPreset:(AgoraAudioEffectPreset)preset;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 cd56592feec..8f7fd02bf4d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioMixingDualMonoMode(Constants.AudioMixingDualMonoMode mode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioMixingDualMonoMode:(AgoraAudioMixingDualMonoMode)mode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioMixingDualMonoMode(media::AUDIO_MIXING_DUAL_MONO_MODE mode) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 e18e7d31ada..da01357220e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioMixingPitch(int pitch);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioMixingPitch:(NSInteger)pitch;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioMixingPitch(int pitch) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita index cdf6f523cc3..e12862fdbe1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingplaybackspeed.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"> public abstract int setAudioMixingPlaybackSpeed(int speed);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioMixingPlaybackSpeed:(NSInteger)speed NS_SWIFT_NAME(setAudioMixingPlaybackSpeed(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioMixingPlaybackSpeed(int speed) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 289e4360ea6..49ff0111fae 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiomixingposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioMixingPosition(int pos);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setAudioMixingPosition(pos: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioMixingPosition:(NSInteger)pos;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioMixingPosition(int pos /*in ms*/) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 cec9c02e9ac..83a47124167 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioProfile(int profile, int scenario);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioProfile:(AgoraAudioProfile)profile scenario:(AgoraAudioScenario)scenario;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita index 66c689994eb..1a2ce0cb610 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public synchronized int setAudioProfile(int profile)</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setAudioProfile(profile: Constants.AudioProfileType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioProfile:(AgoraAudioProfile)profile;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setAudioProfile(profile: AudioProfileType, scenario?: AudioScenarioType): number;</codeblock> 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 2df5f3dbe8b..b614472ca7a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAudioScenario(int scenario);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setAudioScenario(scenario: Constants.AudioScenarioType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setAudioScenario:(AgoraAudioScenario)scenario;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 e16b7a061cf..b70033d2a0b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setAudioSessionOperationRestriction:(AgoraAudioSessionOperationRestriction)restriction NS_SWIFT_NAME(setAudioSessionOperationRestriction(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7288689c105..b9a0452f1be 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setavsyncsource.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setAVSyncSource(String channelId, int uid);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) setAVSyncSource:(NSString* _Nonnull)channelId uid:(NSUInteger)uid;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setAVSyncSource(const char* channelId, uid_t uid) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 4fefb38a963..6548aced1b5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setBeautyEffectOptions(boolean enabled, BeautyOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setBeautyEffectOptions:(BOOL)enable options:(AgoraBeautyOptions* _Nullable)options;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita index b5513b1bfb8..e561b57a7ed 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setBeautyEffectOptions( boolean enabled, BeautyOptions options, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setBeautyEffectOptions:(BOOL)enable options:(AgoraBeautyOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setBeautyEffectOptions(_:options:sourceType:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"></codeblock> <codeblock props="bp" outputclass="language-cpp"></codeblock> 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 370574af9d9..57edddb5e85 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautoexposurefacemodeenabled.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0; </codeblock> 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 09660310b1a..c7d448c5d17 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraAutoFocusFaceModeEnabled(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0; </codeblock> 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 e75784146dc..146d329857f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraCapturerConfiguration(CameraCapturerConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setCameraCapturerConfiguration(config: CameraCapturerConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setCameraCapturerConfiguration:(AgoraCameraCapturerConfiguration * _Nullable)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 2bc27377b51..4c86910895a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameradeviceorientation.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0; </codeblock> 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 81740739432..f3cc8e365a6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraExposureFactor(int factor);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"> - (CGFloat)setCameraExposureFactor:(CGFloat)exposureFactor NS_SWIFT_NAME(setCameraExposureFactor(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraExposureFactor(float factor) = 0;</codeblock> 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 22bca17a57f..c99ab34c2ec 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraExposurePosition(float positionXinView, float positionYinView);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setCameraExposurePosition:(CGPoint)positionInView;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0; </codeblock> 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 fe05552bef4..2e7ffc7e6e9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraFocusPositionInPreview(float positionX, float positionY);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setCameraFocusPositionInPreview(positionX: number, positionY: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setCameraFocusPositionInPreview:(CGPoint)position;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0; </codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita index 4623d530a36..084b8731340 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerastabilizationmode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"> - (int) setCameraStabilizationMode:(AgoraCameraStabilizationMode)mode NS_SWIFT_NAME(setCameraStabilizationMode(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraStabilizationMode(CAMERA_STABILIZATION_MODE mode) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 d24630159a7..a42bdbc57d6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraTorchOn(boolean isOn);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setCameraTorchOn(isOn:boolean):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setCameraTorchOn:(BOOL)isOn NS_SWIFT_NAME(setCameraTorchOn(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraTorchOn(bool isOn) = 0; </codeblock> 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 f901990726d..1c8c287df22 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCameraZoomFactor(float factor);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setCameraZoomFactor(factor:number):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (CGFloat)setCameraZoomFactor:(CGFloat)zoomFactor;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCameraZoomFactor(float factor) = 0; </codeblock> 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 4f84d5e9780..c61cbe7d507 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setchannelprofile.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setChannelProfile(int profile);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setChannelProfile(profile: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setChannelProfile:(AgoraChannelProfile)profile;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole.dita index a616cca6607..50ff6f2a61b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setClientRole(int role);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setClientRole:(AgoraClientRole)role;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setClientRole( 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 1a7ec63c4c4..68402bf496e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setClientRole(int role, ClientRoleOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setClientRole(role: number, options?: ClientRoleOptions): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setClientRole:(AgoraClientRole)role options:(AgoraClientRoleOptions * _Nullable)options;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ff55acaaf45..7c4a9291c12 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setCloudProxy(int proxyType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setCloudProxy:(AgoraCloudProxyType)proxyType NS_SWIFT_NAME(setCloudProxy(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 b1ef621f54a..22ec0eb1927 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setColorEnhanceOptions(boolean enabled, ColorEnhanceOptions options); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setColorEnhanceOptions:(BOOL)enable options:(AgoraColorEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setColorEnhanceOptions(_:options:)); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setColorEnhanceOptions(bool enabled, const ColorEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita index deed3f38f98..1a8b050ac78 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setColorEnhanceOptions( boolean enabled, ColorEnhanceOptions options, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setColorEnhanceOptions:(BOOL)enable options:(AgoraColorEnhanceOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setColorEnhanceOptions(_:options:sourceType:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"></codeblock> <codeblock props="bp" outputclass="language-cpp"></codeblock> 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 57269870702..e6ad7242fbc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDefaultAudioRoutetoSpeakerphone(boolean defaultToSpeaker);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setDefaultAudioRoutetoSpeakerphone(defaultToSpeaker:boolean):number;</codeblock> <codeblock props="ios" outputclass="language-objectivec">- (int)setDefaultAudioRouteToSpeakerphone:(BOOL)defaultToSpeaker;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0; </codeblock> 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 9ca58bb49c9..2208d30ce58 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDefaultMuteAllRemoteAudioStreams(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDefaultMuteAllRemoteAudioStreams:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setDefaultMuteAllRemoteAudioStreams(mute: boolean): number;</codeblock> 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 dcd24095023..e56de0f5d6f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDefaultMuteAllRemoteVideoStreams(boolean muted);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDefaultMuteAllRemoteVideoStreams:(BOOL)mute;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setDefaultMuteAllRemoteVideoStreams(mute: boolean): number;</codeblock> 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 c693be3cd33..8426baf6fb5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)setDeviceVolume:(AgoraMediaDeviceType)type volume:(int)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 eaf481e6dbc..61d3de64d21 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingaudioconfiguration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDirectCdnStreamingAudioConfiguration(int profile);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDirectCdnStreamingAudioConfiguration:(AgoraAudioProfile)profile;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 22025f1c1f9..f6f70616a7c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdirectcdnstreamingvideoconfiguration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDirectCdnStreamingVideoConfiguration(VideoEncoderConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDirectCdnStreamingVideoConfiguration:(AgoraVideoEncoderConfiguration * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration& config) 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 ee283025f4e..ae1fd3d65c2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDualStreamMode(Constants.SimulcastStreamMode mode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setDualStreamMode(mode: Constants.SimulcastStreamMode, streamConfig?: SimulcastStreamConfig): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDualStreamMode:(AgoraSimulcastStreamMode)mode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 e56f3ccbb07..44b73009d84 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDualStreamMode( Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setDualStreamMode(mode: Constants.SimulcastStreamMode, streamConfig?: SimulcastStreamConfig): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDualStreamMode:(AgoraSimulcastStreamMode)mode streamConfig:(AgoraSimulcastStreamConfig* _Nonnull)streamConfig;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode, 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 48477ac978a..2e40b52c000 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setearmonitoringaudioframeparameters.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setEarMonitoringAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setEarMonitoringAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode 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 164bddabebb..81b17731e42 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setEffectPosition(int soundId, int pos);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setEffectPosition:(int)soundId pos:(NSInteger)pos NS_SWIFT_NAME(setEffectPosition(_:pos:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setEffectPosition(int soundId, int pos) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 8dd0c27c640..37d563b897f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setEffectsVolume(double volume); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setEffectsVolume:(NSInteger)volume; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setEffectsVolume(int volume) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita index 9917cfe2223..c143feb0bb6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setenablespeakerphone.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setEnableSpeakerphone(boolean enabled);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setEnableSpeakerphone(enabled: boolean): number;</codeblock> <codeblock props="ios" outputclass="language-objectivec">- (int)setEnableSpeakerphone:(BOOL)enableSpeaker;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setEnableSpeakerphone(bool speakerOn) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 acca60d44f6..edb83a0f9f7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setEncryptionMode(String encryptionMode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setEncryptionMode(encryptionMode:string):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setEncryptionMode:(NSString * _Nullable)encryptionMode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setEncryptionMode(const char* encryptionMode) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 008fc65ad64..04ae931c54f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setEncryptionSecret(String secret);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setEncryptionSecret(secret:string):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setEncryptionSecret:(NSString * _Nullable)secret;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setEncryptionSecret(const char* secret) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 308bb2b1415..0e3781fcd0c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract int setExtensionProperty( String provider, String extension, String key, String value); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setExtensionPropertyWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension key:(NSString * __nonnull)key value:(NSString * __nonnull)value; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setExtensionProperty( 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 cd38bb98831..1205bd4e645 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setExtensionProviderProperty(String provider, String key, String value); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) setExtensionProviderPropertyWithVendor:(NSString * __nonnull)provider key:(NSString * __nonnull)key value:(NSString * __nonnull)value; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setExtensionProviderProperty( 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 84282ec5fbc..732b0adbdbc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setExternalAudioSource(boolean enabled, int sampleRate, int channels);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setExternalAudioSource:(BOOL)enabled sampleRate:(NSInteger)sampleRate channels:(NSInteger)channels;</codeblock> 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 a420b8b61c8..6c8a97f4fe5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalaudiosourcevolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 3c294d19df8..de6a6d8c159 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setHeadphoneEQParameters(int lowGain, int highGain);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setHeadphoneEQParameters:(int)lowGain highGain:(int)highGain;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setHeadphoneEQParameters(int lowGain, int highGain) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6adb6d21293..081d4822760 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setheadphoneeqpreset.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setHeadphoneEQPreset(int preset);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setHeadphoneEQPreset:(AgoraHeadphoneEQPreset)preset;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 4b3e5f72349..d73687c6ce4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setHighQualityAudioParameters(bool fullband, bool stereo, 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 0fb799f7360..598a00263bc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setinearmonitoringvolume.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setInEarMonitoringVolume(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setInEarMonitoringVolume(volume: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setInEarMonitoringVolume:(NSInteger)volume;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setInEarMonitoringVolume(int volume) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 db1f6c4fe0d..907dfffeb6b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlivetranscoding.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLiveTranscoding(LiveTranscoding transcoding);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLiveTranscoding:(AgoraLiveTranscoding *_Nullable)transcoding;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLiveTranscoding(const LiveTranscoding &transcoding) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setLiveTranscoding(transcoding: LiveTranscoding): number;</codeblock> 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 d4573849cea..f7cc2f5ff37 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalAccessPoint(LocalAccessPointConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalAccessPoint:(AgoraLocalAccessPointConfiguration* _Nonnull)config NS_SWIFT_NAME(setLocalAccessPoint(withConfig:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalAccessPoint(const LocalAccessPointConfiguration& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 5274e2cab39..c848e3b29ac 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalpublishfallbackoption.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalPublishFallbackOption(int option);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalPublishFallbackOption:(AgoraStreamFallbackOptions)option;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript" /> 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 6361e6a558f..e1cf0558b0c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalRenderMode(int renderMode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setLocalRenderMode(renderMode: number, mirrorMode: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0;</codeblock> 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 9ce9a3287fb..bb8eaa4985d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalRenderMode(int renderMode, int mirrorMode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setLocalRenderMode(renderMode: number, mirrorMode: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalRenderMode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;</codeblock> 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 73cd36e7d08..0d1d8bb84f5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVideoMirrorMode(int mode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalVideoMirrorMode:(AgoraVideoMirrorMode)mode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 08c9d652172..b905462f46b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 0a0677a2520..d6d631949aa 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVoiceChanger(int voiceChanger);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) setLocalVoiceChanger:(AgoraAudioVoiceChanger)voiceChanger;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 620cf8b4581..d4aae8c973d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVoiceEqualization( Constants.AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalVoiceEqualizationOfBandFrequency:(AgoraAudioEqualizationBandFrequency)bandFrequency withGain:(NSInteger)gain;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain) = 0;</codeblock> 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 6b51e2f8020..4e7ebee500f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoiceformant.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVoiceFormant(double formantRatio); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalVoiceFormant:(double)formantRatio;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVoiceFormant(double formantRatio) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 58f268cec94..93760711e45 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicepitch.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVoicePitch(double pitch);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalVoicePitch:(double)pitch;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVoicePitch(double pitch) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 aa7e4f0d524..521cf463291 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverb.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVoiceReverb(Constants.AUDIO_REVERB_TYPE reverbKey, int value);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLocalVoiceReverbOfType:(AgoraAudioReverbType)reverbType withValue:(NSInteger)value;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 e382efa8cfc..9002cf702e9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalvoicereverbpreset.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLocalVoiceReverbPreset(int reverbPreset);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) setLocalVoiceReverbPreset:(AgoraAudioReverbPreset)reverbPreset;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 e157a389749..9aaa23a9db7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLogFile(String filePath);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setLogFile(filePath: string): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLogFile:(NSString * _Nonnull)filePath;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLogFile(const char* filePath) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 53b6b25ffd2..96b3d543583 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilesize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLogFileSize(long fileSizeInKBytes);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setLogFileSize(fileSizeInKBytes: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLogFileSize:(NSUInteger)fileSizeInKBytes;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 92eee63be9b..634aaea17f9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLogFilter(int filter);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setLogFilter(filter: Constants.LogFilter): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLogFilter:(NSUInteger)filter;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLogFilter(unsigned int filter) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 e6930595ba6..50641208777 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setloglevel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setloglevel.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLogLevel(int level);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLogLevel:(AgoraLogLevel)level;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLogLevel(commons::LOG_LEVEL level) = 0; </codeblock> 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 a02abb6ed1e..38a31e3cec2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLowlightEnhanceOptions(boolean enabled, LowLightEnhanceOptions options); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:)); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita index e5eaef27e46..21e17ec1e4a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setLowlightEnhanceOptions( boolean enabled, LowLightEnhanceOptions options, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setLowlightEnhanceOptions:(BOOL)enable options:(AgoraLowlightEnhanceOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setLowlightEnhanceOptions(_:options:sourceType:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"></codeblock> <codeblock props="bp" outputclass="language-cpp"></codeblock> 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 51f23dbf4a3..db458bf713c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmaxmetadatasize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">abstract setMaxMetadataSize(size: number): number;</codeblock> 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 b24cb06530c..83a690f2ab9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmediametadatadatasource.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)setMediaMetadataDataSource:(id<AgoraMediaMetadataDataSource> _Nullable)metadataDataSource withType:(AgoraMetadataType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 82562d27bc1..dadc6856da1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setMixedAudioFrameParameters(sampleRate: number, channel: number, samplesPerCall: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setMixedAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel samplesPerCall:(NSInteger)samplesPerCall;</codeblock> 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 ed457d35684..23acf528702 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setParameters(String parameters);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setParameters(parameters: string): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setParameters:(NSString * _Nonnull)options NS_SWIFT_NAME(setParameters(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setParameters(const char* parameters) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f7486754c8b..161566e3413 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setPlaybackAudioFrameBeforeMixingParameters(sampleRate:number,channel:number):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0;</codeblock> 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 3755b0cf829..3a164e7ae80 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setPlaybackAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setPlaybackAudioFrameParameters(sampleRate: number, channel: number, mode: number, samplesPerCall: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setPlaybackAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode 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 a5c101627bc..8bc0fc548e3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setpluginparameter.dita @@ -15,6 +15,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 3bba6abcba4..9e5be88fb46 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRecordingAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setRecordingAudioFrameParameters(sampleRate: number, channel: number, mode: number, samplesPerCall: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRecordingAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode 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 9eeb12cd7f3..b29fb6cd95e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteDefaultVideoStreamType(int streamType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setRemoteDefaultVideoStreamType(streamType: Constants.VideoStreamType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteDefaultVideoStreamType:(AgoraVideoStreamType)streamType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 83adb60e54e..252f00b6093 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteRenderMode(int userId, int renderMode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setRemoteRenderMode(uid: number, renderMode: number, mirrorMode: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode) = 0;</codeblock> 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 69606e40337..fe054431ec2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteRenderMode(int userId, int renderMode, int mirrorMode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setRemoteRenderMode(uid: number, renderMode: number, mirrorMode: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror;</codeblock> 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 4506c73bd88..ffda891b0da 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteSubscribeFallbackOption(int option);</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option;</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract setRemoteSubscribeFallbackOption( option: StreamFallbackOptions 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 24edea0bf43..c12d6ccf5c2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteUserPriority(int uid, int userPriority);</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> <codeblock props="unity cs" outputclass="language-csharp">public abstract int SetRemoteUserPriority(uint uid, PRIORITY_TYPE userPriority);</codeblock> 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 b103389b3d9..30e97184d81 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteUserSpatialAudioParams(int uid, SpatialAudioParams params);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteUserSpatialAudioParams:(NSUInteger)uid params:(AgoraSpatialAudioParams* _Nonnull)params;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0;</codeblock> 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 a26b12ddf20..5fe87ccc9f5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideorenderer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 7586ae89c2f..1b095943dc3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVideoStreamType(int uid, int streamType);</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVideoStream:(NSUInteger)uid + <codeblock props="hmos" outputclass="language-arkts">public abstract setRemoteVideoStreamType(uid: number, streamType: Constants.VideoStreamType): number;</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 13cb8320e91..cc48a1d59c0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVideoSubscriptionOptions(int uid, VideoSubscriptionOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVideoSubscriptionOptions:(NSUInteger)uid options:(AgoraVideoSubscriptionOptions* _Nonnull)options NS_SWIFT_NAME(setRemoteVideoSubscriptionOptions(_:options:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options) = 0;</codeblock> 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 375aa9fd90f..e3efbfb7473 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoice3dposition.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVoice3DPosition( int uid, double azimuth, double elevation, double distance);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVoice3DPosition:(NSUInteger)uid azimuth:(double)azimuth elevation:(double)elevation 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 4cb19d3e6b0..3e1bc1700a8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotevoiceposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVoicePosition(int uid, double pan, double gain);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVoicePosition:(NSUInteger)uid pan:(double)pan gain:(double)gain;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bf1aa97196c..7028291609d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrendermode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 091a819bb15..315675ebef8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setrouteincommunicationmode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRouteInCommunicationMode(int route);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRouteInCommunicationMode(int route) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 3e1eff8e014..f5fa2dd2b39 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0; </codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita index cbc1f465402..e743d3eecaf 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencaptureorientation.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 7ffc4e07150..985f1f3b669 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setscreencapturescenario.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setScreenCaptureScenario(Constants.ScreenScenarioType screenScenario);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setScreenCaptureScenario:(AgoraScreenScenarioType)scenarioType NS_SWIFT_NAME(setScreenCaptureScenario(_:)); </codeblock> 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 7abd30fa3d5..24c42afea99 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioallowlist.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeAudioAllowlist(int[] uidList);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeAudioAllowlist:(NSArray <NSNumber *> *_Nonnull)allowlist;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeAudioAllowlist(uid_t* uidList, int uidNumber) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7315fa9d8af..8e5692ef324 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribeaudioblocklist.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeAudioBlocklist(int[] uidList);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeAudioBlocklist:(NSArray <NSNumber *> *_Nonnull)blocklist;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeAudioBlocklist(uid_t* uidList, int uidNumber) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 2273041b202..fe2d5a79265 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoallowlist.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeVideoAllowlist(int[] uidList);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeVideoAllowlist:(NSArray <NSNumber *> *_Nonnull)allowlist;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeVideoAllowlist(uid_t* uidList, int uidNumber) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 09ae17a1d97..1f588ae07a2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setsubscribevideoblocklist.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeVideoBlocklist(int[] uidList);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeVideoBlocklist:(NSArray <NSNumber *> *_Nonnull)blocklist;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeVideoBlocklist(uid_t* uidList, int uidNumber) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 b5b4195e0fc..a3183963308 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setupLocalVideo(VideoCanvas local);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setupLocalVideo(canvas: VideoCanvas): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setupLocalVideo:(AgoraRtcVideoCanvas * _Nullable)local;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setupLocalVideo(const VideoCanvas& canvas) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ecbc6a98104..3ac7275550a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setupremotevideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setupRemoteVideo(VideoCanvas remote);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setupRemoteVideo(canvas: VideoCanvas): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 dd53c90a86d..d7bb7616ddb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoDenoiserOptions(boolean enabled, VideoDenoiserOptions options); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoDenoiserOptions:(BOOL)enable options:(AgoraVideoDenoiserOptions* _Nullable)options NS_SWIFT_NAME(setVideoDenoiserOptions(_:options:)); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita index ecccaa8bc41..3d5726aabdb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoDenoiserOptions( boolean enabled, VideoDenoiserOptions options, Constants.MediaSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoDenoiserOptions:(BOOL)enable options:(AgoraVideoDenoiserOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setVideoDenoiserOptions(_:options:sourceType:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"></codeblock> <codeblock props="bp" outputclass="language-cpp"></codeblock> 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 9421989f5a7..ec3f22473d7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoencoderconfiguration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoEncoderConfiguration(VideoEncoderConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setVideoEncoderConfiguration(configuration: VideoEncoderConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoEncoderConfiguration:(AgoraVideoEncoderConfiguration * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bd6091ec096..408b603851e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoProfile(int profile, boolean swapWidthAndHeight);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setVideoProfile(profile:number,swapWidthAndHeight:boolean):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoProfile:(AgoraVideoProfile)profile swapWidthAndHeight:(BOOL)swapWidthAndHeight</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVideoProfile(VIDEO_PROFILE_TYPE profile, bool swapWidthAndHeight) = 0;</codeblock> 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 8c6589e63aa..c95392f28fd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoProfile(int width, int height, int frameRate, int bitrate);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoResolution:(CGSize)size andFrameRate:(NSInteger)frameRate bitrate:(NSInteger)bitrate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 8808ff26dd1..19a38c700c6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoQualityParameters(boolean preferFrameRateOverImageQuality);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoQualityParameters:(BOOL)preferFrameRateOverImageQuality;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVideoQualityParameters(bool preferFrameRateOverImageQuality) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 6918ecb2969..bd444eea9ce 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderdimension.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 cdab2af4015..b141c31aac3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideorenderfps.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 cb869104d8d..060e3880c2a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoScenario(Constants.VideoScenario scenarioType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoScenario:(AgoraApplicationScenarioType)scenarioType NS_SWIFT_NAME(setVideoScenario(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 30b0b53106e..ad55ce679e6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideosource.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideosource.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool setVideoSource(IVideoSource *source) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 1134113688c..75a66a55f1e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setview.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 58bd18a0823..c357c10610f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVoiceBeautifierParameters(int preset, int param1, int param2);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVoiceBeautifierParameters:(AgoraVoiceBeautifierPreset)preset param1:(int)param1 param2:(int)param2;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 2e5bb9fcc6e..9ea4434bac4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVoiceBeautifierPreset(int preset);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVoiceBeautifierPreset:(AgoraVoiceBeautifierPreset)preset;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 90695731dca..004c12729bd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 711bed04449..e226ab454fc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvoiceconversionpreset.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVoiceConversionPreset(int preset);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVoiceConversionPreset:(AgoraVoiceConversionPreset)preset;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 03576436d0c..23ede33c9fe 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVolumeOfEffect(int soundId, double volume); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVolumeOfEffect:(int)soundId withVolume:(int)volume; </codeblock> 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 3e5bfeab4fa..f0d59a1f5c9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudioframedump.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">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; 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 d1612215ebe..38fcedc91dd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startAudioMixing(String filePath, boolean loopback, int cycle);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startAudioMixing:(NSString * _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle NS_SWIFT_NAME(startAudioMixing(_:loopback:cycle:));</codeblock> 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 489c735fe52..52a295f493b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startAudioMixing(String filePath, boolean loopback, int cycle, int startPos);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startAudioMixing:(NSString* _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle startPos:(NSInteger)startPos;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 59309328e29..8c324cad8f7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startAudioRecording(String filePath, int quality);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startAudioRecording(filePath: string, quality: Constants.AudioRecordingQualityType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0;</codeblock> 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 58cbfb765db..ec715a89dc8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startAudioRecording(const char* filePath, int sampleRate, 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 02d98a7a911..836d22bba6b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startAudioRecording(AudioFileRecordingConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startAudioRecordingWithConfiguration(config: AudioRecordingConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startAudioRecordingWithConfig:(AgoraAudioRecordingConfiguration * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startAudioRecording(const AudioFileRecordingConfig& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 0bb75abab24..2c5478402ad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startcameracapture.dita @@ -15,6 +15,8 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startCameraCapture( Constants.VideoSourceType sourceType, CameraCapturerConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startCameraCapture( + sourceType: Constants.VideoSourceType, config: CameraCapturerConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startCameraCapture:(AgoraVideoSourceType)sourceType config:(AgoraCameraCapturerConfiguration * _Nullable)config NS_SWIFT_NAME(startCameraCapture(_:config:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startCameraCapture(VIDEO_SOURCE_TYPE sourceType, const CameraCapturerConfiguration& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6d3d5b88888..c91e7722509 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 8c7bf8955df..10607996ff5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita @@ -14,6 +14,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startDirectCdnStreaming(IDirectCdnStreamingEventHandler eventHandler, String publishUrl, DirectCdnStreamingMediaOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startDirectCdnStreaming:(id<AgoraDirectCdnStreamingEventDelegate> _Nonnull)delegate publishUrl:(NSString * _Nonnull)publishUrl mediaOptions:(AgoraDirectCdnStreamingMediaOptions * _Nonnull)options;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler* eventHandler, const char* publishUrl, const DirectCdnStreamingMediaOptions& options) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest.dita index 644c175cfe0..7f24eafe3a9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startEchoTest();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startEchoTest:(void(^ _Nullable) (NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))successBlock;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startEchoTest() = 0;</codeblock> 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 43c3d1c3418..ecd7045d3dc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startEchoTest(int intervalInSeconds);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startEchoTestWithInterval:(NSInteger)interval successBlock:(void(^ _Nullable) (NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))successBlock;</codeblock> 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 fe79a874324..e74adcd7f87 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startechotest3.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startechotest3.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startEchoTest(EchoTestConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startEchoTestWithConfig:(AgoraEchoTestConfiguration* _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startEchoTest(const EchoTestConfiguration& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 c797eb732ca..df8fe831342 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startLastmileProbeTest(LastmileProbeConfig config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startLastmileProbeTest(config: LastmileProbeConfig): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startLastmileProbeTest:(AgoraLastmileProbeConfig *_Nullable)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 5fc97f6d9bd..403e24dc653 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalvideotranscoder.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startLocalVideoTranscoder(LocalTranscoderConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startLocalVideoTranscoder(config: LocalTranscoderConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startLocalVideoTranscoder:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalVideoTranscoder(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration& config) = 0; </codeblock> 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 d1d915f7afd..dd280dabb71 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startMediaRenderingTracing();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startMediaRenderingTracing NS_SWIFT_NAME(startMediaRenderingTracing());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startMediaRenderingTracing() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f3cdf5e7eff..f04df835f49 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startorupdatechannelmediarelay.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration: ChannelMediaRelayConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startOrUpdateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config NS_SWIFT_NAME(startOrUpdateChannelMediaRelay(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startpreview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startpreview.dita index 86aef2486cd..d3858703eb9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startpreview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startpreview.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startPreview();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startPreview(sourceType?: Constants.VideoSourceType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startPreview;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startPreview() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract startPreviewWithoutSourceType(): number;</codeblock> 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 19e96bbcfb5..1be39f08c3a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startpreview2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startpreview2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startPreview(Constants.VideoSourceType sourceType); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startPreview(sourceType?: Constants.VideoSourceType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(startPreview(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 c46fe18422d..72486e11ca0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startprimarycustomaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 5dd7d7186c3..f715d01f5cf 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithouttranscoding.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startRtmpStreamWithoutTranscoding(String url);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startRtmpStreamWithoutTranscoding:(NSString* _Nonnull)url;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 57b838100bc..1deca2c06b9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startrtmpstreamwithtranscoding.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startRtmpStreamWithTranscoding(String url, LiveTranscoding transcoding);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startRtmpStreamWithTranscoding(url: string, transcoding: LiveTranscoding): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startRtmpStreamWithTranscoding:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7fafb9b9fb6..728a915a275 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startScreenCapture(ScreenCaptureParameters screenCaptureParameters); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract startScreenCapture(parameter: ScreenCaptureParameters): number;</codeblock> <codeblock props="ios" outputclass="language-objectivec">- (int)startScreenCapture:(AgoraScreenCaptureParameters2* _Nullable)parameters NS_SWIFT_NAME(startScreenCapture(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; 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 1db9a40e8b6..627f54f5a5a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"> - (int)startScreenCapture:(AgoraVideoSourceType)sourceType config:(AgoraScreenCaptureConfiguration * _Nullable)config NS_SWIFT_NAME(startScreenCapture(_:config:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startScreenCapture(VIDEO_SOURCE_TYPE sourceType, const ScreenCaptureConfiguration& config) = 0;</codeblock> 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 b581fd459f8..56f198332a9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)startScreenCaptureByDisplayId:(UInt32)displayId regionRect:(CGRect)regionRect captureParams:(AgoraScreenCaptureParameters *_Nonnull)captureParams;</codeblock> 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 9530714725c..e294cde0af0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebyscreenrect.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect, const Rectangle& regionRect, 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 2880eb1fca4..7615809d049 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)startScreenCaptureByWindowId:(UInt32)windowId regionRect:(CGRect)regionRect captureParams:(AgoraScreenCaptureParameters *_Nonnull)captureParams;</codeblock> 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 9aeb3710ac8..1c8dcb53355 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startsecondarycustomaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 b46888d7699..66057da0a37 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_statechanged.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_statechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine device:(NSString* _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state;</codeblock> 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 5f5355df516..e985ef82c75 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopalleffects.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopAllEffects(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopAllEffects; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopAllEffects() = 0;</codeblock> 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 b6638f8ea78..5514b6257dd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudioframedump.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0; </codeblock> 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 3bc60550e64..dc4a53eeec2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopAudioMixing();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopAudioMixing(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopAudioMixing;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopAudioMixing() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7ca0be377c3..81e35e8d69b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopAudioRecording();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopAudioRecording(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopAudioRecording;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopAudioRecording() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 e29ccf2afa8..73e538902b9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopcameracapture.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopCameraCapture(Constants.VideoSourceType sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopCameraCapture(sourceType: Constants.VideoSourceType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopCameraCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopCameraCapture(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopCameraCapture(VIDEO_SOURCE_TYPE sourceType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6387e748305..830433f36ff 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopchannelmediarelay.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopChannelMediaRelay();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopChannelMediaRelay(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopChannelMediaRelay;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopChannelMediaRelay() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita index 880a5ca3905..9de75db414a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopdirectcdnstreaming.dita @@ -13,6 +13,7 @@ <refbody> <section id="prototype"> <codeblock props="android" outputclass="language-java">public abstract int stopDirectCdnStreaming();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopDirectCdnStreaming;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopDirectCdnStreaming() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f37510ff358..ed97861b780 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopechotest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopechotest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopEchoTest();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopEchoTest;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopEchoTest() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 825551a8285..71ea8748faf 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopeffect.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopEffect(int soundId); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopEffect:(int)soundId; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopEffect(int soundId) = 0;</codeblock> 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 ddca53ce4b0..e8a4b56ccf8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplastmileprobetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopLastmileProbeTest();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopLastmileProbeTest(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopLastmileProbeTest;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopLastmileProbeTest() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 90f308c23a7..4aaa9e5fd6f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopLocalVideoTranscoder();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopLocalVideoTranscoder(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopLocalVideoTranscoder NS_SWIFT_NAME(stopLocalVideoTranscoder());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopLocalVideoTranscoder() = 0; </codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview.dita index 6679bba6556..11ba77dd62c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopPreview();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopPreview(sourceType?: Constants.VideoSourceType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopPreview;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopPreview() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract stopPreview(sourceType?: VideoSourceType): number;</codeblock> 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 fc350526a39..cbb1dee368a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoppreview2.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopPreview(Constants.VideoSourceType sourceType); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopPreview(sourceType?: Constants.VideoSourceType): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopPreview: (AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopPreview(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 cb730129c0e..fbe19b8a99c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopprimarycustomaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 55e6c14e102..86f719b6b69 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoprhythmplayer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopRhythmPlayer();</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopRhythmPlayer;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopRhythmPlayer() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 fe4cd7a07d9..3785b4b2f34 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoprtmpstream.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopRtmpStream(String url);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopRtmpStream(url: string): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopRtmpStream:(NSString* _Nonnull)url;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopRtmpStream(const char* url) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 580c69825cd..3e66e1b9b61 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopScreenCapture();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract stopScreenCapture(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopScreenCapture NS_SWIFT_NAME(stopScreenCapture()); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">#if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__) 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 5599a3fc8f7..56f1269146d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopscreencapture2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopScreenCapture:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(stopScreenCapture(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopScreenCapture(VIDEO_SOURCE_TYPE sourceType) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 5f00fcc7f8c..bd19f1ea379 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stopsecondarycustomaudiotrack.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 1930bfe090c..108da23528b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int switchCamera();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract switchCamera(): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)switchCamera;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int switchCamera() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita index 772b0bb7936..87c92be9901 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int switchCamera(String cameraId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="bp" outputclass="language-cpp"/> 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 494c43aa60e..673d512716a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int switchChannel(String token, String channelName);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">-(int)switchChannel:(NSString* _Nonnull)token channelName:(NSString* _Nonnull)channelName;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int switchChannel(const char* token, const char* channel) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 f6f97920149..d08cf8bfa06 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int switchChannel(const char* token, const char* channelId, 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 8d758dd1e6a..422f2444a04 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takescreenshot.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int takeScreenshot(const char* filename) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 63d87c4d468..94b77508099 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int takeSnapshot(int uid, String filePath);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract takeSnapshot(uid: number, filePath: string): number;</codeblock> <codeblock props="ios mac">- (NSInteger)takeSnapshot:(NSInteger)uid filePath:(NSString* _Nonnull)filePath;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int takeSnapshot(uid_t uid, const char* filePath) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 7bf49c39e04..b3694716a63 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unloadalleffects.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unloadAllEffects() = 0; </codeblock> 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 c8493f14153..7c57265667f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unloadeffect.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int unloadEffect(int soundId); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)unloadEffect:(int)soundId; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unloadEffect(int soundId) = 0;</codeblock> 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 80dab47eac8..752e366151a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioencodedframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"> abstract unregisterAudioEncodedFrameObserver( 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 95c114264b0..2122473673f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudioframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 29f5b5a77ea..a7c91ccb1d5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisteraudiospectrumobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int unRegisterAudioSpectrumObserver(IAudioSpectrumObserver observer);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int) unregisterAudioSpectrumDelegate:(id<AgoraAudioSpectrumDelegate> _Nullable)delegate;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver * observer) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 a4ee651900e..a495cdbb2cd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregistermediametadataobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int unregisterMediaMetadataObserver(IMetadataObserver observer, int type);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract unregisterMediaMetadataObserver(observer:IMetadataObserver,type:number):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int unregisterMediaMetadataObserver(IMetadataObserver* observer, IMetadataObserver::METADATA_TYPE type) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 b7d46a939ec..63c4346786a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregisterplugin.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 f6716b86d40..bd1ed4669f1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoencodedimagereceiver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 2d5023a02bd..4b20cd7a698 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_unregistervideoframeobserver.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 61b912da370..a1b3f055429 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediaoptions.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateChannelMediaOptions(ChannelMediaOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract updateChannelMediaOptions(options: ChannelMediaOptions): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateChannelWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateChannelMediaOptions(const ChannelMediaOptions& options) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 f166788d6e9..ebbc61b7cae 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bb9511378c9..141a027f5f6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 9c6a0ebb800..d6dae5acf63 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocaltranscoderconfiguration.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateLocalTranscoderConfiguration(LocalTranscoderConfiguration config);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract updateLocalTranscoderConfiguration(config: LocalTranscoderConfiguration): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateLocalTranscoderConfiguration:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(updateLocalTranscoderConfiguration(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateLocalTranscoderConfiguration(const LocalTranscoderConfiguration& config) = 0; </codeblock> 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 fc1a930ccf0..0c48967d8ac 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatepreloadchanneltoken.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updatePreloadChannelToken(String token);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updatePreloadChannelToken:(NSString * _Nonnull)token NS_SWIFT_NAME(updatePreloadChannelToken(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updatePreloadChannelToken(const char* token) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract updatePreloadChannelToken(token: string): number;</codeblock> 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 4a321870acd..1bb9ff88141 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatertmptranscoding.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateRtmpTranscoding(LiveTranscoding transcoding);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateRtmpTranscoding:(AgoraLiveTranscoding* _Nullable)transcoding;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 ab04842646b..5adb9837910 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract int updateScreenCaptureParameters( ScreenCaptureParameters screenCaptureParameters);</codeblock> <codeblock props="ios" outputclass="language-objectivec" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)updateScreenCaptureParameters:(AgoraScreenCaptureParameters * _Nonnull)captureParams;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 d4927fda8a1..2fc07f22b81 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 73ecbf9ab9e..3082b23f7e4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)updateScreenCaptureRegion:(CGRect)rect;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateScreenCaptureRegion(const Rect* rect) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract updateScreenCaptureRegion(regionRect: Rectangle): number;</codeblock> 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 c9a3f62abb1..0eeecfbd469 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_uploadlogfile.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int uploadLogFile(agora::util::AString& requestId) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript" /> 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 de70618aea0..9fad6710456 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int addPublishStreamUrlEx( String url, boolean transcodingEnabled, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)addPublishStreamUrlEx:(NSString * _Nonnull)url transcodingEnabled:(BOOL)transcodingEnabled connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> 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 a1ffc0b0633..1554565a2fd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_addvideowatermarkex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int addVideoWatermarkEx( String watermarkUrl, WatermarkOptions options, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)addVideoWatermarkEx:(NSURL* _Nonnull)url options:(WatermarkOptions* _Nonnull)options connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> 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 6fcf55ce86a..b2fad0066f0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_adjustrecordingsignalvolumeex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustRecordingSignalVolumeEx(int volume, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustRecordingSignalVolumeEx:(NSInteger)volume connection:(AgoraRtcConnection* _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int adjustRecordingSignalVolumeEx(int volume, const RtcConnection& connection) = 0;</codeblock> 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 4fef5e9562c..f0c70117f09 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_adjustuserplaybacksignalvolumeex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int adjustUserPlaybackSignalVolumeEx( int uid, int volume, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)adjustUserPlaybackSignalVolumeEx:(NSUInteger)uid volume:(NSInteger)volume connection:(AgoraRtcConnection* _Nonnull)connection;</codeblock> 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 b6c8dd04689..d8f82c56c05 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_clearvideowatermarkex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int clearVideoWatermarkEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)clearVideoWatermarkEx:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int clearVideoWatermarkEx(const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita index 409b86cd1d4..70f210def55 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createDataStreamEx( boolean reliable, boolean ordered, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract createDataStreamEx(config:DataStreamConfig,connection:RtcConnection):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)createDataStreamEx:(NSInteger * _Nonnull)streamId reliable:(BOOL)reliable ordered:(BOOL)ordered 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 8d4183ace47..9c431f6627c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int createDataStreamEx(DataStreamConfig config, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract createDataStreamEx(config:DataStreamConfig,connection:RtcConnection):number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)createDataStreamEx:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(createDataStreamEx(_:config:connection:));</codeblock> 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 d8eae2016f1..859589fe66e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enableaudiovolumeindicationex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableAudioVolumeIndicationEx( int interval, int smooth, boolean reportVad, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableAudioVolumeIndicationEx:(NSInteger)interval smooth:(NSInteger)smooth reportVad:(BOOL)reportVad diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita index 8e0a45233d9..e9f656ea7d0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableContentInspectEx( boolean enabled, ContentInspectConfig config, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableContentInspectEx:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableContentInspectEx(_:config:connection:));</codeblock> <codeblock props="cpp unreal bp" outputclass="language-cpp">virtual int enableContentInspectEx(bool enabled, const media::ContentInspectConfig &config, const RtcConnection& connection) = 0;</codeblock> <codeblock props="unity cs" outputclass="language-csharp">public abstract int EnableContentInspectEx(bool enabled, ContentInspectConfig config, RtcConnection connection);</codeblock> 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 3050c76fb45..3767c75edb4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enabledualstreammodeex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableDualStreamModeEx( boolean enabled, SimulcastStreamConfig streamConfig, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableDualStreamModeEx:(BOOL)enabled streamConfig:(AgoraSimulcastStreamConfig*)streamConfig connection:(AgoraRtcConnection* _Nonnull)connection;</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita index de819edfc06..1d2fd7d6420 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int enableEncryptionEx( boolean enabled, EncryptionConfig config, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)enableEncryptionEx:(bool)enabled encryptionConfig:(AgoraEncryptionConfig *_Nonnull)config connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableEncryptionEx(_:encryptionConfig:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableEncryptionEx(const RtcConnection& connection, bool enabled, const EncryptionConfig& config) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 0b57749351c..e813aa838cb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_enableloopbackrecordingex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)enableLoopbackRecordingEx:(BOOL)enabled deviceName:(NSString* _Nullable)deviceName connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableLoopbackRecordingEx(_:deviceName:connection:));</codeblock> diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index 5e8dfaa1034..46002ecd455 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract String getCallIdEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract getCallIdEx(connection:RtcConnection):string;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSString * _Nullable)getCallIdEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(getCallIdEx(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCallIdEx(agora::util::AString& callId, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> 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 4168f42240b..273f9d66c1a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getconnectionstateex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract RtcConnection.CONNECTION_STATE_TYPE getConnectionStateEx( RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraConnectionState)getConnectionStateEx:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual CONNECTION_STATE_TYPE getConnectionStateEx(const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 0d51bd6b2fd..fe671a0fa4a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuidex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract UserInfo getUserInfoByUid(int uid, String channelId, String localUserAccount);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getUserInfoWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId 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 0ec5aeed4f9..a76248dedee 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract UserInfo getUserInfoByUserAccount(String userAccount, String channelId, String localUserAccount);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)getUserInfoWithUserAccount:(NSString * _Nonnull)userAccount userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId 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 c88de889dc9..70bba7891b5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_joinchannelex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int joinChannelEx(String token, RtcConnection connection, ChannelMediaOptions options, IRtcEngineEventHandler eventHandler);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract joinChannelEx(token: string, connection: RtcConnection, options: ChannelMediaOptions, eventHandler: IRtcEngineEventHandler): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)joinChannelExByToken:(NSString* _Nullable)token connection:(AgoraRtcConnection * _Nonnull)connection delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate 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 cd2a47f6fd0..cb8c9e903ea 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int leaveChannelEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock NS_SWIFT_NAME(leaveChannelEx(_:leaveChannelBlock:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int leaveChannelEx(const RtcConnection& connection) = 0;</codeblock> 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 650f99492c4..c6873de2789 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract leaveChannelEx(connection: RtcConnection, options?:LeaveChannelOptions): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock;</codeblock> 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 ca5ac7431c2..ddd3b4aea76 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteAllRemoteAudioStreamsEx(boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteAllRemoteAudioStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteAudioStreamsEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteAllRemoteAudioStreamsEx(bool mute, const RtcConnection& connection) = 0;</codeblock> 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 c33aae75927..c18b8ff41ad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteAllRemoteVideoStreamsEx(boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteAllRemoteVideoStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteVideoStreamsEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteAllRemoteVideoStreamsEx(bool mute, const RtcConnection& connection) = 0;</codeblock> 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 dd41ed58cb7..352b6454acc 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalaudiostreamex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteLocalAudioStreamEx(boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteLocalAudioStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalAudioStreamEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteLocalAudioStreamEx(bool mute, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 721b11903f6..41c5e8c0e75 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteLocalVideoStreamEx(boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteLocalVideoStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalVideoStreamEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteLocalVideoStreamEx(bool mute, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 d8b437887ea..58d7a02a253 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muterecordingsignalex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRecordingSignalEx(boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteRecordingSignalEx:(BOOL)mute connection:(AgoraRtcConnection* _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int muteRecordingSignalEx(bool mute, const RtcConnection& connection) = 0;</codeblock> 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 c2e70771156..e5f6d9463a0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRemoteAudioStreamEx(int uid, boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteRemoteAudioStreamEx:(NSUInteger)uid mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> 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 2030517cf7e..400761b8cbb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int muteRemoteVideoStreamEx(int uid, boolean muted, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)muteRemoteVideoStreamEx:(NSUInteger)uid mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> 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 47a33d76927..49be23bfbcd 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pauseAllChannelMediaRelayEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pauseAllChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(pauseAllChannelMediaRelayEx(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pauseAllChannelMediaRelayEx(const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 4562639051d..dd8c9eb5f71 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pushaudioframeex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)pushExternalAudioFrameExNSData:(NSData * _Nonnull)data sourceId:(NSInteger)sourceId timestamp:(NSTimeInterval)timestamp; diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita index ebbce294896..10b0349494e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_pushencodedvideoimageex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int pushExternalEncodedVideoFrameEx( ByteBuffer data, EncodedVideoFrameInfo frameInfo, int videoTrackId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int pushEncodedVideoImage(const uint8_t* imageBuffer, size_t length, const agora::rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo, 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 6bee04203e0..a52227ac564 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_resumeallchannelmediarelayex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int resumeAllChannelMediaRelayEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)resumeAllChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(resumeAllChannelMediaRelayEx(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int resumeAllChannelMediaRelayEx(const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 286d5bbc99d..1fdd4c1ec7f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_sendcustomreportmessageex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int sendCustomReportMessageEx( String id, String category, String event, String label, int value, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)sendCustomReportMessageEx:(NSString * _Nullable)messageId category:(NSString * _Nullable)category event:(NSString * _Nullable)event 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 f754b491d5f..71560b32a84 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int sendStreamMessageEx(int streamId, byte[] message, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int sendStreamMessageEx(int streamId, const char* data, size_t length, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 8b7a28beaa3..6fa18d1581c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setDualStreamModeEx(Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setDualStreamModeEx:(AgoraSimulcastStreamMode)mode streamConfig:(AgoraSimulcastStreamConfig*)streamConfig connection:(AgoraRtcConnection* _Nonnull)connection;</codeblock> 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 694906cba07..5061329f9f6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremoterendermodeex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteRenderModeEx( int uid, int renderMode, int mirrorMode, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteRenderModeEx:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror 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 08359a36b0a..f046efa8ff7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVideoStreamTypeEx(int uid, int streamType, RtcConnection connection);</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVideoStreamEx:(NSUInteger)uid + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVideoStreamEx:(NSUInteger)uid type:(AgoraVideoStreamType)streamType connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoStreamEx(_:type:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setRemoteVideoStreamTypeEx(uid_t uid, VIDEO_STREAM_TYPE streamType, const RtcConnection& connection) = 0;</codeblock> 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 229ae71886a..9d8475ae1b9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevideosubscriptionoptionsex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVideoSubscriptionOptionsEx( int uid, VideoSubscriptionOptions options, RtcConnection rtcConnection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVideoSubscriptionOptionsEx:(NSUInteger)uid options:(AgoraVideoSubscriptionOptions* _Nonnull)options connection:(AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoSubscriptionOptionsEx(_:options:connection:));</codeblock> 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 daea921efbb..cdafa02cd7d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoice3dpositionex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVoice3DPositionEx( int uid, double azimuth, double elevation, double distance, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVoice3DPositionEx:(NSUInteger)uid azimuth:(double)azimuth elevation:(double)elevation 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 02d32509f99..3cee4a6696b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setremotevoicepositionex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setRemoteVoicePositionEx( int uid, double pan, double gain, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setRemoteVoicePosition:(NSUInteger)uid pan:(double)pan gain:(double)gain 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 e975222fc0b..9aa9ba9b97e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioallowlistex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeAudioAllowlistEx(int[] uidList, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeAudioAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeAudioAllowlistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 6f3a33e9174..8204a7e5b34 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribeaudioblocklistex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeAudioBlocklistEx(int[] uidList, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeAudioBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeAudioBlocklistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 a2614404a61..cff509f810f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoallowlistex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeVideoAllowlistEx(int[] uidList, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeVideoAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeVideoAllowlistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 8d59a00877b..0f436a95b85 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setsubscribevideoblocklistex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setSubscribeVideoBlocklistEx(int[] uidList, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setSubscribeVideoBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setSubscribeVideoBlocklistEx(uid_t* uidList, int uidNumber, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 698190829c1..93bfe783da7 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setupremotevideoex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setupRemoteVideoEx(VideoCanvas remote, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setupRemoteVideoEx(remote:VideoCanvas, connection:RtcConnection) : number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setupRemoteVideoEx:(AgoraRtcVideoCanvas* _Nonnull)remote connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setupRemoteVideoEx(const VideoCanvas& canvas, const RtcConnection& connection) = 0;</codeblock> 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 5bbd82a40c7..972881dd33a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_setvideoencoderconfigurationex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int setVideoEncoderConfigurationEx( VideoEncoderConfiguration config, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">public abstract setVideoEncoderConfigurationEx(configuration: VideoEncoderConfiguration, connection: RtcConnection): number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setVideoEncoderConfigurationEx(const VideoEncoderConfiguration& config, const RtcConnection& connection) = 0;</codeblock> 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 59f162f5dc7..049d8577757 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startChannelMediaRelayEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 70749252872..38fba1429ad 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startMediaRenderingTracingEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startMediaRenderingTracingEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startMediaRenderingTracingEx(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startMediaRenderingTracingEx(const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 22a47649246..48adb497a31 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startorupdatechannelmediarelayex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startOrUpdateChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startOrUpdateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startOrUpdateChannelMediaRelayEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startOrUpdateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 26ce901e45f..6e731d461b2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startRtmpStreamWithoutTranscodingEx(String url, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startRtmpStreamWithoutTranscodingEx:(NSString* _Nonnull)url connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithoutTranscodingEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startRtmpStreamWithoutTranscodingEx(const char* url, const RtcConnection& connection) = 0;</codeblock> 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 96a627ea446..1cb122ec24e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithtranscodingex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int startRtmpStreamWithTranscodingEx( String url, LiveTranscoding transcoding, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)startRtmpStreamWithTranscodingEx:(NSString* _Nonnull)url transcoding:(AgoraLiveTranscoding* _Nullable)transcoding connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithTranscodingEx(_:transcoding:connection:));</codeblock> 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 558b24ce541..4ccc85cb6e4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_stopchannelmediarelayex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopChannelMediaRelayEx(RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopChannelMediaRelayEx:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopChannelMediaRelayEx(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopChannelMediaRelayEx(const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bd7a2c00ae6..c7f3227c912 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_stoprtmpstreamex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int stopRtmpStreamEx(String url, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)stopRtmpStreamEx:(NSString* _Nonnull)url connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopRtmpStreamEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopRtmpStreamEx(const char* url, const RtcConnection& connection) = 0;</codeblock> 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 7668db04791..3965e0b9729 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int takeSnapshotEx(RtcConnection connection, int uid, String filePath);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)takeSnapshotEx:(AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid filePath:(NSString* _Nonnull)filePath;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int takeSnapshotEx(const RtcConnection& connection, uid_t uid, const char* filePath) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 bdc4989c929..f91fb3e34f2 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediaoptionsex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateChannelMediaOptionsEx( ChannelMediaOptions options, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateChannelExWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions connection:(AgoraRtcConnection * _Nonnull)connection;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateChannelMediaOptionsEx(const ChannelMediaOptions& options, const RtcConnection& connection) = 0;</codeblock> 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 abca842e70c..c1a193ce318 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateChannelMediaRelayEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") 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 c47927c09cb..9ff74317af3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int updateRtmpTranscodingEx( LiveTranscoding transcoding, RtcConnection connection);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)updateRtmpTranscodingEx:(AgoraLiveTranscoding* _Nullable)transcoding connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateRtmpTranscodingEx(_:connection:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int updateRtmpTranscodingEx(const LiveTranscoding& transcoding, const RtcConnection& connection) = 0;</codeblock> 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 0588e887552..5aa6a4235ad 100644 --- a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual unsigned int getCount() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") 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 1a0e8c26e06..ea2fbc529a7 100644 --- a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita +++ b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_getsourceinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") 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 aa550ab5fb2..c43010a2767 100644 --- a/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita +++ b/en-US/dita/RTC-NG/API/api_iscreencapturesourcelist_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|ScreenCaptureSourceList") 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 84ae2ee927c..8d14c5f91c3 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCount() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") 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 e972973c62e..860a4364bc1 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_getdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], 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 901cbbdacc5..f85abbfbe45 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_release.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") 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 8b02dbdeb1d..c69f07ac4b5 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (int)setDevice:(AgoraMediaDeviceType)type deviceId:(NSString * _Nonnull)deviceId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceCollection") 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 2761e9bc146..bb0ee81c02f 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual IVideoDeviceCollection* enumerateVideoDevices() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") 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 3ed0d167671..bc1fb1d9fae 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCapability(const char* deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat& capability) = 0; </codeblock> 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 8a085ad1520..fa37e16d897 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") 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 dae2a08d100..4f053f5d820 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int numberOfCapabilities(const char* deviceIdUTF8) = 0; </codeblock> 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 9fed4b75375..691256b049c 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void release() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") 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 6fd09e3132e..0ad91fdf9b8 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = "Agora|IVideoDeviceManager") 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 04e98b6b6d2..7fd825a66a9 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int startDeviceTest(view_t hwnd) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract startDeviceTest(hwnd: any): number;</codeblock> 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 e5c4cf695c7..a235f23f34d 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int stopDeviceTest() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract stopDeviceTest(): number;</codeblock> 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 190d2ab200f..4dd8bbd62d7 100644 --- a/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita +++ b/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 69fae2b0edc..830655eaf60 100644 --- a/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita +++ b/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 9d793ca1a3c..ba95f05cb1b 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita @@ -19,6 +19,7 @@ } backgroundImageList.add(backgroundImage); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 01a1782a6ed..7e18b7df9dd 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita @@ -17,6 +17,7 @@ if (user == null || user.uid == 0) { return -Constants.ERR_INVALID_ARGUMENT; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"> - (int)addUser:(AgoraLiveTranscodingUser* _Nonnull)user;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> 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 e94d6b04c8c..484d6be8513 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita @@ -19,6 +19,7 @@ } watermarkList.add(watermark); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 1af7d0a6c0d..639d9b2efaf 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">+ (AgoraLiveTranscoding* _Nonnull)defaultTranscoding;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 ba40217f417..86dd98e1476 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 22b1edf920d..a273ec049ee 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public int getBackgroundColor() { return this.backgroundColor; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 ebbf098e2ec..523358e9c55 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public ArrayList<AgoraImage> getBackgroundImageList() { return backgroundImageList; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5981a1d8ca7..09890825c71 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita @@ -17,6 +17,7 @@ public int getBlue() { return backgroundColor & 0x0ff; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 05867394a1f..a7b0067d8a5 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita @@ -17,6 +17,7 @@ public int getGreen() { return (backgroundColor >> 8) & 0x0ff; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 8fd040efac3..b79ffba2219 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita @@ -17,6 +17,7 @@ public int getRed() { return (backgroundColor >> 16) & 0x0ff; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 7b5fd1a6074..40f0bcea00d 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public int getUserCount() { return transcodingUsers.size(); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 c8dcd9f9e07..fc696e30b65 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita @@ -17,6 +17,7 @@ Collection<TranscodingUser> values = transcodingUsers.values(); return new ArrayList<>(values); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 9ccf5fc3774..7ae6d034f16 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public ArrayList<AgoraImage> getWatermarkList() { return watermarkList; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 a964ce46c7b..4952f78b714 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita @@ -19,6 +19,7 @@ } return backgroundImageList.remove(backgroundImage); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 057ad87aa71..38ebdcde72f 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita @@ -21,6 +21,7 @@ userCount = transcodingUsers.size(); return Constants.ERR_OK; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (int)removeUser:(NSUInteger)uid;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 15cfe844dc3..2b934158882 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita @@ -19,6 +19,7 @@ } return watermarkList.remove(watermark); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 14281a52529..76a4187564a 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void setAdvancedFeatures(String featureName, Boolean opened) { advancedFeatures.put(featureName, opened); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)setAdvancedFeatures:(NSString* _Nonnull)featureName opened:(BOOL)opened;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 19fd1af22e1..bbab8157e81 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void setBackgroundColor(int color) { this.backgroundColor = color; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 b6fa353f13a..3f8e90f009e 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void setBackgroundColor(int red, int green, int blue) { this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 7d898f75639..0dfb7e09d01 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita @@ -19,6 +19,7 @@ public void setBlue(int blue) { int green = getGreen(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 10e497a3406..8eab1a7dd02 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita @@ -19,6 +19,7 @@ public void setGreen(int green) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 c20167cb0d4..893665a539f 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita @@ -19,6 +19,7 @@ public void setRed(int red) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 48814b57b32..f66bad46dc4 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita @@ -22,6 +22,7 @@ } userCount = transcodingUsers.size(); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5351f5f9a4b..1bf8968defd 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita @@ -21,6 +21,7 @@ userCount = transcodingUsers.size(); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 abd5a6afcf7..7d3757ac799 100644 --- a/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/api_monitordevicechange.dita b/en-US/dita/RTC-NG/API/api_monitordevicechange.dita index 03471fd30b1..faf0ee51793 100644 --- a/en-US/dita/RTC-NG/API/api_monitordevicechange.dita +++ b/en-US/dita/RTC-NG/API/api_monitordevicechange.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">- (void)monitorDeviceChange:(BOOL)enabled;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int enableLoopbackRecording(bool enabled) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 571e6c49a24..2b161a3e561 100644 --- a/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCount() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getCount(): number;</codeblock> 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 3a16e81a388..03f753c14b0 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getCount() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getCount(): number;</codeblock> 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 4351c270547..23fb9b0ed18 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual Music* getMusic(int32_t index) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getMusic(index: number): Music;</codeblock> 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 d92de823b96..573e17b9907 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getPageSize() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">virtual int getPageSize() = 0;</codeblock> 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 a0c27cb73ab..58573bfebca 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getTotal() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">abstract getTotal(): number;</codeblock> 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 a7c157b3197..3a5ea86fb5d 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 @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 b8b61fa925c..fee4cefc98d 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 @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5786574aafe..494c9317f53 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 @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 ecb327a9c91..24c9b323b35 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 @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 052212d8748..f71262e4ffb 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 @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 af939bd026f..c9ff19eed59 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 @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 0e49d18f889..1b1d686d738 100644 --- a/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita +++ b/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/api_videosurface_setenable.dita b/en-US/dita/RTC-NG/API/api_videosurface_setenable.dita index 7887e08b299..d043837cf35 100644 --- a/en-US/dita/RTC-NG/API/api_videosurface_setenable.dita +++ b/en-US/dita/RTC-NG/API/api_videosurface_setenable.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/api_videosurface_setforuser.dita b/en-US/dita/RTC-NG/API/api_videosurface_setforuser.dita index 5c013464f2c..5a6170007ea 100644 --- a/en-US/dita/RTC-NG/API/api_videosurface_setforuser.dita +++ b/en-US/dita/RTC-NG/API/api_videosurface_setforuser.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/callback_airplayconnected.dita b/en-US/dita/RTC-NG/API/callback_airplayconnected.dita index 5c055f6a8ce..2852fa1b5cd 100644 --- a/en-US/dita/RTC-NG/API/callback_airplayconnected.dita +++ b/en-US/dita/RTC-NG/API/callback_airplayconnected.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 9ea0d4d7cff..7bc279dd26b 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract void onMixedAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onMixedEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnMixedAudioEncodedFrame, const TArray<int64>, frameBuffer, int, length, const FEncodedAudioFrameInfo&, audioEncodedFrameInfo);</codeblock> 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 f4449abae8d..1c2707eae03 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract void onPlaybackAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onPlaybackEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioEncodedFrame, const TArray<int64>, frameBuffer, int, length, const FEncodedAudioFrameInfo&, audioEncodedFrameInfo);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita index a907158f123..925390abe3e 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract void onRecordAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onRecordEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRecordAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0;</codeblock> 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 d286c48bd93..2f63e30b728 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool isMultipleChannelFrameWanted() { return false; }</codeblock> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index 4305f639cb3..1de90eee610 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract boolean onPlaybackAudioFrameBeforeMixing(int userId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onPlaybackAudioFrameBeforeMixing?: (channelId: string, userId: number, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(onPlaybackAudioFrame(beforeMixing:channelId:uid:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onPlaybackAudioFrameBeforeMixing(const char* channelId, rtc::uid_t uid, AudioFrame& audioFrame) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioFrameBeforeMixing, const FString, channelId, int64, uid, const FAudioFrame&, audioFrame);</codeblock> 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 26ffda744d8..ab01e615f7f 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 ade89265c51..34f73b296ef 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract AudioParams getEarMonitoringAudioParams();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getEarMonitoringAudioParams?: () => AudioParams;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec"> - (AgoraAudioParams* _Nonnull)getEarMonitoringAudioParams NS_SWIFT_NAME(getEarMonitoringAudioParams());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual AudioParams getEarMonitoringAudioParams() = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita index e083362f148..824f30ce3d2 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getmixedaudioparams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract AudioParams getMixedAudioParams();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getMixedAudioParams?: () => AudioParams;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraAudioParams* _Nonnull)getMixedAudioParams NS_SWIFT_NAME(getMixedAudioParams());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual AudioParams getMixedAudioParams() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetMixedAudioParams);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita index d521c43d25f..24a1f5dbec7 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">- (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition());</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getObservedAudioFramePosition: () => number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getObservedAudioFramePosition() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetObservedAudioFramePosition);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita index d646c96405c..d726718366f 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract AudioParams getMixedAudioParams();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getPlaybackAudioParams?: () => AudioParams;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraAudioParams* _Nonnull)getPlaybackAudioParams NS_SWIFT_NAME(getPlaybackAudioParams());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual AudioParams getPlaybackAudioParams() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetPlaybackAudioParams);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita index 25def1d8f47..601a6505f0b 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract AudioParams getRecordAudioParams();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getRecordAudioParams?: () => AudioParams;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraAudioParams* _Nonnull)getRecordAudioParams NS_SWIFT_NAME(getRecordAudioParams());</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual AudioParams getRecordAudioParams() = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRecordAudioParams);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita index 9235d9149b4..9354d1ea813 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita @@ -17,6 +17,7 @@ int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onEarMonitoringAudioFrame?: (type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onEarMonitoringAudioFrame:(AgoraAudioFrame* _Nonnull)frame; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index a3d4f293555..98c614619ec 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract boolean onMixedAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onMixedAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onMixedAudioFrame(_:channelId:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnMixedAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita index bdd72064ffd..3104c2c49f2 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract boolean onPlaybackAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onPlaybackAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onPlaybackAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlaybackAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita index 6e7cc2b011f..1d8b5d03f35 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public abstract boolean onRecordAudioFrame(String channelId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRecordAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onRecordAudioFrame(_:channelId:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRecordAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita b/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita index 87d64db5bd9..16086925723 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">AudioFrame onFrame(AudioFrame frame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveAudioFrame:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFrame(agora::media::base::AudioPcmFrame* frame) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita index 6bf6da69a73..53b4441e582 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onLocalAudioSpectrum(AudioSpectrumInfo data); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onLocalAudioSpectrum:(NSArray<NSNumber *> * _Nullable)audioSpectrumData;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onLocalAudioSpectrum(const AudioSpectrumData& data) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnLocalAudioSpectrum, const FAudioSpectrumData&, data);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita index 204dba35da4..fde990050d4 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onRemoteAudioSpectrum(UserAudioSpectrumInfo[] userAudioSpectrumInfos, int spectrumNumber); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onRemoteAudioSpectrum:(NSArray<AgoraAudioSpectrumInfo *> * _Nullable)AudioSpectrumInfo; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onRemoteAudioSpectrum(const UserAudioSpectrumInfo * spectrums, unsigned int spectrumNumber) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita index b18cb096932..eb56d5e1d34 100644 --- a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onDirectCdnStreamingStateChanged( DirectCdnStreamingState state, DirectCdnStreamingReason reason, String message);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onDirectCdnStreamingStateChanged:(AgoraDirectCdnStreamingState)state reason:(AgoraDirectCdnStreamingReason)reason message:(NSString *_Nullable)message NS_SWIFT_NAME(onDirectCdnStreamingStateChanged(_:reason:message:));</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita index 679966b67b5..e20912bb6ad 100644 --- a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita +++ b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onDirectCdnStreamingStats(DirectCdnStreamingStats stats);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onDirectCdnStreamingStats:(AgoraDirectCdnStreamStats *_Nonnull)stats;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onDirectCdnStreamingStats(const DirectCdnStreamStats& stats) { (void)stats; diff --git a/en-US/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita b/en-US/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita index a351af0416a..26c430b166e 100644 --- a/en-US/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita +++ b/en-US/dita/RTC-NG/API/callback_ifaceinfoobserver_onfaceinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onFaceInfo(String outFaceInfo);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onFaceInfo:(NSString* _Nonnull)outFaceInfo NS_SWIFT_NAME(onFaceInfo(_:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onFaceInfo(const char* outFaceInfo) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp"/> diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita b/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita index 8ec05f54ab7..f02129bb357 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">onFrame?(frame: AudioPcmFrame): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita index 83b4e24ce6e..2ab57c17c84 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int onReadData(ByteBuffer buffer, int bufferSize); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">typedef int(^AgoraRtcMediaPlayerCustomSourceOnReadCallback)(id<AgoraRtcMediaPlayerProtocol> _Nonnull playerKit, unsigned char * _Nullable buffer, int bufferSize); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int onReadData(unsigned char *buffer, int bufferSize) = 0; diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita index 7f283cb988d..56a419251d3 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">long onSeek(long offset, int whence); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">typedef long long(^AgoraRtcMediaPlayerCustomSourceOnSeekCallback)(id<AgoraRtcMediaPlayerProtocol> _Nonnull playerKit, long long offset, int whence); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int64_t onSeek(int64_t offset, int whence) = 0; 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 0a6eee0b64b..c14ab58ff87 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onAgoraCDNTokenWillExpire(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onAgoraCDNTokenWillExpire; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAgoraCDNTokenWillExpire() = 0; 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 8d6a00eda79..b48682e8576 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onAudioVolumeIndication(int volume);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onAudioVolumeIndication?:( speakers:Array<AudioVolumeInfo>, totalVolume:number) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit volumeIndicationDidReceive:(NSInteger)volume; </codeblock> 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 e68bee6d233..a07cacb6974 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onCompleted(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onCompleted() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">onCompleted?(): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita index 1e9c7aac839..4848de9d16d 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onMetaData(Constants.MediaPlayerMetadataType type, byte[] data); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveData:(NSString *_Nullable)data length:(NSInteger)length;</codeblock> 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 aa96af51dbc..e6bd9ab587d 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayBufferUpdated(long playCachedBuffer); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didPlayBufferUpdated:(NSInteger)playCachedBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didPlayBufferUpdated:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita index 01636abfe41..1703fd56d80 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayercachestats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayerCacheStats(CacheStatistics stats);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">(void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit cacheStats:(AgoraMediaPlayerCacheStatistics *_Nonnull)info NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:cacheStats:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPlayerCacheStats(const media::base::CacheStatistics& stats) { (void)stats; diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita index ad96ec36812..206ea426b9f 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayerEvent(Constants.MediaPlayerEvent eventCode, long elapsedTime, String message); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">(void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didOccurEvent:(AgoraMediaPlayerEvent)eventCode elapsedTime:(NSInteger)elapsedTime 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 b62988d9e3a..78a05f7272e 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayerInfoUpdated(PlayerUpdatedInfo info); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit infoUpdated:(AgoraMediaPlayerUpdatedInfo *_Nonnull)info; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita index dbda8fa14c0..e8fd1a8b74e 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerplaybackstats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayerPlaybackStats(PlayerPlaybackStats stats);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">(void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playbackStats:(AgoraMediaPlayerPlaybackStats *_Nonnull)info NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:playbackStats:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPlayerPlaybackStats(const media::base::PlayerPlaybackStats& stats) { (void)stats; diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita index 0eeb0cccd39..c1df2977291 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayerStateChanged(Constants.MediaPlayerState state, Constants.MediaPlayerReason reason); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didChangedToState:(AgoraMediaPlayerState)state reason:(AgoraMediaPlayerReason)reason NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didChangedTo:reason:));</codeblock> 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 36961daa5d1..de466ffddf2 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPlayerSrcInfoChanged(SrcInfo from, SrcInfo to); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playerSrcInfoDidChange:(AgoraMediaPlayerSrcInfo *_Nonnull)to from:(AgoraMediaPlayerSrcInfo *_Nonnull)from; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita index 326cff44ded..d1aa46da0b2 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPositionChanged(long positionMs, long timestampMs);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraMediaPlayer:(AgoraMediaPlayer *_Nonnull)playerKit didChangedToPosition:(NSInteger)positionMs atTimestamp:(NSTimeInterval)timestampMs NS_SWIFT_NAME(AgoraMediaPlayer(_:didChangedToPosition:atTimestamp:));</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita index f51d9b5889d..259864b0617 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPreloadEvent(String src, Constants.MediaPlayerPreloadEvent event); </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didPreloadEvent:(AgoraMediaPlayerPreloadEvent)event; </codeblock> 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 586ac4cda61..658f30c3e15 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">onFrame?(frame: VideoFrame): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita index 414a46b5e70..430e1e92e0b 100644 --- a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onRecorderInfoUpdated(String channelId, int uid, RecorderInfo info);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRecorderInfoUpdated(channelId: string, uid: number, info: RecorderInfo): void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder informationDidUpdated:(NSString * _Nonnull)channelId uid:(NSUInteger)uid info:(AgoraMediaRecorderInfo* _Nonnull)info;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRecorderInfoUpdated(const char* channelId, rtc::uid_t uid, const RecorderInfo& info) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnRecorderInfoUpdated, FString, channelId, int64, uid, const FRecorderInfo&, info);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita index 681d0011398..4124d5bfa45 100644 --- a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onRecorderStateChanged(String channelId, int uid, int state, int reason);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRecorderStateChanged(channelId: string, uid: number, state: number, reason: number): void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder stateDidChanged:(NSString * _Nonnull)channelId uid:(NSUInteger)uid state:(AgoraMediaRecorderState)state reason:(AgoraMediaRecorderReasonCode)reason;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRecorderStateChanged(const char* channelId, rtc::uid_t uid, RecorderState state, RecorderReasonCode reason) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRecorderStateChanged, FString, channelId, int64, uid, FENUMWRAP_RecorderState, state, ERecorderErrorCode, error);</codeblock> 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 1138aa6ce89..be60e93de9d 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract int getMaxMetadataSize();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getMaxMetadataSize?:() =>number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSInteger)metadataMaxSize;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; }</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetMaxMetadataSize);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index c4ef12f0c99..e130da2f5c8 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract void onMetadataReceived(byte[] buffer, int uid, long timeStampMs);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onMetadataReceived?:(buffer:ArrayBuffer,uid:number,timeStampMs:bigint) =>void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)receiveMetadata:(NSData * _Nonnull)data fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onMetadataReceived(const Metadata &metadata) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita index 9e7540001ac..a4017ab3105 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public abstract byte[] onReadyToSendMetadata(long timeStampMs, int sourceType);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onReadyToSendMetadata?:(timeStampMs:bigint,sourceType:Constants.VideoSourceType) =>ArrayBuffer;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (NSData * _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp sourceType:(AgoraVideoSourceType)sourceType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0;</codeblock> 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 6f9de9d395f..9f6de69cc94 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onLyricResult(String requestId, long songCode, String lyricUrl, int reason);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onLyricResult:(NSString*)requestId songCode:(NSInteger)songCode lyricUrl:(NSString* _Nullable)lyricUrl reason:(AgoraMusicContentCenterStateReason)reason;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLyricResult(const char* requestId, int64_t songCode, const char* lyricUrl, MusicContentCenterStateReason reason) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">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 db4c4df8406..2e621b16ee0 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onMusicChartsResult(String requestId, MusicChartInfo[] list, int reason);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onMusicChartsResult:(NSString *)requestId result:(NSArray<AgoraMusicChartInfo*> *)result reason:(AgoraMusicContentCenterStateReason)reason;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStateReason reason) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">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 06157451223..4d0a505f73b 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"> void onMusicCollectionResult( String requestId, int page, int pageSize, int total, Music[] list, int reason);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onMusicCollectionResult:(NSString *)requestId result:(AgoraMusicCollection *)result reason:(AgoraMusicContentCenterStateReason)reason;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStateReason reason) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">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 29cb67ffad0..69683bbacbf 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onPreLoadEvent( String requestId, long songCode, int percent, String lyricUrl, int state, int reason);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onPreLoadEvent:(NSString*)requestId songCode:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl state:(AgoraMusicContentCenterPreloadState)state reason:(AgoraMusicContentCenterStateReason)reason;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPreLoadEvent(const char* requestId, int64_t songCode, int percent, const char* lyricUrl, PreloadState state, MusicContentCenterStateReason reason) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">onPreLoadEvent?( diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita index 88c9901105e..2e5b1e6e6df 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onSongSimpleInfoResult(String requestId, long songCode, String simpleInfo, int reason);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onSongSimpleInfoResult:(NSString*)requestId songCode:(NSInteger)songCode simpleInfo:(NSString* _Nullable)simpleInfo reason:(AgoraMusicContentCenterStateReason)reason;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onSongSimpleInfoResult(const char* requestId, int64_t songCode, const char* simpleInfo, MusicContentCenterStateReason reason) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">onSongSimpleInfoResult?( 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 62b41292050..6c2dd65382c 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onReceiveAudioPacket(Packet& packet) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnReceiveAudioPacket, const FPacket&, packet);</codeblock> 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 dec7b5645fb..7ecb49e4463 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onReceiveVideoPacket(Packet& packet) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnReceiveVideoPacket, const FPacket&, packet);</codeblock> 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 206adccc7c9..83c79a709fa 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onSendAudioPacket(Packet& packet) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnSendAudioPacket, const FPacket&, packet);</codeblock> 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 910311e8aaf..a10c70f1bc2 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onSendVideoPacket(Packet& packet) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnSendVideoPacket, const FPacket&, packet);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita index ec5b044680f..04f14cdb092 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onActiveSpeaker(int uid) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine activeSpeaker:(NSUInteger)speakerUid;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onActiveSpeaker(uid_t userId) { (void)userId; }</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnActiveSpeaker, int64, userId);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita index 52864c59c21..78f8c26c1bb 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onApiCallExecuted(int error, String api, String result) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didApiCallExecute:(NSInteger)error api:(NSString * _Nonnull)api 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 009ed141b67..c4d12480bc2 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita index b3106ef2349..f0de7655347 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioDeviceStateChanged(const char* deviceId, int deviceType, diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita index 23845460438..ab8b670853c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) { (void)deviceType; 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 2e5b672ff23..972ac585e15 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioEffectFinished(int soundId) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineDidAudioEffectFinish:(AgoraRtcEngineKit * _Nonnull)engine soundId:(int)soundId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioEffectFinished(int soundId) { }</codeblock> 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 5dcf9bc8081..be4e6956872 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioMixingFinished() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onAudioMixingFinished?:()=>void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineLocalAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioMixingFinished() { }</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita index e84cdf17dad..3124cb8d636 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioMixingPositionChanged(long position) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onAudioMixingPositionChanged?:(position:bigint) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingPositionChanged:(NSInteger)position NS_SWIFT_NAME(rtcEngine(_:audioMixingPositionChanged:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioMixingPositionChanged(int64_t position) {}</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAudioMixingPositionChanged, int64, position);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index 84fdda0674b..633cbd80cd2 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioMixingStateChanged(int state, int reasonCode);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onAudioMixingStateChanged?:(state:number,reason:number) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)state reasonCode:(AgoraAudioMixingReasonCode)reasonCode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita index a396176cca5..895871da0bc 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioPublishStateChanged(String channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didAudioPublishStateChange:(NSString * _Nonnull)channelId oldState:(AgoraStreamPublishState)oldState diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita index 7fd5d0678fa..0fdee12462e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioQuality(int uid, int quality, short delay, short lost) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)audioQualityBlock:(void (^_Nullable)(NSUInteger uid, AgoraNetworkQuality quality, NSUInteger delay, NSUInteger lost))audioQualityBlock</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay, unsigned short lost) { (void)uid; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita index 7b17cfbce66..275dc24caa8 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioRouteChanged(int routing) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onAudioRoutingChanged(int routing) { (void)routing; } </codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita index f58ab3f169f..2ecec81385c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioSubscribeStateChanged( String channel, int uid, int oldState, int newState, int elapseSinceLastState) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didAudioSubscribeStateChange:(NSString * _Nonnull)channelId uid:(unsigned int)uid diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita index d69329a1e35..d69d54a232a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onAudioVolumeIndication(AudioVolumeInfo[] speakers, int totalVolume) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onAudioVolumeIndication?:( speakers:Array<AudioVolumeInfo>, totalVolume:number) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportAudioVolumeIndicationOfSpeakers:(NSArray<AgoraRtcAudioVolumeInfo *> * _Nonnull)speakers totalVolume:(NSInteger)totalVolume;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita index 44160b194a9..800ed0e328c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onCameraExposureAreaChanged(Rect rect) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine cameraExposureDidChangedToRect:(CGRect)rect;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onCameraExposureAreaChanged(int x, int y, int width, int height) { (void)x; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita index 68bb78ec1b8..a8460125002 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onCameraFocusAreaChanged(Rect rect) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine cameraFocusDidChangedToRect:(CGRect)rect;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onCameraFocusAreaChanged(int x, int y, int width, int height) { (void)x; 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 cfd49aca24b..2e73ed86d8f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onCameraReady() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineCameraDidReady:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onCameraReady()</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCameraReady);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita index 744096fccba..049970ecc69 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onChannelMediaRelayEvent(int code) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didReceiveChannelMediaRelayEvent:(AgoraChannelMediaRelayEvent)event;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onChannelMediaRelayEvent(int code) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita index af21a3bebc8..3cba86b7417 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onChannelMediaRelayStateChanged(int state, int code) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine channelMediaRelayStateDidChange:(AgoraChannelMediaRelayState)state error:(AgoraChannelMediaRelayError)error;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita index b30525667a8..2d5544b4334 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita @@ -8,6 +8,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onClientRoleChanged(int oldRole, int newRole, ClientRoleOptions newRoleOptions) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onClientRoleChanged?:(oldRole:Constants.ClientRole, newRole:Constants.ClientRole, newRoleOptions:ClientRoleOptions) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChanged:(AgoraClientRole)oldRole newRole:(AgoraClientRole)newRole newRoleOptions:(AgoraClientRoleOptions * _Nullable)newRoleOptions NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:));</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index c8dfe7817b6..7848a9b24d0 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onClientRoleChangeFailed(int reason, int currentRole) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onClientRoleChangeFailed?: (reason:number, currentRole:Constants.ClientRole) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChangeFailed:(AgoraClientRoleChangeFailedReason)reason currentRole:(AgoraClientRole)currentRole;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole) { (void)reason; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita index e2288024492..c1f9cfbdd55 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onConnectionBanned() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineConnectionDidBanned:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onConnectionBanned()</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionBanned);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita index 3d5318bcfd8..b4e1aac2482 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onConnectionInterrupted() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineConnectionDidInterrupted:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onConnectionInterrupted() {}</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionInterrupted);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita index 9995308aae2..f8b52829396 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onConnectionLost() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onConnectionLost?:() => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineConnectionDidLost:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onConnectionLost()</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnConnectionLost);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita index 27bd024da4c..586585dd32e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onConnectionStateChanged(int state, int reason) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onConnectionStateChanged ? : ( state: Constants.ConnectionState, reason: Constants.ConnectionChangedReason ) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine connectionStateChanged:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita index 9f8f6247217..647591a4a20 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onContentInspectResult(int result) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine contentInspectResult:(AgoraContentInspectResult)result; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; }</codeblock> 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 071e41503ce..5e4613bb900 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onDispose() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 d833d2c1ac5..7f9a12179df 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onDownlinkNetworkInfoUpdated(DownlinkNetworkInfo info) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) { (void)info; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita index 79c0d6fb9ef..d2c80e254b2 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onEncryptionError(int errorType) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onEncryptionError?:(errorType:Constants.EncryptionError) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurEncryptionError:(AgoraEncryptionErrorType)errorType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index 03756296c23..1d1d8216734 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onError(int err) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onError?:(err:number,message:string) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurError:(AgoraErrorCode)errorCode; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onError(int err, const char* msg) { 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 bde47ba4034..f0e98252724 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onError(String provider, String extension, int error, String message);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onError?:(err:number,message:string) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onExtensionError:(NSString * __nullable)provider extension:(NSString * __nullable)extension error:(int)error diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita index 16389b1fc64..fa3df7ecd43 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onEvent(String provider, String extension, String key, String value);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onEvent:(NSString * __nullable)provider extension:(NSString * __nullable)extension key:(NSString * __nullable)key diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita index 348a2e93f17..2e1c313f7d7 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onStarted(String provider, String extension);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onExtensionStarted:(NSString * __nullable)provider extension:(NSString * __nullable)extension; </codeblock> 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 842f1cc8786..af6a9e47871 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onStopped(String provider, String extension);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)onExtensionStopped:(NSString * __nullable)provider extension:(NSString * __nullable)extension; </codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita index 2d575d33411..d489ca7efed 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita @@ -15,6 +15,8 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onFacePositionChanged( int imageWidth, int imageHeight, AgoraFacePositionInfo[] faceRectArr) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onFacePositionChanged?:( + imageWidth:number, imageHeight:number, faceRectArr:Array<AgoraFacePositionInfo>) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine facePositionDidChangeWidth:(int)width previewHeight:(int)height faces:(NSArray<AgoraFacePositionInfo*>* _Nullable)faces NS_SWIFT_NAME(rtcEngine(_:facePositionDidChangeWidth:previewHeight:faces:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFacePositionChanged(int imageWidth, int imageHeight, const Rectangle* vecRectangle, const int* vecDistance, 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 a313724ee33..32e6e680948 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFirstLocalAudioFrame(int elapsed) { (void)elapsed; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita index 93480cfbbf4..224e73bc606 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onFirstLocalAudioFramePublished(int elapsed) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalAudioFramePublished:(NSInteger)elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFirstLocalAudioFramePublished(int elapsed) { (void)elapsed; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita index 5b90a0279c9..a9acbf80671 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita @@ -16,7 +16,8 @@ <codeblock props="android" outputclass="language-java">public void onFirstLocalVideoFrame( Constants.VideoSourceType source, int width, int height, int elapsed) {} </codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalVideoFrameWithSize:(CGSize)size elapsed:(NSInteger)elapsed sourceType:(AgoraVideoSourceType)sourceType; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita index 7d0b44373e0..40de20972e9 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onFirstLocalVideoFramePublished(Constants.VideoSourceType source, int elapsed) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalVideoFramePublishedWithElapsed:(NSInteger)elapsed sourceType:(AgoraVideoSourceType)sourceType; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita index ccc4e17096e..1c9f111f497 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void onFirstRemoteAudioDecoded(int uid, int elapsed) { } </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine firstRemoteAudioFrameDecodedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita index dce19b12557..17ed98b416f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void onFirstRemoteAudioFrame(int uid, int elapsed) { } </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine firstRemoteAudioFrameOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed NS_SWIFT_NAME(rtcEngine(_:firstRemoteAudioFrameOfUid:elapsed:)); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) AGORA_DEPRECATED_ATTRIBUTE { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita index 39e1eab958a..81d2db0acda 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onFirstRemoteVideoDecoded(int uid, int width, int height, int elapsed) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoDecodedOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFirstRemoteVideoDecoded(uid_t uid, diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita index bf0196aae89..84e515fa5ac 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onFirstRemoteVideoFrame(int uid, int width, int height, int elapsed) {}</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoFrameOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) { (void)userId; 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 3eb45f10e5f..d22950e8960 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onInitialize(IVideoFrameConsumer *consumer) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 345cd05804e..e2adadd22ab 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita index aee5f03e578..e492ca208df 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onJoinChannelSuccess(String channel, int uid, int elapsed) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onJoinChannelSuccess?:(cid:string, uid:number, elapsed:number) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onJoinChannelSuccess(const char* channel, 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 4777dc0a303..4d300b98157 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLastmileProbeResult(LastmileProbeResult result) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLastmileProbeResult? : (result:LastmileProbeResult) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileProbeTestResult:(AgoraLastmileProbeResult * _Nonnull)result;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLastmileProbeResult(const LastmileProbeResult& result) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita index e881401a4a6..21c70b7f060 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLastmileQuality(int quality) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLastmileQuality? : (quality:Constants.QualityType) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileQuality:(AgoraNetworkQuality)quality;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLastmileQuality(int quality) { (void)quality; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita index 3063906781e..ec953b41dbd 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLeaveChannel(RtcStats stats) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLeaveChannel?:(stats: RtcStats ) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLeaveChannelWithStats:(AgoraChannelStats * _Nonnull)stats;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLeaveChannel(const RtcStats& stats) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita index e1883757fc4..38567ec3f71 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalAudioStateChanged(int state, int reason) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLocalAudioStateChanged?:(state:Constants.LocalAudioStreamState,error:Constants.LocalAudioStreamReason) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStateChanged:(AgoraAudioLocalState)state reason:(AgoraAudioLocalReason)reason NS_SWIFT_NAME(rtcEngine(_:localAudioStateChanged:reason:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"> virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_REASON reason) { (void)state; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita index 62928577523..5bf194208d8 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalAudioStats(LocalAudioStats stats) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLocalAudioStats?:( stats:LocalAudioStats) =>void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStats:(AgoraRtcLocalAudioStats * _Nonnull)stats;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLocalAudioStats(const LocalAudioStats& stats) { 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 8d210a0484d..e8628af4b0a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalPublishFallbackToAudioOnly(boolean isFallbackOrRecover) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalPublishFallbackToAudioOnly:(BOOL)isFallbackOrRecover;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) { 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 a94f1b36829..12433b09c53 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalUserRegistered(int uid, String userAccount) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalUserRegisteredWithUserId:(NSUInteger)uid userAccount:(NSString * _Nonnull)userAccount;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { (void)uid; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index 295b6214552..28c835f9157 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalVideoStateChanged(Constants.VideoSourceType source, int state, int reason) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLocalVideoStateChanged?:(source: Constants.VideoSourceType, state:Constants.LocalVideoStreamState,error:Constants.LocalVideoStreamReason) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStateChangedOfState:(AgoraVideoLocalState)state reason:(AgoraLocalVideoStreamReason)reason sourceType:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(rtcEngine(_:localVideoStateChangedOf:reason:sourceType:)); </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"> virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_REASON reason) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita index c8d91d01385..f80149f5084 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalVideoStats(Constants.VideoSourceType source, LocalVideoStats stats) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onLocalVideoStats?:(source:Constants.VideoSourceType , stats:LocalVideoStats ) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStats:(AgoraRtcLocalVideoStats * _Nonnull)stats sourceType:(AgoraVideoSourceType)sourceType; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita index 363661f88b8..937481ae425 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onLocalVideoTranscoderError( LocalTranscoderConfiguration.TranscodingVideoStream stream, int error) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoTranscoderErrorWithStream:(AgoraTranscodingVideoStream * _Nonnull )stream errorCode:(AgoraVideoTranscoderError)errorCode NS_SWIFT_NAME(rtcEngine(_:didLocalVideoTranscoderErrorWithStream:errorCode:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onLocalVideoTranscoderError(const TranscodingVideoStream& stream, VIDEO_TRANSCODER_ERROR error){ 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 c460f73b6c8..08a21bd9d17 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onMicrophoneEnabled(bool enabled) { (void)enabled; }</codeblock> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita index f6bbb5a5531..8150bfb6829 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onNetworkQuality(int uid, int txQuality, int rxQuality) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onNetworkQuality? : (uid: number, txQuality: Constants.NetworkQuality, rxQuality: Constants.NetworkQuality) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkQuality:(NSUInteger)uid txQuality:(AgoraNetworkQuality)txQuality diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita index 934c5414dca..ddae96167d2 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onNetworkTypeChanged(int type) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkTypeChanged:(AgoraNetworkType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onNetworkTypeChanged(NETWORK_TYPE type) { (void)type; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita index 3c73fb7fef1..9d2be64773f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onPermissionError(int permission) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onPermissionError?:(permission:Constants.PermissionType) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine permissionError:(AgoraPermissionType)type;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onPermissionError(PERMISSION_TYPE permissionType) { (void)permissionType; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita index 4a163779427..212158ca414 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onProxyConnected( String channel, int uid, int proxyType, String localProxyIp, int elapsed) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didProxyConnected:(NSString* _Nonnull)channel withUid:(NSUInteger)uid proxyType:(AgoraProxyType)proxyType localProxyIp:(NSString* _Nonnull)localProxyIp elapsed:(NSInteger)elapsed NS_SWIFT_NAME(rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) { (void)channel; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita index 2d229782fec..3c92edfcd84 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRejoinChannelSuccess(String channel, int uid, int elapsed) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRejoinChannelSuccess?:(cid:string, uid:number, elapsed:number) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRejoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) { 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 d7838406155..6307e8b6ddd 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineRemoteAudioMixingDidStart:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteAudioMixingBegin()</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 b73d84a41a5..78f6c348bf6 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteAudioMixingEnd()</codeblock> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita index 5d0ac5abbec..a0e1520c071 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteAudioStateChanged(int uid, int state, int reason, int elapsed) {}</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + <codeblock props="hmos" outputclass="language-arkts">onRemoteAudioStateChanged ? : (uid:number, state: Constants.RemoteAudioStreamState, reason: Constants.RemoteAudioStreamReason, elapsed:number) => void</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStateChangedOfUid:(NSUInteger)uid state:(AgoraAudioRemoteState)state reason:(AgoraAudioRemoteReason)reason elapsed:(NSInteger)elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita index 8d9ad6a3a97..07a8a539642 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteAudioStats(RemoteAudioStats stats) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRemoteAudioStats?:(stats:RemoteAudioStats) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStats:(AgoraRtcRemoteAudioStats * _Nonnull)stats;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteAudioStats(const RemoteAudioStats& stats) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita index fb47e09bb20..b66da23cb7f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteAudioTransportStats(int uid, int delay, int lost, int rxKBitRate) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine audioTransportStatsOfUid:(NSUInteger)uid delay:(NSUInteger)delay 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 c878ada5ca4..0846cffef4c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRemoteSubscribeFallbackToAudioOnly:(BOOL)isFallbackOrRecover byUid:(NSUInteger)uid;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita index 5ea8254ec77..18626d8e2a2 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteVideoStateChanged(int uid, int state, int reason, int elapsed) {}</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + <codeblock props="hmos" outputclass="language-arkts">onRemoteVideoStateChanged ? : (uid:number, state: Constants.RemoteVideoStreamState, reason: Constants.RemoteVideoStreamReason, elapsed:number) => void</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStateChangedOfUid:(NSUInteger)uid state:(AgoraVideoRemoteState)state reason:(AgoraVideoRemoteReason)reason elapsed:(NSInteger)elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita index b08181af022..f54fafb8183 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteVideoStats(RemoteVideoStats stats) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRemoteVideoStats?:(stats:RemoteVideoStats) =>void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStats:(AgoraRtcRemoteVideoStats * _Nonnull)stats;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRemoteVideoStats(const RemoteVideoStats& stats) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita index 5903220cbe1..6ad8b4e8bb5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRemoteVideoTransportStats(int uid, int delay, int lost, int rxKBitRate) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoTransportStatsOfUid:(NSUInteger)uid delay:(NSUInteger)delay 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 95a99da3e71..3dcc158b13e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita index 82913bf4f5a..66c6a732b48 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRequestToken() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineRequestToken:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRequestToken()</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnRequestToken);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita index 8384353bad3..162604379ab 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRhythmPlayerStateChanged(int state, int reason) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRhythmPlayerStateChanged:(AgoraRhythmPlayerState)state reason:(AgoraRhythmPlayerReason)reason NS_SWIFT_NAME(rtcEngine(_:didRhythmPlayerStateChanged:reason:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_REASON reason) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita index 4d157fe21d4..49a0c3c5c30 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRtcStats(RtcStats stats) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRtcStats ? : (stats: RtcStats) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportRtcStats:(AgoraChannelStats * _Nonnull)stats;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRtcStats(const RtcStats& stats) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita index f62e6dc1c4e..cdae10a3902 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRtmpStreamingEvent(String url, int event) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRtmpStreamingEvent? : (url:string,event:Constants.RtmpStreamingEvent) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine rtmpStreamingEventWithUrl:(NSString* _Nonnull)url eventCode:(AgoraRtmpStreamingEvent)eventCode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) { (void)url; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita index f5074d02daa..2178fb63b46 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onRtmpStreamingStateChanged(String url, int state, int reason) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRtmpStreamingStateChanged? : (url:string,state:Constants.RtmpStreamPublishState,errCode:Constants.RtmpStreamPublishReason) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine rtmpStreamingChangedToState:(NSString * _Nonnull)url state:(AgoraRtmpStreamingState)state reason:(AgoraRtmpStreamingReason)reason NS_SWIFT_NAME(rtcEngine(_:rtmpStreamingChangedToState:state:reason:));</codeblock> 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 a6f4ba9d883..2eff5b0b94d 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita index db7416b1152..ae0024fdbf2 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onSnapshotTaken(int uid, String filePath, int width, int height, int errCode) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onSnapshotTaken?:(uid:number, filePath:string , width:number, height:number, errCode:number) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine snapshotTaken:(NSUInteger)uid filePath:(NSString* _Nonnull)filePath width:(NSInteger)width height:(NSInteger)height errCode:(NSInteger)errCode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) { (void)uid; 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 93089fc8f92..7732d0aea95 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onStart() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 a7b8a50ece8..5d98a5db641 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita @@ -13,6 +13,7 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onStop() = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"/> 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 f0a199528bb..ec1875e1062 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onStreamInjectedStatus(String url, int uid, int status) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamInjectedStatusOfUrl:(NSString * _Nonnull)url uid:(NSUInteger)uid status:(AgoraInjectStreamStatus)status;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onStreamInjectedStatus(const char* url, uid_t uid, int status) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita index 52a307962ba..00bfe81f863 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onStreamMessage(int uid, int streamId, byte[] data) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onStreamMessage?:(uid:number, streamId:number,data:Uint8Array) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine receiveStreamMessageFromUid:(NSUInteger)uid streamId:(NSInteger)streamId diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita index 03b4bda7932..e1743b39273 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onStreamMessageError(int uid, int streamId, int error, int missed, int cached) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onStreamMessageError? : (uid:number,streamId:number,error:number,missed:number,cached:number) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurStreamMessageErrorFromUid:(NSUInteger)uid streamId:(NSInteger)streamId diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita index aad668c5387..6d04740c9ab 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onStreamPublished(String url, int error) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamPublishedWithUrl:(NSString * _Nonnull)url errorCode:(AgoraErrorCode)errorCode;</codeblock> 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 5f237c55e35..81fd5701b9b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onStreamUnpublished(String url) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamUnpublishedWithUrl:(NSString * _Nonnull)url;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onStreamUnpublished(const char *url) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita index 038230864c4..0c522ad1bf4 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onTokenPrivilegeWillExpire(String token) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine tokenPrivilegeWillExpire:(NSString *_Nonnull)token;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onTokenPrivilegeWillExpire(const char* token) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index d55709e62ea..3dabe8183eb 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onTranscodedStreamLayoutInfo(int uid, VideoLayoutInfo info) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didTranscodedStreamLayoutInfoUpdatedWithUserId:(NSUInteger)uid videoLayoutInfo:(AgoraVideoLayoutInfo* _Nonnull)videoLayoutInfo NS_SWIFT_NAME(rtcEngine(_:didTranscodedStreamLayoutInfoUpdatedWithUserId:videoLayoutInfo:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onTranscodedStreamLayoutInfo(uid_t uid, int width, int height, int layoutCount,const VideoLayout* layoutlist) { (void)uid; 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 3b8637d7f9f..de3f59bc810 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onTranscodingUpdated() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onTranscodingUpdated? : () =>void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onTranscodingUpdated()</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnTranscodingUpdated);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita index d58773f2506..29d61ae254e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine uplinkNetworkInfoUpdate:(AgoraUplinkNetworkInfo *_Nonnull)networkInfo;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) { 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 385f7dc666c..ab7d4c1d7f1 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita @@ -13,7 +13,8 @@ <refbody><section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> - <codeblock props="ios mac" outputclass="language-objectivec" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) { 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 20e85f4a574..17310a1046d 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita index 6d41367d0af..fb71b4d2dff 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserEnableLocalVideo(int uid, boolean enabled) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita index d5f9f204472..14922dbebdc 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserEnableVideo(int uid, boolean enabled) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita index f73767ae997..1d385ac1dff 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserInfoUpdated(int uid, UserInfo userInfo) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didUserInfoUpdatedWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo* _Nonnull)userInfo;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) { (void)uid; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index 890f075fd26..30cb1eadaaf 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserJoined(int uid, int elapsed) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onUserJoined?:(uid:number, elapse:number) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onUserJoined(uid_t uid, int elapsed) { diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita index dfb162594d0..da48424a08b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserMuteAudio(int uid, boolean muted) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioMuted:(BOOL)muted byUid:(NSUInteger)uid;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onUserMuteAudio(uid_t uid, bool muted) { (void)uid; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita index cf20be85e40..0dce850972f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserMuteVideo(int uid, boolean muted) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoMuted:(BOOL)muted byUid:(NSUInteger)uid</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onUserMuteVideo(uid_t uid, bool muted) { (void)uid; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index dc88904b395..06da8963a06 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onUserOffline(int uid, int reason) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onUserOffline?:(uid:number, reason:number) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOfflineOfUid:(NSUInteger)uid reason:(AgoraUserOfflineReason)reason;</codeblock> 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 9819cd00bff..d30646730cc 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita index ee984146407..df20f024ba6 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> - <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state NS_SWIFT_NAME(rtcEngine(_:device:type:stateChanged:));</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state NS_SWIFT_NAME(rtcEngine(_:device:type:stateChanged:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) { (void)deviceId; (void)deviceType; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita index 338b705aaaa..3da353f17b7 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita @@ -16,6 +16,7 @@ <codeblock props="android" outputclass="language-java">public void onVideoPublishStateChanged(Constants.VideoSourceType source, String channel, int oldState, int newState, int elapseSinceLastState) {} </codeblock> + <codeblock props="hmos" outputclass="language-arkts">onVideoPublishStateChanged?:(source:Constants.VideoSourceType, channel:string, oldState:Constants.StreamPublishState, newState:Constants.StreamPublishState, elapseSinceLastState:number) => void;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoPublishStateChange:(NSString * _Nonnull)channelId sourceType:(AgoraVideoSourceType)sourceType oldState:(AgoraStreamPublishState)oldState diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita index cd96dd3ea24..fb7bac5e218 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onVideoRenderingTracingResult(int uid, Constants.MEDIA_RENDER_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoRenderingTracingResultOfUid:(NSUInteger)uid currentEvent:(AgoraMediaRenderTraceEvent)currentEvent tracingInfo:(AgoraVideoRenderingTracingInfo * _Nonnull)tracingInfo NS_SWIFT_NAME(rtcEngine(_:videoRenderingTracingResultOfUid:currentEvent:tracingInfo:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp"> virtual void onVideoRenderingTracingResult(uid_t uid, MEDIA_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) { (void)uid; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita index 8548637efa9..1fa4ca05481 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onVideoSizeChanged( Constants.VideoSourceType source, int uid, int width, int height, int rotation) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onVideoSizeChanged?:(source:Constants.VideoSourceType, uid:number, width:number, height:number, rotation:number) => void</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoSizeChangedOfSourceType:(AgoraVideoSourceType)sourceType uid:(NSString * _Nonnull)uid size:(CGSize)size rotation:(NSInteger)rotation NS_SWIFT_NAME(rtcEngine(_:videoSizeChangedOf:uid:size:rotation:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) { (void)uid; 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 c2d1802695e..108812aa7ec 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 6aa092eab05..dc9a1aaeee0 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onVideoStopped() {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onVideoStopped()</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnVideoStopped);</codeblock> 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 1a77c27acd1..4efaf96cb10 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">public void onVideoSubscribeStateChanged( String channel, int uid, int oldState, int newState, int elapseSinceLastState) {}</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoSubscribeStateChange:(NSString * _Nonnull)channelId uid:(unsigned int)uid 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 acd1811d4d4..e128f70c107 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> 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 6082008aa76..c6f54f918da 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita b/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita index 4c20e6b96f7..081a49c89cf 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onEncodedVideoFrameReceived(ByteBuffer buffer, EncodedVideoFrameInfo info);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onEncodedVideoFrameReceived:(NSData * _Nonnull )videoData length:(size_t)length info:(AgoraEncodedVideoFrameInfo * _Nonnull)videoFrameInfo NS_SWIFT_NAME(onEncodedVideoFrameReceived(_:length:info:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onEncodedVideoFrameReceived(rtc::uid_t uid, const uint8_t* imageBuffer, size_t length, const rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita index bd24391eacf..d4fcaec3e12 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean getMirrorApplied();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getMirrorApplied?: () => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)getMirrorApplied;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool getMirrorApplied() { return false; }</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetMirrorApplied);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita index b620fc3bdb4..351c434ecfd 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getObservedFramePosition();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getObservedFramePosition: () => number;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (unsigned int)getObservedFramePosition;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual uint32_t getObservedFramePosition() { return base::POSITION_POST_CAPTURER | base::POSITION_PRE_RENDERER; diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita index 9b1800e026b..7a4ef1f9366 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean getRotationApplied();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getRotationApplied?: () => boolean;</codeblock> <codeblock props="ios mac">- (BOOL)getRotationApplied;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool getRotationApplied() { return false; }</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRotationApplied);</codeblock> 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 a5a1e0fd7ed..be2e0bba582 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool getSmoothRenderingEnabled(){ return false; }</codeblock> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index f7e8ae2e9f8..b9a31fb7798 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -15,6 +15,7 @@ <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getVideoFormatPreference(); </codeblock> + <codeblock props="hmos" outputclass="language-arkts">getVideoFormatPreference?: () => Constants.VideoPixelFormat;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraVideoFormat)getVideoFormatPreference; </codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference() { return VIDEO_PIXEL_DEFAULT; }</codeblock> 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 4f476765a92..d2996ee7387 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">int getVideoFrameProcessMode();</codeblock> + <codeblock props="hmos" outputclass="language-arkts">getVideoFrameProcessMode?: () => Constants.VideoFrameProcessMode;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (AgoraVideoFrameProcessMode)getVideoFrameProcessMode;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { return PROCESS_MODE_READ_ONLY; diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita index acd9497de52..0789b9dc236 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onCaptureVideoFrame(int sourceType, VideoFrame videoFrame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onCaptureVideoFrame?: (sourceType: Constants.VideoSourceType, videoFrame: VideoFrame) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onCaptureVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnCaptureVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita index 37a76f2a3e8..b53f902bdcb 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">void onFrame(VideoFrame frame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveVideoFrame:));</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual void onFrame(const VideoFrame* frame) = 0;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita index c65a137542e..da2d0e67581 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onMediaPlayerVideoFrame(VideoFrame videoFrame, int mediaPlayerId);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onMediaPlayerVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame mediaPlayerId:(NSInteger)mediaPlayerId;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onMediaPlayerVideoFrame(VideoFrame& videoFrame, int mediaPlayerId) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript">onMediaPlayerVideoFrame?(videoFrame: VideoFrame, mediaPlayerId: number): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita index 7edd18459a2..49ecb8af9e7 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita @@ -14,7 +14,8 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onPreEncodeScreenVideoFrame(VideoFrame videoFrame);</codeblock> - <codeblock props="ios mac">- (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame;</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac">- (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0;</codeblock> <codeblock props="unity cs" outputclass="language-csharp" /> <codeblock props="electron" outputclass="language-typescript"> onPreEncodeScreenVideoFrame?(videoFrame: VideoFrame): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita index 8309350ee18..5148e4250e2 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onPreEncodeVideoFrame(int sourceType, VideoFrame videoFrame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onPreEncodeVideoFrame?: (sourceType: Constants.VideoSourceType, videoFrame: VideoFrame) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onPreEncodeVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onPreEncodeVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0;</codeblock> <codeblock props="bp" outputclass="language-cpp">DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPreEncodeVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame);</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita index 326c8414da9..05feb09bd2a 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onRenderVideoFrame(String channelId, int uid, VideoFrame videoFrame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts">onRenderVideoFrame?: (channelId: string, uid: number, videoFrame: VideoFrame) => boolean;</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onRenderVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame uid:(NSUInteger)uid channelId:(NSString * _Nonnull)channelId;</codeblock> 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 bc403c45b89..d0d9fbd0785 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onRenderVideoFrameEx(const char *channelId, unsigned int uid, diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita index 1a1d82b1e4d..d018b480f43 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java">boolean onScreenCaptureVideoFrame(VideoFrame videoFrame);</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">- (BOOL)onScreenCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame;</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onScreenCaptureVideoFrame(VideoFrame& videoFrame) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"> onScreenCaptureVideoFrame?(videoFrame: VideoFrame): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita index c132f1adcea..844f905ccfb 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onSecondaryPreEncodeCameraVideoFrame(VideoFrame& videoFrame) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"> onSecondaryPreEncodeCameraVideoFrame?(videoFrame: VideoFrame): void;</codeblock> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita index bf8e5035040..dad5ad21efa 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">virtual bool onSecondaryPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0;</codeblock> <codeblock props="electron" outputclass="language-typescript"> onSecondaryPreEncodeScreenVideoFrame?(videoFrame: VideoFrame): void;</codeblock> 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 8c17ff9cf77..3217d6ab510 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 5310834e3e9..bb74fe841ee 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 a5603adb60f..b7fc00bdf30 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 a81a7f04cbd..f4e8a7723cf 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 c8d1d8750a1..c4fa7343fc0 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 91bc6ee41b6..293f883c9fe 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 87e64dfc0ff..0cca5c613f0 100644 --- a/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita +++ b/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita @@ -14,6 +14,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index bb129280481..88c7fcfbe3d 100644 --- a/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -65,6 +65,7 @@ public int mode = Constants.LOCAL_RPOXY_CONNECTIVITY_FIRST; public AdvancedConfigInfo advancedConfig = null; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AgoraLocalAccessPointConfiguration) __attribute__((visibility("default"))) @interface AgoraLocalAccessPointConfiguration : NSObject @property(copy, nonatomic) NSArray* _Nullable ipList NS_SWIFT_NAME(ipList); @property(copy, nonatomic) NSArray* _Nullable domainList NS_SWIFT_NAME(domainList); diff --git a/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita b/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita index f5d59367d91..bd66b395e3b 100644 --- a/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita +++ b/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita @@ -28,7 +28,8 @@ audioProcessingChannels = AgoraAudioProcessChannels.AGORA_AUDIO_MONO_PROCESSING; } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAdvancedAudioOptions: NSObject + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAdvancedAudioOptions: NSObject @property(assign, nonatomic) AgoraAudioProcessChannels audioProcessingChannels; @end</codeblock> <codeblock props="cpp unreal" outputclass="language-cpp">struct AdvancedAudioOptions { diff --git a/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita b/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita index d60103bcec9..a0dd554c4ce 100644 --- a/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita +++ b/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita @@ -16,6 +16,7 @@ return logUploadServer; } };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AdvancedConfigInfo) __attribute__((visibility("default"))) @interface AdvancedConfigInfo : NSObject @property(strong, nonatomic) LogUploadServerInfo* _Nullable logUploadServer; @end</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_advanceoptions.dita b/en-US/dita/RTC-NG/API/class_advanceoptions.dita index 162dad39f6e..f5c57520899 100644 --- a/en-US/dita/RTC-NG/API/class_advanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_advanceoptions.dita @@ -18,6 +18,12 @@ this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class AdvanceOptions { + public encodingPreference:EncodingPrefence = EncodingPrefence.PREFER_AUTO; + public compressionPreference:CompressionPrefence = CompressionPrefence.PREFER_LOW_LATENCY; + constructor() { + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; diff --git a/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita index a2154b2588c..96e846f193d 100644 --- a/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -12,6 +12,18 @@ public int width; public int height; public int distance; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class AgoraFacePositionInfo { + + public x:number = 0; + + public y:number = 0; + + public width:number = 0 ; + + public height:number = 0; + + public distance:number = -1; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AgoraFacePositionInfo) __attribute__((visibility("default"))) @interface AgoraFacePositionInfo : NSObject @property(assign, nonatomic) NSInteger x NS_SWIFT_NAME(x); diff --git a/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita b/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita index 3294de7c89d..82cb3fa3b58 100644 --- a/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita @@ -25,6 +25,7 @@ return beatsPerMinute; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRhythmPlayerConfig: NSObject @property (assign, nonatomic) int beatsPerMeasure; @property (assign, nonatomic) int beatsPerMinute; diff --git a/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita b/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita index dd0ffadc826..153b2844e99 100644 --- a/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; diff --git a/en-US/dita/RTC-NG/API/class_agorartcexception.dita b/en-US/dita/RTC-NG/API/class_agorartcexception.dita index 3070d8c670c..9e5fa60f283 100644 --- a/en-US/dita/RTC-NG/API/class_agorartcexception.dita +++ b/en-US/dita/RTC-NG/API/class_agorartcexception.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_agoravideoview.dita b/en-US/dita/RTC-NG/API/class_agoravideoview.dita index 3e8a3501edd..941c9dae3bb 100644 --- a/en-US/dita/RTC-NG/API/class_agoravideoview.dita +++ b/en-US/dita/RTC-NG/API/class_agoravideoview.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/class_agoraview.dita b/en-US/dita/RTC-NG/API/class_agoraview.dita index f709088397e..d1f272f7e6b 100644 --- a/en-US/dita/RTC-NG/API/class_agoraview.dita +++ b/en-US/dita/RTC-NG/API/class_agoraview.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">interface AgoraView { diff --git a/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita b/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita index aedb56456e4..03126fbd63d 100644 --- a/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">export class AudioDeviceInfo { diff --git a/en-US/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita b/en-US/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita index c3baebf56e3..253bfa55aa5 100644 --- a/en-US/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita +++ b/en-US/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita @@ -15,6 +15,7 @@ encodingType = Constants.AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAudioEncodedFrameDelegateConfig: NSObject @property (assign, nonatomic) AgoraAudioEncodedFrameDelegatePosition postionType; @property (assign, nonatomic) AgoraAudioEncodingType encodingType; diff --git a/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita b/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita index 66dea457c47..5e48520c2f4 100644 --- a/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita +++ b/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita @@ -11,6 +11,7 @@ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS(1), AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS(2); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">typedef NS_ENUM(NSUInteger, AgoraAudioExternalSourcePos) { AgoraAudioExternalPlayoutSource = 0, AgoraAudioExternalRecordSourcePreProcess = 1, diff --git a/en-US/dita/RTC-NG/API/class_audioframe.dita b/en-US/dita/RTC-NG/API/class_audioframe.dita index 7830e0ee5af..717232aa448 100644 --- a/en-US/dita/RTC-NG/API/class_audioframe.dita +++ b/en-US/dita/RTC-NG/API/class_audioframe.dita @@ -62,6 +62,7 @@ + ", timestamp=" + timestamp + '}'; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"> __attribute__((visibility("default"))) @interface AgoraAudioFrame : NSObject diff --git a/en-US/dita/RTC-NG/API/class_audioparams.dita b/en-US/dita/RTC-NG/API/class_audioparams.dita index 9293da4048f..978cb03d86c 100644 --- a/en-US/dita/RTC-NG/API/class_audioparams.dita +++ b/en-US/dita/RTC-NG/API/class_audioparams.dita @@ -20,6 +20,7 @@ this.samplesPerCall = samplesPerCall; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAudioParams : NSObject @property (assign, nonatomic) NSInteger sampleRate; diff --git a/en-US/dita/RTC-NG/API/class_audiopcmframe.dita b/en-US/dita/RTC-NG/API/class_audiopcmframe.dita index cb65d541df4..b61f4c1f6fa 100644 --- a/en-US/dita/RTC-NG/API/class_audiopcmframe.dita +++ b/en-US/dita/RTC-NG/API/class_audiopcmframe.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAudioPcmFrame: NSObject @property (assign, nonatomic) uint32_t captureTimestamp; @property (assign, nonatomic) size_t samplesPerChannel; diff --git a/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index d1fa6b08a1b..93de62b8815 100644 --- a/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -21,6 +21,29 @@ quality = Constants.AUDIO_RECORDING_QUALITY_MEDIUM; recordingChannel = 1; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class AudioRecordingConfiguration{ + + public filePath:string; + + public sampleRate:number; + + public codec:boolean; + + public fileRecordOption:number; + + public quality:number; + + public recordingChannel:number; + + public constructor(filepath:string) { + this.filePath = filepath; + this.sampleRate = 32000; + this.codec = true; + this.fileRecordOption = Constants.AudioRecordingType.MIXED; + this.quality = Constants.AudioRecordingQuality.MEDIUM; + this.recordingChannel = 1; + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAudioRecordingConfiguration: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; diff --git a/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita b/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita index 90a04bc4f64..36225f86763 100644 --- a/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita +++ b/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita @@ -10,6 +10,7 @@ private float[] audioSpectrumData; private int dataLength; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct AudioSpectrumData { const float *audioSpectrumData; diff --git a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita index 81fcd9b23ad..165bd8139fd 100644 --- a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -14,7 +14,11 @@ this.enableLocalPlayback = true; } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject + <codeblock props="hmos" outputclass="language-arkts">export class AudioTrackConfig { + + public enableLocalPlayback: boolean = true; +}</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject @property (assign, nonatomic) BOOL enableLocalPlayback NS_SWIFT_NAME(enableLocalPlayback); @end</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita b/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita index 1c840284d5b..ee20113d4ac 100644 --- a/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -12,6 +12,15 @@ public int vad; public double voicePitch; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class AudioVolumeInfo { + + public uid:number = 0; + + public volume:number = 0; + public vad:number = 0; + + public voicePitch:number = 0; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcAudioVolumeInfo : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger volume; diff --git a/en-US/dita/RTC-NG/API/class_beautyoptions.dita b/en-US/dita/RTC-NG/API/class_beautyoptions.dita index e7b24040075..5283f6dbf9e 100644 --- a/en-US/dita/RTC-NG/API/class_beautyoptions.dita +++ b/en-US/dita/RTC-NG/API/class_beautyoptions.dita @@ -17,6 +17,7 @@ public float rednessLevel; public float sharpnessLevel; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraBeautyOptions : NSObject @property(nonatomic, assign) AgoraLighteningContrastLevel lighteningContrastLevel; diff --git a/en-US/dita/RTC-NG/API/class_cachestatistics.dita b/en-US/dita/RTC-NG/API/class_cachestatistics.dita index 456f1aae574..da22cdfd752 100644 --- a/en-US/dita/RTC-NG/API/class_cachestatistics.dita +++ b/en-US/dita/RTC-NG/API/class_cachestatistics.dita @@ -17,6 +17,7 @@ private long cacheSize; private long downloadSize; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaPlayerCacheStatistics : NSObject @property(assign, nonatomic) NSInteger fileSize; @property(assign, nonatomic) NSInteger cacheSize; diff --git a/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 5f511cc60a9..b2e0956d238 100644 --- a/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -153,7 +153,12 @@ + ", cameraFocalLengthType=" + cameraFocalLengthType + '}'; } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject + <codeblock props="hmos" outputclass="language-arkts">export class CameraCapturerConfiguration { + public cameraDirection: Constants.CameraDirection = Constants.CameraDirection.FRONT; + public cameraFormat: CaptureFormat = new CaptureFormat(); + public followEncodeDimensionRatio: boolean = true; +}</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject #if TARGET_OS_IOS @property (assign, nonatomic) AgoraCameraDirection cameraDirection; @property(assign, nonatomic) AgoraFocalLength cameraFocalLengthType; diff --git a/en-US/dita/RTC-NG/API/class_channel.dita b/en-US/dita/RTC-NG/API/class_channel.dita index fb292226bf6..698a13f0e38 100644 --- a/en-US/dita/RTC-NG/API/class_channel.dita +++ b/en-US/dita/RTC-NG/API/class_channel.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_channelmediainfo.dita b/en-US/dita/RTC-NG/API/class_channelmediainfo.dita index ffc03bde05e..7b3813e61ca 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediainfo.dita @@ -11,6 +11,19 @@ public String token = null; public int uid = 0; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class ChannelMediaInfo { + + public channelName:string|null; + + public token:string|null; + + public uid:number = 0; + public constructor(cname:string|null, token: string|null, uid: number) { + this.channelName = cname; + this.token = token; + this.uid = uid; + } +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraChannelMediaRelayInfo: NSObject @property (copy, nonatomic) NSString * _Nullable token; diff --git a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita index 657f0f99cad..c9cdec1f203 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -37,6 +37,68 @@ public Integer customVideoTrackId; public Boolean isAudioFilterable; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class ChannelMediaOptions { + + public publishCameraTrack?:boolean; + + public publishSecondaryCameraTrack?:boolean; + + public publishMicrophoneTrack?:boolean; + + public publishScreenCaptureVideo?:boolean; + + public publishScreenCaptureAudio?:boolean; + + public publishCustomAudioTrack?:boolean; + + public publishCustomAudioTrackId?:number; + + public publishCustomVideoTrack?:boolean; + + public publishEncodedVideoTrack?:boolean; + + public publishMediaPlayerAudioTrack?:boolean; + + public publishMediaPlayerVideoTrack?:boolean; + + public publishTranscodedVideoTrack?:boolean; + + public publishMixedAudioTrack?:boolean; + + public autoSubscribeAudio?:boolean; + + public autoSubscribeVideo?:boolean; + + public enableAudioRecordingOrPlayout?:boolean; + + public publishMediaPlayerId?:number; + + public clientRoleType?:number; + + public audienceLatencyLevel?:number; + + public defaultVideoStreamType?:number; + + public channelProfile?:number; + + public audioDelayMs?:number; + + public mediaPlayerAudioDelayMs?:number; + + public enableBuiltInMediaEncryption?:boolean; + + public publishRhythmPlayerTrack?:boolean; + + public isInteractiveAudience?:boolean; + + public customVideoTrackId?:number; + + public isAudioFilterable?:boolean; + + public startPreview?:boolean; + public constructor() { + } +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcChannelMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; @property(assign, nonatomic) BOOL publishSecondaryCameraTrack; diff --git a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index 3f7a6b29efc..2d05ee91844 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -36,6 +36,13 @@ } } </codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class ChannelMediaRelayConfiguration { + public srcInfo:ChannelMediaInfo = new ChannelMediaInfo(null,null,0); + public destInfos:Map<string, ChannelMediaInfo> = new Map<string, ChannelMediaInfo>(); + + public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraChannelMediaRelayConfiguration: NSObject @property (strong, nonatomic, readonly) NSDictionary<NSString *, AgoraChannelMediaRelayInfo *> *_Nullable destinationInfos; diff --git a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita index 192256e8d0b..94fd2e11032 100644 --- a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita @@ -13,6 +13,10 @@ public int getAudienceLatencyLevel() { return audienceLatencyLevel; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class ClientRoleOptions { + + public audienceLatencyLevel: Constants.AudienceLatencyLevel = Constants.AudienceLatencyLevel.LOW_LATENCY; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraClientRoleOptions: NSObject @property (assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; diff --git a/en-US/dita/RTC-NG/API/class_climaxsegment.dita b/en-US/dita/RTC-NG/API/class_climaxsegment.dita index 3f12248bd5b..d98a677dda3 100644 --- a/en-US/dita/RTC-NG/API/class_climaxsegment.dita +++ b/en-US/dita/RTC-NG/API/class_climaxsegment.dita @@ -26,6 +26,7 @@ return endTimeMs; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraClimaxSegment : NSObject @property(nonatomic, assign) NSInteger startTimeMs; @property(nonatomic, assign) NSInteger endTimeMs; diff --git a/en-US/dita/RTC-NG/API/class_codeccapinfo.dita b/en-US/dita/RTC-NG/API/class_codeccapinfo.dita index 9610cf30498..73965882aa1 100644 --- a/en-US/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/en-US/dita/RTC-NG/API/class_codeccapinfo.dita @@ -25,6 +25,7 @@ this.codecCapMask = codecCapMask; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoCodecCapInfo : NSObject @property(assign, nonatomic) AgoraVideoCodecType codecType; @property(assign, nonatomic) NSUInteger codecCapMask; diff --git a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita index 2dcbb0389b0..7351675594c 100644 --- a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita @@ -21,6 +21,7 @@ this.swDecodingLevel = swDecLevel; }; };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoCodecCapLevels : NSObject @property(assign, nonatomic) AgoraVideoCodecCapabilityLevel hwDecodingLevel; @property(assign, nonatomic) AgoraVideoCodecCapabilityLevel swDecodingLevel; diff --git a/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita index 46a05fed602..43de09023cb 100644 --- a/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita @@ -20,6 +20,7 @@ skinProtectLevel = skinProtect; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraColorEnhanceOptions : NSObject @property(nonatomic, assign) float strengthLevel; @property(nonatomic, assign) float skinProtectLevel; diff --git a/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita b/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita index 0fa2d9323e5..733bc039458 100644 --- a/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -34,6 +34,7 @@ moduleCount = 0; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac">__attribute__((visibility("default"))) @interface AgoraContentInspectConfig: NSObject @property (nonatomic, copy) NSString* _Nullable extraInfo; @property (nonatomic, copy) NSString* _Nullable serverConfig; diff --git a/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita b/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita index ee91418c53e..6c4d30b55ac 100644 --- a/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -13,6 +13,7 @@ type = CONTENT_INSPECT_TYPE_INVALID; interval = 0; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraContentInspectModule: NSObject @property (assign, nonatomic) AgoraContentInspectType type; diff --git a/en-US/dita/RTC-NG/API/class_datastreamconfig.dita b/en-US/dita/RTC-NG/API/class_datastreamconfig.dita index bfb2c2c64f2..f00d3ea39b1 100644 --- a/en-US/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_datastreamconfig.dita @@ -9,6 +9,10 @@ <codeblock props="android" outputclass="language-java">public class DataStreamConfig { public boolean syncWithAudio = false; public boolean ordered = false; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class DataStreamConfig { + public syncWithAudio: boolean = false; + public ordered: boolean = false; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraDataStreamConfig: NSObject @property (assign, nonatomic) BOOL ordered; diff --git a/en-US/dita/RTC-NG/API/class_device.dita b/en-US/dita/RTC-NG/API/class_device.dita index 288fb32bac9..1e7d78e68e3 100644 --- a/en-US/dita/RTC-NG/API/class_device.dita +++ b/en-US/dita/RTC-NG/API/class_device.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_deviceinfo.dita b/en-US/dita/RTC-NG/API/class_deviceinfo.dita index a5c4514b8fc..a90b4fd8d75 100644 --- a/en-US/dita/RTC-NG/API/class_deviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_deviceinfo.dita @@ -14,6 +14,7 @@ this.isLowLatencyAudioSupported = isLowLatencyAudioSupported; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct DeviceInfo { bool isLowLatencyAudioSupported; diff --git a/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita b/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita index 6f633cb920e..edb43f3ee28 100644 --- a/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita @@ -20,6 +20,7 @@ publishCustomVideoTrack = false; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraDirectCdnStreamingMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; diff --git a/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita b/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita index e7d38d5f463..c620a941c46 100644 --- a/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita +++ b/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita @@ -21,6 +21,7 @@ audioBitrate = 0; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraDirectCdnStreamingStats : NSObject @property(assign, nonatomic) NSUInteger videoWidth; @property(assign, nonatomic) NSUInteger videoHeight; diff --git a/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita b/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita index 03d6ce06d2d..fd9b139608c 100644 --- a/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita +++ b/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita @@ -10,6 +10,7 @@ public int lastmile_buffer_delay_time_ms; public int bandwidth_estimation_bps; };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraDownlinkNetworkInfo : NSObject @property(nonatomic, assign) int lastmileBufferDelayTimeMs; @property(nonatomic, assign) int bandwidthEstimationBps; diff --git a/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita b/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita index eaf8b81beb9..2455199025a 100644 --- a/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita @@ -40,6 +40,7 @@ this.channelId = null; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AgoraEchoTestConfiguration) __attribute__((visibility("default"))) @interface AgoraEchoTestConfiguration : NSObject @property(strong, nonatomic) VIEW_CLASS* _Nullable view NS_SWIFT_NAME(view); diff --git a/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita index 683de8aa085..c2679ba3f6b 100644 --- a/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraEncodedAudioFrameInfo: NSObject @property (assign, nonatomic) NSInteger samplesPerChannel; @property (assign, nonatomic) NSInteger channels; diff --git a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index bbc296c492d..ca9e8b839c7 100644 --- a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -106,6 +106,7 @@ } } </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraEncodedVideoFrameInfo: NSObject @property (assign, nonatomic) AgoraVideoCodecType codecType; diff --git a/en-US/dita/RTC-NG/API/class_encryptionconfig.dita b/en-US/dita/RTC-NG/API/class_encryptionconfig.dita index 80f07d3e769..0eae7258b8e 100644 --- a/en-US/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/en-US/dita/RTC-NG/API/class_encryptionconfig.dita @@ -19,7 +19,14 @@ java.util.Arrays.fill(encryptionKdfSalt, (byte) 0); } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject + <codeblock props="hmos" outputclass="language-arkts">export class EncryptionConfig { + encryptionMode : EncryptionMode = EncryptionMode.AES_128_GCM2; + encryptionKey : string = ""; + encryptionKdfSalt : ArrayBuffer = new ArrayBuffer(32); + public EncryptionConfig() { + } +}</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject @property (assign, nonatomic) AgoraEncryptionMode encryptionMode; @property (copy, nonatomic) NSString * _Nullable encryptionKey; diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 0aa8e1e26c7..61edba161bc 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -35,6 +35,7 @@ public int cropBottom; public int rotation; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; @property(assign, nonatomic) CMTime time; diff --git a/en-US/dita/RTC-NG/API/class_focallengthinfo.dita b/en-US/dita/RTC-NG/API/class_focallengthinfo.dita index f54ed22edf2..d23606ce2ef 100644 --- a/en-US/dita/RTC-NG/API/class_focallengthinfo.dita +++ b/en-US/dita/RTC-NG/API/class_focallengthinfo.dita @@ -26,6 +26,7 @@ '}'; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraFocalLengthInfo : NSObject @property(assign, nonatomic) int cameraDirection; @property(assign, nonatomic) AgoraFocalLength focalLengthType; diff --git a/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita b/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita index 00c9f7df7e6..a36a1e25f75 100644 --- a/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita +++ b/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita @@ -18,6 +18,7 @@ this.fps = fps; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraImageTrackOptions : NSObject @property(copy, nonatomic) NSString *_Nullable imageUrl; @property(assign, nonatomic) int fps;</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_imediaengineevent.dita b/en-US/dita/RTC-NG/API/class_imediaengineevent.dita index 921313cfdd9..f4abc39c5ef 100644 --- a/en-US/dita/RTC-NG/API/class_imediaengineevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediaengineevent.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">export type IMediaEngineEvent = IAudioFrameObserver & diff --git a/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita b/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita index 30ac003dff3..029a7c59007 100644 --- a/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita +++ b/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">@protocol AgoraMediaFilterExtensionDelegate <NSObject> - (NSString * __nonnull)vendor; @end</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita b/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita index beed802eedc..9537e6ad20c 100644 --- a/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">export type IMediaPlayerEvent = IMediaPlayerSourceObserver & diff --git a/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita b/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita index 566c96941ca..9b6b76dd03f 100644 --- a/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">export type IMediaRecorderEvent = IMediaRecorderObserver;</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita b/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita index 31ad3643074..80af5c6a636 100644 --- a/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita @@ -33,6 +33,7 @@ audioChannels = 1; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLiveInjectStreamConfig : NSObject @property(assign, nonatomic) CGSize size; diff --git a/en-US/dita/RTC-NG/API/class_intrinsicelements.dita b/en-US/dita/RTC-NG/API/class_intrinsicelements.dita index 5272961bd12..4f37f037c07 100644 --- a/en-US/dita/RTC-NG/API/class_intrinsicelements.dita +++ b/en-US/dita/RTC-NG/API/class_intrinsicelements.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">interface IntrinsicElements { diff --git a/en-US/dita/RTC-NG/API/class_irtcengineevent.dita b/en-US/dita/RTC-NG/API/class_irtcengineevent.dita index 14c6969ba35..aad126f51a1 100644 --- a/en-US/dita/RTC-NG/API/class_irtcengineevent.dita +++ b/en-US/dita/RTC-NG/API/class_irtcengineevent.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">export type IRtcEngineEvent = IRtcEngineEventHandler & diff --git a/en-US/dita/RTC-NG/API/class_ivideosink.dita b/en-US/dita/RTC-NG/API/class_ivideosink.dita index 932b26a0cf1..e3c03284900 100644 --- a/en-US/dita/RTC-NG/API/class_ivideosink.dita +++ b/en-US/dita/RTC-NG/API/class_ivideosink.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita index 8ab6b076f44..b3edc2ed008 100644 --- a/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -13,6 +13,18 @@ public int expectedDownlinkBitrate; public LastmileProbeConfig() {} +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LastmileProbeConfig { + + public probeUplink: boolean = false; + + public probeDownlink: boolean = false; + + public expectedUplinkBitrate: number = 0; + + public expectedDownlinkBitrate: number = 0; + constructor() { + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLastmileProbeConfig : NSObject @property (assign, nonatomic) BOOL probeUplink; diff --git a/en-US/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita b/en-US/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita index 4b929310fe0..e612544759a 100644 --- a/en-US/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita +++ b/en-US/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita @@ -30,6 +30,14 @@ struct FLastmileProbeOneWayResult { public int jitter; public int availableBandwidth; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LastmileProbeOneWayResult { + + public packetLossRate:number = 0; + + public jitter:number = 0; + + public availableBandwidth:number = 0; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLastmileProbeOneWayResult : NSObject @property (assign, nonatomic) NSUInteger packetLossRate; @property (assign, nonatomic) NSUInteger jitter; diff --git a/en-US/dita/RTC-NG/API/class_lastmileproberesult.dita b/en-US/dita/RTC-NG/API/class_lastmileproberesult.dita index 1f90e6961aa..93712b431d5 100644 --- a/en-US/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/en-US/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -41,6 +41,16 @@ struct FLastmileProbeResult { public LastmileProbeOneWayResult uplinkReport = new LastmileProbeOneWayResult(); public LastmileProbeOneWayResult downlinkReport = new LastmileProbeOneWayResult(); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LastmileProbeResult { + + public state:number = 0; + + public rtt:number = 0; + + public uplinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); + + public downlinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLastmileProbeResult : NSObject @property (assign, nonatomic) AgoraLastmileProbeResultState state; diff --git a/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita b/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita index 739bcbd377e..5bb8d6a1f17 100644 --- a/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -10,6 +10,19 @@ public boolean stopAudioMixing; public boolean stopAllEffect; public boolean stopMicrophoneRecording; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LeaveChannelOptions { + + public stopAudioMixing: boolean; + + public stopAllEffect: boolean; + + public stopMicrophoneRecording: boolean; + constructor() { + this.stopAudioMixing = true; + this.stopAllEffect = true; + this.stopMicrophoneRecording = true; + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLeaveChannelOptions : NSObject @property(nonatomic, assign) BOOL stopAudioMixing; diff --git a/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita b/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita index 64c8641925f..8c8ef9fe34d 100644 --- a/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita +++ b/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLiveStreamAdvancedFeature : NSObject @property(copy, nonatomic) NSString* _Nullable featureName; diff --git a/en-US/dita/RTC-NG/API/class_livetranscoding.dita b/en-US/dita/RTC-NG/API/class_livetranscoding.dita index 15f3ac27021..5643a9c51f6 100644 --- a/en-US/dita/RTC-NG/API/class_livetranscoding.dita +++ b/en-US/dita/RTC-NG/API/class_livetranscoding.dita @@ -225,7 +225,58 @@ this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject + <codeblock props="hmos" outputclass="language-arkts">export class LiveTranscoding { + + public width: number; + + public height: number; + + public videoBitrate: number; + + public videoFramerate: number; + + public videoGop: number; + + public watermarkList?: Array<AgoraImage>; + + public backgroundImageList?: Array<AgoraImage>; + + public audioSampleRate: Constants.AudioSampleRateType; + + public audioBitrate: number; + + public audioChannels: number; + + public audioCodecProfile: Constants.AudioCodecProfileType; + + public videoCodecProfile: Constants.VideoCodecProfileType; + + public videoCodecType: Constants.VideoCodecType; + + public userConfigExtraInfo?: string; + + public metadata?: string; + + public transcodingUsers: Map<number, TranscodingUser>; + + public advancedFeatures: Map<string, boolean>; + constructor() { + this.width = 360; + this.height = 640; + this.videoBitrate = 400; + this.videoCodecProfile = Constants.VideoCodecProfileType.HIGH; + this.videoCodecType = Constants.VideoCodecType.H264; + this.videoGop = 30; + this.videoFramerate = 15; + this.audioSampleRate = Constants.AudioSampleRateType.TYPE_44100; + this.audioBitrate = 48; + this.audioChannels = 1; + this.audioCodecProfile = Constants.AudioCodecProfileType.LC_AAC; + this.advancedFeatures = new Map<string, boolean>(); + this.transcodingUsers = new Map<number, TranscodingUser>(); + } +}</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject @property(assign, nonatomic) CGSize size; @property(assign, nonatomic) NSInteger videoBitrate; diff --git a/en-US/dita/RTC-NG/API/class_localaudiostats.dita b/en-US/dita/RTC-NG/API/class_localaudiostats.dita index 4da552a73a3..026d0e272c5 100644 --- a/en-US/dita/RTC-NG/API/class_localaudiostats.dita +++ b/en-US/dita/RTC-NG/API/class_localaudiostats.dita @@ -16,6 +16,26 @@ public int earMonitorDelay; public int aecEstimatedDelay; };</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LocalAudioStats { + + public numChannels:number = 0; + + public sentSampleRate:number = 0; + + public sentBitrate:number = 0; + + public internalCodec:number = 0; + + public txPacketLossRate:number = 0; + + public audioDeviceDelay:number = 0; + + public audioPlayoutDelay:number = 0; + + public earMonitorDelay:number = 0; + + public aecEstimatedDelay:number = 0; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcLocalAudioStats : NSObject @property(assign, nonatomic) NSUInteger numChannels; @property(assign, nonatomic) NSUInteger sentSampleRate; diff --git a/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita b/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita index 180009f8dd8..d0c939469c8 100644 --- a/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita +++ b/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita @@ -12,6 +12,7 @@ mRtcEngine = null; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLocalSpatialAudioConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; @end</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index db13d70cd47..68d1add4d42 100644 --- a/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -15,6 +15,14 @@ transcodingVideoStreams = new ArrayList<TranscodingVideoStream>(); videoOutputConfiguration = new VideoEncoderConfiguration(); } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LocalTranscoderConfiguration { + public transcodingVideoStreams:Array<TranscodingVideoStream>; + public videoOutputConfiguration:VideoEncoderConfiguration; + public constructor() { + this.transcodingVideoStreams = new Array<TranscodingVideoStream>(); + this.videoOutputConfiguration = new VideoEncoderConfiguration(); + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject diff --git a/en-US/dita/RTC-NG/API/class_localvideostats.dita b/en-US/dita/RTC-NG/API/class_localvideostats.dita index 57aa1fc5b46..bfea7c33241 100644 --- a/en-US/dita/RTC-NG/API/class_localvideostats.dita +++ b/en-US/dita/RTC-NG/API/class_localvideostats.dita @@ -29,6 +29,53 @@ public int txPacketLossRate; public int captureBrightnessLevel; public int hwEncoderAccelerating; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class LocalVideoStats { + + public uid:number = 0; + public sentBitrate:number = 0; + + public sentFrameRate:number = 0; + + public captureFrameRate:number = 0; + + public captureFrameWidth:number = 0; + + public captureFrameHeight:number = 0; + + public regulatedCaptureFrameRate:number = 0; + + public regulatedCaptureFrameWidth:number = 0; + + public regulatedCaptureFrameHeight:number = 0; + + public encoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public targetBitrate:number = 0; + + public targetFrameRate:number = 0; + + public qualityAdaptIndication:number = 0; + + public encodedBitrate:number = 0; + + public encodedFrameWidth:number = 0; + + public encodedFrameHeight:number = 0; + + public encodedFrameCount:number = 0; + + public codecType:number = 0; + + public txPacketLossRate:number = 0; + + public captureBrightnessLevel:number = 0; + + public dualStreamEnabled:boolean = false; + + public hwEncoderAccelerating:number = 0; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcLocalVideoStats : NSObject @property(assign, nonatomic) NSUInteger sentBitrate; diff --git a/en-US/dita/RTC-NG/API/class_logconfig.dita b/en-US/dita/RTC-NG/API/class_logconfig.dita index e97a5d0302b..690c147762d 100644 --- a/en-US/dita/RTC-NG/API/class_logconfig.dita +++ b/en-US/dita/RTC-NG/API/class_logconfig.dita @@ -11,6 +11,7 @@ public int fileSizeInKB; public int level = Constants.LogLevel.getValue(Constants.LogLevel.LOG_LEVEL_INFO); }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLogConfig: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @property (assign, nonatomic) NSInteger fileSizeInKB; diff --git a/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita b/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita index 5d43087f614..ef98a997352 100644 --- a/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita +++ b/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita @@ -27,6 +27,7 @@ serverHttps = https; } };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface LogUploadServerInfo : NSObject @property(copy, nonatomic) NSString* _Nullable serverDomain; diff --git a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index df1a635f11e..0abc7e0279c 100644 --- a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -24,7 +24,8 @@ lowlightEnhanceLevel = level; } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLowlightEnhanceOptions : NSObject + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLowlightEnhanceOptions : NSObject @property(nonatomic, assign) AgoraLowlightEnhanceMode mode; @property(nonatomic, assign) AgoraLowlightEnhanceLevel level; @end</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita b/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita index 21cbb2fbc6e..5a6b442d497 100644 --- a/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita b/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita index fe08c11d59c..3bdb39bd215 100644 --- a/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita +++ b/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index 896ed6801d4..b70e08e7881 100644 --- a/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -22,6 +22,26 @@ this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class MediaRecorderConfiguration { + + public storagePath: string; + + public containerFormat: number = AgoraMediaRecorder.CONTAINER_MP4; + + public streamType: number = AgoraMediaRecorder.STREAM_TYPE_BOTH; + + public maxDurationMs: number = 120000; + + public recorderInfoUpdateInterval: number = 0; + public constructor(storagePath: string, containerFormat: number, streamType: number, + maxDurationMs: number, recorderInfoUpdateInterval: number) { + this.storagePath = storagePath; + this.containerFormat = containerFormat; + this.streamType = streamType; + this.maxDurationMs = maxDurationMs; + this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; + } +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaRecorderConfiguration : NSObject @property(copy, nonatomic) NSString* _Nonnull storagePath; @property(assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormat; diff --git a/en-US/dita/RTC-NG/API/class_mediasource.dita b/en-US/dita/RTC-NG/API/class_mediasource.dita index 2839c1bef40..69e22592fff 100644 --- a/en-US/dita/RTC-NG/API/class_mediasource.dita +++ b/en-US/dita/RTC-NG/API/class_mediasource.dita @@ -17,6 +17,7 @@ boolean enableMultiAudioTrack; IMediaPlayerCustomDataProvider provider; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaSource : NSObject @property(copy, nonatomic) NSString *_Nullable url; @property(copy, nonatomic) NSString *_Nullable uri; diff --git a/en-US/dita/RTC-NG/API/class_metadata.dita b/en-US/dita/RTC-NG/API/class_metadata.dita index 836596939f8..54bc3cd415a 100644 --- a/en-US/dita/RTC-NG/API/class_metadata.dita +++ b/en-US/dita/RTC-NG/API/class_metadata.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct Metadata { unsigned int uid; diff --git a/en-US/dita/RTC-NG/API/class_music.dita b/en-US/dita/RTC-NG/API/class_music.dita index 6a407660c02..35cc497ddc6 100644 --- a/en-US/dita/RTC-NG/API/class_music.dita +++ b/en-US/dita/RTC-NG/API/class_music.dita @@ -86,6 +86,7 @@ return climaxSegments; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMusic : NSObject @property(nonatomic, assign) NSInteger songCode; @property(nonatomic, assign) NSInteger type; diff --git a/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita b/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita index 423190cade2..eb71c715c3c 100644 --- a/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita +++ b/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita @@ -12,6 +12,7 @@ public MusicCacheInfo() {} }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMusicCacheInfo : NSObject @property(nonatomic, assign) NSInteger songCode; diff --git a/en-US/dita/RTC-NG/API/class_musicchartcollection.dita b/en-US/dita/RTC-NG/API/class_musicchartcollection.dita index 37449c0594c..85cb2e360c8 100644 --- a/en-US/dita/RTC-NG/API/class_musicchartcollection.dita +++ b/en-US/dita/RTC-NG/API/class_musicchartcollection.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">class MusicChartCollection : public RefCountInterface { public: diff --git a/en-US/dita/RTC-NG/API/class_musiccollection.dita b/en-US/dita/RTC-NG/API/class_musiccollection.dita index 45a87d244ca..cdbfb1ee462 100644 --- a/en-US/dita/RTC-NG/API/class_musiccollection.dita +++ b/en-US/dita/RTC-NG/API/class_musiccollection.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMusicCollection : NSObject @property(nonatomic, assign) NSInteger count; @property(nonatomic, assign) NSInteger total; diff --git a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita index 8507fa153e4..03e016f62c6 100644 --- a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita @@ -22,6 +22,7 @@ eventHandler = null; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMusicContentCenterConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; @property (nonatomic, copy) NSString *appId; diff --git a/en-US/dita/RTC-NG/API/class_mvproperty.dita b/en-US/dita/RTC-NG/API/class_mvproperty.dita index 0467ddc1cd3..529814e328b 100644 --- a/en-US/dita/RTC-NG/API/class_mvproperty.dita +++ b/en-US/dita/RTC-NG/API/class_mvproperty.dita @@ -26,6 +26,7 @@ return resolution; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMvProperty : NSObject @property (nonatomic, copy) NSString *resolution; @property (nonatomic, copy) NSString *bandwidth; diff --git a/en-US/dita/RTC-NG/API/class_playerplaybackstats.dita b/en-US/dita/RTC-NG/API/class_playerplaybackstats.dita index 03270afa65c..f59b20576a0 100644 --- a/en-US/dita/RTC-NG/API/class_playerplaybackstats.dita +++ b/en-US/dita/RTC-NG/API/class_playerplaybackstats.dita @@ -12,6 +12,7 @@ private long audioBitrateInKbps; private long totalBitrateInKbps; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaPlayerPlaybackStats : NSObject @property(assign, nonatomic) NSInteger videoFps; @property(assign, nonatomic) NSInteger videoBitrateInKbps; diff --git a/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita b/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita index 9ce1b2d33ca..c4126723e82 100644 --- a/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita @@ -23,6 +23,7 @@ public MediaStreamInfo() {} }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaStreamInfo : NSObject @property(nonatomic, assign) NSInteger streamIndex; diff --git a/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita b/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita index d25c57bce05..a178c806c9f 100644 --- a/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita +++ b/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita @@ -14,6 +14,7 @@ private long audioChannels; private long audioBitsPerSample; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaPlayerUpdatedInfo : NSObject @property(copy, nonatomic) NSString *_Nullable deviceId; @property(assign, nonatomic) NSInteger videoHeight; diff --git a/en-US/dita/RTC-NG/API/class_plugin.dita b/en-US/dita/RTC-NG/API/class_plugin.dita index 210c3017d75..ea52b6be826 100644 --- a/en-US/dita/RTC-NG/API/class_plugin.dita +++ b/en-US/dita/RTC-NG/API/class_plugin.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_plugininfo.dita b/en-US/dita/RTC-NG/API/class_plugininfo.dita index 50ac6663623..8e33c6d9981 100644 --- a/en-US/dita/RTC-NG/API/class_plugininfo.dita +++ b/en-US/dita/RTC-NG/API/class_plugininfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_recorderinfo.dita b/en-US/dita/RTC-NG/API/class_recorderinfo.dita index 787ca231a18..e7e94c29c7d 100644 --- a/en-US/dita/RTC-NG/API/class_recorderinfo.dita +++ b/en-US/dita/RTC-NG/API/class_recorderinfo.dita @@ -17,6 +17,19 @@ this.durationMs = durationMs; this.fileSize = fileSize; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class RecorderInfo { + + public fileName: string; + + public durationMs: number; + + public fileSize: number; + public constructor(fileName: string, durationMs: number, fileSize: number) { + this.fileName = fileName; + this.durationMs = durationMs; + this.fileSize = fileSize; + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaRecorderInfo : NSObject @property(copy, nonatomic) NSString* _Nonnull recorderFileName; diff --git a/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita b/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita index 235e03d36af..7b3a46ac379 100644 --- a/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -9,6 +9,19 @@ <codeblock props="android" outputclass="language-java">public class RecorderStreamInfo { public String channelId; public int uid; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class RecorderStreamInfo { + + public uid: number = 0; + + public channelId: string; + public constructor() { + this.uid = 0; + this.channelId = ""; + } + public toString(): string { + return "channelId=" + this.channelId; + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRecorderStreamInfo: NSObject diff --git a/en-US/dita/RTC-NG/API/class_rect.dita b/en-US/dita/RTC-NG/API/class_rect.dita index 4f6e3a3027b..0adff5311db 100644 --- a/en-US/dita/RTC-NG/API/class_rect.dita +++ b/en-US/dita/RTC-NG/API/class_rect.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">typedef struct Rect { int top; diff --git a/en-US/dita/RTC-NG/API/class_rectangle.dita b/en-US/dita/RTC-NG/API/class_rectangle.dita index 0d2e2cb95e9..87571151df3 100644 --- a/en-US/dita/RTC-NG/API/class_rectangle.dita +++ b/en-US/dita/RTC-NG/API/class_rectangle.dita @@ -25,6 +25,7 @@ height = height_; } };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct Rectangle { int x; diff --git a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita index f2f5c96d57f..a3e75af24ff 100644 --- a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -24,6 +24,44 @@ public int qualityChangedReason; public int e2eDelay; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class RemoteAudioStats { + + public uid:number = 0; + + public quality:number = 0; + + public networkTransportDelay:number = 0; + + public jitterBufferDelay:number = 0; + + public audioLossRate:number = 0; + + public numChannels:number = 0; + + public receivedSampleRate:number = 0; + + public receivedBitrate:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public mosValue:number = 0; + + public frozenRateByCustomPlcCount:number = 0; + + public plcCount:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public qoeQuality:number = 0; + + public qualityChangedReason:number = 0; + + public rxAudioBytes:number = 0; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcRemoteAudioStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger quality; diff --git a/en-US/dita/RTC-NG/API/class_remotevideostats.dita b/en-US/dita/RTC-NG/API/class_remotevideostats.dita index e2e6800b095..3388601d9a4 100644 --- a/en-US/dita/RTC-NG/API/class_remotevideostats.dita +++ b/en-US/dita/RTC-NG/API/class_remotevideostats.dita @@ -24,6 +24,44 @@ public long totalActiveTime; public long publishDuration; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class RemoteVideoStats { + + public uid:number = 0; + + public delay:number = 0; + + public e2eDelay:number = 0; + + public width:number = 0; + + public height:number = 0; + + public receivedBitrate:number = 0; + + public decoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public frameLossRate:number = 0; + + public packetLossRate:number = 0; + + public rxStreamType:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public avSyncTimeMs:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public mosValue:number = 0; + + public rxVideoBytes:number = 0; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcRemoteVideoStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger delay __deprecated; diff --git a/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita b/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita index 32e077297d9..c24a6acca97 100644 --- a/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita +++ b/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita @@ -15,6 +15,7 @@ forward = new float[] {0.0f, 0.0f, 0.0f}; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRemoteVoicePositionInfo : NSObject @property(assign, nonatomic) simd_float3 position; @property(assign, nonatomic) simd_float3 forward; diff --git a/en-US/dita/RTC-NG/API/class_rendererconfig.dita b/en-US/dita/RTC-NG/API/class_rendererconfig.dita index d02f739db35..13239d5e033 100644 --- a/en-US/dita/RTC-NG/API/class_rendererconfig.dita +++ b/en-US/dita/RTC-NG/API/class_rendererconfig.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_rendereroptions.dita b/en-US/dita/RTC-NG/API/class_rendereroptions.dita index 07f206145a1..27f41bd7510 100644 --- a/en-US/dita/RTC-NG/API/class_rendereroptions.dita +++ b/en-US/dita/RTC-NG/API/class_rendereroptions.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 9f638439bcb..5bfa566de54 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 @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 3422b0c567a..20465a69696 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 @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 112ecffc6ff..bd68ac26654 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 @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 d9f0f69b14a..eefee8acc11 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 @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 fcfe2eb3671..9f21d0a7322 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 @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> 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 8a366d28e8b..c19bc934535 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 @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_rtcconnection.dita b/en-US/dita/RTC-NG/API/class_rtcconnection.dita index 8f4a11b7991..6950f5fd6b6 100644 --- a/en-US/dita/RTC-NG/API/class_rtcconnection.dita +++ b/en-US/dita/RTC-NG/API/class_rtcconnection.dita @@ -40,7 +40,15 @@ return sb.toString(); } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> + <codeblock props="hmos" outputclass="language-arkts">export class RtcConnection { + public localUid:number = 0; + public channelId:string = ""; + constructor(channelId:string,uid:number) { + this.channelId = channelId; + this.localUid = uid; + } +}</codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> @property (nonatomic, copy) NSString *_Nonnull channelId; @property (nonatomic, assign) NSUInteger localUid; diff --git a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita index 01eb20672b5..2c7538ce669 100644 --- a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -24,6 +24,11 @@ mExtensionList.add(providerName); } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class RtcEngineConfig{ + public mContext:Context | null = null; + public mAppId:string | null = null; + public mEventHandler: IRtcEngineEventHandler | null = null; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcEngineConfig: NSObject diff --git a/en-US/dita/RTC-NG/API/class_rtcimage.dita b/en-US/dita/RTC-NG/API/class_rtcimage.dita index dbed90720f6..049a5a0daa7 100644 --- a/en-US/dita/RTC-NG/API/class_rtcimage.dita +++ b/en-US/dita/RTC-NG/API/class_rtcimage.dita @@ -34,6 +34,31 @@ this.zOrder = 0; this.alpha = 1.0; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class AgoraImage { + + public url: string; + + public x: number; + + public y: number; + + public width: number; + + public height: number; + + public zOrder: number; + + public alpha: number; + constructor(url: string) { + this.url = url; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraImage : NSObject @property(strong, nonatomic) NSURL *_Nonnull url; diff --git a/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita b/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita index 5f71b99a31a..30e1ac3c499 100644 --- a/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita +++ b/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_rtcstats.dita b/en-US/dita/RTC-NG/API/class_rtcstats.dita index 323e0a21690..704f9eb1a18 100644 --- a/en-US/dita/RTC-NG/API/class_rtcstats.dita +++ b/en-US/dita/RTC-NG/API/class_rtcstats.dita @@ -31,6 +31,56 @@ public double memoryAppUsageRatio; public double memoryTotalUsageRatio; public int memoryAppUsageInKbytes; +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class RtcStats { + + public totalDuration:number = 0; + + public txBytes:number = 0; + + public rxBytes:number = 0; + + public txKBitRate:number = 0; + + public txAudioBytes:number = 0; + + public rxAudioBytes:number = 0; + + public txVideoBytes:number = 0; + + public rxVideoBytes:number = 0; + + public rxKBitRate:number = 0; + + public txAudioKBitRate:number = 0; + + public rxAudioKBitRate:number = 0; + + public txVideoKBitRate:number = 0; + + public rxVideoKBitRate:number = 0; + + public lastmileDelay:number = 0; + + public cpuTotalUsage:number = 0; + + public gatewayRtt:number = 0; + + public cpuAppUsage:number = 0; + + public users:number = 0; + + public connectTimeMs:number = 0; + + public txPacketLossRate:number = 0; + + public rxPacketLossRate:number = 0; + + public memoryAppUsageRatio:number = 0; + + public memoryTotalUsageRatio:number = 0; + + public memoryAppUsageInKbytes:number = 0; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraChannelStats : NSObject @property(assign, nonatomic) NSUInteger duration; diff --git a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita index a4e292e1600..fef8e70342e 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">#if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC)) __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguration: NSObject diff --git a/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita b/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita index 8bf2f5339cb..cc6270ec108 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraScreenCaptureParameters: NSObject @property (assign, nonatomic) CGSize dimensions; @property (assign, nonatomic) NSInteger frameRate; diff --git a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita index 880308bbb89..0d1c8117c2c 100644 --- a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraScreenCaptureSourceInfo : NSObject @property(assign, nonatomic) AgoraScreenCaptureSourceType type; @property(assign, nonatomic) CGWindowID sourceId; diff --git a/en-US/dita/RTC-NG/API/class_screensymbol.dita b/en-US/dita/RTC-NG/API/class_screensymbol.dita index a3652e2a9fb..c2ada429e44 100644 --- a/en-US/dita/RTC-NG/API/class_screensymbol.dita +++ b/en-US/dita/RTC-NG/API/class_screensymbol.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita b/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita index 429aeaeccb8..36f14bf8370 100644 --- a/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita +++ b/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript">export class SDKBuildInfo { diff --git a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita index 1b8c808fdff..c8346188b90 100644 --- a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita @@ -20,6 +20,12 @@ this.modelType = SEG_MODEL_AI; this.greenCapacity = 0.5f; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class SegmentationProperty { + + public modelType:Constants.SegModelType = Constants.SegModelType.AI; + + public greenCapacity:number = 0.5; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraSegmentationProperty: NSObject @property(nonatomic, assign) SegModelType modelType; diff --git a/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita index 75d8c6e1351..c69c746fc41 100644 --- a/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -23,6 +23,16 @@ this.bitrate = bitrate; this.framerate = framerate; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class SimulcastStreamConfig { + public dimensions: VideoDimensions; + + public bitrate: number = -1; + + public framerate: number = 5; + constructor() { + this.dimensions = new VideoDimensions(-1, -1); + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraSimulcastStreamConfig: NSObject @property (assign, nonatomic) int bitrate; diff --git a/en-US/dita/RTC-NG/API/class_size.dita b/en-US/dita/RTC-NG/API/class_size.dita index 0417a159992..e09c18503de 100644 --- a/en-US/dita/RTC-NG/API/class_size.dita +++ b/en-US/dita/RTC-NG/API/class_size.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct SIZE { int width; diff --git a/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita b/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita index 2bec615efd7..d72ef0d0d30 100644 --- a/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita @@ -48,7 +48,8 @@ return enable_doppler; } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraSpatialAudioParams : NSObject + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraSpatialAudioParams : NSObject @property(assign, nonatomic) double speaker_azimuth; @property(assign, nonatomic) double speaker_elevation; @property(assign, nonatomic) double speaker_distance; diff --git a/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita b/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita index d3456cac35f..d61e4405cbb 100644 --- a/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita +++ b/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita @@ -64,6 +64,7 @@ return audioAttenuation; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraSpatialAudioZone : NSObject @property(assign, nonatomic) NSInteger zoneSetId; @property(nonatomic) simd_float3 position; diff --git a/en-US/dita/RTC-NG/API/class_srcinfo.dita b/en-US/dita/RTC-NG/API/class_srcinfo.dita index 3b5011d3a07..3ea4bfef682 100644 --- a/en-US/dita/RTC-NG/API/class_srcinfo.dita +++ b/en-US/dita/RTC-NG/API/class_srcinfo.dita @@ -12,6 +12,7 @@ public SrcInfo() {} }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraMediaPlayerSrcInfo : NSObject @property(assign, nonatomic) int bitrateInKbps; @property(copy, nonatomic) NSString *_Nullable name; diff --git a/en-US/dita/RTC-NG/API/class_thumbimagebuffer.dita b/en-US/dita/RTC-NG/API/class_thumbimagebuffer.dita index dfa7e0e6197..824426af41a 100644 --- a/en-US/dita/RTC-NG/API/class_thumbimagebuffer.dita +++ b/en-US/dita/RTC-NG/API/class_thumbimagebuffer.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct ThumbImageBuffer { const char* buffer; diff --git a/en-US/dita/RTC-NG/API/class_transcodinguser.dita b/en-US/dita/RTC-NG/API/class_transcodinguser.dita index 481e1b359b0..fc375c823a8 100644 --- a/en-US/dita/RTC-NG/API/class_transcodinguser.dita +++ b/en-US/dita/RTC-NG/API/class_transcodinguser.dita @@ -23,6 +23,24 @@ alpha = 1; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class TranscodingUser { + + public uid: number = 0; + + public x: number = 0; + + public y: number = 0; + + public width: number = 360; + + public height: number = 640; + + public zOrder: number = 0; + + public alpha: number = 1.0; + + public audioChannel: number = 0; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraLiveTranscodingUser : NSObject @property(assign, nonatomic) NSUInteger uid; diff --git a/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita b/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita index 0f142b9fb7c..92911ef0fec 100644 --- a/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -31,6 +31,43 @@ this.mirror = false; } };</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class TranscodingVideoStream { + + public remoteUserUid:number; + + public sourceType:Constants.VideoSourceType; + + public imageUrl:string; + + public mediaPlayerId:number; + + public x:number; + + public y:number; + + public width:number; + + public height:number; + + public zOrder:number; + + public alpha:number; + + public mirror:boolean; + public constructor() { + this.remoteUserUid = 0; + this.sourceType = Constants.VideoSourceType.CAMERA_PRIMARY; + this.imageUrl = ""; + this.mediaPlayerId = -1; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + this.mirror = false; + } +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraTranscodingVideoStream: NSObject @property (assign, nonatomic) AgoraVideoSourceType sourceType; @property (assign, nonatomic) NSUInteger remoteUserUid; diff --git a/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita b/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita index e417457da73..e6789ff8f89 100644 --- a/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita +++ b/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita @@ -9,6 +9,7 @@ <codeblock props="android" outputclass="language-java">public static class UplinkNetworkInfo { public int video_encoder_target_bitrate_bps; };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraUplinkNetworkInfo : NSObject @property(nonatomic, assign) int videoEncoderTargetBitrateBps; @end</codeblock> diff --git a/en-US/dita/RTC-NG/API/class_user.dita b/en-US/dita/RTC-NG/API/class_user.dita index 96684433008..1a9e3e9c8bc 100644 --- a/en-US/dita/RTC-NG/API/class_user.dita +++ b/en-US/dita/RTC-NG/API/class_user.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita index ae141273110..e710b45dd6a 100644 --- a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -11,6 +11,7 @@ private AudioSpectrumInfo audioSpectrumInfo; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraAudioSpectrumInfo : NSObject @property(nonatomic, assign) NSInteger uid; diff --git a/en-US/dita/RTC-NG/API/class_userinfo.dita b/en-US/dita/RTC-NG/API/class_userinfo.dita index 854a82f2aa2..20333d66b6e 100644 --- a/en-US/dita/RTC-NG/API/class_userinfo.dita +++ b/en-US/dita/RTC-NG/API/class_userinfo.dita @@ -22,6 +22,7 @@ public uint uid; public string userAccount; }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraUserInfo: NSObject @property(assign, nonatomic) NSUInteger uid; @property (copy, nonatomic) NSString * _Nullable userAccount; diff --git a/en-US/dita/RTC-NG/API/class_videocanvas.dita b/en-US/dita/RTC-NG/API/class_videocanvas.dita index 1b5ebd668df..09f528d4a4b 100644 --- a/en-US/dita/RTC-NG/API/class_videocanvas.dita +++ b/en-US/dita/RTC-NG/API/class_videocanvas.dita @@ -48,6 +48,20 @@ } } </codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class VideoCanvas{ + public static readonly RENDER_MODE_HIDDEN = 1; + public static readonly RENDER_MODE_FIT = 2; + public static readonly VIDEO_MIRROR_MODE_ENABLED = 1; + public static readonly VIDEO_MIRROR_MODE_DISABLED = 2; + + public xcomponentId:string = ''; + public uid:number = 0; + public renderMode:number = VideoCanvas.RENDER_MODE_HIDDEN; + public mirrorMode:number = 0; + constructor(componentId:string) { + this.xcomponentId = componentId; + } +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraRtcVideoCanvas : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger subviewUid; diff --git a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita index 300115f1ad7..ec79131918b 100644 --- a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -26,6 +26,7 @@ } } </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoDenoiserOptions : NSObject @property(nonatomic, assign) AgoraVideoDenoiserMode mode; @property(nonatomic, assign) AgoraVideoDenoiserLevel level; diff --git a/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita b/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita index 72f849cc329..16ec5d08f1e 100644 --- a/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript">export class VideoDeviceInfo { diff --git a/en-US/dita/RTC-NG/API/class_videodimensions.dita b/en-US/dita/RTC-NG/API/class_videodimensions.dita index 99d25e41f47..b0d3ad123ab 100644 --- a/en-US/dita/RTC-NG/API/class_videodimensions.dita +++ b/en-US/dita/RTC-NG/API/class_videodimensions.dita @@ -19,6 +19,14 @@ this.width = 0; this.height = 0; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class VideoDimensions { + constructor(w : number, h : number) { + this.width = w; + this.height = h; + } + public width:number; + public height:number; }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct VideoDimensions { diff --git a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita index b218620f872..a9f5d6fc90f 100644 --- a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -246,6 +246,17 @@ ENCODING_PREFERENCE.PREFER_AUTO, COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY); this.codecType = VIDEO_CODEC_TYPE.VIDEO_CODEC_H265; } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class VideoEncoderConfiguration{ + public dimensions:VideoDimensions = new VideoDimensions(960,540); + public frameRate:number = 15; + public bitrate:number = 0; + public minBitrate:number = -1; + public orientationMode:OrientationMode = OrientationMode.ORIENTATION_MODE_ADAPTIVE; + public degradationPrefer:DegradationPreference = DegradationPreference.MAINTAIN_QUALITY; + public mirrorMode:MirrorModeType = MirrorModeType.MIRROR_MODE_DISABLED; + public advanceOptions:AdvanceOptions = new AdvanceOptions(); + constructor() {} }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoEncoderConfiguration : NSObject @property(assign, nonatomic) CGSize dimensions; diff --git a/en-US/dita/RTC-NG/API/class_videoformat.dita b/en-US/dita/RTC-NG/API/class_videoformat.dita index 381480c7d06..9ac7f34246b 100644 --- a/en-US/dita/RTC-NG/API/class_videoformat.dita +++ b/en-US/dita/RTC-NG/API/class_videoformat.dita @@ -12,6 +12,11 @@ public int fps; } </codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class CaptureFormat { + public width: number = 960; + public height: number = 540; + public fps: number = 15; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp">struct VideoFormat { int width; diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 35c6a129d3a..621ad0a5b59 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -240,6 +240,26 @@ public void release() { buffer.release(); } +}</codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class VideoFrame { + public buffer:ArrayBuffer | null = null; + public yBuffer: ArrayBuffer | null = null; + public uBuffer: ArrayBuffer | null = null; + public vBuffer: ArrayBuffer | null = null; + public rotation:number = 0; + public timestamp:number = 0; + public stride:number = 0; + public uStride:number = 0; + public vStride:number = 0; + public width:number = 0; + public height:number = 0; + public type:VideoBufferType = VideoBufferType.VIDEO_BUFFER_RAW_DATA; + public format:VideoPixelFormat = VideoPixelFormat.VIDEO_PIXEL_NV21; + public faceInfo:Array<FaceDetectionInfo> | undefined = undefined; + constructor(type:VideoBufferType,format:VideoPixelFormat) { + this.type = type; + this.format = format; + } }</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; diff --git a/en-US/dita/RTC-NG/API/class_videoframebufferconfig.dita b/en-US/dita/RTC-NG/API/class_videoframebufferconfig.dita index d65ee8defc9..91e09af9ace 100644 --- a/en-US/dita/RTC-NG/API/class_videoframebufferconfig.dita +++ b/en-US/dita/RTC-NG/API/class_videoframebufferconfig.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/class_videolayout.dita b/en-US/dita/RTC-NG/API/class_videolayout.dita index ebfa6deb3be..96a9cb73d3e 100644 --- a/en-US/dita/RTC-NG/API/class_videolayout.dita +++ b/en-US/dita/RTC-NG/API/class_videolayout.dita @@ -23,6 +23,7 @@ + ", height=" + height + '}'; } }</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoLayout: NSObject @property(copy, nonatomic) NSString* _Nonnull channelId NS_SWIFT_NAME(channelId); @property (assign, nonatomic) NSUInteger uid NS_SWIFT_NAME(uid); diff --git a/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita b/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita index 559a08920ef..cb55b8e864f 100644 --- a/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita +++ b/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita @@ -15,6 +15,7 @@ public int remoteJoined2UnmuteVideo; public int remoteJoined2PacketReceived; };</codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">NS_SWIFT_NAME(AgoraVideoRenderingTracingInfo) __attribute__((visibility("default"))) @interface AgoraVideoRenderingTracingInfo : NSObject @property (assign, nonatomic) NSInteger elapsedTime NS_SWIFT_NAME(elapsedTime); @property (assign, nonatomic) NSInteger start2JoinChannel NS_SWIFT_NAME(start2JoinChannel); diff --git a/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita index 562357c7ea8..1f718118ff7 100644 --- a/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -41,7 +41,8 @@ this.streamType = streamType; } }</codeblock> - <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject + <codeblock props="hmos" outputclass="language-arkts"></codeblock> + <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject @property (nonatomic, assign) AgoraVideoStreamType type; @property (nonatomic, assign) bool encodedFrameOnly; diff --git a/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita b/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita index c4f6118810f..133667fb8bf 100644 --- a/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita +++ b/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java" /> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec" /> <codeblock props="cpp unreal" outputclass="language-cpp" /> <codeblock props="electron" outputclass="language-typescript" /> diff --git a/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita b/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita index ca448abf580..3b0062f93aa 100644 --- a/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita +++ b/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita index a6e488505e6..95bc609d800 100644 --- a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -34,6 +34,16 @@ } } </codeblock> + <codeblock props="hmos" outputclass="language-arkts">export class VirtualBackgroundSource { + + public backgroundSourceType: Constants.VirtualBackgroundType = Constants.VirtualBackgroundType.COLOR; + + public color:number = 0xffffff; + + public source:string | null = null; + + public blurDegree:Constants.VirtualBackgroundBlurDegree = Constants.VirtualBackgroundBlurDegree.HIGH; +}</codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface AgoraVirtualBackgroundSource : NSObject @property(nonatomic, assign) AgoraVirtualBackgroundSourceType backgroundSourceType NS_SWIFT_NAME(backgroundSourceType); @property(nonatomic, assign) NSUInteger color NS_SWIFT_NAME(color); diff --git a/en-US/dita/RTC-NG/API/class_watermarkoptions.dita b/en-US/dita/RTC-NG/API/class_watermarkoptions.dita index 6145bbe80e9..86978415919 100644 --- a/en-US/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/en-US/dita/RTC-NG/API/class_watermarkoptions.dita @@ -30,6 +30,7 @@ public Rectangle positionInPortraitMode = new Rectangle(); } </codeblock> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec">__attribute__((visibility("default"))) @interface WatermarkOptions : NSObject @property(assign, nonatomic) BOOL visibleInPreview; @property(assign, nonatomic) CGRect positionInLandscapeMode; diff --git a/en-US/dita/RTC-NG/API/class_watermarkratio.dita b/en-US/dita/RTC-NG/API/class_watermarkratio.dita index be1b08cce5b..e7644f8cebc 100644 --- a/en-US/dita/RTC-NG/API/class_watermarkratio.dita +++ b/en-US/dita/RTC-NG/API/class_watermarkratio.dita @@ -7,6 +7,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp">struct WatermarkRatio { float xRatio; diff --git a/en-US/dita/RTC-NG/API/class_windowinfo.dita b/en-US/dita/RTC-NG/API/class_windowinfo.dita index 2c5f00bb571..02f0d726af3 100644 --- a/en-US/dita/RTC-NG/API/class_windowinfo.dita +++ b/en-US/dita/RTC-NG/API/class_windowinfo.dita @@ -8,6 +8,7 @@ <section id="prototype"> <p outputclass="codeblock"> <codeblock props="android" outputclass="language-java"/> + <codeblock props="hmos" outputclass="language-arkts"></codeblock> <codeblock props="ios mac" outputclass="language-objectivec"/> <codeblock props="cpp unreal" outputclass="language-cpp"/> <codeblock props="electron" outputclass="language-typescript"/> diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap new file mode 100644 index 00000000000..941946da7f6 --- /dev/null +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -0,0 +1,12106 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> +<map id="keys_rtc_cpp_api"> + <title>Keys RTC HarmonyOS API + + + + HarmonyOS + + + + + + + ArkTS + + + + + + + Agora ArkTS API Reference for HarmonyOS + + + + + + + 参数 + Parameters + + + + + + + 返回值 + Returns + + + + + + + + RtcEngine + + + + + + + RtcEngineEx + + + + + + + IRtcEngineEventHandler + + + + + + + IRtcEngineEventHandlerEx + + + + + + + IAudioEncodedFrameObserver + + + + + + + IAudioEffectManager + + + + + + + IAudioFrameObserver + + + + + + + IMediaExtensionObserver + + + + + + + IMediaPlayer + + + + + + + IMediaPlayerCacheManager + + + + + + + IMediaPlayerAudioFrameObserver + + + + + + + IMediaPlayerVideoFrameObserver + + + + + + + IMediaPlayerCustomDataProvider + + + + + + + IMediaPlayerObserver + + + + + + + AgoraMediaRecorder + + + + + + + IMediaRecorderCallback + + + + + + + IMetadataObserver + + + + + + + IVideoEncodedFrameObserver + + + + + + + IVideoFrameObserver + + + + + + + IFaceInfoObserver + + + + + + + IAudioSpectrumObserver + + + + + + + IBaseSpatialAudioEngine + + + + + + + ILocalSpatialAudioEngine + + + + + + + AudioParams + + + + + + + IMusicContentCenterEventHandler + + + + + + + IAgoraMusicPlayer + + + + + + + IAgoraMusicContentCenter + + + + + + + + + + createEngine + + + + + + + create + + + + + + + destroy + + + + + + + setChannelProfile + + + + + + + + setClientRole + + + + + + + joinChannel + + + + + + + joinChannelWithOptions + + + + + + + updateChannelMediaOptions + + + + + + + + leaveChannel + + + + + + + preloadChannel + + + + + + + preloadChannelWithUserAccount + + + + + + + renewToken + + + + + + + getConnectionState + + + + + + + registerLocalUserAccount + + + + + + + joinChannelWithUserAccount [1/2] + + + + + + + joinChannelWithUserAccount + + + + + + + getUserInfoByUid + + + + + + + getUserInfoByUserAccount + + + + + + + enableWebSdkInteroperability + + + + + + + startMediaRenderingTracing + + + + + + + startMediaRenderingTracingEx + + + + + + + enableInstantMediaRendering + + + + + + + + + createMediaPlayer + + + + + + + destroy + + + + + + + enableAutoRemoveCache + + + + + + + adjustPlayoutVolume + + + + + + + adjustPublishSignalVolume + + + + + + + getPlaySrc [1/2] + + + + + + + getPlaySrc + + + + + + + getCacheDir + + + + + + + getCacheFileCount + + + + + + + getDuration + + + + + + + getMaxCacheFileCount + + + + + + + getMaxCacheFileSize + + + + + + + getMediaPlayerCacheManager + + + + + + + getMediaPlayerId + + + + + + + getMute + + + + + + + getPlayoutVolume + + + + + + + getPlayPosition + + + + + + + getPublishSignalVolume + + + + + + + getState + + + + + + + getStreamCount + + + + + + + getStreamInfo + + + + + + + mute + + + + + + + open [1/2] + + + + + + + open + + + + + + + pause + + + + + + + play + + + + + + + removeAllCaches + + + + + + + removeCacheByUri + + + + + + + removeOldCache + + + + + + + registerAudioFrameObserver + + + + + + + registerVideoFrameObserver + + + + + + + registerPlayerObserver + + + + + + + resume + + + + + + + seek + + + + + + + selectAudioTrack + + + + + + + selectAudioTrack + + + + + + + selectMultiAudioTrack + + + + + + + setAudioDualMonoMode + + + + + + + setAudioPitch + + + + + + + setCacheDir + + + + + + + setLoopCount + + + + + + + setMaxCacheFileCount + + + + + + + setMaxCacheFileSize + + + + + + + setPlaybackSpeed + + + + + + + setPlayerOption + + + + + + + setPlayerOptionString + + + + + + + setRenderMode + + + + + + + setView + + + + + + + stop + + + + + + + unRegisterPlayerObserver + + + + + + + openWithCustomSource + + + + + + + openWithAgoraCDNSrc + + + + + + + openWithMediaSource + + + + + + + getAgoraCDNLineCount + + + + + + + getCurrentAgoraCDNIndex + + + + + + + switchAgoraCDNLineByIndex + + + + + + + enableAutoSwitchAgoraCDN + + + + + + + switchAgoraCDNSrc + + + + + + + renewAgoraCDNSrcToken + + + + + + + switchSrc + + + + + + + preloadSrc + + + + + + + unloadSrc + + + + + + + playPreloadedSrc + + + + + + + + + enableAudio + + + + + + + enableAudioQualityIndication + + + + + + + disableAudio + + + + + + + setAudioProfile [1/2] + + + + + + + setAudioProfile + + + + + + + setAudioScenario + + + + + + + adjustRecordingSignalVolume + + + + + + + adjustUserPlaybackSignalVolume + + + + + + + adjustPlaybackSignalVolume + + + + + + + adjustCustomAudioPlayoutVolume + + + + + + + adjustCustomAudioPublishVolume + + + + + + + enableLocalAudio + + + + + + + muteLocalAudioStream + + + + + + + muteRemoteAudioStream + + + + + + + muteAllRemoteAudioStreams + + + + + + + muteRecordingSignal + + + + + + + setSubscribeAudioBlocklist + + + + + + + setSubscribeAudioAllowlist + + + + + + + + + enableVideo + + + + + + + disableVideo + + + + + + + setSubscribeVideoBlocklist + + + + + + + setSubscribeVideoAllowlist + + + + + + + setVideoScenario + + + + + + + setVideoEncoderConfiguration + + + + + + + setupLocalVideo + + + + + + + setupRemoteVideo + + + + + + + + setLocalRenderMode + + + + + + + setRemoteRenderMode [1/2] + + + + + + + setRemoteRenderMode + + + + + + + setRemoteVideoSubscriptionOptions + + + + + + + CreateRendererView + + + + + + + CreateTextureView + + + + + + + + startPreview + + + + + + + + stopPreview + + + + + + + enableLocalVideo + + + + + + + muteLocalVideoStream + + + + + + + muteRemoteVideoStream + + + + + + + muteAllRemoteVideoStreams + + + + + + + + queryCodecCapability + + + + + + + + setAdvancedAudioOptions + + + + + + + setAINSMode + + + + + + + + + setBeautyEffectOptions [1/2] + + + + + + + setBeautyEffectOptions + + + + + + + + enableVirtualBackground + + + + + + + setLowlightEnhanceOptions [1/2] + + + + + + + setLowlightEnhanceOptions + + + + + + + setVideoDenoiserOptions [1/2] + + + + + + + setVideoDenoiserOptions + + + + + + + setColorEnhanceOptions [1/2] + + + + + + + setColorEnhanceOptions + + + + + + + registerFaceInfoObserver + + + + + + + + + addVideoWatermarkEx + + + + + + + adjustUserPlaybackSignalVolumeEx + + + + + + + clearVideoWatermarkEx + + + + + + + createDataStreamEx [1/2] + + + + + + + createDataStreamEx + + + + + + + enableAudioVolumeIndicationEx + + + + + + + getConnectionStateEx + + + + + + + getUserInfoByUid + + + + + + + getUserInfoByUserAccount + + + + + + + joinChannelEx + + + + + + + joinChannelWithUserAccountEx + + + + + + + + leaveChannelEx + + + + + + + muteRemoteAudioStreamEx + + + + + + + muteRemoteVideoStreamEx + + + + + + + pushExternalAudioFrameEx + + + + + + + pushExternalEncodedVideoFrameEx + + + + + + + sendCustomReportMessageEx + + + + + + + sendStreamMessageEx + + + + + + + setRemoteRenderModeEx + + + + + + + setRemoteVoice3DPositionEx + + + + + + + setRemoteVideoStreamTypeEx + + + + + + + setRemoteVideoSubscriptionOptionsEx + + + + + + + setRemoteVoicePositionEx + + + + + + + setSubscribeAudioBlocklistEx + + + + + + + setSubscribeAudioAllowlistEx + + + + + + + setSubscribeVideoBlocklistEx + + + + + + + setSubscribeVideoAllowlistEx + + + + + + + setupRemoteVideoEx + + + + + + + setVideoEncoderConfigurationEx + + + + + + + takeSnapshotEx + + + + + + + updateChannelMediaOptionsEx + + + + + + + updatePreloadChannelToken + + + + + + + startRtmpStreamWithoutTranscodingEx + + + + + + + startRtmpStreamWithTranscodingEx + + + + + + + updateRtmpTranscodingEx + + + + + + + stopRtmpStreamEx + + + + + + + startOrUpdateChannelMediaRelayEx + + + + + + + pauseAllChannelMediaRelayEx + + + + + + + muteLocalAudioStreamEx + + + + + + + muteLocalVideoStreamEx + + + + + + + muteAllRemoteAudioStreamsEx + + + + + + + muteAllRemoteVideoStreamsEx + + + + + + + stopChannelMediaRelayEx + + + + + + + resumeAllChannelMediaRelayEx + + + + + + + + + startScreenCapture + + + + + + + stopScreenCapture + + + + + + + updateScreenCaptureParameters + + + + + + + startScreenCaptureByDisplayId + + + + + + + queryScreenCaptureCapability + + + + + + + setScreenCaptureScenario + + + + + + + + + setAudioMixingDualMonoMode + + + + + + + setAudioMixingPlaybackSpeed + + + + + + + + startAudioMixing + + + + + + + stopAudioMixing + + + + + + + pauseAudioMixing + + + + + + + resumeAudioMixing + + + + + + + adjustAudioMixingVolume + + + + + + + adjustAudioMixingPlayoutVolume + + + + + + + adjustAudioMixingPublishVolume + + + + + + + getAudioMixingPlayoutVolume + + + + + + + getAudioMixingPublishVolume + + + + + + + getAudioMixingDuration + + + + + + + getAudioMixingCurrentPosition + + + + + + + getAudioTrackCount + + + + + + + setAudioMixingPitch + + + + + + + setAudioMixingPosition + + + + + + + + + getAudioEffectManager + + + + + + + getEffectsVolume + + + + + + + setEffectsVolume + + + + + + + setVolumeOfEffect + + + + + + + getVolumeOfEffect + + + + + + + + playEffect + + + + + + + stopEffect + + + + + + + stopAllEffects + + + + + + + preloadEffect + + + + + + + unloadEffect + + + + + + + pauseEffect + + + + + + + pauseAllEffects + + + + + + + resumeEffect + + + + + + + resumeAllEffects + + + + + + + setEffectPosition + + + + + + + getEffectDuration + + + + + + + getEffectCurrentPosition + + + + + + + + + startRhythmPlayer + + + + + + + stopRhythmPlayer + + + + + + + configRhythmPlayer + + + + + + + + + setLocalVoicePitch + + + + + + + setLocalVoiceEqualization + + + + + + + setLocalVoiceReverb + + + + + + + setVoiceBeautifierPreset + + + + + + + setVoiceBeautifierParameters + + + + + + + setAudioEffectPreset + + + + + + + setAudioEffectParameters + + + + + + + setLocalVoiceFormant + + + + + + + setVoiceConversionPreset + + + + + + + + + enableSoundPositionIndication + + + + + + + setRemoteVoice3DPosition + + + + + + + setRemoteVoicePosition + + + + + + + + + muteLocalAudioStream + + + + + + + muteAllRemoteAudioStreams + + + + + + + setAudioRecvRange + + + + + + + setDistanceUnit + + + + + + + setMaxAudioRecvCount + + + + + + + updatePlayerPositionInfo + + + + + + + updateSelfPosition + + + + + + + setZones + + + + + + + setPlayerAttenuation + + + + + + + setRemoteAudioAttenuation + + + + + + + + + clearRemotePositions + + + + + + + create + + + + + + + initialize + + + + + + + destroy + + + + + + + removeRemotePosition + + + + + + + updateRemotePosition + + + + + + + + + enableSpatialAudio + + + + + + + setRemoteUserSpatialAudioParams + + + + + + + setSpatialAudioParams + + + + + + + + + + startRtmpStreamWithoutTranscoding + + + + + + + startRtmpStreamWithTranscoding + + + + + + + updateRtmpTranscoding + + + + + + + stopRtmpStream + + + + + + + addBackgroundImage + + + + + + + addUser + + + + + + + addWatermark + + + + + + + getAdvancedFeatures + + + + + + + getBackgroundColor + + + + + + + getBackgroundImageList + + + + + + + getBlue + + + + + + + getGreen + + + + + + + getRed + + + + + + + getUserCount + + + + + + + getUsers + + + + + + + getWatermarkList + + + + + + + removeBackgroundImage + + + + + + + removeUser + + + + + + + removeWatermark + + + + + + + setAdvancedFeatures + + + + + + + setBackgroundColor [1/2] + + + + + + + setBackgroundColor + + + + + + + setBlue + + + + + + + setDirectCdnStreamingAudioConfiguration + + + + + + + setDirectCdnStreamingVideoConfiguration + + + + + + + setGreen + + + + + + + setLiveTranscoding + + + + + + + setRed + + + + + + + setUsers [1/2] + + + + + + + setUsers + + + + + + + startDirectCdnStreaming + + + + + + + stopDirectCdnStreaming + + + + + + + updateDirectCdnStreamingMediaOptions + + + + + + + + + pauseAllChannelMediaRelay + + + + + + + resumeAllChannelMediaRelay + + + + + + + startOrUpdateChannelMediaRelay + + + + + + + stopChannelMediaRelay + + + + + + + setSrcChannelInfo + + + + + + + setDestChannelInfo + + + + + + + getDestChannelMediaInfos + + + + + + + getSrcChannelMediaInfo + + + + + + + removeDestChannelInfo + + + + + + + + + enableAudioVolumeIndication + + + + + + + + + enableFaceDetection + + + + + + + isCameraFaceDetectSupported + + + + + + + + + setDefaultAudioRouteToSpeakerphone + + + + + + + setEnableSpeakerphone + + + + + + + setRouteInCommunicationMode + + + + + + + isSpeakerphoneEnabled + + + + + + + + + + enableInEarMonitoring + + + + + + + setEarMonitoringAudioFrameParameters + + + + + + + setInEarMonitoringVolume + + + + + + + setHeadphoneEQParameters + + + + + + + setHeadphoneEQPreset + + + + + + + + + enableDualStreamMode [1/2] + + + + + + + + enableDualStreamMode + + + + + + + enableDualStreamModeEx + + + + + + + setDualStreamMode [1/2] + + + + + + + setDualStreamMode + + + + + + + setDualStreamModeEx + + + + + + + setRemoteVideoStreamType + + + + + + + setRemoteDefaultVideoStreamType + + + + + + + + + setRemoteSubscribeFallbackOption + + + + + + + + + startEchoTest [1/3] + + + + + + + startEchoTest [2/3] + + + + + + + startEchoTest [3/3] + + + + + + + stopEchoTest + + + + + + + startLastmileProbeTest + + + + + + + stopLastmileProbeTest + + + + + + + + + createCustomVideoTrack + + + + + + + destroyCustomVideoTrack + + + + + + + setExternalVideoSource + + + + + + + pushExternalVideoFrameById [1/2] + + + + + + + + + pushExternalVideoFrame + + + + + + + pushExternalEncodedVideoFrame + + + + + + + isTextureEncodeSupported + + + + + + + getCurrentMonotonicTimeInMs + + + + + + + + + createCustomAudioTrack + + + + + + + destroyCustomAudioTrack + + + + + + + enableCustomAudioLocalPlayback + + + + + + + setExternalAudioSource [1/2] + + + + + + + setExternalAudioSource + + + + + + + pushExternalAudioFrame [1/2] + + + + + + + pushExternalAudioFrame + + + + + + + + + startCameraCapture + + + + + + + stopCameraCapture + + + + + + + + + setExternalAudioSink + + + + + + + pullPlaybackAudioFrame [1/2] + + + + + + + pullPlaybackAudioFrame + + + + + + + + + registerAudioEncodedFrameObserver + + + + + + + onPlaybackAudioEncodedFrame + + + + + + + onRecordAudioEncodedFrame + + + + + + + onMixedAudioEncodedFrame + + + + + + + + + registerVideoFrameObserver + + + + + + + onEncodedVideoFrameReceived + + + + + + + + + registerAudioFrameObserver + + + + + + + setRecordingAudioFrameParameters + + + + + + + setPlaybackAudioFrameParameters + + + + + + + setMixedAudioFrameParameters + + + + + + + setPlaybackAudioFrameBeforeMixingParameters + + + + + + + + + registerVideoEncodedFrameObserver + + + + + + + + + addExtension + + + + + + + enableExtension + + + + + + + getExtensionProperty [1/2] + + + + + + + getExtensionProperty + + + + + + + registerExtension + + + + + + + setExtensionProperty + + + + + + + setExtensionProviderProperty + + + + + + + onEvent + + + + + + + onStarted + + + + + + + onStopped + + + + + + + onError + + + + + + + + + startLocalVideoTranscoder + + + + + + + stopLocalVideoTranscoder + + + + + + + updateLocalTranscoderConfiguration + + + + + + + + + registerMediaMetadataObserver + + + + + + + unregisterMediaMetadataObserver + + + + + + + + + addVideoWatermark [1/2] + + + + + + + addVideoWatermark + + + + + + + clearVideoWatermarks + + + + + + + + + enableEncryption + + + + + + + enableEncryptionEx + + + + + + + setEncryptionMode + + + + + + + setEncryptionSecret + + + + + + + + + startAudioRecording + + + + + + + startAudioRecordingWithConfiguration + + + + + + + stopAudioRecording + + + + + + + + + createMediaRecorder + + + + + + + destroyMediaRecorder + + + + + + + setMediaRecorderObserver + + + + + + + startRecording + + + + + + + stopRecording + + + + + + + + + onRecorderStateChanged + + + + + + + onRecorderInfoUpdated + + + + + + + + + switchCamera + + + + + + + queryCameraFocalLengthCapability + + + + + + + getCameraMaxZoomFactor + + + + + + + isCameraZoomSupported + + + + + + + isCameraTorchSupported + + + + + + + isCameraFocusSupported + + + + + + + isCameraExposurePositionSupported + + + + + + + isCameraExposureSupported + + + + + + + isCameraAutoFocusFaceModeSupported + + + + + + + setCameraZoomFactor + + + + + + + setCameraFocusPositionInPreview + + + + + + + setCameraExposureFactor + + + + + + + setCameraExposurePosition + + + + + + + setCameraTorchOn + + + + + + + setCameraAutoFocusFaceModeEnabled + + + + + + + + + getAudioDeviceInfo + + + + + + + startPlaybackDeviceTest + + + + + + + stopPlaybackDeviceTest + + + + + + + startRecordingDeviceTest + + + + + + + stopRecordingDeviceTest + + + + + + + + + + createDataStream + + + + + + + sendStreamMessage + + + + + + + + + disableAudioSpectrumMonitor + + + + + + + enableAudioSpectrumMonitor + + + + + + + registerAudioSpectrumObserver + + + + + + + unregisterAudioSpectrumObserver + + + + + + + + + enableEchoCancellationExternal + + + + + + + + + setCameraCapturerConfiguration + + + + + + + setLocalVideoMirrorMode + + + + + + + + + open + + + + + + + open2 + + + + + + + stop + + + + + + + preload [1/2] + + + + + + + preload + + + + + + + isPreloaded + + + + + + + initialize + + + + + + + release + + + + + + + destroy + + + + + + + renewToken + + + + + + + unregisterEventHandler + + + + + + + registerEventHandler + + + + + + + createMusicPlayer + + + + + + + getLyric + + + + + + + getMusicCharts + + + + + + + getMusicCollectionByMusicChartId [1/2] + + + + + + + getMusicCollectionByMusicChartId + + + + + + + getCaches + + + + + + + removeCache + + + + + + + getInternalSongCode + + + + + + + getSongSimpleInfo + + + + + + + searchMusic [1/2] + + + + + + + searchMusic + + + + + + + + + onPreLoadEvent + + + + + + + onMusicChartsResult + + + + + + + onMusicCollectionResult + + + + + + + onLyricResult + + + + + + + onSongSimpleInfoResult + + + + + + + + + takeSnapshot + + + + + + + enableContentInspect + + + + + + + enableContentInspectEx + + + + + + + + + enableVideoImageSource + + + + + + + removeInjectStreamUrl + + + + + + + setAVSyncSource + + + + + + + setParameters + + + + + + + addHandler + + + + + + + complain + + + + + + + getNetworkType + + + + + + + getNtpWallTimeInMs + + + + + + + getCallId + + + + + + + getCallIdEx + + + + + + + getErrorDescription + + + + + + + getNativeHandle + + + + + + + getSdkVersion + + + + + + + isFeatureAvailableOnDevice + + + + + + + queryDeviceScore + + + + + + + rate + + + + + + + removeHandler + + + + + + + setLocalAccessPoint + + + + + + + setCloudProxy + + + + + + + setLogFile + + + + + + + setLogFileSize + + + + + + + setLogFilter + + + + + + + setLogLevel + + + + + + + sendCustomReportMessage + + + + + + + + + + onConnectionStateChanged + + + + + + + onError + + + + + + + onFirstRemoteAudioDecoded + + + + + + + onFirstRemoteAudioFrame + + + + + + + onJoinChannelSuccess + + + + + + + onRejoinChannelSuccess + + + + + + + onLeaveChannel + + + + + + + onClientRoleChanged + + + + + + + onClientRoleChangeFailed + + + + + + + onUserJoined + + + + + + + onUserMuteAudio + + + + + + + onUserOffline + + + + + + + onNetworkTypeChanged + + + + + + + onConnectionInterrupted + + + + + + + onConnectionLost + + + + + + + onConnectionBanned + + + + + + + onTokenPrivilegeWillExpire + + + + + + + onRequestToken + + + + + + + onLocalUserRegistered + + + + + + + onUserInfoUpdated + + + + + + + onUplinkNetworkInfoUpdated + + + + + + + onVideoRenderingTracingResult + + + + + + + + + onLocalAudioStateChanged + + + + + + + onLocalVideoStateChanged + + + + + + + onVideoStopped + + + + + + + onFirstLocalAudioFramePublished + + + + + + + onFirstLocalVideoFramePublished + + + + + + + onFirstLocalVideoFrame + + + + + + + onAudioPublishStateChanged + + + + + + + onVideoPublishStateChanged + + + + + + + + + onAudioSubscribeStateChanged + + + + + + + onFirstRemoteVideoDecoded + + + + + + + onFirstRemoteVideoFrame + + + + + + + onRemoteAudioStateChanged + + + + + + + onRemoteVideoStateChanged + + + + + + + onUserEnableLocalVideo + + + + + + + onUserEnableVideo + + + + + + + onUserMuteVideo + + + + + + + onVideoSizeChanged + + + + + + + onVideoSubscribeStateChanged + + + + + + + + + onRtcStats + + + + + + + onNetworkQuality + + + + + + + onLocalAudioStats + + + + + + + onLocalVideoStats + + + + + + + onRemoteAudioStats + + + + + + + onRemoteAudioTransportStats + + + + + + + onRemoteVideoStats + + + + + + + onRemoteVideoTransportStats + + + + + + + onAudioQuality + + + + + + + + + onAudioVolumeIndication + + + + + + + onMetaData + + + + + + + onPlayerCacheStats + + + + + + + onPlayerEvent + + + + + + + onPlayerPlaybackStats + + + + + + + onPlayerStateChanged + + + + + + + onPositionChanged + + + + + + + onReadData + + + + + + + onSeek + + + + + + + onPlayBufferUpdated + + + + + + + onPreloadEvent + + + + + + + onAgoraCDNTokenWillExpire + + + + + + + onPlayerSrcInfoChanged + + + + + + + onPlayerInfoUpdated + + + + + + + + + + onDirectCdnStreamingStateChanged + + + + + + + onDirectCdnStreamingStats + + + + + + + + + onAudioMixingStateChanged + + + + + + + onAudioMixingFinished + + + + + + + onAudioMixingPositionChanged + + + + + + + onAudioEffectFinished + + + + + + + + + onEncryptionError + + + + + + + + + onRtmpStreamingEvent + + + + + + + onRtmpStreamingStateChanged + + + + + + + onTranscodingUpdated + + + + + + + + + onChannelMediaRelayStateChanged + + + + + + + + + onAudioVolumeIndication + + + + + + + onActiveSpeaker + + + + + + + + + onFacePositionChanged + + + + + + + + + onAudioRouteChanged + + + + + + + + + onRemoteSubscribeFallbackToAudioOnly + + + + + + + + + onLastmileQuality + + + + + + + onLastmileProbeResult + + + + + + + + + onLocalAudioSpectrum + + + + + + + onRemoteAudioSpectrum + + + + + + + + + onRecordAudioFrame + + + + + + + onPlaybackAudioFrame + + + + + + + onPlaybackAudioFrameBeforeMixing + + + + + + + onMixedAudioFrame + + + + + + + onFrame + + + + + + + getRecordAudioParams + + + + + + + getObservedAudioFramePosition + + + + + + + getMixedAudioParams + + + + + + + getPlaybackAudioParams + + + + + + + + + onCaptureVideoFrame + + + + + + + onFrame + + + + + + + onMediaPlayerVideoFrame + + + + + + + onRenderVideoFrame + + + + + + + getRotationApplied + + + + + + + getMirrorApplied + + + + + + + getVideoFormatPreference + + + + + + + getVideoFrameProcessMode + + + + + + + getObservedFramePosition + + + + + + + onPreEncodeVideoFrame + + + + + + + + + getMaxMetadataSize + + + + + + + onReadyToSendMetadata + + + + + + + onMetadataReceived + + + + + + + + + onCameraFocusAreaChanged + + + + + + + onCameraExposureAreaChanged + + + + + + + onCameraReady + + + + + + + + + onStreamMessage + + + + + + + onStreamMessageError + + + + + + + + + onEarMonitoringAudioFrame + + + + + + + getEarMonitoringAudioParams + + + + + + + + + onRhythmPlayerStateChanged + + + + + + + + + onLocalVideoTranscoderError + + + + + + + onTranscodedStreamLayoutInfo + + + + + + + + + onPermissionError + + + + + + + onProxyConnected + + + + + + + onFaceInfo + + + + + + + onSnapshotTaken + + + + + + + onContentInspectResult + + + + + + + OnVirtualBackgroundSourceEnabled + + + + + + + + + + AgoraFacePositionInfo + + + + + + + AdvancedAudioOptions + + + + + + + AdvanceOptions + + + + + + + AdvancedConfigInfo + + + + + + + AgoraRhythmPlayerConfig + + + + + + + AudioRecordingConfiguration + + + + + + + AudioEncodedFrameObserverConfig + + + + + + + AudioFrame + + + + + + + AudioSpectrumInfo + + + + + + + AudioTrackConfig + + + + + + + AudioVolumeInfo + + + + + + + BeautyOptions + + + + + + + CacheStatistics + + + + + + + CaptureFormat + + + + + + + CameraCapturerConfiguration + + + + + + + ChannelMediaInfo + + + + + + + ChannelMediaOptions + + + + + + + ChannelMediaRelayConfiguration + + + + + + + ClientRoleOptions + + + + + + + ClimaxSegment + + + + + + + ColorEnhanceOptions + + + + + + + ContentInspectConfig + + + + + + + ContentInspectModule + + + + + + + CodecCapInfo + + + + + + + CodecCapLevels + + + + + + + DataStreamConfig + + + + + + + DeviceInfo + + + + + + + DirectCdnStreamingMediaOptions + + + + + + + DirectCdnStreamingStats + + + + + + + EchoTestConfiguration + + + + + + + EncodedVideoFrameInfo + + + + + + + EncryptionConfig + + + + + + + AgoraVideoFrame + + + + + + + IDirectCdnStreamingEventHandler + + + + + + + AgoraFocalLengthInfo + + + + + + + ImageTrackOptions + + + + + + + LiveInjectStreamConfig + + + + + + + LastmileProbeConfig + + + + + + + LastmileProbeOneWayResult + + + + + + + LastmileProbeResult + + + + + + + LeaveChannelOptions + + + + + + + LiveTranscoding + + + + + + + LocalAccessPointConfiguration + + + + + + + LogUploadServerInfo + + + + + + + LocalAudioStats + + + + + + + LocalSpatialAudioConfig + + + + + + + LocalTranscoderConfiguration + + + + + + + LocalVideoStats + + + + + + + LogConfig + + + + + + + LowlightEnhanceOptions + + + + + + + MediaRecorderConfiguration + + + + + + + MediaPlayerSource + + + + + + + Music + + + + + + + MusicCacheInfo + + + + + + + MusicChartInfo + + + + + + + MusicCollection + + + + + + + MusicContentCenterConfiguration + + + + + + + MvProperty + + + + + + + PlayerPlaybackStats + + + + + + + MediaStreamInfo + + + + + + + PlayerUpdatedInfo + + + + + + + RecorderInfo + + + + + + + RecorderStreamInfo + + + + + + + Rectangle + + + + + + + RemoteAudioStats + + + + + + + RemoteVideoStats + + + + + + + RemoteVoicePositionInfo + + + + + + + RtcConnection + + + + + + + RtcEngineConfig + + + + + + + AgoraImage + + + + + + + RtcStats + + + + + + + ScreenCaptureParameters + + + + + + + AudioCaptureParameters + + + + + + + VideoCaptureParameters + + + + + + + SegmentationProperty + + + + + + + SimulcastStreamConfig + + + + + + + SpatialAudioParams + + + + + + + SpatialAudioZone + + + + + + + SrcInfo + + + + + + + TranscodingUser + + + + + + + TranscodingVideoStream + + + + + + + UplinkNetworkInfo + + + + + + + UserAudioSpectrumInfo + + + + + + + UserInfo + + + + + + + VideoCanvas + + + + + + + VideoDenoiserOptions + + + + + + + VideoDimensions + + + + + + + VD_120x120 + + + + + + + VD_160x120 + + + + + + + VD_180x180 + + + + + + + VD_240x180 + + + + + + + VD_320x180 + + + + + + + VD_240x240 + + + + + + + VD_320x240 + + + + + + + VD_424x240 + + + + + + + VD_360x360 + + + + + + + VD_480x360 + + + + + + + VD_640x360 + + + + + + + VD_480x480 + + + + + + + VD_640x480 + + + + + + + VD_840x480 + + + + + + + VD_960x720 + + + + + + + VD_960x540 + + + + + + + VD_1280x720 + + + + + + + VD_1920x1080 + + + + + + + VD_2540x1440 + + + + + + + VD_3840x2160 + + + + + + + VideoEncoderConfiguration + + + + + + + VideoFrame + + + + + + + VideoLayout + + + + + + + VideoRenderingTracingInfo + + + + + + + VideoSubscriptionOptions + + + + + + + VirtualBackgroundSource + + + + + + + WatermarkOptions + + + + + + + + + ADAPT_NONE + + + + + + + ADAPT_UP_BANDWIDTH + + + + + + + ADAPT_DOWN_BANDWIDTH + + + + + + + AreaCode + + + + + + + AREA_CODE_CN + + + + + + + AREA_CODE_NA + + + + + + + AREA_CODE_EU + + + + + + + AREA_CODE_AS + + + + + + + AREA_CODE_JP + + + + + + + AREA_CODE_IN + + + + + + + AREA_CODE_GLOB + + + + + + + AudienceLatencyLevel + + + + + + + LOW_LATENCY + + + + + + + ULTRA_LOW_LATENCY + + + + + + + AudioCodecProfileType + + + + + + + LC_AAC + + + + + + + HE_AAC + + + + + + + HE_AAC_V2 + + + + + + + AUDIO_CODEC_OPUS + + + + + + + AUDIO_CODEC_PCMA + + + + + + + AUDIO_CODEC_PCMU + + + + + + + AUDIO_CODEC_G722 + + + + + + + AUDIO_CODEC_AACLC + + + + + + + AUDIO_CODEC_HEAAC + + + + + + + AUDIO_CODEC_JC1 + + + + + + + AUDIO_CODEC_HEAAC2 + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + + + + + + + AUDIO_EFFECT_OFF + + + + + + + VirtualBackgroundBlurDegree + + + + + + + LOW + + + + + + + MEDIUM + + + + + + + HIGH + + + + + + + VirtualBackgroundType + + + + + + + NONE + + + + + + + COLOR + + + + + + + IMG + + + + + + + BLUR + + + + + + + VIDEO + + + + + + + SaeDeployRegion + + + + + + + SAE_DEPLOY_REGION_NONE + + + + + + + SAE_DEPLOY_REGION_CN + + + + + + + SAE_DEPLOY_REGION_NA + + + + + + + SAE_DEPLOY_REGION_EU + + + + + + + SAE_DEPLOY_REGION_AS + + + + + + + CompressionPrefence + + + + + + + PREFER_LOW_LATENCY + + + + + + + PREFER_QUALITY + + + + + + + CONTENT_INSPECT_DEVICE_TYPE + + + + + + + CONTENT_INSPECT_DEVICE_INVALID + + + + + + + CONTENT_INSPECT_DEVICE_AGORA + + + + + + + CONTENT_INSPECT_DEVICE_HIVE + + + + + + + CONTENT_INSPECT_DEVICE_TUPU + + + + + + + CONTENT_INSPECT_NEUTRAL + + + + + + + CONTENT_INSPECT_SEXY + + + + + + + CONTENT_INSPECT_PORN + + + + + + + CONTENT_INSPECT_TYPE_INVALID + + + + + + + CONTENT_INSPECT_TYPE_MODERATION + + + + + + + CONTENT_INSPECT_TYPE_SUPERVISE + + + + + + + CONTENT_INSPECT_TYPE_IMAGE_MODERATION + + + + + + + DegradationPreference + + + + + + + PREFER_AUTO + + + + + + + PREFER_SOFTWARE + + + + + + + PREFER_HARDWARE + + + + + + + ExternalVideoSourceType + + + + + + + VIDEO_FRAME + + + + + + + ENCODED_VIDEO_FRAME + + + + + + + ROOM_ACOUSTICS_KTV + + + + + + + ROOM_ACOUSTICS_VOCAL_CONCERT + + + + + + + ROOM_ACOUSTICS_STUDIO + + + + + + + ROOM_ACOUSTICS_PHONOGRAPH + + + + + + + ROOM_ACOUSTICS_VIRTUAL_STEREO + + + + + + + ROOM_ACOUSTICS_SPACIAL + + + + + + + ROOM_ACOUSTICS_ETHEREAL + + + + + + + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + + + + + + + ROOM_ACOUSTICS_CHORUS + + + + + + + ROOM_ACOUSTICS_3D_VOICE + + + + + + + VOICE_CHANGER_EFFECT_UNCLE + + + + + + + VOICE_CHANGER_EFFECT_OLDMAN + + + + + + + VOICE_CHANGER_EFFECT_BOY + + + + + + + VOICE_CHANGER_EFFECT_SISTER + + + + + + + VOICE_CHANGER_EFFECT_GIRL + + + + + + + VOICE_CHANGER_EFFECT_PIGKING + + + + + + + VOICE_CHANGER_EFFECT_HULK + + + + + + + STYLE_TRANSFORMATION_RNB + + + + + + + STYLE_TRANSFORMATION_POPULAR + + + + + + + PITCH_CORRECTION + + + + + + + AudioEqualizationBandFrequency + + + + + + + BAND_31 + + + + + + + BAND_62 + + + + + + + BAND_125 + + + + + + + BAND_250 + + + + + + + BAND_500 + + + + + + + BAND_1K + + + + + + + BAND_2K + + + + + + + BAND_4K + + + + + + + BAND_8K + + + + + + + BAND_16K + + + + + + + FRAME_TYPE_PCM16 + + + + + + + POSITION_PLAYBACK + + + + + + + POSITION_RECORD + + + + + + + POSITION_MIXED + + + + + + + POSITION_BEFORE_MIXING + + + + + + + POSITION_EAR_MONITORING + + + + + + + AudioDualMonoMode + + + + + + + AUDIO_DUAL_MONO_STEREO + + + + + + + AUDIO_DUAL_MONO_L + + + + + + + AUDIO_DUAL_MONO_R + + + + + + + AUDIO_DUAL_MONO_MIX + + + + + + + AudioMixingDualMonoMode + + + + + + + AUTO + + + + + + + L + + + + + + + R + + + + + + + MIX + + + + + + + AUDIO_MIXING_REASON_CAN_NOT_OPEN + + + + + + + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + + + + + + + AUDIO_MIXING_REASON_INTERRUPTED_EOF + + + + + + + AUDIO_MIXING_REASON_OK + + + + + + + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + + + + + + + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_MIXING_REASON_STOPPED_BY_USER + + + + + + + AUDIO_MIXING_STATE_PLAYING + + + + + + + AUDIO_MIXING_STATE_PAUSED + + + + + + + AUDIO_MIXING_STATE_STOPPED + + + + + + + AUDIO_MIXING_STATE_FAILED + + + + + + + AUDIO_MIXING_STATE_COMPLETED + + + + + + + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + + + + + + + AgoraAudioProcessChannels + + + + + + + AGORA_AUDIO_MONO_PROCESSING + + + + + + + AGORA_AUDIO_STEREO_PROCESSING + + + + + + + AudioProfileType + + + + + + + DEFAULT + + + + + + + SPEECH_STANDARD + + + + + + + MUSIC_STANDARD + + + + + + + MUSIC_STANDARD_STEREO + + + + + + + MUSIC_HIGH_QUALITY + + + + + + + MUSIC_HIGH_QUALITY_STEREO + + + + + + + AUDIO_PROFILE_IOT + + + + + + + AUDIO_PROFILE_NUM + + + + + + + AudioRangeMode + + + + + + + AUDIO_RANGE_MODE_WORLD + + + + + + + AUDIO_RANGE_MODE_TEAM + + + + + + + AudioRecordingType + + + + + + + MIC + + + + + + + PLAYBACK + + + + + + + MIXED + + + + + + + AudioRecordingQuality + + + + + + + LOW + + + + + + + MEDIUM + + + + + + + HIGH + + + + + + + ULTRA_HIGH + + + + + + + PRESET + + + + + + + OFF + + + + + + + FX_KTV + + + + + + + FX_VOCAL_CONCERT + + + + + + + FX_UNCLE + + + + + + + FX_SISTER + + + + + + + FX_STUDIO + + + + + + + FX_POPULAR + + + + + + + FX_RNB + + + + + + + FX_PHONOGRAPH + + + + + + + POPULAR + + + + + + + RNB + + + + + + + ROCK + + + + + + + HIPHOP + + + + + + + VOCAL_CONCERT + + + + + + + KTV + + + + + + + STUDIO + + + + + + + AUDIO_VIRTUAL_STEREO + + + + + + + AUDIO_ELECTRONIC_VOICE + + + + + + + AUDIO_THREEDIM_VOICE + + + + + + + AudioReverbType + + + + + + + DRY_LEVEL + + + + + + + WET_LEVEL + + + + + + + ROOM_SIZE + + + + + + + WET_DELAY + + + + + + + STRENGTH + + + + + + + AUDIO_ROUTE_DEFAULT + + + + + + + AUDIO_ROUTE_HEADSET + + + + + + + AUDIO_ROUTE_EARPIECE + + + + + + + AUDIO_ROUTE_HEADSETNOMIC + + + + + + + AUDIO_ROUTE_SPEAKERPHONE + + + + + + + AUDIO_ROUTE_LOUDSPEAKER + + + + + + + AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP + + + + + + + AUDIO_ROUTE_USB + + + + + + + AUDIO_ROUTE_HDMI + + + + + + + AUDIO_ROUTE_DISPLAYPORT + + + + + + + AUDIO_ROUTE_AIRPLAY + + + + + + + AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP + + + + + + + AudioSampleRateType + + + + + + + AUDIO_SAMPLE_RATE_32000 + + + + + + + AUDIO_SAMPLE_RATE_44100 + + + + + + + AUDIO_SAMPLE_RATE_48000 + + + + + + + AudioScenarioType + + + + + + + DEFAULT + + + + + + + CHATROOM + + + + + + + GAME_STREAMING + + + + + + + CHORUS + + + + + + + MEETING + + + + + + + ConnectionState + + + + + + + DISCONNECTED + + + + + + + CONNECTING + + + + + + + CONNECTED + + + + + + + RECONNECTING + + + + + + + FAILED + + + + + + + CONNECTING + + + + + + + JOIN_SUCCESS + + + + + + + INTERRUPTED + + + + + + + BANNED_BY_SERVER + + + + + + + JOIN_FAILED + + + + + + + LEAVE_CHANNEL + + + + + + + INVALID_APP_ID + + + + + + + INVALID_CHANNEL_NAME + + + + + + + INVALID_TOKEN + + + + + + + TOKEN_EXPIRED + + + + + + + REJECTED_BY_SERVER + + + + + + + SETTING_PROXY_SERVER + + + + + + + RENEW_TOKEN + + + + + + + CLIENT_IP_ADDRESS_CHANGED + + + + + + + KEEP_ALIVE_TIMEOUT + + + + + + + REJOIN_SUCCESS + + + + + + + LOST + + + + + + + ECHO_TEST + + + + + + + CLIENT_IP_ADDRESS_CHANGED_BY_USER + + + + + + + SAME_UID_LOGIN + + + + + + + TOO_MANY_BROADCASTERS + + + + + + + CONTAINER_MP4 + + + + + + + AudioTrackType + + + + + + + MIXABLE + + + + + + + DIRECT + + + + + + + CameraDirection + + + + + + + REAR + + + + + + + FRONT + + + + + + + EXTRA + + + + + + + CAMERA_FOCAL_LENGTH_TYPE + + + + + + + CAMERA_FOCAL_LENGTH_DEFAULT + + + + + + + CAMERA_FOCAL_LENGTH_WIDE_ANGLE + + + + + + + CAMERA_FOCAL_LENGTH_ULTRA_WIDE + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_INVALID + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_NORMAL + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_DARK + + + + + + + CAPTURER_OUTPUT_PREFERENCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_AUTO + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PREVIEW + + + + + + + CAPTURER_OUTPUT_PREFERENCE_MANUAL + + + + + + + RELAY_OK + + + + + + + RELAY_ERROR_SERVER_ERROR_RESPONSE + + + + + + + RELAY_ERROR_SERVER_NO_RESPONSE + + + + + + + RELAY_ERROR_NO_RESOURCE_AVAILABLE + + + + + + + RELAY_ERROR_FAILED_JOIN_SRC + + + + + + + RELAY_ERROR_FAILED_JOIN_DEST + + + + + + + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + + + + + + + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + + + + + + + RELAY_ERROR_SERVER_CONNECTION_LOST + + + + + + + RELAY_ERROR_INTERNAL_ERROR + + + + + + + RELAY_ERROR_SRC_TOKEN_EXPIRED + + + + + + + RELAY_ERROR_DEST_TOKEN_EXPIRED + + + + + + + RELAY_EVENT_NETWORK_DISCONNECTED + + + + + + + RELAY_EVENT_NETWORK_CONNECTED + + + + + + + RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL + + + + + + + RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC + + + + + + + RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL + + + + + + + RELAY_EVENT_VIDEO_PROFILE_UPDATE + + + + + + + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + + + + + + + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED + + + + + + + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + + + + + + + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED + + + + + + + RELAY_STATE_IDLE + + + + + + + RELAY_STATE_CONNECTING + + + + + + + RELAY_STATE_RUNNING + + + + + + + RELAY_STATE_FAILURE + + + + + + + ChannelProfile + + + + + + + COMMUNICATION + + + + + + + LIVE_BROADCASTING + + + + + + + GAME + + + + + + + CLOUD_GAMING + + + + + + + COMMUNICATION_1v1 + + + + + + + ClientRole + + + + + + + BROADCASTER + + + + + + + AUDIENCE + + + + + + + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + + + + + + + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + + + + + + + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + + + + + + + TRANSPORT_TYPE_NONE_PROXY + + + + + + + TRANSPORT_TYPE_UDP_PROXY + + + + + + + TRANSPORT_TYPE_TCP_PROXY + + + + + + + PROXY_TYPE_NONE_PROXY + + + + + + + PROXY_TYPE_UDP_CLOUD_PROXY + + + + + + + PROXY_TYPE_TCP_CLOUD_PROXY + + + + + + + PROXY_TYPE_LOCAL_PROXY + + + + + + + PROXY_TYPE_TCP_AUTO_FALLBACK + + + + + + + DegradationPreference + + + + + + + MAINTAIN_QUALITY + + + + + + + MAINTAIN_FRAMERATE + + + + + + + MAINTAIN_BALANCED + + + + + + + MAINTAIN_RESOLUTION + + + + + + + DirectCdnStreamingReason + + + + + + + OK + + + + + + + FAILED + + + + + + + AUDIO_PUBLICATION + + + + + + + VIDEO_PUBLICATION + + + + + + + NET_CONNECT + + + + + + + BAD_NAME + + + + + + + DirectCdnStreamingState + + + + + + + IDLE + + + + + + + RUNNING + + + + + + + STOPPED + + + + + + + FAILED + + + + + + + RECOVERING + + + + + + + EAR_MONITORING_FILTER_NONE + + + + + + + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + + + + + + + EAR_MONITORING_FILTER_NOISE_SUPPRESSION + + + + + + + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + + + + + + + EncryptionError + + + + + + + INTERNAL_FAILURE + + + + + + + DECRYPTION_FAILURE + + + + + + + ENCRYPTION_FAILURE + + + + + + + DATASTREAM_DECRYPTION_FAILURE + + + + + + + DATASTREAM_ENCRYPTION_FAILURE + + + + + + + ErrorCode + + + + + + + ERR_OK + + + + + + + ERR_FAILED + + + + + + + ERR_INVALID_ARGUMENT + + + + + + + ERR_NOT_READY + + + + + + + ERR_NOT_SUPPORTED + + + + + + + ERR_REFUSED + + + + + + + ERR_BUFFER_TOO_SMALL + + + + + + + ERR_NOT_INITIALIZED + + + + + + + ERR_INVALID_STATE + + + + + + + ERR_NO_PERMISSION + + + + + + + ERR_TIMEDOUT + + + + + + + ERR_JOIN_CHANNEL_REJECTED + + + + + + + ERR_LEAVE_CHANNEL_REJECTED + + + + + + + ERR_ALREADY_IN_USE + + + + + + + ERR_ABORTED + + + + + + + ERR_RESOURCE_LIMITED + + + + + + + ERR_INVALID_APP_ID + + + + + + + ERR_INVALID_CHANNEL_NAME + + + + + + + ERR_NO_SERVER_RESOURCES + + + + + + + ERR_TOKEN_EXPIRED + + + + + + + ERR_INVALID_TOKEN + + + + + + + ERR_CONNECTION_INTERRUPTED + + + + + + + ERR_CONNECTION_LOST + + + + + + + ERR_NOT_IN_CHANNEL + + + + + + + ERR_SIZE_TOO_LARGE + + + + + + + ERR_BITRATE_LIMIT + + + + + + + ERR_TOO_MANY_DATA_STREAMS + + + + + + + ERR_STREAM_MESSAGE_TIMEOUT + + + + + + + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + + + + + + + ERR_DECRYPTION_FAILED + + + + + + + ERR_INVALID_USER_ID + + + + + + + ERR_CLIENT_IS_BANNED_BY_SERVER + + + + + + + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + + + + + + + ERR_LICENSE_CREDENTIAL_INVALID + + + + + + + ERR_INVALID_USER_ACCOUNT + + + + + + + ERR_MODULE_NOT_FOUND + + + + + + + ERR_LOAD_MEDIA_ENGINE + + + + + + + ERR_ADM_GENERAL_ERROR + + + + + + + ERR_ADM_INIT_PLAYOUT + + + + + + + ERR_ADM_START_PLAYOUT + + + + + + + ERR_ADM_STOP_PLAYOUT + + + + + + + ERR_ADM_INIT_RECORDING + + + + + + + ERR_ADM_START_RECORDING + + + + + + + ERR_ADM_STOP_RECORDING + + + + + + + ERR_VDM_CAMERA_NOT_AUTHORIZED + + + + + + + ERR_DATASTREAM_DECRYPTION_FAILED + + + + + + + EncryptionMode + + + + + + + AES_128_XTS + + + + + + + AES_128_ECB + + + + + + + AES_256_XTS + + + + + + + SM4_128_ECB + + + + + + + AES_128_GCM + + + + + + + AES_256_GCM + + + + + + + AES_128_GCM2 + + + + + + + AES_256_GCM2 + + + + + + + MODE_END + + + + + + + EXPERIENCE_REASON_NONE + + + + + + + REMOTE_NETWORK_QUALITY_POOR + + + + + + + LOCAL_NETWORK_QUALITY_POOR + + + + + + + WIRELESS_SIGNAL_POOR + + + + + + + WIFI_BLUETOOTH_COEXIST + + + + + + + EXPERIENCE_QUALITY_GOOD + + + + + + + EXPERIENCE_QUALITY_BAD + + + + + + + FeatureType + + + + + + + VIDEO_VIRTUAL_BACKGROUND + + + + + + + VIDEO_BEAUTY_EFFECT + + + + + + + FRAME_RATE + + + + + + + FRAME_RATE_FPS_1 + + + + + + + FRAME_RATE_FPS_7 + + + + + + + FRAME_RATE_FPS_10 + + + + + + + FRAME_RATE_FPS_15 + + + + + + + FRAME_RATE_FPS_24 + + + + + + + FRAME_RATE_FPS_30 + + + + + + + FRAME_RATE_FPS_60 + + + + + + + HEADPHONE_EQUALIZER_PRESET + + + + + + + HEADPHONE_EQUALIZER_OFF + + + + + + + HEADPHONE_EQUALIZER_OVEREAR + + + + + + + HEADPHONE_EQUALIZER_INEAR + + + + + + + LastmileProbeResult + + + + + + + COMPLETE + + + + + + + INCOMPLETE_NO_BWE + + + + + + + UNAVAILABLE + + + + + + + LIGHTENING_CONTRAST_LOW + + + + + + + LIGHTENING_CONTRAST_NORMAL + + + + + + + LIGHTENING_CONTRAST_HIGH + + + + + + + INJECT_STREAM_STATUS_START_SUCCESS + + + + + + + INJECT_STREAM_STATUS_START_ALREADY_EXISTS + + + + + + + INJECT_STREAM_STATUS_START_UNAUTHORIZED + + + + + + + INJECT_STREAM_STATUS_START_TIMEDOUT + + + + + + + INJECT_STREAM_STATUS_START_FAILED + + + + + + + INJECT_STREAM_STATUS_STOP_SUCCESS + + + + + + + INJECT_STREAM_STATUS_STOP_NOT_FOUND + + + + + + + INJECT_STREAM_STATUS_STOP_UNAUTHORIZED + + + + + + + INJECT_STREAM_STATUS_STOP_TIMEDOUT + + + + + + + INJECT_STREAM_STATUS_STOP_FAILED + + + + + + + INJECT_STREAM_STATUS_BROKEN + + + + + + + LOCAL_AUDIO_STREAM_REASON_OK + + + + + + + LOCAL_AUDIO_STREAM_REASON_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + + + + + + + LOCAL_AUDIO_STREAM_STATE_STOPPED + + + + + + + LOCAL_AUDIO_STREAM_STATE_RECORDING + + + + + + + LOCAL_AUDIO_STREAM_STATE_ENCODING + + + + + + + LOCAL_AUDIO_STREAM_STATE_FAILED + + + + + + + LOCAL_RPOXY_CONNECTIVITY_FIRST + + + + + + + LOCAL_RPOXY_LOCAL_ONLY + + + + + + + LocalVideoStreamReason + + + + + + + OK + + + + + + + FAILURE + + + + + + + DEVICE_NO_PERMISSION + + + + + + + DEVICE_BUSY + + + + + + + CAPTURE_FAILURE + + + + + + + CODEC_NOT_SUPPORT + + + + + + + DEVICE_NOT_FOUND + + + + + + + SCREEN_CAPTURE_WINDOW_MINIMIZED + + + + + + + SCREEN_CAPTURE_WINDOW_CLOSED + + + + + + + DEVICE_INTERRUPT + + + + + + + DEVICE_FATAL_ERROR + + + + + + + LocalVideoStreamState + + + + + + + STOPPED + + + + + + + CAPTURING + + + + + + + ENCODING + + + + + + + FAILED + + + + + + ERR_SCREEN_CAPTURE_PERMISSION_DENIED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + + + + + + + LogFilter + + + + + + + OFF + + + + + + + DEBUG + + + + + + + INFO + + + + + + + WARN + + + + + + + ERROR + + + + + + + CRITICAL + + + + + + + LogLevel + + + + + + + LOG_LEVEL_NONE + + + + + + + LOG_LEVEL_INFO + + + + + + + LOG_LEVEL_WARN + + + + + + + LOG_LEVEL_ERROR + + + + + + + LOG_LEVEL_FATAL + + + + + + + LOW_LIGHT_ENHANCE_AUTO + + + + + + + LOW_LIGHT_ENHANCE_MANUAL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_FAST + + + + + + + MEDIA_DEVICE_STATE_ACTIVE + + + + + + + MEDIA_DEVICE_STATE_DISABLED + + + + + + + MEDIA_DEVICE_STATE_NOT_PRESENT + + + + + + + MEDIA_DEVICE_STATE_UNPLUGGED + + + + + + + MEDIA_DEVICE_STATE_UNRECOMMENDED + + + + + + + AUDIO_APPLICATION_PLAYOUT_DEVICE + + + + + + + MediaPlayerReason + + + + + + + PLAYER_REASON_NONE + + + + + + + PLAYER_REASON_INVALID_ARGUMENTS + + + + + + + PLAYER_REASON_INTERNAL + + + + + + + PLAYER_REASON_NO_RESOURCE + + + + + + + PLAYER_REASON_INVALID_MEDIA_SOURCE + + + + + + + PLAYER_REASON_UNKNOWN_STREAM_TYPE + + + + + + + PLAYER_REASON_OBJ_NOT_INITIALIZED + + + + + + + PLAYER_REASON_CODEC_NOT_SUPPORTED + + + + + + + PLAYER_REASON_VIDEO_RENDER_FAILED + + + + + + + PLAYER_REASON_INVALID_STATE + + + + + + + PLAYER_REASON_URL_NOT_FOUND + + + + + + + PLAYER_REASON_INVALID_CONNECTION_STATE + + + + + + + PLAYER_REASON_SRC_BUFFER_UNDERFLOW + + + + + + + PLAYER_REASON_INTERRUPTED + + + + + + + PLAYER_REASON_NOT_SUPPORTED + + + + + + + PLAYER_REASON_TOKEN_EXPIRED + + + + + + + PLAYER_REASON_IP_EXPIRED + + + + + + + PLAYER_REASON_UNKNOWN + + + + + + + MediaPlayerEvent + + + + + + + PLAYER_EVENT_UNKNOWN + + + + + + + PLAYER_EVENT_SEEK_BEGIN + + + + + + + PLAYER_EVENT_SEEK_COMPLETE + + + + + + + PLAYER_EVENT_SEEK_ERROR + + + + + + + PLAYER_EVENT_AUDIO_TRACK_CHANGED + + + + + + + PLAYER_EVENT_BUFFER_LOW + + + + + + + PLAYER_EVENT_BUFFER_RECOVER + + + + + + + PLAYER_EVENT_FREEZE_START + + + + + + + PLAYER_EVENT_FREEZE_STOP + + + + + + + PLAYER_EVENT_SWITCH_BEGIN + + + + + + + PLAYER_EVENT_SWITCH_COMPLETE + + + + + + + PLAYER_EVENT_SWITCH_ERROR + + + + + + + PLAYER_EVENT_FIRST_DISPLAYED + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + + + + + + + MediaPlayerMetadataType + + + + + + + PLAYER_METADATA_TYPE_UNKNOWN + + + + + + + PLAYER_METADATA_TYPE_SEI + + + + + + + MediaPlayerState + + + + + + + PLAYER_STATE_UNKNOWN + + + + + + + PLAYER_STATE_IDLE + + + + + + + PLAYER_STATE_OPENING + + + + + + + PLAYER_STATE_OPEN_COMPLETED + + + + + + + PLAYER_STATE_PLAYING + + + + + + + PLAYER_STATE_PAUSED + + + + + + + PLAYER_STATE_PLAYBACK_COMPLETED + + + + + + + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + + + + + + + PLAYER_STATE_STOPPED + + + + + + + PLAYER_STATE_FAILED + + + + + + + MediaSourceType + + + + + + + AUDIO_PLAYOUT_SOURCE + + + + + + + AUDIO_RECORDING_SOURCE + + + + + + + PRIMARY_CAMERA_SOURCE + + + + + + + SECONDARY_CAMERA_SOURCE + + + + + + + CUSTOM_VIDEO_SOURCE + + + + + + + SPEECH_DRIVEN_VIDEO_SOURCE + + + + + + + UNKNOWN_MEDIA_SOURCE + + + + + + + MEDIA_TRACE_EVENT + + + + + + + MEDIA_TRACE_EVENT_VIDEO_RENDERED + + + + + + + MEDIA_TRACE_EVENT_VIDEO_DECODED + + + + + + + MediaStreamType + + + + + + + STREAM_TYPE_UNKNOWN + + + + + + + STREAM_TYPE_VIDEO + + + + + + + STREAM_TYPE_AUDIO + + + + + + + STREAM_TYPE_SUBTITLE + + + + + + + UNKNOWN_METADATA + + + + + + + VIDEO_METADATA + + + + + + + NETWORK_TYPE_UNKNOWN + + + + + + + NETWORK_TYPE_DISCONNECTED + + + + + + + NETWORK_TYPE_LAN + + + + + + + NETWORK_TYPE_WIFI + + + + + + + NETWORK_TYPE_MOBILE_2G + + + + + + + NETWORK_TYPE_MOBILE_3G + + + + + + + NETWORK_TYPE_MOBILE_4G + + + + + + + NETWORK_TYPE_MOBILE_5G + + + + + + + MusicContentCenterStateReason + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_OK + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_ERROR + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL + + + + + + + PreloadState + + + + + + + PRELOAD_STATE_COMPLETED + + + + + + + PRELOAD_STATE_FAILED + + + + + + + PRELOAD_STATE_PRELOADING + + + + + + + PRELOAD_STATE_REMOVED + + + + + + + MusicCacheStatusType + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHED + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHING + + + + + + + ORIENTATION_MODE + + + + + + + ORIENTATION_MODE_ADAPTIVE + + + + + + + ORIENTATION_FIXED_LANDSCAPE + + + + + + + ORIENTATION_FIXED_PORTRAIT + + + + + + + RECORD_AUDIO + + + + + + + CAMERA + + + + + + + SCREEN_CAPTURE + + + + + + + ScreenScenarioType + + + + + + + SCREEN_SCENARIO_DOCUMENT + + + + + + + SCREEN_SCENARIO_GAMING + + + + + + + SCREEN_SCENARIO_VIDEO + + + + + + + MediaPlayerPreloadEvent + + + + + + + PLAYER_PRELOAD_EVENT_BEGIN + + + + + + + PLAYER_PRELOAD_EVENT_COMPLETE + + + + + + + PLAYER_PRELOAD_EVENT_ERROR + + + + + + + USER_PRIORITY_HIGH + + + + + + + USER_PRIORITY_NORANL + + + + + + + QUALITY_REPORT_FORMAT_TYPE + + + + + + + QUALITY_REPORT_JSON + + + + + + + QUALITY_REPORT_HTML + + + + + + + NetworkQuality + + + + + + + UNKNOWN + + + + + + + EXCELLENT + + + + + + + GOOD + + + + + + + POOR + + + + + + + BAD + + + + + + + VBAD + + + + + + + DOWN + + + + + + + RawAudioFrameOpMode + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + + + + + + + RECORDER_REASON_NONE + + + + + + + RECORDER_ERROR_WRITE_FAILED + + + + + + + RECORDER_ERROR_NO_STREAM + + + + + + + RECORDER_ERROR_OVER_MAX_DURATION + + + + + + + RECORDER_ERROR_CONFIG_CHANGED + + + + + + + RECORDER_STATE_ERROR + + + + + + + RECORDER_STATE_START + + + + + + + RECORDER_STATE_STOP + + + + + + + RemoteAudioState + + + + + + + STOPPED + + + + + + + STARTING + + + + + + + DECODING + + + + + + + FROZEN + + + + + + + FAILED + + + + + + + REMOTE_VIDEO_STATE_STOPPED + + + + + + + REMOTE_VIDEO_STATE_STARTING + + + + + + + REMOTE_VIDEO_STATE_DECODING + + + + + + + REMOTE_VIDEO_STATE_FROZEN + + + + + + + REMOTE_VIDEO_STATE_FAILED + + + + + + + RemoteAudioStateReason + + + + + + + INTERNAL + + + + + + + NETWORK_CONGESTION + + + + + + + NETWORK_RECOVERY + + + + + + + LOCAL_MUTED + + + + + + + LOCAL_UNMUTED + + + + + + + REMOTE_MUTED + + + + + + + REMOTE_UNMUTED + + + + + + + REMOTE_OFFLINE + + + + + + + RemoteVideoStreamReason + + + + + + + INTERNAL + + + + + + + NETWORK_CONGESTION + + + + + + + NETWORK_RECOVERY + + + + + + + LOCAL_MUTED + + + + + + + LOCAL_UNMUTED + + + + + + + REMOTE_MUTED + + + + + + + REMOTE_UNMUTED + + + + + + + REMOTE_OFFLINE + + + + + + + AUDIO_FALLBACK + + + + + + + + AUDIO_FALLBACK_RECOVERY + + + + + + + CODEC_NOT_SUPPORT + + + + + + + RENDER_MODE_HIDDEN + + + + + + + RENDER_MODE_FIT + + + + + + + RENDER_MODE_ADAPTIVE + + + + + + + RtmpStreamPublishReason + + + + + + + OK + + + + + + + INVALID_ARGUMENT + + + + + + + ENCRYPTED_STREAM_NOT_ALLOWED + + + + + + + CONNECTION_TIMEOUT + + + + + + + INTERNAL_SERVER_ERROR + + + + + + + RTMP_SERVER_ERROR + + + + + + + TOO_OFTEN + + + + + + + REACH_LIMIT + + + + + + + NOT_AUTHORIZED + + + + + + + STREAM_NOT_FOUND + + + + + + + FORMAT_NOT_SUPPORTED + + + + + + + NOT_BROADCASTER + + + + + + + TRANSCODING_NO_MIX_STREAM + + + + + + + NET_DOWN + + + + + + + INVALID_PRIVILEGE + + + + + + + RTMP_STREAM_UNPUBLISH_REASON_OK + + + + + + + RtmpStreamPublishState + + + + + + + IDLE + + + + + + + CONNECTING + + + + + + + RUNNING + + + + + + + RECOVERING + + + + + + + FAILURE + + + + + + + DISCONNECTING + + + + + + + RtmpStreamingEvent + + + + + + + FAILED_LOAD_IMAGE + + + + + + + URL_ALREADY_IN_USE + + + + + + + ADVANCED_FEATURE_NOT_SUPPORT + + + + + + + REQUEST_TOO_OFTEN + + + + + + + STREAM_FALLBACK_OPTION_DISABLED + + + + + + + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + + + + + + + STREAM_FALLBACK_OPTION_AUDIO_ONLY + + + + + + + RHYTHM_PLAYER_STATE_IDLE + + + + + + + RHYTHM_PLAYER_STATE_OPENING + + + + + + + RHYTHM_PLAYER_STATE_DECODING + + + + + + + RHYTHM_PLAYER_STATE_PLAYING + + + + + + + RHYTHM_PLAYER_STATE_FAILED + + + + + + + RHYTHM_PLAYER_REASON_OK + + + + + + + RHYTHM_PLAYER_REASON_FAILED + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + + + + + + + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + + + + + + + SimulcastStreamMode + + + + + + + AUTO + + + + + + + DISABLE + + + + + + + ENABLE + + + + + + + ConnectionState + + + + + + + SAE_CONNECTION_STATE_CONNECTING + + + + + + + SAE_CONNECTION_STATE_CONNECTED + + + + + + + SAE_CONNECTION_STATE_DISCONNECTED + + + + + + + SAE_CONNECTION_STATE_RECONNECTING + + + + + + + SAE_CONNECTION_STATE_RECONNECTED + + + + + + + ConnectionChangedReason + + + + + + + SAE_CONNECTION_CHANGED_DEFAULT + + + + + + + SAE_CONNECTION_CHANGED_CONNECTING + + + + + + + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + + + + + + + SAE_CONNECTION_CHANGED_RTM_DISCONNECT + + + + + + + SAE_CONNECTION_CHANGED_RTM_ABORTED + + + + + + + SAE_CONNECTION_CHANGED_LOST_SYNC + + + + + + + SegModelType + + + + + + + AI + + + + + + + GREEN + + + + + + + StreamPublishState + + + + + + + IDLE + + + + + + + NO_PUBLISHED + + + + + + + PUBLISHING + + + + + + + PUBLISHED + + + + + + + STREAM_TYPE_BOTH + + + + + + + SUB_STATE_IDLE + + + + + + + SUB_STATE_NO_SUBSCRIBED + + + + + + + SUB_STATE_SUBSCRIBING + + + + + + + SUB_STATE_SUBSCRIBED + + + + + + + USER_OFFLINE_QUIT + + + + + + + USER_OFFLINE_DROPPED + + + + + + + USER_OFFLINE_BECOME_AUDIENCE + + + + + + + VIDEO_BUFFER_RAW_DATA + + + + + + + VideoScenario + + + + + + + GENERAL + + + + + + + MEETING + + + + + + + VIDEO_CAPTURE_TYPE + + + + + + + VIDEO_CAPTURE_UNKNOWN + + + + + + + VIDEO_CAPTURE_CAMERA + + + + + + + VIDEO_CAPTURE_SCREEN + + + + + + + VIDEO_DENOISER_AUTO + + + + + + + VIDEO_DENOISER_MANUAL + + + + + + + VIDEO_DENOISER_LEVEL_HIGH_QUALITY + + + + + + + VIDEO_DENOISER_LEVEL_FAST + + + + + + + VIDEO_DENOISER_LEVEL_STRENGTH + + + + + + + VideoSourceType + + + + + + + CAMERA_PRIMARY + + + + + + + CAMERA + + + + + + + CAMERA_SECONDARY + + + + + + + SCREEN_PRIMARY + + + + + + + SCREEN + + + + + + + SCREEN_SECONDARY + + + + + + + CUSTOM + + + + + + + MEDIA_PLAYER + + + + + + + RTC_IMAGE_PNG + + + + + + + RTC_IMAGE_JPEG + + + + + + + RTC_IMAGE_GIF + + + + + + + REMOTE + + + + + + + TRANSCODED + + + + + + + CAMERA_THIRD + + + + + + + CAMERA_FOURTH + + + + + + + SPEECH_DRIVEN + + + + + + + UNKNOWN + + + + + + + VIDEO_CODEC_CAPABILITY_LEVEL + + + + + + + CODEC_CAPABILITY_LEVEL_UNSPECIFIED + + + + + + + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + + + + + + + CODEC_CAPABILITY_LEVEL_1080P30FPS + + + + + + + CODEC_CAPABILITY_LEVEL_1080P60FPS + + + + + + + CODEC_CAPABILITY_LEVEL_4K60FPS + + + + + + + VideoCodecProfileType + + + + + + + BASELINE + + + + + + + MAIN + + + + + + + HIGH + + + + + + + VideoCodecType + + + + + + + NONE + + + + + + + VP8 + + + + + + + H264 + + + + + + + H265 + + + + + + + GENERIC + + + + + + + GENERIC_H264 + + + + + + + AV1 + + + + + + + VP9 + + + + + + + GENERIC_JPEG + + + + + + + VideoCodecType + + + + + + + H264 + + + + + + + H265 + + + + + + + ScreenCaptureContentHint + + + + + + + NONE + + + + + + + MOTION + + + + + + + DETAILS + + + + + + + VideoFrameProcessMode + + + + + + + READ_ONLY + + + + + + + READ_WRITE + + + + + + + VIDEO_FRAME_TYPE_BLANK_FRAME + + + + + + + VIDEO_FRAME_TYPE_KEY_FRAME + + + + + + + VIDEO_FRAME_TYPE_DELTA_FRAME + + + + + + + VIDEO_FRAME_TYPE_B_FRAME + + + + + + + VIDEO_FRAME_TYPE_DROPPABLE_FRAME + + + + + + + VIDEO_FRAME_TYPE_UNKNOW + + + + + + + VIDEO_MIRROR_MODE_AUTO + + + + + + + VIDEO_MIRROR_MODE_ENABLED + + + + + + + VIDEO_MIRROR_MODE_DISABLED + + + + + + + VideoModulePosition + + + + + + + VideoModulePosition + + + + + + + POST_CAPTURER + + + + + + + PRE_RENDERER + + + + + + + PRE_ENCODER + + + + + + + POST_CAPTURER_ORIGIN + + + + + + + VIDEO_ORIENTATION_0 + + + + + + + VIDEO_ORIENTATION_90 + + + + + + + VIDEO_ORIENTATION_180 + + + + + + + VIDEO_ORIENTATION_270 + + + + + + + VideoPixelFormat + + + + + + + DEFAULT + + + + + + + I420 + + + + + + + BGRA + + + + + + + NV21 + + + + + + + RGBA + + + + + + + IMC2 + + + + + + + ARGB + + + + + + + NV12 + + + + + + + I422 + + + + + + + VIDEO_TEXTURE_2D + + + + + + + VIDEO_TEXTURE_OES + + + + + + + VIDEO_PROFILE_LANDSCAPE_120P + + + + + + + VIDEO_PROFILE_LANDSCAPE_120P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_7 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_8 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_9 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_10 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_11 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_8 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_9 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_10 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_5 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P_5 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1440P + + + + + + + VIDEO_PROFILE_LANDSCAPE_1440P_2 + + + + + + + VIDEO_PROFILE_LANDSCAPE_4K + + + + + + + VIDEO_PROFILE_LANDSCAPE_4K_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_120P + + + + + + + VIDEO_PROFILE_PORTRAIT_120P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_180P + + + + + + + VIDEO_PROFILE_PORTRAIT_180P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_180P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_240P + + + + + + + VIDEO_PROFILE_PORTRAIT_240P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_240P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_7 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_8 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_9 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_10 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_11 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_8 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_9 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_10 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_5 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P_5 + + + + + + + VIDEO_PROFILE_PORTRAIT_1440P + + + + + + + VIDEO_PROFILE_PORTRAIT_1440P_2 + + + + + + + VIDEO_PROFILE_PORTRAIT_4K + + + + + + + VIDEO_PROFILE_PORTRAIT_4K_3 + + + + + + + VideoStreamType + + + + + + + HIGH + + + + + + + LOW + + + + + + + VIDEO_PROFILE_DEFAULT + + + + + + + VIEW_SETUP_MODE_REPLACE + + + + + + + VIEW_SETUP_MODE_ADD + + + + + + + VIEW_SETUP_MODE_REMOVE + + + + + + + VOICE_BEAUTIFIER_OFF + + + + + + + CHAT_BEAUTIFIER_MAGNETIC + + + + + + + CHAT_BEAUTIFIER_FRESH + + + + + + + CHAT_BEAUTIFIER_VITALITY + + + + + + + SINGING_BEAUTIFIER + + + + + + + TIMBRE_TRANSFORMATION_VIGOROUS + + + + + + + TIMBRE_TRANSFORMATION_DEEP + + + + + + + TIMBRE_TRANSFORMATION_MELLOW + + + + + + + TIMBRE_TRANSFORMATION_FALSETTO + + + + + + + TIMBRE_TRANSFORMATION_FULL + + + + + + + TIMBRE_TRANSFORMATION_CLEAR + + + + + + + TIMBRE_TRANSFORMATION_RESOUNDING + + + + + + + TIMBRE_TRANSFORMATION_RINGING + + + + + + + ULTRA_HIGH_QUALITY_VOICE + + + + + + + VOICE_CHANGER_OFF + + + + + + + VOICE_CHANGER_OLDMAN + + + + + + + VOICE_CHANGER_BABYBOY + + + + + + + VOICE_CHANGER_BABYGIRL + + + + + + + VOICE_CHANGER_ZHUBAJIE + + + + + + + VOICE_CHANGER_ETHEREAL + + + + + + + VOICE_CHANGER_HULK + + + + + + + VOICE_BEAUTY_VIGOROUS + + + + + + + VOICE_BEAUTY_DEEP + + + + + + + VOICE_BEAUTY_MELLOW + + + + + + + VOICE_BEAUTY_FALSETTO + + + + + + + VOICE_BEAUTY_FULL + + + + + + + VOICE_BEAUTY_CLEAR + + + + + + + VOICE_BEAUTY_RESOUNDING + + + + + + + VOICE_BEAUTY_RINGING + + + + + + + VOICE_BEAUTY_SPACIAL + + + + + + + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_FRESH + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + + + + + + + VOICE_CONVERSION_OFF + + + + + + + VOICE_CHANGER_NEUTRAL + + + + + + + VOICE_CHANGER_SWEET + + + + + + + VOICE_CHANGER_SOLID + + + + + + + VOICE_CHANGER_BASS + + + + + + + + + channelId + + + + + + + info + + + + + + + uid + + + + + + + + + v3.2.0 + + + + + + + v3.3.0 + + + + + + + v3.0.0 + + + + + + + + + content://com.android.providers.media.documents/document/audio%203A14441 + + + + + + + /sdcard/emulated/0/audio.aac + + + + + + + /storage/emulated/0/Android/data/<packagename>/files/example.jpg + + + + + + + libagora_ai_denoise_extension.dll + + + + + + + STANDARD_BITRATE + + + + + + + COMPATIBLE_BITRATE + + + + + + + true + + + + + + + false + + + + + + + NULL + + + + + + + libagora_clear_vision_extension.so + + + + + + + libagora_super_resolution_extension.so + + + + + + + libagora_ai_noise_suppression_extension.so + + + + + + + libagora_audio_beauty_extension.so + + + + + + + libagora_spatial_audio_extension.so + + + + + + + agora_content_inspect_extension.so + + + + + + + libagora_segmentation_extension.so + + + + + + + Class 及 Enum + Class and Enum + + + + + + + Class + + + + + From abd39ad5b93bea2c05120bb57ac3fc0f155923e1 Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 1 Jul 2024 11:20:55 +0800 Subject: [PATCH 080/146] 1 --- .../API/api_irtcengine_setremotedefaultvideostreamtype.dita | 2 +- .../API/api_irtcengine_setremotesubscribefallbackoption.dita | 2 +- dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita | 2 +- .../RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index c81996f9fe8..1dc3d5267dc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -29,7 +29,7 @@
      弃用:
      -
      自 v4.4.0 废弃,请改用
      +
      自 v4.4.0 起废弃,请改用

      diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index 96da4e5ae32..a5dbea29e2f 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -31,7 +31,7 @@

      弃用:
      -
      自 v4.4.0 废弃,请改用
      +
      自 v4.4.0 起废弃,请改用

      网络不理想的环境下,实时通信音视频的质量会下降。你可以调用该方法并将 option 设置为 ,SDK 会在下行弱网且音视频质量严重受影响时,将视频流切换为小流或关闭视频流,从而保证音频质量。同时,SDK 会持续监控网络质量,并在网络质量改善时恢复订阅音视频流。

      diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita index ab693761ed7..5251f44b3d1 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideostreamtype.dita @@ -37,7 +37,7 @@
      弃用:
      -
      自 v4.4.0 废弃,请改用
      +
      自 v4.4.0 起废弃,请改用

      SDK 默认在发送端开启小流自适应模式 (),即:发送端仅发送大流,主播身份的接收端可以调用该方法发起小流申请,发送端收到申请后开始自动发送小流。

      diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 8489bfe968b..f68151c28a8 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -42,7 +42,7 @@
      弃用:
      -
      自 v4.4.0 废弃,请改用
      +
      自 v4.4.0 起废弃,请改用

      From 39c34adf77c93a921c01375b8bd961a07f5fd30c Mon Sep 17 00:00:00 2001 From: jinyuagora Date: Mon, 1 Jul 2024 03:34:46 +0000 Subject: [PATCH 081/146] Sync cn prototype to en prototype --- .../config/keys-rtc-ng-api-java.ditamap | 92 ++++++++++++++++++- 1 file changed, 88 insertions(+), 4 deletions(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 26f7ff74c1f..ceaa4f4a6cd 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -1402,7 +1402,14 @@ - setRemoteVideoStreamTypeEx + setRemoteVideoStreamTypeEx [1/2] + + + + + + + setRemoteVideoStreamTypeEx [2/2] @@ -2641,14 +2648,28 @@ - setRemoteVideoStreamType + setRemoteVideoStreamType [1/2] + + + + + + + setRemoteVideoStreamType [2/2] - setRemoteDefaultVideoStreamType + setRemoteDefaultVideoStreamType [1/2] + + + + + + + setRemoteDefaultVideoStreamType [2/2] @@ -2657,7 +2678,14 @@ - setRemoteSubscribeFallbackOption + setRemoteSubscribeFallbackOption [1/2] + + + + + + + setRemoteSubscribeFallbackOption [2/2] @@ -3598,6 +3626,13 @@ + + + + setPlayMode + + + @@ -5124,6 +5159,13 @@ + + + + Metadata + + + @@ -9508,6 +9550,34 @@ + + + + MusicPlayMode + + + + + + + MUSIC_PLAY_MODE_ORIGINAL + + + + + + + MUSIC_PLAY_MODE_ACCOMPANY + + + + + + + MUSIC_PLAY_MODE_LEAD_SING + + + @@ -10230,6 +10300,13 @@ + + + + StreamFallbackOptions + + + @@ -11651,6 +11728,13 @@ + + + + VideoStreamType + + + From 4670c9275445161f8e9e27b767a9886eccceaadf Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Mon, 1 Jul 2024 14:22:13 +0800 Subject: [PATCH 082/146] peer review comments --- dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita | 2 +- ...k_irtcengineeventhandler_onextensionerrorwithcontext.dita | 5 +++-- dita/RTC-NG/API/class_extensioncontext.dita | 2 +- dita/RTC-NG/API/enum_voiceaitunertype.dita | 2 +- .../callback_irtcengineeventhandler_onextensionstopped.dita | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita index 3159a86c0a4..f33160c4292 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita @@ -2,7 +2,7 @@ <ph keyref="enableVoiceAITuner"/> - 开启/关闭 AI 调音器功能。 + 开启或关闭 AI 调音器功能。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita index e68be35942a..468811d83c9 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita @@ -48,10 +48,11 @@ 参数 - context + context + extContext 插件上下文信息,详见 - + diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita index b68043bfbaa..2057a261c45 100644 --- a/dita/RTC-NG/API/class_extensioncontext.dita +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -1,7 +1,7 @@ - ExtensionContext + <ph keyref="ExtensionContext"/> 插件上下文信息。

      diff --git a/dita/RTC-NG/API/enum_voiceaitunertype.dita b/dita/RTC-NG/API/enum_voiceaitunertype.dita index e04744bc955..673a28d2182 100644 --- a/dita/RTC-NG/API/enum_voiceaitunertype.dita +++ b/dita/RTC-NG/API/enum_voiceaitunertype.dita @@ -33,7 +33,7 @@ - 4:暖男b温暖而悠扬的男声。 + 4:暖男歌声。温暖而悠扬的男声。 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 210b152f11c..842f1cc8786 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita @@ -38,7 +38,7 @@ - + From 5aa282b437dab779e75540cef6b541db0615844e Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 1 Jul 2024 14:32:17 +0800 Subject: [PATCH 083/146] fix --- ...musiccontentcenter_destroymusicplayer.dita | 6 ++-- dita/RTC-NG/API/api_imusicplayer_destroy.dita | 9 +++++- .../API/api_imusicplayer_setplaymode.dita | 4 +-- ..._imetadataobserver_onmetadatareceived.dita | 2 +- dita/RTC-NG/API/rtc_api_overview.dita | 4 --- dita/RTC-NG/config/enum_musicplaymode.dita | 32 ------------------- 6 files changed, 14 insertions(+), 43 deletions(-) delete mode 100644 dita/RTC-NG/config/enum_musicplaymode.dita diff --git a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita index cdc6e0179f7..542d6c13167 100644 --- a/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita +++ b/dita/RTC-NG/API/api_imusiccontentcenter_destroymusicplayer.dita @@ -33,7 +33,7 @@
      调用时机 -

      该方法在加入频道前后均可调用,但请确保在 方法前调用。

      +

      该方法在加入频道前后均可调用,但请确保在 方法前调用。

      调用限制 @@ -46,8 +46,8 @@ player musicPlayer music_player - 对象。 - 指向 对象的指针。 + 对象。 + 指向 对象的指针。
      diff --git a/dita/RTC-NG/API/api_imusicplayer_destroy.dita b/dita/RTC-NG/API/api_imusicplayer_destroy.dita index 2c7d06055fa..1b4cf74ad32 100644 --- a/dita/RTC-NG/API/api_imusicplayer_destroy.dita +++ b/dita/RTC-NG/API/api_imusicplayer_destroy.dita @@ -24,12 +24,19 @@
      详情 -
      + +
      弃用:
      该方法自 v4.4.0 起废弃,请改用
      +
      + +
      自从
      +
      v4.1.0
      +
      +
      返回值 diff --git a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita index cc2bbe3942d..6c44a735040 100644 --- a/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita +++ b/dita/RTC-NG/API/api_imusicplayer_setplaymode.dita @@ -30,11 +30,11 @@

      你可以调用该方法来设置启用原唱、伴奏或导唱。如不调用该方法进行设置,则默认播放伴奏;如果音乐资源没有伴奏,则播放原唱。

      - 你可以通过 中的 type 参数来得知需播放的版权音乐支持的播放类型。 + 你可以通过 回调获取音乐资源的详细信息,并可通过其中的 listresult 参数得知需播放的版权音乐所支持的播放类型。
      适用场景 -

      推荐在线 K 歌场景下,如果你需要播放声网内容中心提供的版权音乐,你可以调用该方法来设置播放模式。

      +

      在线 K 歌、秀场等娱乐场景下,如果你需要播放声网内容中心提供的版权音乐,你可以调用该方法来设置播放模式。

      调用时机 diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index 0036f7743d1..19cf9155a1e 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -13,7 +13,7 @@

      - @CalledByNative public abstract void onMetadataReceived(AgoraMetadata metadata); + public abstract void onMetadataReceived(AgoraMetadata metadata); - (void)didMetadataReceived:(AgoraMetadata * _Nonnull)metadata NS_SWIFT_NAME(didMetadataReceived(_:)); virtual void onMetadataReceived(const Metadata &metadata) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnMetadataReceived, const FAgoraMetadata&, metadata); diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 00647f0c3f4..5c501bdfead 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -1658,10 +1658,6 @@ - - - - diff --git a/dita/RTC-NG/config/enum_musicplaymode.dita b/dita/RTC-NG/config/enum_musicplaymode.dita deleted file mode 100644 index 36eb16183c2..00000000000 --- a/dita/RTC-NG/config/enum_musicplaymode.dita +++ /dev/null @@ -1,32 +0,0 @@ - - - - <ph keyref="MusicPlayMode"/> - 需要播放的音轨类型。 - -

      -
      - -
      自从
      -
      v4.4.0
      -
      -
      -
      -
      - 枚举值 - - - - 0:原唱。 - - - - 1:伴唱。 - - - - 导唱。 - - -
      - From cb462eb0477a45963511c5412800d9f50b8890a0 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Mon, 1 Jul 2024 14:32:41 +0800 Subject: [PATCH 084/146] update desc for onextstop --- ...ck_irtcengineeventhandler_onextensionstoppedwithcontext.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita index b67d5651d91..35be006cc5f 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita @@ -26,7 +26,7 @@

      -

      成功销毁插件后会触发该回调。

      +

      成功禁用插件后会触发该回调。

      参数 From 8fa1bb5f7de0532d35c8225009a642b270f8e232 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 1 Jul 2024 14:36:44 +0800 Subject: [PATCH 085/146] Update class_metadata.dita --- dita/RTC-NG/API/class_metadata.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/class_metadata.dita b/dita/RTC-NG/API/class_metadata.dita index 0b15aeb45d1..dbc4086c163 100644 --- a/dita/RTC-NG/API/class_metadata.dita +++ b/dita/RTC-NG/API/class_metadata.dita @@ -141,7 +141,7 @@ struct FAgoraMetadata data - 接收到的数据。 + 接收的或发送的数据。 timeStampMs From e868f714518d9eee40413c840b9d6f45acd4e51b Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Mon, 1 Jul 2024 14:44:16 +0800 Subject: [PATCH 086/146] fix --- dita/RTC-NG/API/class_extensioncontext.dita | 12 ++++++------ dita/RTC-NG/API/enum_voiceaitunertype.dita | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dita/RTC-NG/API/class_extensioncontext.dita b/dita/RTC-NG/API/class_extensioncontext.dita index 2057a261c45..e83098cd2d4 100644 --- a/dita/RTC-NG/API/class_extensioncontext.dita +++ b/dita/RTC-NG/API/class_extensioncontext.dita @@ -72,13 +72,13 @@ uid 用户 ID。0 代表本地用户,大于 0 代表远端用户。 - - providerName - 提供插件的服务商名称。 + + + - - extensionName - 插件的名称。 + + +
      diff --git a/dita/RTC-NG/API/enum_voiceaitunertype.dita b/dita/RTC-NG/API/enum_voiceaitunertype.dita index 673a28d2182..269433238ab 100644 --- a/dita/RTC-NG/API/enum_voiceaitunertype.dita +++ b/dita/RTC-NG/API/enum_voiceaitunertype.dita @@ -1,7 +1,7 @@ - VOICE_AI_TUNER_TYPE + <ph keyref="VOICE_AI_TUNER_TYPE"/> AI 调音器音效类型。
      From 3038915a324c37afd227fde8d7f88d12756ae57c Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 1 Jul 2024 14:52:57 +0800 Subject: [PATCH 087/146] update metadata --- dita/RTC-NG/API/class_metadata.dita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/class_metadata.dita b/dita/RTC-NG/API/class_metadata.dita index dbc4086c163..856f6a9f2ea 100644 --- a/dita/RTC-NG/API/class_metadata.dita +++ b/dita/RTC-NG/API/class_metadata.dita @@ -137,11 +137,11 @@ struct FAgoraMetadata buffer data - 接收到的或发送的 的缓存地址。 + 接收到的 的缓存地址。 data - 接收的或发送的数据。 + 接收的数据。 timeStampMs From 2fe14f4cc36e8b3f5c7a55443bad0623c16901d7 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 1 Jul 2024 06:54:48 +0000 Subject: [PATCH 088/146] Sync cn prototype to en prototype --- .../API/api_imusiccontentcenter_destroy.dita | 2 +- ..._imetadataobserver_onmetadatareceived.dita | 5 +- en-US/dita/RTC-NG/API/class_metadata.dita | 47 +++++++++++++++---- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 42 +++++++++++++++++ .../config/keys-rtc-ng-api-java.ditamap | 9 +++- 5 files changed, 90 insertions(+), 15 deletions(-) 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 ea75027c605..8c2058d8b09 100644 --- a/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita +++ b/en-US/dita/RTC-NG/API/api_imusiccontentcenter_destroy.dita @@ -24,7 +24,7 @@ - +

      diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index c4ef12f0c99..3ec735c009a 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -13,9 +13,8 @@

      - public abstract void onMetadataReceived(byte[] buffer, int uid, long timeStampMs); - - (void)receiveMetadata:(NSData * _Nonnull)data - fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp; + public abstract void onMetadataReceived(AgoraMetadata metadata); + - (void)didMetadataReceived:(AgoraMetadata * _Nonnull)metadata NS_SWIFT_NAME(didMetadataReceived(_:)); virtual void onMetadataReceived(const Metadata &metadata) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnMetadataReceived, const FAgoraMetadata&, metadata); onMetadataReceived?(metadata: Metadata): void; diff --git a/en-US/dita/RTC-NG/API/class_metadata.dita b/en-US/dita/RTC-NG/API/class_metadata.dita index 836596939f8..98765baff12 100644 --- a/en-US/dita/RTC-NG/API/class_metadata.dita +++ b/en-US/dita/RTC-NG/API/class_metadata.dita @@ -6,13 +6,40 @@

      - - + public class AgoraMetadata { + public String channelId; + public int uid; + public byte[] data; + public long timeStampMs; + + public AgoraMetadata() { + channelId = null; + uid = 0; + data = null; + timeStampMs = 0; + } + + @CalledByNative + public AgoraMetadata(String channelId, int uid, byte[] data, long timeStampMs) { + this.channelId = channelId; + this.uid = uid; + this.data = data; + this.timeStampMs = timeStampMs; + } +} + NS_SWIFT_NAME(AgoraMetadata) __attribute__((visibility("default"))) @interface AgoraMetadata : NSObject +@property (copy, nonatomic) NSString* _Nonnull channelId NS_SWIFT_NAME(channelId); +@property (assign, nonatomic) NSInteger uid NS_SWIFT_NAME(uid); +@property (strong, nonatomic) NSData* _Nonnull data NS_SWIFT_NAME(data); +@property (assign, nonatomic) NSTimeInterval timestamp NS_SWIFT_NAME(timestamp); +@end struct Metadata { + const char* channelId; unsigned int uid; unsigned int size; unsigned char *buffer; long long timeStampMs; + Metadata() : channelId(NULL), uid(0), size(0), buffer(NULL), timeStampMs(0) {} }; USTRUCT(BlueprintType) struct FAgoraMetadata @@ -49,23 +76,23 @@ struct FAgoraMetadata public long timeStampMs; }; export class Metadata { - + uid?: number; - + size?: number; - + buffer?: Uint8Array; - + timeStampMs?: number; } export class Metadata { - + uid?: number; - + size?: number; - + buffer?: Uint8Array; - + timeStampMs?: number; } class Metadata { diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 9a7fa6e7d9e..9d9b85a72a2 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -3817,6 +3817,13 @@ + + + + destroyMusicPlayer + + + @@ -3845,6 +3852,13 @@ + + + + setPlayMode + + + @@ -10301,6 +10315,34 @@ + + + + MusicPlayMode + + + + + + + kMusicPlayModeOriginal + + + + + + + kMusicPlayModeAccompany + + + + + + + kMusicPlayModeLeadSing + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index ceaa4f4a6cd..a56757372dc 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -3524,7 +3524,14 @@ - destroy + destroy [2/2] + + + + + + + destroy [1/2] From 546b55930b15ad899d087024e74d02a2af151773 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Mon, 1 Jul 2024 06:57:33 +0000 Subject: [PATCH 089/146] Sync cn prototype to en prototype --- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 107 ++++++++++++++++-- .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 107 ++++++++++++++++-- .../config/keys-rtc-ng-api-java.ditamap | 107 ++++++++++++++++-- .../config/keys-rtc-ng-api-macos.ditamap | 107 ++++++++++++++++-- 4 files changed, 396 insertions(+), 32 deletions(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 9d9b85a72a2..fc25f335fcb 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -2007,6 +2007,13 @@ + + + + enableVoiceAITuner + + + @@ -2862,31 +2869,31 @@ - + - onExtensionEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -5350,6 +5357,13 @@ + + + + ExtensionContext + + + @@ -13045,6 +13059,83 @@ + + + + VOICE_AI_TUNER_TYPE + + + + + + + VOICE_AI_TUNER_MATURE_MALE + + + + + + + VOICE_AI_TUNER_FRESH_MALE + + + + + + + VOICE_AI_TUNER_ELEGANT_FEMALE + + + + + + + VOICE_AI_TUNER_SWEET_FEMALE + + + + + + + VOICE_AI_TUNER_WARM_MALE_SINGING + + + + + + + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_HUSKY_MALE_SINGING + + + + + + + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_POWERFUL_MALE_SINGING + + + + + + + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index dc2d0b68824..d9b73240a53 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -1837,6 +1837,13 @@ + + + + enableVoiceAITuner + + + @@ -2795,31 +2802,31 @@ - + - onEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -4845,6 +4852,13 @@ + + + + AgoraExtensionContext + + + @@ -12050,6 +12064,83 @@ + + + + AgoraVoiceAITunerType + + + + + + + AgoraVoiceAITunerMatureMale + + + + + + + AgoraVoiceAITunerFreshMale + + + + + + + AgoraVoiceAITunerElegantFemale + + + + + + + AgoraVoiceAITunerSweetFemale + + + + + + + AgoraVoiceAITunerWarmMaleSinging + + + + + + + AgoraVoiceAITunerGentleFemaleSinging + + + + + + + AgoraVoiceAITunerHuskyMaleSinging + + + + + + + AgoraVoiceAITunerWarmElegantFemaleSinging + + + + + + + AgoraVoiceAITunerPowerfulMaleSinging + + + + + + + AgoraVoiceAITunerDreamyFemaleSinging + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index a56757372dc..26f01a84ed1 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -1892,6 +1892,13 @@ + + + + enableVoiceAITuner + + + @@ -3038,31 +3045,31 @@ - + - onEvent + onEventWithContext - + - onStarted + onStartedWithContext - + - onStopped + onStoppedWithContext - + - onError + onErrorWithContext @@ -5040,6 +5047,13 @@ + + + + ExtensionContext + + + @@ -11882,6 +11896,83 @@ + + + + VOICE_AI_TUNER_TYPE + + + + + + + VOICE_AI_TUNER_MATURE_MALE + + + + + + + VOICE_AI_TUNER_FRESH_MALE + + + + + + + VOICE_AI_TUNER_ELEGANT_FEMALE + + + + + + + VOICE_AI_TUNER_SWEET_FEMALE + + + + + + + VOICE_AI_TUNER_WARM_MALE_SINGING + + + + + + + VOICE_AI_TUNER_GENTLE_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_HUSKY_MALE_SINGING + + + + + + + VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING + + + + + + + VOICE_AI_TUNER_POWERFUL_MALE_SINGING + + + + + + + VOICE_AI_TUNER_DREAMY_FEMALE_SINGING + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index ab2a6c888b8..e5e542dd869 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -1833,6 +1833,13 @@ + + + + enableVoiceAITuner + + + @@ -2741,31 +2748,31 @@ - + - onEvent + onExtensionEventWithContext - + - onExtensionStarted + onExtensionStartedWithContext - + - onExtensionStopped + onExtensionStoppedWithContext - + - onExtensionError + onExtensionErrorWithContext @@ -4501,6 +4508,13 @@ + + + + AgoraExtensionContext + + + @@ -11421,6 +11435,83 @@ + + + + AgoraVoiceAITunerType + + + + + + + AgoraVoiceAITunerMatureMale + + + + + + + AgoraVoiceAITunerFreshMale + + + + + + + AgoraVoiceAITunerElegantFemale + + + + + + + AgoraVoiceAITunerSweetFemale + + + + + + + AgoraVoiceAITunerWarmMaleSinging + + + + + + + AgoraVoiceAITunerGentleFemaleSinging + + + + + + + AgoraVoiceAITunerHuskyMaleSinging + + + + + + + AgoraVoiceAITunerWarmElegantFemaleSinging + + + + + + + AgoraVoiceAITunerPowerfulMaleSinging + + + + + + + AgoraVoiceAITunerDreamyFemaleSinging + + + From 746480b8a79a15b66c55e7301947e7229dea1b9f Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:46:53 +0800 Subject: [PATCH 090/146] add 440 --- .../config/keys-rtc-ng-links-android.ditamap | 14 +++ .../config/keys-rtc-ng-links-ios.ditamap | 14 +++ dita/RTC-NG/release/release_notes.dita | 94 +++++++++--------- dita/RTC-NG/release/release_notes_4.3.2.dita | 95 +++++++++++++++++++ dita/templates-cn/RTC/Release-Notes.dita | 21 ---- 5 files changed, 169 insertions(+), 69 deletions(-) create mode 100644 dita/RTC-NG/release/release_notes_4.3.2.dita diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-android.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-android.ditamap index 489ad62da68..cf121d64c30 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-links-android.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-links-android.ditamap @@ -82,6 +82,20 @@ + + + + 下载 + + + + + + + 集成 SDK + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-ios.ditamap index 0f8ebbc8534..145dd4a1f8e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-links-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-links-ios.ditamap @@ -82,6 +82,20 @@ + + + + 下载 + + + + + + + 集成 SDK + + + diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index d25efbab8a9..34fa8eb5805 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -1,15 +1,17 @@ - v4.3.2 + v4.4.0 -

      该版本于 20xx 年 5 月 x 日发布。

      +

      该版本于 2024 年 7 月 x 日发布。

      - <topic id="compatibility" props="hide"> + <topic id="compatibility"> <title>升级必看 +

      该版本对部分功能的实现方式进行了优化,包括 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。 + 自 v4.4.0 起,RTC SDK 提供 API 下架说明,包含各版本废弃及删除的 API 信息。详见 API 下架说明API 下架说明API 下架说明API 下架说明

      1. 升级必看的标题
          @@ -22,15 +24,26 @@
      - + 新增特性
        -
      1. 新增特性名称 +
      2. Lite SDK +

        自该版本起,声网推出 Lite 版 SDK,该 SDK 中仅包含音视频基础能力、对高阶音视频处理的功能进行部分裁剪,可有效减少集成 SDK 后的 App 体积。

          -
        • -
        • +
        • Lite SDK 支持手动集成或三方仓库集成,详见
        • +
        • Lite SDK 包含的动态库信息详见
        • +
        • Lite SDK 支持的 API 清单详见 Lite SDK API 列表Lite SDK API 列表
      3. +
      4. Alpha 透明特效 +

        该版本新增 Alpha 透明特效功能,支持在 SDK 采集和自定义采集视频的场景下,在发送端发布视频帧的 Alpha 通道、在接收端对 Alpha 通道进行渲染处理,实现透明礼物特效、接收端自定义主播背景等:

        +
          +
        • 中新增 alphaBuffer:设置 Alpha 通道数据。
        • +
        • 中新增 fillAlphaBuffer:对于 BGRA 或 RGBA 格式的视频数据,设置是否自动提取 Alpha 通道数据并填入到 alphaBuffer 中。
        • +
        • 中中新增 alphaStitchMode:设置 alphaBuffer 和视频帧拼接的相对位置。
        • +
        +

        另外, 中新增成员 encodeAlpha,用于设置是否将 Alpha 信息编码并发送到远端。SDK 默认不对 Alpha 信息进行编码发送;如果需要对 Alpha 信息编码发送至远端(例如开启了虚拟背景功能),请显式调用 设置视频编码属性,并将 encodeAlpha 设置为

        +
      5. 新增特性名称

      6. @@ -41,55 +54,40 @@ 改进
          -
        1. 提升了 方法的易用性,取消了调用时序要求,即:在加入频道前后,均可调用 动态切换弱网环境下的音视频流回退选项。
        2. -
        3. 媒体播放器支持播放带有 Alpha 通道的 MP4 文件。(iOS,Android)
        4. -
        5. 媒体播放器全面支持播放 /assets/ 目录下或以 content:// 开头的音乐资源文件。(Android)
        6. +
        7. 改进名称 +
            +
          • +
          • +
        8. +
        9. 改进名称 +

          +
        10. +
        11. 渲染能力提升 (Windows) +

          Windows 设备上默认启用 DirectX 11 渲染器,可提供高性能、高质量的图形渲染能力。

          +
        12. +
        13. 其他改进 +

          该版本还进行了如下改进: +

            +
          • +
          • 优化了传输策略,调用 不再对传输链路的安全性产生影响。
          • +
          • +
          • 回调中新增 枚举,表示进行屏幕采集的显示器已断开连接。(Windows, macOS)
          • +
          • +
          • 优化了共享窗口的视频链路,降低了 CPU 占用率。(macOS)
          • +

          +
        问题修复 -

        该版本修复了以下问题:

        + +

        该版本修复了以下问题:

          -
        • App 长时间切后台再返回前台时,远端视频画面卡住或花屏。(iOS)
        • -
        • 部分 iPad 设备上的本地预览画面旋转 90°,不符合预期。(iOS)
        • -
        • 音视频互动过程中偶现视频流畅度不佳。
        • -
        • 接收端 App 解码后的视频分辨率为奇数时偶现 App 崩溃。
        • -
        • 首次安装 App 或重启系统后,打开 App 并开启屏幕共享时出现崩溃。(Android)
        • -
        • 接听系统电话时加入频道,挂断电话后,本地音频采集失败,远端用户听不到声音。(Android)
        • -
        • 在部分机型(例如:红米 Note8)上进行互动的过程中接听系统来电并挂断后,本地播放媒体文件无声、听远端无声。(Android)
        • -
        • 远端用户离开频道时偶现崩溃。
        • -
        • 调用 共享 PPT 窗口,当 PPT 播放动画画面时,接收端偶现画面闪烁。(Windows)
        • -
        • 在 Windows 7 系统上调用 共享 WPS PPT 窗口,并设置 enableHighLight 开启窗口描边,放映该 PPT 后退出放映,之后选择最大化 PPT 窗口,窗口描边没有保留原始窗口大小,不符合预期。(Windows)
        • -
        • 调用 共享窗口,并设置 windowFocusenableHighLight 以前置指定窗口并开启窗口描边,如果当前该窗口被其他窗口覆盖,无法前置该窗口,不符合预期。(Windows)
        • -
        • 在 Windows 7 设备上共享窗口并对窗口描边时,点击桌面控件导致描边部分闪烁。(Windows)
        • -
        • 调用 返回的 中,cameraDirectionfocalLengthType 的值无法被直接读取。
        • -
        • 调用 播放音乐文件,音乐文件播放结束后偶现无法触发 (,) 回调报告音乐文件播放完毕。(iOS)
        • -
        • 调用 播放时长不足 1 秒的音效文件并设置不循环播放( loopCount 为 0 )时,出现无声。(iOS)
        • -
        • 使用媒体播放器播放视频,暂停播放后恢复播放,偶现短暂无声。(iOS)
        • +
        • 在实时互动过程中,当多个远端同时加入频道时 App 偶现崩溃。(iOS)
        • +
        • App 切后台一段时间、然后返回前台时,远端视频画面偶现卡住或花屏。(iOS)
        - - API 变更 - -

        新增 -

          -
        • -

        -

        修改 -

          -
        • -

        -

        废弃 -

          -
        • -

        -

        删除 -

          -
        • -

        - -
        diff --git a/dita/RTC-NG/release/release_notes_4.3.2.dita b/dita/RTC-NG/release/release_notes_4.3.2.dita new file mode 100644 index 00000000000..d25efbab8a9 --- /dev/null +++ b/dita/RTC-NG/release/release_notes_4.3.2.dita @@ -0,0 +1,95 @@ + + + + v4.3.2 + +

        该版本于 20xx 年 5 月 x 日发布。

        + + + + <topic id="compatibility" props="hide"> + <title>升级必看 + +
          +
        1. 升级必看的标题 +
            +
          • +
          • +
        2. +
        3. 升级必看的标题 +

          +
        4. +
        + +
        + + 新增特性 + +
          +
        1. 新增特性名称 +
            +
          • +
          • +
        2. +
        3. 新增特性名称 +

          +
        4. +
        + +
        + + 改进 + +
          +
        1. 提升了 方法的易用性,取消了调用时序要求,即:在加入频道前后,均可调用 动态切换弱网环境下的音视频流回退选项。
        2. +
        3. 媒体播放器支持播放带有 Alpha 通道的 MP4 文件。(iOS,Android)
        4. +
        5. 媒体播放器全面支持播放 /assets/ 目录下或以 content:// 开头的音乐资源文件。(Android)
        6. +
        + +
        + + 问题修复 +

        该版本修复了以下问题:

        +
          +
        • App 长时间切后台再返回前台时,远端视频画面卡住或花屏。(iOS)
        • +
        • 部分 iPad 设备上的本地预览画面旋转 90°,不符合预期。(iOS)
        • +
        • 音视频互动过程中偶现视频流畅度不佳。
        • +
        • 接收端 App 解码后的视频分辨率为奇数时偶现 App 崩溃。
        • +
        • 首次安装 App 或重启系统后,打开 App 并开启屏幕共享时出现崩溃。(Android)
        • +
        • 接听系统电话时加入频道,挂断电话后,本地音频采集失败,远端用户听不到声音。(Android)
        • +
        • 在部分机型(例如:红米 Note8)上进行互动的过程中接听系统来电并挂断后,本地播放媒体文件无声、听远端无声。(Android)
        • +
        • 远端用户离开频道时偶现崩溃。
        • +
        • 调用 共享 PPT 窗口,当 PPT 播放动画画面时,接收端偶现画面闪烁。(Windows)
        • +
        • 在 Windows 7 系统上调用 共享 WPS PPT 窗口,并设置 enableHighLight 开启窗口描边,放映该 PPT 后退出放映,之后选择最大化 PPT 窗口,窗口描边没有保留原始窗口大小,不符合预期。(Windows)
        • +
        • 调用 共享窗口,并设置 windowFocusenableHighLight 以前置指定窗口并开启窗口描边,如果当前该窗口被其他窗口覆盖,无法前置该窗口,不符合预期。(Windows)
        • +
        • 在 Windows 7 设备上共享窗口并对窗口描边时,点击桌面控件导致描边部分闪烁。(Windows)
        • +
        • 调用 返回的 中,cameraDirectionfocalLengthType 的值无法被直接读取。
        • +
        • 调用 播放音乐文件,音乐文件播放结束后偶现无法触发 (,) 回调报告音乐文件播放完毕。(iOS)
        • +
        • 调用 播放时长不足 1 秒的音效文件并设置不循环播放( loopCount 为 0 )时,出现无声。(iOS)
        • +
        • 使用媒体播放器播放视频,暂停播放后恢复播放,偶现短暂无声。(iOS)
        • +
        + +
        + + API 变更 + +

        新增 +

          +
        • +

        +

        修改 +

          +
        • +

        +

        废弃 +

          +
        • +

        +

        删除 +

          +
        • +

        + +
        +
        + diff --git a/dita/templates-cn/RTC/Release-Notes.dita b/dita/templates-cn/RTC/Release-Notes.dita index a941741f2cb..b2b7e69a774 100644 --- a/dita/templates-cn/RTC/Release-Notes.dita +++ b/dita/templates-cn/RTC/Release-Notes.dita @@ -61,26 +61,5 @@
    - - API 变更 - -

    新增 -

      -
    • -

    -

    修改 -

      -
    • -

    -

    废弃 -

      -
    • -

    -

    删除 -

      -
    • -

    - -
    From 9f83e6d6c96c50af45f2edf9282ec7af422af3aa Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:07:17 +0800 Subject: [PATCH 091/146] lite api --- dita/RTC-NG/API/rtc_lite_api.dita | 594 +++++++++++++++++++++++++ dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 + 2 files changed, 595 insertions(+) create mode 100644 dita/RTC-NG/API/rtc_lite_api.dita diff --git a/dita/RTC-NG/API/rtc_lite_api.dita b/dita/RTC-NG/API/rtc_lite_api.dita new file mode 100644 index 00000000000..595442cf65f --- /dev/null +++ b/dita/RTC-NG/API/rtc_lite_api.dita @@ -0,0 +1,594 @@ + + + +Lite SDK API 列表 +本页列出 Lite SDK 支持的 API 列表。 + +
    如果在本页中无法查询到你要使用的 API,则代表 Lite SDK 不支持该 API,调用该 API 时会返回错误码 -2。
    +
    + <ph keyref="IRtcEngine"/> +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • 中,以下跟屏幕采集相关的参数设置无效: +
        +
      • publishScreenCaptureVideo
      • +
      • publishScreenCaptureAudio
      • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IRtcEngineEx"/> +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IRtcEngineEventHandler"/> +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IMediaExtensionObserver"/> +
      +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IMediaPlayer"/> +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IVideoEncodedFrameObserver"/> +
      +
    • +
    +
    +
    + <ph keyref="IVideoFrameObserver"/> +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IMediaExtensionObserver"/> +
      +
    • +
    • +
    • +
    • +
    +
    +
    + <ph keyref="IMusicPlayer"/> +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + + <ul> + <li></li> + </ul> + </section> + </refbody> +</reference> diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index c56a7660588..18f38397800 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -43,6 +43,7 @@ <topicref keyref="IMusicPlayer" toc="no" props="cn"/> <topicref keyref="IMusicContentCenter" toc="no" props="cn"/> </topicref> + <topicref href="API/rtc_lite_api.dita" chunk="to-content"/> <topicref href="API/toc_initialize.dita" chunk="to-content"> <topicref keyref="create" toc="no"/> <topicref keyref="initialize" toc="no"/> From 50513f02d362f145b922ad21840c4f75ea17c34f Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:07:29 +0800 Subject: [PATCH 092/146] lite api --- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 1 + 1 file changed, 1 insertion(+) diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 9228d77d2b8..de075017d83 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -43,6 +43,7 @@ <topicref keyref="IVideoEncodedFrameObserver" toc="no"/> <topicref keyref="IVideoFrameObserver" toc="no"/> </topicref> + <topicref href="API/rtc_lite_api.dita" chunk="to-content"/> <topicref href="API/toc_initialize.dita" chunk="to-content"> <topicref keyref="create" toc="no"/> <topicref keyref="initialize" toc="no"/> From 75fe92b7af507764f94c215fee6386e910d0265c Mon Sep 17 00:00:00 2001 From: Suri539 <fanyuanyuan@agora.io> Date: Tue, 2 Jul 2024 14:10:37 +0800 Subject: [PATCH 093/146] release note --- dita/RTC-NG/release/release_notes.dita | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index 34fa8eb5805..52d0b562d51 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -13,14 +13,9 @@ <p>该版本对部分功能的实现方式进行了优化,包括 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。 <note type="attention" props="native">自 v4.4.0 起,RTC SDK 提供 API 下架说明,包含各版本废弃及删除的 API 信息。详见 <xref href="https://doc.shengwang.cn/api-ref/rtc/android/API/rtc_api_sunset" props="android">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/android/API/rtc_api_sunset" props="cpp">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/ios/API/rtc_api_sunset" props="ios">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/macos/API/rtc_api_sunset" props="mac">API 下架说明</xref>。</note></p> <ol> - <li><ph><b>升级必看的标题</b></ph> - <ul> - <li><?oxy-placeholder content="用 list 描述"?></li> - <li><?oxy-placeholder content="用 list 描述"?></li> - </ul></li> - <li><ph><b>升级必看的标题</b></ph> - <p><?oxy-placeholder content="用段落描述"?></p> - </li> + <li props="ios">在 v4.4.0 之前,当你的用户角色为观众时,调用 <apiname keyref="setAudioScenario"/> 将音频场景设为聊天室场景(<apiname keyref="AUDIO_SCENARIO_CHATROOM"/>)会收到申请麦克风权限的弹窗提示。自 v4.4.0 起,SDK 通过 iOS 原生的 API 控制麦克风开关,因此观众角色在聊天室场景下不会再收到申请麦克风权限的弹窗。</li> + <li props="apple">改版本将 <parmname>receiveMetadata</parmname> 回调改名为 <apiname keyref="onMetadataReceived"/>,并删除了回调中的 <parmname>data</parmname>、<parmname>timeStamp</parmname> 参数,你可以通过新增的 <parmname>metadata</parmname> 参数来获取 Metadata 的相关信息,包括 <parmname>timeStamp</parmname>(发送数据的时间戳)、<parmname>uid</parmname>(用户 ID)、<parmname>channelId</parmname>(源频道名称)等。</li> + <li props="android">改版本删除了 <apiname keyref="onMetadataReceived"/> 回调中的 <parmname>buffer</parmname>、<parmname>uid</parmname>、<parmname>timeStampMs</parmname> 参数,你可以通过新增的 <parmname>metadata</parmname> 参数来获取 Metadata 的相关信息,包括 <parmname>timeStampMs</parmname>(发送数据的时间戳)、<parmname>uid</parmname>(用户 ID)、<parmname>channelId</parmname>(源频道名称)等。</li> </ol> </body> </topic> @@ -44,8 +39,12 @@ </ul> <p>另外,<apiname keyref="AdvanceOptions"/> 中新增成员 <codeph>encodeAlpha</codeph>,用于设置是否将 Alpha 信息编码并发送到远端。SDK 默认不对 Alpha 信息进行编码发送;如果需要对 Alpha 信息编码发送至远端(例如开启了虚拟背景功能),请显式调用 <apiname keyref="setVideoEncoderConfiguration"/> 设置视频编码属性,并将 <codeph>encodeAlpha</codeph> 设置为 <codeph><ph keyref="true"/></codeph>。</p> </li> - <li><ph><b>新增特性名称</b></ph> - <p><?oxy-placeholder content="用段落描述"?></p> + <li props="ios android"><ph><b>版权音乐优化</b></ph> + <ul> + <li>该版本在 <apiname keyref="IMusicPlayer"></apiname> 类下新增 <apiname keyref="setPlayMode"/> 方法,用于设置音乐资源的播放模式。在在线 K 歌房等场景下,你可以根据需求启用伴唱、原唱或导唱模式。</li> + <li props="ios">该版本在 <apiname keyref="IMusicContentCenter"/> 类下新增 <apiname keyref="destroyMusicPlayer"/> 方法,用于销毁音乐播放器并释放相应的资源。</li> + <li props="android">该版本废弃了 <apiname keyref="IMusicPlayer"></apiname> 类下的 <apiname keyref="destroy_IMusicPlayer"/> 方法。如需销毁音乐播放器,请改用<apiname keyref="IMusicContentCenter"/> 类下新增 <apiname keyref="destroyMusicPlayer"/> 方法。</li> + </ul> </li> </ol> </body> @@ -74,6 +73,8 @@ <li props="cpp mac electron unity flutter unreal bp"><apiname keyref="onLocalVideoStateChanged"/> 回调中新增 <apiname keyref="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED"/> 枚举,表示进行屏幕采集的显示器已断开连接。(Windows, macOS)</li> <li/> <li props="mac electron unity flutter unreal bp">优化了共享窗口的视频链路,降低了 CPU 占用率。(macOS) </li> + <li props="cpp unity flutter electron unreal">优化了屏幕共享场景下的回声消除。</li> + <li props="cpp framework">该版本在 <apiname keyref="Metadata"/> 中新增 <parmname>channelId</parmname> 参数,用于获取发送 Metadata 的源频道名称。</li> </ul></p> </li> </ol> @@ -86,6 +87,7 @@ <ul> <li props="ios rn unity flutter unreal bp">在实时互动过程中,当多个远端同时加入频道时 App 偶现崩溃。(iOS)</li> <li props="ios rn unity flutter unreal bp">App 切后台一段时间、然后返回前台时,远端视频画面偶现卡住或花屏。(iOS)</li> + <li props="android ios unity flutter rn unreal bp">调用 <xref keyref="pushAudioFrame" props="unity flutter rn unreal bp"/><xref keyref="pushAudioFrame2" props="android ios"/> 推送外部音频数据,外部音频渲染的采样率如果不是 SDK 推荐的值时,比如 22050 Hz 和 11025 Hz,声音播放失败。</li> </ul> </body> </topic> From 0ba14a0eb16cdf9d6aab2b85cf54e21cfad827c5 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:05:30 +0800 Subject: [PATCH 094/146] fix --- dita/RTC-NG/API/rtc_lite_api.dita | 14 ++++++-------- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 2 ++ dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/dita/RTC-NG/API/rtc_lite_api.dita b/dita/RTC-NG/API/rtc_lite_api.dita index 595442cf65f..c25820a0ce3 100644 --- a/dita/RTC-NG/API/rtc_lite_api.dita +++ b/dita/RTC-NG/API/rtc_lite_api.dita @@ -163,7 +163,6 @@ <li props="unity"><xref keyref="registerAudioFrameObserver"/></li> <li><xref keyref="registerAudioSpectrumObserver"/></li> <li><xref keyref="registerExtension"/></li> - <li props="en"><xref keyref="registerFaceInfoObserver" props="android apple"/></li> <li><xref keyref="registerLocalUserAccount"/></li> <li><xref keyref="registerMediaMetadataObserver"/></li> <li props="cpp unreal bp"><xref keyref="registerPacketObserver"/></li> @@ -379,7 +378,11 @@ <li><xref keyref="startMediaRenderingTracingEx"/></li> <li><xref keyref="startOrUpdateChannelMediaRelayEx"/></li> <li><xref keyref="stopChannelMediaRelayEx"/></li> - <li><xref keyref="updateChannelMediaOptionsEx"/></li> + <li><xref keyref="updateChannelMediaOptionsEx"/> 中,以下跟屏幕采集相关的参数设置无效: + <ul> + <li><parmname>publishScreenCaptureVideo</parmname></li> + <li><parmname>publishScreenCaptureAudio</parmname></li> + </ul></li> <li><xref keyref="setRemoteVideoSubscriptionOptionsEx"/></li> <li><xref keyref="adjustUserPlaybackSignalVolumeEx"/></li> <li props="hide"><xref keyref="onAudioMetadataReceived_IRtcEngineEx"/></li> @@ -485,6 +488,7 @@ </section> <section> <title><ph keyref="IMediaPlayer"/> + 媒体播放器中的 API 仅支持处理音频媒体文件、不支持处理视频媒体文件。
    • @@ -584,11 +588,5 @@
    -
    - - <ul> - <li></li> - </ul> - </section> </refbody> </reference> diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index de075017d83..b6de10ba006 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -538,6 +538,7 @@ </topicref> <topicref href="API/toc_drm.dita" chunk="to-content" props="cn"> <topicref keyref="createMusicPlayer" toc="no"/> + <topicref keyref="destroyMusicPlayer" toc="no"/> <topicref keyref="destroy_IMusicContentCenter" toc="no"/> <topicref keyref="enableMainQueueDispatch_IMusicContentCenter" toc="no"/> <topicref keyref="getCaches" toc="no"/> @@ -554,6 +555,7 @@ <topicref keyref="removeCache" toc="no"/> <topicref keyref="renewToken_IMusicContentCenter" toc="no"/> <topicref keyref="searchMusic" toc="no"/> + <topicref keyref="setPlayMode" toc="no"/> <topicref keyref="onLyricResult" toc="no"/> <topicref keyref="onMusicChartsResult" toc="no"/> <topicref keyref="onMusicCollectionResult" toc="no"/> diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index d9b73240a53..0090e5140fd 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -3288,6 +3288,13 @@ </keywords> </topicmeta> </keydef> + <keydef keys="destroyMusicPlayer" href="../API/api_imusiccontentcenter_destroymusicplayer.dita"> + <topicmeta> + <keywords> + <keyword>destroyMusicPlayer</keyword> + </keywords> + </topicmeta> + </keydef> <keydef keys="getLyric" href="../API/api_imusiccontentcenter_getlyric.dita"> <topicmeta> <keywords> @@ -3344,6 +3351,13 @@ </keywords> </topicmeta> </keydef> + <keydef keys="setPlayMode" href="../API/api_imusicplayer_setplaymode.dita"> + <topicmeta> + <keywords> + <keyword>setPlayMode</keyword> + </keywords> + </topicmeta> + </keydef> </topichead> <topichead navtitle="音乐内容中心事件" props="cn"> <keydef keys="onPreLoadEvent_IMusicContentCenterEventHandler" href="../API/callback_imusiccontentcentereventhandler_onpreloadevent.dita"> From 901797d1dc573ff4c30756e07b884c476f189d0d Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:09:55 +0800 Subject: [PATCH 095/146] publish error --- dita/RTC-NG/API/rtc_api_sunset.dita | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index 6a33342b78a..fe63410cf48 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -203,7 +203,7 @@ <entry></entry> <entry></entry> </row> - <row> + <row props="android apple"> <entry><xref keyref="setRemoteRenderMode1"/></entry> <entry><ph conkeyref="setRemoteRenderMode1/shortdesc"/></entry> <entry></entry> @@ -215,7 +215,7 @@ <entry>Android 原生的 <xref keyref="SurfaceView-link"/> 方法</entry> <entry></entry> </row> - <row> + <row props="android"> <entry><xref keyref="CreateTextureView"/></entry> <entry><ph conkeyref="CreateTextureView/shortdesc"/></entry> <entry>Android 原生的 <xref keyref="TextureView-link"/>。</entry> @@ -227,7 +227,7 @@ <entry></entry> <entry></entry> </row> - <row> + <row props="android apple"> <entry><xref keyref="setVideoProfile"/></entry> <entry><ph conkeyref="setVideoProfile/shortdesc"/></entry> <entry></entry> From 9e50285b9468f449e22f975a721a31d6952baf05 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <Cilla-luodan@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:11:45 +0000 Subject: [PATCH 096/146] Sync cn prototype to en prototype --- .../dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index d9b73240a53..0090e5140fd 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -3288,6 +3288,13 @@ </keywords> </topicmeta> </keydef> + <keydef keys="destroyMusicPlayer" href="../API/api_imusiccontentcenter_destroymusicplayer.dita"> + <topicmeta> + <keywords> + <keyword>destroyMusicPlayer</keyword> + </keywords> + </topicmeta> + </keydef> <keydef keys="getLyric" href="../API/api_imusiccontentcenter_getlyric.dita"> <topicmeta> <keywords> @@ -3344,6 +3351,13 @@ </keywords> </topicmeta> </keydef> + <keydef keys="setPlayMode" href="../API/api_imusicplayer_setplaymode.dita"> + <topicmeta> + <keywords> + <keyword>setPlayMode</keyword> + </keywords> + </topicmeta> + </keydef> </topichead> <topichead navtitle="音乐内容中心事件" props="cn"> <keydef keys="onPreLoadEvent_IMusicContentCenterEventHandler" href="../API/callback_imusiccontentcentereventhandler_onpreloadevent.dita"> From c8d6f2c9f91f2d0099f67851e7f2462691352f96 Mon Sep 17 00:00:00 2001 From: Nero-Hu <huheng@agora.io> Date: Tue, 2 Jul 2024 16:20:25 +0800 Subject: [PATCH 097/146] update release notes --- dita/RTC-NG/release/release_notes.dita | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index 52d0b562d51..c476aca6316 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -13,6 +13,32 @@ <p>该版本对部分功能的实现方式进行了优化,包括 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。 <note type="attention" props="native">自 v4.4.0 起,RTC SDK 提供 API 下架说明,包含各版本废弃及删除的 API 信息。详见 <xref href="https://doc.shengwang.cn/api-ref/rtc/android/API/rtc_api_sunset" props="android">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/android/API/rtc_api_sunset" props="cpp">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/ios/API/rtc_api_sunset" props="ios">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/macos/API/rtc_api_sunset" props="mac">API 下架说明</xref>。</note></p> <ol> + <li>为区分不同插件回调中的上下文信息,该版本将原有的插件相关回调删除并新增可标识插件上下文信息的对应回调(见下表),你可以通过各回调中的 <apiname keyref="ExtensionContext"/> 了解插件的名称、使用该插件的用户 ID、和提供插件的服务商名等信息。 + <table><thead> + <tr> + <th>原有回调</th> + <th>现有回调</th> + </tr></thead> + <tbody> + <tr> + <td><codeph>onExtensionEvent</codeph></td> + <td><apiname keyref="onExtensionEventWithContext"/></td> + </tr> + <tr> + <td><codeph>onExtensionStarted</codeph></td> + <td><apiname keyref="onExtensionStartedWithContext"/></td> + </tr> + <tr> + <td><codeph>onExtensionStopped</codeph></td> + <td><apiname keyref="onExtensionStoppedWithContext"/></td> + </tr> + <tr> + <td><codeph>onExtensionError</codeph></td> + <td><apiname keyref="onExtensionErrorWithContext"/></td> + </tr> + </tbody> + </table> + </li> <li props="ios">在 v4.4.0 之前,当你的用户角色为观众时,调用 <apiname keyref="setAudioScenario"/> 将音频场景设为聊天室场景(<apiname keyref="AUDIO_SCENARIO_CHATROOM"/>)会收到申请麦克风权限的弹窗提示。自 v4.4.0 起,SDK 通过 iOS 原生的 API 控制麦克风开关,因此观众角色在聊天室场景下不会再收到申请麦克风权限的弹窗。</li> <li props="apple">改版本将 <parmname>receiveMetadata</parmname> 回调改名为 <apiname keyref="onMetadataReceived"/>,并删除了回调中的 <parmname>data</parmname>、<parmname>timeStamp</parmname> 参数,你可以通过新增的 <parmname>metadata</parmname> 参数来获取 Metadata 的相关信息,包括 <parmname>timeStamp</parmname>(发送数据的时间戳)、<parmname>uid</parmname>(用户 ID)、<parmname>channelId</parmname>(源频道名称)等。</li> <li props="android">改版本删除了 <apiname keyref="onMetadataReceived"/> 回调中的 <parmname>buffer</parmname>、<parmname>uid</parmname>、<parmname>timeStampMs</parmname> 参数,你可以通过新增的 <parmname>metadata</parmname> 参数来获取 Metadata 的相关信息,包括 <parmname>timeStampMs</parmname>(发送数据的时间戳)、<parmname>uid</parmname>(用户 ID)、<parmname>channelId</parmname>(源频道名称)等。</li> @@ -39,6 +65,9 @@ </ul> <p>另外,<apiname keyref="AdvanceOptions"/> 中新增成员 <codeph>encodeAlpha</codeph>,用于设置是否将 Alpha 信息编码并发送到远端。SDK 默认不对 Alpha 信息进行编码发送;如果需要对 Alpha 信息编码发送至远端(例如开启了虚拟背景功能),请显式调用 <apiname keyref="setVideoEncoderConfiguration"/> 设置视频编码属性,并将 <codeph>encodeAlpha</codeph> 设置为 <codeph><ph keyref="true"/></codeph>。</p> </li> + <li><ph><b>AI 调音器</b></ph> + <p>该版本新增 AI 调音器功能,可以实现类似物理声卡对音质和音色的提升。你可以通过调用 <apiname keyref="setVoiceAITuner"/> 方法并传入 <apiname keyref="VOICE_AI_TUNER_TYPE"/> 枚举中支持的音效类型来启用 AI 调音器功能,实现大叔音、萝莉音、烟嗓歌声等声音效果。</p> + </li> <li props="ios android"><ph><b>版权音乐优化</b></ph> <ul> <li>该版本在 <apiname keyref="IMusicPlayer"></apiname> 类下新增 <apiname keyref="setPlayMode"/> 方法,用于设置音乐资源的播放模式。在在线 K 歌房等场景下,你可以根据需求启用伴唱、原唱或导唱模式。</li> @@ -64,6 +93,9 @@ <li props="cpp electron unity flutter unreal bp"><ph><b>渲染能力提升 (Windows)</b></ph> <p>Windows 设备上默认启用 DirectX 11 渲染器,可提供高性能、高质量的图形渲染能力。</p> </li> + <li><ph><b>人脸区域美颜</b></ph> + <p>为了避免磨皮美颜程度较高时丢失非脸部区域的细节,该版本改进了磨皮美颜效果的实现算法。磨皮美颜现在会识别人脸的各个部位,应用在除嘴巴、眼睛和眉毛之外的人脸皮肤区域,且支持最多同时对两张人脸磨皮。</p> + </li> <li><ph><b>其他改进</b></ph> <p>该版本还进行了如下改进: <ul> @@ -87,6 +119,7 @@ <ul> <li props="ios rn unity flutter unreal bp">在实时互动过程中,当多个远端同时加入频道时 App 偶现崩溃。(iOS)</li> <li props="ios rn unity flutter unreal bp">App 切后台一段时间、然后返回前台时,远端视频画面偶现卡住或花屏。(iOS)</li> + <li props="ios rn unity flutter unreal bp">发送端调用 <apiname keyref="startDirectCdnStreaming"/> 开始直接向 CDN 推流后,频繁开关或切换网络,偶现接收端黑屏但发送端未收到推流失败回调。(iOS)</li> <li props="android ios unity flutter rn unreal bp">调用 <xref keyref="pushAudioFrame" props="unity flutter rn unreal bp"/><xref keyref="pushAudioFrame2" props="android ios"/> 推送外部音频数据,外部音频渲染的采样率如果不是 SDK 推荐的值时,比如 22050 Hz 和 11025 Hz,声音播放失败。</li> </ul> </body> From 3a75b6aa0f4c4b8a4ab85711e5a597a1ed588115 Mon Sep 17 00:00:00 2001 From: Nero-Hu <huheng@agora.io> Date: Tue, 2 Jul 2024 16:31:43 +0800 Subject: [PATCH 098/146] fix table in release notes --- dita/RTC-NG/release/release_notes.dita | 48 ++++++++++++-------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index c476aca6316..08e852eb334 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -13,31 +13,29 @@ <p>该版本对部分功能的实现方式进行了优化,包括 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。 <note type="attention" props="native">自 v4.4.0 起,RTC SDK 提供 API 下架说明,包含各版本废弃及删除的 API 信息。详见 <xref href="https://doc.shengwang.cn/api-ref/rtc/android/API/rtc_api_sunset" props="android">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/android/API/rtc_api_sunset" props="cpp">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/ios/API/rtc_api_sunset" props="ios">API 下架说明</xref><xref href="https://doc.shengwang.cn/api-ref/rtc/macos/API/rtc_api_sunset" props="mac">API 下架说明</xref>。</note></p> <ol> - <li>为区分不同插件回调中的上下文信息,该版本将原有的插件相关回调删除并新增可标识插件上下文信息的对应回调(见下表),你可以通过各回调中的 <apiname keyref="ExtensionContext"/> 了解插件的名称、使用该插件的用户 ID、和提供插件的服务商名等信息。 - <table><thead> - <tr> - <th>原有回调</th> - <th>现有回调</th> - </tr></thead> - <tbody> - <tr> - <td><codeph>onExtensionEvent</codeph></td> - <td><apiname keyref="onExtensionEventWithContext"/></td> - </tr> - <tr> - <td><codeph>onExtensionStarted</codeph></td> - <td><apiname keyref="onExtensionStartedWithContext"/></td> - </tr> - <tr> - <td><codeph>onExtensionStopped</codeph></td> - <td><apiname keyref="onExtensionStoppedWithContext"/></td> - </tr> - <tr> - <td><codeph>onExtensionError</codeph></td> - <td><apiname keyref="onExtensionErrorWithContext"/></td> - </tr> - </tbody> - </table> + <li>为区分不同插件回调中的上下文信息,该版本将原有的插件相关回调删除并新增可标识插件上下文信息的对应回调(见下表),你可以通过各回调中的 <apiname keyref="ExtensionContext"/> 了解插件的名称、使用该插件的用户 ID、和提供插件的服务商名等信息。 + <simpletable frame="all" relcolwidth="1* 1*" id="simpletable_zqj_n1t_xbc"> + <sthead> + <stentry>原有回调</stentry> + <stentry>现有回调</stentry> + </sthead> + <strow> + <stentry>onExtensionEvent</stentry> + <stentry><apiname keyref="onExtensionEventWithContext"/></stentry> + </strow> + <strow> + <stentry>onExtensionStarted</stentry> + <stentry><apiname keyref="onExtensionStartedWithContext"/></stentry> + </strow> + <strow> + <stentry>onExtensionStopped</stentry> + <stentry><apiname keyref="onExtensionStoppedWithContext"/></stentry> + </strow> + <strow> + <stentry>onExtensionError</stentry> + <stentry><apiname keyref="onExtensionErrorWithContext"/></stentry> + </strow> + </simpletable> </li> <li props="ios">在 v4.4.0 之前,当你的用户角色为观众时,调用 <apiname keyref="setAudioScenario"/> 将音频场景设为聊天室场景(<apiname keyref="AUDIO_SCENARIO_CHATROOM"/>)会收到申请麦克风权限的弹窗提示。自 v4.4.0 起,SDK 通过 iOS 原生的 API 控制麦克风开关,因此观众角色在聊天室场景下不会再收到申请麦克风权限的弹窗。</li> <li props="apple">改版本将 <parmname>receiveMetadata</parmname> 回调改名为 <apiname keyref="onMetadataReceived"/>,并删除了回调中的 <parmname>data</parmname>、<parmname>timeStamp</parmname> 参数,你可以通过新增的 <parmname>metadata</parmname> 参数来获取 Metadata 的相关信息,包括 <parmname>timeStamp</parmname>(发送数据的时间戳)、<parmname>uid</parmname>(用户 ID)、<parmname>channelId</parmname>(源频道名称)等。</li> From 4e23e0bd9bec9a7ccdb13c0eccbf3fe13d260b0c Mon Sep 17 00:00:00 2001 From: Suri539 <fanyuanyuan@agora.io> Date: Tue, 2 Jul 2024 17:17:54 +0800 Subject: [PATCH 099/146] mark as deprecated --- ...eeventhandler_onclientrolechangefailed.dita | 4 ++-- .../API/enum_clientrolechangefailedreason.dita | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index 21878964b60..b3402bc6708 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -64,8 +64,8 @@ <li><ph keyref="CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS" />(1): 频道内主播人数达到上限。 <note type="note">该枚举仅在开启 128 人功能后报告。主播人数的上限根据开启 128 人功能时实际配置的人数而定。</note></li> <li><ph keyref="CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED" />(2): 请求被服务端拒绝。建议提示用户重新尝试切换用户角色。</li> - <li><ph keyref="CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT" />(3): 请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。</li> - <li><ph keyref="CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED" />(4): 网络连接断开。可根据 <xref keyref="onConnectionStateChanged" /> 报告的 <parmname>reason</parmname>,排查网络连接失败的具体原因。</li> + <li><ph keyref="CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT" />(3): (已废弃)请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。</li> + <li><ph keyref="CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED" />(4): (已废弃)网络连接断开。可根据 <xref keyref="onConnectionStateChanged" /> 报告的 <parmname>reason</parmname>,排查网络连接失败的具体原因。</li> </ul></pd> </plentry> <plentry> diff --git a/dita/RTC-NG/API/enum_clientrolechangefailedreason.dita b/dita/RTC-NG/API/enum_clientrolechangefailedreason.dita index a551c421d4b..fd175c9bbc9 100644 --- a/dita/RTC-NG/API/enum_clientrolechangefailedreason.dita +++ b/dita/RTC-NG/API/enum_clientrolechangefailedreason.dita @@ -18,12 +18,22 @@ </plentry> <plentry> <pt><ph keyref="CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT"/></pt> - <pd><p>3: 请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。</p></pd> - </plentry> + <pd><p>3: 请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。</p> + <dl outputclass="deprecated"> + <dlentry> + <dt>废弃:</dt> + <dd>该枚举值自 v4.4.0 起废弃,不建议使用。</dd> + </dlentry></dl></pd> + </plentry> <plentry> <pt><ph keyref="CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED"/></pt> - <pd><p>4: 网络连接断开。可根据 <xref keyref="onConnectionStateChanged"/> 报告的 <parmname>reason</parmname>,排查网络连接失败的具体原因。</p></pd> - </plentry> + <pd><p>4: 网络连接断开。可根据 <xref keyref="onConnectionStateChanged"/> 报告的 <parmname>reason</parmname>,排查网络连接失败的具体原因。</p> + <dl outputclass="deprecated"> + <dlentry> + <dt>废弃:</dt> + <dd>该枚举值自 v4.4.0 起废弃,不建议使用。</dd> + </dlentry></dl></pd> + </plentry> </parml> </section></refbody> </reference> From cb65984bcdb3d8101b81f4855be92a5e1093b9eb Mon Sep 17 00:00:00 2001 From: jinyu <jinyu@agora.io> Date: Tue, 2 Jul 2024 17:24:02 +0800 Subject: [PATCH 100/146] Update release_notes.dita --- dita/RTC-NG/release/release_notes.dita | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index 08e852eb334..48c1390fae9 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -80,13 +80,8 @@ <title>改进
      -
    1. 改进名称 -
        -
      • -
      • -
    2. -
    3. 改进名称 -

      +
    4. 自适应硬解支持 (Android, Windows) +

      该版本新增自适应硬解支持,改进了低端机的渲染流畅性,有效降低系统负载。

    5. 渲染能力提升 (Windows)

      Windows 设备上默认启用 DirectX 11 渲染器,可提供高性能、高质量的图形渲染能力。

      @@ -105,6 +100,9 @@
    6. 优化了共享窗口的视频链路,降低了 CPU 占用率。(macOS)
    7. 优化了屏幕共享场景下的回声消除。
    8. 该版本在 中新增 channelId 参数,用于获取发送 Metadata 的源频道名称。
    9. +
    10. 优化了以下 API 的参数类型。此改进有助于提升代码的可读性,减少潜在的错误,并便于后续维护。
        +
      • 废弃了 option 参数为 int 类型的 ,新增了 option 参数为 类型的重载函数
      • +
      • 废弃了 streamType 参数为 int 类型的 ,新增了 streamType 参数为 类型的重载函数
    From 543495612e3c71f6ea5e5ac2e66eeca46a8e8d3e Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 2 Jul 2024 17:26:58 +0800 Subject: [PATCH 101/146] update sunset --- dita/RTC-NG/API/rtc_api_sunset.dita | 112 ++++++++++++++++++---------- 1 file changed, 74 insertions(+), 38 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index fe63410cf48..426f470728e 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -239,53 +239,89 @@ - - - - - + + startEchoTest [1/3] + 开始语音通话回路测试。 + + v4.4.0 - - - - - + + startEchoTest + 开始语音通话回路测试。 + + v4.4.0 - - - - - + + startEchoTest [2/3] + 开始语音通话回路测试。 + + v4.4.0 - - - - - + + startEchoTestWithInterval + 开始语音通话回路测试。 + + v4.4.0 - - - - + setEncryptionMode + 启用内置的加密方案。 + + v4.4.0 - - - - + setEncryptionSecret + 启用内置加密,并设置数据加密密码。 + + v4.4.0 - - - - - + + onExtensionEvent + 插件事件回调。 + + v4.4.0 - - - - - + + onEvent + 插件事件回调。 + + v4.4.0 + + + onExtensionStarted + 插件启用回调。 + + v4.4.0 + + + onStarted + 插件启用回调。 + + v4.4.0 + + + onExtensionStopped + 插件禁用回调。 + + v4.4.0 + + + onStopped + 插件禁用回调。 + + v4.4.0 + + + onExtensionError + 插件出错回调。 + + v4.4.0 + + + onError + 插件出错回调。 + + v4.4.0 From 0c030cbbbdae1bbc9067677c859158bf0e154d1e Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 2 Jul 2024 17:42:18 +0800 Subject: [PATCH 102/146] update sunset again --- dita/RTC-NG/API/rtc_api_sunset.dita | 68 +++++++++++++++++------------ 1 file changed, 40 insertions(+), 28 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index 426f470728e..b66c1b5a890 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -197,47 +197,59 @@ 替代 API 删除版本 + + setVideoProfile + 设置视频编码配置。 + + v4.4.0 + - - - - + setVideoProfile [1/2] + 设置视频编码配置。 + + v4.4.0 + + + setVideoProfile [2/2] + 手动设置视频编码配置。 + + v4.4.0 - - - - + setRemoteRenderMode [1/2] + 设置远端视图显示模式。 + + v4.4.0 - - + CreateRendererView + 创建 RendererView。 Android 原生的 方法 - + v4.4.0 - - + CreateTextureView + 创建 TextureView。 Android 原生的 - + v4.4.0 - - - - - + + openWithCustomSource + 打开自定义媒体资源文件。 + + v4.4.0 - - - - - + + openWithCustomSourceAtStartPos + 打开自定义媒体资源文件。 + + v4.4.0 - - - - + setVideoQualityParameters + 设置视频优化选项(仅适用于直播)。 + 建议使用 类中的 degradationPreference 参数设置视频质量偏好。 + v4.4.0 startEchoTest [1/3] From 0e78f0b130050419f45b4d97de26d9ff81332f26 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:25:28 +0800 Subject: [PATCH 103/146] add full-api-title --- dita/RTC-NG/API/rtc_api_data_type.dita | 1 + dita/RTC-NG/API/rtc_interface_class.dita | 2 +- .../config/keys-rtc-ng-api-blueprint.ditamap | 8 ++++ .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 8 ++++ .../config/keys-rtc-ng-api-electron.ditamap | 8 ++++ .../config/keys-rtc-ng-api-flutter.ditamap | 8 ++++ .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 45 ++++++++++++++++++- .../config/keys-rtc-ng-api-java.ditamap | 8 ++++ .../config/keys-rtc-ng-api-macos.ditamap | 15 +++++++ dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap | 8 ++++ .../config/keys-rtc-ng-api-unity.ditamap | 8 ++++ .../config/keys-rtc-ng-api-unreal.ditamap | 8 ++++ 12 files changed, 125 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index c86b8090257..e7deca0523b 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -1316,6 +1316,7 @@
  • +
  • diff --git a/dita/RTC-NG/API/rtc_interface_class.dita b/dita/RTC-NG/API/rtc_interface_class.dita index 9c38d6130dd..70d0b0889a2 100644 --- a/dita/RTC-NG/API/rtc_interface_class.dita +++ b/dita/RTC-NG/API/rtc_interface_class.dita @@ -1,7 +1,7 @@ -API 索引 +<ph keyref="full-api-title"></ph> 本页列出 所有的接口类以及其中包含的 API。 diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 6dbe0cb87b2..45c89cf5c63 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index fc25f335fcb..765607d0892 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap index cc56dff4d09..804fa2c1926 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap index 37a2e0ceab9..b3d79cafc50 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 0090e5140fd..32faeaaa201 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -23,6 +23,14 @@ + + + + Full SDK API 列表 + Full SDK API List + + + @@ -5013,6 +5021,13 @@ + + + + AgoraMetadata + + + @@ -9537,7 +9552,35 @@ - + + + + AgoraMusicPlayMode + + + + + + + AgoraMusicPlayModeOriginal + + + + + + + AgoraMusicPlayModeAccompany + + + + + + + AgoraMusicPlayModeLeadsing + + + + AgoraNetworkType diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 26f01a84ed1..2a322f05dfe 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -23,6 +23,14 @@ + + + + Full SDK API 列表 + Full SDK API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index e5e542dd869..87f2e3b1e1a 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + @@ -4641,6 +4649,13 @@ + + + + AgoraMetadata + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap index e95580bf78b..9ed8a3b7bad 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap index eb2c9cfedc6..560353f227a 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap @@ -25,6 +25,14 @@ + + + + API 列表 + API List + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap index 13c386b6e58..bf7737a0e1e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + From 0e0356c8c6c2aa637884191f10b36f836179ed41 Mon Sep 17 00:00:00 2001 From: Cilla-luodan Date: Wed, 3 Jul 2024 03:27:33 +0000 Subject: [PATCH 104/146] Sync cn prototype to en prototype --- .../config/keys-rtc-ng-api-blueprint.ditamap | 8 ++++ .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 8 ++++ .../config/keys-rtc-ng-api-electron.ditamap | 8 ++++ .../config/keys-rtc-ng-api-flutter.ditamap | 8 ++++ .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 45 ++++++++++++++++++- .../config/keys-rtc-ng-api-java.ditamap | 8 ++++ .../config/keys-rtc-ng-api-macos.ditamap | 15 +++++++ .../RTC-NG/config/keys-rtc-ng-api-rn.ditamap | 8 ++++ .../config/keys-rtc-ng-api-unity.ditamap | 8 ++++ .../config/keys-rtc-ng-api-unreal.ditamap | 8 ++++ 10 files changed, 123 insertions(+), 1 deletion(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap index 6dbe0cb87b2..45c89cf5c63 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-blueprint.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index fc25f335fcb..765607d0892 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap index cc56dff4d09..804fa2c1926 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap index 37a2e0ceab9..b3d79cafc50 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 0090e5140fd..32faeaaa201 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -23,6 +23,14 @@ + + + + Full SDK API 列表 + Full SDK API List + + + @@ -5013,6 +5021,13 @@ + + + + AgoraMetadata + + + @@ -9537,7 +9552,35 @@ - + + + + AgoraMusicPlayMode + + + + + + + AgoraMusicPlayModeOriginal + + + + + + + AgoraMusicPlayModeAccompany + + + + + + + AgoraMusicPlayModeLeadsing + + + + AgoraNetworkType diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 26f01a84ed1..2a322f05dfe 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -23,6 +23,14 @@ + + + + Full SDK API 列表 + Full SDK API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index e5e542dd869..87f2e3b1e1a 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + @@ -4641,6 +4649,13 @@ + + + + AgoraMetadata + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap index e95580bf78b..9ed8a3b7bad 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap index eb2c9cfedc6..560353f227a 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap @@ -25,6 +25,14 @@ + + + + API 列表 + API List + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap index 13c386b6e58..bf7737a0e1e 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-unreal.ditamap @@ -23,6 +23,14 @@ + + + + API 列表 + API List + + + From 5d21d3ca2f4b003adb603f24d5c2e0e306c08897 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:52:22 +0800 Subject: [PATCH 105/146] add hmos --- dita/templates-cn/RTC/Callback.dita | 1 + dita/templates-cn/RTC/Class.dita | 1 + dita/templates-cn/RTC/Method.dita | 1 + 3 files changed, 3 insertions(+) diff --git a/dita/templates-cn/RTC/Callback.dita b/dita/templates-cn/RTC/Callback.dita index d14053c24e7..2ce31c3ee57 100644 --- a/dita/templates-cn/RTC/Callback.dita +++ b/dita/templates-cn/RTC/Callback.dita @@ -14,6 +14,7 @@

    + diff --git a/dita/templates-cn/RTC/Class.dita b/dita/templates-cn/RTC/Class.dita index e6cebc89315..dab7bbb1cd9 100644 --- a/dita/templates-cn/RTC/Class.dita +++ b/dita/templates-cn/RTC/Class.dita @@ -7,6 +7,7 @@

    + diff --git a/dita/templates-cn/RTC/Method.dita b/dita/templates-cn/RTC/Method.dita index e10e7f4f3fb..076ed6ff955 100644 --- a/dita/templates-cn/RTC/Method.dita +++ b/dita/templates-cn/RTC/Method.dita @@ -14,6 +14,7 @@

    + From 83f155502a3e4baa2a4990b10c273140c76ecf72 Mon Sep 17 00:00:00 2001 From: Cilla-luodan Date: Wed, 3 Jul 2024 03:53:00 +0000 Subject: [PATCH 106/146] Sync cn prototype to en prototype --- ..._imetadataobserver_onmetadatareceived.dita | 1 + .../dita/RTC-NG/API/class_advanceoptions.dita | 8 ++++++- .../RTC-NG/API/class_externalvideoframe.dita | 1 + en-US/dita/RTC-NG/API/class_metadata.dita | 1 + en-US/dita/RTC-NG/API/class_videoframe.dita | 23 +++++++++++++++++-- 5 files changed, 31 insertions(+), 3 deletions(-) diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita index 3ec735c009a..608104650ba 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita @@ -14,6 +14,7 @@

    public abstract void onMetadataReceived(AgoraMetadata metadata); + onMetadataReceived?:(buffer:ArrayBuffer,uid:number,timeStampMs:bigint) =>void; - (void)didMetadataReceived:(AgoraMetadata * _Nonnull)metadata NS_SWIFT_NAME(didMetadataReceived(_:)); virtual void onMetadataReceived(const Metadata &metadata) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnMetadataReceived, const FAgoraMetadata&, metadata); diff --git a/en-US/dita/RTC-NG/API/class_advanceoptions.dita b/en-US/dita/RTC-NG/API/class_advanceoptions.dita index 99699706ce8..5f5eeee599a 100644 --- a/en-US/dita/RTC-NG/API/class_advanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_advanceoptions.dita @@ -22,7 +22,13 @@ this.encodeAlpha = false; } } - __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject + export class AdvanceOptions { + public encodingPreference:EncodingPrefence = EncodingPrefence.PREFER_AUTO; + public compressionPreference:CompressionPrefence = CompressionPrefence.PREFER_LOW_LATENCY; + constructor() { + } + } + __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraEncodingPreference encodingPreference; @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; @property(assign, nonatomic) BOOL encodeAlpha; diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 3960e7b9a82..931f6d3d447 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -64,6 +64,7 @@ + ", rotation=" + rotation + ", alphaStitchMode=" + alphaStitchMode + '}'; } } + __attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; @property(assign, nonatomic) CMTime time; diff --git a/en-US/dita/RTC-NG/API/class_metadata.dita b/en-US/dita/RTC-NG/API/class_metadata.dita index 98765baff12..0f68885ef38 100644 --- a/en-US/dita/RTC-NG/API/class_metadata.dita +++ b/en-US/dita/RTC-NG/API/class_metadata.dita @@ -27,6 +27,7 @@ this.timeStampMs = timeStampMs; } } + NS_SWIFT_NAME(AgoraMetadata) __attribute__((visibility("default"))) @interface AgoraMetadata : NSObject @property (copy, nonatomic) NSString* _Nonnull channelId NS_SWIFT_NAME(channelId); @property (assign, nonatomic) NSInteger uid NS_SWIFT_NAME(uid); diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 279d06e24ec..d6540955825 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -259,8 +259,27 @@ public void release() { buffer.release(); } -} - +} + export class VideoFrame { + public buffer:ArrayBuffer | null = null; + public yBuffer: ArrayBuffer | null = null; + public uBuffer: ArrayBuffer | null = null; + public vBuffer: ArrayBuffer | null = null; + public rotation:number = 0; + public timestamp:number = 0; + public stride:number = 0; + public uStride:number = 0; + public vStride:number = 0; + public width:number = 0; + public height:number = 0; + public type:VideoBufferType = VideoBufferType.VIDEO_BUFFER_RAW_DATA; + public format:VideoPixelFormat = VideoPixelFormat.VIDEO_PIXEL_NV21; + public faceInfo:Array<FaceDetectionInfo> | undefined = undefined; + constructor(type:VideoBufferType,format:VideoPixelFormat) { + this.type = type; + this.format = format; + } +} __attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @property (nonatomic, assign) int width; From 706ce4503320f08e30b4550a6b6eae6f8d22cedd Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 15:20:14 +0800 Subject: [PATCH 107/146] Update api_imediaengine_setexternalvideosource.dita --- ...i_imediaengine_setexternalvideosource.dita | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita index 52bba6b133e..8e8b1b6ce09 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita @@ -40,15 +40,23 @@ SenderOptions encodedVideoOption = const SenderOptions()});

    -
    - 详情 - 请在加入频道前调用该方法。
    -
    +
    +

    调用该方法启用外部视频源后,SDK 将创建外部源并准备通过 获取外部视频数据。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    不支持在频道内动态切换视频源。如果已调用该方法启用外部视频源并加入频道,若想切换为内部视频源,必须先退出频道,然后调用该方法关闭外部视频源,再重新加入频道。

    +
    +
    参数 - enable - enabled + enable + enabled 是否启用外部视频源:
    • : 启用外部视频源。SDK 准备接收外部视频帧。
    • @@ -67,18 +75,18 @@ sourceType 外部视频帧是否编码,详见 - + encodedVideoOption 视频编码选项。如果 sourceType,则需要设置该参数。你可以了解如何设置该参数。
    -
    +
    <ph keyref="return-section-title"/>

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

    -
      -
    • 0:方法调用成功。
    • +
        +
      • 0:方法调用成功。
      • < 0: 方法调用失败。详见了解详情和解决建议。
    - + \ No newline at end of file From cabd07e333d54d1714c53b34efec0ebd487e4453 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 15:28:29 +0800 Subject: [PATCH 108/146] Update api_imediaengine_setexternalvideosource.dita --- dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita index 8e8b1b6ce09..3dc14e20080 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita @@ -41,7 +41,7 @@

    -

    调用该方法启用外部视频源后,SDK 将创建外部源并准备通过 获取外部视频数据。

    +

    调用该方法启用外部视频源后,你可以调用 向 SDK 推送外部视频数据。

    调用时机 From 8133cb38b0561384399c637c72fb87c2a5f303a7 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 15:28:36 +0800 Subject: [PATCH 109/146] Update api_imediaengine_setexternalaudiosink.dita --- ...api_imediaengine_setexternalaudiosink.dita | 39 ++++++++++--------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita index 4f6dd5e0e53..a7902e23fc7 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosink.dita @@ -34,33 +34,36 @@ {required bool enabled, required int sampleRate, required int channels});

    -
    - 详情 -

    该方法适用于需要自行渲染音频的场景。开启外部音频渲染后,你可以调用 拉取远端音频数据。App 可以对拉取到的原始音频数据进行处理后再渲染,获取想要的音频效果。

    - -
      -
    • 使用该方法前,你需要在 中设置 enableAudioDevice
    • -
    • 该方法需要在加入频道前调用。
    • -
    • 开启外部音频渲染后,App 会无法从 回调中获得数据。
    • -
    -
    +
    +

    调用该方法开启外部音频渲染后,你可以调用 拉取远端音频数据。App 可以对拉取到的原始音频数据进行处理后再渲染,获取想要的音频效果。

    +
    +
    + 适用场景 +

    该方法适用于需要自行渲染音频的场景。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    调用该方法开启外部音频渲染后,App 将无法从 回调中获得数据。

    +
    +
    参数 enabled - -

    设置是否开启外部音频渲染: + 设置是否开启外部音频渲染:

    • :开启外部音频渲染。
    • :(默认)关闭外部音频渲染。
    • -

    +
    sampleRate - -

    外部音频渲染的采样率 (Hz),可设置为 16000,32000,44100 或 48000。

    -
    + 外部音频渲染的采样率 (Hz),可设置为 16000,32000,44100 或 48000。
    channels @@ -71,12 +74,12 @@
    -
    +
    <ph keyref="return-section-title"/>

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

    • 0: 方法调用成功。
    • < 0: 方法调用失败。详见了解详情和解决建议。
    - + \ No newline at end of file From edc0da92d0f485712b226df9b67116f3d5e5839b Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:30:41 +0800 Subject: [PATCH 110/146] 1 --- dita/RTC-NG/API/class_videocanvas.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 6bd2f466fef..ed844588797 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -347,7 +347,7 @@ class VideoCanvas {
  • :开启 Alpha 遮罩渲染。
  • :(默认)关闭 Alpha 遮罩渲染。
  • -

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

    +

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

    • 仅当发送端开启 Alpha 传输功能时,接收端才能渲染 Alpha 通道的信息。
    • From c577ea3519a71bb71fe7310e666910bd86dc34da Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 3 Jul 2024 16:03:26 +0800 Subject: [PATCH 111/146] batch2 --- .../api_irtcengine_enablecontentinspect.dita | 14 ++++++--- .../api_irtcengine_setlocalaccesspoint.dita | 19 +++++++----- .../API/api_irtcengine_startechotest3.dita | 26 ++++++++++------- ...api_irtcengine_startlastmileprobetest.dita | 29 ++++++++++++------- ...i_irtcengineex_enablecontentinspectex.dita | 14 ++++++--- 5 files changed, 65 insertions(+), 37 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita index af914a344cf..53117ae0557 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita @@ -32,12 +32,18 @@ {required bool enabled, required ContentInspectConfig config});

    -
    - 详情 +

    开启本地截图上传后,SDK 会根据你在 中设置的模块类型和频率对本地用户发送的视频进行截图和上传。截图完成后,声网服务器会以 HTTPS 请求的形式,向你的服务器发送回调通知,并将所有截图发送至你指定的第三方云存储。

    - 调用该方法前,请确保已开通本地截图上传服务。
    -
    +
    + 调用时机 +

    加入频道前后均可调用。

    +
    +
    + 调用限制 +

    调用该方法前,请确保已开通本地截图上传服务。

    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita b/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita index cce6f40f832..db38aa740cb 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalaccesspoint.dita @@ -25,15 +25,18 @@ Future<void> setLocalAccessPoint(LocalAccessPointConfiguration config);

    -
    - 详情 +

    成功部署声网私有媒体服务器并在内网终端集成 RTC SDK v4.x 后,你可以调用该方法指定 Local Access Point,给 SDK 分配接入模块。

    - -
      -
    • 该方法仅在部署声网混合云方案后生效。你可以联系 了解和部署声网混合云。
    • -
    • 该方法需要在加入频道前调用。
    • -
    -
    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    该方法仅在部署声网混合云方案后生效。你可以联系 了解和部署声网混合云。

    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest3.dita b/dita/RTC-NG/API/api_irtcengine_startechotest3.dita index d154ebf2532..68b46ba4c91 100644 --- a/dita/RTC-NG/API/api_irtcengine_startechotest3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startechotest3.dita @@ -25,18 +25,24 @@ Future<void> startEchoTest(EchoTestConfiguration config);

    -
    - 详情 +

    为测试用户本地发流、收流是否正常,你可以调用该方法进行音视频通话回路测试,即测试系统的音视频设备和用户的上下行网络是否正常。

    -

    开始测试后,用户需发出声音或面对摄像头,音频或视频会在约 2 秒后播放出来。如果音频播放正常,则表示系统音频设备和用户上下行网络均正常; 如果视频播放正常,则表示系统视频设备和用户上下行网络均正常。 - -

      -
    • 该方法在加入频道前后均可调用。在频道内调用时,需确保当前没有发布音视频流。
    • -
    • 调用该方法后,必须调用 结束测试,否则该用户无法进行下一次音视频通话回路测试, 也无法加入频道。
    • -
    • 直播场景下,该方法仅能由主播调用。
    • -

    +

    开始测试后,用户需发出声音或面对摄像头,音频或视频会在约 2 秒后播放出来。如果音频播放正常,则表示系统音频设备和用户上下行网络均正常; 如果视频播放正常,则表示系统视频设备和用户上下行网络均正常。

    -
    +
    + 调用时机 +

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

    +
    +
    + 调用限制 +
      +
    • 在频道内调用该方法时,需确保当前没有发布音视频流。
    • +
    • 调用该方法后,必须调用 结束测试,否则该用户无法进行下一次音视频通话回路测试, 也无法加入频道。
    • +
    • 直播场景下,该方法仅能由主播调用。
    • +
    +

    +

    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita index f20cd326a2a..d1eccc9708b 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -25,24 +25,31 @@ Future<void> startLastmileProbeTest(LastmileProbeConfig config);

    -
    - 详情 +

    开始通话前网络质量探测,向用户反馈上下行网络的带宽、丢包、网络抖动和往返时延数据。

    -

    启用该方法后,SDK 会依次返回如下 2 个回调: +

    +
    + 调用时机 +

    该方法需要在加入频道前调用,用于判断和预测目前的上行网络质量是否足够好。

    +
    +
    + 调用限制 +

    +

      +
    • 调用该方法后,在收到 回调之前请不要调用其他方法,否则可能会由于 API 操作过于频繁导致此方法无法执行。
    • +
    • 在直播场景中,如果本地用户为主播,请勿加入频道后调用该方法。
    • +
    +
    + -
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita index 348636f9b01..4480d6c36d1 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enablecontentinspectex.dita @@ -29,8 +29,7 @@ required ContentInspectConfig config, required RtcConnection connection});

    -
    - 详情 +
    自从
    @@ -38,9 +37,16 @@

    该方法可以对多条视频流截图并上传。开启本地截图上传后,SDK 会根据你在 中设置的模块类型和频率对本地用户发送的视频进行截图和上传。截图完成后,声网服务器会以 HTTPS 请求的形式,向你的服务器发送回调通知,并将所有截图发送至你指定的第三方云存储。

    - 调用该方法前,请确保已开通本地截图上传服务。
    -
    +
    + 调用时机 +

    加入频道前后均可调用。

    +
    +
    + 调用限制 +

    调用该方法前,请确保已开通本地截图上传服务。

    +
    +
    参数 From b2d80003c5cffe8939cbc43af7f41351e7835e3d Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 16:24:24 +0800 Subject: [PATCH 112/146] 1 --- .../API/api_imediaengine_pullaudioframe.dita | 35 +++++++++++-------- .../API/api_irtcengine_pullaudioframe2.dita | 12 ++++--- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita index 6f6b6ea4c99..12e76292986 100644 --- a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita @@ -24,22 +24,27 @@ Future<void> pullAudioFrame(AudioFrame frame);

    -
    - 详情 -

    使用该方法前,你需要调用 (enabled: ) 通知 App 开启并设置外部渲染。

    +

    调用该方法后,App 会采取主动拉取的方式获取远端已解码和混音后的音频数据,用于音频播放。

    - +
    +
    + 调用时机
      -
    • 该方法需要在加入频道后调用。
    • -
    • 该方法和 回调均可用于获取远端混音后的音频数据。需要注意的是:在调用 开启外部音频渲染后,App 将无法从 回调中获得数据,因此,请根据实际的业务需求在该方法和 回调之间进行选择。二者的处理机制不同,具体区别如下: +
    • 使用该方法前,你需要调用 (enabled: ) 开启并设置外部渲染。
    • +
    • 该方法需要在加入频道后调用。
    • +
    +
    +
    + 调用限制 +

    该方法和 回调均可用于获取远端混音后的音频播放数据。在调用 开启外部音频渲染后,App 将无法从 回调中获得数据。因此,请根据实际的业务需求在该方法和 回调之间进行选择。二者的处理机制不同,具体区别如下:

      -
    • 调用该方法后 App 会主动拉取音频数据。通过设置音频数据,SDK 可以调整缓存,帮助 App 处理延时,从而有效避免音频播放抖动。
    • -
    • SDK 通过 回调将音频数据传输给 App。如果 App 处理延时,可能会导致音频播放抖动。
    • -
    -
  • 该方法仅用于拉取远端混音后的音频数据,如需获取采集、播放等不同音频处理阶段的音频数据,可以通过调用 注册相应的回调。
  • -
    -
    - 参数 +
  • 调用该方法后,App 会主动拉取音频数据。通过设置音频数据,SDK 可以调整缓存,帮助 App 处理延时,从而有效避免音频播放抖动。
  • +
  • 注册 后,SDK 通过该回调将音频数据传输给 App。App 在处理音频帧时的延迟可能会导致音频播放抖动。
  • +

    +

    该方法仅用于拉取远端混音后的音频播放数据,如需获取采集的原始音频数据、混音前每条拉流单独的原始音频播放数据等,可以通过调用 注册相应的回调。

    +
    +
    + 参数 frame @@ -69,5 +74,5 @@
  • 方法调用成功,返回一个 对象。
  • 方法调用失败,返回错误码。
  • - - + + \ No newline at end of file diff --git a/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita index 42769e03bfc..dc2a32dab1c 100644 --- a/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pullaudioframe2.dita @@ -23,17 +23,19 @@

    -
    -
    +
    +
    +
    +
    参数 data 待拉取的远端音频数据,数据类型为 ByteBuffer - - lengthInByte - 远端音频数据长度,单位为字节。 该参数的值由音频数据时长、sampleRatechannels 参数确定。lengthInByte = sampleRate/1000 × 2 × channels × 音频数据时长 (ms)。 + + +
    From 3cdbbc56d7a68ed36d978fef6437f5a28d60228e Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 16:39:53 +0800 Subject: [PATCH 113/146] 1 --- ..._imediaengine_setexternalaudiosource2.dita | 39 ++++++++-------- ...api_irtcengine_setexternalaudiosource.dita | 44 ++++++------------- 2 files changed, 33 insertions(+), 50 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita index 17400b8247c..c51f1373389 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita @@ -48,54 +48,55 @@ bool publish = true});

    -
    - 详情 +
    弃用:
    该方法已废弃,请改用
    - 请在加入频道前调用该方法。
    -
    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 - + enabled - -

    是否开启使用外部音频源的功能: - + 是否开启使用外部音频源的功能:

    • :开启外部音频源。
    • :(默认)关闭外部音频源。
    • -

    +
    - + sampleRate 外部音频源的采样率 (Hz),可设置为 800016000320004410048000 - + channels 外部音频源的声道数,可设置为 1(单声道)或 2(双声道)。 localPlayback - -

    是否在本地播放外部音频源: - + 是否在本地播放外部音频源:

    • :在本地播放。
    • :(默认)不在本地播放。
    • -

    +
    publish - -

    是否将音频发布到远端: - -

      + 是否将音频发布到远端: +
      • :(默认)发布到远端。
      • :不发布到远端。

      diff --git a/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita b/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita index ed3490a0235..e126932dcd5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita +++ b/dita/RTC-NG/API/api_irtcengine_setexternalaudiosource.dita @@ -25,41 +25,23 @@

    -
    - 详情 -
    - -
    弃用:
    -
    该方法已废弃,请改用
    -
    -
    -

    请在 前调用该方法。

    -
    -
    +
    +
    +
    +
    参数 - - enabled - -
      -
    • : 开启使用外部音频源的功能。
    • -
    • : (默认)关闭使用外部音频源的功能。
    • -
    + + + - - sampleRate - 外部音频源的采样率 (Hz),可设置为 8000,16000,32000,44100 或 48000。 + + + - - channels - -

    外部音频源的通道数,可设置为 1 或 2: - -

      -
    • 1: 单声道
    • -
    • 2: 双声道
    • -

    -
    + + +
    From 3ebee82f30608c9dc3d490fbc815dcef14b101a7 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Wed, 3 Jul 2024 16:47:13 +0800 Subject: [PATCH 114/146] =?UTF-8?q?api=20=E4=BB=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../API/api_irtcengine_pauseaudiomixing.dita | 13 ++- .../API/api_irtcengine_resumeaudiomixing.dita | 13 ++- .../API/api_irtcengine_setainsmode.dita | 46 ++++++----- .../api_irtcengine_setaudiomixingpitch.dita | 17 ++-- .../API/api_irtcengine_startaudiomixing.dita | 80 +++++++------------ .../API/api_irtcengine_startaudiomixing2.dita | 67 ++++++++-------- .../API/api_irtcengine_stopaudiomixing.dita | 13 ++- ..._irtcengineeventhandler_onuseroffline.dita | 34 +++++--- dita/RTC-NG/API/rtc_api_overview.dita | 2 +- .../config/keys-rtc-ng-links-flutter.ditamap | 4 +- .../config/keys-rtc-ng-links-rn.ditamap | 8 +- .../config/keys-rtc-ng-links-unity.ditamap | 4 +- 12 files changed, 160 insertions(+), 141 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita index 99865625371..245fcbbe43f 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseaudiomixing.dita @@ -25,9 +25,16 @@ Future<void> pauseAudioMixing();

    -
    - 详情 -

    请在加入频道后调用该方法。

    +
    +

    当你调用 方法播放音乐文件后,如需暂停播放,请调用该方法。如果你需要停止播放,请调用

    +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    无。

    <ph keyref="return-section-title"/> diff --git a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita index 7ff2e9fed41..3ba851539b4 100644 --- a/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_resumeaudiomixing.dita @@ -25,9 +25,16 @@ Future<void> resumeAudioMixing();

    -
    - 详情 -

    该方法恢复混音,继续播放音乐文件。请在频道内调用该方法。

    +
    +

    当你调用 暂停播放音乐文件后,如需恢复播放,请调用该方法。

    +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    无。

    <ph keyref="return-section-title"/> diff --git a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita index 33e39512b69..e187adee2f2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setainsmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setainsmode.dita @@ -25,33 +25,39 @@ Future<void> setAINSMode( {required bool enabled, required AudioAinsMode mode});

    -
    - 详情 +
    - -
    自从
    -
    v4.2.0
    -
    + +
    自从
    +
    v4.2.0
    +

    你可以调用开方法来开启 AI 降噪功能。该功能可以在保证语音质量的前提下,智能化检测并降低周围环境中多种稳态与非稳态噪声,使人声更加清晰。 -稳态噪声指在任何时间点上都具有相同频率的噪声,常见的稳态噪声有: -

    • 电视机噪声
    • -
    • 空调噪声
    • -
    • 工厂机器噪声等
    -非稳态噪声是指随时间而快速变化的噪声,常见的非稳态噪声有: -
    • 雷声
    • -
    • 爆炸声
    • -
    • 破裂声等

    - -
    • 该方法依赖于 AI 降噪动态库 ,如果删除该动态库会导致无法正常开启该功能。
    • -
    • 该方法依赖于 AI 降噪动态库,如果删除该动态库会导致无法正常开启该功能。AI 降噪动态库名称见
    • -
    • 目前暂不推荐在 Android 6.0 及以下版本的设备上开启该功能。
    + 稳态噪声指在任何时间点上都具有相同频率的噪声,常见的稳态噪声有: +
    • 电视机噪声
    • +
    • 空调噪声
    • +
    • 工厂机器噪声等
    + 非稳态噪声是指随时间而快速变化的噪声,常见的非稳态噪声有: +
    • 雷声
    • +
    • 爆炸声
    • +
    • 破裂声等
    +

    -
    +
    适用场景

    在语音连麦、在线教育、在线会议等场景中,如果周围环境比较嘈杂,AI 降噪功能可以在保证语音质量的前提下,识别并降低周围的稳态噪声和非稳态噪声,提高语音质量和体验。

    -
    +
    + 调用时机 +

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

    +
    +
    + 调用限制 +
    • 该方法依赖于 AI 降噪动态库 ,如果删除该动态库会导致无法正常开启该功能。
    • +
    • 该方法依赖于 AI 降噪动态库,如果删除该动态库会导致无法正常开启该功能。AI 降噪动态库名称见
    • +
    • 目前暂不推荐在 Android 6.0 及以下版本的设备上开启该功能。
    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita index 1ea4efffa52..6c74142a137 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingpitch.dita @@ -25,11 +25,18 @@ Future<void> setAudioMixingPitch(int pitch);

    -
    - 详情 -

    本地人声和播放的音乐文件混音时,调用该方法可以仅调节音乐文件的音调。

    - 你需要在调用 并收到 () 回调后调用该方法。
    -
    +
    +

    本地人声和播放的音乐文件混音时,调用该方法可以仅调节音乐文件的音调。

    +
    +
    + 调用时机 +

    你需要在调用 并收到 () 回调后调用该方法。

    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index 0d1118cc13e..0c50cd4a9f1 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -34,28 +34,23 @@ int startPos = 0});

    -
    - 详情 -
    - -
    弃用:
    -
    请改用
    -
    -
    -

    该方法支持将本地或在线音乐文件和麦克风采集的音频进行混音或替换。成功播放音乐文件后,本地会触发 () 回调。播放结束后,本地会触发 () 回调。

    -

    该方法支持播放以 content:// 开头的 URI 文件。

    - -
      -
    • 该方法在加入频道前后均可调用。如需多次调用 ,请确保调用间隔大于 500 ms。
    • -
    • 如果本地音乐文件不存在、文件格式不支持或无法访问在线音乐文件 URL,则 SDK 会报告警告码 701。
    • -
    • 在 Android 平台上调用该方法时,请注意如下事项: -
        -
      • 请确保使用 Android 4.2 或以上设备,且 API Level 不低于 16。
      • -
      • 如果播放的是在线音乐文件,建议不要使用重定向地址。重定向地址在某些机型上可能无法打开。
      • -
      • 如果在模拟器上调用该方法,则请确保音乐文件在 /sdcard/ 目录下,且格式为 MP3。
      • -
    • -
    -
    +
    +
    + +
    弃用:
    +
    请改用
    +
    +
    +

    该方法支持播放的音频文件格式见 RTC SDK 支持播放哪些格式的音频文件。如果本地音乐文件不存在、文件格式不支持或无法访问在线音乐文件 URL,则 SDK 会报告警告码 701。

    +

    该方法支持播放以 content:// 开头的 URI 文件。支持的音频格式详见 RTC SDK 支持播放哪些格式的音频文件。如果本地音乐文件不存在、文件格式不支持或无法访问在线音乐文件 URL,则 SDK 会报告警告码 701。

    +
    +
    +
    +
    +
    + +
    参数 @@ -63,40 +58,19 @@ - filePath - -

    - + + - - loopback - -

    是否只在本地播放音乐文件: - -

      -
    • : 只在本地播放音乐文件,只有本地用户能听到音乐。
    • -
    • : 将本地播放的音乐文件发布至远端,本地用户和远端用户都能听到音乐。
    • -

    -
    + + + - - cycle - -

    音乐文件的播放次数。 - -

      -
    • ≥ 0: 播放次数。例如,0 表示不播放;1 表示播放 1 次。
    • -
    • -1: 无限循环播放。
    • -

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

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

    -
      -
    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败。详见了解详情和解决建议。
    • -
    +
    +
    diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index 89b6584e891..3bad5f1f4ff 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -39,53 +39,56 @@ int startPos = 0});

    -
    - 详情 -

    该方法支持将本地或在线音乐文件和麦克风采集的音频进行混音或替换。成功播放音乐文件后,本地会触发 () 回调。播放结束后,本地会触发 () 回调。

    -

    该方法支持播放以 content:// 开头的 URI 文件。

    - -
      -
    • 该方法在加入频道前后均可调用。如需多次调用 ,请确保调用间隔大于 500 ms。
    • -
    • 如果本地音乐文件不存在、文件格式不支持或无法访问在线音乐文件 URL,则 SDK 会报告警告码 701。
    • -
    • 该方法支持的音频文件格式见 RTC SDK 支持播放哪些格式的音频文件
    • -
    • -
    • 在 Android 平台上调用该方法时,请注意如下事项: - +
      +

      该方法支持播放的音频文件格式见 RTC SDK 支持播放哪些格式的音频文件。如果本地音乐文件不存在、文件格式不支持或无法访问在线音乐文件 URL,则 SDK 会报告警告码 701。

      +

      该方法支持播放以 content:// 开头的 URI 文件。支持的音频格式详见 RTC SDK 支持播放哪些格式的音频文件。如果本地音乐文件不存在、文件格式不支持或无法访问在线音乐文件 URL,则 SDK 会报告警告码 701。

      +
      +
      + 调用时机 +

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

      +
      +
      + 调用限制
        -
      • 请确保使用 Android 4.2 或以上设备,且 API Level 不低于 16。
      • -
      • 如果播放的是在线音乐文件,建议不要使用重定向地址。重定向地址在某些机型上可能无法打开。
      • -
      • 如果在模拟器上调用该方法,则请确保音乐文件在 /sdcard/ 目录下,且格式为 MP3。
      • -
    • -
    -
    +
  • 如需多次调用该方法,请确保调用间隔大于 500 ms。
  • +
  • 在 Android 平台上调用该方法时,请注意如下事项: +
      +
    • 请确保使用 Android 4.2 或以上设备,且 API Level 不低于 16。
    • +
    • 如果播放的是在线音乐文件,建议不要使用重定向地址。重定向地址在某些机型上可能无法打开。
    • +
    • 如果在模拟器上调用该方法,则请确保音乐文件在 /sdcard/ 目录下,且格式为 MP3。
    • +
  • + +
    + +
    参数 - + loopback

    是否只在本地播放音乐文件:

      -
    • : 只在本地播放音乐文件,只有本地用户能听到音乐。
    • -
    • : 将本地播放的音乐文件发布至远端,本地用户和远端用户都能听到音乐。
    • +
    • :只在本地播放音乐文件,只有本地用户能听到音乐。
    • +
    • :将本地播放的音乐文件发布至远端,本地用户和远端用户都能听到音乐。

    - + cycle

    音乐文件的播放次数。 - - - -

      -
    • ≥ 0: 播放次数。例如,0 表示不播放;1 表示播放 1 次。
    • -
    • -1: 无限循环播放。
    • -

    +
      +
    • >0: 播放次数。例如,1 表示播放 1 次。
    • +
    • -1: 无限循环播放。
    • +

    @@ -98,10 +101,10 @@

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

    • 0: 方法调用成功。
    • -
    • < 0: 方法调用失败 +
    • < 0: 方法调用失败:
        -
      • -1: 一般性的错误(未明确归类)。
      • -
      • -2: 设置了无效的参数。
      • +
      • -1:一般性的错误(未明确归类)。
      • +
      • -2:设置了无效的参数。
      • -3:SDK 尚未准备好:
        • 请检查是否已开启音频模块。
        • 请检查程序集完整性。
        • diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita index bd290e64502..da98c7894e4 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiomixing.dita @@ -25,9 +25,16 @@ Future<void> stopAudioMixing();

    -
    - 详情 -

    该方法停止播放音乐文件。请在频道内调用该方法。

    +
    +

    当你调用 方法播放音乐文件后,如需停止播放,可调用该方法。如果仅需暂停播放,请调用

    +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    无。

    <ph keyref="return-section-title"/> diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index 429d6af9b2c..a0468df4b9a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -2,7 +2,7 @@ <ph keyref="onUserOffline" /> - 远端用户(通信场景)/主播(直播场景)离开当前频道回调。 + 远端用户或主播离开当前频道回调。 @@ -38,14 +38,22 @@ UserOfflineReasonType reason)? onUserOffline;

    -
    -

    用户离开频道有两个原因: -

      -
    • 正常离开:远端用户/主播会发送类似“再见”的消息。接收此消息后,判断用户离开频道。
    • -
    • 超时掉线:在一定时间内(通信场景为 20 秒,直播场景稍有延时),用户没有收到对方的任何数据包,则判定为对方掉线。在网络较差的情况下,有可能会误报。建议使用云信令 SDK 来做可靠的掉线检测。
    • -

    +
    +

    用户离开频道一般有以下两个原因: +

      +
    • 正常离开:远端用户或主播会发送类似“再见”的消息然后主动离开频道。
    • +
    • 超时掉线:在一定时间内(通信场景为 20 秒,直播场景稍有延时),用户没有收到对方的任何数据包,则判定为对方掉线。在网络较差的情况下,有可能会误报。建议使用 RTM SDK 来做可靠的掉线检测。
    • +

    -
    +
    + 触发时机 +

    在音视频互动过程中,当远端用户或主播离开当前频道时会触发该回调。

    +
    +
    + 使用限制 +

    无。

    +
    +
    <ph keyref="callback-section-title" /> @@ -59,16 +67,16 @@ uid remoteUid - 离线用户或主播的用户 ID。 + 离线的远端用户或主播的 ID。 reason -

    离线原因:

    -

    远端用户(通信场景)或主播(直播场景)下线的原因: +

    离线原因,详见

    +

    远端用户或主播离线的原因:

      -
    • (0):用户主动离开。此时离开频道的用户会发送一个类似“再见”的消息。收到该消息是,SDK 判定该用户离开频道。
    • -
    • (1):因过长时间收不到对方数据包,SDK 判定该远端用户超时掉线。注意:在网络连接不稳定时,该判定 可能会有误。建议使用实时消息 SDK 来做可靠的掉线检测。
    • +
    • (0):用户主动离开。此时离开频道的用户会发送一个类似“再见”的消息。
    • +
    • (1):因过长时间收不到对方数据包,SDK 判定该远端用户超时掉线。注意:在网络连接不稳定时,该判定可能会有误。建议使用 RTM SDK 来做可靠的掉线检测。
    • (2):用户的角色从主播切换为观众。

    diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index e06396db4d4..6f771326b09 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -412,7 +412,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap index 6e8051f248a..873d2b7c715 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-links-flutter.ditamap @@ -47,10 +47,10 @@ - + - 减小 App 体积 + 插件列表 diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap index ec6035d937d..2859fb21218 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-links-rn.ditamap @@ -33,7 +33,7 @@ 使用 Token 鉴权 - + @@ -47,11 +47,11 @@ 错误码 - - + + - 减小 App 体积 + 插件列表 diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap index d825aa60085..86b36183034 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-links-unity.ditamap @@ -48,10 +48,10 @@ - + - 减小 App 体积 + 插件列表 From 88a0d0aff9e8e4adfdee34329d51ab5475b10a74 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 17:12:46 +0800 Subject: [PATCH 115/146] 1 --- .../API/api_imediaengine_pushaudioframe0.dita | 20 +++++++++----- .../API/api_irtcengine_pushaudioframe2.dita | 26 ++++++++++--------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita b/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita index 4faa87d4c92..92869fbec24 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita @@ -23,15 +23,21 @@ Future<void> pushAudioFrame({required AudioFrame frame, int trackId = 0});

    -
    - 详情 - +

    调用该方法推送外部音频数据前,请先进行以下操作:

    1. 调用 创建音频轨道并获得音频轨道 ID。
    2. 调用 加入频道时,将 中的 publishCustomAudioTrackId 设置为你想要发布的音频轨道 ID,并将 publishCustomAudioTrack 设置为

    -
    -
    +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 @@ -46,8 +52,8 @@
    <ph keyref="return-section-title"/>

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

    -
      -
    • 0:方法调用成功。
    • +
        +
      • 0:方法调用成功。
      • < 0:方法调用失败。详见了解详情和解决建议。
    diff --git a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index 2765d5e34f1..0b0c01f2f4b 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -29,15 +29,21 @@

    -
    - 详情 - +

    调用该方法推送外部音频数据前,请先进行以下操作:

    1. 调用 创建音频轨道并获得音频轨道 ID。
    2. 调用 加入频道时,将 中的 publishCustomAudioTrackId 设置为你想要发布的音频轨道 ID,并将 publishCustomAudioTrack 设置为

    -
    -
    +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 @@ -54,15 +60,11 @@ sampleRate - 外部音频渲染的采样率 (Hz),可设置为 8000,16000,32000,44100 或 48000。 + 外部音频源的采样率 (Hz),可设置为 800016000320004410048000 channels - 外部音频渲染的声道数: -
      -
    • 1: 单声道
    • -
    • 2: 双声道
    • -
    + 外部音频源的声道数,可设置为 1(单声道)或 2(双声道)。
    bytesPerSample @@ -70,7 +72,7 @@ trackId - 音频轨道 ID。将该参数设置为 方法中返回的自定义音频轨道 ID。 + 音频轨道 ID。将该参数设置为 方法中返回的自定义音频轨道 ID。
    From 12c33e32b11861dc4b38f84efc2c7017014bd400 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 18:15:59 +0800 Subject: [PATCH 116/146] 1 --- dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita | 12 +++++------- .../api_imediaengine_setexternalaudiosource2.dita | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita index 12e76292986..fcd436dc495 100644 --- a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita @@ -26,25 +26,23 @@

    调用该方法后,App 会采取主动拉取的方式获取远端已解码和混音后的音频数据,用于音频播放。

    + 调用该方法前,你需要调用 (enabled: ) 开启并设置外部渲染。
    调用时机 -
      -
    • 使用该方法前,你需要调用 (enabled: ) 开启并设置外部渲染。
    • -
    • 该方法需要在加入频道后调用。
    • -
    +

    该方法需要在加入频道后调用。

    调用限制

    该方法和 回调均可用于获取远端混音后的音频播放数据。在调用 开启外部音频渲染后,App 将无法从 回调中获得数据。因此,请根据实际的业务需求在该方法和 回调之间进行选择。二者的处理机制不同,具体区别如下:

    • 调用该方法后,App 会主动拉取音频数据。通过设置音频数据,SDK 可以调整缓存,帮助 App 处理延时,从而有效避免音频播放抖动。
    • -
    • 注册 后,SDK 通过该回调将音频数据传输给 App。App 在处理音频帧时的延迟可能会导致音频播放抖动。
    • +
    • 注册 后,SDK 通过该回调将音频数据传输给 App。App 在处理音频帧的延迟时,可能会导致音频播放抖动。

    该方法仅用于拉取远端混音后的音频播放数据,如需获取采集的原始音频数据、混音前每条拉流单独的原始音频播放数据等,可以通过调用 注册相应的回调。

    - 参数 + <ph props="android apple cpp unreal bp flutter unity cs">参数</ph> frame @@ -75,4 +73,4 @@
  • 方法调用失败,返回错误码。
  • - \ No newline at end of file + diff --git a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita index c51f1373389..6e803ccaa8d 100644 --- a/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita +++ b/dita/RTC-NG/API/api_imediaengine_setexternalaudiosource2.dita @@ -99,7 +99,7 @@
    • :(默认)发布到远端。
    • :不发布到远端。
    • -

    +
    From bce9b0d058843cab8f5b41509be12b3db44b1935 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Thu, 4 Jul 2024 15:03:19 +0800 Subject: [PATCH 117/146] Update callback_irtcengineeventhandler_onclientrolechangefailed.dita --- ...ngineeventhandler_onclientrolechangefailed.dita | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index 6d6523d7632..ee27c3d349b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -61,8 +61,18 @@
  • (1): 频道内主播人数达到上限。 该枚举仅在开启 128 人功能后报告。主播人数的上限根据开启 128 人功能时实际配置的人数而定。
  • (2): 请求被服务端拒绝。建议提示用户重新尝试切换用户角色。
  • -
  • (3): (已废弃)请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。
  • -
  • (4): (已废弃)网络连接断开。可根据 报告的 reason,排查网络连接失败的具体原因。
  • +
  • (3): 请求超时。建议提示用户检查网络连接状况后重新尝试切换用户角色。 +
    + +
    废弃:
    +
    该枚举值自 v4.4.0 起废弃,不建议使用。
    +
  • +
  • (4): 网络连接断开。可根据 报告的 reason,排查网络连接失败的具体原因。 +
    + +
    废弃:
    +
    该枚举值自 v4.4.0 起废弃,不建议使用。
    +
  • From 4c95a03f152ceaebb8d3c1431abd8ebc55782883 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 4 Jul 2024 16:12:25 +0800 Subject: [PATCH 118/146] ld batch3 --- ...ine_registervideoencodedframeobserver.dita | 2 +- ...ediaengine_registervideoframeobserver.dita | 31 +++++++++------- .../API/api_irtcengine_enableencryption.dita | 23 ++++++++---- ...rtcengine_enableinstantmediarendering.dita | 14 +++++--- dita/RTC-NG/API/api_irtcengine_getcallid.dita | 17 ++++++--- .../api_irtcengine_setlocalrendermode2.dita | 35 ++++++++++++------- ...ngine_setremotedefaultvideostreamtype.dita | 21 ++++++----- .../API/api_irtcengine_setuplocalvideo.dita | 28 ++++++++++----- .../api_irtcengineex_enableencryptionex.dita | 13 +++---- .../API/api_irtcengineex_getcallidex.dita | 12 ++++--- dita/RTC-NG/API/enum_rendermodetype.dita | 4 +-- 11 files changed, 129 insertions(+), 71 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita index eabcb6fd32f..8f4452dbdef 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoencodedframeobserver.dita @@ -46,7 +46,7 @@

      -
    • 请在加入频道前调用该方法。
    • +
    • 该方法需要在加入频道前调用。
    参数 diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita index 165007c38ad..d766b25831d 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -23,24 +23,29 @@ void registerVideoFrameObserver(VideoFrameObserver observer);

    -
    - 详情 +

    如果你想要观测原始视频帧 (如 YUV 或 RGBA 格式),声网推荐你通过该方法注册一个 类。

    调用该方法注册视频观测器时,你可以根据需要注册 类中的回调。在成功注册视频观测器后,SDK 会在捕捉到每个视频帧时,触发你所注册的上述回调。

    - -

      -
    • 该方法需要在加入频道前调用。
    • -
    • 在处理回调时,你需要考虑视频帧中 widthheight 参数的变化,因为观测得到的视频帧可能会随以下情况变化: - -
        +
    +
    + 适用场景 +

    注册原始视频观测器后,你可以将获取到的原始视频数据应用于各种视频前处理场景,例如自行实现虚拟背景、美颜等场景。

    +

    声网在 GitHub 上提供了开源的示例项目 供你参考。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +

    在处理回调时,你需要考虑视频帧中 widthheight 参数的变化,因为观测得到的视频帧可能会随以下情况变化: +

    • 当网络状况差时,分辨率会阶梯式下降。
    • 当用户自行调整分辨率时,回调中报告的分辨率也会变化。
    • -
    - - 注册原始视频观测器后,你可以将获取到的原始视频数据应用于各种视频前处理场景,例如自行实现虚拟背景、美颜等场景,声网在 GitHub 上提供了开源的示例项目 供你参考。 -
    -
    +

    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita index d402b51f5e0..6d084d2cf2f 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableencryption.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableencryption.dita @@ -26,12 +26,23 @@ {required bool enabled, required EncryptionConfig config});

    -
    - 详情 -

    在安全要求较高的场景下,建议你在加入频道前,调用本方法开启内置加密。

    -

    同一频道内所有用户必须使用相同的加密模式和密钥。用户离开频道后,SDK 会自动关闭加密。如需重新开启加密,你需要在用户再次加入频道前调用该方法。

    - 如果开启了内置加密,则不能使用旁路推流功能。
    -
    +
    +

    用户离开频道后,SDK 会自动关闭加密。如需重新开启加密,你需要在用户再次加入频道前调用该方法。

    +
    +
    + 适用场景 +

    对安全要求较高的场景。

    +
    +
    + 调用时机 +

    该方法需要在加入频道前调用。

    +
    +
    + 调用限制 +
    • 同一频道内的所有用户在调用该方法时,必须设置相同的加密模式和密钥。
    • +
    • 如果开启了内置加密,则不能使用旁路推流功能。
    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita index c4f1e2f7be0..324c6664bea 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableinstantmediarendering.dita @@ -24,8 +24,7 @@ abstract enableInstantMediaRendering(): number; Future<void> enableInstantMediaRendering();

    -
    - 详情 +
    自从
    @@ -33,12 +32,19 @@

    成功调用该方法后,SDK 会开启加速出图和出声模式,可加快用户加入频道后的首帧出图与出声速度。

    - 一旦开启快速渲染功能,只能通过调用 方法销毁 对象来取消。
    -
    +
    适用场景

    声网推荐在直播场景下,对观众开启该模式。

    +
    + 调用时机 +

    声网建议你在加入频道前调用该方法。

    +
    +
    + 调用限制 +

    一旦成功调用该方法,只能通过调用 方法销毁 对象来取消。

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

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

    diff --git a/dita/RTC-NG/API/api_irtcengine_getcallid.dita b/dita/RTC-NG/API/api_irtcengine_getcallid.dita index d84706b68be..ea92738818c 100644 --- a/dita/RTC-NG/API/api_irtcengine_getcallid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getcallid.dita @@ -25,12 +25,19 @@ Future<String> getCallId();

    -
    - 详情 +

    客户端在每次加入频道后会生成一个对应的 callId,标识该客户端的此次通话。你可以调用该方法获取 callId 参数,然后在调用 等方法时填入。

    - 该方法需要在加入频道后调用。
    -
    - 参数 +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    无。

    +
    +
    + 参数 callId diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index ab6398eae89..34147f0d7f2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -35,17 +35,21 @@ VideoMirrorModeType.videoMirrorModeAuto});

    -
    - 详情 +

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

    - -
      -
    • 请在调用 方法初始化本地视图后,调用该方法。
    • -
    • 你可以在通话中多次调用该方法,多次更新本地用户视图的显示模式。
    • -
    • 该方法仅对第一个摄像头 () 生效。在自定义视频采集或使用其他类型视频源的场景下,你需要使用 方法替代该方法。
    • -
    -
    - 参数 +
    +
    + 调用时机 +
    • 请在调用 方法初始化本地视图后,调用该方法。
    • +
    • 你可以在通话中多次调用该方法,多次更新本地用户视图的显示模式。
    +
    +
    + 调用限制 +

    该方法仅对第一个摄像头 () 生效。在自定义视频采集或使用其他类型视频源的场景下,你需要使用 方法替代该方法。

    +

    无。

    +
    +
    + 参数 renderMode @@ -57,12 +61,19 @@
    • (1):优先保证视窗被填满。视频尺寸等比缩放,直至整个视窗被视频填满。如果视频长宽与显示窗口不同,多出的视频将被截掉。
    • (2):优先保证视频内容全部显示。视频尺寸等比缩放,直至视频窗口的一边与视窗边框对齐。如果视频长宽与显示窗口不同,视窗上未被填满的区域将被涂黑。
    • -
    • (3): 该模式已废弃,不推荐使用。
    • +
    • (3): 匹配模式。 +
      + +
      弃用:
      +
      该枚举已废弃,不推荐使用。
      +
      +
      +

    - mirrorMode + mirrorMode mirror

    本地视图的镜像模式,详见 。 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index 91ed6bad90e..b3e15f8f1ad 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -25,8 +25,7 @@ Future<void> setRemoteDefaultVideoStreamType(VideoStreamType streamType);

    -
    - 详情 +
    弃用:
    @@ -35,13 +34,17 @@

    - -

      -
    • 该方法只能在加入频道前调用。SDK 不支持你在加入频道后修改默认订阅的视频流类型。
    • -
    • 如果你既调用了该方法,也调用了 ,则 SDK 以 中的设置为准。
    • -
    -
    - 参数 +
    +
    + 调用时机 +

    该方法只能在加入频道前调用。SDK 不支持你在加入频道后修改默认订阅的视频流类型。

    +
    +
    + 调用限制 +

    如果你既调用了该方法,也调用了 ,则 SDK 以 中的设置为准。

    +
    +
    + 参数 streamType diff --git a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita index 131d4c59a8c..3ab5c1e05f9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita +++ b/dita/RTC-NG/API/api_irtcengine_setuplocalvideo.dita @@ -17,7 +17,7 @@ public abstract setupLocalVideo(canvas: VideoCanvas): number; - (int)setupLocalVideo:(AgoraRtcVideoCanvas * _Nullable)local; virtual int setupLocalVideo(const VideoCanvas& canvas) = 0; - UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") + UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") int SetupLocalVideo(const FVideoCanvas& canvas); abstract setupLocalVideo(canvas: VideoCanvas): number; public abstract int SetupLocalVideo(VideoCanvas canvas); @@ -25,24 +25,34 @@ Future<void> setupLocalVideo(VideoCanvas canvas);

    -
    - 详情 +

    该方法初始化本地视图并设置本地用户视频显示属性,只影响本地用户看到的视频画面,不影响本地发布视频。调用该方法绑定本地视频流的显示视窗(view),并设置本地用户视图的渲染模式和镜像模式。

    -

    在 App 开发中,通常在初始化后调用该方法进行本地视频设置,然后再加入频道。退出频道后,绑定仍然有效,如果需要解除绑定,可以调用该方法将参数 view 设为

    -

    在实时互动场景下,如果你需要在本地视频预览的画面中同时看到多个预览画面、且不同画面分别处于视频链路上不同观测点,可以重复调用该方法设置不同的 view,并针对每个 view 设置不同的观测位置。例如:将视频源设置为摄像头,然后对应两个 view 分别设置 position,即可在本地视频预览中同时看到没有经过视频前处理的原始画面和已经过视频前处理(美颜、虚拟背景、水印本地预览)的画面。

    +

    退出频道后,绑定仍然有效,如果需要解除绑定,可以调用该方法将参数 view 设为

    • 如果你想要在原生窗口上渲染图像,请调用此方法;如果你仅需在 Unity 项目内渲染图像,可直接通过 类来实现。
    • -
    • 该方法在加入频道前后都能调用。
    • 如果你希望在通话中更新本地用户视图的渲染或镜像模式,请使用 方法。
    • 如果想要停止渲染视图,需要将 view 设为 后再次调用该方法,以停止渲染并清理渲染缓存。
    -
    - 参数 +
    + 适用场景 +

    在 App 开发中,通常在初始化后调用该方法进行本地视频设置,然后再加入频道。

    +

    如果你需要在本地视频预览的画面中同时看到多个预览画面、且不同画面分别处于视频链路上不同观测点,可以重复调用该方法设置不同的 view,并针对每个 view 设置不同的观测位置。例如:将视频源设置为摄像头,然后对应两个 view 分别设置 position,即可在本地视频预览中同时看到没有经过视频前处理的原始画面和已经过视频前处理(美颜、虚拟背景、水印本地预览)的画面。

    +
    +
    + 调用时机 +

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

    +
    +
    + 调用限制 +

    无。

    +
    +
    + 参数 - canvas + canvas local 本地视频显示属性。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita index 2128f7e4a26..34d3fbb33ac 100644 --- a/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita @@ -35,19 +35,20 @@ required bool enabled, required EncryptionConfig config});

    -
    - 详情 +
    自从
    v4.3.1
    -

    -

    +

    用户离开频道后,SDK 会自动关闭加密。如需重新开启加密,你需要在用户再次加入频道前调用该方法。

    -
    - 参数 +
    +
    +
    +
    + 参数 diff --git a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita index 2350e31c4cf..fa19a1fb744 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getcallidex.dita @@ -23,8 +23,7 @@ abstract getCallIdEx(connection: RtcConnection): string; Future<String> getCallIdEx(RtcConnection connection);

    -
    - 详情 +
    自从
    @@ -32,9 +31,14 @@

    -

    -
    +
    +
    +
    + 调用限制 +

    无。

    +
    +
    参数 diff --git a/dita/RTC-NG/API/enum_rendermodetype.dita b/dita/RTC-NG/API/enum_rendermodetype.dita index 6d2d1bb2306..e9ceffe5f26 100644 --- a/dita/RTC-NG/API/enum_rendermodetype.dita +++ b/dita/RTC-NG/API/enum_rendermodetype.dita @@ -21,11 +21,11 @@ - + 3:匹配模式。
    弃用:
    -
    3: 该模式已弃用。
    +
    该枚举已废弃,不推荐使用。
    From 07963f5d133733109ef3e8104a0ca2ce013a9fef Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 4 Jul 2024 17:37:36 +0800 Subject: [PATCH 119/146] update --- dita/RTC-NG/API/rtc_lite_api.dita | 14 ++++++++++---- dita/RTC-NG/release/release_notes.dita | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/dita/RTC-NG/API/rtc_lite_api.dita b/dita/RTC-NG/API/rtc_lite_api.dita index c25820a0ce3..0c07c103229 100644 --- a/dita/RTC-NG/API/rtc_lite_api.dita +++ b/dita/RTC-NG/API/rtc_lite_api.dita @@ -111,9 +111,17 @@
  • -
  • +
  • 中,以下跟屏幕采集相关的参数设置无效: +
      +
    • publishScreenCaptureVideo
    • +
    • publishScreenCaptureAudio
    • +
  • -
  • +
  • 中,以下跟屏幕采集相关的参数设置无效: +
      +
    • publishScreenCaptureVideo
    • +
    • publishScreenCaptureAudio
    • +
  • @@ -327,7 +335,6 @@
  • -
  • @@ -535,7 +542,6 @@
  • -
  • diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index 48c1390fae9..9e17c13e2d5 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -50,7 +50,7 @@
  • Lite SDK

    自该版本起,声网推出 Lite 版 SDK,该 SDK 中仅包含音视频基础能力、对高阶音视频处理的功能进行部分裁剪,可有效减少集成 SDK 后的 App 体积。

      -
    • Lite SDK 支持手动集成或三方仓库集成,详见
    • +
    • Lite SDK 支持手动集成或三方仓库集成,详见
    • Lite SDK 包含的动态库信息详见
    • Lite SDK 支持的 API 清单详见 Lite SDK API 列表Lite SDK API 列表
  • From 54f0ab6a10d0480796e4eb33fed8bbf4f6f236ad Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 4 Jul 2024 18:36:17 +0800 Subject: [PATCH 120/146] add ALPHA_STITCH_MODE --- dita/RTC-NG/API/class_externalvideoframe.dita | 2 +- dita/RTC-NG/API/class_videoframe.dita | 20 ++++----- dita/RTC-NG/API/enum_alphastitchmode.dita | 40 ++++++++++++++++++ .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 42 +++++++++++++++++++ .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 42 +++++++++++++++++++ .../config/keys-rtc-ng-api-macos.ditamap | 42 +++++++++++++++++++ 6 files changed, 176 insertions(+), 12 deletions(-) create mode 100644 dita/RTC-NG/API/enum_alphastitchmode.dita diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 472a78ae077..9cf108d1bee 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -75,7 +75,7 @@ @property(strong, nonatomic) IMAGE_CLASS * _Nullable image; @property(strong, nonatomic) NSData *_Nullable dataBuf; @property(strong, nonatomic) NSData *_Nullable alphaBuf; -@property(assign, nonatomic) int alphaStitchMode; +@property(assign, nonatomic) AgoraAlphaStitchMode alphaStitchMode; @property(assign, nonatomic) int cropLeft; @property(assign, nonatomic) int cropTop; @property(assign, nonatomic) int cropRight; diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 827dc09ae50..329f1fbc6e2 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -39,9 +39,7 @@ @CalledByNative("I422Buffer") int getStrideU(); @CalledByNative("I422Buffer") int getStrideV(); } - public interface RgbaBuffer extends Buffer { - @CalledByNative("RgbaBuffer") ByteBuffer getData(); - } + public interface RgbaBuffer extends Buffer { @CalledByNative("RgbaBuffer") ByteBuffer getData(); } public interface TextureBuffer extends Buffer { enum Type { OES(GLES11Ext.GL_TEXTURE_EXTERNAL_OES), @@ -295,7 +293,7 @@ @property (nonatomic, assign) int avSyncType; @property(assign, nonatomic) CVPixelBufferRef _Nullable pixelBuffer; @property (nonatomic, assign) uint8_t* _Nullable alphaBuffer; -@property (nonatomic, assign) int alphaStitchMode; +@property (nonatomic, assign) AgoraAlphaStitchMode alphaStitchMode; @property(nonatomic, strong) NSDictionary *_Nonnull metaInfo; @end struct VideoFrame { @@ -730,13 +728,13 @@ class VideoFrame {
    alphaStitchMode - 当视频帧中包含 Alpha 通道数据时,设置 alphaBuffer 和视频帧的相对位置: -
      -
    • 0:(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
    • -
    • 1:alphaBuffer 位于视频帧的上方。
    • -
    • 2:alphaBuffer 位于视频帧的下方。
    • -
    • 3:alphaBuffer 位于视频帧的左侧。
    • -
    • 4:alphaBuffer 位于视频帧的右侧。
    • + 当视频帧中包含 Alpha 通道数据时,设置 alphaBuffer 和视频帧的相对位置。详见 +
        +
      • (0):(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。
      • +
      • (1):alphaBuffer 位于视频帧的上方。
      • +
      • (2):alphaBuffer 位于视频帧的下方。
      • +
      • (3):alphaBuffer 位于视频帧的左侧。
      • +
      • (4):alphaBuffer 位于视频帧的右侧。
      diff --git a/dita/RTC-NG/API/enum_alphastitchmode.dita b/dita/RTC-NG/API/enum_alphastitchmode.dita new file mode 100644 index 00000000000..80e9845abf7 --- /dev/null +++ b/dita/RTC-NG/API/enum_alphastitchmode.dita @@ -0,0 +1,40 @@ + + + + <ph keyref="ALPHA_STITCH_MODE"/> + alphaBuffer 和视频帧的相对位置。 + +
      +
      + +
      自从
      +
      v4.4.0
      +
      +
      +
      +
      + 枚举值 + + + + 0:(默认)仅视频帧,即 alphaBuffer 不和视频帧拼接。 + + + + 1:alphaBuffer 位于视频帧的上方。 + + + + 2:alphaBuffer 位于视频帧的下方。 + + + + 3:alphaBuffer 位于视频帧的左侧。 + + + + 4:alphaBuffer 位于视频帧的右侧。 + + +
      +
      diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index d958b478e3a..b6484767572 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -5913,6 +5913,48 @@ + + + + ALPHA_STITCH_MODE + + + + + + + NO_ALPHA_STITCH + + + + + + + ALPHA_STITCH_UP + + + + + + + ALPHA_STITCH_BELOW + + + + + + + ALPHA_STITCH_LEFT + + + + + + + ALPHA_STITCH_RIGHT + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index b7d717a85c0..7556c577280 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -5464,6 +5464,48 @@ + + + + AgoraAlphaStitchMode + + + + + + + AgoraNoAlphaStitch + + + + + + + AgoraAlphaStitchUp + + + + + + + AgoraAlphaStitchBelow + + + + + + + AgoraAlphaStitchLeft + + + + + + + AgoraAlphaStitchRight + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 87f2e3b1e1a..bf84399751e 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -5036,6 +5036,48 @@ + + + + AgoraAlphaStitchMode + + + + + + + AgoraNoAlphaStitch + + + + + + + AgoraAlphaStitchUp + + + + + + + AgoraAlphaStitchBelow + + + + + + + AgoraAlphaStitchLeft + + + + + + + AgoraAlphaStitchRight + + + From da83ae75f4bb72297b8d4759c18d1a14a4417be1 Mon Sep 17 00:00:00 2001 From: Cilla-luodan Date: Thu, 4 Jul 2024 10:36:51 +0000 Subject: [PATCH 121/146] Sync cn prototype to en prototype --- .../RTC-NG/API/class_externalvideoframe.dita | 2 +- en-US/dita/RTC-NG/API/class_videoframe.dita | 6 +-- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 42 +++++++++++++++++++ .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 42 +++++++++++++++++++ .../config/keys-rtc-ng-api-macos.ditamap | 42 +++++++++++++++++++ 5 files changed, 129 insertions(+), 5 deletions(-) diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 931f6d3d447..6c15172e256 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -75,7 +75,7 @@ @property(strong, nonatomic) IMAGE_CLASS * _Nullable image; @property(strong, nonatomic) NSData *_Nullable dataBuf; @property(strong, nonatomic) NSData *_Nullable alphaBuf; -@property(assign, nonatomic) int alphaStitchMode; +@property(assign, nonatomic) AgoraAlphaStitchMode alphaStitchMode; @property(assign, nonatomic) int cropLeft; @property(assign, nonatomic) int cropTop; @property(assign, nonatomic) int cropRight; diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index d6540955825..759f0db91d7 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -39,9 +39,7 @@ @CalledByNative("I422Buffer") int getStrideU(); @CalledByNative("I422Buffer") int getStrideV(); } - public interface RgbaBuffer extends Buffer { - @CalledByNative("RgbaBuffer") ByteBuffer getData(); - } + public interface RgbaBuffer extends Buffer { @CalledByNative("RgbaBuffer") ByteBuffer getData(); } public interface TextureBuffer extends Buffer { enum Type { OES(GLES11Ext.GL_TEXTURE_EXTERNAL_OES), @@ -295,7 +293,7 @@ @property (nonatomic, assign) int avSyncType; @property(assign, nonatomic) CVPixelBufferRef _Nullable pixelBuffer; @property (nonatomic, assign) uint8_t* _Nullable alphaBuffer; -@property (nonatomic, assign) int alphaStitchMode; +@property (nonatomic, assign) AgoraAlphaStitchMode alphaStitchMode; @property(nonatomic, strong) NSDictionary *_Nonnull metaInfo; @end struct VideoFrame { diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index d958b478e3a..b6484767572 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -5913,6 +5913,48 @@ + + + + ALPHA_STITCH_MODE + + + + + + + NO_ALPHA_STITCH + + + + + + + ALPHA_STITCH_UP + + + + + + + ALPHA_STITCH_BELOW + + + + + + + ALPHA_STITCH_LEFT + + + + + + + ALPHA_STITCH_RIGHT + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index b7d717a85c0..7556c577280 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -5464,6 +5464,48 @@ + + + + AgoraAlphaStitchMode + + + + + + + AgoraNoAlphaStitch + + + + + + + AgoraAlphaStitchUp + + + + + + + AgoraAlphaStitchBelow + + + + + + + AgoraAlphaStitchLeft + + + + + + + AgoraAlphaStitchRight + + + diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 87f2e3b1e1a..bf84399751e 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -5036,6 +5036,48 @@ + + + + AgoraAlphaStitchMode + + + + + + + AgoraNoAlphaStitch + + + + + + + AgoraAlphaStitchUp + + + + + + + AgoraAlphaStitchBelow + + + + + + + AgoraAlphaStitchLeft + + + + + + + AgoraAlphaStitchRight + + + From b3fbd599c9262d3a72fd6d22f58bb76fc198d8e0 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 4 Jul 2024 18:38:46 +0800 Subject: [PATCH 122/146] 1 --- dita/RTC-NG/release/release_notes.dita | 3 --- 1 file changed, 3 deletions(-) diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index 9e17c13e2d5..d3a703dab8c 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -92,11 +92,8 @@
    • 其他改进

      该版本还进行了如下改进:

        -
      • 优化了传输策略,调用 不再对传输链路的安全性产生影响。
      • -
      • 回调中新增 枚举,表示进行屏幕采集的显示器已断开连接。(Windows, macOS)
      • -
      • 优化了共享窗口的视频链路,降低了 CPU 占用率。(macOS)
      • 优化了屏幕共享场景下的回声消除。
      • 该版本在 中新增 channelId 参数,用于获取发送 Metadata 的源频道名称。
      • From bff4f5c1958933df0202f3c174e55a738e69b722 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Fri, 5 Jul 2024 10:54:41 +0800 Subject: [PATCH 123/146] update release note --- dita/RTC-NG/release/release_notes.dita | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/dita/RTC-NG/release/release_notes.dita b/dita/RTC-NG/release/release_notes.dita index 9e17c13e2d5..7460746fbd7 100644 --- a/dita/RTC-NG/release/release_notes.dita +++ b/dita/RTC-NG/release/release_notes.dita @@ -10,10 +10,10 @@ 升级必看 -

        该版本对部分功能的实现方式进行了优化,包括 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。 +

        该版本对部分功能的实现方式进行了优化,包括 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。 自 v4.4.0 起,RTC SDK 提供 API 下架说明,包含各版本废弃及删除的 API 信息。详见 API 下架说明API 下架说明API 下架说明API 下架说明

          -
        1. 为区分不同插件回调中的上下文信息,该版本将原有的插件相关回调删除并新增可标识插件上下文信息的对应回调(见下表),你可以通过各回调中的 了解插件的名称、使用该插件的用户 ID、和提供插件的服务商名等信息。 +
        2. 为区分不同插件回调中的上下文信息,该版本将原有的插件相关回调删除并新增可标识插件上下文信息的对应回调(见下表),你可以通过各回调中的 了解插件的名称、使用该插件的用户 ID、和提供插件的服务商名等信息。 原有回调 @@ -38,8 +38,8 @@
        3. 在 v4.4.0 之前,当你的用户角色为观众时,调用 将音频场景设为聊天室场景()会收到申请麦克风权限的弹窗提示。自 v4.4.0 起,SDK 通过 iOS 原生的 API 控制麦克风开关,因此观众角色在聊天室场景下不会再收到申请麦克风权限的弹窗。
        4. -
        5. 改版本将 receiveMetadata 回调改名为 ,并删除了回调中的 datatimeStamp 参数,你可以通过新增的 metadata 参数来获取 Metadata 的相关信息,包括 timeStamp(发送数据的时间戳)、uid(用户 ID)、channelId(源频道名称)等。
        6. -
        7. 改版本删除了 回调中的 bufferuidtimeStampMs 参数,你可以通过新增的 metadata 参数来获取 Metadata 的相关信息,包括 timeStampMs(发送数据的时间戳)、uid(用户 ID)、channelId(源频道名称)等。
        8. +
        9. 改版本将 receiveMetadata 回调改名为 ,并删除了回调中的 datatimeStamp 参数,你可以通过新增的 metadata 参数来获取 Metadata 的相关信息,包括 timeStamp(发送数据的时间戳)、uid(用户 ID)、channelId(源频道名称)等。
        10. +
        11. 改版本删除了 回调中的 bufferuidtimeStampMs 参数,你可以通过新增的 metadata 参数来获取 Metadata 的相关信息,包括 timeStampMs(发送数据的时间戳)、uid(用户 ID)、channelId(源频道名称)等。
        @@ -92,14 +92,12 @@
      • 其他改进

        该版本还进行了如下改进:

          -
        • 优化了传输策略,调用 不再对传输链路的安全性产生影响。
        • -
        • 回调中新增 枚举,表示进行屏幕采集的显示器已断开连接。(Windows, macOS)
        • -
        • 优化了共享窗口的视频链路,降低了 CPU 占用率。(macOS)
        • 优化了屏幕共享场景下的回声消除。
        • -
        • 该版本在 中新增 channelId 参数,用于获取发送 Metadata 的源频道名称。
        • +
        • 该版本在 中新增 channelId 参数,用于获取发送 Metadata 的源频道名称。
        • +
        • 废弃了 中的冗余枚举值
        • 优化了以下 API 的参数类型。此改进有助于提升代码的可读性,减少潜在的错误,并便于后续维护。
          • 废弃了 option 参数为 int 类型的 ,新增了 option 参数为 类型的重载函数
          • 废弃了 streamType 参数为 int 类型的 ,新增了 streamType 参数为 类型的重载函数
        • From 1ab22d545a9d463e4241d455e3f165fbaf36b114 Mon Sep 17 00:00:00 2001 From: jinyu Date: Fri, 5 Jul 2024 16:18:54 +0800 Subject: [PATCH 124/146] =?UTF-8?q?alpha=E5=8F=B2=E8=92=82=E5=A5=87mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/keys-rtc-ng-api-java.ditamap | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 2a322f05dfe..63255f775f9 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -5743,6 +5743,41 @@ + + + + VIDEO_NO_ALPHA_STITCH + + + + + + + VIDEO_ALPHA_STITCH_UP + + + + + + + VIDEO_ALPHA_STITCH_BELOW + + + + + + + VIDEO_ALPHA_STITCH_LEFT + + + + + + + VIDEO_ALPHA_STITCH_RIGHT + + + From 5163222adec66a0231a3d45d3a1911d5f03a1fca Mon Sep 17 00:00:00 2001 From: jinyuagora Date: Fri, 5 Jul 2024 08:19:29 +0000 Subject: [PATCH 125/146] Sync cn prototype to en prototype --- .../config/keys-rtc-ng-api-java.ditamap | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 2a322f05dfe..63255f775f9 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -5743,6 +5743,41 @@ + + + + VIDEO_NO_ALPHA_STITCH + + + + + + + VIDEO_ALPHA_STITCH_UP + + + + + + + VIDEO_ALPHA_STITCH_BELOW + + + + + + + VIDEO_ALPHA_STITCH_LEFT + + + + + + + VIDEO_ALPHA_STITCH_RIGHT + + + From 1f398bb64a9ce03b55329eb6f2ed913eb2bde9fd Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Fri, 5 Jul 2024 16:54:55 +0800 Subject: [PATCH 126/146] batch 3 --- .../api_irtcengine_enablefacedetection.dita | 21 +++++--- ...api_irtcengine_setbeautyeffectoptions.dita | 16 +++--- ...pi_irtcengine_setbeautyeffectoptions2.dita | 18 +++++-- ...i_irtcengine_setvoicebeautifierpreset.dita | 52 ++++++++++++------- .../api_irtcengine_startaudiorecording3.dita | 17 +++--- .../api_irtcengine_stopaudiorecording.dita | 1 + 6 files changed, 82 insertions(+), 43 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita index 7d9c1123833..a1813b594e8 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -25,20 +25,27 @@ Future<void> enableFaceDetection(bool enabled);

    -
    - 详情 -

    该方法在加入频道前后都能调用。

    - 该方法仅适用于 Android 和 iOS。 +
    +
    +
    + 调用时机 +

    该方法需要在相机启动(如通过调用 实现)后调用。

    +
    +
    + 调用限制 +

    该方法仅适用于 Android 和 iOS。

    +

    无。

    +
    + -
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita index 428a1812524..679e5a6ac49 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -36,18 +36,22 @@ MediaSourceType type = MediaSourceType.primaryCameraSource});

    -
    - 详情 +

    开启本地美颜功能,并设置美颜效果选项。

    - +
    +
    + 调用时机 +

    请在 之后调用该方法。

    +
    +
    + 调用限制
      -
    • 请在 之后调用该方法。
    • 该方法仅适用于 Android 5.0 及以上版本。
    • 该方法依赖于视频增强动态库 ,如果删除该动态库会导致无法正常开启该功能。
    • 该功能对设备性能要求较高,调用该方法时 SDK 会自动对当前设备能力进行检查。
    -
    -
    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita index 91d6123fbda..f053efcef51 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita @@ -25,13 +25,23 @@

    -
    - 详情 +

    开启本地美颜功能,并设置美颜效果选项和效果应用的媒体源。

    该方法和 均可用于设置美颜效果选项,区别在于该方法支持在设置美颜效果选项时指定应用美颜的媒体源。

    -
    -
    +
    + 调用时机 +

    请在 之后调用该方法。

    +
    +
    + 调用限制 +
      +
    • 该方法仅适用于 Android 5.0 及以上版本。
    • +
    • 该方法依赖于视频增强动态库 ,如果删除该动态库会导致无法正常开启该功能。
    • +
    • 该功能对设备性能要求较高,调用该方法时 SDK 会自动对当前设备能力进行检查。
    • +
    +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita index 2f03a88b041..2de1f129601 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -25,33 +25,45 @@ Future<void> setVoiceBeautifierPreset(VoiceBeautifierPreset preset);

    -
    - 详情 +

    调用该方法可以为本地发流用户设置预设的人声美化效果。设置美声效果后,频道内所有用户都能听到该效果。根据不同的场景,你可以为用户设置不同的美声效果。各美声效果的适用场景可参考设置人声效果

    为获取更好的人声效果,建议你在调用该方法前进行以下操作:

    • 调用 将音频场景设为高音质场景,即 (3)。
    • 调用 profile 设为 (4) 或 (5)。
    -

    - +
    +
    + 适用场景 +

    +

    +
    + 调用时机 +

    加入频道前后都能调用。

    +
    +
    + 调用限制
      -
    • 该方法在加入频道前后都能调用。
    • -
    • 请勿将 profile 参数设置为 (1)(6),否则该方法不生效。
    • -
    • 该方法对人声的处理效果最佳,不建议调用该方法处理含音乐的音频数据。
    • -
    • 调用 ,不建议调用以下方法,否则 设置的效果会被覆盖: -
        -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
    • -
    • 该方法依赖于美声动态库 ,如果删除该动态库会导致无法正常开启该功能。
    • -
    -
    +
  • 请勿将 profile 参数设置为 (1)(6),否则该方法不生效。
  • +
  • 该方法对人声的处理效果最佳,不建议调用该方法处理含音乐的音频数据。
  • +
  • 调用 ,不建议调用以下方法,否则 设置的效果会被覆盖: +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
  • +
  • 该方法依赖于美声动态库 ,如果删除该动态库会导致无法正常开启该功能。
  • + +
    + +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita index 751dcee39a7..7cb6a8b6985 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording3.dita @@ -25,18 +25,23 @@ Future<void> startAudioRecording(AudioRecordingConfiguration config);

    -
    - 详情 +

    SDK 支持通话过程中在客户端进行录音。调用该方法后,你可以录制频道内用户的音频,并得到一个录音文件。录音文件仅支持下列格式: - -

    • WAV: 音质保真度较高,文件较大。例如,采样率为 32000 Hz,录音时长为 10 分钟的文件大小约为 73 M。
    • AAC: 音质保真度较低,文件较小。例如,采样率为 32000 Hz,录音音质为 ,录音时长为 10 分钟的文件大小约为 2 M。

    用户离开频道后,录音会自动停止。

    - 该方法需要在加入频道后调用。
    -
    +
    +
    + 调用时机 +

    该方法需要在加入频道后调用。

    +
    +
    + 调用限制 +

    。 +
    +
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita index e2117121a75..709974600b4 100644 --- a/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_stopaudiorecording.dita @@ -25,6 +25,7 @@ Future<void> stopAudioRecording();

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

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

    From ec2d7163520fb8e077e9c5211bf14fa964907aed Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Fri, 5 Jul 2024 17:04:02 +0800 Subject: [PATCH 127/146] fix publish error --- .../API/api_irtcengine_setvoicebeautifierpreset.dita | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita index 2de1f129601..99885096ff0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierpreset.dita @@ -28,10 +28,11 @@

    调用该方法可以为本地发流用户设置预设的人声美化效果。设置美声效果后,频道内所有用户都能听到该效果。根据不同的场景,你可以为用户设置不同的美声效果。各美声效果的适用场景可参考设置人声效果

    为获取更好的人声效果,建议你在调用该方法前进行以下操作: -

      -
    • 调用 将音频场景设为高音质场景,即 (3)。
    • -
    • 调用 profile 设为 (4) 或 (5)。
    • -
    +
      +
    • 调用 将音频场景设为高音质场景,即 (3)。
    • +
    • 调用 profile 设为 (4) 或 (5)。
    • +
    +

    适用场景 From 7173fadc315211700e67c539a12d5c06235cf166 Mon Sep 17 00:00:00 2001 From: jinyu Date: Wed, 3 Jul 2024 14:26:08 +0800 Subject: [PATCH 128/146] Update rtc_api_overview.dita --- dita/RTC-NG/API/rtc_api_overview.dita | 1 - 1 file changed, 1 deletion(-) diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index ec7666152cd..334f6783acd 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -4,7 +4,6 @@ API 概览 声网通过全球部署的 SD-RTN™,提供可以灵活搭配的 API 组合,实现质量可靠的实时音视频通信。 -

    本文档为 Unreal C++ API 参考文档,如使用 Unreal Blueprint SDK,请参考声网在 github 上提供的开源示例项目,或联系 获取教学视频。

    初始化相关 From cdcc4c0884c3bc777df0df96e8c43296fe871ea3 Mon Sep 17 00:00:00 2001 From: jinyu Date: Mon, 8 Jul 2024 16:02:28 +0800 Subject: [PATCH 129/146] 1 --- dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita | 6 +++--- dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita | 8 ++++---- dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita index fcd436dc495..b908a17172f 100644 --- a/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pullaudioframe.dita @@ -26,24 +26,24 @@

    调用该方法后,App 会采取主动拉取的方式获取远端已解码和混音后的音频数据,用于音频播放。

    - 调用该方法前,你需要调用 (enabled: ) 开启并设置外部渲染。
    调用时机

    该方法需要在加入频道后调用。

    +

    调用该方法前,你需要调用 (enabled: ) 开启并设置外部渲染。

    调用限制

    该方法和 回调均可用于获取远端混音后的音频播放数据。在调用 开启外部音频渲染后,App 将无法从 回调中获得数据。因此,请根据实际的业务需求在该方法和 回调之间进行选择。二者的处理机制不同,具体区别如下:

    • 调用该方法后,App 会主动拉取音频数据。通过设置音频数据,SDK 可以调整缓存,帮助 App 处理延时,从而有效避免音频播放抖动。
    • -
    • 注册 后,SDK 通过该回调将音频数据传输给 App。App 在处理音频帧的延迟时,可能会导致音频播放抖动。
    • +
    • 注册 回调后,SDK 通过该回调将音频数据传输给 App。App 在处理音频帧的延迟时,可能会导致音频播放抖动。

    该方法仅用于拉取远端混音后的音频播放数据,如需获取采集的原始音频数据、混音前每条拉流单独的原始音频播放数据等,可以通过调用 注册相应的回调。

    <ph props="android apple cpp unreal bp flutter unity cs">参数</ph> - + frame 指向 的指针。 diff --git a/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita b/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita index 92869fbec24..75453cbdc15 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushaudioframe0.dita @@ -24,14 +24,14 @@

    +

    调用该方法通过音频轨道推送外部音频帧。

    +
    +
    + 调用时机

    调用该方法推送外部音频数据前,请先进行以下操作:

    1. 调用 创建音频轨道并获得音频轨道 ID。
    2. 调用 加入频道时,将 中的 publishCustomAudioTrackId 设置为你想要发布的音频轨道 ID,并将 publishCustomAudioTrack 设置为

    -
    -
    - 调用时机 -

    该方法需要在加入频道后调用。

    调用限制 diff --git a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita index 0b0c01f2f4b..7d0e0715619 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushaudioframe2.dita @@ -30,14 +30,14 @@

    +

    调用该方法通过音频轨道推送外部音频帧。

    +
    +
    + 调用时机

    调用该方法推送外部音频数据前,请先进行以下操作:

    1. 调用 创建音频轨道并获得音频轨道 ID。
    2. 调用 加入频道时,将 中的 publishCustomAudioTrackId 设置为你想要发布的音频轨道 ID,并将 publishCustomAudioTrack 设置为

    -
    -
    - 调用时机 -

    该方法需要在加入频道后调用。

    调用限制 From b66a4c92aa54ec99872bc71fc825737c9386e89f Mon Sep 17 00:00:00 2001 From: Suri539 Date: Mon, 8 Jul 2024 17:58:27 +0800 Subject: [PATCH 130/146] resolve review comments --- dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita | 7 ++----- dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index 0c50cd4a9f1..6d7abf09aeb 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -53,11 +53,8 @@
    参数 - - - - - + + diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index 3bad5f1f4ff..57b48bc12c7 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -61,7 +61,7 @@
    参数 From 9b1adc50b5d7398acf0b2aca4160ea5f2a58aaf4 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Tue, 9 Jul 2024 15:13:48 +0800 Subject: [PATCH 131/146] peer review fixes --- .../api_irtcengine_enablefacedetection.dita | 6 ++--- ...api_irtcengine_setbeautyeffectoptions.dita | 2 +- ...pi_irtcengine_setbeautyeffectoptions2.dita | 9 +------ .../api_irtcengine_setlocalaccesspoint.dita | 2 +- ...i_irtcengine_setvoicebeautifierpreset.dita | 25 +++++++------------ .../api_irtcengine_startaudiorecording3.dita | 2 +- .../API/api_irtcengine_startechotest3.dita | 2 +- ...api_irtcengine_startlastmileprobetest.dita | 8 ++---- .../API/api_irtcengine_stopechotest.dita | 3 +++ .../config/keys-rtc-ng-links-android.ditamap | 1 - .../config/keys-rtc-ng-links-cpp.ditamap | 1 - .../config/keys-rtc-ng-links-electron.ditamap | 8 +++++- .../config/keys-rtc-ng-links-flutter.ditamap | 8 +++++- .../config/keys-rtc-ng-links-harmony.ditamap | 1 - .../config/keys-rtc-ng-links-ios.ditamap | 1 - .../config/keys-rtc-ng-links-rn.ditamap | 8 +++++- .../config/keys-rtc-ng-links-unity.ditamap | 7 ++++++ ...keys-rtc-ng-links-unreal-blueprint.ditamap | 8 +++++- .../keys-rtc-ng-links-unreal-cpp.ditamap | 8 +++++- 19 files changed, 64 insertions(+), 46 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita index a1813b594e8..d166fc2052b 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -26,6 +26,7 @@

    +

    该方法仅适用于 Android 和 iOS。

    调用时机 @@ -33,12 +34,11 @@
    调用限制 -

    该方法仅适用于 Android 和 iOS。

    -

    无。

    +

    无。

    + API 描述 替代 API 删除版本 + + setVideoProfile 设置视频编码配置。 @@ -335,15 +337,10 @@ v4.4.0 - - - - - - +

    - \ No newline at end of file + From 5e153f46cf3152abfadc0d69f282f386148cd2ea Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 10 Jul 2024 11:41:00 +0800 Subject: [PATCH 138/146] remove sunset api --- .../API/api_irtcengine_setvideoprofile2.dita | 2 +- dita/RTC-NG/API/rtc_api_overview.dita | 8 -- dita/RTC-NG/API/rtc_api_sunset.dita | 88 ++++--------------- dita/RTC-NG/API/rtc_lite_api.dita | 7 -- dita/RTC-NG/RTC_NG_API_Android.ditamap | 9 -- dita/RTC-NG/RTC_NG_API_CPP.ditamap | 5 -- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 8 -- dita/RTC-NG/RTC_NG_API_macOS.ditamap | 8 -- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 35 -------- .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 56 ------------ .../config/keys-rtc-ng-api-java.ditamap | 63 ------------- .../config/keys-rtc-ng-api-macos.ditamap | 56 ------------ .../config/relations-rtc-ng-api.ditamap | 10 --- 13 files changed, 17 insertions(+), 338 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita b/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita index 89f5b0d7a07..03db553c3fa 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoprofile2.dita @@ -6,7 +6,7 @@ - + diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index ec7666152cd..6075fd3c6cb 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -2649,14 +2649,6 @@ 方法/回调 描述 - - - - - - - - diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index d21e0c53fb6..f2383532801 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -197,26 +197,12 @@ 替代 API 删除版本 - - - - setVideoProfile - 设置视频编码配置。 - - v4.4.0 - - - setVideoProfile [1/2] + + setVideoProfilesetVideoProfile [1/2] 设置视频编码配置。 v4.4.0 - - setVideoProfile [2/2] - 手动设置视频编码配置。 - - v4.4.0 - setRemoteRenderMode [1/2] 设置远端视图显示模式。 @@ -235,14 +221,8 @@ Android 原生的 v4.4.0 - - openWithCustomSource - 打开自定义媒体资源文件。 - - v4.4.0 - - - openWithCustomSourceAtStartPos + + openWithCustomSourceopenWithCustomSourceAtStartPos 打开自定义媒体资源文件。 v4.4.0 @@ -253,26 +233,14 @@ 建议使用 类中的 degradationPreference 参数设置视频质量偏好。 v4.4.0 - - startEchoTest [1/3] - 开始语音通话回路测试。 - - v4.4.0 - - - startEchoTest - 开始语音通话回路测试。 - - v4.4.0 - - - startEchoTest [2/3] + + startEchoTest [1/3]startEchoTest 开始语音通话回路测试。 v4.4.0 - - startEchoTestWithInterval + + startEchoTest [2/3]startEchoTestWithInterval 开始语音通话回路测试。 v4.4.0 @@ -289,50 +257,26 @@ v4.4.0 - - onExtensionEvent - 插件事件回调。 - - v4.4.0 - - - onEvent + + onExtensionEventonEvent 插件事件回调。 v4.4.0 - - onExtensionStarted - 插件启用回调。 - - v4.4.0 - - - onStarted + + onExtensionStartedonStarted 插件启用回调。 v4.4.0 - - onExtensionStopped - 插件禁用回调。 - - v4.4.0 - - - onStopped + + onExtensionStoppedonStopped 插件禁用回调。 v4.4.0 - - onExtensionError - 插件出错回调。 - - v4.4.0 - - - onError + + onExtensionErroronError 插件出错回调。 v4.4.0 diff --git a/dita/RTC-NG/API/rtc_lite_api.dita b/dita/RTC-NG/API/rtc_lite_api.dita index 00c4d9c1eb4..4f98a9b05b6 100644 --- a/dita/RTC-NG/API/rtc_lite_api.dita +++ b/dita/RTC-NG/API/rtc_lite_api.dita @@ -28,8 +28,6 @@
  • -
  • -
  • @@ -226,8 +224,6 @@
  • -
  • -
  • @@ -263,7 +259,6 @@
  • -
  • @@ -284,7 +279,6 @@
  • -
  • @@ -519,7 +513,6 @@
  • -
  • diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 18f38397800..828d4a19a6e 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -251,7 +251,6 @@ - @@ -351,13 +350,10 @@ - - - @@ -460,7 +456,6 @@ - @@ -718,8 +713,6 @@ - - @@ -728,8 +721,6 @@ - - diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index 950d45c10fb..e7f27c551b8 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -464,7 +464,6 @@ - @@ -786,8 +785,6 @@ - - @@ -796,8 +793,6 @@ - - diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index b6de10ba006..47fe0be1f55 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -256,9 +256,7 @@ - - @@ -364,7 +362,6 @@ - @@ -463,7 +460,6 @@ - @@ -713,8 +709,6 @@ - - @@ -722,8 +716,6 @@ - - diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index 639dbed2d14..29f437107bb 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -250,10 +250,8 @@ - - @@ -357,7 +355,6 @@ - @@ -449,7 +446,6 @@ - @@ -657,8 +653,6 @@ - - @@ -666,8 +660,6 @@ - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index b6484767572..4f57910d937 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -873,13 +873,6 @@ - - - - openWithCustomSource - - - @@ -2574,20 +2567,6 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - @@ -3004,20 +2983,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 7556c577280..deaa239de6f 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -775,13 +775,6 @@ - - - - openWithCustomSourceAtStartPos - - - @@ -1038,13 +1031,6 @@ - - - - setVideoQualityParameters - - - @@ -1087,13 +1073,6 @@ - - - - setRemoteRenderMode [1/2] - - - @@ -1157,13 +1136,6 @@ - - - - setVideoProfile [1/2] - - - @@ -2453,20 +2425,6 @@ - - - - startEchoTest - - - - - - - startEchoTestWithInterval - - - @@ -2909,13 +2867,6 @@ - - - - setEncryptionMode - - - @@ -2923,13 +2874,6 @@ - - - - setEncryptionSecret - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 63255f775f9..5a42715db6d 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -774,13 +774,6 @@ - - - - openWithCustomSource - - - @@ -1058,13 +1051,6 @@ - - - - setRemoteRenderMode [1/2] - - - @@ -1079,20 +1065,6 @@ - - - - CreateRendererView - - - - - - - CreateTextureView - - - @@ -1149,13 +1121,6 @@ - - - - setVideoProfile - - - @@ -2706,20 +2671,6 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - @@ -3159,20 +3110,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index bf84399751e..6b44bb7acb3 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -732,13 +732,6 @@ - - - - openWithCustomSourceAtStartPos - - - @@ -995,13 +988,6 @@ - - - - setVideoQualityParameters - - - @@ -1044,13 +1030,6 @@ - - - - setRemoteRenderMode [1/2] - - - @@ -1114,13 +1093,6 @@ - - - - setVideoProfile [1/2] - - - @@ -2420,20 +2392,6 @@ - - - - startEchoTest - - - - - - - startEchoTestWithInterval - - - @@ -2855,13 +2813,6 @@ - - - - setEncryptionMode - - - @@ -2869,13 +2820,6 @@ - - - - setEncryptionSecret - - - diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index ac4c31f9bb3..6a70cb45ff8 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2219,8 +2219,6 @@ - - @@ -2420,8 +2418,6 @@ - - @@ -2459,7 +2455,6 @@ - @@ -2481,10 +2476,8 @@ - - @@ -2495,8 +2488,6 @@ - - @@ -2760,7 +2751,6 @@ - From 1e469ac03b6f19939d92d16b3d21747cff7af143 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 10 Jul 2024 03:42:07 +0000 Subject: [PATCH 139/146] Sync cn prototype to en prototype --- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 35 ----------- .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 56 ----------------- .../config/keys-rtc-ng-api-java.ditamap | 63 ------------------- .../config/keys-rtc-ng-api-macos.ditamap | 56 ----------------- 4 files changed, 210 deletions(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index b6484767572..4f57910d937 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -873,13 +873,6 @@ - - - - openWithCustomSource - - - @@ -2574,20 +2567,6 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - @@ -3004,20 +2983,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index 7556c577280..deaa239de6f 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -775,13 +775,6 @@ - - - - openWithCustomSourceAtStartPos - - - @@ -1038,13 +1031,6 @@ - - - - setVideoQualityParameters - - - @@ -1087,13 +1073,6 @@ - - - - setRemoteRenderMode [1/2] - - - @@ -1157,13 +1136,6 @@ - - - - setVideoProfile [1/2] - - - @@ -2453,20 +2425,6 @@ - - - - startEchoTest - - - - - - - startEchoTestWithInterval - - - @@ -2909,13 +2867,6 @@ - - - - setEncryptionMode - - - @@ -2923,13 +2874,6 @@ - - - - setEncryptionSecret - - - diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 63255f775f9..5a42715db6d 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -774,13 +774,6 @@ - - - - openWithCustomSource - - - @@ -1058,13 +1051,6 @@ - - - - setRemoteRenderMode [1/2] - - - @@ -1079,20 +1065,6 @@ - - - - CreateRendererView - - - - - - - CreateTextureView - - - @@ -1149,13 +1121,6 @@ - - - - setVideoProfile - - - @@ -2706,20 +2671,6 @@ - - - - startEchoTest [1/3] - - - - - - - startEchoTest [2/3] - - - @@ -3159,20 +3110,6 @@ - - - - setEncryptionMode - - - - - - - setEncryptionSecret - - - diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index bf84399751e..6b44bb7acb3 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -732,13 +732,6 @@ - - - - openWithCustomSourceAtStartPos - - - @@ -995,13 +988,6 @@ - - - - setVideoQualityParameters - - - @@ -1044,13 +1030,6 @@ - - - - setRemoteRenderMode [1/2] - - - @@ -1114,13 +1093,6 @@ - - - - setVideoProfile [1/2] - - - @@ -2420,20 +2392,6 @@ - - - - startEchoTest - - - - - - - startEchoTestWithInterval - - - @@ -2855,13 +2813,6 @@ - - - - setEncryptionMode - - - @@ -2869,13 +2820,6 @@ - - - - setEncryptionSecret - - - From 04a75e838d2096eed88f6fc487b71a1366711de3 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 10 Jul 2024 11:58:47 +0800 Subject: [PATCH 140/146] update overload sunset api --- dita/RTC-NG/API/rtc_api_sunset.dita | 8 ++++---- dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 2 +- dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 4 ++-- dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap | 4 ++-- dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index f2383532801..c98afff1320 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -198,13 +198,13 @@ 删除版本
    - setVideoProfilesetVideoProfile [1/2] + setVideoProfilesetVideoProfile:profile:swapWidthAndHeight 设置视频编码配置。 v4.4.0 - setRemoteRenderMode [1/2] + setRemoteRenderMode(userId, renderMode);setRemoteRenderMode:uid:mode 设置远端视图显示模式。 v4.4.0 @@ -234,13 +234,13 @@ v4.4.0 - startEchoTest [1/3]startEchoTest + startEchoTest()startEchoTest: 开始语音通话回路测试。 v4.4.0 - startEchoTest [2/3]startEchoTestWithInterval + startEchoTest(intervalInSeconds)startEchoTestWithInterval:interval 开始语音通话回路测试。 v4.4.0 diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 4f57910d937..9590b0026eb 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -2570,7 +2570,7 @@ - startEchoTest [3/3] + startEchoTest diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index deaa239de6f..cd725f593a0 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -1076,7 +1076,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -1139,7 +1139,7 @@ - setVideoProfile [2/2] + setVideoProfile diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 5a42715db6d..bdb5cc17bf3 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -1054,7 +1054,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -2674,7 +2674,7 @@ - startEchoTest [3/3] + startEchoTest diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 6b44bb7acb3..9a13b510c1d 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -1033,7 +1033,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -1096,7 +1096,7 @@ - setVideoProfile [2/2] + setVideoProfile From 7cf6dc967377fa0df92c3e15aa17093bd5c66d3d Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 10 Jul 2024 03:59:18 +0000 Subject: [PATCH 141/146] Sync cn prototype to en prototype --- en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 2 +- en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 4 ++-- en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap | 4 ++-- en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index 4f57910d937..9590b0026eb 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -2570,7 +2570,7 @@ - startEchoTest [3/3] + startEchoTest diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index deaa239de6f..cd725f593a0 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -1076,7 +1076,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -1139,7 +1139,7 @@ - setVideoProfile [2/2] + setVideoProfile diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap index 5a42715db6d..bdb5cc17bf3 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -1054,7 +1054,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -2674,7 +2674,7 @@ - startEchoTest [3/3] + startEchoTest diff --git a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 6b44bb7acb3..9a13b510c1d 100644 --- a/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/en-US/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -1033,7 +1033,7 @@ - setRemoteRenderMode [2/2] + setRemoteRenderMode @@ -1096,7 +1096,7 @@ - setVideoProfile [2/2] + setVideoProfile From a74439a0a206ef03da6866afccdd0a297e90c404 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 10 Jul 2024 14:23:52 +0800 Subject: [PATCH 142/146] move sunset api to archive --- dita/RTC-NG/API/rtc_api_sunset.dita | 11 ++++++----- .../api_imediaplayer_openwithcustomsource.dita | 0 .../api_irtcengine_createrendererview.dita | 0 .../api_irtcengine_createtextureview.dita | 0 .../api_irtcengine_setencryptionmode.dita | 0 .../api_irtcengine_setencryptionsecret.dita | 0 .../api_irtcengine_setremoterendermode.dita | 0 .../api_irtcengine_setvideoprofile.dita | 0 .../api_irtcengine_setvideoqualityparameters.dita | 0 .../api_irtcengine_startechotest.dita | 0 .../api_irtcengine_startechotest2.dita | 0 11 files changed, 6 insertions(+), 5 deletions(-) rename dita/RTC-NG/{API => archive}/api_imediaplayer_openwithcustomsource.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_createrendererview.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_createtextureview.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setencryptionmode.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setencryptionsecret.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setremoterendermode.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setvideoprofile.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setvideoqualityparameters.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_startechotest.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_startechotest2.dita (100%) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index c98afff1320..abf51a7812a 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -197,14 +197,16 @@ 替代 API 删除版本 + + - setVideoProfilesetVideoProfile:profile:swapWidthAndHeight + setVideoProfilesetVideoProfile:profile:swapWidthAndHeight: 设置视频编码配置。 v4.4.0 - setRemoteRenderMode(userId, renderMode);setRemoteRenderMode:uid:mode + setRemoteRenderMode(userId, renderMode)setRemoteRenderMode:uid:mode: 设置远端视图显示模式。 v4.4.0 @@ -240,7 +242,7 @@ v4.4.0 - startEchoTest(intervalInSeconds)startEchoTestWithInterval:interval + startEchoTest(intervalInSeconds)startEchoTestWithInterval:interval: 开始语音通话回路测试。 v4.4.0 @@ -281,8 +283,7 @@ v4.4.0 - - +
    diff --git a/dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita b/dita/RTC-NG/archive/api_imediaplayer_openwithcustomsource.dita similarity index 100% rename from dita/RTC-NG/API/api_imediaplayer_openwithcustomsource.dita rename to dita/RTC-NG/archive/api_imediaplayer_openwithcustomsource.dita diff --git a/dita/RTC-NG/API/api_irtcengine_createrendererview.dita b/dita/RTC-NG/archive/api_irtcengine_createrendererview.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_createrendererview.dita rename to dita/RTC-NG/archive/api_irtcengine_createrendererview.dita diff --git a/dita/RTC-NG/API/api_irtcengine_createtextureview.dita b/dita/RTC-NG/archive/api_irtcengine_createtextureview.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_createtextureview.dita rename to dita/RTC-NG/archive/api_irtcengine_createtextureview.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita b/dita/RTC-NG/archive/api_irtcengine_setencryptionmode.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita rename to dita/RTC-NG/archive/api_irtcengine_setencryptionmode.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita b/dita/RTC-NG/archive/api_irtcengine_setencryptionsecret.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setencryptionsecret.dita rename to dita/RTC-NG/archive/api_irtcengine_setencryptionsecret.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita b/dita/RTC-NG/archive/api_irtcengine_setremoterendermode.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita rename to dita/RTC-NG/archive/api_irtcengine_setremoterendermode.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita b/dita/RTC-NG/archive/api_irtcengine_setvideoprofile.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setvideoprofile.dita rename to dita/RTC-NG/archive/api_irtcengine_setvideoprofile.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita b/dita/RTC-NG/archive/api_irtcengine_setvideoqualityparameters.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita rename to dita/RTC-NG/archive/api_irtcengine_setvideoqualityparameters.dita diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest.dita b/dita/RTC-NG/archive/api_irtcengine_startechotest.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_startechotest.dita rename to dita/RTC-NG/archive/api_irtcengine_startechotest.dita diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest2.dita b/dita/RTC-NG/archive/api_irtcengine_startechotest2.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_startechotest2.dita rename to dita/RTC-NG/archive/api_irtcengine_startechotest2.dita From 254ecd1547e81fb2139d5ca68f8b2d43b3b28a31 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 10 Jul 2024 14:49:34 +0800 Subject: [PATCH 143/146] 1 --- dita/RTC-NG/API/class_externalvideoframe.dita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 9cf108d1bee..b6a7e96bd6c 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -435,8 +435,8 @@ class ExternalVideoFrame { fillAlphaData 该参数仅适用于 BGRA 或 RGBA 格式的视频数据。设置是否提取视频帧中的 Alpha 通道数据并自动填入到 alphaBuffer 中:
      -
    • :提取 Alpha 通道数据。
    • -
    • :(默认)不提取 Alpha 通道数据。
    • +
    • :提取并填充 Alpha 通道数据。
    • +
    • :(默认)不提取填充 Alpha 通道数据。
    对于 BGRA 或 RGBA 格式的视频数据,你可以任选一种方式设置 Alpha 通道数据:
      From a0242d740a7128b0436fb6d616060f9053880af5 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Wed, 10 Jul 2024 14:59:56 +0800 Subject: [PATCH 144/146] update sunset --- dita/RTC-NG/API/rtc_api_sunset.dita | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index abf51a7812a..dfe6b9b31d3 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -232,17 +232,17 @@ setVideoQualityParameters 设置视频优化选项(仅适用于直播)。 - 建议使用 类中的 degradationPreference 参数设置视频质量偏好。 + 使用 类中的 degradationPreference 参数 v4.4.0 - startEchoTest()startEchoTest: + startEchoTest()startEchoTest 开始语音通话回路测试。 v4.4.0 - startEchoTest(intervalInSeconds)startEchoTestWithInterval:interval: + startEchoTest(intervalInSeconds)startEchoTestWithInterval 开始语音通话回路测试。 v4.4.0 From 7693bf6d92886828d1c68bc22af10d7766ae0ae3 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Thu, 11 Jul 2024 14:36:20 +0800 Subject: [PATCH 145/146] fix setlogfile and lastmile --- dita/RTC-NG/API/api_irtcengine_setlogfile.dita | 2 +- dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 44d5d0cebe9..eeb2f17a80e 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -30,7 +30,7 @@
      弃用:
      -
      此方法已废弃,请改用 中的 logConfig 参数设置日志文件路径。
      +
      此方法已废弃,请改用 中的 logConfigmLogConfig 参数设置日志文件路径。

      设置 SDK 的输出 log 文件。SDK 运行时产生的所有 log 将写入该文件。App 必须保证指定的目录存在而且可写。

      diff --git a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita index 4e53343015f..e71967e1fbc 100644 --- a/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startlastmileprobetest.dita @@ -34,7 +34,7 @@
    调用限制 -

    在直播场景中,如果本地用户为主播,请勿加入频道后调用该方法。

    +

    无。

    -
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita index 2802bf50b7a..91b21c3985b 100644 --- a/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setmixedaudioframeparameters.dita @@ -49,10 +49,6 @@ 调用限制

    无。

    -
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita index 1f7321290c6..8d5a9a79a4d 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframebeforemixingparameters.dita @@ -44,10 +44,6 @@ 调用限制

    无。

    -
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita index 8361244bf97..5f55912a395 100644 --- a/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setplaybackaudioframeparameters.dita @@ -58,10 +58,6 @@ 调用限制

    无。

    -
    参数 diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index 85d226ab9e7..b4d9e9f5804 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -57,10 +57,6 @@ 调用限制

    无。

    -
    参数