17#include "IAgoraParameter.h"
18#include "AgoraMediaBase.h"
19#include "AgoraRefPtr.h"
20#include "AgoraOptional.h"
22#define MAX_PATH_260 (260)
26#ifndef WIN32_LEAN_AND_MEAN
27#define WIN32_LEAN_AND_MEAN
29#if defined(__aarch64__)
34#if defined(AGORARTC_EXPORT)
35#define AGORA_API extern "C" __declspec(dllexport)
36#define AGORA_CPP_API __declspec(dllexport)
38#define AGORA_API extern "C" __declspec(dllimport)
39#define AGORA_CPP_API __declspec(dllimport)
42#define AGORA_CALL __cdecl
46#define AGORA_CPP_INTERNAL_API extern
48#elif defined(__APPLE__)
50#include <TargetConditionals.h>
52#define AGORA_API extern "C" __attribute__((visibility("default")))
53#define AGORA_CPP_API __attribute__((visibility("default")))
56#define AGORA_CPP_INTERNAL_API __attribute__((visibility("hidden")))
58#elif defined(__ANDROID__) || defined(__linux__)
60#define AGORA_API extern "C" __attribute__((visibility("default")))
61#define AGORA_CPP_API __attribute__((visibility("default")))
66#define AGORA_CPP_INTERNAL_API __attribute__((visibility("hidden")))
70#define AGORA_API extern "C"
78#ifndef OPTIONAL_ENUM_SIZE_T
79#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
80#define OPTIONAL_ENUM_SIZE_T enum : size_t
82#define OPTIONAL_ENUM_SIZE_T enum
86#ifndef OPTIONAL_NULLPTR
87#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
88#define OPTIONAL_NULLPTR nullptr
90#define OPTIONAL_NULLPTR NULL
94#define INVALID_DISPLAY_ID (-2)
111 ptr_ = OPTIONAL_NULLPTR;
115 operator bool()
const {
return (ptr_ != OPTIONAL_NULLPTR); }
130 if (ptr != ptr_ && ptr_) {
137 template <
class C1,
class C2>
140 if (c && !c->queryInterface(iid,
reinterpret_cast<void**
>(&p))) {
144 return (p != OPTIONAL_NULLPTR);
167 if (!this->
get())
return OPTIONAL_NULLPTR;
168 return this->
get()->clone();
176 virtual const char*
data() = 0;
196 virtual size_t size()
const = 0;
222 return p->current() == rhs.p->
current();
229 bool valid()
const {
return p && p->current() != OPTIONAL_NULLPTR; }
248 AList() : container(OPTIONAL_NULLPTR), owner(false) {}
252 if (owner && container) container->release();
254 owner = take_ownership;
712 ERR_RDT_USER_NOT_EXIST = 250,
717 ERR_RDT_USER_NOT_READY = 251,
722 ERR_RDT_DATA_BLOCKED = 252,
727 ERR_RDT_CMD_EXCEED_LIMIT = 253,
732 ERR_RDT_DATA_EXCEED_LIMIT = 254,
737 ERR_RDT_ENCRYPTION = 255,
742 ERR_LOGIN_ALREADY_LOGIN = 428,
1757 if (
this == &rhs)
return *
this;
1891 bool encode_alpha) :
1924#if defined(__APPLE__) && TARGET_OS_IOS
2152 if (
this == &rhs)
return *
this;
3163 kMaxWidthInPixels = 3840,
3165 kMaxHeightInPixels = 2160,
3186 if (
height != fmt.height) {
3187 return height < fmt.height;
3188 }
else if (
width != fmt.width) {
3189 return width < fmt.width;
3191 return fps < fmt.fps;
3195 return width == fmt.width &&
height == fmt.height &&
fps == fmt.fps;
5188 CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT
__deprecated = 3,
5194 CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED
__deprecated = 4,
5439 float redness,
float sharpness)
5790 :
mode(lowlightMode),
level(lowlightLevel) {}
5845 :
mode(denoiserMode),
level(denoiserLevel) {}
5973 source(OPTIONAL_NULLPTR),
6454#if defined(__APPLE__) && !TARGET_OS_IOS
7129 :
userId(OPTIONAL_NULLPTR),
7138 if (rhs.
userId != OPTIONAL_NULLPTR) {
7139 const size_t len = std::strlen(rhs.userId);
7140 char* buf = new char[len + 1];
7141 std::memcpy(buf, rhs.userId, len);
7148 if (
this == &rhs)
return *
this;
7149 userId = OPTIONAL_NULLPTR;
7153 if (rhs.
userId != OPTIONAL_NULLPTR) {
7154 const size_t len = std::strlen(rhs.
userId);
7155 char* buf =
new char[len + 1];
7156 std::memcpy(buf, rhs.
userId, len);
7207 if (
this == &rhs)
return *
this;
7311 const char* getEncryptionString()
const {
7314 return "aes-128-xts";
7316 return "aes-128-ecb";
7318 return "aes-256-xts";
7320 return "sm4-128-ecb";
7322 return "aes-128-gcm";
7324 return "aes-256-gcm";
7326 return "aes-128-gcm-2";
7328 return "aes-256-gcm-2";
7330 return "aes-128-gcm-2";
7332 return "aes-128-gcm-2";
7549 :
view(OPTIONAL_NULLPTR),
7552 token(OPTIONAL_NULLPTR),
7628#if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS) || defined(__OHOS__)
8028 return p != OPTIONAL_NULLPTR;
8172 strUid(OPTIONAL_NULLPTR),
8186AGORA_API
const char* AGORA_CALL getAgoraSdkVersion(
int* build);
8193AGORA_API
const char* AGORA_CALL getAgoraSdkErrorDescription(
int err);
8195AGORA_API
int AGORA_CALL setAgoraSdkExternalSymbolLoader(
void* (*func)(
const char* symname));
8219AGORA_API
int AGORA_CALL getAgoraCertificateVerifyResult(
const char* credential_buf,
8221 const char* certificate_buf,
8222 int certificate_len);
8262AGORA_API int64_t AGORA_CALL getAgoraCurrentMonotonicTimeInMs();
Definition AgoraOptional.h:413
AParameter(IEngineBase &engine)
Definition AgoraBase.h:8020
AParameter(IEngineBase *engine)
Definition AgoraBase.h:8021
AParameter(IAgoraParameter *p)
Definition AgoraBase.h:8022
The interface class of Agora RTC SDK, which provides JSON configuration information of the SDK.
Definition IAgoraParameter.h:151
Definition AgoraBase.h:8012
virtual ~IEngineBase()
Definition AgoraBase.h:8015
virtual int queryInterface(rtc::INTERFACE_ID_TYPE iid, void **inter)=0
Definition AgoraBase.h:8032
virtual void onLicenseRequest()=0
virtual ~LicenseCallback()
Definition AgoraBase.h:8034
virtual void onLicenseValidated()=0
virtual void onCertificateRequired()=0
virtual void onLicenseError(int result)=0
Definition AgoraBase.h:6816
virtual ~IAudioEncodedFrameObserver()
Definition AgoraBase.h:6866
virtual void onRecordAudioEncodedFrame(const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0
Gets the encoded audio data of the local user.
virtual void onMixedAudioEncodedFrame(const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0
Gets the mixed and encoded audio data of the local and all remote users.
virtual void onPlaybackAudioEncodedFrame(const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0
Gets the encoded audio data of all remote users.
Definition AgoraBase.h:4025
virtual bool onReceiveVideoPacket(Packet &packet)=0
Occurs when the local user receives a video packet.
virtual bool onReceiveAudioPacket(Packet &packet)=0
Occurs when the local user receives an audio packet.
virtual ~IPacketObserver()
Definition AgoraBase.h:4027
virtual bool onSendVideoPacket(Packet &packet)=0
Occurs when the local user sends a video packet.
virtual bool onSendAudioPacket(Packet &packet)=0
Occurs when the local user sends an audio packet.
Definition AgoraBase.h:233
iterator begin()
Definition AgoraBase.h:256
AList(IContainer *c, bool take_ownership)
Definition AgoraBase.h:249
~AList()
Definition AgoraBase.h:250
const AOutputIterator< value_type > const_iterator
Definition AgoraBase.h:245
value_type * pointer
Definition AgoraBase.h:241
AOutputIterator< value_type > iterator
Definition AgoraBase.h:244
iterator end()
Definition AgoraBase.h:257
value_type & reference
Definition AgoraBase.h:239
AList()
Definition AgoraBase.h:248
T value_type
Definition AgoraBase.h:238
bool empty() const
Definition AgoraBase.h:259
const value_type * const_pointer
Definition AgoraBase.h:242
size_t size_type
Definition AgoraBase.h:243
void reset(IContainer *c=OPTIONAL_NULLPTR, bool take_ownership=false)
Definition AgoraBase.h:251
size_type size() const
Definition AgoraBase.h:258
const value_type & const_reference
Definition AgoraBase.h:240
Definition AgoraBase.h:202
AOutputIterator & operator++()
Definition AgoraBase.h:216
value_type & reference
Definition AgoraBase.h:207
bool operator!=(const AOutputIterator &rhs) const
Definition AgoraBase.h:226
reference operator*()
Definition AgoraBase.h:227
AOutputIterator(const AOutputIterator &rhs)
Definition AgoraBase.h:215
~AOutputIterator()
Definition AgoraBase.h:212
bool operator==(const AOutputIterator &rhs) const
Definition AgoraBase.h:220
T value_type
Definition AgoraBase.h:206
value_type * pointer
Definition AgoraBase.h:209
const value_type & const_reference
Definition AgoraBase.h:208
const value_type * const_pointer
Definition AgoraBase.h:210
const_reference operator*() const
Definition AgoraBase.h:228
AOutputIterator(IIterator *it=OPTIONAL_NULLPTR)
Definition AgoraBase.h:211
bool valid() const
Definition AgoraBase.h:229
Definition AgoraBase.h:100
value_type & operator*() const
Definition AgoraBase.h:117
void reset(pointer_type ptr=OPTIONAL_NULLPTR)
Definition AgoraBase.h:129
bool queryInterface(C1 *c, C2 iid)
Definition AgoraBase.h:138
pointer_type get() const
Definition AgoraBase.h:121
~AutoPtr()
Definition AgoraBase.h:108
T value_type
Definition AgoraBase.h:102
pointer_type release()
Definition AgoraBase.h:123
pointer_type operator->() const
Definition AgoraBase.h:119
AutoPtr(pointer_type p=OPTIONAL_NULLPTR)
Definition AgoraBase.h:106
T * pointer_type
Definition AgoraBase.h:103
Definition AgoraBase.h:156
CopyableAutoPtr(const CopyableAutoPtr &rhs)
Definition AgoraBase.h:161
pointer_type clone() const
Definition AgoraBase.h:166
CopyableAutoPtr & operator=(const CopyableAutoPtr &rhs)
Definition AgoraBase.h:162
CopyableAutoPtr(pointer_type p=0)
Definition AgoraBase.h:160
Definition AgoraBase.h:193
virtual size_t size() const =0
virtual ~IContainer()
Definition AgoraBase.h:198
virtual IIterator * begin()=0
Definition AgoraBase.h:184
virtual const void * const_current() const =0
virtual void * current()=0
virtual ~IIterator()
Definition AgoraBase.h:190
Definition AgoraBase.h:172
virtual const char * c_str()=0
virtual bool empty() const =0
virtual IString * clone()=0
virtual size_t length()=0
virtual const char * data()=0
virtual ~IString()
Definition AgoraBase.h:180
Definition IAgoraService.h:73
MEDIA_TRACE_EVENT
The rendering state of the media frame.
Definition AgoraBase.h:7694
@ MEDIA_TRACE_EVENT_VIDEO_RENDERED
Definition AgoraBase.h:7698
@ MEDIA_TRACE_EVENT_VIDEO_DECODED
Definition AgoraBase.h:7702
SIMULCAST_STREAM_MODE
The mode in which the video stream is sent.
Definition AgoraBase.h:2204
@ ENABLE_SIMULCAST_STREAM
Definition AgoraBase.h:2218
@ DISABLE_SIMULCAST_STREAM
Definition AgoraBase.h:2214
@ AUTO_SIMULCAST_STREAM
Definition AgoraBase.h:2210
const int DEFAULT_MIN_BITRATE
Definition AgoraBase.h:1195
AUDIENCE_LATENCY_LEVEL_TYPE
The latency level of an audience member in interactive live streaming. This enum takes effect only wh...
Definition AgoraBase.h:2978
@ AUDIENCE_LATENCY_LEVEL_LOW_LATENCY
Definition AgoraBase.h:2982
@ AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY
Definition AgoraBase.h:2986
VIDEO_CODEC_PROFILE_TYPE
Video codec profile types.
Definition AgoraBase.h:4121
@ VIDEO_CODEC_PROFILE_BASELINE
Definition AgoraBase.h:4125
@ VIDEO_CODEC_PROFILE_MAIN
Definition AgoraBase.h:4130
@ VIDEO_CODEC_PROFILE_HIGH
Definition AgoraBase.h:4135
CAMERA_FOCAL_LENGTH_TYPE
The camera focal length types.
Definition AgoraBase.h:1300
@ CAMERA_FOCAL_LENGTH_DEFAULT
Definition AgoraBase.h:1304
@ CAMERA_FOCAL_LENGTH_TELEPHOTO
Definition AgoraBase.h:1316
@ CAMERA_FOCAL_LENGTH_ULTRA_WIDE
Definition AgoraBase.h:1312
@ CAMERA_FOCAL_LENGTH_WIDE_ANGLE
Definition AgoraBase.h:1308
AUDIO_EFFECT_PRESET
Preset audio effects.
Definition AgoraBase.h:6194
@ ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND
Definition AgoraBase.h:6241
@ STYLE_TRANSFORMATION_RNB
Definition AgoraBase.h:6288
@ ROOM_ACOUSTICS_VOCAL_CONCERT
Definition AgoraBase.h:6206
@ ROOM_ACOUSTICS_STUDIO
Definition AgoraBase.h:6210
@ VOICE_CHANGER_EFFECT_GIRL
Definition AgoraBase.h:6276
@ PITCH_CORRECTION
Definition AgoraBase.h:6298
@ ROOM_ACOUSTICS_PHONOGRAPH
Definition AgoraBase.h:6214
@ ROOM_ACOUSTICS_SPACIAL
Definition AgoraBase.h:6222
@ ROOM_ACOUSTICS_VIRTUAL_STEREO
Definition AgoraBase.h:6218
@ VOICE_CHANGER_EFFECT_HULK
Definition AgoraBase.h:6284
@ VOICE_CHANGER_EFFECT_BOY
Definition AgoraBase.h:6264
@ ROOM_ACOUSTICS_KTV
Definition AgoraBase.h:6202
@ VOICE_CHANGER_EFFECT_UNCLE
Definition AgoraBase.h:6252
@ AUDIO_EFFECT_OFF
Definition AgoraBase.h:6198
@ VOICE_CHANGER_EFFECT_SISTER
Definition AgoraBase.h:6270
@ VOICE_CHANGER_EFFECT_PIGKING
Definition AgoraBase.h:6280
@ ROOM_ACOUSTICS_ETHEREAL
Definition AgoraBase.h:6226
@ STYLE_TRANSFORMATION_POPULAR
Definition AgoraBase.h:6292
@ ROOM_ACOUSTICS_CHORUS
Definition AgoraBase.h:6246
@ VOICE_CHANGER_EFFECT_OLDMAN
Definition AgoraBase.h:6258
@ ROOM_ACOUSTICS_3D_VOICE
Definition AgoraBase.h:6234
LOCAL_AUDIO_STREAM_STATE
The state of the local audio.
Definition AgoraBase.h:3398
@ LOCAL_AUDIO_STREAM_STATE_FAILED
Definition AgoraBase.h:3414
@ LOCAL_AUDIO_STREAM_STATE_RECORDING
Definition AgoraBase.h:3406
@ LOCAL_AUDIO_STREAM_STATE_STOPPED
Definition AgoraBase.h:3402
@ LOCAL_AUDIO_STREAM_STATE_ENCODING
Definition AgoraBase.h:3410
VOICE_BEAUTIFIER_PRESET
The options for SDK preset voice beautifier effects.
Definition AgoraBase.h:6105
@ TIMBRE_TRANSFORMATION_DEEP
Definition AgoraBase.h:6145
@ SINGING_BEAUTIFIER
Definition AgoraBase.h:6137
@ TIMBRE_TRANSFORMATION_MELLOW
Definition AgoraBase.h:6149
@ CHAT_BEAUTIFIER_MAGNETIC
Definition AgoraBase.h:6115
@ TIMBRE_TRANSFORMATION_FULL
Definition AgoraBase.h:6157
@ VOICE_BEAUTIFIER_OFF
Definition AgoraBase.h:6109
@ TIMBRE_TRANSFORMATION_CLEAR
Definition AgoraBase.h:6161
@ ULTRA_HIGH_QUALITY_VOICE
Definition AgoraBase.h:6180
@ TIMBRE_TRANSFORMATION_RINGING
Definition AgoraBase.h:6169
@ TIMBRE_TRANSFORMATION_RESOUNDING
Definition AgoraBase.h:6165
@ TIMBRE_TRANSFORMATION_VIGOROUS
Definition AgoraBase.h:6141
@ CHAT_BEAUTIFIER_FRESH
Definition AgoraBase.h:6121
@ TIMBRE_TRANSFORMATION_FALSETTO
Definition AgoraBase.h:6153
@ CHAT_BEAUTIFIER_VITALITY
Definition AgoraBase.h:6127
AUDIO_TRACK_TYPE
The type of the audio track.
Definition AgoraBase.h:6039
@ AUDIO_TRACK_MIXABLE
Definition AgoraBase.h:6049
@ AUDIO_TRACK_DIRECT
Definition AgoraBase.h:6059
@ AUDIO_TRACK_INVALID
Definition AgoraBase.h:6043
LOCAL_PROXY_MODE
Connection mode with the Agora Private Media Server.
Definition AgoraBase.h:7807
@ LocalOnly
Definition AgoraBase.h:7816
@ ConnectivityFirst
Definition AgoraBase.h:7812
FIT_MODE_TYPE
Definition AgoraBase.h:977
@ MODE_CONTAIN
Definition AgoraBase.h:989
@ MODE_COVER
Definition AgoraBase.h:982
AUDIO_FILE_RECORDING_TYPE
Recording content. Set in startAudioRecording [3/3].
Definition AgoraBase.h:6675
@ AUDIO_FILE_RECORDING_MIXED
Definition AgoraBase.h:6687
@ AUDIO_FILE_RECORDING_MIC
Definition AgoraBase.h:6679
@ AUDIO_FILE_RECORDING_PLAYBACK
Definition AgoraBase.h:6683
FRAME_HEIGHT
Definition AgoraBase.h:1053
@ FRAME_HEIGHT_540
Definition AgoraBase.h:1054
AUDIO_SCENARIO_TYPE
The audio scenarios.
Definition AgoraBase.h:3117
@ AUDIO_SCENARIO_NUM
Definition AgoraBase.h:3154
@ AUDIO_SCENARIO_GAME_STREAMING
Definition AgoraBase.h:3126
@ AUDIO_SCENARIO_MEETING
Definition AgoraBase.h:3140
@ AUDIO_SCENARIO_CHORUS
Definition AgoraBase.h:3136
@ AUDIO_SCENARIO_AI_CLIENT
Definition AgoraBase.h:3150
@ AUDIO_SCENARIO_AI_SERVER
Definition AgoraBase.h:3145
@ AUDIO_SCENARIO_CHATROOM
Definition AgoraBase.h:3131
@ AUDIO_SCENARIO_DEFAULT
Definition AgoraBase.h:3122
AUDIO_SOURCE_TYPE
The audio source type.
Definition AgoraMediaBase.h:151
VIDEO_QOE_PREFERENCE_TYPE
Definition AgoraBase.h:3316
@ VIDEO_QOE_PREFERENCE_FLUENCY_FIRST
Definition AgoraBase.h:3332
@ VIDEO_QOE_PREFERENCE_BALANCE
Definition AgoraBase.h:3320
@ VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST
Definition AgoraBase.h:3328
@ VIDEO_QOE_PREFERENCE_DELAY_FIRST
Definition AgoraBase.h:3324
FRAME_WIDTH
Definition AgoraBase.h:1049
@ FRAME_WIDTH_960
Definition AgoraBase.h:1050
RecorderStreamType
Type of video stream to be recorded.
Definition AgoraBase.h:7918
@ PREVIEW
Definition AgoraBase.h:7926
@ RTC
Definition AgoraBase.h:7922
CONNECTION_CHANGED_REASON_TYPE
Reasons causing the change of the connection state.
Definition AgoraBase.h:5034
@ CONNECTION_CHANGED_STREAM_CHANNEL_NOT_AVAILABLE
Definition AgoraBase.h:5160
@ CONNECTION_CHANGED_INVALID_TOKEN
Definition AgoraBase.h:5091
@ CONNECTION_CHANGED_BANNED_BY_SERVER
Definition AgoraBase.h:5051
@ CONNECTION_CHANGED_SAME_UID_LOGIN
Definition AgoraBase.h:5143
@ CONNECTION_CHANGED_REJOIN_SUCCESS
Definition AgoraBase.h:5127
@ CONNECTION_CHANGED_ECHO_TEST
Definition AgoraBase.h:5135
@ CONNECTION_CHANGED_INCONSISTENT_APPID
Definition AgoraBase.h:5164
@ CONNECTION_CHANGED_CERTIFICATION_VERYFY_FAILURE
Definition AgoraBase.h:5156
@ CONNECTION_CHANGED_INVALID_CHANNEL_NAME
Definition AgoraBase.h:5076
@ CONNECTION_CHANGED_JOIN_SUCCESS
Definition AgoraBase.h:5042
@ CONNECTION_CHANGED_INTERRUPTED
Definition AgoraBase.h:5046
@ CONNECTION_CHANGED_LEAVE_CHANNEL
Definition AgoraBase.h:5061
@ CONNECTION_CHANGED_CONNECTING
Definition AgoraBase.h:5038
@ CONNECTION_CHANGED_SETTING_PROXY_SERVER
Definition AgoraBase.h:5109
@ CONNECTION_CHANGED_LOST
Definition AgoraBase.h:5131
@ CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED
Definition AgoraBase.h:5118
@ CONNECTION_CHANGED_TOO_MANY_BROADCASTERS
Definition AgoraBase.h:5147
@ CONNECTION_CHANGED_JOIN_FAILED
Definition AgoraBase.h:5057
@ CONNECTION_CHANGED_RENEW_TOKEN
Definition AgoraBase.h:5113
@ CONNECTION_CHANGED_LICENSE_VALIDATION_FAILURE
Definition AgoraBase.h:5152
@ CONNECTION_CHANGED_TOKEN_EXPIRED
Definition AgoraBase.h:5096
@ CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT
Definition AgoraBase.h:5123
@ CONNECTION_CHANGED_REJECTED_BY_SERVER
Definition AgoraBase.h:5105
@ CONNECTION_CHANGED_INVALID_APP_ID
Definition AgoraBase.h:5066
@ CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER
Definition AgoraBase.h:5139
ENCRYPTION_ERROR_TYPE
Encryption error type.
Definition AgoraBase.h:7340
@ ENCRYPTION_ERROR_ENCRYPTION_FAILURE
Definition AgoraBase.h:7353
@ ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE
Definition AgoraBase.h:7358
@ ENCRYPTION_ERROR_DECRYPTION_FAILURE
Definition AgoraBase.h:7349
@ ENCRYPTION_ERROR_INTERNAL_FAILURE
Definition AgoraBase.h:7344
@ ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE
Definition AgoraBase.h:7362
FRAME_RATE
The video frame rate.
Definition AgoraBase.h:1017
@ FRAME_RATE_FPS_24
Definition AgoraBase.h:1037
@ FRAME_RATE_FPS_15
Definition AgoraBase.h:1033
@ FRAME_RATE_FPS_1
Definition AgoraBase.h:1021
@ FRAME_RATE_FPS_10
Definition AgoraBase.h:1029
@ FRAME_RATE_FPS_30
Definition AgoraBase.h:1041
@ FRAME_RATE_FPS_7
Definition AgoraBase.h:1025
@ FRAME_RATE_FPS_60
Definition AgoraBase.h:1046
VIDEO_CONTENT_HINT
The content hint for screen sharing.
Definition AgoraBase.h:3203
@ CONTENT_HINT_MOTION
Definition AgoraBase.h:3212
@ CONTENT_HINT_DETAILS
Definition AgoraBase.h:3217
@ CONTENT_HINT_NONE
Definition AgoraBase.h:3207
CLIENT_ROLE_TYPE
The user role in the interactive live streaming.
Definition AgoraBase.h:2944
@ CLIENT_ROLE_AUDIENCE
Definition AgoraBase.h:2952
@ CLIENT_ROLE_BROADCASTER
Definition AgoraBase.h:2948
CONNECTION_STATE_TYPE
Connection states.
Definition AgoraBase.h:4426
@ CONNECTION_STATE_DISCONNECTED
Definition AgoraBase.h:4434
@ CONNECTION_STATE_RECONNECTING
Definition AgoraBase.h:4462
@ CONNECTION_STATE_CONNECTING
Definition AgoraBase.h:4444
@ CONNECTION_STATE_FAILED
Definition AgoraBase.h:4472
@ CONNECTION_STATE_CONNECTED
Definition AgoraBase.h:4452
VIDEO_VIEW_SETUP_MODE
Setting mode of the view.
Definition AgoraBase.h:5238
@ VIDEO_VIEW_SETUP_ADD
Definition AgoraBase.h:5246
@ VIDEO_VIEW_SETUP_REMOVE
Definition AgoraBase.h:5253
@ VIDEO_VIEW_SETUP_REPLACE
Definition AgoraBase.h:5242
AUDIO_SAMPLE_RATE_TYPE
The audio sampling rate of the stream to be pushed to the CDN.
Definition AgoraBase.h:4090
@ AUDIO_SAMPLE_RATE_32000
Definition AgoraBase.h:4094
@ AUDIO_SAMPLE_RATE_48000
Definition AgoraBase.h:4102
@ AUDIO_SAMPLE_RATE_44100
Definition AgoraBase.h:4098
PERMISSION_TYPE
The type of the device permission.
Definition AgoraBase.h:7420
@ RECORD_AUDIO
Definition AgoraBase.h:7424
@ SCREEN_CAPTURE
Definition AgoraBase.h:7433
@ CAMERA
Definition AgoraBase.h:7428
const int COMPATIBLE_BITRATE
Definition AgoraBase.h:1190
REMOTE_AUDIO_STATE_REASON
The reason for the remote audio state change.
Definition AgoraBase.h:3724
@ REMOTE_AUDIO_REASON_REMOTE_UNMUTED
Definition AgoraBase.h:3752
@ REMOTE_AUDIO_REASON_LOCAL_PLAY_FAILED
Definition AgoraBase.h:3764
@ REMOTE_AUDIO_REASON_REMOTE_MUTED
Definition AgoraBase.h:3748
@ REMOTE_AUDIO_REASON_LOCAL_MUTED
Definition AgoraBase.h:3740
@ REMOTE_AUDIO_REASON_REMOTE_OFFLINE
Definition AgoraBase.h:3756
@ REMOTE_AUDIO_REASON_NO_PACKET_RECEIVE
Definition AgoraBase.h:3760
@ REMOTE_AUDIO_REASON_NETWORK_CONGESTION
Definition AgoraBase.h:3732
@ REMOTE_AUDIO_REASON_NETWORK_RECOVERY
Definition AgoraBase.h:3736
@ REMOTE_AUDIO_REASON_LOCAL_UNMUTED
Definition AgoraBase.h:3744
@ REMOTE_AUDIO_REASON_INTERNAL
Definition AgoraBase.h:3728
TCcMode
Definition AgoraBase.h:1322
@ CC_DISABLED
Definition AgoraBase.h:1330
@ CC_ENABLED
Definition AgoraBase.h:1326
USER_OFFLINE_REASON_TYPE
Reasons for a user being offline.
Definition AgoraBase.h:878
@ USER_OFFLINE_BECOME_AUDIENCE
Definition AgoraBase.h:893
@ USER_OFFLINE_QUIT
Definition AgoraBase.h:882
@ USER_OFFLINE_DROPPED
Definition AgoraBase.h:889
MultipathMode
The transmission mode of data over multiple network paths.
Definition AgoraBase.h:2625
@ Dynamic
Definition AgoraBase.h:2634
@ Duplicate
Definition AgoraBase.h:2629
STREAM_PUBLISH_STATE
The publishing state.
Definition AgoraBase.h:7473
@ PUB_STATE_IDLE
Definition AgoraBase.h:7477
@ PUB_STATE_PUBLISHED
Definition AgoraBase.h:7496
@ PUB_STATE_PUBLISHING
Definition AgoraBase.h:7492
@ PUB_STATE_NO_PUBLISHED
Definition AgoraBase.h:7488
VIDEO_STREAM_TYPE
The type of video streams.
Definition AgoraBase.h:1654
@ VIDEO_STREAM_HIGH
Definition AgoraBase.h:1658
@ VIDEO_STREAM_LAYER_1
Definition AgoraBase.h:1667
@ VIDEO_STREAM_LAYER_3
Definition AgoraBase.h:1677
@ VIDEO_STREAM_LOW
Definition AgoraBase.h:1662
@ VIDEO_STREAM_LAYER_5
Definition AgoraBase.h:1687
@ VIDEO_STREAM_LAYER_4
Definition AgoraBase.h:1682
@ VIDEO_STREAM_LAYER_6
Definition AgoraBase.h:1692
@ VIDEO_STREAM_LAYER_2
Definition AgoraBase.h:1672
const int DEFAULT_MIN_BITRATE_EQUAL_TO_TARGET_BITRATE
Definition AgoraBase.h:1200
LOCAL_AUDIO_STREAM_REASON
Reasons for local audio state changes.
Definition AgoraBase.h:3420
@ LOCAL_AUDIO_STREAM_REASON_FAILURE
Definition AgoraBase.h:3429
@ LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE
Definition AgoraBase.h:3454
@ LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY
Definition AgoraBase.h:3440
@ LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE
Definition AgoraBase.h:3460
@ LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID
Definition AgoraBase.h:3476
@ LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION
Definition AgoraBase.h:3433
@ LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID
Definition AgoraBase.h:3471
@ LOCAL_AUDIO_STREAM_REASON_INTERRUPTED
Definition AgoraBase.h:3466
@ LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE
Definition AgoraBase.h:3448
@ LOCAL_AUDIO_STREAM_REASON_OK
Definition AgoraBase.h:3424
@ LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE
Definition AgoraBase.h:3444
H264PacketizeMode
Definition AgoraBase.h:1640
@ SingleNalUnit
Definition AgoraBase.h:1648
@ NonInterleaved
Definition AgoraBase.h:1644
MultipathType
Network path types used in multipath transmission.
Definition AgoraBase.h:2642
@ WIFI
Definition AgoraBase.h:2650
@ LAN
Definition AgoraBase.h:2646
@ Unknown
Definition AgoraBase.h:2658
@ Mobile
Definition AgoraBase.h:2654
EAR_MONITORING_FILTER_TYPE
The audio filter types of in-ear monitoring.
Definition AgoraBase.h:7576
@ EAR_MONITORING_FILTER_NOISE_SUPPRESSION
Definition AgoraBase.h:7589
@ EAR_MONITORING_FILTER_NONE
Definition AgoraBase.h:7580
@ EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER
Definition AgoraBase.h:7595
@ EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS
Definition AgoraBase.h:7585
AUDIO_AINS_MODE
AI noise suppression modes.
Definition AgoraBase.h:3046
@ AINS_MODE_BALANCED
Definition AgoraBase.h:3051
@ AINS_MODE_ULTRALOWLATENCY
Definition AgoraBase.h:3063
@ AINS_MODE_AGGRESSIVE
Definition AgoraBase.h:3057
unsigned int track_id_t
Definition AgoraMediaBase.h:29
AUDIO_PROFILE_TYPE
The audio profile.
Definition AgoraBase.h:3069
@ AUDIO_PROFILE_MUSIC_STANDARD_STEREO
Definition AgoraBase.h:3093
@ AUDIO_PROFILE_IOT
Definition AgoraBase.h:3107
@ AUDIO_PROFILE_MUSIC_HIGH_QUALITY
Definition AgoraBase.h:3097
@ AUDIO_PROFILE_NUM
Definition AgoraBase.h:3111
@ AUDIO_PROFILE_DEFAULT
Definition AgoraBase.h:3079
@ AUDIO_PROFILE_MUSIC_STANDARD
Definition AgoraBase.h:3087
@ AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO
Definition AgoraBase.h:3103
@ AUDIO_PROFILE_SPEECH_STANDARD
Definition AgoraBase.h:3083
SCREEN_CAPTURE_FRAMERATE_CAPABILITY
The highest frame rate supported by the screen sharing device.
Definition AgoraBase.h:1205
@ SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS
Definition AgoraBase.h:1209
@ SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS
Definition AgoraBase.h:1213
@ SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS
Definition AgoraBase.h:1217
VIDEO_CODEC_TYPE
Video codec types.
Definition AgoraBase.h:1250
@ VIDEO_CODEC_GENERIC_H264
Definition AgoraBase.h:1278
@ VIDEO_CODEC_H265
Definition AgoraBase.h:1267
@ VIDEO_CODEC_GENERIC_JPEG
Definition AgoraBase.h:1291
@ VIDEO_CODEC_VP9
Definition AgoraBase.h:1287
@ VIDEO_CODEC_AV1
Definition AgoraBase.h:1283
@ VIDEO_CODEC_H264
Definition AgoraBase.h:1263
@ VIDEO_CODEC_GENERIC
Definition AgoraBase.h:1273
@ VIDEO_CODEC_NONE
Definition AgoraBase.h:1255
@ VIDEO_CODEC_VP8
Definition AgoraBase.h:1259
LOCAL_VIDEO_EVENT_TYPE
The local video event type.
Definition AgoraBase.h:3506
@ LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_STOPPED_BY_USER
Definition AgoraBase.h:3518
@ LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_WINDOW_HIDDEN
Definition AgoraBase.h:3510
@ LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_SYSTEM_INTERNAL_ERROR
Definition AgoraBase.h:3522
@ LOCAL_VIDEO_EVENT_TYPE_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN
Definition AgoraBase.h:3514
LOCAL_VIDEO_STREAM_STATE
Local video state types.
Definition AgoraBase.h:3482
@ LOCAL_VIDEO_STREAM_STATE_ENCODING
Definition AgoraBase.h:3495
@ LOCAL_VIDEO_STREAM_STATE_FAILED
Definition AgoraBase.h:3499
@ LOCAL_VIDEO_STREAM_STATE_STOPPED
Definition AgoraBase.h:3486
@ LOCAL_VIDEO_STREAM_STATE_CAPTURING
Definition AgoraBase.h:3491
AUDIO_ENCODING_TYPE
Audio encoding type.
Definition AgoraBase.h:1464
@ AUDIO_ENCODING_TYPE_AAC_32000_HIGH
Definition AgoraBase.h:1489
@ AUDIO_ENCODING_TYPE_AAC_16000_LOW
Definition AgoraBase.h:1469
@ AUDIO_ENCODING_TYPE_AAC_32000_LOW
Definition AgoraBase.h:1479
@ AUDIO_ENCODING_TYPE_AAC_48000_HIGH
Definition AgoraBase.h:1499
@ AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM
Definition AgoraBase.h:1514
@ AUDIO_ENCODING_TYPE_OPUS_16000_LOW
Definition AgoraBase.h:1504
@ AUDIO_ENCODING_TYPE_OPUS_48000_HIGH
Definition AgoraBase.h:1519
@ AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM
Definition AgoraBase.h:1474
@ AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM
Definition AgoraBase.h:1494
@ AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM
Definition AgoraBase.h:1509
@ AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM
Definition AgoraBase.h:1484
REMOTE_VIDEO_STATE
The state of the remote video stream.
Definition AgoraBase.h:3770
@ REMOTE_VIDEO_STATE_FAILED
Definition AgoraBase.h:3797
@ REMOTE_VIDEO_STATE_DECODING
Definition AgoraBase.h:3787
@ REMOTE_VIDEO_STATE_FROZEN
Definition AgoraBase.h:3792
@ REMOTE_VIDEO_STATE_STARTING
Definition AgoraBase.h:3780
@ REMOTE_VIDEO_STATE_STOPPED
Definition AgoraBase.h:3776
RTMP_STREAMING_EVENT
Events during the Media Push.
Definition AgoraBase.h:4324
@ RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN
Definition AgoraBase.h:4341
@ RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE
Definition AgoraBase.h:4328
@ RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT
Definition AgoraBase.h:4337
@ RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE
Definition AgoraBase.h:4333
EXPERIENCE_POOR_REASON
Reasons why the QoE of the local user when receiving a remote audio stream is poor.
Definition AgoraBase.h:3019
@ LOCAL_NETWORK_QUALITY_POOR
Definition AgoraBase.h:3031
@ EXPERIENCE_REASON_NONE
Definition AgoraBase.h:3023
@ WIRELESS_SIGNAL_POOR
Definition AgoraBase.h:3035
@ WIFI_BLUETOOTH_COEXIST
Definition AgoraBase.h:3040
@ REMOTE_NETWORK_QUALITY_POOR
Definition AgoraBase.h:3027
AREA_CODE
The region for connection, which is the region where the server the SDK connects to is located.
Definition AgoraBase.h:6873
@ AREA_CODE_NA
Definition AgoraBase.h:6881
@ AREA_CODE_AS
Definition AgoraBase.h:6889
@ AREA_CODE_EU
Definition AgoraBase.h:6885
@ AREA_CODE_JP
Definition AgoraBase.h:6893
@ AREA_CODE_GLOB
Definition AgoraBase.h:6901
@ AREA_CODE_IN
Definition AgoraBase.h:6897
@ AREA_CODE_CN
Definition AgoraBase.h:6877
MAX_USER_ACCOUNT_LENGTH_TYPE
The maximum length of the user account.
Definition AgoraBase.h:1719
@ MAX_USER_ACCOUNT_LENGTH
Definition AgoraBase.h:1723
SCREEN_SCENARIO_TYPE
The screen sharing scenario.
Definition AgoraBase.h:3222
@ SCREEN_SCENARIO_RDC
Definition AgoraBase.h:3244
@ SCREEN_SCENARIO_DOCUMENT
Definition AgoraBase.h:3228
@ SCREEN_SCENARIO_GAMING
Definition AgoraBase.h:3233
@ SCREEN_SCENARIO_VIDEO
Definition AgoraBase.h:3238
EXPERIENCE_QUALITY_TYPE
The Quality of Experience (QoE) of the local user when receiving a remote audio stream.
Definition AgoraBase.h:3005
@ EXPERIENCE_QUALITY_GOOD
Definition AgoraBase.h:3009
@ EXPERIENCE_QUALITY_BAD
Definition AgoraBase.h:3013
RENEW_TOKEN_ERROR_CODE
Represents the error codes after calling renewToken.
Definition AgoraBase.h:7376
@ RENEW_TOKEN_FAILURE
Definition AgoraBase.h:7385
@ RENEW_TOKEN_INCONSISTENT_APPID
Definition AgoraBase.h:7410
@ RENEW_TOKEN_INVALID_CHANNEL_NAME
Definition AgoraBase.h:7405
@ RENEW_TOKEN_CANCELED_BY_NEW_REQUEST
Definition AgoraBase.h:7414
@ RENEW_TOKEN_TOKEN_EXPIRED
Definition AgoraBase.h:7390
@ RENEW_TOKEN_SUCCESS
Definition AgoraBase.h:7380
@ RENEW_TOKEN_INVALID_TOKEN
Definition AgoraBase.h:7399
VIDEO_MIRROR_MODE_TYPE
Video mirror mode.
Definition AgoraBase.h:1906
@ VIDEO_MIRROR_MODE_AUTO
Definition AgoraBase.h:1913
@ VIDEO_MIRROR_MODE_ENABLED
Definition AgoraBase.h:1917
@ VIDEO_MIRROR_MODE_DISABLED
Definition AgoraBase.h:1921
ENCRYPTION_MODE
The built-in encryption mode.
Definition AgoraBase.h:7232
@ AES_256_GCM
Definition AgoraBase.h:7256
@ AES_256_XTS
Definition AgoraBase.h:7244
@ AES_256_GCM2
Definition AgoraBase.h:7266
@ AES_128_ECB
Definition AgoraBase.h:7240
@ AES_128_XTS
Definition AgoraBase.h:7236
@ MODE_END
Definition AgoraBase.h:7270
@ SM4_128_ECB
Definition AgoraBase.h:7248
@ AES_128_GCM2
Definition AgoraBase.h:7261
@ AES_128_GCM
Definition AgoraBase.h:7252
AUDIO_RECORDING_QUALITY_TYPE
Recording quality.
Definition AgoraBase.h:6649
@ AUDIO_RECORDING_QUALITY_HIGH
Definition AgoraBase.h:6664
@ AUDIO_RECORDING_QUALITY_MEDIUM
Definition AgoraBase.h:6659
@ AUDIO_RECORDING_QUALITY_LOW
Definition AgoraBase.h:6654
@ AUDIO_RECORDING_QUALITY_ULTRA_HIGH
Definition AgoraBase.h:6669
RdtState
Reliable Data Transmission tunnel state.
Definition AgoraBase.h:7981
@ RDT_STATE_CLOSED
Definition AgoraBase.h:7985
@ RDT_STATE_PENDING
Definition AgoraBase.h:7999
@ RDT_STATE_OPENED
Definition AgoraBase.h:7989
@ RDT_STATE_BLOCKED
Definition AgoraBase.h:7994
@ RDT_STATE_BROKEN
Definition AgoraBase.h:8006
RTMP_STREAM_PUBLISH_REASON
Reasons for changes in the status of RTMP or RTMPS streaming.
Definition AgoraBase.h:4242
@ RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN
Definition AgoraBase.h:4270
@ RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED
Definition AgoraBase.h:4254
@ RTMP_STREAM_PUBLISH_REASON_INVALID_APPID
Definition AgoraBase.h:4308
@ RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT
Definition AgoraBase.h:4250
@ RTMP_STREAM_PUBLISH_REASON_OK
Definition AgoraBase.h:4246
@ RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER
Definition AgoraBase.h:4293
@ RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT
Definition AgoraBase.h:4274
@ RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND
Definition AgoraBase.h:4283
@ RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE
Definition AgoraBase.h:4313
@ RTMP_STREAM_UNPUBLISH_REASON_OK
Definition AgoraBase.h:4318
@ RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT
Definition AgoraBase.h:4258
@ RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR
Definition AgoraBase.h:4262
@ RTMP_STREAM_PUBLISH_REASON_NET_DOWN
Definition AgoraBase.h:4304
@ RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM
Definition AgoraBase.h:4299
@ RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR
Definition AgoraBase.h:4266
@ RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED
Definition AgoraBase.h:4279
@ RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED
Definition AgoraBase.h:4288
REMOTE_VIDEO_DOWNSCALE_LEVEL
Definition AgoraBase.h:3941
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_1
Definition AgoraBase.h:3949
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_3
Definition AgoraBase.h:3957
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_4
Definition AgoraBase.h:3961
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_NONE
Definition AgoraBase.h:3945
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_2
Definition AgoraBase.h:3953
CONFIG_FETCH_TYPE
Definition AgoraBase.h:7793
@ CONFIG_FETCH_TYPE_INITIALIZE
Definition AgoraBase.h:7797
@ CONFIG_FETCH_TYPE_JOIN_CHANNEL
Definition AgoraBase.h:7801
CODEC_CAP_MASK
The bit mask of the codec type.
Definition AgoraBase.h:1963
@ CODEC_CAP_MASK_HW_ENC
Definition AgoraBase.h:1977
@ CODEC_CAP_MASK_SW_DEC
Definition AgoraBase.h:1982
@ CODEC_CAP_MASK_HW_DEC
Definition AgoraBase.h:1972
@ CODEC_CAP_MASK_SW_ENC
Definition AgoraBase.h:1987
@ CODEC_CAP_MASK_NONE
Definition AgoraBase.h:1967
RdtStreamType
Reliable Data Transmission Tunnel message stream type.
Definition AgoraBase.h:7957
@ RDT_STREAM_COUNT
Definition AgoraBase.h:7973
@ RDT_STREAM_DATA
Definition AgoraBase.h:7969
@ RDT_STREAM_CMD
Definition AgoraBase.h:7963
VIDEO_CODEC_CAPABILITY_LEVEL
The level of the codec capability.
Definition AgoraBase.h:1223
@ CODEC_CAPABILITY_LEVEL_1080P30FPS
Definition AgoraBase.h:1236
@ CODEC_CAPABILITY_LEVEL_UNSPECIFIED
Definition AgoraBase.h:1228
@ CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT
Definition AgoraBase.h:1232
@ CODEC_CAPABILITY_LEVEL_4K60FPS
Definition AgoraBase.h:1244
@ CODEC_CAPABILITY_LEVEL_1080P60FPS
Definition AgoraBase.h:1240
RTMP_STREAM_PUBLISH_STATE
States of the Media Push.
Definition AgoraBase.h:4203
@ RTMP_STREAM_PUBLISH_STATE_IDLE
Definition AgoraBase.h:4207
@ RTMP_STREAM_PUBLISH_STATE_RUNNING
Definition AgoraBase.h:4216
@ RTMP_STREAM_PUBLISH_STATE_FAILURE
Definition AgoraBase.h:4230
@ RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
Definition AgoraBase.h:4236
@ RTMP_STREAM_PUBLISH_STATE_CONNECTING
Definition AgoraBase.h:4211
@ RTMP_STREAM_PUBLISH_STATE_RECOVERING
Definition AgoraBase.h:4225
LOCAL_VIDEO_STREAM_REASON
Reasons for local video state changes.
Definition AgoraBase.h:3528
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR
Definition AgoraBase.h:3598
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_STOPPED_BY_CALL
Definition AgoraBase.h:3682
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED
Definition AgoraBase.h:3622
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND
Definition AgoraBase.h:3573
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED
Definition AgoraBase.h:3671
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK
Definition AgoraBase.h:3647
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED
Definition AgoraBase.h:3667
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN
Definition AgoraBase.h:3656
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_STOPPED_BY_USER
Definition AgoraBase.h:3678
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION
Definition AgoraBase.h:3541
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED
Definition AgoraBase.h:3608
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_INTERRUPTED_BY_OTHER
Definition AgoraBase.h:3680
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN
Definition AgoraBase.h:3652
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID
Definition AgoraBase.h:3583
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE
Definition AgoraBase.h:3633
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_EXCLUDE_WINDOW_FAILED
Definition AgoraBase.h:3684
@ LOCAL_VIDEO_STREAM_REASON_OK
Definition AgoraBase.h:3532
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE
Definition AgoraBase.h:3602
@ LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS
Definition AgoraBase.h:3567
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY
Definition AgoraBase.h:3546
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED
Definition AgoraBase.h:3627
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION
Definition AgoraBase.h:3637
@ LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE
Definition AgoraBase.h:3551
@ LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND
Definition AgoraBase.h:3560
@ LOCAL_VIDEO_STREAM_REASON_FAILURE
Definition AgoraBase.h:3536
@ LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT
Definition AgoraBase.h:3555
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED
Definition AgoraBase.h:3676
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT
Definition AgoraBase.h:3592
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED
Definition AgoraBase.h:3629
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED
Definition AgoraBase.h:3578
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED
Definition AgoraBase.h:3661
const int STANDARD_BITRATE
Definition AgoraBase.h:1181
CLIENT_ROLE_CHANGE_FAILED_REASON
The reason for a user role switch failure.
Definition AgoraBase.h:5170
@ CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS
Definition AgoraBase.h:5177
@ __deprecated
Definition AgoraBase.h:939
@ CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED
Definition AgoraBase.h:5182
VIDEO_MODULE_TYPE
Definition AgoraBase.h:1936
@ VIDEO_MODULE_HARDWARE_ENCODER
Definition AgoraBase.h:1942
@ VIDEO_MODULE_HARDWARE_DECODER
Definition AgoraBase.h:1946
@ VIDEO_MODULE_SOFTWARE_ENCODER
Definition AgoraBase.h:1940
@ VIDEO_MODULE_SOFTWARE_DECODER
Definition AgoraBase.h:1944
@ VIDEO_MODULE_RENDERER
Definition AgoraBase.h:1948
@ VIDEO_MODULE_CAPTURER
Definition AgoraBase.h:1938
LASTMILE_PROBE_RESULT_STATE
The status of the last-mile probe test.
Definition AgoraBase.h:4970
@ LASTMILE_PROBE_RESULT_COMPLETE
Definition AgoraBase.h:4974
@ LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE
Definition AgoraBase.h:4980
@ LASTMILE_PROBE_RESULT_UNAVAILABLE
Definition AgoraBase.h:4984
REMOTE_AUDIO_STATE
Remote audio states.
Definition AgoraBase.h:3690
@ REMOTE_AUDIO_STATE_FAILED
Definition AgoraBase.h:3718
@ REMOTE_AUDIO_STATE_STARTING
Definition AgoraBase.h:3701
@ REMOTE_AUDIO_STATE_STOPPED
Definition AgoraBase.h:3696
@ REMOTE_AUDIO_STATE_FROZEN
Definition AgoraBase.h:3713
@ REMOTE_AUDIO_STATE_DECODING
Definition AgoraBase.h:3707
struct agora::rtc::RtcImage RtcImage
Image properties.
HEADPHONE_EQUALIZER_PRESET
Preset headphone equalizer types.
Definition AgoraBase.h:6372
@ HEADPHONE_EQUALIZER_INEAR
Definition AgoraBase.h:6384
@ HEADPHONE_EQUALIZER_OFF
Definition AgoraBase.h:6376
@ HEADPHONE_EQUALIZER_OVEREAR
Definition AgoraBase.h:6380
CAMERA_FORMAT_TYPE
Definition AgoraBase.h:1928
@ CAMERA_FORMAT_NV12
Definition AgoraBase.h:1930
@ CAMERA_FORMAT_BGRA
Definition AgoraBase.h:1932
THREAD_PRIORITY_TYPE
Definition AgoraBase.h:7601
@ CRITICAL
Definition AgoraBase.h:7625
@ HIGH
Definition AgoraBase.h:7617
@ HIGHEST
Definition AgoraBase.h:7621
@ NORMAL
Definition AgoraBase.h:7613
@ LOW
Definition AgoraBase.h:7609
@ LOWEST
Definition AgoraBase.h:7605
NETWORK_TYPE
Network type.
Definition AgoraBase.h:5200
@ NETWORK_TYPE_DISCONNECTED
Definition AgoraBase.h:5208
@ NETWORK_TYPE_MOBILE_3G
Definition AgoraBase.h:5224
@ NETWORK_TYPE_MOBILE_4G
Definition AgoraBase.h:5228
@ NETWORK_TYPE_MOBILE_5G
Definition AgoraBase.h:5232
@ NETWORK_TYPE_UNKNOWN
Definition AgoraBase.h:5204
@ NETWORK_TYPE_LAN
Definition AgoraBase.h:5212
@ NETWORK_TYPE_WIFI
Definition AgoraBase.h:5216
@ NETWORK_TYPE_MOBILE_2G
Definition AgoraBase.h:5220
unsigned int uid_t
Definition AgoraMediaBase.h:28
QUALITY_ADAPT_INDICATION
Quality change of the local video in terms of target frame rate and target bit rate since last count.
Definition AgoraBase.h:2959
@ ADAPT_NONE
Definition AgoraBase.h:2963
@ ADAPT_UP_BANDWIDTH
Definition AgoraBase.h:2967
@ ADAPT_DOWN_BANDWIDTH
Definition AgoraBase.h:2971
VOICE_AI_TUNER_TYPE
Voice AI tuner sound types.
Definition AgoraBase.h:6390
@ VOICE_AI_TUNER_GENTLE_FEMALE_SINGING
Definition AgoraBase.h:6414
@ VOICE_AI_TUNER_HUSKY_MALE_SINGING
Definition AgoraBase.h:6418
@ VOICE_AI_TUNER_FRESH_MALE
Definition AgoraBase.h:6398
@ VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING
Definition AgoraBase.h:6422
@ VOICE_AI_TUNER_WARM_MALE_SINGING
Definition AgoraBase.h:6410
@ VOICE_AI_TUNER_ELEGANT_FEMALE
Definition AgoraBase.h:6402
@ VOICE_AI_TUNER_MATURE_MALE
Definition AgoraBase.h:6394
@ VOICE_AI_TUNER_POWERFUL_MALE_SINGING
Definition AgoraBase.h:6426
@ VOICE_AI_TUNER_SWEET_FEMALE
Definition AgoraBase.h:6406
@ VOICE_AI_TUNER_DREAMY_FEMALE_SINGING
Definition AgoraBase.h:6430
HDR_CAPABILITY
Definition AgoraBase.h:1951
@ HDR_CAPABILITY_UNKNOWN
Definition AgoraBase.h:1953
@ HDR_CAPABILITY_SUPPORTED
Definition AgoraBase.h:1957
@ HDR_CAPABILITY_UNSUPPORTED
Definition AgoraBase.h:1955
REMOTE_USER_STATE
Definition AgoraBase.h:3866
@ USER_STATE_MUTE_VIDEO
Definition AgoraBase.h:3874
@ USER_STATE_ENABLE_LOCAL_VIDEO
Definition AgoraBase.h:3882
@ USER_STATE_MUTE_AUDIO
Definition AgoraBase.h:3870
@ USER_STATE_ENABLE_VIDEO
Definition AgoraBase.h:3878
VIDEO_APPLICATION_SCENARIO_TYPE
The video application scenarios.
Definition AgoraBase.h:3250
@ APPLICATION_SCENARIO_LIVESHOW
Definition AgoraBase.h:3310
@ APPLICATION_SCENARIO_MEETING
Definition AgoraBase.h:3290
@ APPLICATION_SCENARIO_GENERAL
Definition AgoraBase.h:3254
@ APPLICATION_SCENARIO_1V1
Definition AgoraBase.h:3299
CAMERA_STABILIZATION_MODE
Camera stabilization modes.
Definition AgoraBase.h:3367
@ CAMERA_STABILIZATION_MODE_OFF
Definition AgoraBase.h:3371
@ CAMERA_STABILIZATION_MODE_LEVEL_1
Definition AgoraBase.h:3381
@ CAMERA_STABILIZATION_MODE_AUTO
Definition AgoraBase.h:3377
@ CAMERA_STABILIZATION_MODE_LEVEL_2
Definition AgoraBase.h:3385
@ CAMERA_STABILIZATION_MODE_MAX_LEVEL
Definition AgoraBase.h:3392
@ CAMERA_STABILIZATION_MODE_LEVEL_3
Definition AgoraBase.h:3389
AUDIO_CODEC_TYPE
The codec type of audio.
Definition AgoraBase.h:1414
@ AUDIO_CODEC_G722
Definition AgoraBase.h:1431
@ AUDIO_CODEC_HEAAC
Definition AgoraBase.h:1442
@ AUDIO_CODEC_PCMU
Definition AgoraBase.h:1427
@ AUDIO_CODEC_OPUS
Definition AgoraBase.h:1418
@ AUDIO_CODEC_HEAAC2
Definition AgoraBase.h:1450
@ AUDIO_CODEC_AACLC
Definition AgoraBase.h:1438
@ AUDIO_CODEC_JC1
Definition AgoraBase.h:1446
@ AUDIO_CODEC_PCMA
Definition AgoraBase.h:1423
@ AUDIO_CODEC_LPCNET
Definition AgoraBase.h:1454
@ AUDIO_CODEC_OPUSMC
Definition AgoraBase.h:1458
STREAM_SUBSCRIBE_STATE
The subscribing state.
Definition AgoraBase.h:7439
@ SUB_STATE_IDLE
Definition AgoraBase.h:7443
@ SUB_STATE_NO_SUBSCRIBED
Definition AgoraBase.h:7459
@ SUB_STATE_SUBSCRIBING
Definition AgoraBase.h:7463
@ SUB_STATE_SUBSCRIBED
Definition AgoraBase.h:7467
VIDEO_SOURCE_TYPE
The type of the video source.
Definition AgoraMediaBase.h:67
@ VIDEO_SOURCE_CAMERA_PRIMARY
Definition AgoraMediaBase.h:71
WATERMARK_FIT_MODE
The adaptation mode of the watermark.
Definition AgoraBase.h:1525
@ FIT_MODE_USE_IMAGE_RATIO
Definition AgoraBase.h:1535
@ FIT_MODE_COVER_POSITION
Definition AgoraBase.h:1530
WATERMARK_SOURCE_TYPE
Type of watermark source.
Definition AgoraBase.h:2446
@ BUFFER
Definition AgoraBase.h:2454
@ TIMESTAMPS
Definition AgoraBase.h:2466
@ IMAGE
Definition AgoraBase.h:2450
@ LITERAL
Definition AgoraBase.h:2460
CAPTURE_BRIGHTNESS_LEVEL_TYPE
The brightness level of the video image captured by the local camera.
Definition AgoraBase.h:3339
@ CAPTURE_BRIGHTNESS_LEVEL_BRIGHT
Definition AgoraBase.h:3352
@ CAPTURE_BRIGHTNESS_LEVEL_NORMAL
Definition AgoraBase.h:3348
@ CAPTURE_BRIGHTNESS_LEVEL_INVALID
Definition AgoraBase.h:3344
@ CAPTURE_BRIGHTNESS_LEVEL_DARK
Definition AgoraBase.h:3356
UPLOAD_ERROR_REASON
Definition AgoraBase.h:7365
@ UPLOAD_SERVER_ERROR
Definition AgoraBase.h:7368
@ UPLOAD_NET_ERROR
Definition AgoraBase.h:7367
@ UPLOAD_SUCCESS
Definition AgoraBase.h:7366
VIDEO_TRANSCODER_ERROR
The error code of the local video mixing failure.
Definition AgoraBase.h:4825
@ VT_ERR_UNSUPPORT_IMAGE_FORMAT
Definition AgoraBase.h:4842
@ VT_ERR_INVALID_VIDEO_SOURCE_TYPE
Definition AgoraBase.h:4834
@ VT_ERR_INVALID_IMAGE_PATH
Definition AgoraBase.h:4838
@ VT_ERR_VIDEO_SOURCE_NOT_READY
Definition AgoraBase.h:4830
@ VT_ERR_INTERNAL
Definition AgoraBase.h:4850
@ VT_ERR_INVALID_LAYOUT
Definition AgoraBase.h:4846
COMPRESSION_PREFERENCE
Compression preference for video encoding.
Definition AgoraBase.h:1824
@ PREFER_COMPRESSION_AUTO
Definition AgoraBase.h:1829
@ PREFER_QUALITY
Definition AgoraBase.h:1839
@ PREFER_LOW_LATENCY
Definition AgoraBase.h:1834
VIDEO_CODEC_TYPE_FOR_STREAM
The codec type of the output video.
Definition AgoraBase.h:4107
@ VIDEO_CODEC_H265_FOR_STREAM
Definition AgoraBase.h:4115
@ VIDEO_CODEC_H264_FOR_STREAM
Definition AgoraBase.h:4111
DEGRADATION_PREFERENCE
Video degradation preferences when the bandwidth is a constraint.
Definition AgoraBase.h:1117
@ MAINTAIN_FRAMERATE
Definition AgoraBase.h:1135
@ MAINTAIN_AUTO
Definition AgoraBase.h:1123
@ DISABLED
Definition AgoraBase.h:1154
@ MAINTAIN_BALANCED
Definition AgoraBase.h:1144
@ MAINTAIN_QUALITY
Definition AgoraBase.h:1129
@ MAINTAIN_RESOLUTION
Definition AgoraBase.h:1150
AUDIO_CODEC_PROFILE_TYPE
Self-defined audio codec profile.
Definition AgoraBase.h:4141
@ AUDIO_CODEC_PROFILE_HE_AAC_V2
Definition AgoraBase.h:4153
@ AUDIO_CODEC_PROFILE_HE_AAC
Definition AgoraBase.h:4149
@ AUDIO_CODEC_PROFILE_LC_AAC
Definition AgoraBase.h:4145
REMOTE_VIDEO_STATE_REASON
The reason for the remote video state change.
Definition AgoraBase.h:3802
@ REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
Definition AgoraBase.h:3810
@ REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
Definition AgoraBase.h:3830
@ REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
Definition AgoraBase.h:3854
@ REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
Definition AgoraBase.h:3826
@ REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
Definition AgoraBase.h:3822
@ REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
Definition AgoraBase.h:3839
@ REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT
Definition AgoraBase.h:3859
@ REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
Definition AgoraBase.h:3814
@ REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
Definition AgoraBase.h:3834
@ REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_LOW
Definition AgoraBase.h:3847
@ REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
Definition AgoraBase.h:3844
@ REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
Definition AgoraBase.h:3818
@ REMOTE_VIDEO_STATE_REASON_INTERNAL
Definition AgoraBase.h:3806
@ REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_HIGH
Definition AgoraBase.h:3850
AREA_CODE_EX
Definition AgoraBase.h:6908
@ AREA_CODE_OVS
Definition AgoraBase.h:6940
@ AREA_CODE_OC
Definition AgoraBase.h:6912
@ AREA_CODE_RU
Definition AgoraBase.h:6936
@ AREA_CODE_HKMC
Definition AgoraBase.h:6928
@ AREA_CODE_KR
Definition AgoraBase.h:6924
@ AREA_CODE_SA
Definition AgoraBase.h:6916
@ AREA_CODE_AF
Definition AgoraBase.h:6920
@ AREA_CODE_US
Definition AgoraBase.h:6932
INTERFACE_ID_TYPE
The interface class.
Definition AgoraBase.h:899
@ AGORA_IID_META_SERVICE
Definition AgoraBase.h:926
@ AGORA_IID_STATE_SYNC
Definition AgoraBase.h:925
@ AGORA_IID_SIGNALING_ENGINE
Definition AgoraBase.h:922
@ AGORA_IID_MUSIC_CONTENT_CENTER
Definition AgoraBase.h:927
@ AGORA_IID_AUDIO_ENGINE
Definition AgoraBase.h:916
@ AGORA_IID_MEDIA_ENGINE_REGULATOR
Definition AgoraBase.h:923
@ AGORA_IID_PARAMETER_ENGINE
Definition AgoraBase.h:911
@ AGORA_IID_MEDIA_ENGINE
Definition AgoraBase.h:915
@ AGORA_IID_LOCAL_SPATIAL_AUDIO
Definition AgoraBase.h:924
@ AGORA_IID_VIDEO_ENGINE
Definition AgoraBase.h:917
@ AGORA_IID_RTC_CONNECTION
Definition AgoraBase.h:918
@ AGORA_IID_H265_TRANSCODER
Definition AgoraBase.h:928
@ AGORA_IID_AUDIO_DEVICE_MANAGER
Definition AgoraBase.h:903
@ AGORA_IID_VIDEO_DEVICE_MANAGER
Definition AgoraBase.h:907
CHANNEL_MEDIA_RELAY_ERROR
The error code of the channel media relay.
Definition AgoraBase.h:6946
@ RELAY_ERROR_INTERNAL_ERROR
Definition AgoraBase.h:6992
@ RELAY_ERROR_SERVER_NO_RESPONSE
Definition AgoraBase.h:6963
@ RELAY_ERROR_SERVER_CONNECTION_LOST
Definition AgoraBase.h:6988
@ RELAY_ERROR_FAILED_JOIN_DEST
Definition AgoraBase.h:6975
@ RELAY_ERROR_DEST_TOKEN_EXPIRED
Definition AgoraBase.h:7000
@ RELAY_OK
Definition AgoraBase.h:6950
@ RELAY_ERROR_FAILED_JOIN_SRC
Definition AgoraBase.h:6971
@ RELAY_ERROR_NO_RESOURCE_AVAILABLE
Definition AgoraBase.h:6967
@ RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC
Definition AgoraBase.h:6979
@ RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST
Definition AgoraBase.h:6983
@ RELAY_ERROR_SERVER_ERROR_RESPONSE
Definition AgoraBase.h:6954
@ RELAY_ERROR_SRC_TOKEN_EXPIRED
Definition AgoraBase.h:6996
ENCODING_PREFERENCE
Video encoder preference.
Definition AgoraBase.h:1845
@ PREFER_HARDWARE
Definition AgoraBase.h:1861
@ PREFER_AUTO
Definition AgoraBase.h:1850
@ PREFER_SOFTWARE
Definition AgoraBase.h:1854
AUDIO_ENCODED_FRAME_OBSERVER_POSITION
Audio profile.
Definition AgoraBase.h:6693
@ AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD
Definition AgoraBase.h:6697
@ AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK
Definition AgoraBase.h:6701
@ AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED
Definition AgoraBase.h:6705
QUALITY_TYPE
Network quality types.
Definition AgoraBase.h:934
@ QUALITY_BAD
Definition AgoraBase.h:955
@ QUALITY_POOR
Definition AgoraBase.h:951
@ QUALITY_GOOD
Definition AgoraBase.h:947
@ QUALITY_UNSUPPORTED
Definition AgoraBase.h:967
@ QUALITY_DETECTING
Definition AgoraBase.h:971
@ QUALITY_VBAD
Definition AgoraBase.h:959
@ QUALITY_EXCELLENT
Definition AgoraBase.h:943
@ QUALITY_DOWN
Definition AgoraBase.h:963
VIDEO_FRAME_TYPE
The video frame type.
Definition AgoraBase.h:1060
@ VIDEO_FRAME_TYPE_B_FRAME
Definition AgoraBase.h:1076
@ VIDEO_FRAME_TYPE_DROPPABLE_FRAME
Definition AgoraBase.h:1080
@ VIDEO_FRAME_TYPE_UNKNOW
Definition AgoraBase.h:1084
@ VIDEO_FRAME_TYPE_KEY_FRAME
Definition AgoraBase.h:1068
@ VIDEO_FRAME_TYPE_BLANK_FRAME
Definition AgoraBase.h:1064
@ VIDEO_FRAME_TYPE_DELTA_FRAME
Definition AgoraBase.h:1072
VIDEO_ORIENTATION
The clockwise rotation of the video.
Definition AgoraBase.h:995
@ VIDEO_ORIENTATION_270
Definition AgoraBase.h:1011
@ VIDEO_ORIENTATION_0
Definition AgoraBase.h:999
@ VIDEO_ORIENTATION_90
Definition AgoraBase.h:1003
@ VIDEO_ORIENTATION_180
Definition AgoraBase.h:1007
VOICE_CONVERSION_PRESET
The options for SDK preset voice conversion effects.
Definition AgoraBase.h:6308
@ VOICE_CHANGER_SOLID
Definition AgoraBase.h:6327
@ VOICE_CHANGER_SWEET
Definition AgoraBase.h:6322
@ VOICE_CHANGER_SHIN_CHAN
Definition AgoraBase.h:6359
@ VOICE_CONVERSION_OFF
Definition AgoraBase.h:6312
@ VOICE_CHANGER_CARTOON
Definition AgoraBase.h:6335
@ VOICE_CHANGER_PHONE_OPERATOR
Definition AgoraBase.h:6341
@ VOICE_CHANGER_GIRLISH_MAN
Definition AgoraBase.h:6362
@ VOICE_CHANGER_GROOT
Definition AgoraBase.h:6350
@ VOICE_CHANGER_BASS
Definition AgoraBase.h:6332
@ VOICE_CHANGER_MONSTER
Definition AgoraBase.h:6344
@ VOICE_CHANGER_TRANSFORMERS
Definition AgoraBase.h:6347
@ VOICE_CHANGER_NEUTRAL
Definition AgoraBase.h:6317
@ VOICE_CHANGER_CHIPMUNK
Definition AgoraBase.h:6365
@ VOICE_CHANGER_IRON_LADY
Definition AgoraBase.h:6356
@ VOICE_CHANGER_CHILDLIKE
Definition AgoraBase.h:6338
@ VOICE_CHANGER_DARTH_VADER
Definition AgoraBase.h:6353
ORIENTATION_MODE
Video output orientation mode.
Definition AgoraBase.h:1090
@ ORIENTATION_MODE_FIXED_PORTRAIT
Definition AgoraBase.h:1111
@ ORIENTATION_MODE_ADAPTIVE
Definition AgoraBase.h:1098
@ ORIENTATION_MODE_FIXED_LANDSCAPE
Definition AgoraBase.h:1105
CHANNEL_MEDIA_RELAY_STATE
The state code of the channel media relay.
Definition AgoraBase.h:7006
@ RELAY_STATE_FAILURE
Definition AgoraBase.h:7023
@ RELAY_STATE_IDLE
Definition AgoraBase.h:7011
@ RELAY_STATE_RUNNING
Definition AgoraBase.h:7019
@ RELAY_STATE_CONNECTING
Definition AgoraBase.h:7015
Definition AgoraBase.h:97
CopyableAutoPtr< IString > AString
Definition AgoraBase.h:182
Definition AgoraAtomicOps.h:21
AUDIO_SESSION_OPERATION_RESTRICTION
The operation permissions of the SDK on the audio session.
Definition AgoraBase.h:818
@ AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION
Definition AgoraBase.h:830
@ AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY
Definition AgoraBase.h:826
@ AUDIO_SESSION_OPERATION_RESTRICTION_ALL
Definition AgoraBase.h:840
@ AUDIO_SESSION_OPERATION_RESTRICTION_NONE
Definition AgoraBase.h:822
@ AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION
Definition AgoraBase.h:835
void * view_t
Definition AgoraBase.h:844
WARN_CODE_TYPE
Definition AgoraBase.h:298
@ WARN_ADM_POP_STATE
Definition AgoraBase.h:429
@ WARN_CHANNEL_CONNECTION_PORT_CHANGED
Definition AgoraBase.h:370
@ WARN_INIT_VIDEO
Definition AgoraBase.h:308
@ WARN_CHANNEL_CONNECTION_IP_CHANGED
Definition AgoraBase.h:366
@ WARN_OPEN_CHANNEL_INVALID_TICKET
Definition AgoraBase.h:354
@ WARN_APM_HOWLING
Definition AgoraBase.h:417
@ WARN_PENDING
Definition AgoraBase.h:313
@ WARN_CHANNEL_SOCKET_ERROR
Definition AgoraBase.h:373
@ WARN_OPEN_CHANNEL_TIMEOUT
Definition AgoraBase.h:335
@ WARN_SET_CLIENT_ROLE_TIMEOUT
Definition AgoraBase.h:350
@ WARN_CHANNEL_CONNECTION_UNRECOVERABLE
Definition AgoraBase.h:362
@ WARN_AUDIO_MIXING_OPEN_ERROR
Definition AgoraBase.h:377
@ WARN_ADM_RUNTIME_PLAYOUT_WARNING
Definition AgoraBase.h:381
@ WARN_ADM_RUNTIME_RECORDING_WARNING
Definition AgoraBase.h:385
@ WARN_ADM_RECORD_AUDIO_SILENCE
Definition AgoraBase.h:389
@ WARN_OPEN_CHANNEL_TRY_NEXT_VOS
Definition AgoraBase.h:358
@ WARN_LOOKUP_CHANNEL_TIMEOUT
Definition AgoraBase.h:324
@ WARN_OPEN_CHANNEL_REJECTED
Definition AgoraBase.h:340
@ WARN_NO_AVAILABLE_CHANNEL
Definition AgoraBase.h:318
@ WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE
Definition AgoraBase.h:446
@ WARN_ADM_PLAYOUT_MALFUNCTION
Definition AgoraBase.h:393
@ WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE
Definition AgoraBase.h:438
@ WARN_ADM_GLITCH_STATE
Definition AgoraBase.h:421
@ WARN_ADM_IMPROPER_SETTINGS
Definition AgoraBase.h:425
@ WARN_SWITCH_LIVE_VIDEO_TIMEOUT
Definition AgoraBase.h:346
@ WARN_LOOKUP_CHANNEL_REJECTED
Definition AgoraBase.h:329
@ WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
Definition AgoraBase.h:405
@ WARN_INVALID_VIEW
Definition AgoraBase.h:303
@ WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE
Definition AgoraBase.h:433
@ WARN_ADM_RECORD_MALFUNCTION
Definition AgoraBase.h:397
@ WARN_ADM_RECORD_AUDIO_LOWLEVEL
Definition AgoraBase.h:401
@ WARN_ADM_WINDOWS_NO_DATA_READY_EVENT
Definition AgoraBase.h:413
util::AList< UserInfo > UserList
Definition AgoraBase.h:870
const char * user_id_t
Definition AgoraBase.h:843
ERROR_CODE_TYPE
Error codes.
Definition AgoraBase.h:458
@ ERR_ADM_START_PLAYOUT
Definition AgoraBase.h:763
@ ERR_CERT_SIGN
Definition AgoraBase.h:695
@ ERR_BIND_SOCKET
Definition AgoraBase.h:537
@ ERR_CERT_NULL
Definition AgoraBase.h:698
@ ERR_NOT_READY
Definition AgoraBase.h:482
@ ERR_BUFFER_TOO_SMALL
Definition AgoraBase.h:501
@ ERR_TOO_OFTEN
Definition AgoraBase.h:531
@ ERR_INVALID_APP_ID
Definition AgoraBase.h:590
@ ERR_TIMEDOUT
Definition AgoraBase.h:520
@ ERR_CERT_CREDENTIAL
Definition AgoraBase.h:694
@ ERR_NO_PERMISSION
Definition AgoraBase.h:515
@ ERR_INVALID_USER_ACCOUNT
Definition AgoraBase.h:678
@ ERR_INVALID_USER_ID
Definition AgoraBase.h:655
@ ERR_CERT_JSON_PART
Definition AgoraBase.h:690
@ ERR_LICENSE_CREDENTIAL_INVALID
Definition AgoraBase.h:673
@ ERR_MODULE_NOT_FOUND
Definition AgoraBase.h:686
@ ERR_LOAD_MEDIA_ENGINE
Definition AgoraBase.h:749
@ ERR_OK
Definition AgoraBase.h:462
@ ERR_BITRATE_LIMIT
Definition AgoraBase.h:633
@ ERR_INVALID_TOKEN
Definition AgoraBase.h:611
@ ERR_NO_SERVER_RESOURCES
Definition AgoraBase.h:600
@ ERR_TOKEN_EXPIRED
Definition AgoraBase.h:604
@ ERR_DATASTREAM_DECRYPTION_FAILED
Definition AgoraBase.h:660
@ ERR_INIT_NET_ENGINE
Definition AgoraBase.h:576
@ ERR_ADM_STOP_PLAYOUT
Definition AgoraBase.h:767
@ ERR_INVALID_ARGUMENT
Definition AgoraBase.h:472
@ ERR_JOIN_CHANNEL_REJECTED
Definition AgoraBase.h:552
@ ERR_ADM_INIT_PLAYOUT
Definition AgoraBase.h:759
@ ERR_ADM_GENERAL_ERROR
Definition AgoraBase.h:754
@ ERR_ADM_START_RECORDING
Definition AgoraBase.h:776
@ ERR_STREAM_MESSAGE_TIMEOUT
Definition AgoraBase.h:642
@ ERR_TOO_MANY_DATA_STREAMS
Definition AgoraBase.h:638
@ ERR_FAILED
Definition AgoraBase.h:467
@ ERR_CERT_CUSTOM
Definition AgoraBase.h:693
@ ERR_INVALID_CHANNEL_NAME
Definition AgoraBase.h:595
@ ERR_SIZE_TOO_LARGE
Definition AgoraBase.h:629
@ ERR_ABORTED
Definition AgoraBase.h:571
@ ERR_CERT_DUEDATE
Definition AgoraBase.h:699
@ ERR_NET_DOWN
Definition AgoraBase.h:542
@ ERR_ADM_STOP_RECORDING
Definition AgoraBase.h:780
@ ERR_ADM_INIT_RECORDING
Definition AgoraBase.h:772
@ ERR_CANCELED
Definition AgoraBase.h:525
@ ERR_CLIENT_IS_BANNED_BY_SERVER
Definition AgoraBase.h:664
@ ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
Definition AgoraBase.h:646
@ ERR_RESOURCE_LIMITED
Definition AgoraBase.h:581
@ ERR_PCMSEND_BUFFEROVERFLOW
Definition AgoraBase.h:704
@ ERR_CERT_FAIL
Definition AgoraBase.h:696
@ ERR_DECRYPTION_FAILED
Definition AgoraBase.h:651
@ ERR_CERT_JSON_INVAL
Definition AgoraBase.h:691
@ ERR_CONNECTION_LOST
Definition AgoraBase.h:621
@ ERR_CERT_BUF
Definition AgoraBase.h:697
@ ERR_CERT_JSON_NOMEM
Definition AgoraBase.h:692
@ ERR_VDM_CAMERA_NOT_AUTHORIZED
Definition AgoraBase.h:785
@ ERR_ALREADY_IN_USE
Definition AgoraBase.h:566
@ ERR_NOT_INITIALIZED
Definition AgoraBase.h:506
@ ERR_CERT_RAW
Definition AgoraBase.h:689
@ ERR_LEAVE_CHANNEL_REJECTED
Definition AgoraBase.h:562
@ ERR_CERT_REQUEST
Definition AgoraBase.h:700
@ ERR_REFUSED
Definition AgoraBase.h:497
@ ERR_FUNC_IS_PROHIBITED
Definition AgoraBase.h:586
@ ERR_NOT_SUPPORTED
Definition AgoraBase.h:488
@ ERR_CONNECTION_INTERRUPTED
Definition AgoraBase.h:616
@ ERR_PCMSEND_FORMAT
Definition AgoraBase.h:703
@ ERR_NOT_IN_CHANNEL
Definition AgoraBase.h:625
@ ERR_INVALID_STATE
Definition AgoraBase.h:510
@ ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
Definition AgoraBase.h:668
CHANNEL_PROFILE_TYPE
The channel profile.
Definition AgoraBase.h:267
@ __deprecated
Definition AgoraBase.h:280
@ CHANNEL_PROFILE_COMMUNICATION
Definition AgoraBase.h:271
@ CHANNEL_PROFILE_LIVE_BROADCASTING
Definition AgoraBase.h:275
LICENSE_ERROR_TYPE
Definition AgoraBase.h:788
@ LICENSE_ERR_MINUTES_EXCEED
Definition AgoraBase.h:800
@ LICENSE_ERR_EXPIRE
Definition AgoraBase.h:796
@ LICENSE_ERR_LIMITED_PERIOD
Definition AgoraBase.h:804
@ LICENSE_ERR_INVALID
Definition AgoraBase.h:792
@ LICENSE_ERR_INTERNAL
Definition AgoraBase.h:812
@ LICENSE_ERR_DIFF_DEVICES
Definition AgoraBase.h:808
Definition video_node_i.h:28
The spatial audio parameters.
Definition AgoraBase.h:8046
Optional< int > speaker_orientation
Definition AgoraBase.h:8076
Optional< double > speaker_azimuth
Definition AgoraBase.h:8056
Optional< double > speaker_elevation
Definition AgoraBase.h:8064
Optional< bool > enable_air_absorb
Definition AgoraBase.h:8091
Optional< bool > enable_blur
Definition AgoraBase.h:8082
Optional< double > speaker_distance
Definition AgoraBase.h:8069
Optional< double > speaker_attenuation
Definition AgoraBase.h:8105
Optional< bool > enable_doppler
Definition AgoraBase.h:8122
UserInfo()
Definition AgoraBase.h:867
bool hasAudio
Definition AgoraBase.h:859
bool hasVideo
Definition AgoraBase.h:865
util::AString userId
Definition AgoraBase.h:853
uint32_t x
Definition AgoraBase.h:8145
uint32_t width
Definition AgoraBase.h:8155
uint32_t videoState
Definition AgoraBase.h:8167
uint32_t height
Definition AgoraBase.h:8159
uint32_t y
Definition AgoraBase.h:8151
VideoLayout()
Definition AgoraBase.h:8169
user_id_t strUid
Definition AgoraBase.h:8139
const char * channelId
Definition AgoraBase.h:8131
rtc::uid_t uid
Definition AgoraBase.h:8135
Advanced options for video encoding.
Definition AgoraBase.h:1867
AdvanceOptions()
Definition AgoraBase.h:1885
ENCODING_PREFERENCE encodingPreference
Definition AgoraBase.h:1871
AdvanceOptions(ENCODING_PREFERENCE encoding_preference, COMPRESSION_PREFERENCE compression_preference, bool encode_alpha)
Definition AgoraBase.h:1889
bool operator==(const AdvanceOptions &rhs) const
Definition AgoraBase.h:1896
COMPRESSION_PREFERENCE compressionPreference
Definition AgoraBase.h:1876
bool encodeAlpha
Definition AgoraBase.h:1883
Advanced options for the Local Access Point.
Definition AgoraBase.h:7851
LogUploadServerInfo logUploadServer
Definition AgoraBase.h:7856
AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType
Definition AgoraBase.h:6803
AUDIO_ENCODING_TYPE encodingType
Definition AgoraBase.h:6807
AudioEncodedFrameObserverConfig()
Definition AgoraBase.h:6809
int16_t channelNum
Definition AgoraBase.h:1621
AudioPcmDataInfo()
Definition AgoraBase.h:1606
size_t samplesPerChannel
Definition AgoraBase.h:1619
int64_t elapsedTimeMs
Definition AgoraBase.h:1631
size_t samplesOut
Definition AgoraBase.h:1627
AudioPcmDataInfo(const AudioPcmDataInfo &rhs)
Definition AgoraBase.h:1609
int64_t ntpTimeMs
Definition AgoraBase.h:1635
AudioRecordingConfiguration(const char *file_path, bool enc, int sample_rate, AUDIO_FILE_RECORDING_TYPE type, AUDIO_RECORDING_QUALITY_TYPE quality_type, int channel)
Definition AgoraBase.h:6777
const char * filePath
Definition AgoraBase.h:6717
int recordingChannel
Definition AgoraBase.h:6758
AudioRecordingConfiguration(const AudioRecordingConfiguration &rhs)
Definition AgoraBase.h:6787
AudioRecordingConfiguration()
Definition AgoraBase.h:6760
AUDIO_FILE_RECORDING_TYPE fileRecordingType
Definition AgoraBase.h:6738
AudioRecordingConfiguration(const char *file_path, int sample_rate, AUDIO_RECORDING_QUALITY_TYPE quality_type, int channel)
Definition AgoraBase.h:6768
bool encode
Definition AgoraBase.h:6723
int sampleRate
Definition AgoraBase.h:6734
AUDIO_RECORDING_QUALITY_TYPE quality
Definition AgoraBase.h:6743
bool enableLocalPlayback
Definition AgoraBase.h:6071
bool enableAudioProcessing
Definition AgoraBase.h:6079
AudioTrackConfig()
Definition AgoraBase.h:6081
unsigned int vad
Definition AgoraBase.h:3994
uid_t uid
Definition AgoraBase.h:3974
unsigned int volume
Definition AgoraBase.h:3983
double voicePitch
Definition AgoraBase.h:4000
AudioVolumeInfo()
Definition AgoraBase.h:4002
float rednessLevel
Definition AgoraBase.h:5430
LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel
Definition AgoraBase.h:5412
BeautyOptions()
Definition AgoraBase.h:5446
float smoothnessLevel
Definition AgoraBase.h:5424
float sharpnessLevel
Definition AgoraBase.h:5436
LIGHTENING_CONTRAST_LEVEL
The contrast level.
Definition AgoraBase.h:5393
@ LIGHTENING_CONTRAST_NORMAL
Definition AgoraBase.h:5401
@ LIGHTENING_CONTRAST_LOW
Definition AgoraBase.h:5397
@ LIGHTENING_CONTRAST_HIGH
Definition AgoraBase.h:5405
BeautyOptions(LIGHTENING_CONTRAST_LEVEL contrastLevel, float lightening, float smoothness, float redness, float sharpness)
Definition AgoraBase.h:5438
float lighteningLevel
Definition AgoraBase.h:5418
ClientRoleOptions()
Definition AgoraBase.h:2999
AUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel
Definition AgoraBase.h:2997
int codecCapMask
Definition AgoraBase.h:2021
CodecCapInfo()
Definition AgoraBase.h:2027
CodecCapLevels codecLevels
Definition AgoraBase.h:2025
VIDEO_CODEC_TYPE codecType
Definition AgoraBase.h:2017
The level of the codec capability.
Definition AgoraBase.h:1993
CodecCapLevels()
Definition AgoraBase.h:2005
VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel
Definition AgoraBase.h:2003
VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel
Definition AgoraBase.h:1998
float strengthLevel
Definition AgoraBase.h:5861
ColorEnhanceOptions()
Definition AgoraBase.h:5879
ColorEnhanceOptions(float stength, float skinProtect)
Definition AgoraBase.h:5876
float skinProtectLevel
Definition AgoraBase.h:5874
The configurations for the data stream.
Definition AgoraBase.h:2179
bool syncWithAudio
Definition AgoraBase.h:2190
bool ordered
Definition AgoraBase.h:2198
bool isLowLatencyAudioSupported
Definition AgoraBase.h:4017
DeviceInfo()
Definition AgoraBase.h:4019
Definition AgoraBase.h:7110
~PeerDownlinkInfo()
Definition AgoraBase.h:7163
PeerDownlinkInfo(const PeerDownlinkInfo &rhs)
Definition AgoraBase.h:7134
PeerDownlinkInfo()
Definition AgoraBase.h:7128
REMOTE_VIDEO_DOWNSCALE_LEVEL current_downscale_level
Definition AgoraBase.h:7122
int expected_bitrate_bps
Definition AgoraBase.h:7126
PeerDownlinkInfo & operator=(const PeerDownlinkInfo &rhs)
Definition AgoraBase.h:7147
const char * userId
Definition AgoraBase.h:7114
VIDEO_STREAM_TYPE stream_type
Definition AgoraBase.h:7118
int total_downscale_level_count
Definition AgoraBase.h:7177
~DownlinkNetworkInfo()
Definition AgoraBase.h:7221
int total_received_video_count
Definition AgoraBase.h:7185
DownlinkNetworkInfo & operator=(const DownlinkNetworkInfo &rhs)
Definition AgoraBase.h:7206
int lastmile_buffer_delay_time_ms
Definition AgoraBase.h:7169
int bandwidth_estimation_bps
Definition AgoraBase.h:7173
PeerDownlinkInfo * peer_downlink_info
Definition AgoraBase.h:7181
DownlinkNetworkInfo(const DownlinkNetworkInfo &info)
Definition AgoraBase.h:7194
DownlinkNetworkInfo()
Definition AgoraBase.h:7187
EchoTestConfiguration()
Definition AgoraBase.h:7548
view_t view
Definition AgoraBase.h:7507
const char * channelId
Definition AgoraBase.h:7535
bool enableVideo
Definition AgoraBase.h:7521
bool enableAudio
Definition AgoraBase.h:7514
EchoTestConfiguration(view_t v, bool ea, bool ev, const char *t, const char *c, const int is)
Definition AgoraBase.h:7545
int intervalInSeconds
Definition AgoraBase.h:7543
const char * token
Definition AgoraBase.h:7529
Definition AgoraBase.h:1541
bool sendEvenIfEmpty
Definition AgoraBase.h:1555
bool speech
Definition AgoraBase.h:1549
EncodedAudioFrameAdvancedSettings()
Definition AgoraBase.h:1542
Audio information after encoding.
Definition AgoraBase.h:1561
int sampleRateHz
Definition AgoraBase.h:1583
EncodedAudioFrameInfo(const EncodedAudioFrameInfo &rhs)
Definition AgoraBase.h:1569
EncodedAudioFrameAdvancedSettings advancedSettings
Definition AgoraBase.h:1595
EncodedAudioFrameInfo()
Definition AgoraBase.h:1562
int samplesPerChannel
Definition AgoraBase.h:1587
AUDIO_CODEC_TYPE codec
Definition AgoraBase.h:1579
int numberOfChannels
Definition AgoraBase.h:1591
int64_t captureTimeMs
Definition AgoraBase.h:1600
int64_t presentationMs
Definition AgoraBase.h:1818
VIDEO_STREAM_TYPE streamType
Definition AgoraBase.h:1815
int height
Definition AgoraBase.h:1784
int64_t captureTimeMs
Definition AgoraBase.h:1807
VIDEO_CODEC_TYPE codecType
Definition AgoraBase.h:1776
int trackId
Definition AgoraBase.h:1802
int framesPerSecond
Definition AgoraBase.h:1790
EncodedVideoFrameInfo & operator=(const EncodedVideoFrameInfo &rhs)
Definition AgoraBase.h:1756
int64_t decodeTimeMs
Definition AgoraBase.h:1811
EncodedVideoFrameInfo(const EncodedVideoFrameInfo &rhs)
Definition AgoraBase.h:1743
VIDEO_FRAME_TYPE frameType
Definition AgoraBase.h:1794
int width
Definition AgoraBase.h:1780
EncodedVideoFrameInfo()
Definition AgoraBase.h:1730
VIDEO_ORIENTATION rotation
Definition AgoraBase.h:1798
bool datastreamEncryptionEnabled
Definition AgoraBase.h:7301
const char * encryptionKey
Definition AgoraBase.h:7287
EncryptionConfig()
Definition AgoraBase.h:7303
uint8_t encryptionKdfSalt[32]
Definition AgoraBase.h:7294
ENCRYPTION_MODE encryptionMode
Definition AgoraBase.h:7281
FACE_SHAPE_AREA shapeArea
Definition AgoraBase.h:5650
FaceShapeAreaOptions(FACE_SHAPE_AREA shapeArea, int areaIntensity)
Definition AgoraBase.h:5658
FACE_SHAPE_AREA
Chooses the specific facial areas that need to be adjusted.
Definition AgoraBase.h:5465
@ FACE_SHAPE_AREA_MANDIBLE
Definition AgoraBase.h:5512
@ FACE_SHAPE_AREA_CHIN
Definition AgoraBase.h:5518
@ FACE_SHAPE_AREA_FACECONTOUR
Definition AgoraBase.h:5484
@ FACE_SHAPE_AREA_MOUTHPOSITION
Definition AgoraBase.h:5618
@ FACE_SHAPE_AREA_NOSEROOT
Definition AgoraBase.h:5586
@ FACE_SHAPE_AREA_EYEDISTANCE
Definition AgoraBase.h:5530
@ FACE_SHAPE_AREA_EYEPOSITION
Definition AgoraBase.h:5537
@ FACE_SHAPE_AREA_MOUTHLIP
Definition AgoraBase.h:5631
@ FACE_SHAPE_AREA_EYESCALE
Definition AgoraBase.h:5523
@ FACE_SHAPE_AREA_EYEINNERCORNER
Definition AgoraBase.h:5556
@ FACE_SHAPE_AREA_NOSELENGTH
Definition AgoraBase.h:5568
@ FACE_SHAPE_AREA_FOREHEAD
Definition AgoraBase.h:5479
@ FACE_SHAPE_AREA_MOUTHSMILE
Definition AgoraBase.h:5624
@ FACE_SHAPE_AREA_NOSEWING
Definition AgoraBase.h:5580
@ FACE_SHAPE_AREA_NOSEWIDTH
Definition AgoraBase.h:5574
@ FACE_SHAPE_AREA_EYEPUPILS
Definition AgoraBase.h:5549
@ FACE_SHAPE_AREA_CHEEK
Definition AgoraBase.h:5506
@ FACE_SHAPE_AREA_LOWEREYELID
Definition AgoraBase.h:5543
@ FACE_SHAPE_AREA_EYEBROWPOSITION
Definition AgoraBase.h:5638
@ FACE_SHAPE_AREA_NOSEGENERAL
Definition AgoraBase.h:5605
@ FACE_SHAPE_AREA_EYEBROWTHICKNESS
Definition AgoraBase.h:5644
@ FACE_SHAPE_AREA_MOUTHSCALE
Definition AgoraBase.h:5612
@ FACE_SHAPE_AREA_HEADSCALE
Definition AgoraBase.h:5474
@ FACE_SHAPE_AREA_CHEEKBONE
Definition AgoraBase.h:5501
@ FACE_SHAPE_AREA_NOSEBRIDGE
Definition AgoraBase.h:5592
@ FACE_SHAPE_AREA_FACELENGTH
Definition AgoraBase.h:5490
@ FACE_SHAPE_AREA_NONE
Definition AgoraBase.h:5469
@ FACE_SHAPE_AREA_FACEWIDTH
Definition AgoraBase.h:5495
@ FACE_SHAPE_AREA_NOSETIP
Definition AgoraBase.h:5598
@ FACE_SHAPE_AREA_EYEOUTERCORNER
Definition AgoraBase.h:5563
FaceShapeAreaOptions()
Definition AgoraBase.h:5660
int shapeIntensity
Definition AgoraBase.h:5656
FACE_SHAPE_BEAUTY_STYLE shapeStyle
Definition AgoraBase.h:5693
FACE_SHAPE_BEAUTY_STYLE
The facial enhancement style options.
Definition AgoraBase.h:5674
@ FACE_SHAPE_BEAUTY_STYLE_NATURAL
Definition AgoraBase.h:5687
@ FACE_SHAPE_BEAUTY_STYLE_FEMALE
Definition AgoraBase.h:5678
@ FACE_SHAPE_BEAUTY_STYLE_MALE
Definition AgoraBase.h:5682
int styleIntensity
Definition AgoraBase.h:5700
FaceShapeBeautyOptions(FACE_SHAPE_BEAUTY_STYLE shapeStyle, int styleIntensity)
Definition AgoraBase.h:5702
FaceShapeBeautyOptions()
Definition AgoraBase.h:5704
const char * path
Definition AgoraBase.h:5730
FilterEffectOptions()
Definition AgoraBase.h:5740
float strength
Definition AgoraBase.h:5736
FilterEffectOptions(const char *lut3dPath, float filterStrength)
Definition AgoraBase.h:5738
Focal length information supported by the camera, including the camera direction and focal length typ...
Definition AgoraBase.h:2037
CAMERA_FOCAL_LENGTH_TYPE focalLengthType
Definition AgoraBase.h:2045
int cameraDirection
Definition AgoraBase.h:2041
Configurations for the Packet instance.
Definition AgoraBase.h:4031
const unsigned char * buffer
Definition AgoraBase.h:4037
unsigned int size
Definition AgoraBase.h:4041
Packet()
Definition AgoraBase.h:4043
Configurations of the last-mile network test.
Definition AgoraBase.h:4941
bool probeUplink
Definition AgoraBase.h:4948
bool probeDownlink
Definition AgoraBase.h:4954
unsigned int expectedUplinkBitrate
Definition AgoraBase.h:4959
unsigned int expectedDownlinkBitrate
Definition AgoraBase.h:4964
Results of the uplink or downlink last-mile network test.
Definition AgoraBase.h:4990
LastmileProbeOneWayResult()
Definition AgoraBase.h:5004
unsigned int packetLossRate
Definition AgoraBase.h:4994
unsigned int availableBandwidth
Definition AgoraBase.h:5002
unsigned int jitter
Definition AgoraBase.h:4998
LastmileProbeOneWayResult downlinkReport
Definition AgoraBase.h:5022
unsigned int rtt
Definition AgoraBase.h:5026
LastmileProbeOneWayResult uplinkReport
Definition AgoraBase.h:5018
LastmileProbeResult()
Definition AgoraBase.h:5028
LASTMILE_PROBE_RESULT_STATE state
Definition AgoraBase.h:5014
The configuration for advanced features of the RTMP or RTMPS streaming with transcoding.
Definition AgoraBase.h:4400
const char * featureName
Definition AgoraBase.h:4413
bool opened
Definition AgoraBase.h:4420
LiveStreamAdvancedFeature(const char *feat_name, bool open)
Definition AgoraBase.h:4402
LiveStreamAdvancedFeature()
Definition AgoraBase.h:4401
bool lowLatency
Definition AgoraBase.h:4584
AUDIO_SAMPLE_RATE_TYPE audioSampleRate
Definition AgoraBase.h:4655
unsigned int backgroundImageCount
Definition AgoraBase.h:4650
int audioChannels
Definition AgoraBase.h:4670
int height
Definition AgoraBase.h:4562
int audioBitrate
Definition AgoraBase.h:4660
LiveStreamAdvancedFeature * advancedFeatures
Definition AgoraBase.h:4678
LiveTranscoding()
Definition AgoraBase.h:4685
unsigned int backgroundColor
Definition AgoraBase.h:4600
RtcImage * backgroundImage
Definition AgoraBase.h:4645
VIDEO_CODEC_PROFILE_TYPE videoCodecProfile
Definition AgoraBase.h:4595
AUDIO_CODEC_PROFILE_TYPE audioCodecProfile
Definition AgoraBase.h:4674
int videoFramerate
Definition AgoraBase.h:4575
const char * metadata
Definition AgoraBase.h:4626
unsigned int watermarkCount
Definition AgoraBase.h:4637
unsigned int userCount
Definition AgoraBase.h:4608
int videoBitrate
Definition AgoraBase.h:4569
RtcImage * watermark
Definition AgoraBase.h:4632
int width
Definition AgoraBase.h:4554
int videoGop
Definition AgoraBase.h:4589
VIDEO_CODEC_TYPE_FOR_STREAM videoCodecType
Definition AgoraBase.h:4604
unsigned int advancedFeatureCount
Definition AgoraBase.h:4683
TranscodingUser * transcodingUsers
Definition AgoraBase.h:4613
const char * transcodingExtraInfo
Definition AgoraBase.h:4619
bool disableAut
Definition AgoraBase.h:7904
AdvancedConfigInfo advancedConfig
Definition AgoraBase.h:7898
LocalAccessPointConfiguration()
Definition AgoraBase.h:7905
const char * verifyDomainName
Definition AgoraBase.h:7890
const char ** ipList
Definition AgoraBase.h:7867
const char ** domainList
Definition AgoraBase.h:7880
int domainListSize
Definition AgoraBase.h:7885
int ipListSize
Definition AgoraBase.h:7872
LOCAL_PROXY_MODE mode
Definition AgoraBase.h:7894
unsigned int streamCount
Definition AgoraBase.h:4920
MixedAudioStream * audioInputStreams
Definition AgoraBase.h:4924
bool syncWithLocalMic
Definition AgoraBase.h:4933
LocalAudioMixerConfiguration()
Definition AgoraBase.h:4935
Local audio statistics.
Definition AgoraBase.h:4159
unsigned short txPacketLossRate
Definition AgoraBase.h:4180
int earMonitorDelay
Definition AgoraBase.h:4192
int audioPlayoutDelay
Definition AgoraBase.h:4188
int audioDeviceDelay
Definition AgoraBase.h:4184
int sentSampleRate
Definition AgoraBase.h:4167
int numChannels
Definition AgoraBase.h:4163
int aecEstimatedDelay
Definition AgoraBase.h:4197
int sentBitrate
Definition AgoraBase.h:4171
int internalCodec
Definition AgoraBase.h:4175
unsigned int streamCount
Definition AgoraBase.h:4795
LocalTranscoderConfiguration()
Definition AgoraBase.h:4815
VideoEncoderConfiguration videoOutputConfiguration
Definition AgoraBase.h:4804
bool syncWithPrimaryCamera
Definition AgoraBase.h:4813
TranscodingVideoStream * videoInputStreams
Definition AgoraBase.h:4799
Configuration information for the log server.
Definition AgoraBase.h:7822
bool serverHttps
Definition AgoraBase.h:7840
LogUploadServerInfo(const char *domain, const char *path, int port, bool https)
Definition AgoraBase.h:7844
const char * serverDomain
Definition AgoraBase.h:7826
const char * serverPath
Definition AgoraBase.h:7830
int serverPort
Definition AgoraBase.h:7834
LogUploadServerInfo()
Definition AgoraBase.h:7842
LowlightEnhanceOptions()
Definition AgoraBase.h:5792
LowlightEnhanceOptions(LOW_LIGHT_ENHANCE_MODE lowlightMode, LOW_LIGHT_ENHANCE_LEVEL lowlightLevel)
Definition AgoraBase.h:5789
LOW_LIGHT_ENHANCE_MODE mode
Definition AgoraBase.h:5782
LOW_LIGHT_ENHANCE_LEVEL
The low-light enhancement level.
Definition AgoraBase.h:5765
@ LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY
Definition AgoraBase.h:5771
@ LOW_LIGHT_ENHANCE_LEVEL_FAST
Definition AgoraBase.h:5776
LOW_LIGHT_ENHANCE_LEVEL level
Definition AgoraBase.h:5787
LOW_LIGHT_ENHANCE_MODE
The low-light enhancement mode.
Definition AgoraBase.h:5750
@ LOW_LIGHT_ENHANCE_AUTO
Definition AgoraBase.h:5756
@ LOW_LIGHT_ENHANCE_MANUAL
Definition AgoraBase.h:5760
The source of the audio streams that are mixed locally.
Definition AgoraBase.h:4857
MixedAudioStream(AUDIO_SOURCE_TYPE source, uid_t uid, const char *channel)
Definition AgoraBase.h:4900
track_id_t trackId
Definition AgoraBase.h:4888
const char * channelId
Definition AgoraBase.h:4881
MixedAudioStream(AUDIO_SOURCE_TYPE source, track_id_t track)
Definition AgoraBase.h:4896
AUDIO_SOURCE_TYPE sourceType
Definition AgoraBase.h:4861
MixedAudioStream(AUDIO_SOURCE_TYPE source)
Definition AgoraBase.h:4890
MixedAudioStream(AUDIO_SOURCE_TYPE source, uid_t uid, const char *channel, track_id_t track)
Definition AgoraBase.h:4905
uid_t remoteUserUid
Definition AgoraBase.h:4867
uint32_t wifiTxBytes
Definition AgoraBase.h:2700
const PathStats * pathStats
Definition AgoraBase.h:2720
uint32_t lanRxBytes
Definition AgoraBase.h:2696
uint32_t wifiRxBytes
Definition AgoraBase.h:2704
uint32_t mobileRxBytes
Definition AgoraBase.h:2712
uint32_t mobileTxBytes
Definition AgoraBase.h:2708
uint32_t lanTxBytes
Definition AgoraBase.h:2692
MultipathStats()
Definition AgoraBase.h:2721
int activePathNum
Definition AgoraBase.h:2716
Statistical information about a specific network path.
Definition AgoraBase.h:2666
MultipathType type
Definition AgoraBase.h:2670
PathStats(MultipathType t, int tx, int rx)
Definition AgoraBase.h:2680
int rxKBitRate
Definition AgoraBase.h:2678
PathStats()
Definition AgoraBase.h:2679
int txKBitRate
Definition AgoraBase.h:2674
uid_t uid
Definition AgoraBase.h:7940
RecorderStreamInfo()
Definition AgoraBase.h:7945
RecorderStreamInfo(const char *channelId, uid_t uid)
Definition AgoraBase.h:7946
RecorderStreamInfo(const char *channelId, uid_t uid, RecorderStreamType type)
Definition AgoraBase.h:7948
RecorderStreamType type
Definition AgoraBase.h:7944
const char * channelId
Definition AgoraBase.h:7936
The location of the target area relative to the screen or window. If you do not set this parameter,...
Definition AgoraBase.h:2336
int x
Definition AgoraBase.h:2340
Rectangle(int xx, int yy, int ww, int hh)
Definition AgoraBase.h:2355
int height
Definition AgoraBase.h:2352
Rectangle()
Definition AgoraBase.h:2354
int y
Definition AgoraBase.h:2344
int width
Definition AgoraBase.h:2348
Image properties.
Definition AgoraBase.h:4351
RtcImage()
Definition AgoraBase.h:4390
int height
Definition AgoraBase.h:4374
double alpha
Definition AgoraBase.h:4388
int x
Definition AgoraBase.h:4361
int width
Definition AgoraBase.h:4370
const char * url
Definition AgoraBase.h:4356
int y
Definition AgoraBase.h:4366
int zOrder
Definition AgoraBase.h:4382
unsigned short rxVideoKBitRate
Definition AgoraBase.h:2783
int firstVideoPacketDurationAfterUnmute
Definition AgoraBase.h:2871
int firstVideoKeyFrameDecodedDurationAfterUnmute
Definition AgoraBase.h:2881
unsigned short rxAudioKBitRate
Definition AgoraBase.h:2775
int memoryAppUsageInKbytes
Definition AgoraBase.h:2836
unsigned int rxBytes
Definition AgoraBase.h:2747
unsigned short txAudioKBitRate
Definition AgoraBase.h:2779
unsigned short lastmileDelay
Definition AgoraBase.h:2791
unsigned int userCount
Definition AgoraBase.h:2795
unsigned int txVideoBytes
Definition AgoraBase.h:2755
unsigned short rxKBitRate
Definition AgoraBase.h:2771
int gatewayRtt
Definition AgoraBase.h:2821
unsigned int duration
Definition AgoraBase.h:2739
int firstVideoPacketDuration
Definition AgoraBase.h:2851
int lanAccelerateState
Definition AgoraBase.h:2902
unsigned int rxAudioBytes
Definition AgoraBase.h:2759
unsigned short txKBitRate
Definition AgoraBase.h:2767
int packetsBeforeFirstKeyFramePacket
Definition AgoraBase.h:2861
int rxPacketLossRate
Definition AgoraBase.h:2896
int firstAudioPacketDuration
Definition AgoraBase.h:2846
int firstAudioPacketDurationAfterUnmute
Definition AgoraBase.h:2866
int firstVideoKeyFramePacketDurationAfterUnmute
Definition AgoraBase.h:2876
int txPacketLossRate
Definition AgoraBase.h:2891
RtcStats()
Definition AgoraBase.h:2904
double cpuTotalUsage
Definition AgoraBase.h:2811
int firstVideoKeyFrameRenderedDurationAfterUnmute
Definition AgoraBase.h:2886
double memoryAppUsageRatio
Definition AgoraBase.h:2826
int connectTimeMs
Definition AgoraBase.h:2841
double memoryTotalUsageRatio
Definition AgoraBase.h:2831
unsigned short txVideoKBitRate
Definition AgoraBase.h:2787
unsigned int txAudioBytes
Definition AgoraBase.h:2751
unsigned int txBytes
Definition AgoraBase.h:2743
unsigned int rxVideoBytes
Definition AgoraBase.h:2763
int firstVideoKeyFramePacketDuration
Definition AgoraBase.h:2856
double cpuAppUsage
Definition AgoraBase.h:2802
The audio configuration for the shared screen stream.
Definition AgoraBase.h:6440
int channels
Definition AgoraBase.h:6448
int sampleRate
Definition AgoraBase.h:6444
bool excludeCurrentProcessAudio
Definition AgoraBase.h:6455
int captureSignalVolume
Definition AgoraBase.h:6452
ScreenAudioParameters()
Definition AgoraBase.h:6456
Screen sharing configurations.
Definition AgoraBase.h:7657
bool captureAudio
Definition AgoraBase.h:7669
bool captureVideo
Definition AgoraBase.h:7682
ScreenVideoParameters videoParams
Definition AgoraBase.h:7687
ScreenAudioParameters audioParams
Definition AgoraBase.h:7674
ScreenCaptureParameters(int width, int height, int f, int b, bool cur, bool fcs, view_t *ex, int cnt)
Definition AgoraBase.h:6631
bool captureAudio
Definition AgoraBase.h:6476
int excludeWindowCount
Definition AgoraBase.h:6549
unsigned int highLightColor
Definition AgoraBase.h:6562
int frameRate
Definition AgoraBase.h:6513
ScreenCaptureParameters(int width, int height, int f, int b, bool cur, bool fcs)
Definition AgoraBase.h:6607
ScreenCaptureParameters(const VideoDimensions &d, int f, int b)
Definition AgoraBase.h:6584
int bitrate
Definition AgoraBase.h:6519
ScreenAudioParameters audioParams
Definition AgoraBase.h:6482
ScreenCaptureParameters(int width, int height, int f, int b)
Definition AgoraBase.h:6595
ScreenCaptureParameters()
Definition AgoraBase.h:6572
int highLightWidth
Definition AgoraBase.h:6556
view_t * excludeWindowList
Definition AgoraBase.h:6543
VideoDimensions dimensions
Definition AgoraBase.h:6507
ScreenCaptureParameters(int width, int height, int f, int b, view_t *ex, int cnt)
Definition AgoraBase.h:6619
bool captureMouseCursor
Definition AgoraBase.h:6527
bool windowFocus
Definition AgoraBase.h:6536
bool enableHighLight
Definition AgoraBase.h:6570
The video configuration for the shared screen stream.
Definition AgoraBase.h:7633
int bitrate
Definition AgoraBase.h:7645
VIDEO_CONTENT_HINT contentHint
Definition AgoraBase.h:7649
int frameRate
Definition AgoraBase.h:7641
VideoDimensions dimensions
Definition AgoraBase.h:7637
ScreenVideoParameters()
Definition AgoraBase.h:7651
SCREEN_COLOR_TYPE screenColorType
Definition AgoraBase.h:6031
SEG_MODEL_TYPE
The type of algorithms to user for background processing.
Definition AgoraBase.h:5984
@ SEG_MODEL_AI
Definition AgoraBase.h:5988
@ SEG_MODEL_GREEN
Definition AgoraBase.h:5992
float greenCapacity
Definition AgoraBase.h:6026
SegmentationProperty()
Definition AgoraBase.h:6033
SCREEN_COLOR_TYPE
Screen color type.
Definition AgoraBase.h:5998
@ SCREEN_COLOR_GREEN
Definition AgoraBase.h:6006
@ SCREEN_COLOR_AUTO
Definition AgoraBase.h:6002
@ SCREEN_COLOR_BLUE
Definition AgoraBase.h:6010
SEG_MODEL_TYPE modelType
Definition AgoraBase.h:6016
SenderOptions()
Definition AgoraBase.h:1408
VIDEO_CODEC_TYPE codecType
Definition AgoraBase.h:1345
TCcMode ccMode
Definition AgoraBase.h:1340
int targetBitrate
Definition AgoraBase.h:1406
Configures the parameters of a specific layer in multi-quality video streams.
Definition AgoraBase.h:2298
int framerate
Definition AgoraBase.h:2306
bool enable
Definition AgoraBase.h:2312
VideoDimensions dimensions
Definition AgoraBase.h:2302
StreamLayerConfig()
Definition AgoraBase.h:2313
StreamLayerIndex
Index of video streams of different quality levels.
Definition AgoraBase.h:2256
@ STREAM_LAYER_4
Definition AgoraBase.h:2272
@ STREAM_LAYER_COUNT_MAX
Definition AgoraBase.h:2288
@ STREAM_LOW
Definition AgoraBase.h:2284
@ STREAM_LAYER_5
Definition AgoraBase.h:2276
@ STREAM_LAYER_3
Definition AgoraBase.h:2268
@ STREAM_LAYER_1
Definition AgoraBase.h:2260
@ STREAM_LAYER_2
Definition AgoraBase.h:2264
@ STREAM_LAYER_6
Definition AgoraBase.h:2280
SimulcastConfig()
Definition AgoraBase.h:2330
StreamLayerConfig configs[STREAM_LAYER_COUNT_MAX]
Definition AgoraBase.h:2319
bool publish_fallback_enable
Definition AgoraBase.h:2328
int kBitrate
Definition AgoraBase.h:2235
bool operator==(const SimulcastStreamConfig &rhs) const
Definition AgoraBase.h:2242
SimulcastStreamConfig(const SimulcastStreamConfig &other)
Definition AgoraBase.h:2241
SimulcastStreamConfig()
Definition AgoraBase.h:2240
int framerate
Definition AgoraBase.h:2239
VideoDimensions dimensions
Definition AgoraBase.h:2229
Transcoding configurations of each host.
Definition AgoraBase.h:4478
int y
Definition AgoraBase.h:4494
uid_t uid
Definition AgoraBase.h:4482
double alpha
Definition AgoraBase.h:4517
int x
Definition AgoraBase.h:4488
int zOrder
Definition AgoraBase.h:4511
TranscodingUser()
Definition AgoraBase.h:4539
int height
Definition AgoraBase.h:4502
int audioChannel
Definition AgoraBase.h:4537
int width
Definition AgoraBase.h:4498
The video streams for local video mixing.
Definition AgoraBase.h:4714
int zOrder
Definition AgoraBase.h:4761
uid_t remoteUserUid
Definition AgoraBase.h:4724
int height
Definition AgoraBase.h:4754
int y
Definition AgoraBase.h:4746
double alpha
Definition AgoraBase.h:4766
int width
Definition AgoraBase.h:4750
TranscodingVideoStream()
Definition AgoraBase.h:4775
int x
Definition AgoraBase.h:4741
int mediaPlayerId
Definition AgoraBase.h:4736
const char * imageUrl
Definition AgoraBase.h:4731
bool mirror
Definition AgoraBase.h:4773
VIDEO_SOURCE_TYPE sourceType
Definition AgoraBase.h:4718
bool operator==(const UplinkNetworkInfo &rhs) const
Definition AgoraBase.h:7104
int video_encoder_target_bitrate_bps
Definition AgoraBase.h:7100
UplinkNetworkInfo()
Definition AgoraBase.h:7102
char userAccount[MAX_USER_ACCOUNT_LENGTH]
Definition AgoraBase.h:7568
UserInfo()
Definition AgoraBase.h:7570
uid_t uid
Definition AgoraBase.h:7564
uid_t subviewUid
Definition AgoraBase.h:5268
VIDEO_VIEW_SETUP_MODE setupMode
Definition AgoraBase.h:5295
bool enableAlphaMask
Definition AgoraBase.h:5322
media::base::VIDEO_MODULE_POSITION position
Definition AgoraBase.h:5326
VideoCanvas(view_t v, media::base::RENDER_MODE_TYPE m, VIDEO_MIRROR_MODE_TYPE mt)
Definition AgoraBase.h:5342
Rectangle cropArea
Definition AgoraBase.h:5309
VIDEO_MIRROR_MODE_TYPE mirrorMode
Definition AgoraBase.h:5291
uint32_t backgroundColor
Definition AgoraBase.h:5279
uid_t uid
Definition AgoraBase.h:5263
VIDEO_SOURCE_TYPE sourceType
Definition AgoraBase.h:5299
VideoCanvas(view_t v, media::base::RENDER_MODE_TYPE m, VIDEO_MIRROR_MODE_TYPE mt, uid_t u)
Definition AgoraBase.h:5356
int mediaPlayerId
Definition AgoraBase.h:5303
VideoCanvas(view_t v, media::base::RENDER_MODE_TYPE m, VIDEO_MIRROR_MODE_TYPE mt, uid_t u, uid_t subu)
Definition AgoraBase.h:5370
media::base::RENDER_MODE_TYPE renderMode
Definition AgoraBase.h:5283
VideoCanvas()
Definition AgoraBase.h:5328
view_t view
Definition AgoraBase.h:5274
VideoDenoiserOptions(VIDEO_DENOISER_MODE denoiserMode, VIDEO_DENOISER_LEVEL denoiserLevel)
Definition AgoraBase.h:5844
VIDEO_DENOISER_LEVEL level
Definition AgoraBase.h:5842
VIDEO_DENOISER_LEVEL
Video noise reduction level.
Definition AgoraBase.h:5818
@ VIDEO_DENOISER_LEVEL_FAST
Definition AgoraBase.h:5832
@ VIDEO_DENOISER_LEVEL_HIGH_QUALITY
Definition AgoraBase.h:5824
VIDEO_DENOISER_MODE mode
Definition AgoraBase.h:5837
VideoDenoiserOptions()
Definition AgoraBase.h:5847
VIDEO_DENOISER_MODE
Video noise reduction mode.
Definition AgoraBase.h:5804
@ VIDEO_DENOISER_AUTO
Definition AgoraBase.h:5809
@ VIDEO_DENOISER_MANUAL
Definition AgoraBase.h:5813
The video dimension.
Definition AgoraBase.h:1160
VideoDimensions()
Definition AgoraBase.h:1169
bool operator==(const VideoDimensions &rhs) const
Definition AgoraBase.h:1171
int height
Definition AgoraBase.h:1168
int width
Definition AgoraBase.h:1164
VideoDimensions(int w, int h)
Definition AgoraBase.h:1170
Video encoder configurations.
Definition AgoraBase.h:2051
VIDEO_MIRROR_MODE_TYPE mirrorMode
Definition AgoraBase.h:2103
DEGRADATION_PREFERENCE degradationPreference
Definition AgoraBase.h:2096
AdvanceOptions advanceOptions
Definition AgoraBase.h:2108
VideoEncoderConfiguration & operator=(const VideoEncoderConfiguration &rhs)
Definition AgoraBase.h:2151
VIDEO_CODEC_TYPE codecType
Definition AgoraBase.h:2055
VideoEncoderConfiguration()
Definition AgoraBase.h:2140
int minBitrate
Definition AgoraBase.h:2085
VideoEncoderConfiguration(int width, int height, int f, int b, ORIENTATION_MODE m, VIDEO_MIRROR_MODE_TYPE mirror=VIDEO_MIRROR_MODE_DISABLED)
Definition AgoraBase.h:2120
VideoEncoderConfiguration(const VideoDimensions &d, int f, int b, ORIENTATION_MODE m, VIDEO_MIRROR_MODE_TYPE mirror=VIDEO_MIRROR_MODE_DISABLED)
Definition AgoraBase.h:2110
ORIENTATION_MODE orientationMode
Definition AgoraBase.h:2089
int frameRate
Definition AgoraBase.h:2065
VideoEncoderConfiguration(const VideoEncoderConfiguration &config)
Definition AgoraBase.h:2130
int bitrate
Definition AgoraBase.h:2075
VideoDimensions dimensions
Definition AgoraBase.h:2061
Indicators during video frame rendering progress.
Definition AgoraBase.h:7708
int remoteJoined2PacketReceived
Definition AgoraBase.h:7790
int joinSuccess2RemoteJoined
Definition AgoraBase.h:7745
int remoteJoined2UnmuteVideo
Definition AgoraBase.h:7775
int start2JoinChannel
Definition AgoraBase.h:7723
int remoteJoined2SetView
Definition AgoraBase.h:7760
int elapsedTime
Definition AgoraBase.h:7714
int join2JoinSuccess
Definition AgoraBase.h:7730
Optional< bool > encodedFrameOnly
Definition AgoraBase.h:1711
Optional< VIDEO_STREAM_TYPE > type
Definition AgoraBase.h:1704
VideoSubscriptionOptions()
Definition AgoraBase.h:1713
VIDEO_CODEC_TYPE codecType
Definition AgoraBase.h:3920
uint32_t observationPosition
Definition AgoraBase.h:3934
uid_t ownerUid
Definition AgoraBase.h:3908
track_id_t trackId
Definition AgoraBase.h:3912
VIDEO_SOURCE_TYPE sourceType
Definition AgoraBase.h:3930
bool isLocal
Definition AgoraBase.h:3904
bool encodedFrameOnly
Definition AgoraBase.h:3926
VideoTrackInfo()
Definition AgoraBase.h:3890
const char * channelId
Definition AgoraBase.h:3916
BACKGROUND_SOURCE_TYPE
The custom background.
Definition AgoraBase.h:5889
@ BACKGROUND_IMG
Definition AgoraBase.h:5903
@ BACKGROUND_NONE
Definition AgoraBase.h:5895
@ BACKGROUND_BLUR
Definition AgoraBase.h:5907
@ BACKGROUND_COLOR
Definition AgoraBase.h:5899
@ BACKGROUND_VIDEO
Definition AgoraBase.h:5911
BACKGROUND_BLUR_DEGREE blur_degree
Definition AgoraBase.h:5968
const char * source
Definition AgoraBase.h:5961
unsigned int color
Definition AgoraBase.h:5952
VirtualBackgroundSource()
Definition AgoraBase.h:5970
BACKGROUND_SOURCE_TYPE background_source_type
Definition AgoraBase.h:5938
BACKGROUND_BLUR_DEGREE
The degree of blurring applied to the custom background image.
Definition AgoraBase.h:5917
@ BLUR_DEGREE_MEDIUM
Definition AgoraBase.h:5927
@ BLUR_DEGREE_HIGH
Definition AgoraBase.h:5932
@ BLUR_DEGREE_LOW
Definition AgoraBase.h:5922
Configures the format, size, and pixel buffer of the watermark image.
Definition AgoraBase.h:2546
media::base::VIDEO_PIXEL_FORMAT format
Definition AgoraBase.h:2565
int width
Definition AgoraBase.h:2551
int height
Definition AgoraBase.h:2555
WatermarkBuffer()
Definition AgoraBase.h:2572
const uint8_t * buffer
Definition AgoraBase.h:2570
int length
Definition AgoraBase.h:2559
WatermarkConfig()
Definition AgoraBase.h:2617
WatermarkBuffer buffer
Definition AgoraBase.h:2593
const char * id
Definition AgoraBase.h:2584
WATERMARK_SOURCE_TYPE type
Definition AgoraBase.h:2588
WatermarkTimestamp timestamp
Definition AgoraBase.h:2599
WatermarkLiteral literal
Definition AgoraBase.h:2605
WatermarkOptions options
Definition AgoraBase.h:2615
const char * imageUrl
Definition AgoraBase.h:2609
The definition of the WatermarkLiteral struct.
Definition AgoraBase.h:2509
const char * fontFilePath
Definition AgoraBase.h:2531
WatermarkLiteral()
Definition AgoraBase.h:2533
int fontSize
Definition AgoraBase.h:2514
const char * wmLiteral
Definition AgoraBase.h:2524
int strokeWidth
Definition AgoraBase.h:2518
Watermark image configurations.
Definition AgoraBase.h:2402
int zOrder
Definition AgoraBase.h:2431
bool visibleInPreview
Definition AgoraBase.h:2408
WATERMARK_FIT_MODE mode
Definition AgoraBase.h:2427
Rectangle positionInLandscapeMode
Definition AgoraBase.h:2413
Rectangle positionInPortraitMode
Definition AgoraBase.h:2418
WatermarkOptions()
Definition AgoraBase.h:2433
WatermarkRatio watermarkRatio
Definition AgoraBase.h:2423
The position and size of the watermark on the screen.
Definition AgoraBase.h:2370
float widthRatio
Definition AgoraBase.h:2389
float xRatio
Definition AgoraBase.h:2376
float yRatio
Definition AgoraBase.h:2382
WatermarkRatio(float x, float y, float width)
Definition AgoraBase.h:2392
WatermarkRatio()
Definition AgoraBase.h:2391
The definition of the WatermarkTimestamp struct.
Definition AgoraBase.h:2475
WatermarkTimestamp()
Definition AgoraBase.h:2500
int strokeWidth
Definition AgoraBase.h:2490
const char * fontFilePath
Definition AgoraBase.h:2486
int fontSize
Definition AgoraBase.h:2479
const char * format
Definition AgoraBase.h:2498