diff --git a/.gitignore b/.gitignore index 260f32ea4fa..cc22d774f35 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ temp/ *.xpr .vscode/settings.json .vscode/extensions.json +*.py diff --git a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita index 937c0097878..dc2beb0b451 100644 --- a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita +++ b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithsize.dita @@ -14,6 +14,7 @@

+ - (instancetype _Nonnull)initWithSize:(CGSize)size frameRate:(AgoraVideoFrameRate)frameRate bitrate:(NSInteger)bitrate @@ -48,7 +49,7 @@ mirrorMode 发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。详见 。 -

+

diff --git a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita index 79cd1878e49..e371578ce9d 100644 --- a/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita +++ b/dita/RTC-NG/API/api_agoravideoencoderconfiguration_initwithwidth.dita @@ -14,6 +14,7 @@

+ - (instancetype _Nonnull)initWithWidth:(NSInteger)width height:(NSInteger)height frameRate:(AgoraVideoFrameRate)frameRate @@ -53,7 +54,7 @@ mirrorMode 发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。详见 。 -

+

diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita index 41074dc3f47..572fcdd6b75 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getdestchannelmediainfos.dita @@ -15,6 +15,9 @@

public Map<String, ChannelMediaInfo> getDestChannelMediaInfos() { return destInfos; +} + public getDestChannelMediaInfos(): Map<String, ChannelMediaInfo> { + return this.destInfos; } diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita index 0439f53d052..3cd3ccaf1f6 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_getsrcchannelmediainfo.dita @@ -15,6 +15,9 @@

public ChannelMediaInfo getSrcChannelMediaInfo() { return srcInfo; +} + public getSrcChannelMediaInfo(): ChannelMediaInfo { + return this.srcInfo; } diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita index 122b930287b..0f4fc66fe58 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_removedestchannelinfo.dita @@ -15,6 +15,9 @@

public void removeDestChannelInfo(String channelName) { destInfos.remove(channelName); +} + public removeDestChannelInfo(channelName: string) { + this.destInfos.delete(channelName); } - (BOOL)removeDestinationInfoForChannelName:(NSString *_Nonnull)channelName; diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita index 7c131733655..3d2873879ce 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita @@ -16,6 +16,9 @@ public void setDestChannelInfo(String channelName, ChannelMediaInfo destInfo) { destInfos.put(channelName, destInfo); } + public setDestChannelInfo(channelName: string, destInfo: ChannelMediaInfo) { + this.destInfos.set(channelName, destInfo); +} - (BOOL)setDestinationInfo:(AgoraChannelMediaRelayInfo *_Nonnull)destinationInfo forChannelName:(NSString *_Nonnull)channelName; @@ -33,7 +36,7 @@ 目标频道的频道名。 - destInfo + destInfo destinationInfo

目标频道信息 ,包含如下成员: diff --git a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita index be35d45b672..a98ab5cefef 100644 --- a/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita +++ b/dita/RTC-NG/API/api_channelmediarelayconfiguration_setsrcchannelinfo.dita @@ -15,6 +15,9 @@

public void setSrcChannelInfo(ChannelMediaInfo srcInfo) { this.srcInfo = srcInfo; +} + public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; } diff --git a/dita/RTC-NG/API/api_createagorartcengine.dita b/dita/RTC-NG/API/api_createagorartcengine.dita index 3e4c2e00980..aa3c20e601e 100644 --- a/dita/RTC-NG/API/api_createagorartcengine.dita +++ b/dita/RTC-NG/API/api_createagorartcengine.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public abstract int updatePlayerPositionInfo(int playerId, RemoteVoicePositionInfo positionInfo); + - (int)updatePlayerPositionInfo:(NSInteger)playerId positionInfo:(AgoraRemoteVoicePositionInfo* _Nonnull)positionInfo; virtual int updatePlayerPositionInfo(int playerId, const RemoteVoicePositionInfo& positionInfo) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita b/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita index 545d8bbabc9..f56ef653d16 100644 --- a/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita +++ b/dita/RTC-NG/API/api_ibasespatialaudioengine_updateselfposition.dita @@ -15,6 +15,7 @@

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

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

public abstract int initialize(LocalSpatialAudioConfig config); + + (instancetype _Nonnull)sharedLocalSpatialAudioWithConfig:(AgoraLocalSpatialAudioConfig* _Nonnull)config; virtual int initialize(const LocalSpatialAudioConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") @@ -29,7 +30,7 @@

  • 你需要在 () 后调用该方法。
  • -
  • 你需要在 后调用该方法。
  • +
  • 你需要在 后调用该方法。
  • 在调用 类的其他方法前,你需要先调用该方法初始化
  • SDK 只支持每个 App 创建一个 实例。
diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita index 703f485553d..6c90868a14d 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_release.dita @@ -19,6 +19,7 @@ mInstance.release(); mInstance = null; } + + (void)destroy; diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita index 234930f789a..069f10b7b60 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_removeremoteposition.dita @@ -14,6 +14,7 @@

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

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

public abstract int updateRemotePosition(int uid, RemoteVoicePositionInfo posInfo); + - (int)updateRemotePosition:(NSUInteger)uid positionInfo:(AgoraRemoteVoicePositionInfo* _Nonnull)posInfo; virtual int updateRemotePosition(uid_t uid, const RemoteVoicePositionInfo &posInfo) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|ILocalSpatialAudioEngine") diff --git a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita index 5c73c84e747..c783b89f77c 100644 --- a/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita +++ b/dita/RTC-NG/API/api_ilocalspatialaudioengine_updateselftransform.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

+ virtual int pushAudioFrame(IAudioFrameObserver::AudioFrame* frame, rtc::track_id_t trackId = 0) = 0; abstract pushAudioFrame(frame: AudioFrame, trackId?: number): number; diff --git a/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita b/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita index 8f78a40ac8c..a6f1f2aaf19 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushencodedvideoimage.dita @@ -16,6 +16,7 @@ public abstract int pushExternalEncodedVideoFrame( ByteBuffer data, EncodedVideoFrameInfo frameInfo); videoTrackId:(NSUInteger)videoTrackId; + virtual int pushEncodedVideoImage(const uint8_t* imageBuffer, size_t length, const agora::rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0; @@ -47,7 +48,7 @@ 参数 - data + data imageBuffer 外部编码视频帧的 buffer。 @@ -56,7 +57,7 @@ 外部编码视频帧的长度。 - frameInfo + frameInfo videoEncodedFrameInfo 外部编码视频帧的信息。详见 diff --git a/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita b/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita index 651f1b101e5..142aa1dcad9 100644 --- a/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita +++ b/dita/RTC-NG/API/api_imediaengine_pushvideoframe.dita @@ -14,6 +14,7 @@

public abstract int pushExternalVideoFrameById(AgoraVideoFrame frame, int videoTrackId); + - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame videoTrackId:(NSUInteger)videoTrackId NS_SWIFT_NAME(pushExternalVideoFrame(_:videoTrackId:)); virtual int pushVideoFrame(base::ExternalVideoFrame* frame, unsigned int videoTrackId = 0) = 0; abstract pushVideoFrame( @@ -31,7 +32,7 @@

详情 -
+
弃用:
如果你需要推送 I422 格式的视频帧,请使用该方法。其他情况下,请改用
@@ -45,7 +46,7 @@
  • 如果你不再需要采集外部视频数据,可以调用 销毁自定义采集的视频轨道。
  • 如果你只想将采集到的外部视频数据用于本地预览、而不在频道内发布,可以调用 取消发送视频流,或调用 publishCustomVideoTrack 设置为
  • -

    调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

    +

    调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

    适用场景 diff --git a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index d34f70f4eaf..365ea569a6a 100644 --- a/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -14,6 +14,7 @@

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

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

    public abstract int registerVideoEncodedFrameObserver(IVideoEncodedFrameObserver receiver); + - (BOOL)setEncodedVideoFrameDelegate:(id<AgoraEncodedVideoFrameDelegate> _Nullable)delegate; virtual int registerVideoEncodedFrameObserver(IVideoEncodedFrameObserver* observer) = 0; abstract registerVideoEncodedFrameObserver( @@ -52,7 +53,7 @@ delegate - receiver + receiver observer videoEncodedImageReceiver 视频帧接收观测器,详见 diff --git a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita index 0ad4b78ede3..165007c38ad 100644 --- a/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int open(String url, long startPos); + - (int)open:(NSString *)url startPos:(NSInteger)startPos; virtual int open(const char* url, int64_t startPos) = 0; @@ -29,7 +30,7 @@

    详情

    在 Android 平台上,如果你需要打开 URI 格式的文件,请使用

    -

    该方法支持打开以 content:// 开头的 URI 文件。

    +

    该方法支持打开以 content:// 开头的 URI 文件。

    媒体播放器支持的格式详见

    如果用户需要自定义播放线路,你可以调用 。声网会通过自研调度中心支持调度线路,提升观看用户体验。如果用户不需要自定义播放线路,你可以调用

    diff --git a/dita/RTC-NG/API/api_imediaplayer_open2.dita b/dita/RTC-NG/API/api_imediaplayer_open2.dita index 7838ece1eca..0f6a80c5fcb 100644 --- a/dita/RTC-NG/API/api_imediaplayer_open2.dita +++ b/dita/RTC-NG/API/api_imediaplayer_open2.dita @@ -14,6 +14,7 @@

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

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

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

    int openWithMediaSource(MediaPlayerSource source); + - (int)openWithMediaSource:(AgoraMediaSource *)source; virtual int openWithMediaSource(const media::base::MediaSource &source) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") @@ -25,7 +26,7 @@

    该方法支持你打开不同类型的媒体资源,包括自定义的媒体资源文件,并可进行播放设置。

    -

    该方法支持你打开不同类型的媒体资源,包括以 content:// 开头的 URI 文件、assets 文件夹中的媒体文件、以及其他自定义的媒体资源文件,并可进行播放设置。

    +

    该方法支持你打开不同类型的媒体资源,包括以 content:// 开头的 URI 文件、assets 文件夹中的媒体文件、以及其他自定义的媒体资源文件,并可进行播放设置。

    该方法支持你打开不同类型的媒体资源,包括以 ipod-library:// 开头的文件、以及其他自定义的媒体资源文件,并可进行播放设置。

    媒体播放器支持的格式详见

    diff --git a/dita/RTC-NG/API/api_imediaplayer_pause.dita b/dita/RTC-NG/API/api_imediaplayer_pause.dita index b2af949feb7..ffe2c66aea9 100644 --- a/dita/RTC-NG/API/api_imediaplayer_pause.dita +++ b/dita/RTC-NG/API/api_imediaplayer_pause.dita @@ -15,6 +15,7 @@

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

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

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

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

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

    int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode); + public abstract registerAudioFrameObserver(observer:IAudioFrameObserver):number; virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer, RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0; @@ -39,10 +40,10 @@ 参数 - audioFrameObserver + audioFrameObserver observer -

    音频帧观测器,观测每帧音频的接收,详见

    +

    音频帧观测器,观测每帧音频的接收,详见

    音频帧观测器,观测每帧音频的接收,详见

    @@ -50,7 +51,7 @@ mode

    音频帧的使用模式,详见

    -

    音频帧的使用模式: +

    音频帧的使用模式:

    • (0): (默认) 只读模式。例如: 若用户通过 SDK 采集数据,自己进行 RTMP 推流,则可以选择该模式。
    • (2): 读写模式。例如:若用户自己有音效处理模块,且想要根据实际需要对数据进行前处理 (例如变声),则可以选择该模式。
    • diff --git a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita index 80f8d6052e7..b8895544c06 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita @@ -15,6 +15,7 @@

      int registerPlayerObserver(IMediaPlayerObserver playerObserver); + virtual int registerPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") @@ -33,7 +34,7 @@ 参数 - playerObserver + playerObserver observer 播放观测器,报告播放中的事件,详见 diff --git a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita index 4aafe91a0af..9a35ed36cb5 100644 --- a/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita +++ b/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita @@ -14,6 +14,7 @@

      int registerVideoFrameObserver(IMediaPlayerVideoFrameObserver videoFrameObserver); + public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number; virtual int registerVideoFrameObserver(media::base::IVideoFrameObserver* observer) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") @@ -36,7 +37,7 @@ 参数 - videoFrameObserver + videoFrameObserver observer 视频帧观测器,观测每帧视频的接收。详见 视频帧观测器,观测每帧视频的接收。详见 diff --git a/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita b/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita index 9eb0f53501a..19bc9fffba6 100644 --- a/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita +++ b/dita/RTC-NG/API/api_imediaplayer_removealllisteners.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

      int setAudioDualMonoMode(int mode); + - (int)setAudioDualMonoMode:(AgoraAudioDualMonoMode)mode; virtual int setAudioDualMonoMode(agora::media::base::AUDIO_DUAL_MONO_MODE mode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer") @@ -38,7 +39,7 @@ mode 声道模式。详见 -

        +
        • (0): 原始模式。
        • (1): 左声道模式。该模式用左声道的音频替换右声道的音频,即用户只能听到左声道的音频。
        • (2): 右声道模式。该模式用右声道的音频替换左声道的音频,即用户只能听到右声道的音频。
        • diff --git a/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita b/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita index fca9f8b3df6..5825f796399 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

          int setRenderMode(int mode); + - (void)setRenderMode:(AgoraMediaPlayerRenderMode)mode; virtual int setRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0; @@ -34,7 +35,7 @@ mode

          播放器视图的渲染模式。详见

          -

          播放器视图的渲染模式: +

          播放器视图的渲染模式:

          • diff --git a/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita b/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita index 7a81efe80a8..14584fb0e8c 100644 --- a/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita +++ b/dita/RTC-NG/API/api_imediaplayer_setspatialaudioparams.dita @@ -14,6 +14,7 @@

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

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

            int setView(View videoView); + - (void)setView:(View *_Nullable)view; virtual int setView(media::base::view_t view) = 0; @@ -33,7 +34,7 @@ 参数 - videoView + videoView view 渲染视图。Windows 平台为窗口句柄(HWND)。 diff --git a/dita/RTC-NG/API/api_imediaplayer_stop.dita b/dita/RTC-NG/API/api_imediaplayer_stop.dita index 2111e3e9741..15cc6221c8d 100644 --- a/dita/RTC-NG/API/api_imediaplayer_stop.dita +++ b/dita/RTC-NG/API/api_imediaplayer_stop.dita @@ -15,6 +15,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            @Override int stop(); + diff --git a/dita/RTC-NG/API/api_irtcengine_addextension.dita b/dita/RTC-NG/API/api_irtcengine_addextension.dita index bf5f92cba09..16bb508c495 100644 --- a/dita/RTC-NG/API/api_irtcengine_addextension.dita +++ b/dita/RTC-NG/API/api_irtcengine_addextension.dita @@ -16,6 +16,7 @@ public void addExtension(String providerName) { mExtensionList.add(providerName); } + diff --git a/dita/RTC-NG/API/api_irtcengine_addhandler.dita b/dita/RTC-NG/API/api_irtcengine_addhandler.dita index 9963e816e76..78407f60938 100644 --- a/dita/RTC-NG/API/api_irtcengine_addhandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_addhandler.dita @@ -16,6 +16,7 @@ public void addHandler(IRtcEngineEventHandler handler) { mInstance.addHandler(handler); } + abstract registerEventHandler(eventHandler: IRtcEngineEventHandler): boolean; @@ -34,7 +35,7 @@ 参数 - handler + handler engineEventHandler eventHandler 待添加的回调事件,详见 diff --git a/dita/RTC-NG/API/api_irtcengine_addlistener.dita b/dita/RTC-NG/API/api_irtcengine_addlistener.dita index b825c585d27..00bd787f030 100644 --- a/dita/RTC-NG/API/api_irtcengine_addlistener.dita +++ b/dita/RTC-NG/API/api_irtcengine_addlistener.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            public abstract int configRhythmPlayer(AgoraRhythmPlayerConfig config); + - (int)configRhythmPlayer:(AgoraRhythmPlayerConfig * _Nullable)config; virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_create.dita b/dita/RTC-NG/API/api_irtcengine_create.dita index bf693290093..a1cb74bec5f 100644 --- a/dita/RTC-NG/API/api_irtcengine_create.dita +++ b/dita/RTC-NG/API/api_irtcengine_create.dita @@ -16,6 +16,13 @@ public static synchronized RtcEngine create( Context context, String appId, IRtcEngineEventHandler handler) throws Exception {} + public static createEngine(context: Context, appID: string, handler: IRtcEngineEventHandler): RtcEngine { + let config = new RtcEngineConfig(); + config.mContext = context; + config.mAppId = appID; + config.mEventHandler = handler; + return RtcEngineImpl.createEngineImpl(config); + } + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; @@ -31,13 +38,13 @@

            • 请确保在调用其他 API 前先调用该方法创建并初始化
            • -
            • 调用该方法和 均能创建 实例。该方法与 的区别在于, 支持在创建 实例时进行更多配置,如指定访问区域、设置日志文件等。
            • +
            • 调用该方法和 均能创建 实例。该方法与 的区别在于, 支持在创建 实例时进行更多配置,如指定访问区域、设置日志文件等。
            • SDK 只支持每个 App 创建一个 实例。
            参数 - + context @@ -45,8 +52,8 @@ appId - - handler + + handler delegate 的事件句柄,详见 @@ -55,11 +62,11 @@
            <ph props="apple">返回值</ph> - <ph props="android">返回/异常</ph> + <ph props="android hmos">返回/异常</ph>
            • 方法调用成功,返回一个 对象。
            • -
            • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
            • +
            • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
            • 方法调用失败,返回错误码:
              • -1: 一般性的错误(未明确归类)。
              • diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita index cbba38145c4..52fbbf189b3 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomencodedvideotrack.dita @@ -14,6 +14,7 @@

                public abstract int createCustomEncodedVideoTrack(EncodedVideoTrackOptions encodedOpt); + - (unsigned int)createCustomEncodedVideoTrack:(AgoraEncodedVideoTrackOptions* _Nonnull)encodedVideoTrackOption; virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions& sender_option) = 0; @@ -35,7 +36,7 @@ 参数 - encodedOpt + encodedOpt encodedVideoTrackOption sender_option 视频编码选项。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita index f864e5d2a0e..4b76982f034 100644 --- a/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita +++ b/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita @@ -14,6 +14,7 @@

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

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

                public abstract int createDataStream(DataStreamConfig config); + public abstract createDataStream(config: DataStreamConfig): number; - (int)createDataStream:(NSInteger * _Nonnull)streamId config:(AgoraDataStreamConfig * _Nonnull)config; virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0; @@ -52,7 +53,7 @@ <ph keyref="return-section-title"/>

                • 0: 创建数据流成功。
                • -
                • 创建的数据流的 ID:方法调用成功。
                • +
                • 创建的数据流的 ID:方法调用成功。
                • < 0:方法调用失败。详见了解详情和解决建议。
                diff --git a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita index 908285c1adc..c4f611bafd8 100644 --- a/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita +++ b/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita @@ -14,6 +14,7 @@

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

                public abstract AgoraMediaRecorder createMediaRecorder(RecorderStreamInfo info); + public abstract createMediaRecorder(info: RecorderStreamInfo): AgoraMediaRecorder; - (AgoraMediaRecorder * _Nullable)createMediaRecorder:(AgoraRecorderStreamInfo * _Nonnull)info NS_SWIFT_NAME(createMediaRecorder(withInfo:)); virtual agora_refptr<IMediaRecorder> createMediaRecorder(const RecorderStreamInfo& info) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -46,7 +47,7 @@ 返回值

                • 方法调用成功:返回一个 对象。
                • -
                • 方法调用成功:返回一个 实例。
                • +
                • 方法调用成功:返回一个 实例。
                • 方法调用失败:返回空指针。
                diff --git a/dita/RTC-NG/API/api_irtcengine_createrendererview.dita b/dita/RTC-NG/API/api_irtcengine_createrendererview.dita index 95bee390e48..4c1d1be235e 100644 --- a/dita/RTC-NG/API/api_irtcengine_createrendererview.dita +++ b/dita/RTC-NG/API/api_irtcengine_createrendererview.dita @@ -15,6 +15,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                public abstract int enableDualStreamMode(Constants.VideoSourceType sourceType, boolean enabled); + - (int)enableDualStreamMode:(AgoraVideoSourceType)sourceType enabled:(BOOL)enabled; virtual int enableDualStreamMode(VIDEO_SOURCE_TYPE sourceType, bool enabled) = 0; abstract enableDualStreamMode( diff --git a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita index 49f46a5689f..71d26d322d9 100644 --- a/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita +++ b/dita/RTC-NG/API/api_irtcengine_enabledualstreammode3.dita @@ -14,6 +14,7 @@

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

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

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

                public abstract int enableExtension( String provider, String extension, boolean enable, Constants.MediaSourceType sourceType); + public abstract enableExtension(provider:string,extension:string,enable:boolean,extensionInfo:ExtensionInfo):number; - (int)enableExtensionWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension enabled:(BOOL)enabled @@ -84,7 +85,7 @@ type - sourceType + sourceType 插件的媒体源类型。详见

                diff --git a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita index 9cb0a9827a5..7d9c1123833 100644 --- a/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita +++ b/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

                + - (int)enableMultiCamera:(BOOL)enabled config:(AgoraCameraCapturerConfiguration* _Nullable)config NS_SWIFT_NAME(enableMultiCamera(_:config:)); #if defined(__APPLE__) && TARGET_OS_IOS virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration& config) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_enableplugin.dita b/dita/RTC-NG/API/api_irtcengine_enableplugin.dita index 85a2234b17b..eda86faabe8 100644 --- a/dita/RTC-NG/API/api_irtcengine_enableplugin.dita +++ b/dita/RTC-NG/API/api_irtcengine_enableplugin.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                + diff --git a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita index 8bae2cb3b76..5a1a7c32f4b 100644 --- a/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita +++ b/dita/RTC-NG/API/api_irtcengine_getuserinfobyuid.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

                + diff --git a/dita/RTC-NG/API/api_irtcengine_initialize.dita b/dita/RTC-NG/API/api_irtcengine_initialize.dita index 1f8612d3e74..a5bede4cdad 100644 --- a/dita/RTC-NG/API/api_irtcengine_initialize.dita +++ b/dita/RTC-NG/API/api_irtcengine_initialize.dita @@ -15,6 +15,7 @@

                public static synchronized RtcEngine create(RtcEngineConfig config) throws Exception {} + + (instancetype _Nonnull)sharedEngineWithConfig:(AgoraRtcEngineConfig * _Nonnull)config delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate; virtual int initialize(const RtcEngineContext& context) = 0; @@ -57,13 +58,13 @@

                <ph keyref="return-section-title" props="apple cpp framework"/> - <ph props="android">返回/异常</ph> + <ph props="android hmos">返回/异常</ph>

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

                • 方法调用成功,返回一个 对象。
                • 0: 方法调用成功。
                • -
                • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
                • +
                • 方法调用失败,抛出异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
                • < 0:方法调用失败。
                  • -1: 一般性的错误(未明确归类)。
                  • diff --git a/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita b/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita index 88c4575f1cd..4e123fafce5 100644 --- a/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita +++ b/dita/RTC-NG/API/api_irtcengine_iscameraautoexposurefacemodesupported.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

                    public abstract boolean isFeatureAvailableOnDevice(int type); + - (BOOL)isFeatureAvailableOnDevice:(AgoraFeatureType)type; virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0; public abstract bool IsFeatureAvailableOnDevice(FeatureType type); @@ -40,7 +41,7 @@ type 进阶功能类型,详见 - +

                    进阶功能类型:

                    • (1):虚拟背景功能。
                    • diff --git a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita index 7ea7de58130..5233230cbd9 100644 --- a/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita +++ b/dita/RTC-NG/API/api_irtcengine_isspeakerphoneenabled.dita @@ -14,6 +14,7 @@

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

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

                      public abstract int joinChannel( String token, String channelId, String optionalInfo, int uid); + public abstract joinChannel(key: string, channel: string, optionalInfo: string, uid: number): number; - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId info:(NSString * _Nullable)info @@ -62,12 +63,12 @@ info - optionalInfo + optionalInfo (非必选项) 预留参数。 uid - 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 + 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita index 22132d850ba..c3fbf0fbaf6 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita @@ -15,6 +15,7 @@

                      public abstract int joinChannel( String token, String channelId, int uid, ChannelMediaOptions options); + public abstract joinChannelWithOptions(token: string, channelId: string, uid: number, options: ChannelMediaOptions): number; - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid @@ -87,7 +88,7 @@ uid - 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 + 用户 ID。该参数用于标识在实时音视频互动频道中的用户。你需要自行设置和管理用户 ID,并确保同一频道内的每个用户 ID 是唯一的。该参数为 32 位有符号整数。取值范围为:-231-1 到 231-1。该参数为 32 位无符号整数。建议设置范围:1 到 232-1。如果不指定(即设为 0),SDK 会自动分配一个,并在 回调中返回, 应用层必须记住该返回值并维护,SDK 不对该返回值进行维护。 options @@ -112,7 +113,7 @@

                    • -2:传入的参数无效。例如,使用了不合法的 Token,uid 参数未设置为整型,或 成员值不合法。你需要填入有效的参数,重新加入频道。
                    • -3: 对象初始化失败。你需要重新初始化 对象。
                    • -7: 对象尚未初始化。你需要在调用该方法前成功初始化 对象。
                    • -
                    • -8: 对象内部状态错误。可能的原因是:调用 开始通话回路测试后,未调用 停止测试就调用该方法加入频道。你需要在该方法前调用
                    • +
                    • -8: 对象内部状态错误。可能的原因是:调用 开始通话回路测试后,未调用 停止测试就调用该方法加入频道。你需要在该方法前调用
                    • -17:加入频道被拒绝。可能的原因是用户已经在频道中。建议通过 回调判断用户是否在频道中。除收到 (1) 状态外,不要再次调用该方法加入频道。
                    • -102:频道名无效。你需要在 channelId 中填入有效的频道名,重新加入频道。
                    • -121:用户 ID 无效。你需要在 uid 中填入有效的用户 ID,重新加入频道。
                    • diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita index e6e021f8729..3af62ddfc81 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount.dita @@ -15,6 +15,7 @@

                      public abstract int joinChannelWithUserAccount( String token, String channelName, String userAccount); + - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount @@ -60,7 +61,7 @@ - channelName + channelName channelId

                      diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita index 3accbe9176b..a26cad72a6a 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccount2.dita @@ -15,7 +15,8 @@

                      public abstract int joinChannelWithUserAccount( String token, String channelName, String userAccount, ChannelMediaOptions options); - - (int)joinChannelByToken:(NSString * _Nullable)token + + - (int)joinChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId userAccount:(NSString * _Nonnull)userAccount mediaOptions:(AgoraRtcChannelMediaOptions * _Nonnull)mediaOptions @@ -64,7 +65,7 @@ - channelName + channelName channelId

                      diff --git a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita index e853d8f7829..f5c953762c3 100644 --- a/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita +++ b/dita/RTC-NG/API/api_irtcengine_joinchannelwithuseraccountex.dita @@ -15,6 +15,7 @@

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

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

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

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

                      public abstract int muteAllRemoteAudioStreams(boolean muted); + public abstract muteAllRemoteAudioStreams(muted: boolean): number; - (int)muteAllRemoteAudioStreams:(BOOL)mute; virtual int muteAllRemoteAudioStreams(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -42,7 +43,7 @@ 参数 - muted + muted mute

                      是否取消订阅所有远端用户的音频流: diff --git a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita index a95c668ffaa..a191daa8bda 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteallremotevideostreams.dita @@ -14,6 +14,7 @@

                      public abstract int muteAllRemoteVideoStreams(boolean muted); + public abstract muteAllRemoteVideoStreams(muted: boolean): number; - (int)muteAllRemoteVideoStreams:(BOOL)mute; virtual int muteAllRemoteVideoStreams(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -42,7 +43,7 @@ 参数 - muted + muted mute

                      是否取消订阅所有远端用户的视频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita index 020e6df1f1c..958198293c6 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalaudiostream.dita @@ -14,6 +14,7 @@

                      public abstract int muteLocalAudioStream(boolean muted); + public abstract muteLocalAudioStream(muted: boolean): number; - (int)muteLocalAudioStream:(BOOL)mute; virtual int muteLocalAudioStream(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -43,7 +44,7 @@ 参数 - muted + muted mute

                      是否取消发布本地音频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita index 8a9995292a6..f2df5bbdd17 100644 --- a/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_mutelocalvideostream.dita @@ -14,6 +14,7 @@

                      public abstract int muteLocalVideoStream(boolean muted); + public abstract muteLocalVideoStream(muted: boolean): number; - (int)muteLocalVideoStream:(BOOL)mute; virtual int muteLocalVideoStream(bool mute) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -44,7 +45,7 @@ 参数 - muted + muted mute

                      是否取消发送本地视频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita b/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita index ffdd2c505e9..680b764f8e7 100644 --- a/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita +++ b/dita/RTC-NG/API/api_irtcengine_muterecordingsignal.dita @@ -14,6 +14,7 @@

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

                      public abstract int muteRemoteAudioStream(int uid, boolean muted); + public abstract muteRemoteAudioStream(uid: number, muted: boolean): number; - (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0; @@ -47,7 +48,7 @@ 指定用户的用户 ID。 - muted + muted mute

                      是否取消订阅指定远端用户的音频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita index 9a794f9b594..b8fa2b06781 100644 --- a/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita +++ b/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita @@ -14,6 +14,7 @@

                      public abstract int muteRemoteVideoStream(int userId, boolean muted); + public abstract muteRemoteVideoStream(uid: number, muted: boolean): number; - (int)muteRemoteVideoStream:(NSUInteger)uid mute:(BOOL)mute; virtual int muteRemoteVideoStream(uid_t userId, bool mute) = 0; @@ -48,7 +49,7 @@ 指定用户的用户 ID。 - muted + muted mute

                      是否取消订阅指定远端用户的视频流。 diff --git a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita index 5e460126489..409c04ae1e0 100644 --- a/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita +++ b/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                      + virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect.dita b/dita/RTC-NG/API/api_irtcengine_playeffect.dita index d1f1a09e25e..be261a90381 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect.dita @@ -19,6 +19,7 @@ double pitch, double pan, double gain); + - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita index f9413a0b974..fe219c4bd4f 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect2.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect2.dita @@ -16,6 +16,7 @@ public abstract int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish); + - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita index 89cf007b521..c249a52482a 100644 --- a/dita/RTC-NG/API/api_irtcengine_playeffect3.dita +++ b/dita/RTC-NG/API/api_irtcengine_playeffect3.dita @@ -16,6 +16,7 @@ public int playEffect(int soundId, String filePath, int loopCount, double pitch, double pan, double gain, boolean publish, int startPos); + public abstract playEffect(soundId:number,filePath:string,loopCount:number,pitch:number,pan:number,gain:number,publish:boolean,startPos?:number):number; - (int)playEffect:(int)soundId filePath:(NSString* _Nonnull)filePath loopCount:(NSInteger)loopCount diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita index 5a9d036233b..7a0929dad54 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannel.dita @@ -2,7 +2,7 @@ <ph keyref="preloadChannel"/> - 使用 tokenchannelIdchannelNameuidoptionalUid 预加载频道。 + 使用 tokenchannelIdchannelNameuidoptionalUid 预加载频道。 @@ -14,6 +14,7 @@

                      public abstract int preloadChannel(String token, String channelName, int optionalUid); + - (int)preloadChannelByToken:(NSString * _Nullable)token channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(preloadChannel(byToken:channelId:uid:)); @@ -69,7 +70,7 @@ channelId - channelName + channelName

                      待预加载的频道名。该参数标识用户进行实时音视频互动的频道。App ID 一致的前提下,填入相同频道名的用户会进入同一个频道进行音视频互动。 该参数为长度在 64 字节以内的字符串。以下为支持的字符集范围(共 89 个字符):

                        diff --git a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita index c2c41647899..a4ef93e795c 100644 --- a/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_preloadchannelwithuseraccount.dita @@ -2,7 +2,7 @@ <ph keyref="preloadChannelWithUserAccount"/> - 使用 tokenchannelIdchannelNameuserAccount 预加载频道。 + 使用 tokenchannelIdchannelNameuserAccount 预加载频道。 @@ -15,6 +15,7 @@

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

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

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

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

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

                        public abstract int pushExternalAudioFrame(byte[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId); + public abstract pushExternalAudioFrame(data: ArrayBuffer, timestamp: number, sampleRate:number,channels:number, bytesPerSample:number,trackId:number): number; - (int)pushExternalAudioFrameRawData:(void* _Nonnull)data samples:(NSInteger)samples sampleRate:(NSInteger)sampleRate @@ -63,7 +64,7 @@

                      • 2: 双声道
                      - + bytesPerSample 每个采样点的字节数。对于 PCM 来说,一般使用 16 bit,即两个字节。 diff --git a/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita b/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita index 1cccbb7019e..03da18578aa 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushcaptureaudioframe.dita @@ -14,6 +14,7 @@

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

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

                      public abstract int pushDirectCdnStreamingCustomVideoFrame(VideoFrame frame); + - (int)pushDirectCdnStreamingCustomVideoFrame:(AgoraVideoFrame * _Nonnull)frame; virtual int pushDirectCdnStreamingCustomVideoFrame(media::base::ExternalVideoFrame* frame) = 0; @@ -27,7 +28,7 @@ frame - 外部视频数据。详见 VideoFrame + 外部视频数据。详见 VideoFrame

                      diff --git a/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita b/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita index 76011c9cb40..873d8fd99a4 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushexternalaudioframesamplebuffer.dita @@ -13,6 +13,7 @@

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

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

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

                      public abstract int pushReverseAudioFrame(byte[] data, int lengthInByte); + - (int)pushReverseAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame; virtual int pushReverseAudioFrame(IAudioFrameObserver::AudioFrame* frame) = 0; abstract pushReverseAudioFrame(frame: AudioFrame): number; @@ -34,11 +35,11 @@ audioFrame 外部音频帧。详见 - + data 待推送的音频数据,数据类型为 byte[] - + diff --git a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita index 3399bd9ce8e..85bb955840e 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushreverseaudioframe2.dita @@ -14,6 +14,7 @@

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

                      public abstract boolean pushExternalVideoFrame(AgoraVideoFrame frame); + - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame NS_SWIFT_NAME(pushExternalVideoFrame(_:)) @@ -24,14 +25,14 @@

                      详情 -
                      +
                      弃用:
                      如果你需要推送 I422 格式的视频帧,请使用该方法。其他情况下,请改用

                      调用 方法,设置 enabled 参数为 encodedFrame 参数为 后,你可以调用本方法将未编码的外部视频帧推送到 SDK。

                      -

                      调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

                      +

                      调用该方法或 均能将视频帧数据传递给 SDK。区别为该方法不支持 Texture 格式的视频数据。

                      参数 diff --git a/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita b/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita index c49cfba358d..19f711af6cd 100644 --- a/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita +++ b/dita/RTC-NG/API/api_irtcengine_pushvideoframe3.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

                      public abstract int registerExtension( String provider, String extension, Constants.MediaSourceType sourceType); + - (int)registerExtensionWithVendor:(NSString * __nonnull)provider extension:(NSString * __nonnull)extension sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(registerExtension(withVendor:extension:sourceType:)); @@ -53,7 +54,7 @@

                      • 建议你在初始化 后、加入频道前调用该方法。
                      • 对于视频相关插件(例如美颜插件),需要在启用视频模块(/)之前调用该方法。
                      • -
                      • 调用该方法前,需要先调用 加载插件。
                      • +
                      • 调用该方法前,需要先调用 加载插件。
                      • 调用该方法前,需要先在 Xcode 中将插件动态库(.xcframework)链接至工程以加载插件。
                      • 调用该方法前,需要先调用 加载插件。
                      diff --git a/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita b/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita index 0383258762e..395c56a985b 100644 --- a/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita +++ b/dita/RTC-NG/API/api_irtcengine_registerlocaluseraccount.dita @@ -14,6 +14,7 @@

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

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

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

                      + diff --git a/dita/RTC-NG/API/api_irtcengine_release.dita b/dita/RTC-NG/API/api_irtcengine_release.dita index 26bbfcf0550..cca9835c561 100644 --- a/dita/RTC-NG/API/api_irtcengine_release.dita +++ b/dita/RTC-NG/API/api_irtcengine_release.dita @@ -21,6 +21,9 @@ System.gc(); } + public static destroy(): Promise<void> { + return RtcEngineImpl.destroyEngine(); + }; + (void)destroy; virtual void release(bool sync = false) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita b/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita index f999c582b1a..6a81ce9f116 100644 --- a/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita +++ b/dita/RTC-NG/API/api_irtcengine_removealllisteners.dita @@ -14,6 +14,7 @@

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

                      + diff --git a/dita/RTC-NG/API/api_irtcengine_removehandler.dita b/dita/RTC-NG/API/api_irtcengine_removehandler.dita index c0557bc8ed4..10d23b4f0e8 100644 --- a/dita/RTC-NG/API/api_irtcengine_removehandler.dita +++ b/dita/RTC-NG/API/api_irtcengine_removehandler.dita @@ -2,7 +2,7 @@ <ph keyref="removeHandler" /> - 删除指定的回调句柄。删除指定的回调事件。 + 删除指定的回调句柄。删除指定的回调事件。 @@ -16,6 +16,7 @@ public void removeHandler(IRtcEngineEventHandler handler) { mInstance.removeHandler(handler); } + abstract unregisterEventHandler(eventHandler: IRtcEngineEventHandler): boolean; @@ -28,13 +29,13 @@

                      详情 -

                      该方法删除指定的回调句柄。对于某些注册的回调句柄,如果你在收到相应回调事件后无需再次接收回调消息,可以调用该方法移除回调句柄。

                      +

                      该方法删除指定的回调句柄。对于某些注册的回调句柄,如果你在收到相应回调事件后无需再次接收回调消息,可以调用该方法移除回调句柄。

                      该方法用于删除已添加的所有回调事件。

                      参数 - + handler 待删除的回调句柄。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita b/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita index c4f3b86e089..0dd3563ee7f 100644 --- a/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita +++ b/dita/RTC-NG/API/api_irtcengine_removeinjectstreamurl.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

                      public abstract int sendStreamMessage(int streamId, byte[] message); + public abstract sendStreamMessage(streamId: number, message: ArrayBuffer): number; - (int)sendStreamMessage:(NSInteger)streamId data:(NSData * _Nonnull)data; virtual int sendStreamMessage(int streamId, @@ -56,7 +57,7 @@ 数据流 ID。可以通过 获取。 - message + message data 待发送的数据。 diff --git a/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita index 7ec68772340..1338e832a92 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaddonlogfile.dita @@ -14,6 +14,7 @@

                      + diff --git a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita index 282b2d3211a..c7a80b5ba80 100644 --- a/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setadvancedaudiooptions.dita @@ -14,6 +14,7 @@

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

                      public abstract int setAINSMode(boolean enabled, int mode); + - (int)setAINSMode:(BOOL)enabled mode:(AUDIO_AINS_MODE)mode NS_SWIFT_NAME(setAINSMode(_:mode:)); virtual int setAINSMode(bool enabled, AUDIO_AINS_MODE mode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -66,7 +67,7 @@ mode

                      降噪模式,详见

                      -

                      降噪模式: +

                      降噪模式:

                      • 0:(默认)均衡降噪模式。如果你希望实现对噪声抑制和延时都较为均衡的降噪效果,可选择该模式。
                      • 1:强降噪模式;适用于对噪声抑制性能要求较高的场景,如户外直播。该模式可以更大程度地减少噪声,但同时可能会造成语音损伤。
                      • diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita index e9632492868..d6ccd5486b3 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioeffectparameters.dita @@ -14,6 +14,7 @@

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

                        public abstract int setAudioEffectPreset(int preset); + - (int)setAudioEffectPreset:(AgoraAudioEffectPreset)preset; virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -51,7 +52,7 @@ preset 预设的音效选项,详见 - 预设的音效选项。 + 预设的音效选项。

                          diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita b/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita index acb8cea369a..b33298c7c80 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiomixingdualmonomode.dita @@ -14,6 +14,7 @@

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

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

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

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

                          public abstract int setAudioProfile(int profile, int scenario); + - (int)setAudioProfile:(AgoraAudioProfile)profile scenario:(AgoraAudioScenario)scenario; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -60,7 +61,7 @@ profile

                          音频编码属性,包含采样率、码率、编码模式和声道数。详见 -

                            +
                            • (0):默认值。
                              • diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita index 7ce477cd034..9d927f238e2 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioprofile2.dita @@ -14,6 +14,7 @@

                                public synchronized int setAudioProfile(int profile) + public abstract setAudioProfile(profile: Constants.AudioProfileType): number; - (int)setAudioProfile:(AgoraAudioProfile)profile; virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0; abstract setAudioProfile(profile: AudioProfileType, scenario?: AudioScenarioType): number; @@ -22,7 +23,7 @@

                                -

                                如果你想设置音频应用场景,可以直接调用 方法进行设置,也可以调用 并设置 结构体中的 mAudioScenarioaudioScenario

                                +

                                如果你想设置音频应用场景,可以直接调用 方法进行设置,也可以调用 并设置 结构体中的 mAudioScenarioaudioScenario

                                适用场景 diff --git a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita index 1117a0d6a77..88a48ba9b55 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita @@ -14,6 +14,7 @@

                                public abstract int setAudioScenario(int scenario); + public abstract setAudioScenario(scenario: Constants.AudioScenarioType): number; - (int)setAudioScenario:(AgoraAudioScenario)scenario; virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -43,7 +44,7 @@ scenario 音频场景。不同的音频场景下,设备的音量类型是不同的。 详见 -

                                  +
                                  • (0):(默认)自动场景,根据用户角色和音频路由自动匹配合适的音质。
                                  • (3): 高音质场景,适用于音乐为主的场景。
                                  • (5): 聊天室场景,适用于用户需要频繁上下麦的场景。该场景下,观众会收到申请麦克风权限的弹窗提示。
                                  • diff --git a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita index 7a18e341c2b..00e62e471d5 100644 --- a/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita +++ b/dita/RTC-NG/API/api_irtcengine_setaudiosessionoperationrestriction.dita @@ -14,6 +14,7 @@

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

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

                                    public abstract int setBeautyEffectOptions(boolean enabled, BeautyOptions options); + - (int)setBeautyEffectOptions:(BOOL)enable options:(AgoraBeautyOptions* _Nullable)options; virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -41,7 +42,7 @@

                                    • 请在 之后调用该方法。
                                    • -
                                    • 该方法仅适用于 Android 5.0 及以上版本。
                                    • +
                                    • 该方法仅适用于 Android 5.0 及以上版本。
                                    • 该方法依赖于视频增强动态库 ,如果删除该动态库会导致无法正常开启该功能。
                                    • 该功能对设备性能要求较高,调用该方法时 SDK 会自动对当前设备能力进行检查。
                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita index bda021a8988..91d6123fbda 100644 --- a/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions2.dita @@ -15,6 +15,7 @@

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

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

                                    public abstract int setCameraAutoFocusFaceModeEnabled(boolean enabled); + - (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable; virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0; @@ -27,7 +28,7 @@

                                    详情 -

                                    SDK 默认关闭人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

                                    +

                                    SDK 默认关闭人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

                                    SDK 默认开启人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

                                    SDK 默认在 Android 平台关闭人脸自动对焦,在 iOS 平台开启人脸自动对焦。如需自行设置人脸自动对焦,请调用该方法。

                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita index 31098950ba3..1bda8d24313 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita @@ -14,6 +14,7 @@

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

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

                                    public abstract int setCameraExposureFactor(int factor); + - (CGFloat)setCameraExposureFactor:(CGFloat)exposureFactor NS_SWIFT_NAME(setCameraExposureFactor(_:)); virtual int setCameraExposureFactor(float factor) = 0; @@ -48,7 +49,7 @@ factor

                                    摄像头的曝光系数。默认值为 0,表示使用摄像头的默认曝光量。取值越大,曝光量越大。视频图像过曝时,你可以降低曝光系数;视频图像欠曝且暗部细节丢失时,你可以增加曝光系数。如果你指定的曝光系数超出设备支持的范围,SDK 会自动调节为设备实际支持的范围。

                                    -

                                    取值范围为 [-20,20]。

                                    +

                                    取值范围为 [-20,20]。

                                    取值范围为 [-8.0,8.0]。

                                    在 Android 平台上,取值范围为 [-20.0,20.0];在 iOS 平台上,取值范围为 [-8.0,8.0]。

                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita b/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita index cbf245b1910..8f95b56af60 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                                    public abstract int setChannelProfile(int profile); + public abstract setChannelProfile(profile: number): number; - (int)setChannelProfile:(AgoraChannelProfile)profile; virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -45,7 +46,7 @@ profile

                                    频道使用场景。详见

                                    -

                                    频道使用场景。 +

                                    频道使用场景。

                                    • (0):通信。声网推荐使用直播场景以获取更好的音视频体验。
                                    • diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole.dita index cbe609bbfc6..72c3ed3ceac 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole.dita @@ -14,6 +14,7 @@

                                      public abstract int setClientRole(int role); + - (int)setClientRole:(AgoraClientRole)role; virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0; abstract setClientRole( @@ -50,7 +51,7 @@ role

                                      用户角色。详见

                                      -

                                      用户的角色: +

                                      用户的角色:

                                      • (1):主播。
                                      • diff --git a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita index 3adfef643dc..7b42cbdb2f6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -14,6 +14,7 @@

                                        public abstract int setClientRole(int role, ClientRoleOptions options); + public abstract setClientRole(role: number, options?: ClientRoleOptions): number; - (int)setClientRole:(AgoraClientRole)role options:(AgoraClientRoleOptions * _Nullable)options; virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -64,7 +65,7 @@ role clientroletype 用户角色。详见 -

                                          +
                                          • (1): 主播。主播可以发流也可以收流。
                                          • (2):(默认)观众。观众只能收流不能发流。
                                          diff --git a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita index 66fd226dd4f..b927d111c02 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcloudproxy.dita @@ -14,6 +14,7 @@

                                          public abstract int setCloudProxy(int proxyType); + - (int)setCloudProxy:(AgoraCloudProxyType)proxyType NS_SWIFT_NAME(setCloudProxy(_:)); virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -45,7 +46,7 @@ proxyType

                                          云代理类型,详见

                                          -

                                          云代理类型。 +

                                          云代理类型。

                                          • (0):自动模式。SDK 默认开启该模式。在该模式下,SDK 优先连接 SD-RTN™,如果连接失败,自动切换到 TLS 443。
                                          • (1):UDP 协议的云代理,即 Force UDP 云代理模式。在该模式下,SDK 始终通过 UDP 协议传输数据。
                                          • diff --git a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita index 84bd1dc4906..d93a70e91ad 100644 --- a/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita @@ -15,6 +15,7 @@

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

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

                                            + diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita index 50656b22c88..459339c489a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita @@ -14,6 +14,7 @@

                                            public abstract int setDefaultAudioRoutetoSpeakerphone(boolean defaultToSpeaker); + public abstract setDefaultAudioRoutetoSpeakerphone(defaultToSpeaker:boolean):number; - (int)setDefaultAudioRouteToSpeakerphone:(BOOL)defaultToSpeaker; virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0; @@ -31,7 +32,7 @@

                                            详情 - +
                                            • 该方法仅适用于 Android 和 iOS 平台。
                                            • 该方法需要在加入频道前调用。如需在加入频道后切换音频路由,请调用
                                            • @@ -49,7 +50,7 @@
                                            • 视频直播:扬声器

                                            调用该 API 可以改变上述默认音频路由。成功改变音频路由后,SDK 会触发 回调。

                                            - +

                                            当手机插入外接设备,如蓝牙设备或耳机时,系统的音频路由会发生改变。详细的路由变化规律请参考 音频路由

                                            @@ -67,7 +68,7 @@
                                            <ph keyref="return-section-title"/>

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

                                            -
                                              +
                                              • 0: 方法调用成功。
                                              • < 0: 方法调用失败。详见了解详情和解决建议。
                                            diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita index db95470d782..d82d46f39d0 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremoteaudiostreams.dita @@ -14,6 +14,7 @@

                                            public abstract int setDefaultMuteAllRemoteAudioStreams(boolean muted); + - (int)setDefaultMuteAllRemoteAudioStreams:(BOOL)mute; virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) = 0; abstract setDefaultMuteAllRemoteAudioStreams(mute: boolean): number; @@ -45,7 +46,7 @@ 参数 - muted + muted mute

                                            是否默认取消订阅远端用户的音频流: diff --git a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita index f9b5dc5f0d7..323c32ed3ef 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdefaultmuteallremotevideostreams.dita @@ -14,6 +14,7 @@

                                            public abstract int setDefaultMuteAllRemoteVideoStreams(boolean muted); + - (int)setDefaultMuteAllRemoteVideoStreams:(BOOL)mute; virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) = 0; abstract setDefaultMuteAllRemoteVideoStreams(mute: boolean): number; @@ -39,7 +40,7 @@ 参数 - muted + muted mute

                                            是否默认取消订阅远端用户的视频流: diff --git a/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita b/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita index e5cdbd895bd..222e8f7a658 100644 --- a/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita +++ b/dita/RTC-NG/API/api_irtcengine_setdevicevolume.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                                            public abstract int setEarMonitoringAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall); + - (int)setEarMonitoringAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode @@ -73,8 +74,8 @@ mode -

                                            音频帧的使用模式,详见

                                            -

                                            +

                                            音频帧的使用模式,详见

                                            +

                                            diff --git a/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita b/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita index 2abb224d68f..52479d11fc9 100644 --- a/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita +++ b/dita/RTC-NG/API/api_irtcengine_seteffectposition.dita @@ -14,6 +14,7 @@

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

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

                                            public abstract int setEnableSpeakerphone(boolean enabled); + public abstract setEnableSpeakerphone(enabled: boolean): number; - (int)setEnableSpeakerphone:(BOOL)enableSpeaker; virtual int setEnableSpeakerphone(bool speakerOn) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -37,7 +38,7 @@ 参数 - enabled + enabled enableSpeaker speakerOn diff --git a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita b/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita index 6d1598766a8..c8030f9c0c6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setencryptionmode.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

                                            public abstract int setLocalPublishFallbackOption(int option); + - (int)setLocalPublishFallbackOption:(AgoraStreamFallbackOptions)option; virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; @@ -36,7 +37,7 @@ option 本地发流回退处理选项。详见 - 本地发流回退处理选项: + 本地发流回退处理选项:

                                            • (0):(默认)上行网络较弱时,不对音视频流作回退处理。
                                            • diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita index d93001fb96b..6fdc1f12dbc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode.dita @@ -14,6 +14,7 @@

                                              public abstract int setLocalRenderMode(int renderMode); + public abstract setLocalRenderMode(renderMode: number, mirrorMode: number): number; - (int)setLocalRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode; virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0; @@ -47,7 +48,7 @@ mode

                                              本地视图显示模式。详见

                                              -

                                              本地视图显示模式。 +

                                              本地视图显示模式。

                                                diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita index 413f5eb8f08..ab6398eae89 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalrendermode2.dita @@ -14,6 +14,7 @@

                                                public abstract int setLocalRenderMode(int renderMode, int mirrorMode); + public abstract setLocalRenderMode(renderMode: number, mirrorMode: number): number; - (int)setLocalRenderMode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; @@ -51,7 +52,7 @@ mode

                                                本地视图显示模式。详见

                                                -

                                                本地视图显示模式。 +

                                                本地视图显示模式。

                                                • (1):优先保证视窗被填满。视频尺寸等比缩放,直至整个视窗被视频填满。如果视频长宽与显示窗口不同,多出的视频将被截掉。
                                                • @@ -66,7 +67,7 @@

                                                  本地视图的镜像模式,详见 该参数仅对 SDK 自渲染生效,如果你想要设置视图镜像,可以将 GameObject 的 scaleX 设为 -1+1

                                                  -

                                                  本地视图的镜像模式。 +

                                                  本地视图的镜像模式。

                                                  • (0):SDK 决定镜像模式。如果你使用前置摄像头,默认启动本地视图镜像模式;如果你启用后置摄像头,默认关闭本地视图镜像模式。
                                                  • (1):开启本地视图的镜像模式。
                                                  • diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita index bc95647e781..d0fbf66aac6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvideomirrormode.dita @@ -14,6 +14,7 @@

                                                    public abstract int setLocalVideoMirrorMode(int mode); + - (int)setLocalVideoMirrorMode:(AgoraVideoMirrorMode)mode; virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -43,7 +44,7 @@ mirrorMode

                                                    本地视频镜像模式。详见

                                                    -

                                                    +

                                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita index af06527cf05..8770278edfb 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvideorenderer.dita @@ -14,6 +14,7 @@

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

                                                    public abstract int setLocalVoiceChanger(int voiceChanger); + - (int) setLocalVoiceChanger:(AgoraAudioVoiceChanger)voiceChanger; virtual int setLocalVoiceChanger(VOICE_CHANGER_PRESET voiceChanger) = 0; @@ -57,7 +58,7 @@ voiceChanger

                                                    预设本地语音变声、美音或语聊美声效果选项,默认值为 ,即原声。详见 。设置语聊美声效果时,建议使用 处理男声,使用 处理女声,否则音频可能会产生失真。

                                                    -

                                                    本地语音的变声、美音或语聊美声效果选项: +

                                                    本地语音的变声、美音或语聊美声效果选项:

                                                      diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita index 6cc7727f078..512402fefd9 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlocalvoiceequalization.dita @@ -15,6 +15,7 @@

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

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

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

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

                                                      public abstract int setLocalVoiceReverbPreset(int reverbPreset); + - (int) setLocalVoiceReverbPreset:(AgoraAudioReverbPreset)reverbPreset; virtual int setLocalVoiceReverbPreset(AUDIO_REVERB_PRESET reverbPreset) = 0; @@ -47,7 +48,7 @@ reverbPreset preset

                                                      本地语音混响选项,默认值为 ,即原声。详见 。为达到更好的混响效果,建议使用以 AUDIO_REVERB_FX 为前缀的枚举值。

                                                      -

                                                      本地语音混响选项。为达到更好的混响效果,建议使用以 AUDIO_REVERB_FX 为前缀的枚举值。

                                                        +

                                                        本地语音混响选项。为达到更好的混响效果,建议使用以 AUDIO_REVERB_FX 为前缀的枚举值。

                                                        • : (默认)原声,即关闭本地语音混响。
                                                        • : KTV(增强版)。
                                                        • : 演唱会(增强版)。
                                                        • diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 457503dc02a..73d87ae7ffc 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

                                                          + diff --git a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita index fa8b5e58511..85d226ab9e7 100644 --- a/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setrecordingaudioframeparameters.dita @@ -15,6 +15,7 @@

                                                          public abstract int setRecordingAudioFrameParameters( int sampleRate, int channel, int mode, int samplesPerCall); + public abstract setRecordingAudioFrameParameters(sampleRate: number, channel: number, mode: number, samplesPerCall: number): number; - (int)setRecordingAudioFrameParametersWithSampleRate:(NSInteger)sampleRate channel:(NSInteger)channel mode:(AgoraAudioRawFrameOperationMode)mode @@ -80,7 +81,7 @@ mode -

                                                          音频帧的使用模式,详见

                                                          +

                                                          音频帧的使用模式,详见

                                                          diff --git a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita index dce257a75e0..150794224ee 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotedefaultvideostreamtype.dita @@ -14,6 +14,7 @@

                                                          public abstract int setRemoteDefaultVideoStreamType(int streamType); + public abstract setRemoteDefaultVideoStreamType(streamType: Constants.VideoStreamType): number; - (int)setRemoteDefaultVideoStreamType:(AgoraVideoStreamType)streamType; virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -40,7 +41,7 @@ streamType

                                                          默认订阅的视频流类型:

                                                          -

                                                          默认订阅的视频流类型: +

                                                          默认订阅的视频流类型:

                                                          • (0):视频大流,即高分辨率、高码率视频流。
                                                          • (1):视频小流,即低分辨率、低码率视频流。
                                                          • diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita index eee9849f3a2..622150c5845 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode.dita @@ -14,6 +14,7 @@

                                                            public abstract int setRemoteRenderMode(int userId, int renderMode); + public abstract setRemoteRenderMode(uid: number, renderMode: number, mirrorMode: number): number; - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode) mode; virtual int setRemoteRenderMode(uid_t userId, RENDER_MODE_TYPE renderMode) = 0; @@ -44,7 +45,7 @@ renderMode

                                                            远端用户视图的渲染模式,详见

                                                            -

                                                            远端用户视图的渲染模式。 +

                                                            远端用户视图的渲染模式。

                                                            • (1):优先保证视窗被填满。视频尺寸等比缩放,直至整个视窗被视频填满。如果视频长宽与显示窗口不同,多出的视频将被截掉。
                                                            • diff --git a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita index 54c1ae3409f..2b3706ee1c6 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoterendermode2.dita @@ -14,6 +14,7 @@

                                                              public abstract int setRemoteRenderMode(int userId, int renderMode, int mirrorMode); + public abstract setRemoteRenderMode(uid: number, renderMode: number, mirrorMode: number): number; - (int)setRemoteRenderMode:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror; @@ -58,7 +59,7 @@ mode

                                                              远端用户视图的渲染模式,详见

                                                              -

                                                              远端用户视图的渲染模式。 +

                                                              远端用户视图的渲染模式。 @@ -73,7 +74,7 @@ mirror

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

                                                              -

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

                                                              远端用户视图的镜像模式。 diff --git a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index 824129303cc..ce7b4e0142c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -14,7 +14,8 @@

                                                              public abstract int setRemoteSubscribeFallbackOption(int option); - - (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option; + + - (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option; virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option) = 0; abstract setRemoteSubscribeFallbackOption( option: StreamFallbackOptions @@ -36,7 +37,7 @@ option 订阅流的回退选项。详见 -

                                                                +
                                                                • (0): 网络条件较差时,不对音视频流作回退处理,但不能保证音视频流的质量。
                                                                • (1):(默认)网络条件较差时,只接收视频小流(低分辨率、低码率视频流)。
                                                                • (2): 网络条件较差时,先尝试只接收视频小流;如果因网络环境太差无法显示视频,则再回退到只接收订阅的音频流。
                                                                • diff --git a/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita b/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita index 8ee6eca4bdf..303be46bda4 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita @@ -14,7 +14,8 @@

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

                                                                  远端用户的需求优先级。详见 -

                                                                    +
                                                                    • :用户需求优先级为高。
                                                                    • :(默认)用户需求优先级为正常。

                                                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita b/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita index ae9189aa6b0..67add3b016c 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremoteuserspatialaudioparams.dita @@ -14,6 +14,7 @@

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

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

                                                                    public abstract int setRemoteVideoStreamType(int uid, int streamType); - - (int)setRemoteVideoStream:(NSUInteger)uid + public abstract setRemoteVideoStreamType(uid: number, streamType: Constants.VideoStreamType): number; + - (int)setRemoteVideoStream:(NSUInteger)uid type:(AgoraVideoStreamType)streamType; virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -52,7 +53,7 @@ streamType

                                                                    视频流类型:

                                                                    -

                                                                    视频流类型: +

                                                                    视频流类型:

                                                                    • 0:视频大流。
                                                                    • 1:视频小流。
                                                                    • diff --git a/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita b/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita index e70e57bb169..7813dd81b43 100644 --- a/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setremotevideosubscriptionoptions.dita @@ -14,6 +14,7 @@

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

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

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

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

                                                                      public abstract int setRouteInCommunicationMode(int route); + virtual int setRouteInCommunicationMode(int route) = 0; @@ -30,7 +31,7 @@

                                                                      该方法用于在通话音量模式()下,将音频路由从蓝牙耳机切换为听筒、有线耳机或扬声器。该方法调用成功后,SDK 会触发 回调,报告修改后的路由。

                                                                      - 该方法与 同时使用时可能引起冲突。声网建议你单独使用 + 该方法与 同时使用时可能引起冲突。声网建议你单独使用
                                                                      • 该方法仅适用于 Android。
                                                                      • 该方法与 同时使用时可能引起冲突。声网建议你单独使用
                                                                      diff --git a/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita b/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita index 9507f97afdc..3fc0dc3407a 100644 --- a/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita +++ b/dita/RTC-NG/API/api_irtcengine_setscreencapturecontenthint.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

                                                                      public abstract int setupRemoteVideo(VideoCanvas remote); + public abstract setupRemoteVideo(canvas: VideoCanvas): number; - (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote; virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -36,7 +37,7 @@

                                                                    • 在 Flutter 中你不需要主动调用该方法,请使用 渲染本地和远端视图。
                                                                    • 如果你想要在原生窗口上渲染图像,请调用此方法;如果你仅需在 Unity 项目内渲染图像,可直接通过 类来实现。
                                                                    • 如果你希望在通话中更新远端用户视图的渲染或镜像模式,请使用 方法。
                                                                    • -
                                                                    • 如果你使用了录制服务,录制服务会作为一个哑客户端加入频道,因此也会触发 回调。由于录制服务不会发送视频流,App 无需为它绑定视图。如果 App 无法识别哑客户端,可以在收到 回调时再绑定远端用户视图。
                                                                    • +
                                                                    • 如果你使用了录制服务,录制服务会作为一个哑客户端加入频道,因此也会触发 回调。由于录制服务不会发送视频流,App 无需为它绑定视图。如果 App 无法识别哑客户端,可以在收到 回调时再绑定远端用户视图。
                                                                    • 如果想要停止渲染视图,需要将 view 设为 后再次调用该方法,以停止渲染并清理渲染缓存。
                                                                    diff --git a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index a63dfadd0bd..745961f9675 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -15,6 +15,7 @@

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

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

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

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

                                                                    public abstract int setVideoProfile(int width, int height, int frameRate, int bitrate); + - (int)setVideoResolution:(CGSize)size andFrameRate:(NSInteger)frameRate bitrate:(NSInteger)bitrate; diff --git a/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita index 4c9dd426360..a303f737b97 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvideoqualityparameters.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                                                                    + diff --git a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita index 2ac6e48320e..4a2aa706305 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoicebeautifierparameters.dita @@ -14,6 +14,7 @@

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

                                                                    public abstract int setVoiceBeautifierPreset(int preset); + - (int)setVoiceBeautifierPreset:(AgoraVoiceBeautifierPreset)preset; virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -57,7 +58,7 @@ preset

                                                                    预设的美声效果选项,详见

                                                                    -

                                                                    预设的美声效果选项: +

                                                                    预设的美声效果选项:

                                                                    • : 原声,即关闭美声效果。
                                                                    • : 磁性(男)。
                                                                    • diff --git a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita index 2b0241223c2..3d76ddcad77 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvoiceconversionparameters.dita @@ -14,6 +14,7 @@

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

                                                                      public abstract int setVoiceConversionPreset(int preset); + - (int)setVoiceConversionPreset:(AgoraVoiceConversionPreset)preset; virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -55,7 +56,7 @@ preset

                                                                      预设的变声效果选项:

                                                                      -

                                                                      预设的变声效果选项: +

                                                                      预设的变声效果选项:

                                                                      • : 原声,即关闭变声效果。
                                                                      • diff --git a/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita b/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita index 73e1aba1df4..d7574e19335 100644 --- a/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita +++ b/dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita @@ -15,6 +15,7 @@

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

                                                                        + virtual int startAudioFrameDump(const char* channel_id, uid_t user_id, const char* location, const char* uuid, const char* passwd, long duration_ms, bool auto_upload) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita index 965937011e4..0d1118cc13e 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing.dita @@ -14,6 +14,7 @@

                                                                        public abstract int startAudioMixing(String filePath, boolean loopback, int cycle); + public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number; - (int)startAudioMixing:(NSString * _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle NS_SWIFT_NAME(startAudioMixing(_:loopback:cycle:)); @@ -42,7 +43,7 @@

                                                                        该方法支持将本地或在线音乐文件和麦克风采集的音频进行混音或替换。成功播放音乐文件后,本地会触发 () 回调。播放结束后,本地会触发 () 回调。

                                                                        -

                                                                        该方法支持播放以 content:// 开头的 URI 文件。

                                                                        +

                                                                        该方法支持播放以 content:// 开头的 URI 文件。

                                                                        • 该方法在加入频道前后均可调用。如需多次调用 ,请确保调用间隔大于 500 ms。
                                                                        • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita index 4a512e23564..89b6584e891 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiomixing2.dita @@ -14,6 +14,7 @@

                                                                          public abstract int startAudioMixing(String filePath, boolean loopback, int cycle, int startPos); + public abstract startAudioMixing(filepath: string, loopback: boolean, cycle: number): number; - (int)startAudioMixing:(NSString* _Nonnull)filePath loopback:(BOOL)loopback cycle:(NSInteger)cycle startPos:(NSInteger)startPos; virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -41,7 +42,7 @@

                                                                          详情

                                                                          该方法支持将本地或在线音乐文件和麦克风采集的音频进行混音或替换。成功播放音乐文件后,本地会触发 () 回调。播放结束后,本地会触发 () 回调。

                                                                          -

                                                                          该方法支持播放以 content:// 开头的 URI 文件。

                                                                          +

                                                                          该方法支持播放以 content:// 开头的 URI 文件。

                                                                          • 该方法在加入频道前后均可调用。如需多次调用 ,请确保调用间隔大于 500 ms。
                                                                          • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita index 560c1ae65d7..76450a9476f 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording.dita @@ -14,6 +14,7 @@

                                                                            public abstract int startAudioRecording(String filePath, int quality); + public abstract startAudioRecording(filePath: string, quality: Constants.AudioRecordingQualityType): number; - (int)startAudioRecording:(NSString * _Nonnull)filePath quality:(AgoraAudioRecordingQuality)quality; virtual int startAudioRecording(const char* filePath, AUDIO_RECORDING_QUALITY_TYPE quality) = 0; @@ -45,7 +46,7 @@ quality 录音质量。详见 -

                                                                              +
                                                                              • 0: 低音质。采样率为 32 kHz,录制 10 分钟的文件大小为 1.2 M 左右。
                                                                              • 1: 中音质。采样率为 32 kHz,录制 10 分钟的文件大小为 2 M 左右。
                                                                              • 2: 高音质。采样率为 32 kHz,录制 10 分钟的文件大小为 3.75 M 左右。
                                                                              • diff --git a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita index 46df3997e1a..bfa770a8a4d 100644 --- a/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startaudiorecording2.dita @@ -14,6 +14,7 @@

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

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

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

                                                                                public abstract int startChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); + - (int)startChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config; virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -55,7 +56,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita b/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita index 580ec049960..6b1b206cc09 100644 --- a/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita +++ b/dita/RTC-NG/API/api_irtcengine_startdirectcdnstreaming.dita @@ -14,6 +14,7 @@

                                                                                public abstract int startDirectCdnStreaming(IDirectCdnStreamingEventHandler eventHandler, String publishUrl, DirectCdnStreamingMediaOptions options); + - (int)startDirectCdnStreaming:(id<AgoraDirectCdnStreamingEventDelegate> _Nonnull)delegate publishUrl:(NSString * _Nonnull)publishUrl mediaOptions:(AgoraDirectCdnStreamingMediaOptions * _Nonnull)options; virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler* eventHandler, const char* publishUrl, const DirectCdnStreamingMediaOptions& options) = 0; @@ -42,13 +43,13 @@

                                                                                SDK 不支持 publishCameraTrackpublishCustomVideoTrack 同时为 ,也不支持 publishMicrophoneTrackpublishCustomAudioTrack 同时为 。你可以根据场景需求设置媒体选项 ()。示例如下:

                                                                                如果你想推送主播端自定义采集的音视频流,请将媒体选项进行如下设置:

                                                                                  -
                                                                                • publishCustomAudioTrack 设为 并调用
                                                                                • +
                                                                                • publishCustomAudioTrack 设为 并调用
                                                                                • publishCustomAudioTrack 设为 并调用
                                                                                • publishCustomVideoTrack 设为 并调用
                                                                                • 确保 publishCameraTrack (默认值)
                                                                                • 确保 publishMicrophoneTrack (默认值)
                                                                                -

                                                                                自 v4.2.0 起,SDK 支持推送纯音频流。你可以在 中将 publishCustomAudioTrack 或者 publishMicrophoneTrack 设为 ,并调用 即可推送纯音频流。 +

                                                                                自 v4.2.0 起,SDK 支持推送纯音频流。你可以在 中将 publishCustomAudioTrack 或者 publishMicrophoneTrack 设为 ,并调用 即可推送纯音频流。 自 v4.2.0 起,SDK 支持推送纯音频流。你可以在 中将 publishCustomAudioTrack 或者 publishMicrophoneTrack 设为 ,并调用 即可推送纯音频流。 在向 CDN 直接推流时,SDK 目前仅支持推送一路音频流及视频流,或一路纯音频流。

                                                                                diff --git a/dita/RTC-NG/API/api_irtcengine_startechotest.dita b/dita/RTC-NG/API/api_irtcengine_startechotest.dita index c9d6f3f13ff..52bb5b8dfe5 100644 --- a/dita/RTC-NG/API/api_irtcengine_startechotest.dita +++ b/dita/RTC-NG/API/api_irtcengine_startechotest.dita @@ -14,6 +14,7 @@

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

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

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

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

                                                                                public abstract int startLocalVideoTranscoder(LocalTranscoderConfiguration config); + public abstract startLocalVideoTranscoder(config: LocalTranscoderConfiguration): number; - (int)startLocalVideoTranscoder:(AgoraLocalTranscoderConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalVideoTranscoder(_:)); virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration& config) = 0; @@ -57,7 +58,7 @@

                                                                              • 在 Windows 平台上,最多支持 4 路摄像头采集的视频流 + 4 路屏幕共享流合图。
                                                                              • 在 macOS 平台上,最多支持 4 路摄像头采集的视频流 + 1 路屏幕共享流合图。
                                                                              • 在 Android 和 iOS 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
                                                                              • -
                                                                              • 在 Android 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
                                                                              • +
                                                                              • 在 Android 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
                                                                              • 在 iOS 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。
                                                                            • 在进行合图配置时,需确保采集人像的摄像头视频流在合图中的图层编号大于屏幕共享流的图层编号,否则人像会被屏幕共享覆盖、无法显示在最终合图的视频流中。
                                                                            diff --git a/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita b/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita index 5f9b0c788a6..fac6aac60d3 100644 --- a/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita +++ b/dita/RTC-NG/API/api_irtcengine_startmediarenderingtracing.dita @@ -14,6 +14,7 @@

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

                                                                            public abstract int startOrUpdateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); + public abstract startOrUpdateChannelMediaRelay(channelMediaRelayConfiguration: ChannelMediaRelayConfiguration): number; - (int)startOrUpdateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config NS_SWIFT_NAME(startOrUpdateChannelMediaRelay(_:)); virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -54,7 +55,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_startpreview.dita b/dita/RTC-NG/API/api_irtcengine_startpreview.dita index 90eac929052..a67d13e9d80 100644 --- a/dita/RTC-NG/API/api_irtcengine_startpreview.dita +++ b/dita/RTC-NG/API/api_irtcengine_startpreview.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                                                                            public abstract int startScreenCapture(ScreenCaptureParameters screenCaptureParameters); + public abstract startScreenCapture(parameter: ScreenCaptureParameters): number; - (int)startScreenCapture:(AgoraScreenCaptureParameters2* _Nullable)parameters NS_SWIFT_NAME(startScreenCapture(_:)); #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0; @@ -59,11 +60,11 @@

                                                                          • 因 Android 性能限制,屏幕共享不支持 Android TV。
                                                                          • 因 Android 系统限制,使用华为手机进行屏幕共享时,为避免崩溃,请不要在共享过程中调节屏幕共享流的视频编码分辨率。
                                                                          • 因 Android 系统限制,部分小米手机不支持屏幕共享时采集系统音频。
                                                                          • -
                                                                          • 为提高屏幕共享时采集系统音频的成功率,建议你在加入频道前通过 方法设置音频场景为
                                                                          • +
                                                                          • 为提高屏幕共享时采集系统音频的成功率,建议你在加入频道前通过 方法设置音频场景为
                                                                          @@ -71,15 +72,15 @@ parameters - screenCaptureParameters + screenCaptureParameters captureParams - 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2,073,600 像素。该像素值为计费标准。详见 + 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2,073,600 像素。该像素值为计费标准。详见
                                                                          <ph keyref="return-section-title"/>

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

                                                                          -
                                                                            +
                                                                            • 0: 方法调用成功。
                                                                            • < 0: 方法调用失败。详见了解详情和解决建议。
                                                                                diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita index 124c01fb8ce..f4ee1d3994b 100644 --- a/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita +++ b/dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                public abstract int switchCamera(); + public abstract switchCamera(): number; - (int)switchCamera; virtual int switchCamera() = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -31,7 +32,7 @@

                                                                                • 该方法仅适用于 Android 和 iOS。
                                                                                • 该方法必须在摄像头成功开启后调用,即 SDK 触发 回调,返回本地视频状态为 (1) 后。
                                                                                • 该方法仅会对第一路摄像头采集的视频流进行摄像头切换操作,即调用 时设置为 (0) 的视频源。
                                                                                • -
                                                                                • 该方法和 均用于切换摄像头,区别在于 通过指定摄像头 ID 切换到特定的摄像头,该方法则切换摄像头的方向(前置或后置)。
                                                                                • +
                                                                                • 该方法和 均用于切换摄像头,区别在于 通过指定摄像头 ID 切换到特定的摄像头,该方法则切换摄像头的方向(前置或后置)。
                                                                                diff --git a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita index 414bb0be414..0cceae2a596 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchcamera2.dita @@ -14,6 +14,7 @@

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

                                                                                public abstract int switchChannel(String token, String channelName); + -(int)switchChannel:(NSString* _Nonnull)token channelName:(NSString* _Nonnull)channelName; virtual int switchChannel(const char* token, const char* channel) = 0; diff --git a/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita b/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita index 2189a08cc35..189b8e01077 100644 --- a/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita +++ b/dita/RTC-NG/API/api_irtcengine_switchchannel2.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                public abstract int updateChannelMediaRelay( ChannelMediaRelayConfiguration channelMediaRelayConfiguration); + - (int)updateChannelMediaRelay:(AgoraChannelMediaRelayConfiguration * _Nonnull)config; virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -45,7 +46,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita b/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita index 034dce724ed..410f3e60c44 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatedirectcdnstreamingmediaoptions.dita @@ -14,6 +14,7 @@

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

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

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

                                                                                public abstract int updateRtmpTranscoding(LiveTranscoding transcoding); + public abstract updateRtmpTranscoding(transcoding: LiveTranscoding): number; - (int)updateRtmpTranscoding:(AgoraLiveTranscoding* _Nullable)transcoding; virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita index 24cbabf01f8..f7d4f0adf90 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -16,6 +16,7 @@ public abstract int updateScreenCaptureParameters( ScreenCaptureParameters screenCaptureParameters); + - (int)updateScreenCaptureParameters:(AgoraScreenCaptureParameters * _Nonnull)captureParams; virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -42,7 +43,7 @@ 参数 - screenCaptureParameters + screenCaptureParameters captureParams 屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2073600 像素。该像素值为计费标准。详见 屏幕共享流的视频属性只需通过该参数设置,与 无关。 diff --git a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita index a508319ae86..e591fb3500b 100644 --- a/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita +++ b/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                public abstract UserInfo getUserInfoByUid(int uid, String channelId, String localUserAccount); + - (int)getUserInfoWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo *_Nullable* _Nullable)userInfo channelId:(NSString* _Nonnull)channelId @@ -61,7 +62,7 @@

                                                                              • 0: 方法调用成功。
                                                                              • < 0: 方法调用失败。详见了解详情和解决建议。
                                                                              -
                                                                                +
                                                                                • 方法调用成功,返回 对象。
                                                                                • 方法调用失败,则返回
                                                                          diff --git a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita index de24b47276e..f2af4e8714b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_getuserinfobyuseraccountex.dita @@ -14,6 +14,7 @@

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

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

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

                                                                          public abstract int leaveChannelEx(RtcConnection connection, LeaveChannelOptions options); + public abstract leaveChannelEx(connection: RtcConnection, options?:LeaveChannelOptions): number; - (int)leaveChannelEx:(AgoraRtcConnection * _Nonnull)connection options:(AgoraLeaveChannelOptions * _Nonnull)options leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats* _Nonnull stat))leaveChannelBlock; @@ -45,21 +46,21 @@

                                                                        - 适用场景 -

                                                                        -

                                                                        + 适用场景 +

                                                                        +

                                                                        调用时机

                                                                        该方法需要在 后调用。

                                                                        - 调用限制 -

                                                                        -

                                                                        + 调用限制 +

                                                                        +

                                                                      + 相关回调 +

                                                                      +

                                                                      参数 diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita index c21645ab0c4..9fc80744a0d 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremoteaudiostreamsex.dita @@ -14,6 +14,7 @@

                                                                      public abstract int muteAllRemoteAudioStreamsEx(boolean muted, RtcConnection connection); + - (int)muteAllRemoteAudioStreamsEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteAudioStreamsEx(_:connection:)); virtual int muteAllRemoteAudioStreamsEx(bool mute, const RtcConnection& connection) = 0; @@ -45,7 +46,7 @@ 参数 - muted + muted mute

                                                                      是否取消订阅所有远端用户的音频流: diff --git a/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita b/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita index db17fa33d5b..a32d9b34882 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteallremotevideostreamsex.dita @@ -14,6 +14,7 @@

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

                                                                      public abstract int muteLocalAudioStreamEx(boolean muted, RtcConnection connection); + - (int)muteLocalAudioStreamEx:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalAudioStreamEx(_:connection:)); virtual int muteLocalAudioStreamEx(bool mute, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -39,7 +40,7 @@ 参数 - muted + muted mute

                                                                      是否取消发布本地音频流。 diff --git a/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita index f8f80233704..429079d802f 100644 --- a/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_mutelocalvideostreamex.dita @@ -14,6 +14,7 @@

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

                                                                      public abstract int muteRecordingSignalEx(boolean muted, RtcConnection connection); + - (int)muteRecordingSignalEx:(BOOL)mute connection:(AgoraRtcConnection* _Nonnull)connection; virtual int muteRecordingSignalEx(bool mute, const RtcConnection& connection) = 0; @@ -40,7 +41,7 @@ 参数 - muted + muted mute 是否将录音信号静音:

                                                                      • : 静音。
                                                                      • diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita index 672be97efa3..75e8eec9116 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremoteaudiostreamex.dita @@ -14,6 +14,7 @@

                                                                        public abstract int muteRemoteAudioStreamEx(int uid, boolean muted, RtcConnection connection); + - (int)muteRemoteAudioStreamEx:(NSUInteger)uid mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection; @@ -48,7 +49,7 @@ mute - muted + muted

                                                                        是否停止接收指定音频流:

                                                                          diff --git a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita index 95b8c4f471e..9e8ddb4bf2a 100644 --- a/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_muteremotevideostreamex.dita @@ -14,6 +14,7 @@

                                                                          public abstract int muteRemoteVideoStreamEx(int uid, boolean muted, RtcConnection connection); + - (int)muteRemoteVideoStreamEx:(NSUInteger)uid mute:(BOOL)mute connection:(AgoraRtcConnection * _Nonnull)connection; @@ -52,7 +53,7 @@ mute - muted + muted

                                                                          是否停止接收某个远端用户的视频: diff --git a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita index 1c41a5843b4..e7dc5b6fcbc 100644 --- a/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_pauseallchannelmediarelayex.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                                                                          public abstract int sendStreamMessageEx(int streamId, byte[] message, RtcConnection connection); + virtual int sendStreamMessageEx(int streamId, const char* data, size_t length, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -51,7 +52,7 @@ 数据流 ID。可以通过 获取。 - message + message data 待发送的数据。 diff --git a/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita b/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita index 499272643a9..30fa81f7cc5 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setdualstreammodeex.dita @@ -15,6 +15,7 @@

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

                                                                          public abstract int setRemoteRenderModeEx( int uid, int renderMode, int mirrorMode, RtcConnection connection); + - (int)setRemoteRenderModeEx:(NSUInteger)uid mode:(AgoraVideoRenderMode)mode mirror:(AgoraVideoMirrorMode)mirror @@ -63,7 +64,7 @@ renderMode

                                                                          远端视图显示模式,详见

                                                                          -

                                                                          远端视图显示模式: +

                                                                          远端视图显示模式:

                                                                          @@ -73,7 +74,7 @@ mirrorMode

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

                                                                          -

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

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

                                                                          diff --git a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita index 21ad36f385e..0c4012e072b 100644 --- a/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_setremotevideostreamtypeex.dita @@ -14,7 +14,8 @@

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

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

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

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

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

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

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

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

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

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

                                                                          public abstract int startChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection); + - (int)startChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startChannelMediaRelayEx(_:connection:)); virtual int startChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -58,7 +59,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita b/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita index f0f821fad6b..b6eed446454 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startmediarenderingtracingex.dita @@ -14,6 +14,7 @@

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

                                                                          public abstract int startOrUpdateChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection); + - (int)startOrUpdateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startOrUpdateChannelMediaRelayEx(_:connection:)); virtual int startOrUpdateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -57,7 +58,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita index 437b38099fd..a11b41e6b46 100644 --- a/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_startrtmpstreamwithouttranscodingex.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

                                                                          public abstract int updateChannelMediaRelayEx( ChannelMediaRelayConfiguration channelMediaRelayConfiguration, RtcConnection connection); + - (int)updateChannelMediaRelayEx:(AgoraChannelMediaRelayConfiguration * _Nonnull)config connection:(AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateChannelMediaRelayEx(_:connection:)); virtual int updateChannelMediaRelayEx(const ChannelMediaRelayConfiguration& configuration, const RtcConnection& connection) = 0; UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy") @@ -48,7 +49,7 @@ 参数 - channelMediaRelayConfiguration + channelMediaRelayConfiguration config configuration 跨频道媒体流转发参数配置。详见 diff --git a/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita b/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita index 4b303ffe09c..6bba334c8d8 100644 --- a/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita +++ b/dita/RTC-NG/API/api_irtcengineex_updatertmptranscodingex.dita @@ -15,6 +15,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                          + + (AgoraLiveTranscoding* _Nonnull)defaultTranscoding; diff --git a/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita b/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita index ad59bbea87d..836b0b9000d 100644 --- a/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita +++ b/dita/RTC-NG/API/api_livetranscoding_getadvancedfeatures.dita @@ -16,6 +16,7 @@ public Map<String, Boolean> getAdvancedFeatures() { return advancedFeatures; } + - (NSArray<AgoraLiveStreamAdvancedFeature*>* _Nullable)getAdvancedFeatures; @@ -30,7 +31,7 @@

                                                                          返回值 -

                                                                          高级功能名称和该功能的开/关状态。详见 高级功能的名称,包含 LBHQ(低码率的高清视频功能)和 VEO(优化的视频编码器功能)以及该功能的开/关状态。

                                                                          +

                                                                          高级功能名称和该功能的开/关状态。详见 高级功能的名称,包含 LBHQ(低码率的高清视频功能)和 VEO(优化的视频编码器功能)以及该功能的开/关状态。

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                          + @@ -46,7 +47,7 @@ mirrorMode 视频镜像模式,详见 。 -

                                                                          +

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

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

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

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

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

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

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

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

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

                                                                          public abstract void onMixedAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); + - (void)onMixedEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; virtual void onMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnMixedAudioEncodedFrame, const TArray<int64>, frameBuffer, int, length, const FEncodedAudioFrameInfo&, audioEncodedFrameInfo); diff --git a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita index a1ade2e5ef7..0a3e4743783 100644 --- a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita +++ b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onplaybackaudioencodedframe.dita @@ -16,6 +16,7 @@ public abstract void onPlaybackAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); + - (void)onPlaybackEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; virtual void onPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioEncodedFrame, const TArray<int64>, frameBuffer, int, length, const FEncodedAudioFrameInfo&, audioEncodedFrameInfo); diff --git a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita index 763f1d69d13..9bde1889ff8 100644 --- a/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita +++ b/dita/RTC-NG/API/callback_iaudioencodedframeobserver_onrecordaudioencodedframe.dita @@ -16,6 +16,7 @@ public abstract void onRecordAudioEncodedFrame( ByteBuffer buffer, int samplesPerChannel, int channels, int samplesPerSec, int codecType); + - (void)onRecordEncodedAudioFrame:(NSData* _Nonnull)frameData info:(AgoraEncodedAudioFrameInfo* _Nonnull) info; virtual void onRecordAudioEncodedFrame(const uint8_t* frameBuffer, int length, const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0; @@ -46,7 +47,7 @@ 参数 - buffer + buffer frameData frameBuffer frameBufferPtr @@ -61,19 +62,19 @@ info 编码后音频的信息。详见 - + - + - + - + codecType 音频编码类型: diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita index 8b67a6a0894..0060050b01d 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_ismultiplechannelframewanted.dita @@ -14,6 +14,7 @@

                                                                          + virtual bool isMultipleChannelFrameWanted() { return false; } diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita index a3e5aeb8c30..46891b1b71e 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing.dita @@ -16,6 +16,7 @@ public abstract boolean onPlaybackAudioFrameBeforeMixing(int userId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + onPlaybackAudioFrameBeforeMixing?: (channelId: string, userId: number, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId uid:(NSUInteger)uid NS_SWIFT_NAME(onPlaybackAudioFrame(beforeMixing:channelId:uid:)); virtual bool onPlaybackAudioFrameBeforeMixing(const char* channelId, rtc::uid_t uid, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnPlaybackAudioFrameBeforeMixing, const FString, channelId, int64, uid, const FAudioFrame&, audioFrame); @@ -51,7 +52,7 @@ uid - userId + userId 订阅的远端用户的 ID。 @@ -61,7 +62,7 @@ 音频原始数据。详见 - + diff --git a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita index 67343866080..9fd92d5c195 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserver_onplaybackaudioframebeforemixing2.dita @@ -14,6 +14,7 @@

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

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

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

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

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

                                                                          public abstract AudioParams getRecordAudioParams(); + getRecordAudioParams?: () => AudioParams; - (AgoraAudioParams* _Nonnull)getRecordAudioParams NS_SWIFT_NAME(getRecordAudioParams()); virtual AudioParams getRecordAudioParams() = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRecordAudioParams); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita index 0a5034f0d45..591bd2da3b0 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita @@ -17,6 +17,7 @@ int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + onEarMonitoringAudioFrame?: (type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onEarMonitoringAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0; @@ -50,7 +51,7 @@ 音频原始数据。详见 - + type 音频数据的类型。 diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita index 0f4fea04a23..264026efb00 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita @@ -16,6 +16,7 @@ public abstract boolean onMixedAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + onMixedAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onMixedAudioFrame(_:channelId:)); virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnMixedAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); @@ -57,7 +58,7 @@ 频道 ID。 - + type 音频数据的类型。 diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita index d3df0c4d37b..65569932805 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita @@ -16,6 +16,7 @@ public abstract boolean onPlaybackAudioFrame(int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + onPlaybackAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame; virtual bool onPlaybackAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnPlaybackAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); diff --git a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita index f6f0a8b7bfa..866de97592b 100644 --- a/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita +++ b/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita @@ -16,6 +16,7 @@ public abstract boolean onRecordAudioFrame(String channelId, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type); + onRecordAudioFrame?: (channelId: string, type: number, samplesPerChannel: number, bytesPerSample: number, channels: number, samplesPerSec: number, buffer: ArrayBuffer, renderTimeMs: number, avsync_type: number) => boolean; - (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onRecordAudioFrame(_:channelId:)); virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnRecordAudioFrame, const FString, channelId, const FAudioFrame&, audioFrame); @@ -56,7 +57,7 @@ 频道 ID。 - + channelId 频道 ID。 diff --git a/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita b/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita index 1f6f03fc7bc..ea469418cd8 100644 --- a/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita +++ b/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita @@ -14,6 +14,7 @@

                                                                          AudioFrame onFrame(AudioFrame frame); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveAudioFrame:(AgoraAudioFrame* _Nonnull)audioFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveAudioFrame:)); virtual void onFrame(agora::media::base::AudioPcmFrame* frame) = 0; @@ -43,10 +44,10 @@ 详见

                                                                          -
                                                                          +
                                                                          返回值 -

                                                                          根据你在 中设置的 mode 使用音频数据后,在此返回值中传入该音频数据。

                                                                          +

                                                                          根据你在 中设置的 mode 使用音频数据后,在此返回值中传入该音频数据。

                                                                          无实际含义。

                                                                          diff --git a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita index 4dc7bb3b602..2d9be2d80e3 100644 --- a/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita +++ b/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita @@ -15,6 +15,7 @@

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

                                                                          boolean onRemoteAudioSpectrum(UserAudioSpectrumInfo[] userAudioSpectrumInfos, int spectrumNumber); + - (BOOL)onRemoteAudioSpectrum:(NSArray<AgoraAudioSpectrumInfo *> * _Nullable)AudioSpectrumInfo; virtual bool onRemoteAudioSpectrum(const UserAudioSpectrumInfo * spectrums, unsigned int spectrumNumber) = 0; @@ -43,7 +44,7 @@ 参数 - userAudioSpectrumInfos + userAudioSpectrumInfos AudioSpectrumInfo spectrums 远端用户的音频频谱信息,详见 。 数组数量等于 SDK 监测到的远端用户数量,数组为空表示没有监测到远端用户的音频频谱。 diff --git a/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita b/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita index c5243e17da6..59312833c48 100644 --- a/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita +++ b/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita @@ -15,6 +15,7 @@

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

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

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

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

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

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

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

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

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

                                                                          void onMetaData(Constants.MediaPlayerMetadataType type, byte[] data); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveData:(NSString *_Nullable)data length:(NSInteger)length; @@ -36,7 +37,7 @@ - + type 媒体附属信息数据类型,详见 diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita index eef88553549..9881a8528d8 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplaybufferupdated.dita @@ -15,6 +15,7 @@

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

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

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

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

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

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

                                                                          void onPlayerSrcInfoChanged(SrcInfo from, SrcInfo to); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit playerSrcInfoDidChange:(AgoraMediaPlayerSrcInfo *_Nonnull)to from:(AgoraMediaPlayerSrcInfo *_Nonnull)from; virtual void onPlayerSrcInfoChanged(const media::base::SrcInfo& from, const media::base::SrcInfo& to) = 0; diff --git a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita index 2fd8291edaf..4dab43866db 100644 --- a/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita +++ b/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita @@ -14,6 +14,7 @@

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

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

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

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

                                                                          void onRecorderStateChanged(String channelId, int uid, int state, int reason); + onRecorderStateChanged(channelId: string, uid: number, state: number, reason: number): void; - (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder stateDidChanged:(NSString * _Nonnull)channelId uid:(NSUInteger)uid state:(AgoraMediaRecorderState)state reason:(AgoraMediaRecorderReasonCode)reason; virtual void onRecorderStateChanged(const char* channelId, rtc::uid_t uid, RecorderState state, RecorderReasonCode reason) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_FourParams(FOnRecorderStateChanged, FString, channelId, int64, uid, FENUMWRAP_RecorderState, state, ERecorderErrorCode, error); @@ -55,7 +56,7 @@ state 当前的录制状态。详见 - 当前的录制状态: + 当前的录制状态:

                                                                            @@ -67,7 +68,7 @@ error 录制状态出错的原因。详见 - 录制状态出错的原因: + 录制状态出错的原因:
                                                                              diff --git a/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita b/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita index 18ceb7784ca..c8a4486c182 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_getmaxmetadatasize.dita @@ -14,6 +14,7 @@

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

                                                                              public abstract void onMetadataReceived(byte[] buffer, int uid, long timeStampMs); + onMetadataReceived?:(buffer:ArrayBuffer,uid:number,timeStampMs:bigint) =>void; - (void)receiveMetadata:(NSData * _Nonnull)data fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp; virtual void onMetadataReceived(const Metadata &metadata) = 0; @@ -30,8 +31,8 @@

                                                                              参数 - - buffer + + buffer data 接收到的数据。 @@ -39,8 +40,8 @@ uid 用户 ID。 - - timestampMs + + timestampMs timestamp 时间戳。 diff --git a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita index 5ab66b74f3a..428111d29f6 100644 --- a/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita +++ b/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita @@ -14,6 +14,7 @@

                                                                              public abstract byte[] onReadyToSendMetadata(long timeStampMs, int sourceType); + onReadyToSendMetadata?:(timeStampMs:bigint,sourceType:Constants.VideoSourceType) =>ArrayBuffer; - (NSData * _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp sourceType:(AgoraVideoSourceType)sourceType; virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0; @@ -34,8 +35,8 @@

                                                                              参数 - - timeStampMs + + timeStampMs timestamp 时间戳。 @@ -62,7 +63,7 @@
                                                                            • buffer:metadata 数据。
                                                                            • timeStampMs:metadata 发送时的 NTP 时间戳(ms)。

                                                                            -

                                                                            指定想要发送的 metadata,格式为 byte[]。请确保在该返回值中进行传参。

                                                                            +

                                                                            指定想要发送的 metadata,格式为 byte[]。请确保在该返回值中进行传参。

                                                                          diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita index 05d955b9da2..5402dea8617 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onlyricresult.dita @@ -14,6 +14,7 @@

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

                                                                          void onMusicChartsResult(String requestId, MusicChartInfo[] list, int reason); + - (void)onMusicChartsResult:(NSString *)requestId result:(NSArray<AgoraMusicChartInfo*> *)result reason:(AgoraMusicContentCenterStateReason)reason; virtual void onMusicChartsResult(const char* requestId, agora_refptr<MusicChartCollection> result, MusicContentCenterStateReason reason) = 0; onMusicChartsResult?( @@ -51,7 +52,7 @@ reason

                                                                          音乐内容中心的请求状态码,详见

                                                                          -

                                                                          音乐内容中心的请求状态码: +

                                                                          音乐内容中心的请求状态码:

                                                                          • (0):请求成功。
                                                                          • (1):一般错误,无明确归因。
                                                                          • @@ -70,7 +71,7 @@ - list + list result 当前可播放的音乐榜单列表。详见 diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita index ac2c3e068c5..232818807fc 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onmusiccollectionresult.dita @@ -15,6 +15,7 @@

                                                                            void onMusicCollectionResult( String requestId, int page, int pageSize, int total, Music[] list, int reason); + - (void)onMusicCollectionResult:(NSString *)requestId result:(AgoraMusicCollection *)result reason:(AgoraMusicContentCenterStateReason)reason; virtual void onMusicCollectionResult(const char* requestId, agora_refptr<MusicCollection> result, MusicContentCenterStateReason reason) = 0; onMusicCollectionResult?( @@ -52,20 +53,20 @@ - + page 当前页面编号,默认从 1 开始。 - + pageSize 每页所展示的音乐资源的最大数量,最大值为 50。 - + total 列表内音乐资源的总数量。 - list + list result 音乐资源列表的详细信息。详见 diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita index 61b2cb02226..079432c4729 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onpreloadevent.dita @@ -15,6 +15,7 @@

                                                                            void onPreLoadEvent( String requestId, long songCode, int percent, String lyricUrl, int state, int reason); + - (void)onPreLoadEvent:(NSString*)requestId songCode:(NSInteger)songCode percent:(NSInteger)percent lyricUrl:(NSString * _Nullable)lyricUrl state:(AgoraMusicContentCenterPreloadState)state reason:(AgoraMusicContentCenterStateReason)reason; virtual void onPreLoadEvent(const char* requestId, int64_t songCode, int percent, const char* lyricUrl, PreloadState state, MusicContentCenterStateReason reason) = 0; onPreLoadEvent?( @@ -75,7 +76,7 @@ state

                                                                            当前音乐资源的加载状态。详见

                                                                            -

                                                                            当前音乐资源的加载状态: +

                                                                            当前音乐资源的加载状态:

                                                                            • 0:音乐资源加载完成。
                                                                            • diff --git a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita index a4c32b0d77c..a72ba0e102c 100644 --- a/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita +++ b/dita/RTC-NG/API/callback_imusiccontentcentereventhandler_onsongsimpleinforesult.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                              public void onAudioMixingStateChanged(int state, int reasonCode); + onAudioMixingStateChanged?:(state:number,reason:number) => void - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)state reasonCode:(AgoraAudioMixingReasonCode)reasonCode; virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) { @@ -42,7 +43,7 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; state 音乐文件播放状态。详见 -

                                                                              +

                                                                              • (710): 音乐文件正常播放。
                                                                              • (711): 音乐文件暂停播放。
                                                                              • @@ -57,7 +58,7 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; reasonCode reason 错误码。详见 -

                                                                                +

                                                                                • (0): 正常。
                                                                                • (701): 音乐文件打开出错。
                                                                                • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita index 9f133b2bf0a..224eeb4da45 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita @@ -15,6 +15,7 @@

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

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

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

                                                                                  public void onAudioSubscribeStateChanged( String channel, int uid, int oldState, int newState, int elapseSinceLastState) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didAudioSubscribeStateChange:(NSString * _Nonnull)channelId uid:(unsigned int)uid @@ -76,7 +77,7 @@ elapseSinceLastState:(int)elapseSinceLastState; oldState 之前的订阅状态,详见 - 之前的订阅状态。 + 之前的订阅状态。 @@ -113,7 +114,7 @@ elapseSinceLastState:(int)elapseSinceLastState; newState 当前的订阅状态,详见 - 当前的订阅状态。 + 当前的订阅状态。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita index 639ab0fb36c..70c1dfecef3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

                                                                                  public void onClientRoleChanged(int oldRole, int newRole, ClientRoleOptions newRoleOptions) {} + onClientRoleChanged?:(oldRole:Constants.ClientRole, newRole:Constants.ClientRole, newRoleOptions:ClientRoleOptions) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChanged:(AgoraClientRole)oldRole newRole:(AgoraClientRole)newRole newRoleOptions:(AgoraClientRoleOptions * _Nullable)newRoleOptions NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)); @@ -64,14 +65,14 @@ NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:)); oldRole 切换前的角色: -

                                                                                    +
                                                                                    newRole 切换后的角色: -
                                                                                      +
                                                                                      diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita index 708b3700b9d..0cdca1002c2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita @@ -14,6 +14,7 @@

                                                                                      public void onClientRoleChangeFailed(int reason, int currentRole) {} + onClientRoleChangeFailed?: (reason:number, currentRole:Constants.ClientRole) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChangeFailed:(AgoraClientRoleChangeFailedReason)reason currentRole:(AgoraClientRole)currentRole; virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole) { (void)reason; @@ -55,7 +56,7 @@ reason 切换用户角色失败的原因。详见 - 切换用户角色失败的原因。 + 切换用户角色失败的原因。

                                                                                      • (1): 频道内主播人数达到上限。 该枚举仅在开启 128 人功能后报告。主播人数的上限根据开启 128 人功能时实际配置的人数而定。
                                                                                      • @@ -67,7 +68,7 @@ currentRole 当前用户角色。详见 - 当前用户角色。 + 当前用户角色。
                                                                                        • (1): 主播。主播可以发流也可以收流。
                                                                                        • (2): 观众。观众只能收流不能发流。
                                                                                        • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita index db52aba4cbb..8a57420c694 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita @@ -14,6 +14,7 @@

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

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

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

                                                                                          public void onConnectionStateChanged(int state, int reason) {} + onConnectionStateChanged ? : ( state: Constants.ConnectionState, reason: Constants.ConnectionChangedReason ) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine connectionStateChanged:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason; @@ -55,7 +56,7 @@ state

                                                                                          当前网络连接状态。详见

                                                                                          -
                                                                                            +
                                                                                            • (1):网络连接断开。
                                                                                            • @@ -72,7 +73,7 @@ reason

                                                                                              引起当前网络连接状态改变的原因。详见

                                                                                              -

                                                                                              +

                                                                                              • (0):建立网络连接中。
                                                                                              • (1):成功加入频道。
                                                                                              • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita index 6bd4d5d884d..faae4ed2cef 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita @@ -15,6 +15,7 @@

                                                                                                public void onContentInspectResult(int result) {} + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine contentInspectResult:(AgoraContentInspectResult)result; virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; } @@ -33,7 +34,7 @@ result 鉴黄结果。详见 - +

                                                                                                鉴黄结果: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita index 7e2961ee6e5..ec248f36e81 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ondispose.dita @@ -14,6 +14,7 @@

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

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

                                                                                                public void onEncryptionError(int errorType) {} + onEncryptionError?:(errorType:Constants.EncryptionError) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurEncryptionError:(AgoraEncryptionErrorType)errorType; virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) { @@ -52,7 +53,7 @@ errorType 错误类型,详见 - + errorType 错误类型。

                                                                                                  diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita index 73a65d24690..1d66fae9583 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita @@ -15,6 +15,7 @@

                                                                                                  public void onError(int err) {} + onError?:(err:number,message:string) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurError:(AgoraErrorCode)errorCode; virtual void onError(int err, const char* msg) { @@ -48,7 +49,7 @@ msg 错误描述。 - + err 错误码。 @@ -69,7 +70,7 @@

                                                                                                    -
                                                                                                  • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                                                                                                  • +
                                                                                                  • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                                                                                                  • 使用内置加密时,设置的加密模式不正确,或加载外部加密库失败。请检查加密的枚举值是否正确,或重新加载外部加密库。
                                                                                                • (5):方法调用被拒绝。可能的原因有: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita index 9235709523d..64f751e5394 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerror.dita @@ -14,6 +14,7 @@

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

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

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

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

                                                                                                  public void onFacePositionChanged( int imageWidth, int imageHeight, AgoraFacePositionInfo[] faceRectArr) {} + onFacePositionChanged?:( + imageWidth:number, imageHeight:number, faceRectArr:Array<AgoraFacePositionInfo>) => void; - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine facePositionDidChangeWidth:(int)width previewHeight:(int)height faces:(NSArray<AgoraFacePositionInfo*>* _Nullable)faces NS_SWIFT_NAME(rtcEngine(_:facePositionDidChangeWidth:previewHeight:faces:)); virtual void onFacePositionChanged(int imageWidth, int imageHeight, const Rectangle* vecRectangle, const int* vecDistance, @@ -79,8 +81,8 @@ height 摄像头采集画面的高度 (px)。 - - faceRectArr + + faceRectArr faces 检测到的人脸信息,详见 。检测到几张人脸,就会报告几个 数组。数组长度可以为 0,表示没有检测到摄像头前出现人脸。 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita index bda9da46ef4..355b50b03aa 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframe.dita @@ -14,6 +14,7 @@

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

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

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

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

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

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

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

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

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

                                                                                                  public void onLastmileQuality(int quality) {} + onLastmileQuality? : (quality:Constants.QualityType) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileQuality:(AgoraNetworkQuality)quality; virtual void onLastmileQuality(int quality) { (void)quality; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita index 5682634b527..0e43c123569 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita @@ -14,6 +14,7 @@

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

                                                                                                  public void onLocalAudioStateChanged(int state, int reason) {} + onLocalAudioStateChanged?:(state:Constants.LocalAudioStreamState,error:Constants.LocalAudioStreamReason) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStateChanged:(AgoraAudioLocalState)state reason:(AgoraAudioLocalReason)reason NS_SWIFT_NAME(rtcEngine(_:localAudioStateChanged:reason:)); virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_REASON reason) { (void)state; @@ -54,7 +55,7 @@ state 当前的本地音频状态。详见 - 当前的本地音频状态。 + 当前的本地音频状态。

                                                                                                  • (0): 本地音频默认初始状态。
                                                                                                  • (1): 本地音频采集设备启动成功。
                                                                                                  • @@ -65,7 +66,7 @@ reason 本地音频状态改变原因。详见 - 本地音频状态改变原因。 + 本地音频状态改变原因。
                                                                                                    • (0): 本地音频状态正常。
                                                                                                    • (1): 本地音频出错原因不明确。建议提示用户尝试重新加入频道。
                                                                                                    • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita index eaa9895bedc..02efce1c341 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita @@ -14,6 +14,7 @@

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

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

                                                                                                      public void onLocalUserRegistered(int uid, String userAccount) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalUserRegisteredWithUserId:(NSUInteger)uid userAccount:(NSString * _Nonnull)userAccount; virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index 0c92680d6b8..d736a569dc4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -15,6 +15,7 @@

                                                                                                      public void onLocalVideoStateChanged(Constants.VideoSourceType source, int state, int reason) {} + onLocalVideoStateChanged?:(source: Constants.VideoSourceType, state:Constants.LocalVideoStreamState,error:Constants.LocalVideoStreamReason) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStateChangedOfState:(AgoraVideoLocalState)state reason:(AgoraLocalVideoStreamReason)reason sourceType:(AgoraVideoSourceType)sourceType NS_SWIFT_NAME(rtcEngine(_:localVideoStateChangedOf:reason:sourceType:)); virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_REASON reason) { @@ -76,7 +77,7 @@ state

                                                                                                      本地视频状态,详见

                                                                                                      -

                                                                                                      +

                                                                                                      • (0): 本地视频默认初始状态。
                                                                                                      • (1): 本地视频采集设备启动成功。
                                                                                                      • @@ -89,7 +90,7 @@ reason

                                                                                                        本地视频状态改变原因,详见

                                                                                                        -

                                                                                                        +

                                                                                                        • (0): 本地视频状态正常。
                                                                                                        • (1): 出错原因不明确。
                                                                                                        • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita index 5f8964f8060..3620b795690 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita @@ -15,6 +15,7 @@

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

                                                                                                          public void onLocalVideoTranscoderError( LocalTranscoderConfiguration.TranscodingVideoStream stream, int error) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoTranscoderErrorWithStream:(AgoraTranscodingVideoStream * _Nonnull )stream errorCode:(AgoraVideoTranscoderError)errorCode NS_SWIFT_NAME(rtcEngine(_:didLocalVideoTranscoderErrorWithStream:errorCode:)); virtual void onLocalVideoTranscoderError(const TranscodingVideoStream& stream, VIDEO_TRANSCODER_ERROR error){ @@ -56,7 +57,7 @@ error errorCode 本地合图出错原因。详见 - 本地合图出错原因: + 本地合图出错原因:

                                                                                                          • 1:指定的视频源未开始进行视频采集,你需要为其创建视频轨道并开始视频采集。
                                                                                                          • 2:视频源类型无效,你需要重新指定支持的视频源类型。
                                                                                                          • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita index 040b4cb0b3a..1b1e8891142 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onmicrophoneenabled.dita @@ -14,6 +14,7 @@

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

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

                                                                                                            public void onNetworkTypeChanged(int type) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkTypeChanged:(AgoraNetworkType)type; virtual void onNetworkTypeChanged(NETWORK_TYPE type) { (void)type; @@ -44,7 +45,7 @@ type

                                                                                                            本地网络连接类型。详见

                                                                                                            -

                                                                                                            网络连接类型: +

                                                                                                            网络连接类型: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita index 6abb2cba765..54049135849 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita @@ -14,6 +14,7 @@

                                                                                                            public void onPermissionError(int permission) {} + onPermissionError?:(permission:Constants.PermissionType) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine permissionError:(AgoraPermissionType)type; virtual void onPermissionError(PERMISSION_TYPE permissionType) { (void)permissionType; @@ -36,11 +37,11 @@ - permission + permission type permissionType 设备权限类型。详见 - 设备权限类型。 + 设备权限类型。

                                                                                                            • (0): 音频采集设备的权限。
                                                                                                            • (1): 摄像头权限。
                                                                                                            • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita index 660bf860fb4..9c7f58c57a5 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita @@ -15,6 +15,7 @@

                                                                                                              public void onProxyConnected( String channel, int uid, int proxyType, String localProxyIp, int elapsed) {} + - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine didProxyConnected:(NSString* _Nonnull)channel withUid:(NSUInteger)uid proxyType:(AgoraProxyType)proxyType localProxyIp:(NSString* _Nonnull)localProxyIp elapsed:(NSInteger)elapsed NS_SWIFT_NAME(rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)); virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) { (void)channel; @@ -57,10 +58,10 @@ uid 用户 ID - + proxyType 连接上的代理类型。详见 - 连接上的代理类型。 + 连接上的代理类型。

                                                                                                              • (0): 预留参数,暂不支持。
                                                                                                              • (1): UDP 协议的云代理,即 Force UDP 云代理模式。在该模式下,SDK 始终通过 UDP 协议传输数据。
                                                                                                              • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita index eebd2181e67..6483b61a4d2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita @@ -14,6 +14,7 @@

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

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

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

                                                                                                                public void onRemoteAudioStateChanged(int uid, int state, int reason, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + onRemoteAudioStateChanged ? : (uid:number, state: Constants.RemoteAudioStreamState, reason: Constants.RemoteAudioStreamReason, elapsed:number) => void + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStateChangedOfUid:(NSUInteger)uid state:(AgoraAudioRemoteState)state reason:(AgoraAudioRemoteReason)reason elapsed:(NSInteger)elapsed; virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, @@ -71,7 +72,7 @@ state 远端音频流状态,详见 - 远端音频流状态。 + 远端音频流状态。

                                                                                                                • (0): 远端音频默认初始状态。在 的情况下,会报告该状态。
                                                                                                                • @@ -84,7 +85,7 @@ reason 远端音频流状态改变的具体原因,详见 - 远端音频流状态改变的具体原因。 + 远端音频流状态改变的具体原因。
                                                                                                                  • (0): 音频状态发生改变时,会报告该原因。
                                                                                                                  • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita index 0bb1572d14d..295580924b9 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita @@ -14,6 +14,7 @@

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

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

                                                                                                                    public void onRemoteSubscribeFallbackToAudioOnly(int uid, boolean isFallbackOrRecover) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRemoteSubscribeFallbackToAudioOnly:(BOOL)isFallbackOrRecover byUid:(NSUInteger)uid; virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita index 4d3f44fc689..5e0bb9ac8a0 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita @@ -14,7 +14,8 @@

                                                                                                                    public void onRemoteVideoStateChanged(int uid, int state, int reason, int elapsed) {} - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine + onRemoteVideoStateChanged ? : (uid:number, state: Constants.RemoteVideoStreamState, reason: Constants.RemoteVideoStreamReason, elapsed:number) => void + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStateChangedOfUid:(NSUInteger)uid state:(AgoraVideoRemoteState)state reason:(AgoraVideoRemoteReason)reason elapsed:(NSInteger)elapsed; virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, @@ -71,7 +72,7 @@ state

                                                                                                                    远端视频流状态,详见

                                                                                                                    -

                                                                                                                    远端视频流状态: +

                                                                                                                    远端视频流状态:

                                                                                                                    • (0):远端视频默认初始状态。在 (3)、 (5) 或 (7) 的情况下,会报告该状态。
                                                                                                                    • (1):本地用户已接收远端视频首包。
                                                                                                                    • @@ -85,7 +86,7 @@ reason

                                                                                                                      远端视频流状态改变的具体原因,详见

                                                                                                                      -

                                                                                                                      远端视频流状态改变的具体原因: +

                                                                                                                      远端视频流状态改变的具体原因:

                                                                                                                      • (0):内部原因。
                                                                                                                      • (1):网络阻塞。
                                                                                                                      • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita index 73ef3c04203..b768117adcc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita @@ -14,6 +14,7 @@

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

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

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

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

                                                                                                                        public void onRhythmPlayerStateChanged(int state, int reason) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRhythmPlayerStateChanged:(AgoraRhythmPlayerState)state reason:(AgoraRhythmPlayerReason)reason NS_SWIFT_NAME(rtcEngine(_:didRhythmPlayerStateChanged:reason:)); virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_REASON reason) { @@ -44,7 +45,7 @@ state 当前的虚拟节拍器状态,详见 - + state 当前的虚拟节拍器状态。

                                                                                                                          @@ -58,7 +59,7 @@ errorCode 虚拟节拍器发生错误的错误码和错误信息,详见 - 虚拟节拍器发生错误的错误码和错误信息。 + 虚拟节拍器发生错误的错误码和错误信息。
                                                                                                                          • (0): 正常播放节拍音频文件,没有错误。
                                                                                                                          • (1): 一般性错误,没有明确原因。
                                                                                                                          • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita index cd4ce167c38..73d32633d34 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita @@ -14,6 +14,7 @@

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

                                                                                                                            public void onRtmpStreamingEvent(String url, int event) {} + onRtmpStreamingEvent? : (url:string,event:Constants.RtmpStreamingEvent) => void; - (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine rtmpStreamingEventWithUrl:(NSString* _Nonnull)url eventCode:(AgoraRtmpStreamingEvent)eventCode; virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) { (void)url; @@ -36,9 +37,9 @@ eventCode - event + event 旁路推流事件码。详见 - 旁路推流事件码。 + 旁路推流事件码。

                                                                                                                            • (1): 旁路推流时,添加背景图或水印出错。
                                                                                                                            • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita index f12eb201bb6..323ad7f34dd 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita @@ -14,6 +14,7 @@

                                                                                                                              public void onRtmpStreamingStateChanged(String url, int state, int reason) {} + onRtmpStreamingStateChanged? : (url:string,state:Constants.RtmpStreamPublishState,errCode:Constants.RtmpStreamPublishReason) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine rtmpStreamingChangedToState:(NSString * _Nonnull)url state:(AgoraRtmpStreamingState)state reason:(AgoraRtmpStreamingReason)reason NS_SWIFT_NAME(rtcEngine(_:rtmpStreamingChangedToState:state:reason:)); @@ -58,7 +59,7 @@ state 当前的推流状态,详见 - 当前的推流状态: + 当前的推流状态: @@ -81,7 +82,7 @@ reason 推流状态改变的原因,详见 - 推流状态改变的原因。 + 推流状态改变的原因。

                                                                                                                              • (0):推流成功。
                                                                                                                              • (1):参数无效。请检查输入参数是否正确。
                                                                                                                              • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita index 4073059aabd..2d3f9a4b6ad 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onscreencaptureinfoupdated.dita @@ -14,6 +14,7 @@

                                                                                                                                + diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita index 80e03f9dfd0..b5d7a9ecd75 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita @@ -14,6 +14,7 @@

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

                                                                                                                                + virtual bool onStart() = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita index ef15cd278a3..5cd4d149b2d 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstop.dita @@ -14,6 +14,7 @@

                                                                                                                                + virtual void onStop() = 0; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita index d8129501dcf..ba53ab7f2bc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreaminjectedstatus.dita @@ -14,6 +14,7 @@

                                                                                                                                public void onStreamInjectedStatus(String url, int uid, int status) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamInjectedStatusOfUrl:(NSString * _Nonnull)url uid:(NSUInteger)uid status:(AgoraInjectStreamStatus)status; virtual void onStreamInjectedStatus(const char* url, uid_t uid, int status) { @@ -47,7 +48,7 @@ status 输入的在线媒体流状态: - 输入的在线媒体流状态: + 输入的在线媒体流状态:

                                                                                                                                • 0: 外部视频流导入成功。
                                                                                                                                • 1: 外部视频流已存在。
                                                                                                                                • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita index cad25b25f95..7d68a759777 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita @@ -14,6 +14,7 @@

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

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

                                                                                                                                  public void onStreamPublished(String url, int error) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamPublishedWithUrl:(NSString * _Nonnull)url errorCode:(AgoraErrorCode)errorCode; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita index 761ba58ee8f..d1e4785ec03 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreamunpublished.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onStreamUnpublished(String url) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamUnpublishedWithUrl:(NSString * _Nonnull)url; virtual void onStreamUnpublished(const char *url) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita index 5b5fc5eb1ba..3a11969fb0b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onTokenPrivilegeWillExpire(String token) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine tokenPrivilegeWillExpire:(NSString *_Nonnull)token; virtual void onTokenPrivilegeWillExpire(const char* token) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita index 8c1b6892df6..e6a18602741 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodedstreamlayoutinfo.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onTranscodedStreamLayoutInfo(int uid, VideoLayoutInfo info) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didTranscodedStreamLayoutInfoUpdatedWithUserId:(NSUInteger)uid videoLayoutInfo:(AgoraVideoLayoutInfo* _Nonnull)videoLayoutInfo NS_SWIFT_NAME(rtcEngine(_:didTranscodedStreamLayoutInfoUpdatedWithUserId:videoLayoutInfo:)); virtual void onTranscodedStreamLayoutInfo(uid_t uid, int width, int height, int layoutCount,const VideoLayout* layoutlist) { (void)uid; @@ -80,7 +81,7 @@ 合图视频流中布局信息的数量。 - info + info videoLayoutInfo layoutlist 某一路合图视频流的详细布局信息。详见 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita index 2c33f39cc70..8670f2fa5fd 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_ontranscodingupdated.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onTranscodingUpdated() {} + onTranscodingUpdated? : () =>void; - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onTranscodingUpdated() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnTranscodingUpdated); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita index 705371d0b59..5bf385bbd3b 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine uplinkNetworkInfoUpdate:(AgoraUplinkNetworkInfo *_Nonnull)networkInfo; virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita index 95ce35dabfa..7f1bb6194c7 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuploadlogresult.dita @@ -14,7 +14,8 @@

                                                                                                                                  - + + virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) { diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita index e73ebd74857..ff93d09f09c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseraccountupdated.dita @@ -14,6 +14,7 @@

                                                                                                                                  + diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita index 75bd818b70a..a8581332dc4 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onUserEnableLocalVideo(int uid, boolean enabled) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita index 10e5940f7d0..d5a7a330725 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onUserEnableVideo(int uid, boolean enabled) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita index b94f12eaa4b..7e46b968a31 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onUserInfoUpdated(int uid, UserInfo userInfo) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didUserInfoUpdatedWithUserId:(NSUInteger)uid userInfo:(AgoraUserInfo* _Nonnull)userInfo; virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index 9ea3d342898..bbee847284e 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -7,6 +7,7 @@

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

                                                                                                                                  public void onUserMuteAudio(int uid, boolean muted) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioMuted:(BOOL)muted byUid:(NSUInteger)uid; virtual void onUserMuteAudio(uid_t uid, bool muted) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita index cfb29ae9672..aba321dbe96 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onUserMuteVideo(int uid, boolean muted) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoMuted:(BOOL)muted byUid:(NSUInteger)uid virtual void onUserMuteVideo(uid_t uid, bool muted) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita index 95b344ea567..429d6af9b2c 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita @@ -14,6 +14,7 @@

                                                                                                                                  public void onUserOffline(int uid, int reason) {} + onUserOffline?:(uid:number, reason:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOfflineOfUid:(NSUInteger)uid reason:(AgoraUserOfflineReason)reason; @@ -64,7 +65,7 @@ reason

                                                                                                                                  离线原因:

                                                                                                                                  -

                                                                                                                                  远端用户(通信场景)或主播(直播场景)下线的原因: +

                                                                                                                                  远端用户(通信场景)或主播(直播场景)下线的原因:

                                                                                                                                  • (0):用户主动离开。此时离开频道的用户会发送一个类似“再见”的消息。收到该消息是,SDK 判定该用户离开频道。
                                                                                                                                  • (1):因过长时间收不到对方数据包,SDK 判定该远端用户超时掉线。注意:在网络连接不稳定时,该判定 可能会有误。建议使用实时消息 SDK 来做可靠的掉线检测。
                                                                                                                                  • diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita index 7ab50d0dff2..30c7ab62f75 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserstatechanged.dita @@ -14,6 +14,7 @@

                                                                                                                                    + diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita index 59cd1658dc0..ecc311fa7f2 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita @@ -14,7 +14,8 @@

                                                                                                                                    - - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state NS_SWIFT_NAME(rtcEngine(_:device:type:stateChanged:)); + + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger)state NS_SWIFT_NAME(rtcEngine(_:device:type:stateChanged:)); virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) { (void)deviceId; (void)deviceType; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita index e840b9162b1..294e317ab38 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita @@ -16,6 +16,7 @@ public void onVideoPublishStateChanged(Constants.VideoSourceType source, String channel, int oldState, int newState, int elapseSinceLastState) {} + onVideoPublishStateChanged?:(source:Constants.VideoSourceType, channel:string, oldState:Constants.StreamPublishState, newState:Constants.StreamPublishState, elapseSinceLastState:number) => void; - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoPublishStateChange:(NSString * _Nonnull)channelId sourceType:(AgoraVideoSourceType)sourceType oldState:(AgoraStreamPublishState)oldState diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita index 3e043e5f014..2c802e8a8f8 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita @@ -15,6 +15,7 @@

                                                                                                                                    public void onVideoRenderingTracingResult(int uid, Constants.MEDIA_RENDER_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) {} + - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoRenderingTracingResultOfUid:(NSUInteger)uid currentEvent:(AgoraMediaRenderTraceEvent)currentEvent tracingInfo:(AgoraVideoRenderingTracingInfo * _Nonnull)tracingInfo NS_SWIFT_NAME(rtcEngine(_:videoRenderingTracingResultOfUid:currentEvent:tracingInfo:)); virtual void onVideoRenderingTracingResult(uid_t uid, MEDIA_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) { (void)uid; diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita index 1147a4c9f11..7409e1f7e98 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita @@ -15,6 +15,7 @@

                                                                                                                                    public void onVideoSizeChanged( Constants.VideoSourceType source, int uid, int width, int height, int rotation) {} + onVideoSizeChanged?:(source:Constants.VideoSourceType, uid:number, width:number, height:number, rotation:number) => void - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoSizeChangedOfSourceType:(AgoraVideoSourceType)sourceType uid:(NSString * _Nonnull)uid size:(CGSize)size rotation:(NSInteger)rotation NS_SWIFT_NAME(rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)); virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) { (void)uid; @@ -57,7 +58,7 @@ sourceType - source + source 视频源的类型。详见 diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita index 306c7602997..06611e70203 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosourceframesizechanged.dita @@ -14,6 +14,7 @@

                                                                                                                                    + diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita index e4c1df0c043..3ccf9c7a5d3 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideostopped.dita @@ -14,6 +14,7 @@

                                                                                                                                    public void onVideoStopped() {} + - (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine; virtual void onVideoStopped() DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnVideoStopped); diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita index efd89783cdb..1939e1699dc 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosubscribestatechanged.dita @@ -15,6 +15,7 @@

                                                                                                                                    public void onVideoSubscribeStateChanged( String channel, int uid, int oldState, int newState, int elapseSinceLastState) {} + - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine didVideoSubscribeStateChange:(NSString * _Nonnull)channelId uid:(unsigned int)uid @@ -77,7 +78,7 @@ oldState 之前的订阅状态,详见 - 之前的订阅状态。 + 之前的订阅状态。

                                                                                                                                    • (0): 加入频道后的初始订阅状态。
                                                                                                                                    • (1): 订阅失败。可能是因为: @@ -102,7 +103,7 @@ newState 当前的订阅状态,详见 - 当前的订阅状态。 + 当前的订阅状态。
                                                                                                                                      • (0): 加入频道后的初始订阅状态。
                                                                                                                                      • (1): 订阅失败。可能是因为: diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita index 1b7b0917e7f..da363915282 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onvirtualbackgroundsourceenabled.dita @@ -14,6 +14,7 @@

                                                                                                                                        + diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita index cb33415352e..09337411c2a 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onwarning.dita @@ -14,6 +14,7 @@

                                                                                                                                        + diff --git a/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita b/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita index 525a4eba12b..bc8852ce601 100644 --- a/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita +++ b/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita @@ -14,6 +14,7 @@

                                                                                                                                        boolean onEncodedVideoFrameReceived(ByteBuffer buffer, EncodedVideoFrameInfo info); + - (BOOL)onEncodedVideoFrameReceived:(NSData * _Nonnull )videoData length:(size_t)length info:(AgoraEncodedVideoFrameInfo * _Nonnull)videoFrameInfo NS_SWIFT_NAME(onEncodedVideoFrameReceived(_:length:info:)); virtual bool onEncodedVideoFrameReceived(rtc::uid_t uid, const uint8_t* imageBuffer, size_t length, const rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0; @@ -51,7 +52,7 @@ videoData imageBuffer imageBufferPtr - buffer + buffer 视频图像 buffer。 视频图像数据。 @@ -60,7 +61,7 @@ 视频图像的数据长度。 - info + info videoFrameInfo videoEncodedFrameInfo 编码后的视频帧信息,详见 diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita index 603923434c0..39e22c4a128 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita @@ -14,6 +14,7 @@

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

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

                                                                                                                                        boolean getRotationApplied(); + getRotationApplied?: () => boolean; - (BOOL)getRotationApplied; virtual bool getRotationApplied() { return false; } DECLARE_DYNAMIC_MULTICAST_DELEGATE(FGetRotationApplied); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita index e126379bb44..5cf2d5165ac 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getsmoothrenderingenabled.dita @@ -14,6 +14,7 @@

                                                                                                                                        + virtual bool getSmoothRenderingEnabled(){ return false; } diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index 5c2bf82c349..ab6b3b89b21 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -15,6 +15,7 @@

                                                                                                                                        int getVideoFormatPreference(); + getVideoFormatPreference?: () => Constants.VideoPixelFormat; - (AgoraVideoFormat)getVideoFormatPreference; virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference() { return VIDEO_PIXEL_DEFAULT; } @@ -43,7 +44,7 @@

                                                                                                                                        返回值

                                                                                                                                        设置 SDK 输出的原始数据格式。详见

                                                                                                                                        -
                                                                                                                                          +
                                                                                                                                          • (0): 原始视频像素格式。
                                                                                                                                          • (1): I420 格式。
                                                                                                                                          • (2): BGRA 格式。
                                                                                                                                          • diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita index 8bfd6b476a4..8d635243a24 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoframeprocessmode.dita @@ -14,6 +14,7 @@

                                                                                                                                            int getVideoFrameProcessMode(); + getVideoFrameProcessMode?: () => Constants.VideoFrameProcessMode; - (AgoraVideoFrameProcessMode)getVideoFrameProcessMode; virtual VIDEO_FRAME_PROCESS_MODE getVideoFrameProcessMode() { return PROCESS_MODE_READ_ONLY; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita index 18468bf5657..89f718cb6e4 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_oncapturevideoframe.dita @@ -14,6 +14,7 @@

                                                                                                                                            boolean onCaptureVideoFrame(int sourceType, VideoFrame videoFrame); + onCaptureVideoFrame?: (sourceType: Constants.VideoSourceType, videoFrame: VideoFrame) => boolean; - (BOOL)onCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame sourceType:(AgoraVideoSourceType)sourceType; virtual bool onCaptureVideoFrame(agora::rtc::VIDEO_SOURCE_TYPE sourceType, VideoFrame& videoFrame) = 0; DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnCaptureVideoFrame, EVIDEO_SOURCE_TYPE, sourceType, const FVideoFrame&, videoFrame); diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita index 253ced64039..2ccbd29d2e9 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onframe.dita @@ -14,6 +14,7 @@

                                                                                                                                            void onFrame(VideoFrame frame); + - (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit didReceiveVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didReceiveVideoFrame:)); virtual void onFrame(const VideoFrame* frame) = 0; @@ -33,7 +34,7 @@

                                                                                                                                            <ph keyref="callback-section-title"/> - + frame 视频帧信息。详见 diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita index c02074e8683..9f9a00aabbd 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onmediaplayervideoframe.dita @@ -14,6 +14,7 @@

                                                                                                                                            boolean onMediaPlayerVideoFrame(VideoFrame videoFrame, int mediaPlayerId); + - (BOOL)onMediaPlayerVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame mediaPlayerId:(NSInteger)mediaPlayerId; virtual bool onMediaPlayerVideoFrame(VideoFrame& videoFrame, int mediaPlayerId) = 0; onMediaPlayerVideoFrame?(videoFrame: VideoFrame, mediaPlayerId: number): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita index 3c7d909cd76..50b3780a224 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodescreenvideoframe.dita @@ -14,7 +14,8 @@

                                                                                                                                            boolean onPreEncodeScreenVideoFrame(VideoFrame videoFrame); - - (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; + + - (BOOL)onPreEncodeScreenVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; virtual bool onPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0; onPreEncodeScreenVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita index 9b0fdf1e859..451ec81e26f 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onpreencodevideoframe.dita @@ -14,6 +14,7 @@

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

                                                                                                                                            boolean onRenderVideoFrame(String channelId, int uid, VideoFrame videoFrame); + onRenderVideoFrame?: (channelId: string, uid: number, videoFrame: VideoFrame) => boolean; - (BOOL)onRenderVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame uid:(NSUInteger)uid channelId:(NSString * _Nonnull)channelId; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita index 039b0a22353..2d233e73d3e 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onrendervideoframeex.dita @@ -14,6 +14,7 @@

                                                                                                                                            + virtual bool onRenderVideoFrameEx(const char *channelId, unsigned int uid, diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita index abbce53a760..a51fc7a022c 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onscreencapturevideoframe.dita @@ -14,6 +14,7 @@

                                                                                                                                            boolean onScreenCaptureVideoFrame(VideoFrame videoFrame); + - (BOOL)onScreenCaptureVideoFrame:(AgoraOutputVideoFrame * _Nonnull)videoFrame; virtual bool onScreenCaptureVideoFrame(VideoFrame& videoFrame) = 0; onScreenCaptureVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita index ce2e4a40192..ae6329e245f 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodecameravideoframe.dita @@ -14,6 +14,7 @@

                                                                                                                                            + virtual bool onSecondaryPreEncodeCameraVideoFrame(VideoFrame& videoFrame) = 0; onSecondaryPreEncodeCameraVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita index ca57cc02a56..efeead5ea46 100644 --- a/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita +++ b/dita/RTC-NG/API/callback_ivideoframeobserver_onsecondarypreencodescreenvideoframe.dita @@ -14,6 +14,7 @@

                                                                                                                                            + virtual bool onSecondaryPreEncodeScreenVideoFrame(VideoFrame& videoFrame) = 0; onSecondaryPreEncodeScreenVideoFrame?(videoFrame: VideoFrame): void; diff --git a/dita/RTC-NG/API/callback_ivideosink_ondispose.dita b/dita/RTC-NG/API/callback_ivideosink_ondispose.dita index ba91ca32fec..bbb6392a1c8 100644 --- a/dita/RTC-NG/API/callback_ivideosink_ondispose.dita +++ b/dita/RTC-NG/API/callback_ivideosink_ondispose.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita b/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita index 4ad45499f72..9de419f69c2 100644 --- a/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita +++ b/dita/RTC-NG/API/callback_ivideosink_oninitialize.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita b/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita index 512a3e6d85b..fcd933df4d4 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onrenderpixelbuffer.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita b/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita index 33cce906960..69a02a72a5f 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onrenderrawdata.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/callback_ivideosink_onstart.dita b/dita/RTC-NG/API/callback_ivideosink_onstart.dita index fe5a5568831..350371afcef 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onstart.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onstart.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/callback_ivideosink_onstop.dita b/dita/RTC-NG/API/callback_ivideosink_onstop.dita index 58af8a57e2a..95db926be1a 100644 --- a/dita/RTC-NG/API/callback_ivideosink_onstop.dita +++ b/dita/RTC-NG/API/callback_ivideosink_onstop.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita b/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita index 1e6e3eba8fe..f6bb35d7932 100644 --- a/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita +++ b/dita/RTC-NG/API/callback_videosurface_ontexturesizemodify.dita @@ -14,6 +14,7 @@

                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita index d5dc9ce374b..2388fecad2c 100644 --- a/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita +++ b/dita/RTC-NG/API/class_Localaccesspointconfiguration.dita @@ -65,6 +65,7 @@ public int mode = Constants.LOCAL_RPOXY_CONNECTIVITY_FIRST; public AdvancedConfigInfo advancedConfig = null; } + NS_SWIFT_NAME(AgoraLocalAccessPointConfiguration) __attribute__((visibility("default"))) @interface AgoraLocalAccessPointConfiguration : NSObject @property(copy, nonatomic) NSArray* _Nullable ipList NS_SWIFT_NAME(ipList); @property(copy, nonatomic) NSArray* _Nullable domainList NS_SWIFT_NAME(domainList); @@ -218,7 +219,7 @@ struct FLocalAccessPointConfiguration mode

                                                                                                                                            连接模式。详见

                                                                                                                                            -

                                                                                                                                            连接模式: +

                                                                                                                                            连接模式:

                                                                                                                                            • (0):SDK 优先尝试连接指定的声网私有媒体服务器;如果无法连接到指定的声网私有媒体服务器,则连接声网 SD-RTN™。
                                                                                                                                            • (1):SDK 只尝试连接指定的声网私有媒体服务器。
                                                                                                                                            • diff --git a/dita/RTC-NG/API/class_advancedaudiooptions.dita b/dita/RTC-NG/API/class_advancedaudiooptions.dita index b434cd26e24..6a1098e94f7 100644 --- a/dita/RTC-NG/API/class_advancedaudiooptions.dita +++ b/dita/RTC-NG/API/class_advancedaudiooptions.dita @@ -28,7 +28,8 @@ audioProcessingChannels = AgoraAudioProcessChannels.AGORA_AUDIO_MONO_PROCESSING; } } - __attribute__((visibility("default"))) @interface AgoraAdvancedAudioOptions: NSObject + + __attribute__((visibility("default"))) @interface AgoraAdvancedAudioOptions: NSObject @property(assign, nonatomic) AgoraAudioProcessChannels audioProcessingChannels; @end struct AdvancedAudioOptions { diff --git a/dita/RTC-NG/API/class_advancedconfiginfo.dita b/dita/RTC-NG/API/class_advancedconfiginfo.dita index 6b5cc22e509..a6c87d4a672 100644 --- a/dita/RTC-NG/API/class_advancedconfiginfo.dita +++ b/dita/RTC-NG/API/class_advancedconfiginfo.dita @@ -16,6 +16,7 @@ return logUploadServer; } }; + NS_SWIFT_NAME(AdvancedConfigInfo) __attribute__((visibility("default"))) @interface AdvancedConfigInfo : NSObject @property(strong, nonatomic) LogUploadServerInfo* _Nullable logUploadServer; @end diff --git a/dita/RTC-NG/API/class_advanceoptions.dita b/dita/RTC-NG/API/class_advanceoptions.dita index 4984de56c3d..aafdfd7a714 100644 --- a/dita/RTC-NG/API/class_advanceoptions.dita +++ b/dita/RTC-NG/API/class_advanceoptions.dita @@ -18,6 +18,12 @@ this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; } +} + export class AdvanceOptions { + public encodingPreference:EncodingPrefence = EncodingPrefence.PREFER_AUTO; + public compressionPreference:CompressionPrefence = CompressionPrefence.PREFER_LOW_LATENCY; + constructor() { + } } __attribute__((visibility("default"))) @interface AgoraAdvancedVideoOptions : NSObject @property(assign, nonatomic) AgoraCompressionPreference compressionPreference; diff --git a/dita/RTC-NG/API/class_agorafacepositioninfo.dita b/dita/RTC-NG/API/class_agorafacepositioninfo.dita index c076d449886..c7cad08da1f 100644 --- a/dita/RTC-NG/API/class_agorafacepositioninfo.dita +++ b/dita/RTC-NG/API/class_agorafacepositioninfo.dita @@ -12,6 +12,18 @@ public int width; public int height; public int distance; +} + export class AgoraFacePositionInfo { + + public x:number = 0; + + public y:number = 0; + + public width:number = 0 ; + + public height:number = 0; + + public distance:number = -1; } NS_SWIFT_NAME(AgoraFacePositionInfo) __attribute__((visibility("default"))) @interface AgoraFacePositionInfo : NSObject @property(assign, nonatomic) NSInteger x NS_SWIFT_NAME(x); diff --git a/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita b/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita index 46aced82367..bd8b8831570 100644 --- a/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita +++ b/dita/RTC-NG/API/class_agorarhythmplayerconfig.dita @@ -25,6 +25,7 @@ return beatsPerMinute; } } + __attribute__((visibility("default"))) @interface AgoraRhythmPlayerConfig: NSObject @property (assign, nonatomic) int beatsPerMeasure; @property (assign, nonatomic) int beatsPerMinute; diff --git a/dita/RTC-NG/API/class_agorartcdeviceinfo.dita b/dita/RTC-NG/API/class_agorartcdeviceinfo.dita index b1c165de6e7..d01a9891af0 100644 --- a/dita/RTC-NG/API/class_agorartcdeviceinfo.dita +++ b/dita/RTC-NG/API/class_agorartcdeviceinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                              + __attribute__((visibility("default"))) @interface AgoraRtcDeviceInfo : NSObject @property (assign, nonatomic) int __deprecated index; @property(assign, nonatomic) AgoraMediaDeviceType type; diff --git a/dita/RTC-NG/API/class_agorartcexception.dita b/dita/RTC-NG/API/class_agorartcexception.dita index 5a96abe14df..d846b9010ba 100644 --- a/dita/RTC-NG/API/class_agorartcexception.dita +++ b/dita/RTC-NG/API/class_agorartcexception.dita @@ -7,6 +7,7 @@

                                                                                                                                              + diff --git a/dita/RTC-NG/API/class_agoravideoview.dita b/dita/RTC-NG/API/class_agoravideoview.dita index 8420ac9c2a0..3186a19547a 100644 --- a/dita/RTC-NG/API/class_agoravideoview.dita +++ b/dita/RTC-NG/API/class_agoravideoview.dita @@ -7,6 +7,7 @@

                                                                                                                                              + diff --git a/dita/RTC-NG/API/class_agoraview.dita b/dita/RTC-NG/API/class_agoraview.dita index f4ff32ac458..a04d1d39e29 100644 --- a/dita/RTC-NG/API/class_agoraview.dita +++ b/dita/RTC-NG/API/class_agoraview.dita @@ -7,6 +7,7 @@

                                                                                                                                              + interface AgoraView { diff --git a/dita/RTC-NG/API/class_audiodeviceinfo.dita b/dita/RTC-NG/API/class_audiodeviceinfo.dita index 24eb63ae76a..c2de5df7829 100644 --- a/dita/RTC-NG/API/class_audiodeviceinfo.dita +++ b/dita/RTC-NG/API/class_audiodeviceinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                              + export class AudioDeviceInfo { diff --git a/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita b/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita index 657f1ab3947..85d6cdfdfdb 100644 --- a/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita +++ b/dita/RTC-NG/API/class_audioencodedframeobserverconfig.dita @@ -15,6 +15,7 @@ encodingType = Constants.AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM; } } + __attribute__((visibility("default"))) @interface AgoraAudioEncodedFrameDelegateConfig: NSObject @property (assign, nonatomic) AgoraAudioEncodedFrameDelegatePosition postionType; @property (assign, nonatomic) AgoraAudioEncodingType encodingType; @@ -87,7 +88,7 @@ struct FAudioEncodedFrameObserverConfig postionType

                                                                                                                                              音频编码内容。详见

                                                                                                                                              -

                                                                                                                                              音频编码内容: +

                                                                                                                                              音频编码内容:

                                                                                                                                              • (1):仅编码本地用户的音频。
                                                                                                                                              • @@ -100,7 +101,7 @@ struct FAudioEncodedFrameObserverConfig encodingType

                                                                                                                                                音频编码类型。详见

                                                                                                                                                -

                                                                                                                                                音频编码类型: +

                                                                                                                                                音频编码类型:

                                                                                                                                                • :AAC 编码格式,16000 Hz 采样率,低音质。音频时长为 10 分钟的文件编码后大小约为 1.2 MB。
                                                                                                                                                • diff --git a/dita/RTC-NG/API/class_audioexternalsourceposition.dita b/dita/RTC-NG/API/class_audioexternalsourceposition.dita index 91b23f1a883..6c1a8969390 100644 --- a/dita/RTC-NG/API/class_audioexternalsourceposition.dita +++ b/dita/RTC-NG/API/class_audioexternalsourceposition.dita @@ -11,6 +11,7 @@ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS(1), AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS(2); } + typedef NS_ENUM(NSUInteger, AgoraAudioExternalSourcePos) { AgoraAudioExternalPlayoutSource = 0, AgoraAudioExternalRecordSourcePreProcess = 1, diff --git a/dita/RTC-NG/API/class_audioframe.dita b/dita/RTC-NG/API/class_audioframe.dita index f5f32d6113e..269540dfc3e 100644 --- a/dita/RTC-NG/API/class_audioframe.dita +++ b/dita/RTC-NG/API/class_audioframe.dita @@ -62,6 +62,7 @@ + ", timestamp=" + timestamp + '}'; } } + __attribute__((visibility("default"))) @interface AgoraAudioFrame : NSObject @@ -206,7 +207,7 @@ struct FAudioFrame { 每个采样点的字节数。对于 PCM 来说,一般使用 16 bit,即两个字节。 - channelschannelNums + channelschannelNums

                                                                                                                                                  声道数量(如果是立体声,数据是交叉的)。

                                                                                                                                                    @@ -217,7 +218,7 @@ struct FAudioFrame { samplesPerSec - sampleRataHz + sampleRataHz 每声道每秒的采样点数。 @@ -239,7 +240,7 @@ struct FAudioFrame { avsyncType avsync_type 保留参数。 - + timestamp 音频帧的时间戳。 diff --git a/dita/RTC-NG/API/class_audioparams.dita b/dita/RTC-NG/API/class_audioparams.dita index 5b0f2ae8f7a..09f71cd5182 100644 --- a/dita/RTC-NG/API/class_audioparams.dita +++ b/dita/RTC-NG/API/class_audioparams.dita @@ -20,6 +20,7 @@ this.samplesPerCall = samplesPerCall; } } + __attribute__((visibility("default"))) @interface AgoraAudioParams : NSObject @property (assign, nonatomic) NSInteger sampleRate; @@ -153,7 +154,7 @@ mode 数据的使用模式。详见 - 数据的使用模式,取值如下: + 数据的使用模式,取值如下:
                                                                                                                                                    • (0): 只读模式,用户仅从 获取原始数据,不作任何修改。例如: 若用户通过 SDK 采集数据,自己进行旁路推流,则可以选择该模式。
                                                                                                                                                    • (2): 读写模式, 用户从 获取并修改数据,并返回给 SDK 进行编码传输。用户修改 SDK 返回的原始视频,并返回给 SDK 进行编码传输。例如: 若用户自己有音效处理模块,且想要根据实际需要对数据进行前处理(例如变声),则可以选择该模式。
                                                                                                                                                    • diff --git a/dita/RTC-NG/API/class_audiopcmframe.dita b/dita/RTC-NG/API/class_audiopcmframe.dita index 4fa35f5754c..1a6baddd3fb 100644 --- a/dita/RTC-NG/API/class_audiopcmframe.dita +++ b/dita/RTC-NG/API/class_audiopcmframe.dita @@ -7,6 +7,7 @@

                                                                                                                                                      + __attribute__((visibility("default"))) @interface AgoraAudioPcmFrame: NSObject @property (assign, nonatomic) uint32_t captureTimestamp; @property (assign, nonatomic) size_t samplesPerChannel; diff --git a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita index a86a61a05b3..3ffd47e985f 100644 --- a/dita/RTC-NG/API/class_audiorecordingconfiguration.dita +++ b/dita/RTC-NG/API/class_audiorecordingconfiguration.dita @@ -21,6 +21,29 @@ quality = Constants.AUDIO_RECORDING_QUALITY_MEDIUM; recordingChannel = 1; } +} + export class AudioRecordingConfiguration{ + + public filePath:string; + + public sampleRate:number; + + public codec:boolean; + + public fileRecordOption:number; + + public quality:number; + + public recordingChannel:number; + + public constructor(filepath:string) { + this.filePath = filepath; + this.sampleRate = 32000; + this.codec = true; + this.fileRecordOption = Constants.AudioRecordingType.MIXED; + this.quality = Constants.AudioRecordingQuality.MEDIUM; + this.recordingChannel = 1; + } } __attribute__((visibility("default"))) @interface AgoraAudioRecordingConfiguration: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @@ -199,9 +222,9 @@ struct FAudioRecordingConfiguration

                                                                                                                                                      请确保你指定的路径存在并且可写。

                                                                                                                                                      - + encode - codec + codec 设置是否编码音频数据:
                                                                                                                                                      • : 将音频数据用 AAC 编码。
                                                                                                                                                      • @@ -226,7 +249,7 @@ struct FAudioRecordingConfiguration fileRecordOption

                                                                                                                                                        录音内容。详见

                                                                                                                                                        -

                                                                                                                                                        录音内容: +

                                                                                                                                                        录音内容:

                                                                                                                                                        • (1):仅录制本地用户的音频。
                                                                                                                                                        • (2):仅录制所有远端用户的音频。
                                                                                                                                                        • @@ -238,7 +261,7 @@ struct FAudioRecordingConfiguration quality

                                                                                                                                                          录音音质。详见

                                                                                                                                                          -

                                                                                                                                                          录音音质: +

                                                                                                                                                          录音音质:

                                                                                                                                                          • (0):低音质。例如,采样率为 32000 Hz,录音时长为 10 分钟的 AAC 文件大小约为 1.2 MB。
                                                                                                                                                          • (1):(默认)中音质。例如,采样率为 32000 Hz,录音时长为 10 分钟的 AAC 文件大小约为 2 MB。
                                                                                                                                                          • diff --git a/dita/RTC-NG/API/class_audiospectrumdata.dita b/dita/RTC-NG/API/class_audiospectrumdata.dita index d64eaa3a3ad..126297193f2 100644 --- a/dita/RTC-NG/API/class_audiospectrumdata.dita +++ b/dita/RTC-NG/API/class_audiospectrumdata.dita @@ -10,6 +10,7 @@ private float[] audioSpectrumData; private int dataLength; } + struct AudioSpectrumData { const float *audioSpectrumData; diff --git a/dita/RTC-NG/API/class_audiotrackconfig.dita b/dita/RTC-NG/API/class_audiotrackconfig.dita index 5839c99e6ad..95e46f8b937 100644 --- a/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -14,7 +14,11 @@ this.enableLocalPlayback = true; } } - NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject + export class AudioTrackConfig { + + public enableLocalPlayback: boolean = true; +} + NS_SWIFT_NAME(AgoraAudioTrackConfig) __attribute__((visibility("default"))) @interface AgoraAudioTrackConfig : NSObject @property (assign, nonatomic) BOOL enableLocalPlayback NS_SWIFT_NAME(enableLocalPlayback); @end diff --git a/dita/RTC-NG/API/class_audiovolumeinfo.dita b/dita/RTC-NG/API/class_audiovolumeinfo.dita index fa1d11d12e1..8fc234cc804 100644 --- a/dita/RTC-NG/API/class_audiovolumeinfo.dita +++ b/dita/RTC-NG/API/class_audiovolumeinfo.dita @@ -12,6 +12,15 @@ public int vad; public double voicePitch; } + export class AudioVolumeInfo { + + public uid:number = 0; + + public volume:number = 0; + public vad:number = 0; + + public voicePitch:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcAudioVolumeInfo : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger volume; diff --git a/dita/RTC-NG/API/class_beautyoptions.dita b/dita/RTC-NG/API/class_beautyoptions.dita index 83a897c680a..3846b11fbcd 100644 --- a/dita/RTC-NG/API/class_beautyoptions.dita +++ b/dita/RTC-NG/API/class_beautyoptions.dita @@ -17,6 +17,7 @@ public float rednessLevel; public float sharpnessLevel; } + __attribute__((visibility("default"))) @interface AgoraBeautyOptions : NSObject @property(nonatomic, assign) AgoraLighteningContrastLevel lighteningContrastLevel; @@ -158,7 +159,7 @@ struct FBeautyOptions lighteningContrastLevel

                                                                                                                                                            对比度,常与 lighteningLevel 搭配使用。取值越大,明暗对比程度越大。详见 -

                                                                                                                                                              +
                                                                                                                                                              • (0):低对比度。
                                                                                                                                                              • (1):正常对比度。
                                                                                                                                                              • (2):高对比度。
                                                                                                                                                              • @@ -168,25 +169,25 @@ struct FBeautyOptions lighteningLevel -

                                                                                                                                                                美白程度,取值范围为 [0.0,1.0],其中 0.0 表示原始亮度,默认值为 0.70.60.0。取值越大,美白程度越大。

                                                                                                                                                                +

                                                                                                                                                                美白程度,取值范围为 [0.0,1.0],其中 0.0 表示原始亮度,默认值为 0.70.60.0。取值越大,美白程度越大。

                                                                                                                                                                smoothnessLevel -

                                                                                                                                                                磨皮程度,取值范围为 [0.0,1.0],其中 0.0 表示原始磨皮程度,默认值为 0.50.50.0。取值越大,磨皮程度越大。

                                                                                                                                                                +

                                                                                                                                                                磨皮程度,取值范围为 [0.0,1.0],其中 0.0 表示原始磨皮程度,默认值为 0.50.50.0。取值越大,磨皮程度越大。

                                                                                                                                                                rednessLevel -

                                                                                                                                                                红润度,取值范围为 [0.0,1.0],其中 0.0 表示原始红润度,默认值为 0.10.10.0。取值越大,红润程度越大。

                                                                                                                                                                +

                                                                                                                                                                红润度,取值范围为 [0.0,1.0],其中 0.0 表示原始红润度,默认值为 0.10.10.0。取值越大,红润程度越大。

                                                                                                                                                                sharpnessLevel -

                                                                                                                                                                锐化程度,取值范围为 [0.0,1.0],其中 0.0 表示原始锐度,默认值为 0.10.30.0。取值越大,锐化程度越大。

                                                                                                                                                                +

                                                                                                                                                                锐化程度,取值范围为 [0.0,1.0],其中 0.0 表示原始锐度,默认值为 0.10.30.0。取值越大,锐化程度越大。

                                                                                                                                                      diff --git a/dita/RTC-NG/API/class_cachestatistics.dita b/dita/RTC-NG/API/class_cachestatistics.dita index 43d88a147bf..9e615b81e04 100644 --- a/dita/RTC-NG/API/class_cachestatistics.dita +++ b/dita/RTC-NG/API/class_cachestatistics.dita @@ -17,6 +17,7 @@ private long cacheSize; private long downloadSize; } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerCacheStatistics : NSObject @property(assign, nonatomic) NSInteger fileSize; @property(assign, nonatomic) NSInteger cacheSize; diff --git a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita index 730ee7c892c..0b5833484e5 100644 --- a/dita/RTC-NG/API/class_cameracapturerconfiguration.dita +++ b/dita/RTC-NG/API/class_cameracapturerconfiguration.dita @@ -153,7 +153,12 @@ + ", cameraFocalLengthType=" + cameraFocalLengthType + '}'; } } - __attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject + export class CameraCapturerConfiguration { + public cameraDirection: Constants.CameraDirection = Constants.CameraDirection.FRONT; + public cameraFormat: CaptureFormat = new CaptureFormat(); + public followEncodeDimensionRatio: boolean = true; +} + __attribute__((visibility("default"))) @interface AgoraCameraCapturerConfiguration: NSObject #if TARGET_OS_IOS @property (assign, nonatomic) AgoraCameraDirection cameraDirection; @property(assign, nonatomic) AgoraFocalLength cameraFocalLengthType; @@ -313,9 +318,9 @@ class CameraCapturerConfiguration {
                                                                                                                                                    - + format - captureFormat + captureFormat (可选)视频帧格式。详见 diff --git a/dita/RTC-NG/API/class_channel.dita b/dita/RTC-NG/API/class_channel.dita index 845a41a70ad..bf83a704261 100644 --- a/dita/RTC-NG/API/class_channel.dita +++ b/dita/RTC-NG/API/class_channel.dita @@ -7,6 +7,7 @@

                                                                                                                                                    + diff --git a/dita/RTC-NG/API/class_channelmediainfo.dita b/dita/RTC-NG/API/class_channelmediainfo.dita index 714325985aa..4d52b0f08bc 100644 --- a/dita/RTC-NG/API/class_channelmediainfo.dita +++ b/dita/RTC-NG/API/class_channelmediainfo.dita @@ -12,6 +12,19 @@ public String token = null; public int uid = 0; } + export class ChannelMediaInfo { + + public channelName:string|null; + + public token:string|null; + + public uid:number = 0; + public constructor(cname:string|null, token: string|null, uid: number) { + this.channelName = cname; + this.token = token; + this.uid = uid; + } +} __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayInfo: NSObject @property (copy, nonatomic) NSString * _Nullable token; diff --git a/dita/RTC-NG/API/class_channelmediaoptions.dita b/dita/RTC-NG/API/class_channelmediaoptions.dita index dbb7b7d8e2b..8d3bf5c3529 100644 --- a/dita/RTC-NG/API/class_channelmediaoptions.dita +++ b/dita/RTC-NG/API/class_channelmediaoptions.dita @@ -37,6 +37,68 @@ public Integer customVideoTrackId; public Boolean isAudioFilterable; } + export class ChannelMediaOptions { + + public publishCameraTrack?:boolean; + + public publishSecondaryCameraTrack?:boolean; + + public publishMicrophoneTrack?:boolean; + + public publishScreenCaptureVideo?:boolean; + + public publishScreenCaptureAudio?:boolean; + + public publishCustomAudioTrack?:boolean; + + public publishCustomAudioTrackId?:number; + + public publishCustomVideoTrack?:boolean; + + public publishEncodedVideoTrack?:boolean; + + public publishMediaPlayerAudioTrack?:boolean; + + public publishMediaPlayerVideoTrack?:boolean; + + public publishTranscodedVideoTrack?:boolean; + + public publishMixedAudioTrack?:boolean; + + public autoSubscribeAudio?:boolean; + + public autoSubscribeVideo?:boolean; + + public enableAudioRecordingOrPlayout?:boolean; + + public publishMediaPlayerId?:number; + + public clientRoleType?:number; + + public audienceLatencyLevel?:number; + + public defaultVideoStreamType?:number; + + public channelProfile?:number; + + public audioDelayMs?:number; + + public mediaPlayerAudioDelayMs?:number; + + public enableBuiltInMediaEncryption?:boolean; + + public publishRhythmPlayerTrack?:boolean; + + public isInteractiveAudience?:boolean; + + public customVideoTrackId?:number; + + public isAudioFilterable?:boolean; + + public startPreview?:boolean; + public constructor() { + } +} __attribute__((visibility("default"))) @interface AgoraRtcChannelMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; @property(assign, nonatomic) BOOL publishSecondaryCameraTrack; diff --git a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index ffd37629297..fcd2a9e2cae 100644 --- a/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -36,6 +36,13 @@ } } + export class ChannelMediaRelayConfiguration { + public srcInfo:ChannelMediaInfo = new ChannelMediaInfo(null,null,0); + public destInfos:Map<string, ChannelMediaInfo> = new Map<string, ChannelMediaInfo>(); + + public setSrcChannelInfo(srcInfo: ChannelMediaInfo) { + this.srcInfo = srcInfo; +} __attribute__((visibility("default"))) @interface AgoraChannelMediaRelayConfiguration: NSObject @property (strong, nonatomic, readonly) NSDictionary<NSString *, AgoraChannelMediaRelayInfo *> *_Nullable destinationInfos; @@ -119,10 +126,10 @@ struct FChannelMediaRelayConfiguration }

                                                                                                                                                    -
                                                                                                                                                    +
                                                                                                                                                    方法 - + setSrcChannelInfo 设置源频道信息。详见 @@ -131,15 +138,15 @@ struct FChannelMediaRelayConfiguration 设置目标频道信息。详见 - removeDestChannelInfo + removeDestChannelInfo removeDestinationInfoForChannelName 删除目标频道信息。详见 - + getSrcChannelMediaInfo 获取源频道信息。详见 - + getDestChannelMediaInfos 获取目标频道信息。详见 diff --git a/dita/RTC-NG/API/class_clientroleoptions.dita b/dita/RTC-NG/API/class_clientroleoptions.dita index 0d9aa700379..16f8abc7e04 100644 --- a/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/dita/RTC-NG/API/class_clientroleoptions.dita @@ -13,6 +13,10 @@ public int getAudienceLatencyLevel() { return audienceLatencyLevel; } +} + export class ClientRoleOptions { + + public audienceLatencyLevel: Constants.AudienceLatencyLevel = Constants.AudienceLatencyLevel.LOW_LATENCY; } __attribute__((visibility("default"))) @interface AgoraClientRoleOptions: NSObject @property (assign, nonatomic) AgoraAudienceLatencyLevelType audienceLatencyLevel; @@ -66,7 +70,7 @@ struct FClientRoleOptions audienceLatencyLevel 观众端延时级别。详见 -
                                                                                                                                                      +
                                                                                                                                                      • (1): 低延时。
                                                                                                                                                      • (2): (默认)超低延时。
                                                                                                                                                      diff --git a/dita/RTC-NG/API/class_climaxsegment.dita b/dita/RTC-NG/API/class_climaxsegment.dita index 65321b644cf..1aaad90b47b 100644 --- a/dita/RTC-NG/API/class_climaxsegment.dita +++ b/dita/RTC-NG/API/class_climaxsegment.dita @@ -26,6 +26,7 @@ return endTimeMs; } } + __attribute__((visibility("default"))) @interface AgoraClimaxSegment : NSObject @property(nonatomic, assign) NSInteger startTimeMs; @property(nonatomic, assign) NSInteger endTimeMs; diff --git a/dita/RTC-NG/API/class_codeccapinfo.dita b/dita/RTC-NG/API/class_codeccapinfo.dita index 74d0783c220..d3983fb4284 100644 --- a/dita/RTC-NG/API/class_codeccapinfo.dita +++ b/dita/RTC-NG/API/class_codeccapinfo.dita @@ -25,6 +25,7 @@ this.codecCapMask = codecCapMask; } } + __attribute__((visibility("default"))) @interface AgoraVideoCodecCapInfo : NSObject @property(assign, nonatomic) AgoraVideoCodecType codecType; @property(assign, nonatomic) NSUInteger codecCapMask; @@ -100,7 +101,7 @@ class CodecCapInfo { codecType 视频编解码类型。详见 - +

                                                                                                                                                      视频编解码类型:

                                                                                                                                                      • 1:VP8。
                                                                                                                                                      • diff --git a/dita/RTC-NG/API/class_codeccaplevels.dita b/dita/RTC-NG/API/class_codeccaplevels.dita index 989cdf856b9..1c4ee4f8e6d 100644 --- a/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/dita/RTC-NG/API/class_codeccaplevels.dita @@ -21,6 +21,7 @@ this.swDecodingLevel = swDecLevel; }; }; + __attribute__((visibility("default"))) @interface AgoraVideoCodecCapLevels : NSObject @property(assign, nonatomic) AgoraVideoCodecCapabilityLevel hwDecodingLevel; @property(assign, nonatomic) AgoraVideoCodecCapabilityLevel swDecodingLevel; @@ -81,7 +82,7 @@ class CodecCapLevels { hwDecodingLevel 硬件解码能力等级,表示设备能够对不同品质视频进行硬件解码的能力。详见 -
                                                                                                                                                          +
                                                                                                                                                          • (-1):不支持的视频类型。目前仅支持对 H.264 和 H.265 格式的视频进行查询,如果视频为其他格式,则返回该值。
                                                                                                                                                          • (5):基本的编解码支持,即:对 1080p、30 fps 以下的视频进行编解码。
                                                                                                                                                          • (10):最高支持对 1080p、30 fps 的视频进行编解码。
                                                                                                                                                          • diff --git a/dita/RTC-NG/API/class_colorenhanceoptions.dita b/dita/RTC-NG/API/class_colorenhanceoptions.dita index 828439006f7..0bdd5a291ad 100644 --- a/dita/RTC-NG/API/class_colorenhanceoptions.dita +++ b/dita/RTC-NG/API/class_colorenhanceoptions.dita @@ -20,6 +20,7 @@ skinProtectLevel = skinProtect; } } + __attribute__((visibility("default"))) @interface AgoraColorEnhanceOptions : NSObject @property(nonatomic, assign) float strengthLevel; @property(nonatomic, assign) float skinProtectLevel; diff --git a/dita/RTC-NG/API/class_contentinspectconfig.dita b/dita/RTC-NG/API/class_contentinspectconfig.dita index e5031af7779..4de270babb1 100644 --- a/dita/RTC-NG/API/class_contentinspectconfig.dita +++ b/dita/RTC-NG/API/class_contentinspectconfig.dita @@ -34,6 +34,7 @@ moduleCount = 0; } } + __attribute__((visibility("default"))) @interface AgoraContentInspectConfig: NSObject @property (nonatomic, copy) NSString* _Nullable extraInfo; @property (nonatomic, copy) NSString* _Nullable serverConfig; @@ -129,7 +130,7 @@ class ContentInspectConfig {
                                                                                                                                                            参数 - + CONTENT_INSPECT_TYPE_INVALID 0:(默认)无实际功能。请不要将 type 设为该值。 @@ -137,11 +138,11 @@ class ContentInspectConfig { CONTENT_INSPECT_TYPE_MODERATION 1:视频鉴黄。SDK 会对本地用户发送的视频进行截图、鉴黄,并将截图和审核结果上传。 - + CONTENT_INSPECT_TYPE_SUPERVISE 2:使用声网自研插件截图上传。SDK 会对本地用户发送的视频进行截图并上传。 - + CONTENT_INSPECT_TYPE_IMAGE_MODERATION 3:使用云市场插件截图上传。SDK 会使用云市场视频审核插件对视频流进行截图并上传。 diff --git a/dita/RTC-NG/API/class_contentinspectmodule.dita b/dita/RTC-NG/API/class_contentinspectmodule.dita index be2c0b33044..382fa1f1fd1 100644 --- a/dita/RTC-NG/API/class_contentinspectmodule.dita +++ b/dita/RTC-NG/API/class_contentinspectmodule.dita @@ -13,6 +13,7 @@ type = CONTENT_INSPECT_TYPE_INVALID; interval = 0; } + __attribute__((visibility("default"))) @interface AgoraContentInspectModule: NSObject @property (assign, nonatomic) AgoraContentInspectType type; @@ -78,7 +79,7 @@ struct FContentInspectModule { type 功能模块的类型。详见 - +

                                                                                                                                                            功能模块的类型:

                                                                                                                                                            • (0):(默认)该功能模块无实际功能。请不要设为该值。
                                                                                                                                                            • diff --git a/dita/RTC-NG/API/class_datastreamconfig.dita b/dita/RTC-NG/API/class_datastreamconfig.dita index 57fd48d15e6..253993f6b88 100644 --- a/dita/RTC-NG/API/class_datastreamconfig.dita +++ b/dita/RTC-NG/API/class_datastreamconfig.dita @@ -9,6 +9,10 @@ public class DataStreamConfig { public boolean syncWithAudio = false; public boolean ordered = false; +} + export class DataStreamConfig { + public syncWithAudio: boolean = false; + public ordered: boolean = false; } __attribute__((visibility("default"))) @interface AgoraDataStreamConfig: NSObject @property (assign, nonatomic) BOOL ordered; diff --git a/dita/RTC-NG/API/class_device.dita b/dita/RTC-NG/API/class_device.dita index a3dae84ed91..aa537266260 100644 --- a/dita/RTC-NG/API/class_device.dita +++ b/dita/RTC-NG/API/class_device.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + diff --git a/dita/RTC-NG/API/class_deviceinfo.dita b/dita/RTC-NG/API/class_deviceinfo.dita index 9f2a5b53f6e..f55cfa44dcc 100644 --- a/dita/RTC-NG/API/class_deviceinfo.dita +++ b/dita/RTC-NG/API/class_deviceinfo.dita @@ -14,6 +14,7 @@ this.isLowLatencyAudioSupported = isLowLatencyAudioSupported; } } + struct DeviceInfo { bool isLowLatencyAudioSupported; diff --git a/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita b/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita index 65e6df4a3fb..17ed95e8f44 100644 --- a/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita +++ b/dita/RTC-NG/API/class_directcdnstreamingmediaoptions.dita @@ -20,6 +20,7 @@ publishCustomVideoTrack = false; } } + __attribute__((visibility("default"))) @interface AgoraDirectCdnStreamingMediaOptions : NSObject @property(assign, nonatomic) BOOL publishCameraTrack; diff --git a/dita/RTC-NG/API/class_directcdnstreamingstats.dita b/dita/RTC-NG/API/class_directcdnstreamingstats.dita index 49d6fdbb25a..00946befc65 100644 --- a/dita/RTC-NG/API/class_directcdnstreamingstats.dita +++ b/dita/RTC-NG/API/class_directcdnstreamingstats.dita @@ -21,6 +21,7 @@ audioBitrate = 0; } } + __attribute__((visibility("default"))) @interface AgoraDirectCdnStreamingStats : NSObject @property(assign, nonatomic) NSUInteger videoWidth; @property(assign, nonatomic) NSUInteger videoHeight; diff --git a/dita/RTC-NG/API/class_downlinknetworkinfo.dita b/dita/RTC-NG/API/class_downlinknetworkinfo.dita index b929e43e033..be2dafb3d42 100644 --- a/dita/RTC-NG/API/class_downlinknetworkinfo.dita +++ b/dita/RTC-NG/API/class_downlinknetworkinfo.dita @@ -10,6 +10,7 @@ public int lastmile_buffer_delay_time_ms; public int bandwidth_estimation_bps; }; + __attribute__((visibility("default"))) @interface AgoraDownlinkNetworkInfo : NSObject @property(nonatomic, assign) int lastmileBufferDelayTimeMs; @property(nonatomic, assign) int bandwidthEstimationBps; @@ -25,12 +26,12 @@ <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - lastmile_buffer_delay_time_ms + lastmile_buffer_delay_time_ms lastmileBufferDelayTimeMs Lastmile 缓冲的网络延迟 (ms)。 - bandwidth_estimation_bps + bandwidth_estimation_bps bandwidthEstimationBps 网络带宽预估码率 (bps)。 diff --git a/dita/RTC-NG/API/class_echotestconfiguration.dita b/dita/RTC-NG/API/class_echotestconfiguration.dita index 67a5781219f..309a39a8b7c 100644 --- a/dita/RTC-NG/API/class_echotestconfiguration.dita +++ b/dita/RTC-NG/API/class_echotestconfiguration.dita @@ -40,6 +40,7 @@ this.channelId = null; } } + NS_SWIFT_NAME(AgoraEchoTestConfiguration) __attribute__((visibility("default"))) @interface AgoraEchoTestConfiguration : NSObject @property(strong, nonatomic) VIEW_CLASS* _Nullable view NS_SWIFT_NAME(view); diff --git a/dita/RTC-NG/API/class_encodedaudioframeinfo.dita b/dita/RTC-NG/API/class_encodedaudioframeinfo.dita index f480cb6a660..113bd95ed30 100644 --- a/dita/RTC-NG/API/class_encodedaudioframeinfo.dita +++ b/dita/RTC-NG/API/class_encodedaudioframeinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + __attribute__((visibility("default"))) @interface AgoraEncodedAudioFrameInfo: NSObject @property (assign, nonatomic) NSInteger samplesPerChannel; @property (assign, nonatomic) NSInteger channels; diff --git a/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index 0876108cf34..f166f907959 100644 --- a/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -106,6 +106,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraEncodedVideoFrameInfo: NSObject @property (assign, nonatomic) AgoraVideoCodecType codecType; @@ -339,7 +340,7 @@ struct FEncodedVideoFrameInfo { codecType 视频编码类型,详见 。默认值为 (2) -

                                                                                                                                                              视频编解码类型: +

                                                                                                                                                              视频编解码类型:

                                                                                                                                                              • (1):VP8。
                                                                                                                                                              • (2):H.264。
                                                                                                                                                              • @@ -365,7 +366,7 @@ struct FEncodedVideoFrameInfo { frameType 视频帧的类型,详见 - 视频帧的类型: + 视频帧的类型:
                                                                                                                                                                • 0:(默认),空白帧。
                                                                                                                                                                • @@ -378,7 +379,7 @@ struct FEncodedVideoFrameInfo { rotation 视频帧的旋转信息,详见 - 视频帧的旋转信息,取值如下: + 视频帧的旋转信息,取值如下:
                                                                                                                                                                  • 0:(默认)不旋转。
                                                                                                                                                                  • @@ -407,7 +408,7 @@ struct FEncodedVideoFrameInfo { streamType 视频流类型。详见 - +
                                                                                                                                                                    • (0):视频大流,即高分辨率、高码率视频流。
                                                                                                                                                                    • (1):视频小流,即低分辨率、低码率视频流。
                                                                                                                                                                    • diff --git a/dita/RTC-NG/API/class_encryptionconfig.dita b/dita/RTC-NG/API/class_encryptionconfig.dita index 3d7ba2cf8ac..b33b0433c16 100644 --- a/dita/RTC-NG/API/class_encryptionconfig.dita +++ b/dita/RTC-NG/API/class_encryptionconfig.dita @@ -19,7 +19,14 @@ java.util.Arrays.fill(encryptionKdfSalt, (byte) 0); } } - __attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject + export class EncryptionConfig { + encryptionMode : EncryptionMode = EncryptionMode.AES_128_GCM2; + encryptionKey : string = ""; + encryptionKdfSalt : ArrayBuffer = new ArrayBuffer(32); + public EncryptionConfig() { + } +} + __attribute__((visibility("default"))) @interface AgoraEncryptionConfig: NSObject @property (assign, nonatomic) AgoraEncryptionMode encryptionMode; @property (copy, nonatomic) NSString * _Nullable encryptionKey; diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 5025251be92..b9632d14e09 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -35,6 +35,7 @@ public int cropBottom; public int rotation; } + __attribute__((visibility("default"))) @interface AgoraVideoFrame : NSObject @property(assign, nonatomic) NSInteger format; @property(assign, nonatomic) CMTime time; @@ -238,7 +239,7 @@ class ExternalVideoFrame { }

                                                                                                                                                              -
                                                                                                                                                              +
                                                                                                                                                              弃用:
                                                                                                                                                              @@ -275,7 +276,7 @@ class ExternalVideoFrame {
                                                                                                                                                            • 12: iOS 纹理 (CVPixelBufferRef)。
                                                                                                                                                            • 16: I422。
                                                                                                                                                            - 视频数据的格式: + 视频数据的格式:
                                                                                                                                                            • 10:TEXTURE_2D。
                                                                                                                                                            • @@ -288,10 +289,10 @@ class ExternalVideoFrame { buffer - buf + buf dataBuf 视频缓冲区。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 原始数据缓冲区,该参数不用于 iOS 纹理。 @@ -329,11 +330,11 @@ class ExternalVideoFrame { height 传入视频帧的高度。 - + textureID 该帧的 Texture ID。该参数仅适用于 Texture 格式的视频数据。 - + syncMode 设置是否开启同步模式,开启后 SDK 会在 Texture 处理时进行等待。该参数仅适用于 Texture 格式的视频数据。
                                                                                                                                                                @@ -341,15 +342,15 @@ class ExternalVideoFrame {
                                                                                                                                                              • :不开启同步模式。
                                                                                                                                                              - + transform Texture 帧额外的转换。该参数仅适用于 Texture 格式的视频数据。 - + eglContext11 EGLContext11。该参数仅适用于 Texture 格式的视频数据。 - + eglContext14 EGLContext14。该参数仅适用于 Texture 格式的视频数据。 @@ -395,25 +396,25 @@ class ExternalVideoFrame { cropLeft 原始数据相关字段。指定左边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 cropTop 原始数据相关字段。指定顶边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 cropRight 原始数据相关字段。指定右边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 cropBottom 原始数据相关字段。指定底边裁剪掉的像素数量。默认为 0。 - 该参数仅适用于非 Texture 格式的视频数据。 + 该参数仅适用于非 Texture 格式的视频数据。 该参数仅适用于原始视频数据。 diff --git a/dita/RTC-NG/API/class_focallengthinfo.dita b/dita/RTC-NG/API/class_focallengthinfo.dita index b59e74f0082..0d9e4657c2f 100644 --- a/dita/RTC-NG/API/class_focallengthinfo.dita +++ b/dita/RTC-NG/API/class_focallengthinfo.dita @@ -26,6 +26,7 @@ '}'; } } + __attribute__((visibility("default"))) @interface AgoraFocalLengthInfo : NSObject @property(assign, nonatomic) int cameraDirection; @property(assign, nonatomic) AgoraFocalLength focalLengthType; diff --git a/dita/RTC-NG/API/class_imagetrackoptions.dita b/dita/RTC-NG/API/class_imagetrackoptions.dita index 7ddbef62c0a..87f017bbf1f 100644 --- a/dita/RTC-NG/API/class_imagetrackoptions.dita +++ b/dita/RTC-NG/API/class_imagetrackoptions.dita @@ -18,6 +18,7 @@ this.fps = fps; } } + __attribute__((visibility("default"))) @interface AgoraImageTrackOptions : NSObject @property(copy, nonatomic) NSString *_Nullable imageUrl; @property(assign, nonatomic) int fps; diff --git a/dita/RTC-NG/API/class_imediaengineevent.dita b/dita/RTC-NG/API/class_imediaengineevent.dita index 2782d80e127..ef089bb6448 100644 --- a/dita/RTC-NG/API/class_imediaengineevent.dita +++ b/dita/RTC-NG/API/class_imediaengineevent.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + export type IMediaEngineEvent = IAudioFrameObserver & diff --git a/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita b/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita index 85cd72561a4..8ee650b0645 100644 --- a/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita +++ b/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + @protocol AgoraMediaFilterExtensionDelegate <NSObject> - (NSString * __nonnull)vendor; @end diff --git a/dita/RTC-NG/API/class_imediaplayerevent.dita b/dita/RTC-NG/API/class_imediaplayerevent.dita index ce6104d724c..35bbe56908a 100644 --- a/dita/RTC-NG/API/class_imediaplayerevent.dita +++ b/dita/RTC-NG/API/class_imediaplayerevent.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + export type IMediaPlayerEvent = IMediaPlayerSourceObserver & diff --git a/dita/RTC-NG/API/class_imediarecorderevent.dita b/dita/RTC-NG/API/class_imediarecorderevent.dita index 270279e6944..3ca78949ec6 100644 --- a/dita/RTC-NG/API/class_imediarecorderevent.dita +++ b/dita/RTC-NG/API/class_imediarecorderevent.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + export type IMediaRecorderEvent = IMediaRecorderObserver; diff --git a/dita/RTC-NG/API/class_injectstreamconfig.dita b/dita/RTC-NG/API/class_injectstreamconfig.dita index f3aa4396d58..4b6419fe28d 100644 --- a/dita/RTC-NG/API/class_injectstreamconfig.dita +++ b/dita/RTC-NG/API/class_injectstreamconfig.dita @@ -34,6 +34,7 @@ audioChannels = 1; } } + __attribute__((visibility("default"))) @interface AgoraLiveInjectStreamConfig : NSObject @property(assign, nonatomic) CGSize size; diff --git a/dita/RTC-NG/API/class_intrinsicelements.dita b/dita/RTC-NG/API/class_intrinsicelements.dita index 5f6f6d6bf37..9f8b33818b2 100644 --- a/dita/RTC-NG/API/class_intrinsicelements.dita +++ b/dita/RTC-NG/API/class_intrinsicelements.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + interface IntrinsicElements { diff --git a/dita/RTC-NG/API/class_irtcengineevent.dita b/dita/RTC-NG/API/class_irtcengineevent.dita index 9996af2315d..c4039a5d230 100644 --- a/dita/RTC-NG/API/class_irtcengineevent.dita +++ b/dita/RTC-NG/API/class_irtcengineevent.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + export type IRtcEngineEvent = IRtcEngineEventHandler & diff --git a/dita/RTC-NG/API/class_ivideosink.dita b/dita/RTC-NG/API/class_ivideosink.dita index 3074f839cda..9c58dfde8cc 100644 --- a/dita/RTC-NG/API/class_ivideosink.dita +++ b/dita/RTC-NG/API/class_ivideosink.dita @@ -7,6 +7,7 @@

                                                                                                                                                              + diff --git a/dita/RTC-NG/API/class_lastmileprobeconfig.dita b/dita/RTC-NG/API/class_lastmileprobeconfig.dita index 81dc4f4f5df..5886e79d9b7 100644 --- a/dita/RTC-NG/API/class_lastmileprobeconfig.dita +++ b/dita/RTC-NG/API/class_lastmileprobeconfig.dita @@ -13,6 +13,18 @@ public int expectedDownlinkBitrate; public LastmileProbeConfig() {} +} + export class LastmileProbeConfig { + + public probeUplink: boolean = false; + + public probeDownlink: boolean = false; + + public expectedUplinkBitrate: number = 0; + + public expectedDownlinkBitrate: number = 0; + constructor() { + } } __attribute__((visibility("default"))) @interface AgoraLastmileProbeConfig : NSObject @property (assign, nonatomic) BOOL probeUplink; diff --git a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita index 67701393464..3f4a72b6ed4 100644 --- a/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita +++ b/dita/RTC-NG/API/class_lastmileprobeonewayresult.dita @@ -30,6 +30,14 @@ struct FLastmileProbeOneWayResult { public int jitter; public int availableBandwidth; } + export class LastmileProbeOneWayResult { + + public packetLossRate:number = 0; + + public jitter:number = 0; + + public availableBandwidth:number = 0; +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeOneWayResult : NSObject @property (assign, nonatomic) NSUInteger packetLossRate; @property (assign, nonatomic) NSUInteger jitter; diff --git a/dita/RTC-NG/API/class_lastmileproberesult.dita b/dita/RTC-NG/API/class_lastmileproberesult.dita index 54f7bd0dc77..c76a1848cda 100644 --- a/dita/RTC-NG/API/class_lastmileproberesult.dita +++ b/dita/RTC-NG/API/class_lastmileproberesult.dita @@ -41,6 +41,16 @@ struct FLastmileProbeResult { public LastmileProbeOneWayResult uplinkReport = new LastmileProbeOneWayResult(); public LastmileProbeOneWayResult downlinkReport = new LastmileProbeOneWayResult(); } + export class LastmileProbeResult { + + public state:number = 0; + + public rtt:number = 0; + + public uplinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); + + public downlinkReport:LastmileProbeOneWayResult = new LastmileProbeOneWayResult(); +} __attribute__((visibility("default"))) @interface AgoraLastmileProbeResult : NSObject @property (assign, nonatomic) AgoraLastmileProbeResultState state; @@ -115,7 +125,7 @@ struct FLastmileProbeResult { state

                                                                                                                                                              Last mile 质量探测结果的状态。详见:

                                                                                                                                                              -

                                                                                                                                                              Last-mile 质量探测结果的状态,有如下几种: +

                                                                                                                                                              Last-mile 质量探测结果的状态,有如下几种:

                                                                                                                                                                diff --git a/dita/RTC-NG/API/class_leavechanneloptions.dita b/dita/RTC-NG/API/class_leavechanneloptions.dita index 74368ab6a17..bf4d24314f8 100644 --- a/dita/RTC-NG/API/class_leavechanneloptions.dita +++ b/dita/RTC-NG/API/class_leavechanneloptions.dita @@ -10,6 +10,19 @@ public boolean stopAudioMixing; public boolean stopAllEffect; public boolean stopMicrophoneRecording; +} + export class LeaveChannelOptions { + + public stopAudioMixing: boolean; + + public stopAllEffect: boolean; + + public stopMicrophoneRecording: boolean; + constructor() { + this.stopAudioMixing = true; + this.stopAllEffect = true; + this.stopMicrophoneRecording = true; + } } __attribute__((visibility("default"))) @interface AgoraLeaveChannelOptions : NSObject @property(nonatomic, assign) BOOL stopAudioMixing; diff --git a/dita/RTC-NG/API/class_livestreamadvancedfeature.dita b/dita/RTC-NG/API/class_livestreamadvancedfeature.dita index 80d8ca89a44..2f0eaf3fdc4 100644 --- a/dita/RTC-NG/API/class_livestreamadvancedfeature.dita +++ b/dita/RTC-NG/API/class_livestreamadvancedfeature.dita @@ -7,6 +7,7 @@

                                                                                                                                                                + __attribute__((visibility("default"))) @interface AgoraLiveStreamAdvancedFeature : NSObject @property(copy, nonatomic) NSString* _Nullable featureName; diff --git a/dita/RTC-NG/API/class_livetranscoding.dita b/dita/RTC-NG/API/class_livetranscoding.dita index 7061fb99b2a..a86ba514955 100644 --- a/dita/RTC-NG/API/class_livetranscoding.dita +++ b/dita/RTC-NG/API/class_livetranscoding.dita @@ -225,7 +225,58 @@ this.backgroundColor = (red << 16) | (green << 8) | (blue << 0); } } - __attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject + export class LiveTranscoding { + + public width: number; + + public height: number; + + public videoBitrate: number; + + public videoFramerate: number; + + public videoGop: number; + + public watermarkList?: Array<AgoraImage>; + + public backgroundImageList?: Array<AgoraImage>; + + public audioSampleRate: Constants.AudioSampleRateType; + + public audioBitrate: number; + + public audioChannels: number; + + public audioCodecProfile: Constants.AudioCodecProfileType; + + public videoCodecProfile: Constants.VideoCodecProfileType; + + public videoCodecType: Constants.VideoCodecType; + + public userConfigExtraInfo?: string; + + public metadata?: string; + + public transcodingUsers: Map<number, TranscodingUser>; + + public advancedFeatures: Map<string, boolean>; + constructor() { + this.width = 360; + this.height = 640; + this.videoBitrate = 400; + this.videoCodecProfile = Constants.VideoCodecProfileType.HIGH; + this.videoCodecType = Constants.VideoCodecType.H264; + this.videoGop = 30; + this.videoFramerate = 15; + this.audioSampleRate = Constants.AudioSampleRateType.TYPE_44100; + this.audioBitrate = 48; + this.audioChannels = 1; + this.audioCodecProfile = Constants.AudioCodecProfileType.LC_AAC; + this.advancedFeatures = new Map<string, boolean>(); + this.transcodingUsers = new Map<number, TranscodingUser>(); + } +} + __attribute__((visibility("default"))) @interface AgoraLiveTranscoding : NSObject @property(assign, nonatomic) CGSize size; @property(assign, nonatomic) NSInteger videoBitrate; @@ -613,7 +664,7 @@ struct FLiveTranscoding

                                                                                                                                                                <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - + width

                                                                                                                                                                推流视频的总宽度,默认值 360,单位为像素。

                                                                                                                                                                @@ -622,7 +673,7 @@ struct FLiveTranscoding
                                                                                                                                                              • 如果推音频流,请将 widthheight 设为 0。
                                                                                                                                                              - + height

                                                                                                                                                              推流视频的总高度,默认值 640,单位为像素。

                                                                                                                                                              @@ -659,7 +710,7 @@ struct FLiveTranscoding

                                                                                                                                                              用于旁路直播的输出视频的帧率。取值范围是 (0,30],单位为 fps。15 fps 为默认值。

                                                                                                                                                              声网服务器会将高于 30 fps 的帧率统一调整为 30 fps。
                                                                                                                                                              - + lowLatency
                                                                                                                                                              @@ -696,7 +747,7 @@ struct FLiveTranscoding transcodingExtraInfo - userConfigExtraInfo + userConfigExtraInfo

                                                                                                                                                              预留参数:用户自定义的发送到旁路推流客户端的信息,用于填充 H264/H265 视频中 SEI 帧内容。长度限制:4096 字节。关于 SEI 的详细信息,详见 SEI 帧相关问题

                                                                                                                                                              @@ -717,7 +768,7 @@ struct FLiveTranscoding
                                                                                                                                                              backgroundColor - +
                                                                                                                                                              弃用
                                                                                                                                                              @@ -887,7 +938,7 @@ struct FLiveTranscoding getUserCount 获取转码合图用户人数。详见 - + getUsers 获取参与合图的用户列表。详见 @@ -899,7 +950,7 @@ struct FLiveTranscoding removeBackgroundImage 从背景图列表中删除一张背景图。详见 - + removeUser 删除转码合图用户。详见 diff --git a/dita/RTC-NG/API/class_localaudiostats.dita b/dita/RTC-NG/API/class_localaudiostats.dita index f1e567f6ed0..cfef5869eef 100644 --- a/dita/RTC-NG/API/class_localaudiostats.dita +++ b/dita/RTC-NG/API/class_localaudiostats.dita @@ -16,6 +16,26 @@ public int earMonitorDelay; public int aecEstimatedDelay; }; + export class LocalAudioStats { + + public numChannels:number = 0; + + public sentSampleRate:number = 0; + + public sentBitrate:number = 0; + + public internalCodec:number = 0; + + public txPacketLossRate:number = 0; + + public audioDeviceDelay:number = 0; + + public audioPlayoutDelay:number = 0; + + public earMonitorDelay:number = 0; + + public aecEstimatedDelay:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcLocalAudioStats : NSObject @property(assign, nonatomic) NSUInteger numChannels; @property(assign, nonatomic) NSUInteger sentSampleRate; diff --git a/dita/RTC-NG/API/class_localspatialaudioconfig.dita b/dita/RTC-NG/API/class_localspatialaudioconfig.dita index 7ef9254c471..0fffa2388f6 100644 --- a/dita/RTC-NG/API/class_localspatialaudioconfig.dita +++ b/dita/RTC-NG/API/class_localspatialaudioconfig.dita @@ -12,6 +12,7 @@ mRtcEngine = null; } } + __attribute__((visibility("default"))) @interface AgoraLocalSpatialAudioConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; @end @@ -51,7 +52,7 @@ struct FLocalSpatialAudioConfig rtcEngine - mRtcEngine + mRtcEngine
                                                                                                                                                              diff --git a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita index 3f8a5ebe3bd..2d03ec53f9b 100644 --- a/dita/RTC-NG/API/class_localtranscoderconfiguration.dita +++ b/dita/RTC-NG/API/class_localtranscoderconfiguration.dita @@ -15,6 +15,14 @@ transcodingVideoStreams = new ArrayList<TranscodingVideoStream>(); videoOutputConfiguration = new VideoEncoderConfiguration(); } +} + export class LocalTranscoderConfiguration { + public transcodingVideoStreams:Array<TranscodingVideoStream>; + public videoOutputConfiguration:VideoEncoderConfiguration; + public constructor() { + this.transcodingVideoStreams = new Array<TranscodingVideoStream>(); + this.videoOutputConfiguration = new VideoEncoderConfiguration(); + } } __attribute__((visibility("default"))) @interface AgoraLocalTranscoderConfiguration: NSObject @@ -102,7 +110,7 @@ class LocalTranscoderConfiguration { videoInputStreams - transcodingVideoStreams + transcodingVideoStreams 参与本地合图的视频流。详见 diff --git a/dita/RTC-NG/API/class_localvideostats.dita b/dita/RTC-NG/API/class_localvideostats.dita index 158f8c4192c..eaf9a1bbf66 100644 --- a/dita/RTC-NG/API/class_localvideostats.dita +++ b/dita/RTC-NG/API/class_localvideostats.dita @@ -29,6 +29,53 @@ public int txPacketLossRate; public int captureBrightnessLevel; public int hwEncoderAccelerating; +} + export class LocalVideoStats { + + public uid:number = 0; + public sentBitrate:number = 0; + + public sentFrameRate:number = 0; + + public captureFrameRate:number = 0; + + public captureFrameWidth:number = 0; + + public captureFrameHeight:number = 0; + + public regulatedCaptureFrameRate:number = 0; + + public regulatedCaptureFrameWidth:number = 0; + + public regulatedCaptureFrameHeight:number = 0; + + public encoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public targetBitrate:number = 0; + + public targetFrameRate:number = 0; + + public qualityAdaptIndication:number = 0; + + public encodedBitrate:number = 0; + + public encodedFrameWidth:number = 0; + + public encodedFrameHeight:number = 0; + + public encodedFrameCount:number = 0; + + public codecType:number = 0; + + public txPacketLossRate:number = 0; + + public captureBrightnessLevel:number = 0; + + public dualStreamEnabled:boolean = false; + + public hwEncoderAccelerating:number = 0; } __attribute__((visibility("default"))) @interface AgoraRtcLocalVideoStats : NSObject @property(assign, nonatomic) NSUInteger sentBitrate; @@ -415,7 +462,7 @@ struct FLocalVideoStats qualityAdaptIndication 统计周期内本地视频质量(基于目标帧率和目标码率)的自适应情况。详见 -

                                                                                                                                                              +

                                                                                                                                                              • (0): 本地视频质量不变。
                                                                                                                                                              • (1): 因网络带宽增加,本地视频质量改善。
                                                                                                                                                              • @@ -445,7 +492,7 @@ struct FLocalVideoStats codecType 视频的编码类型。详见 。 -

                                                                                                                                                                +

                                                                                                                                                                • (1):VP8。
                                                                                                                                                                • (2):H.264。
                                                                                                                                                                • @@ -466,7 +513,7 @@ struct FLocalVideoStats captureBrightnessLevel 本地采集的画质亮度级别。详见 - + captureBrightnessLevel 本地采集的画质亮度级别。
                                                                                                                                                                    diff --git a/dita/RTC-NG/API/class_logconfig.dita b/dita/RTC-NG/API/class_logconfig.dita index e472f361cd6..16ea5ef428a 100644 --- a/dita/RTC-NG/API/class_logconfig.dita +++ b/dita/RTC-NG/API/class_logconfig.dita @@ -11,6 +11,7 @@ public int fileSizeInKB; public int level = Constants.LogLevel.getValue(Constants.LogLevel.LOG_LEVEL_INFO); } + __attribute__((visibility("default"))) @interface AgoraLogConfig: NSObject @property (copy, nonatomic) NSString * _Nullable filePath; @property (assign, nonatomic) NSInteger fileSizeInKB; @@ -103,7 +104,7 @@ struct FLogConfig {
                                                                                                                                                                • Windows:C:\Users\<user_name>\AppData\Local\Agora\<process_name>\agorasdk.log

                                                                                                                                                                -

                                                                                                                                                                默认路径为 /storage/emulated/0/Android/data/<packagename>/files/agorasdk.log

                                                                                                                                                                +

                                                                                                                                                                默认路径为 /storage/emulated/0/Android/data/<packagename>/files/agorasdk.log

                                                                                                                                                                默认路径为 AppSandbox/Library/caches/agorasdk.log

                                                                                                                                                                默认路径为: diff --git a/dita/RTC-NG/API/class_loguploadserverinfo.dita b/dita/RTC-NG/API/class_loguploadserverinfo.dita index 3bba6b26962..d978af3cbda 100644 --- a/dita/RTC-NG/API/class_loguploadserverinfo.dita +++ b/dita/RTC-NG/API/class_loguploadserverinfo.dita @@ -27,6 +27,7 @@ serverHttps = https; } }; + __attribute__((visibility("default"))) @interface LogUploadServerInfo : NSObject @property(copy, nonatomic) NSString* _Nullable serverDomain; diff --git a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 50f991bea9a..811d329c93e 100644 --- a/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -24,7 +24,8 @@ lowlightEnhanceLevel = level; } } - __attribute__((visibility("default"))) @interface AgoraLowlightEnhanceOptions : NSObject + + __attribute__((visibility("default"))) @interface AgoraLowlightEnhanceOptions : NSObject @property(nonatomic, assign) AgoraLowlightEnhanceMode mode; @property(nonatomic, assign) AgoraLowlightEnhanceLevel level; @end @@ -109,7 +110,7 @@ struct FLowlightEnhanceOptions level 暗光增强等级。详见 -

                                                                                                                                                                  +
                                                                                                                                                                  • (0):(默认)优先画质的暗光增强,会处理视频图像的亮度、细节、噪声,消耗的性能适中,处理速度适中,综合画质最优。
                                                                                                                                                                  • (1):优先性能的暗光增强,会处理视频图像的亮度、细节,消耗的性能较少,处理速度较快。
                                                                                                                                                                  @@ -117,7 +118,7 @@ struct FLowlightEnhanceOptions mode 暗光增强模式。详见 -
                                                                                                                                                                    +
                                                                                                                                                                    • (0):(默认)自动模式。SDK 会根据环境光亮度自动开启或关闭暗光增强功能,以适时补光和防止过曝。
                                                                                                                                                                    • (1):手动模式。用户需手动开启或关闭暗光增强功能。
                                                                                                                                                                    diff --git a/dita/RTC-NG/API/class_mediadeviceinfo.dita b/dita/RTC-NG/API/class_mediadeviceinfo.dita index bdf5ac9de1d..cfa5ba380a3 100644 --- a/dita/RTC-NG/API/class_mediadeviceinfo.dita +++ b/dita/RTC-NG/API/class_mediadeviceinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                                    + diff --git a/dita/RTC-NG/API/class_mediaplayercontroller.dita b/dita/RTC-NG/API/class_mediaplayercontroller.dita index d347886bf69..5512c8be5ff 100644 --- a/dita/RTC-NG/API/class_mediaplayercontroller.dita +++ b/dita/RTC-NG/API/class_mediaplayercontroller.dita @@ -7,6 +7,7 @@

                                                                                                                                                                    + diff --git a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita index b2c7b499ace..035ff4be6cb 100644 --- a/dita/RTC-NG/API/class_mediarecorderconfiguration.dita +++ b/dita/RTC-NG/API/class_mediarecorderconfiguration.dita @@ -22,6 +22,26 @@ this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; } } + export class MediaRecorderConfiguration { + + public storagePath: string; + + public containerFormat: number = AgoraMediaRecorder.CONTAINER_MP4; + + public streamType: number = AgoraMediaRecorder.STREAM_TYPE_BOTH; + + public maxDurationMs: number = 120000; + + public recorderInfoUpdateInterval: number = 0; + public constructor(storagePath: string, containerFormat: number, streamType: number, + maxDurationMs: number, recorderInfoUpdateInterval: number) { + this.storagePath = storagePath; + this.containerFormat = containerFormat; + this.streamType = streamType; + this.maxDurationMs = maxDurationMs; + this.recorderInfoUpdateInterval = recorderInfoUpdateInterval; + } +} __attribute__((visibility("default"))) @interface AgoraMediaRecorderConfiguration : NSObject @property(copy, nonatomic) NSString* _Nonnull storagePath; @property(assign, nonatomic) AgoraMediaRecorderContainerFormat containerFormat; @@ -136,12 +156,12 @@ struct FMediaRecorderConfiguration containerFormat 录制文件的格式。详见 - 录制文件的格式,目前仅支持 + 录制文件的格式,目前仅支持 streamType 录制内容。详见 - 录制内容: + 录制内容:

                                                                                                                                                                    • :仅音频。
                                                                                                                                                                    • :仅视频。
                                                                                                                                                                    • diff --git a/dita/RTC-NG/API/class_mediasource.dita b/dita/RTC-NG/API/class_mediasource.dita index 70c4f744b41..5adda6d0bbf 100644 --- a/dita/RTC-NG/API/class_mediasource.dita +++ b/dita/RTC-NG/API/class_mediasource.dita @@ -17,6 +17,7 @@ boolean enableMultiAudioTrack; IMediaPlayerCustomDataProvider provider; } + __attribute__((visibility("default"))) @interface AgoraMediaSource : NSObject @property(copy, nonatomic) NSString *_Nullable url; @property(copy, nonatomic) NSString *_Nullable uri; diff --git a/dita/RTC-NG/API/class_metadata.dita b/dita/RTC-NG/API/class_metadata.dita index 1350c810d6a..3a5d961b1e0 100644 --- a/dita/RTC-NG/API/class_metadata.dita +++ b/dita/RTC-NG/API/class_metadata.dita @@ -7,6 +7,7 @@

                                                                                                                                                                      + struct Metadata { unsigned int uid; diff --git a/dita/RTC-NG/API/class_music.dita b/dita/RTC-NG/API/class_music.dita index 63456ff3971..d97d917e2d8 100644 --- a/dita/RTC-NG/API/class_music.dita +++ b/dita/RTC-NG/API/class_music.dita @@ -86,6 +86,7 @@ return climaxSegments; } } + __attribute__((visibility("default"))) @interface AgoraMusic : NSObject @property(nonatomic, assign) NSInteger songCode; @property(nonatomic, assign) NSInteger type; @@ -269,7 +270,7 @@ 音乐资源总时长 (秒)。 - lyricTypes + lyricTypes lyricList 支持的歌词类型:

                                                                                                                                                                        @@ -278,7 +279,7 @@
                                                                                                                                                                      - climaxSegments + climaxSegments climaxSegmentList 音乐高潮片段列表,详见 diff --git a/dita/RTC-NG/API/class_musiccacheinfo.dita b/dita/RTC-NG/API/class_musiccacheinfo.dita index 314f3e7d1f6..31ef0e3e934 100644 --- a/dita/RTC-NG/API/class_musiccacheinfo.dita +++ b/dita/RTC-NG/API/class_musiccacheinfo.dita @@ -12,6 +12,7 @@ public MusicCacheInfo() {} } + __attribute__((visibility("default"))) @interface AgoraMusicCacheInfo : NSObject @property(nonatomic, assign) NSInteger songCode; @@ -72,7 +73,7 @@ class MusicCacheInfo { status statusType

                                                                                                                                                                      音乐资源的缓存状态,详见

                                                                                                                                                                      -

                                                                                                                                                                      音乐资源的缓存状态: +

                                                                                                                                                                      音乐资源的缓存状态:

                                                                                                                                                                      • (0):音乐资源已缓存。
                                                                                                                                                                      • (1):音乐资源正在缓存。

                                                                                                                                                                      diff --git a/dita/RTC-NG/API/class_musicchartcollection.dita b/dita/RTC-NG/API/class_musicchartcollection.dita index 6b45a23ac5c..ca86e2ca182 100644 --- a/dita/RTC-NG/API/class_musicchartcollection.dita +++ b/dita/RTC-NG/API/class_musicchartcollection.dita @@ -7,6 +7,7 @@

                                                                                                                                                                      + class MusicChartCollection : public RefCountInterface { public: diff --git a/dita/RTC-NG/API/class_musicchartinfo.dita b/dita/RTC-NG/API/class_musicchartinfo.dita index 9ecddd1fd0c..74afa74bab4 100644 --- a/dita/RTC-NG/API/class_musicchartinfo.dita +++ b/dita/RTC-NG/API/class_musicchartinfo.dita @@ -26,6 +26,7 @@ return type; } } + __attribute__((visibility("default"))) @interface AgoraMusicChartInfo : NSObject @property (nonatomic, copy) NSString *chartName; @property (nonatomic, assign) NSInteger identify; @@ -76,12 +77,12 @@ chartName - name + name 榜单名。 identify - type + type id 音乐榜单的 ID。 diff --git a/dita/RTC-NG/API/class_musiccollection.dita b/dita/RTC-NG/API/class_musiccollection.dita index f67fe25c25c..6111a7c5dbb 100644 --- a/dita/RTC-NG/API/class_musiccollection.dita +++ b/dita/RTC-NG/API/class_musiccollection.dita @@ -7,6 +7,7 @@

                                                                                                                                                                      + __attribute__((visibility("default"))) @interface AgoraMusicCollection : NSObject @property(nonatomic, assign) NSInteger count; @property(nonatomic, assign) NSInteger total; diff --git a/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita b/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita index fca3749d4a1..6f642dc4453 100644 --- a/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita +++ b/dita/RTC-NG/API/class_musiccontentcenterconfiguration.dita @@ -22,6 +22,7 @@ eventHandler = null; } } + __attribute__((visibility("default"))) @interface AgoraMusicContentCenterConfig : NSObject @property(assign, nonatomic) AgoraRtcEngineKit* _Nullable rtcEngine; @property (nonatomic, copy) NSString *appId; diff --git a/dita/RTC-NG/API/class_mvproperty.dita b/dita/RTC-NG/API/class_mvproperty.dita index e9cc7974d45..3dd6c89175f 100644 --- a/dita/RTC-NG/API/class_mvproperty.dita +++ b/dita/RTC-NG/API/class_mvproperty.dita @@ -26,6 +26,7 @@ return resolution; } } + __attribute__((visibility("default"))) @interface AgoraMvProperty : NSObject @property (nonatomic, copy) NSString *resolution; @property (nonatomic, copy) NSString *bandwidth; diff --git a/dita/RTC-NG/API/class_playerplaybackstats.dita b/dita/RTC-NG/API/class_playerplaybackstats.dita index 8f09ad872b2..fb42818cc20 100644 --- a/dita/RTC-NG/API/class_playerplaybackstats.dita +++ b/dita/RTC-NG/API/class_playerplaybackstats.dita @@ -12,6 +12,7 @@ private long audioBitrateInKbps; private long totalBitrateInKbps; } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerPlaybackStats : NSObject @property(assign, nonatomic) NSInteger videoFps; @property(assign, nonatomic) NSInteger videoBitrateInKbps; diff --git a/dita/RTC-NG/API/class_playerstreaminfo.dita b/dita/RTC-NG/API/class_playerstreaminfo.dita index 5462467e12d..072bdf9e0d6 100644 --- a/dita/RTC-NG/API/class_playerstreaminfo.dita +++ b/dita/RTC-NG/API/class_playerstreaminfo.dita @@ -23,6 +23,7 @@ public MediaStreamInfo() {} } + __attribute__((visibility("default"))) @interface AgoraMediaStreamInfo : NSObject @property(nonatomic, assign) NSInteger streamIndex; @@ -243,9 +244,9 @@ struct FPlayerStreamInfo streamType - mediaStreamType + mediaStreamType 此条媒体流的类型。详见 -

                                                                                                                                                                        +
                                                                                                                                                                        • (0): 未知类型。
                                                                                                                                                                        • (1): 视频流。
                                                                                                                                                                        • (2): 音频流。
                                                                                                                                                                        • @@ -289,9 +290,9 @@ struct FPlayerStreamInfo audioChannels 该参数仅对音频流生效,表示声道数。 - + audioBitsPerSample - audioBytesPerSample + audioBytesPerSample 该参数仅对音频流生效,表示每个音频采样点的位数 (bit)。 diff --git a/dita/RTC-NG/API/class_playerupdatedinfo.dita b/dita/RTC-NG/API/class_playerupdatedinfo.dita index 1dee52c433c..608c9697e47 100644 --- a/dita/RTC-NG/API/class_playerupdatedinfo.dita +++ b/dita/RTC-NG/API/class_playerupdatedinfo.dita @@ -14,6 +14,7 @@ private long audioChannels; private long audioBitsPerSample; } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerUpdatedInfo : NSObject @property(copy, nonatomic) NSString *_Nullable deviceId; @property(assign, nonatomic) NSInteger videoHeight; diff --git a/dita/RTC-NG/API/class_plugin.dita b/dita/RTC-NG/API/class_plugin.dita index 2897dc96c40..ccd55d9ee46 100644 --- a/dita/RTC-NG/API/class_plugin.dita +++ b/dita/RTC-NG/API/class_plugin.dita @@ -7,6 +7,7 @@

                                                                                                                                                                          + diff --git a/dita/RTC-NG/API/class_plugininfo.dita b/dita/RTC-NG/API/class_plugininfo.dita index a962fd3789a..543b833d8dc 100644 --- a/dita/RTC-NG/API/class_plugininfo.dita +++ b/dita/RTC-NG/API/class_plugininfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                                          + diff --git a/dita/RTC-NG/API/class_recorderinfo.dita b/dita/RTC-NG/API/class_recorderinfo.dita index f555d79ec2f..ad61164843b 100644 --- a/dita/RTC-NG/API/class_recorderinfo.dita +++ b/dita/RTC-NG/API/class_recorderinfo.dita @@ -17,6 +17,19 @@ this.durationMs = durationMs; this.fileSize = fileSize; } +} + export class RecorderInfo { + + public fileName: string; + + public durationMs: number; + + public fileSize: number; + public constructor(fileName: string, durationMs: number, fileSize: number) { + this.fileName = fileName; + this.durationMs = durationMs; + this.fileSize = fileSize; + } } __attribute__((visibility("default"))) @interface AgoraMediaRecorderInfo : NSObject @property(copy, nonatomic) NSString* _Nonnull recorderFileName; diff --git a/dita/RTC-NG/API/class_recorderstreaminfo.dita b/dita/RTC-NG/API/class_recorderstreaminfo.dita index 81ed3d070dd..451d2472ea5 100644 --- a/dita/RTC-NG/API/class_recorderstreaminfo.dita +++ b/dita/RTC-NG/API/class_recorderstreaminfo.dita @@ -9,6 +9,19 @@ public class RecorderStreamInfo { public String channelId; public int uid; +} + export class RecorderStreamInfo { + + public uid: number = 0; + + public channelId: string; + public constructor() { + this.uid = 0; + this.channelId = ""; + } + public toString(): string { + return "channelId=" + this.channelId; + } } __attribute__((visibility("default"))) @interface AgoraRecorderStreamInfo: NSObject diff --git a/dita/RTC-NG/API/class_rect.dita b/dita/RTC-NG/API/class_rect.dita index 1fb536e2e84..d8ff556b8a0 100644 --- a/dita/RTC-NG/API/class_rect.dita +++ b/dita/RTC-NG/API/class_rect.dita @@ -7,6 +7,7 @@

                                                                                                                                                                          + typedef struct Rect { int top; diff --git a/dita/RTC-NG/API/class_rectangle.dita b/dita/RTC-NG/API/class_rectangle.dita index c4f3c2871fb..a0f73e03f48 100644 --- a/dita/RTC-NG/API/class_rectangle.dita +++ b/dita/RTC-NG/API/class_rectangle.dita @@ -25,6 +25,7 @@ height = height_; } }; + struct Rectangle { int x; diff --git a/dita/RTC-NG/API/class_remoteaudiostats.dita b/dita/RTC-NG/API/class_remoteaudiostats.dita index e97870ee9d8..3bd0b8e83dc 100644 --- a/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -24,6 +24,44 @@ public int qualityChangedReason; public int e2eDelay; } + export class RemoteAudioStats { + + public uid:number = 0; + + public quality:number = 0; + + public networkTransportDelay:number = 0; + + public jitterBufferDelay:number = 0; + + public audioLossRate:number = 0; + + public numChannels:number = 0; + + public receivedSampleRate:number = 0; + + public receivedBitrate:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public mosValue:number = 0; + + public frozenRateByCustomPlcCount:number = 0; + + public plcCount:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public qoeQuality:number = 0; + + public qualityChangedReason:number = 0; + + public rxAudioBytes:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcRemoteAudioStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger quality; diff --git a/dita/RTC-NG/API/class_remotevideostats.dita b/dita/RTC-NG/API/class_remotevideostats.dita index 21999ee31dc..4317f1f454b 100644 --- a/dita/RTC-NG/API/class_remotevideostats.dita +++ b/dita/RTC-NG/API/class_remotevideostats.dita @@ -24,6 +24,44 @@ public long totalActiveTime; public long publishDuration; } + export class RemoteVideoStats { + + public uid:number = 0; + + public delay:number = 0; + + public e2eDelay:number = 0; + + public width:number = 0; + + public height:number = 0; + + public receivedBitrate:number = 0; + + public decoderOutputFrameRate:number = 0; + + public rendererOutputFrameRate:number = 0; + + public frameLossRate:number = 0; + + public packetLossRate:number = 0; + + public rxStreamType:number = 0; + + public totalFrozenTime:number = 0; + + public frozenRate:number = 0; + + public avSyncTimeMs:number = 0; + + public totalActiveTime:bigint = BigInt(0); + + public publishDuration:bigint = BigInt(0); + + public mosValue:number = 0; + + public rxVideoBytes:number = 0; +} __attribute__((visibility("default"))) @interface AgoraRtcRemoteVideoStats : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger delay __deprecated; @@ -332,7 +370,7 @@ class RemoteVideoStats { rxStreamType 视频流类型,大流或小流。详见 -

                                                                                                                                                                          +

                                                                                                                                                                          • (0):视频大流,即高分辨率高码率的视频流。
                                                                                                                                                                          • (1):视频小流,即低分辨率低码率的视频流。
                                                                                                                                                                          • diff --git a/dita/RTC-NG/API/class_remotevoicepositioninfo.dita b/dita/RTC-NG/API/class_remotevoicepositioninfo.dita index 3c590cc92a2..c29540b66b1 100644 --- a/dita/RTC-NG/API/class_remotevoicepositioninfo.dita +++ b/dita/RTC-NG/API/class_remotevoicepositioninfo.dita @@ -15,6 +15,7 @@ forward = new float[] {0.0f, 0.0f, 0.0f}; } } + __attribute__((visibility("default"))) @interface AgoraRemoteVoicePositionInfo : NSObject @property(assign, nonatomic) simd_float3 position; @property(assign, nonatomic) simd_float3 forward; diff --git a/dita/RTC-NG/API/class_rendererconfig.dita b/dita/RTC-NG/API/class_rendererconfig.dita index ff2c5ed43b3..6d5573823d2 100644 --- a/dita/RTC-NG/API/class_rendererconfig.dita +++ b/dita/RTC-NG/API/class_rendererconfig.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rendereroptions.dita b/dita/RTC-NG/API/class_rendereroptions.dita index e8b1482cbcc..e5d957d237d 100644 --- a/dita/RTC-NG/API/class_rendereroptions.dita +++ b/dita/RTC-NG/API/class_rendereroptions.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita b/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita index 4633dcd2f16..8797be37b97 100644 --- a/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita +++ b/dita/RTC-NG/API/class_rtc_local_view_surfaceview.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtc_local_view_textureview.dita b/dita/RTC-NG/API/class_rtc_local_view_textureview.dita index b16c6d7132a..e7818da3175 100644 --- a/dita/RTC-NG/API/class_rtc_local_view_textureview.dita +++ b/dita/RTC-NG/API/class_rtc_local_view_textureview.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita b/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita index d916254a205..bc598022815 100644 --- a/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita +++ b/dita/RTC-NG/API/class_rtc_remote_view_surfaceview.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita b/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita index 94d5917c08c..affba723533 100644 --- a/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita +++ b/dita/RTC-NG/API/class_rtc_remote_view_textureview.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita b/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita index 35cc14500fe..c3414ff276e 100644 --- a/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita +++ b/dita/RTC-NG/API/class_rtc_render_view_rtcsurfaceview.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita b/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita index 18d3da27e47..2d5f5be5414 100644 --- a/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita +++ b/dita/RTC-NG/API/class_rtc_render_view_rtctextureview.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_rtcconnection.dita b/dita/RTC-NG/API/class_rtcconnection.dita index 2c2caecb169..2d477084a53 100644 --- a/dita/RTC-NG/API/class_rtcconnection.dita +++ b/dita/RTC-NG/API/class_rtcconnection.dita @@ -40,7 +40,15 @@ return sb.toString(); } } - __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> + export class RtcConnection { + public localUid:number = 0; + public channelId:string = ""; + constructor(channelId:string,uid:number) { + this.channelId = channelId; + this.localUid = uid; + } +} + __attribute__((visibility("default"))) @interface AgoraRtcConnection: NSObject <NSCopying> @property (nonatomic, copy) NSString *_Nonnull channelId; @property (nonatomic, assign) NSUInteger localUid; diff --git a/dita/RTC-NG/API/class_rtcengineconfig.dita b/dita/RTC-NG/API/class_rtcengineconfig.dita index cc1541b0797..8050d83704f 100644 --- a/dita/RTC-NG/API/class_rtcengineconfig.dita +++ b/dita/RTC-NG/API/class_rtcengineconfig.dita @@ -24,6 +24,11 @@ mExtensionList.add(providerName); } +} + export class RtcEngineConfig{ + public mContext:Context | null = null; + public mAppId:string | null = null; + public mEventHandler: IRtcEngineEventHandler | null = null; } __attribute__((visibility("default"))) @interface AgoraRtcEngineConfig: NSObject @@ -184,28 +189,29 @@ class RtcEngineContext {

                                                                                                                                                                            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - + eventHandler - mEventHandler + mEventHandler 的事件句柄,详见 appId - mAppId + mAppId 声网为 App 开发者签发的 App ID。 使用同一个 App ID 的 App 才能进入同一个频道进行通话或直播。一个 App ID 只能用于创建一个 。如需更换 App ID,必须先调用 销毁当前 再重新创建。 - + context - mContext + mContext
                                                                                                                                                                            • Windows 平台上,context 是视窗句柄。如设值,则表示支持设备热插拔。
                                                                                                                                                                            • Android 平台上,context 是安卓活动上下文。

                                                                                                                                                                            安卓活动上下文。

                                                                                                                                                                            +

                                                                                                                                                                            上下文。

                                                                                                                                                                            - + mNativeLibPath

                                                                                                                                                                            指定 .so 文件的存储目录。存储目录必须为有效的 App 的私有目录,可以通过 Context.getDir() 获取。

                                                                                                                                                                            @@ -221,23 +227,23 @@ class RtcEngineContext {
                                                                                                                                                                            channelProfile - mChannelProfile + mChannelProfile audioScenario - mAudioScenario + mAudioScenario areaCode - mAreaCode + mAreaCode 服务器的访问区域。该功能为高级设置,适用于有访问安全限制的场景。支持的区域详见 。区域码支持位操作。 指定访问区域后,集成了 SDK 的 App 会连接指定区域内的声网服务器。 logConfig - mLogConfig + mLogConfig

                                                                                                                                                                            设置 SDK 输出的日志文件。详见

                                                                                                                                                                            默认情况下,SDK 会生成 5 个 SDK 日志文件和 5 个 API 调用日志文件,规则如下:

                                                                                                                                                                            @@ -245,12 +251,12 @@ class RtcEngineContext {
                                                                                                                                                                          - + mExtensionList 插件列表。 - - mExtensionObserver + + mExtensionObserver eventDelegate 实例。 @@ -259,7 +265,7 @@ class RtcEngineContext { 实例。 - mDomainLimit + mDomainLimit domainLimit

                                                                                                                                                                          是否开启域名限制: @@ -270,7 +276,7 @@ class RtcEngineContext { - mAutoRegisterAgoraExtensions + mAutoRegisterAgoraExtensions autoRegisterAgoraExtensions

                                                                                                                                                                          是否在初始化 时自动注册声网插件: @@ -281,7 +287,7 @@ class RtcEngineContext {

                                                                                                                                                                          -
                                                                                                                                                                          +
                                                                                                                                                                          方法 diff --git a/dita/RTC-NG/API/class_rtcimage.dita b/dita/RTC-NG/API/class_rtcimage.dita index 432c901bfb6..da12e17c873 100644 --- a/dita/RTC-NG/API/class_rtcimage.dita +++ b/dita/RTC-NG/API/class_rtcimage.dita @@ -34,6 +34,31 @@ this.zOrder = 0; this.alpha = 1.0; } +} + export class AgoraImage { + + public url: string; + + public x: number; + + public y: number; + + public width: number; + + public height: number; + + public zOrder: number; + + public alpha: number; + constructor(url: string) { + this.url = url; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + } } __attribute__((visibility("default"))) @interface AgoraImage : NSObject @property(strong, nonatomic) NSURL *_Nonnull url; diff --git a/dita/RTC-NG/API/class_rtcrendererviewprops.dita b/dita/RTC-NG/API/class_rtcrendererviewprops.dita index 06ed275410c..061d0d19516 100644 --- a/dita/RTC-NG/API/class_rtcrendererviewprops.dita +++ b/dita/RTC-NG/API/class_rtcrendererviewprops.dita @@ -7,6 +7,7 @@

                                                                                                                                                                          + diff --git a/dita/RTC-NG/API/class_rtcstats.dita b/dita/RTC-NG/API/class_rtcstats.dita index 0dce50a04b7..934b9ae78f5 100644 --- a/dita/RTC-NG/API/class_rtcstats.dita +++ b/dita/RTC-NG/API/class_rtcstats.dita @@ -31,6 +31,56 @@ public double memoryAppUsageRatio; public double memoryTotalUsageRatio; public int memoryAppUsageInKbytes; +} + export class RtcStats { + + public totalDuration:number = 0; + + public txBytes:number = 0; + + public rxBytes:number = 0; + + public txKBitRate:number = 0; + + public txAudioBytes:number = 0; + + public rxAudioBytes:number = 0; + + public txVideoBytes:number = 0; + + public rxVideoBytes:number = 0; + + public rxKBitRate:number = 0; + + public txAudioKBitRate:number = 0; + + public rxAudioKBitRate:number = 0; + + public txVideoKBitRate:number = 0; + + public rxVideoKBitRate:number = 0; + + public lastmileDelay:number = 0; + + public cpuTotalUsage:number = 0; + + public gatewayRtt:number = 0; + + public cpuAppUsage:number = 0; + + public users:number = 0; + + public connectTimeMs:number = 0; + + public txPacketLossRate:number = 0; + + public rxPacketLossRate:number = 0; + + public memoryAppUsageRatio:number = 0; + + public memoryTotalUsageRatio:number = 0; + + public memoryAppUsageInKbytes:number = 0; } __attribute__((visibility("default"))) @interface AgoraChannelStats : NSObject @property(assign, nonatomic) NSUInteger duration; @@ -495,7 +545,7 @@ public: duration - totalDuration + totalDuration 本地用户通话时长(秒),累计值。 @@ -560,7 +610,7 @@ public: userCount - users + users 当前频道内的用户人数。 diff --git a/dita/RTC-NG/API/class_screenaudioparameters.dita b/dita/RTC-NG/API/class_screenaudioparameters.dita index 1505fe6f821..7ad55b3eb09 100644 --- a/dita/RTC-NG/API/class_screenaudioparameters.dita +++ b/dita/RTC-NG/API/class_screenaudioparameters.dita @@ -122,7 +122,7 @@ struct FScreenAudioParameters { captureSignalVolume 采集的系统音量。取值范围为 [0,100]。默认值为 100。 - + allowCaptureCurrentApp 是否采集当前 App 中的音频:

                                                                                                                                                                            diff --git a/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/dita/RTC-NG/API/class_screencaptureconfiguration.dita index 015e5b089e6..b6546470b7d 100644 --- a/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC)) __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguration: NSObject diff --git a/dita/RTC-NG/API/class_screencaptureparameters.dita b/dita/RTC-NG/API/class_screencaptureparameters.dita index 295ed08a692..9f02de51404 100644 --- a/dita/RTC-NG/API/class_screencaptureparameters.dita +++ b/dita/RTC-NG/API/class_screencaptureparameters.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + __attribute__((visibility("default"))) @interface AgoraScreenCaptureParameters: NSObject @property (assign, nonatomic) CGSize dimensions; @property (assign, nonatomic) NSInteger frameRate; diff --git a/dita/RTC-NG/API/class_screencaptureparameters2.dita b/dita/RTC-NG/API/class_screencaptureparameters2.dita index e63e93c3811..d3afc80f1a2 100644 --- a/dita/RTC-NG/API/class_screencaptureparameters2.dita +++ b/dita/RTC-NG/API/class_screencaptureparameters2.dita @@ -213,7 +213,7 @@ struct FScreenCaptureParameters2 该参数仅在 captureVideo 时生效。

                                                                                                                                                                            -
                                                                                                                                                                            +
                                                                                                                                                                            diff --git a/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/dita/RTC-NG/API/class_screencapturesourceinfo.dita index f2a44dba46b..ec00402dcd0 100644 --- a/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + __attribute__((visibility("default"))) @interface AgoraScreenCaptureSourceInfo : NSObject @property(assign, nonatomic) AgoraScreenCaptureSourceType type; @property(assign, nonatomic) CGWindowID sourceId; diff --git a/dita/RTC-NG/API/class_screensymbol.dita b/dita/RTC-NG/API/class_screensymbol.dita index 0678f500e6a..356de9f853c 100644 --- a/dita/RTC-NG/API/class_screensymbol.dita +++ b/dita/RTC-NG/API/class_screensymbol.dita @@ -7,6 +7,7 @@

                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_screenvideoparameters.dita b/dita/RTC-NG/API/class_screenvideoparameters.dita index 27d2a0317a9..b8b182210ea 100644 --- a/dita/RTC-NG/API/class_screenvideoparameters.dita +++ b/dita/RTC-NG/API/class_screenvideoparameters.dita @@ -133,7 +133,7 @@ struct FScreenVideoParameters {

                                                                                                                                                                            -

                                                                                                                                                                            仅适用于 captureVideo 的场景。

                                                                                                                                                                            +

                                                                                                                                                                            仅适用于 captureVideo 的场景。

                                                                                                                                                                            <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> @@ -163,7 +163,7 @@ struct FScreenVideoParameters {
                                                                                                                                                                          - + width 视频编码分辨率中的宽 (px)。默认值为 1280。如果 width 和 height 的宽高比与屏幕像素值的宽高比不一致,SDK 会按照如下规则调节视频编码分辨率, 以 width × height 是 1280 × 720 为例:
                                                                                                                                                                            @@ -187,7 +187,7 @@ struct FScreenVideoParameters {
                                                                                                                                                                          - + height 视频编码分辨率中的高 (px)。默认值为 720。如果 width 和 height 的宽高比与屏幕像素值的宽高比不一致,SDK 会按照如下规则调节视频编码分辨率,以 width × height 是 1280 × 720 为例:
                                                                                                                                                                            @@ -212,7 +212,7 @@ struct FScreenVideoParameters { - framerate + framerate frameRate 视频编码帧率 (fps)。默认值为 15。 @@ -223,7 +223,7 @@ struct FScreenVideoParameters { contentHint 屏幕共享视频的内容类型。详见 -
                                                                                                                                                                              +
                                                                                                                                                                              • (0):(默认)无指定的内容类型。
                                                                                                                                                                              • (1):内容类型为动画。当共享的内容是视频、电影或视频游戏时,推荐选择该内容类型。
                                                                                                                                                                              • (2):内容类型为细节。当共享的内容是图片或文字时,推荐选择该内容类型。
                                                                                                                                                                              • diff --git a/dita/RTC-NG/API/class_sdkbuildinfo.dita b/dita/RTC-NG/API/class_sdkbuildinfo.dita index adf4b2a5dbe..444799818ec 100644 --- a/dita/RTC-NG/API/class_sdkbuildinfo.dita +++ b/dita/RTC-NG/API/class_sdkbuildinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                + export class SDKBuildInfo { diff --git a/dita/RTC-NG/API/class_segmentationproperty.dita b/dita/RTC-NG/API/class_segmentationproperty.dita index 5a5c54c0fb7..ea04676fece 100644 --- a/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/dita/RTC-NG/API/class_segmentationproperty.dita @@ -20,6 +20,12 @@ this.modelType = SEG_MODEL_AI; this.greenCapacity = 0.5f; } +} + export class SegmentationProperty { + + public modelType:Constants.SegModelType = Constants.SegModelType.AI; + + public greenCapacity:number = 0.5; } __attribute__((visibility("default"))) @interface AgoraSegmentationProperty: NSObject @property(nonatomic, assign) SegModelType modelType; @@ -94,7 +100,7 @@ struct FSegmentationProperty modelType 进行背景处理的算法。详见 -

                                                                                                                                                                                  +
                                                                                                                                                                                  • (1): (默认) 适用于所有场景下的背景处理算法。
                                                                                                                                                                                  • (2): 仅适用于绿幕背景下的背景处理算法。
                                                                                                                                                                                  diff --git a/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/dita/RTC-NG/API/class_simulcaststreamconfig.dita index b6c4f42d839..005d8ca7c9f 100644 --- a/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -23,6 +23,16 @@ this.bitrate = bitrate; this.framerate = framerate; } +} + export class SimulcastStreamConfig { + public dimensions: VideoDimensions; + + public bitrate: number = -1; + + public framerate: number = 5; + constructor() { + this.dimensions = new VideoDimensions(-1, -1); + } } __attribute__((visibility("default"))) @interface AgoraSimulcastStreamConfig: NSObject @property (assign, nonatomic) int bitrate; diff --git a/dita/RTC-NG/API/class_size.dita b/dita/RTC-NG/API/class_size.dita index df1cc37740d..3bc7caed785 100644 --- a/dita/RTC-NG/API/class_size.dita +++ b/dita/RTC-NG/API/class_size.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                  + struct SIZE { int width; diff --git a/dita/RTC-NG/API/class_snapshotconfig.dita b/dita/RTC-NG/API/class_snapshotconfig.dita index 0f1563a74e1..832a6e24a43 100644 --- a/dita/RTC-NG/API/class_snapshotconfig.dita +++ b/dita/RTC-NG/API/class_snapshotconfig.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                  + diff --git a/dita/RTC-NG/API/class_spatialaudioparams.dita b/dita/RTC-NG/API/class_spatialaudioparams.dita index f6e01a9b249..1e9c34e85ab 100644 --- a/dita/RTC-NG/API/class_spatialaudioparams.dita +++ b/dita/RTC-NG/API/class_spatialaudioparams.dita @@ -48,7 +48,8 @@ return enable_doppler; } } - __attribute__((visibility("default"))) @interface AgoraSpatialAudioParams : NSObject + + __attribute__((visibility("default"))) @interface AgoraSpatialAudioParams : NSObject @property(assign, nonatomic) double speaker_azimuth; @property(assign, nonatomic) double speaker_elevation; @property(assign, nonatomic) double speaker_distance; diff --git a/dita/RTC-NG/API/class_spatialaudiozone.dita b/dita/RTC-NG/API/class_spatialaudiozone.dita index b7bbe75dfb2..77ed2fddc66 100644 --- a/dita/RTC-NG/API/class_spatialaudiozone.dita +++ b/dita/RTC-NG/API/class_spatialaudiozone.dita @@ -64,6 +64,7 @@ return audioAttenuation; } } + __attribute__((visibility("default"))) @interface AgoraSpatialAudioZone : NSObject @property(assign, nonatomic) NSInteger zoneSetId; @property(nonatomic) simd_float3 position; diff --git a/dita/RTC-NG/API/class_srcinfo.dita b/dita/RTC-NG/API/class_srcinfo.dita index 669fb21f9d8..bf7ed1c1392 100644 --- a/dita/RTC-NG/API/class_srcinfo.dita +++ b/dita/RTC-NG/API/class_srcinfo.dita @@ -12,6 +12,7 @@ public SrcInfo() {} } + __attribute__((visibility("default"))) @interface AgoraMediaPlayerSrcInfo : NSObject @property(assign, nonatomic) int bitrateInKbps; @property(copy, nonatomic) NSString *_Nullable name; diff --git a/dita/RTC-NG/API/class_thumbimagebuffer.dita b/dita/RTC-NG/API/class_thumbimagebuffer.dita index 380c3acc768..708cf28f7e4 100644 --- a/dita/RTC-NG/API/class_thumbimagebuffer.dita +++ b/dita/RTC-NG/API/class_thumbimagebuffer.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                  + struct ThumbImageBuffer { const char* buffer; diff --git a/dita/RTC-NG/API/class_transcodinguser.dita b/dita/RTC-NG/API/class_transcodinguser.dita index a6ae4e651fe..47d2029e16a 100644 --- a/dita/RTC-NG/API/class_transcodinguser.dita +++ b/dita/RTC-NG/API/class_transcodinguser.dita @@ -23,6 +23,24 @@ alpha = 1; } } + export class TranscodingUser { + + public uid: number = 0; + + public x: number = 0; + + public y: number = 0; + + public width: number = 360; + + public height: number = 640; + + public zOrder: number = 0; + + public alpha: number = 1.0; + + public audioChannel: number = 0; +} __attribute__((visibility("default"))) @interface AgoraLiveTranscodingUser : NSObject @property(assign, nonatomic) NSUInteger uid; diff --git a/dita/RTC-NG/API/class_transcodingvideostream.dita b/dita/RTC-NG/API/class_transcodingvideostream.dita index b6c7370edcd..c1ce5bece3a 100644 --- a/dita/RTC-NG/API/class_transcodingvideostream.dita +++ b/dita/RTC-NG/API/class_transcodingvideostream.dita @@ -31,6 +31,43 @@ this.mirror = false; } }; + export class TranscodingVideoStream { + + public remoteUserUid:number; + + public sourceType:Constants.VideoSourceType; + + public imageUrl:string; + + public mediaPlayerId:number; + + public x:number; + + public y:number; + + public width:number; + + public height:number; + + public zOrder:number; + + public alpha:number; + + public mirror:boolean; + public constructor() { + this.remoteUserUid = 0; + this.sourceType = Constants.VideoSourceType.CAMERA_PRIMARY; + this.imageUrl = ""; + this.mediaPlayerId = -1; + this.x = 0; + this.y = 0; + this.width = 0; + this.height = 0; + this.zOrder = 0; + this.alpha = 1.0; + this.mirror = false; + } +} __attribute__((visibility("default"))) @interface AgoraTranscodingVideoStream: NSObject @property (assign, nonatomic) AgoraVideoSourceType sourceType; @property (assign, nonatomic) NSUInteger remoteUserUid; diff --git a/dita/RTC-NG/API/class_uplinknetworkinfo.dita b/dita/RTC-NG/API/class_uplinknetworkinfo.dita index 29c5d36d735..fd24f160511 100644 --- a/dita/RTC-NG/API/class_uplinknetworkinfo.dita +++ b/dita/RTC-NG/API/class_uplinknetworkinfo.dita @@ -9,6 +9,7 @@ public static class UplinkNetworkInfo { public int video_encoder_target_bitrate_bps; }; + __attribute__((visibility("default"))) @interface AgoraUplinkNetworkInfo : NSObject @property(nonatomic, assign) int videoEncoderTargetBitrateBps; @end diff --git a/dita/RTC-NG/API/class_user.dita b/dita/RTC-NG/API/class_user.dita index 1bb5814e347..7bf5274a7af 100644 --- a/dita/RTC-NG/API/class_user.dita +++ b/dita/RTC-NG/API/class_user.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                  + diff --git a/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/dita/RTC-NG/API/class_useraudiospectruminfo.dita index c38660d69d4..cfda2556d3c 100644 --- a/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -11,6 +11,7 @@ private AudioSpectrumInfo audioSpectrumInfo; } + __attribute__((visibility("default"))) @interface AgoraAudioSpectrumInfo : NSObject @property(nonatomic, assign) NSInteger uid; @@ -72,7 +73,7 @@ struct FUserAudioSpectrumInfo { 远端用户 ID。 - audioSpectrumInfo + audioSpectrumInfo audioSpectrumData spectrumData diff --git a/dita/RTC-NG/API/class_userinfo.dita b/dita/RTC-NG/API/class_userinfo.dita index bd4e61f9c74..a1241e199ad 100644 --- a/dita/RTC-NG/API/class_userinfo.dita +++ b/dita/RTC-NG/API/class_userinfo.dita @@ -22,6 +22,7 @@ public uint uid; public string userAccount; } + __attribute__((visibility("default"))) @interface AgoraUserInfo: NSObject @property(assign, nonatomic) NSUInteger uid; @property (copy, nonatomic) NSString * _Nullable userAccount; diff --git a/dita/RTC-NG/API/class_videocanvas.dita b/dita/RTC-NG/API/class_videocanvas.dita index 8a894ed6ee0..10aea9a005b 100644 --- a/dita/RTC-NG/API/class_videocanvas.dita +++ b/dita/RTC-NG/API/class_videocanvas.dita @@ -48,6 +48,20 @@ } } + export class VideoCanvas{ + public static readonly RENDER_MODE_HIDDEN = 1; + public static readonly RENDER_MODE_FIT = 2; + public static readonly VIDEO_MIRROR_MODE_ENABLED = 1; + public static readonly VIDEO_MIRROR_MODE_DISABLED = 2; + + public xcomponentId:string = ''; + public uid:number = 0; + public renderMode:number = VideoCanvas.RENDER_MODE_HIDDEN; + public mirrorMode:number = 0; + constructor(componentId:string) { + this.xcomponentId = componentId; + } +} __attribute__((visibility("default"))) @interface AgoraRtcVideoCanvas : NSObject @property(assign, nonatomic) NSUInteger uid; @property(assign, nonatomic) NSUInteger subviewUid; @@ -264,7 +278,7 @@ class VideoCanvas { UImage* LocalVideo; videoCanvas.view = LocalVideo; - + surfaceTexture 提供视频图像的容器,当你使用该成员时,需要自行实现 OPENGL 中的纹理绘制。详见 在一个 中,你只能选择 viewsurfaceTexture 其中一个进行设置,如果同时设置,只有 view 中的设置会生效。 @@ -272,13 +286,13 @@ class VideoCanvas { renderMode 视频渲染模式,详见 -

                                                                                                                                                                                  +
                                                                                                                                                                                  mirrorMode

                                                                                                                                                                                  视图镜像模式,详见

                                                                                                                                                                                  -

                                                                                                                                                                                  +

                                                                                                                                                                                  @@ -298,19 +312,19 @@ class VideoCanvas { setupMode 视图设置模式。详见 - 视图设置模式: + 视图设置模式:
                                                                                                                                                                                  • (0): (默认) 替换一个视图。
                                                                                                                                                                                  • (1): 增加一个视图。
                                                                                                                                                                                  • (2): 删除一个视图。
                                                                                                                                                                                  - + mediaPlayerId 媒体播放器 ID。可通过 获取。 sourceType 时,此参数为必填项。 - + rect (可选)视频帧的展示区域。详见 。其中,widthheight 表示该区域的视频像素宽度和高度。默认值为空值 (宽或高为 0),表示展示实际分辨率的视频帧。 diff --git a/dita/RTC-NG/API/class_videodenoiseroptions.dita b/dita/RTC-NG/API/class_videodenoiseroptions.dita index d0a7be8735e..32d25a361c8 100644 --- a/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -26,6 +26,7 @@ } } + __attribute__((visibility("default"))) @interface AgoraVideoDenoiserOptions : NSObject @property(nonatomic, assign) AgoraVideoDenoiserMode mode; @property(nonatomic, assign) AgoraVideoDenoiserLevel level; @@ -109,7 +110,7 @@ struct FVideoDenoiserOptions level 视频降噪等级。详见 -
                                                                                                                                                                                    +
                                                                                                                                                                                    • (0):(默认)优先画质的暗光增强,会处理视频图像的亮度、细节、噪声,消耗的性能适中,处理速度适中,综合画质最优。
                                                                                                                                                                                    • (1):优先性能的视频降噪。是在性能消耗和视频降噪效果中侧重于节省性能的等级。性能消耗较少,视频降噪速度较快。为避免处理后的视频有明显的拖影效果,建议你在摄像头固定的情况下使用该设置。
                                                                                                                                                                                    • (2):强效的视频降噪。是在性能消耗和视频降噪效果中侧重于视频降噪效果的等级。性能消耗较多,视频降噪速度较慢,视频降噪效果较好。如果 不能满足你的视频降噪需求,你可以使用该设置。
                                                                                                                                                                                    • @@ -119,7 +120,7 @@ struct FVideoDenoiserOptions mode 视频降噪模式。详见 -
                                                                                                                                                                                        +
                                                                                                                                                                                        • (0):(默认)自动模式。SDK 会根据环境光亮度自动开启或关闭视频降噪功能。
                                                                                                                                                                                        • (1):手动模式。用户需手动开启或关闭视频降噪功能。
                                                                                                                                                                                        diff --git a/dita/RTC-NG/API/class_videodeviceinfo.dita b/dita/RTC-NG/API/class_videodeviceinfo.dita index 822f6ed7add..6537913aec5 100644 --- a/dita/RTC-NG/API/class_videodeviceinfo.dita +++ b/dita/RTC-NG/API/class_videodeviceinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                        + export class VideoDeviceInfo { diff --git a/dita/RTC-NG/API/class_videodimensions.dita b/dita/RTC-NG/API/class_videodimensions.dita index ad8f47f174b..ba5e4f18aa4 100644 --- a/dita/RTC-NG/API/class_videodimensions.dita +++ b/dita/RTC-NG/API/class_videodimensions.dita @@ -19,6 +19,14 @@ this.width = 0; this.height = 0; } +} + export class VideoDimensions { + constructor(w : number, h : number) { + this.width = w; + this.height = h; + } + public width:number; + public height:number; } struct VideoDimensions { diff --git a/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/dita/RTC-NG/API/class_videoencoderconfiguration.dita index f739bb920ed..8525f357782 100644 --- a/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -246,6 +246,17 @@ ENCODING_PREFERENCE.PREFER_AUTO, COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY); this.codecType = VIDEO_CODEC_TYPE.VIDEO_CODEC_H265; } +} + export class VideoEncoderConfiguration{ + public dimensions:VideoDimensions = new VideoDimensions(960,540); + public frameRate:number = 15; + public bitrate:number = 0; + public minBitrate:number = -1; + public orientationMode:OrientationMode = OrientationMode.ORIENTATION_MODE_ADAPTIVE; + public degradationPrefer:DegradationPreference = DegradationPreference.MAINTAIN_QUALITY; + public mirrorMode:MirrorModeType = MirrorModeType.MIRROR_MODE_DISABLED; + public advanceOptions:AdvanceOptions = new AdvanceOptions(); + constructor() {} } __attribute__((visibility("default"))) @interface AgoraVideoEncoderConfiguration : NSObject @property(assign, nonatomic) CGSize dimensions; @@ -607,7 +618,7 @@ struct FVideoEncoderConfiguration mirrorMode

                                                                                                                                                                                        发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。详见

                                                                                                                                                                                        -

                                                                                                                                                                                        发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。 +

                                                                                                                                                                                        发送编码视频时是否开启镜像模式,只影响远端用户看到的视频画面。

                                                                                                                                                                                        • (0):SDK 决定镜像模式。默认关闭远端用户的镜像模式。
                                                                                                                                                                                        • (1):开启远端用户的镜像模式。
                                                                                                                                                                                        • diff --git a/dita/RTC-NG/API/class_videoformat.dita b/dita/RTC-NG/API/class_videoformat.dita index 9909a663053..3f1ddf25278 100644 --- a/dita/RTC-NG/API/class_videoformat.dita +++ b/dita/RTC-NG/API/class_videoformat.dita @@ -12,6 +12,11 @@ public int fps; } + export class CaptureFormat { + public width: number = 960; + public height: number = 540; + public fps: number = 15; +} struct VideoFormat { int width; diff --git a/dita/RTC-NG/API/class_videoframe.dita b/dita/RTC-NG/API/class_videoframe.dita index 9374298f11a..8e99466cbf3 100644 --- a/dita/RTC-NG/API/class_videoframe.dita +++ b/dita/RTC-NG/API/class_videoframe.dita @@ -240,6 +240,26 @@ public void release() { buffer.release(); } +} + export class VideoFrame { + public buffer:ArrayBuffer | null = null; + public yBuffer: ArrayBuffer | null = null; + public uBuffer: ArrayBuffer | null = null; + public vBuffer: ArrayBuffer | null = null; + public rotation:number = 0; + public timestamp:number = 0; + public stride:number = 0; + public uStride:number = 0; + public vStride:number = 0; + public width:number = 0; + public height:number = 0; + public type:VideoBufferType = VideoBufferType.VIDEO_BUFFER_RAW_DATA; + public format:VideoPixelFormat = VideoPixelFormat.VIDEO_PIXEL_NV21; + public faceInfo:Array<FaceDetectionInfo> | undefined = undefined; + constructor(type:VideoBufferType,format:VideoPixelFormat) { + this.type = type; + this.format = format; + } } __attribute__((visibility("default"))) @interface AgoraOutputVideoFrame : NSObject @property (nonatomic, assign) NSInteger type; @@ -595,7 +615,7 @@ class VideoFrame { TextureBuffer Texture 视频帧的缓冲区,可以为 OES 或 RGB 格式。 - + buffer 该参数不可为空,否则会发生异常。缓冲区的数据。与该参数相关的方法如下所示: @@ -617,7 +637,7 @@ class VideoFrame { renderTimeMs 视频帧被渲染时的 Unix 时间戳(毫秒)。该时间戳可用于指导渲染视频帧。该参数为必填。 - + timestampNs 视频帧的时间戳(纳秒)。 @@ -652,11 +672,11 @@ class VideoFrame { pixelBuffer 将数据填充到 CVPixelBuffer。 - + colorSpace 表示视频帧的色彩空间。详见 - + sourceType 在使用 SDK 采集视频时,表示该视频源的类型。
                                                                                                                                                                                            @@ -665,7 +685,7 @@ class VideoFrame {
                                                                                                                                                                                          • kUnspecified:(默认) 视频源类型未知。
                                                                                                                                                                                          - + sampleAspectRatio 单个像素的宽高比,即每个像素宽度与高度的比值。 diff --git a/dita/RTC-NG/API/class_videoframebufferconfig.dita b/dita/RTC-NG/API/class_videoframebufferconfig.dita index 53335fd8b98..5118f6b77ff 100644 --- a/dita/RTC-NG/API/class_videoframebufferconfig.dita +++ b/dita/RTC-NG/API/class_videoframebufferconfig.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                          + diff --git a/dita/RTC-NG/API/class_videolayout.dita b/dita/RTC-NG/API/class_videolayout.dita index 3ec6dfdeb0c..5f508e04c68 100644 --- a/dita/RTC-NG/API/class_videolayout.dita +++ b/dita/RTC-NG/API/class_videolayout.dita @@ -23,6 +23,7 @@ + ", height=" + height + '}'; } } + __attribute__((visibility("default"))) @interface AgoraVideoLayout: NSObject @property(copy, nonatomic) NSString* _Nonnull channelId NS_SWIFT_NAME(channelId); @property (assign, nonatomic) NSUInteger uid NS_SWIFT_NAME(uid); diff --git a/dita/RTC-NG/API/class_videorenderingtracinginfo.dita b/dita/RTC-NG/API/class_videorenderingtracinginfo.dita index 5b54d6440ee..f80cddb4775 100644 --- a/dita/RTC-NG/API/class_videorenderingtracinginfo.dita +++ b/dita/RTC-NG/API/class_videorenderingtracinginfo.dita @@ -15,6 +15,7 @@ public int remoteJoined2UnmuteVideo; public int remoteJoined2PacketReceived; }; + NS_SWIFT_NAME(AgoraVideoRenderingTracingInfo) __attribute__((visibility("default"))) @interface AgoraVideoRenderingTracingInfo : NSObject @property (assign, nonatomic) NSInteger elapsedTime NS_SWIFT_NAME(elapsedTime); @property (assign, nonatomic) NSInteger start2JoinChannel NS_SWIFT_NAME(start2JoinChannel); diff --git a/dita/RTC-NG/API/class_videosubscriptionoptions.dita b/dita/RTC-NG/API/class_videosubscriptionoptions.dita index eea321c754d..5ca6c3130e1 100644 --- a/dita/RTC-NG/API/class_videosubscriptionoptions.dita +++ b/dita/RTC-NG/API/class_videosubscriptionoptions.dita @@ -41,7 +41,8 @@ this.streamType = streamType; } } - __attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject + + __attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject @property (nonatomic, assign) AgoraVideoStreamType type; @property (nonatomic, assign) bool encodedFrameOnly; @@ -102,10 +103,10 @@ struct FVideoSubscriptionOptions <text conref="../conref/conref_api_metadata.dita#conref_api_metadata/property"/> - streamType + streamType type 订阅的视频流类型,默认值为 ,即订阅视频大流。详见 - 订阅的视频流类型: + 订阅的视频流类型:

                                                                                                                                                                                          • (0): (默认)视频大流,即高分辨率、高码率视频流。
                                                                                                                                                                                          • (1): 视频小流,即低分辨率、低码率视频流。
                                                                                                                                                                                          • diff --git a/dita/RTC-NG/API/class_videoviewcontroller.dita b/dita/RTC-NG/API/class_videoviewcontroller.dita index 6f6154db098..3342d93910e 100644 --- a/dita/RTC-NG/API/class_videoviewcontroller.dita +++ b/dita/RTC-NG/API/class_videoviewcontroller.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_videoviewcontrollerbase.dita b/dita/RTC-NG/API/class_videoviewcontrollerbase.dita index a11b14f7689..850efb41043 100644 --- a/dita/RTC-NG/API/class_videoviewcontrollerbase.dita +++ b/dita/RTC-NG/API/class_videoviewcontrollerbase.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                            + diff --git a/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/dita/RTC-NG/API/class_virtualbackgroundsource.dita index e604a1bbd80..2a797f32b78 100644 --- a/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -34,6 +34,16 @@ } } + export class VirtualBackgroundSource { + + public backgroundSourceType: Constants.VirtualBackgroundType = Constants.VirtualBackgroundType.COLOR; + + public color:number = 0xffffff; + + public source:string | null = null; + + public blurDegree:Constants.VirtualBackgroundBlurDegree = Constants.VirtualBackgroundBlurDegree.HIGH; +} __attribute__((visibility("default"))) @interface AgoraVirtualBackgroundSource : NSObject @property(nonatomic, assign) AgoraVirtualBackgroundSourceType backgroundSourceType NS_SWIFT_NAME(backgroundSourceType); @property(nonatomic, assign) NSUInteger color NS_SWIFT_NAME(color); @@ -133,7 +143,7 @@ struct FVirtualBackgroundSource backgroundSourceType background_source_type 自定义的背景。详见 -

                                                                                                                                                                                              +
                                                                                                                                                                                              • (0):将背景处理为 alpha 信息,不进行替换,仅分割人像和背景。设置后,你可以调用 ,实现人像画中画的效果。
                                                                                                                                                                                              • (1):(默认)背景为纯色。
                                                                                                                                                                                              • (2):背景为 PNG、JPG 格式的图片。
                                                                                                                                                                                              • @@ -160,7 +170,7 @@ struct FVirtualBackgroundSource blurDegree blur_degree 自定义背景图的模糊程度。详见 -
                                                                                                                                                                                                  +
                                                                                                                                                                                                  • (1):自定义背景图的虚化程度为低。用户差不多能看清背景。
                                                                                                                                                                                                  • (2):自定义背景图的虚化程度为中。用户较难看清背景。
                                                                                                                                                                                                  • (3):(默认)自定义背景图的虚化程度为高。用户很难看清背景。
                                                                                                                                                                                                  • diff --git a/dita/RTC-NG/API/class_watermarkoptions.dita b/dita/RTC-NG/API/class_watermarkoptions.dita index 07d7bc44cfe..1d65e8ff6ff 100644 --- a/dita/RTC-NG/API/class_watermarkoptions.dita +++ b/dita/RTC-NG/API/class_watermarkoptions.dita @@ -30,6 +30,7 @@ public Rectangle positionInPortraitMode = new Rectangle(); } + __attribute__((visibility("default"))) @interface WatermarkOptions : NSObject @property(assign, nonatomic) BOOL visibleInPreview; @property(assign, nonatomic) CGRect positionInLandscapeMode; @@ -163,7 +164,7 @@ class WatermarkOptions { positionInLandscapeMode - 横屏模式下,显示水印图片的区域。详见 + 横屏模式下,显示水印图片的区域。详见 水印的适配模式为 时,用于设置横屏模式下水印图片的区域。详见 横屏模式下,显示水印图片的区域。该参数包含以下成员:
                                                                                                                                                                                                      @@ -175,7 +176,7 @@ class WatermarkOptions { positionInPortraitMode - 竖屏模式下,显示水印图片的区域。详见 + 竖屏模式下,显示水印图片的区域。详见 水印的适配模式为 时,用于设置竖屏模式下水印图片的区域。详见 竖屏模式下,显示水印图片的区域。该参数包含以下成员:
                                                                                                                                                                                                        diff --git a/dita/RTC-NG/API/class_watermarkratio.dita b/dita/RTC-NG/API/class_watermarkratio.dita index 00f2b5b15b9..9052e04462a 100644 --- a/dita/RTC-NG/API/class_watermarkratio.dita +++ b/dita/RTC-NG/API/class_watermarkratio.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                                        + struct WatermarkRatio { float xRatio; diff --git a/dita/RTC-NG/API/class_windowinfo.dita b/dita/RTC-NG/API/class_windowinfo.dita index 053825e49dd..ad13269991a 100644 --- a/dita/RTC-NG/API/class_windowinfo.dita +++ b/dita/RTC-NG/API/class_windowinfo.dita @@ -7,6 +7,7 @@

                                                                                                                                                                                                        + diff --git a/dita/RTC-NG/API/construct_videoviewcontroller.dita b/dita/RTC-NG/API/construct_videoviewcontroller.dita index 05270543ddf..636424b8f78 100644 --- a/dita/RTC-NG/API/construct_videoviewcontroller.dita +++ b/dita/RTC-NG/API/construct_videoviewcontroller.dita @@ -14,6 +14,7 @@

                                                                                                                                                                                                        + diff --git a/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita b/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita index c140a3808b1..5e75dcbdd84 100644 --- a/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita +++ b/dita/RTC-NG/API/construct_videoviewcontroller_remote.dita @@ -14,6 +14,7 @@

                                                                                                                                                                                                        + diff --git a/dita/RTC-NG/API/enum_audioscenariotype.dita b/dita/RTC-NG/API/enum_audioscenariotype.dita index 94bd2ec054d..1353ae77993 100644 --- a/dita/RTC-NG/API/enum_audioscenariotype.dita +++ b/dita/RTC-NG/API/enum_audioscenariotype.dita @@ -22,7 +22,7 @@ 7: 合唱场景。适用于网络条件良好,要求极低延时的实时合唱场景。 - 使用该枚举前,你需要调用 获取音频设备是否支持极低延时采集和播放。只有在支持极低延时(isLowLatencyAudioSupported = )的音频设备上,才能够体验到极低延时。 + 使用该枚举前,你需要调用 获取音频设备是否支持极低延时采集和播放。只有在支持极低延时(isLowLatencyAudioSupported = )的音频设备上,才能够体验到极低延时。 diff --git a/dita/RTC-NG/API/enum_cameradirection.dita b/dita/RTC-NG/API/enum_cameradirection.dita index 7d9f042c7a4..532af86c713 100644 --- a/dita/RTC-NG/API/enum_cameradirection.dita +++ b/dita/RTC-NG/API/enum_cameradirection.dita @@ -15,7 +15,7 @@ 1: (默认)前置摄像头。 - + 2: 外接摄像头。 diff --git a/dita/RTC-NG/API/enum_channelprofiletype.dita b/dita/RTC-NG/API/enum_channelprofiletype.dita index efc60a3dfb8..531b1edc4f2 100644 --- a/dita/RTC-NG/API/enum_channelprofiletype.dita +++ b/dita/RTC-NG/API/enum_channelprofiletype.dita @@ -15,7 +15,7 @@ 1:(默认)直播场景。 - + 2: (已废弃)游戏场景。

                                                                                                                                                                                                        @@ -25,7 +25,7 @@
                                                                                                                                                                                                        - + 3: 互动场景。该场景对延时进行了优化。如果你的场景中有用户需要频繁互动,建议使用该场景。
                                                                                                                                                                                                        diff --git a/dita/RTC-NG/API/enum_errorcodetype.dita b/dita/RTC-NG/API/enum_errorcodetype.dita index b3bfe83a274..29547c8d468 100644 --- a/dita/RTC-NG/API/enum_errorcodetype.dita +++ b/dita/RTC-NG/API/enum_errorcodetype.dita @@ -41,7 +41,7 @@
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • Android 平台调用 方法时,如果设备版本低于 Android 5.0,会上报该错误码。请确认 Android 设备版本。
                                                                                                                                                                                                        • 使用内置加密时,设置的加密模式不正确,或加载外部加密库失败。请检查加密的枚举值是否正确,或重新加载外部加密库。
                                                                                                                                                                                                        diff --git a/dita/RTC-NG/API/enum_mediaplayerevent.dita b/dita/RTC-NG/API/enum_mediaplayerevent.dita index de00b04c1d3..a400bd73600 100644 --- a/dita/RTC-NG/API/enum_mediaplayerevent.dita +++ b/dita/RTC-NG/API/enum_mediaplayerevent.dita @@ -7,7 +7,7 @@
                                                                                                                                                                                                        枚举值 - + -1: 未知事件。 diff --git a/dita/RTC-NG/API/enum_mediaplayerstate.dita b/dita/RTC-NG/API/enum_mediaplayerstate.dita index 6e98aa210e1..494679a9f41 100644 --- a/dita/RTC-NG/API/enum_mediaplayerstate.dita +++ b/dita/RTC-NG/API/enum_mediaplayerstate.dita @@ -7,7 +7,7 @@
                                                                                                                                                                                                        枚举值 - + -1: 未知状态。 diff --git a/dita/RTC-NG/API/enum_qualitytype.dita b/dita/RTC-NG/API/enum_qualitytype.dita index 83e1d259f48..a63c2528926 100644 --- a/dita/RTC-NG/API/enum_qualitytype.dita +++ b/dita/RTC-NG/API/enum_qualitytype.dita @@ -39,7 +39,7 @@ 7: 暂时无法检测网络质量(未使用)。 - + 8: 网络质量检测已开始还没完成。 diff --git a/dita/RTC-NG/API/enum_videocodectype.dita b/dita/RTC-NG/API/enum_videocodectype.dita index 0da15ae3c89..b49a248a3e8 100644 --- a/dita/RTC-NG/API/enum_videocodectype.dita +++ b/dita/RTC-NG/API/enum_videocodectype.dita @@ -7,11 +7,11 @@
                                                                                                                                                                                                        枚举值 - + 0:(默认)不指定编解码格式。SDK 会根据当前视频流的分辨率、设备性能自动匹配适合的编解码格式。 - + 1:标准 VP8。 @@ -23,7 +23,7 @@ 3:标准 H.265。 - +

                                                                                                                                                                                                        6:Generic。

                                                                                                                                                                                                        @@ -34,7 +34,7 @@ 12:AV1。
                                                                                                                                                                                                        - + 20:Generic JPEG。

                                                                                                                                                                                                        本类型所需的算力较小,可用于算力有限的 IoT 设备。

                                                                                                                                                                                                        diff --git a/dita/RTC-NG/API/enum_videocontenthint.dita b/dita/RTC-NG/API/enum_videocontenthint.dita index d6592bc4a8d..5117b87c1d7 100644 --- a/dita/RTC-NG/API/enum_videocontenthint.dita +++ b/dita/RTC-NG/API/enum_videocontenthint.dita @@ -7,7 +7,7 @@
                                                                                                                                                                                                        枚举值 - + (默认)无指定的内容类型。 diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index d6ab18ca25b..d0ecf8c56ac 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -254,6 +254,107 @@
                                                                                                                                                                                                      +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • @@ -561,100 +662,100 @@
                                                                                                                                                                                                        -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • @@ -1204,7 +1305,51 @@
                                                                                                                                                                                                    -
                                                                                                                                                                                                      +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      • @@ -1604,142 +1749,142 @@
                                                                                                                                                                                                        -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita index 95c3edca7f1..e06396db4d4 100644 --- a/dita/RTC-NG/API/rtc_api_overview.dita +++ b/dita/RTC-NG/API/rtc_api_overview.dita @@ -16,11 +16,11 @@ - + - + 创建并初始化 初始化 @@ -57,7 +57,7 @@ - + @@ -73,15 +73,15 @@ - + - + - + @@ -93,15 +93,15 @@ - + - + - + @@ -109,7 +109,7 @@ - + @@ -145,11 +145,11 @@ - + - + @@ -161,11 +161,11 @@ - + - + @@ -186,7 +186,7 @@ - + @@ -194,7 +194,7 @@ - + @@ -202,7 +202,7 @@ - + @@ -210,7 +210,7 @@ - + @@ -218,7 +218,7 @@ - + @@ -226,59 +226,59 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -291,11 +291,11 @@ 方法/回调 描述 - + - + @@ -315,7 +315,7 @@ - + @@ -339,7 +339,7 @@ - + @@ -347,15 +347,15 @@ - + - + - + @@ -412,7 +412,7 @@ - + @@ -426,7 +426,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            音频前处理和后处理 @@ -497,7 +497,7 @@ - + @@ -509,7 +509,7 @@ - + @@ -562,7 +562,7 @@ - + @@ -624,7 +624,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            已编码音频数据 @@ -668,11 +668,11 @@ - + - + @@ -696,15 +696,15 @@ - + - + - + @@ -726,7 +726,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            音频频谱 @@ -774,7 +774,7 @@ - + @@ -786,11 +786,11 @@ - + - + @@ -810,11 +810,11 @@ - + - + @@ -830,23 +830,23 @@ - + - + - + - + - + @@ -908,7 +908,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -962,30 +962,30 @@ 描述 - - + + - + - + - + - + - + @@ -993,7 +993,7 @@ - + @@ -1001,7 +1001,7 @@ - + @@ -1009,7 +1009,7 @@ - + @@ -1017,7 +1017,7 @@ - + @@ -1025,7 +1025,7 @@ - + @@ -1041,23 +1041,23 @@ - + - + - + - + - + @@ -1086,7 +1086,7 @@ - + @@ -1094,15 +1094,15 @@ - + - + - + @@ -1118,7 +1118,7 @@ - + @@ -1139,7 +1139,7 @@ - + @@ -1155,7 +1155,7 @@ - + @@ -1175,15 +1175,15 @@ - + - + - + @@ -1195,13 +1195,13 @@ - +
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            原始视频数据 @@ -1254,7 +1254,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            已编码视频数据 @@ -1306,7 +1306,7 @@ - + @@ -1323,7 +1323,7 @@ 方法/回调 描述 - + @@ -1351,19 +1351,19 @@ - + - + - + - + @@ -1375,27 +1375,27 @@ - + - + - + - + - + - + @@ -1409,14 +1409,14 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            音效文件播放 方法/回调 描述 - + @@ -1444,7 +1444,7 @@ - + @@ -1543,11 +1543,11 @@ 方法/回调 描述 - + - + @@ -1581,7 +1581,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            媒体播放器缓存 @@ -1654,11 +1654,11 @@ - + - + @@ -1670,7 +1670,7 @@ - + @@ -1682,7 +1682,7 @@ - + @@ -1690,7 +1690,7 @@ - + @@ -1722,7 +1722,7 @@ - + @@ -1730,7 +1730,7 @@ - + @@ -1742,15 +1742,15 @@ - + - + - + @@ -1758,7 +1758,7 @@ - + @@ -1778,7 +1778,7 @@ - + @@ -1864,7 +1864,7 @@ - + @@ -1872,27 +1872,27 @@ - + - + - + - + - + - + @@ -1905,11 +1905,11 @@ 方法/回调 描述 - + - + @@ -1917,7 +1917,7 @@ - + @@ -1925,7 +1925,7 @@ - + @@ -1933,7 +1933,7 @@ - + @@ -1959,7 +1959,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            直推 CDN @@ -2003,7 +2003,7 @@ 方法/回调 描述 - + @@ -2044,7 +2044,7 @@ - + @@ -2072,7 +2072,7 @@ - + @@ -2090,7 +2090,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            音频路由

                                                                                                                                                                                            该组方法仅适用于 Android 和 iOS 平台。

                                                                                                                                                                                            @@ -2110,11 +2110,11 @@ - + - + @@ -2196,7 +2196,7 @@
                                                                                                                                                                                            -
                                                                                                                                                                                            +
                                                                                                                                                                                            视频设备管理 @@ -2207,7 +2207,7 @@ (仅适用于 iOS) - + (仅适用于 Android 和 iOS) @@ -2215,7 +2215,7 @@ - + (仅适用于 Android 和 iOS) @@ -2223,11 +2223,11 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2235,7 +2235,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2243,7 +2243,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2251,7 +2251,7 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2259,15 +2259,15 @@ (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2275,7 +2275,7 @@ (仅适用于 iOS) - + (仅适用于 Android 和 iOS) @@ -2283,11 +2283,11 @@ (仅适用于 iOS) - + (仅适用于 Android 和 iOS) - + (仅适用于 Android 和 iOS) @@ -2295,7 +2295,7 @@ (仅适用于 Andorid 和 iOS) - + @@ -2368,19 +2368,19 @@ 方法/回调 描述 - + - + - + - + @@ -2560,7 +2560,7 @@ (仅适用于 Windows 和 macOS) - + (仅适用于 Android) @@ -2580,7 +2580,7 @@ - + @@ -2592,27 +2592,27 @@ - + - + - + - + - + - + @@ -2629,19 +2629,19 @@ 方法/回调 描述 - + - + - + - + @@ -2665,21 +2665,21 @@ - + - - + + - + - - + + @@ -2697,35 +2697,35 @@ - + - + - + - + - + - + - + - + @@ -2745,11 +2745,11 @@ - + - + @@ -2757,7 +2757,7 @@ - + @@ -2765,15 +2765,15 @@ - + - + - + @@ -2785,7 +2785,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_Harmony.ditamap b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap new file mode 100644 index 00000000000..89121d8e9b9 --- /dev/null +++ b/dita/RTC-NG/RTC_NG_API_Harmony.ditamap @@ -0,0 +1,745 @@ + + + + Harmony API Reference + + Harmony API Reference + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dita/RTC-NG/config/filter-android-rtc-ng.ditaval b/dita/RTC-NG/config/filter-android-rtc-ng.ditaval index 9d78bb11bda..0982b2d491c 100644 --- a/dita/RTC-NG/config/filter-android-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-android-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval b/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval index 68623aea213..7d12b281eb4 100644 --- a/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval b/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval index 750dc630666..7f0401e0c09 100644 --- a/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval @@ -7,6 +7,7 @@ + diff --git a/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval b/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval index 3a9e2bb7bb4..f3edeb10b30 100644 --- a/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval @@ -7,6 +7,7 @@ + diff --git a/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval b/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval index 14d29cd2bb4..e61090f8601 100644 --- a/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval b/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval index 04732e6de4f..c505d0f0e73 100644 --- a/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval b/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval new file mode 100644 index 00000000000..ad4319cf136 --- /dev/null +++ b/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval b/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval index 6fd1f8f083d..603ae469846 100644 --- a/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval b/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval index 77286d24016..ae576149ed5 100644 --- a/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval b/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval index 2f05c54f39a..315868ac62c 100644 --- a/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval b/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval index 508e0456074..46a139019b3 100644 --- a/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval b/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval index 1589d6d4db0..f23dd0603b7 100644 --- a/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval +++ b/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap new file mode 100644 index 00000000000..941946da7f6 --- /dev/null +++ b/dita/RTC-NG/config/keys-rtc-ng-api-harmony.ditamap @@ -0,0 +1,12106 @@ + + + + Keys RTC HarmonyOS API + + + + HarmonyOS + + + + + + + ArkTS + + + + + + + Agora ArkTS API Reference for HarmonyOS + + + + + + + 参数 + Parameters + + + + + + + 返回值 + Returns + + + + + + + + RtcEngine + + + + + + + RtcEngineEx + + + + + + + IRtcEngineEventHandler + + + + + + + IRtcEngineEventHandlerEx + + + + + + + IAudioEncodedFrameObserver + + + + + + + IAudioEffectManager + + + + + + + IAudioFrameObserver + + + + + + + IMediaExtensionObserver + + + + + + + IMediaPlayer + + + + + + + IMediaPlayerCacheManager + + + + + + + IMediaPlayerAudioFrameObserver + + + + + + + IMediaPlayerVideoFrameObserver + + + + + + + IMediaPlayerCustomDataProvider + + + + + + + IMediaPlayerObserver + + + + + + + AgoraMediaRecorder + + + + + + + IMediaRecorderCallback + + + + + + + IMetadataObserver + + + + + + + IVideoEncodedFrameObserver + + + + + + + IVideoFrameObserver + + + + + + + IFaceInfoObserver + + + + + + + IAudioSpectrumObserver + + + + + + + IBaseSpatialAudioEngine + + + + + + + ILocalSpatialAudioEngine + + + + + + + AudioParams + + + + + + + IMusicContentCenterEventHandler + + + + + + + IAgoraMusicPlayer + + + + + + + IAgoraMusicContentCenter + + + + + + + + + + createEngine + + + + + + + create + + + + + + + destroy + + + + + + + setChannelProfile + + + + + + + + setClientRole + + + + + + + joinChannel + + + + + + + joinChannelWithOptions + + + + + + + updateChannelMediaOptions + + + + + + + + leaveChannel + + + + + + + preloadChannel + + + + + + + preloadChannelWithUserAccount + + + + + + + renewToken + + + + + + + getConnectionState + + + + + + + registerLocalUserAccount + + + + + + + joinChannelWithUserAccount [1/2] + + + + + + + joinChannelWithUserAccount + + + + + + + getUserInfoByUid + + + + + + + getUserInfoByUserAccount + + + + + + + enableWebSdkInteroperability + + + + + + + startMediaRenderingTracing + + + + + + + startMediaRenderingTracingEx + + + + + + + enableInstantMediaRendering + + + + + + + + + createMediaPlayer + + + + + + + destroy + + + + + + + enableAutoRemoveCache + + + + + + + adjustPlayoutVolume + + + + + + + adjustPublishSignalVolume + + + + + + + getPlaySrc [1/2] + + + + + + + getPlaySrc + + + + + + + getCacheDir + + + + + + + getCacheFileCount + + + + + + + getDuration + + + + + + + getMaxCacheFileCount + + + + + + + getMaxCacheFileSize + + + + + + + getMediaPlayerCacheManager + + + + + + + getMediaPlayerId + + + + + + + getMute + + + + + + + getPlayoutVolume + + + + + + + getPlayPosition + + + + + + + getPublishSignalVolume + + + + + + + getState + + + + + + + getStreamCount + + + + + + + getStreamInfo + + + + + + + mute + + + + + + + open [1/2] + + + + + + + open + + + + + + + pause + + + + + + + play + + + + + + + removeAllCaches + + + + + + + removeCacheByUri + + + + + + + removeOldCache + + + + + + + registerAudioFrameObserver + + + + + + + registerVideoFrameObserver + + + + + + + registerPlayerObserver + + + + + + + resume + + + + + + + seek + + + + + + + selectAudioTrack + + + + + + + selectAudioTrack + + + + + + + selectMultiAudioTrack + + + + + + + setAudioDualMonoMode + + + + + + + setAudioPitch + + + + + + + setCacheDir + + + + + + + setLoopCount + + + + + + + setMaxCacheFileCount + + + + + + + setMaxCacheFileSize + + + + + + + setPlaybackSpeed + + + + + + + setPlayerOption + + + + + + + setPlayerOptionString + + + + + + + setRenderMode + + + + + + + setView + + + + + + + stop + + + + + + + unRegisterPlayerObserver + + + + + + + openWithCustomSource + + + + + + + openWithAgoraCDNSrc + + + + + + + openWithMediaSource + + + + + + + getAgoraCDNLineCount + + + + + + + getCurrentAgoraCDNIndex + + + + + + + switchAgoraCDNLineByIndex + + + + + + + enableAutoSwitchAgoraCDN + + + + + + + switchAgoraCDNSrc + + + + + + + renewAgoraCDNSrcToken + + + + + + + switchSrc + + + + + + + preloadSrc + + + + + + + unloadSrc + + + + + + + playPreloadedSrc + + + + + + + + + enableAudio + + + + + + + enableAudioQualityIndication + + + + + + + disableAudio + + + + + + + setAudioProfile [1/2] + + + + + + + setAudioProfile + + + + + + + setAudioScenario + + + + + + + adjustRecordingSignalVolume + + + + + + + adjustUserPlaybackSignalVolume + + + + + + + adjustPlaybackSignalVolume + + + + + + + adjustCustomAudioPlayoutVolume + + + + + + + adjustCustomAudioPublishVolume + + + + + + + enableLocalAudio + + + + + + + muteLocalAudioStream + + + + + + + muteRemoteAudioStream + + + + + + + muteAllRemoteAudioStreams + + + + + + + muteRecordingSignal + + + + + + + setSubscribeAudioBlocklist + + + + + + + setSubscribeAudioAllowlist + + + + + + + + + enableVideo + + + + + + + disableVideo + + + + + + + setSubscribeVideoBlocklist + + + + + + + setSubscribeVideoAllowlist + + + + + + + setVideoScenario + + + + + + + setVideoEncoderConfiguration + + + + + + + setupLocalVideo + + + + + + + setupRemoteVideo + + + + + + + + setLocalRenderMode + + + + + + + setRemoteRenderMode [1/2] + + + + + + + setRemoteRenderMode + + + + + + + setRemoteVideoSubscriptionOptions + + + + + + + CreateRendererView + + + + + + + CreateTextureView + + + + + + + + startPreview + + + + + + + + stopPreview + + + + + + + enableLocalVideo + + + + + + + muteLocalVideoStream + + + + + + + muteRemoteVideoStream + + + + + + + muteAllRemoteVideoStreams + + + + + + + + queryCodecCapability + + + + + + + + setAdvancedAudioOptions + + + + + + + setAINSMode + + + + + + + + + setBeautyEffectOptions [1/2] + + + + + + + setBeautyEffectOptions + + + + + + + + enableVirtualBackground + + + + + + + setLowlightEnhanceOptions [1/2] + + + + + + + setLowlightEnhanceOptions + + + + + + + setVideoDenoiserOptions [1/2] + + + + + + + setVideoDenoiserOptions + + + + + + + setColorEnhanceOptions [1/2] + + + + + + + setColorEnhanceOptions + + + + + + + registerFaceInfoObserver + + + + + + + + + addVideoWatermarkEx + + + + + + + adjustUserPlaybackSignalVolumeEx + + + + + + + clearVideoWatermarkEx + + + + + + + createDataStreamEx [1/2] + + + + + + + createDataStreamEx + + + + + + + enableAudioVolumeIndicationEx + + + + + + + getConnectionStateEx + + + + + + + getUserInfoByUid + + + + + + + getUserInfoByUserAccount + + + + + + + joinChannelEx + + + + + + + joinChannelWithUserAccountEx + + + + + + + + leaveChannelEx + + + + + + + muteRemoteAudioStreamEx + + + + + + + muteRemoteVideoStreamEx + + + + + + + pushExternalAudioFrameEx + + + + + + + pushExternalEncodedVideoFrameEx + + + + + + + sendCustomReportMessageEx + + + + + + + sendStreamMessageEx + + + + + + + setRemoteRenderModeEx + + + + + + + setRemoteVoice3DPositionEx + + + + + + + setRemoteVideoStreamTypeEx + + + + + + + setRemoteVideoSubscriptionOptionsEx + + + + + + + setRemoteVoicePositionEx + + + + + + + setSubscribeAudioBlocklistEx + + + + + + + setSubscribeAudioAllowlistEx + + + + + + + setSubscribeVideoBlocklistEx + + + + + + + setSubscribeVideoAllowlistEx + + + + + + + setupRemoteVideoEx + + + + + + + setVideoEncoderConfigurationEx + + + + + + + takeSnapshotEx + + + + + + + updateChannelMediaOptionsEx + + + + + + + updatePreloadChannelToken + + + + + + + startRtmpStreamWithoutTranscodingEx + + + + + + + startRtmpStreamWithTranscodingEx + + + + + + + updateRtmpTranscodingEx + + + + + + + stopRtmpStreamEx + + + + + + + startOrUpdateChannelMediaRelayEx + + + + + + + pauseAllChannelMediaRelayEx + + + + + + + muteLocalAudioStreamEx + + + + + + + muteLocalVideoStreamEx + + + + + + + muteAllRemoteAudioStreamsEx + + + + + + + muteAllRemoteVideoStreamsEx + + + + + + + stopChannelMediaRelayEx + + + + + + + resumeAllChannelMediaRelayEx + + + + + + + + + startScreenCapture + + + + + + + stopScreenCapture + + + + + + + updateScreenCaptureParameters + + + + + + + startScreenCaptureByDisplayId + + + + + + + queryScreenCaptureCapability + + + + + + + setScreenCaptureScenario + + + + + + + + + setAudioMixingDualMonoMode + + + + + + + setAudioMixingPlaybackSpeed + + + + + + + + startAudioMixing + + + + + + + stopAudioMixing + + + + + + + pauseAudioMixing + + + + + + + resumeAudioMixing + + + + + + + adjustAudioMixingVolume + + + + + + + adjustAudioMixingPlayoutVolume + + + + + + + adjustAudioMixingPublishVolume + + + + + + + getAudioMixingPlayoutVolume + + + + + + + getAudioMixingPublishVolume + + + + + + + getAudioMixingDuration + + + + + + + getAudioMixingCurrentPosition + + + + + + + getAudioTrackCount + + + + + + + setAudioMixingPitch + + + + + + + setAudioMixingPosition + + + + + + + + + getAudioEffectManager + + + + + + + getEffectsVolume + + + + + + + setEffectsVolume + + + + + + + setVolumeOfEffect + + + + + + + getVolumeOfEffect + + + + + + + + playEffect + + + + + + + stopEffect + + + + + + + stopAllEffects + + + + + + + preloadEffect + + + + + + + unloadEffect + + + + + + + pauseEffect + + + + + + + pauseAllEffects + + + + + + + resumeEffect + + + + + + + resumeAllEffects + + + + + + + setEffectPosition + + + + + + + getEffectDuration + + + + + + + getEffectCurrentPosition + + + + + + + + + startRhythmPlayer + + + + + + + stopRhythmPlayer + + + + + + + configRhythmPlayer + + + + + + + + + setLocalVoicePitch + + + + + + + setLocalVoiceEqualization + + + + + + + setLocalVoiceReverb + + + + + + + setVoiceBeautifierPreset + + + + + + + setVoiceBeautifierParameters + + + + + + + setAudioEffectPreset + + + + + + + setAudioEffectParameters + + + + + + + setLocalVoiceFormant + + + + + + + setVoiceConversionPreset + + + + + + + + + enableSoundPositionIndication + + + + + + + setRemoteVoice3DPosition + + + + + + + setRemoteVoicePosition + + + + + + + + + muteLocalAudioStream + + + + + + + muteAllRemoteAudioStreams + + + + + + + setAudioRecvRange + + + + + + + setDistanceUnit + + + + + + + setMaxAudioRecvCount + + + + + + + updatePlayerPositionInfo + + + + + + + updateSelfPosition + + + + + + + setZones + + + + + + + setPlayerAttenuation + + + + + + + setRemoteAudioAttenuation + + + + + + + + + clearRemotePositions + + + + + + + create + + + + + + + initialize + + + + + + + destroy + + + + + + + removeRemotePosition + + + + + + + updateRemotePosition + + + + + + + + + enableSpatialAudio + + + + + + + setRemoteUserSpatialAudioParams + + + + + + + setSpatialAudioParams + + + + + + + + + + startRtmpStreamWithoutTranscoding + + + + + + + startRtmpStreamWithTranscoding + + + + + + + updateRtmpTranscoding + + + + + + + stopRtmpStream + + + + + + + addBackgroundImage + + + + + + + addUser + + + + + + + addWatermark + + + + + + + getAdvancedFeatures + + + + + + + getBackgroundColor + + + + + + + getBackgroundImageList + + + + + + + getBlue + + + + + + + getGreen + + + + + + + getRed + + + + + + + getUserCount + + + + + + + getUsers + + + + + + + getWatermarkList + + + + + + + removeBackgroundImage + + + + + + + removeUser + + + + + + + removeWatermark + + + + + + + setAdvancedFeatures + + + + + + + setBackgroundColor [1/2] + + + + + + + setBackgroundColor + + + + + + + setBlue + + + + + + + setDirectCdnStreamingAudioConfiguration + + + + + + + setDirectCdnStreamingVideoConfiguration + + + + + + + setGreen + + + + + + + setLiveTranscoding + + + + + + + setRed + + + + + + + setUsers [1/2] + + + + + + + setUsers + + + + + + + startDirectCdnStreaming + + + + + + + stopDirectCdnStreaming + + + + + + + updateDirectCdnStreamingMediaOptions + + + + + + + + + pauseAllChannelMediaRelay + + + + + + + resumeAllChannelMediaRelay + + + + + + + startOrUpdateChannelMediaRelay + + + + + + + stopChannelMediaRelay + + + + + + + setSrcChannelInfo + + + + + + + setDestChannelInfo + + + + + + + getDestChannelMediaInfos + + + + + + + getSrcChannelMediaInfo + + + + + + + removeDestChannelInfo + + + + + + + + + enableAudioVolumeIndication + + + + + + + + + enableFaceDetection + + + + + + + isCameraFaceDetectSupported + + + + + + + + + setDefaultAudioRouteToSpeakerphone + + + + + + + setEnableSpeakerphone + + + + + + + setRouteInCommunicationMode + + + + + + + isSpeakerphoneEnabled + + + + + + + + + + enableInEarMonitoring + + + + + + + setEarMonitoringAudioFrameParameters + + + + + + + setInEarMonitoringVolume + + + + + + + setHeadphoneEQParameters + + + + + + + setHeadphoneEQPreset + + + + + + + + + enableDualStreamMode [1/2] + + + + + + + + enableDualStreamMode + + + + + + + enableDualStreamModeEx + + + + + + + setDualStreamMode [1/2] + + + + + + + setDualStreamMode + + + + + + + setDualStreamModeEx + + + + + + + setRemoteVideoStreamType + + + + + + + setRemoteDefaultVideoStreamType + + + + + + + + + setRemoteSubscribeFallbackOption + + + + + + + + + startEchoTest [1/3] + + + + + + + startEchoTest [2/3] + + + + + + + startEchoTest [3/3] + + + + + + + stopEchoTest + + + + + + + startLastmileProbeTest + + + + + + + stopLastmileProbeTest + + + + + + + + + createCustomVideoTrack + + + + + + + destroyCustomVideoTrack + + + + + + + setExternalVideoSource + + + + + + + pushExternalVideoFrameById [1/2] + + + + + + + + + pushExternalVideoFrame + + + + + + + pushExternalEncodedVideoFrame + + + + + + + isTextureEncodeSupported + + + + + + + getCurrentMonotonicTimeInMs + + + + + + + + + createCustomAudioTrack + + + + + + + destroyCustomAudioTrack + + + + + + + enableCustomAudioLocalPlayback + + + + + + + setExternalAudioSource [1/2] + + + + + + + setExternalAudioSource + + + + + + + pushExternalAudioFrame [1/2] + + + + + + + pushExternalAudioFrame + + + + + + + + + startCameraCapture + + + + + + + stopCameraCapture + + + + + + + + + setExternalAudioSink + + + + + + + pullPlaybackAudioFrame [1/2] + + + + + + + pullPlaybackAudioFrame + + + + + + + + + registerAudioEncodedFrameObserver + + + + + + + onPlaybackAudioEncodedFrame + + + + + + + onRecordAudioEncodedFrame + + + + + + + onMixedAudioEncodedFrame + + + + + + + + + registerVideoFrameObserver + + + + + + + onEncodedVideoFrameReceived + + + + + + + + + registerAudioFrameObserver + + + + + + + setRecordingAudioFrameParameters + + + + + + + setPlaybackAudioFrameParameters + + + + + + + setMixedAudioFrameParameters + + + + + + + setPlaybackAudioFrameBeforeMixingParameters + + + + + + + + + registerVideoEncodedFrameObserver + + + + + + + + + addExtension + + + + + + + enableExtension + + + + + + + getExtensionProperty [1/2] + + + + + + + getExtensionProperty + + + + + + + registerExtension + + + + + + + setExtensionProperty + + + + + + + setExtensionProviderProperty + + + + + + + onEvent + + + + + + + onStarted + + + + + + + onStopped + + + + + + + onError + + + + + + + + + startLocalVideoTranscoder + + + + + + + stopLocalVideoTranscoder + + + + + + + updateLocalTranscoderConfiguration + + + + + + + + + registerMediaMetadataObserver + + + + + + + unregisterMediaMetadataObserver + + + + + + + + + addVideoWatermark [1/2] + + + + + + + addVideoWatermark + + + + + + + clearVideoWatermarks + + + + + + + + + enableEncryption + + + + + + + enableEncryptionEx + + + + + + + setEncryptionMode + + + + + + + setEncryptionSecret + + + + + + + + + startAudioRecording + + + + + + + startAudioRecordingWithConfiguration + + + + + + + stopAudioRecording + + + + + + + + + createMediaRecorder + + + + + + + destroyMediaRecorder + + + + + + + setMediaRecorderObserver + + + + + + + startRecording + + + + + + + stopRecording + + + + + + + + + onRecorderStateChanged + + + + + + + onRecorderInfoUpdated + + + + + + + + + switchCamera + + + + + + + queryCameraFocalLengthCapability + + + + + + + getCameraMaxZoomFactor + + + + + + + isCameraZoomSupported + + + + + + + isCameraTorchSupported + + + + + + + isCameraFocusSupported + + + + + + + isCameraExposurePositionSupported + + + + + + + isCameraExposureSupported + + + + + + + isCameraAutoFocusFaceModeSupported + + + + + + + setCameraZoomFactor + + + + + + + setCameraFocusPositionInPreview + + + + + + + setCameraExposureFactor + + + + + + + setCameraExposurePosition + + + + + + + setCameraTorchOn + + + + + + + setCameraAutoFocusFaceModeEnabled + + + + + + + + + getAudioDeviceInfo + + + + + + + startPlaybackDeviceTest + + + + + + + stopPlaybackDeviceTest + + + + + + + startRecordingDeviceTest + + + + + + + stopRecordingDeviceTest + + + + + + + + + + createDataStream + + + + + + + sendStreamMessage + + + + + + + + + disableAudioSpectrumMonitor + + + + + + + enableAudioSpectrumMonitor + + + + + + + registerAudioSpectrumObserver + + + + + + + unregisterAudioSpectrumObserver + + + + + + + + + enableEchoCancellationExternal + + + + + + + + + setCameraCapturerConfiguration + + + + + + + setLocalVideoMirrorMode + + + + + + + + + open + + + + + + + open2 + + + + + + + stop + + + + + + + preload [1/2] + + + + + + + preload + + + + + + + isPreloaded + + + + + + + initialize + + + + + + + release + + + + + + + destroy + + + + + + + renewToken + + + + + + + unregisterEventHandler + + + + + + + registerEventHandler + + + + + + + createMusicPlayer + + + + + + + getLyric + + + + + + + getMusicCharts + + + + + + + getMusicCollectionByMusicChartId [1/2] + + + + + + + getMusicCollectionByMusicChartId + + + + + + + getCaches + + + + + + + removeCache + + + + + + + getInternalSongCode + + + + + + + getSongSimpleInfo + + + + + + + searchMusic [1/2] + + + + + + + searchMusic + + + + + + + + + onPreLoadEvent + + + + + + + onMusicChartsResult + + + + + + + onMusicCollectionResult + + + + + + + onLyricResult + + + + + + + onSongSimpleInfoResult + + + + + + + + + takeSnapshot + + + + + + + enableContentInspect + + + + + + + enableContentInspectEx + + + + + + + + + enableVideoImageSource + + + + + + + removeInjectStreamUrl + + + + + + + setAVSyncSource + + + + + + + setParameters + + + + + + + addHandler + + + + + + + complain + + + + + + + getNetworkType + + + + + + + getNtpWallTimeInMs + + + + + + + getCallId + + + + + + + getCallIdEx + + + + + + + getErrorDescription + + + + + + + getNativeHandle + + + + + + + getSdkVersion + + + + + + + isFeatureAvailableOnDevice + + + + + + + queryDeviceScore + + + + + + + rate + + + + + + + removeHandler + + + + + + + setLocalAccessPoint + + + + + + + setCloudProxy + + + + + + + setLogFile + + + + + + + setLogFileSize + + + + + + + setLogFilter + + + + + + + setLogLevel + + + + + + + sendCustomReportMessage + + + + + + + + + + onConnectionStateChanged + + + + + + + onError + + + + + + + onFirstRemoteAudioDecoded + + + + + + + onFirstRemoteAudioFrame + + + + + + + onJoinChannelSuccess + + + + + + + onRejoinChannelSuccess + + + + + + + onLeaveChannel + + + + + + + onClientRoleChanged + + + + + + + onClientRoleChangeFailed + + + + + + + onUserJoined + + + + + + + onUserMuteAudio + + + + + + + onUserOffline + + + + + + + onNetworkTypeChanged + + + + + + + onConnectionInterrupted + + + + + + + onConnectionLost + + + + + + + onConnectionBanned + + + + + + + onTokenPrivilegeWillExpire + + + + + + + onRequestToken + + + + + + + onLocalUserRegistered + + + + + + + onUserInfoUpdated + + + + + + + onUplinkNetworkInfoUpdated + + + + + + + onVideoRenderingTracingResult + + + + + + + + + onLocalAudioStateChanged + + + + + + + onLocalVideoStateChanged + + + + + + + onVideoStopped + + + + + + + onFirstLocalAudioFramePublished + + + + + + + onFirstLocalVideoFramePublished + + + + + + + onFirstLocalVideoFrame + + + + + + + onAudioPublishStateChanged + + + + + + + onVideoPublishStateChanged + + + + + + + + + onAudioSubscribeStateChanged + + + + + + + onFirstRemoteVideoDecoded + + + + + + + onFirstRemoteVideoFrame + + + + + + + onRemoteAudioStateChanged + + + + + + + onRemoteVideoStateChanged + + + + + + + onUserEnableLocalVideo + + + + + + + onUserEnableVideo + + + + + + + onUserMuteVideo + + + + + + + onVideoSizeChanged + + + + + + + onVideoSubscribeStateChanged + + + + + + + + + onRtcStats + + + + + + + onNetworkQuality + + + + + + + onLocalAudioStats + + + + + + + onLocalVideoStats + + + + + + + onRemoteAudioStats + + + + + + + onRemoteAudioTransportStats + + + + + + + onRemoteVideoStats + + + + + + + onRemoteVideoTransportStats + + + + + + + onAudioQuality + + + + + + + + + onAudioVolumeIndication + + + + + + + onMetaData + + + + + + + onPlayerCacheStats + + + + + + + onPlayerEvent + + + + + + + onPlayerPlaybackStats + + + + + + + onPlayerStateChanged + + + + + + + onPositionChanged + + + + + + + onReadData + + + + + + + onSeek + + + + + + + onPlayBufferUpdated + + + + + + + onPreloadEvent + + + + + + + onAgoraCDNTokenWillExpire + + + + + + + onPlayerSrcInfoChanged + + + + + + + onPlayerInfoUpdated + + + + + + + + + + onDirectCdnStreamingStateChanged + + + + + + + onDirectCdnStreamingStats + + + + + + + + + onAudioMixingStateChanged + + + + + + + onAudioMixingFinished + + + + + + + onAudioMixingPositionChanged + + + + + + + onAudioEffectFinished + + + + + + + + + onEncryptionError + + + + + + + + + onRtmpStreamingEvent + + + + + + + onRtmpStreamingStateChanged + + + + + + + onTranscodingUpdated + + + + + + + + + onChannelMediaRelayStateChanged + + + + + + + + + onAudioVolumeIndication + + + + + + + onActiveSpeaker + + + + + + + + + onFacePositionChanged + + + + + + + + + onAudioRouteChanged + + + + + + + + + onRemoteSubscribeFallbackToAudioOnly + + + + + + + + + onLastmileQuality + + + + + + + onLastmileProbeResult + + + + + + + + + onLocalAudioSpectrum + + + + + + + onRemoteAudioSpectrum + + + + + + + + + onRecordAudioFrame + + + + + + + onPlaybackAudioFrame + + + + + + + onPlaybackAudioFrameBeforeMixing + + + + + + + onMixedAudioFrame + + + + + + + onFrame + + + + + + + getRecordAudioParams + + + + + + + getObservedAudioFramePosition + + + + + + + getMixedAudioParams + + + + + + + getPlaybackAudioParams + + + + + + + + + onCaptureVideoFrame + + + + + + + onFrame + + + + + + + onMediaPlayerVideoFrame + + + + + + + onRenderVideoFrame + + + + + + + getRotationApplied + + + + + + + getMirrorApplied + + + + + + + getVideoFormatPreference + + + + + + + getVideoFrameProcessMode + + + + + + + getObservedFramePosition + + + + + + + onPreEncodeVideoFrame + + + + + + + + + getMaxMetadataSize + + + + + + + onReadyToSendMetadata + + + + + + + onMetadataReceived + + + + + + + + + onCameraFocusAreaChanged + + + + + + + onCameraExposureAreaChanged + + + + + + + onCameraReady + + + + + + + + + onStreamMessage + + + + + + + onStreamMessageError + + + + + + + + + onEarMonitoringAudioFrame + + + + + + + getEarMonitoringAudioParams + + + + + + + + + onRhythmPlayerStateChanged + + + + + + + + + onLocalVideoTranscoderError + + + + + + + onTranscodedStreamLayoutInfo + + + + + + + + + onPermissionError + + + + + + + onProxyConnected + + + + + + + onFaceInfo + + + + + + + onSnapshotTaken + + + + + + + onContentInspectResult + + + + + + + OnVirtualBackgroundSourceEnabled + + + + + + + + + + AgoraFacePositionInfo + + + + + + + AdvancedAudioOptions + + + + + + + AdvanceOptions + + + + + + + AdvancedConfigInfo + + + + + + + AgoraRhythmPlayerConfig + + + + + + + AudioRecordingConfiguration + + + + + + + AudioEncodedFrameObserverConfig + + + + + + + AudioFrame + + + + + + + AudioSpectrumInfo + + + + + + + AudioTrackConfig + + + + + + + AudioVolumeInfo + + + + + + + BeautyOptions + + + + + + + CacheStatistics + + + + + + + CaptureFormat + + + + + + + CameraCapturerConfiguration + + + + + + + ChannelMediaInfo + + + + + + + ChannelMediaOptions + + + + + + + ChannelMediaRelayConfiguration + + + + + + + ClientRoleOptions + + + + + + + ClimaxSegment + + + + + + + ColorEnhanceOptions + + + + + + + ContentInspectConfig + + + + + + + ContentInspectModule + + + + + + + CodecCapInfo + + + + + + + CodecCapLevels + + + + + + + DataStreamConfig + + + + + + + DeviceInfo + + + + + + + DirectCdnStreamingMediaOptions + + + + + + + DirectCdnStreamingStats + + + + + + + EchoTestConfiguration + + + + + + + EncodedVideoFrameInfo + + + + + + + EncryptionConfig + + + + + + + AgoraVideoFrame + + + + + + + IDirectCdnStreamingEventHandler + + + + + + + AgoraFocalLengthInfo + + + + + + + ImageTrackOptions + + + + + + + LiveInjectStreamConfig + + + + + + + LastmileProbeConfig + + + + + + + LastmileProbeOneWayResult + + + + + + + LastmileProbeResult + + + + + + + LeaveChannelOptions + + + + + + + LiveTranscoding + + + + + + + LocalAccessPointConfiguration + + + + + + + LogUploadServerInfo + + + + + + + LocalAudioStats + + + + + + + LocalSpatialAudioConfig + + + + + + + LocalTranscoderConfiguration + + + + + + + LocalVideoStats + + + + + + + LogConfig + + + + + + + LowlightEnhanceOptions + + + + + + + MediaRecorderConfiguration + + + + + + + MediaPlayerSource + + + + + + + Music + + + + + + + MusicCacheInfo + + + + + + + MusicChartInfo + + + + + + + MusicCollection + + + + + + + MusicContentCenterConfiguration + + + + + + + MvProperty + + + + + + + PlayerPlaybackStats + + + + + + + MediaStreamInfo + + + + + + + PlayerUpdatedInfo + + + + + + + RecorderInfo + + + + + + + RecorderStreamInfo + + + + + + + Rectangle + + + + + + + RemoteAudioStats + + + + + + + RemoteVideoStats + + + + + + + RemoteVoicePositionInfo + + + + + + + RtcConnection + + + + + + + RtcEngineConfig + + + + + + + AgoraImage + + + + + + + RtcStats + + + + + + + ScreenCaptureParameters + + + + + + + AudioCaptureParameters + + + + + + + VideoCaptureParameters + + + + + + + SegmentationProperty + + + + + + + SimulcastStreamConfig + + + + + + + SpatialAudioParams + + + + + + + SpatialAudioZone + + + + + + + SrcInfo + + + + + + + TranscodingUser + + + + + + + TranscodingVideoStream + + + + + + + UplinkNetworkInfo + + + + + + + UserAudioSpectrumInfo + + + + + + + UserInfo + + + + + + + VideoCanvas + + + + + + + VideoDenoiserOptions + + + + + + + VideoDimensions + + + + + + + VD_120x120 + + + + + + + VD_160x120 + + + + + + + VD_180x180 + + + + + + + VD_240x180 + + + + + + + VD_320x180 + + + + + + + VD_240x240 + + + + + + + VD_320x240 + + + + + + + VD_424x240 + + + + + + + VD_360x360 + + + + + + + VD_480x360 + + + + + + + VD_640x360 + + + + + + + VD_480x480 + + + + + + + VD_640x480 + + + + + + + VD_840x480 + + + + + + + VD_960x720 + + + + + + + VD_960x540 + + + + + + + VD_1280x720 + + + + + + + VD_1920x1080 + + + + + + + VD_2540x1440 + + + + + + + VD_3840x2160 + + + + + + + VideoEncoderConfiguration + + + + + + + VideoFrame + + + + + + + VideoLayout + + + + + + + VideoRenderingTracingInfo + + + + + + + VideoSubscriptionOptions + + + + + + + VirtualBackgroundSource + + + + + + + WatermarkOptions + + + + + + + + + ADAPT_NONE + + + + + + + ADAPT_UP_BANDWIDTH + + + + + + + ADAPT_DOWN_BANDWIDTH + + + + + + + AreaCode + + + + + + + AREA_CODE_CN + + + + + + + AREA_CODE_NA + + + + + + + AREA_CODE_EU + + + + + + + AREA_CODE_AS + + + + + + + AREA_CODE_JP + + + + + + + AREA_CODE_IN + + + + + + + AREA_CODE_GLOB + + + + + + + AudienceLatencyLevel + + + + + + + LOW_LATENCY + + + + + + + ULTRA_LOW_LATENCY + + + + + + + AudioCodecProfileType + + + + + + + LC_AAC + + + + + + + HE_AAC + + + + + + + HE_AAC_V2 + + + + + + + AUDIO_CODEC_OPUS + + + + + + + AUDIO_CODEC_PCMA + + + + + + + AUDIO_CODEC_PCMU + + + + + + + AUDIO_CODEC_G722 + + + + + + + AUDIO_CODEC_AACLC + + + + + + + AUDIO_CODEC_HEAAC + + + + + + + AUDIO_CODEC_JC1 + + + + + + + AUDIO_CODEC_HEAAC2 + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK + + + + + + + AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_LOW + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_32000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_AAC_48000_HIGH + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_LOW + + + + + + + AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM + + + + + + + AUDIO_ENCODING_TYPE_OPUS_48000_HIGH + + + + + + + AUDIO_EFFECT_OFF + + + + + + + VirtualBackgroundBlurDegree + + + + + + + LOW + + + + + + + MEDIUM + + + + + + + HIGH + + + + + + + VirtualBackgroundType + + + + + + + NONE + + + + + + + COLOR + + + + + + + IMG + + + + + + + BLUR + + + + + + + VIDEO + + + + + + + SaeDeployRegion + + + + + + + SAE_DEPLOY_REGION_NONE + + + + + + + SAE_DEPLOY_REGION_CN + + + + + + + SAE_DEPLOY_REGION_NA + + + + + + + SAE_DEPLOY_REGION_EU + + + + + + + SAE_DEPLOY_REGION_AS + + + + + + + CompressionPrefence + + + + + + + PREFER_LOW_LATENCY + + + + + + + PREFER_QUALITY + + + + + + + CONTENT_INSPECT_DEVICE_TYPE + + + + + + + CONTENT_INSPECT_DEVICE_INVALID + + + + + + + CONTENT_INSPECT_DEVICE_AGORA + + + + + + + CONTENT_INSPECT_DEVICE_HIVE + + + + + + + CONTENT_INSPECT_DEVICE_TUPU + + + + + + + CONTENT_INSPECT_NEUTRAL + + + + + + + CONTENT_INSPECT_SEXY + + + + + + + CONTENT_INSPECT_PORN + + + + + + + CONTENT_INSPECT_TYPE_INVALID + + + + + + + CONTENT_INSPECT_TYPE_MODERATION + + + + + + + CONTENT_INSPECT_TYPE_SUPERVISE + + + + + + + CONTENT_INSPECT_TYPE_IMAGE_MODERATION + + + + + + + DegradationPreference + + + + + + + PREFER_AUTO + + + + + + + PREFER_SOFTWARE + + + + + + + PREFER_HARDWARE + + + + + + + ExternalVideoSourceType + + + + + + + VIDEO_FRAME + + + + + + + ENCODED_VIDEO_FRAME + + + + + + + ROOM_ACOUSTICS_KTV + + + + + + + ROOM_ACOUSTICS_VOCAL_CONCERT + + + + + + + ROOM_ACOUSTICS_STUDIO + + + + + + + ROOM_ACOUSTICS_PHONOGRAPH + + + + + + + ROOM_ACOUSTICS_VIRTUAL_STEREO + + + + + + + ROOM_ACOUSTICS_SPACIAL + + + + + + + ROOM_ACOUSTICS_ETHEREAL + + + + + + + ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND + + + + + + + ROOM_ACOUSTICS_CHORUS + + + + + + + ROOM_ACOUSTICS_3D_VOICE + + + + + + + VOICE_CHANGER_EFFECT_UNCLE + + + + + + + VOICE_CHANGER_EFFECT_OLDMAN + + + + + + + VOICE_CHANGER_EFFECT_BOY + + + + + + + VOICE_CHANGER_EFFECT_SISTER + + + + + + + VOICE_CHANGER_EFFECT_GIRL + + + + + + + VOICE_CHANGER_EFFECT_PIGKING + + + + + + + VOICE_CHANGER_EFFECT_HULK + + + + + + + STYLE_TRANSFORMATION_RNB + + + + + + + STYLE_TRANSFORMATION_POPULAR + + + + + + + PITCH_CORRECTION + + + + + + + AudioEqualizationBandFrequency + + + + + + + BAND_31 + + + + + + + BAND_62 + + + + + + + BAND_125 + + + + + + + BAND_250 + + + + + + + BAND_500 + + + + + + + BAND_1K + + + + + + + BAND_2K + + + + + + + BAND_4K + + + + + + + BAND_8K + + + + + + + BAND_16K + + + + + + + FRAME_TYPE_PCM16 + + + + + + + POSITION_PLAYBACK + + + + + + + POSITION_RECORD + + + + + + + POSITION_MIXED + + + + + + + POSITION_BEFORE_MIXING + + + + + + + POSITION_EAR_MONITORING + + + + + + + AudioDualMonoMode + + + + + + + AUDIO_DUAL_MONO_STEREO + + + + + + + AUDIO_DUAL_MONO_L + + + + + + + AUDIO_DUAL_MONO_R + + + + + + + AUDIO_DUAL_MONO_MIX + + + + + + + AudioMixingDualMonoMode + + + + + + + AUTO + + + + + + + L + + + + + + + R + + + + + + + MIX + + + + + + + AUDIO_MIXING_REASON_CAN_NOT_OPEN + + + + + + + AUDIO_MIXING_REASON_TOO_FREQUENT_CALL + + + + + + + AUDIO_MIXING_REASON_INTERRUPTED_EOF + + + + + + + AUDIO_MIXING_REASON_OK + + + + + + + AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED + + + + + + + AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED + + + + + + + AUDIO_MIXING_REASON_STOPPED_BY_USER + + + + + + + AUDIO_MIXING_STATE_PLAYING + + + + + + + AUDIO_MIXING_STATE_PAUSED + + + + + + + AUDIO_MIXING_STATE_STOPPED + + + + + + + AUDIO_MIXING_STATE_FAILED + + + + + + + AUDIO_MIXING_STATE_COMPLETED + + + + + + + AUDIO_MIXING_STATE_ALL_LOOPS_COMPLETED + + + + + + + AgoraAudioProcessChannels + + + + + + + AGORA_AUDIO_MONO_PROCESSING + + + + + + + AGORA_AUDIO_STEREO_PROCESSING + + + + + + + AudioProfileType + + + + + + + DEFAULT + + + + + + + SPEECH_STANDARD + + + + + + + MUSIC_STANDARD + + + + + + + MUSIC_STANDARD_STEREO + + + + + + + MUSIC_HIGH_QUALITY + + + + + + + MUSIC_HIGH_QUALITY_STEREO + + + + + + + AUDIO_PROFILE_IOT + + + + + + + AUDIO_PROFILE_NUM + + + + + + + AudioRangeMode + + + + + + + AUDIO_RANGE_MODE_WORLD + + + + + + + AUDIO_RANGE_MODE_TEAM + + + + + + + AudioRecordingType + + + + + + + MIC + + + + + + + PLAYBACK + + + + + + + MIXED + + + + + + + AudioRecordingQuality + + + + + + + LOW + + + + + + + MEDIUM + + + + + + + HIGH + + + + + + + ULTRA_HIGH + + + + + + + PRESET + + + + + + + OFF + + + + + + + FX_KTV + + + + + + + FX_VOCAL_CONCERT + + + + + + + FX_UNCLE + + + + + + + FX_SISTER + + + + + + + FX_STUDIO + + + + + + + FX_POPULAR + + + + + + + FX_RNB + + + + + + + FX_PHONOGRAPH + + + + + + + POPULAR + + + + + + + RNB + + + + + + + ROCK + + + + + + + HIPHOP + + + + + + + VOCAL_CONCERT + + + + + + + KTV + + + + + + + STUDIO + + + + + + + AUDIO_VIRTUAL_STEREO + + + + + + + AUDIO_ELECTRONIC_VOICE + + + + + + + AUDIO_THREEDIM_VOICE + + + + + + + AudioReverbType + + + + + + + DRY_LEVEL + + + + + + + WET_LEVEL + + + + + + + ROOM_SIZE + + + + + + + WET_DELAY + + + + + + + STRENGTH + + + + + + + AUDIO_ROUTE_DEFAULT + + + + + + + AUDIO_ROUTE_HEADSET + + + + + + + AUDIO_ROUTE_EARPIECE + + + + + + + AUDIO_ROUTE_HEADSETNOMIC + + + + + + + AUDIO_ROUTE_SPEAKERPHONE + + + + + + + AUDIO_ROUTE_LOUDSPEAKER + + + + + + + AUDIO_ROUTE_BLUETOOTH_DEVICE_HFP + + + + + + + AUDIO_ROUTE_USB + + + + + + + AUDIO_ROUTE_HDMI + + + + + + + AUDIO_ROUTE_DISPLAYPORT + + + + + + + AUDIO_ROUTE_AIRPLAY + + + + + + + AUDIO_ROUTE_BLUETOOTH_DEVICE_A2DP + + + + + + + AudioSampleRateType + + + + + + + AUDIO_SAMPLE_RATE_32000 + + + + + + + AUDIO_SAMPLE_RATE_44100 + + + + + + + AUDIO_SAMPLE_RATE_48000 + + + + + + + AudioScenarioType + + + + + + + DEFAULT + + + + + + + CHATROOM + + + + + + + GAME_STREAMING + + + + + + + CHORUS + + + + + + + MEETING + + + + + + + ConnectionState + + + + + + + DISCONNECTED + + + + + + + CONNECTING + + + + + + + CONNECTED + + + + + + + RECONNECTING + + + + + + + FAILED + + + + + + + CONNECTING + + + + + + + JOIN_SUCCESS + + + + + + + INTERRUPTED + + + + + + + BANNED_BY_SERVER + + + + + + + JOIN_FAILED + + + + + + + LEAVE_CHANNEL + + + + + + + INVALID_APP_ID + + + + + + + INVALID_CHANNEL_NAME + + + + + + + INVALID_TOKEN + + + + + + + TOKEN_EXPIRED + + + + + + + REJECTED_BY_SERVER + + + + + + + SETTING_PROXY_SERVER + + + + + + + RENEW_TOKEN + + + + + + + CLIENT_IP_ADDRESS_CHANGED + + + + + + + KEEP_ALIVE_TIMEOUT + + + + + + + REJOIN_SUCCESS + + + + + + + LOST + + + + + + + ECHO_TEST + + + + + + + CLIENT_IP_ADDRESS_CHANGED_BY_USER + + + + + + + SAME_UID_LOGIN + + + + + + + TOO_MANY_BROADCASTERS + + + + + + + CONTAINER_MP4 + + + + + + + AudioTrackType + + + + + + + MIXABLE + + + + + + + DIRECT + + + + + + + CameraDirection + + + + + + + REAR + + + + + + + FRONT + + + + + + + EXTRA + + + + + + + CAMERA_FOCAL_LENGTH_TYPE + + + + + + + CAMERA_FOCAL_LENGTH_DEFAULT + + + + + + + CAMERA_FOCAL_LENGTH_WIDE_ANGLE + + + + + + + CAMERA_FOCAL_LENGTH_ULTRA_WIDE + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_INVALID + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_NORMAL + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_BRIGHT + + + + + + + CAPTURE_BRIGHTNESS_LEVEL_DARK + + + + + + + CAPTURER_OUTPUT_PREFERENCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_AUTO + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PERFORMANCE + + + + + + + CAPTURER_OUTPUT_PREFERENCE_PREVIEW + + + + + + + CAPTURER_OUTPUT_PREFERENCE_MANUAL + + + + + + + RELAY_OK + + + + + + + RELAY_ERROR_SERVER_ERROR_RESPONSE + + + + + + + RELAY_ERROR_SERVER_NO_RESPONSE + + + + + + + RELAY_ERROR_NO_RESOURCE_AVAILABLE + + + + + + + RELAY_ERROR_FAILED_JOIN_SRC + + + + + + + RELAY_ERROR_FAILED_JOIN_DEST + + + + + + + RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC + + + + + + + RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST + + + + + + + RELAY_ERROR_SERVER_CONNECTION_LOST + + + + + + + RELAY_ERROR_INTERNAL_ERROR + + + + + + + RELAY_ERROR_SRC_TOKEN_EXPIRED + + + + + + + RELAY_ERROR_DEST_TOKEN_EXPIRED + + + + + + + RELAY_EVENT_NETWORK_DISCONNECTED + + + + + + + RELAY_EVENT_NETWORK_CONNECTED + + + + + + + RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL + + + + + + + RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC + + + + + + + RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE + + + + + + + RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL + + + + + + + RELAY_EVENT_VIDEO_PROFILE_UPDATE + + + + + + + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + + + + + + + RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED + + + + + + + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS + + + + + + + RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED + + + + + + + RELAY_STATE_IDLE + + + + + + + RELAY_STATE_CONNECTING + + + + + + + RELAY_STATE_RUNNING + + + + + + + RELAY_STATE_FAILURE + + + + + + + ChannelProfile + + + + + + + COMMUNICATION + + + + + + + LIVE_BROADCASTING + + + + + + + GAME + + + + + + + CLOUD_GAMING + + + + + + + COMMUNICATION_1v1 + + + + + + + ClientRole + + + + + + + BROADCASTER + + + + + + + AUDIENCE + + + + + + + CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS + + + + + + + CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED + + + + + + + CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT + + + + + + + CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED + + + + + + + TRANSPORT_TYPE_NONE_PROXY + + + + + + + TRANSPORT_TYPE_UDP_PROXY + + + + + + + TRANSPORT_TYPE_TCP_PROXY + + + + + + + PROXY_TYPE_NONE_PROXY + + + + + + + PROXY_TYPE_UDP_CLOUD_PROXY + + + + + + + PROXY_TYPE_TCP_CLOUD_PROXY + + + + + + + PROXY_TYPE_LOCAL_PROXY + + + + + + + PROXY_TYPE_TCP_AUTO_FALLBACK + + + + + + + DegradationPreference + + + + + + + MAINTAIN_QUALITY + + + + + + + MAINTAIN_FRAMERATE + + + + + + + MAINTAIN_BALANCED + + + + + + + MAINTAIN_RESOLUTION + + + + + + + DirectCdnStreamingReason + + + + + + + OK + + + + + + + FAILED + + + + + + + AUDIO_PUBLICATION + + + + + + + VIDEO_PUBLICATION + + + + + + + NET_CONNECT + + + + + + + BAD_NAME + + + + + + + DirectCdnStreamingState + + + + + + + IDLE + + + + + + + RUNNING + + + + + + + STOPPED + + + + + + + FAILED + + + + + + + RECOVERING + + + + + + + EAR_MONITORING_FILTER_NONE + + + + + + + EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS + + + + + + + EAR_MONITORING_FILTER_NOISE_SUPPRESSION + + + + + + + EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER + + + + + + + EncryptionError + + + + + + + INTERNAL_FAILURE + + + + + + + DECRYPTION_FAILURE + + + + + + + ENCRYPTION_FAILURE + + + + + + + DATASTREAM_DECRYPTION_FAILURE + + + + + + + DATASTREAM_ENCRYPTION_FAILURE + + + + + + + ErrorCode + + + + + + + ERR_OK + + + + + + + ERR_FAILED + + + + + + + ERR_INVALID_ARGUMENT + + + + + + + ERR_NOT_READY + + + + + + + ERR_NOT_SUPPORTED + + + + + + + ERR_REFUSED + + + + + + + ERR_BUFFER_TOO_SMALL + + + + + + + ERR_NOT_INITIALIZED + + + + + + + ERR_INVALID_STATE + + + + + + + ERR_NO_PERMISSION + + + + + + + ERR_TIMEDOUT + + + + + + + ERR_JOIN_CHANNEL_REJECTED + + + + + + + ERR_LEAVE_CHANNEL_REJECTED + + + + + + + ERR_ALREADY_IN_USE + + + + + + + ERR_ABORTED + + + + + + + ERR_RESOURCE_LIMITED + + + + + + + ERR_INVALID_APP_ID + + + + + + + ERR_INVALID_CHANNEL_NAME + + + + + + + ERR_NO_SERVER_RESOURCES + + + + + + + ERR_TOKEN_EXPIRED + + + + + + + ERR_INVALID_TOKEN + + + + + + + ERR_CONNECTION_INTERRUPTED + + + + + + + ERR_CONNECTION_LOST + + + + + + + ERR_NOT_IN_CHANNEL + + + + + + + ERR_SIZE_TOO_LARGE + + + + + + + ERR_BITRATE_LIMIT + + + + + + + ERR_TOO_MANY_DATA_STREAMS + + + + + + + ERR_STREAM_MESSAGE_TIMEOUT + + + + + + + ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED + + + + + + + ERR_DECRYPTION_FAILED + + + + + + + ERR_INVALID_USER_ID + + + + + + + ERR_CLIENT_IS_BANNED_BY_SERVER + + + + + + + ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH + + + + + + + ERR_LICENSE_CREDENTIAL_INVALID + + + + + + + ERR_INVALID_USER_ACCOUNT + + + + + + + ERR_MODULE_NOT_FOUND + + + + + + + ERR_LOAD_MEDIA_ENGINE + + + + + + + ERR_ADM_GENERAL_ERROR + + + + + + + ERR_ADM_INIT_PLAYOUT + + + + + + + ERR_ADM_START_PLAYOUT + + + + + + + ERR_ADM_STOP_PLAYOUT + + + + + + + ERR_ADM_INIT_RECORDING + + + + + + + ERR_ADM_START_RECORDING + + + + + + + ERR_ADM_STOP_RECORDING + + + + + + + ERR_VDM_CAMERA_NOT_AUTHORIZED + + + + + + + ERR_DATASTREAM_DECRYPTION_FAILED + + + + + + + EncryptionMode + + + + + + + AES_128_XTS + + + + + + + AES_128_ECB + + + + + + + AES_256_XTS + + + + + + + SM4_128_ECB + + + + + + + AES_128_GCM + + + + + + + AES_256_GCM + + + + + + + AES_128_GCM2 + + + + + + + AES_256_GCM2 + + + + + + + MODE_END + + + + + + + EXPERIENCE_REASON_NONE + + + + + + + REMOTE_NETWORK_QUALITY_POOR + + + + + + + LOCAL_NETWORK_QUALITY_POOR + + + + + + + WIRELESS_SIGNAL_POOR + + + + + + + WIFI_BLUETOOTH_COEXIST + + + + + + + EXPERIENCE_QUALITY_GOOD + + + + + + + EXPERIENCE_QUALITY_BAD + + + + + + + FeatureType + + + + + + + VIDEO_VIRTUAL_BACKGROUND + + + + + + + VIDEO_BEAUTY_EFFECT + + + + + + + FRAME_RATE + + + + + + + FRAME_RATE_FPS_1 + + + + + + + FRAME_RATE_FPS_7 + + + + + + + FRAME_RATE_FPS_10 + + + + + + + FRAME_RATE_FPS_15 + + + + + + + FRAME_RATE_FPS_24 + + + + + + + FRAME_RATE_FPS_30 + + + + + + + FRAME_RATE_FPS_60 + + + + + + + HEADPHONE_EQUALIZER_PRESET + + + + + + + HEADPHONE_EQUALIZER_OFF + + + + + + + HEADPHONE_EQUALIZER_OVEREAR + + + + + + + HEADPHONE_EQUALIZER_INEAR + + + + + + + LastmileProbeResult + + + + + + + COMPLETE + + + + + + + INCOMPLETE_NO_BWE + + + + + + + UNAVAILABLE + + + + + + + LIGHTENING_CONTRAST_LOW + + + + + + + LIGHTENING_CONTRAST_NORMAL + + + + + + + LIGHTENING_CONTRAST_HIGH + + + + + + + INJECT_STREAM_STATUS_START_SUCCESS + + + + + + + INJECT_STREAM_STATUS_START_ALREADY_EXISTS + + + + + + + INJECT_STREAM_STATUS_START_UNAUTHORIZED + + + + + + + INJECT_STREAM_STATUS_START_TIMEDOUT + + + + + + + INJECT_STREAM_STATUS_START_FAILED + + + + + + + INJECT_STREAM_STATUS_STOP_SUCCESS + + + + + + + INJECT_STREAM_STATUS_STOP_NOT_FOUND + + + + + + + INJECT_STREAM_STATUS_STOP_UNAUTHORIZED + + + + + + + INJECT_STREAM_STATUS_STOP_TIMEDOUT + + + + + + + INJECT_STREAM_STATUS_STOP_FAILED + + + + + + + INJECT_STREAM_STATUS_BROKEN + + + + + + + LOCAL_AUDIO_STREAM_REASON_OK + + + + + + + LOCAL_AUDIO_STREAM_REASON_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION + + + + + + + LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY + + + + + + + LOCAL_AUDIO_STREAM_REASON_CAPTURE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE + + + + + + + LOCAL_AUDIO_STREAM_REASON_INTERRUPTED + + + + + + + LOCAL_AUDIO_STREAM_STATE_STOPPED + + + + + + + LOCAL_AUDIO_STREAM_STATE_RECORDING + + + + + + + LOCAL_AUDIO_STREAM_STATE_ENCODING + + + + + + + LOCAL_AUDIO_STREAM_STATE_FAILED + + + + + + + LOCAL_RPOXY_CONNECTIVITY_FIRST + + + + + + + LOCAL_RPOXY_LOCAL_ONLY + + + + + + + LocalVideoStreamReason + + + + + + + OK + + + + + + + FAILURE + + + + + + + DEVICE_NO_PERMISSION + + + + + + + DEVICE_BUSY + + + + + + + CAPTURE_FAILURE + + + + + + + CODEC_NOT_SUPPORT + + + + + + + DEVICE_NOT_FOUND + + + + + + + SCREEN_CAPTURE_WINDOW_MINIMIZED + + + + + + + SCREEN_CAPTURE_WINDOW_CLOSED + + + + + + + DEVICE_INTERRUPT + + + + + + + DEVICE_FATAL_ERROR + + + + + + + LocalVideoStreamState + + + + + + + STOPPED + + + + + + + CAPTURING + + + + + + + ENCODING + + + + + + + FAILED + + + + + + ERR_SCREEN_CAPTURE_PERMISSION_DENIED + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED + + + + + + + + ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED + + + + + + + LogFilter + + + + + + + OFF + + + + + + + DEBUG + + + + + + + INFO + + + + + + + WARN + + + + + + + ERROR + + + + + + + CRITICAL + + + + + + + LogLevel + + + + + + + LOG_LEVEL_NONE + + + + + + + LOG_LEVEL_INFO + + + + + + + LOG_LEVEL_WARN + + + + + + + LOG_LEVEL_ERROR + + + + + + + LOG_LEVEL_FATAL + + + + + + + LOW_LIGHT_ENHANCE_AUTO + + + + + + + LOW_LIGHT_ENHANCE_MANUAL + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY + + + + + + + LOW_LIGHT_ENHANCE_LEVEL_FAST + + + + + + + MEDIA_DEVICE_STATE_ACTIVE + + + + + + + MEDIA_DEVICE_STATE_DISABLED + + + + + + + MEDIA_DEVICE_STATE_NOT_PRESENT + + + + + + + MEDIA_DEVICE_STATE_UNPLUGGED + + + + + + + MEDIA_DEVICE_STATE_UNRECOMMENDED + + + + + + + AUDIO_APPLICATION_PLAYOUT_DEVICE + + + + + + + MediaPlayerReason + + + + + + + PLAYER_REASON_NONE + + + + + + + PLAYER_REASON_INVALID_ARGUMENTS + + + + + + + PLAYER_REASON_INTERNAL + + + + + + + PLAYER_REASON_NO_RESOURCE + + + + + + + PLAYER_REASON_INVALID_MEDIA_SOURCE + + + + + + + PLAYER_REASON_UNKNOWN_STREAM_TYPE + + + + + + + PLAYER_REASON_OBJ_NOT_INITIALIZED + + + + + + + PLAYER_REASON_CODEC_NOT_SUPPORTED + + + + + + + PLAYER_REASON_VIDEO_RENDER_FAILED + + + + + + + PLAYER_REASON_INVALID_STATE + + + + + + + PLAYER_REASON_URL_NOT_FOUND + + + + + + + PLAYER_REASON_INVALID_CONNECTION_STATE + + + + + + + PLAYER_REASON_SRC_BUFFER_UNDERFLOW + + + + + + + PLAYER_REASON_INTERRUPTED + + + + + + + PLAYER_REASON_NOT_SUPPORTED + + + + + + + PLAYER_REASON_TOKEN_EXPIRED + + + + + + + PLAYER_REASON_IP_EXPIRED + + + + + + + PLAYER_REASON_UNKNOWN + + + + + + + MediaPlayerEvent + + + + + + + PLAYER_EVENT_UNKNOWN + + + + + + + PLAYER_EVENT_SEEK_BEGIN + + + + + + + PLAYER_EVENT_SEEK_COMPLETE + + + + + + + PLAYER_EVENT_SEEK_ERROR + + + + + + + PLAYER_EVENT_AUDIO_TRACK_CHANGED + + + + + + + PLAYER_EVENT_BUFFER_LOW + + + + + + + PLAYER_EVENT_BUFFER_RECOVER + + + + + + + PLAYER_EVENT_FREEZE_START + + + + + + + PLAYER_EVENT_FREEZE_STOP + + + + + + + PLAYER_EVENT_SWITCH_BEGIN + + + + + + + PLAYER_EVENT_SWITCH_COMPLETE + + + + + + + PLAYER_EVENT_SWITCH_ERROR + + + + + + + PLAYER_EVENT_FIRST_DISPLAYED + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT + + + + + + + PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE + + + + + + + MediaPlayerMetadataType + + + + + + + PLAYER_METADATA_TYPE_UNKNOWN + + + + + + + PLAYER_METADATA_TYPE_SEI + + + + + + + MediaPlayerState + + + + + + + PLAYER_STATE_UNKNOWN + + + + + + + PLAYER_STATE_IDLE + + + + + + + PLAYER_STATE_OPENING + + + + + + + PLAYER_STATE_OPEN_COMPLETED + + + + + + + PLAYER_STATE_PLAYING + + + + + + + PLAYER_STATE_PAUSED + + + + + + + PLAYER_STATE_PLAYBACK_COMPLETED + + + + + + + PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED + + + + + + + PLAYER_STATE_STOPPED + + + + + + + PLAYER_STATE_FAILED + + + + + + + MediaSourceType + + + + + + + AUDIO_PLAYOUT_SOURCE + + + + + + + AUDIO_RECORDING_SOURCE + + + + + + + PRIMARY_CAMERA_SOURCE + + + + + + + SECONDARY_CAMERA_SOURCE + + + + + + + CUSTOM_VIDEO_SOURCE + + + + + + + SPEECH_DRIVEN_VIDEO_SOURCE + + + + + + + UNKNOWN_MEDIA_SOURCE + + + + + + + MEDIA_TRACE_EVENT + + + + + + + MEDIA_TRACE_EVENT_VIDEO_RENDERED + + + + + + + MEDIA_TRACE_EVENT_VIDEO_DECODED + + + + + + + MediaStreamType + + + + + + + STREAM_TYPE_UNKNOWN + + + + + + + STREAM_TYPE_VIDEO + + + + + + + STREAM_TYPE_AUDIO + + + + + + + STREAM_TYPE_SUBTITLE + + + + + + + UNKNOWN_METADATA + + + + + + + VIDEO_METADATA + + + + + + + NETWORK_TYPE_UNKNOWN + + + + + + + NETWORK_TYPE_DISCONNECTED + + + + + + + NETWORK_TYPE_LAN + + + + + + + NETWORK_TYPE_WIFI + + + + + + + NETWORK_TYPE_MOBILE_2G + + + + + + + NETWORK_TYPE_MOBILE_3G + + + + + + + NETWORK_TYPE_MOBILE_4G + + + + + + + NETWORK_TYPE_MOBILE_5G + + + + + + + MusicContentCenterStateReason + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_OK + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_ERROR + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_GATEWAY + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_PERMISSION_AND_RESOURCE + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_INTERNAL_DATA_PARSE + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_LOADING + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_MUSIC_DECRYPTION + + + + + + + MUSIC_CONTENT_CENTER_STATE_REASON_HTTP_INTERNAL + + + + + + + PreloadState + + + + + + + PRELOAD_STATE_COMPLETED + + + + + + + PRELOAD_STATE_FAILED + + + + + + + PRELOAD_STATE_PRELOADING + + + + + + + PRELOAD_STATE_REMOVED + + + + + + + MusicCacheStatusType + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHED + + + + + + + MUSIC_CACHE_STATUS_TYPE_CACHING + + + + + + + ORIENTATION_MODE + + + + + + + ORIENTATION_MODE_ADAPTIVE + + + + + + + ORIENTATION_FIXED_LANDSCAPE + + + + + + + ORIENTATION_FIXED_PORTRAIT + + + + + + + RECORD_AUDIO + + + + + + + CAMERA + + + + + + + SCREEN_CAPTURE + + + + + + + ScreenScenarioType + + + + + + + SCREEN_SCENARIO_DOCUMENT + + + + + + + SCREEN_SCENARIO_GAMING + + + + + + + SCREEN_SCENARIO_VIDEO + + + + + + + MediaPlayerPreloadEvent + + + + + + + PLAYER_PRELOAD_EVENT_BEGIN + + + + + + + PLAYER_PRELOAD_EVENT_COMPLETE + + + + + + + PLAYER_PRELOAD_EVENT_ERROR + + + + + + + USER_PRIORITY_HIGH + + + + + + + USER_PRIORITY_NORANL + + + + + + + QUALITY_REPORT_FORMAT_TYPE + + + + + + + QUALITY_REPORT_JSON + + + + + + + QUALITY_REPORT_HTML + + + + + + + NetworkQuality + + + + + + + UNKNOWN + + + + + + + EXCELLENT + + + + + + + GOOD + + + + + + + POOR + + + + + + + BAD + + + + + + + VBAD + + + + + + + DOWN + + + + + + + RawAudioFrameOpMode + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_ONLY + + + + + + + RAW_AUDIO_FRAME_OP_MODE_READ_WRITE + + + + + + + RECORDER_REASON_NONE + + + + + + + RECORDER_ERROR_WRITE_FAILED + + + + + + + RECORDER_ERROR_NO_STREAM + + + + + + + RECORDER_ERROR_OVER_MAX_DURATION + + + + + + + RECORDER_ERROR_CONFIG_CHANGED + + + + + + + RECORDER_STATE_ERROR + + + + + + + RECORDER_STATE_START + + + + + + + RECORDER_STATE_STOP + + + + + + + RemoteAudioState + + + + + + + STOPPED + + + + + + + STARTING + + + + + + + DECODING + + + + + + + FROZEN + + + + + + + FAILED + + + + + + + REMOTE_VIDEO_STATE_STOPPED + + + + + + + REMOTE_VIDEO_STATE_STARTING + + + + + + + REMOTE_VIDEO_STATE_DECODING + + + + + + + REMOTE_VIDEO_STATE_FROZEN + + + + + + + REMOTE_VIDEO_STATE_FAILED + + + + + + + RemoteAudioStateReason + + + + + + + INTERNAL + + + + + + + NETWORK_CONGESTION + + + + + + + NETWORK_RECOVERY + + + + + + + LOCAL_MUTED + + + + + + + LOCAL_UNMUTED + + + + + + + REMOTE_MUTED + + + + + + + REMOTE_UNMUTED + + + + + + + REMOTE_OFFLINE + + + + + + + RemoteVideoStreamReason + + + + + + + INTERNAL + + + + + + + NETWORK_CONGESTION + + + + + + + NETWORK_RECOVERY + + + + + + + LOCAL_MUTED + + + + + + + LOCAL_UNMUTED + + + + + + + REMOTE_MUTED + + + + + + + REMOTE_UNMUTED + + + + + + + REMOTE_OFFLINE + + + + + + + AUDIO_FALLBACK + + + + + + + + AUDIO_FALLBACK_RECOVERY + + + + + + + CODEC_NOT_SUPPORT + + + + + + + RENDER_MODE_HIDDEN + + + + + + + RENDER_MODE_FIT + + + + + + + RENDER_MODE_ADAPTIVE + + + + + + + RtmpStreamPublishReason + + + + + + + OK + + + + + + + INVALID_ARGUMENT + + + + + + + ENCRYPTED_STREAM_NOT_ALLOWED + + + + + + + CONNECTION_TIMEOUT + + + + + + + INTERNAL_SERVER_ERROR + + + + + + + RTMP_SERVER_ERROR + + + + + + + TOO_OFTEN + + + + + + + REACH_LIMIT + + + + + + + NOT_AUTHORIZED + + + + + + + STREAM_NOT_FOUND + + + + + + + FORMAT_NOT_SUPPORTED + + + + + + + NOT_BROADCASTER + + + + + + + TRANSCODING_NO_MIX_STREAM + + + + + + + NET_DOWN + + + + + + + INVALID_PRIVILEGE + + + + + + + RTMP_STREAM_UNPUBLISH_REASON_OK + + + + + + + RtmpStreamPublishState + + + + + + + IDLE + + + + + + + CONNECTING + + + + + + + RUNNING + + + + + + + RECOVERING + + + + + + + FAILURE + + + + + + + DISCONNECTING + + + + + + + RtmpStreamingEvent + + + + + + + FAILED_LOAD_IMAGE + + + + + + + URL_ALREADY_IN_USE + + + + + + + ADVANCED_FEATURE_NOT_SUPPORT + + + + + + + REQUEST_TOO_OFTEN + + + + + + + STREAM_FALLBACK_OPTION_DISABLED + + + + + + + STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW + + + + + + + STREAM_FALLBACK_OPTION_AUDIO_ONLY + + + + + + + RHYTHM_PLAYER_STATE_IDLE + + + + + + + RHYTHM_PLAYER_STATE_OPENING + + + + + + + RHYTHM_PLAYER_STATE_DECODING + + + + + + + RHYTHM_PLAYER_STATE_PLAYING + + + + + + + RHYTHM_PLAYER_STATE_FAILED + + + + + + + RHYTHM_PLAYER_REASON_OK + + + + + + + RHYTHM_PLAYER_REASON_FAILED + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_OPEN + + + + + + + RHYTHM_PLAYER_REASON_CAN_NOT_PLAY + + + + + + + RHYTHM_PLAYER_REASON_FILE_OVER_DURATION_LIMIT + + + + + + + SimulcastStreamMode + + + + + + + AUTO + + + + + + + DISABLE + + + + + + + ENABLE + + + + + + + ConnectionState + + + + + + + SAE_CONNECTION_STATE_CONNECTING + + + + + + + SAE_CONNECTION_STATE_CONNECTED + + + + + + + SAE_CONNECTION_STATE_DISCONNECTED + + + + + + + SAE_CONNECTION_STATE_RECONNECTING + + + + + + + SAE_CONNECTION_STATE_RECONNECTED + + + + + + + ConnectionChangedReason + + + + + + + SAE_CONNECTION_CHANGED_DEFAULT + + + + + + + SAE_CONNECTION_CHANGED_CONNECTING + + + + + + + SAE_CONNECTION_CHANGED_CREATE_ROOM_FAIL + + + + + + + SAE_CONNECTION_CHANGED_RTM_DISCONNECT + + + + + + + SAE_CONNECTION_CHANGED_RTM_ABORTED + + + + + + + SAE_CONNECTION_CHANGED_LOST_SYNC + + + + + + + SegModelType + + + + + + + AI + + + + + + + GREEN + + + + + + + StreamPublishState + + + + + + + IDLE + + + + + + + NO_PUBLISHED + + + + + + + PUBLISHING + + + + + + + PUBLISHED + + + + + + + STREAM_TYPE_BOTH + + + + + + + SUB_STATE_IDLE + + + + + + + SUB_STATE_NO_SUBSCRIBED + + + + + + + SUB_STATE_SUBSCRIBING + + + + + + + SUB_STATE_SUBSCRIBED + + + + + + + USER_OFFLINE_QUIT + + + + + + + USER_OFFLINE_DROPPED + + + + + + + USER_OFFLINE_BECOME_AUDIENCE + + + + + + + VIDEO_BUFFER_RAW_DATA + + + + + + + VideoScenario + + + + + + + GENERAL + + + + + + + MEETING + + + + + + + VIDEO_CAPTURE_TYPE + + + + + + + VIDEO_CAPTURE_UNKNOWN + + + + + + + VIDEO_CAPTURE_CAMERA + + + + + + + VIDEO_CAPTURE_SCREEN + + + + + + + VIDEO_DENOISER_AUTO + + + + + + + VIDEO_DENOISER_MANUAL + + + + + + + VIDEO_DENOISER_LEVEL_HIGH_QUALITY + + + + + + + VIDEO_DENOISER_LEVEL_FAST + + + + + + + VIDEO_DENOISER_LEVEL_STRENGTH + + + + + + + VideoSourceType + + + + + + + CAMERA_PRIMARY + + + + + + + CAMERA + + + + + + + CAMERA_SECONDARY + + + + + + + SCREEN_PRIMARY + + + + + + + SCREEN + + + + + + + SCREEN_SECONDARY + + + + + + + CUSTOM + + + + + + + MEDIA_PLAYER + + + + + + + RTC_IMAGE_PNG + + + + + + + RTC_IMAGE_JPEG + + + + + + + RTC_IMAGE_GIF + + + + + + + REMOTE + + + + + + + TRANSCODED + + + + + + + CAMERA_THIRD + + + + + + + CAMERA_FOURTH + + + + + + + SPEECH_DRIVEN + + + + + + + UNKNOWN + + + + + + + VIDEO_CODEC_CAPABILITY_LEVEL + + + + + + + CODEC_CAPABILITY_LEVEL_UNSPECIFIED + + + + + + + CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT + + + + + + + CODEC_CAPABILITY_LEVEL_1080P30FPS + + + + + + + CODEC_CAPABILITY_LEVEL_1080P60FPS + + + + + + + CODEC_CAPABILITY_LEVEL_4K60FPS + + + + + + + VideoCodecProfileType + + + + + + + BASELINE + + + + + + + MAIN + + + + + + + HIGH + + + + + + + VideoCodecType + + + + + + + NONE + + + + + + + VP8 + + + + + + + H264 + + + + + + + H265 + + + + + + + GENERIC + + + + + + + GENERIC_H264 + + + + + + + AV1 + + + + + + + VP9 + + + + + + + GENERIC_JPEG + + + + + + + VideoCodecType + + + + + + + H264 + + + + + + + H265 + + + + + + + ScreenCaptureContentHint + + + + + + + NONE + + + + + + + MOTION + + + + + + + DETAILS + + + + + + + VideoFrameProcessMode + + + + + + + READ_ONLY + + + + + + + READ_WRITE + + + + + + + VIDEO_FRAME_TYPE_BLANK_FRAME + + + + + + + VIDEO_FRAME_TYPE_KEY_FRAME + + + + + + + VIDEO_FRAME_TYPE_DELTA_FRAME + + + + + + + VIDEO_FRAME_TYPE_B_FRAME + + + + + + + VIDEO_FRAME_TYPE_DROPPABLE_FRAME + + + + + + + VIDEO_FRAME_TYPE_UNKNOW + + + + + + + VIDEO_MIRROR_MODE_AUTO + + + + + + + VIDEO_MIRROR_MODE_ENABLED + + + + + + + VIDEO_MIRROR_MODE_DISABLED + + + + + + + VideoModulePosition + + + + + + + VideoModulePosition + + + + + + + POST_CAPTURER + + + + + + + PRE_RENDERER + + + + + + + PRE_ENCODER + + + + + + + POST_CAPTURER_ORIGIN + + + + + + + VIDEO_ORIENTATION_0 + + + + + + + VIDEO_ORIENTATION_90 + + + + + + + VIDEO_ORIENTATION_180 + + + + + + + VIDEO_ORIENTATION_270 + + + + + + + VideoPixelFormat + + + + + + + DEFAULT + + + + + + + I420 + + + + + + + BGRA + + + + + + + NV21 + + + + + + + RGBA + + + + + + + IMC2 + + + + + + + ARGB + + + + + + + NV12 + + + + + + + I422 + + + + + + + VIDEO_TEXTURE_2D + + + + + + + VIDEO_TEXTURE_OES + + + + + + + VIDEO_PROFILE_LANDSCAPE_120P + + + + + + + VIDEO_PROFILE_LANDSCAPE_120P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_180P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_240P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_7 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_8 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_9 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_10 + + + + + + + VIDEO_PROFILE_LANDSCAPE_360P_11 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_4 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_8 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_9 + + + + + + + VIDEO_PROFILE_LANDSCAPE_480P_10 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_5 + + + + + + + VIDEO_PROFILE_LANDSCAPE_720P_6 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P_3 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1080P_5 + + + + + + + VIDEO_PROFILE_LANDSCAPE_1440P + + + + + + + VIDEO_PROFILE_LANDSCAPE_1440P_2 + + + + + + + VIDEO_PROFILE_LANDSCAPE_4K + + + + + + + VIDEO_PROFILE_LANDSCAPE_4K_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_120P + + + + + + + VIDEO_PROFILE_PORTRAIT_120P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_180P + + + + + + + VIDEO_PROFILE_PORTRAIT_180P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_180P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_240P + + + + + + + VIDEO_PROFILE_PORTRAIT_240P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_240P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_7 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_8 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_9 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_10 + + + + + + + VIDEO_PROFILE_PORTRAIT_360P_11 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_4 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_8 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_9 + + + + + + + VIDEO_PROFILE_PORTRAIT_480P_10 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_5 + + + + + + + VIDEO_PROFILE_PORTRAIT_720P_6 + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P_3 + + + + + + + VIDEO_PROFILE_PORTRAIT_1080P_5 + + + + + + + VIDEO_PROFILE_PORTRAIT_1440P + + + + + + + VIDEO_PROFILE_PORTRAIT_1440P_2 + + + + + + + VIDEO_PROFILE_PORTRAIT_4K + + + + + + + VIDEO_PROFILE_PORTRAIT_4K_3 + + + + + + + VideoStreamType + + + + + + + HIGH + + + + + + + LOW + + + + + + + VIDEO_PROFILE_DEFAULT + + + + + + + VIEW_SETUP_MODE_REPLACE + + + + + + + VIEW_SETUP_MODE_ADD + + + + + + + VIEW_SETUP_MODE_REMOVE + + + + + + + VOICE_BEAUTIFIER_OFF + + + + + + + CHAT_BEAUTIFIER_MAGNETIC + + + + + + + CHAT_BEAUTIFIER_FRESH + + + + + + + CHAT_BEAUTIFIER_VITALITY + + + + + + + SINGING_BEAUTIFIER + + + + + + + TIMBRE_TRANSFORMATION_VIGOROUS + + + + + + + TIMBRE_TRANSFORMATION_DEEP + + + + + + + TIMBRE_TRANSFORMATION_MELLOW + + + + + + + TIMBRE_TRANSFORMATION_FALSETTO + + + + + + + TIMBRE_TRANSFORMATION_FULL + + + + + + + TIMBRE_TRANSFORMATION_CLEAR + + + + + + + TIMBRE_TRANSFORMATION_RESOUNDING + + + + + + + TIMBRE_TRANSFORMATION_RINGING + + + + + + + ULTRA_HIGH_QUALITY_VOICE + + + + + + + VOICE_CHANGER_OFF + + + + + + + VOICE_CHANGER_OLDMAN + + + + + + + VOICE_CHANGER_BABYBOY + + + + + + + VOICE_CHANGER_BABYGIRL + + + + + + + VOICE_CHANGER_ZHUBAJIE + + + + + + + VOICE_CHANGER_ETHEREAL + + + + + + + VOICE_CHANGER_HULK + + + + + + + VOICE_BEAUTY_VIGOROUS + + + + + + + VOICE_BEAUTY_DEEP + + + + + + + VOICE_BEAUTY_MELLOW + + + + + + + VOICE_BEAUTY_FALSETTO + + + + + + + VOICE_BEAUTY_FULL + + + + + + + VOICE_BEAUTY_CLEAR + + + + + + + VOICE_BEAUTY_RESOUNDING + + + + + + + VOICE_BEAUTY_RINGING + + + + + + + VOICE_BEAUTY_SPACIAL + + + + + + + GENERAL_BEAUTY_VOICE_MALE_MAGNETIC + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_FRESH + + + + + + + GENERAL_BEAUTY_VOICE_FEMALE_VITALITY + + + + + + + VOICE_CONVERSION_OFF + + + + + + + VOICE_CHANGER_NEUTRAL + + + + + + + VOICE_CHANGER_SWEET + + + + + + + VOICE_CHANGER_SOLID + + + + + + + VOICE_CHANGER_BASS + + + + + + + + + channelId + + + + + + + info + + + + + + + uid + + + + + + + + + v3.2.0 + + + + + + + v3.3.0 + + + + + + + v3.0.0 + + + + + + + + + content://com.android.providers.media.documents/document/audio%203A14441 + + + + + + + /sdcard/emulated/0/audio.aac + + + + + + + /storage/emulated/0/Android/data/<packagename>/files/example.jpg + + + + + + + libagora_ai_denoise_extension.dll + + + + + + + STANDARD_BITRATE + + + + + + + COMPATIBLE_BITRATE + + + + + + + true + + + + + + + false + + + + + + + NULL + + + + + + + libagora_clear_vision_extension.so + + + + + + + libagora_super_resolution_extension.so + + + + + + + libagora_ai_noise_suppression_extension.so + + + + + + + libagora_audio_beauty_extension.so + + + + + + + libagora_spatial_audio_extension.so + + + + + + + agora_content_inspect_extension.so + + + + + + + libagora_segmentation_extension.so + + + + + + + Class 及 Enum + Class and Enum + + + + + + + Class + + + + + diff --git a/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap b/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap new file mode 100644 index 00000000000..0aaeb225c3e --- /dev/null +++ b/dita/RTC-NG/config/keys-rtc-ng-links-harmony.ditamap @@ -0,0 +1,152 @@ + + + + Keys RTC NG Android Links + + + + + + + 音量类型 + + + + + + + 视频属性 + + + + + + + 计费示例 + + + + + + + 使用 Token 鉴权 + + + + + + + 使用通配 Token + + + + + + + 错误码 + + + + + + + 设置人声效果 + + + + + + + 媒体流加密 + + + + + + + 减小 App 体积 + + + + + + + 屏幕共享 + + + + + + + 媒体播放器 + + + + + + + + + + SurfaceView + + + + + + + TextureView + + + + + + + SurfaceTexture + + + + + + + VideoColorSpace + + + + + + + Rect + + + + + + + MODE_IN_COMMUNICATION + + + + + + + AudioAttributes + + + + + + + beautyapi + + + + + + + 调用示例 + + + + + diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index ab458726ea5..ecb20423237 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -1415,8 +1415,8 @@ - - + + @@ -2215,7 +2215,7 @@ - + @@ -2255,8 +2255,8 @@ - - + + @@ -2275,15 +2275,15 @@ - - - + + + - + @@ -2291,7 +2291,7 @@ - + @@ -2309,7 +2309,7 @@ - + @@ -2321,16 +2321,16 @@ - + - + - + - + @@ -2372,9 +2372,9 @@ - + - + @@ -2388,7 +2388,7 @@ - + @@ -2406,7 +2406,7 @@ - + @@ -2417,13 +2417,13 @@ - - + + - - + + @@ -2435,7 +2435,9 @@ - + + + @@ -2478,13 +2480,13 @@ - + - - + + @@ -2496,7 +2498,7 @@ - + @@ -2508,16 +2510,16 @@ - + - + - + @@ -2528,7 +2530,7 @@ - + @@ -2574,7 +2576,7 @@ - + @@ -2998,7 +3000,7 @@ - + diff --git a/dita/RTC-NG/config/subject-scheme-rtc.ditamap b/dita/RTC-NG/config/subject-scheme-rtc.ditamap index 683fbb3706c..670eadb29e5 100644 --- a/dita/RTC-NG/config/subject-scheme-rtc.ditamap +++ b/dita/RTC-NG/config/subject-scheme-rtc.ditamap @@ -21,6 +21,11 @@ Android + + + Harmony + + iOS and macOS diff --git a/dita/rtc_api.xpr b/dita/rtc_api.xpr index f8c8bc62ec5..96b90771f7d 100644 --- a/dita/rtc_api.xpr +++ b/dita/rtc_api.xpr @@ -202,11 +202,11 @@ - RTC-NG/RTC_NG_API_CS.ditamap + RTC-NG/RTC_NG_API_Harmony.ditamap - DITA Map HTML5 - NG CS + DITA Map HTML5 - NG Harmony @@ -240,6 +240,26 @@ + + + RTC-NG/RTC_NG_API_CS.ditamap + + + + DITA Map HTML5 - NG CS + + + + + DITAMAP + + + + + 2 + + + RTC-NG/RTC_NG_Release_Unreal.ditamap @@ -3124,6 +3144,270 @@ + + + false + + + false + + + false + + + ${pd} + + + ${pd}/out/harmony + + + ${pd}/temp/html5 + + + html5 + + + + + true + + + false + + + + + + ${cfd}/config/filter-harmony-rtc-ng.ditaval + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args.rellinks + + + + + + all + + + + + + 4 + + + + none + all + noparent + nofamily + + + + + + No links are included. + All links are included. + Ancestor and parent links are not included. + Parent, ancestor, child, descendant, sibling, next, previous, and cousin links are not included. + + + + + + default.language + + + + + + zh-CN + + + + + + 0 + + + + + + + + + + + nav-toc + + + + + + full + + + none + + + 4 + + + + none + partial + full + + + + + + No TOC + Partial TOC that shows the current topic + Full TOC + + + + + + + + + + false + + + + + + false + + + + + + + + + true + + + + + + DITA Map HTML5 - NG Harmony + + + + + + + + + + + + + + + + + + + + + + + + false + + + false + + + DITAMAP + + + true + + + true + + + + + + false + + + + + + false + + + false + + + false + + + false + + + false + + + false + + + + + + + + + DITA-OT + + + + + false @@ -7281,6 +7565,7 @@ + @@ -7299,14 +7584,6 @@ - - - - - - - - diff --git a/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval index 41449e6aec8..f7381563d5d 100644 --- a/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-android-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval index 8e123ef40f1..27f6be09797 100644 --- a/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-bp-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval index 2118ec59a23..d9ab91aa002 100644 --- a/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-cpp-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval index e272c8504b3..2fc09853fb2 100644 --- a/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-cs-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval index 1066759580a..3a48dc28304 100644 --- a/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-electron-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval index d1d277fb15e..1ef37c99d9e 100644 --- a/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-flutter-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval new file mode 100644 index 00000000000..6b35e5c6884 --- /dev/null +++ b/en-US/dita/RTC-NG/config/filter-harmony-rtc-ng.ditaval @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval index b439df44861..7326a42c45f 100644 --- a/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-ios-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval index 14a99170585..de298d51e09 100644 --- a/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-mac-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval index d916ac12555..de78f44e439 100644 --- a/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-rn-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval index 358d9c888e9..dc0b996ecbb 100644 --- a/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-unity-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval b/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval index 00ea1bcc616..5cece1c6103 100644 --- a/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval +++ b/en-US/dita/RTC-NG/config/filter-unreal-rtc-ng.ditaval @@ -8,6 +8,7 @@ + diff --git a/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap b/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap index 683fbb3706c..670eadb29e5 100644 --- a/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap +++ b/en-US/dita/RTC-NG/config/subject-scheme-rtc.ditamap @@ -21,6 +21,11 @@ Android + + + Harmony + + iOS and macOS