13 #import <UIKit/UIKit.h>
15 #import <AppKit/AppKit.h>
18 NS_ASSUME_NONNULL_BEGIN
42 - (int)joinChannelExByToken:(NSString* _Nullable)token
46 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
83 - (int)joinChannelExByToken:(NSString* _Nullable)token
84 channelId:(NSString* _Nonnull)channelId
85 userAccount:(NSString* _Nonnull)userAccount
88 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
112 leaveChannelBlock:(
void(^ _Nullable)(
AgoraChannelStats* _Nonnull stat))leaveChannelBlock;
126 - (int)muteRemoteAudioStreamEx:(NSUInteger)uid
147 - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config
174 - (int)setRemoteRenderModeEx:(NSUInteger)uid
176 mirror:(AgoraVideoMirrorMode)mirror
195 - (int)muteRemoteVideoStreamEx:(NSUInteger)uid
214 enabled:(BOOL)enabled
256 - (int)setRemoteVideoStreamEx:(NSUInteger)uid
287 - (int)pushExternalEncodedVideoFrameEx:(NSData* _Nonnull)frame
289 videoTrackId:(NSUInteger)videoTrackId;
309 - (BOOL)pushExternalVideoFrame:(
AgoraVideoFrame * _Nonnull)frame videoTrackId:(NSUInteger)videoTrackId;
321 - (
AgoraUserInfo* _Nullable)getUserInfoByUserAccountEx:(NSString* _Nonnull)userAccount
323 withError:(AgoraErrorCode* _Nullable)error;
337 - (
AgoraUserInfo* _Nullable)getUserInfoByUidEx:(NSUInteger)uid
339 withError:(AgoraErrorCode* _Nullable)error;
350 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
371 - (int)enableLoopbackRecordingEx:(BOOL)enabled
372 deviceName:(NSString* _Nullable)deviceName
376 - (int)sendCustomReportMessageEx:(NSString * _Nullable)messageId
377 category:(NSString * _Nullable)category
378 event:(NSString * _Nullable)event
379 label:(NSString * _Nullable)label
380 value:(NSInteger)value
383 - (int)enableAudioVolumeIndicationEx:(NSInteger)interval
384 smooth:(NSInteger)smooth
385 reportVad:(BOOL)reportVad
412 - (int)setRemoteVoicePositionEx:(NSUInteger)uid
433 - (int)setRemoteUserSpatialAudioParamsEx:(NSUInteger)uid
434 params:(AgoraSpatialAudioParams* _Nonnull)params
497 - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId
498 reliable:(BOOL)reliable
499 ordered:(BOOL)ordered
511 - (int)createDataStreamEx:(NSInteger * _Nonnull)streamId
539 - (int)sendStreamMessageEx:(NSInteger)streamId
540 data:(NSData * _Nonnull)data
561 - (int)setSubscribeAudioBlacklistEx:(NSArray <NSNumber *> *_Nonnull)blacklist connection:(
AgoraRtcConnection * _Nonnull)connection;
578 - (int)setSubscribeAudioWhitelistEx:(NSArray <NSNumber *> *_Nonnull)whitelist connection:(
AgoraRtcConnection * _Nonnull)connection;
593 - (int)setSubscribeVideoBlacklistEx:(NSArray <NSNumber *> *_Nonnull)blacklist connection:(
AgoraRtcConnection * _Nonnull)connection;
610 - (int)setSubscribeVideoWhitelistEx:(NSArray <NSNumber *> *_Nonnull)whitelist connection:(
AgoraRtcConnection * _Nonnull)connection;
612 - (NSInteger)takeSnapshotEx:(
AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid filePath:(NSString* _Nonnull)filePath;
615 NS_ASSUME_NONNULL_END