13 #import <UIKit/UIKit.h>
15 #import <AppKit/AppKit.h>
18 NS_ASSUME_NONNULL_BEGIN
82 - (int)joinChannelExByToken:(NSString* _Nullable)token
83 channelId:(NSString* _Nonnull)channelId
85 connectionId:(
unsigned int *)connectionId
88 joinSuccess:(
void(^ _Nullable)(NSString* _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
100 connectionId:(
unsigned int)connectionId;
129 - (int)leaveChannelEx:(NSString* _Nonnull)channelId
130 connectionId:(
unsigned int)connectionId
131 leaveChannelBlock:(
void(^ _Nullable)(
AgoraChannelStats* _Nonnull stat))leaveChannelBlock;
145 - (int)muteRemoteAudioStreamEx:(NSUInteger)uid
147 connectionId:(
unsigned int)connectionId;
166 - (int)setVideoEncoderConfigurationEx:(AgoraVideoEncoderConfiguration* _Nonnull)config
167 connectionId:(
unsigned int)connectionId;
180 connectionId:(
unsigned int)connectionId;
191 - (int)setRemoteRenderModeEx:(NSUInteger)uid
193 connectionId:(
unsigned int)connectionId;
211 - (int)muteRemoteVideoStreamEx:(NSUInteger)uid
213 connectionId:(
unsigned int)connectionId;
225 - (int)pushExternalAudioFrameExRawData:(
void * _Nonnull)data
226 sourceId:(NSInteger)sourceId
227 timestamp:(NSTimeInterval)timestamp
228 connectionId:(
unsigned int)connectionId;
239 - (int)pushExternalAudioFrameExSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer
240 connectionId:(
unsigned int)connectionId;
259 - (BOOL)pushExternalVideoFrame:(
AgoraVideoFrame * _Nonnull)frame connectionId:(
unsigned int)connectionId;
261 - (int)sendCustomReportMessageEx:(NSString * _Nullable)messageId
262 category:(NSString * _Nullable)category
263 event:(NSString * _Nullable)event
264 label:(NSString * _Nullable)label
265 value:(NSInteger)value
266 connectionId:(
unsigned int)connectionId;
270 NS_ASSUME_NONNULL_END