Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
bool | enableAudioProcessor |
bool | enableAudioDevice |
bool | enableVideo |
void * | context |
const char * | appId |
unsigned int | areaCode |
agora::CHANNEL_PROFILE_TYPE | channelProfile |
rtc::AUDIO_SCENARIO_TYPE | audioScenario |
commons::LogConfig | logConfig |
bool | useStringUid |
IServiceObserver * | serviceObserver |
Optional< rtc::THREAD_PRIORITY_TYPE > | threadPriority |
bool | useExternalEglContext |
The global configurations for AgoraService.
Set these configurations when calling initialize.
|
inline |
bool enableAudioProcessor |
Whether to enable the audio processing module.
true
: (Default) Enable the audio processing module.false
: Disable the audio processing module. If you disable the audio processing module, you cannot create audio tracks. bool enableAudioDevice |
Whether to enable the audio device module. The function of the audio device module is to manage audio devices, such as recording and playing audio.
true
: (Default) Enable the audio device module. Audio recording and playback is available.false
: Disable the audio device module. Audio recording and playback is unavailable.enableAudioDevice
as false
and set enableAudioProcessor
as true
, you cannot use audio devices, but you can push PCM audio data. bool enableVideo |
Whether to enable video.
true
: Enable video.false
: (Default) Disable video. void* context |
The user context.
const char* appId |
The App ID of your project.
unsigned int areaCode |
The supported area code, default is AREA_CODE_GLOB
agora::CHANNEL_PROFILE_TYPE channelProfile |
The channel profile. For details, see CHANNEL_PROFILE_TYPE. The default channel profile is CHANNEL_PROFILE_LIVE_BROADCASTING
.
rtc::AUDIO_SCENARIO_TYPE audioScenario |
The audio scenario. See AUDIO_SCENARIO_TYPE. The default value is AUDIO_SCENARIO_DEFAULT
.
commons::LogConfig logConfig |
The config for custumer set log path, log size and log level.
bool useStringUid |
Whether to enable string uid.
IServiceObserver* serviceObserver |
The service observer.
Optional<rtc::THREAD_PRIORITY_TYPE> threadPriority |
Thread priority for SDK common threads
bool useExternalEglContext |
Whether use egl context in current thread as sdk‘s root egl context which shared by all egl related modules. eg. camera capture, video renderer.