diff --git a/.github/workflows/python-app-sync-proto.yml b/.github/workflows/python-app-sync-proto.yml index 784beb48170..12f16a30591 100644 --- a/.github/workflows/python-app-sync-proto.yml +++ b/.github/workflows/python-app-sync-proto.yml @@ -28,7 +28,6 @@ jobs: - name: sync proto type (cn to en) run: | cd xml2json - python sync_prototype.py --src_dir ../dita/RTC/API --dest_dir ../en-US/dita/RTC/API python sync_prototype.py --src_dir ../dita/RTC-NG/API --dest_dir ../en-US/dita/RTC-NG/API - name: Create Pull Request uses: peter-evans/create-pull-request@v4 diff --git a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita index b0ae5f9aa55..b6f2cb2fb62 100644 --- a/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita +++ b/en-US/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita @@ -13,18 +13,18 @@

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

+ + + + + +

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

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

+ + + + + +

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

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

+ + + + + + +

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

+ + + + + + +

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

+ + + + + +

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

+ + + + + +

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

+ + + + + + +

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

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

+

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

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

+

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

+

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

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

+ + +

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

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

+ + + + +

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

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

+ + + + +

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

+ + +

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

    +

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

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

+ + + + +

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

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

+ + + + +

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

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

+ + + + +

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

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

+ + + + +

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

+

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

+

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

+

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

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

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

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

+

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

+

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

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

+ + Future<String> getLoopbackDevice(); +

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

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

+ + Future<AudioDeviceInfo> getPlaybackDefaultDevice(); +

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

+

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

+

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

+

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

+

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

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

+ + Future<AudioDeviceInfo> getRecordingDefaultDevice(); +

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

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

+

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

+

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

+

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

+

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

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

+ Future<void> release(); +

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

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

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

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

+

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

+

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

+

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

+

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

+

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

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

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

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

+

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

+

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

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

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

+

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

+

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

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

+ Future<void> stopRecordingDeviceTest(); +

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

+

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

+

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

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

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

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

+

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

+

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

+

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

+

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

+

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

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

+

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

+

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

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

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

+ + + + + + +

Details

Call this method before .

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

+

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

+ + +

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

+

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

+

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

+ + + + + + +

Details

Call this method before .

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

+ Future<void> initialize(); +

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

+

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

+

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

+

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

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

+ +

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

+

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

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

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

+

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

+ + + + + +

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

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

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

+

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

+

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

+

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

+

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

+

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

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

+

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

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

+ +

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

+

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

+

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

+

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

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

+

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

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

+

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

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

+

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

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

+

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

+

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

+

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

+ + + + +

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

public abstract void Dispose(); -

+

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

+

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

+

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

+

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

+

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

+

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

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

+ + +

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

+

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

+

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

+

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

+ Future<String> getPlaySrc(); +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

Details

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

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

+

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

+

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

+

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

+

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

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

+ + +

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

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

+

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

+

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

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

+

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

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

+

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

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

+ + +

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

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

+

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

+

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

+

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

+

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

+

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

+ + +

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

+

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

+

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

+ + + + +

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

+

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

+

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

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

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

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

+ + +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+ + + + +

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

+

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

+

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

+

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

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

+

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

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

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

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

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

+ Future<int> getCacheFileCount(); +

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

+ Future<int> getMaxCacheFileCount(); +

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

+ Future<int> getMaxCacheFileSize(); +

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

+ Future<void> removeAllCaches(); +

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

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

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

+ Future<void> removeOldCache(); +

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

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

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

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

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

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

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

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

+ + + + + +

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

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

+

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

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

+ + + + + +

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

+ Future<void> release(); +

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

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

+

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

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

+

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

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

+

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

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

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

+

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

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

+ Future<MusicPlayer> createMusicPlayer(); +

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

+ + + + + +

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

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

+ + + + + +

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

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

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

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

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

+ Future<String> getMusicCharts(); +

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

+

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

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

+ + + + + + +

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

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

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

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

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

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

+

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

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

+ Future<void> release(); +

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

+ Future<void> removeCache(int songCode);

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

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

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

+

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

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

+ + + + + + +

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

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

+

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

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

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

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

+ + + + + +

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

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

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

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

+ + + + + +

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

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

+ + + + + +

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

+ + + + + + +

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

+

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

+

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

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

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

+ + + + + +

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

+ + + + +

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

+

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

+

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

+

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

+

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

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

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

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

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

+ + + + + + +

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

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

+ + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

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

+ + + + + +

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

+ + + + +

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

+

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

+

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

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

+ Future<void> destroyMediaRecorder(MediaRecorder mediaRecorder);

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

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

+ + +

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

+

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

+

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

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

+ + + + + + +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

+ + +

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

+

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

+ Future<void> enableInstantMediaRendering();

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

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

+ + +

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

+

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

+

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

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

+

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

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

+ + + +

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

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

+

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

+ + +

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

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

+ + + + + +

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

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

+ + +

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

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

+ + +

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

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

+ + +

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

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

+ + +

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

+

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

+

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

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

+ + + + + + +

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

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

+ + +

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

+

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

+

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

+

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

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

+ + + + +

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

+

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

+

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

+

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

+ Future<int> getCurrentMonotonicTimeInMs();

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

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

+ + + + + +

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

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

+ + + + + +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

+

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

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

+

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

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

+

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

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

+ Future<int> getNativeHandle(); +

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

+ Future<int> getNetworkType(); +

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

+ Future<int> getNtpWallTimeInMs(); +

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

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

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

+

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

+

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

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

+ + + + +

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

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

+ + + + +

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

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

+

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

+

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

+

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

+ Future<bool> isCameraExposureSupported(); +

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

+

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

+

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

+

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

+

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

+

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

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

+ + + + + + +

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

+

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

+

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

+

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

+

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

+

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

+

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

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

+

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

+

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

+

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

+

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

+

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

+

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

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

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

+

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

+

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

+

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

+

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

+

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

+

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

+ + + + + +

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

+

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

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

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

+

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

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

+ + + + + + +

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

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

+

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

+ + + + + +

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

+

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

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

+ + + + + + +

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

+ + +

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

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

+

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

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

+ + + + +

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

+

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

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

+ + + + + + +

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

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

+ + + + + + +

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

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

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

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

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

+ + + + +

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

+ Future<int> queryScreenCaptureCapability();

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

+

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

+

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

+

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

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

+

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

+

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

+

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

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

+ + +

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

- - - - - - - -

+ + + + + + + +

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

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

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

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

+

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

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

+ + +

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

+

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

+

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

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

+

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

+

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

+

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

    +

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

+

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

+

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

+

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

+

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

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

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

+

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

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

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

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

+ + + + + +

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

+

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

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

+

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

+ + +

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

+

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

+

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

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

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

+

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

+

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

+

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

+

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

+

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

+ + +

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

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

+ + +

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

+

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

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

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

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

+ + +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

+ + +

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

+

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

+ Future<void> setLocalVoiceFormant(double formantRatio);

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

+

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

+

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

+ + +

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

+

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

+

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

+

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

+

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

+

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

+

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

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

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

+

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

+ Future<void> setParameters(String parameters);

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

+ + +

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

+

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

+

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

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

+ +

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

+

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

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

+ Future<void> setRouteInCommunicationMode(int route);

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

+

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

+

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

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

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

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

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

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

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

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

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

+

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

+

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

+

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

+

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

+ + +

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

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

+ + + + + +

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

+ + +

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

- - - - - - - -

+ + + + + + + +

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

- - - - - - - -

+ + + + + + + +

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

+ Future<void> setVideoScenario(VideoApplicationScenarioType scenarioType);

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

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

+ + + + +

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

- - - - - - - -

+ + + + + + + +

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

+

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

+

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

+

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

+

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

+

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

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

+ + + + +

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

+

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

+ + +

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

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

+ + +

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

+

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

+

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

+

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

+

Details

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

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

+

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

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

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

+

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

+

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

+ Future<void> startMediaRenderingTracing();

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

+

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

+

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

+

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

+

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

+

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

+

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

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

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

+

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

+

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

+

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

+

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

+

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

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

+ + + + + +

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

+

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

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

+ + + + +

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

+

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

+

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

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

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

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

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

+

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

+

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

+ + + + +

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

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

+ + +

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

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

+ + + + +

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

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

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

+

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

+

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

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

+

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

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

+ + +

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

+

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

+

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

- - - - - - - -

+ + + + + + + +

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

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

+ + +

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

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

+ + +

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

+

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

+

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

+

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

+

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

+ Future<void> updatePreloadChannelToken(String token);

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

+

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

+

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

+

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

+

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

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

+

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

+

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

+

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

+

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

+ + + +

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

+

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

+

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

+

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

+

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

+

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

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

+

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

+

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

+ + + + + +

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

+ + + + + +

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

+

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

+ + +

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

+

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

+

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

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

+

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

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

+ + + +

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

+

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

+

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

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

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

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

+ + + + + +

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

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

+ + + + + +

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

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

+ + + + + + +

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

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

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+ Future<void> startMediaRenderingTracingEx(RtcConnection connection);

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

+

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

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

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

+ Future<void> stopChannelMediaRelayEx(RtcConnection connection);

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

+

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

+

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

+

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

+

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

+

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

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

+ + +

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

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

+ + +

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

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

+ + +

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

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

+ + + + +

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

+

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

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

+ + + + +

