Agora.io Live Streaming for iOS Agora.io Live Streaming for iOS | Page 3
Video call
Interactive Broadcasting
Voice call
High fidelity, 3D surround sound experience
48kHz full-band acquisition: highly restored acoustic sound.
3A algorithm based on machine learning: echo cancellation, automatic gain, noise suppression.
Hearing enhancement: two-channel, panoramic sound, listening sound, mixing, reverb effects, ear
return, voice change
Setting up Your Development Environment
This page contains information on how to prepare the development environment before enabling a
voice call with the Agora Voice SDK.
Xcode 9.0+.
Physical iOS device 8.0+ (iPhone or iPad).
Ensure that your project has a validated provisioning profile certificate.
Basic Methods :-
AgoraRtcEngineKit is the basic interface class of the Agora Native SDK. Creating an AgoraRtcEngineKit
object and then calling the methods of this object enables the use of the Agora Native SDK’s
communication functionality.
+(instancetype _Nonnull)sharedEngineWithAppId:(NSString * _Nonnull)appId delegate:(id
_Nullable)delegate;
This method initializes the AgoraRtcEngineKit class as a singleton instance. Call this method to initialize
the service before using AgoraRtcEngineKit.
The SDK uses Delegate to inform the application on engine runtime events. All methods defined in
Delegate are optional implementation methods.
(int)setChannelProfile:(AgoraChannelProfile)profile;
(int)enableAudio;
(int)disableAudio;
Join a Channel (joinChannelByToken)
(int)joinChannelByToken:(NSString * _Nullable)token
channelId:(NSString * _Nonnull)channelId
info:(NSString * _Nullable)info
uid:(NSUInteger)uid
joinSuccess:(void(^ _Nullable)(NSString * _Nonnull channel, NSUInteger uid, NSInteger
elapsed))joinSuccessBlock;
Video call
Basic Methods: AgoraRtcEngineKit is the basic interface class of the Agora Native SDK. Creating an
AgoraRtcEngineKit object and then calling the methods of this object enables the use of Agora Native
SDK’s communication functionality.
Join a Channel (joinChannelByToken)
(int)joinChannelByToken:(NSString * _Nullable)token
channelId:(NSString * _Nonnull)channelId