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/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita
index b1d8860bbcb..efbd6078eb9 100644
--- a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita
@@ -14,7 +14,7 @@
public abstract int registerVideoFrameObserver(IVideoFrameObserver observer);
- public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number;
+
- (BOOL)setVideoFrameDelegate:(id<AgoraVideoFrameDelegate> _Nullable)delegate;
virtual int registerVideoFrameObserver(IVideoFrameObserver* observer) = 0;
abstract registerVideoFrameObserver(observer: IVideoFrameObserver): number;
diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita
index 7d1367767d7..4cad6e202ce 100644
--- a/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaengine_setexternalvideosource.dita
@@ -41,7 +41,8 @@
- After calling this method to enable an external video source, you can call to push external video data to the SDK.
+ After calling this method to enable an external video source, you can call to push external video data to the SDK.
+ After calling this method to enable an external video source, you can call to push external video data to the SDK.
Call timing
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita
index f1c93eea3a8..1a4e73114c1 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustplayoutvolume.dita
@@ -14,7 +14,7 @@
int adjustPlayoutVolume(int volume);
-
+ public abstract adjustPlayoutVolume(vol: number): number;
- (int)adjustPlayoutVolume:(int)volume;
virtual int adjustPlayoutVolume(int volume) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita
index 5a186d2b161..c1ef7522929 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_adjustpublishsignalvolume.dita
@@ -14,7 +14,7 @@
int adjustPublishSignalVolume(int volume);
-
+ public abstract adjustPublishSignalVolume(volume:number):number;
- (int)adjustPublishSignalVolume:(int)volume;
virtual int adjustPublishSignalVolume(int volume) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita
index e96b18ff592..62a92e710ed 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getduration.dita
@@ -14,7 +14,7 @@
long getDuration();
-
+ public abstract getDuration():number;
- (NSInteger)getDuration;
virtual int getDuration(int64_t& duration) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -40,7 +40,7 @@
< 0: Failure. See for details and resolution suggestions.
The total duration (ms) of the media file.
-
+
- If the method call succeeds, the SDK returns the total duration(ms) of the media file.
- < 0: Failure. See for details and resolution suggestions.
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita
index 2e46694ed6d..040b5e66daf 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmediaplayerid.dita
@@ -14,7 +14,7 @@
int getMediaPlayerId();
-
+ public abstract getMediaPlayerId():number;
- (int)getMediaPlayerId;
virtual int getMediaPlayerId() const = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita
index 4b50dae42a8..5cfdb3134cc 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getmute.dita
@@ -14,7 +14,7 @@
boolean getMute();
-
+ public abstract getMute(): boolean;
- (bool)getMute;
virtual int getMute(bool& mute) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -43,7 +43,7 @@
0: Success.
< 0: Failure. See for details and resolution suggestions.
-
+
- : Reports whether the media resource is muted.
- : Reports whether the media resource is muted.
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita
index 543ba8080f9..1f8031578e4 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayoutvolume.dita
@@ -14,7 +14,7 @@
int getPlayoutVolume();
-
+ public abstract getPlayoutVolume():number
- (int)getPlayoutVolume;
virtual int getPlayoutVolume(int& volume) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -42,7 +42,7 @@
0: Success.
< 0: Failure. See for details and resolution suggestions.
- The local playback volume, which ranges from 0 to 100.
+ The local playback volume, which ranges from 0 to 100.
- 0: Mute.
- 100: (Default) The original volume.
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita
index 1c5a05423d9..ee88b0cb3b9 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplayposition.dita
@@ -14,7 +14,7 @@
long getPlayPosition();
-
+ public abstract getPlayPosition():number;
- (NSInteger)getPosition;
virtual int getPlayPosition(int64_t& pos) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita
index f0d26bdbb22..73b55fc7767 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getplaysrc.dita
@@ -14,7 +14,7 @@
String getPlaySrc();
-
+ public abstract getPlaySrc():string;
- (NSString *)getPlaySrc;
virtual const char* getPlaySrc() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita
index f33aa8f952d..baae46914df 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getpublishsignalvolume.dita
@@ -14,7 +14,7 @@
int getPublishSignalVolume();
-
+ public abstract getPublishSignalVolume():number;
- (int)getPublishSignalVolume;
virtual int getPublishSignalVolume(int& volume) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -39,7 +39,7 @@
0: Success.
< 0: Failure. See for details and resolution suggestions.
-
+
- ≥ 0: The remote playback volume.
- < 0: Failure. See for details and resolution suggestions.
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita
index be2d8f69cb7..15c89442e03 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstate.dita
@@ -14,7 +14,7 @@
Constants.MediaPlayerState getState();
-
+ public abstract getState():Constants.MediaPlayerState;
- (AgoraMediaPlayerState)getPlayerState;
virtual media::base::MEDIA_PLAYER_STATE getState() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita
index 34a3b96dc01..0e732095124 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreamcount.dita
@@ -14,7 +14,7 @@
int getStreamCount();
-
+ public abstract getStreamCount():number;
- (NSInteger)getStreamCount;
virtual int getStreamCount(int64_t& count) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita
index 057f61bd2c2..74b8f0ead71 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita
@@ -14,7 +14,7 @@
MediaStreamInfo getStreamInfo(int index);
-
+ public abstract getStreamInfo(index:number):MediaStreamInfo|undefined;
- (AgoraMediaStreamInfo *_Nullable)getStreamByIndex:(int)index;
virtual int getStreamInfo(int64_t index, media::base::PlayerStreamInfo* info) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -40,7 +40,7 @@
index
The index of the media stream. This parameter needs to be less than the count parameter of .
- The index of the media stream. This parameter must be less than the return value of .
+ The index of the media stream. This parameter must be less than the return value of .
info
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita
index 300e99453c5..3aa1d15a4e3 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita
@@ -14,7 +14,7 @@
int mute(boolean muted);
-
+ public abstract mute(muted:boolean) : number;
- (int)mute:(bool)isMute NS_SWIFT_NAME(mute(_:));
virtual int mute(bool muted) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita
index 47a1e828ec3..2fd75613045 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_open.dita
@@ -15,7 +15,7 @@
int open(String url, long startPos);
-
+ public abstract open(url:string, startPos:number):number;
- (int)open:(NSString *)url startPos:(NSInteger)startPos;
virtual int open(const char* url, int64_t startPos) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita
index 5afe98595db..1faa659d767 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_openwithmediasource.dita
@@ -14,7 +14,7 @@
int openWithMediaSource(MediaPlayerSource source);
-
+ public abstract openWithMediaSource(source: MediaPlayerSource) :number ;
- (int)openWithMediaSource:(AgoraMediaSource *)source;
virtual int openWithMediaSource(const media::base::MediaSource &source) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita
index 77f451f49f3..685fb532187 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_pause.dita
@@ -15,7 +15,7 @@
int pause();
-
+ public abstract pause(): number;
- (int)pause;
virtual int pause() = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita
index aad566ba837..fa7764aa871 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_play.dita
@@ -14,7 +14,7 @@
int play();
-
+ public abstract play(): number;
- (int)play;
virtual int play() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita
index 39c5f7f0930..84126f06452 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_playpreloadedsrc.dita
@@ -15,7 +15,7 @@
int playPreloadedSrc(String src);
-
+ public abstract playPreloadedSrc(src:string):number;
- (int)playPreloadedSrc:(NSString *)src;
virtual int playPreloadedSrc(const char* src) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita
index 45a7777dc88..520ee67f8c8 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita
@@ -15,7 +15,7 @@
int preloadSrc(String src, long startPos);
-
+ public abstract preloadSrc(src:string, startPos:number):number;
- (int)preloadSrc:(NSString *)src startPos:(int)startPos;
virtual int preloadSrc(const char* src, int64_t startPos) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita
index 2c62fbcddd3..2c8c3d4c237 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registeraudioframeobserver2.dita
@@ -15,7 +15,7 @@
int registerAudioFrameObserver(IMediaPlayerAudioFrameObserver audioFrameObserver, int mode);
- public abstract registerAudioFrameObserver(observer:IAudioFrameObserver):number;
+
virtual int registerAudioFrameObserver(media::IAudioPcmFrameSink* observer,
RAW_AUDIO_FRAME_OP_MODE_TYPE mode) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita
index f2a50b96f9a..1efb08f59ab 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registerplayersourceobserver.dita
@@ -15,7 +15,7 @@
int registerPlayerObserver(IMediaPlayerObserver playerObserver);
-
+ public abstract registerPlayerObserver(playerObserver:IMediaPlayerObserver);
virtual int registerPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0;
UFUNCTION(BlueprintPure, Category = "Agora|IRtcEngine")
@@ -51,7 +51,7 @@
When the method call succeeds, there is no return value; when fails, the exception is thrown. You need to catch the exception and handle it accordingly. See for details and resolution suggestions.
-
+
- 0: Success.
- < 0: Failure. See for details and resolution suggestions.
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita
index 3995bba98d9..32440e33a9f 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_registervideoframeobserver.dita
@@ -14,7 +14,7 @@
int registerVideoFrameObserver(IMediaPlayerVideoFrameObserver videoFrameObserver);
- public abstract registerVideoFrameObserver(observer:IVideoFrameObserver):number;
+
virtual int registerVideoFrameObserver(media::base::IVideoFrameObserver* observer) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita
index 545412ebd82..7ecc871b961 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_resume.dita
@@ -14,7 +14,7 @@
int resume();
-
+ public abstract resume(): number;
- (int)resume;
virtual int resume() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita
index d1e4ff2afaa..41d7993ee25 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_seek.dita
@@ -15,7 +15,7 @@
int seek(long newPos);
-
+ public abstract seek(newPos: number): number;
- (void)seekToPosition:(NSInteger)position;
virtual int seek(int64_t newPos) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita
index fde50ad5649..ed10f5d6df0 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_selectaudiotrack.dita
@@ -14,7 +14,7 @@
int selectAudioTrack(int index);
-
+ public abstract selectAudioTrack(index: number): number;
- (int)selectAudioTrack:(int)index;
virtual int selectAudioTrack(int index) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita
index cafb4c78afd..b463081ae45 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita
@@ -14,7 +14,7 @@
int setAudioDualMonoMode(int mode);
-
+ public abstract setAudioDualMonoMode(mode:Constants.AudioDualMonoMode):number;
- (int)setAudioDualMonoMode:(AgoraAudioDualMonoMode)mode;
virtual int setAudioDualMonoMode(agora::media::base::AUDIO_DUAL_MONO_MODE mode) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -38,7 +38,7 @@
mode
- The channel mode. See .
+ The channel mode. See .
- (0): Original mode.
- (1): Left channel mode. This mode replaces the audio of the right channel with the audio of the left channel, which means the user can only hear the audio of the left channel.
- (2): Right channel mode. This mode replaces the audio of the left channel with the audio of the right channel, which means the user can only hear the audio of the right channel.
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita
index 252b47a2349..da09c41a781 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiopitch.dita
@@ -14,7 +14,7 @@
int setAudioPitch(int pitch);
-
+ public abstract setAudioPitch(pitch:number): number;
- (int)setAudioPitch:(NSInteger)pitch;
virtual int setAudioPitch(int pitch) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
@@ -31,10 +31,14 @@
Parameters
-
+
+
+ pitch
+ 按半音音阶调整本地播放的音乐文件的音调,默认值为 0,即不调整音调。 取值范围为 [-12,12],每相邻两个值的音高距离相差半音。 取值的绝对值越大,音调升高或降低得越多。
+
@@ -44,4 +48,4 @@
- < 0: Failure. See for details and resolution suggestions.
-
\ No newline at end of file
+
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita
index f281bf20dfa..318a911e801 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setloopcount.dita
@@ -15,7 +15,7 @@
int setLoopCount(int loopCount);
-
+ public abstract setLoopCount(loopCount:number):number;
- (void)setLoopCount:(NSInteger)loopCount;
virtual int setLoopCount(int loopCount) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita
index de0a75ef2f1..f6e0465ea6e 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita
@@ -14,7 +14,7 @@
int setPlaybackSpeed(int speed);
-
+ public abstract setPlaybackSpeed(speed: number) : number;
- (int)setPlaybackSpeed:(int)speed;
virtual int setPlaybackSpeed(int speed) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita
index d941c2ab88b..5f555d6ee40 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplayeroption.dita
@@ -14,7 +14,7 @@
int setPlayerOption(String key, int value);
-
+ public abstract setPlayerOption(key:string, value:number);
- (int)setPlayerOption:(NSString *)key value:(NSInteger)value NS_SWIFT_NAME(setPlayerOption(_:value:));
virtual int setPlayerOption(const char* key, int64_t value) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita
index 54477fa0c1e..de1980909bd 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setrendermode.dita
@@ -15,7 +15,7 @@
int setRenderMode(int mode);
-
+ public abstract setRenderMode(mode:number):number;
- (void)setRenderMode:(AgoraMediaPlayerRenderMode)mode;
virtual int setRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0;
@@ -32,7 +32,7 @@
renderMode
- mode
+ mode
Sets the render mode of the view. See .
Sets the render mode of the view:
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita
index 9c7ebcdf393..c1d212059b8 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setview.dita
@@ -15,7 +15,7 @@
int setView(View videoView);
-
+ public abstract setView(view:string):number;
- (void)setView:(View *_Nullable)view;
virtual int setView(media::base::view_t view) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita
index 0257a757cb3..930eae46b70 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_stop.dita
@@ -15,7 +15,7 @@
int stop();
-
+ public abstract stop(): number;
- (void)stop;
virtual int stop() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita
index 4d5698ee04b..5bf67c40f1d 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita
@@ -15,7 +15,7 @@
int switchSrc(String src, boolean syncPts);
-
+ public abstract switchSrc(src:string, syncPts:boolean):number;
- (int)switchSrc:(NSString *)src syncPts:(BOOL)sync;
virtual int switchSrc(const char* src, bool syncPts) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita
index bbe9f21d5a8..9c493a444ad 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unloadsrc.dita
@@ -15,7 +15,7 @@
int unloadSrc(String src);
-
+ public abstract unloadSrc(src:string):number;
- (int)unloadSrc:(NSString *)src;
virtual int unloadSrc(const char* src) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita
index ab17093aaf0..5381347c620 100644
--- a/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita
+++ b/en-US/dita/RTC-NG/API/api_imediaplayer_unregisterplayersourceobserver.dita
@@ -14,7 +14,7 @@
int unRegisterPlayerObserver(IMediaPlayerObserver playerObserver);
-
+ public abstract unRegisterPlayerObserver();
virtual int unregisterPlayerSourceObserver(IMediaPlayerSourceObserver* observer) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IMediaPlayer")
diff --git a/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita b/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita
index 3499845d43d..c048b42c02f 100644
--- a/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita
+++ b/en-US/dita/RTC-NG/API/api_imediarecorder_setmediarecorderobserver.dita
@@ -39,7 +39,7 @@
Parameters
- callback
+ callback
delegate
The callbacks for recording audio and video streams. See .
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita
index 046da6426ff..7ed3cd71c84 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustrecordingsignalvolume.dita
@@ -26,7 +26,7 @@
- If you only need to mute the audio signal, Agora recommends that you use instead.
+ If you only need to mute the audio signal, Agora recommends that you use instead.
Call timing
@@ -58,4 +58,4 @@
- < 0: Failure. See for details and resolution suggestions.
-
\ No newline at end of file
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita
index fa3634f69f8..1dd1e40cb40 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_adjustuserplaybacksignalvolume.dita
@@ -14,7 +14,7 @@
public abstract int adjustUserPlaybackSignalVolume(int uid, int volume);
-
+ public abstract adjustUserPlaybackSignalVolume(uid:number,volume:number):number;
- (int)adjustUserPlaybackSignalVolume:(NSUInteger)uid volume:(int)volume;
virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita b/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita
index e50940a13a3..78580300ac6 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_clearvideowatermarks.dita
@@ -14,7 +14,7 @@
public abstract int clearVideoWatermarks();
- public abstract clearVideoWatermarks(): number;
+
- (int)clearVideoWatermarks;
virtual int clearVideoWatermarks() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita
index c136755b929..e688fcfb017 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_createcustomvideotrack.dita
@@ -30,7 +30,7 @@
To publish a custom video source, see the following steps:
- Call this method to create a video track and get the video track ID.
- Call to join the channel. In , set customVideoTrackId to the video track ID that you want to publish, and set publishCustomVideoTrack to .
- - Call and specify videoTrackId as the video track ID set in step 2. You can then publish the corresponding custom video source in the channel.
+ - Call and specify videoTrackId as the video track ID set in step 2. You can then publish the corresponding custom video source in the channel.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita
index e020f04dced..f08590cdd26 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_createdatastream2.dita
@@ -27,7 +27,7 @@
- Compared to , this method does not guarantee the reliability of data transmission. If a data packet is not received five seconds after it was sent, the SDK directly discards the data.
+ Compared to , this method does not guarantee the reliability of data transmission. If a data packet is not received five seconds after it was sent, the SDK directly discards the data.
Call timing
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita
index 69fa4c62ebe..2dd904a641b 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_createmediaplayer.dita
@@ -2,7 +2,7 @@
- Creates a media player object. Creates a media player instance.
+ Creates a media player object. Creates a media player instance.
@@ -14,7 +14,7 @@
public abstract IMediaPlayer createMediaPlayer();
-
+ public abstract createMediaPlayer():IMediaPlayer|undefined;
- (id<AgoraRtcMediaPlayerProtocol>_Nullable)createMediaPlayerWithDelegate:
(id<AgoraRtcMediaPlayerDelegate>_Nullable)delegate;
virtual agora_refptr <IMediaPlayer> createMediaPlayer() = 0;
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita
index 002d7fd5da7..edc8ca96d8e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroycustomvideotrack.dita
@@ -30,7 +30,7 @@
video_track_id
- videoTrackId
+ videoTrackId
The video track ID returned by calling the method.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita
index f3f6502c803..1b33cfa2d8e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediaplayer.dita
@@ -15,7 +15,7 @@
int destroy();
-
+ public abstract destroy():number;
- (int)destroyMediaPlayer:(id<AgoraRtcMediaPlayerProtocol>_Nullable)mediaPlayer;
virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita
index 58b42db9dd1..2dc54686933 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_destroymediarecorder.dita
@@ -38,7 +38,8 @@
Parameters
- mediaRecorder
+ mediaRecorder
+ recorder
待销毁的 对象。
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita
index 625f3c3e10c..6f41b52b945 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita
@@ -14,7 +14,7 @@
public abstract int enableContentInspect(boolean enabled, ContentInspectConfig config);
-
+ public abstract enableContentInspect(enabled:boolean,config:ContentInspectConfig):number;
- (int)enableContentInspect:(BOOL)enabled config:(AgoraContentInspectConfig* _Nonnull)config;
virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita
index a279d9a3bad..1503799b8f7 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_enabledualstreammode2.dita
@@ -47,7 +47,7 @@
- This method is applicable to all types of streams from the sender, including but not limited to video streams collected from cameras, screen sharing streams, and custom-collected video streams.
- - If you need to enable dual video streams in a multi-channel scenario, you can call the method.
+ - If you need to enable dual video streams in a multi-channel scenario, you can call the method.
- You can call this method either before or after joining a channel.
@@ -73,7 +73,7 @@
Returns
- 0: Success.
- - < 0: Failure. See for details and resolution suggestions.
+ - < 0: Failure. 详见了解详情和解决建议。
-
\ No newline at end of file
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita
index 8fba4bd0bb1..1701e0720b5 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita
@@ -15,7 +15,7 @@
public abstract int enableExtension(
String provider, String extension, boolean enable, Constants.MediaSourceType sourceType);
- public abstract enableExtension(provider:string,extension:string,enable:boolean,extensionInfo:ExtensionInfo):number;
+
- (int)enableExtensionWithVendor:(NSString * __nonnull)provider
extension:(NSString * __nonnull)extension
enabled:(BOOL)enabled
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita
index 488d0cdbdad..07698ac4441 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita
@@ -49,7 +49,7 @@
enable
- enabled
+ enabled
Whether to enable face detection for the local user:
- : Enable face detection.
- : (Default) Disable face detection.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita
index 1c8bc6ebf25..69d9f8583d2 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableinearmonitoring2.dita
@@ -14,7 +14,7 @@
public abstract int enableInEarMonitoring(boolean enabled, int includeAudioFilters);
- public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters: number): number;
+ public abstract enableInEarMonitoring(enabled: boolean, includeAudioFilters?: Constants.EarMontoringFilterType): number;
- (int)enableInEarMonitoring:(BOOL)enabled includeAudioFilters:(AgoraEarMonitoringFilterType)includeAudioFilters;
virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
@@ -56,7 +56,7 @@
includeAudioFilters
- The audio filter types of in-ear monitoring. See .
+ The audio filter types of in-ear monitoring. See .
The audio filter types of in-ear monitoring:
- (1 << 0): No audio filter added to in-ear monitoring.
- (1 << 1): Add vocal effects audio filter to in-ear monitoring. If you implement functions such as voice beautifier and audio effect, users can hear the voice after adding these effects. This enumerator supports combination using the bitwise OR operator (|).
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita
index 0abc78c7a07..a37a4d3845c 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingplayoutvolume.dita
@@ -14,7 +14,7 @@
public abstract int getAudioMixingPlayoutVolume();
-
+ public abstract getAudioMixingPlayoutVolume():number;
- (int)getAudioMixingPlayoutVolume;
virtual int getAudioMixingPlayoutVolume() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita
index 448ff6b9937..546a6225443 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_getaudiomixingpublishvolume.dita
@@ -14,7 +14,7 @@
public abstract int getAudioMixingPublishVolume();
-
+ public abstract getAudioMixingPublishVolume():number;
- (int)getAudioMixingPublishVolume;
virtual int getAudioMixingPublishVolume() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita
index 26a1669344a..97b3d83233e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcallid.dita
@@ -26,7 +26,7 @@
- When a user joins a channel on a client, a callId is generated to identify the call from the client. You can call this method to get the callId parameter, and pass it in when calling methods such as and .
+ When a user joins a channel on a client, a callId is generated to identify the call from the client. 你可以调用该方法获取 callId 参数,然后在调用 、 等方法时填入。
Call timing
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita
index 6a54fb71181..738b8fb1026 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_getcameramaxzoomfactor.dita
@@ -14,7 +14,7 @@
public abstract float getCameraMaxZoomFactor();
- public abstract getCameraMaxZoomFactor():number;
+ public abstract getCameraMaxZoomFactor(): number;
- (CGFloat)cameraMaxZoomFactor;
virtual float getCameraMaxZoomFactor() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita b/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita
index d6be7080d09..7970f98adab 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_geterrordescription.dita
@@ -14,7 +14,9 @@
public static String getErrorDescription(int error)
-
+ public static getErrorDescription(error: number): string {
+ return RtcEngineImpl.getErrorDescriptionInternal(error);
+}
+ (NSString* _Nonnull)getErrorDescription: (NSInteger)error;
virtual const char* getErrorDescription(int code) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
@@ -30,13 +32,13 @@
code
- error
- The error code or warning code reported by the SDK.
+ error
+ SDK 报告的错误码。
Returns
- The specific error or warning description.
+ 具体的错误描述。
\ No newline at end of file
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita
index c9f8ff09961..4e7c1ab4830 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_getnativehandle.dita
@@ -37,7 +37,7 @@
Returns
- The native handle of the SDK.
+ The native handle of the SDK.
- 0: Success.
- < 0: Failure. See for details and resolution suggestions.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita
index 524e1984459..734171a2018 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_getversion.dita
@@ -14,7 +14,9 @@
public static String getSdkVersion()
-
+ public static getSdkVersion(): string {
+ return RtcEngineImpl.getRtcSdkVersion();
+}
+ (NSString * _Nonnull)getSdkVersion;
virtual const char* getVersion(int* build) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita b/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita
index 6158786ca4d..8a6dc4455c0 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_initialize.dita
@@ -2,7 +2,7 @@
- Creates and initializes . Initializes .
+ Creates and initializes . Initializes .
@@ -15,7 +15,9 @@
public static synchronized RtcEngine create(RtcEngineConfig config) throws Exception {}
-
+ public static create(config: RtcEngineConfig): RtcEngine {
+ return RtcEngineImpl.createEngineImpl(config);
+ }
+ (instancetype _Nonnull)sharedEngineWithConfig:(AgoraRtcEngineConfig * _Nonnull)config
delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate;
virtual int initialize(const RtcEngineContext& context) = 0;
@@ -34,7 +36,7 @@
Call timing
Before calling other APIs, you must call and to create and initialize the object.
- Before calling other APIs, you must call this method to create the object.
+ Before calling other APIs, you must call this method to create the object.
Restrictions
@@ -45,7 +47,7 @@
context
- config
+ config
Configurations for the instance. See .
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita
index dc8d7fa7c4a..1a6f2705289 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraautofocusfacemodesupported.dita
@@ -14,7 +14,7 @@
public abstract boolean isCameraAutoFocusFaceModeSupported();
-
+ public abstract isCameraAutoFocusFaceModeSupported(): boolean;
- (BOOL)isCameraAutoFocusFaceModeSupported;
virtual bool isCameraAutoFocusFaceModeSupported() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita
index f8538e58767..c000d56690e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposurepositionsupported.dita
@@ -14,7 +14,7 @@
public abstract boolean isCameraExposurePositionSupported();
-
+ public abstract isCameraExposurePositionSupported(): boolean;
- (BOOL)isCameraExposurePositionSupported;
virtual bool isCameraExposurePositionSupported() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita
index acf851bb8f7..e9e34c44a78 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita
@@ -14,7 +14,7 @@
public abstract boolean isCameraExposureSupported();
-
+ public abstract isCameraExposureSupported(): boolean;
- (BOOL)isCameraExposureSupported NS_SWIFT_NAME(isCameraExposureSupported());
virtual bool isCameraExposureSupported() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita
index 1c03b0c5eca..6a5c609c500 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerafacedetectsupported.dita
@@ -14,7 +14,7 @@
public abstract boolean isCameraFaceDetectSupported();
-
+ public abstract isCameraFaceDetectSupported(): boolean;
virtual bool isCameraFaceDetectSupported() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita
index f51be5d5d4c..d8491c274d3 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita
@@ -14,7 +14,7 @@
public abstract boolean isCameraZoomSupported();
-
+ public abstract isCameraZoomSupported(): boolean;
- (BOOL)isCameraZoomSupported;
virtual bool isCameraZoomSupported() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita
index 08d801dfcce..ddd500d992e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_joinchannel2.dita
@@ -98,7 +98,7 @@
The user ID. This parameter is used to identify the user in the channel for real-time audio and video interaction. You need to set and manage user IDs yourself, and ensure that each user ID in the same channel is unique. This parameter is a 32-bit signed integer. The value range is from -231-1 to 231-1. This parameter is a 32-bit unsigned integer. The value range is 1 to 232-1. If the user ID is not assigned (or set to 0), the SDK assigns a random user ID and returns it in the callback. Your application must record and maintain the returned user ID, because the SDK does not do so.
- options
+ options
mediaOptions
The channel media options. See .
@@ -116,7 +116,7 @@
- -2: The parameter is invalid. For example, the token is invalid, the uid parameter is not set to an integer, or the value of a member in is invalid. You need to pass in a valid parameter and join the channel again.
- -3: Fails to initialize the object. You need to reinitialize the object.
- -7: The object has not been initialized. You need to initialize the object before calling this method.
- - -8: The internal state of the object is wrong. The typical cause is that after calling to start a call loop test, you call this method to join the channel without calling to stop the test. You need to call before calling this method.
+ - -8: The internal state of the object is wrong. 可能的原因是:调用 开始通话回路测试后,未调用 停止测试就调用该方法加入频道。 你需要在该方法前调用 。
- -17: The request to join the channel is rejected. The typical cause is that the user is already in the channel. Agora recommends that you use the callback to see whether the user is in the channel. Do not call this method to join the channel unless you receive the (1) state.
- -102: The channel name is invalid. You need to pass in a valid channel name in channelId to rejoin the channel.
- -121: The user ID is invalid. You need to pass in a valid user ID in uid to rejoin the channel.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita
index 12bc5d1e9bd..3da2503a92a 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_leavechannel2.dita
@@ -28,8 +28,8 @@
After calling this method, the SDK terminates the audio and video interaction, leaves the current channel, and releases all resources related to the session.
- After joining a channel, you must call this method or to end the call, otherwise, the next call cannot be started. If you have called to join multiple channels, calling this method will leave all the channels you joined.
- After joining the channel, you must call this method to end the call; otherwise, the next call cannot be started. If you have called to join multiple channels, calling this method will leave all the channels you joined.
+ After joining a channel, you must call this method or to end the call, otherwise, the next call cannot be started. If you have called to join multiple channels, calling this method will leave all the channels you joined.
+ After joining the channel, you must call this method to end the call; otherwise, the next call cannot be started. If you have called to join multiple channels, calling this method will leave all the channels you joined.
This method call is asynchronous. When this method returns, it does not necessarily mean that the user has left the channel.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita
index 04643b87d58..443f0c78cb2 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteremoteaudiostream.dita
@@ -44,7 +44,7 @@
Parameters
- uid
+ uid
The user ID of the specified user.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita b/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita
index b354e77d83f..d4e1fb18354 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_muteremotevideostream.dita
@@ -45,7 +45,7 @@
userId
- uid
+ uid
The user ID of the specified user.
@@ -67,4 +67,4 @@
- < 0: Failure. See for details and resolution suggestions.
-
\ No newline at end of file
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita
index 20cc25a6e00..82568a4ae9e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_pauseallchannelmediarelay.dita
@@ -14,7 +14,7 @@
public abstract int pauseAllChannelMediaRelay();
-
+ public abstract pauseAllChannelMediaRelay():number;
- (int)pauseAllChannelMediaRelay;
virtual int pauseAllChannelMediaRelay() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita
index e628152e73b..bb2a1bf07d2 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_playeffect3.dita
@@ -77,8 +77,8 @@
You can call this method either before or after joining a channel.
- Restrictions
- If you need to play an online audio effect file, Agora recommends that you cache the online audio effect file to your local device, call to preload the file into memory, and then call this method to play the audio effect. Otherwise, you might encounter playback failures or no sound during playback due to loading timeouts or failures.
+ 调用限制
+ If you need to play an online audio effect file, Agora recommends that you cache the online audio effect file to your local device, call to preload the file into memory, and then call this method to play the audio effect. Otherwise, you might encounter playback failures or no sound during playback due to loading timeouts or failures.
+ 播放文件的地址。
+ If you have preloaded an audio effect into memory by calling , ensure that the value of this parameter is the same as that of filePath in .
loopCount
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita
index 950a7c7d717..00983cb50ef 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_pushvideoframe2.dita
@@ -25,7 +25,7 @@
Details
-
+
- Deprecated:
- If you need to push video frames in I422 format, you need to use this method; otherwise, use .
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita b/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita
index 7cb6f6d28db..fc75926bd52 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_resumeallchannelmediarelay.dita
@@ -14,7 +14,7 @@
public abstract int resumeAllChannelMediaRelay();
-
+ public abstract resumeAllChannelMediaRelay():number;
- (int)resumeAllChannelMediaRelay;
virtual int resumeAllChannelMediaRelay() = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita b/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita
index 96a75c3d481..2d077584c74 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_selectaudiotrack.dita
@@ -14,7 +14,7 @@
public abstract int selectAudioTrack(int audioIndex);
-
+ public abstract selectAudioTrack(index: number): number;
- (int)selectAudioTrack:(NSInteger)index;
virtual int selectAudioTrack(int index) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
@@ -37,7 +37,7 @@ int SelectAudioTrack(int index);
Parameters
- index
+ index
audioIndex
The audio track you want to specify. The value should be greater than 0 and less than that of returned by .
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita b/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita
index d5f8debb791..8f80ab486ff 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita
@@ -41,7 +41,7 @@
- Up to 60 packets can be sent per second in a data stream with each packet having a maximum size of 1 KB.
- Up to 30 KB of data can be sent per second in a data stream.
- A successful method call triggers the callback on the remote client, from which the remote user gets the stream message. A failed method call triggers the callback on the remote client.
+ 成功调用该方法后,远端会触发 回调,远端用户可以在该回调中获取接收到的流消息;若调用失败,远端会触发 回调。
- This method needs to be called after and joining the channel.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita
index 1075fa1dc19..7cf1afbc2fb 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita
@@ -60,7 +60,7 @@
profile
- The audio profile, including the sampling rate, bitrate, encoding mode, and the number of channels. See .
+ The audio profile, including the sampling rate, bitrate, encoding mode, and the number of channels. See .
- (0): The default value.
@@ -85,4 +85,4 @@
- < 0: Failure. See for details and resolution suggestions.
-
\ No newline at end of file
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita
index a6790a390cc..87ba42b0b4e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioscenario.dita
@@ -42,7 +42,7 @@
scenario
- The audio scenarios. Under different audio scenarios, the device uses different volume types. See .
+ The audio scenarios. Under different audio scenarios, the device uses different volume types. See .
- (0): (Default) Automatic scenario, where the SDK chooses the appropriate audio quality according to the user role and audio route.
- (3): High-quality audio scenario, where users mainly play music.
- (5): Chatroom scenario, where users need to frequently switch the user role or mute and unmute the microphone.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita
index 3d202c15d3e..2b71401bb50 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraautofocusfacemodeenabled.dita
@@ -14,7 +14,7 @@
public abstract int setCameraAutoFocusFaceModeEnabled(boolean enabled);
-
+ public abstract setCameraAutoFocusFaceModeEnabled(enabled: boolean): number;
- (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable;
virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita
index 6cf9d7e455c..a9a07bff65e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameracapturerconfiguration.dita
@@ -36,10 +36,10 @@
Call this method before enabling local camera capture, such as before calling and .
- Restrictions
+ 调用限制
To adjust the camera focal length configuration, It is recommended to call first to check the device's focal length capabilities, and then configure based on the query results.
Due to limitations on some Android devices, even if you set the focal length type according to the results returned in , the settings may not take effect.
- None.
+ None.
Parameters
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita
index ee0b5f0ba07..a66b7eb569e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposurefactor.dita
@@ -14,7 +14,7 @@
public abstract int setCameraExposureFactor(int factor);
-
+ public abstract setCameraExposureFactor(factor: number): number;
- (CGFloat)setCameraExposureFactor:(CGFloat)exposureFactor NS_SWIFT_NAME(setCameraExposureFactor(_:));
virtual int setCameraExposureFactor(float factor) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita
index ac30f02d4a2..81ab19e25cf 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameraexposureposition.dita
@@ -14,7 +14,7 @@
public abstract int setCameraExposurePosition(float positionXinView, float positionYinView);
-
+ public abstract setCameraExposurePosition(positionXinView: number, positionYinView: number): number;
- (BOOL)setCameraExposurePosition:(CGPoint)positionInView;
virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0;
@@ -44,11 +44,11 @@
Parameters
-
+
positionXinView
The horizontal coordinate of the touchpoint in the view.
-
+
positionYinView
The vertical coordinate of the touchpoint in the view.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita
index 095240c51b1..2cb07d28aeb 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerafocuspositioninpreview.dita
@@ -44,11 +44,11 @@
Parameters
-
+
positionX
The horizontal coordinate of the touchpoint in the view.
-
+
positionY
The vertical coordinate of the touchpoint in the view.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita
index b62dd166b0b..76118e6c923 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcameratorchon.dita
@@ -14,7 +14,7 @@
public abstract int setCameraTorchOn(boolean isOn);
- public abstract setCameraTorchOn(isOn:boolean):number;
+
- (BOOL)setCameraTorchOn:(BOOL)isOn NS_SWIFT_NAME(setCameraTorchOn(_:));
virtual int setCameraTorchOn(bool isOn) = 0;
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita
index d208785c657..a8c6ee2cf6e 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcamerazoomfactor.dita
@@ -14,7 +14,7 @@
public abstract int setCameraZoomFactor(float factor);
- public abstract setCameraZoomFactor(factor:number):number;
+ public abstract setCameraZoomFactor(factor: number): number;
- (CGFloat)setCameraZoomFactor:(CGFloat)zoomFactor;
virtual int setCameraZoomFactor(float factor) = 0;
@@ -38,7 +38,7 @@
Parameters
- factor
+ factor
zoomFactor
The camera zoom factor. For devices that do not support ultra-wide-angle, the value ranges from 1.0 to the maximum zoom factor; for devices that support ultra-wide-angle, the value ranges from 0.5 to the maximum zoom factor. You can get the maximum zoom factor supported by the device by calling the method.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita
index 25b547f2e41..5b72016e488 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita
@@ -34,7 +34,7 @@
By default,the SDK sets the user role as audience. You can call this method to set the user role as host. The user role (roles) determines the users' permissions at the SDK level, including whether they can publish audio and video streams in a channel.
- The difference between this method and is that, the former supports setting the audienceLatencyLevel. audienceLatencyLevel needs to be used together with role to determine the level of service that users can enjoy within their permissions. For example, an audience member can choose to receive remote streams with low latency or ultra-low latency. Latency of different levels differ in billing. See .
+ The difference between this method and is that, the former supports setting the audienceLatencyLevel. audienceLatencyLevel needs to be used together with role to determine the level of service that users can enjoy within their permissions. For example, an audience member can choose to receive remote streams with low latency or ultra-low latency. 不同的延时级别会影响计费,详见。
Call timing
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita
index baad2290254..a0b9c27e666 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdefaultaudioroutetospeakerphone.dita
@@ -45,15 +45,15 @@
Call timing
- Call this method before joining a channel. If you need to change the audio route after joining a channel, call .
+ Call this method before joining a channel. 如需在加入频道后切换音频路由,请调用 。
Parameters
@@ -74,4 +74,4 @@
- < 0: Failure. See for details and resolution suggestions.
-
\ No newline at end of file
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita
index 672bb945a84..c289cdc2ad2 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode.dita
@@ -33,7 +33,7 @@
The SDK defaults to enabling low-quality video stream adaptive mode () on the sender side, which means the sender does not actively send low-quality video stream. The receiving end with the role of the host can initiate a low-quality video stream request by calling , and upon receiving the request, the sending end automatically starts sending low-quality stream.
- If you want to modify this behavior, you can call this method and set mode to (never send low-quality video streams) or (always send low-quality video streams).
- If you want to restore the default behavior after making changes, you can call this method again with mode set to .
- The difference and connection between this method and is as follows:
+ The difference and connection between this method and is as follows:
- When calling this method and setting mode to , it has the same effect as ().
- When calling this method and setting mode to , it has the same effect as ().
- Both methods can be called before and after joining a channel. If both methods are used, the settings in the method called later takes precedence.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita
index ec180be2205..a4d2b511926 100644
--- a/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita
+++ b/en-US/dita/RTC-NG/API/api_irtcengine_setdualstreammode2.dita
@@ -44,8 +44,8 @@