\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita index ea24e9ea42a..55a5d8b642e 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicecollection_setdevice.dita @@ -20,7 +20,7 @@ public abstract int SetDevice(string deviceIdUTF8); Future<void> setDevice(String deviceIdUTF8); -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita index 31b7c7554a1..d3669d3f6db 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_enumeratevideodevices.dita @@ -20,7 +20,7 @@ public abstract DeviceInfo[] EnumerateVideoDevices(); abstract enumerateVideoDevices(): VideoDeviceInfo[]; List<VideoDeviceInfo> enumerateVideoDevices(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita index 3f0d78bcbd5..511db8c0f7b 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getcapability.dita @@ -26,9 +26,9 @@ deviceIdUTF8: string, deviceCapabilityNumber: number ): VideoFormat; - Future<VideoFormat> getCapability( + Future<VideoFormat> getCapability( {required String deviceIdUTF8, required int deviceCapabilityNumber}); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita index 938d15fc75c..ec0cf5fd897 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_getdevice.dita @@ -20,7 +20,7 @@ public abstract int GetDevice(ref string deviceIdUTF8); abstract getDevice(): string; Future<String> getDevice(); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita index 97f5ec15fb6..2a49c51f8c3 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_numberofcapabilities.dita @@ -21,7 +21,7 @@ public abstract int NumberOfCapabilities(string deviceIdUTF8); abstract numberOfCapabilities(deviceIdUTF8: string): number; Future<void> numberOfCapabilities(String deviceIdUTF8); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita index 4ba4251a31c..1ab5c049c0e 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_release.dita @@ -13,14 +13,14 @@

- - + + virtual void release() = 0; abstract release(): void; - + abstract release(): void; - Future<void> release(); -

+ Future<void> release(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita index 3999b1526fb..ecb3d93a493 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_setdevice.dita @@ -13,14 +13,14 @@

- - + + virtual int setDevice(const char deviceId[MAX_DEVICE_ID_LENGTH]) = 0; abstract setDevice(deviceIdUTF8: string): number; public abstract int SetDevice(string deviceIdUTF8); abstract setDevice(deviceIdUTF8: string): number; Future<void> setDevice(String deviceIdUTF8); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita index 1bcb80c99a8..8c04fae8c3b 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_startdevicetest.dita @@ -20,7 +20,7 @@ public abstract int StartDeviceTest(view_t hwnd); abstract startDeviceTest(hwnd: any): number; Future<void> startDeviceTest(int hwnd); -

+

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita index c8a55893080..fbf047da6af 100644 --- a/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita +++ b/en-US/dita/RTC-NG/API/api_ivideodevicemanager_stopdevicetest.dita @@ -20,7 +20,7 @@ public abstract int StopDeviceTest(); abstract stopDeviceTest(): number; Future<void> stopDeviceTest(); -

+

<ph keyref="return-section-title" /> diff --git a/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita b/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita index 261278ea195..190d2ab200f 100644 --- a/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita +++ b/en-US/dita/RTC-NG/API/api_ivideosink_getbuffertype.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita b/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita index 7433b23cf2c..69fae2b0edc 100644 --- a/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita +++ b/en-US/dita/RTC-NG/API/api_ivideosink_getpixelformat.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita index 9aae458bb82..9d793ca1a3c 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_addbackgroundimage.dita @@ -15,17 +15,17 @@

public void addBackgroundImage(AgoraImage backgroundImage) { if (backgroundImageList == null) { - backgroundImageList = new ArrayList<AgoraImage>(); + backgroundImageList = new ArrayList<AgoraImage>(); } backgroundImageList.add(backgroundImage); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita index f522da69b91..01a1782a6ed 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_adduser.dita @@ -19,12 +19,12 @@ } - (int)addUser:(AgoraLiveTranscodingUser* _Nonnull)user; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita index 640bc315a54..e94d6b04c8c 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_addwatermark.dita @@ -15,17 +15,17 @@

public void addWatermark(AgoraImage watermark) { if (watermarkList == null) { - watermarkList = new ArrayList<AgoraImage>(); + watermarkList = new ArrayList<AgoraImage>(); } watermarkList.add(watermark); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita index 56b5d657ec4..1af7d0a6c0d 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_defaulttranscoding.dita @@ -13,14 +13,14 @@

- + + (AgoraLiveTranscoding* _Nonnull)defaultTranscoding; - - - - - -

+ + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita index a1de9e8e006..ba40217f417 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita @@ -13,16 +13,16 @@

- public Map<String, Boolean> getAdvancedFeatures() { + public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; } - - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; - - - - - -

+ - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita index b8ef825ca72..22b1edf920d 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundcolor.dita @@ -16,13 +16,13 @@ public int getBackgroundColor() { return this.backgroundColor; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita index 92cfc15cf50..ebbf098e2ec 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getbackgroundimagelist.dita @@ -13,16 +13,16 @@

- public ArrayList<AgoraImage> getBackgroundImageList() { + public ArrayList<AgoraImage> getBackgroundImageList() { return backgroundImageList; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita index c02579215d2..5981a1d8ca7 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getblue.dita @@ -17,13 +17,13 @@ public int getBlue() { return backgroundColor & 0x0ff; } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita index 40016158c43..05867394a1f 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getgreen.dita @@ -15,15 +15,15 @@

@Deprecated public int getGreen() { - return (backgroundColor >> 8) & 0x0ff; + return (backgroundColor >> 8) & 0x0ff; } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita index 741c7c0b093..8fd040efac3 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getred.dita @@ -15,15 +15,15 @@

@Deprecated public int getRed() { - return (backgroundColor >> 16) & 0x0ff; + return (backgroundColor >> 16) & 0x0ff; } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita index e239704b418..7b5fd1a6074 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getusercount.dita @@ -16,13 +16,13 @@ public int getUserCount() { return transcodingUsers.size(); } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita index 91f373a386c..c8dcd9f9e07 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getusers.dita @@ -13,17 +13,17 @@

- public final ArrayList<TranscodingUser> getUsers() { - Collection<TranscodingUser> values = transcodingUsers.values(); - return new ArrayList<>(values); + public final ArrayList<TranscodingUser> getUsers() { + Collection<TranscodingUser> values = transcodingUsers.values(); + return new ArrayList<>(values); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita index 0a4c97d15d9..9ccf5fc3774 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_getwatermarklist.dita @@ -13,16 +13,16 @@

- public ArrayList<AgoraImage> getWatermarkList() { + public ArrayList<AgoraImage> getWatermarkList() { return watermarkList; } - - - - - - -

+ + + + + + +

Returns diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita index ac66dfea44c..a964ce46c7b 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removebackgroundimage.dita @@ -19,13 +19,13 @@ } return backgroundImageList.remove(backgroundImage); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita index 514b08a8215..057ad87aa71 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removeuser.dita @@ -22,12 +22,12 @@ return Constants.ERR_OK; } - (int)removeUser:(NSUInteger)uid; - - - - - -

+ + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita index 17ac059acf9..15cfe844dc3 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_removewatermark.dita @@ -19,13 +19,13 @@ } return watermarkList.remove(watermark); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita index 0afbbf68278..14281a52529 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setadvancedfeatures.dita @@ -17,12 +17,12 @@ advancedFeatures.put(featureName, opened); } - (void)setAdvancedFeatures:(NSString* _Nonnull)featureName opened:(BOOL)opened; - - - - - -

+ + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita index 1d267a8d2a0..19fd1af22e1 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor.dita @@ -16,13 +16,13 @@ public void setBackgroundColor(int color) { this.backgroundColor = color; } - - - - - - -

+ + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita index 8551fd71153..b6fa353f13a 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setbackgroundcolor2.dita @@ -16,13 +16,13 @@ public void setBackgroundColor(int red, int green, int blue) { this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita index 77d0bc1681c..7d898f75639 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setblue.dita @@ -19,13 +19,13 @@ public void setBlue(int blue) { int green = getGreen(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita index 86eff43314e..10e497a3406 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setgreen.dita @@ -19,13 +19,13 @@ public void setGreen(int green) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita index 378e8be01fe..c20167cb0d4 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setred.dita @@ -19,13 +19,13 @@ public void setRed(int red) { int blue = getBlue(); this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita index c44dcbab9f5..48814b57b32 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers.dita @@ -13,7 +13,7 @@

- public void setUsers(ArrayList<TranscodingUser> users) { + public void setUsers(ArrayList<TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { for (TranscodingUser user : users) { @@ -22,13 +22,13 @@ } userCount = transcodingUsers.size(); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita index fd20b1ded66..5351f5f9a4b 100644 --- a/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita +++ b/en-US/dita/RTC-NG/API/api_livetranscoding_setusers2.dita @@ -13,7 +13,7 @@

- public void setUsers(Map<Integer, TranscodingUser> users) { + public void setUsers(Map<Integer, TranscodingUser> users) { transcodingUsers.clear(); if (users != null) { transcodingUsers.putAll(users); @@ -21,13 +21,13 @@ userCount = transcodingUsers.size(); } - - - - - - -

+ + + + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita b/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita index e768654978f..abd5a6afcf7 100644 --- a/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita +++ b/en-US/dita/RTC-NG/API/api_mediaplayercontroller_initialize.dita @@ -19,8 +19,8 @@ - Future<void> initialize(); -

+ Future<void> initialize(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_monitordevicechange.dita b/en-US/dita/RTC-NG/API/api_monitordevicechange.dita index f5f63b4d6da..112834fdd45 100644 --- a/en-US/dita/RTC-NG/API/api_monitordevicechange.dita +++ b/en-US/dita/RTC-NG/API/api_monitordevicechange.dita @@ -13,14 +13,14 @@

- + - (void)monitorDeviceChange:(BOOL)enabled; virtual int enableLoopbackRecording(bool enabled) = 0; - - - - -

+ + + + +

Details diff --git a/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita b/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita index 6a15c9bf076..571e6c49a24 100644 --- a/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_musicchartcollection_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual int getCount() = 0; abstract getCount(): number; - + abstract getCount(): number; - Future<int> getCount(); -

+ Future<int> getCount(); +

Details diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita b/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita index a9ccad8e2d8..3a16e81a388 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getcount.dita @@ -13,14 +13,14 @@

- - + + virtual int getCount() = 0; abstract getCount(): number; - + abstract getCount(): number; int getCount(); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita b/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita index dacbc9d6f53..4351c270547 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getmusic.dita @@ -13,14 +13,14 @@

- - + + virtual Music* getMusic(int32_t index) = 0; abstract getMusic(index: number): Music; - + abstract getMusic(index: number): Music; Music getMusic(int index); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita b/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita index 39128098f8f..d92de823b96 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_getpagesize.dita @@ -13,14 +13,14 @@

- - + + virtual int getPageSize() = 0; virtual int getPageSize() = 0; - + virtual int getPageSize() = 0; int getPageSize(); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita b/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita index 9fb640ba730..a0c27cb73ab 100644 --- a/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita +++ b/en-US/dita/RTC-NG/API/api_musiccollection_gettotal.dita @@ -13,14 +13,14 @@

- - + + virtual int getTotal() = 0; abstract getTotal(): number; - + abstract getTotal(): number; int getTotal(); -

+

Details
diff --git a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita index a5556d0263a..a7c157b3197 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita index b18a24447ee..b8b61fa925c 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_local_view_surfaceview_screen.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita b/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita index e257217eb51..5786574aafe 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_local_view_textureview_screen.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita b/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita index 4ff7bbcb9e4..ecb327a9c91 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_remote_view_surfaceview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita index 7810f30bd2e..052212d8748 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtcsurfaceview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita index 4c7e2be5364..af939bd026f 100644 --- a/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita +++ b/en-US/dita/RTC-NG/API/api_rtc_render_view_rtctextureview.dita @@ -13,14 +13,14 @@

- - - - - - - -

+ + + + + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita b/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita index 6b7d3ca4622..673e1e4c96d 100644 --- a/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita +++ b/en-US/dita/RTC-NG/API/api_rtcengineext_getassetabsolutepath.dita @@ -19,7 +19,7 @@ Future<String?> getAssetAbsolutePath(String assetPath) -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_airplayconnected.dita b/en-US/dita/RTC-NG/API/callback_airplayconnected.dita index cf94afbd6e3..5c055f6a8ce 100644 --- a/en-US/dita/RTC-NG/API/callback_airplayconnected.dita +++ b/en-US/dita/RTC-NG/API/callback_airplayconnected.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita index 9615bc04ec1..1b1849479ad 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onmixedaudioencodedframe.dita @@ -16,15 +16,25 @@ public abstract void onMixedAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); - (void)onMixedEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; - virtual void OnMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; - - public virtual void OnMixedAudioEncodedFrame(IntPtr frameBufferPtr, int length, + virtual void onMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; + onMixedAudioEncodedFrame?( + frameBuffer: Uint8Array, + length: number, + audioEncodedFrameInfo: EncodedAudioFrameInfo + ): void; + public virtual void OnMixedAudioEncodedFrame(IntPtr frameBufferPtr, int length, EncodedAudioFrameInfo audioEncodedFrameInfo) { } - -

+ onMixedAudioEncodedFrame?( + frameBuffer: Uint8Array, + length: number, + audioEncodedFrameInfo: EncodedAudioFrameInfo + ): void; + final void Function(Uint8List frameBuffer, int length, + EncodedAudioFrameInfo audioEncodedFrameInfo)? onMixedAudioEncodedFrame; +

After calling and setting the audio profile as , you can get the mixed and encoded audio data of the local and all remote users through this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita index d3282ba2145..eeb9e743b10 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita @@ -17,13 +17,13 @@ ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); - (void)onPlaybackEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; - virtual void OnPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; + virtual void onPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; onPlaybackAudioEncodedFrame?( frameBuffer: Uint8Array, length: number, audioEncodedFrameInfo: EncodedAudioFrameInfo ): void; - public virtual void OnPlaybackAudioEncodedFrame(IntPtr frameBufferPtr, int length, + public virtual void OnPlaybackAudioEncodedFrame(IntPtr frameBufferPtr, int length, EncodedAudioFrameInfo audioEncodedFrameInfo) { @@ -34,7 +34,8 @@ audioEncodedFrameInfo: EncodedAudioFrameInfo ): void; final void Function(Uint8List frameBuffer, int length, - EncodedAudioFrameInfo audioEncodedFrameInfo)? onPlaybackAudioEncodedFrame;

+ EncodedAudioFrameInfo audioEncodedFrameInfo)? onPlaybackAudioEncodedFrame;
+

After calling and setting the encoded audio as , you can get encoded audio data of all remote users through this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita index 5b530ab4ce8..d286c48bd93 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita @@ -15,14 +15,15 @@

- virtual bool isMultipleChannelFrameWanted() { return false; } + virtual bool isMultipleChannelFrameWanted() { return false; } - public virtual bool IsMultipleChannelFrameWanted() + public virtual bool IsMultipleChannelFrameWanted() { return true; } -

+ +

After you register the audio frame observer, the SDK triggers this callback every time it captures an audio frame.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita index b1f127b6199..26ffda744d8 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita @@ -15,16 +15,17 @@

- + - public virtual bool OnPlaybackAudioFrameBeforeMixing(string channel_id, + public virtual bool OnPlaybackAudioFrameBeforeMixing(string channel_id, string uid, AudioFrame audio_frame) { return false; } -

+ +

After you successfully register the audio frame observer, if you set the return value of as , the SDK triggers this callback each time it receives an audio frame from any of the channels.

diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita index 9cf2029eade..ade89265c51 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getearmonitoringaudioparams.dita @@ -16,16 +16,15 @@ public abstract AudioParams getEarMonitoringAudioParams(); - (AgoraAudioParams* _Nonnull)getEarMonitoringAudioParams NS_SWIFT_NAME(getEarMonitoringAudioParams()); - virtual AudioParams getEarMonitoringAudioParams() = 0; - + virtual AudioParams getEarMonitoringAudioParams() = 0; - public virtual AudioParams GetEarMonitoringAudioParams() + public virtual AudioParams GetEarMonitoringAudioParams() { return new AudioParams(); } - - -

+ + +

diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita index 1ddc0357aa1..6c2259310d3 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onconnectionstatechange.dita @@ -15,7 +15,7 @@

public void onConnectionStateChange(int state, int reason); - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine connectionDidChangedToState:(AgoraSaeConnectionState)state withReason:(AgoraSaeConnectionChangedReason)reason; - virtual void onConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} + virtual void onConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} public virtual void OnConnectionStateChange(SAE_CONNECTION_STATE_TYPE state, SAE_CONNECTION_CHANGED_REASON_TYPE reason) {} diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita index b2ad8730cac..607341a0631 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammatejoined.dita @@ -15,11 +15,11 @@

public void onTeammateJoined(int uid); - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine teammateJoined:(NSUInteger)uid; - virtual void onTeammateJoined(uid_t uid) {} - - - -

+ virtual void onTeammateJoined(uid_t uid) {} + + public virtual void OnTeammateJoined(uint uid) {} + +

When a remote user with the same team ID calls to enter the current room, the local user receives this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita index 4a97d2d2c51..1b4cdc8da0f 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_onteammateleft.dita @@ -15,11 +15,11 @@

public void onTeammateLeft(int uid); - (void)csaEngine:(AgoraCloudSpatialAudioKit* _Nonnull)engine teammateLeft:(NSUInteger)uid; - virtual void onTeammateLeft(uid_t uid) {} - - - -

+ virtual void onTeammateLeft(uid_t uid) {} + + public virtual void OnTeammateLeft(uint uid) {} + +

When a remote user in the current team calls to leave the current room, the local user receives this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita index 66adc8dc8d6..95e64cf46cd 100644 --- a/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita +++ b/en-US/dita/RTC-NG/API/callback_icloudspatialaudioeventhandler_ontokenwillexpire.dita @@ -15,11 +15,11 @@

public void onTokenWillExpire(); - (void)csaEngineTokenWillExpire:(AgoraCloudSpatialAudioKit* _Nonnull)engine; - virtual void onTokenWillExpire() {} - - - -

+ virtual void onTokenWillExpire() {} + onTokenWillExpire?(): void; + public virtual void OnTokenWillExpire() {} + +

Once the RTM token expires, the SDK triggers this callback to notify the app to renew the RTM token.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita index 7207d998bef..0a6eee0b64b 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onagoracdntokenwillexpire.dita @@ -17,13 +17,13 @@ - (void)onAgoraCDNTokenWillExpire; - virtual void onAgoraCDNTokenWillExpire() = 0; + virtual void onAgoraCDNTokenWillExpire() = 0; - - public virtual void OnAgoraCDNTokenWillExpire() {} - onAgoraCDNTokenWillExpire?(): void; - final void Function()? onAgoraCDNTokenWillExpire; -

+ onAgoraCDNTokenWillExpire?(): void; + public virtual void OnAgoraCDNTokenWillExpire() {} + onAgoraCDNTokenWillExpire?(): void; + final void Function()? onAgoraCDNTokenWillExpire; +

If the ts is about to expire when you call the method to switch the CDN route for playing the media resource, the SDK triggers this callback to remind you to renew the authentication information. You need to call the method to pass in the updated authentication information to update the authentication information of the media resource URL. After updating the authentication information, you need to call to complete the route switching.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita index e2e7d069394..b03aa8c46ad 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onaudiovolumeindication.dita @@ -14,14 +14,15 @@

void onAudioVolumeIndication(int volume); - - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit volumeIndicationDidReceive:(NSInteger)volume; - virtual void onAudioVolumeIndication(int volume) = 0; - - public virtual void OnAudioVolumeIndication(int volume) {} - -

+ virtual void onAudioVolumeIndication(int volume) = 0; + onAudioVolumeIndication?(volume: number): void; + public virtual void OnAudioVolumeIndication(int volume) {} + onAudioVolumeIndication?(volume: number): void; + final void Function(int volume)? onAudioVolumeIndication; +

The SDK triggers this callback every 200 milliseconds to report the current volume of the media player.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita index f52c89f3ece..e68bee6d233 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_oncompleted.dita @@ -16,11 +16,12 @@ void onCompleted(); - virtual void onCompleted() = 0; - - public virtual void OnCompleted() { } - -

+ virtual void onCompleted() = 0; + onCompleted?(): void; + public virtual void OnCompleted() { } + onCompleted?(): void; + final void Function()? onCompleted; +

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita index 743a74d74b6..a5c4c0c34a9 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita @@ -15,16 +15,15 @@

void onPlayBufferUpdated(long playCachedBuffer); - - (void)AgoraMediaPlayer:(AgoraMediaPlayer *_Nonnull)playerKit - didPlayBufferUpdated:(NSInteger)playCachedBuffer; + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit + didPlayBufferUpdated:(NSInteger)playCachedBuffer NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didPlayBufferUpdated:)); + virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; - virtual void onPlayBufferUpdated(int64_t playCachedBuffer) = 0; - - - public virtual void OnPlayBufferUpdated(Int64 playCachedBuffer) { } - onPlayBufferUpdated?(playCachedBuffer: number): void; - final void Function(int playCachedBuffer)? onPlayBufferUpdated; -

+ onPlayBufferUpdated?(playCachedBuffer: number): void; + public virtual void OnPlayBufferUpdated(Int64 playCachedBuffer) { } + onPlayBufferUpdated?(playCachedBuffer: number): void; + final void Function(int playCachedBuffer)? onPlayBufferUpdated; +

When playing online media resources, the SDK triggers this callback every two seconds to report the playback duration that the currently buffered data can support.

    diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita index 608ec3fe1bb..92c38ec3ad4 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerinfoupdated.dita @@ -15,15 +15,15 @@

    void onPlayerInfoUpdated(PlayerUpdatedInfo info); - - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit infoUpdated:(AgoraMediaPlayerUpdatedInfo *_Nonnull)info; + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit infoUpdated:(AgoraMediaPlayerUpdatedInfo *_Nonnull)info; - virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; + virtual void onPlayerInfoUpdated(const media::base::PlayerUpdatedInfo& info) = 0; - - public virtual void OnPlayerInfoUpdated(PlayerUpdatedInfo info) { } - onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; - final void Function(PlayerUpdatedInfo info)? onPlayerInfoUpdated; -

    + onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; + public virtual void OnPlayerInfoUpdated(PlayerUpdatedInfo info) { } + onPlayerInfoUpdated?(info: PlayerUpdatedInfo): void; + final void Function(PlayerUpdatedInfo info)? onPlayerInfoUpdated; +

When the information about the media player changes, the SDK triggers this callback. You can use this callback for troubleshooting.

diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita index b29b3cfe813..c97325b164f 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersrcinfochanged.dita @@ -15,15 +15,15 @@

void onPlayerSrcInfoChanged(SrcInfo from, SrcInfo to); - - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playerSrcInfoDidChange:(AgoraMediaPlayerSrcInfo *_Nonnull)to from:(AgoraMediaPlayerSrcInfo *_Nonnull)from; + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playerSrcInfoDidChange:(AgoraMediaPlayerSrcInfo *_Nonnull)to from:(AgoraMediaPlayerSrcInfo *_Nonnull)from; - virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; + virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; - - public virtual void OnPlayerSrcInfoChanged(SrcInfo from, SrcInfo to) {} - onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; - final void Function(SrcInfo from, SrcInfo to)? onPlayerSrcInfoChanged; -

+ onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; + public virtual void OnPlayerSrcInfoChanged(SrcInfo from, SrcInfo to) {} + onPlayerSrcInfoChanged?(from: SrcInfo, to: SrcInfo): void; + final void Function(SrcInfo from, SrcInfo to)? onPlayerSrcInfoChanged; +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita b/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita index 3dc2e3bb49f..586ac4cda61 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayervideoframeobserver_onframe.dita @@ -15,12 +15,12 @@

- - + onFrame?(frame: VideoFrame): void; - + onFrame?(frame: VideoFrame): void; - final void Function(VideoFrame frame)? onFrame;

+ final void Function(VideoFrame frame)? onFrame; +

After registering the video frame observer, the callback occurs every time the player receives a video frame, reporting the detailed information of the video frame.

diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita index afeed1e8e44..0c8ef0eaf9e 100644 --- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita +++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita @@ -15,14 +15,14 @@

public abstract int getMaxMetadataSize(); - (NSInteger)metadataMaxSize; - virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; } - - public virtual int GetMaxMetadataSize() + virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; } + + public virtual int GetMaxMetadataSize() { return 0; } - -

+ +

After successfully complete the registration by calling , the SDK triggers this callback once every video frame is sent. You need to specify the maximum size of the metadata in the return value of this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita index d048a029f5c..bc93b9c48a6 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita @@ -13,14 +13,24 @@

- void onLyricResult(String requestId, String lyricUrl, int errorCode); - - (void)onLyricResult:(NSString*)requestId lyricUrl:(NSString* _Nullable)lyricUrl errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onLyricResult(const char* requestId, const char* lyricUrl, MusicContentCenterStatusCode error_code) = 0; - - onLyricResult?(requestId: string, lyricUrl: string): void; - public abstract void OnLyricResult(string requestId, string lyricUrl); - onLyricResult?(requestId: string, lyricUrl: string): void; - final void Function(String requestId, String lyricUrl)? onLyricResult; + void onLyricResult(String requestId, long songCode, String lyricUrl, int errorCode); + - (void)onLyricResult:(NSString*)requestId songCode:(NSInteger)songCode lyricUrl:(NSString* _Nullable)lyricUrl errorCode:(AgoraMusicContentCenterStatusCode)errorCode; + virtual void onLyricResult(const char* requestId, int64_t songCode, const char* lyricUrl, MusicContentCenterStatusCode errorCode) = 0; + onLyricResult?( + requestId: string, + songCode: number, + lyricUrl: string, + errorCode: MusicContentCenterStatusCode + ): void; + public abstract void OnLyricResult(string requestId, int64_t songCode, string lyricUrl, MusicContentCenterStatusCode errorCode); + onLyricResult?( + requestId: string, + songCode: number, + lyricUrl: string, + errorCode: MusicContentCenterStatusCode + ): void; + final void Function(String requestId, int songCode, String lyricUrl, + MusicContentCenterStatusCode errorCode)? onLyricResult;

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita index e6c2e4e369f..c052515ea7d 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusicchartsresult.dita @@ -15,21 +15,20 @@

void onMusicChartsResult(String requestId, MusicChartInfo[] list, int errorCode); - (void)onMusicChartsResult:(NSString *)requestId result:(NSArray<AgoraMusicChartInfo*> *)result errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStatusCode error_code) = 0; - + virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStatusCode errorCode) = 0; onMusicChartsResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicChartInfo[] + result: MusicChartInfo[], + errorCode: MusicContentCenterStatusCode ): void; - public abstract void OnMusicChartsResult(string requestId, MusicChartInfo[] result, MusicContentCenterStatusCode error_code); + public abstract void OnMusicChartsResult(string requestId, MusicChartInfo[] result, MusicContentCenterStatusCode error_code); onMusicChartsResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicChartInfo[] + result: MusicChartInfo[], + errorCode: MusicContentCenterStatusCode ): void; - final void Function(String requestId, MusicContentCenterStatusCode status, - List<MusicChartInfo> result)? onMusicChartsResult; + final void Function(String requestId, List<MusicChartInfo> result, + MusicContentCenterStatusCode errorCode)? onMusicChartsResult;

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita index 2c84a7fd32c..47b39c830e4 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita @@ -16,21 +16,20 @@ void onMusicCollectionResult( String requestId, int page, int pageSize, int total, Music[] list, int errorCode); - (void)onMusicCollectionResult:(NSString *)requestId result:(AgoraMusicCollection *)result errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStatusCode error_code) = 0; - + virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStatusCode errorCode) = 0; onMusicCollectionResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicCollection + result: MusicCollection, + errorCode: MusicContentCenterStatusCode ): void; - public abstract void OnMusicCollectionResult(string requestId, MusicContentCenterStatusCode status, MusicCollection result); + public abstract void OnMusicCollectionResult(string requestId, MusicCollection result, MusicContentCenterStatusCode error_code); onMusicCollectionResult?( requestId: string, - status: MusicContentCenterStatusCode, - result: MusicCollection + result: MusicCollection, + errorCode: MusicContentCenterStatusCode ): void; - final void Function(String requestId, MusicContentCenterStatusCode status, - MusicCollection result)? onMusicCollectionResult; + final void Function(String requestId, MusicCollection result, + MusicContentCenterStatusCode errorCode)? onMusicCollectionResult;

diff --git a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita index 023f16113b2..f435f6a3cef 100644 --- a/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita +++ b/en-US/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita @@ -13,27 +13,33 @@

- void onPreLoadEvent(long songCode, int percent, String lyricUrl, int status, int errorCode); - - (void)onPreLoadEvent:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl status:(AgoraMusicContentCenterPreloadStatus)status errorCode:(AgoraMusicContentCenterStatusCode)errorCode; - virtual void onPreLoadEvent(int64_t songCode, int percent, const char* lyricUrl, PreloadStatusCode status, MusicContentCenterStatusCode error_code) = 0; - + onPreLoadEvent(String requestId, long songCode, int percent, String lyricUrl, int status, int errorCode); + - (void)onPreLoadEvent:(NSString*)requestId songCode:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl status:(AgoraMusicContentCenterPreloadStatus)status errorCode:(AgoraMusicContentCenterStatusCode)errorCode; + virtual void onPreLoadEvent(const char* requestId, int64_t songCode, int percent, const char* lyricUrl, PreloadStatusCode status, MusicContentCenterStatusCode errorCode) = 0; onPreLoadEvent?( + requestId: string, songCode: number, percent: number, + lyricUrl: string, status: PreloadStatusCode, - msg: string, - lyricUrl?: string + errorCode: MusicContentCenterStatusCode ): void; - public abstract void OnPreLoadEvent(Int64 songCode, int percent, PreloadStatusCode status, string msg, string lyricUrl); + public abstract void OnPreLoadEvent(string requestId, Int64 songCode, int percent, string lyricUrl, PreloadStatusCode status, MusicContentCenterStatusCode errorCode); onPreLoadEvent?( + requestId: string, songCode: number, percent: number, + lyricUrl: string, status: PreloadStatusCode, - msg: string, - lyricUrl?: string + errorCode: MusicContentCenterStatusCode ): void; - final void Function(int songCode, int percent, PreloadStatusCode status, - String msg, String lyricUrl)? onPreLoadEvent; + final void Function( + String requestId, + int songCode, + int percent, + String lyricUrl, + PreloadStatusCode status, + MusicContentCenterStatusCode errorCode)? onPreLoadEvent;

diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita index 1bfefe6b062..8b8d61e4c73 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceiveaudiopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onReceiveAudioPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onReceiveAudioPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita index 85ddf80dd17..89e56738f80 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onreceivevideopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onReceiveVideoPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onReceiveVideoPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita index 19b1491ab50..8aa4670a01a 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendaudiopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onSendAudioPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onSendAudioPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita index 6ccbad3e451..398f872652e 100644 --- a/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita +++ b/en-US/dita/RTC-NG/API/callback_ipacketobserver_onsendvideopacket.dita @@ -13,13 +13,13 @@

- - - virtual bool onSendVideoPacket(Packet& packet) = 0; - - - -

+ + + virtual bool onSendVideoPacket(Packet& packet) = 0; + + + +

Parameters diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita index 28bc942e8df..009ed141b67 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapierror.dita @@ -15,11 +15,12 @@

- + - + -

+ +

During the SDK runtime, the SDK triggers this callback when an error occurs in Electron.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita index f9bce293b7c..186c1cf943b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioeffectfinished.dita @@ -15,13 +15,13 @@

public void onAudioEffectFinished(int soundId) {} - (void)rtcEngineDidAudioEffectFinish:(AgoraRtcEngineKit * _Nonnull)engine soundId:(int)soundId; - virtual void onAudioEffectFinished(int soundId) { + virtual void onAudioEffectFinished(int soundId) { } - onAudioEffectFinished?(soundId: number): void; - public virtual void OnAudioEffectFinished(int soundId) - onAudioEffectFinished?(soundId: number): void; - final void Function(int soundId)? onAudioEffectFinished; -

+ onAudioEffectFinished?(soundId: number): void; + public virtual void OnAudioEffectFinished(int soundId) + onAudioEffectFinished?(soundId: number): void; + final void Function(int soundId)? onAudioEffectFinished; +

This callback occurs when the local audio effect file finishes playing.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita index 02bf67cc05f..9972e47c0fc 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingfinished.dita @@ -15,13 +15,13 @@

public void onAudioMixingFinished() {} - (void)rtcEngineLocalAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onAudioMixingFinished() { + virtual void onAudioMixingFinished() { } - onAudioMixingFinished?(): void; - public virtual void OnAudioMixingFinished() - onAudioMixingFinished?(): void; - final void Function()? onAudioMixingFinished; -

+ onAudioMixingFinished?(): void; + public virtual void OnAudioMixingFinished() + onAudioMixingFinished?(): void; + final void Function()? onAudioMixingFinished; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita index 523dfac70de..c58feace25a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraready.dita @@ -15,12 +15,12 @@

public void onCameraReady() {} - (void)rtcEngineCameraDidReady:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onCameraReady() + virtual void onCameraReady() onCameraReady?(): void; - public virtual void OnCameraReady() + public virtual void OnCameraReady() onCameraReady?(): void; - final void Function()? onCameraReady; -

+ final void Function()? onCameraReady; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita index 782262fdd25..071e41503ce 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita @@ -15,11 +15,12 @@

- virtual void onDispose() = 0; + virtual void onDispose() = 0; - + -

+ +

The SDK triggers this callback to remind you to disable the custom video source device. This callback tells you that the SDK is about to release the object. Ensure that you no longer use after receiving this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita index dd86dfaf496..d833d2c1ac5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ondownlinknetworkinfoupdated.dita @@ -14,15 +14,15 @@

public void onDownlinkNetworkInfoUpdated(DownlinkNetworkInfo info) {} - - virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) { + + virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) { (void)info; } - - - - final void Function(DownlinkNetworkInfo info)? onDownlinkNetworkInfoUpdated; -

+ + + + final void Function(DownlinkNetworkInfo info)? onDownlinkNetworkInfoUpdated; +

This callback is used for notifying the user to switch major/minor stream if needed.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita index b3613acbfa9..bd73bb4b976 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita @@ -19,7 +19,7 @@ error:(int)error message:(NSString * __nullable)message; - virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) { + virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) { (void)provider; (void)extension; (void)error; @@ -31,7 +31,7 @@ error: number, message: string ): void; - public virtual void OnExtensionError(string provider, string extension, int error, string message) { } + public virtual void OnExtensionError(string provider, string extension, int error, string message) { } onExtensionError?( provider: string, extension: string, @@ -40,8 +40,8 @@ ): void; final void Function( String provider, String extension, int error, String message)? - onExtensionError; -

+ onExtensionError;
+

When calling () fails or the extension runs in error, the extension triggers this callback and reports the error code and reason.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita index 08daa4bcb8c..89a97e2da46 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstopped.dita @@ -17,15 +17,15 @@ - (void)onExtensionStopped:(NSString * __nullable)provider extension:(NSString * __nullable)extension; - virtual void onExtensionStopped(const char* provider, const char* extension) { + virtual void onExtensionStopped(const char* provider, const char* extension) { (void)provider; (void)extension; } - onExtensionStopped?(provider: string, extName: string): void; - public virtual void OnExtensionStopped(string provider, string ext_name) { } - onExtensionStopped?(provider: string, extName: string): void; - final void Function(String provider, String extName)? onExtensionStopped; -

+ onExtensionStopped?(provider: string, extension: string): void; + public virtual void OnExtensionStopped(string provider, string extension) { } + onExtensionStopped?(provider: string, extension: string): void; + final void Function(String provider, String extName)? onExtensionStopped; +

After a successful call of (), this callback is triggered.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita index 42126ff7fbf..a313724ee33 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita @@ -15,13 +15,14 @@

- virtual void onFirstLocalAudioFrame(int elapsed) { + virtual void onFirstLocalAudioFrame(int elapsed) { (void)elapsed; } - public virtual void OnFirstLocalAudioFrame(int elapsed) + public virtual void OnFirstLocalAudioFrame(int elapsed) -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita index da0d8ceec2c..3eb45f10e5f 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oninitialize.dita @@ -15,11 +15,12 @@

- virtual bool onInitialize(IVideoFrameConsumer *consumer) = 0; + virtual bool onInitialize(IVideoFrameConsumer *consumer) = 0; - + -

+ +

The SDK triggers this callback to remind you to initialize the custom video source. After receiving this callback, you can do some preparation, such as enabling the camera, and then use the return value to tell the SDK whether the custom video source is prepared.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita index d91171e64f7..345cd05804e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onintrarequestreceived.dita @@ -13,15 +13,14 @@

- - - - - - - - final void Function(RtcConnection connection)? onIntraRequestReceived; -

+ + + + + + + final void Function(RtcConnection connection)? onIntraRequestReceived; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita index 1ff370e2479..ed48f71f433 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmileproberesult.dita @@ -16,14 +16,14 @@ public void onLastmileProbeResult(LastmileProbeResult result) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileProbeTestResult:(AgoraLastmileProbeResult * _Nonnull)result; - virtual void onLastmileProbeResult(const LastmileProbeResult& result) { + virtual void onLastmileProbeResult(const LastmileProbeResult& result) { (void)result; } - onLastmileProbeResult?(result: LastmileProbeResult): void; - public virtual void OnLastmileProbeResult(LastmileProbeResult result) - onLastmileProbeResult?(result: LastmileProbeResult): void; - final void Function(LastmileProbeResult result)? onLastmileProbeResult; -

+ onLastmileProbeResult?(result: LastmileProbeResult): void; + public virtual void OnLastmileProbeResult(LastmileProbeResult result) + onLastmileProbeResult?(result: LastmileProbeResult): void; + final void Function(LastmileProbeResult result)? onLastmileProbeResult; +

The SDK triggers this callback within 30 seconds after the app calls .

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita index ecaca1eb2a8..8d210a0484d 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalpublishfallbacktoaudioonly.dita @@ -11,18 +11,19 @@
-

- public void onLocalPublishFallbackToAudioOnly(boolean isFallbackOrRecover) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine +

+ public void onLocalPublishFallbackToAudioOnly(boolean isFallbackOrRecover) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalPublishFallbackToAudioOnly:(BOOL)isFallbackOrRecover; - virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) { + virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) { (void)isFallbackOrRecover; } - on(evt: EngineEvents.LOCAL_PUBLISH_FALLBACK_TO_AUDIO_ONLY, cb: (isFallbackOrRecover: boolean) => void): this; - public virtual void OnLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) - - FallbackCallback? localPublishFallbackToAudioOnly; -

+ + public virtual void OnLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) + + final void Function(bool isFallbackOrRecover)? + onLocalPublishFallbackToAudioOnly; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita index c9b109c03f0..3099969b9e3 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocaluserregistered.dita @@ -15,16 +15,16 @@

public void onLocalUserRegistered(int uid, String userAccount) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalUserRegisteredWithUserId:(NSUInteger)uid userAccount:(NSString * _Nonnull)userAccount; - virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { + virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { (void)uid; (void)userAccount; } - onLocalUserRegistered?(uid: number, userAccount: string): void; - public virtual void OnLocalUserRegistered(uint uid, string userAccount) {} - onLocalUserRegistered?(uid: number, userAccount: string): void; + onLocalUserRegistered?(uid: number, userAccount: string): void; + public virtual void OnLocalUserRegistered(uint uid, string userAccount) {} + onLocalUserRegistered?(uid: number, userAccount: string): void; final void Function(bool isFallbackOrRecover)? - onLocalPublishFallbackToAudioOnly; -

+ onLocalPublishFallbackToAudioOnly; +

After the local user successfully calls to register the user account or calls to join a channel, the SDK triggers the callback and informs the local user's UID and User Account.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita index 26cf5dfa741..c460f73b6c8 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita @@ -11,15 +11,14 @@
-

- - - virtual void onMicrophoneEnabled(bool enabled) { (void)enabled; } - on(evt: EngineEvents.MICROPHONE_ENABLED, cb: (enabled: boolean) => void): this; - public virtual void OnMicrophoneEnabled(bool enabled) - - EnabledCallback? microphoneEnabled; -

+

+ + + virtual void onMicrophoneEnabled(bool enabled) { (void)enabled; } + + public virtual void OnMicrophoneEnabled(bool enabled) + +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita index d9eb108e38b..d7838406155 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingbegin.dita @@ -15,11 +15,12 @@

- (void)rtcEngineRemoteAudioMixingDidStart:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onRemoteAudioMixingBegin() + virtual void onRemoteAudioMixingBegin() - public virtual void OnRemoteAudioMixingBegin() + public virtual void OnRemoteAudioMixingBegin() -

+ +

When a remote user calls to play the background music, the SDK reports this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita index 157ce232fed..b73d84a41a5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiomixingend.dita @@ -11,15 +11,15 @@
-

- - - (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onRemoteAudioMixingEnd() - on(evt: EngineEvents.REMOTE_AUDIO_MIXING_END, cb: () => void): this; - public virtual void OnRemoteAudioMixingEnd() - - EmptyCallback? remoteAudioMixingEnd; -

+

+ + - (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine; + virtual void onRemoteAudioMixingEnd() + + public virtual void OnRemoteAudioMixingEnd() + + +

The SDK triggers this callback when a remote user finishes audio mixing.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita index 22b03a6395e..22320504a5b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotesubscribefallbacktoaudioonly.dita @@ -11,22 +11,26 @@
-

- public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine +

+ public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRemoteSubscribeFallbackToAudioOnly:(BOOL)isFallbackOrRecover byUid:(NSUInteger)uid; - virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) { + virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) { (void)uid; (void)isFallbackOrRecover; } - on( - evt: EngineEvents.REMOTE_SUBSCRIBE_FALLBACK_TO_AUDIO_ONLY, - cb: (uid: number, isFallbackOrRecover: boolean) => void -): this; - public virtual void OnRemoteSubscribeFallbackToAudioOnly(uint uid, bool isFallbackOrRecover) - - FallbackWithUidCallback? remoteSubscribeFallbackToAudioOnly; -

+ onRemoteSubscribeFallbackToAudioOnly?( + uid: number, + isFallbackOrRecover: boolean + ): void; + public virtual void OnRemoteSubscribeFallbackToAudioOnly(uint uid, bool isFallbackOrRecover) + onRemoteSubscribeFallbackToAudioOnly?( + uid: number, + isFallbackOrRecover: boolean + ): void; + final void Function(int uid, bool isFallbackOrRecover)? + onRemoteSubscribeFallbackToAudioOnly; +

If you call and set option as , the SDK triggers this callback when the remote media stream falls back to audio-only mode due to poor uplink conditions, or when the remote media stream switches back to the video after the downlink network condition improves.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita index f19371cddd0..95a99da3e71 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequestaudiofileinfo.dita @@ -13,14 +13,14 @@

- - - - - public virtual void OnRequestAudioFileInfo(AudioFileInfo info, AUDIO_FILE_INFO_ERROR error) - - RequestAudioFileInfoCallback? requestAudioFileInfoCallback; -

+ + + + + public virtual void OnRequestAudioFileInfo(AudioFileInfo info, AUDIO_FILE_INFO_ERROR error) + + +

After successfully calling , the SDK triggers this callback to report the information of the audio file, such as the file path and duration.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita index 58145908481..a6f4ba9d883 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita @@ -15,11 +15,12 @@

- + - public virtual void OnScreenCaptureInfoUpdated(ScreenCaptureInfo info) + public virtual void OnScreenCaptureInfoUpdated(ScreenCaptureInfo info) - OnScreenCaptureInfoUpdated? screenCaptureInfoUpdated;

+ +

When you call or to start screen sharing and use the excludeWindowList attribute to block the specified window, the SDK triggers this callback if the window blocking fails.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita index 56f688e5f68..93089fc8f92 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstart.dita @@ -11,15 +11,15 @@
-

- - - virtual bool onStart() = 0; - - - - -

+

+ + + virtual bool onStart() = 0; + + + + +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita index 5b44aef4c68..a7b8a50ece8 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita @@ -11,15 +11,15 @@
-

- - - virtual void onStop() = 0; - - - - -

+

+ + + virtual void onStop() = 0; + + + + +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita index fc1ed7f1107..f0a199528bb 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita @@ -16,7 +16,7 @@ public void onStreamInjectedStatus(String url, int uid, int status) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamInjectedStatusOfUrl:(NSString * _Nonnull)url uid:(NSUInteger)uid status:(AgoraInjectStreamStatus)status; - virtual void onStreamInjectedStatus(const char* url, uid_t uid, int status) { + virtual void onStreamInjectedStatus(const char* url, uid_t uid, int status) { (void)url; (void)uid; (void)status; diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita index 3907583b1be..5f237c55e35 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita @@ -16,14 +16,14 @@ public void onStreamUnpublished(String url) {} - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamUnpublishedWithUrl:(NSString * _Nonnull)url; - virtual void onStreamUnpublished(const char *url) { + virtual void onStreamUnpublished(const char *url) { (void)url; } onStreamUnpublished?(url: string): void; - public virtual void OnStreamUnpublished(string url) + public virtual void OnStreamUnpublished(string url) onStreamUnpublished?(url: string): void; - final void Function(String url)? onStreamUnpublished; -

+ final void Function(String url)? onStreamUnpublished; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita index 4d34fdf6ae2..02793dd7e49 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita @@ -15,12 +15,12 @@

public void onTranscodingUpdated() {} - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onTranscodingUpdated() - onTranscodingUpdated?(): void; - public virtual void OnTranscodingUpdated() - onTranscodingUpdated?(): void; - final void Function()? onTranscodingUpdated; -

+ virtual void onTranscodingUpdated() + onTranscodingUpdated?(): void; + public virtual void OnTranscodingUpdated() + onTranscodingUpdated?(): void; + final void Function()? onTranscodingUpdated; +

When the class in the method updates, the SDK triggers the callback to report the update information.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita index d9c938c6f4f..385f7dc666c 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita @@ -11,26 +11,23 @@
-

- - - virtual void onUploadLogResult(const char* requestId, +

+ + + virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) { (void)requestId; (void)success; (void)reason; } - on(evt: EngineEvents.UPLOAD_LOG_RESULT, cb: ( - requestId: string, - success: boolean, - reason: number - ) => void): this; - public virtual void OnUploadLogResult(string requestId, bool success, UPLOAD_ERROR_REASON reason) - - UploadLogResultCallback? uploadLogResult; -

-
+ + public virtual void OnUploadLogResult(string requestId, bool success, UPLOAD_ERROR_REASON reason) + + final void Function(RtcConnection connection, String requestId, bool success, + UploadErrorReason reason)? onUploadLogResult; +

+
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita index 279bd32daf9..20e85f4a574 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita index 0403bbc132c..9819cd00bff 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita index 39f851e3aa8..c2d1802695e 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita index 559de06f8ee..f471d83c9d5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita @@ -15,12 +15,12 @@

public void onVideoStopped() {} - (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine; - virtual void onVideoStopped() - onVideoStopped?(): void; - public virtual void OnVideoStopped() - onVideoStopped?(): void; - final void Function()? onVideoStopped; -

+ virtual void onVideoStopped() + onVideoStopped?(): void; + public virtual void OnVideoStopped() + onVideoStopped?(): void; + final void Function()? onVideoStopped; +

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita index cc3f491e62c..7d947e4045a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -21,7 +21,7 @@ oldState:(AgoraStreamSubscribeState)oldState newState:(AgoraStreamSubscribeState)newState elapseSinceLastState:(int)elapseSinceLastState; - virtual void onVideoSubscribeStateChanged(const char* channel, + virtual void onVideoSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, @@ -32,23 +32,29 @@ (void)newState; (void)elapseSinceLastState; } - onVideoSubscribeStateChanged?(channel: string, uid: number, oldState: StreamSubscribeState, newState: StreamSubscribeState, elapseSinceLastState: number): void; - public virtual void OnVideoSubscribeStateChanged(string channel, uint uid, STREAM_SUBSCRIBE_STATE oldState, + onVideoSubscribeStateChanged?( + channel: string, + uid: number, + oldState: StreamSubscribeState, + newState: StreamSubscribeState, + elapseSinceLastState: number + ): void; + public virtual void OnVideoSubscribeStateChanged(string channel, uint uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) - onVideoSubscribeStateChanged?( - channel: string, - uid: number, - oldState: StreamSubscribeState, - newState: StreamSubscribeState, - elapseSinceLastState: number -): void; + onVideoSubscribeStateChanged?( + channel: string, + uid: number, + oldState: StreamSubscribeState, + newState: StreamSubscribeState, + elapseSinceLastState: number + ): void; final void Function( String channel, int uid, StreamSubscribeState oldState, StreamSubscribeState newState, - int elapseSinceLastState)? onVideoSubscribeStateChanged; -

+ int elapseSinceLastState)? onVideoSubscribeStateChanged;
+

<ph keyref="callback-section-title"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita index d54911aacf5..acd1811d4d4 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita @@ -13,15 +13,15 @@

- - - - - public virtual void OnVirtualBackgroundSourceEnabled(bool enabled, + + + + + public virtual void OnVirtualBackgroundSourceEnabled(bool enabled, VIRTUAL_BACKGROUND_SOURCE_STATE_REASON reason) - - VirtualBackgroundSourceEnabledCallback? virtualBackgroundSourceEnabled; -

+ + There are no corresponding names available +

After you call , the SDK triggers this callback to report whether virtual background is successfully enabled.

diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita index 8849faa74c9..6082008aa76 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita @@ -15,12 +15,12 @@

- - + - + - There are no corresponding names available

+ There are no corresponding names available +

<ph keyref="callback-section-title" /> diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita index 791a62d85ad..a5a1e0fd7ed 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita @@ -15,11 +15,12 @@

- virtual bool getSmoothRenderingEnabled(){ return false; } + virtual bool getSmoothRenderingEnabled(){ return false; } - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita index e121f563045..54d9a0f8c7d 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita @@ -15,13 +15,13 @@

int getVideoFrameProcessMode(); - (AgoraVideoFrameProcessMode)getVideoFrameProcessMode; - virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { + virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { return PROCESS_MODE_READ_ONLY; } - - - -

+ + + +

After you successfully register the video frame observer, the SDK triggers this callback each time it receives a video frame. You need to set your preferred process mode in the return value of this callback.

diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita index cd6125088d0..bc403c45b89 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita @@ -15,17 +15,18 @@

- virtual bool onRenderVideoFrameEx(const char *channelId, - unsigned int uid, + virtual bool onRenderVideoFrameEx(const char *channelId, + unsigned int uid, VideoFrame& videoFrame) { return true; } - public virtual bool OnRenderVideoFrameEx(string channelId, uint uid, VideoFrame videoFrame) + public virtual bool OnRenderVideoFrameEx(string channelId, uint uid, VideoFrame videoFrame) { return true; } -

+ +

After you successfully register the video frame observer, if you set the return value of as , the SDK triggers this callback each time it receives a video frame from any of the channel.

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita index 84c2a7d5e15..8c17ff9cf77 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_ondispose.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita index 6bd4a1d2b47..5310834e3e9 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita index e33b4ac3d98..a5603adb60f 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita index b506e33de72..a81a7f04cbd 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita index 4eed7155bb1..c8d1d8750a1 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onstart.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita b/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita index 09563c83860..91bc6ee41b6 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideosink_onstop.dita @@ -15,11 +15,12 @@

- + - + -

+ +

diff --git a/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita b/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita index a4d751e1d38..87e64dfc0ff 100644 --- a/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita +++ b/en-US/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita @@ -13,14 +13,13 @@

- - - - - - public event OnTextureSizeModifyHandler OnTextureSizeModify; - -

+ + + + + public event OnTextureSizeModifyHandler OnTextureSizeModify; + +

When the width and height of Texture are changed, the SDK triggers this callback.

diff --git a/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index 48f3597553f..57a0eb46e3d 100644 --- a/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -59,8 +59,8 @@ return logUploadServer; } }; - public ArrayList<String> ipList = null; - public ArrayList<String> domainList = null; + public ArrayList<String> ipList = null; + public ArrayList<String> domainList = null; public String verifyDomainName = null; public int mode = Constants.LOCAL_RPOXY_CONNECTIVITY_FIRST; public AdvancedConfigInfo advancedConfig = null; @@ -146,13 +146,13 @@ this.advancedConfig}); @JsonKey(name: 'ipList') - final List<String>? ipList; + final List<String>? ipList; @JsonKey(name: 'ipListSize') final int? ipListSize; @JsonKey(name: 'domainList') - final List<String>? domainList; + final List<String>? domainList; @JsonKey(name: 'domainListSize') final int? domainListSize; @@ -166,12 +166,12 @@ @JsonKey(name: 'advancedConfig') final AdvancedConfigInfo? advancedConfig; - factory LocalAccessPointConfiguration.fromJson(Map<String, dynamic> json) => + factory LocalAccessPointConfiguration.fromJson(Map<String, dynamic> json) => _$LocalAccessPointConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$LocalAccessPointConfigurationToJson(this); + Map<String, dynamic> toJson() => _$LocalAccessPointConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita b/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita index 143b9a0dcd7..cbccee3cc49 100644 --- a/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita +++ b/en-US/dita/RTC-NG/API/class_advancedaudiooptions.dita @@ -57,7 +57,7 @@ _$AdvancedAudioOptionsFromJson(json); Map<String, dynamic> toJson() => _$AdvancedAudioOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita b/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita index fa4f58ffe99..4b93c2f4d69 100644 --- a/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita +++ b/en-US/dita/RTC-NG/API/class_advancedconfiginfo.dita @@ -25,7 +25,7 @@ <codeblock props="electron" outputclass="language-typescript">export class AdvancedConfigInfo { logUploadServer?: LogUploadServerInfo; }</codeblock> - <codeblock props="unity cs" outputclass="language-csharp" /> + <codeblock props="unity cs" outputclass="language-csharp"/> <codeblock props="rn" outputclass="language-typescript">export class AdvancedConfigInfo { logUploadServer?: LogUploadServerInfo; }</codeblock> @@ -35,12 +35,12 @@ @JsonKey(name: 'logUploadServer') final LogUploadServerInfo? logUploadServer; - factory AdvancedConfigInfo.fromJson(Map<String, dynamic> json) => + factory AdvancedConfigInfo.fromJson(Map<String, dynamic> json) => _$AdvancedConfigInfoFromJson(json); - Map<String, dynamic> toJson() => _$AdvancedConfigInfoToJson(this); + Map<String, dynamic> toJson() => _$AdvancedConfigInfoToJson(this); }</codeblock> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="detailed_desc"> <dl outputclass="since"> diff --git a/en-US/dita/RTC-NG/API/class_advanceoptions.dita b/en-US/dita/RTC-NG/API/class_advanceoptions.dita index 0dc3b8188c3..e4025e425ea 100644 --- a/en-US/dita/RTC-NG/API/class_advanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_advanceoptions.dita @@ -75,12 +75,12 @@ @JsonKey(name: 'compressionPreference') final CompressionPreference? compressionPreference; - factory AdvanceOptions.fromJson(Map<String, dynamic> json) => + factory AdvanceOptions.fromJson(Map<String, dynamic> json) => _$AdvanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$AdvanceOptionsToJson(this); }</codeblock> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="detailed_desc"> <dl outputclass="since"> diff --git a/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita index 00e2495f967..a2154b2588c 100644 --- a/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/en-US/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -20,12 +20,12 @@ @property(assign, nonatomic) NSInteger height NS_SWIFT_NAME(height); @property(assign, nonatomic) NSInteger distance NS_SWIFT_NAME(distance); @end</codeblock> - <codeblock props="cpp unreal" outputclass="language-cpp" /> - <codeblock props="electron" outputclass="language-typescript" /> - <codeblock props="unity cs" outputclass="language-csharp" /> - <codeblock props="rn" outputclass="language-typescript" /> - <codeblock props="flutter" outputclass="language-dart" /> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="cpp unreal" outputclass="language-cpp"/> + <codeblock props="electron" outputclass="language-typescript"/> + <codeblock props="unity cs" outputclass="language-csharp"/> + <codeblock props="rn" outputclass="language-typescript"/> + <codeblock props="flutter" outputclass="language-dart"/> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="parameters"> <title><text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita b/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita index 1fedcefe046..9798b68eb6d 100644 --- a/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita @@ -69,7 +69,7 @@ _$AgoraRhythmPlayerConfigFromJson(json); Map<String, dynamic> toJson() => _$AgoraRhythmPlayerConfigToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita b/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita index 2d9c9034430..7fbb15398c7 100644 --- a/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_agorartcdeviceinfo.dita @@ -6,19 +6,19 @@

- + __attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; @property(copy, nonatomic) NSString *_Nullable deviceId; @property(copy, nonatomic) NSString *_Nullable deviceName; @end - - - - - -

+ + + + + +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_agorartcexception.dita b/en-US/dita/RTC-NG/API/class_agorartcexception.dita index e0e0d11240e..3070d8c670c 100644 --- a/en-US/dita/RTC-NG/API/class_agorartcexception.dita +++ b/en-US/dita/RTC-NG/API/class_agorartcexception.dita @@ -6,20 +6,20 @@

- - - - - - + + + + + + class AgoraRtcException implements Exception { AgoraRtcException({required this.code, this.message}); final int code; final String? message; @override - String toString() => 'AgoraRtcException($code, $message)'; + String toString() => 'AgoraRtcException($code, $message)'; } -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/class_agoravideoview.dita b/en-US/dita/RTC-NG/API/class_agoravideoview.dita index 78c8c6db727..3e8a3501edd 100644 --- a/en-US/dita/RTC-NG/API/class_agoravideoview.dita +++ b/en-US/dita/RTC-NG/API/class_agoravideoview.dita @@ -24,7 +24,7 @@ @override State<AgoraVideoView> createState() => AgoraVideoViewState(); } -

+

diff --git a/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita b/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita index 013d09c6f28..92fb23d9d79 100644 --- a/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_audiodeviceinfo.dita @@ -6,14 +6,14 @@

- - - + + + export class AudioDeviceInfo { deviceId?: string; deviceName?: string; } - + export class AudioDeviceInfo { deviceId?: string; deviceName?: string; @@ -29,7 +29,7 @@ _$AudioDeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$AudioDeviceInfoToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita b/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita index 37d7ef8d682..66dea457c47 100644 --- a/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita +++ b/en-US/dita/RTC-NG/API/class_audioexternalsourceposition.dita @@ -21,11 +21,11 @@ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS = 1, AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS = 2, }; - - - - -

+ + + + +

diff --git a/en-US/dita/RTC-NG/API/class_audioframe.dita b/en-US/dita/RTC-NG/API/class_audioframe.dita index 3a981dd4e6c..48bdb86a548 100644 --- a/en-US/dita/RTC-NG/API/class_audioframe.dita +++ b/en-US/dita/RTC-NG/API/class_audioframe.dita @@ -149,7 +149,7 @@ this.buffer, this.renderTimeMs, this.avsyncType}); -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audioparams.dita b/en-US/dita/RTC-NG/API/class_audioparams.dita index 8e884f6f6d3..1e955dcd393 100644 --- a/en-US/dita/RTC-NG/API/class_audioparams.dita +++ b/en-US/dita/RTC-NG/API/class_audioparams.dita @@ -98,12 +98,12 @@ @JsonKey(name: 'samples_per_call') final int? samplesPerCall; - factory AudioParams.fromJson(Map<String, dynamic> json) => + factory AudioParams.fromJson(Map<String, dynamic> json) => _$AudioParamsFromJson(json); - Map<String, dynamic> toJson() => _$AudioParamsToJson(this); + Map<String, dynamic> toJson() => _$AudioParamsToJson(this); } -

+

You can pass the object in the following APIs to set the audio data format for the corresponding callback:

    diff --git a/en-US/dita/RTC-NG/API/class_audiopcmframe.dita b/en-US/dita/RTC-NG/API/class_audiopcmframe.dita index 2b5f283aa3f..24473786c4a 100644 --- a/en-US/dita/RTC-NG/API/class_audiopcmframe.dita +++ b/en-US/dita/RTC-NG/API/class_audiopcmframe.dita @@ -80,14 +80,14 @@ final BytesPerSample? bytesPerSample; @JsonKey(name: 'data_') - final List<int>? data; + final List<int>? data; - factory AudioPcmFrame.fromJson(Map<String, dynamic> json) => + factory AudioPcmFrame.fromJson(Map<String, dynamic> json) => _$AudioPcmFrameFromJson(json); - Map<String, dynamic> toJson() => _$AudioPcmFrameToJson(this); + Map<String, dynamic> toJson() => _$AudioPcmFrameToJson(this); } -

    +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index b694d999d95..039b4d298c6 100644 --- a/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -164,12 +164,12 @@ @JsonKey(name: 'recordingChannel') final int? recordingChannel; - factory AudioRecordingConfiguration.fromJson(Map<String, dynamic> json) => + factory AudioRecordingConfiguration.fromJson(Map<String, dynamic> json) => _$AudioRecordingConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$AudioRecordingConfigurationToJson(this); + Map<String, dynamic> toJson() => _$AudioRecordingConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita b/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita index 803061ef046..8fd12f4496d 100644 --- a/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita +++ b/en-US/dita/RTC-NG/API/class_audiospectrumdata.dita @@ -48,7 +48,7 @@ _$AudioSpectrumDataFromJson(json); Map<String, dynamic> toJson() => _$AudioSpectrumDataToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita index 9403c246cbb..cc80c0731ee 100644 --- a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -53,12 +53,12 @@ class AudioTrackConfig { @JsonKey(name: 'enableLocalPlayback') final bool? enableLocalPlayback; - factory AudioTrackConfig.fromJson(Map<String, dynamic> json) => + factory AudioTrackConfig.fromJson(Map<String, dynamic> json) => _$AudioTrackConfigFromJson(json); - Map<String, dynamic> toJson() => _$AudioTrackConfigToJson(this); + Map<String, dynamic> toJson() => _$AudioTrackConfigToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita b/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita index 0a33d4f694b..aecaa2140fe 100644 --- a/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -84,7 +84,7 @@ _$AudioVolumeInfoFromJson(json); Map<String, dynamic> toJson() => _$AudioVolumeInfoToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_cachestatistics.dita b/en-US/dita/RTC-NG/API/class_cachestatistics.dita index bd0cb0d6d09..412c4cf3a10 100644 --- a/en-US/dita/RTC-NG/API/class_cachestatistics.dita +++ b/en-US/dita/RTC-NG/API/class_cachestatistics.dita @@ -61,12 +61,12 @@ @JsonKey(name: 'downloadSize') final int? downloadSize; - factory CacheStatistics.fromJson(Map<String, dynamic> json) => + factory CacheStatistics.fromJson(Map<String, dynamic> json) => _$CacheStatisticsFromJson(json); - Map<String, dynamic> toJson() => _$CacheStatisticsToJson(this); + Map<String, dynamic> toJson() => _$CacheStatisticsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index c0f274a22e8..ac48f90eaed 100644 --- a/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -199,12 +199,12 @@ @JsonKey(name: 'followEncodeDimensionRatio') final bool? followEncodeDimensionRatio; - factory CameraCapturerConfiguration.fromJson(Map<String, dynamic> json) => + factory CameraCapturerConfiguration.fromJson(Map<String, dynamic> json) => _$CameraCapturerConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$CameraCapturerConfigurationToJson(this); + Map<String, dynamic> toJson() => _$CameraCapturerConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_channel.dita b/en-US/dita/RTC-NG/API/class_channel.dita index 1170ac2ed9f..fb292226bf6 100644 --- a/en-US/dita/RTC-NG/API/class_channel.dita +++ b/en-US/dita/RTC-NG/API/class_channel.dita @@ -6,14 +6,14 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> - <codeblock props="android" outputclass="language-java" /> - <codeblock props="ios mac" outputclass="language-objectivec" /> - <codeblock props="cpp unreal" outputclass="language-cpp" /> - <codeblock props="electron" outputclass="language-typescript" /> - <codeblock props="unity cs" outputclass="language-csharp" /> - <codeblock props="rn" outputclass="language-typescript" /> - <codeblock props="flutter" outputclass="language-dart" /> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="android" outputclass="language-java"/> + <codeblock props="ios mac" outputclass="language-objectivec"/> + <codeblock props="cpp unreal" outputclass="language-cpp"/> + <codeblock props="electron" outputclass="language-typescript"/> + <codeblock props="unity cs" outputclass="language-csharp"/> + <codeblock props="rn" outputclass="language-typescript"/> + <codeblock props="flutter" outputclass="language-dart"/> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="detailed_desc"> <p>The channel information. You can set it as one of the following values:<ul> diff --git a/en-US/dita/RTC-NG/API/class_channelmediainfo.dita b/en-US/dita/RTC-NG/API/class_channelmediainfo.dita index 20c6f3872b9..be623d483d9 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediainfo.dita @@ -68,7 +68,7 @@ _$ChannelMediaInfoFromJson(json); Map<String, dynamic> toJson() => _$ChannelMediaInfoToJson(this); }</codeblock> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="parameters"> <title> <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita index 4e662aba898..9762bb05840 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -80,8 +80,8 @@ struct ChannelMediaOptions { Optional<bool> publishCameraTrack; Optional<bool> publishSecondaryCameraTrack; - Optional<bool> publishThirdCameraTrack; - Optional<bool> publishFourthCameraTrack; + Optional<bool> publishThirdCameraTrack; + Optional<bool> publishFourthCameraTrack; Optional<bool> publishMicrophoneTrack; #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) @@ -90,8 +90,8 @@ #else Optional<bool> publishScreenTrack; Optional<bool> publishSecondaryScreenTrack; - Optional<bool> publishThirdScreenTrack; - Optional<bool> publishFourthScreenTrack; + Optional<bool> publishThirdScreenTrack; + Optional<bool> publishFourthScreenTrack; #endif Optional<bool> publishCustomAudioTrack; @@ -223,37 +223,37 @@ } public class ChannelMediaOptions : OptionalJsonParse { - public Optional<bool> publishCameraTrack = new Optional<bool>(); - public Optional<bool> publishSecondaryCameraTrack = new Optional<bool>(); - public Optional<bool> publishThirdCameraTrack = new Optional<bool>(); - public Optional<bool> publishFourthCameraTrack = new Optional<bool>(); - public Optional<bool> publishMicrophoneTrack = new Optional<bool>(); - public Optional<bool> publishScreenCaptureVideo = new Optional<bool>(); - public Optional<bool> publishScreenCaptureAudio = new Optional<bool>(); - public Optional<bool> publishScreenTrack = new Optional<bool>(); - public Optional<bool> publishSecondaryScreenTrack = new Optional<bool>(); - public Optional<bool> publishThirdScreenTrack = new Optional<bool>(); - public Optional<bool> publishFourthScreenTrack = new Optional<bool>(); - public Optional<bool> publishCustomAudioTrack = new Optional<bool>(); - public Optional<int> publishCustomAudioTrackId = new Optional<int>(); - public Optional<bool> publishCustomVideoTrack = new Optional<bool>(); - public Optional<bool> publishEncodedVideoTrack = new Optional<bool>(); - public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); - public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); - public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); - public Optional<bool> autoSubscribeAudio = new Optional<bool>(); - public Optional<bool> autoSubscribeVideo = new Optional<bool>(); - public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); - public Optional<int> publishMediaPlayerId = new Optional<int>(); - public Optional<CLIENT_ROLE_TYPE> clientRoleType = new Optional<CLIENT_ROLE_TYPE>(); - public Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel = new Optional<AUDIENCE_LATENCY_LEVEL_TYPE>(); - public Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType = new Optional<VIDEO_STREAM_TYPE>(); - public Optional<CHANNEL_PROFILE_TYPE> channelProfile = new Optional<CHANNEL_PROFILE_TYPE>(); - public Optional<string> token = new Optional<string>(); - public Optional<bool> publishRhythmPlayerTrack = new Optional<bool>(); - public Optional<bool> isInteractiveAudience = new Optional<bool>(); - public Optional<video_track_id_t> customVideoTrackId = new Optional<video_track_id_t>(); - public Optional<bool> isAudioFilterable = new Optional<bool>(); + public Optional<bool> publishCameraTrack = new Optional<bool>(); + public Optional<bool> publishSecondaryCameraTrack = new Optional<bool>(); + public Optional<bool> publishThirdCameraTrack = new Optional<bool>(); + public Optional<bool> publishFourthCameraTrack = new Optional<bool>(); + public Optional<bool> publishMicrophoneTrack = new Optional<bool>(); + public Optional<bool> publishScreenCaptureVideo = new Optional<bool>(); + public Optional<bool> publishScreenCaptureAudio = new Optional<bool>(); + public Optional<bool> publishScreenTrack = new Optional<bool>(); + public Optional<bool> publishSecondaryScreenTrack = new Optional<bool>(); + public Optional<bool> publishThirdScreenTrack = new Optional<bool>(); + public Optional<bool> publishFourthScreenTrack = new Optional<bool>(); + public Optional<bool> publishCustomAudioTrack = new Optional<bool>(); + public Optional<int> publishCustomAudioTrackId = new Optional<int>(); + public Optional<bool> publishCustomVideoTrack = new Optional<bool>(); + public Optional<bool> publishEncodedVideoTrack = new Optional<bool>(); + public Optional<bool> publishMediaPlayerAudioTrack = new Optional<bool>(); + public Optional<bool> publishMediaPlayerVideoTrack = new Optional<bool>(); + public Optional<bool> publishTranscodedVideoTrack = new Optional<bool>(); + public Optional<bool> autoSubscribeAudio = new Optional<bool>(); + public Optional<bool> autoSubscribeVideo = new Optional<bool>(); + public Optional<bool> enableAudioRecordingOrPlayout = new Optional<bool>(); + public Optional<int> publishMediaPlayerId = new Optional<int>(); + public Optional<CLIENT_ROLE_TYPE> clientRoleType = new Optional<CLIENT_ROLE_TYPE>(); + public Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel = new Optional<AUDIENCE_LATENCY_LEVEL_TYPE>(); + public Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType = new Optional<VIDEO_STREAM_TYPE>(); + public Optional<CHANNEL_PROFILE_TYPE> channelProfile = new Optional<CHANNEL_PROFILE_TYPE>(); + public Optional<string> token = new Optional<string>(); + public Optional<bool> publishRhythmPlayerTrack = new Optional<bool>(); + public Optional<bool> isInteractiveAudience = new Optional<bool>(); + public Optional<video_track_id_t> customVideoTrackId = new Optional<video_track_id_t>(); + public Optional<bool> isAudioFilterable = new Optional<bool>(); } export class ChannelMediaOptions { @@ -462,12 +462,12 @@ class ChannelMediaOptions { @JsonKey(name: 'isAudioFilterable') final bool? isAudioFilterable; - factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => + factory ChannelMediaOptions.fromJson(Map<String, dynamic> json) => _$ChannelMediaOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); + Map<String, dynamic> toJson() => _$ChannelMediaOptionsToJson(this); } -

+

Agora supports publishing multiple audio streams and one video stream at the same time and in the same . For example, publishMicrophoneTrack, publishCustomAudioTrack, and publishMediaPlayerAudioTrack can be set as at the same time, but only one of publishCameraTrack, publishScreenCaptureVideopublishScreenTrack, publishCustomVideoTrack, or publishEncodedVideoTrack can be set as .Agora recommends that you set member parameter values yourself according to your business scenario, otherwise the SDK will automatically assign values to member parameters.
diff --git a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index 0cec8673f65..727fe3d9a4a 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -8,10 +8,10 @@

public class ChannelMediaRelayConfiguration { private ChannelMediaInfo srcInfo = null; - private Map<String, ChannelMediaInfo> destInfos = null; + private Map<String, ChannelMediaInfo> destInfos = null; public ChannelMediaRelayConfiguration() { - destInfos = new HashMap<String, ChannelMediaInfo>(); + destInfos = new HashMap<String, ChannelMediaInfo>(); srcInfo = new ChannelMediaInfo(null, null, 0); } @@ -31,7 +31,7 @@ return srcInfo; } - public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { + public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; } } @@ -104,7 +104,7 @@ _$ChannelMediaRelayConfigurationFromJson(json); Map<String, dynamic> toJson() => _$ChannelMediaRelayConfigurationToJson(this); } -

