public class Constants
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Constants.AUDIO_EQUALIZATION_BAND_FREQUENCY
The audio equalization band frequency.
|
static class |
Constants.AUDIO_REVERB_TYPE |
static class |
Constants.AudioMixingDualMonoMode
The audio mixing dual-mono output mode.
|
static class |
Constants.AudioProfile
Sets the audio profile sampling rate, bitrate, encode mode, and the number of channels.
|
static class |
Constants.AudioScenario
Sets the audio application scenarios.
|
static class |
Constants.ExternalVideoSourceType
External video source types definition.
|
static class |
Constants.LogLevel
Log Level.
|
static class |
Constants.MediaSourceType
The type of media device.
|
static class |
Constants.MediaType
Media type.
|
static class |
Constants.SimulcastStreamMode
The dual stream mode
|
static class |
Constants.ThreadPriorityType
Thread priority type.
|
static class |
Constants.VideoSourceType
Video source types definition.
|
Modifier and Type | Field and Description |
---|---|
static int |
AUDIENCE_LATENCY_LEVEL_LOW_LATENCY
1: Low latency.
|
static int |
AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY
2: Ultra low latency.
|
static int |
AUDIO_CODEC_AACLC |
static int |
AUDIO_CODEC_HEAAC |
static int |
AUDIO_CODEC_HEAAC2 |
static int |
AUDIO_CODEC_OPUS |
static int |
AUDIO_EFFECT_OFF
Turn off audio effects and use the original voice.
|
static int |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC
1: mic audio frame observer
|
static int |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED
3: mixed audio frame observer
|
static int |
AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK
2: playback audio frame observer
|
static int |
AUDIO_ENCODING_TYPE_AAC_16000_LOW
1: codecType AAC; sampleRate 16000; quality low which around 1.2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM
2: codecType AAC; sampleRate 16000; quality medium which around 2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_AAC_32000_HIGH
5: codecType AAC; sampleRate 32000; quality high which around 3.5 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_AAC_32000_LOW
3: codecType AAC; sampleRate 32000; quality low which around 1.2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM
4: codecType AAC; sampleRate 32000; quality medium which around 2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_AAC_48000_HIGH
7: codecType AAC; sampleRate 48000; quality high which around 3.5 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM
6: codecType AAC; sampleRate 48000; quality medium which around 2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_OPUS_16000_LOW
11: codecType OPUS; sampleRate 16000; quality low which around 1.2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM
12: codecType OPUS; sampleRate 16000; quality medium which around 2 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_OPUS_48000_HIGH
14: codecType OPUS; sampleRate 48000; quality high which around 3.5 MB after 10 minutes
|
static int |
AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM
13: codecType OPUS; sampleRate 48000; quality medium which around 2 MB after 10 minutes
|
static int |
AUDIO_FILE_RECORDING_MIC
1: mic audio file recording.
|
static int |
AUDIO_FILE_RECORDING_MIXED
3: mixed audio file recording, include mic and playback.
|
static int |
AUDIO_FILE_RECORDING_PLAYBACK
2: playback audio file recording.
|
static int |
AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
716: The audio mixing file is all played out.
|
static int |
AUDIO_MIXING_REASON_CAN_NOT_OPEN
701: An error occurs in opening the audio mixing file.
|
static int |
AUDIO_MIXING_REASON_INTERRUPTED_EOF
703: The audio mixing file playback is interrupted.
|
static int |
AUDIO_MIXING_REASON_OK
0: No error.
|
static int |
AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
715: The audio mixing file is played once.
|
static int |
AUDIO_MIXING_REASON_STOPPED_BY_USER
716: The audio mixing file stopped by user
|
static int |
AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
702: The SDK opens the audio mixing file too frequently.
|
static int |
AUDIO_MIXING_STATE_FAILED
714: An exception occurs when playing the audio mixing file.
|
static int |
AUDIO_MIXING_STATE_PAUSED
711: The audio mixing file pauses playing.
|
static int |
AUDIO_MIXING_STATE_PLAYING
710: The audio mixing file is playing.
|
static int |
AUDIO_MIXING_STATE_STOPPED
713: The audio mixing file stops playing.
|
static int |
AUDIO_PROFILE_DEFAULT
0: The default audio profile.
|
static int |
AUDIO_PROFILE_MUSIC_HIGH_QUALITY
4: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 96 Kbps.
|
static int |
AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO
5: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 128 Kbps.
|
static int |
AUDIO_PROFILE_MUSIC_STANDARD
2: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps.
|
static int |
AUDIO_PROFILE_MUSIC_STANDARD_STEREO
3: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 80
Kbps.
|
static int |
AUDIO_PROFILE_SPEECH_STANDARD
1: A sample rate of 32 kHz, audio encoding, mono, and a bitrate up to 18 Kbps.
|
static int |
AUDIO_RECORDING_QUALITY_HIGH
High quality, file size is around 3.75 MB after 10 minutes of recording.
|
static int |
AUDIO_RECORDING_QUALITY_LOW
Low quality, file size is around 1.2 MB after 10 minutes of recording.
|
static int |
AUDIO_RECORDING_QUALITY_MEDIUM
Medium quality, file size is around 2 MB after 10 minutes of recording.
|
static int |
AUDIO_RECORDING_QUALITY_ULTRA_HIGH
3: Ultra High quality.
|
static int |
AUDIO_ROUTE_DEFAULT
-1: The default audio route.
|
static int |
AUDIO_ROUTE_EARPIECE
1: Earpiece.
|
static int |
AUDIO_ROUTE_HEADSET
0: Headset.
|
static int |
AUDIO_ROUTE_HEADSETBLUETOOTH
5: Bluetooth headset.
|
static int |
AUDIO_ROUTE_HEADSETNOMIC
2: Headset with no microphone.
|
static int |
AUDIO_ROUTE_LOUDSPEAKER
4: Loudspeaker
|
static int |
AUDIO_ROUTE_SPEAKERPHONE
3: Speakerphone.
|
static int |
AUDIO_SCENARIO_CHATROOM
5: The chatroom scenario, which needs to keep recording when setClientRole to audience.
|
static int |
AUDIO_SCENARIO_CHORUS
7: The chorus scenario.
|
static int |
AUDIO_SCENARIO_DEFAULT
0: (Recommended) The default audio scenario.
|
static int |
AUDIO_SCENARIO_GAME_STREAMING
3: (Recommended) The live gaming scenario, which needs to enable the gaming audio effects in
the speaker mode in a live broadcast scenario.
|
static int |
AUDIO_SCENARIO_MEETING
8: The Meeting scenario.
|
static int |
CAMERA |
static int |
CAPTURE_BRIGHTNESS_LEVEL_BRIGHT
1: The brightness level of the video image is too bright.
|
static int |
CAPTURE_BRIGHTNESS_LEVEL_DARK
2: The brightness level of the video image is too dark.
|
static int |
CAPTURE_BRIGHTNESS_LEVEL_INVALID
-1: The SDK does not detect the brightness level of the video image.
|
static int |
CAPTURE_BRIGHTNESS_LEVEL_NORMAL
0: The brightness level of the video image is normal.
|
static int |
CHANNEL_PROFILE_CLOUD_GAMING
3: Cloud Gaming.
|
static int |
CHANNEL_PROFILE_COMMUNICATION
0: Communication.
|
static int |
CHANNEL_PROFILE_COMMUNICATION_1v1
4: Communication 1v1.
|
static int |
CHANNEL_PROFILE_GAME
2: Gaming.
|
static int |
CHANNEL_PROFILE_LIVE_BROADCASTING
1: (Default) Live Broadcast.
|
static int |
CHAT_BEAUTIFIER_FRESH
A fresher voice.
|
static int |
CHAT_BEAUTIFIER_MAGNETIC
A more magnetic voice.
|
static int |
CHAT_BEAUTIFIER_VITALITY
A more vital voice.
|
static int |
CLIENT_ROLE_AUDIENCE
The audience.
|
static int |
CLIENT_ROLE_BROADCASTER
The broadcaster.
|
static int |
CONNECTION_CHANGED_BANNED_BY_SERVER
3: The connection between the SDK and Agora edge server is banned by Agora edge server.
|
static int |
CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED
13: The client IP address has changed, probably due to a change of the network type, IP
address, or network port.
|
static int |
CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER
18: The local IP Address is changed by user.
|
static int |
CONNECTION_CHANGED_CONNECTING
0: The SDK is connecting to Agora edge server.
|
static int |
CONNECTION_CHANGED_ECHO_TEST
17: The change of connection state is caused by echo test.
|
static int |
CONNECTION_CHANGED_INTERRUPTED
2: The connection between the SDK and Agora edge server is interrupted.
|
static int |
CONNECTION_CHANGED_INVALID_APP_ID
6: The specified App ID is invalid.
|
static int |
CONNECTION_CHANGED_INVALID_CHANNEL_NAME
7: The specified channel name is invalid.
|
static int |
CONNECTION_CHANGED_INVALID_TOKEN
8: The generated token is invalid probably due to the following reasons:
The App Certificate for the project is enabled in Console, but you do not use the
token.
|
static int |
CONNECTION_CHANGED_JOIN_FAILED
4: The SDK fails to join the channel for more than 20 minutes and stops reconnecting to the
channel.
|
static int |
CONNECTION_CHANGED_JOIN_SUCCESS
1: The SDK has joined the channel successfully.
|
static int |
CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT
14: Timeout for the keep-alive of the connection between the SDK and Agora edge server.
|
static int |
CONNECTION_CHANGED_LEAVE_CHANNEL
5: The SDK has left the channel.
|
static int |
CONNECTION_CHANGED_LOST
16: The connection between the SDK and the server is lost.
|
static int |
CONNECTION_CHANGED_REJECTED_BY_SERVER
10: The user is banned by the server.
|
static int |
CONNECTION_CHANGED_REJOIN_SUCCESS
15: The SDK has rejoined the channel successfully.
|
static int |
CONNECTION_CHANGED_RENEW_TOKEN
12: The token renews.
|
static int |
CONNECTION_CHANGED_SAME_UID_LOGIN
/* 19: There is a disconnection due to joining channel on another device with the same uid.
|
static int |
CONNECTION_CHANGED_SETTING_PROXY_SERVER
11: The SDK tries to reconnect after setting a proxy server.
|
static int |
CONNECTION_CHANGED_TOKEN_EXPIRED
9: The token has expired.
|
static int |
CONNECTION_CHANGED_TOO_MANY_BROADCASTERS
20: The connection is failed due to too many broadcasters in the channel.
|
static int |
CONNECTION_STATE_CONNECTED
3: The SDK is connected to Agora edge server and has joined a channel.
|
static int |
CONNECTION_STATE_CONNECTING
2: The SDK is connecting to Agora edge server.
|
static int |
CONNECTION_STATE_DISCONNECTED
1: The SDK is disconnected from Agora edge server.
|
static int |
CONNECTION_STATE_FAILED
5: The SDK fails to connect to Agora edge server or join the channel.
|
static int |
CONNECTION_STATE_RECONNECTING
4: The SDK keeps rejoining the channel after being disconnected from a joined channel because
of network issues.
|
static int |
CONTENT_INSPECT_NEUTRAL |
static int |
CONTENT_INSPECT_PORN |
static int |
CONTENT_INSPECT_SEXY |
static int |
DEFAULT_CONNECTION_ID
The default connection ID.
|
static int |
EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS
2: Add an audio filter to the in-ear monitor.
|
static int |
EAR_MONITORING_FILTER_NOISE_SUPPRESSION
4: Enable noise suppression to the in-ear monitor.
|
static int |
EAR_MONITORING_FILTER_NONE
1: Do not add an audio filter to the in-ear monitor.
|
static int |
ENCRYPTION_ERROR_DECRYPTION_FAILURE |
static int |
ENCRYPTION_ERROR_ENCRYPTION_FAILURE |
static int |
ENCRYPTION_ERROR_INTERNAL_FAILURE
Error type of encryption.
|
static int |
ERR_ABORTED
The SDK gives up the request due to too many requests.
|
static int |
ERR_ADM_GENERAL_ERROR
General error on the Audio Device Module (no classified reason).
|
static int |
ERR_ADM_INIT_PLAYOUT
Audio Device Module: Error in initializing the playback device.
|
static int |
ERR_ADM_INIT_RECORDING
Audio Device Module: Error in initializing the recording device.
|
static int |
ERR_ADM_START_PLAYOUT
Audio Device Module: Error in starting the playback device.
|
static int |
ERR_ADM_START_RECORDING
Audio Device Module: Error in starting the recording device.
|
static int |
ERR_ADM_STOP_PLAYOUT
Audio Device Module: Error in stopping the playback device.
|
static int |
ERR_ADM_STOP_RECORDING
Audio Device Module: Error in stopping the recording device.
|
static int |
ERR_ALREADY_IN_USE
Resources are occupied, and cannot be reused.
|
static int |
ERR_AUDIO_BT_SCO_FAILED |
static int |
ERR_BIND_SOCKET
The SDK fails to bind to the network socket.
|
static int |
ERR_BITRATE_LIMIT
The bitrate is limited.
|
static int |
ERR_BUFFER_TOO_SMALL
The buffer size is not big enough to store the returned data.
|
static int |
ERR_CANCELED
The request is cancelled.
|
static int |
ERR_CLIENT_IS_BANNED_BY_SERVER
The client is banned by the server.
|
static int |
ERR_CONNECTION_INTERRUPTED
The CONNECTION_INTERRUPTED callback.
|
static int |
ERR_CONNECTION_LOST
The CONNECTION_LOST callback.
|
static int |
ERR_DECRYPTION_FAILED
Failed to decrypt.
|
static int |
ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
Encryption is enabled when the user calls the
addPublishStreamUrl method (CDN
live streaming does not support encrypted streams). |
static int |
ERR_FAILED
A general error occurs (no specified reason).
|
static int |
ERR_INIT_NET_ENGINE
On Windows, specific firewall settings can cause the SDK to fail to
initialize and crash.
|
static int |
ERR_INVALID_APP_ID
The specified App ID is invalid.
|
static int |
ERR_INVALID_ARGUMENT
An invalid parameter is used.
|
static int |
ERR_INVALID_CHANNEL_NAME
The specified channel name is invalid.
|
static int |
ERR_INVALID_STATE
The state is invalid.
|
static int |
ERR_INVALID_TOKEN
The Token is invalid due to one of the following reasons: The App Certificate for the project
is enabled on the Dashboard, but the user is still using the App ID.
|
static int |
ERR_INVALID_USER_ACCOUNT
The user account is invalid, usually because the data format of the user account is incorrect.
|
static int |
ERR_INVALID_USER_ID
The user ID is invalid.
|
static int |
ERR_JOIN_CHANNEL_REJECTED
The request to join the channel is rejected.
|
static int |
ERR_LEAVE_CHANNEL_REJECTED
The request to leave the channel is rejected.
|
static int |
ERR_LICENSE_CREDENTIAL_INVALID
License credential is invalid
|
static int |
ERR_LOAD_MEDIA_ENGINE
Failed to load the media engine.
|
static int |
ERR_MODULE_NOT_FOUND
The extension library is not integrated, such as the library for enabling deep-learning noise
reduction.
|
static int |
ERR_NET_DOWN
The network is unavailable.
|
static int |
ERR_NO_PERMISSION
No permission.
|
static int |
ERR_NO_SERVER_RESOURCES
Fails to get server resources in the specified region.
|
static int |
ERR_NOT_IN_CHANNEL
The user is not in the channel.
|
static int |
ERR_NOT_INITIALIZED
The SDK is not initialized before calling this API.
|
static int |
ERR_NOT_READY
The SDK module is not ready.
|
static int |
ERR_NOT_SUPPORTED
The SDK does not support this function.
|
static int |
ERR_OK
No error occurs.
|
static int |
ERR_REFUSED
The request is rejected.
|
static int |
ERR_RESOURCE_LIMITED
The app uses too much of the system resource and the SDK
fails to allocate any resource.
|
static int |
ERR_SCREEN_CAPTURE_PERMISSION_DENIED
16: The user refuses to grant screen capture permission to the application.
|
static int |
ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED
3: Due to system limitations, system audio cannot be captured on systems earlier than Android
10 (that is, API level 29).
|
static int |
ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED
2: Due to system limitations, screen capture is not available on systems earlier than Android 5
(that is, Android API level 21).
|
static int |
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
Switching the user role fails.
|
static int |
ERR_SIZE_TOO_LARGE
The data size is too big.
|
static int |
ERR_STREAM_MESSAGE_TIMEOUT
A timeout occurs for the data stream transmission.
|
static int |
ERR_TIMEDOUT
An API timeout.
|
static int |
ERR_TOKEN_EXPIRED
The Token expired due to one of the following reasons:
Authorized Timestamp expired: The timestamp is represented by the number of seconds
elapsed since 1/1/1970.
|
static int |
ERR_TOO_MANY_DATA_STREAMS
Too many data streams.
|
static int |
ERR_TOO_OFTEN
The call frequency is too high.
|
static int |
ERR_VDM_CAMERA_NOT_AUTHORIZED
Video Device Module: The camera is not authorized.
|
static int |
EXPERIENCE_QUALITY_BAD
1: QoE of the local user is poor.
|
static int |
EXPERIENCE_QUALITY_GOOD
0: QoE of the local user is good.
|
static int |
EXPERIENCE_REASON_NONE
0: No reason, indicating good QoE of the local user.
|
static int |
HARDWARE_ENCODER
Hardware encoder.
|
static int |
HEADPHONE_EQUALIZER_INEAR
For in-ear headphones.
|
static int |
HEADPHONE_EQUALIZER_OFF
Turn off headphone EQ and use the original voice.
|
static int |
HEADPHONE_EQUALIZER_OVEREAR
For over-ear headphones.
|
static int |
INJECT_STREAM_STATUS_BROKEN
The external video stream is broken.
|
static int |
INJECT_STREAM_STATUS_START_ALREADY_EXISTS
The external video stream already exists.
|
static int |
INJECT_STREAM_STATUS_START_FAILED
The external video stream failed to import.
|
static int |
INJECT_STREAM_STATUS_START_SUCCESS
The external video stream imported successfully.
|
static int |
INJECT_STREAM_STATUS_START_TIMEDOUT
Import external video stream timeout.
|
static int |
INJECT_STREAM_STATUS_START_UNAUTHORIZED
The external video stream import is unauthorized
|
static int |
INJECT_STREAM_STATUS_STOP_FAILED
Importing the external video stream failed.
|
static int |
INJECT_STREAM_STATUS_STOP_NOT_FOUND
No external video stream is found.
|
static int |
INJECT_STREAM_STATUS_STOP_SUCCESS
The xternal video stream imports successfully.
|
static int |
INJECT_STREAM_STATUS_STOP_TIMEDOUT
Importing the external video stream timeout.
|
static int |
INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
The external video stream is stopped from being unauthorized.
|
static int |
LASTMILE_PROBE_RESULT_COMPLETE
1: The last-mile probe result is complete.
|
static int |
LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE
2: The last-mile network probe test is incomplete and the bandwidth estimation is not
available, probably due to limited test resources.
|
static int |
LASTMILE_PROBE_RESULT_UNAVAILABLE
3: The last-mile network probe test is not carried out, probably due to poor network
conditions.
|
static int |
LICENSE_ERR_DIFF_DEVICES
5: Same license used in different devices at the same time
|
static int |
LICENSE_ERR_EXPIRE
2: License expired
|
static int |
LICENSE_ERR_INTERNAL
99: SDK internal error
|
static int |
LICENSE_ERR_INVALID
1: Invalid license
|
static int |
LICENSE_ERR_LIMITED_PERIOD
4: License use in limited period
|
static int |
LICENSE_ERR_MINUTES_EXCEED
3: Exceed license minutes limit
|
static int |
LOCAL_AUDIO_STREAM_ERROR_CAPTURE_FAILURE
4: The local audio capture failed.
|
static int |
LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY
3: The microphone is in use.
|
static int |
LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION
2: No permission to use the local audio device.
|
static int |
LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE
5: The local audio encoding fails.
|
static int |
LOCAL_AUDIO_STREAM_ERROR_FAILURE
1: No specified reason for the local audio failure.
|
static int |
LOCAL_AUDIO_STREAM_ERROR_OK
0: The local audio is normal.
|
static int |
LOCAL_AUDIO_STREAM_STATE_ENCODING
2: The first audio frame is successfully encoded.
|
static int |
LOCAL_AUDIO_STREAM_STATE_FAILED
3: The local audio fails to start.
|
static int |
LOCAL_AUDIO_STREAM_STATE_RECORDING
1: The capturer starts successfully.
|
static int |
LOCAL_AUDIO_STREAM_STATE_STOPPED
0: The local audio is in the initial state.
|
static int |
LOCAL_NETWORK_QUALITY_POOR
2: The local user's network quality is poor.
|
static int |
LOCAL_RPOXY_CONNECTIVITY_FIRST
0: connectivity first
|
static int |
LOCAL_RPOXY_LOCAL_ONLY
1: local only
|
static int |
LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE
4: The local video capture fails.
|
static int |
LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY
3: The local video capturer is in use.
|
static int |
LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION
2: No permission to use the local video device.
|
static int |
LOCAL_VIDEO_STREAM_ERROR_DEVICE_NOT_FOUND
8: The local video device not found.
|
static int |
LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE
5: The local video encoding fails.
|
static int |
LOCAL_VIDEO_STREAM_ERROR_FAILURE
1: No specified reason for the local video failure.
|
static int |
LOCAL_VIDEO_STREAM_ERROR_OK
0: The local video is normal.
|
static int |
LOCAL_VIDEO_STREAM_STATE_CAPTURING
The capturer starts successfully.
|
static int |
LOCAL_VIDEO_STREAM_STATE_ENCODING
The first video frame is successfully encoded.
|
static int |
LOCAL_VIDEO_STREAM_STATE_FAILED
The local video fails to start.
|
static int |
LOCAL_VIDEO_STREAM_STATE_STOPPED
Initial state
|
static int |
LOG_FILTER_CRITICAL
Output logs of the CRITICAL level.
|
static int |
LOG_FILTER_DEBUG
Output all the API logs.
|
static int |
LOG_FILTER_ERROR
Output logs of the CRITICAL and ERROR level.
|
static int |
LOG_FILTER_INFO
Output logs of the CRITICAL, ERROR, WARNING, and INFO level.
|
static int |
LOG_FILTER_OFF
Do not output any log.
|
static int |
LOG_FILTER_WARNING
Output logs of the CRITICAL, ERROR, and WARNING level.
|
static int |
MAX_CROSS_DEST_CHANNEL_SIZE
media relay max dest channel size
|
static int |
MEDIA_ENGINE_AUDIO_FILE_MIX_FINISH |
static int |
MEDIA_ENGINE_PLAYOUT_ERROR |
static int |
MEDIA_ENGINE_PLAYOUT_WARNING |
static int |
MEDIA_ENGINE_RECORDING_ERROR |
static int |
MEDIA_ENGINE_RECORDING_WARNING |
static int |
MEDIA_ENGINE_ROLE_AUDIENCE |
static int |
MEDIA_ENGINE_ROLE_BROADCASTER_INTERACTIVE |
static int |
MEDIA_ENGINE_ROLE_BROADCASTER_SOLO |
static int |
MEDIA_ENGINE_ROLE_COMM_PEER |
static int |
MEDIA_TYPE_AUDIO_AND_VIDEO
Audio and video
|
static int |
MEDIA_TYPE_AUDIO_ONLY
Audio only
|
static int |
MEDIA_TYPE_NONE
None
|
static int |
MEDIA_TYPE_VIDEO_ONLY
Video only
|
static int |
NETWORK_TYPE_DISCONNECTED
0: The SDK disconnects from the network.
|
static int |
NETWORK_TYPE_LAN
1: The network type is LAN.
|
static int |
NETWORK_TYPE_MOBILE_2G
3: The network type is mobile 2G.
|
static int |
NETWORK_TYPE_MOBILE_3G
4: The network type is mobile 3G.
|
static int |
NETWORK_TYPE_MOBILE_4G
5: The network type is mobile 4G.
|
static int |
NETWORK_TYPE_MOBILE_5G
6: The network type is mobile 5G.
|
static int |
NETWORK_TYPE_UNKNOWN
-1: The network type is unknown.
|
static int |
NETWORK_TYPE_WIFI
2: The network type is Wi-Fi (including hotspots).
|
static int |
PACKETIZE_MODE_H264_NON_INTERLEAVED
Packetize Mode H264PacketizeMode
|
static int |
PACKETIZE_MODE_H264_SINGLE_NAL_UNIT |
static int |
PITCH_CORRECTION
A pitch correction effect that corrects the user's pitch based on the pitch of the natural C
major scale.
|
static int |
POSITION_BEFORE_MIXING
`0x01 << 3`: The position for observing the audio of a single remote user before mixing,
which enables the SDK to trigger the
onPlaybackFrameBeforeMixing or onPlaybackFrameBeforeMixingEx callback. |
static int |
POSITION_EAR_MONITORING
`0x01 << 4`: The position for observing the ear monitoring audio of the local user,
which enables the SDK to trigger the
onEarMonitoringAudioFrame callback. |
static int |
POSITION_MIXED
`0x01 << 2`: The position for observing the mixed audio of the local user and all remote users,
which enables the SDK to trigger the
onMixedFrame callback. |
static int |
POSITION_PLAYBACK
`0x01`: The position for observing the playback audio of all remote users after mixing, which
enables the SDK to trigger the
onPlaybackFrame callback. |
static int |
POSITION_RECORD
`0x01 << 1`: The position for observing the recorded audio of the local user, which enables the
SDK to trigger the
onRecordFrame callback. |
static int |
PROXY_TYPE_LOCAL_PROXY
3: Reserved for future use.
|
static int |
PROXY_TYPE_NONE_PROXY
0: Reserved for future use.
|
static int |
PROXY_TYPE_TCP_AUTO_FALLBACK
4: The automatic mode.
|
static int |
PROXY_TYPE_TCP_CLOUD_PROXY
2: The cloud proxy for the TCP (encryption) protocol, that is, the Force TCP cloud proxy mode.
|
static int |
PROXY_TYPE_UDP_CLOUD_PROXY
1: The cloud proxy for the UDP protocol, that is, the Force UDP cloud proxy mode.
|
static int |
PUB_STATE_IDLE
0: The initial publishing state after joining the channel.
|
static int |
PUB_STATE_NO_PUBLISHED
1: Fails to publish the local stream.
|
static int |
PUB_STATE_PUBLISHED
3: Successfully publishes the local stream.
|
static int |
PUB_STATE_PUBLISHING
2: Publishing the local stream.
|
static int |
QUALITY_BAD
Users can communicate not very smoothly.
|
static int |
QUALITY_DETECTING
8: Detecting the network quality.
|
static int |
QUALITY_DOWN
Users cannot communicate at all.
|
static int |
QUALITY_EXCELLENT
The quality is excellent.
|
static int |
QUALITY_GOOD
The quality is quite good, but the bitrate may be slightly lower than excellent.
|
static int |
QUALITY_POOR
Users can feel the communication slightly impaired.
|
static int |
QUALITY_REPORT_FORMAT_HTML
The quality report in HTML format.
|
static int |
QUALITY_REPORT_FORMAT_JSON
The quality report in JSON format.
|
static int |
QUALITY_UNKNOWN
The quality is unknown.
|
static int |
QUALITY_UNSUPPORTED
7: (For future use) The network quality cannot be detected.
|
static int |
QUALITY_VBAD
The quality is so bad that users can barely communicate.
|
static int |
RAW_AUDIO_FRAME_OP_MODE_READ_ONLY
Read-only mode, users only read the AudioFrame data without modifying anything.
|
static int |
RAW_AUDIO_FRAME_OP_MODE_READ_WRITE
Read and write mode, users read the data from AudioFrame, modify it and then play it.
|
static int |
RECORD_AUDIO
Type of permission.
|
static int |
RELAY_ERROR_DEST_TOKEN_EXPIRED
11: The token of the destination channel has expired.
|
static int |
RELAY_ERROR_FAILED_JOIN_DEST
5: Fails to accept the relay request.
|
static int |
RELAY_ERROR_FAILED_JOIN_SRC
4: Fails to send the relay request.
|
static int |
RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC
6: The server fails to receive the media stream.
|
static int |
RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST
7: The server fails to send the media stream.
|
static int |
RELAY_ERROR_INTERNAL_ERROR
9: An internal error occurs in the server.
|
static int |
RELAY_ERROR_NO_RESOURCE_AVAILABLE
3: The SDK fails to access the service, probably due to limited resources of the server.
|
static int |
RELAY_ERROR_SERVER_CONNECTION_LOST
8: The SDK disconnects from the server due to poor network connections.
|
static int |
RELAY_ERROR_SERVER_ERROR_RESPONSE
1: An error occurs in the server response.
|
static int |
RELAY_ERROR_SERVER_NO_RESPONSE
2: No server response.
|
static int |
RELAY_ERROR_SRC_TOKEN_EXPIRED
10: The token of the source channel has expired.
|
static int |
RELAY_EVENT_NETWORK_CONNECTED
1: The network reconnects.
|
static int |
RELAY_EVENT_NETWORK_DISCONNECTED
0: The user disconnects from the server due to poor network connections.
|
static int |
RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL
3: The user joins the destination channel.
|
static int |
RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL
2: The user joins the source channel.
|
static int |
RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC
6: The server receives the audio stream from the source channel.
|
static int |
RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC
5: The server receives the video stream from the source channel.
|
static int |
RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL
4: The SDK starts relaying the media stream to the destination channel.
|
static int |
RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL
7: The destination channel is updated.
|
static int |
RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL
10: The destination channel name is NULL.
|
static int |
RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE
9: The destination channel does not change, which means that the destination channel fails to
be updated.
|
static int |
RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_REFUSED
8: The destination channel update fails due to internal reasons.
|
static int |
RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED
13: pause send packet to dest channel failed.
|
static int |
RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS
12: pause send packet to dest channel success.
|
static int |
RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED
15: pause send packet to dest channel failed.
|
static int |
RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS
14: resume send packet to dest channel success.
|
static int |
RELAY_EVENT_VIDEO_PROFILE_UPDATE
11: The video profile is sent to the server.
|
static int |
RELAY_OK
0: The state is normal.
|
static int |
RELAY_STATE_CONNECTING
1: The SDK tries to relay the media stream to the destination channel.
|
static int |
RELAY_STATE_FAILURE
3: A failure occurs.
|
static int |
RELAY_STATE_IDLE
0: The SDK is initializing.
|
static int |
RELAY_STATE_RUNNING
2: The SDK successfully relays the media stream to the destination channel.
|
static int |
REMOTE_AUDIO_REASON_INTERNAL
0: Internal reasons.
|
static int |
REMOTE_AUDIO_REASON_LOCAL_MUTED
3: The local user stops receiving the remote audio stream or disables the audio module.
|
static int |
REMOTE_AUDIO_REASON_LOCAL_UNMUTED
4: The local user resumes receiving the remote audio stream or enables the audio module.
|
static int |
REMOTE_AUDIO_REASON_NETWORK_CONGESTION
1: Network congestion.
|
static int |
REMOTE_AUDIO_REASON_NETWORK_RECOVERY
2: Network recovery.
|
static int |
REMOTE_AUDIO_REASON_REMOTE_MUTED
5: The remote user stops sending the audio stream or disables the audio module.
|
static int |
REMOTE_AUDIO_REASON_REMOTE_OFFLINE
7: The remote user leaves the channel.
|
static int |
REMOTE_AUDIO_REASON_REMOTE_UNMUTED
6: The remote user resumes sending the audio stream or enables the audio module.
|
static int |
REMOTE_AUDIO_STATE_DECODING
2: The remote audio stream is decoded and plays normally, probably due to
REMOTE_AUDIO_REASON_NETWORK_RECOVERY(2), REMOTE_AUDIO_REASON_LOCAL_ENABLE_AUDIO(4), or
REMOTE_AUDIO_REASON_REMOTE_UNMUTED(6).
|
static int |
REMOTE_AUDIO_STATE_FAILED
4: The remote audio fails to start, probably due to REMOTE_AUDIO_REASON_INTERNAL(0).
|
static int |
REMOTE_AUDIO_STATE_FROZEN
3: The remote audio is frozen, probably due to REMOTE_AUDIO_REASON_NETWORK_CONGESTION(1).
|
static int |
REMOTE_AUDIO_STATE_STARTING
1: The first remote audio packet is received.
|
static int |
REMOTE_AUDIO_STATE_STOPPED
0: The remote audio is in the default state, probably due to
REMOTE_AUDIO_REASON_LOCAL_DISABLE_AUDIO(3), REMOTE_AUDIO_REASON_REMOTE_MUTED(5), or
REMOTE_AUDIO_REASON_REMOTE_OFFLINE(7).
|
static int |
REMOTE_NETWORK_QUALITY_POOR
1: The remote user's network quality is poor.
|
static int |
REMOTE_VIDEO_STATE_FAILED
4: Failed.
|
static int |
REMOTE_VIDEO_STATE_FROZEN
3: Remote video is frozen, probably due to network issue.
|
static int |
REMOTE_VIDEO_STATE_PLAYING
2: Remote video is playing.
|
static int |
REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
8: The remote media stream falls back to the audio-only stream due to poor network conditions.
|
static int |
REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
9: The remote media stream switches back to the video stream after the network conditions
improve.
|
static int |
REMOTE_VIDEO_STATE_REASON_INTERNAL
0: Internal reasons.
|
static int |
REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
3: The local user stops receiving the remote video stream or disables the video module.
|
static int |
REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
4: The local user resumes receiving the remote video stream or enables the video module.
|
static int |
REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
1: Network congestion.
|
static int |
REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
2: Network recovery.
|
static int |
REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
5: The remote user stops sending the video stream or disables the video module.
|
static int |
REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
7: The remote user leaves the channel.
|
static int |
REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
6: The remote user resumes sending the video stream or enables the video module.
|
static int |
REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
12: The remote user sdk(only for iOS) in background.
|
static int |
REMOTE_VIDEO_STATE_STARTING
1: video packet has been received, but not decoded yet.
|
static int |
REMOTE_VIDEO_STATE_STOPPED
Default state
|
static int |
RENDER_MODE_ADAPTIVE
3: This mode is deprecated.
|
static int |
RENDER_MODE_FIT
2: Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit).
|
static int |
RENDER_MODE_HIDDEN
1: Uniformly scale the video until it fills the visible boundaries (cropped).
|
static int |
RHYTHM_PLAYER_ERROR_CAN_NOT_OPEN
801: The rhythm player can not open the file.
|
static int |
RHYTHM_PLAYER_ERROR_CAN_NOT_PLAY
802: The rhythm player can not play the file.
|
static int |
RHYTHM_PLAYER_ERROR_FAILED
1: he rhythm player occurs a internal error.
|
static int |
RHYTHM_PLAYER_ERROR_FILE_OVER_DURATION_LIMIT
803: The file duration over the limit.
|
static int |
RHYTHM_PLAYER_ERROR_OK
0: The rhythm player works well.
|
static int |
RHYTHM_PLAYER_STATE_DECODING
812: Files opened successfully, the rhythm player starts decoding files.
|
static int |
RHYTHM_PLAYER_STATE_FAILED
814: The rhythm player is starting to fail, and you need to check the error code for
detailed failure reasons
|
static int |
RHYTHM_PLAYER_STATE_IDLE
810: The rhythm player is idle.
|
static int |
RHYTHM_PLAYER_STATE_OPENING
811: The rhythm player is opening files.
|
static int |
RHYTHM_PLAYER_STATE_PLAYING
813: Files decoded successfully, the rhythm player starts mixing the two files and playing
back them locally.
|
static int |
ROOM_ACOUSTICS_3D_VOICE
A 3D voice effect that makes the voice appear to be moving around the user.
|
static int |
ROOM_ACOUSTICS_ETHEREAL
A more ethereal audio effect.
|
static int |
ROOM_ACOUSTICS_KTV
An audio effect typical of a KTV venue.
|
static int |
ROOM_ACOUSTICS_PHONOGRAPH
An audio effect typical of a vintage phonograph.
|
static int |
ROOM_ACOUSTICS_SPACIAL
A more spatial audio effect.
|
static int |
ROOM_ACOUSTICS_STUDIO
An audio effect typical of a recording studio.
|
static int |
ROOM_ACOUSTICS_VIRTUAL_STEREO
A virtual stereo effect that renders monophonic audio as stereo audio.
|
static int |
ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND
virtual suround sound.
|
static int |
ROOM_ACOUSTICS_VOCAL_CONCERT
An audio effect typical of a concert hall.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_CONNECTION_TIMEOUT
3.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_ENCRYPTED_STREAM_NOT_ALLOWED
2: The RTMP or RTMPS streaming is encrypted and cannot be published.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_FORMAT_NOT_SUPPORTED
10: The format of the RTMP or RTMPS streaming URL is not supported.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_INTERNAL_SERVER_ERROR
4.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_INVALID_APPID
15: User AppId have not authorized to push stream.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_INVALID_ARGUMENT
1.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_INVALID_PRIVILEGE
16: invalid privilege.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_NET_DOWN
14: Network error.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_NOT_AUTHORIZED
8: The host manipulates other hosts' URLs.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_NOT_BROADCASTER
11: Current role is not broadcaster.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_OK
0: The RTMP or RTMPS streaming publishes successfully.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_REACH_LIMIT
7: The host publishes more than 10 URLs.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_RTMP_SERVER_ERROR
5: An error occurs in the CDN server.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_STREAM_NOT_FOUND
9: Agora server fails to find the RTMP or RTMPS streaming.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_TOO_OFTEN
6: The RTMP or RTMPS streaming publishes too frequently.
|
static int |
RTMP_STREAM_PUBLISH_ERROR_TRANSCODING_NO_MIX_STREAM
13: Call updateTranscoding, but no mix stream.
|
static int |
RTMP_STREAM_PUBLISH_STATE_CONNECTING
1: The SDK is connecting to the streaming server and the RTMP server.
|
static int |
RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
5: The SDK is disconnecting to Agora's streaming server and the CDN server.
|
static int |
RTMP_STREAM_PUBLISH_STATE_FAILURE
4: The RTMP streaming fails.
|
static int |
RTMP_STREAM_PUBLISH_STATE_IDLE
0: The RTMP streaming has not started or has ended.
|
static int |
RTMP_STREAM_PUBLISH_STATE_RECOVERING
3: The RTMP streaming is recovering.
|
static int |
RTMP_STREAM_PUBLISH_STATE_RUNNING
2: The RTMP streaming publishes.
|
static int |
RTMP_STREAM_UNPUBLISH_ERROR_OK
100: The streaming has been stopped normally.
|
static int |
RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT
3: advanced feature not support
|
static int |
RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE
1: An error occurs when you add a background image or a watermark image to the RTMP or RTMPS
stream.
|
static int |
RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN
4: Client request too frequently.
|
static int |
RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE
2: The streaming URL is already being used for CDN live streaming.
|
static int |
SCREEN_CAPTURE |
static int |
SCREEN_CAPTURE_CONTENT_HINT_DETAILS
2: Motionless content.
|
static int |
SCREEN_CAPTURE_CONTENT_HINT_MOTION
1: Motion-intensive content.
|
static int |
SCREEN_CAPTURE_CONTENT_HINT_NONE
0: No content hint.
|
static int |
SINGING_BEAUTIFIER
Singing beautifier effect.
|
static int |
SOFTWARE_ENCODER
Software encoder.
|
static int |
STREAM_FALLBACK_OPTION_DISABLED |
static int |
STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW |
static int |
STREAM_LIFE_CYCLE_BIND2CHANNEL
Bound to the channel lifecycle.
|
static int |
STREAM_LIFE_CYCLE_BIND2OWNER
Bound to the owner of the RTMP stream.
|
static int |
STYLE_TRANSFORMATION_POPULAR
An audio effect typical of popular music.
|
static int |
STYLE_TRANSFORMATION_RNB
An audio effect typical of R&B music.
|
static int |
SUB_STATE_IDLE
0: The initial subscribing state after joining the channel.
|
static int |
SUB_STATE_NO_SUBSCRIBED
1: Fails to subscribing to the remote stream.
|
static int |
SUB_STATE_SUBSCRIBED
3: Subscribes to and receives the remote stream successfully.
|
static int |
SUB_STATE_SUBSCRIBING
2: Subscribing.
|
static int |
TCC_DISABLED |
static int |
TCC_ENABLED
Transport CC enabled
|
static int |
TIMBRE_TRANSFORMATION_CLEAR
A clearer voice.
|
static int |
TIMBRE_TRANSFORMATION_DEEP
A deeper voice.
|
static int |
TIMBRE_TRANSFORMATION_FALSETTO
A falsetto voice.
|
static int |
TIMBRE_TRANSFORMATION_FULL
A fuller voice.
|
static int |
TIMBRE_TRANSFORMATION_MELLOW
A mellower voice.
|
static int |
TIMBRE_TRANSFORMATION_RESOUNDING
A more resounding voice.
|
static int |
TIMBRE_TRANSFORMATION_RINGING
A more ringing voice.
|
static int |
TIMBRE_TRANSFORMATION_VIGOROUS
A more vigorous voice.
|
static int |
TRANSPORT_TYPE_NONE_PROXY
0: The automatic mode.
|
static int |
TRANSPORT_TYPE_TCP_PROXY
2: The cloud proxy for the TCP (encryption) protocol, that is, the Force TCP cloud proxy mode.
|
static int |
TRANSPORT_TYPE_UDP_PROXY
1: The cloud proxy for the UDP protocol, that is, the Force UDP cloud proxy mode.
|
static int |
ULTRA_HIGH_QUALITY_VOICE
A ultra high quality voice.
|
static int |
USER_OFFLINE_BECOME_AUDIENCE
2.
|
static int |
USER_OFFLINE_DROPPED
1.
|
static int |
USER_OFFLINE_QUIT
0: The user has quit the call.
|
static int |
USER_PRIORITY_HIGH
High Priority, if you set a user with high priority, then streams of
this user will have high priority than streams of other users with normal default priority.
|
static int |
USER_PRIORITY_NORANL
Default priority.
|
static int |
USER_STATE_ENABLE_LOCAL_VIDEO |
static int |
USER_STATE_ENABLE_VIDEO |
static int |
USER_STATE_MUTE_AUDIO |
static int |
USER_STATE_MUTE_VIDEO |
static int |
VIDEO_CODEC_GENERIC |
static int |
VIDEO_CODEC_GENERIC_H264 |
static int |
VIDEO_CODEC_GENERIC_JPEG |
static int |
VIDEO_CODEC_H264 |
static int |
VIDEO_CODEC_H265 |
static int |
VIDEO_CODEC_VP8
Video codec types VIDEO_CODEC_TYPE
|
static int |
VIDEO_CODEC_VP9 |
static int |
VIDEO_FRAME_TYPE_B_FRAME |
static int |
VIDEO_FRAME_TYPE_BLANK_FRAME
Video Frame Type.
|
static int |
VIDEO_FRAME_TYPE_DELTA_FRAME |
static int |
VIDEO_FRAME_TYPE_KEY_FRAME |
static int |
VIDEO_FRAME_TYPE_UNKNOWN |
static int |
VIDEO_MIRROR_MODE_AUTO
The default mirror mode, that is, the mode set by the SDK.
|
static int |
VIDEO_MIRROR_MODE_DISABLED
Disable the mirror mode
|
static int |
VIDEO_MIRROR_MODE_ENABLED
Enable the mirror mode.
|
static int |
VIDEO_ORIENTATION_0
0: No rotation.
|
static int |
VIDEO_ORIENTATION_180
180: 180 degrees.
|
static int |
VIDEO_ORIENTATION_270
270: 270 degrees.
|
static int |
VIDEO_ORIENTATION_90
90: 90 degrees.
|
static int |
VIDEO_PROFILE_1080P
Deprecated.
|
static int |
VIDEO_PROFILE_1080P_3
Deprecated.
|
static int |
VIDEO_PROFILE_1080P_5
Deprecated.
|
static int |
VIDEO_PROFILE_120P
Deprecated.
|
static int |
VIDEO_PROFILE_120P_3
Deprecated.
|
static int |
VIDEO_PROFILE_1440P
Deprecated.
|
static int |
VIDEO_PROFILE_1440P_2
Deprecated.
|
static int |
VIDEO_PROFILE_180P
Deprecated.
|
static int |
VIDEO_PROFILE_180P_3
Deprecated.
|
static int |
VIDEO_PROFILE_180P_4
Deprecated.
|
static int |
VIDEO_PROFILE_240P
Deprecated.
|
static int |
VIDEO_PROFILE_240P_3
Deprecated.
|
static int |
VIDEO_PROFILE_240P_4
Deprecated.
|
static int |
VIDEO_PROFILE_360P
Deprecated.
|
static int |
VIDEO_PROFILE_360P_10
Deprecated.
|
static int |
VIDEO_PROFILE_360P_11
Deprecated.
|
static int |
VIDEO_PROFILE_360P_3
Deprecated.
|
static int |
VIDEO_PROFILE_360P_4
Deprecated.
|
static int |
VIDEO_PROFILE_360P_6
Deprecated.
|
static int |
VIDEO_PROFILE_360P_7
Deprecated.
|
static int |
VIDEO_PROFILE_360P_8
Deprecated.
|
static int |
VIDEO_PROFILE_360P_9
Deprecated.
|
static int |
VIDEO_PROFILE_480P
Deprecated.
|
static int |
VIDEO_PROFILE_480P_10
Deprecated.
|
static int |
VIDEO_PROFILE_480P_3
Deprecated.
|
static int |
VIDEO_PROFILE_480P_4
Deprecated.
|
static int |
VIDEO_PROFILE_480P_6
Deprecated.
|
static int |
VIDEO_PROFILE_480P_8
Deprecated.
|
static int |
VIDEO_PROFILE_480P_9
Deprecated.
|
static int |
VIDEO_PROFILE_4K
Deprecated.
|
static int |
VIDEO_PROFILE_4K_3
Deprecated.
|
static int |
VIDEO_PROFILE_720P
Deprecated.
|
static int |
VIDEO_PROFILE_720P_3
Deprecated.
|
static int |
VIDEO_PROFILE_720P_5
Deprecated.
|
static int |
VIDEO_PROFILE_720P_6
Deprecated.
|
static int |
VIDEO_PROFILE_DEFAULT
Deprecated.
|
static int |
VIDEO_SOURCE_CAMERA_PRIMARY
Video captured by the camera.
|
static int |
VIDEO_SOURCE_CAMERA_SECONDARY
Video captured by the secondary camera.
|
static int |
VIDEO_SOURCE_CUSTOM
Not define.
|
static int |
VIDEO_SOURCE_MEDIA_PLAYER
Video for media player sharing.
|
static int |
VIDEO_SOURCE_REMOTE
Remote video received from network.
|
static int |
VIDEO_SOURCE_RTC_IMAGE_GIF
Video for png image.
|
static int |
VIDEO_SOURCE_RTC_IMAGE_JPEG
Video for png image.
|
static int |
VIDEO_SOURCE_RTC_IMAGE_PNG
Video for png image.
|
static int |
VIDEO_SOURCE_SCREEN_PRIMARY
Video for screen sharing.
|
static int |
VIDEO_SOURCE_SCREEN_SECONDARY
Video for secondary screen sharing.
|
static int |
VIDEO_SOURCE_TRANSCODED
Video for transcoded.
|
static int |
VIDEO_SOURCE_UNKNOWN |
static int |
VIDEO_STREAM_HIGH
0: The high-stream video, that is, the video stream featuring in high resolution
and high bitrate.
|
static int |
VIDEO_STREAM_LOW
1: The low-stream video, that is, the video stream featuring in low resolution and
low bitrate.
|
static int |
VOICE_BEAUTIFIER_OFF
Turn off voice beautifier effects and use the original voice.
|
static int |
VOICE_CHANGER_BASS
A deep voice.
|
static int |
VOICE_CHANGER_EFFECT_BOY
The voice of a boy.
|
static int |
VOICE_CHANGER_EFFECT_GIRL
The voice of a girl.
|
static int |
VOICE_CHANGER_EFFECT_HULK
The voice of Hulk.
|
static int |
VOICE_CHANGER_EFFECT_OLDMAN
The voice of an old man.
|
static int |
VOICE_CHANGER_EFFECT_PIGKING
The voice of Pig King, a character in Journey to the West who has a voice like a growling bear.
|
static int |
VOICE_CHANGER_EFFECT_SISTER
The voice of a young woman.
|
static int |
VOICE_CHANGER_EFFECT_UNCLE
The voice of a middle-aged man.
|
static int |
VOICE_CHANGER_NEUTRAL
A gender-neutral voice.
|
static int |
VOICE_CHANGER_SOLID
A steady voice.
|
static int |
VOICE_CHANGER_SWEET
A sweet voice.
|
static int |
VOICE_CONVERSION_OFF
Turn off voice conversion effects and use the original voice.
|
static int |
WARN_ADM_GLITCH_STATE
Audio Device Module: The device is in the glitch state.
|
static int |
WARN_ADM_IMPROPER_SETTINGS
Audio Device Module: The settings are improper.
|
static int |
WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
Audio Device Module: The playback audio volume is too low.
|
static int |
WARN_ADM_RECORD_AUDIO_LOWLEVEL
Audio Device Module: The recorded audio volume is too low.
|
static int |
WARN_ADM_RECORD_AUDIO_SILENCE
Audio Device Module: No valid audio data is collected.
|
static int |
WARN_ADM_RECORD_IS_OCCUPIED
Audio Device Module: The recording device is occupied.
|
static int |
WARN_ADM_RUNTIME_PLAYOUT_WARNING
Audio Device Module: A warning in the runtime playback device.
|
static int |
WARN_ADM_RUNTIME_RECORDING_WARNING
Audio Device Module: A warning in the runtime recording device.
|
static int |
WARN_APM_HOWLING
Audio Device Module: Howling is detected.
|
static int |
WARN_AUDIO_MIXING_OPEN_ERROR
Error in opening the audio mixing.
|
static int |
WARN_INIT_VIDEO
Failed to initialize the video function.
|
static int |
WARN_INVALID_VIEW
The specified view is invalid.
|
static int |
WARN_LOOKUP_CHANNEL_REJECTED
The server rejected the request to look up the channel.
|
static int |
WARN_LOOKUP_CHANNEL_TIMEOUT
A timeout when looking up the channel.
|
static int |
WARN_NO_AVAILABLE_CHANNEL
No channel resources are available.
|
static int |
WARN_OPEN_CHANNEL_INVALID_TICKET
The ticket to open the channel is invalid.
|
static int |
WARN_OPEN_CHANNEL_REJECTED
The server rejected the request to open the channel.
|
static int |
WARN_OPEN_CHANNEL_TIMEOUT
A timeout when opening the channel.
|
static int |
WARN_OPEN_CHANNEL_TRY_NEXT_VOS
Try connecting to another server.
|
static int |
WARN_PENDING
The request is pending, usually due to some module not being ready, and the SDK postponed
processing the request.
|
static int |
WARN_SET_CLIENT_ROLE_NOT_AUTHORIZED
The client role is not authorized.
|
static int |
WARN_SET_CLIENT_ROLE_TIMEOUT
A timeout when setting the client role in the broadcast mode.
|
static int |
WARN_SWITCH_LIVE_VIDEO_TIMEOUT
A timeout when switching the live video.
|
static int |
WIFI_BLUETOOTH_COEXIST
8: The local user enables both Wi-Fi and bluetooth, and their signals interfere with each
other.
|
static int |
WIRELESS_SIGNAL_POOR
4: The local user's Wi-Fi or mobile network signal is weak.
|
static int |
WLACC_MESSAGE_REASON_CHANNEL_CONGESTION
1: Channel congestion.
|
static int |
WLACC_MESSAGE_REASON_WEAK_SIGNAL
0: WIFI signal is weak.
|
static int |
WLACC_SUGGEST_ACTION_CHECK_5G
2: The user is advised to check whether the AP supports 5G band and enable 5G band (the aciton
link is attached), or purchases an AP that supports 5G.
|
static int |
WLACC_SUGGEST_ACTION_CLOSE_TO_WIFI
0: Please get close to AP.
|
static int |
WLACC_SUGGEST_ACTION_CONNECT_SSID
1: The user is advised to connect to the prompted SSID.
|
static int |
WLACC_SUGGEST_ACTION_MODIFY_SSID
3: The user is advised to change the SSID of the 2.4G or 5G band (the aciton link is attached).
|
Constructor and Description |
---|
Constants() |
public static final int LASTMILE_PROBE_RESULT_COMPLETE
public static final int LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE
public static final int LASTMILE_PROBE_RESULT_UNAVAILABLE
public static final int QUALITY_UNKNOWN
public static final int QUALITY_EXCELLENT
public static final int QUALITY_GOOD
public static final int QUALITY_POOR
public static final int QUALITY_BAD
public static final int QUALITY_VBAD
public static final int QUALITY_DOWN
public static final int QUALITY_UNSUPPORTED
public static final int QUALITY_DETECTING
public static final int WARN_INVALID_VIEW
public static final int WARN_INIT_VIDEO
public static final int WARN_PENDING
public static final int WARN_NO_AVAILABLE_CHANNEL
public static final int WARN_LOOKUP_CHANNEL_TIMEOUT
public static final int WARN_LOOKUP_CHANNEL_REJECTED
public static final int WARN_OPEN_CHANNEL_TIMEOUT
public static final int WARN_OPEN_CHANNEL_REJECTED
public static final int WARN_SWITCH_LIVE_VIDEO_TIMEOUT
public static final int WARN_SET_CLIENT_ROLE_TIMEOUT
public static final int WARN_SET_CLIENT_ROLE_NOT_AUTHORIZED
public static final int WARN_OPEN_CHANNEL_INVALID_TICKET
public static final int WARN_OPEN_CHANNEL_TRY_NEXT_VOS
public static final int WARN_AUDIO_MIXING_OPEN_ERROR
public static final int WARN_ADM_RUNTIME_PLAYOUT_WARNING
public static final int WARN_ADM_RUNTIME_RECORDING_WARNING
public static final int WARN_ADM_RECORD_AUDIO_SILENCE
public static final int WARN_ADM_RECORD_AUDIO_LOWLEVEL
public static final int WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
public static final int WARN_ADM_RECORD_IS_OCCUPIED
public static final int WARN_APM_HOWLING
public static final int WARN_ADM_GLITCH_STATE
public static final int WARN_ADM_IMPROPER_SETTINGS
public static final int ERR_OK
public static final int ERR_FAILED
public static final int ERR_INVALID_ARGUMENT
public static final int ERR_NOT_READY
public static final int ERR_NOT_SUPPORTED
public static final int ERR_REFUSED
public static final int ERR_BUFFER_TOO_SMALL
public static final int ERR_NOT_INITIALIZED
public static final int ERR_INVALID_STATE
public static final int ERR_NO_PERMISSION
public static final int ERR_TIMEDOUT
public static final int ERR_CANCELED
public static final int ERR_TOO_OFTEN
public static final int ERR_BIND_SOCKET
public static final int ERR_NET_DOWN
public static final int ERR_JOIN_CHANNEL_REJECTED
joinChannel()
.public static final int ERR_LEAVE_CHANNEL_REJECTED
leaveChannel()
.public static final int ERR_ALREADY_IN_USE
public static final int ERR_ABORTED
public static final int ERR_INIT_NET_ENGINE
public static final int ERR_RESOURCE_LIMITED
public static final int ERR_INVALID_APP_ID
public static final int ERR_INVALID_CHANNEL_NAME
public static final int ERR_NO_SERVER_RESOURCES
public static final int ERR_TOKEN_EXPIRED
The Token expired due to one of the following reasons:
public static final int ERR_INVALID_TOKEN
public static final int ERR_CONNECTION_INTERRUPTED
public static final int ERR_CONNECTION_LOST
public static final int ERR_NOT_IN_CHANNEL
public static final int ERR_SIZE_TOO_LARGE
public static final int ERR_BITRATE_LIMIT
public static final int ERR_TOO_MANY_DATA_STREAMS
public static final int ERR_STREAM_MESSAGE_TIMEOUT
public static final int ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
public static final int ERR_DECRYPTION_FAILED
public static final int ERR_INVALID_USER_ID
public static final int ERR_CLIENT_IS_BANNED_BY_SERVER
public static final int ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
addPublishStreamUrl
method (CDN
live streaming does not support encrypted streams).public static final int ERR_LICENSE_CREDENTIAL_INVALID
public static final int ERR_INVALID_USER_ACCOUNT
public static final int ERR_MODULE_NOT_FOUND
public static final int ERR_LOAD_MEDIA_ENGINE
public static final int ERR_ADM_GENERAL_ERROR
public static final int ERR_ADM_INIT_PLAYOUT
public static final int ERR_ADM_START_PLAYOUT
public static final int ERR_ADM_STOP_PLAYOUT
public static final int ERR_ADM_INIT_RECORDING
public static final int ERR_ADM_START_RECORDING
public static final int ERR_ADM_STOP_RECORDING
public static final int ERR_AUDIO_BT_SCO_FAILED
public static final int ERR_VDM_CAMERA_NOT_AUTHORIZED
@Deprecated public static final int VIDEO_PROFILE_120P
@Deprecated public static final int VIDEO_PROFILE_120P_3
@Deprecated public static final int VIDEO_PROFILE_180P
@Deprecated public static final int VIDEO_PROFILE_180P_3
@Deprecated public static final int VIDEO_PROFILE_180P_4
@Deprecated public static final int VIDEO_PROFILE_240P
@Deprecated public static final int VIDEO_PROFILE_240P_3
@Deprecated public static final int VIDEO_PROFILE_240P_4
@Deprecated public static final int VIDEO_PROFILE_360P
@Deprecated public static final int VIDEO_PROFILE_360P_3
@Deprecated public static final int VIDEO_PROFILE_360P_4
@Deprecated public static final int VIDEO_PROFILE_360P_6
@Deprecated public static final int VIDEO_PROFILE_360P_7
@Deprecated public static final int VIDEO_PROFILE_360P_8
@Deprecated public static final int VIDEO_PROFILE_360P_9
@Deprecated public static final int VIDEO_PROFILE_360P_10
@Deprecated public static final int VIDEO_PROFILE_360P_11
@Deprecated public static final int VIDEO_PROFILE_480P
@Deprecated public static final int VIDEO_PROFILE_480P_3
@Deprecated public static final int VIDEO_PROFILE_480P_4
@Deprecated public static final int VIDEO_PROFILE_480P_6
@Deprecated public static final int VIDEO_PROFILE_480P_8
@Deprecated public static final int VIDEO_PROFILE_480P_9
@Deprecated public static final int VIDEO_PROFILE_480P_10
@Deprecated public static final int VIDEO_PROFILE_720P
@Deprecated public static final int VIDEO_PROFILE_720P_3
@Deprecated public static final int VIDEO_PROFILE_720P_5
@Deprecated public static final int VIDEO_PROFILE_720P_6
@Deprecated public static final int VIDEO_PROFILE_1080P
@Deprecated public static final int VIDEO_PROFILE_1080P_3
@Deprecated public static final int VIDEO_PROFILE_1080P_5
@Deprecated public static final int VIDEO_PROFILE_1440P
@Deprecated public static final int VIDEO_PROFILE_1440P_2
@Deprecated public static final int VIDEO_PROFILE_4K
@Deprecated public static final int VIDEO_PROFILE_4K_3
3840 x 2160 @ 60 fps, 13500 kbit/s
@Deprecated public static final int VIDEO_PROFILE_DEFAULT
Default video profile: 640 x 360 @ 15 fps, 400 kbit/s
public static final int AUDIO_PROFILE_DEFAULT
public static final int AUDIO_PROFILE_SPEECH_STANDARD
public static final int AUDIO_PROFILE_MUSIC_STANDARD
public static final int AUDIO_PROFILE_MUSIC_STANDARD_STEREO
public static final int AUDIO_PROFILE_MUSIC_HIGH_QUALITY
public static final int AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO
public static final int AUDIO_SCENARIO_DEFAULT
public static final int AUDIO_SCENARIO_GAME_STREAMING
public static final int AUDIO_SCENARIO_CHATROOM
public static final int AUDIO_SCENARIO_CHORUS
public static final int AUDIO_SCENARIO_MEETING
public static final int VOICE_BEAUTIFIER_OFF
public static final int AUDIO_EFFECT_OFF
public static final int CHAT_BEAUTIFIER_MAGNETIC
public static final int CHAT_BEAUTIFIER_FRESH
public static final int CHAT_BEAUTIFIER_VITALITY
public static final int SINGING_BEAUTIFIER
setVoiceBeautifierPreset(SINGING_BEAUTIFIER)
, you can beautify a male-sounding voice and add a
reverberation effect that sounds like singing in a small room. Agora recommends not using
`setVoiceBeautifierPreset(SINGING_BEAUTIFIER)` to process a female-sounding voice; otherwise,
you may experience vocal distortion.
- If you call setVoiceBeautifierParameters(SINGING_BEAUTIFIER, param1, param2)
, you can beautify a male- or
female-sounding voice and add a reverberation effect.public static final int TIMBRE_TRANSFORMATION_VIGOROUS
public static final int TIMBRE_TRANSFORMATION_DEEP
public static final int TIMBRE_TRANSFORMATION_MELLOW
public static final int TIMBRE_TRANSFORMATION_FALSETTO
public static final int TIMBRE_TRANSFORMATION_FULL
public static final int TIMBRE_TRANSFORMATION_CLEAR
public static final int TIMBRE_TRANSFORMATION_RESOUNDING
public static final int TIMBRE_TRANSFORMATION_RINGING
public static final int ULTRA_HIGH_QUALITY_VOICE
public static final int ROOM_ACOUSTICS_KTV
public static final int ROOM_ACOUSTICS_VOCAL_CONCERT
public static final int ROOM_ACOUSTICS_STUDIO
public static final int ROOM_ACOUSTICS_PHONOGRAPH
public static final int ROOM_ACOUSTICS_VIRTUAL_STEREO
public static final int ROOM_ACOUSTICS_SPACIAL
public static final int ROOM_ACOUSTICS_ETHEREAL
public static final int ROOM_ACOUSTICS_3D_VOICE
setAudioEffectParameters
after this method.public static final int ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND
public static final int VOICE_CHANGER_EFFECT_UNCLE
public static final int VOICE_CHANGER_EFFECT_OLDMAN
public static final int VOICE_CHANGER_EFFECT_BOY
public static final int VOICE_CHANGER_EFFECT_SISTER
public static final int VOICE_CHANGER_EFFECT_GIRL
public static final int VOICE_CHANGER_EFFECT_PIGKING
public static final int VOICE_CHANGER_EFFECT_HULK
public static final int STYLE_TRANSFORMATION_RNB
public static final int STYLE_TRANSFORMATION_POPULAR
public static final int PITCH_CORRECTION
setAudioEffectParameters
after this method.public static final int VOICE_CONVERSION_OFF
public static final int VOICE_CHANGER_NEUTRAL
public static final int VOICE_CHANGER_SWEET
public static final int VOICE_CHANGER_SOLID
public static final int VOICE_CHANGER_BASS
public static final int HEADPHONE_EQUALIZER_OFF
public static final int HEADPHONE_EQUALIZER_OVEREAR
public static final int HEADPHONE_EQUALIZER_INEAR
public static final int CHANNEL_PROFILE_COMMUNICATION
public static final int CHANNEL_PROFILE_LIVE_BROADCASTING
public static final int CHANNEL_PROFILE_GAME
public static final int CHANNEL_PROFILE_CLOUD_GAMING
public static final int CHANNEL_PROFILE_COMMUNICATION_1v1
public static final int CLIENT_ROLE_BROADCASTER
public static final int CLIENT_ROLE_AUDIENCE
public static final int AUDIENCE_LATENCY_LEVEL_LOW_LATENCY
public static final int AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY
public static final int USER_OFFLINE_QUIT
public static final int USER_OFFLINE_DROPPED
public static final int USER_OFFLINE_BECOME_AUDIENCE
public static final int CAPTURE_BRIGHTNESS_LEVEL_INVALID
public static final int CAPTURE_BRIGHTNESS_LEVEL_NORMAL
public static final int CAPTURE_BRIGHTNESS_LEVEL_BRIGHT
public static final int CAPTURE_BRIGHTNESS_LEVEL_DARK
public static final int INJECT_STREAM_STATUS_START_SUCCESS
public static final int INJECT_STREAM_STATUS_START_ALREADY_EXISTS
public static final int INJECT_STREAM_STATUS_START_UNAUTHORIZED
public static final int INJECT_STREAM_STATUS_START_TIMEDOUT
public static final int INJECT_STREAM_STATUS_START_FAILED
public static final int INJECT_STREAM_STATUS_STOP_SUCCESS
public static final int INJECT_STREAM_STATUS_STOP_NOT_FOUND
public static final int INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
public static final int INJECT_STREAM_STATUS_STOP_TIMEDOUT
public static final int INJECT_STREAM_STATUS_STOP_FAILED
public static final int INJECT_STREAM_STATUS_BROKEN
public static final int QUALITY_REPORT_FORMAT_JSON
public static final int QUALITY_REPORT_FORMAT_HTML
public static final int RENDER_MODE_HIDDEN
public static final int RENDER_MODE_FIT
public static final int RENDER_MODE_ADAPTIVE
public static final int VIDEO_MIRROR_MODE_AUTO
public static final int VIDEO_MIRROR_MODE_ENABLED
public static final int VIDEO_MIRROR_MODE_DISABLED
public static final int SCREEN_CAPTURE_CONTENT_HINT_NONE
public static final int SCREEN_CAPTURE_CONTENT_HINT_MOTION
public static final int SCREEN_CAPTURE_CONTENT_HINT_DETAILS
public static final int VIDEO_SOURCE_CAMERA_PRIMARY
public static final int VIDEO_SOURCE_CAMERA_SECONDARY
public static final int VIDEO_SOURCE_SCREEN_PRIMARY
public static final int VIDEO_SOURCE_SCREEN_SECONDARY
public static final int VIDEO_SOURCE_CUSTOM
public static final int VIDEO_SOURCE_MEDIA_PLAYER
public static final int VIDEO_SOURCE_RTC_IMAGE_PNG
public static final int VIDEO_SOURCE_RTC_IMAGE_JPEG
public static final int VIDEO_SOURCE_RTC_IMAGE_GIF
public static final int VIDEO_SOURCE_REMOTE
public static final int VIDEO_SOURCE_TRANSCODED
public static final int VIDEO_SOURCE_UNKNOWN
public static final int LOG_FILTER_OFF
public static final int LOG_FILTER_DEBUG
public static final int LOG_FILTER_INFO
public static final int LOG_FILTER_WARNING
public static final int LOG_FILTER_ERROR
public static final int LOG_FILTER_CRITICAL
public static final int AUDIO_ROUTE_DEFAULT
public static final int AUDIO_ROUTE_HEADSET
public static final int AUDIO_ROUTE_EARPIECE
public static final int AUDIO_ROUTE_HEADSETNOMIC
public static final int AUDIO_ROUTE_SPEAKERPHONE
public static final int AUDIO_ROUTE_LOUDSPEAKER
public static final int AUDIO_ROUTE_HEADSETBLUETOOTH
public static final int VIDEO_STREAM_HIGH
public static final int VIDEO_STREAM_LOW
public static final int USER_PRIORITY_HIGH
public static final int USER_PRIORITY_NORANL
public static final int HARDWARE_ENCODER
public static final int SOFTWARE_ENCODER
public static final int RAW_AUDIO_FRAME_OP_MODE_READ_ONLY
public static final int RAW_AUDIO_FRAME_OP_MODE_READ_WRITE
public static final int POSITION_PLAYBACK
onPlaybackFrame
callback.public static final int POSITION_RECORD
onRecordFrame
callback.public static final int POSITION_MIXED
onMixedFrame
callback.public static final int POSITION_BEFORE_MIXING
onPlaybackFrameBeforeMixing
or onPlaybackFrameBeforeMixingEx
callback.public static final int POSITION_EAR_MONITORING
onEarMonitoringAudioFrame
callback.public static final int MEDIA_ENGINE_RECORDING_ERROR
public static final int MEDIA_ENGINE_PLAYOUT_ERROR
public static final int MEDIA_ENGINE_RECORDING_WARNING
public static final int MEDIA_ENGINE_PLAYOUT_WARNING
public static final int MEDIA_ENGINE_AUDIO_FILE_MIX_FINISH
public static final int MEDIA_ENGINE_ROLE_BROADCASTER_SOLO
public static final int MEDIA_ENGINE_ROLE_BROADCASTER_INTERACTIVE
public static final int MEDIA_ENGINE_ROLE_AUDIENCE
public static final int MEDIA_ENGINE_ROLE_COMM_PEER
public static final int NETWORK_TYPE_UNKNOWN
public static final int NETWORK_TYPE_DISCONNECTED
public static final int NETWORK_TYPE_LAN
public static final int NETWORK_TYPE_WIFI
public static final int NETWORK_TYPE_MOBILE_2G
public static final int NETWORK_TYPE_MOBILE_3G
public static final int NETWORK_TYPE_MOBILE_4G
public static final int NETWORK_TYPE_MOBILE_5G
public static final int STREAM_LIFE_CYCLE_BIND2CHANNEL
public static final int STREAM_LIFE_CYCLE_BIND2OWNER
public static final int AUDIO_FILE_RECORDING_MIC
public static final int AUDIO_FILE_RECORDING_PLAYBACK
public static final int AUDIO_FILE_RECORDING_MIXED
public static final int AUDIO_RECORDING_QUALITY_LOW
public static final int AUDIO_RECORDING_QUALITY_MEDIUM
public static final int AUDIO_RECORDING_QUALITY_HIGH
public static final int AUDIO_RECORDING_QUALITY_ULTRA_HIGH
public static final int AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIC
public static final int AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK
public static final int AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED
public static final int AUDIO_ENCODING_TYPE_AAC_16000_LOW
public static final int AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM
public static final int AUDIO_ENCODING_TYPE_AAC_32000_LOW
public static final int AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM
public static final int AUDIO_ENCODING_TYPE_AAC_32000_HIGH
public static final int AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM
public static final int AUDIO_ENCODING_TYPE_AAC_48000_HIGH
public static final int AUDIO_ENCODING_TYPE_OPUS_16000_LOW
public static final int AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM
public static final int AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM
public static final int AUDIO_ENCODING_TYPE_OPUS_48000_HIGH
public static final int MEDIA_TYPE_NONE
public static final int MEDIA_TYPE_AUDIO_ONLY
public static final int MEDIA_TYPE_VIDEO_ONLY
public static final int MEDIA_TYPE_AUDIO_AND_VIDEO
public static final int STREAM_FALLBACK_OPTION_DISABLED
public static final int STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
public static final int LOCAL_VIDEO_STREAM_STATE_STOPPED
public static final int LOCAL_VIDEO_STREAM_STATE_CAPTURING
public static final int LOCAL_VIDEO_STREAM_STATE_ENCODING
public static final int LOCAL_VIDEO_STREAM_STATE_FAILED
public static final int LOCAL_VIDEO_STREAM_ERROR_OK
public static final int LOCAL_VIDEO_STREAM_ERROR_FAILURE
public static final int LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION
public static final int LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY
public static final int LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE
public static final int LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE
public static final int LOCAL_VIDEO_STREAM_ERROR_DEVICE_NOT_FOUND
public static final int LOCAL_AUDIO_STREAM_STATE_STOPPED
public static final int LOCAL_AUDIO_STREAM_STATE_RECORDING
public static final int LOCAL_AUDIO_STREAM_STATE_ENCODING
public static final int LOCAL_AUDIO_STREAM_STATE_FAILED
public static final int LOCAL_AUDIO_STREAM_ERROR_OK
public static final int LOCAL_AUDIO_STREAM_ERROR_FAILURE
public static final int LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION
public static final int LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY
public static final int LOCAL_AUDIO_STREAM_ERROR_CAPTURE_FAILURE
public static final int LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE
public static final int REMOTE_AUDIO_STATE_STOPPED
public static final int REMOTE_AUDIO_STATE_STARTING
public static final int REMOTE_AUDIO_STATE_DECODING
public static final int REMOTE_AUDIO_STATE_FROZEN
public static final int REMOTE_AUDIO_STATE_FAILED
public static final int REMOTE_AUDIO_REASON_INTERNAL
public static final int REMOTE_AUDIO_REASON_NETWORK_CONGESTION
public static final int REMOTE_AUDIO_REASON_NETWORK_RECOVERY
public static final int REMOTE_AUDIO_REASON_LOCAL_MUTED
public static final int REMOTE_AUDIO_REASON_LOCAL_UNMUTED
public static final int REMOTE_AUDIO_REASON_REMOTE_MUTED
public static final int REMOTE_AUDIO_REASON_REMOTE_UNMUTED
public static final int REMOTE_AUDIO_REASON_REMOTE_OFFLINE
public static final int REMOTE_VIDEO_STATE_STOPPED
public static final int REMOTE_VIDEO_STATE_STARTING
public static final int REMOTE_VIDEO_STATE_PLAYING
public static final int REMOTE_VIDEO_STATE_FROZEN
public static final int REMOTE_VIDEO_STATE_FAILED
public static final int REMOTE_VIDEO_STATE_REASON_INTERNAL
public static final int REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
public static final int REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
public static final int REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
public static final int REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
public static final int REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
public static final int REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
public static final int REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
public static final int REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
public static final int REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
public static final int REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
public static final int AUDIO_MIXING_STATE_PLAYING
public static final int AUDIO_MIXING_STATE_PAUSED
public static final int AUDIO_MIXING_STATE_STOPPED
public static final int AUDIO_MIXING_STATE_FAILED
public static final int AUDIO_MIXING_REASON_CAN_NOT_OPEN
public static final int AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
public static final int AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
public static final int AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
public static final int AUDIO_MIXING_REASON_STOPPED_BY_USER
public static final int AUDIO_MIXING_REASON_INTERRUPTED_EOF
public static final int AUDIO_MIXING_REASON_OK
public static final int VIDEO_CODEC_VP8
public static final int VIDEO_CODEC_H264
public static final int VIDEO_CODEC_H265
public static final int VIDEO_CODEC_VP9
public static final int VIDEO_CODEC_GENERIC
public static final int VIDEO_CODEC_GENERIC_H264
public static final int VIDEO_CODEC_GENERIC_JPEG
public static final int TCC_ENABLED
public static final int TCC_DISABLED
public static final int AUDIO_CODEC_OPUS
public static final int AUDIO_CODEC_AACLC
public static final int AUDIO_CODEC_HEAAC
public static final int AUDIO_CODEC_HEAAC2
public static final int PACKETIZE_MODE_H264_NON_INTERLEAVED
public static final int PACKETIZE_MODE_H264_SINGLE_NAL_UNIT
public static final int VIDEO_FRAME_TYPE_BLANK_FRAME
public static final int VIDEO_FRAME_TYPE_KEY_FRAME
public static final int VIDEO_FRAME_TYPE_DELTA_FRAME
public static final int VIDEO_FRAME_TYPE_B_FRAME
public static final int VIDEO_FRAME_TYPE_UNKNOWN
public static final int VIDEO_ORIENTATION_0
public static final int VIDEO_ORIENTATION_90
public static final int VIDEO_ORIENTATION_180
public static final int VIDEO_ORIENTATION_270
public static final int RHYTHM_PLAYER_STATE_IDLE
public static final int RHYTHM_PLAYER_STATE_OPENING
public static final int RHYTHM_PLAYER_STATE_DECODING
public static final int RHYTHM_PLAYER_STATE_PLAYING
public static final int RHYTHM_PLAYER_STATE_FAILED
public static final int LICENSE_ERR_INVALID
public static final int LICENSE_ERR_EXPIRE
public static final int LICENSE_ERR_MINUTES_EXCEED
public static final int LICENSE_ERR_LIMITED_PERIOD
public static final int LICENSE_ERR_DIFF_DEVICES
public static final int LICENSE_ERR_INTERNAL
public static final int RHYTHM_PLAYER_ERROR_OK
public static final int RHYTHM_PLAYER_ERROR_FAILED
public static final int RHYTHM_PLAYER_ERROR_CAN_NOT_OPEN
public static final int RHYTHM_PLAYER_ERROR_CAN_NOT_PLAY
public static final int RHYTHM_PLAYER_ERROR_FILE_OVER_DURATION_LIMIT
public static final int PUB_STATE_IDLE
public static final int PUB_STATE_NO_PUBLISHED
public static final int PUB_STATE_PUBLISHING
public static final int PUB_STATE_PUBLISHED
public static final int SUB_STATE_IDLE
public static final int SUB_STATE_NO_SUBSCRIBED
public static final int SUB_STATE_SUBSCRIBING
public static final int SUB_STATE_SUBSCRIBED
public static final int RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE
public static final int RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE
public static final int RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT
public static final int RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN
public static final int RTMP_STREAM_PUBLISH_STATE_IDLE
public static final int RTMP_STREAM_PUBLISH_STATE_CONNECTING
public static final int RTMP_STREAM_PUBLISH_STATE_RUNNING
public static final int RTMP_STREAM_PUBLISH_STATE_RECOVERING
public static final int RTMP_STREAM_PUBLISH_STATE_FAILURE
public static final int RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
public static final int RTMP_STREAM_PUBLISH_ERROR_OK
public static final int RTMP_STREAM_PUBLISH_ERROR_INVALID_ARGUMENT
public static final int RTMP_STREAM_PUBLISH_ERROR_ENCRYPTED_STREAM_NOT_ALLOWED
public static final int RTMP_STREAM_PUBLISH_ERROR_CONNECTION_TIMEOUT
public static final int RTMP_STREAM_PUBLISH_ERROR_INTERNAL_SERVER_ERROR
public static final int RTMP_STREAM_PUBLISH_ERROR_RTMP_SERVER_ERROR
public static final int RTMP_STREAM_PUBLISH_ERROR_TOO_OFTEN
public static final int RTMP_STREAM_PUBLISH_ERROR_REACH_LIMIT
public static final int RTMP_STREAM_PUBLISH_ERROR_NOT_AUTHORIZED
public static final int RTMP_STREAM_PUBLISH_ERROR_STREAM_NOT_FOUND
public static final int RTMP_STREAM_PUBLISH_ERROR_FORMAT_NOT_SUPPORTED
public static final int RTMP_STREAM_PUBLISH_ERROR_NOT_BROADCASTER
public static final int RTMP_STREAM_PUBLISH_ERROR_TRANSCODING_NO_MIX_STREAM
public static final int RTMP_STREAM_PUBLISH_ERROR_NET_DOWN
public static final int RTMP_STREAM_PUBLISH_ERROR_INVALID_APPID
public static final int RTMP_STREAM_PUBLISH_ERROR_INVALID_PRIVILEGE
public static final int RTMP_STREAM_UNPUBLISH_ERROR_OK
public static final int ENCRYPTION_ERROR_INTERNAL_FAILURE
public static final int ENCRYPTION_ERROR_DECRYPTION_FAILURE
public static final int ENCRYPTION_ERROR_ENCRYPTION_FAILURE
public static final int USER_STATE_MUTE_AUDIO
public static final int USER_STATE_MUTE_VIDEO
public static final int USER_STATE_ENABLE_VIDEO
public static final int USER_STATE_ENABLE_LOCAL_VIDEO
public static final int RECORD_AUDIO
public static final int CAMERA
public static final int SCREEN_CAPTURE
public static final int DEFAULT_CONNECTION_ID
public static final int CONNECTION_STATE_DISCONNECTED
leaveChannel
method.public static final int CONNECTION_STATE_CONNECTING
onConnectionStateChanged
callback, and switches to the CONNECTION_STATE_CONNECTING
state. onConnectionStateChanged
callback and switches
to the CONNECTION_STATE_CONNECTED
state. onJoinChannelSuccess
callback.
public static final int CONNECTION_STATE_CONNECTED
onConnectionInterrupted
(deprecated) callback. onConnectionStateChanged
callback, and switches to the CONNECTION_STATE_RECONNECTING
state.
public static final int CONNECTION_STATE_RECONNECTING
onConnectionLost
(deprecated) callback, stays in the
CONNECTION_STATE_RECONNECTING
state, and keeps
rejoining the channel.
onConnectionStateChanged
callback, switches to
the CONNECTION_STATE_FAILED
state, and stops
rejoining the channel.
public static final int CONNECTION_STATE_FAILED
leaveChannel
method to leave this state and
call the `joinChannel` method again to rejoin the channel. If the SDK is banned from joining
the channel by the Agora server (through the RESTful API), the SDK triggers the onConnectionBanned
and onConnectionStateChanged
callbacks.public static final int CONNECTION_CHANGED_CONNECTING
public static final int CONNECTION_CHANGED_JOIN_SUCCESS
public static final int CONNECTION_CHANGED_INTERRUPTED
public static final int CONNECTION_CHANGED_BANNED_BY_SERVER
public static final int CONNECTION_CHANGED_JOIN_FAILED
public static final int CONNECTION_CHANGED_LEAVE_CHANNEL
public static final int CONNECTION_CHANGED_INVALID_APP_ID
public static final int CONNECTION_CHANGED_INVALID_CHANNEL_NAME
public static final int CONNECTION_CHANGED_INVALID_TOKEN
public static final int CONNECTION_CHANGED_TOKEN_EXPIRED
public static final int CONNECTION_CHANGED_REJECTED_BY_SERVER
public static final int CONNECTION_CHANGED_SETTING_PROXY_SERVER
public static final int CONNECTION_CHANGED_RENEW_TOKEN
public static final int CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED
public static final int CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT
CONNECTION_STATE_RECONNECTING
(4).public static final int CONNECTION_CHANGED_REJOIN_SUCCESS
public static final int CONNECTION_CHANGED_LOST
public static final int CONNECTION_CHANGED_ECHO_TEST
public static final int CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER
public static final int CONNECTION_CHANGED_SAME_UID_LOGIN
public static final int CONNECTION_CHANGED_TOO_MANY_BROADCASTERS
public static final int WLACC_MESSAGE_REASON_WEAK_SIGNAL
public static final int WLACC_MESSAGE_REASON_CHANNEL_CONGESTION
public static final int WLACC_SUGGEST_ACTION_CLOSE_TO_WIFI
public static final int WLACC_SUGGEST_ACTION_CONNECT_SSID
public static final int WLACC_SUGGEST_ACTION_CHECK_5G
public static final int WLACC_SUGGEST_ACTION_MODIFY_SSID
public static final int RELAY_OK
public static final int RELAY_ERROR_SERVER_ERROR_RESPONSE
public static final int RELAY_ERROR_SERVER_NO_RESPONSE
public static final int RELAY_ERROR_NO_RESOURCE_AVAILABLE
public static final int RELAY_ERROR_FAILED_JOIN_SRC
public static final int RELAY_ERROR_FAILED_JOIN_DEST
public static final int RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC
public static final int RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST
public static final int RELAY_ERROR_SERVER_CONNECTION_LOST
public static final int RELAY_ERROR_INTERNAL_ERROR
public static final int RELAY_ERROR_SRC_TOKEN_EXPIRED
public static final int RELAY_ERROR_DEST_TOKEN_EXPIRED
public static final int RELAY_EVENT_NETWORK_DISCONNECTED
public static final int RELAY_EVENT_NETWORK_CONNECTED
public static final int RELAY_EVENT_PACKET_JOINED_SRC_CHANNEL
public static final int RELAY_EVENT_PACKET_JOINED_DEST_CHANNEL
public static final int RELAY_EVENT_PACKET_SENT_TO_DEST_CHANNEL
public static final int RELAY_EVENT_PACKET_RECEIVED_VIDEO_FROM_SRC
public static final int RELAY_EVENT_PACKET_RECEIVED_AUDIO_FROM_SRC
public static final int RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL
public static final int RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_REFUSED
public static final int RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_NOT_CHANGE
public static final int RELAY_EVENT_PACKET_UPDATE_DEST_CHANNEL_IS_NULL
public static final int RELAY_EVENT_VIDEO_PROFILE_UPDATE
public static final int RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS
public static final int RELAY_EVENT_PAUSE_SEND_PACKET_TO_DEST_CHANNEL_FAILED
public static final int RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_SUCCESS
public static final int RELAY_EVENT_RESUME_SEND_PACKET_TO_DEST_CHANNEL_FAILED
public static final int RELAY_STATE_IDLE
public static final int RELAY_STATE_CONNECTING
public static final int RELAY_STATE_RUNNING
public static final int RELAY_STATE_FAILURE
public static final int MAX_CROSS_DEST_CHANNEL_SIZE
public static final int EAR_MONITORING_FILTER_NONE
public static final int EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS
public static final int EAR_MONITORING_FILTER_NOISE_SUPPRESSION
public static final int LOCAL_RPOXY_CONNECTIVITY_FIRST
public static final int LOCAL_RPOXY_LOCAL_ONLY
public static final int EXPERIENCE_QUALITY_GOOD
public static final int EXPERIENCE_QUALITY_BAD
public static final int EXPERIENCE_REASON_NONE
public static final int REMOTE_NETWORK_QUALITY_POOR
public static final int LOCAL_NETWORK_QUALITY_POOR
public static final int WIRELESS_SIGNAL_POOR
public static final int WIFI_BLUETOOTH_COEXIST
public static final int TRANSPORT_TYPE_NONE_PROXY
public static final int TRANSPORT_TYPE_UDP_PROXY
public static final int TRANSPORT_TYPE_TCP_PROXY
public static final int PROXY_TYPE_NONE_PROXY
public static final int PROXY_TYPE_UDP_CLOUD_PROXY
public static final int PROXY_TYPE_TCP_CLOUD_PROXY
public static final int PROXY_TYPE_LOCAL_PROXY
public static final int PROXY_TYPE_TCP_AUTO_FALLBACK
public static final int ERR_SCREEN_CAPTURE_PERMISSION_DENIED
public static final int ERR_SCREEN_CAPTURE_SYSTEM_NOT_SUPPORTED
startScreenCapture
on systems earlier than Android 5.public static final int ERR_SCREEN_CAPTURE_SYSTEM_AUDIO_NOT_SUPPORTED
startScreenCapture
and set `captureAudio` as `true` on systems
later than Android 5 (API level 21) and earlier than Android 10 (API level 29).public static final int CONTENT_INSPECT_NEUTRAL
public static final int CONTENT_INSPECT_SEXY
public static final int CONTENT_INSPECT_PORN