13 NS_ASSUME_NONNULL_BEGIN
37 - (int)joinChannelExByToken:(NSString* _Nullable)token
41 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock NS_SWIFT_NAME(joinChannelEx(byToken:connection:delegate:mediaOptions:joinSuccess:));
78 - (int)joinChannelExByToken:(NSString* _Nullable)token
79 channelId:(NSString* _Nonnull)channelId
80 userAccount:(NSString* _Nonnull)userAccount
83 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock NS_SWIFT_NAME(joinChannelEx(byToken:channelId:userAccount:delegate:mediaOptions:joinSuccess:));
95 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateChannelEx(with:connection:));
107 leaveChannelBlock:(
void(^ _Nullable)(
AgoraChannelStats* _Nonnull stat))leaveChannelBlock NS_SWIFT_NAME(leaveChannelEx(_:leaveChannelBlock:));
133 - (int)muteLocalAudioStreamEx:(BOOL)mute connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalAudioStreamEx(_:connection:));
147 - (int)muteLocalVideoStreamEx:(BOOL)mute connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteLocalVideoStreamEx(_:connection:));
161 leaveChannelBlock:(
void(^ _Nullable)(
AgoraChannelStats* _Nonnull stat))leaveChannelBlock;
175 - (int)muteRemoteAudioStreamEx:(NSUInteger)uid
177 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteRemoteAudioStreamEx(_:mute:connection:));
192 - (int)muteAllRemoteAudioStreamsEx:(BOOL)mute
193 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteAudioStreamsEx(_:connection:));
212 - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config
213 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setVideoEncoderConfigurationEx(_:connection:));
226 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setupRemoteVideoEx(_:connection:));
239 - (int)setRemoteRenderModeEx:(NSUInteger)uid
241 mirror:(AgoraVideoMirrorMode)mirror
242 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setRemoteRenderModeEx(_:mode:mirror:connection:));
260 - (int)muteRemoteVideoStreamEx:(NSUInteger)uid
262 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteRemoteVideoStreamEx(_:mute:connection:));
277 - (int)muteAllRemoteVideoStreamsEx:(BOOL)mute
278 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(muteAllRemoteVideoStreamsEx(_:connection:));
295 - (int)enableDualStreamModeEx:(BOOL)enabled
297 connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableDualStreamModeEx(_:streamConfig:connection:)) __deprecated_msg("use setDualStreamModeEx: instead.");
312 connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setDualStreamModeEx(_:streamConfig:connection:));
330 connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setDualStreamModeEx(_:connection:));
352 - (int)setRemoteVideoStreamEx:(NSUInteger)uid
354 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoStreamEx(_:type:connection:));
366 - (int)setRemoteVideoSubscriptionOptionsEx:(NSUInteger)uid
368 connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setRemoteVideoSubscriptionOptionsEx(_:options:connection:));
380 - (
AgoraUserInfo* _Nullable)getUserInfoByUserAccountEx:(NSString* _Nonnull)userAccount
382 withError:(AgoraErrorCode* _Nullable)error NS_SWIFT_NAME(getUserInfo(byUserAccountEx:connection:withError:));
396 - (
AgoraUserInfo* _Nullable)getUserInfoByUidEx:(NSUInteger)uid
398 withError:(AgoraErrorCode* _Nullable)error NS_SWIFT_NAME(getUserInfo(byUidEx:connection:withError:));
409 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
430 - (int)enableLoopbackRecordingEx:(BOOL)enabled
431 deviceName:(NSString* _Nullable)deviceName
432 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(enableLoopbackRecordingEx(_:deviceName:connection:));
449 - (int)adjustRecordingSignalVolumeEx:(NSInteger)volume
465 - (int)muteRecordingSignalEx:(BOOL)mute
490 - (int)adjustUserPlaybackSignalVolumeEx:(NSUInteger)uid
491 volume:(NSInteger)volume
494 - (int)sendCustomReportMessageEx:(NSString * _Nullable)messageId
495 category:(NSString * _Nullable)category
496 event:(NSString * _Nullable)event
497 label:(NSString * _Nullable)label
498 value:(NSInteger)value
499 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(sendCustomReportMessageEx(_:category:event:label:value:connection:));
501 - (int)enableAudioVolumeIndicationEx:(NSInteger)interval
502 smooth:(NSInteger)smooth
503 reportVad:(BOOL)reportVad
504 connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableAudioVolumeIndicationEx(_:smooth:reportVad:connection:));
530 - (int)setRemoteVoicePositionEx:(NSUInteger)uid
533 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setRemoteVoicePositionEx(_:pan:gain:connection:));
551 - (int)setRemoteUserSpatialAudioParamsEx:(NSUInteger)uid
552 params:(AgoraSpatialAudioParams* _Nonnull)params
553 connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(setRemoteUserSpatialAudioParamsEx(_:params:connection:));
581 - (int)addVideoWatermarkEx:(NSURL* _Nonnull)url options:(
WatermarkOptions* _Nonnull)options connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(addVideoWatermarkEx(_:options:connection:));
589 - (int)clearVideoWatermarkEx:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(clearVideoWatermarkEx(_:));
615 - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId
616 reliable:(BOOL)reliable
617 ordered:(BOOL)ordered
618 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(createDataStreamEx(_:reliable:ordered:connection:));
629 - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId
631 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(createDataStreamEx(_:config:connection:));
657 - (int)sendStreamMessageEx:(NSInteger)streamId
658 data:(NSData * _Nonnull)data
659 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(sendStreamMessageEx(_:data:connection:));
678 - (int)setHighPriorityUserListEx:(NSArray <NSNumber *> *_Nullable)uidList
679 option:(AgoraStreamFallbackOptions)option
700 - (int)setSubscribeAudioBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setSubscribeAudioBlocklistEx(_:connection:));
717 - (int)setSubscribeAudioAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setSubscribeAudioAllowlistEx(_:connection:));
732 - (int)setSubscribeVideoBlocklistEx:(NSArray <NSNumber *> *_Nonnull)blocklist connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setSubscribeVideoBlocklistEx(_:connection:));
749 - (int)setSubscribeVideoAllowlistEx:(NSArray <NSNumber *> *_Nonnull)allowlist connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setSubscribeVideoAllowlistEx(_:connection:));
751 - (NSInteger)takeSnapshotEx:(
AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid filePath:(NSString* _Nonnull)filePath NS_SWIFT_NAME(takeSnapshotEx(_:uid:filePath:));
763 - (int)sendAudioMetadataEx:(
AgoraRtcConnection * _Nonnull)connection metadata:(NSData * _Nonnull)metadata NS_SWIFT_NAME(sendAudioMetadataEx(_:metadata:));
785 - (int)startRtmpStreamWithoutTranscodingEx:(NSString* _Nonnull)url
786 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithoutTranscodingEx(_:connection:));
798 - (int)startRtmpStreamWithTranscodingEx:(NSString* _Nonnull)url
799 transcoding:(AgoraLiveTranscoding* _Nullable)transcoding
800 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startRtmpStreamWithTranscodingEx(_:transcoding:connection:));
812 - (int)updateRtmpTranscodingEx:(AgoraLiveTranscoding* _Nullable)transcoding
813 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(updateRtmpTranscodingEx(_:connection:));
822 - (int)stopRtmpStreamEx:(NSString* _Nonnull)url
823 connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopRtmpStreamEx(_:connection:));
854 - (int)stopChannelMediaRelayEx:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(stopChannelMediaRelayEx(_:));
867 - (int)pauseAllChannelMediaRelayEx:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(pauseAllChannelMediaRelayEx(_:));
880 - (int)resumeAllChannelMediaRelayEx:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(resumeAllChannelMediaRelayEx(_:));
898 - (int)startMediaRenderingTracingEx:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(startMediaRenderingTracingEx(_:));
907 - (int)setParametersEx:(NSString * _Nonnull)options connection:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(setParametersEx(_:connection:));
920 - (NSString * _Nullable)getCallIdEx:(
AgoraRtcConnection * _Nonnull)connection NS_SWIFT_NAME(getCallIdEx(_:));
968 - (int)enableEncryptionEx:(
bool)enabled encryptionConfig:(
AgoraEncryptionConfig *_Nonnull)config connection:(
AgoraRtcConnection* _Nonnull)connection NS_SWIFT_NAME(enableEncryptionEx(_:encryptionConfig:connection:));
971 NS_ASSUME_NONNULL_END