+

Method diff --git a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita index 78392987a90..30451cb8841 100644 --- a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita @@ -50,7 +50,7 @@ _$ClientRoleOptionsFromJson(json); Map<String, dynamic> toJson() => _$ClientRoleOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_climaxsegment.dita b/en-US/dita/RTC-NG/API/class_climaxsegment.dita index 93a8da6689e..f43f0cd51d5 100644 --- a/en-US/dita/RTC-NG/API/class_climaxsegment.dita +++ b/en-US/dita/RTC-NG/API/class_climaxsegment.dita @@ -57,12 +57,12 @@ @JsonKey(name: 'endTimeMs') final int? endTimeMs; - factory ClimaxSegment.fromJson(Map<String, dynamic> json) => + factory ClimaxSegment.fromJson(Map<String, dynamic> json) => _$ClimaxSegmentFromJson(json); - Map<String, dynamic> toJson() => _$ClimaxSegmentToJson(this); + Map<String, dynamic> toJson() => _$ClimaxSegmentToJson(this); } -

+

diff --git a/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita b/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita index 597d5fb3138..67f4c7c5698 100644 --- a/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita +++ b/en-US/dita/RTC-NG/API/class_cloudspatialaudioconfig.dita @@ -68,7 +68,7 @@ deployRegion?: number; } There are no corresponding names available -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_codeccapinfo.dita b/en-US/dita/RTC-NG/API/class_codeccapinfo.dita index e23d6c97366..167d25e4efb 100644 --- a/en-US/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/en-US/dita/RTC-NG/API/class_codeccapinfo.dita @@ -70,10 +70,10 @@ class CodecCapInfo { @JsonKey(name: 'codecLevels') final CodecCapLevels? codecLevels; - factory CodecCapInfo.fromJson(Map<String, dynamic> json) => + factory CodecCapInfo.fromJson(Map<String, dynamic> json) => _$CodecCapInfoFromJson(json); - Map<String, dynamic> toJson() => _$CodecCapInfoToJson(this); + Map<String, dynamic> toJson() => _$CodecCapInfoToJson(this); }

