public virtual AudioParams GetMixedAudioParams()
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita
index 0d86f209899..ed344d9568e 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getobservedaudioframeposition.dita
@@ -15,7 +15,7 @@
- (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition());
- (AgoraAudioFramePosition)getObservedAudioFramePosition NS_SWIFT_NAME(getObservedAudioFramePosition());
- virtual int getObservedAudioFramePosition() = 0;
+ virtual int getObservedAudioFramePosition() = 0;
public virtual int GetObservedAudioFramePosition()
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita
index c40e44a4502..511bfa17c92 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getplaybackaudioparams.dita
@@ -15,7 +15,7 @@
public abstract AudioParams getMixedAudioParams();
- (AgoraAudioParams* _Nonnull)getPlaybackAudioParams NS_SWIFT_NAME(getPlaybackAudioParams());
- virtual AudioParams getPlaybackAudioParams() = 0;
+ virtual AudioParams getPlaybackAudioParams() = 0;
public virtual AudioParams GetPlaybackAudioParams()
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita
index fc4a4771749..00efa2d44b9 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_getrecordaudioparams.dita
@@ -15,7 +15,7 @@
public abstract AudioParams getRecordAudioParams();
- (AgoraAudioParams* _Nonnull)getRecordAudioParams NS_SWIFT_NAME(getRecordAudioParams());
- virtual AudioParams getRecordAudioParams() = 0;
+ virtual AudioParams getRecordAudioParams() = 0;
public virtual AudioParams GetRecordAudioParams()
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita
index bef8a6554c9..c14320c25b7 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onearmonitoringaudioframe.dita
@@ -19,7 +19,7 @@
- (BOOL)onEarMonitoringAudioFrame:(AgoraAudioFrame* _Nonnull)frame;
- virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0;
+ virtual bool onEarMonitoringAudioFrame(AudioFrame& audioFrame) = 0;
onEarMonitoringAudioFrame?(audioFrame: AudioFrame): boolean;
public virtual bool OnEarMonitoringAudioFrame(AudioFrame audioFrame)
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita
index 224b49792a2..3d0c8d99b0d 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onmixedaudioframe.dita
@@ -17,7 +17,7 @@
int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type);
- (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onMixedAudioFrame(_:channelId:));
- virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;
+ virtual bool onMixedAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;
onMixedAudioFrame?(channelId: string, audioFrame: AudioFrame): boolean;
public virtual bool OnMixedAudioFrame(string channelId, AudioFrame audio_frame)
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita
index 8dba7000518..1822935bce9 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onplaybackaudioframe.dita
@@ -17,7 +17,7 @@
int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type);
- (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame;
- virtual bool onPlaybackAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;
+ virtual bool onPlaybackAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;
onPlaybackAudioFrame?(channelId: string, audioFrame: AudioFrame): boolean;
public virtual bool OnPlaybackAudioFrame(string channelId, AudioFrame audio_frame)
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita
index a2627b7bb19..413d335d554 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudioframeobserverbase_onrecordaudioframe.dita
@@ -17,7 +17,7 @@
int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs,
int avsync_type);
- (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame channelId:(NSString * _Nonnull)channelId NS_SWIFT_NAME(onRecordAudioFrame(_:channelId:));
- virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;
+ virtual bool onRecordAudioFrame(const char* channelId, AudioFrame& audioFrame) = 0;
onRecordAudioFrame?(channelId: string, audioFrame: AudioFrame): boolean;
public virtual bool OnRecordAudioFrame(string channelId, AudioFrame audioFrame)
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita b/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita
index 4e808a7ab0e..fd2d9ace775 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita
@@ -16,7 +16,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;
+ virtual void onFrame(agora::media::base::AudioPcmFrame* frame) = 0;
onFrame?(frame: AudioPcmFrame): void;
public virtual bool OnFrame(AudioPcmFrame frame)
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita
index 4943cd6dfcf..128b30fcac5 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onlocalaudiospectrum.dita
@@ -16,7 +16,7 @@
boolean onLocalAudioSpectrum(AudioSpectrumInfo data);
- (BOOL)onLocalAudioSpectrum:(NSArray<NSNumber *> * _Nullable)audioSpectrumData;
- virtual bool onLocalAudioSpectrum(const AudioSpectrumData& data) = 0;
+ virtual bool onLocalAudioSpectrum(const AudioSpectrumData& data) = 0;
onLocalAudioSpectrum?(data: AudioSpectrumData): boolean;
public virtual bool OnLocalAudioSpectrum(AudioSpectrumData data)
{
diff --git a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita
index ade3b15f578..151a1f93798 100644
--- a/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita
+++ b/en-US/dita/RTC-NG/API/callback_iaudiospectrumobserver_onremoteaudiospectrum.dita
@@ -17,7 +17,7 @@
- (BOOL)onRemoteAudioSpectrum:(NSArray<AgoraAudioSpectrumInfo *> * _Nullable)AudioSpectrumInfo;
- virtual bool onRemoteAudioSpectrum(const UserAudioSpectrumInfo * spectrums, unsigned int spectrumNumber) = 0;
+ virtual bool onRemoteAudioSpectrum(const UserAudioSpectrumInfo * spectrums, unsigned int spectrumNumber) = 0;
onRemoteAudioSpectrum?(
spectrums: UserAudioSpectrumInfo[],
spectrumNumber: number
diff --git a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita
index d5c7f93ae23..5389dd5e79a 100644
--- a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstatechanged.dita
@@ -18,7 +18,7 @@
- (void)onDirectCdnStreamingStateChanged:(AgoraDirectCdnStreamingState)state
error:(AgoraDirectCdnStreamingError)error
message:(NSString *_Nullable)message;
- virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char* message) {
+ virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char* message) {
(void)state;
(void)error;
(void)message;
diff --git a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita
index ad2d83e4d15..351670bf640 100644
--- a/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita
+++ b/en-US/dita/RTC-NG/API/callback_idirectcdnstreamingeventhandler_ondirectcdnstreamingstats.dita
@@ -15,7 +15,7 @@
void onDirectCdnStreamingStats(DirectCdnStreamingStats stats);
- (void)onDirectCdnStreamingStats:(AgoraDirectCdnStreamStats *_Nonnull)stats;
- virtual void onDirectCdnStreamingStats(const DirectCdnStreamStats& stats) {
+ virtual void onDirectCdnStreamingStats(const DirectCdnStreamStats& stats) {
(void)stats;
};
onDirectCdnStreamingStats?(stats: DirectCdnStreamingStats): void;
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita b/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita
index f89f48e0f9f..8ec05f54ab7 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayeraudioframeobserver_onframe.dita
@@ -15,7 +15,7 @@
-
+
onFrame?(frame: AudioPcmFrame): void;
public virtual bool OnFrame(AudioPcmFrame frame)
{
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita
index 52da69a5023..4818b9aff1d 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onreaddata.dita
@@ -17,7 +17,7 @@
typedef int(^AgoraRtcMediaPlayerCustomSourceOnReadCallback)(id<AgoraRtcMediaPlayerProtocol> _Nonnull playerKit, unsigned char * _Nullable buffer, int bufferSize);
- virtual int onReadData(unsigned char *buffer, int bufferSize) = 0;
+ virtual int onReadData(unsigned char *buffer, int bufferSize) = 0;
public virtual int OnReadData(IntPtr bufferPtr, int bufferSize)
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita
index 01d21289c88..1545fd04918 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayercustomdataprovider_onseek.dita
@@ -17,7 +17,7 @@
typedef long long(^AgoraRtcMediaPlayerCustomSourceOnSeekCallback)(id<AgoraRtcMediaPlayerProtocol> _Nonnull playerKit, long long offset, int whence);
- virtual int64_t onSeek(int64_t offset, int whence) = 0;
+ virtual int64_t onSeek(int64_t offset, int whence) = 0;
public virtual Int64 OnSeek(Int64 offset, int whence)
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita
index b55d2fb993a..3ee33ce65fc 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onmetadata.dita
@@ -18,7 +18,7 @@
- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit
didReceiveData:(NSString *_Nullable)data
length:(NSInteger)length;
- virtual void onMetaData(const void* data, int length) = 0;
+ virtual void onMetaData(const void* data, int length) = 0;
onMetaData?(data: Uint8Array, length: number): void;
public virtual void OnMetaData(byte[] data, int length) { }
onMetaData?(data: Uint8Array, length: number): void;
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita
index 52079db70f0..437add5cfa1 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita
@@ -20,7 +20,7 @@
elapsedTime:(NSInteger)elapsedTime
message:(NSString *_Nullable)message;
- virtual void onPlayerEvent(media::base::MEDIA_PLAYER_EVENT eventCode, int64_t elapsedTime, const char* message) = 0;
+ virtual void onPlayerEvent(media::base::MEDIA_PLAYER_EVENT eventCode, int64_t elapsedTime, const char* message) = 0;
onPlayerEvent?(
eventCode: MediaPlayerEvent,
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita
index 25dc32864a1..6846bf91dee 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayersourcestatechanged.dita
@@ -18,7 +18,7 @@
- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit
didChangedToState:(AgoraMediaPlayerState)state
error:(AgoraMediaPlayerError)error NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didChangedTo:error:));
- virtual void onPlayerSourceStateChanged(media::base::MEDIA_PLAYER_STATE state,
+ virtual void onPlayerSourceStateChanged(media::base::MEDIA_PLAYER_STATE state,
media::base::MEDIA_PLAYER_ERROR ec) = 0;
onPlayerSourceStateChanged?(
state: MediaPlayerState,
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita
index 79c3e78f25d..b60e9edd78a 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpositionchanged.dita
@@ -17,7 +17,7 @@
- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit
didChangedToPosition:(NSInteger)position NS_SWIFT_NAME(AgoraRtcMediaPlayer(_:didChangedTo:));
- virtual void onPositionChanged(int64_t position) = 0;
+ virtual void onPositionChanged(int64_t position) = 0;
onPositionChanged?(positionMs: number): void;
public virtual void OnPositionChanged(Int64 position_ms) { }
onPositionChanged?(positionMs: number): void;
diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita
index e5d0215a647..8bf9fb6f907 100644
--- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onpreloadevent.dita
@@ -18,7 +18,7 @@
- (void)AgoraRtcMediaPlayer:(id<AgoraRtcMediaPlayerProtocol> _Nonnull)playerKit
didPreloadEvent:(AgoraMediaPlayerPreloadEvent)event;
- virtual void onPreloadEvent(const char* src, media::base::PLAYER_PRELOAD_EVENT event) = 0;
+ virtual void onPreloadEvent(const char* src, media::base::PLAYER_PRELOAD_EVENT event) = 0;
onPreloadEvent?(src: string, event: PlayerPreloadEvent): void;
public virtual void OnPreloadEvent(string src, PLAYER_PRELOAD_EVENT @event) { }
diff --git a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita
index 59c1f12d8af..c3727a362bb 100644
--- a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderinfoupdated.dita
@@ -15,7 +15,7 @@
void onRecorderInfoUpdated(String channelId, int uid, RecorderInfo info);
- (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder informationDidUpdated:(NSString * _Nonnull)channelId uid:(NSUInteger)uid info:(AgoraMediaRecorderInfo* _Nonnull)info;
- virtual void onRecorderInfoUpdated(const char* channelId, rtc::uid_t uid, const RecorderInfo& info) = 0;
+ virtual void onRecorderInfoUpdated(const char* channelId, rtc::uid_t uid, const RecorderInfo& info) = 0;
onRecorderInfoUpdated?(
channelId: string,
uid: number,
diff --git a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita
index ed9bfe084fa..0773413c197 100644
--- a/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_imediarecorderobserver_onrecorderstatechanged.dita
@@ -15,7 +15,7 @@
void onRecorderStateChanged(String channelId, int uid, int state, int error);
- (void)mediaRecorder:(AgoraMediaRecorder* _Nonnull)recorder stateDidChanged:(NSString * _Nonnull)channelId uid:(NSUInteger)uid state:(AgoraMediaRecorderState)state error:(AgoraMediaRecorderErrorCode)error;
- virtual void onRecorderStateChanged(const char* channelId, rtc::uid_t uid, RecorderState state, RecorderErrorCode error) = 0;
+ virtual void onRecorderStateChanged(const char* channelId, rtc::uid_t uid, RecorderState state, RecorderErrorCode error) = 0;
onRecorderStateChanged?(
channelId: string,
uid: number,
diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita
index 3aacf96bde6..24047d7942e 100644
--- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita
+++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onmetadatareceived.dita
@@ -16,7 +16,7 @@
public abstract void onMetadataReceived(byte[] buffer, int uid, long timeStampMs);
- (void)receiveMetadata:(NSData * _Nonnull)data
fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp;
- virtual void onMetadataReceived(const Metadata &metadata) = 0;
+ virtual void onMetadataReceived(const Metadata &metadata) = 0;
onMetadataReceived?(metadata: Metadata): void;
public virtual void OnMetadataReceived(Metadata metadata)
{
diff --git a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita
index 44f8988aa08..6fa8567fc1b 100644
--- a/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita
+++ b/en-US/dita/RTC-NG/API/callback_imetadataobserver_onreadytosendmetadata.dita
@@ -16,7 +16,7 @@
public abstract byte[] onReadyToSendMetadata(long timeStampMs, int sourceType);
- (NSData * _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp
sourceType:(AgoraVideoSourceType)sourceType;
- virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0;
+ virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0;
public virtual bool OnReadyToSendMetadata(ref Metadata metadata, VIDEO_SOURCE_TYPE source_type)
{
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita
index 872175ae4c6..695d30ebbac 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onactivespeaker.dita
@@ -15,7 +15,7 @@
public void onActiveSpeaker(int uid) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine activeSpeaker:(NSUInteger)speakerUid;
- virtual void onActiveSpeaker(uid_t userId) { (void)userId; }
+ virtual void onActiveSpeaker(uid_t userId) { (void)userId; }
onActiveSpeaker?(connection: RtcConnection, uid: number): void;
public virtual void OnActiveSpeaker(RtcConnection connection, uint uid) { }
onActiveSpeaker?(connection: RtcConnection, uid: number): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita
index d478a7b00c7..52864c59c21 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita
@@ -18,7 +18,7 @@
didApiCallExecute:(NSInteger)error
api:(NSString * _Nonnull)api
result:(NSString * _Nonnull)result;
- virtual void onApiCallExecuted(int err,
+ virtual void onApiCallExecuted(int err,
const char* api,
const char* result) {
(void)err;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita
index 4a225e8bbed..8601474d353 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicestatechanged.dita
@@ -15,7 +15,7 @@
- virtual void onAudioDeviceStateChanged(const char* deviceId,
+ virtual void onAudioDeviceStateChanged(const char* deviceId,
int deviceType,
int deviceState) {
(void)deviceId;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita
index 28444bc5abd..7429452d0c7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiodevicevolumechanged.dita
@@ -15,7 +15,7 @@
- virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) {
+ virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) {
(void)deviceType;
(void)volume;
(void)muted;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita
index ce0109968fc..9c09b13306b 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingpositionchanged.dita
@@ -15,7 +15,7 @@
public void onAudioMixingPositionChanged(long position) {}
- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingPositionChanged:(NSInteger)position NS_SWIFT_NAME(rtcEngine(_:audioMixingPositionChanged:));
- virtual void onAudioMixingPositionChanged(int64_t position) {}
+ virtual void onAudioMixingPositionChanged(int64_t position) {}
onAudioMixingPositionChanged?(position: number): void;
public virtual void OnAudioMixingPositionChanged(long position) { }
onAudioMixingPositionChanged?(position: number): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita
index f5a12029c86..901b659e352 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita
@@ -16,7 +16,7 @@
public void onAudioMixingStateChanged(int state, int reasonCode);
- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)state
reasonCode:(AgoraAudioMixingReasonCode)reasonCode;
- virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) {
+ virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) {
(void)state;
(void)reason;
onAudioMixingStateChanged?(
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita
index b6a64a3d96c..52b92d850c0 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiopublishstatechanged.dita
@@ -20,7 +20,7 @@
oldState:(AgoraStreamPublishState)oldState
newState:(AgoraStreamPublishState)newState
elapseSinceLastState:(int)elapseSinceLastState;
- virtual void onAudioPublishStateChanged(const char* channel,
+ virtual void onAudioPublishStateChanged(const char* channel,
STREAM_PUBLISH_STATE oldState,
STREAM_PUBLISH_STATE newState,
int elapseSinceLastState) {
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita
index 7964dca2de5..b91f6ec27a4 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita
@@ -15,7 +15,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) {
+ virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay, unsigned short lost) {
(void)uid;
(void)quality;
(void)delay;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita
index 65a9d06420e..73b91035f7f 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioroutingchanged.dita
@@ -15,7 +15,7 @@
public void onAudioRouteChanged(int routing) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing;
- virtual void onAudioRoutingChanged(int routing) { (void)routing; }
+ virtual void onAudioRoutingChanged(int routing) { (void)routing; }
onAudioRoutingChanged?(routing: number): void;
public virtual void OnAudioRoutingChanged(int routing) {}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita
index 7aaedac6d32..355232bf19d 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiosubscribestatechanged.dita
@@ -21,7 +21,7 @@
oldState:(AgoraStreamSubscribeState)oldState
newState:(AgoraStreamSubscribeState)newState
elapseSinceLastState:(int)elapseSinceLastState;
- virtual void onAudioSubscribeStateChanged(const char* channel,
+ virtual void onAudioSubscribeStateChanged(const char* channel,
uid_t uid,
STREAM_SUBSCRIBE_STATE oldState,
STREAM_SUBSCRIBE_STATE newState,
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita
index 26a0cedda89..0e62461e548 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiovolumeindication.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
reportAudioVolumeIndicationOfSpeakers:(NSArray<AgoraRtcAudioVolumeInfo *> * _Nonnull)speakers
totalVolume:(NSInteger)totalVolume;
- virtual void onAudioVolumeIndication(const AudioVolumeInfo* speakers,
+ virtual void onAudioVolumeIndication(const AudioVolumeInfo* speakers,
unsigned int speakerNumber,
int totalVolume) {
(void)speakers;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita
index 33b53dc608f..0add9be84a0 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncameraexposureareachanged.dita
@@ -15,7 +15,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) {
+ virtual void onCameraExposureAreaChanged(int x, int y, int width, int height) {
(void)x;
(void)y;
(void)width;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita
index f61c9323c96..c0cef9ddb68 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncamerafocusareachanged.dita
@@ -15,7 +15,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) {
+ virtual void onCameraFocusAreaChanged(int x, int y, int width, int height) {
(void)x;
(void)y;
(void)width;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita
index c4973cb74da..88958193b83 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelayevent.dita
@@ -16,7 +16,7 @@
public void onChannelMediaRelayEvent(int code) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didReceiveChannelMediaRelayEvent:(AgoraChannelMediaRelayEvent)event;
- virtual void onChannelMediaRelayEvent(int code) {
+ virtual void onChannelMediaRelayEvent(int code) {
(void)code;
}
onChannelMediaRelayEvent?(code: ChannelMediaRelayEvent): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita
index e27cc185ed1..4abc6405993 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onchannelmediarelaystatechanged.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
channelMediaRelayStateDidChange:(AgoraChannelMediaRelayState)state
error:(AgoraChannelMediaRelayError)error;
- virtual void onChannelMediaRelayStateChanged(CHANNEL_MEDIA_RELAY_STATE state,CHANNEL_MEDIA_RELAY_ERROR code) {
+ virtual void onChannelMediaRelayStateChanged(CHANNEL_MEDIA_RELAY_STATE state,CHANNEL_MEDIA_RELAY_ERROR code) {
}
onChannelMediaRelayStateChanged?(
state: ChannelMediaRelayState,
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita
index 0427bba625c..bd005dab010 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechanged.dita
@@ -11,7 +11,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChanged:(AgoraClientRole)oldRole
newRole:(AgoraClientRole)newRole newRoleOptions:(AgoraClientRoleOptions * _Nullable)newRoleOptions
NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:));
- virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole, const ClientRoleOptions& newRoleOptions) {
+ virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole, const ClientRoleOptions& newRoleOptions) {
(void)oldRole;
(void)newRole;
(void)newRoleOptions;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita
index 6ed744c8753..eaeb1bd2ce9 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onclientrolechangefailed.dita
@@ -15,7 +15,7 @@
public void onClientRoleChangeFailed(int reason, int currentRole) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChangeFailed:(AgoraClientRoleChangeFailedReason)reason currentRole:(AgoraClientRole)currentRole;
- virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole) {
+ virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole) {
(void)reason;
(void)currentRole;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita
index c8930125ec0..5f3efbb6085 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionbanned.dita
@@ -15,7 +15,7 @@
public void onConnectionBanned() {}
- (void)rtcEngineConnectionDidBanned:(AgoraRtcEngineKit * _Nonnull)engine;
- virtual void onConnectionBanned()
+ virtual void onConnectionBanned()
onConnectionBanned?(connection: RtcConnection): void;
public virtual void OnConnectionBanned(RtcConnection connection) {}
onConnectionBanned?(connection: RtcConnection): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita
index 021c02dbdf9..b0b17a2b68c 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectioninterrupted.dita
@@ -15,7 +15,7 @@
public void onConnectionInterrupted() {}
- (void)rtcEngineConnectionDidInterrupted:(AgoraRtcEngineKit * _Nonnull)engine;
- virtual void onConnectionInterrupted() {}
+ virtual void onConnectionInterrupted() {}
onConnectionInterrupted?(connection: RtcConnection): void;
public virtual void OnConnectionInterrupted(RtcConnection connection) {}
onConnectionInterrupted?(connection: RtcConnection): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita
index 95c2d0fbc69..2ed371285e7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionlost.dita
@@ -15,7 +15,7 @@
public void onConnectionLost() {}
- (void)rtcEngineConnectionDidLost:(AgoraRtcEngineKit * _Nonnull)engine;
- virtual void onConnectionLost()
+ virtual void onConnectionLost()
onConnectionLost?(connection: RtcConnection): void;
public virtual void OnConnectionLost(RtcConnection connection) {}
onConnectionLost?(connection: RtcConnection): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita
index 5ec58de3755..9f56dfe9b32 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
connectionStateChanged:(AgoraConnectionState)state
reason:(AgoraConnectionChangedReason)reason;
- virtual void onConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason) {
+ virtual void onConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason) {
(void)state;
(void)reason;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita
index 376ee662939..9f8f6247217 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_oncontentinspectresult.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine contentInspectResult:(AgoraContentInspectResult)result;
- virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; }
+ virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; }
onContentInspectResult?(result: ContentInspectResult): void;
public virtual void OnContentInspectResult(CONTENT_INSPECT_RESULT result)
onContentInspectResult?(result: ContentInspectResult): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita
index 6d3bf12aa07..6b2ec755a68 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onencryptionerror.dita
@@ -16,7 +16,7 @@
public void onEncryptionError(int errorType) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didOccurEncryptionError:(AgoraEncryptionErrorType)errorType;
- virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) {
+ virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) {
(void)errorType;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita
index 934682d3331..138b0a5f1a3 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onerror.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurError:(AgoraErrorCode)errorCode;
- virtual void onError(int err, const char* msg) {
+ virtual void onError(int err, const char* msg) {
(void)err;
(void)msg;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita
index 45923a30c18..81bac1494ab 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionevent.dita
@@ -20,7 +20,7 @@
value:(NSString * __nullable)value;
@end
- virtual void onExtensionEvent(const char* provider, const char* extension, const char* key, const char* value) {
+ virtual void onExtensionEvent(const char* provider, const char* extension, const char* key, const char* value) {
(void)provider;
(void)extension;
(void)key;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita
index bab6ad0ca77..774e00c3b49 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstarted.dita
@@ -17,7 +17,7 @@
- (void)onExtensionStarted:(NSString * __nullable)provider
extension:(NSString * __nullable)extension;
- virtual void onExtensionStarted(const char* provider, const char* extension) {
+ virtual void onExtensionStarted(const char* provider, const char* extension) {
(void)provider;
(void)extension;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita
index d25429e1225..b80e8035fe7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfacepositionchanged.dita
@@ -16,7 +16,7 @@
public void onFacePositionChanged(
int imageWidth, int imageHeight, AgoraFacePositionInfo[] faceRectArr) {}
- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine facePositionDidChangeWidth:(int)width previewHeight:(int)height faces:(NSArray<AgoraFacePositionInfo*>* _Nullable)faces NS_SWIFT_NAME(rtcEngine(_:facePositionDidChangeWidth:previewHeight:faces:));
- virtual void onFacePositionChanged(int imageWidth, int imageHeight,
+ virtual void onFacePositionChanged(int imageWidth, int imageHeight,
const Rectangle* vecRectangle, const int* vecDistance,
int numFaces) {
(void) imageWidth;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita
index 3b5cf97b344..942eb841d38 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalaudioframepublished.dita
@@ -15,7 +15,7 @@
public void onFirstLocalAudioFramePublished(int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalAudioFramePublished:(NSInteger)elapsed;
- virtual void onFirstLocalAudioFramePublished(int elapsed) {
+ virtual void onFirstLocalAudioFramePublished(int elapsed) {
(void)elapsed;
}
onFirstLocalAudioFramePublished?(
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita
index 9ae8c8bc896..7ef3bddc10d 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframe.dita
@@ -21,7 +21,7 @@
elapsed:(NSInteger)elapsed
sourceType:(AgoraVideoSourceType)sourceType;
- virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed) {
+ virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed) {
(void)source;
(void)width;
(void)height;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita
index 93da417f32c..22123687ca7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstlocalvideoframepublished.dita
@@ -19,7 +19,7 @@
firstLocalVideoFramePublishedWithElapsed:(NSInteger)elapsed
sourceType:(AgoraVideoSourceType)sourceType;
- virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed) {
+ virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed) {
(void)source;
(void)elapsed;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita
index 601bbc9acf0..b17054c9763 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudiodecoded.dita
@@ -18,7 +18,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine firstRemoteAudioFrameDecodedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed;
- virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) {
+ virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) {
(void)uid;
(void)elapsed;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita
index b2d9f1588f4..790bcf73ba7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremoteaudioframe.dita
@@ -18,7 +18,7 @@
- (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 {
+ virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) AGORA_DEPRECATED_ATTRIBUTE {
(void)uid;
(void)elapsed;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita
index 1dbcde8771f..3e8af94c28d 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideodecoded.dita
@@ -16,7 +16,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,
+ virtual void onFirstRemoteVideoDecoded(uid_t uid,
int width,
int height,
int elapsed) {
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita
index e5f206babb2..fa844882514 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onfirstremotevideoframe.dita
@@ -16,7 +16,7 @@
public void onFirstRemoteVideoFrame(int uid, int width, int height, int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
firstRemoteVideoFrameOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed;
- virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) {
+ virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) {
(void)userId;
(void)width;
(void)height;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita
index 573d24fec8d..d500adf45a5 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onjoinchannelsuccess.dita
@@ -16,7 +16,7 @@
public void onJoinChannelSuccess(String channel, int uid, int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didJoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;
- virtual void onJoinChannelSuccess(const char* channel,
+ virtual void onJoinChannelSuccess(const char* channel,
uid_t uid,
int elapsed) {
(void)channel;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita
index e88c918b759..43175fccb3b 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlastmilequality.dita
@@ -15,7 +15,7 @@
public void onLastmileQuality(int quality) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileQuality:(AgoraNetworkQuality)quality;
- virtual void onLastmileQuality(int quality) {
+ virtual void onLastmileQuality(int quality) {
(void)quality;
}
onLastmileQuality?(quality: QualityType): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita
index 2e16b972394..8c76c470a54 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onleavechannel.dita
@@ -16,7 +16,7 @@
public void onLeaveChannel(RtcStats stats) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didLeaveChannelWithStats:(AgoraChannelStats * _Nonnull)stats;
- virtual void onLeaveChannel(const RtcStats& stats) {
+ virtual void onLeaveChannel(const RtcStats& stats) {
(void)stats;
}
onLeaveChannel?(connection: RtcConnection, stats: RtcStats): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita
index 4a45e129e81..618d2df92fa 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostatechanged.dita
@@ -17,7 +17,7 @@
public void onLocalAudioStateChanged(int state, int error) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
localAudioStateChanged:(AgoraAudioLocalState)state error:(AgoraAudioLocalError)error;
- virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error) {
+ virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error) {
(void)state;
(void)error;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita
index b9ce15c7ab4..c3308ca360a 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalaudiostats.dita
@@ -16,7 +16,7 @@
public void onLocalAudioStats(LocalAudioStats stats) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
localAudioStats:(AgoraRtcLocalAudioStats * _Nonnull)stats;
- virtual void onLocalAudioStats(const LocalAudioStats& stats) {
+ virtual void onLocalAudioStats(const LocalAudioStats& stats) {
(void)stats;
}
onLocalAudioStats?(connection: RtcConnection, stats: LocalAudioStats): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita
index 59d3c140a40..3d101d2f71c 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita
@@ -22,7 +22,7 @@
error:(AgoraLocalVideoStreamError)error
sourceType:(AgoraVideoSourceType)sourceType;
- virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error) {
+ virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error) {
(void)source;
(void)state;
(void)error;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita
index 425e6d47bad..1e43f65c9dc 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostats.dita
@@ -19,7 +19,7 @@
localVideoStats:(AgoraRtcLocalVideoStats * _Nonnull)stats
sourceType:(AgoraVideoSourceType)sourceType;
- virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats& stats) {
+ virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats& stats) {
(void)source;
(void)stats;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita
index b43003e87d5..e6d0e009900 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita
@@ -17,7 +17,7 @@
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){
+ virtual void onLocalVideoTranscoderError(const TranscodingVideoStream& stream, VIDEO_TRANSCODER_ERROR error){
(void)stream;
(void)error;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita
index 27f7ff28e3b..b16d0596261 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita
@@ -18,7 +18,7 @@
networkQuality:(NSUInteger)uid
txQuality:(AgoraNetworkQuality)txQuality
rxQuality:(AgoraNetworkQuality)rxQuality;
- virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality) {
+ virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality) {
(void)uid;
(void)txQuality;
(void)rxQuality;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita
index 77f57f45e8f..66ae0470320 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworktypechanged.dita
@@ -15,7 +15,7 @@
public void onNetworkTypeChanged(int type) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkTypeChanged:(AgoraNetworkType)type;
- virtual void onNetworkTypeChanged(NETWORK_TYPE type) {
+ virtual void onNetworkTypeChanged(NETWORK_TYPE type) {
(void)type;
}
onNetworkTypeChanged?(connection: RtcConnection, type: NetworkType): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita
index 2e20b88e329..5b456631a09 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onpermissionerror.dita
@@ -15,7 +15,7 @@
public void onPermissionError(int permission) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine permissionError:(AgoraPermissionType)type;
- virtual void onPermissionError(PERMISSION_TYPE permissionType) {
+ virtual void onPermissionError(PERMISSION_TYPE permissionType) {
(void)permissionType;
}
onPermissionError?(permissionType: PermissionType): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita
index fe7d799511b..b0665ff29a6 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onproxyconnected.dita
@@ -16,7 +16,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) {
+ virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) {
(void)channel;
(void)uid;
(void)proxyType;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita
index 4e67cb5d06e..5b794ee85df 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrejoinchannelsuccess.dita
@@ -16,7 +16,7 @@
public void onRejoinChannelSuccess(String channel, int uid, int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didRejoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;
- virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
+ virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
(void)channel;
(void)uid;
(void)elapsed;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita
index 15664166f08..2f79b21c0f7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostatechanged.dita
@@ -16,7 +16,7 @@
public void onRemoteAudioStateChanged(int uid, int state, int reason, int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
remoteAudioStateChangedOfUid:(NSUInteger)uid state:(AgoraAudioRemoteState)state reason:(AgoraAudioRemoteReason)reason elapsed:(NSInteger)elapsed;
- virtual void onRemoteAudioStateChanged(uid_t uid,
+ virtual void onRemoteAudioStateChanged(uid_t uid,
REMOTE_AUDIO_STATE state,
REMOTE_AUDIO_STATE_REASON reason,
int elapsed) {
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita
index ee85ed09753..cde395a1dbc 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiostats.dita
@@ -16,7 +16,7 @@
public void onRemoteAudioStats(RemoteAudioStats stats) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
remoteAudioStats:(AgoraRtcRemoteAudioStats * _Nonnull)stats;
- virtual void onRemoteAudioStats(const RemoteAudioStats& stats) {
+ virtual void onRemoteAudioStats(const RemoteAudioStats& stats) {
(void)stats;
}
onRemoteAudioStats?(connection: RtcConnection, stats: RemoteAudioStats): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita
index 9d7ef0ea635..0d206bda813 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremoteaudiotransportstats.dita
@@ -19,7 +19,7 @@
delay:(NSUInteger)delay
lost:(NSUInteger)lost
rxKBitRate:(NSUInteger)rxKBitRate;
- virtual void onRemoteAudioTransportStats(uid_t uid,
+ virtual void onRemoteAudioTransportStats(uid_t uid,
unsigned short delay,
unsigned short lost,
unsigned short rxKBitRate) {
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita
index c6abb27bcef..81e0ad76344 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostatechanged.dita
@@ -16,7 +16,7 @@
public void onRemoteVideoStateChanged(int uid, int state, int reason, int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
remoteVideoStateChangedOfUid:(NSUInteger)uid state:(AgoraVideoRemoteState)state reason:(AgoraVideoRemoteReason)reason elapsed:(NSInteger)elapsed;
- virtual void onRemoteVideoStateChanged(uid_t uid,
+ virtual void onRemoteVideoStateChanged(uid_t uid,
REMOTE_VIDEO_STATE state,
REMOTE_VIDEO_STATE_REASON reason,
int elapsed) {
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita
index 4f4333a8f30..a83b6465851 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideostats.dita
@@ -16,7 +16,7 @@
public void onRemoteVideoStats(RemoteVideoStats stats) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
remoteVideoStats:(AgoraRtcRemoteVideoStats * _Nonnull)stats;
- virtual void onRemoteVideoStats(const RemoteVideoStats& stats) {
+ virtual void onRemoteVideoStats(const RemoteVideoStats& stats) {
(void)stats;
}
onRemoteVideoStats?(connection: RtcConnection, stats: RemoteVideoStats): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita
index e6c8a8af98a..02b32c2c270 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onremotevideotransportstats.dita
@@ -19,7 +19,7 @@
delay:(NSUInteger)delay
lost:(NSUInteger)lost
rxKBitRate:(NSUInteger)rxKBitRate;
- virtual void onRemoteVideoTransportStats(uid_t uid,
+ virtual void onRemoteVideoTransportStats(uid_t uid,
unsigned short delay,
unsigned short lost,
unsigned short rxKBitRate) {
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita
index aedaf448a41..d838837a629 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrequesttoken.dita
@@ -15,7 +15,7 @@
public void onRequestToken() {}
- (void)rtcEngineRequestToken:(AgoraRtcEngineKit * _Nonnull)engine;
- virtual void onRequestToken()
+ virtual void onRequestToken()
onRequestToken?(connection: RtcConnection): void;
public virtual void OnRequestToken(RtcConnection connection) {}
onRequestToken?(connection: RtcConnection): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita
index dce601b17e0..fd3829c8a5a 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrhythmplayerstatechanged.dita
@@ -16,7 +16,7 @@
public void onRhythmPlayerStateChanged(int state, int errorCode) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRhythmPlayerStateChanged:(AgoraRhythmPlayerState)state
errorCode:(AgoraRhythmPlayerError)errorCode NS_SWIFT_NAME(rtcEngine(_:didRhythmPlayerStateChanged:errorCode:));
- virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode) {
+ virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode) {
(void)state;
(void)errorCode;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita
index 789bb6fa173..8fc5b623f77 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtcstats.dita
@@ -16,7 +16,7 @@
public void onRtcStats(RtcStats stats) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
reportRtcStats:(AgoraChannelStats * _Nonnull)stats;
- virtual void onRtcStats(const RtcStats& stats) {
+ virtual void onRtcStats(const RtcStats& stats) {
(void)stats;
}
onRtcStats?(connection: RtcConnection, stats: RtcStats): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita
index ca176be64c3..89be875c4b3 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingevent.dita
@@ -15,7 +15,7 @@
public void onRtmpStreamingEvent(String url, int event) {}
- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine rtmpStreamingEventWithUrl:(NSString* _Nonnull)url eventCode:(AgoraRtmpStreamingEvent)eventCode;
- virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) {
+ virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) {
(void)url;
(void)eventCode;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita
index 63f7c745eda..392d670e7ab 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onrtmpstreamingstatechanged.dita
@@ -15,7 +15,7 @@
public void onRtmpStreamingStateChanged(String url, int state, int errCode) {}
- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine rtmpStreamingChangedToState:(NSString* _Nonnull)url state:(AgoraRtmpStreamingState)state errCode:(AgoraRtmpStreamingErrorCode)errCode;
- virtual void onRtmpStreamingStateChanged(const char* url, RTMP_STREAM_PUBLISH_STATE state,
+ virtual void onRtmpStreamingStateChanged(const char* url, RTMP_STREAM_PUBLISH_STATE state,
RTMP_STREAM_PUBLISH_ERROR_TYPE errCode) {
(void)url;
(void)state;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita
index c0a838e4383..f595c8fdc9f 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onsnapshottaken.dita
@@ -15,7 +15,7 @@
public void onSnapshotTaken(int uid, String filePath, int width, int height, int errCode) {}
- (void)rtcEngine:(AgoraRtcEngineKit* _Nonnull)engine snapshotTaken:(NSUInteger)uid filePath:(NSString* _Nonnull)filePath width:(NSInteger)width height:(NSInteger)height errCode:(NSInteger)errCode;
- virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) {
+ virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) {
(void)uid;
(void)filePath;
(void)width;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita
index d744babac84..9f5125f39b4 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessage.dita
@@ -18,7 +18,7 @@
receiveStreamMessageFromUid:(NSUInteger)uid
streamId:(NSInteger)streamId
data:(NSData * _Nonnull)data;
- virtual void onStreamMessage(uid_t userId, int streamId, const char* data, size_t length, uint64_t sentTs) {
+ virtual void onStreamMessage(uid_t userId, int streamId, const char* data, size_t length, uint64_t sentTs) {
(void)userId;
(void)streamId;
(void)data;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita
index a19b9450dd9..7a644837a9a 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreammessageerror.dita
@@ -20,7 +20,7 @@
error:(NSInteger)error
missed:(NSInteger)missed
cached:(NSInteger)cached;
- virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached) {
+ virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached) {
(void)userId;
(void)streamId;
(void)code;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita
index 05d3876b829..aad668c5387 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onstreampublished.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
streamPublishedWithUrl:(NSString * _Nonnull)url
errorCode:(AgoraErrorCode)errorCode;
- virtual void onStreamPublished(const char *url, int error) {
+ virtual void onStreamPublished(const char *url, int error) {
(void)url;
(void)error;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita
index 556ba7bf585..766ef22756f 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_ontokenprivilegewillexpire.dita
@@ -16,7 +16,7 @@
public void onTokenPrivilegeWillExpire(String token) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
tokenPrivilegeWillExpire:(NSString *_Nonnull)token;
- virtual void onTokenPrivilegeWillExpire(const char* token) {
+ virtual void onTokenPrivilegeWillExpire(const char* token) {
(void)token;
}
onTokenPrivilegeWillExpire?(connection: RtcConnection, token: string): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita
index 7f04aeab4ba..f5474d2bf08 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuplinknetworkinfoupdated.dita
@@ -16,7 +16,7 @@
public void onUplinkNetworkInfoUpdated(UplinkNetworkInfo info) {}
- (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine
uplinkNetworkInfoUpdate:(AgoraUplinkNetworkInfo *_Nonnull)networkInfo;
- virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) {
+ virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) {
(void)info;
}
onUplinkNetworkInfoUpdated?(info: UplinkNetworkInfo): void;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita
index a54bb7524bc..7825cbd0205 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablelocalvideo.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didLocalVideoEnabled:(BOOL)enabled
byUid:(NSUInteger)uid
- virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) {
+ virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) {
(void)uid;
(void)enabled;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita
index 7bab9eb5b50..65c889ac544 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserenablevideo.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didVideoEnabled:(BOOL)enabled
byUid:(NSUInteger)uid
- virtual void onUserEnableVideo(uid_t uid, bool enabled) {
+ virtual void onUserEnableVideo(uid_t uid, bool enabled) {
(void)uid;
(void)enabled;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita
index f7e0e759599..e40899a6e17 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserinfoupdated.dita
@@ -15,7 +15,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) {
+ virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) {
(void)uid;
(void)info;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita
index 394bd25300b..3111f873550 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita
@@ -9,7 +9,7 @@
public void onUserJoined(int uid, int elapsed) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didJoinedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed;
- virtual void onUserJoined(uid_t uid, int elapsed) {
+ virtual void onUserJoined(uid_t uid, int elapsed) {
(void)uid;
(void)elapsed;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita
index 0a1d6ba7f0c..4e52bef2419 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermuteaudio.dita
@@ -15,7 +15,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) {
+ virtual void onUserMuteAudio(uid_t uid, bool muted) {
(void)uid;
(void)muted;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita
index 472c8918f5a..f625fcab4e1 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onusermutevideo.dita
@@ -15,7 +15,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) {
+ virtual void onUserMuteVideo(uid_t uid, bool muted) {
(void)uid;
(void)muted;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita
index ef5d105f7a9..f9c1d675462 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuseroffline.dita
@@ -17,7 +17,7 @@
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine
didOfflineOfUid:(NSUInteger)uid
reason:(AgoraUserOfflineReason)reason;
- virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason) {
+ virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason) {
(void)uid;
(void)reason;
}
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita
index 2003a6a9c98..55efdc96f88 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideodevicestatechanged.dita
@@ -15,7 +15,7 @@
- (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) {
+ virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
(void)deviceId;
(void)deviceType;
(void)deviceState;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita
index b3e8848e421..3b59aafa1e7 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideopublishstatechanged.dita
@@ -22,7 +22,7 @@
newState:(AgoraStreamPublishState)newState
elapseSinceLastState:(int)elapseSinceLastState;
- virtual void onVideoPublishStateChanged(VIDEO_SOURCE_TYPE source, const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
+ virtual void onVideoPublishStateChanged(VIDEO_SOURCE_TYPE source, const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
(void)source;
(void)channel;
(void)oldState;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita
index 848ecba2773..42096443be3 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita
@@ -16,7 +16,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) {
+ virtual void onVideoRenderingTracingResult(uid_t uid, MEDIA_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo) {
(void)uid;
(void)currentEvent;
(void)tracingInfo;
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita
index 9a64a30cc60..3696a8def1a 100644
--- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita
+++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideosizechanged.dita
@@ -16,7 +16,7 @@
public void onVideoSizeChanged(
Constants.VideoSourceType source, int uid, int width, int height, int rotation) {}
- (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoSizeChangedOfSourceType:(AgoraVideoSourceType)sourceType uid:(NSString * _Nonnull)uid size:(CGSize)size rotation:(NSInteger)rotation NS_SWIFT_NAME(rtcEngine(_:videoSizeChangedOf:uid:size:rotation:));
- virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) {
+ virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) {
(void)uid;
(void)width;
(void)height;
diff --git a/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita b/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita
index 8e8c7d6e371..caa080d5dfb 100644
--- a/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita
+++ b/en-US/dita/RTC-NG/API/callback_ivideoencodedframeobserver_onencodedvideoframereceived.dita
@@ -15,7 +15,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,
+ virtual bool onEncodedVideoFrameReceived(rtc::uid_t uid, const uint8_t* imageBuffer, size_t length,
const rtc::EncodedVideoFrameInfo& videoEncodedFrameInfo) = 0;
onEncodedVideoFrameReceived?(
uid: number,
diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita
index 8fa8045a6a6..413746f0346 100644
--- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita
+++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getmirrorapplied.dita
@@ -15,7 +15,7 @@
boolean getMirrorApplied();
- (BOOL)getMirrorApplied;
- virtual bool getMirrorApplied() { return false; }
+ virtual bool getMirrorApplied() { return false; }
diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita
index 2eee26eda55..3a52b60c5f6 100644
--- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita
+++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getobservedframeposition.dita
@@ -15,7 +15,7 @@
int getObservedFramePosition();
- (unsigned int)getObservedFramePosition;
- virtual uint32_t getObservedFramePosition() {
+ virtual uint32_t getObservedFramePosition() {
return base::POSITION_POST_CAPTURER | base::POSITION_PRE_RENDERER;
}
diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita
index a7c51a85454..2a16059ab12 100644
--- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita
+++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getrotationapplied.dita
@@ -15,7 +15,7 @@
boolean getRotationApplied();
- (BOOL)getRotationApplied;
- virtual bool getRotationApplied() { return false; }
+ virtual bool getRotationApplied() { return false; }
diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita
index a73c149badc..b8078a714d4 100644
--- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita
+++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita
@@ -17,7 +17,7 @@
- (AgoraVideoFormat)getVideoFormatPreference;
- virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference() { return VIDEO_PIXEL_DEFAULT; }
+ virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference() { return VIDEO_PIXEL_DEFAULT; }
public virtual VIDEO_OBSERVER_FRAME_TYPE GetVideoFormatPreference()
{
@@ -32,7 +32,7 @@
If you want the video captured by the sender to be the original format, set the original video data format to in the return value. The original video pixel format varies based on different platforms. For the actual video pixel format, see .