AgoraRtcEngineConfig Class Reference
Configurations for the AgoraRtcEngineKit instance.
The App ID issued to you by Agora. See How to get the App ID. Only users in apps with the same App ID can join the same channel and communicate with each other. Use an App ID to create only one AgoraRtcEngineKit instance. To change your App ID, call destroy to
destroy the current AgoraRtcEngineKit instance, and after
destroy returns 0, call sharedEngineWithConfig to create an AgoraRtcEngineKit instance with the new App ID.
@property (copy, nonatomic) NSString *appId
The region for connection. This advanced feature applies to scenarios that have regional restrictions.
For the regions that Agora supports, see AgoraAreaCode. After specifying the region, the SDK connects to the Agora servers within that region.
@property (nonatomic, assign) NSUInteger areaCode
Note: The SDK supports specifying only one region.
The configuration of the log files that the SDK outputs. See AgoraLogConfig.
@property (strong, nonatomic) AgoraLogConfig *logConfig
By default, the SDK outputs five log files,
agorasdk_4.log, each with a default
size of 1024 KB. These log files are encoded in UTF-8. The SDK writes the
latest logs in
agorasdk.log is full, the SDK deletes
the log file with the earliest modification time among the other four,
agorasdk.log to the name of the deleted log file, and creates a
agorasdk.log to record latest logs.