diff --git a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita index b120ee0a9bf..6133766588b 100644 --- a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita @@ -60,10 +60,10 @@ class CodecCapLevels { @JsonKey(name: 'swDecodingLevel') final VideoCodecCapabilityLevel? swDecodingLevel; - factory CodecCapLevels.fromJson(Map<String, dynamic> json) => + factory CodecCapLevels.fromJson(Map<String, dynamic> json) => _$CodecCapLevelsFromJson(json); - Map<String, dynamic> toJson() => _$CodecCapLevelsToJson(this); + Map<String, dynamic> toJson() => _$CodecCapLevelsToJson(this); }

diff --git a/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita index c7c462449df..056541d87e5 100644 --- a/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_colorenhanceoptions.dita @@ -66,12 +66,12 @@ final double? strengthLevel; @JsonKey(name: 'skinProtectLevel') final double? skinProtectLevel; - factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) => + factory ColorEnhanceOptions.fromJson(Map<String, dynamic> json) => _$ColorEnhanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$ColorEnhanceOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita b/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita index 970de4ab592..9db28daaeb4 100644 --- a/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/en-US/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -95,16 +95,16 @@ class ContentInspectConfig { const ContentInspectConfig( {this.extraInfo, this.serverConfig, this.modules, this.moduleCount}); - @JsonKey(name: 'extraInfo') + @JsonKey(name: 'extraInfo') final String? extraInfo; - @JsonKey(name: 'serverConfig') + @JsonKey(name: 'serverConfig') final String? serverConfig; - @JsonKey(name: 'modules') + @JsonKey(name: 'modules') final List<ContentInspectModule>? modules; - @JsonKey(name: 'moduleCount') + @JsonKey(name: 'moduleCount') final int? moduleCount; factory ContentInspectConfig.fromJson(Map<String, dynamic> json) => @@ -112,7 +112,7 @@ class ContentInspectConfig { Map<String, dynamic> toJson() => _$ContentInspectConfigToJson(this); } -

+

Parameters diff --git a/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita b/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita index 35ceab71c3d..1c6cbb7d22d 100644 --- a/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/en-US/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -56,12 +56,12 @@ final ContentInspectType? type; @JsonKey(name: 'interval') final int? interval; - factory ContentInspectModule.fromJson(Map<String, dynamic> json) => + factory ContentInspectModule.fromJson(Map<String, dynamic> json) => _$ContentInspectModuleFromJson(json); - Map<String, dynamic> toJson() => _$ContentInspectModuleToJson(this); + Map<String, dynamic> toJson() => _$ContentInspectModuleToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_datastreamconfig.dita b/en-US/dita/RTC-NG/API/class_datastreamconfig.dita index 6dd4a07b0bc..c0118230a16 100644 --- a/en-US/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_datastreamconfig.dita @@ -46,7 +46,7 @@ _$DataStreamConfigFromJson(json); Map<String, dynamic> toJson() => _$DataStreamConfigToJson(this); } -

