Agora RTC Objective-C API Reference  Refactor
Properties
AgoraRtcEngineConfig Class Reference

Inherits <NSObject>.

Properties

NSString *_Nullable appId
 
AgoraChannelProfile channelProfile
 
AgoraAudioScenario audioScenario
 
AgoraAreaCodeType areaCode
 
AgoraRtcIntOptional *_Nullable threadPriority
 

Detailed Description

The config of AgoraRtcEngine.

Property Documentation

◆ appId

- (NSString* _Nullable) appId
readwritenonatomiccopy

The App ID issued to the developers by Agora. Apply for a new one from Agora if it is missing from your kit.

◆ channelProfile

- (AgoraChannelProfile) channelProfile
readwritenonatomicassign

The channel profile. See AgoraChannelProfile.

◆ audioScenario

- (AgoraAudioScenario) audioScenario
readwritenonatomicassign

The audio application scenario. See AgoraAudioScenario.

Note
Agora recommends the following scenarios:
  • AgoraAudioScenarioDefault = 0
  • AgoraAudioScenarioGameStreaming = 3
  • AgoraAudioScenarioHighDefinition = 6

◆ areaCode

- (AgoraAreaCodeType) areaCode
readwritenonatomicassign

The region for connection. This advanced feature applies to scenarios that have regional restrictions.

For the regions that Agora supports, see AgoraAreaCodeType.

After specifying the region, the SDK connects to the Agora servers within that region.

◆ logConfig

- (AgoraLogConfig* _Nullable) logConfig
readwritenonatomicstrong

◆ threadPriority

- (AgoraRtcIntOptional* _Nullable) threadPriority
readwritenonatomicstrong

Thread priority for SDK common threads

see AgoraThreadPriorityType.

◆ eventDelegate

- (id<AgoraMediaFilterEventDelegate> _Nullable) eventDelegate
readwritenonatomicweak