Agora RTC Objective-C API Reference  Refactor
AgoraRtcEngineKit.h
Go to the documentation of this file.
1 //
2 // AgoraRtcEngineKit.h
3 // AgoraRtcEngineKit
4 //
5 // Copyright (c) 2018 Agora. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import "AgoraConstants.h"
10 #import "AgoraObjects.h"
12 #import "AgoraBaseDelegate.h"
13 
18 @class AgoraRtcEngineKit;
19 
20 @protocol AgoraAudioFrameDelegate <NSObject>
21 @required
22 
23 - (BOOL)onRecordAudioFrame:(AgoraAudioFrame* _Nonnull)frame;
24 - (BOOL)onPlaybackAudioFrame:(AgoraAudioFrame* _Nonnull)frame;
25 - (BOOL)onMixedAudioFrame:(AgoraAudioFrame* _Nonnull)frame;
26 - (BOOL)onPlaybackAudioFrameBeforeMixing:(AgoraAudioFrame* _Nonnull)frame uid:(NSUInteger)uid;
27 @end
28 
32 @protocol AgoraMediaMetadataDataSource <NSObject>
33 @required
34 
40 - (NSInteger)metadataMaxSize;
41 
54 - (NSData * _Nullable)readyToSendMetadataAtTimestamp:(NSTimeInterval)timestamp;
55 
56 @end
57 
61 @protocol AgoraMediaMetadataDelegate <NSObject>
62 @required
63 
69 - (void)receiveMetadata:(NSData * _Nonnull)data fromUser:(NSInteger)uid atTimestamp:(NSTimeInterval)timestamp;
70 
71 @end
72 
79 @protocol AgoraRtcEngineDelegate <NSObject>
80 @optional
81 
82 #pragma mark Delegate Methods
83 
92 #pragma mark Core Delegate Methods
93 
106 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurWarning:(AgoraWarningCode)warningCode;
107 
116 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurError:(AgoraErrorCode)errorCode;
117 
122 - (void)rtcEngineMediaEngineDidLoaded:(AgoraRtcEngineKit * _Nonnull)engine;
123 
128 - (void)rtcEngineMediaEngineDidStartCall:(AgoraRtcEngineKit * _Nonnull)engine;
129 
130 
144 - (void)rtcEngineRequestToken:(AgoraRtcEngineKit * _Nonnull)engine;
145 
159 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine tokenPrivilegeWillExpire:(NSString *_Nonnull)token;
160 
161 
168 - (void)rtcEngineConnectionDidInterrupted:(AgoraRtcEngineKit * _Nonnull)engine;
169 
170 
179 - (void)rtcEngineConnectionDidLost:(AgoraRtcEngineKit * _Nonnull)engine;
180 
181 
188 - (void)rtcEngineConnectionDidBanned:(AgoraRtcEngineKit * _Nonnull)engine;
189 
190 
198 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine connectionStateChanged:(AgoraConnectionState)state reason:(AgoraConnectionChangedReason)reason;
199 
208 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportRtcStats:(AgoraChannelStats * _Nonnull)stats;
209 
210 
218 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileQuality:(AgoraNetworkQuality)quality;
219 
220 
228 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine lastmileProbeTestResult:(AgoraLastmileProbeResult * _Nonnull)result;
229 
238 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didApiCallExecute:(NSInteger)error api:(NSString * _Nonnull)api result:(NSString * _Nonnull)result;
239 
240 
246 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRefreshRecordingServiceStatus:(NSInteger)status;
247 
248 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
249 
262 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine device:(NSString * _Nonnull)deviceId type:(AgoraMediaDeviceType)deviceType stateChanged:(NSInteger) state;
263 
264 #endif
265 
266 
267 #pragma mark Local User Core Delegate Methods
268 
282 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;
283 
297 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRejoinChannel:(NSString * _Nonnull)channel withUid:(NSUInteger)uid elapsed:(NSInteger) elapsed;
298 
306 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didClientRoleChanged:(AgoraClientRole)oldRole newRole:(AgoraClientRole)newRole;
307 
320 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLeaveChannelWithStats:(AgoraChannelStats * _Nonnull)stats;
321 
322 
332 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine networkQuality:(NSUInteger)uid txQuality:(AgoraNetworkQuality)txQuality rxQuality:(AgoraNetworkQuality)rxQuality;
333 
334 
335 #pragma mark Local User Audio Delegate Methods
336 
352 - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)stateType
353  errorType:(AgoraAudioMixingErrorType)errorType;
360 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalAudioFramePublished:(NSInteger)elapsed;
361 
369 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStats:(AgoraRtcLocalAudioStats * _Nonnull)stats;
370 
384 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localAudioStateChanged:(AgoraAudioLocalState)state error:(AgoraAudioLocalError)error;
385 
393 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioRouteChanged:(AgoraAudioOutputRouting)routing;
394 
401 - (void)rtcEngineLocalAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine;
402 
408 - (void)rtcEngineDidAudioEffectFinish:(AgoraRtcEngineKit * _Nonnull)engine soundId:(int)soundId;
409 
410 
411 #pragma mark Local User Video Delegate Methods
412 
423 - (void)rtcEngineCameraDidReady:(AgoraRtcEngineKit * _Nonnull)engine;
424 
425 #if TARGET_OS_IPHONE
426 
432 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine cameraFocusDidChangedToRect:(CGRect)rect;
433 #endif
434 
441 - (void)rtcEngineVideoDidStop:(AgoraRtcEngineKit * _Nonnull)engine;
442 
451 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstLocalVideoFrameWithSize:(CGSize)size elapsed:(NSInteger)elapsed;
452 
460 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStats:(AgoraRtcLocalVideoStats * _Nonnull)stats;
461 
472 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalPublishFallbackToAudioOnly:(BOOL)isFallbackOrRecover;
473 
474 
475 #pragma mark Remote User Core Delegate Methods
476 
501 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didJoinedOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed;
502 
519 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOfflineOfUid:(NSUInteger)uid reason:(AgoraUserOfflineReason)reason;
520 
521 
529 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine receiveStreamMessageFromUid:(NSUInteger)uid streamId:(NSInteger)streamId data:(NSData * _Nonnull)data;
530 
540 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didOccurStreamMessageErrorFromUid:(NSUInteger)uid streamId:(NSInteger)streamId error:(NSInteger)error missed:(NSInteger)missed cached:(NSInteger)cached;
541 
542 
543 #pragma mark Remote User Audio Delegate Methods
544 
557 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteAudioFrameOfUid:(NSUInteger)uid elapsed:(NSInteger)elapsed;
558 
567 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStats:(AgoraRtcRemoteAudioStats * _Nonnull)stats;
568 
575 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didAudioMuted:(BOOL)muted byUid:(NSUInteger)uid;
576 
577 
609 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine reportAudioVolumeIndicationOfSpeakers:(NSArray<AgoraRtcAudioVolumeInfo *> * _Nonnull)speakers totalVolume:(NSInteger)totalVolume;
610 
611 
628 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine activeSpeaker:(NSUInteger)speakerUid;
629 
636 - (void)rtcEngineRemoteAudioMixingDidStart:(AgoraRtcEngineKit * _Nonnull)engine;
637 
642 - (void)rtcEngineRemoteAudioMixingDidFinish:(AgoraRtcEngineKit * _Nonnull)engine;
643 
652 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine audioQualityOfUid:(NSUInteger)uid quality:(AgoraNetworkQuality)quality delay:(NSUInteger)delay lost:(NSUInteger)lost;
653 
664 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine audioTransportStatsOfUid:(NSUInteger)uid delay:(NSUInteger)delay lost:(NSUInteger)lost rxKBitRate:(NSUInteger)rxKBitRate;
665 
666 
670 - (void)rtcEngineIntraRequestReceived:(AgoraRtcEngineKit *_Nonnull)engine;
671 
676 - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine bandwidthEstimationUpdate:(AgoraNetworkInfo *_Nonnull)networkInfo;
677 
678 #pragma mark Remote User Video Delegates Methods
679 
693 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoDecodedOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed;
694 
702 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine firstRemoteVideoFrameOfUid:(NSUInteger)uid size:(CGSize)size elapsed:(NSInteger)elapsed;
703 
711 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoSizeChangedOfUid:(NSUInteger)uid size:(CGSize)size rotation:(NSInteger)rotation;
712 
724 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine localVideoStateChangedOfState:(AgoraVideoLocalState)state
725 error:(AgoraLocalVideoStreamError)error;
726 
747 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStateChangedOfUid:(NSUInteger)uid state:(AgoraVideoRemoteState)state reason:(AgoraVideoRemoteReason)reason elapsed:(NSInteger)elapsed;
748 
758 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteAudioStateChangedOfUid:(NSUInteger)uid state:(AgoraAudioRemoteState)state reason:(AgoraAudioRemoteReason)reason elapsed:(NSInteger)elapsed;
759 
772 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoMuted:(BOOL)muted byUid:(NSUInteger)uid __deprecated_msg("use rtcEngine:remoteVideoStateChangedOfUid:state:reason: instead.");
773 
788 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid __deprecated_msg("use rtcEngine:remoteVideoStateChangedOfUid:state:reason: instead.");
789 
800 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didLocalVideoEnabled:(BOOL)enabled byUid:(NSUInteger)uid __deprecated_msg("use rtcEngine:remoteVideoStateChangedOfUid:state:reason: instead.");
801 
802 
820 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine remoteVideoStats:(AgoraRtcRemoteVideoStats * _Nonnull)stats;
821 
822 
835 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine didRemoteSubscribeFallbackToAudioOnly:(BOOL)isFallbackOrRecover byUid:(NSUInteger)uid;
836 
847 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine videoTransportStatsOfUid:(NSUInteger)uid delay:(NSUInteger)delay lost:(NSUInteger)lost rxKBitRate:(NSUInteger)rxKBitRate;
848 
849 
850 #pragma mark Stream Publish Delegate Methods
851 
864 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamStateChanged:(NSString * _Nonnull)url
865  state:(AgoraRtmpStreamPublishState)state
866  errCode:(AgoraRtmpStreamPublishError)errCode;
867 
874 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamPublishedWithUrl:(NSString * _Nonnull)url errorCode:(AgoraErrorCode)errorCode;
875 
881 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamUnpublishedWithUrl:(NSString * _Nonnull)url;
882 
887 - (void)rtcEngineTranscodingUpdated:(AgoraRtcEngineKit * _Nonnull)engine;
888 
896 - (void)rtcEngine:(AgoraRtcEngineKit * _Nonnull)engine streamInjectedStatusOfUrl:(NSString * _Nonnull)url uid:(NSUInteger)uid status:(AgoraInjectStreamStatus)status;
897 
903 - (void)rtcEngine:(AgoraRtcEngineKit *_Nonnull)engine audioMixingStateChanged:(AgoraAudioMixingStateType)state
904  errorCode:(AgoraAudioMixingErrorType)errorCode;
905 @end
906 
907 #pragma mark - AgoraRtcEngineKit
908 
919 __attribute__((visibility("default"))) @interface AgoraRtcEngineKit : NSObject
920 
921 #pragma mark Core Methods
922 
934 @property(nonatomic, weak) id<AgoraRtcEngineDelegate> _Nullable delegate;
935 
998 - (int)joinChannelByToken:(NSString * _Nullable)token
999  channelId:(NSString * _Nonnull)channelId
1000  info:(NSString * _Nullable)info
1001  uid:(NSUInteger)uid
1002  joinSuccess:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
1003 
1004 
1065 - (int)joinChannelByToken:(NSString * _Nullable)token
1066  channelId:(NSString * _Nonnull)channelId
1067  uid:(NSUInteger)uid
1068  mediaOptions:(AgoraRtcChannelMediaOptions * _Nonnull)mediaOptions
1069  joinSuccess:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))joinSuccessBlock;
1070 
1071 - (int)startMultipleVideoStreams:(VIEW_CLASS * _Nonnull)view screen:(VIEW_CLASS * _Nonnull)screenView remotes:(NSArray * _Nullable)remoteViews;
1072 
1073 
1099 - (int)leaveChannel:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock;
1100 
1118 - (int)setChannelProfile:(AgoraChannelProfile)profile;
1119 
1128 - (int)updateChannelWithMediaOptions:(AgoraRtcChannelMediaOptions* _Nonnull)mediaOptions;
1129 
1145 - (int)setClientRole:(AgoraClientRole)role;
1146 
1163 - (int)renewToken:(NSString * _Nonnull)token;
1164 
1172 - (AgoraConnectionState)getConnectionState:(unsigned int)connectionId;
1173 
1184 - (int)enableWebSdkInteroperability:(BOOL)enabled;
1185 
1200 + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId
1201  delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate;
1202 
1211 + (instancetype _Nonnull)sharedEngineWithConfig:(AgoraRtcEngineConfig * _Nonnull)config
1212  delegate:(id<AgoraRtcEngineDelegate> _Nullable)delegate;
1213 
1230 + (void)destroy;
1231 
1232 #pragma mark Core Audio
1233 
1252 - (int)enableAudio;
1253 
1265 - (int)disableAudio;
1266 
1289 - (int)enableLocalAudio:(BOOL)enabled;
1290 
1306 - (int)setAudioProfile:(AgoraAudioProfile)profile;
1307 
1329 - (int)enableAudioVolumeIndication:(NSInteger)interval
1330  smooth:(NSInteger)smooth;
1331 
1332 
1333 #if TARGET_OS_IPHONE
1334 
1351 - (int)setEnableSpeakerphone:(BOOL)enableSpeaker;
1352 
1362 - (BOOL)isSpeakerphoneEnabled;
1363 
1391 - (int)setDefaultAudioRouteToSpeakerphone:(BOOL)defaultToSpeaker;
1392 #endif
1393 
1405 - (int)adjustRecordingSignalVolume:(NSInteger)volume;
1406 
1418 - (int)adjustPlaybackSignalVolume:(NSInteger)volume;
1419 
1428 -(int)muteRecordingSignal:(BOOL)muted;
1429 
1440 - (int)muteLocalAudioStream:(BOOL)mute;
1441 
1455 - (int)muteRemoteAudioStream:(NSUInteger)uid mute:(BOOL)mute;
1456 
1482 - (int)muteAllRemoteAudioStreams:(BOOL)mute;
1483 
1498 - (int)setDefaultMuteAllRemoteAudioStreams:(BOOL)mute;
1499 
1500 - (int)registerMediaNodeProviderWithVendor:(NSString * _Nonnull)vendor
1501  provider:(long long)provider;
1502 
1503 - (int)unregisterMediaNodeProviderWithVendor:(NSString * _Nonnull)vendor;
1504 
1505 - (int)enableLocalVideoFilter:(NSString * _Nonnull) name
1506  vendor:(NSString * _Nonnull)vendor
1507  enable:(bool)enable;
1508 
1509 - (int)setLocalVideoFilterProperty:(NSString * _Nonnull) name
1510  vendor:(NSString * _Nonnull) vendor
1511  key:(NSString * _Nonnull) key
1512  value:(NSValue * _Nullable) value;
1513 
1514 - (int)getLocalVideoFilterProperty:(NSString * _Nonnull) name
1515  vendor:(NSString * _Nonnull) vendor
1516  key:(NSString * _Nonnull) key
1517  value:(NSValue * _Nullable) value;
1518 
1519 - (int)enableRemoteVideoFilter:(NSString * _Nonnull) name
1520  vendor:(NSString * _Nonnull)vendor
1521  enable:(bool)enable;
1522 
1523 - (int)setRemoteVideoFilterProperty:(NSString * _Nonnull) name
1524  vendor:(NSString * _Nonnull) vendor
1525  key:(NSString * _Nonnull) key
1526  value:(NSValue * _Nullable) value;
1527 
1528 - (int)getRemoteVideoFilterProperty:(NSString * _Nonnull) name
1529  vendor:(NSString * _Nonnull) vendor
1530  key:(NSString * _Nonnull) key
1531  value:(NSValue * _Nullable) value;
1532 
1533 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
1534 
1546 -(int)enableLoopbackRecording:(BOOL)enabled
1547  deviceName:(NSString * _Nullable)deviceName;
1548 #endif
1549 
1550 
1551 #pragma mark Core Video
1552 
1573 - (int)enableVideo;
1574 
1584 - (int)disableVideo;
1585 
1611 - (int)enableLocalVideo:(BOOL)enabled;
1612 
1613 
1630 - (int)setVideoEncoderConfiguration:(AgoraVideoEncoderConfiguration * _Nonnull)config;
1631 
1632 
1652 - (int)setupLocalVideo:(AgoraRtcVideoCanvas * _Nullable)local;
1653 
1671 - (int)setLocalRenderMode:(AgoraVideoRenderMode)mode;
1672 
1673 
1686 - (int)setLocalVideoMirrorMode:(AgoraVideoMirrorMode)mode;
1687 
1699 - (int)startPreview;
1700 
1708 - (int)stopPreview;
1709 
1710 
1721 - (int)setupRemoteVideo:(AgoraRtcVideoCanvas * _Nonnull)remote;
1722 
1731 - (int)setRemoteRenderMode:(NSUInteger)uid
1732  mode:(AgoraVideoRenderMode)mode;
1733 
1734 
1747 - (int)muteLocalVideoStream:(BOOL)mute;
1748 
1774 - (int)muteAllRemoteVideoStreams:(BOOL)mute;
1775 
1790 - (int)setDefaultMuteAllRemoteVideoStreams:(BOOL)mute;
1791 
1807 - (int)muteRemoteVideoStream:(NSUInteger)uid
1808  mute:(BOOL)mute;
1809 
1810 
1811 #pragma mark Audio Effect
1812 
1827 - (int)setLocalVoicePitch:(double)pitch;
1828 
1836 - (int)setLocalVoiceEqualizationOfBandFrequency:(AgoraAudioEqualizationBandFrequency)bandFrequency withGain:(NSInteger)gain;
1837 
1845 - (int)setLocalVoiceReverbOfType:(AgoraAudioReverbType)reverbType withValue:(NSInteger)value;
1846 
1868 - (int) setLocalVoiceChanger:(AgoraAudioVoiceChanger)voiceChanger;
1869 
1888 - (int) setLocalVoiceReverbPreset:(AgoraAudioReverbPreset)reverbPreset;
1889 
1890 #pragma mark Audio Effect Playback
1891 
1908 - (int)preloadEffect:(int)soundId
1909  filePath:(NSString* _Nonnull)filePath;
1910 
1940 - (int)playEffect:(int)soundId
1941  loopCount:(NSInteger)loopCount
1942  pitch:(double)pitch
1943  pan:(double)pan
1944  gain:(NSInteger)gain;
1945 
1981 - (int)playEffect:(int)soundId
1982  loopCount:(NSInteger)loopCount
1983  pitch:(double)pitch
1984  pan:(double)pan
1985  gain:(NSInteger)gain
1986  publish:(BOOL)publish;
1987 
2017 - (int)playEffect:(int)soundId
2018  filePath:(NSString* _Nonnull)filePath
2019  loopCount:(NSInteger)loopCount
2020  pitch:(double)pitch
2021  pan:(double)pan
2022  gain:(NSInteger)gain;
2023 
2060 - (int)playEffect:(int)soundId
2061  filePath:(NSString* _Nonnull)filePath
2062  loopCount:(NSInteger)loopCount
2063  pitch:(double)pitch
2064  pan:(double)pan
2065  gain:(NSInteger)gain
2066  publish:(BOOL)publish;
2067 
2100 - (int)playAllEffectsWithLoopCount:(NSInteger)loopCount
2101  pitch:(double)pitch
2102  pan:(double)pan
2103  gain:(NSInteger)gain
2104  publish:(BOOL)publish;
2105 
2113 - (int)getEffectsVolume;
2114 
2123 - (int)setEffectsVolume:(NSInteger)volume;
2124 
2133 - (int)setVolumeOfEffect:(int)soundId
2134  withVolume:(int)volume;
2135 
2144 - (int)getVolumeOfEffect:(int)soundId;
2145 
2153 - (int)pauseEffect:(int)soundId;
2154 
2160 - (int)pauseAllEffects;
2161 
2169 - (int)resumeEffect:(int)soundId;
2170 
2176 - (int)resumeAllEffects;
2177 
2185 - (int)stopEffect:(int)soundId;
2186 
2193 - (int)stopAllEffects;
2194 
2202 - (int)unloadEffect:(int)soundId;
2203 
2211 - (int)unloadAllEffects;
2212 
2213 #pragma mark Audio Mixing
2214 
2254 - (int)startAudioMixing:(NSString * _Nonnull)filePath
2255  loopback:(BOOL)loopback
2256  replace:(BOOL)replace
2257  cycle:(NSInteger)cycle;
2258 
2268 - (int)stopAudioMixing;
2269 
2278 - (int)pauseAudioMixing;
2279 
2289 - (int)resumeAudioMixing;
2290 
2301 - (int)adjustAudioMixingVolume:(NSInteger)volume;
2302 
2303 
2312 - (int)adjustAudioMixingPublishVolume:(NSInteger)volume;
2313 
2322 - (int)getAudioMixingPublishVolume;
2323 
2332 - (int)adjustAudioMixingPlayoutVolume:(NSInteger)volume;
2333 
2342 - (int)getAudioMixingPlayoutVolume;
2343 
2344 
2354 - (int)getAudioMixingDuration;
2355 
2364 - (int)getAudioMixingCurrentPosition;
2365 
2376 - (int)setAudioMixingPosition:(NSInteger)pos;
2377 
2378 #pragma mark Audio Recording
2379 
2400 - (int)startAudioRecording:(NSString * _Nonnull)filePath
2401  quality:(AgoraAudioRecordingQuality)quality;
2402 
2410 - (int)stopAudioRecording;
2411 
2412 #pragma mark Echo Test
2413 
2431 - (int)startEchoTest:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))successBlock;
2432 
2440 - (int)stopEchoTest;
2441 
2442 
2443 #pragma mark Miscellaneous Audio Control
2444 
2450 #if TARGET_OS_IPHONE
2451 
2463 - (int)enableInEarMonitoring:(BOOL)enabled;
2464 
2481 - (int)enableInEarMonitoring:(BOOL)enabled includeAudioFilter:(BOOL)includeAudioFilter;
2482 
2495 - (int)setInEarMonitoringVolume:(NSInteger)volume;
2496 
2505 - (void)setAudioSessionOperationRestriction:(AgoraAudioSessionOperationRestriction)restriction;
2506 
2507 #endif
2508 
2509 #pragma mark Dual Video Mode
2510 
2526 - (int)enableDualStreamMode:(BOOL)enabled;
2527 
2528 
2548 - (int)setRemoteVideoStream:(NSUInteger)uid
2549  type:(AgoraVideoStreamType)streamType;
2550 
2551 
2562 - (int)setRemoteDefaultVideoStreamType:(AgoraVideoStreamType)streamType;
2563 
2564 
2565 #pragma mark Stream Fallback
2566 
2589 - (int)setLocalPublishFallbackOption:(AgoraStreamFallbackOptions)option;
2590 
2602 - (int)setRemoteSubscribeFallbackOption:(AgoraStreamFallbackOptions)option;
2603 
2604 #pragma mark Video Quality Control
2605 
2621 - (int)setVideoQualityParameters:(BOOL)preferFrameRateOverImageQuality;
2622 
2623 #pragma mark External Media Source
2624 
2652 - (void)setExternalVideoSource:(BOOL)enable useTexture:(BOOL)useTexture pushMode:(BOOL)pushMode;
2653 
2671 - (BOOL)pushExternalVideoFrame:(AgoraVideoFrame * _Nonnull)frame;
2672 
2691 - (int)setExternalAudioSource:(BOOL)enabled
2692  sampleRate:(NSInteger)sampleRate
2693  channels:(NSInteger)channels;
2694 
2714 - (int)setExternalAudioSource:(BOOL)enabled
2715  sampleRate:(NSInteger)sampleRate
2716  channels:(NSInteger)channels
2717  sourceNumber:(NSInteger)sourceNumber;
2718 
2727 - (int)pushExternalAudioFrameRawData:(void * _Nonnull)data
2728  sourceId:(NSInteger)sourceId
2729  timestamp:(NSTimeInterval)timestamp;
2730 
2739 - (int)pushExternalAudioFrameSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
2740 
2764 - (int)setRecordingAudioFrameParametersWithSampleRate:(NSInteger)sampleRate
2765  channel:(NSInteger)channel
2767  samplesPerCall:(NSInteger)samplesPerCall;
2792 - (int)setPlaybackAudioFrameParametersWithSampleRate:(NSInteger)sampleRate
2793  channel:(NSInteger)channel
2795  samplesPerCall:(NSInteger)samplesPerCall;
2796 
2814 - (int)setMixedAudioFrameParametersWithSampleRate:(NSInteger)sampleRate
2815  channel:(NSInteger)channel
2816  samplesPerCall:(NSInteger)samplesPerCall;
2817 
2832 - (int)setPlaybackAudioFrameBeforeMixingParametersWithSampleRate:(NSInteger)sampleRate
2833  channel:(NSInteger)channel;
2834 
2835 #pragma mark Built-in Encryption
2836 
2855 - (int)setEncryptionMode:(NSString * _Nullable)encryptionMode;
2856 
2870 - (int)setEncryptionSecret:(NSString * _Nullable)secret;
2871 
2872 #pragma mark Data Stream
2873 
2895 - (int)createDataStream:(NSInteger * _Nonnull)streamId
2896  reliable:(BOOL)reliable
2897  ordered:(BOOL)ordered;
2898 
2911 - (int)sendStreamMessage:(NSInteger)streamId
2912  data:(NSData * _Nonnull)data;
2913 
2914 #pragma mark Stream Publish
2915 
2933 - (int)addPublishStreamUrl:(NSString * _Nonnull)url transcodingEnabled:(BOOL)transcodingEnabled;
2934 
2944 - (int)removePublishStreamUrl:(NSString * _Nonnull)url;
2945 
2950 - (int)setLiveTranscoding:(AgoraLiveTranscoding *_Nullable)transcoding;
2951 
2959 - (int)addInjectStreamUrl:(NSString * _Nonnull)url config:(AgoraLiveInjectStreamConfig * _Nonnull)config;
2960 
2965 - (int)removeInjectStreamUrl:(NSString * _Nonnull)url;
2966 
2967 #pragma mark Deprecated CDN Publisher
2968 
2983 - (int)configPublisher:(AgoraPublisherConfiguration * _Nonnull)config __deprecated;
2984 
3002 - (int)setVideoCompositingLayout:(AgoraRtcVideoCompositingLayout * _Nonnull)layout __deprecated;
3003 
3009 - (int)clearVideoCompositingLayout __deprecated;
3010 
3011 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
3012 #pragma mark Screen Capture
3013 
3029 - (int)startScreenCapture:(NSUInteger)windowId
3030  withCaptureFreq:(NSInteger)captureFreq
3031  bitRate:(NSInteger)bitRate
3032  andRect:(CGRect)rect;
3033 
3041 - (int)stopScreenCapture;
3042 
3050 - (int)updateScreenCaptureRegion:(CGRect)rect;
3051 #endif
3052 
3053 #if TARGET_OS_IPHONE
3054 #pragma mark Camera Control
3055 
3068 - (BOOL)isCameraZoomSupported;
3069 
3076 - (CGFloat)setCameraZoomFactor:(CGFloat)zoomFactor;
3077 
3085 - (BOOL)isCameraFocusPositionInPreviewSupported;
3086 
3094 - (BOOL)setCameraFocusPositionInPreview:(CGPoint)position;
3095 
3106 - (BOOL)isCameraTorchSupported;
3107 
3115 - (BOOL)setCameraTorchOn:(BOOL)isOn;
3116 
3124 - (BOOL)isCameraAutoFocusFaceModeSupported;
3125 
3133 - (BOOL)setCameraAutoFocusFaceModeEnabled:(BOOL)enable;
3134 
3143 - (int)switchCamera;
3144 #endif
3145 
3146 
3147 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
3148 #pragma mark macOS Device
3149 
3161 - (void)monitorDeviceChange:(BOOL)enabled;
3162 
3175 - (NSArray<AgoraRtcDeviceInfo *> * _Nullable)enumerateDevices:(AgoraMediaDeviceType)type;
3176 
3184 - (AgoraRtcDeviceInfo * _Nullable)getDeviceInfo:(AgoraMediaDeviceType)type;
3185 
3196 - (int)setDevice:(AgoraMediaDeviceType)type deviceId:(NSString * _Nonnull)deviceId;
3197 
3206 - (int)getDeviceVolume:(AgoraMediaDeviceType)type;
3207 
3217 - (int)setDeviceVolume:(AgoraMediaDeviceType)type volume:(int)volume;
3218 
3229 - (int)startRecordingDeviceTest:(int)indicationInterval;
3230 
3240 - (int)stopRecordingDeviceTest;
3241 
3256 - (int)startPlaybackDeviceTest:(NSString * _Nonnull)audioFileName;
3257 
3267 - (int)stopPlaybackDeviceTest;
3268 
3277 - (int)startCaptureDeviceTest:(NSView * _Nonnull)view;
3278 
3285 - (int)stopCaptureDeviceTest;
3286 #endif
3287 
3288 #pragma mark Server Recording
3289 
3297 - (int)startRecordingService:(NSString * _Nonnull)recordingKey;
3298 
3301 - (int)stopRecordingService:(NSString * _Nonnull)recordingKey;
3302 
3308 - (int)refreshRecordingServiceStatus;
3309 
3310 #pragma mark Watermark
3311 
3323 - (int)addVideoWatermark:(AgoraImage * _Nonnull)watermark NS_SWIFT_NAME(addVideoWatermark(_:));
3324 
3327 - (int)clearVideoWatermarks;
3328 
3329 #pragma mark Custom Audio PCM Frame
3330 
3337 - (BOOL)setAudioFrameDelegate:(id<AgoraAudioFrameDelegate> _Nullable)delegate;
3338 
3339 #pragma mark Custom Media Metadata
3340 
3357 - (BOOL)setMediaMetadataDataSource:(id<AgoraMediaMetadataDataSource> _Nullable)metadataDataSource withType:(AgoraMetadataType)type;
3358 
3370 - (BOOL)setMediaMetadataDelegate:(id<AgoraMediaMetadataDelegate> _Nullable)metadataDelegate withType:(AgoraMetadataType)type;
3371 
3372 #pragma mark Miscellaneous Methods
3373 
3384 + (NSString * _Nonnull)getSdkVersion;
3385 
3391 + (NSString* _Nonnull)getErrorDescription: (NSInteger)error;
3392 
3393 
3398 - (void * _Nullable)getNativeHandle;
3399 
3400 
3424 - (int)setLogFile:(NSString * _Nonnull)filePath;
3425 
3440 - (int)setLogFilter:(NSUInteger)filter;
3441 
3452 - (NSString * _Nullable)getCallId;
3453 
3474 - (int)rate:(NSString * _Nonnull)callId
3475  rating:(NSInteger)rating
3476 description:(NSString * _Nullable)description;
3477 
3495 - (int)complain:(NSString * _Nonnull)callId
3496  description:(NSString * _Nullable)description;
3497 
3498 
3509 - (int)enableMainQueueDispatch:(BOOL)enabled;
3510 
3511 
3532 - (int)startLastmileProbeTest:(AgoraLastmileProbeConfig *_Nullable)config;
3533 
3541 - (int)stopLastmileProbeTest;
3542 
3549 - (int)setParameters:(NSString * _Nonnull)options;
3550 
3556 - (NSString * _Nullable)getParameter:(NSString * _Nonnull)parameter
3557  args:(NSString * _Nullable)args;
3558 
3559 #pragma mark Deprecated Methods
3560 
3578 - (void)audioVolumeIndicationBlock:(void(^ _Nullable)(NSArray * _Nonnull speakers, NSInteger totalVolume))audioVolumeIndicationBlock __deprecated_msg("use delegate instead.");
3579 
3587 - (void)firstLocalVideoFrameBlock:(void(^ _Nullable)(NSInteger width, NSInteger height, NSInteger elapsed))firstLocalVideoFrameBlock __deprecated_msg("use delegate instead.");
3588 
3597 - (void)firstRemoteVideoDecodedBlock:(void(^ _Nullable)(NSUInteger uid, NSInteger width, NSInteger height, NSInteger elapsed))firstRemoteVideoDecodedBlock __deprecated_msg("use delegate instead.");
3598 
3607 - (void)firstRemoteVideoFrameBlock:(void(^ _Nullable)(NSUInteger uid, NSInteger width, NSInteger height, NSInteger elapsed))firstRemoteVideoFrameBlock __deprecated_msg("use delegate instead.");
3608 
3617 - (void)userJoinedBlock:(void(^ _Nullable)(NSUInteger uid, NSInteger elapsed))userJoinedBlock __deprecated_msg("use delegate instead.");
3618 
3626 - (void)userOfflineBlock:(void(^ _Nullable)(NSUInteger uid))userOfflineBlock __deprecated_msg("use delegate instead.");
3627 
3635 - (void)userMuteAudioBlock:(void(^ _Nullable)(NSUInteger uid, BOOL muted))userMuteAudioBlock __deprecated_msg("use delegate instead.");
3636 
3644 - (void)userMuteVideoBlock:(void(^ _Nullable)(NSUInteger uid, BOOL muted))userMuteVideoBlock __deprecated_msg("use delegate instead.");
3645 
3652 - (void)localVideoStatBlock:(void(^ _Nullable)(NSInteger sentBitrate, NSInteger sentFrameRate))localVideoStatBlock __deprecated_msg("use delegate instead.");
3653 
3662 - (void)remoteVideoStatBlock:(void(^ _Nullable)(NSUInteger uid, NSInteger delay, NSInteger receivedBitrate, NSInteger receivedFrameRate))remoteVideoStatBlock __deprecated_msg("use delegate instead.");
3663 
3667 - (void)cameraReadyBlock:(void(^ _Nullable)(void))cameraReadyBlock __deprecated_msg("use delegate instead.");
3668 
3672 - (void)connectionLostBlock:(void(^ _Nullable)(void))connectionLostBlock __deprecated_msg("use delegate instead.");
3673 
3683 - (void)rejoinChannelSuccessBlock:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger elapsed))rejoinChannelSuccessBlock __deprecated_msg("use delegate instead.");
3684 
3690 - (void)rtcStatsBlock:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))rtcStatsBlock __deprecated_msg("use delegate instead.");
3691 
3699 - (void)leaveChannelBlock:(void(^ _Nullable)(AgoraChannelStats * _Nonnull stat))leaveChannelBlock __deprecated_msg("use delegate instead.");
3700 
3709 - (void)audioQualityBlock:(void(^ _Nullable)(NSUInteger uid, AgoraNetworkQuality quality, NSUInteger delay, NSUInteger lost))audioQualityBlock __deprecated_msg("use delegate instead.");
3710 
3718 - (void)networkQualityBlock:(void(^ _Nullable)(NSUInteger uid, AgoraNetworkQuality txQuality, AgoraNetworkQuality rxQuality))networkQualityBlock __deprecated_msg("use delegate instead.");
3719 
3725 - (void)lastmileQualityBlock:(void(^ _Nullable)(AgoraNetworkQuality quality))lastmileQualityBlock __deprecated_msg("use delegate instead.");
3726 
3730 - (void)mediaEngineEventBlock:(void(^ _Nullable)(NSInteger code))mediaEngineEventBlock __deprecated_msg("use delegate instead.");
3731 
3741 - (int)pauseAudio __deprecated_msg("use disableAudio instead.");
3742 
3752 - (int)resumeAudio __deprecated_msg("use enableAudio instead.");
3753 
3760 + (instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)AppId
3761  error:(void(^ _Nullable)(AgoraErrorCode errorCode))errorBlock __deprecated_msg("use sharedEngineWithAppId:delegate: instead.");
3762 
3768 - (int)setHighQualityAudioParametersWithFullband:(BOOL)fullband
3769  stereo:(BOOL)stereo
3770  fullBitrate:(BOOL)fullBitrate __deprecated_msg("use setAudioProfile:scenario: instead.");
3771 
3791 - (int)setVideoProfile:(AgoraVideoProfile)profile
3792  swapWidthAndHeight:(BOOL)swapWidthAndHeight __deprecated_msg("use setVideoEncoderConfiguration: instead.");
3793 
3812 - (int)setVideoResolution:(CGSize)size andFrameRate:(NSInteger)frameRate bitrate:(NSInteger)bitrate __deprecated_msg("use setVideoEncoderConfiguration: instead.");
3813 
3832 - (int)setAudioProfile:(AgoraAudioProfile)profile scenario:(AgoraAudioScenario)scenario __deprecated_msg("use setAudioProfile:(AgoraAudioProfile)profile instead.");
3833 
3841 - (NSString * _Nullable)getDeviceId:(AgoraMediaDeviceType)type __deprecated_msg("use getDeviceInfo: instead.");
3842 
3843 #if (!(TARGET_OS_IPHONE) && (TARGET_OS_MAC))
3844 
3853 - (int)setSpeakerphoneVolume:(NSUInteger)volume __deprecated_msg("use setDeviceVolume:volume: instead.");
3854 #endif
3855 
3861 + (NSString * _Nonnull)getMediaEngineVersion __deprecated;
3862 
3863 - (int)setAudioOptionParams:(NSString * _Nonnull)params;
3864 - (NSString * _Nullable)getAudioOptionParams;
3865 - (int)setAudioSessionParams:(NSString * _Nonnull)params;
3866 - (NSString * _Nullable)getAudioSessionParams;
3867 
3868 - (BOOL)isSecure;
3869 
3870 - (int)sendCustomReportMessage:(NSString * _Nullable)messageId
3871  category:(NSString * _Nullable)category
3872  event:(NSString * _Nullable)event
3873  label:(NSString * _Nullable)label
3874  value:(NSInteger)value;
3875 
3876 - (int)setLogLevel:(AgoraLogLevel)level;
3877 
3878 @end
3879 
3880 
3881 #pragma mark - String uid for AgoraRtcEngineKit
3882 
3883 @interface AgoraRtcEngineKit (StringUID)
3884 
3885 - (int)joinChannelByToken:(NSString * _Nullable)token
3886  channelId:(NSString * _Nonnull)channelId
3887  info:(NSString * _Nullable)info
3888  userId:(NSString * _Nullable)userId;
3889 
3890 - (int)setRemoteRenderMode2:(NSString * _Nonnull)userId
3891  mode:(AgoraVideoRenderMode) mode;
3892 
3893 - (int)switchView2:(NSString * _Nonnull)userId1
3894  andAnother:(NSString * _Nonnull)userId2 __deprecated;
3895 
3896 - (int)muteRemoteAudioStream2:(NSString * _Nonnull)userId mute:(BOOL)mute;
3897 
3898 - (int)setRemoteVideoStream2:(NSString * _Nonnull)userId
3899  type:(AgoraVideoStreamType)streamType;
3900 
3901 - (int)muteRemoteVideoStream2:(NSString * _Nonnull)userId
3902  mute:(BOOL)mute;
3903 
3904 - (int)sendPublishingRequestToOwner2:(NSString * _Nonnull) userId;
3905 - (int)answerPublishingRequestOfUid2:(NSString * _Nonnull) userId accepted:(bool)accepted;
3906 - (int)sendUnpublishingRequestToUid2:(NSString * _Nonnull) userId;
3907 
3908 
3909 @end
AgoraRtmpStreamPublishError
AgoraRtmpStreamPublishError
Definition: AgoraEnumerates.h:1398
-[AgoraRtcEngineKit enableAudio]
int enableAudio()
AgoraRtcEngineKit::delegate
id< AgoraRtcEngineDelegate > _Nullable delegate
Definition: AgoraRtcEngineKit.h:934
AgoraLocalVideoStreamError
AgoraLocalVideoStreamError
Definition: AgoraEnumerates.h:694
AgoraRtcEngineKit
Definition: AgoraRtcEngineKit.h:920
AgoraRtcEngineDelegate2.h
AgoraRtcEngineDelegate-p
Definition: AgoraRtcEngineKit.h:79
AgoraConnectionChangedReason
AgoraConnectionChangedReason
Definition: AgoraEnumerates.h:1194
AgoraRtcChannelMediaOptions
Definition: AgoraObjects.h:26
AgoraAudioScenario
AgoraAudioScenario
Definition: AgoraEnumerates.h:945
-[AgoraMediaMetadataDataSource-p metadataMaxSize]
NSInteger metadataMaxSize()
AgoraClientRole
AgoraClientRole
Definition: AgoraEnumerates.h:486
AgoraUserOfflineReason
AgoraUserOfflineReason
Definition: AgoraEnumerates.h:520
AgoraAudioRemoteReason
AgoraAudioRemoteReason
Definition: AgoraEnumerates.h:873
-[AgoraRtcEngineKit switchCamera]
int switchCamera()
AgoraMediaMetadataDataSource-p
Definition: AgoraRtcEngineKit.h:32
AgoraVideoFrame
Definition: AgoraObjects.h:915
AgoraAudioRawFrameOperationMode
AgoraAudioRawFrameOperationMode
Definition: AgoraEnumerates.h:997
+[AgoraRtcEngineKit destroy]
void destroy()
AgoraVideoRemoteReason
AgoraVideoRemoteReason
Definition: AgoraEnumerates.h:734
AgoraAudioLocalState
AgoraAudioLocalState
Definition: AgoraEnumerates.h:789
AgoraRtcRemoteVideoStats
Definition: AgoraObjects.h:276
AgoraNetworkInfo
Definition: AgoraObjects.h:1039
AgoraAudioRemoteState
AgoraAudioRemoteState
Definition: AgoraEnumerates.h:841
AgoraAudioProfile
AgoraAudioProfile
Definition: AgoraEnumerates.h:929
AgoraLastmileProbeConfig
Definition: AgoraObjects.h:148
AgoraVideoLocalState
AgoraVideoLocalState
Definition: AgoraEnumerates.h:674
-[AgoraRtcEngineKit stopLastmileProbeTest]
int stopLastmileProbeTest()
AgoraRtmpStreamPublishState
AgoraRtmpStreamPublishState
Definition: AgoraEnumerates.h:1359
AgoraAudioFrame
Definition: AgoraObjects.h:1026
VIEW_CLASS
UIView VIEW_CLASS
Definition: AgoraObjects.h:14
AgoraChannelProfile
AgoraChannelProfile
Definition: AgoraEnumerates.h:446
-[AgoraRtcEngineKit stopPreview]
int stopPreview()
AgoraRtcRemoteAudioStats
Definition: AgoraObjects.h:346
AgoraRtcEngineConfig
Definition: AgoraObjects.h:1015
AgoraVideoRenderMode
AgoraVideoRenderMode
Definition: AgoraEnumerates.h:634
AgoraVideoStreamType
AgoraVideoStreamType
Definition: AgoraEnumerates.h:626
AgoraConnectionState
AgoraConnectionState
Definition: AgoraEnumerates.h:1171
-[AgoraRtcEngineKit getCallId]
NSString *_Nullable getCallId()
AgoraRtcAudioVolumeInfo
Definition: AgoraObjects.h:403
AgoraObjects.h
AgoraConstants.h
-[AgoraRtcEngineKit disableAudio]
int disableAudio()
AgoraBaseDelegate.h
-[AgoraRtcEngineKit disableVideo]
int disableVideo()
+[AgoraRtcEngineKit getSdkVersion]
NSString *_Nonnull getSdkVersion()
-[AgoraRtcEngineKit startPreview]
int startPreview()
AgoraRtcVideoCanvas
Definition: AgoraObjects.h:125
AgoraMediaMetadataDelegate-p
Definition: AgoraRtcEngineKit.h:61
AgoraMetadataType
AgoraMetadataType
Definition: AgoraEnumerates.h:1319
-[AgoraRtcEngineKit isSecure]
BOOL isSecure()
AgoraAudioLocalError
AgoraAudioLocalError
Definition: AgoraEnumerates.h:811
AgoraAudioFrameDelegate-p
Definition: AgoraRtcEngineKit.h:20
AgoraNetworkQuality
AgoraNetworkQuality
Definition: AgoraEnumerates.h:590
AgoraRtcLocalAudioStats
Definition: AgoraObjects.h:324
-[AgoraRtcEngineKit enableVideo]
int enableVideo()
AgoraLogLevel
AgoraLogLevel
Definition: AgoraEnumerates.h:1340
AgoraLastmileProbeResult
Definition: AgoraObjects.h:198
AgoraChannelStats
Definition: AgoraObjects.h:415