+

The following table shows the SDK behaviors under different parameter settings:

diff --git a/en-US/dita/RTC-NG/API/class_device.dita b/en-US/dita/RTC-NG/API/class_device.dita index 57607906a2e..288fb32bac9 100644 --- a/en-US/dita/RTC-NG/API/class_device.dita +++ b/en-US/dita/RTC-NG/API/class_device.dita @@ -6,14 +6,14 @@

- - - - - - - -

+ + + + + + + +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_deviceinfo.dita b/en-US/dita/RTC-NG/API/class_deviceinfo.dita index 311310e6fd5..e4d42525d42 100644 --- a/en-US/dita/RTC-NG/API/class_deviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_deviceinfo.dita @@ -41,7 +41,7 @@ _$DeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$DeviceInfoToJson(this); } -

+

This class is for Android only.
diff --git a/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita b/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita index fbc5da17bd7..6e884adb8f1 100644 --- a/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita @@ -101,12 +101,12 @@ @JsonKey(name: 'customVideoTrackId') final int? customVideoTrackId; - factory DirectCdnStreamingMediaOptions.fromJson(Map<String, dynamic> json) => + factory DirectCdnStreamingMediaOptions.fromJson(Map<String, dynamic> json) => _$DirectCdnStreamingMediaOptionsFromJson(json); - Map<String, dynamic> toJson() => _$DirectCdnStreamingMediaOptionsToJson(this); + Map<String, dynamic> toJson() => _$DirectCdnStreamingMediaOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita b/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita index 92398399c9f..2a41579dba4 100644 --- a/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita +++ b/en-US/dita/RTC-NG/API/class_directcdnstreamingstats.dita @@ -80,12 +80,12 @@ @JsonKey(name: 'audioBitrate') final int? audioBitrate; - factory DirectCdnStreamingStats.fromJson(Map<String, dynamic> json) => + factory DirectCdnStreamingStats.fromJson(Map<String, dynamic> json) => _$DirectCdnStreamingStatsFromJson(json); - Map<String, dynamic> toJson() => _$DirectCdnStreamingStatsToJson(this); + Map<String, dynamic> toJson() => _$DirectCdnStreamingStatsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita b/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita index 5b5ba330f18..03d6ce06d2d 100644 --- a/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita +++ b/en-US/dita/RTC-NG/API/class_downlinknetworkinfo.dita @@ -14,12 +14,12 @@ @property(nonatomic, assign) int lastmileBufferDelayTimeMs; @property(nonatomic, assign) int bandwidthEstimationBps; @end - - - - - -

+ + + + + +

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita b/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita index 04a8e183ffc..9e855a97152 100644 --- a/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_echotestconfiguration.dita @@ -129,12 +129,12 @@ class EchoTestConfiguration { @JsonKey(name: 'intervalInSeconds') final int? intervalInSeconds; - factory EchoTestConfiguration.fromJson(Map<String, dynamic> json) => + factory EchoTestConfiguration.fromJson(Map<String, dynamic> json) => _$EchoTestConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$EchoTestConfigurationToJson(this); + Map<String, dynamic> toJson() => _$EchoTestConfigurationToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita index 11b6fef4d34..d07b87fa555 100644 --- a/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedaudioframeinfo.dita @@ -119,10 +119,10 @@ @JsonKey(name: 'captureTimeMs') final int? captureTimeMs; - factory EncodedAudioFrameInfo.fromJson(Map<String, dynamic> json) => + factory EncodedAudioFrameInfo.fromJson(Map<String, dynamic> json) => _$EncodedAudioFrameInfoFromJson(json); - Map<String, dynamic> toJson() => _$EncodedAudioFrameInfoToJson(this); + Map<String, dynamic> toJson() => _$EncodedAudioFrameInfoToJson(this); }

