|
Agora Server Gateway SDK Java API Reference
|
Private Attributes | |
| int | enableAudioProcessor = 1 |
| int | enableAudioDevice = 0 |
| int | enableVideo = 0 |
| Object | context |
| String | appId |
| int | areaCode = Constants.AREA_CODE_GLOB |
| int | channelProfile = Constants.CHANNEL_PROFILE_LIVE_BROADCASTING |
| int | audioScenario = Constants.AUDIO_SCENARIO_CHORUS |
| int | useStringUid |
| String | logFilePath |
| int | logFileSize = 2048 |
| int | logFilters = Constants.LOG_FILTER_INFO |
| int | domainLimit |
The global configurations for AgoraService.
Set these configurations when calling initialize.
| io.agora.rtc.AgoraServiceConfig.AgoraServiceConfig | ( | ) |
| io.agora.rtc.AgoraServiceConfig.AgoraServiceConfig | ( | int | enableAudioProcessor, |
| int | enableAudioDevice, | ||
| int | enableVideo, | ||
| Object | context, | ||
| java.lang.String | appId, | ||
| int | areaCode, | ||
| int | channelProfile, | ||
| int | audioScenario, | ||
| int | useStringUid, | ||
| String | logFilePath, | ||
| int | logFileSize, | ||
| int | logFilters, | ||
| int | domainLimit ) |
| String io.agora.rtc.AgoraServiceConfig.getAppId | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getAreaCode | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getAudioScenario | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getChannelProfile | ( | ) |
| Object io.agora.rtc.AgoraServiceConfig.getContext | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getDomainLimit | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getEnableAudioDevice | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getEnableAudioProcessor | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getEnableVideo | ( | ) |
| String io.agora.rtc.AgoraServiceConfig.getLogFilePath | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getLogFileSize | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getLogFilters | ( | ) |
| int io.agora.rtc.AgoraServiceConfig.getUseStringUid | ( | ) |
| void io.agora.rtc.AgoraServiceConfig.setAppId | ( | String | appId | ) |
| void io.agora.rtc.AgoraServiceConfig.setAreaCode | ( | int | areaCode | ) |
| void io.agora.rtc.AgoraServiceConfig.setAudioScenario | ( | int | audioScenario | ) |
| void io.agora.rtc.AgoraServiceConfig.setChannelProfile | ( | int | channelProfile | ) |
| void io.agora.rtc.AgoraServiceConfig.setContext | ( | Object | context | ) |
| void io.agora.rtc.AgoraServiceConfig.setDomainLimit | ( | int | domainLimit | ) |
| void io.agora.rtc.AgoraServiceConfig.setEnableAudioDevice | ( | int | enableAudioDevice | ) |
| void io.agora.rtc.AgoraServiceConfig.setEnableAudioProcessor | ( | int | enableAudioProcessor | ) |
| void io.agora.rtc.AgoraServiceConfig.setEnableVideo | ( | int | enableVideo | ) |
| void io.agora.rtc.AgoraServiceConfig.setLogFilePath | ( | String | logFilePath | ) |
| void io.agora.rtc.AgoraServiceConfig.setLogFileSize | ( | int | logFileSize | ) |
| void io.agora.rtc.AgoraServiceConfig.setLogFilters | ( | int | logFilters | ) |
| void io.agora.rtc.AgoraServiceConfig.setUseStringUid | ( | int | useStringUid | ) |
| String io.agora.rtc.AgoraServiceConfig.toString | ( | ) |
|
private |
The App ID of your project.
|
private |
The region for connection. This is an advanced feature and applies to scenarios that have regional restrictions. After specifying the region, the app integrated with the Agora SDK connects to the Agora servers within that region.
|
private |
The audio scenario.
|
private |
The channel profile.
|
private |
The user context.
|
private |
Determines whether to enable domain limit.
1: only connect to servers that are already parsed by DNS.0: (Default) connect to servers with no limit.
|
private |
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. If you set enableAudioDevice as false and set enableAudioProcessor as true, you cannot use audio devices, but you can push PCM audio data.
true: Enable the audio device module. Audio recording and playback is available.false: (Default) Disable the audio device module. Audio recording and playback is unavailable.
|
private |
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.
|
private |
Whether to enable video.
true: Enable video.false: (Default) Disable video.
|
private |
The log file path. The default value is NULL, which stands for the default log path.
|
private |
The log file size (KB). The default value is 2048.
|
private |
The log level:
|
private |
Whether to enable string uid.