diff --git a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index d453f97a3b4..96227dd9781 100644 --- a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -299,12 +299,12 @@ @JsonKey(name: 'streamType') final VideoStreamType? streamType; - factory EncodedVideoFrameInfo.fromJson(Map<String, dynamic> json) => + factory EncodedVideoFrameInfo.fromJson(Map<String, dynamic> json) => _$EncodedVideoFrameInfoFromJson(json); - Map<String, dynamic> toJson() => _$EncodedVideoFrameInfoToJson(this); + Map<String, dynamic> toJson() => _$EncodedVideoFrameInfoToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 811b3e69def..922f45406c1 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -177,58 +177,58 @@ class ExternalVideoFrame { this.alphaBuffer, this.textureSliceIndex}); - @JsonKey(name: 'type') + @JsonKey(name: 'type') final VideoBufferType? type; - @JsonKey(name: 'format') + @JsonKey(name: 'format') final VideoPixelFormat? format; - @JsonKey(name: 'buffer', ignore: true) + @JsonKey(name: 'buffer', ignore: true) final Uint8List? buffer; - @JsonKey(name: 'stride') + @JsonKey(name: 'stride') final int? stride; - @JsonKey(name: 'height') + @JsonKey(name: 'height') final int? height; - @JsonKey(name: 'cropLeft') + @JsonKey(name: 'cropLeft') final int? cropLeft; - @JsonKey(name: 'cropTop') + @JsonKey(name: 'cropTop') final int? cropTop; - @JsonKey(name: 'cropRight') + @JsonKey(name: 'cropRight') final int? cropRight; - @JsonKey(name: 'cropBottom') + @JsonKey(name: 'cropBottom') final int? cropBottom; - @JsonKey(name: 'rotation') + @JsonKey(name: 'rotation') final int? rotation; - @JsonKey(name: 'timestamp') + @JsonKey(name: 'timestamp') final int? timestamp; - @JsonKey(name: 'eglType') + @JsonKey(name: 'eglType') final EglContextType? eglType; - @JsonKey(name: 'textureId') + @JsonKey(name: 'textureId') final int? textureId; - @JsonKey(name: 'matrix') + @JsonKey(name: 'matrix') final List<double>? matrix; - @JsonKey(name: 'metadata_buffer', ignore: true) + @JsonKey(name: 'metadata_buffer', ignore: true) final Uint8List? metadataBuffer; - @JsonKey(name: 'metadata_size') + @JsonKey(name: 'metadata_size') final int? metadataSize; - @JsonKey(name: 'alphaBuffer', ignore: true) + @JsonKey(name: 'alphaBuffer', ignore: true) final Uint8List? alphaBuffer; - @JsonKey(name: 'texture_slice_index') + @JsonKey(name: 'texture_slice_index') final int? textureSliceIndex; factory ExternalVideoFrame.fromJson(Map<String, dynamic> json) => @@ -236,7 +236,7 @@ class ExternalVideoFrame { Map<String, dynamic> toJson() => _$ExternalVideoFrameToJson(this); } -

+

diff --git a/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita b/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita index 87f7dfb1917..3a1d5d8030a 100644 --- a/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita +++ b/en-US/dita/RTC-NG/API/class_imagetrackoptions.dita @@ -58,12 +58,12 @@ @JsonKey(name: 'fps') final int? fps; - factory ImageTrackOptions.fromJson(Map<String, dynamic> json) => + factory ImageTrackOptions.fromJson(Map<String, dynamic> json) => _$ImageTrackOptionsFromJson(json); - Map<String, dynamic> toJson() => _$ImageTrackOptionsToJson(this); + Map<String, dynamic> toJson() => _$ImageTrackOptionsToJson(this); } -

+

<text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_imediaengineevent.dita b/en-US/dita/RTC-NG/API/class_imediaengineevent.dita index 9724292bba5..921313cfdd9 100644 --- a/en-US/dita/RTC-NG/API/class_imediaengineevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediaengineevent.dita @@ -6,17 +6,17 @@

- - - + + + export type IMediaEngineEvent = IAudioFrameObserver & IVideoFrameObserver & IVideoEncodedFrameObserver; - + export type IMediaEngineEvent = IAudioFrameObserver & IVideoFrameObserver & IVideoEncodedFrameObserver; -

+

This interface merges the following interfaces:

    diff --git a/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita b/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita index 412cac2d518..30ac003dff3 100644 --- a/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita +++ b/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita @@ -6,16 +6,16 @@

    - - @protocol AgoraMediaFilterExtensionDelegate <NSObject> + + @protocol AgoraMediaFilterExtensionDelegate <NSObject> - (NSString * __nonnull)vendor; @end - - - - - -

    + + + + + +

    <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita b/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita index 1a77e5e39ba..beed802eedc 100644 --- a/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediaplayerevent.dita @@ -6,19 +6,19 @@

    - - - + + + export type IMediaPlayerEvent = IMediaPlayerSourceObserver & IMediaPlayerAudioFrameObserver & IMediaPlayerVideoFrameObserver & IAudioSpectrumObserver; - + export type IMediaPlayerEvent = IMediaPlayerSourceObserver & IMediaPlayerAudioFrameObserver & IMediaPlayerVideoFrameObserver & IAudioSpectrumObserver; -

    +

    This interface merges the following interfaces: diff --git a/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita b/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita index c5c7ef56251..566c96941ca 100644 --- a/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita +++ b/en-US/dita/RTC-NG/API/class_imediarecorderevent.dita @@ -6,13 +6,13 @@

    - - - + + + export type IMediaRecorderEvent = IMediaRecorderObserver; - + export type IMediaRecorderEvent = IMediaRecorderObserver; -

    +

    This interface merges the interface. You can call the , , and methods to add or remove the listeners for the callback events under the interfaces mentioned above.

    diff --git a/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita b/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita index 452d88bb0fc..31ad3643074 100644 --- a/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_injectstreamconfig.dita @@ -143,7 +143,7 @@ _$InjectStreamConfigFromJson(json); Map<String, dynamic> toJson() => _$InjectStreamConfigToJson(this); } -

    +

    diff --git a/en-US/dita/RTC-NG/API/class_irtcengineevent.dita b/en-US/dita/RTC-NG/API/class_irtcengineevent.dita index 5a9698d0eeb..14c6969ba35 100644 --- a/en-US/dita/RTC-NG/API/class_irtcengineevent.dita +++ b/en-US/dita/RTC-NG/API/class_irtcengineevent.dita @@ -6,21 +6,21 @@

    - - - + + + export type IRtcEngineEvent = IRtcEngineEventHandler & IDirectCdnStreamingEventHandler & IMetadataObserver & IAudioEncodedFrameObserver & IAudioSpectrumObserver; - + export type IRtcEngineEvent = IRtcEngineEventHandler & IDirectCdnStreamingEventHandler & IMetadataObserver & IAudioEncodedFrameObserver & IAudioSpectrumObserver; -

    +

    This interface merges the following interfaces:

      diff --git a/en-US/dita/RTC-NG/API/class_ivideosink.dita b/en-US/dita/RTC-NG/API/class_ivideosink.dita index 0c119535330..932b26a0cf1 100644 --- a/en-US/dita/RTC-NG/API/class_ivideosink.dita +++ b/en-US/dita/RTC-NG/API/class_ivideosink.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita index df27193d35a..9efa4cd3c23 100644 --- a/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/en-US/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -84,7 +84,7 @@ _$LastmileProbeConfigFromJson(json); Map<String, dynamic> toJson() => _$LastmileProbeConfigToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita b/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita index b0999d32c3d..0dc4e35ca44 100644 --- a/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/en-US/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -67,7 +67,7 @@ _$LeaveChannelOptionsFromJson(json); Map<String, dynamic> toJson() => _$LeaveChannelOptionsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita b/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita index d11cae5389a..1458465ab85 100644 --- a/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita +++ b/en-US/dita/RTC-NG/API/class_livestreamadvancedfeature.dita @@ -58,7 +58,7 @@ _$LiveStreamAdvancedFeatureFromJson(json); Map<String, dynamic> toJson() => _$LiveStreamAdvancedFeatureToJson(this); } -

      +

      If you want to enable the advanced features of streaming with transcoding, contact .

      diff --git a/en-US/dita/RTC-NG/API/class_livetranscoding.dita b/en-US/dita/RTC-NG/API/class_livetranscoding.dita index 55d9152e9b5..3caecb48eee 100644 --- a/en-US/dita/RTC-NG/API/class_livetranscoding.dita +++ b/en-US/dita/RTC-NG/API/class_livetranscoding.dita @@ -513,7 +513,7 @@ final int? userCount; @JsonKey(name: 'transcodingUsers') - final List<TranscodingUser>? transcodingUsers; + final List<TranscodingUser>? transcodingUsers; @JsonKey(name: 'transcodingExtraInfo') final String? transcodingExtraInfo; @@ -522,13 +522,13 @@ final String? metadata; @JsonKey(name: 'watermark') - final List<RtcImage>? watermark; + final List<RtcImage>? watermark; @JsonKey(name: 'watermarkCount') final int? watermarkCount; @JsonKey(name: 'backgroundImage') - final List<RtcImage>? backgroundImage; + final List<RtcImage>? backgroundImage; @JsonKey(name: 'backgroundImageCount') final int? backgroundImageCount; @@ -546,17 +546,17 @@ final AudioCodecProfileType? audioCodecProfile; @JsonKey(name: 'advancedFeatures') - final List<LiveStreamAdvancedFeature>? advancedFeatures; + final List<LiveStreamAdvancedFeature>? advancedFeatures; @JsonKey(name: 'advancedFeatureCount') final int? advancedFeatureCount; - factory LiveTranscoding.fromJson(Map<String, dynamic> json) => + factory LiveTranscoding.fromJson(Map<String, dynamic> json) => _$LiveTranscodingFromJson(json); - Map<String, dynamic> toJson() => _$LiveTranscodingToJson(this); + Map<String, dynamic> toJson() => _$LiveTranscodingToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita b/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita index 03c34d29a3c..4a3695c5c56 100644 --- a/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita +++ b/en-US/dita/RTC-NG/API/class_localspatialaudioconfig.dita @@ -36,7 +36,7 @@ rtcEngine?: IRtcEngine; } There are no corresponding names available -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 1c28c605b5c..333f3a109ba 100644 --- a/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -7,18 +7,18 @@

      public class LocalTranscoderConfiguration { - public ArrayList<TranscodingVideoStream> transcodingVideoStreams; + public ArrayList<TranscodingVideoStream> transcodingVideoStreams; public VideoEncoderConfiguration videoOutputConfiguration; public LocalTranscoderConfiguration() { - transcodingVideoStreams = new ArrayList<TranscodingVideoStream>(); + transcodingVideoStreams = new ArrayList<TranscodingVideoStream>(); videoOutputConfiguration = new VideoEncoderConfiguration(); } } __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject -@property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; +@property(copy, nonatomic) NSArray<AgoraTranscodingVideoStream *> *_Nullable videoInputStreams; @property (strong, nonatomic) AgoraVideoEncoderConfiguration *_Nonnull videoOutputConfiguration; @@ -68,15 +68,15 @@ class LocalTranscoderConfiguration { final int? streamCount; @JsonKey(name: 'videoInputStreams') - final List<TranscodingVideoStream>? videoInputStreams; + final List<TranscodingVideoStream>? videoInputStreams; @JsonKey(name: 'videoOutputConfiguration') final VideoEncoderConfiguration? videoOutputConfiguration; - factory LocalTranscoderConfiguration.fromJson(Map<String, dynamic> json) => + factory LocalTranscoderConfiguration.fromJson(Map<String, dynamic> json) => _$LocalTranscoderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$LocalTranscoderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$LocalTranscoderConfigurationToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_localvideostats.dita b/en-US/dita/RTC-NG/API/class_localvideostats.dita index 8aa1b1f5ae7..497bf61914d 100644 --- a/en-US/dita/RTC-NG/API/class_localvideostats.dita +++ b/en-US/dita/RTC-NG/API/class_localvideostats.dita @@ -296,12 +296,12 @@ @JsonKey(name: 'hwEncoderAccelerating') final int? hwEncoderAccelerating; - factory LocalVideoStats.fromJson(Map<String, dynamic> json) => + factory LocalVideoStats.fromJson(Map<String, dynamic> json) => _$LocalVideoStatsFromJson(json); - Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this); + Map<String, dynamic> toJson() => _$LocalVideoStatsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita b/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita index d3483bb4c02..22ba8fc814f 100644 --- a/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita +++ b/en-US/dita/RTC-NG/API/class_loguploadserverinfo.dita @@ -56,7 +56,7 @@ serverPath(path), serverPort(port), serverHttps(https) {} serverPort?: number; serverHttps?: boolean; } - + export class LogUploadServerInfo { serverDomain?: string; serverPath?: string; @@ -79,12 +79,12 @@ serverPath(path), serverPort(port), serverHttps(https) {} @JsonKey(name: 'serverHttps') final bool? serverHttps; - factory LogUploadServerInfo.fromJson(Map<String, dynamic> json) => + factory LogUploadServerInfo.fromJson(Map<String, dynamic> json) => _$LogUploadServerInfoFromJson(json); - Map<String, dynamic> toJson() => _$LogUploadServerInfoToJson(this); + Map<String, dynamic> toJson() => _$LogUploadServerInfoToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 52f1a0b726c..40aa5b83f8c 100644 --- a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -86,12 +86,12 @@ @JsonKey(name: 'level') final LowLightEnhanceLevel? level; - factory LowlightEnhanceOptions.fromJson(Map<String, dynamic> json) => + factory LowlightEnhanceOptions.fromJson(Map<String, dynamic> json) => _$LowlightEnhanceOptionsFromJson(json); - Map<String, dynamic> toJson() => _$LowlightEnhanceOptionsToJson(this); + Map<String, dynamic> toJson() => _$LowlightEnhanceOptionsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita b/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita index 9e31a4a8fd1..21cbb2fbc6e 100644 --- a/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_mediadeviceinfo.dita @@ -6,14 +6,14 @@ <refbody> <section id="prototype"> <p outputclass="codeblock"> - <codeblock props="android" outputclass="language-java" /> - <codeblock props="ios mac" outputclass="language-objectivec" /> - <codeblock props="cpp unreal" outputclass="language-cpp" /> - <codeblock props="electron" outputclass="language-typescript" /> - <codeblock props="unity cs" outputclass="language-csharp" /> - <codeblock props="rn" outputclass="language-typescript" /> - <codeblock props="flutter" outputclass="language-dart" /> - <codeblock props="reserve" outputclass="language-cpp" /></p> + <codeblock props="android" outputclass="language-java"/> + <codeblock props="ios mac" outputclass="language-objectivec"/> + <codeblock props="cpp unreal" outputclass="language-cpp"/> + <codeblock props="electron" outputclass="language-typescript"/> + <codeblock props="unity cs" outputclass="language-csharp"/> + <codeblock props="rn" outputclass="language-typescript"/> + <codeblock props="flutter" outputclass="language-dart"/> + <codeblock props="reserve" outputclass="language-cpp"></codeblock></p> </section> <section id="parameters"> <title><text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita b/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita index cdaa77aaffd..fe08c11d59c 100644 --- a/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita +++ b/en-US/dita/RTC-NG/API/class_mediaplayercontroller.dita @@ -20,7 +20,7 @@ required VideoCanvas canvas, RtcConnection? connection, bool useFlutterTexture = false, - bool useAndroidSurfaceView = false}) => + bool useAndroidSurfaceView = false}) => MediaPlayerControllerImpl( rtcEngine, canvas, @@ -29,9 +29,9 @@ useAndroidSurfaceView, ); - Future<void> initialize(); + Future<void> initialize(); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index 0fce85b477d..60885cc7090 100644 --- a/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -93,12 +93,12 @@ @JsonKey(name: 'recorderInfoUpdateInterval') final int? recorderInfoUpdateInterval; - factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) => + factory MediaRecorderConfiguration.fromJson(Map<String, dynamic> json) => _$MediaRecorderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$MediaRecorderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$MediaRecorderConfigurationToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_mediasource.dita b/en-US/dita/RTC-NG/API/class_mediasource.dita index 3d76952e6e7..a3e9d7d0612 100644 --- a/en-US/dita/RTC-NG/API/class_mediasource.dita +++ b/en-US/dita/RTC-NG/API/class_mediasource.dita @@ -134,12 +134,12 @@ @JsonKey(name: 'isLiveSource') final bool? isLiveSource; - factory MediaSource.fromJson(Map<String, dynamic> json) => + factory MediaSource.fromJson(Map<String, dynamic> json) => _$MediaSourceFromJson(json); - Map<String, dynamic> toJson() => _$MediaSourceToJson(this); + Map<String, dynamic> toJson() => _$MediaSourceToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_metadata.dita b/en-US/dita/RTC-NG/API/class_metadata.dita index 635a5a90384..82bcc901a89 100644 --- a/en-US/dita/RTC-NG/API/class_metadata.dita +++ b/en-US/dita/RTC-NG/API/class_metadata.dita @@ -70,7 +70,7 @@ _$MetadataFromJson(json); Map<String, dynamic> toJson() => _$MetadataToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_music.dita b/en-US/dita/RTC-NG/API/class_music.dita index 58cc0a56018..6a407660c02 100644 --- a/en-US/dita/RTC-NG/API/class_music.dita +++ b/en-US/dita/RTC-NG/API/class_music.dita @@ -95,8 +95,8 @@ @property(nonatomic, copy) NSString* poster; @property(nonatomic, copy) NSString* releaseTime; @property(nonatomic, assign) NSInteger durationS; -@property(nonatomic, strong) NSArray<NSNumber *>* lyricList; -@property(nonatomic, strong) NSArray<AgoraClimaxSegment *>* climaxSegmentList; +@property(nonatomic, strong) NSArray<NSNumber *>* lyricList; +@property(nonatomic, strong) NSArray<AgoraClimaxSegment *>* climaxSegmentList; @end struct Music { @@ -200,19 +200,19 @@ final int? lyricCount; @JsonKey(name: 'lyricList') - final List<int>? lyricList; + final List<int>? lyricList; @JsonKey(name: 'climaxSegmentCount') final int? climaxSegmentCount; @JsonKey(name: 'climaxSegmentList') - final List<ClimaxSegment>? climaxSegmentList; + final List<ClimaxSegment>? climaxSegmentList; - factory Music.fromJson(Map<String, dynamic> json) => _$MusicFromJson(json); + factory Music.fromJson(Map<String, dynamic> json) => _$MusicFromJson(json); - Map<String, dynamic> toJson() => _$MusicToJson(this); + Map<String, dynamic> toJson() => _$MusicToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita b/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita index f9ea86434ac..423190cade2 100644 --- a/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita +++ b/en-US/dita/RTC-NG/API/class_musiccacheinfo.dita @@ -47,10 +47,10 @@ class MusicCacheInfo { @JsonKey(name: 'status') final MusicCacheStatusType? status; - factory MusicCacheInfo.fromJson(Map<String, dynamic> json) => + factory MusicCacheInfo.fromJson(Map<String, dynamic> json) => _$MusicCacheInfoFromJson(json); - Map<String, dynamic> toJson() => _$MusicCacheInfoToJson(this); + Map<String, dynamic> toJson() => _$MusicCacheInfoToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_musicchartcollection.dita b/en-US/dita/RTC-NG/API/class_musicchartcollection.dita index 88c0d6b4794..37449c0594c 100644 --- a/en-US/dita/RTC-NG/API/class_musicchartcollection.dita +++ b/en-US/dita/RTC-NG/API/class_musicchartcollection.dita @@ -6,8 +6,8 @@

      - - + + class MusicChartCollection : public RefCountInterface { public: virtual int getCount() = 0; @@ -19,17 +19,17 @@ protected: abstract getCount(): number; abstract get(index: number): MusicChartInfo; } - + export abstract class MusicChartCollection { abstract getCount(): number; abstract get(index: number): MusicChartInfo; } abstract class MusicChartCollection { - Future&lt;int> getCount(); + Future&lt;int> getCount(); - Future&lt;MusicChartInfo> get(int index); + Future&lt;MusicChartInfo> get(int index); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_musiccollection.dita b/en-US/dita/RTC-NG/API/class_musiccollection.dita index 176d3a622fb..45a87d244ca 100644 --- a/en-US/dita/RTC-NG/API/class_musiccollection.dita +++ b/en-US/dita/RTC-NG/API/class_musiccollection.dita @@ -6,13 +6,13 @@

      - + __attribute__((visibility("default"))) @interface AgoraMusicCollection : NSObject @property(nonatomic, assign) NSInteger count; @property(nonatomic, assign) NSInteger total; @property(nonatomic, assign) NSInteger page; @property(nonatomic, assign) NSInteger pageSize; -@property(nonatomic, strong) NSArray<AgoraMusic *>* musicList; +@property(nonatomic, strong) NSArray<AgoraMusic *>* musicList; @end class MusicCollection : public RefCountInterface { public: @@ -57,7 +57,7 @@ protected: Music getMusic(int index); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita index 8bfb6966175..8507fa153e4 100644 --- a/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita @@ -76,13 +76,13 @@ class MusicContentCenterConfiguration { @JsonKey(name: 'maxCacheSize') final int? maxCacheSize; - factory MusicContentCenterConfiguration.fromJson(Map<String, dynamic> json) => + factory MusicContentCenterConfiguration.fromJson(Map<String, dynamic> json) => _$MusicContentCenterConfigurationFromJson(json); - Map<String, dynamic> toJson() => + Map<String, dynamic> toJson() => _$MusicContentCenterConfigurationToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_mvproperty.dita b/en-US/dita/RTC-NG/API/class_mvproperty.dita index 51a614a2ac9..0467ddc1cd3 100644 --- a/en-US/dita/RTC-NG/API/class_mvproperty.dita +++ b/en-US/dita/RTC-NG/API/class_mvproperty.dita @@ -57,12 +57,12 @@ @JsonKey(name: 'bandwidth') final String? bandwidth; - factory MvProperty.fromJson(Map<String, dynamic> json) => + factory MvProperty.fromJson(Map<String, dynamic> json) => _$MvPropertyFromJson(json); - Map<String, dynamic> toJson() => _$MvPropertyToJson(this); + Map<String, dynamic> toJson() => _$MvPropertyToJson(this); } -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita b/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita index c6089467ced..8146237b52d 100644 --- a/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita +++ b/en-US/dita/RTC-NG/API/class_playerupdatedinfo.dita @@ -17,9 +17,9 @@ @property(strong, nonatomic) AgoraMediaPlayerCacheStatistics *_Nullable cacheStatistics; @end struct PlayerUpdatedInfo { - Optional<const char*> playerId; - Optional<const char*> deviceId; - Optional<CacheStatistics> cacheStatistics; + Optional<const char*> playerId; + Optional<const char*> deviceId; + Optional<CacheStatistics> cacheStatistics; }; export class PlayerUpdatedInfo { @@ -56,7 +56,7 @@ _$PlayerUpdatedInfoFromJson(json); Map<String, dynamic> toJson() => _$PlayerUpdatedInfoToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_plugin.dita b/en-US/dita/RTC-NG/API/class_plugin.dita index 97de67d5f50..210c3017d75 100644 --- a/en-US/dita/RTC-NG/API/class_plugin.dita +++ b/en-US/dita/RTC-NG/API/class_plugin.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      After calling to register a plugin, you can get the interface through .

      diff --git a/en-US/dita/RTC-NG/API/class_plugininfo.dita b/en-US/dita/RTC-NG/API/class_plugininfo.dita index b0418eb11b2..50ac6663623 100644 --- a/en-US/dita/RTC-NG/API/class_plugininfo.dita +++ b/en-US/dita/RTC-NG/API/class_plugininfo.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita b/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita index bde8680c352..c80a8c0fb23 100644 --- a/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -45,10 +45,10 @@ class RecorderStreamInfo { @JsonKey(name: 'uid') final int? uid; - factory RecorderStreamInfo.fromJson(Map<String, dynamic> json) => + factory RecorderStreamInfo.fromJson(Map<String, dynamic> json) => _$RecorderStreamInfoFromJson(json); - Map<String, dynamic> toJson() => _$RecorderStreamInfoToJson(this); + Map<String, dynamic> toJson() => _$RecorderStreamInfoToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_rect.dita b/en-US/dita/RTC-NG/API/class_rect.dita index 2e735f19aa7..4f6e3a3027b 100644 --- a/en-US/dita/RTC-NG/API/class_rect.dita +++ b/en-US/dita/RTC-NG/API/class_rect.dita @@ -21,7 +21,7 @@ There are no corresponding names available -

      +

      diff --git a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita index d46370f7af9..c6dede7d234 100644 --- a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -260,10 +260,10 @@ @JsonKey(name: 'qualityChangedReason') final int? qualityChangedReason; - factory RemoteAudioStats.fromJson(Map<String, dynamic> json) => + factory RemoteAudioStats.fromJson(Map<String, dynamic> json) => _$RemoteAudioStatsFromJson(json); - Map<String, dynamic> toJson() => _$RemoteAudioStatsToJson(this); + Map<String, dynamic> toJson() => _$RemoteAudioStatsToJson(this); }

      diff --git a/en-US/dita/RTC-NG/API/class_remotevideostats.dita b/en-US/dita/RTC-NG/API/class_remotevideostats.dita index 3a7745176fa..2890c7cc24a 100644 --- a/en-US/dita/RTC-NG/API/class_remotevideostats.dita +++ b/en-US/dita/RTC-NG/API/class_remotevideostats.dita @@ -225,12 +225,12 @@ class RemoteVideoStats { @JsonKey(name: 'rxVideoBytes') final int? rxVideoBytes; - factory RemoteVideoStats.fromJson(Map<String, dynamic> json) => + factory RemoteVideoStats.fromJson(Map<String, dynamic> json) => _$RemoteVideoStatsFromJson(json); - Map<String, dynamic> toJson() => _$RemoteVideoStatsToJson(this); + Map<String, dynamic> toJson() => _$RemoteVideoStatsToJson(this); } -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita b/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita index 2ed4f4f02a3..daabd8cff40 100644 --- a/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita +++ b/en-US/dita/RTC-NG/API/class_remotevoicepositioninfo.dita @@ -48,7 +48,7 @@ forward?: number[]; } There are no corresponding names available -

      +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rendererconfig.dita b/en-US/dita/RTC-NG/API/class_rendererconfig.dita index f0cbf102726..d02f739db35 100644 --- a/en-US/dita/RTC-NG/API/class_rendererconfig.dita +++ b/en-US/dita/RTC-NG/API/class_rendererconfig.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rendereroptions.dita b/en-US/dita/RTC-NG/API/class_rendereroptions.dita index d9358906dab..07f206145a1 100644 --- a/en-US/dita/RTC-NG/API/class_rendereroptions.dita +++ b/en-US/dita/RTC-NG/API/class_rendereroptions.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita b/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita index 33a665661f7..9f638439bcb 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita b/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita index c3e8e65abe8..3422b0c567a 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_local_view_textureview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita b/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita index a115effb2d6..112ecffc6ff 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita b/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita index 844f553bad1..d9f0f69b14a 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      diff --git a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita index d53666fa575..fcfe2eb3671 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita @@ -6,14 +6,14 @@

      - - - - - - - -

      + + + + + + + +

      The corresponding classes of this class on different platforms are as follows:

        diff --git a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita index 1cd5d44c902..8a366d28e8b 100644 --- a/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita +++ b/en-US/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita @@ -6,14 +6,14 @@

        - - - - - - - -

        + + + + + + + +

        The corresponding classes of this class on different platforms are as follows:

          diff --git a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita index d8d2ccef7f4..89041bea13c 100644 --- a/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/en-US/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -214,12 +214,12 @@ class RtcEngineContext { @JsonKey(name: 'autoRegisterAgoraExtensions') final bool? autoRegisterAgoraExtensions; - factory RtcEngineContext.fromJson(Map<String, dynamic> json) => + factory RtcEngineContext.fromJson(Map<String, dynamic> json) => _$RtcEngineContextFromJson(json); - Map<String, dynamic> toJson() => _$RtcEngineContextToJson(this); + Map<String, dynamic> toJson() => _$RtcEngineContextToJson(this); } -

          +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rtcimage.dita b/en-US/dita/RTC-NG/API/class_rtcimage.dita index f27fde96f48..85287ed7d03 100644 --- a/en-US/dita/RTC-NG/API/class_rtcimage.dita +++ b/en-US/dita/RTC-NG/API/class_rtcimage.dita @@ -142,7 +142,7 @@ _$RtcImageFromJson(json); Map<String, dynamic> toJson() => _$RtcImageToJson(this); } -

        +

        This class sets the properties of the watermark and background images in the live video.

        diff --git a/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita b/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita index da95ee53fa0..5f71b99a31a 100644 --- a/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita +++ b/en-US/dita/RTC-NG/API/class_rtcrendererviewprops.dita @@ -6,16 +6,16 @@

        - - - - - + + + + + export interface RtcRendererViewProps { canvas: VideoCanvas; connection?: RtcConnection; } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita b/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita index 95df2d67ed6..2cdea8ba9af 100644 --- a/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita +++ b/en-US/dita/RTC-NG/API/class_rtcsurfaceviewprops.dita @@ -10,7 +10,7 @@ zOrderOnTop?: boolean; zOrderMediaOverlay?: boolean; } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita b/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita index fde3f71d46f..36a1984e72d 100644 --- a/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screenaudioparameters.dita @@ -86,12 +86,12 @@ @JsonKey(name: 'captureSignalVolume') final int? captureSignalVolume; - factory ScreenAudioParameters.fromJson(Map<String, dynamic> json) => + factory ScreenAudioParameters.fromJson(Map<String, dynamic> json) => _$ScreenAudioParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenAudioParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenAudioParametersToJson(this); } -

        +

        Only available where captureAudio is .

        diff --git a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita index 0d43f31acc0..8d5a72b3fa8 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -101,7 +101,7 @@ __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguratio _$ScreenCaptureConfigurationFromJson(json); Map<String, dynamic> toJson() => _$ScreenCaptureConfigurationToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita b/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita index 5c482e58f29..890b9a2e613 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureinfo.dita @@ -6,8 +6,8 @@

        - - + + public class ScreenCaptureInfo { public ScreenCaptureInfo() @@ -23,9 +23,9 @@ public string graphicsCardType; public EXCLUDE_WINDOW_ERROR errCode; }; - - -

        + + +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita b/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita index 303f196dce1..87135452a3b 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureparameters.dita @@ -6,7 +6,7 @@

        - + __attribute__((visibility("default"))) @interface AgoraScreenCaptureParameters: NSObject @property (assign, nonatomic) CGSize dimensions; @property (assign, nonatomic) NSInteger frameRate; @@ -206,7 +206,7 @@ final bool? windowFocus; @JsonKey(name: 'excludeWindowList') - final List<int>? excludeWindowList; + final List<int>? excludeWindowList; @JsonKey(name: 'excludeWindowCount') final int? excludeWindowCount; @@ -220,12 +220,12 @@ @JsonKey(name: 'enableHighLight') final bool? enableHighLight; - factory ScreenCaptureParameters.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureParameters.fromJson(Map<String, dynamic> json) => _$ScreenCaptureParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureParametersToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita b/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita index 0527a680bb0..1aa6c7c4cbe 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureparameters2.dita @@ -169,12 +169,12 @@ @JsonKey(name: 'videoParams') final ScreenVideoParameters? videoParams; - factory ScreenCaptureParameters2.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureParameters2.fromJson(Map<String, dynamic> json) => _$ScreenCaptureParameters2FromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureParameters2ToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureParameters2ToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita index 11b9db647ba..c3b616e4c46 100644 --- a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -6,7 +6,7 @@

        - + __attribute__((visibility("default"))) @interface AgoraScreenCaptureSourceInfo : NSObject @property(assign, nonatomic) AgoraScreenCaptureSourceType type; @property(assign, nonatomic) CGWindowID sourceId; @@ -76,7 +76,7 @@ public Rectangle position; public view_t sourceDisplayId; }; - + class ScreenCaptureSourceInfo { const ScreenCaptureSourceInfo( {this.type, @@ -124,12 +124,12 @@ @JsonKey(name: 'sourceDisplayId') final int? sourceDisplayId; - factory ScreenCaptureSourceInfo.fromJson(Map<String, dynamic> json) => + factory ScreenCaptureSourceInfo.fromJson(Map<String, dynamic> json) => _$ScreenCaptureSourceInfoFromJson(json); - Map<String, dynamic> toJson() => _$ScreenCaptureSourceInfoToJson(this); + Map<String, dynamic> toJson() => _$ScreenCaptureSourceInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_screensymbol.dita b/en-US/dita/RTC-NG/API/class_screensymbol.dita index 645f50b6ead..a3652e2a9fb 100644 --- a/en-US/dita/RTC-NG/API/class_screensymbol.dita +++ b/en-US/dita/RTC-NG/API/class_screensymbol.dita @@ -6,14 +6,14 @@

        - - - - - - - -

        + + + + + + + +

        The display ID (macOS) or ScreenRect that identifies the screen. You can set it as one of the following values:

          diff --git a/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita b/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita index b96f34d7f52..b2480527d12 100644 --- a/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita @@ -112,11 +112,11 @@ final int? bitrate; @JsonKey(name: 'contentHint') final VideoContentHint? contentHint; - factory ScreenVideoParameters.fromJson(Map<String, dynamic> json) => + factory ScreenVideoParameters.fromJson(Map<String, dynamic> json) => _$ScreenVideoParametersFromJson(json); - Map<String, dynamic> toJson() => _$ScreenVideoParametersToJson(this); + Map<String, dynamic> toJson() => _$ScreenVideoParametersToJson(this); } -

          +

        Only available for scenarios where captureVideo is .

        diff --git a/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita b/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita index 342defe070b..e841975a074 100644 --- a/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita +++ b/en-US/dita/RTC-NG/API/class_sdkbuildinfo.dita @@ -29,7 +29,7 @@ _$SDKBuildInfoFromJson(json); Map<String, dynamic> toJson() => _$SDKBuildInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita index ef61075f000..3c81474c4df 100644 --- a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita @@ -68,12 +68,12 @@ @JsonKey(name: 'greenCapacity') final double? greenCapacity; - factory SegmentationProperty.fromJson(Map<String, dynamic> json) => + factory SegmentationProperty.fromJson(Map<String, dynamic> json) => _$SegmentationPropertyFromJson(json); - Map<String, dynamic> toJson() => _$SegmentationPropertyToJson(this); + Map<String, dynamic> toJson() => _$SegmentationPropertyToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_size.dita b/en-US/dita/RTC-NG/API/class_size.dita index fbd25b99e1e..0417a159992 100644 --- a/en-US/dita/RTC-NG/API/class_size.dita +++ b/en-US/dita/RTC-NG/API/class_size.dita @@ -47,10 +47,10 @@ final int? width; @JsonKey(name: 'height') final int? height; - factory SIZE.fromJson(Map<String, dynamic> json) => _$SIZEFromJson(json); - Map<String, dynamic> toJson() => _$SIZEToJson(this); + factory SIZE.fromJson(Map<String, dynamic> json) => _$SIZEFromJson(json); + Map<String, dynamic> toJson() => _$SIZEToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita b/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita index 47265894687..87006da6abf 100644 --- a/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita +++ b/en-US/dita/RTC-NG/API/class_spatialaudioparams.dita @@ -59,14 +59,14 @@ @property(assign, nonatomic) BOOL enable_doppler; @end struct SpatialAudioParams { - Optional<double> speaker_azimuth; - Optional<double> speaker_elevation; - Optional<double> speaker_distance; - Optional<int> speaker_orientation; - Optional<bool> enable_blur; - Optional<bool> enable_air_absorb; - Optional<double> speaker_attenuation; - Optional<bool> enable_doppler; + Optional<double> speaker_azimuth; + Optional<double> speaker_elevation; + Optional<double> speaker_distance; + Optional<int> speaker_orientation; + Optional<bool> enable_blur; + Optional<bool> enable_air_absorb; + Optional<double> speaker_attenuation; + Optional<bool> enable_doppler; }; export class SpatialAudioParams { @@ -94,8 +94,8 @@ public Optional<int> speaker_orientation = new Optional<int>(); public Optional<bool> enable_blur = new Optional<bool>(); public Optional<bool> enable_air_absorb = new Optional<bool>(); - public Optional<double> speaker_attenuation = new Optional<double>(); - public Optional<bool> enable_doppler = new Optional<bool>(); + public Optional<double> speaker_attenuation = new Optional<double>(); + public Optional<bool> enable_doppler = new Optional<bool>(); } export class SpatialAudioParams { @@ -150,12 +150,12 @@ @JsonKey(name: 'enable_doppler') final bool? enableDoppler; - factory SpatialAudioParams.fromJson(Map<String, dynamic> json) => + factory SpatialAudioParams.fromJson(Map<String, dynamic> json) => _$SpatialAudioParamsFromJson(json); - Map<String, dynamic> toJson() => _$SpatialAudioParamsToJson(this); + Map<String, dynamic> toJson() => _$SpatialAudioParamsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita b/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita index d6075f326df..0c549097b18 100644 --- a/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita +++ b/en-US/dita/RTC-NG/API/class_spatialaudiozone.dita @@ -137,16 +137,16 @@ final int? zoneSetId; @JsonKey(name: 'position') - final List<double>? position; + final List<double>? position; @JsonKey(name: 'forward') - final List<double>? forward; + final List<double>? forward; @JsonKey(name: 'right') - final List<double>? right; + final List<double>? right; @JsonKey(name: 'up') - final List<double>? up; + final List<double>? up; @JsonKey(name: 'forwardLength') final double? forwardLength; @@ -160,12 +160,12 @@ @JsonKey(name: 'audioAttenuation') final double? audioAttenuation; - factory SpatialAudioZone.fromJson(Map<String, dynamic> json) => + factory SpatialAudioZone.fromJson(Map<String, dynamic> json) => _$SpatialAudioZoneFromJson(json); - Map<String, dynamic> toJson() => _$SpatialAudioZoneToJson(this); + Map<String, dynamic> toJson() => _$SpatialAudioZoneToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_srcinfo.dita b/en-US/dita/RTC-NG/API/class_srcinfo.dita index 0aaf2eccf91..a0cdd71bc3e 100644 --- a/en-US/dita/RTC-NG/API/class_srcinfo.dita +++ b/en-US/dita/RTC-NG/API/class_srcinfo.dita @@ -48,7 +48,7 @@ _$SrcInfoFromJson(json); Map<String, dynamic> toJson() => _$SrcInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_transcodinguser.dita b/en-US/dita/RTC-NG/API/class_transcodinguser.dita index 462f32785cc..20cda9fde61 100644 --- a/en-US/dita/RTC-NG/API/class_transcodinguser.dita +++ b/en-US/dita/RTC-NG/API/class_transcodinguser.dita @@ -137,7 +137,7 @@ _$TranscodingUserFromJson(json); Map<String, dynamic> toJson() => _$TranscodingUserToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita b/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita index d6b9c671871..68631bcdcd2 100644 --- a/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/en-US/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -176,10 +176,10 @@ class TranscodingVideoStream { @JsonKey(name: 'mirror') final bool? mirror; - factory TranscodingVideoStream.fromJson(Map<String, dynamic> json) => + factory TranscodingVideoStream.fromJson(Map<String, dynamic> json) => _$TranscodingVideoStreamFromJson(json); - Map<String, dynamic> toJson() => _$TranscodingVideoStreamToJson(this); + Map<String, dynamic> toJson() => _$TranscodingVideoStreamToJson(this); }

        diff --git a/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita b/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita index 86b64b8ac9f..532ae8517a6 100644 --- a/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita +++ b/en-US/dita/RTC-NG/API/class_uplinknetworkinfo.dita @@ -51,7 +51,7 @@ _$UplinkNetworkInfoFromJson(json); Map<String, dynamic> toJson() => _$UplinkNetworkInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_user.dita b/en-US/dita/RTC-NG/API/class_user.dita index cc7b344921d..96684433008 100644 --- a/en-US/dita/RTC-NG/API/class_user.dita +++ b/en-US/dita/RTC-NG/API/class_user.dita @@ -6,14 +6,14 @@

        - - - - - - - -

        + + + + + + + +

        This class specifies the user information to which the SDK renders the video. You can set it as one of the following values:

          diff --git a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita index 83b1e96284f..e596c79a50d 100644 --- a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -53,7 +53,7 @@ _$UserAudioSpectrumInfoFromJson(json); Map<String, dynamic> toJson() => _$UserAudioSpectrumInfoToJson(this); } -

          +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_userinfo.dita b/en-US/dita/RTC-NG/API/class_userinfo.dita index 2878ca46a80..a903ca365b7 100644 Binary files a/en-US/dita/RTC-NG/API/class_userinfo.dita and b/en-US/dita/RTC-NG/API/class_userinfo.dita differ diff --git a/en-US/dita/RTC-NG/API/class_videocanvas.dita b/en-US/dita/RTC-NG/API/class_videocanvas.dita index 239a10a4f4c..71c0e17c9da 100644 --- a/en-US/dita/RTC-NG/API/class_videocanvas.dita +++ b/en-US/dita/RTC-NG/API/class_videocanvas.dita @@ -173,12 +173,12 @@ class VideoCanvas { @JsonKey(name: 'enableAlphaMask') final bool? enableAlphaMask; - factory VideoCanvas.fromJson(Map<String, dynamic> json) => + factory VideoCanvas.fromJson(Map<String, dynamic> json) => _$VideoCanvasFromJson(json); - Map<String, dynamic> toJson() => _$VideoCanvasToJson(this); + Map<String, dynamic> toJson() => _$VideoCanvasToJson(this); } -

        +

        diff --git a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita index d870472caea..0c7e0f17168 100644 --- a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -86,12 +86,12 @@ @JsonKey(name: 'level') final VideoDenoiserLevel? level; - factory VideoDenoiserOptions.fromJson(Map&lt;String, dynamic> json) => + factory VideoDenoiserOptions.fromJson(Map&lt;String, dynamic> json) => _$VideoDenoiserOptionsFromJson(json); - Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this); + Map<String, dynamic> toJson() => _$VideoDenoiserOptionsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita b/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita index d1260c16083..72f849cc329 100644 --- a/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_videodeviceinfo.dita @@ -6,9 +6,9 @@

        - - - + + + export class VideoDeviceInfo { deviceId?: string; deviceName?: string; @@ -33,7 +33,7 @@ _$VideoDeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$VideoDeviceInfoToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videodimensions.dita b/en-US/dita/RTC-NG/API/class_videodimensions.dita index fe2855d3957..784dd36d52f 100644 --- a/en-US/dita/RTC-NG/API/class_videodimensions.dita +++ b/en-US/dita/RTC-NG/API/class_videodimensions.dita @@ -69,7 +69,7 @@ _$VideoDimensionsFromJson(json); Map<String, dynamic> toJson() => _$VideoDimensionsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita index ac76a9da5b3..64b343d47cd 100644 --- a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -420,12 +420,12 @@ @JsonKey(name: 'advanceOptions') final AdvanceOptions? advanceOptions; - factory VideoEncoderConfiguration.fromJson(Map<String, dynamic> json) => + factory VideoEncoderConfiguration.fromJson(Map<String, dynamic> json) => _$VideoEncoderConfigurationFromJson(json); - Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this); + Map<String, dynamic> toJson() => _$VideoEncoderConfigurationToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoformat.dita b/en-US/dita/RTC-NG/API/class_videoformat.dita index ce5a5e035ba..8b854d77437 100644 --- a/en-US/dita/RTC-NG/API/class_videoformat.dita +++ b/en-US/dita/RTC-NG/API/class_videoformat.dita @@ -64,7 +64,7 @@ _$VideoFormatFromJson(json); Map<String, dynamic> toJson() => _$VideoFormatToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 820f0dc0beb..ece7ebcda9c 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -476,17 +476,17 @@ class VideoFrame { final int? textureId; @JsonKey(name: 'matrix') - final List<double>? matrix; + final List<double>? matrix; @JsonKey(name: 'pixelBuffer', ignore: true) final Uint8List? pixelBuffer; - factory VideoFrame.fromJson(Map<String, dynamic> json) => + factory VideoFrame.fromJson(Map<String, dynamic> json) => _$VideoFrameFromJson(json); - Map<String, dynamic> toJson() => _$VideoFrameToJson(this); + Map<String, dynamic> toJson() => _$VideoFrameToJson(this); } -

        +

        Note that the buffer provides a pointer to a pointer. This interface cannot modify the pointer of the buffer, but it can modify the content of the buffer.

        diff --git a/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita b/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita index 683d9ef3d5c..c8bba20c80f 100644 --- a/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita +++ b/en-US/dita/RTC-NG/API/class_videorenderingtracinginfo.dita @@ -93,10 +93,10 @@ class VideoRenderingTracingInfo { @JsonKey(name: 'remoteJoined2PacketReceived') final int? remoteJoined2PacketReceived; - factory VideoRenderingTracingInfo.fromJson(Map<String, dynamic> json) => + factory VideoRenderingTracingInfo.fromJson(Map<String, dynamic> json) => _$VideoRenderingTracingInfoFromJson(json); - Map<String, dynamic> toJson() => _$VideoRenderingTracingInfoToJson(this); + Map<String, dynamic> toJson() => _$VideoRenderingTracingInfoToJson(this); }

        diff --git a/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita index 3eb62b97334..81d8d2bcc09 100644 --- a/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -48,8 +48,8 @@ @end struct VideoSubscriptionOptions { - Optional<VIDEO_STREAM_TYPE> type; - Optional<bool> encodedFrameOnly; + Optional<VIDEO_STREAM_TYPE> type; + Optional<bool> encodedFrameOnly; VideoSubscriptionOptions() {} }; @@ -61,9 +61,9 @@ } public class VideoSubscriptionOptions:OptionalJsonParse { - public Optional<VIDEO_STREAM_TYPE> type = new Optional<VIDEO_STREAM_TYPE>(); + public Optional<VIDEO_STREAM_TYPE> type = new Optional<VIDEO_STREAM_TYPE>(); - public Optional<bool> encodedFrameOnly = new Optional<bool>(); + public Optional<bool> encodedFrameOnly = new Optional<bool>(); } export class VideoSubscriptionOptions { @@ -80,12 +80,12 @@ @JsonKey(name: 'encodedFrameOnly') final bool? encodedFrameOnly; - factory VideoSubscriptionOptions.fromJson(Map<String, dynamic> json) => + factory VideoSubscriptionOptions.fromJson(Map<String, dynamic> json) => _$VideoSubscriptionOptionsFromJson(json); - Map<String, dynamic> toJson() => _$VideoSubscriptionOptionsToJson(this); + Map<String, dynamic> toJson() => _$VideoSubscriptionOptionsToJson(this); } -

        +

        <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita b/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita index 2f82f5590c7..c4f6118810f 100644 --- a/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita +++ b/en-US/dita/RTC-NG/API/class_videoviewcontroller.dita @@ -53,7 +53,7 @@ : VideoSourceType.videoSourceRemote.value(); } } -

        +

        On different platforms, the default view corresponding to this class is different:

          diff --git a/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita b/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita index c213a090575..ca448abf580 100644 --- a/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita +++ b/en-US/dita/RTC-NG/API/class_videoviewcontrollerbase.dita @@ -6,21 +6,21 @@

          - - - - - - + + + + + + abstract class VideoViewControllerBase { RtcEngine get rtcEngine; VideoCanvas get canvas; RtcConnection? get connection; bool get useFlutterTexture; bool get useAndroidSurfaceView; - Future<void> dispose(); + Future<void> dispose(); } -

          +

          On different platforms, the default view corresponding to this class is different:

            diff --git a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita index 4b310d0d8fc..c16329b4e42 100644 --- a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -110,7 +110,7 @@ _$VirtualBackgroundSourceFromJson(json); Map<String, dynamic> toJson() => _$VirtualBackgroundSourceToJson(this); } -

            +

          <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_watermarkoptions.dita b/en-US/dita/RTC-NG/API/class_watermarkoptions.dita index 51b194856e3..dc9b0b45869 100644 --- a/en-US/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/en-US/dita/RTC-NG/API/class_watermarkoptions.dita @@ -121,7 +121,7 @@ _$WatermarkOptionsFromJson(json); Map<String, dynamic> toJson() => _$WatermarkOptionsToJson(this); } -

          +

          diff --git a/en-US/dita/RTC-NG/API/class_watermarkratio.dita b/en-US/dita/RTC-NG/API/class_watermarkratio.dita index bbd9ea5c8e9..718d99ed2e4 100644 --- a/en-US/dita/RTC-NG/API/class_watermarkratio.dita +++ b/en-US/dita/RTC-NG/API/class_watermarkratio.dita @@ -6,8 +6,8 @@

          - - + + struct WatermarkRatio { float xRatio; float yRatio; @@ -64,7 +64,7 @@ _$WatermarkRatioFromJson(json); Map<String, dynamic> toJson() => _$WatermarkRatioToJson(this); } -

          +

          The position and size of the watermark on the screen are determined by xRatio, yRatio, and widthRatio:

            diff --git a/en-US/dita/RTC-NG/API/class_windowinfo.dita b/en-US/dita/RTC-NG/API/class_windowinfo.dita index c92c174b12d..2c5f00bb571 100644 --- a/en-US/dita/RTC-NG/API/class_windowinfo.dita +++ b/en-US/dita/RTC-NG/API/class_windowinfo.dita @@ -7,14 +7,14 @@

            - - - - - - - -

            + + + + + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/en-US/dita/RTC-NG/API/class_wlaccstats.dita b/en-US/dita/RTC-NG/API/class_wlaccstats.dita index dcef2deb009..a848c781b14 100644 --- a/en-US/dita/RTC-NG/API/class_wlaccstats.dita +++ b/en-US/dita/RTC-NG/API/class_wlaccstats.dita @@ -11,11 +11,11 @@ unsigned short frozenRatioPercent; unsigned short lossRatePercent; }; - - - - -

            + + + + +

            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property" /> diff --git a/xml2json/sync_prototype.py b/xml2json/sync_prototype.py index 8fc2d658844..f3ae29dfd20 100644 --- a/xml2json/sync_prototype.py +++ b/xml2json/sync_prototype.py @@ -1,116 +1,40 @@ -#!/usr/local/bin/python3 -# -*- coding: utf-8 -*- -# -# Developed by Lutkin Wang -# -# Story: Replace the prototype section so that manual copy & paste is no longer needed -# -#
            -#

            -# 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; -# }; -# on(evt: EngineEvents.RECEIVE_METADATA, cb: ( -# metadata: Metadata -# ) => void): this; -# -# -#

            -#
            -# -# from: C:\Users\WL\Documents\GitHub\doc_source\dita\RTC\API\xxx.dita -# -# with: C:\Users\WL\Documents\GitHub\doc_source\en-US\dita\RTC\API\xxx.dita -# - -import xml.etree.ElementTree as ET import os -from os import path +import re import argparse +parser = argparse.ArgumentParser(description="Prototype syncer") -def main(): - - parser = argparse.ArgumentParser(description="Prototype syncer") - - parser.add_argument("--src_dir", - help="src dir", - action="store") - parser.add_argument("--dest_dir", help="dest dir", action="store") - - args = vars(parser.parse_args()) - - src_dir = args['src_dir'] - dest_dir = args['dest_dir'] - - # src_dir = "C:\\Users\\WL\\Documents\\GitHub\\doc_source\\dita\\RTC\\API" - # src_dir = "D:\\github_lucas\\doc_source\\dita\\RTC\\API" - # src_dir = "C:\\Users\\WL\\Documents\\GitHub\\\doc_source\\en-US\\dita\\RTC\\API" - - # dest_dir = "C:\\Users\\WL\\Documents\\GitHub\\doc_source\\en-US\\dita\\RTC\\API" - # dest_dir = "D:\\github_lucas\\doc_source\\en-US\\dita\\RTC\\API" - # dest_dir = "C:\\Users\\WL\\Documents\\GitHub\\doc_source\\dita\\RTC\\API" - - src_proto_section_obj = None - dest_proto_section_obj = None - dest_dita_file_tree = None - - # Copy cn protos to en - for file_name in os.listdir(src_dir): - - file_ready_for_copy = True - - if file_name.startswith("api_") or file_name.startswith("class_"): - - try: - cn_path = path.join(src_dir, file_name) - cn_dita_file_tree = ET.parse(cn_path) - cn_dita_file_root = cn_dita_file_tree.getroot() - except ET.ParseError as e: - print("[ERROR] Parse error for: " + file_name + " Code: " + str(e.code) + " Position: " + str(e.position)) - - en_path = path.join(dest_dir, file_name) - - try: - dest_dita_file_tree = ET.parse(en_path) - en_dita_file_root = dest_dita_file_tree.getroot() - except FileNotFoundError as e: - print("[ERROR] File not found in en: " + file_name) - file_ready_for_copy = False - - except ET.ParseError as e: - print("[ERROR] Parse error for: " + file_name + " Code: " + str(e.code) + " Position: " + str(e.position)) - file_ready_for_copy = False - - if file_ready_for_copy: - - for section in cn_dita_file_root.iter("section"): - if section.get("id") == "prototype": - src_proto_section_obj = section - - refbody = en_dita_file_root.find("./refbody") +parser.add_argument("--src_dir",help="src dir",action="store") +parser.add_argument("--dest_dir", help="dest dir", action="store") - for section in en_dita_file_root.iter("section"): - if section.get("id") == "prototype": - refbody.remove(section) - refbody.insert(0, src_proto_section_obj) +args = vars(parser.parse_args()) - dest_dita_file_tree.write(dest_dir + "//" + file_name, encoding='utf-8') +src_dir = args['src_dir'] +dest_dir = args['dest_dir'] - header = """\n\n""" +prefixes = ('api_', 'callback_', 'class_') - with open(dest_dir + "//" + file_name, "r", encoding='utf-8') as f: - text = header + f.read() +for file_name in os.listdir(src_dir): - with open(dest_dir + "//" + file_name, "w", encoding='utf-8') as f: - f.write(text) + if file_name.startswith(prefixes): + cn_path = os.path.join(src_dir, file_name) + with open(cn_path, 'r') as cn_file: + cn_file_content = cn_file.read() + pattern = r'
            ' + proto = re.findall(pattern, cn_file_content, flags=re.DOTALL) + if not proto: + print(f"No proto in cn file: {cn_path}") + continue -if __name__ == '__main__': - main() + en_path = os.path.join(dest_dir, file_name) + try: + with open(en_path, 'r+') as en_file: + en_file_content = en_file.read() + en_file.seek(0) + updated_content = re.sub(r'
            ', proto[0], en_file_content, flags=re.DOTALL) + en_file.write(updated_content) + en_file.truncate() + except FileNotFoundError: + print(f"No corresponding en file: {en_path}") + continue \ No newline at end of file