Agora C++ API Reference for All Platforms

AgoraBase.h
1 //
2 // Agora Engine SDK
3 //
4 // Created by Sting Feng in 2017-11.
5 // Copyright (c) 2017 Agora.io. All rights reserved.
6 //
7
8 // This header file is included by both high level and low level APIs,
9 #pragma once // NOLINT(build/header_guard)
10
11 #include <stdarg.h>
12 #include <stddef.h>
13 #include <stdio.h>
14 #include <string.h>
15 #include <cassert>
16
17 #include "IAgoraParameter.h"
18 #include "AgoraMediaBase.h"
19 #include "AgoraRefPtr.h"
20 #include "AgoraOptional.h"
21
22 #define MAX_PATH_260 (260)
23
24 #if defined(_WIN32)
25
26 #ifndef WIN32_LEAN_AND_MEAN
27 #define WIN32_LEAN_AND_MEAN
28 #endif // !WIN32_LEAN_AND_MEAN
29 #if defined(__aarch64__)
30 #include <arm64intr.h>
31 #endif
32 #include <Windows.h>
33
34 #if defined(AGORARTC_EXPORT)
35 #define AGORA_API extern "C" __declspec(dllexport)
36 #define AGORA_CPP_API __declspec(dllexport)
37 #else
38 #define AGORA_API extern "C" __declspec(dllimport)
39 #define AGORA_CPP_API __declspec(dllimport)
40 #endif // AGORARTC_EXPORT
41
42 #define AGORA_CALL __cdecl
43
44 #define __deprecated
45
46 #define AGORA_CPP_INTERNAL_API extern
47
48 #elif defined(__APPLE__)
49
50 #include <TargetConditionals.h>
51
52 #define AGORA_API extern "C" __attribute__((visibility("default")))
53 #define AGORA_CPP_API __attribute__((visibility("default")))
54 #define AGORA_CALL
55
56 #define AGORA_CPP_INTERNAL_API __attribute__((visibility("hidden")))
57
58 #elif defined(__ANDROID__) || defined(__linux__)
59
60 #define AGORA_API extern "C" __attribute__((visibility("default")))
61 #define AGORA_CPP_API __attribute__((visibility("default")))
62 #define AGORA_CALL
63
64 #define __deprecated
65
66 #define AGORA_CPP_INTERNAL_API __attribute__((visibility("hidden")))
67
68 #else // !_WIN32 && !__APPLE__ && !(__ANDROID__ || __linux__)
69
70 #define AGORA_API extern "C"
71 #define AGORA_CPP_API
72 #define AGORA_CALL
73
74 #define __deprecated
75
76 #endif // _WIN32
77
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
81 #else
82 #define OPTIONAL_ENUM_SIZE_T enum
83 #endif
84 #endif
85
86 #ifndef OPTIONAL_NULLPTR
87 #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)
88 #define OPTIONAL_NULLPTR nullptr
89 #else
90 #define OPTIONAL_NULLPTR NULL
91 #endif
92 #endif
93
94 #define INVALID_DISPLAY_ID (-2)
95
96 namespace agora {
97 namespace util {
98
99 template <class T>
100 class AutoPtr {
101 protected:
102 typedef T value_type;
103 typedef T* pointer_type;
104
105 public:
106 explicit AutoPtr(pointer_type p = OPTIONAL_NULLPTR) : ptr_(p) {}
107
108 ~AutoPtr() {
109 if (ptr_) {
110 ptr_->release();
111 ptr_ = OPTIONAL_NULLPTR;
112 }
113 }
114
115 operator bool() const { return (ptr_ != OPTIONAL_NULLPTR); }
116
117 value_type& operator*() const { return *get(); }
118
119 pointer_type operator->() const { return get(); }
120
121 pointer_type get() const { return ptr_; }
122
123 pointer_type release() {
124 pointer_type ret = ptr_;
125 ptr_ = 0;
126 return ret;
127 }
128
129 void reset(pointer_type ptr = OPTIONAL_NULLPTR) {
130 if (ptr != ptr_ && ptr_) {
131 ptr_->release();
132 }
133
134 ptr_ = ptr;
135 }
136
137 template <class C1, class C2>
138 bool queryInterface(C1* c, C2 iid) {
139 pointer_type p = OPTIONAL_NULLPTR;
140 if (c && !c->queryInterface(iid, reinterpret_cast<void**>(&p))) {
141 reset(p);
142 }
143
144 return (p != OPTIONAL_NULLPTR);
145 }
146
147 private:
148 AutoPtr(const AutoPtr&);
149 AutoPtr& operator=(const AutoPtr&);
150
151 private:
152 pointer_type ptr_;
153 };
154
155 template <class T>
156 class CopyableAutoPtr : public AutoPtr<T> {
157 typedef typename AutoPtr<T>::pointer_type pointer_type;
158
159 public:
160 explicit CopyableAutoPtr(pointer_type p = 0) : AutoPtr<T>(p) {}
161 CopyableAutoPtr(const CopyableAutoPtr& rhs) { this->reset(rhs.clone()); }
162 CopyableAutoPtr& operator=(const CopyableAutoPtr& rhs) {
163 if (this != &rhs) this->reset(rhs.clone());
164 return *this;
165 }
166 pointer_type clone() const {
167 if (!this->get()) return OPTIONAL_NULLPTR;
168 return this->get()->clone();
169 }
170 };
171
172 class IString {
173 public:
174 virtual bool empty() const = 0;
175 virtual const char* c_str() = 0;
176 virtual const char* data() = 0;
177 virtual size_t length() = 0;
178 virtual IString* clone() = 0;
179 virtual void release() = 0;
180 virtual ~IString() {}
181 };
182 typedef CopyableAutoPtr<IString> AString;
183
184 class IIterator {
185 public:
186 virtual void* current() = 0;
187 virtual const void* const_current() const = 0;
188 virtual bool next() = 0;
189 virtual void release() = 0;
190 virtual ~IIterator() {}
191 };
192
193 class IContainer {
194 public:
195 virtual IIterator* begin() = 0;
196 virtual size_t size() const = 0;
197 virtual void release() = 0;
198 virtual ~IContainer() {}
199 };
200
201 template <class T>
202 class AOutputIterator {
203 IIterator* p;
204
205 public:
206 typedef T value_type;
207 typedef value_type& reference;
208 typedef const value_type& const_reference;
209 typedef value_type* pointer;
210 typedef const value_type* const_pointer;
211 explicit AOutputIterator(IIterator* it = OPTIONAL_NULLPTR) : p(it) {}
212 ~AOutputIterator() {
213 if (p) p->release();
214 }
215 AOutputIterator(const AOutputIterator& rhs) : p(rhs.p) {}
216 AOutputIterator& operator++() {
217 p->next();
218 return *this;
219 }
220 bool operator==(const AOutputIterator& rhs) const {
221 if (p && rhs.p)
222 return p->current() == rhs.p->current();
223 else
224 return valid() == rhs.valid();
225 }
226 bool operator!=(const AOutputIterator& rhs) const { return !this->operator==(rhs); }
227 reference operator*() { return *reinterpret_cast<pointer>(p->current()); }
228 const_reference operator*() const { return *reinterpret_cast<const_pointer>(p->const_current()); }
229 bool valid() const { return p && p->current() != OPTIONAL_NULLPTR; }
230 };
231
232 template <class T>
233 class AList {
234 IContainer* container;
235 bool owner;
236
237 public:
238 typedef T value_type;
239 typedef value_type& reference;
240 typedef const value_type& const_reference;
241 typedef value_type* pointer;
242 typedef const value_type* const_pointer;
243 typedef size_t size_type;
244 typedef AOutputIterator<value_type> iterator;
245 typedef const AOutputIterator<value_type> const_iterator;
246
247 public:
248 AList() : container(OPTIONAL_NULLPTR), owner(false) {}
249 AList(IContainer* c, bool take_ownership) : container(c), owner(take_ownership) {}
250 ~AList() { reset(); }
251 void reset(IContainer* c = OPTIONAL_NULLPTR, bool take_ownership = false) {
252 if (owner && container) container->release();
253 container = c;
254 owner = take_ownership;
255 }
256 iterator begin() { return container ? iterator(container->begin()) : iterator(OPTIONAL_NULLPTR); }
257 iterator end() { return iterator(OPTIONAL_NULLPTR); }
258 size_type size() const { return container ? container->size() : 0; }
259 bool empty() const { return size() == 0; }
260 };
261
262 } // namespace util
263
267 enum CHANNEL_PROFILE_TYPE {
273 CHANNEL_PROFILE_COMMUNICATION = 0,
279 CHANNEL_PROFILE_LIVE_BROADCASTING = 1,
284 CHANNEL_PROFILE_GAME __deprecated = 2,
290 CHANNEL_PROFILE_CLOUD_GAMING __deprecated = 3,
291
296 CHANNEL_PROFILE_COMMUNICATION_1v1 __deprecated = 4,
297 };
298
302 enum WARN_CODE_TYPE {
307 WARN_INVALID_VIEW = 8,
312 WARN_INIT_VIDEO = 16,
317 WARN_PENDING = 20,
322 WARN_NO_AVAILABLE_CHANNEL = 103,
328 WARN_LOOKUP_CHANNEL_TIMEOUT = 104,
333 WARN_LOOKUP_CHANNEL_REJECTED = 105,
339 WARN_OPEN_CHANNEL_TIMEOUT = 106,
344 WARN_OPEN_CHANNEL_REJECTED = 107,
345
346 // sdk: 100~1000
350 WARN_SWITCH_LIVE_VIDEO_TIMEOUT = 111,
354 WARN_SET_CLIENT_ROLE_TIMEOUT = 118,
358 WARN_OPEN_CHANNEL_INVALID_TICKET = 121,
362 WARN_OPEN_CHANNEL_TRY_NEXT_VOS = 122,
366 WARN_CHANNEL_CONNECTION_UNRECOVERABLE = 131,
370 WARN_CHANNEL_CONNECTION_IP_CHANGED = 132,
374 WARN_CHANNEL_CONNECTION_PORT_CHANGED = 133,
377 WARN_CHANNEL_SOCKET_ERROR = 134,
381 WARN_AUDIO_MIXING_OPEN_ERROR = 701,
385 WARN_ADM_RUNTIME_PLAYOUT_WARNING = 1014,
389 WARN_ADM_RUNTIME_RECORDING_WARNING = 1016,
393 WARN_ADM_RECORD_AUDIO_SILENCE = 1019,
397 WARN_ADM_PLAYOUT_MALFUNCTION = 1020,
401 WARN_ADM_RECORD_MALFUNCTION = 1021,
405 WARN_ADM_RECORD_AUDIO_LOWLEVEL = 1031,
409 WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL = 1032,
413 WARN_ADM_RECORD_IS_OCCUPIED = 1033,
421 WARN_ADM_WINDOWS_NO_DATA_READY_EVENT = 1040,
425 WARN_APM_HOWLING = 1051,
429 WARN_ADM_GLITCH_STATE = 1052,
433 WARN_ADM_IMPROPER_SETTINGS = 1053,
437 WARN_ADM_POP_STATE = 1055,
441 WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE = 1322,
446 WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE = 1323,
454 WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE = 1324,
455 };
456
460 enum ERROR_CODE_TYPE {
464 ERR_OK = 0,
465 // 1~1000
469 ERR_FAILED = 1,
474 ERR_INVALID_ARGUMENT = 2,
481 ERR_NOT_READY = 3,
485 ERR_NOT_SUPPORTED = 4,
489 ERR_REFUSED = 5,
493 ERR_BUFFER_TOO_SMALL = 6,
497 ERR_NOT_INITIALIZED = 7,
501 ERR_INVALID_STATE = 8,
506 ERR_NO_PERMISSION = 9,
512 ERR_TIMEDOUT = 10,
517 ERR_CANCELED = 11,
523 ERR_TOO_OFTEN = 12,
529 ERR_BIND_SOCKET = 13,
534 ERR_NET_DOWN = 14,
540 ERR_JOIN_CHANNEL_REJECTED = 17,
547 ERR_LEAVE_CHANNEL_REJECTED = 18,
551 ERR_ALREADY_IN_USE = 19,
556 ERR_ABORTED = 20,
561 ERR_INIT_NET_ENGINE = 21,
566 ERR_RESOURCE_LIMITED = 22,
573 ERR_INVALID_APP_ID = 101,
578 ERR_INVALID_CHANNEL_NAME = 102,
584 ERR_NO_SERVER_RESOURCES = 103,
597 ERR_TOKEN_EXPIRED = 109,
614 ERR_INVALID_TOKEN = 110,
619 ERR_CONNECTION_INTERRUPTED = 111, // only used in web sdk
624 ERR_CONNECTION_LOST = 112, // only used in web sdk
629 ERR_NOT_IN_CHANNEL = 113,
634 ERR_SIZE_TOO_LARGE = 114,
639 ERR_BITRATE_LIMIT = 115,
644 ERR_TOO_MANY_DATA_STREAMS = 116,
648 ERR_STREAM_MESSAGE_TIMEOUT = 117,
652 ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED = 119,
657 ERR_DECRYPTION_FAILED = 120,
661 ERR_INVALID_USER_ID = 121,
666 ERR_DATASTREAM_DECRYPTION_FAILED = 122,
670 ERR_CLIENT_IS_BANNED_BY_SERVER = 123,
676 ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH = 130,
677
681 ERR_LICENSE_CREDENTIAL_INVALID = 131,
682
687 ERR_INVALID_USER_ACCOUNT = 134,
688
695 ERR_MODULE_NOT_FOUND = 157,
696
697 // Licensing, keep the license error code same as the main version
698 ERR_CERT_RAW = 157,
699 ERR_CERT_JSON_PART = 158,
700 ERR_CERT_JSON_INVAL = 159,
701 ERR_CERT_JSON_NOMEM = 160,
702 ERR_CERT_CUSTOM = 161,
703 ERR_CERT_CREDENTIAL = 162,
704 ERR_CERT_SIGN = 163,
705 ERR_CERT_FAIL = 164,
706 ERR_CERT_BUF = 165,
707 ERR_CERT_NULL = 166,
708 ERR_CERT_DUEDATE = 167,
709 ERR_CERT_REQUEST = 168,
710
711 // PcmSend Error num
712 ERR_PCMSEND_FORMAT = 200, // unsupport pcm format
713 ERR_PCMSEND_BUFFEROVERFLOW = 201, // buffer overflow, the pcm send rate too quickly
714
716 // signaling: 400~600
717 ERR_LOGIN_ALREADY_LOGIN = 428,
718
720 // 1001~2000
724 ERR_LOAD_MEDIA_ENGINE = 1001,
730 ERR_ADM_GENERAL_ERROR = 1005,
735 ERR_ADM_INIT_PLAYOUT = 1008,
739 ERR_ADM_START_PLAYOUT = 1009,
743 ERR_ADM_STOP_PLAYOUT = 1010,
748 ERR_ADM_INIT_RECORDING = 1011,
752 ERR_ADM_START_RECORDING = 1012,
756 ERR_ADM_STOP_RECORDING = 1013,
760 ERR_VDM_CAMERA_NOT_AUTHORIZED = 1501,
761 };
762
763 enum LICENSE_ERROR_TYPE {
767 LICENSE_ERR_INVALID = 1,
771 LICENSE_ERR_EXPIRE = 2,
775 LICENSE_ERR_MINUTES_EXCEED = 3,
779 LICENSE_ERR_LIMITED_PERIOD = 4,
783 LICENSE_ERR_DIFF_DEVICES = 5,
787 LICENSE_ERR_INTERNAL = 99,
788 };
789
793 enum AUDIO_SESSION_OPERATION_RESTRICTION {
797 AUDIO_SESSION_OPERATION_RESTRICTION_NONE = 0,
801 AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY = 1,
805 AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION = 1 << 1,
810 AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION = 1 << 2,
815 AUDIO_SESSION_OPERATION_RESTRICTION_ALL = 1 << 7,
816 };
817
818 typedef const char* user_id_t;
819 typedef void* view_t;
820
824 struct UserInfo {
828 util::AString userId;
834 bool hasAudio;
840 bool hasVideo;
841
842 UserInfo() : hasAudio(false), hasVideo(false) {}
843 };
844
845 typedef util::AList<UserInfo> UserList;
846
847 // Shared between Agora Service and Rtc Engine
848 namespace rtc {
849
853 enum USER_OFFLINE_REASON_TYPE {
857 USER_OFFLINE_QUIT = 0,
863 USER_OFFLINE_DROPPED = 1,
867 USER_OFFLINE_BECOME_AUDIENCE = 2,
868 };
869
870 enum INTERFACE_ID_TYPE {
871 AGORA_IID_AUDIO_DEVICE_MANAGER = 1,
872 AGORA_IID_VIDEO_DEVICE_MANAGER = 2,
873 AGORA_IID_PARAMETER_ENGINE = 3,
874 AGORA_IID_MEDIA_ENGINE = 4,
875 AGORA_IID_AUDIO_ENGINE = 5,
876 AGORA_IID_VIDEO_ENGINE = 6,
877 AGORA_IID_RTC_CONNECTION = 7,
878 AGORA_IID_SIGNALING_ENGINE = 8,
879 AGORA_IID_MEDIA_ENGINE_REGULATOR = 9,
880 AGORA_IID_LOCAL_SPATIAL_AUDIO = 11,
881 AGORA_IID_STATE_SYNC = 13,
882 AGORA_IID_META_SERVICE = 14,
883 AGORA_IID_MUSIC_CONTENT_CENTER = 15,
884 AGORA_IID_H265_TRANSCODER = 16,
885 };
886
890 enum QUALITY_TYPE {
895 QUALITY_UNKNOWN __deprecated = 0,
899 QUALITY_EXCELLENT = 1,
904 QUALITY_GOOD = 2,
908 QUALITY_POOR = 3,
912 QUALITY_BAD = 4,
916 QUALITY_VBAD = 5,
920 QUALITY_DOWN = 6,
924 QUALITY_UNSUPPORTED = 7,
928 QUALITY_DETECTING = 8,
929 };
930
934 enum FIT_MODE_TYPE {
939 MODE_COVER = 1,
940
946 MODE_CONTAIN = 2,
947 };
948
952 enum VIDEO_ORIENTATION {
956 VIDEO_ORIENTATION_0 = 0,
960 VIDEO_ORIENTATION_90 = 90,
964 VIDEO_ORIENTATION_180 = 180,
968 VIDEO_ORIENTATION_270 = 270
969 };
970
974 enum FRAME_RATE {
978 FRAME_RATE_FPS_1 = 1,
982 FRAME_RATE_FPS_7 = 7,
986 FRAME_RATE_FPS_10 = 10,
990 FRAME_RATE_FPS_15 = 15,
994 FRAME_RATE_FPS_24 = 24,
998 FRAME_RATE_FPS_30 = 30,
1002 FRAME_RATE_FPS_60 = 60,
1003 };
1004
1005 enum FRAME_WIDTH {
1006 FRAME_WIDTH_960 = 960,
1007 };
1008
1009 enum FRAME_HEIGHT {
1010 FRAME_HEIGHT_540 = 540,
1011 };
1012
1016 enum VIDEO_FRAME_TYPE {
1018 VIDEO_FRAME_TYPE_BLANK_FRAME = 0,
1020 VIDEO_FRAME_TYPE_KEY_FRAME = 3,
1022 VIDEO_FRAME_TYPE_DELTA_FRAME = 4,
1024 VIDEO_FRAME_TYPE_B_FRAME = 5,
1026 VIDEO_FRAME_TYPE_DROPPABLE_FRAME = 6,
1028 VIDEO_FRAME_TYPE_UNKNOW
1029 };
1030
1034 enum ORIENTATION_MODE {
1042 ORIENTATION_MODE_ADAPTIVE = 0,
1049 ORIENTATION_MODE_FIXED_LANDSCAPE = 1,
1056 ORIENTATION_MODE_FIXED_PORTRAIT = 2,
1057 };
1058
1062 enum DEGRADATION_PREFERENCE {
1069 MAINTAIN_AUTO = -1,
1077 MAINTAIN_QUALITY = 0,
1083 MAINTAIN_FRAMERATE = 1,
1090 MAINTAIN_BALANCED = 2,
1094 MAINTAIN_RESOLUTION = 3,
1098 DISABLED = 100,
1099 };
1100
1104 struct VideoDimensions {
1108 int width;
1112 int height;
1113 VideoDimensions() : width(640), height(480) {}
1114 VideoDimensions(int w, int h) : width(w), height(h) {}
1115 bool operator==(const VideoDimensions& rhs) const {
1116 return width == rhs.width && height == rhs.height;
1117 }
1118 };
1119
1125 const int STANDARD_BITRATE = 0;
1126
1134 const int COMPATIBLE_BITRATE = -1;
1135
1139 const int DEFAULT_MIN_BITRATE = -1;
1140
1144 const int DEFAULT_MIN_BITRATE_EQUAL_TO_TARGET_BITRATE = -2;
1145
1149 enum SCREEN_CAPTURE_FRAMERATE_CAPABILITY {
1150 SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS = 0,
1151 SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS = 1,
1152 SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS = 2,
1153 };
1154
1158 enum VIDEO_CODEC_CAPABILITY_LEVEL {
1160 CODEC_CAPABILITY_LEVEL_UNSPECIFIED = -1,
1162 CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT = 5,
1164 CODEC_CAPABILITY_LEVEL_1080P30FPS = 10,
1166 CODEC_CAPABILITY_LEVEL_1080P60FPS = 20,
1168 CODEC_CAPABILITY_LEVEL_4K60FPS = 30,
1169 };
1170
1174 enum VIDEO_CODEC_TYPE {
1180 VIDEO_CODEC_NONE = 0,
1184 VIDEO_CODEC_VP8 = 1,
1188 VIDEO_CODEC_H264 = 2,
1192 VIDEO_CODEC_H265 = 3,
1198 VIDEO_CODEC_GENERIC = 6,
1203 VIDEO_CODEC_GENERIC_H264 = 7,
1208 VIDEO_CODEC_AV1 = 12,
1212 VIDEO_CODEC_VP9 = 13,
1216 VIDEO_CODEC_GENERIC_JPEG = 20,
1217 };
1218
1222 enum CAMERA_FOCAL_LENGTH_TYPE {
1226 CAMERA_FOCAL_LENGTH_DEFAULT = 0,
1230 CAMERA_FOCAL_LENGTH_WIDE_ANGLE = 1,
1234 CAMERA_FOCAL_LENGTH_ULTRA_WIDE = 2,
1238 CAMERA_FOCAL_LENGTH_TELEPHOTO = 3,
1239 };
1240
1244 enum TCcMode {
1248 CC_ENABLED,
1252 CC_DISABLED,
1253 };
1254
1258 struct SenderOptions {
1262 TCcMode ccMode;
1267 VIDEO_CODEC_TYPE codecType;
1268
1328 int targetBitrate;
1329
1330 SenderOptions() : ccMode(CC_ENABLED), codecType(VIDEO_CODEC_H265), targetBitrate(6500) {}
1331 };
1332
1336 enum AUDIO_CODEC_TYPE {
1340 AUDIO_CODEC_OPUS = 1,
1341 // kIsac = 2,
1345 AUDIO_CODEC_PCMA = 3,
1349 AUDIO_CODEC_PCMU = 4,
1353 AUDIO_CODEC_G722 = 5,
1354 // kIlbc = 6,
1356 // AUDIO_CODEC_AAC = 7,
1360 AUDIO_CODEC_AACLC = 8,
1364 AUDIO_CODEC_HEAAC = 9,
1368 AUDIO_CODEC_JC1 = 10,
1372 AUDIO_CODEC_HEAAC2 = 11,
1376 AUDIO_CODEC_LPCNET = 12,
1380 AUDIO_CODEC_OPUSMC = 13,
1381 };
1382
1386 enum AUDIO_ENCODING_TYPE {
1391 AUDIO_ENCODING_TYPE_AAC_16000_LOW = 0x010101,
1396 AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM = 0x010102,
1401 AUDIO_ENCODING_TYPE_AAC_32000_LOW = 0x010201,
1406 AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM = 0x010202,
1411 AUDIO_ENCODING_TYPE_AAC_32000_HIGH = 0x010203,
1416 AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM = 0x010302,
1421 AUDIO_ENCODING_TYPE_AAC_48000_HIGH = 0x010303,
1426 AUDIO_ENCODING_TYPE_OPUS_16000_LOW = 0x020101,
1431 AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM = 0x020102,
1436 AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM = 0x020302,
1441 AUDIO_ENCODING_TYPE_OPUS_48000_HIGH = 0x020303,
1442 };
1443
1447 enum WATERMARK_FIT_MODE {
1452 FIT_MODE_COVER_POSITION,
1457 FIT_MODE_USE_IMAGE_RATIO
1458 };
1459
1463 struct EncodedAudioFrameAdvancedSettings {
1464 EncodedAudioFrameAdvancedSettings() : speech(true), sendEvenIfEmpty(true) {}
1465
1471 bool speech;
1477 bool sendEvenIfEmpty;
1478 };
1479
1483 struct EncodedAudioFrameInfo {
1484 EncodedAudioFrameInfo()
1485 : codec(AUDIO_CODEC_AACLC),
1486 sampleRateHz(0),
1487 samplesPerChannel(0),
1488 numberOfChannels(0),
1489 captureTimeMs(0) {}
1490
1491 EncodedAudioFrameInfo(const EncodedAudioFrameInfo& rhs)
1492 : codec(rhs.codec),
1493 sampleRateHz(rhs.sampleRateHz),
1494 samplesPerChannel(rhs.samplesPerChannel),
1495 numberOfChannels(rhs.numberOfChannels),
1496 advancedSettings(rhs.advancedSettings),
1497 captureTimeMs(rhs.captureTimeMs) {}
1501 AUDIO_CODEC_TYPE codec;
1505 int sampleRateHz;
1511 int samplesPerChannel;
1515 int numberOfChannels;
1519 EncodedAudioFrameAdvancedSettings advancedSettings;
1520
1524 int64_t captureTimeMs;
1525 };
1529 struct AudioPcmDataInfo {
1530 AudioPcmDataInfo()
1531 : samplesPerChannel(0), channelNum(0), samplesOut(0), elapsedTimeMs(0), ntpTimeMs(0) {}
1532
1533 AudioPcmDataInfo(const AudioPcmDataInfo& rhs)
1534 : samplesPerChannel(rhs.samplesPerChannel),
1535 channelNum(rhs.channelNum),
1536 samplesOut(rhs.samplesOut),
1537 elapsedTimeMs(rhs.elapsedTimeMs),
1538 ntpTimeMs(rhs.ntpTimeMs) {}
1539
1543 size_t samplesPerChannel;
1544
1545 int16_t channelNum;
1546
1547 // Output
1551 size_t samplesOut;
1555 int64_t elapsedTimeMs;
1559 int64_t ntpTimeMs;
1560 };
1564 enum H264PacketizeMode {
1568 NonInterleaved = 0, // Mode 1 - STAP-A, FU-A is allowed
1572 SingleNalUnit, // Mode 0 - only single NALU allowed
1573 };
1574
1578 enum VIDEO_STREAM_TYPE {
1582 VIDEO_STREAM_HIGH = 0,
1586 VIDEO_STREAM_LOW = 1,
1590 VIDEO_STREAM_LAYER_1 = 4,
1594 VIDEO_STREAM_LAYER_2 = 5,
1598 VIDEO_STREAM_LAYER_3 = 6,
1602 VIDEO_STREAM_LAYER_4 = 7,
1606 VIDEO_STREAM_LAYER_5 = 8,
1610 VIDEO_STREAM_LAYER_6 = 9,
1611
1612 };
1613
1614 struct VideoSubscriptionOptions {
1621 Optional<VIDEO_STREAM_TYPE> type;
1627 Optional<bool> encodedFrameOnly;
1628
1629 VideoSubscriptionOptions() {}
1630 };
1631
1634 enum MAX_USER_ACCOUNT_LENGTH_TYPE {
1637 MAX_USER_ACCOUNT_LENGTH = 256
1638 };
1639
1644 struct EncodedVideoFrameInfo {
1645 EncodedVideoFrameInfo()
1646 : uid(0),
1647 codecType(VIDEO_CODEC_H264),
1648 width(0),
1649 height(0),
1650 framesPerSecond(0),
1651 frameType(VIDEO_FRAME_TYPE_BLANK_FRAME),
1652 rotation(VIDEO_ORIENTATION_0),
1653 trackId(0),
1654 captureTimeMs(0),
1655 decodeTimeMs(0),
1656 streamType(VIDEO_STREAM_HIGH),
1657 presentationMs(-1) {}
1658
1659 EncodedVideoFrameInfo(const EncodedVideoFrameInfo& rhs)
1660 : uid(rhs.uid),
1661 codecType(rhs.codecType),
1662 width(rhs.width),
1663 height(rhs.height),
1664 framesPerSecond(rhs.framesPerSecond),
1665 frameType(rhs.frameType),
1666 rotation(rhs.rotation),
1667 trackId(rhs.trackId),
1668 captureTimeMs(rhs.captureTimeMs),
1669 decodeTimeMs(rhs.decodeTimeMs),
1670 streamType(rhs.streamType),
1671 presentationMs(rhs.presentationMs) {}
1672
1673 EncodedVideoFrameInfo& operator=(const EncodedVideoFrameInfo& rhs) {
1674 if (this == &rhs) return *this;
1675 uid = rhs.uid;
1676 codecType = rhs.codecType;
1677 width = rhs.width;
1678 height = rhs.height;
1679 framesPerSecond = rhs.framesPerSecond;
1680 frameType = rhs.frameType;
1681 rotation = rhs.rotation;
1682 trackId = rhs.trackId;
1683 captureTimeMs = rhs.captureTimeMs;
1684 decodeTimeMs = rhs.decodeTimeMs;
1685 streamType = rhs.streamType;
1686 presentationMs = rhs.presentationMs;
1687 return *this;
1688 }
1689
1693 uid_t uid;
1698 VIDEO_CODEC_TYPE codecType;
1702 int width;
1706 int height;
1712 int framesPerSecond;
1716 VIDEO_FRAME_TYPE frameType;
1720 VIDEO_ORIENTATION rotation;
1724 int trackId; // This can be reserved for multiple video tracks, we need to create different ssrc
1725 // and additional payload for later implementation.
1729 int64_t captureTimeMs;
1733 int64_t decodeTimeMs;
1737 VIDEO_STREAM_TYPE streamType;
1738
1739 // @technical preview
1740 int64_t presentationMs;
1741 };
1742
1746 enum COMPRESSION_PREFERENCE {
1753 PREFER_COMPRESSION_AUTO = -1,
1757 PREFER_LOW_LATENCY = 0,
1761 PREFER_QUALITY = 1,
1762 };
1763
1767 enum ENCODING_PREFERENCE {
1771 PREFER_AUTO = -1,
1775 PREFER_SOFTWARE = 0,
1779 PREFER_HARDWARE = 1,
1780 };
1781
1785 struct AdvanceOptions {
1789 ENCODING_PREFERENCE encodingPreference;
1790
1794 COMPRESSION_PREFERENCE compressionPreference;
1795
1800 bool encodeAlpha;
1801
1802 AdvanceOptions() : encodingPreference(PREFER_AUTO),
1803 compressionPreference(PREFER_COMPRESSION_AUTO),
1804 encodeAlpha(false) {}
1805
1806 AdvanceOptions(ENCODING_PREFERENCE encoding_preference,
1807 COMPRESSION_PREFERENCE compression_preference,
1808 bool encode_alpha) :
1809 encodingPreference(encoding_preference),
1810 compressionPreference(compression_preference),
1811 encodeAlpha(encode_alpha) {}
1812
1813 bool operator==(const AdvanceOptions& rhs) const {
1814 return encodingPreference == rhs.encodingPreference &&
1815 compressionPreference == rhs.compressionPreference &&
1816 encodeAlpha == rhs.encodeAlpha;
1817 }
1818 };
1819
1823 enum VIDEO_MIRROR_MODE_TYPE {
1827 VIDEO_MIRROR_MODE_AUTO = 0,
1831 VIDEO_MIRROR_MODE_ENABLED = 1,
1835 VIDEO_MIRROR_MODE_DISABLED = 2,
1836 };
1837
1838 #if defined(__APPLE__) && TARGET_OS_IOS
1839
1842 enum CAMERA_FORMAT_TYPE {
1844 CAMERA_FORMAT_NV12,
1846 CAMERA_FORMAT_BGRA,
1847 };
1848 #endif
1849
1850 enum VIDEO_MODULE_TYPE {
1852 VIDEO_MODULE_CAPTURER = 0,
1854 VIDEO_MODULE_SOFTWARE_ENCODER = 1,
1856 VIDEO_MODULE_HARDWARE_ENCODER = 2,
1858 VIDEO_MODULE_SOFTWARE_DECODER = 3,
1860 VIDEO_MODULE_HARDWARE_DECODER = 4,
1862 VIDEO_MODULE_RENDERER = 5,
1863 };
1864
1865 enum HDR_CAPABILITY {
1867 HDR_CAPABILITY_UNKNOWN = -1,
1869 HDR_CAPABILITY_UNSUPPORTED = 0,
1871 HDR_CAPABILITY_SUPPORTED = 1,
1872 };
1873
1875 enum CODEC_CAP_MASK {
1877 CODEC_CAP_MASK_NONE = 0,
1878
1880 CODEC_CAP_MASK_HW_DEC = 1 << 0,
1881
1883 CODEC_CAP_MASK_HW_ENC = 1 << 1,
1884
1886 CODEC_CAP_MASK_SW_DEC = 1 << 2,
1887
1889 CODEC_CAP_MASK_SW_ENC = 1 << 3,
1890 };
1891
1892 struct CodecCapLevels {
1893 VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel;
1894 VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel;
1895
1896 CodecCapLevels()
1897 : hwDecodingLevel(CODEC_CAPABILITY_LEVEL_UNSPECIFIED),
1898 swDecodingLevel(CODEC_CAPABILITY_LEVEL_UNSPECIFIED) {}
1899 };
1900
1902 struct CodecCapInfo {
1904 VIDEO_CODEC_TYPE codecType;
1906 int codecCapMask;
1908 CodecCapLevels codecLevels;
1909
1910 CodecCapInfo() : codecType(VIDEO_CODEC_NONE), codecCapMask(0) {}
1911 };
1912
1915 struct FocalLengthInfo {
1917 int cameraDirection;
1919 CAMERA_FOCAL_LENGTH_TYPE focalLengthType;
1920 };
1921
1925 struct VideoEncoderConfiguration {
1929 VIDEO_CODEC_TYPE codecType;
1933 VideoDimensions dimensions;
1937 int frameRate;
1995 int bitrate;
1996
2012 int minBitrate;
2016 ORIENTATION_MODE orientationMode;
2020 DEGRADATION_PREFERENCE degradationPreference;
2021
2027 VIDEO_MIRROR_MODE_TYPE mirrorMode;
2028
2032 AdvanceOptions advanceOptions;
2033
2034 VideoEncoderConfiguration(const VideoDimensions& d, int f, int b, ORIENTATION_MODE m, VIDEO_MIRROR_MODE_TYPE mirror = VIDEO_MIRROR_MODE_DISABLED)
2035 : codecType(VIDEO_CODEC_NONE),
2036 dimensions(d),
2037 frameRate(f),
2038 bitrate(b),
2039 minBitrate(DEFAULT_MIN_BITRATE),
2040 orientationMode(m),
2041 degradationPreference(MAINTAIN_AUTO),
2042 mirrorMode(mirror),
2043 advanceOptions(PREFER_AUTO, PREFER_COMPRESSION_AUTO, false) {}
2044 VideoEncoderConfiguration(int width, int height, int f, int b, ORIENTATION_MODE m, VIDEO_MIRROR_MODE_TYPE mirror = VIDEO_MIRROR_MODE_DISABLED)
2045 : codecType(VIDEO_CODEC_NONE),
2046 dimensions(width, height),
2047 frameRate(f),
2048 bitrate(b),
2049 minBitrate(DEFAULT_MIN_BITRATE),
2050 orientationMode(m),
2051 degradationPreference(MAINTAIN_AUTO),
2052 mirrorMode(mirror),
2053 advanceOptions(PREFER_AUTO, PREFER_COMPRESSION_AUTO, false) {}
2054 VideoEncoderConfiguration(const VideoEncoderConfiguration& config)
2055 : codecType(config.codecType),
2056 dimensions(config.dimensions),
2057 frameRate(config.frameRate),
2058 bitrate(config.bitrate),
2059 minBitrate(config.minBitrate),
2060 orientationMode(config.orientationMode),
2061 degradationPreference(config.degradationPreference),
2062 mirrorMode(config.mirrorMode),
2063 advanceOptions(config.advanceOptions) {}
2064 VideoEncoderConfiguration()
2065 : codecType(VIDEO_CODEC_NONE),
2066 dimensions(FRAME_WIDTH_960, FRAME_HEIGHT_540),
2067 frameRate(FRAME_RATE_FPS_15),
2068 bitrate(STANDARD_BITRATE),
2069 minBitrate(DEFAULT_MIN_BITRATE),
2070 orientationMode(ORIENTATION_MODE_ADAPTIVE),
2071 degradationPreference(MAINTAIN_AUTO),
2072 mirrorMode(VIDEO_MIRROR_MODE_DISABLED),
2073 advanceOptions(PREFER_AUTO, PREFER_COMPRESSION_AUTO, false) {}
2074
2075 VideoEncoderConfiguration& operator=(const VideoEncoderConfiguration& rhs) {
2076 if (this == &rhs) return *this;
2077 codecType = rhs.codecType;
2078 dimensions = rhs.dimensions;
2079 frameRate = rhs.frameRate;
2080 bitrate = rhs.bitrate;
2081 minBitrate = rhs.minBitrate;
2082 orientationMode = rhs.orientationMode;
2083 degradationPreference = rhs.degradationPreference;
2084 mirrorMode = rhs.mirrorMode;
2085 advanceOptions = rhs.advanceOptions;
2086 return *this;
2087 }
2088 };
2089
2093 struct DataStreamConfig {
2105 bool syncWithAudio;
2114 bool ordered;
2115 };
2116
2120 enum SIMULCAST_STREAM_MODE {
2121 /*
2122 * disable simulcast stream until receive request for enable simulcast stream by other broadcaster
2123 */
2124 AUTO_SIMULCAST_STREAM = -1,
2125 /*
2126 * disable simulcast stream
2127 */
2128 DISABLE_SIMULCAST_STREAM = 0,
2129 /*
2130 * always enable simulcast stream
2131 */
2132 ENABLE_SIMULCAST_STREAM = 1,
2133 };
2134
2138 struct SimulcastStreamConfig {
2142 VideoDimensions dimensions;
2147 int kBitrate;
2151 int framerate;
2152 SimulcastStreamConfig() : dimensions(160, 120), kBitrate(65), framerate(5) {}
2153 SimulcastStreamConfig(const SimulcastStreamConfig& other) : dimensions(other.dimensions), kBitrate(other.kBitrate), framerate(other.framerate) {}
2154 bool operator==(const SimulcastStreamConfig& rhs) const {
2155 return dimensions == rhs.dimensions && kBitrate == rhs.kBitrate && framerate == rhs.framerate;
2156 }
2157 };
2158
2162 struct SimulcastConfig {
2166 enum StreamLayerIndex {
2170 STREAM_LAYER_1 = 0,
2174 STREAM_LAYER_2 = 1,
2178 STREAM_LAYER_3 = 2,
2182 STREAM_LAYER_4 = 3,
2186 STREAM_LAYER_5 = 4,
2190 STREAM_LAYER_6 = 5,
2194 STREAM_LOW = 6,
2198 STREAM_LAYER_COUNT_MAX = 7
2199 };
2200 struct StreamLayerConfig {
2204 VideoDimensions dimensions;
2208 int framerate;
2212 bool enable;
2213 StreamLayerConfig() : dimensions(0, 0), framerate(0), enable(false) {}
2214 };
2215
2219 StreamLayerConfig configs[STREAM_LAYER_COUNT_MAX];
2220 };
2225 struct Rectangle {
2229 int x;
2233 int y;
2237 int width;
2241 int height;
2242
2243 Rectangle() : x(0), y(0), width(0), height(0) {}
2244 Rectangle(int xx, int yy, int ww, int hh) : x(xx), y(yy), width(ww), height(hh) {}
2245 };
2246
2256 struct WatermarkRatio {
2263 float xRatio;
2269 float yRatio;
2276 float widthRatio;
2277
2278 WatermarkRatio() : xRatio(0.0), yRatio(0.0), widthRatio(0.0) {}
2279 WatermarkRatio(float x, float y, float width) : xRatio(x), yRatio(y), widthRatio(width) {}
2280 };
2281
2285 struct WatermarkOptions {
2291 bool visibleInPreview;
2296 Rectangle positionInLandscapeMode;
2301 Rectangle positionInPortraitMode;
2306 WatermarkRatio watermarkRatio;
2310 WATERMARK_FIT_MODE mode;
2311
2312 WatermarkOptions()
2313 : visibleInPreview(true),
2314 positionInLandscapeMode(0, 0, 0, 0),
2315 positionInPortraitMode(0, 0, 0, 0),
2316 mode(FIT_MODE_COVER_POSITION) {}
2317 };
2318
2322 struct RtcStats {
2326 unsigned int duration;
2330 unsigned int txBytes;
2334 unsigned int rxBytes;
2338 unsigned int txAudioBytes;
2342 unsigned int txVideoBytes;
2346 unsigned int rxAudioBytes;
2350 unsigned int rxVideoBytes;
2354 unsigned short txKBitRate;
2358 unsigned short rxKBitRate;
2362 unsigned short rxAudioKBitRate;
2366 unsigned short txAudioKBitRate;
2370 unsigned short rxVideoKBitRate;
2374 unsigned short txVideoKBitRate;
2378 unsigned short lastmileDelay;
2382 unsigned int userCount;
2390 double cpuAppUsage;
2401 double cpuTotalUsage;
2408 int gatewayRtt;
2413 double memoryAppUsageRatio;
2418 double memoryTotalUsageRatio;
2423 int memoryAppUsageInKbytes;
2428 int connectTimeMs;
2433 int firstAudioPacketDuration;
2438 int firstVideoPacketDuration;
2443 int firstVideoKeyFramePacketDuration;
2448 int packetsBeforeFirstKeyFramePacket;
2453 int firstAudioPacketDurationAfterUnmute;
2458 int firstVideoPacketDurationAfterUnmute;
2463 int firstVideoKeyFramePacketDurationAfterUnmute;
2468 int firstVideoKeyFrameDecodedDurationAfterUnmute;
2473 int firstVideoKeyFrameRenderedDurationAfterUnmute;
2477 int txPacketLossRate;
2481 int rxPacketLossRate;
2482 RtcStats()
2483 : duration(0),
2484 txBytes(0),
2485 rxBytes(0),
2486 txAudioBytes(0),
2487 txVideoBytes(0),
2488 rxAudioBytes(0),
2489 rxVideoBytes(0),
2490 txKBitRate(0),
2491 rxKBitRate(0),
2492 rxAudioKBitRate(0),
2493 txAudioKBitRate(0),
2494 rxVideoKBitRate(0),
2495 txVideoKBitRate(0),
2496 lastmileDelay(0),
2497 userCount(0),
2498 cpuAppUsage(0.0),
2499 cpuTotalUsage(0.0),
2500 gatewayRtt(0),
2501 memoryAppUsageRatio(0.0),
2502 memoryTotalUsageRatio(0.0),
2503 memoryAppUsageInKbytes(0),
2504 connectTimeMs(0),
2505 firstAudioPacketDuration(0),
2506 firstVideoPacketDuration(0),
2507 firstVideoKeyFramePacketDuration(0),
2508 packetsBeforeFirstKeyFramePacket(0),
2509 firstAudioPacketDurationAfterUnmute(0),
2510 firstVideoPacketDurationAfterUnmute(0),
2511 firstVideoKeyFramePacketDurationAfterUnmute(0),
2512 firstVideoKeyFrameDecodedDurationAfterUnmute(0),
2513 firstVideoKeyFrameRenderedDurationAfterUnmute(0),
2514 txPacketLossRate(0),
2515 rxPacketLossRate(0) {}
2516 };
2517
2521 enum CLIENT_ROLE_TYPE {
2525 CLIENT_ROLE_BROADCASTER = 1,
2529 CLIENT_ROLE_AUDIENCE = 2,
2530 };
2531
2536 enum QUALITY_ADAPT_INDICATION {
2540 ADAPT_NONE = 0,
2544 ADAPT_UP_BANDWIDTH = 1,
2548 ADAPT_DOWN_BANDWIDTH = 2,
2549 };
2550
2555 enum AUDIENCE_LATENCY_LEVEL_TYPE {
2559 AUDIENCE_LATENCY_LEVEL_LOW_LATENCY = 1,
2563 AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY = 2,
2564 };
2565
2569 struct ClientRoleOptions {
2574 AUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel;
2575
2576 ClientRoleOptions() : audienceLatencyLevel(AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY) {}
2577 };
2578
2582 enum EXPERIENCE_QUALITY_TYPE {
2584 EXPERIENCE_QUALITY_GOOD = 0,
2586 EXPERIENCE_QUALITY_BAD = 1,
2587 };
2588
2592 enum EXPERIENCE_POOR_REASON {
2596 EXPERIENCE_REASON_NONE = 0,
2600 REMOTE_NETWORK_QUALITY_POOR = 1,
2604 LOCAL_NETWORK_QUALITY_POOR = 2,
2608 WIRELESS_SIGNAL_POOR = 4,
2613 WIFI_BLUETOOTH_COEXIST = 8,
2614 };
2615
2619 enum AUDIO_AINS_MODE {
2623 AINS_MODE_BALANCED = 0,
2627 AINS_MODE_AGGRESSIVE = 1,
2631 AINS_MODE_ULTRALOWLATENCY = 2
2632 };
2633
2637 enum AUDIO_PROFILE_TYPE {
2647 AUDIO_PROFILE_DEFAULT = 0,
2651 AUDIO_PROFILE_SPEECH_STANDARD = 1,
2655 AUDIO_PROFILE_MUSIC_STANDARD = 2,
2662 AUDIO_PROFILE_MUSIC_STANDARD_STEREO = 3,
2666 AUDIO_PROFILE_MUSIC_HIGH_QUALITY = 4,
2673 AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO = 5,
2677 AUDIO_PROFILE_IOT = 6,
2678 AUDIO_PROFILE_NUM = 7
2679 };
2680
2684 enum AUDIO_SCENARIO_TYPE {
2689 AUDIO_SCENARIO_DEFAULT = 0,
2695 AUDIO_SCENARIO_GAME_STREAMING = 3,
2701 AUDIO_SCENARIO_CHATROOM = 5,
2706 AUDIO_SCENARIO_CHORUS = 7,
2710 AUDIO_SCENARIO_MEETING = 8,
2714 AUDIO_SCENARIO_AI_SERVER = 9,
2718 AUDIO_SCENARIO_AI_CLIENT = 10,
2722 AUDIO_SCENARIO_NUM = 11,
2723 };
2724
2728 struct VideoFormat {
2729 OPTIONAL_ENUM_SIZE_T{
2731 kMaxWidthInPixels = 3840,
2733 kMaxHeightInPixels = 2160,
2735 kMaxFps = 60,
2736 };
2737
2741 int width; // Number of pixels.
2745 int height; // Number of pixels.
2749 int fps;
2750 VideoFormat() : width(FRAME_WIDTH_960), height(FRAME_HEIGHT_540), fps(FRAME_RATE_FPS_15) {}
2751 VideoFormat(int w, int h, int f) : width(w), height(h), fps(f) {}
2752
2753 bool operator<(const VideoFormat& fmt) const {
2754 if (height != fmt.height) {
2755 return height < fmt.height;
2756 } else if (width != fmt.width) {
2757 return width < fmt.width;
2758 } else {
2759 return fps < fmt.fps;
2760 }
2761 }
2762 bool operator==(const VideoFormat& fmt) const {
2763 return width == fmt.width && height == fmt.height && fps == fmt.fps;
2764 }
2765 bool operator!=(const VideoFormat& fmt) const { return !operator==(fmt); }
2766 };
2767
2771 enum VIDEO_CONTENT_HINT {
2775 CONTENT_HINT_NONE,
2782 CONTENT_HINT_MOTION,
2788 CONTENT_HINT_DETAILS
2789 };
2793 enum SCREEN_SCENARIO_TYPE {
2799 SCREEN_SCENARIO_DOCUMENT = 1,
2804 SCREEN_SCENARIO_GAMING = 2,
2809 SCREEN_SCENARIO_VIDEO = 3,
2815 SCREEN_SCENARIO_RDC = 4,
2816 };
2817
2821 enum VIDEO_APPLICATION_SCENARIO_TYPE {
2825 APPLICATION_SCENARIO_GENERAL = 0,
2829 APPLICATION_SCENARIO_MEETING = 1,
2833 APPLICATION_SCENARIO_1V1 = 2,
2837 APPLICATION_SCENARIO_LIVESHOW = 3,
2838 };
2839
2843 enum VIDEO_QOE_PREFERENCE_TYPE {
2847 VIDEO_QOE_PREFERENCE_BALANCE = 1,
2851 VIDEO_QOE_PREFERENCE_DELAY_FIRST = 2,
2855 VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST = 3,
2859 VIDEO_QOE_PREFERENCE_FLUENCY_FIRST = 4,
2860
2861 };
2862
2866 enum CAPTURE_BRIGHTNESS_LEVEL_TYPE {
2871 CAPTURE_BRIGHTNESS_LEVEL_INVALID = -1,
2874 CAPTURE_BRIGHTNESS_LEVEL_NORMAL = 0,
2877 CAPTURE_BRIGHTNESS_LEVEL_BRIGHT = 1,
2880 CAPTURE_BRIGHTNESS_LEVEL_DARK = 2,
2881 };
2882
2883 enum CAMERA_STABILIZATION_MODE {
2886 CAMERA_STABILIZATION_MODE_OFF = -1,
2889 CAMERA_STABILIZATION_MODE_AUTO = 0,
2892 CAMERA_STABILIZATION_MODE_LEVEL_1 = 1,
2895 CAMERA_STABILIZATION_MODE_LEVEL_2 = 2,
2898 CAMERA_STABILIZATION_MODE_LEVEL_3 = 3,
2901 CAMERA_STABILIZATION_MODE_MAX_LEVEL = CAMERA_STABILIZATION_MODE_LEVEL_3,
2902 };
2903
2907 enum LOCAL_AUDIO_STREAM_STATE {
2911 LOCAL_AUDIO_STREAM_STATE_STOPPED = 0,
2915 LOCAL_AUDIO_STREAM_STATE_RECORDING = 1,
2919 LOCAL_AUDIO_STREAM_STATE_ENCODING = 2,
2923 LOCAL_AUDIO_STREAM_STATE_FAILED = 3
2924 };
2925
2929 enum LOCAL_AUDIO_STREAM_REASON {
2933 LOCAL_AUDIO_STREAM_REASON_OK = 0,
2938 LOCAL_AUDIO_STREAM_REASON_FAILURE = 1,
2942 LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION = 2,
2949 LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY = 3,
2953 LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE = 4,
2957 LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE = 5,
2960 LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE = 6,
2963 LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE = 7,
2967 LOCAL_AUDIO_STREAM_REASON_INTERRUPTED = 8,
2970 LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID = 9,
2973 LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID = 10,
2974 };
2975
2978 enum LOCAL_VIDEO_STREAM_STATE {
2982 LOCAL_VIDEO_STREAM_STATE_STOPPED = 0,
2987 LOCAL_VIDEO_STREAM_STATE_CAPTURING = 1,
2991 LOCAL_VIDEO_STREAM_STATE_ENCODING = 2,
2995 LOCAL_VIDEO_STREAM_STATE_FAILED = 3
2996 };
2997
3001 enum LOCAL_VIDEO_STREAM_REASON {
3005 LOCAL_VIDEO_STREAM_REASON_OK = 0,
3009 LOCAL_VIDEO_STREAM_REASON_FAILURE = 1,
3014 LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION = 2,
3019 LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY = 3,
3025 LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE = 4,
3029 LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT = 5,
3034 LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND = 6,
3041 LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS = 7,
3047 LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND = 8,
3052 LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED = 9,
3057 LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID = 10,
3062 LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT = 14,
3067 LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR = 15,
3071 LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE = 101,
3077 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED = 11,
3092 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED = 12,
3094 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED = 13,
3096 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED = 20,
3098 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE = 21,
3100 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION = 22,
3106 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK = 24,
3109 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN = 25,
3111 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN = 26,
3113 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED = 27,
3121 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED = 28,
3123 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED = 29,
3125 LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED = 30,
3126
3127 };
3128
3132 enum REMOTE_AUDIO_STATE {
3138 REMOTE_AUDIO_STATE_STOPPED =
3139 0, // Default state, audio is started or remote user disabled/muted audio stream
3143 REMOTE_AUDIO_STATE_STARTING = 1, // The first audio frame packet has been received
3149 REMOTE_AUDIO_STATE_DECODING =
3150 2, // The first remote audio frame has been decoded or fronzen state ends
3155 REMOTE_AUDIO_STATE_FROZEN = 3, // Remote audio is frozen, probably due to network issue
3160 REMOTE_AUDIO_STATE_FAILED = 4, // Remote audio play failed
3161 };
3162
3166 enum REMOTE_AUDIO_STATE_REASON {
3170 REMOTE_AUDIO_REASON_INTERNAL = 0,
3174 REMOTE_AUDIO_REASON_NETWORK_CONGESTION = 1,
3178 REMOTE_AUDIO_REASON_NETWORK_RECOVERY = 2,
3183 REMOTE_AUDIO_REASON_LOCAL_MUTED = 3,
3188 REMOTE_AUDIO_REASON_LOCAL_UNMUTED = 4,
3193 REMOTE_AUDIO_REASON_REMOTE_MUTED = 5,
3198 REMOTE_AUDIO_REASON_REMOTE_UNMUTED = 6,
3202 REMOTE_AUDIO_REASON_REMOTE_OFFLINE = 7,
3206 REMOTE_AUDIO_REASON_NO_PACKET_RECEIVE = 8,
3210 REMOTE_AUDIO_REASON_LOCAL_PLAY_FAILED = 9,
3211 };
3212
3216 enum REMOTE_VIDEO_STATE {
3223 REMOTE_VIDEO_STATE_STOPPED = 0,
3227 REMOTE_VIDEO_STATE_STARTING = 1,
3234 REMOTE_VIDEO_STATE_DECODING = 2,
3238 REMOTE_VIDEO_STATE_FROZEN = 3,
3242 REMOTE_VIDEO_STATE_FAILED = 4,
3243 };
3247 enum REMOTE_VIDEO_STATE_REASON {
3251 REMOTE_VIDEO_STATE_REASON_INTERNAL = 0,
3255 REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION = 1,
3259 REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY = 2,
3263 REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED = 3,
3267 REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED = 4,
3271 REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED = 5,
3275 REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED = 6,
3279 REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE = 7,
3283 REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK = 8,
3287 REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY = 9,
3290 REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_LOW = 10,
3293 REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_HIGH = 11,
3296 REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND = 12,
3297
3300 REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT = 13,
3301
3302 };
3303
3307 enum REMOTE_USER_STATE {
3311 USER_STATE_MUTE_AUDIO = (1 << 0),
3315 USER_STATE_MUTE_VIDEO = (1 << 1),
3319 USER_STATE_ENABLE_VIDEO = (1 << 4),
3323 USER_STATE_ENABLE_LOCAL_VIDEO = (1 << 8),
3324 };
3325
3330 struct VideoTrackInfo {
3331 VideoTrackInfo()
3332 : isLocal(false),
3333 ownerUid(0),
3334 trackId(0),
3335 channelId(OPTIONAL_NULLPTR),
3336 codecType(VIDEO_CODEC_H265),
3337 encodedFrameOnly(false),
3338 sourceType(VIDEO_SOURCE_CAMERA_PRIMARY),
3339 observationPosition(agora::media::base::POSITION_POST_CAPTURER) {}
3345 bool isLocal;
3349 uid_t ownerUid;
3353 track_id_t trackId;
3357 const char* channelId;
3361 VIDEO_CODEC_TYPE codecType;
3367 bool encodedFrameOnly;
3371 VIDEO_SOURCE_TYPE sourceType;
3375 uint32_t observationPosition;
3376 };
3377
3382 enum REMOTE_VIDEO_DOWNSCALE_LEVEL {
3386 REMOTE_VIDEO_DOWNSCALE_LEVEL_NONE,
3390 REMOTE_VIDEO_DOWNSCALE_LEVEL_1,
3394 REMOTE_VIDEO_DOWNSCALE_LEVEL_2,
3398 REMOTE_VIDEO_DOWNSCALE_LEVEL_3,
3402 REMOTE_VIDEO_DOWNSCALE_LEVEL_4,
3403 };
3404
3408 struct AudioVolumeInfo {
3415 uid_t uid;
3421 unsigned int volume; // [0,255]
3432 unsigned int vad;
3438 double voicePitch;
3439
3440 AudioVolumeInfo() : uid(0), volume(0), vad(0), voicePitch(0.0) {}
3441 };
3442
3446 struct DeviceInfo {
3447 /*
3448 * Whether the audio device supports ultra-low-latency capture and playback:
3449 * - `true`: The device supports ultra-low-latency capture and playback.
3450 * - `false`: The device does not support ultra-low-latency capture and playback.
3451 */
3452 bool isLowLatencyAudioSupported;
3453
3454 DeviceInfo() : isLowLatencyAudioSupported(false) {}
3455 };
3456
3460 class IPacketObserver {
3461 public:
3462 virtual ~IPacketObserver() {}
3466 struct Packet {
3472 const unsigned char* buffer;
3476 unsigned int size;
3477
3478 Packet() : buffer(OPTIONAL_NULLPTR), size(0) {}
3479 };
3487 virtual bool onSendAudioPacket(Packet& packet) = 0;
3495 virtual bool onSendVideoPacket(Packet& packet) = 0;
3503 virtual bool onReceiveAudioPacket(Packet& packet) = 0;
3511 virtual bool onReceiveVideoPacket(Packet& packet) = 0;
3512 };
3513
3517 enum AUDIO_SAMPLE_RATE_TYPE {
3521 AUDIO_SAMPLE_RATE_32000 = 32000,
3525 AUDIO_SAMPLE_RATE_44100 = 44100,
3529 AUDIO_SAMPLE_RATE_48000 = 48000,
3530 };
3534 enum VIDEO_CODEC_TYPE_FOR_STREAM {
3538 VIDEO_CODEC_H264_FOR_STREAM = 1,
3542 VIDEO_CODEC_H265_FOR_STREAM = 2,
3543 };
3544
3548 enum VIDEO_CODEC_PROFILE_TYPE {
3552 VIDEO_CODEC_PROFILE_BASELINE = 66,
3557 VIDEO_CODEC_PROFILE_MAIN = 77,
3561 VIDEO_CODEC_PROFILE_HIGH = 100,
3562 };
3563
3567 enum AUDIO_CODEC_PROFILE_TYPE {
3571 AUDIO_CODEC_PROFILE_LC_AAC = 0,
3575 AUDIO_CODEC_PROFILE_HE_AAC = 1,
3579 AUDIO_CODEC_PROFILE_HE_AAC_V2 = 2,
3580 };
3581
3585 struct LocalAudioStats {
3589 int numChannels;
3593 int sentSampleRate;
3597 int sentBitrate;
3601 int internalCodec;
3606 unsigned short txPacketLossRate;
3610 int audioDeviceDelay;
3614 int audioPlayoutDelay;
3618 int earMonitorDelay;
3622 int aecEstimatedDelay;
3623 };
3624
3628 enum RTMP_STREAM_PUBLISH_STATE {
3633 RTMP_STREAM_PUBLISH_STATE_IDLE = 0,
3638 RTMP_STREAM_PUBLISH_STATE_CONNECTING = 1,
3643 RTMP_STREAM_PUBLISH_STATE_RUNNING = 2,
3654 RTMP_STREAM_PUBLISH_STATE_RECOVERING = 3,
3660 RTMP_STREAM_PUBLISH_STATE_FAILURE = 4,
3665 RTMP_STREAM_PUBLISH_STATE_DISCONNECTING = 5,
3666 };
3667
3671 enum RTMP_STREAM_PUBLISH_REASON {
3675 RTMP_STREAM_PUBLISH_REASON_OK = 0,
3682 RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT = 1,
3686 RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED = 2,
3691 RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT = 3,
3696 RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR = 4,
3700 RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR = 5,
3704 RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN = 6,
3708 RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT = 7,
3712 RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED = 8,
3716 RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND = 9,
3721 RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED = 10,
3726 RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER =
3727 11, // Note: match to ERR_PUBLISH_STREAM_NOT_BROADCASTER in AgoraBase.h
3733 RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM =
3734 13, // Note: match to ERR_PUBLISH_STREAM_TRANSCODING_NO_MIX_STREAM in AgoraBase.h
3738 RTMP_STREAM_PUBLISH_REASON_NET_DOWN = 14, // Note: match to ERR_NET_DOWN in AgoraBase.h
3742 RTMP_STREAM_PUBLISH_REASON_INVALID_APPID =
3743 15, // Note: match to ERR_PUBLISH_STREAM_APPID_INVALID in AgoraBase.h
3745 RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE = 16,
3750 RTMP_STREAM_UNPUBLISH_REASON_OK = 100,
3751 };
3752
3754 enum RTMP_STREAMING_EVENT {
3759 RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE = 1,
3764 RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE = 2,
3768 RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT = 3,
3772 RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN = 4,
3773 };
3774
3778 typedef struct RtcImage {
3783 const char* url;
3788 int x;
3793 int y;
3797 int width;
3801 int height;
3809 int zOrder;
3815 double alpha;
3816
3817 RtcImage() : url(OPTIONAL_NULLPTR), x(0), y(0), width(0), height(0), zOrder(0), alpha(1.0) {}
3818 } RtcImage;
3825 struct LiveStreamAdvancedFeature {
3826 LiveStreamAdvancedFeature() : featureName(OPTIONAL_NULLPTR), opened(false) {}
3827 LiveStreamAdvancedFeature(const char* feat_name, bool open)
3828 : featureName(feat_name), opened(open) {}
3830 // static const char* LBHQ = "lbhq";
3832 // static const char* VEO = "veo";
3833
3838 const char* featureName;
3839
3845 bool opened;
3846 };
3847
3851 enum CONNECTION_STATE_TYPE {
3858 CONNECTION_STATE_DISCONNECTED = 1,
3867 CONNECTION_STATE_CONNECTING = 2,
3875 CONNECTION_STATE_CONNECTED = 3,
3885 CONNECTION_STATE_RECONNECTING = 4,
3894 CONNECTION_STATE_FAILED = 5,
3895 };
3896
3900 struct TranscodingUser {
3904 uid_t uid;
3910 int x;
3916 int y;
3920 int width;
3924 int height;
3932 int zOrder;
3938 double alpha;
3959 int audioChannel;
3960
3961 TranscodingUser()
3962 : uid(0), x(0), y(0), width(0), height(0), zOrder(0), alpha(1.0), audioChannel(0) {}
3963 };
3964
3968 struct LiveTranscoding {
3975 int width;
3982 int height;
3988 int videoBitrate;
3994 int videoFramerate;
3995
4001 bool lowLatency;
4002
4005 int videoGop;
4010 VIDEO_CODEC_PROFILE_TYPE videoCodecProfile;
4014 unsigned int backgroundColor;
4016 VIDEO_CODEC_TYPE_FOR_STREAM videoCodecType;
4020 unsigned int userCount;
4024 TranscodingUser* transcodingUsers;
4030 const char* transcodingExtraInfo;
4031
4034 const char* metadata;
4040 RtcImage* watermark;
4045 unsigned int watermarkCount;
4046
4053 RtcImage* backgroundImage;
4058 unsigned int backgroundImageCount;
4059
4062 AUDIO_SAMPLE_RATE_TYPE audioSampleRate;
4066 int audioBitrate;
4075 int audioChannels;
4078 AUDIO_CODEC_PROFILE_TYPE audioCodecProfile;
4082 LiveStreamAdvancedFeature* advancedFeatures;
4083
4085 unsigned int advancedFeatureCount;
4086
4087 LiveTranscoding()
4088 : width(360),
4089 height(640),
4090 videoBitrate(400),
4091 videoFramerate(15),
4092 lowLatency(false),
4093 videoGop(30),
4094 videoCodecProfile(VIDEO_CODEC_PROFILE_HIGH),
4095 backgroundColor(0x000000),
4096 videoCodecType(VIDEO_CODEC_H264_FOR_STREAM),
4097 userCount(0),
4098 transcodingUsers(OPTIONAL_NULLPTR),
4099 transcodingExtraInfo(OPTIONAL_NULLPTR),
4100 metadata(OPTIONAL_NULLPTR),
4101 watermark(OPTIONAL_NULLPTR),
4102 watermarkCount(0),
4103 backgroundImage(OPTIONAL_NULLPTR),
4104 backgroundImageCount(0),
4105 audioSampleRate(AUDIO_SAMPLE_RATE_48000),
4106 audioBitrate(48),
4107 audioChannels(1),
4108 audioCodecProfile(AUDIO_CODEC_PROFILE_LC_AAC),
4109 advancedFeatures(OPTIONAL_NULLPTR),
4110 advancedFeatureCount(0) {}
4111 };
4112
4116 struct TranscodingVideoStream {
4120 VIDEO_SOURCE_TYPE sourceType;
4126 uid_t remoteUserUid;
4132 const char* imageUrl;
4136 int mediaPlayerId;
4141 int x;
4146 int y;
4150 int width;
4154 int height;
4161 int zOrder;
4167 double alpha;
4174 bool mirror;
4175
4176 TranscodingVideoStream()
4177 : sourceType(VIDEO_SOURCE_CAMERA_PRIMARY),
4178 remoteUserUid(0),
4179 imageUrl(OPTIONAL_NULLPTR),
4180 x(0),
4181 y(0),
4182 width(0),
4183 height(0),
4184 zOrder(0),
4185 alpha(1.0),
4186 mirror(false) {}
4187 };
4188
4192 struct LocalTranscoderConfiguration {
4196 unsigned int streamCount;
4200 TranscodingVideoStream* videoInputStreams;
4205 VideoEncoderConfiguration videoOutputConfiguration;
4214 bool syncWithPrimaryCamera;
4215
4216 LocalTranscoderConfiguration()
4217 : streamCount(0),
4218 videoInputStreams(OPTIONAL_NULLPTR),
4219 videoOutputConfiguration(),
4220 syncWithPrimaryCamera(true) {}
4221 };
4222
4223 enum VIDEO_TRANSCODER_ERROR {
4227 VT_ERR_VIDEO_SOURCE_NOT_READY = 1,
4231 VT_ERR_INVALID_VIDEO_SOURCE_TYPE = 2,
4235 VT_ERR_INVALID_IMAGE_PATH = 3,
4239 VT_ERR_UNSUPPORT_IMAGE_FORMAT = 4,
4243 VT_ERR_INVALID_LAYOUT = 5,
4247 VT_ERR_INTERNAL = 20
4248 };
4249
4250
4254 struct MixedAudioStream {
4258 AUDIO_SOURCE_TYPE sourceType;
4263 uid_t remoteUserUid;
4268 const char* channelId;
4273 track_id_t trackId;
4274
4275 MixedAudioStream(AUDIO_SOURCE_TYPE source)
4276 : sourceType(source),
4277 remoteUserUid(0),
4278 channelId(NULL),
4279 trackId(-1) {}
4280
4281 MixedAudioStream(AUDIO_SOURCE_TYPE source, track_id_t track)
4282 : sourceType(source),
4283 trackId(track) {}
4284
4285 MixedAudioStream(AUDIO_SOURCE_TYPE source, uid_t uid, const char* channel)
4286 : sourceType(source),
4287 remoteUserUid(uid),
4288 channelId(channel) {}
4289
4290 MixedAudioStream(AUDIO_SOURCE_TYPE source, uid_t uid, const char* channel, track_id_t track)
4291 : sourceType(source),
4292 remoteUserUid(uid),
4293 channelId(channel),
4294 trackId(track) {}
4295
4296 };
4297
4301 struct LocalAudioMixerConfiguration {
4305 unsigned int streamCount;
4309 MixedAudioStream* audioInputStreams;
4310
4316 bool syncWithLocalMic;
4317
4318 LocalAudioMixerConfiguration() : streamCount(0), syncWithLocalMic(true) {}
4319 };
4320
4324 struct LastmileProbeConfig {
4331 bool probeUplink;
4337 bool probeDownlink;
4343 unsigned int expectedUplinkBitrate;
4348 unsigned int expectedDownlinkBitrate;
4349 };
4350
4354 enum LASTMILE_PROBE_RESULT_STATE {
4358 LASTMILE_PROBE_RESULT_COMPLETE = 1,
4363 LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE = 2,
4368 LASTMILE_PROBE_RESULT_UNAVAILABLE = 3
4369 };
4370
4374 struct LastmileProbeOneWayResult {
4378 unsigned int packetLossRate;
4382 unsigned int jitter;
4386 unsigned int availableBandwidth;
4387
4388 LastmileProbeOneWayResult() : packetLossRate(0), jitter(0), availableBandwidth(0) {}
4389 };
4390
4394 struct LastmileProbeResult {
4398 LASTMILE_PROBE_RESULT_STATE state;
4402 LastmileProbeOneWayResult uplinkReport;
4406 LastmileProbeOneWayResult downlinkReport;
4410 unsigned int rtt;
4411
4412 LastmileProbeResult() : state(LASTMILE_PROBE_RESULT_UNAVAILABLE), rtt(0) {}
4413 };
4414
4418 enum CONNECTION_CHANGED_REASON_TYPE {
4422 CONNECTION_CHANGED_CONNECTING = 0,
4426 CONNECTION_CHANGED_JOIN_SUCCESS = 1,
4430 CONNECTION_CHANGED_INTERRUPTED = 2,
4435 CONNECTION_CHANGED_BANNED_BY_SERVER = 3,
4440 CONNECTION_CHANGED_JOIN_FAILED = 4,
4444 CONNECTION_CHANGED_LEAVE_CHANNEL = 5,
4448 CONNECTION_CHANGED_INVALID_APP_ID = 6,
4453 CONNECTION_CHANGED_INVALID_CHANNEL_NAME = 7,
4462 CONNECTION_CHANGED_INVALID_TOKEN = 8,
4466 CONNECTION_CHANGED_TOKEN_EXPIRED = 9,
4474 CONNECTION_CHANGED_REJECTED_BY_SERVER = 10,
4478 CONNECTION_CHANGED_SETTING_PROXY_SERVER = 11,
4482 CONNECTION_CHANGED_RENEW_TOKEN = 12,
4487 CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED = 13,
4492 CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT = 14,
4496 CONNECTION_CHANGED_REJOIN_SUCCESS = 15,
4500 CONNECTION_CHANGED_LOST = 16,
4504 CONNECTION_CHANGED_ECHO_TEST = 17,
4508 CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER = 18,
4512 CONNECTION_CHANGED_SAME_UID_LOGIN = 19,
4516 CONNECTION_CHANGED_TOO_MANY_BROADCASTERS = 20,
4517
4521 CONNECTION_CHANGED_LICENSE_VALIDATION_FAILURE = 21,
4522 /*
4523 * 22: The connection is failed due to certification verify failure.
4524 */
4525 CONNECTION_CHANGED_CERTIFICATION_VERYFY_FAILURE = 22,
4529 CONNECTION_CHANGED_STREAM_CHANNEL_NOT_AVAILABLE = 23,
4533 CONNECTION_CHANGED_INCONSISTENT_APPID = 24,
4534 };
4535
4539 enum CLIENT_ROLE_CHANGE_FAILED_REASON {
4543 CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS = 1,
4547 CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED = 2,
4552 CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT __deprecated = 3,
4557 CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED __deprecated = 4,
4558 };
4559
4563 enum WLACC_MESSAGE_REASON {
4567 WLACC_MESSAGE_REASON_WEAK_SIGNAL = 0,
4571 WLACC_MESSAGE_REASON_CHANNEL_CONGESTION = 1,
4572 };
4573
4577 enum WLACC_SUGGEST_ACTION {
4581 WLACC_SUGGEST_ACTION_CLOSE_TO_WIFI = 0,
4585 WLACC_SUGGEST_ACTION_CONNECT_SSID = 1,
4590 WLACC_SUGGEST_ACTION_CHECK_5G = 2,
4595 WLACC_SUGGEST_ACTION_MODIFY_SSID = 3,
4596 };
4597
4601 struct WlAccStats {
4605 unsigned short e2eDelayPercent;
4609 unsigned short frozenRatioPercent;
4613 unsigned short lossRatePercent;
4614 };
4615
4619 enum NETWORK_TYPE {
4623 NETWORK_TYPE_UNKNOWN = -1,
4627 NETWORK_TYPE_DISCONNECTED = 0,
4631 NETWORK_TYPE_LAN = 1,
4635 NETWORK_TYPE_WIFI = 2,
4639 NETWORK_TYPE_MOBILE_2G = 3,
4643 NETWORK_TYPE_MOBILE_3G = 4,
4647 NETWORK_TYPE_MOBILE_4G = 5,
4651 NETWORK_TYPE_MOBILE_5G = 6,
4652 };
4653
4657 enum VIDEO_VIEW_SETUP_MODE {
4661 VIDEO_VIEW_SETUP_REPLACE = 0,
4665 VIDEO_VIEW_SETUP_ADD = 1,
4669 VIDEO_VIEW_SETUP_REMOVE = 2,
4670 };
4671
4675 struct VideoCanvas {
4679 uid_t uid;
4680
4685 uid_t subviewUid;
4689 view_t view;
4693 uint32_t backgroundColor;
4698 media::base::RENDER_MODE_TYPE renderMode;
4708 VIDEO_MIRROR_MODE_TYPE mirrorMode;
4713 VIDEO_VIEW_SETUP_MODE setupMode;
4718 VIDEO_SOURCE_TYPE sourceType;
4724 int mediaPlayerId;
4730 Rectangle cropArea;
4736 bool enableAlphaMask;
4741 media::base::VIDEO_MODULE_POSITION position;
4742
4743 VideoCanvas()
4744 : uid(0),
4745 subviewUid(0),
4746 view(NULL),
4747 backgroundColor(0x00000000),
4748 renderMode(media::base::RENDER_MODE_HIDDEN),
4749 mirrorMode(VIDEO_MIRROR_MODE_AUTO),
4750 setupMode(VIDEO_VIEW_SETUP_REPLACE),
4751 sourceType(VIDEO_SOURCE_CAMERA_PRIMARY),
4752 mediaPlayerId(-ERR_NOT_READY),
4753 cropArea(0, 0, 0, 0),
4754 enableAlphaMask(false),
4755 position(media::base::POSITION_POST_CAPTURER) {}
4756
4757 VideoCanvas(view_t v, media::base::RENDER_MODE_TYPE m, VIDEO_MIRROR_MODE_TYPE mt)
4758 : uid(0),
4759 subviewUid(0),
4760 view(v),
4761 backgroundColor(0x00000000),
4762 renderMode(m),
4763 mirrorMode(mt),
4764 setupMode(VIDEO_VIEW_SETUP_REPLACE),
4765 sourceType(VIDEO_SOURCE_CAMERA_PRIMARY),
4766 mediaPlayerId(-ERR_NOT_READY),
4767 cropArea(0, 0, 0, 0),
4768 enableAlphaMask(false),
4769 position(media::base::POSITION_POST_CAPTURER) {}
4770
4771 VideoCanvas(view_t v, media::base::RENDER_MODE_TYPE m, VIDEO_MIRROR_MODE_TYPE mt, uid_t u)
4772 : uid(u),
4773 subviewUid(0),
4774 view(v),
4775 backgroundColor(0x00000000),
4776 renderMode(m),
4777 mirrorMode(mt),
4778 setupMode(VIDEO_VIEW_SETUP_REPLACE),
4779 sourceType(VIDEO_SOURCE_CAMERA_PRIMARY),
4780 mediaPlayerId(-ERR_NOT_READY),
4781 cropArea(0, 0, 0, 0),
4782 enableAlphaMask(false),
4783 position(media::base::POSITION_POST_CAPTURER) {}
4784
4785 VideoCanvas(view_t v, media::base::RENDER_MODE_TYPE m, VIDEO_MIRROR_MODE_TYPE mt, uid_t u,
4786 uid_t subu)
4787 : uid(u),
4788 subviewUid(subu),
4789 view(v),
4790 backgroundColor(0x00000000),
4791 renderMode(m),
4792 mirrorMode(mt),
4793 setupMode(VIDEO_VIEW_SETUP_REPLACE),
4794 sourceType(VIDEO_SOURCE_CAMERA_PRIMARY),
4795 mediaPlayerId(-ERR_NOT_READY),
4796 cropArea(0, 0, 0, 0),
4797 enableAlphaMask(false),
4798 position(media::base::POSITION_POST_CAPTURER) {}
4799 };
4800
4803 struct BeautyOptions {
4806 enum LIGHTENING_CONTRAST_LEVEL {
4808 LIGHTENING_CONTRAST_LOW = 0,
4810 LIGHTENING_CONTRAST_NORMAL = 1,
4812 LIGHTENING_CONTRAST_HIGH = 2,
4813 };
4814
4818 LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel;
4819
4822 float lighteningLevel;
4823
4827 float smoothnessLevel;
4828
4832 float rednessLevel;
4833
4837 float sharpnessLevel;
4838
4839 BeautyOptions(LIGHTENING_CONTRAST_LEVEL contrastLevel, float lightening, float smoothness,
4840 float redness, float sharpness)
4841 : lighteningContrastLevel(contrastLevel),
4842 lighteningLevel(lightening),
4843 smoothnessLevel(smoothness),
4844 rednessLevel(redness),
4845 sharpnessLevel(sharpness) {}
4846
4847 BeautyOptions()
4848 : lighteningContrastLevel(LIGHTENING_CONTRAST_NORMAL),
4849 lighteningLevel(0),
4850 smoothnessLevel(0),
4851 rednessLevel(0),
4852 sharpnessLevel(0) {}
4853 };
4854
4859 struct FaceShapeAreaOptions {
4862 enum FACE_SHAPE_AREA {
4864 FACE_SHAPE_AREA_NONE = -1,
4866 FACE_SHAPE_AREA_HEADSCALE = 0,
4868 FACE_SHAPE_AREA_FOREHEAD = 1,
4870 FACE_SHAPE_AREA_FACECONTOUR = 2,
4872 FACE_SHAPE_AREA_FACELENGTH = 3,
4874 FACE_SHAPE_AREA_FACEWIDTH = 4,
4876 FACE_SHAPE_AREA_CHEEKBONE = 5,
4878 FACE_SHAPE_AREA_CHEEK = 6,
4880 FACE_SHAPE_AREA_CHIN = 7,
4882 FACE_SHAPE_AREA_EYESCALE = 8,
4884 FACE_SHAPE_AREA_NOSELENGTH = 9,
4886 FACE_SHAPE_AREA_NOSEWIDTH = 10,
4888 FACE_SHAPE_AREA_MOUTHSCALE = 11,
4889 };
4890
4893 FACE_SHAPE_AREA shapeArea;
4894
4900 int shapeIntensity;
4901
4902 FaceShapeAreaOptions(FACE_SHAPE_AREA shapeArea, int areaIntensity) : shapeArea(shapeArea), shapeIntensity(areaIntensity) {}
4903
4904 FaceShapeAreaOptions() : shapeArea(FACE_SHAPE_AREA_NONE), shapeIntensity(0) {}
4905 };
4906
4911 struct FaceShapeBeautyOptions {
4914 enum FACE_SHAPE_BEAUTY_STYLE {
4916 FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0,
4918 FACE_SHAPE_BEAUTY_STYLE_MALE = 1,
4919 };
4920
4923 FACE_SHAPE_BEAUTY_STYLE shapeStyle;
4924
4927 int styleIntensity;
4928
4929 FaceShapeBeautyOptions(FACE_SHAPE_BEAUTY_STYLE shapeStyle, int styleIntensity) : shapeStyle(shapeStyle), styleIntensity(styleIntensity) {}
4930
4931 FaceShapeBeautyOptions() : shapeStyle(FACE_SHAPE_BEAUTY_STYLE_FEMALE), styleIntensity(50) {}
4932 };
4933
4938 struct FilterEffectOptions {
4953 const char * path;
4954
4958 float strength;
4959
4960 FilterEffectOptions(const char * lut3dPath, float filterStrength) : path(lut3dPath), strength(filterStrength) {}
4961
4962 FilterEffectOptions() : path(OPTIONAL_NULLPTR), strength(0.5) {}
4963 };
4964
4965 struct LowlightEnhanceOptions {
4969 enum LOW_LIGHT_ENHANCE_MODE {
4973 LOW_LIGHT_ENHANCE_AUTO = 0,
4975 LOW_LIGHT_ENHANCE_MANUAL = 1,
4976 };
4980 enum LOW_LIGHT_ENHANCE_LEVEL {
4986 LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY = 0,
4991 LOW_LIGHT_ENHANCE_LEVEL_FAST = 1,
4992 };
4993
4996 LOW_LIGHT_ENHANCE_MODE mode;
4997
5000 LOW_LIGHT_ENHANCE_LEVEL level;
5001
5002 LowlightEnhanceOptions(LOW_LIGHT_ENHANCE_MODE lowlightMode, LOW_LIGHT_ENHANCE_LEVEL lowlightLevel)
5003 : mode(lowlightMode), level(lowlightLevel) {}
5004
5005 LowlightEnhanceOptions()
5006 : mode(LOW_LIGHT_ENHANCE_AUTO), level(LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY) {}
5007 };
5013 struct VideoDenoiserOptions {
5016 enum VIDEO_DENOISER_MODE {
5019 VIDEO_DENOISER_AUTO = 0,
5021 VIDEO_DENOISER_MANUAL = 1,
5022 };
5026 enum VIDEO_DENOISER_LEVEL {
5033 VIDEO_DENOISER_LEVEL_HIGH_QUALITY = 0,
5041 VIDEO_DENOISER_LEVEL_FAST = 1,
5042 };
5045 VIDEO_DENOISER_MODE mode;
5046
5049 VIDEO_DENOISER_LEVEL level;
5050
5051 VideoDenoiserOptions(VIDEO_DENOISER_MODE denoiserMode, VIDEO_DENOISER_LEVEL denoiserLevel)
5052 : mode(denoiserMode), level(denoiserLevel) {}
5053
5054 VideoDenoiserOptions() : mode(VIDEO_DENOISER_AUTO), level(VIDEO_DENOISER_LEVEL_HIGH_QUALITY) {}
5055 };
5056
5061 struct ColorEnhanceOptions {
5066 float strengthLevel;
5067
5076 float skinProtectLevel;
5077
5078 ColorEnhanceOptions(float stength, float skinProtect)
5079 : strengthLevel(stength), skinProtectLevel(skinProtect) {}
5080
5081 ColorEnhanceOptions() : strengthLevel(0), skinProtectLevel(1) {}
5082 };
5083
5087 struct VirtualBackgroundSource {
5090 enum BACKGROUND_SOURCE_TYPE {
5094 BACKGROUND_NONE = 0,
5098 BACKGROUND_COLOR = 1,
5102 BACKGROUND_IMG = 2,
5106 BACKGROUND_BLUR = 3,
5110 BACKGROUND_VIDEO = 4,
5111 };
5112
5115 enum BACKGROUND_BLUR_DEGREE {
5118 BLUR_DEGREE_LOW = 1,
5121 BLUR_DEGREE_MEDIUM = 2,
5124 BLUR_DEGREE_HIGH = 3,
5125 };
5126
5129 BACKGROUND_SOURCE_TYPE background_source_type;
5130
5140 unsigned int color;
5141
5150 const char* source;
5151
5156 BACKGROUND_BLUR_DEGREE blur_degree;
5157
5158 VirtualBackgroundSource()
5159 : background_source_type(BACKGROUND_COLOR),
5160 color(0xffffff),
5161 source(OPTIONAL_NULLPTR),
5162 blur_degree(BLUR_DEGREE_HIGH) {}
5163 };
5164
5165 struct SegmentationProperty {
5166 enum SEG_MODEL_TYPE {
5167
5168 SEG_MODEL_AI = 1,
5169 SEG_MODEL_GREEN = 2
5170 };
5171
5172 SEG_MODEL_TYPE modelType;
5173
5174 float greenCapacity;
5175
5176 SegmentationProperty() : modelType(SEG_MODEL_AI), greenCapacity(0.5) {}
5177 };
5178
5181 enum AUDIO_TRACK_TYPE {
5185 AUDIO_TRACK_INVALID = -1,
5192 AUDIO_TRACK_MIXABLE = 0,
5198 AUDIO_TRACK_DIRECT = 1,
5199 };
5200
5203 struct AudioTrackConfig {
5209 bool enableLocalPlayback;
5215 bool enableAudioProcessing;
5216
5217 AudioTrackConfig() : enableLocalPlayback(true),enableAudioProcessing(false) {}
5218 };
5219
5240 enum VOICE_BEAUTIFIER_PRESET {
5243 VOICE_BEAUTIFIER_OFF = 0x00000000,
5249 CHAT_BEAUTIFIER_MAGNETIC = 0x01010100,
5255 CHAT_BEAUTIFIER_FRESH = 0x01010200,
5261 CHAT_BEAUTIFIER_VITALITY = 0x01010300,
5271 SINGING_BEAUTIFIER = 0x01020100,
5274 TIMBRE_TRANSFORMATION_VIGOROUS = 0x01030100,
5277 TIMBRE_TRANSFORMATION_DEEP = 0x01030200,
5280 TIMBRE_TRANSFORMATION_MELLOW = 0x01030300,
5283 TIMBRE_TRANSFORMATION_FALSETTO = 0x01030400,
5286 TIMBRE_TRANSFORMATION_FULL = 0x01030500,
5289 TIMBRE_TRANSFORMATION_CLEAR = 0x01030600,
5292 TIMBRE_TRANSFORMATION_RESOUNDING = 0x01030700,
5295 TIMBRE_TRANSFORMATION_RINGING = 0x01030800,
5306 ULTRA_HIGH_QUALITY_VOICE = 0x01040100
5307 };
5308
5331 enum AUDIO_EFFECT_PRESET {
5334 AUDIO_EFFECT_OFF = 0x00000000,
5337 ROOM_ACOUSTICS_KTV = 0x02010100,
5340 ROOM_ACOUSTICS_VOCAL_CONCERT = 0x02010200,
5343 ROOM_ACOUSTICS_STUDIO = 0x02010300,
5346 ROOM_ACOUSTICS_PHONOGRAPH = 0x02010400,
5353 ROOM_ACOUSTICS_VIRTUAL_STEREO = 0x02010500,
5356 ROOM_ACOUSTICS_SPACIAL = 0x02010600,
5359 ROOM_ACOUSTICS_ETHEREAL = 0x02010700,
5371 ROOM_ACOUSTICS_3D_VOICE = 0x02010800,
5382 ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND = 0x02010900,
5390 ROOM_ACOUSTICS_CHORUS = 0x02010D00,
5397 VOICE_CHANGER_EFFECT_UNCLE = 0x02020100,
5403 VOICE_CHANGER_EFFECT_OLDMAN = 0x02020200,
5409 VOICE_CHANGER_EFFECT_BOY = 0x02020300,
5416 VOICE_CHANGER_EFFECT_SISTER = 0x02020400,
5422 VOICE_CHANGER_EFFECT_GIRL = 0x02020500,
5426 VOICE_CHANGER_EFFECT_PIGKING = 0x02020600,
5429 VOICE_CHANGER_EFFECT_HULK = 0x02020700,
5436 STYLE_TRANSFORMATION_RNB = 0x02030100,
5443 STYLE_TRANSFORMATION_POPULAR = 0x02030200,
5448 PITCH_CORRECTION = 0x02040100,
5449
5453 };
5454
5457 enum VOICE_CONVERSION_PRESET {
5460 VOICE_CONVERSION_OFF = 0x00000000,
5464 VOICE_CHANGER_NEUTRAL = 0x03010100,
5468 VOICE_CHANGER_SWEET = 0x03010200,
5472 VOICE_CHANGER_SOLID = 0x03010300,
5476 VOICE_CHANGER_BASS = 0x03010400,
5479 VOICE_CHANGER_CARTOON = 0x03010500,
5482 VOICE_CHANGER_CHILDLIKE = 0x03010600,
5485 VOICE_CHANGER_PHONE_OPERATOR = 0x03010700,
5488 VOICE_CHANGER_MONSTER = 0x03010800,
5491 VOICE_CHANGER_TRANSFORMERS = 0x03010900,
5494 VOICE_CHANGER_GROOT = 0x03010A00,
5497 VOICE_CHANGER_DARTH_VADER = 0x03010B00,
5500 VOICE_CHANGER_IRON_LADY = 0x03010C00,
5503 VOICE_CHANGER_SHIN_CHAN = 0x03010D00,
5506 VOICE_CHANGER_GIRLISH_MAN = 0x03010E00,
5509 VOICE_CHANGER_CHIPMUNK = 0x03010F00,
5510
5511 };
5512
5515 enum HEADPHONE_EQUALIZER_PRESET {
5518 HEADPHONE_EQUALIZER_OFF = 0x00000000,
5521 HEADPHONE_EQUALIZER_OVEREAR = 0x04000001,
5524 HEADPHONE_EQUALIZER_INEAR = 0x04000002
5525 };
5526
5529 enum VOICE_AI_TUNER_TYPE {
5532 VOICE_AI_TUNER_MATURE_MALE,
5535 VOICE_AI_TUNER_FRESH_MALE,
5538 VOICE_AI_TUNER_ELEGANT_FEMALE,
5541 VOICE_AI_TUNER_SWEET_FEMALE,
5544 VOICE_AI_TUNER_WARM_MALE_SINGING,
5547 VOICE_AI_TUNER_GENTLE_FEMALE_SINGING,
5550 VOICE_AI_TUNER_HUSKY_MALE_SINGING,
5553 VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING,
5556 VOICE_AI_TUNER_POWERFUL_MALE_SINGING,
5559 VOICE_AI_TUNER_DREAMY_FEMALE_SINGING,
5560 };
5561
5565 struct ScreenCaptureParameters {
5579 VideoDimensions dimensions;
5585 int frameRate;
5591 int bitrate;
5596 bool captureMouseCursor;
5603 bool windowFocus;
5610 view_t* excludeWindowList;
5614 int excludeWindowCount;
5615
5619 int highLightWidth;
5623 unsigned int highLightColor;
5632 bool enableHighLight;
5633
5634 ScreenCaptureParameters()
5635 : dimensions(1920, 1080),
5636 frameRate(5),
5637 bitrate(STANDARD_BITRATE),
5638 captureMouseCursor(true),
5639 windowFocus(false),
5640 excludeWindowList(OPTIONAL_NULLPTR),
5641 excludeWindowCount(0),
5642 highLightWidth(0),
5643 highLightColor(0),
5644 enableHighLight(false) {}
5645 ScreenCaptureParameters(const VideoDimensions& d, int f, int b)
5646 : dimensions(d),
5647 frameRate(f),
5648 bitrate(b),
5649 captureMouseCursor(true),
5650 windowFocus(false),
5651 excludeWindowList(OPTIONAL_NULLPTR),
5652 excludeWindowCount(0),
5653 highLightWidth(0),
5654 highLightColor(0),
5655 enableHighLight(false) {}
5656 ScreenCaptureParameters(int width, int height, int f, int b)
5657 : dimensions(width, height),
5658 frameRate(f),
5659 bitrate(b),
5660 captureMouseCursor(true),
5661 windowFocus(false),
5662 excludeWindowList(OPTIONAL_NULLPTR),
5663 excludeWindowCount(0),
5664 highLightWidth(0),
5665 highLightColor(0),
5666 enableHighLight(false) {}
5667 ScreenCaptureParameters(int width, int height, int f, int b, bool cur, bool fcs)
5668 : dimensions(width, height),
5669 frameRate(f),
5670 bitrate(b),
5671 captureMouseCursor(cur),
5672 windowFocus(fcs),
5673 excludeWindowList(OPTIONAL_NULLPTR),
5674 excludeWindowCount(0),
5675 highLightWidth(0),
5676 highLightColor(0),
5677 enableHighLight(false) {}
5678 ScreenCaptureParameters(int width, int height, int f, int b, view_t* ex, int cnt)
5679 : dimensions(width, height),
5680 frameRate(f),
5681 bitrate(b),
5682 captureMouseCursor(true),
5683 windowFocus(false),
5684 excludeWindowList(ex),
5685 excludeWindowCount(cnt),
5686 highLightWidth(0),
5687 highLightColor(0),
5688 enableHighLight(false) {}
5689 ScreenCaptureParameters(int width, int height, int f, int b, bool cur, bool fcs, view_t* ex,
5690 int cnt)
5691 : dimensions(width, height),
5692 frameRate(f),
5693 bitrate(b),
5694 captureMouseCursor(cur),
5695 windowFocus(fcs),
5696 excludeWindowList(ex),
5697 excludeWindowCount(cnt),
5698 highLightWidth(0),
5699 highLightColor(0),
5700 enableHighLight(false) {}
5701 };
5702
5706 enum AUDIO_RECORDING_QUALITY_TYPE {
5711 AUDIO_RECORDING_QUALITY_LOW = 0,
5716 AUDIO_RECORDING_QUALITY_MEDIUM = 1,
5721 AUDIO_RECORDING_QUALITY_HIGH = 2,
5725 AUDIO_RECORDING_QUALITY_ULTRA_HIGH = 3,
5726 };
5727
5731 enum AUDIO_FILE_RECORDING_TYPE {
5735 AUDIO_FILE_RECORDING_MIC = 1,
5739 AUDIO_FILE_RECORDING_PLAYBACK = 2,
5743 AUDIO_FILE_RECORDING_MIXED = 3,
5744 };
5745
5749 enum AUDIO_ENCODED_FRAME_OBSERVER_POSITION {
5753 AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD = 1,
5757 AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK = 2,
5761 AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED = 3,
5762 };
5763
5767 struct AudioRecordingConfiguration {
5773 const char* filePath;
5779 bool encode;
5790 int sampleRate;
5794 AUDIO_FILE_RECORDING_TYPE fileRecordingType;
5799 AUDIO_RECORDING_QUALITY_TYPE quality;
5800
5806 int recordingChannel;
5807
5808 AudioRecordingConfiguration()
5809 : filePath(OPTIONAL_NULLPTR),
5810 encode(false),
5811 sampleRate(32000),
5812 fileRecordingType(AUDIO_FILE_RECORDING_MIXED),
5813 quality(AUDIO_RECORDING_QUALITY_LOW),
5814 recordingChannel(1) {}
5815
5816 AudioRecordingConfiguration(const char* file_path, int sample_rate,
5817 AUDIO_RECORDING_QUALITY_TYPE quality_type, int channel)
5818 : filePath(file_path),
5819 encode(false),
5820 sampleRate(sample_rate),
5821 fileRecordingType(AUDIO_FILE_RECORDING_MIXED),
5822 quality(quality_type),
5823 recordingChannel(channel) {}
5824
5825 AudioRecordingConfiguration(const char* file_path, bool enc, int sample_rate,
5826 AUDIO_FILE_RECORDING_TYPE type,
5827 AUDIO_RECORDING_QUALITY_TYPE quality_type, int channel)
5828 : filePath(file_path),
5829 encode(enc),
5830 sampleRate(sample_rate),
5831 fileRecordingType(type),
5832 quality(quality_type),
5833 recordingChannel(channel) {}
5834
5835 AudioRecordingConfiguration(const AudioRecordingConfiguration& rhs)
5836 : filePath(rhs.filePath),
5837 encode(rhs.encode),
5838 sampleRate(rhs.sampleRate),
5839 fileRecordingType(rhs.fileRecordingType),
5840 quality(rhs.quality),
5841 recordingChannel(rhs.recordingChannel) {}
5842 };
5843
5847 struct AudioEncodedFrameObserverConfig {
5851 AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType;
5855 AUDIO_ENCODING_TYPE encodingType;
5856
5857 AudioEncodedFrameObserverConfig()
5858 : postionType(AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK),
5859 encodingType(AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM) {}
5860 };
5864 class IAudioEncodedFrameObserver {
5865 public:
5878 virtual void onRecordAudioEncodedFrame(const uint8_t* frameBuffer, int length,
5879 const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0;
5880
5893 virtual void onPlaybackAudioEncodedFrame(const uint8_t* frameBuffer, int length,
5894 const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0;
5895
5908 virtual void onMixedAudioEncodedFrame(const uint8_t* frameBuffer, int length,
5909 const EncodedAudioFrameInfo& audioEncodedFrameInfo) = 0;
5910
5911 virtual ~IAudioEncodedFrameObserver() {}
5912 };
5913
5916 enum AREA_CODE {
5920 AREA_CODE_CN = 0x00000001,
5924 AREA_CODE_NA = 0x00000002,
5928 AREA_CODE_EU = 0x00000004,
5932 AREA_CODE_AS = 0x00000008,
5936 AREA_CODE_JP = 0x00000010,
5940 AREA_CODE_IN = 0x00000020,
5944 AREA_CODE_GLOB = (0xFFFFFFFF)
5945 };
5946
5951 enum AREA_CODE_EX {
5955 AREA_CODE_OC = 0x00000040,
5959 AREA_CODE_SA = 0x00000080,
5963 AREA_CODE_AF = 0x00000100,
5967 AREA_CODE_KR = 0x00000200,
5971 AREA_CODE_HKMC = 0x00000400,
5975 AREA_CODE_US = 0x00000800,
5979 AREA_CODE_RU = 0x00001000,
5983 AREA_CODE_OVS = 0xFFFFFFFE
5984 };
5985
5989 enum CHANNEL_MEDIA_RELAY_ERROR {
5992 RELAY_OK = 0,
5995 RELAY_ERROR_SERVER_ERROR_RESPONSE = 1,
6002 RELAY_ERROR_SERVER_NO_RESPONSE = 2,
6005 RELAY_ERROR_NO_RESOURCE_AVAILABLE = 3,
6008 RELAY_ERROR_FAILED_JOIN_SRC = 4,
6011 RELAY_ERROR_FAILED_JOIN_DEST = 5,
6014 RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC = 6,
6017 RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST = 7,
6021 RELAY_ERROR_SERVER_CONNECTION_LOST = 8,
6024 RELAY_ERROR_INTERNAL_ERROR = 9,
6027 RELAY_ERROR_SRC_TOKEN_EXPIRED = 10,
6030 RELAY_ERROR_DEST_TOKEN_EXPIRED = 11,
6031 };
6032
6036 enum CHANNEL_MEDIA_RELAY_STATE {
6040 RELAY_STATE_IDLE = 0,
6043 RELAY_STATE_CONNECTING = 1,
6046 RELAY_STATE_RUNNING = 2,
6049 RELAY_STATE_FAILURE = 3,
6050 };
6051
6054 struct ChannelMediaInfo {
6057 uid_t uid;
6061 const char* channelName;
6065 const char* token;
6066
6067 ChannelMediaInfo() : uid(0), channelName(NULL), token(NULL) {}
6068 ChannelMediaInfo(const char* c, const char* t, uid_t u) : uid(u), channelName(c), token(t) {}
6069 };
6070
6073 struct ChannelMediaRelayConfiguration {
6086 ChannelMediaInfo* srcInfo;
6102 ChannelMediaInfo* destInfos;
6107 int destCount;
6108
6109 ChannelMediaRelayConfiguration()
6110 : srcInfo(OPTIONAL_NULLPTR), destInfos(OPTIONAL_NULLPTR), destCount(0) {}
6111 };
6112
6116 struct UplinkNetworkInfo {
6120 int video_encoder_target_bitrate_bps;
6121
6122 UplinkNetworkInfo() : video_encoder_target_bitrate_bps(0) {}
6123
6124 bool operator==(const UplinkNetworkInfo& rhs) const {
6125 return (video_encoder_target_bitrate_bps == rhs.video_encoder_target_bitrate_bps);
6126 }
6127 };
6128
6129 struct DownlinkNetworkInfo {
6130 struct PeerDownlinkInfo {
6134 const char* userId;
6138 VIDEO_STREAM_TYPE stream_type;
6142 REMOTE_VIDEO_DOWNSCALE_LEVEL current_downscale_level;
6146 int expected_bitrate_bps;
6147
6148 PeerDownlinkInfo()
6149 : userId(OPTIONAL_NULLPTR),
6150 stream_type(VIDEO_STREAM_HIGH),
6151 current_downscale_level(REMOTE_VIDEO_DOWNSCALE_LEVEL_NONE),
6152 expected_bitrate_bps(-1) {}
6153
6154 PeerDownlinkInfo(const PeerDownlinkInfo& rhs)
6155 : stream_type(rhs.stream_type),
6156 current_downscale_level(rhs.current_downscale_level),
6157 expected_bitrate_bps(rhs.expected_bitrate_bps) {
6158 if (rhs.userId != OPTIONAL_NULLPTR) {
6159 const size_t len = std::strlen(rhs.userId);
6160 char* buf = new char[len + 1];
6161 std::memcpy(buf, rhs.userId, len);
6162 buf[len] = '\0';
6163 userId = buf;
6164 }
6165 }
6166
6167 PeerDownlinkInfo& operator=(const PeerDownlinkInfo& rhs) {
6168 if (this == &rhs) return *this;
6169 userId = OPTIONAL_NULLPTR;
6170 stream_type = rhs.stream_type;
6171 current_downscale_level = rhs.current_downscale_level;
6172 expected_bitrate_bps = rhs.expected_bitrate_bps;
6173 if (rhs.userId != OPTIONAL_NULLPTR) {
6174 const size_t len = std::strlen(rhs.userId);
6175 char* buf = new char[len + 1];
6176 std::memcpy(buf, rhs.userId, len);
6177 buf[len] = '\0';
6178 userId = buf;
6179 }
6180 return *this;
6181 }
6182
6183 ~PeerDownlinkInfo() { delete[] userId; }
6184 };
6185
6189 int lastmile_buffer_delay_time_ms;
6193 int bandwidth_estimation_bps;
6197 int total_downscale_level_count;
6201 PeerDownlinkInfo* peer_downlink_info;
6205 int total_received_video_count;
6206
6207 DownlinkNetworkInfo()
6208 : lastmile_buffer_delay_time_ms(-1),
6209 bandwidth_estimation_bps(-1),
6210 total_downscale_level_count(-1),
6211 peer_downlink_info(OPTIONAL_NULLPTR),
6212 total_received_video_count(-1) {}
6213
6214 DownlinkNetworkInfo(const DownlinkNetworkInfo& info)
6215 : lastmile_buffer_delay_time_ms(info.lastmile_buffer_delay_time_ms),
6216 bandwidth_estimation_bps(info.bandwidth_estimation_bps),
6217 total_downscale_level_count(info.total_downscale_level_count),
6218 peer_downlink_info(OPTIONAL_NULLPTR),
6219 total_received_video_count(info.total_received_video_count) {
6220 if (total_received_video_count <= 0) return;
6221 peer_downlink_info = new PeerDownlinkInfo[total_received_video_count];
6222 for (int i = 0; i < total_received_video_count; ++i)
6223 peer_downlink_info[i] = info.peer_downlink_info[i];
6224 }
6225
6226 DownlinkNetworkInfo& operator=(const DownlinkNetworkInfo& rhs) {
6227 if (this == &rhs) return *this;
6228 lastmile_buffer_delay_time_ms = rhs.lastmile_buffer_delay_time_ms;
6229 bandwidth_estimation_bps = rhs.bandwidth_estimation_bps;
6230 total_downscale_level_count = rhs.total_downscale_level_count;
6231 peer_downlink_info = OPTIONAL_NULLPTR;
6232 total_received_video_count = rhs.total_received_video_count;
6233 if (total_received_video_count > 0) {
6234 peer_downlink_info = new PeerDownlinkInfo[total_received_video_count];
6235 for (int i = 0; i < total_received_video_count; ++i)
6236 peer_downlink_info[i] = rhs.peer_downlink_info[i];
6237 }
6238 return *this;
6239 }
6240
6241 ~DownlinkNetworkInfo() { delete[] peer_downlink_info; }
6242 };
6243
6250 enum ENCRYPTION_MODE {
6253 AES_128_XTS = 1,
6256 AES_128_ECB = 2,
6259 AES_256_XTS = 3,
6262 SM4_128_ECB = 4,
6265 AES_128_GCM = 5,
6268 AES_256_GCM = 6,
6272 AES_128_GCM2 = 7,
6276 AES_256_GCM2 = 8,
6279 MODE_END,
6280 };
6281
6283 struct EncryptionConfig {
6288 ENCRYPTION_MODE encryptionMode;
6295 const char* encryptionKey;
6303 uint8_t encryptionKdfSalt[32];
6304
6305 bool datastreamEncryptionEnabled;
6306
6307 EncryptionConfig()
6308 : encryptionMode(AES_128_GCM2),
6309 encryptionKey(OPTIONAL_NULLPTR),
6310 datastreamEncryptionEnabled(false) {
6311 memset(encryptionKdfSalt, 0, sizeof(encryptionKdfSalt));
6312 }
6313
6315 const char* getEncryptionString() const {
6316 switch (encryptionMode) {
6317 case AES_128_XTS:
6318 return "aes-128-xts";
6319 case AES_128_ECB:
6320 return "aes-128-ecb";
6321 case AES_256_XTS:
6322 return "aes-256-xts";
6323 case SM4_128_ECB:
6324 return "sm4-128-ecb";
6325 case AES_128_GCM:
6326 return "aes-128-gcm";
6327 case AES_256_GCM:
6328 return "aes-256-gcm";
6329 case AES_128_GCM2:
6330 return "aes-128-gcm-2";
6331 case AES_256_GCM2:
6332 return "aes-256-gcm-2";
6333 default:
6334 return "aes-128-gcm-2";
6335 }
6336 return "aes-128-gcm-2";
6337 }
6339 };
6340
6343 enum ENCRYPTION_ERROR_TYPE {
6347 ENCRYPTION_ERROR_INTERNAL_FAILURE = 0,
6352 ENCRYPTION_ERROR_DECRYPTION_FAILURE = 1,
6356 ENCRYPTION_ERROR_ENCRYPTION_FAILURE = 2,
6361 ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE = 3,
6365 ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE = 4,
6366 };
6367
6368 enum UPLOAD_ERROR_REASON {
6369 UPLOAD_SUCCESS = 0,
6370 UPLOAD_NET_ERROR = 1,
6371 UPLOAD_SERVER_ERROR = 2,
6372 };
6373
6376 enum PERMISSION_TYPE {
6380 RECORD_AUDIO = 0,
6384 CAMERA = 1,
6385
6386 SCREEN_CAPTURE = 2,
6387 };
6388
6392 enum STREAM_SUBSCRIBE_STATE {
6396 SUB_STATE_IDLE = 0,
6410 SUB_STATE_NO_SUBSCRIBED = 1,
6414 SUB_STATE_SUBSCRIBING = 2,
6418 SUB_STATE_SUBSCRIBED = 3
6419 };
6420
6424 enum STREAM_PUBLISH_STATE {
6428 PUB_STATE_IDLE = 0,
6439 PUB_STATE_NO_PUBLISHED = 1,
6443 PUB_STATE_PUBLISHING = 2,
6447 PUB_STATE_PUBLISHED = 3
6448 };
6449
6453 struct EchoTestConfiguration {
6454 view_t view;
6455 bool enableAudio;
6456 bool enableVideo;
6457 const char* token;
6458 const char* channelId;
6459 int intervalInSeconds;
6460
6461 EchoTestConfiguration(view_t v, bool ea, bool ev, const char* t, const char* c, const int is)
6462 : view(v), enableAudio(ea), enableVideo(ev), token(t), channelId(c), intervalInSeconds(is) {}
6463
6464 EchoTestConfiguration()
6465 : view(OPTIONAL_NULLPTR),
6466 enableAudio(true),
6467 enableVideo(true),
6468 token(OPTIONAL_NULLPTR),
6469 channelId(OPTIONAL_NULLPTR),
6470 intervalInSeconds(2) {}
6471 };
6472
6476 struct UserInfo {
6480 uid_t uid;
6484 char userAccount[MAX_USER_ACCOUNT_LENGTH];
6485
6486 UserInfo() : uid(0) { userAccount[0] = '\0'; }
6487 };
6488
6492 enum EAR_MONITORING_FILTER_TYPE {
6496 EAR_MONITORING_FILTER_NONE = (1 << 0),
6501 EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS = (1 << 1),
6505 EAR_MONITORING_FILTER_NOISE_SUPPRESSION = (1 << 2),
6511 EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER = (1 << 15),
6512 };
6513
6517 enum THREAD_PRIORITY_TYPE {
6521 LOWEST = 0,
6525 LOW = 1,
6529 NORMAL = 2,
6533 HIGH = 3,
6537 HIGHEST = 4,
6541 CRITICAL = 5,
6542 };
6543
6544 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
6545
6549 struct ScreenVideoParameters {
6576 VideoDimensions dimensions;
6582 int frameRate = 15;
6587 int bitrate;
6588 /*
6589 * The content hint of the screen sharing:
6590 */
6591 VIDEO_CONTENT_HINT contentHint = VIDEO_CONTENT_HINT::CONTENT_HINT_MOTION;
6592
6593 ScreenVideoParameters() : dimensions(1280, 720) {}
6594 };
6595
6599 struct ScreenAudioParameters {
6603 int sampleRate = 16000;
6607 int channels = 2;
6612 int captureSignalVolume = 100;
6613 };
6614
6618 struct ScreenCaptureParameters2 {
6628 bool captureAudio = false;
6632 ScreenAudioParameters audioParams;
6642 bool captureVideo = true;
6646 ScreenVideoParameters videoParams;
6647 };
6648 #endif
6649
6653 enum MEDIA_TRACE_EVENT {
6657 MEDIA_TRACE_EVENT_VIDEO_RENDERED = 0,
6661 MEDIA_TRACE_EVENT_VIDEO_DECODED,
6662 };
6663
6667 struct VideoRenderingTracingInfo {
6671 int elapsedTime;
6678 int start2JoinChannel;
6682 int join2JoinSuccess;
6690 int joinSuccess2RemoteJoined;
6698 int remoteJoined2SetView;
6707 int remoteJoined2UnmuteVideo;
6716 int remoteJoined2PacketReceived;
6717 };
6718
6719 enum CONFIG_FETCH_TYPE {
6723 CONFIG_FETCH_TYPE_INITIALIZE = 1,
6727 CONFIG_FETCH_TYPE_JOIN_CHANNEL = 2,
6728 };
6729
6731 enum LOCAL_PROXY_MODE {
6734 ConnectivityFirst = 0,
6737 LocalOnly = 1,
6738 };
6739
6740 struct LogUploadServerInfo {
6743 const char* serverDomain;
6746 const char* serverPath;
6749 int serverPort;
6754 bool serverHttps;
6755
6756 LogUploadServerInfo() : serverDomain(NULL), serverPath(NULL), serverPort(0), serverHttps(true) {}
6757
6758 LogUploadServerInfo(const char* domain, const char* path, int port, bool https)
6759 : serverDomain(domain), serverPath(path), serverPort(port), serverHttps(https) {}
6760 };
6761
6762 struct AdvancedConfigInfo {
6765 LogUploadServerInfo logUploadServer;
6766 };
6767
6768 struct LocalAccessPointConfiguration {
6771 const char** ipList;
6774 int ipListSize;
6777 const char** domainList;
6780 int domainListSize;
6785 const char* verifyDomainName;
6788 LOCAL_PROXY_MODE mode;
6791 AdvancedConfigInfo advancedConfig;
6797 bool disableAut;
6798 LocalAccessPointConfiguration()
6799 : ipList(NULL),
6800 ipListSize(0),
6801 domainList(NULL),
6802 domainListSize(0),
6803 verifyDomainName(NULL),
6804 mode(ConnectivityFirst),
6805 disableAut(true) {}
6806 };
6807
6808 enum RecorderStreamType {
6809 RTC,
6810 PREVIEW,
6811 };
6812
6816 struct RecorderStreamInfo {
6820 const char* channelId;
6824 uid_t uid;
6828 RecorderStreamType type;
6829 RecorderStreamInfo() : channelId(NULL), uid(0), type(RTC) {}
6830 RecorderStreamInfo(const char* channelId, uid_t uid)
6831 : channelId(channelId), uid(uid), type(RTC) {}
6832 RecorderStreamInfo(const char* channelId, uid_t uid, RecorderStreamType type)
6833 : channelId(channelId), uid(uid), type(type) {}
6834 };
6835 } // namespace rtc
6836
6837 namespace base {
6838
6839 class IEngineBase {
6840 public:
6841 virtual int queryInterface(rtc::INTERFACE_ID_TYPE iid, void** inter) = 0;
6842 virtual ~IEngineBase() {}
6843 };
6844
6845 class AParameter : public agora::util::AutoPtr<IAgoraParameter> {
6846 public:
6847 AParameter(IEngineBase& engine) { initialize(&engine); }
6848 AParameter(IEngineBase* engine) { initialize(engine); }
6849 AParameter(IAgoraParameter* p) : agora::util::AutoPtr<IAgoraParameter>(p) {}
6850
6851 private:
6852 bool initialize(IEngineBase* engine) {
6853 IAgoraParameter* p = OPTIONAL_NULLPTR;
6854 if (engine && !engine->queryInterface(rtc::AGORA_IID_PARAMETER_ENGINE, (void**)&p)) reset(p);
6855 return p != OPTIONAL_NULLPTR;
6856 }
6857 };
6858
6859 class LicenseCallback {
6860 public:
6861 virtual ~LicenseCallback() {}
6862 virtual void onCertificateRequired() = 0;
6863 virtual void onLicenseRequest() = 0;
6864 virtual void onLicenseValidated() = 0;
6865 virtual void onLicenseError(int result) = 0;
6866 };
6867
6868 } // namespace base
6869
6873 struct SpatialAudioParams {
6877 Optional<double> speaker_azimuth;
6881 Optional<double> speaker_elevation;
6885 Optional<double> speaker_distance;
6889 Optional<int> speaker_orientation;
6893 Optional<bool> enable_blur;
6897 Optional<bool> enable_air_absorb;
6901 Optional<double> speaker_attenuation;
6905 Optional<bool> enable_doppler;
6906 };
6910 struct VideoLayout {
6914 const char* channelId;
6918 rtc::uid_t uid;
6922 user_id_t strUid;
6926 uint32_t x;
6930 uint32_t y;
6934 uint32_t width;
6938 uint32_t height;
6943 uint32_t videoState;
6944
6945 VideoLayout()
6946 : channelId(OPTIONAL_NULLPTR),
6947 uid(0),
6948 strUid(OPTIONAL_NULLPTR),
6949 x(0),
6950 y(0),
6951 width(0),
6952 height(0),
6953 videoState(0) {}
6954 };
6955 } // namespace agora
6956
6962 AGORA_API const char* AGORA_CALL getAgoraSdkVersion(int* build);
6963
6969 AGORA_API const char* AGORA_CALL getAgoraSdkErrorDescription(int err);
6970
6971 AGORA_API int AGORA_CALL setAgoraSdkExternalSymbolLoader(void* (*func)(const char* symname));
6972
6980 AGORA_API int AGORA_CALL createAgoraCredential(agora::util::AString& credential);
6981
6995 AGORA_API int AGORA_CALL getAgoraCertificateVerifyResult(const char* credential_buf,
6996 int credential_len,
6997 const char* certificate_buf,
6998 int certificate_len);
6999
7007 AGORA_API void setAgoraLicenseCallback(agora::base::LicenseCallback* callback);
7008
7016 AGORA_API agora::base::LicenseCallback* getAgoraLicenseCallback();
7017
7018 /*
7019 * Get monotonic time in ms which can be used by capture time,
7020 * typical scenario is as follows:
7021 *
7022 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7023 * | // custom audio/video base capture time, e.g. the first audio/video capture time. | | int64_t
7024 * custom_capture_time_base; | | | |
7025 * int64_t agora_monotonic_time = getAgoraCurrentMonotonicTimeInMs(); |
7026 * | | | // offset is fixed once calculated in the begining. | | const int64_t offset =
7027 * agora_monotonic_time - custom_capture_time_base; | | | | //
7028 * realtime_custom_audio/video_capture_time is the origin capture time that customer provided.| | //
7029 * actual_audio/video_capture_time is the actual capture time transfered to sdk. | |
7030 * int64_t actual_audio_capture_time = realtime_custom_audio_capture_time + offset; |
7031 * | int64_t actual_video_capture_time = realtime_custom_video_capture_time + offset; |
7032 * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7033 *
7034 * @return
7035 * - >= 0: Success.
7036 * - < 0: Failure.
7037 */
7038 AGORA_API int64_t AGORA_CALL getAgoraCurrentMonotonicTimeInMs();
agora::rtc::REMOTE_VIDEO_STATE_DECODING
@ REMOTE_VIDEO_STATE_DECODING
Definition: AgoraBase.h:3233
agora::rtc::LiveTranscoding::transcodingUsers
TranscodingUser * transcodingUsers
Definition: AgoraBase.h:4023
agora::rtc::LogUploadServerInfo::serverDomain
const char * serverDomain
Definition: AgoraBase.h:6741
agora::WARN_NO_AVAILABLE_CHANNEL
@ WARN_NO_AVAILABLE_CHANNEL
Definition: AgoraBase.h:322
agora::rtc::IPacketObserver::onReceiveVideoPacket
virtual bool onReceiveVideoPacket(Packet &packet)=0
agora::ERR_CERT_JSON_PART
@ ERR_CERT_JSON_PART
Definition: AgoraBase.h:699
agora::rtc::CAMERA_FORMAT_BGRA
@ CAMERA_FORMAT_BGRA
Definition: AgoraBase.h:1845
agora::rtc::AudioEncodedFrameObserverConfig::AudioEncodedFrameObserverConfig
AudioEncodedFrameObserverConfig()
Definition: AgoraBase.h:5856
agora::util::AList::iterator
AOutputIterator< value_type > iterator
Definition: AgoraBase.h:244
agora::rtc::VideoCanvas::mediaPlayerId
int mediaPlayerId
Definition: AgoraBase.h:4723
agora::WARN_APM_HOWLING
@ WARN_APM_HOWLING
Definition: AgoraBase.h:425
agora::rtc::AREA_CODE_EX
AREA_CODE_EX
Definition: AgoraBase.h:5950
agora::ERR_ADM_STOP_RECORDING
@ ERR_ADM_STOP_RECORDING
Definition: AgoraBase.h:755
agora::rtc::RtcImage::width
int width
Definition: AgoraBase.h:3796
agora::rtc::TranscodingVideoStream::zOrder
int zOrder
Definition: AgoraBase.h:4160
agora::rtc::AES_256_GCM
@ AES_256_GCM
Definition: AgoraBase.h:6267
agora::rtc::RtcStats::firstAudioPacketDuration
int firstAudioPacketDuration
Definition: AgoraBase.h:2432
agora::rtc::ScreenAudioParameters::captureSignalVolume
int captureSignalVolume
Definition: AgoraBase.h:6610
agora::ERR_INVALID_USER_ACCOUNT
@ ERR_INVALID_USER_ACCOUNT
Definition: AgoraBase.h:687
agora::rtc::CONNECTION_CHANGED_LOST
@ CONNECTION_CHANGED_LOST
Definition: AgoraBase.h:4499
agora::ERR_FAILED
@ ERR_FAILED
Definition: AgoraBase.h:469
agora::rtc::FilterEffectOptions::strength
float strength
Definition: AgoraBase.h:4957
agora::rtc::SimulcastConfig::STREAM_LAYER_1
@ STREAM_LAYER_1
Definition: AgoraBase.h:2169
agora::rtc::VIDEO_CODEC_PROFILE_TYPE
VIDEO_CODEC_PROFILE_TYPE
Definition: AgoraBase.h:3547
agora::ERR_ALREADY_IN_USE
@ ERR_ALREADY_IN_USE
Definition: AgoraBase.h:551
agora::LICENSE_ERR_INTERNAL
@ LICENSE_ERR_INTERNAL
Definition: AgoraBase.h:786
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_INVALID_ID
Definition: AgoraBase.h:3056
agora::rtc::LOCAL_VIDEO_STREAM_STATE
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2977
agora::rtc::SM4_128_ECB
@ SM4_128_ECB
Definition: AgoraBase.h:6261
agora::VideoLayout::channelId
const char * channelId
Definition: AgoraBase.h:6912
agora::rtc::RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT
@ RTMP_STREAM_PUBLISH_REASON_REACH_LIMIT
Definition: AgoraBase.h:3707
agora::rtc::AUDIO_SAMPLE_RATE_48000
@ AUDIO_SAMPLE_RATE_48000
Definition: AgoraBase.h:3528
agora::rtc::CODEC_CAP_MASK_HW_DEC
@ CODEC_CAP_MASK_HW_DEC
Definition: AgoraBase.h:1879
agora::rtc::CONNECTION_STATE_FAILED
@ CONNECTION_STATE_FAILED
Definition: AgoraBase.h:3893
agora::rtc::VIDEO_FRAME_TYPE_DELTA_FRAME
@ VIDEO_FRAME_TYPE_DELTA_FRAME
Definition: AgoraBase.h:1021
agora::WARN_CHANNEL_CONNECTION_PORT_CHANGED
@ WARN_CHANNEL_CONNECTION_PORT_CHANGED
Definition: AgoraBase.h:374
agora::rtc::TranscodingVideoStream::alpha
double alpha
Definition: AgoraBase.h:4166
agora::rtc::EncodedAudioFrameInfo::captureTimeMs
int64_t captureTimeMs
Definition: AgoraBase.h:1523
agora::rtc::VideoEncoderConfiguration::degradationPreference
DEGRADATION_PREFERENCE degradationPreference
Definition: AgoraBase.h:2019
agora::rtc::LastmileProbeOneWayResult::LastmileProbeOneWayResult
LastmileProbeOneWayResult()
Definition: AgoraBase.h:4387
agora::util::IIterator::~IIterator
virtual ~IIterator()
Definition: AgoraBase.h:190
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::userId
const char * userId
Definition: AgoraBase.h:6133
agora::VideoLayout::x
uint32_t x
Definition: AgoraBase.h:6924
agora::rtc::VideoFormat::operator<
bool operator<(const VideoFormat &fmt) const
Definition: AgoraBase.h:2752
agora::rtc::VideoFormat::VideoFormat
VideoFormat()
Definition: AgoraBase.h:2749
agora::rtc::VirtualBackgroundSource::BACKGROUND_BLUR_DEGREE
BACKGROUND_BLUR_DEGREE
Definition: AgoraBase.h:5114
agora::rtc::EXPERIENCE_QUALITY_TYPE
EXPERIENCE_QUALITY_TYPE
Definition: AgoraBase.h:2581
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::current_downscale_level
REMOTE_VIDEO_DOWNSCALE_LEVEL current_downscale_level
Definition: AgoraBase.h:6141
agora::rtc::LastmileProbeResult::uplinkReport
LastmileProbeOneWayResult uplinkReport
Definition: AgoraBase.h:4401
agora::rtc::EncodedVideoFrameInfo::rotation
VIDEO_ORIENTATION rotation
Definition: AgoraBase.h:1719
agora::rtc::LOCAL_VIDEO_STREAM_STATE_STOPPED
@ LOCAL_VIDEO_STREAM_STATE_STOPPED
Definition: AgoraBase.h:2981
agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE
AUDIENCE_LATENCY_LEVEL_TYPE
Definition: AgoraBase.h:2554
agora::rtc::FRAME_RATE_FPS_15
@ FRAME_RATE_FPS_15
Definition: AgoraBase.h:989
agora::rtc::AdvancedConfigInfo::logUploadServer
LogUploadServerInfo logUploadServer
Definition: AgoraBase.h:6763
agora::ERR_BITRATE_LIMIT
@ ERR_BITRATE_LIMIT
Definition: AgoraBase.h:639
agora::rtc::AREA_CODE
AREA_CODE
Definition: AgoraBase.h:5915
agora::rtc::ScreenCaptureParameters::bitrate
int bitrate
Definition: AgoraBase.h:5590
agora::rtc::EchoTestConfiguration::channelId
const char * channelId
Definition: AgoraBase.h:6456
agora::rtc::VIDEO_MODULE_RENDERER
@ VIDEO_MODULE_RENDERER
Definition: AgoraBase.h:1861
agora::rtc::AUDIO_FILE_RECORDING_MIXED
@ AUDIO_FILE_RECORDING_MIXED
Definition: AgoraBase.h:5742
agora::rtc::BeautyOptions::lighteningLevel
float lighteningLevel
Definition: AgoraBase.h:4821
agora::util::AOutputIterator::operator==
bool operator==(const AOutputIterator &rhs) const
Definition: AgoraBase.h:220
agora::rtc::RtcStats::txVideoBytes
unsigned int txVideoBytes
Definition: AgoraBase.h:2341
agora::rtc::VirtualBackgroundSource::BACKGROUND_BLUR
@ BACKGROUND_BLUR
Definition: AgoraBase.h:5105
agora::rtc::LiveTranscoding::backgroundColor
unsigned int backgroundColor
Definition: AgoraBase.h:4013
agora::rtc::RELAY_STATE_FAILURE
@ RELAY_STATE_FAILURE
Definition: AgoraBase.h:6048
agora::rtc::LOCAL_PROXY_MODE
LOCAL_PROXY_MODE
Definition: AgoraBase.h:6729
agora::rtc::TIMBRE_TRANSFORMATION_FALSETTO
@ TIMBRE_TRANSFORMATION_FALSETTO
Definition: AgoraBase.h:5282
agora::rtc::DownlinkNetworkInfo::peer_downlink_info
PeerDownlinkInfo * peer_downlink_info
Definition: AgoraBase.h:6200
agora::rtc::DEGRADATION_PREFERENCE
DEGRADATION_PREFERENCE
Definition: AgoraBase.h:1061
agora::rtc::AudioVolumeInfo::voicePitch
double voicePitch
Definition: AgoraBase.h:3437
agora::rtc::TranscodingUser::y
int y
Definition: AgoraBase.h:3915
agora::rtc::ScreenCaptureParameters::highLightWidth
int highLightWidth
Definition: AgoraBase.h:5618
agora::rtc::NonInterleaved
@ NonInterleaved
Definition: AgoraBase.h:1567
agora::rtc::REMOTE_AUDIO_STATE_STOPPED
@ REMOTE_AUDIO_STATE_STOPPED
Definition: AgoraBase.h:3137
agora::rtc::RtcStats::rxKBitRate
unsigned short rxKBitRate
Definition: AgoraBase.h:2357
agora::rtc::RtcStats::memoryTotalUsageRatio
double memoryTotalUsageRatio
Definition: AgoraBase.h:2417
agora::rtc::LocalAudioStats::txPacketLossRate
unsigned short txPacketLossRate
Definition: AgoraBase.h:3605
agora::rtc::AGORA_IID_MEDIA_ENGINE_REGULATOR
@ AGORA_IID_MEDIA_ENGINE_REGULATOR
Definition: AgoraBase.h:878
agora::rtc::VideoFormat::fps
int fps
Definition: AgoraBase.h:2748
agora::rtc::LiveStreamAdvancedFeature::LiveStreamAdvancedFeature
LiveStreamAdvancedFeature()
Definition: AgoraBase.h:3825
agora::rtc::HIGHEST
@ HIGHEST
Definition: AgoraBase.h:6535
agora::SpatialAudioParams::speaker_elevation
Optional< double > speaker_elevation
Definition: AgoraBase.h:6879
agora::base::IEngineBase::queryInterface
virtual int queryInterface(rtc::INTERFACE_ID_TYPE iid, void **inter)=0
agora::rtc::VideoEncoderConfiguration::minBitrate
int minBitrate
Definition: AgoraBase.h:2011
agora::rtc::ScreenCaptureParameters::enableHighLight
bool enableHighLight
Definition: AgoraBase.h:5631
agora::rtc::CONNECTION_CHANGED_STREAM_CHANNEL_NOT_AVAILABLE
@ CONNECTION_CHANGED_STREAM_CHANNEL_NOT_AVAILABLE
Definition: AgoraBase.h:4528
agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_AUTO
@ VIDEO_DENOISER_AUTO
Definition: AgoraBase.h:5018
agora::rtc::QUALITY_POOR
@ QUALITY_POOR
Definition: AgoraBase.h:907
agora::rtc::VideoCanvas::setupMode
VIDEO_VIEW_SETUP_MODE setupMode
Definition: AgoraBase.h:4712
agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY
@ LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY
Definition: AgoraBase.h:4985
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_RESUMED
Definition: AgoraBase.h:3122
agora::WARN_CHANNEL_CONNECTION_IP_CHANGED
@ WARN_CHANNEL_CONNECTION_IP_CHANGED
Definition: AgoraBase.h:370
agora::rtc::TranscodingUser::audioChannel
int audioChannel
Definition: AgoraBase.h:3958
agora::util::AutoPtr::operator*
value_type & operator*() const
Definition: AgoraBase.h:117
agora::rtc::RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE
@ RTMP_STREAMING_EVENT_URL_ALREADY_IN_USE
Definition: AgoraBase.h:3763
agora::rtc::EXPERIENCE_QUALITY_GOOD
@ EXPERIENCE_QUALITY_GOOD
Definition: AgoraBase.h:2583
agora::rtc::AES_128_GCM
@ AES_128_GCM
Definition: AgoraBase.h:6264
agora::rtc::SimulcastConfig::StreamLayerIndex
StreamLayerIndex
Definition: AgoraBase.h:2165
agora::rtc::RtcStats::firstAudioPacketDurationAfterUnmute
int firstAudioPacketDurationAfterUnmute
Definition: AgoraBase.h:2452
agora::rtc::SimulcastConfig::STREAM_LAYER_2
@ STREAM_LAYER_2
Definition: AgoraBase.h:2173
agora::rtc::REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
@ REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
Definition: AgoraBase.h:3266
agora::ERR_INVALID_TOKEN
@ ERR_INVALID_TOKEN
Definition: AgoraBase.h:614
agora::rtc::RELAY_STATE_CONNECTING
@ RELAY_STATE_CONNECTING
Definition: AgoraBase.h:6042
agora::WARN_AUDIO_MIXING_OPEN_ERROR
@ WARN_AUDIO_MIXING_OPEN_ERROR
Definition: AgoraBase.h:381
agora::rtc::QUALITY_BAD
@ QUALITY_BAD
Definition: AgoraBase.h:911
agora::rtc::VideoFormat::width
int width
Definition: AgoraBase.h:2740
agora::rtc::ScreenCaptureParameters::windowFocus
bool windowFocus
Definition: AgoraBase.h:5602
agora::rtc::AudioEncodedFrameObserverConfig::encodingType
AUDIO_ENCODING_TYPE encodingType
Definition: AgoraBase.h:5854
agora::util::IContainer::begin
virtual IIterator * begin()=0
agora::rtc::USER_STATE_ENABLE_VIDEO
@ USER_STATE_ENABLE_VIDEO
Definition: AgoraBase.h:3318
agora::rtc::AUDIO_CODEC_TYPE
AUDIO_CODEC_TYPE
Definition: AgoraBase.h:1335
agora::rtc::WLACC_MESSAGE_REASON
WLACC_MESSAGE_REASON
Definition: AgoraBase.h:4562
agora::rtc::BeautyOptions::BeautyOptions
BeautyOptions()
Definition: AgoraBase.h:4846
agora::rtc::REMOTE_AUDIO_STATE_FAILED
@ REMOTE_AUDIO_STATE_FAILED
Definition: AgoraBase.h:3159
agora::rtc::SenderOptions::codecType
VIDEO_CODEC_TYPE codecType
Definition: AgoraBase.h:1266
agora::rtc::AGORA_IID_MEDIA_ENGINE
@ AGORA_IID_MEDIA_ENGINE
Definition: AgoraBase.h:873
agora::rtc::EncodedAudioFrameInfo::codec
AUDIO_CODEC_TYPE codec
Definition: AgoraBase.h:1500
agora::rtc::AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM
@ AUDIO_ENCODING_TYPE_AAC_48000_MEDIUM
Definition: AgoraBase.h:1415
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_NO_PERMISSION
Definition: AgoraBase.h:3099
agora::rtc::AUDIO_SCENARIO_GAME_STREAMING
@ AUDIO_SCENARIO_GAME_STREAMING
Definition: AgoraBase.h:2694
agora::rtc::AES_256_GCM2
@ AES_256_GCM2
Definition: AgoraBase.h:6275
agora::WARN_INIT_VIDEO
@ WARN_INIT_VIDEO
Definition: AgoraBase.h:312
agora::rtc::CONNECTION_CHANGED_BANNED_BY_SERVER
@ CONNECTION_CHANGED_BANNED_BY_SERVER
Definition: AgoraBase.h:4434
agora::AUDIO_SESSION_OPERATION_RESTRICTION_NONE
@ AUDIO_SESSION_OPERATION_RESTRICTION_NONE
Definition: AgoraBase.h:796
agora::rtc::SCREEN_SCENARIO_TYPE
SCREEN_SCENARIO_TYPE
Definition: AgoraBase.h:2792
agora::rtc::AGORA_IID_META_SERVICE
@ AGORA_IID_META_SERVICE
Definition: AgoraBase.h:881
agora::rtc::MixedAudioStream::MixedAudioStream
MixedAudioStream(AUDIO_SOURCE_TYPE source)
Definition: AgoraBase.h:4274
agora::util::AutoPtr::reset
void reset(pointer_type ptr=OPTIONAL_NULLPTR)
Definition: AgoraBase.h:129
agora::rtc::QUALITY_DETECTING
@ QUALITY_DETECTING
Definition: AgoraBase.h:927
agora::rtc::REMOTE_VIDEO_DOWNSCALE_LEVEL_NONE
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_NONE
Definition: AgoraBase.h:3385
agora::rtc::LiveTranscoding::videoGop
int videoGop
Definition: AgoraBase.h:4004
agora::rtc::ROOM_ACOUSTICS_STUDIO
@ ROOM_ACOUSTICS_STUDIO
Definition: AgoraBase.h:5342
agora::rtc::ChannelMediaRelayConfiguration::destCount
int destCount
Definition: AgoraBase.h:6106
agora::rtc::LocalAccessPointConfiguration::LocalAccessPointConfiguration
LocalAccessPointConfiguration()
Definition: AgoraBase.h:6796
agora::rtc::LocalAudioStats::audioDeviceDelay
int audioDeviceDelay
Definition: AgoraBase.h:3609
agora::rtc::CODEC_CAPABILITY_LEVEL_4K60FPS
@ CODEC_CAPABILITY_LEVEL_4K60FPS
Definition: AgoraBase.h:1167
agora::rtc::MODE_CONTAIN
@ MODE_CONTAIN
Definition: AgoraBase.h:945
agora::ERR_ADM_INIT_PLAYOUT
@ ERR_ADM_INIT_PLAYOUT
Definition: AgoraBase.h:734
agora::rtc::LastmileProbeOneWayResult::jitter
unsigned int jitter
Definition: AgoraBase.h:4381
agora::rtc::CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT
@ CONNECTION_CHANGED_KEEP_ALIVE_TIMEOUT
Definition: AgoraBase.h:4491
agora::ERR_ABORTED
@ ERR_ABORTED
Definition: AgoraBase.h:556
agora::ERR_CERT_FAIL
@ ERR_CERT_FAIL
Definition: AgoraBase.h:705
agora::rtc::DISABLE_SIMULCAST_STREAM
@ DISABLE_SIMULCAST_STREAM
Definition: AgoraBase.h:2127
agora::util::AutoPtr::operator->
pointer_type operator->() const
Definition: AgoraBase.h:119
agora::rtc::ORIENTATION_MODE
ORIENTATION_MODE
Definition: AgoraBase.h:1033
agora::rtc::RTMP_STREAMING_EVENT
RTMP_STREAMING_EVENT
Definition: AgoraBase.h:3753
agora::rtc::BeautyOptions::smoothnessLevel
float smoothnessLevel
Definition: AgoraBase.h:4826
agora::rtc::REMOTE_AUDIO_REASON_LOCAL_UNMUTED
@ REMOTE_AUDIO_REASON_LOCAL_UNMUTED
Definition: AgoraBase.h:3187
agora::rtc::REMOTE_AUDIO_REASON_NO_PACKET_RECEIVE
@ REMOTE_AUDIO_REASON_NO_PACKET_RECEIVE
Definition: AgoraBase.h:3205
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_NOT_SUPPORTED
Definition: AgoraBase.h:3095
agora::media::base::POSITION_POST_CAPTURER
@ POSITION_POST_CAPTURER
Definition: AgoraMediaBase.h:1203
agora::rtc::RELAY_ERROR_SERVER_NO_RESPONSE
@ RELAY_ERROR_SERVER_NO_RESPONSE
Definition: AgoraBase.h:6001
agora::rtc::RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC
@ RELAY_ERROR_FAILED_PACKET_RECEIVED_FROM_SRC
Definition: AgoraBase.h:6013
agora::rtc::VideoDenoiserOptions::level
VIDEO_DENOISER_LEVEL level
Definition: AgoraBase.h:5048
agora::rtc::HDR_CAPABILITY
HDR_CAPABILITY
Definition: AgoraBase.h:1864
agora::rtc::VideoCanvas::mirrorMode
VIDEO_MIRROR_MODE_TYPE mirrorMode
Definition: AgoraBase.h:4707
agora::rtc::RtcStats::duration
unsigned int duration
Definition: AgoraBase.h:2325
agora::rtc::SimulcastStreamConfig::framerate
int framerate
Definition: AgoraBase.h:2150
agora::rtc::REMOTE_AUDIO_STATE
REMOTE_AUDIO_STATE
Definition: AgoraBase.h:3131
agora::rtc::USER_STATE_MUTE_AUDIO
@ USER_STATE_MUTE_AUDIO
Definition: AgoraBase.h:3310
agora::rtc::SegmentationProperty::SEG_MODEL_GREEN
@ SEG_MODEL_GREEN
Definition: AgoraBase.h:5168
agora::util::AOutputIterator::AOutputIterator
AOutputIterator(IIterator *it=OPTIONAL_NULLPTR)
Definition: AgoraBase.h:211
agora::rtc::VideoDimensions::height
int height
Definition: AgoraBase.h:1111
agora::rtc::VideoSubscriptionOptions::VideoSubscriptionOptions
VideoSubscriptionOptions()
Definition: AgoraBase.h:1628
agora::rtc::LocalAccessPointConfiguration::mode
LOCAL_PROXY_MODE mode
Definition: AgoraBase.h:6786
agora::rtc::VIDEO_CODEC_H265
@ VIDEO_CODEC_H265
Definition: AgoraBase.h:1191
agora::util::AList::AList
AList(IContainer *c, bool take_ownership)
Definition: AgoraBase.h:249
agora::rtc::LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT
@ LOCAL_VIDEO_STREAM_REASON_CODEC_NOT_SUPPORT
Definition: AgoraBase.h:3028
agora::rtc::REMOTE_AUDIO_REASON_REMOTE_MUTED
@ REMOTE_AUDIO_REASON_REMOTE_MUTED
Definition: AgoraBase.h:3192
agora::rtc::VOICE_AI_TUNER_HUSKY_MALE_SINGING
@ VOICE_AI_TUNER_HUSKY_MALE_SINGING
Definition: AgoraBase.h:5549
agora::rtc::LastmileProbeConfig::probeUplink
bool probeUplink
Definition: AgoraBase.h:4330
agora::rtc::CODEC_CAP_MASK_NONE
@ CODEC_CAP_MASK_NONE
Definition: AgoraBase.h:1876
agora::rtc::AINS_MODE_BALANCED
@ AINS_MODE_BALANCED
Definition: AgoraBase.h:2622
agora::rtc::RecorderStreamInfo::channelId
const char * channelId
Definition: AgoraBase.h:6818
agora::rtc::LOCAL_VIDEO_STREAM_STATE_FAILED
@ LOCAL_VIDEO_STREAM_STATE_FAILED
Definition: AgoraBase.h:2994
agora::rtc::LocalAccessPointConfiguration
Definition: AgoraBase.h:6766
agora::rtc::VT_ERR_INVALID_VIDEO_SOURCE_TYPE
@ VT_ERR_INVALID_VIDEO_SOURCE_TYPE
Definition: AgoraBase.h:4230
agora::rtc::RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM
@ RTMP_STREAM_PUBLISH_REASON_TRANSCODING_NO_MIX_STREAM
Definition: AgoraBase.h:3732
agora::rtc::UPLOAD_NET_ERROR
@ UPLOAD_NET_ERROR
Definition: AgoraBase.h:6368
agora::ERR_CONNECTION_INTERRUPTED
@ ERR_CONNECTION_INTERRUPTED
Definition: AgoraBase.h:619
agora::rtc::FilterEffectOptions::path
const char * path
Definition: AgoraBase.h:4952
agora::WARN_LOOKUP_CHANNEL_REJECTED
@ WARN_LOOKUP_CHANNEL_REJECTED
Definition: AgoraBase.h:333
agora::rtc::AREA_CODE_JP
@ AREA_CODE_JP
Definition: AgoraBase.h:5935
agora::rtc::EXPERIENCE_POOR_REASON
EXPERIENCE_POOR_REASON
Definition: AgoraBase.h:2591
agora::rtc::AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM
@ AUDIO_ENCODING_TYPE_OPUS_16000_MEDIUM
Definition: AgoraBase.h:1430
agora::rtc::ENCRYPTION_ERROR_ENCRYPTION_FAILURE
@ ENCRYPTION_ERROR_ENCRYPTION_FAILURE
Definition: AgoraBase.h:6354
agora::rtc::AGORA_IID_SIGNALING_ENGINE
@ AGORA_IID_SIGNALING_ENGINE
Definition: AgoraBase.h:877
agora::rtc::AREA_CODE_EU
@ AREA_CODE_EU
Definition: AgoraBase.h:5927
agora::rtc::AUDIO_PROFILE_TYPE
AUDIO_PROFILE_TYPE
Definition: AgoraBase.h:2636
agora::rtc::AUDIO_CODEC_PROFILE_HE_AAC
@ AUDIO_CODEC_PROFILE_HE_AAC
Definition: AgoraBase.h:3574
agora::rtc::LiveTranscoding::videoCodecType
VIDEO_CODEC_TYPE_FOR_STREAM videoCodecType
Definition: AgoraBase.h:4015
agora::rtc::AGORA_IID_AUDIO_ENGINE
@ AGORA_IID_AUDIO_ENGINE
Definition: AgoraBase.h:874
agora::rtc::HDR_CAPABILITY_UNKNOWN
@ HDR_CAPABILITY_UNKNOWN
Definition: AgoraBase.h:1866
agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_MODE
VIDEO_DENOISER_MODE
Definition: AgoraBase.h:5015
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_NOSEWIDTH
@ FACE_SHAPE_AREA_NOSEWIDTH
Definition: AgoraBase.h:4885
agora::rtc::AGORA_IID_STATE_SYNC
@ AGORA_IID_STATE_SYNC
Definition: AgoraBase.h:880
agora::rtc::AREA_CODE_GLOB
@ AREA_CODE_GLOB
Definition: AgoraBase.h:5943
agora::util::AOutputIterator::~AOutputIterator
~AOutputIterator()
Definition: AgoraBase.h:212
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_PAUSED
Definition: AgoraBase.h:3120
agora::rtc::RtcStats::txBytes
unsigned int txBytes
Definition: AgoraBase.h:2329
agora::rtc::VIDEO_MODULE_SOFTWARE_DECODER
@ VIDEO_MODULE_SOFTWARE_DECODER
Definition: AgoraBase.h:1857
agora::rtc::TIMBRE_TRANSFORMATION_CLEAR
@ TIMBRE_TRANSFORMATION_CLEAR
Definition: AgoraBase.h:5288
agora::rtc::VideoFormat::height
int height
Definition: AgoraBase.h:2744
agora::rtc::LocalAccessPointConfiguration::ipList
const char ** ipList
Definition: AgoraBase.h:6769
agora::WARN_ADM_PLAYOUT_MALFUNCTION
@ WARN_ADM_PLAYOUT_MALFUNCTION
Definition: AgoraBase.h:397
agora::rtc::DeviceInfo::DeviceInfo
DeviceInfo()
Definition: AgoraBase.h:3453
agora::rtc::AREA_CODE_RU
@ AREA_CODE_RU
Definition: AgoraBase.h:5978
agora::rtc::AUDIO_ENCODED_FRAME_OBSERVER_POSITION
AUDIO_ENCODED_FRAME_OBSERVER_POSITION
Definition: AgoraBase.h:5748
agora::rtc::VOICE_CHANGER_SOLID
@ VOICE_CHANGER_SOLID
Definition: AgoraBase.h:5471
agora::rtc::VideoCanvas::uid
uid_t uid
Definition: AgoraBase.h:4678
agora::rtc::RtcStats::firstVideoPacketDuration
int firstVideoPacketDuration
Definition: AgoraBase.h:2437
agora::rtc::ROOM_ACOUSTICS_SPACIAL
@ ROOM_ACOUSTICS_SPACIAL
Definition: AgoraBase.h:5355
agora::rtc::AudioRecordingConfiguration::filePath
const char * filePath
Definition: AgoraBase.h:5772
agora::rtc::AUDIO_CODEC_AACLC
@ AUDIO_CODEC_AACLC
Definition: AgoraBase.h:1359
agora::rtc::EncodedVideoFrameInfo
Definition: AgoraBase.h:1643
agora::rtc::ColorEnhanceOptions::strengthLevel
float strengthLevel
Definition: AgoraBase.h:5065
agora::rtc::REMOTE_VIDEO_DOWNSCALE_LEVEL_2
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_2
Definition: AgoraBase.h:3393
agora::rtc::SIMULCAST_STREAM_MODE
SIMULCAST_STREAM_MODE
Definition: AgoraBase.h:2119
agora::rtc::ADAPT_DOWN_BANDWIDTH
@ ADAPT_DOWN_BANDWIDTH
Definition: AgoraBase.h:2547
agora::rtc::MEDIA_TRACE_EVENT_VIDEO_RENDERED
@ MEDIA_TRACE_EVENT_VIDEO_RENDERED
Definition: AgoraBase.h:6655
agora::rtc::IPacketObserver::~IPacketObserver
virtual ~IPacketObserver()
Definition: AgoraBase.h:3461
agora::rtc::SUB_STATE_SUBSCRIBING
@ SUB_STATE_SUBSCRIBING
Definition: AgoraBase.h:6412
agora::SpatialAudioParams::speaker_distance
Optional< double > speaker_distance
Definition: AgoraBase.h:6883
agora::rtc::VirtualBackgroundSource::BACKGROUND_NONE
@ BACKGROUND_NONE
Definition: AgoraBase.h:5093
agora::rtc::FaceShapeBeautyOptions::shapeStyle
FACE_SHAPE_BEAUTY_STYLE shapeStyle
Definition: AgoraBase.h:4922
agora::rtc::BeautyOptions::rednessLevel
float rednessLevel
Definition: AgoraBase.h:4831
agora::rtc::RtcStats::rxVideoBytes
unsigned int rxVideoBytes
Definition: AgoraBase.h:2349
agora::rtc::TranscodingVideoStream::remoteUserUid
uid_t remoteUserUid
Definition: AgoraBase.h:4125
agora::rtc::AUDIO_PROFILE_MUSIC_STANDARD_STEREO
@ AUDIO_PROFILE_MUSIC_STANDARD_STEREO
Definition: AgoraBase.h:2661
agora::rtc::AdvanceOptions::operator==
bool operator==(const AdvanceOptions &rhs) const
Definition: AgoraBase.h:1812
agora::ERR_TOO_MANY_DATA_STREAMS
@ ERR_TOO_MANY_DATA_STREAMS
Definition: AgoraBase.h:644
agora::rtc::LocalTranscoderConfiguration::LocalTranscoderConfiguration
LocalTranscoderConfiguration()
Definition: AgoraBase.h:4215
agora::view_t
void * view_t
Definition: AgoraBase.h:818
agora::rtc::AUDIO_TRACK_DIRECT
@ AUDIO_TRACK_DIRECT
Definition: AgoraBase.h:5197
agora::rtc::VideoEncoderConfiguration::dimensions
VideoDimensions dimensions
Definition: AgoraBase.h:1932
agora::rtc::EncodedVideoFrameInfo::uid
uid_t uid
Definition: AgoraBase.h:1692
agora::rtc::CODEC_CAP_MASK
CODEC_CAP_MASK
Definition: AgoraBase.h:1874
agora::rtc::TIMBRE_TRANSFORMATION_MELLOW
@ TIMBRE_TRANSFORMATION_MELLOW
Definition: AgoraBase.h:5279
agora::rtc::VIDEO_FRAME_TYPE_DROPPABLE_FRAME
@ VIDEO_FRAME_TYPE_DROPPABLE_FRAME
Definition: AgoraBase.h:1025
agora::rtc::EncodedAudioFrameInfo
Definition: AgoraBase.h:1482
agora::rtc::AUDIO_PROFILE_IOT
@ AUDIO_PROFILE_IOT
Definition: AgoraBase.h:2676
agora::rtc::PREFER_COMPRESSION_AUTO
@ PREFER_COMPRESSION_AUTO
Definition: AgoraBase.h:1752
agora::util::AutoPtr
Definition: AgoraBase.h:100
agora::util::AString
CopyableAutoPtr< IString > AString
Definition: AgoraBase.h:182
agora::rtc::CC_ENABLED
@ CC_ENABLED
Definition: AgoraBase.h:1247
agora::rtc::VIDEO_CODEC_AV1
@ VIDEO_CODEC_AV1
Definition: AgoraBase.h:1207
agora::rtc::LastmileProbeOneWayResult::packetLossRate
unsigned int packetLossRate
Definition: AgoraBase.h:4377
agora::rtc::APPLICATION_SCENARIO_MEETING
@ APPLICATION_SCENARIO_MEETING
Definition: AgoraBase.h:2828
agora::ERR_JOIN_CHANNEL_REJECTED
@ ERR_JOIN_CHANNEL_REJECTED
Definition: AgoraBase.h:540
agora::util::CopyableAutoPtr::CopyableAutoPtr
CopyableAutoPtr(pointer_type p=0)
Definition: AgoraBase.h:160
agora::rtc::VIDEO_STREAM_HIGH
@ VIDEO_STREAM_HIGH
Definition: AgoraBase.h:1581
agora::rtc::RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE
@ RTMP_STREAM_PUBLISH_REASON_INVALID_PRIVILEGE
Definition: AgoraBase.h:3744
agora::rtc::LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE
@ LOCAL_AUDIO_STREAM_REASON_RECORD_FAILURE
Definition: AgoraBase.h:2952
agora::AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION
@ AUDIO_SESSION_OPERATION_RESTRICTION_CONFIGURE_SESSION
Definition: AgoraBase.h:804
agora::UserInfo::hasAudio
bool hasAudio
Definition: AgoraBase.h:833
agora::rtc::CONTENT_HINT_MOTION
@ CONTENT_HINT_MOTION
Definition: AgoraBase.h:2781
agora::ERR_CERT_JSON_INVAL
@ ERR_CERT_JSON_INVAL
Definition: AgoraBase.h:700
agora::rtc::AUDIO_RECORDING_QUALITY_MEDIUM
@ AUDIO_RECORDING_QUALITY_MEDIUM
Definition: AgoraBase.h:5715
agora::rtc::ScreenCaptureParameters::excludeWindowCount
int excludeWindowCount
Definition: AgoraBase.h:5613
agora::rtc::ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND
@ ROOM_ACOUSTICS_VIRTUAL_SURROUND_SOUND
Definition: AgoraBase.h:5381
agora::rtc::VIDEO_QOE_PREFERENCE_FLUENCY_FIRST
@ VIDEO_QOE_PREFERENCE_FLUENCY_FIRST
Definition: AgoraBase.h:2858
agora::ERR_NET_DOWN
@ ERR_NET_DOWN
Definition: AgoraBase.h:534
agora::rtc::SCREEN_SCENARIO_RDC
@ SCREEN_SCENARIO_RDC
Definition: AgoraBase.h:2814
agora::rtc::RtcImage::RtcImage
RtcImage()
Definition: AgoraBase.h:3816
agora::ERROR_CODE_TYPE
ERROR_CODE_TYPE
Definition: AgoraBase.h:460
agora::ERR_INVALID_ARGUMENT
@ ERR_INVALID_ARGUMENT
Definition: AgoraBase.h:474
agora::rtc::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
Definition: AgoraBase.h:2683
agora::util::IIterator::const_current
virtual const void * const_current() const =0
agora::rtc::IPacketObserver::Packet::Packet
Packet()
Definition: AgoraBase.h:3477
agora::rtc::ORIENTATION_MODE_FIXED_PORTRAIT
@ ORIENTATION_MODE_FIXED_PORTRAIT
Definition: AgoraBase.h:1055
agora::rtc::AUDIO_CODEC_OPUS
@ AUDIO_CODEC_OPUS
Definition: AgoraBase.h:1339
agora::rtc::RELAY_ERROR_SERVER_ERROR_RESPONSE
@ RELAY_ERROR_SERVER_ERROR_RESPONSE
Definition: AgoraBase.h:5994
agora::rtc::AudioTrackConfig::enableLocalPlayback
bool enableLocalPlayback
Definition: AgoraBase.h:5208
agora::rtc::VOICE_CHANGER_EFFECT_HULK
@ VOICE_CHANGER_EFFECT_HULK
Definition: AgoraBase.h:5428
agora::user_id_t
const char * user_id_t
Definition: AgoraBase.h:817
agora::rtc::AUDIO_ENCODING_TYPE
AUDIO_ENCODING_TYPE
Definition: AgoraBase.h:1385
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_NOSELENGTH
@ FACE_SHAPE_AREA_NOSELENGTH
Definition: AgoraBase.h:4883
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_DARK
@ CAPTURE_BRIGHTNESS_LEVEL_DARK
Definition: AgoraBase.h:2879
agora::rtc::LiveTranscoding::audioCodecProfile
AUDIO_CODEC_PROFILE_TYPE audioCodecProfile
Definition: AgoraBase.h:4077
agora::rtc::HEADPHONE_EQUALIZER_OFF
@ HEADPHONE_EQUALIZER_OFF
Definition: AgoraBase.h:5517
agora::rtc::RecorderStreamInfo::uid
uid_t uid
Definition: AgoraBase.h:6822
agora::rtc::AREA_CODE_IN
@ AREA_CODE_IN
Definition: AgoraBase.h:5939
agora::rtc::VideoEncoderConfiguration
Definition: AgoraBase.h:1924
agora::rtc::Rectangle::width
int width
Definition: AgoraBase.h:2236
agora::rtc::SimulcastConfig::StreamLayerConfig::framerate
int framerate
Definition: AgoraBase.h:2207
agora::rtc::VideoEncoderConfiguration::bitrate
int bitrate
Definition: AgoraBase.h:1994
agora::rtc::VideoRenderingTracingInfo::remoteJoined2UnmuteVideo
int remoteJoined2UnmuteVideo
Definition: AgoraBase.h:6705
agora::rtc::SegmentationProperty::SegmentationProperty
SegmentationProperty()
Definition: AgoraBase.h:5175
agora::util::AList
Definition: AgoraBase.h:233
agora::rtc::VOICE_CHANGER_TRANSFORMERS
@ VOICE_CHANGER_TRANSFORMERS
Definition: AgoraBase.h:5490
agora::rtc::RtcStats::firstVideoKeyFrameDecodedDurationAfterUnmute
int firstVideoKeyFrameDecodedDurationAfterUnmute
Definition: AgoraBase.h:2467
agora::util::AutoPtr::release
pointer_type release()
Definition: AgoraBase.h:123
agora::rtc::VIDEO_STREAM_LAYER_6
@ VIDEO_STREAM_LAYER_6
Definition: AgoraBase.h:1609
agora::rtc::CONNECTION_STATE_CONNECTED
@ CONNECTION_STATE_CONNECTED
Definition: AgoraBase.h:3874
agora::rtc::REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
@ REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
Definition: AgoraBase.h:3278
agora::rtc::WatermarkRatio::WatermarkRatio
WatermarkRatio(float x, float y, float width)
Definition: AgoraBase.h:2278
agora::rtc::CONTENT_HINT_DETAILS
@ CONTENT_HINT_DETAILS
Definition: AgoraBase.h:2787
agora::CHANNEL_PROFILE_COMMUNICATION
@ CHANNEL_PROFILE_COMMUNICATION
Definition: AgoraBase.h:273
agora::rtc::MAINTAIN_BALANCED
@ MAINTAIN_BALANCED
Definition: AgoraBase.h:1089
agora::rtc::REMOTE_AUDIO_REASON_NETWORK_CONGESTION
@ REMOTE_AUDIO_REASON_NETWORK_CONGESTION
Definition: AgoraBase.h:3173
agora::rtc::UserInfo::UserInfo
UserInfo()
Definition: AgoraBase.h:6484
agora::rtc::VideoSubscriptionOptions
Definition: AgoraBase.h:1613
agora::rtc::VOICE_CHANGER_DARTH_VADER
@ VOICE_CHANGER_DARTH_VADER
Definition: AgoraBase.h:5496
agora::rtc::CONNECTION_STATE_RECONNECTING
@ CONNECTION_STATE_RECONNECTING
Definition: AgoraBase.h:3884
agora::rtc::VIDEO_QOE_PREFERENCE_TYPE
VIDEO_QOE_PREFERENCE_TYPE
Definition: AgoraBase.h:2842
agora::rtc::LOWEST
@ LOWEST
Definition: AgoraBase.h:6519
agora::rtc::LOCAL_AUDIO_STREAM_REASON_FAILURE
@ LOCAL_AUDIO_STREAM_REASON_FAILURE
Definition: AgoraBase.h:2937
agora::rtc::VOICE_CHANGER_CHILDLIKE
@ VOICE_CHANGER_CHILDLIKE
Definition: AgoraBase.h:5481
agora::rtc::CONTENT_HINT_NONE
@ CONTENT_HINT_NONE
Definition: AgoraBase.h:2774
agora::rtc::AudioTrackConfig::AudioTrackConfig
AudioTrackConfig()
Definition: AgoraBase.h:5216
agora::rtc::VIDEO_MODULE_HARDWARE_DECODER
@ VIDEO_MODULE_HARDWARE_DECODER
Definition: AgoraBase.h:1859
agora::rtc::ADAPT_NONE
@ ADAPT_NONE
Definition: AgoraBase.h:2539
agora::rtc::MAX_USER_ACCOUNT_LENGTH
@ MAX_USER_ACCOUNT_LENGTH
Definition: AgoraBase.h:1636
agora::rtc::UPLOAD_SUCCESS
@ UPLOAD_SUCCESS
Definition: AgoraBase.h:6367
agora::rtc::QUALITY_ADAPT_INDICATION
QUALITY_ADAPT_INDICATION
Definition: AgoraBase.h:2535
agora::rtc::AREA_CODE_OC
@ AREA_CODE_OC
Definition: AgoraBase.h:5954
agora::rtc::EchoTestConfiguration
Definition: AgoraBase.h:6451
agora::rtc::REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
@ REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
Definition: AgoraBase.h:3258
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::~PeerDownlinkInfo
~PeerDownlinkInfo()
Definition: AgoraBase.h:6182
agora::rtc::VideoFormat::operator!=
bool operator!=(const VideoFormat &fmt) const
Definition: AgoraBase.h:2764
agora::rtc::RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN
@ RTMP_STREAM_PUBLISH_REASON_TOO_OFTEN
Definition: AgoraBase.h:3703
agora::rtc::FilterEffectOptions::FilterEffectOptions
FilterEffectOptions()
Definition: AgoraBase.h:4961
agora::rtc::RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER
@ RTMP_STREAM_PUBLISH_REASON_NOT_BROADCASTER
Definition: AgoraBase.h:3725
agora::util::CopyableAutoPtr::clone
pointer_type clone() const
Definition: AgoraBase.h:166
agora::util::IString::data
virtual const char * data()=0
agora::rtc::TranscodingUser::x
int x
Definition: AgoraBase.h:3909
agora::rtc::ROOM_ACOUSTICS_CHORUS
@ ROOM_ACOUSTICS_CHORUS
Definition: AgoraBase.h:5389
agora::util::AutoPtr::get
pointer_type get() const
Definition: AgoraBase.h:121
agora::rtc::VIDEO_MODULE_HARDWARE_ENCODER
@ VIDEO_MODULE_HARDWARE_ENCODER
Definition: AgoraBase.h:1855
agora::rtc::VT_ERR_INVALID_LAYOUT
@ VT_ERR_INVALID_LAYOUT
Definition: AgoraBase.h:4242
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::stream_type
VIDEO_STREAM_TYPE stream_type
Definition: AgoraBase.h:6137
agora::ERR_NO_PERMISSION
@ ERR_NO_PERMISSION
Definition: AgoraBase.h:506
agora::rtc::LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE
@ LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE
Definition: AgoraBase.h:4362
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_FACECONTOUR
@ FACE_SHAPE_AREA_FACECONTOUR
Definition: AgoraBase.h:4869
agora::ERR_CERT_CUSTOM
@ ERR_CERT_CUSTOM
Definition: AgoraBase.h:702
agora::rtc::ChannelMediaInfo::token
const char * token
Definition: AgoraBase.h:6064
agora::rtc::AUDIO_PROFILE_MUSIC_HIGH_QUALITY
@ AUDIO_PROFILE_MUSIC_HIGH_QUALITY
Definition: AgoraBase.h:2665
agora::rtc::VOICE_CHANGER_EFFECT_OLDMAN
@ VOICE_CHANGER_EFFECT_OLDMAN
Definition: AgoraBase.h:5402
agora::rtc::REMOTE_VIDEO_STATE_REASON
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:3246
agora::rtc::SenderOptions::SenderOptions
SenderOptions()
Definition: AgoraBase.h:1329
agora::rtc::VideoRenderingTracingInfo::remoteJoined2PacketReceived
int remoteJoined2PacketReceived
Definition: AgoraBase.h:6714
agora::rtc::NETWORK_TYPE_MOBILE_2G
@ NETWORK_TYPE_MOBILE_2G
Definition: AgoraBase.h:4638
agora::rtc::CONNECTION_CHANGED_ECHO_TEST
@ CONNECTION_CHANGED_ECHO_TEST
Definition: AgoraBase.h:4503
agora::rtc::AudioRecordingConfiguration::encode
bool encode
Definition: AgoraBase.h:5778
agora::rtc::BeautyOptions::lighteningContrastLevel
LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel
Definition: AgoraBase.h:4817
agora::util::AOutputIterator::operator++
AOutputIterator & operator++()
Definition: AgoraBase.h:216
agora::rtc::FRAME_WIDTH
FRAME_WIDTH
Definition: AgoraBase.h:1004
agora::rtc::RTMP_STREAM_PUBLISH_REASON
RTMP_STREAM_PUBLISH_REASON
Definition: AgoraBase.h:3670
agora::ERR_VDM_CAMERA_NOT_AUTHORIZED
@ ERR_VDM_CAMERA_NOT_AUTHORIZED
Definition: AgoraBase.h:759
agora::ERR_CANCELED
@ ERR_CANCELED
Definition: AgoraBase.h:517
agora::rtc::WatermarkRatio::yRatio
float yRatio
Definition: AgoraBase.h:2268
agora::util::AList::const_reference
const value_type & const_reference
Definition: AgoraBase.h:240
agora::SpatialAudioParams::enable_blur
Optional< bool > enable_blur
Definition: AgoraBase.h:6891
agora::rtc::REMOTE_NETWORK_QUALITY_POOR
@ REMOTE_NETWORK_QUALITY_POOR
Definition: AgoraBase.h:2599
agora::rtc::SimulcastStreamConfig
Definition: AgoraBase.h:2137
agora::util::AList::reference
value_type & reference
Definition: AgoraBase.h:239
agora::rtc::RTMP_STREAM_PUBLISH_REASON_OK
@ RTMP_STREAM_PUBLISH_REASON_OK
Definition: AgoraBase.h:3674
agora::rtc::VOICE_CHANGER_CHIPMUNK
@ VOICE_CHANGER_CHIPMUNK
Definition: AgoraBase.h:5508
agora::ERR_INVALID_STATE
@ ERR_INVALID_STATE
Definition: AgoraBase.h:501
agora::rtc::LiveTranscoding::audioBitrate
int audioBitrate
Definition: AgoraBase.h:4065
agora::rtc::FaceShapeAreaOptions::shapeArea
FACE_SHAPE_AREA shapeArea
Definition: AgoraBase.h:4892
agora::rtc::ChannelMediaRelayConfiguration::destInfos
ChannelMediaInfo * destInfos
Definition: AgoraBase.h:6101
agora::rtc::VT_ERR_VIDEO_SOURCE_NOT_READY
@ VT_ERR_VIDEO_SOURCE_NOT_READY
Definition: AgoraBase.h:4226
agora::ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
@ ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
Definition: AgoraBase.h:652
agora::rtc::RtcImage::x
int x
Definition: AgoraBase.h:3787
agora::rtc::ChannelMediaInfo::ChannelMediaInfo
ChannelMediaInfo(const char *c, const char *t, uid_t u)
Definition: AgoraBase.h:6067
agora::rtc::AUDIO_CODEC_HEAAC
@ AUDIO_CODEC_HEAAC
Definition: AgoraBase.h:1363
agora::rtc::ScreenCaptureParameters2::captureAudio
bool captureAudio
Definition: AgoraBase.h:6626
agora::rtc::VirtualBackgroundSource::background_source_type
BACKGROUND_SOURCE_TYPE background_source_type
Definition: AgoraBase.h:5128
agora::rtc::VIDEO_CODEC_PROFILE_HIGH
@ VIDEO_CODEC_PROFILE_HIGH
Definition: AgoraBase.h:3560
agora::rtc::LogUploadServerInfo::LogUploadServerInfo
LogUploadServerInfo(const char *domain, const char *path, int port, bool https)
Definition: AgoraBase.h:6756
agora::rtc::EncryptionConfig::EncryptionConfig
EncryptionConfig()
Definition: AgoraBase.h:6306
agora::ERR_OK
@ ERR_OK
Definition: AgoraBase.h:464
agora::rtc::EncodedAudioFrameAdvancedSettings::EncodedAudioFrameAdvancedSettings
EncodedAudioFrameAdvancedSettings()
Definition: AgoraBase.h:1463
agora::rtc::TranscodingVideoStream::sourceType
VIDEO_SOURCE_TYPE sourceType
Definition: AgoraBase.h:4119
agora::rtc::WLACC_SUGGEST_ACTION_MODIFY_SSID
@ WLACC_SUGGEST_ACTION_MODIFY_SSID
Definition: AgoraBase.h:4594
agora::rtc::LASTMILE_PROBE_RESULT_COMPLETE
@ LASTMILE_PROBE_RESULT_COMPLETE
Definition: AgoraBase.h:4357
agora::rtc::VIDEO_MIRROR_MODE_TYPE
VIDEO_MIRROR_MODE_TYPE
Definition: AgoraBase.h:1822
agora::rtc::LOCAL_VIDEO_STREAM_REASON_OK
@ LOCAL_VIDEO_STREAM_REASON_OK
Definition: AgoraBase.h:3004
agora::util::AOutputIterator::reference
value_type & reference
Definition: AgoraBase.h:207
agora::util::AList::reset
void reset(IContainer *c=OPTIONAL_NULLPTR, bool take_ownership=false)
Definition: AgoraBase.h:251
agora::rtc::LocalTranscoderConfiguration::syncWithPrimaryCamera
bool syncWithPrimaryCamera
Definition: AgoraBase.h:4213
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_MINIMIZED
Definition: AgoraBase.h:3076
agora::rtc::RtcImage::zOrder
int zOrder
Definition: AgoraBase.h:3808
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_FACELENGTH
@ FACE_SHAPE_AREA_FACELENGTH
Definition: AgoraBase.h:4871
agora::rtc::CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER
@ CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED_BY_USER
Definition: AgoraBase.h:4507
agora::util::AList::const_pointer
const value_type * const_pointer
Definition: AgoraBase.h:242
agora::rtc::RELAY_ERROR_DEST_TOKEN_EXPIRED
@ RELAY_ERROR_DEST_TOKEN_EXPIRED
Definition: AgoraBase.h:6029
agora::rtc::ScreenVideoParameters::contentHint
VIDEO_CONTENT_HINT contentHint
Definition: AgoraBase.h:6589
agora::rtc::AUDIO_FILE_RECORDING_TYPE
AUDIO_FILE_RECORDING_TYPE
Definition: AgoraBase.h:5730
agora::rtc::ChannelMediaRelayConfiguration::ChannelMediaRelayConfiguration
ChannelMediaRelayConfiguration()
Definition: AgoraBase.h:6108
agora::rtc::VIDEO_CODEC_H265_FOR_STREAM
@ VIDEO_CODEC_H265_FOR_STREAM
Definition: AgoraBase.h:3541
agora::rtc::DEFAULT_MIN_BITRATE
const int DEFAULT_MIN_BITRATE
Definition: AgoraBase.h:1138
agora::rtc::AES_256_XTS
@ AES_256_XTS
Definition: AgoraBase.h:6258
agora::rtc::SCREEN_CAPTURE_FRAMERATE_CAPABILITY
SCREEN_CAPTURE_FRAMERATE_CAPABILITY
Definition: AgoraBase.h:1148
agora::rtc::ClientRoleOptions::audienceLatencyLevel
AUDIENCE_LATENCY_LEVEL_TYPE audienceLatencyLevel
Definition: AgoraBase.h:2573
agora::util::AutoPtr::AutoPtr
AutoPtr(pointer_type p=OPTIONAL_NULLPTR)
Definition: AgoraBase.h:106
agora::rtc::AudioVolumeInfo::volume
unsigned int volume
Definition: AgoraBase.h:3420
agora::rtc::TranscodingUser::uid
uid_t uid
Definition: AgoraBase.h:3903
agora::rtc::LASTMILE_PROBE_RESULT_UNAVAILABLE
@ LASTMILE_PROBE_RESULT_UNAVAILABLE
Definition: AgoraBase.h:4367
agora::rtc::VideoCanvas::enableAlphaMask
bool enableAlphaMask
Definition: AgoraBase.h:4735
agora::rtc::VideoRenderingTracingInfo::elapsedTime
int elapsedTime
Definition: AgoraBase.h:6669
agora::rtc::CLIENT_ROLE_BROADCASTER
@ CLIENT_ROLE_BROADCASTER
Definition: AgoraBase.h:2524
agora::ERR_ADM_START_RECORDING
@ ERR_ADM_START_RECORDING
Definition: AgoraBase.h:751
agora::rtc::LiveStreamAdvancedFeature::featureName
const char * featureName
Definition: AgoraBase.h:3837
agora::rtc::AdvancedConfigInfo
Definition: AgoraBase.h:6760
agora::rtc::ScreenAudioParameters::channels
int channels
Definition: AgoraBase.h:6605
agora::rtc::HEADPHONE_EQUALIZER_PRESET
HEADPHONE_EQUALIZER_PRESET
Definition: AgoraBase.h:5514
agora::util::AutoPtr::value_type
T value_type
Definition: AgoraBase.h:102
agora::rtc::VOICE_AI_TUNER_SWEET_FEMALE
@ VOICE_AI_TUNER_SWEET_FEMALE
Definition: AgoraBase.h:5540
agora::rtc::CONNECTION_CHANGED_CERTIFICATION_VERYFY_FAILURE
@ CONNECTION_CHANGED_CERTIFICATION_VERYFY_FAILURE
Definition: AgoraBase.h:4524
agora::rtc::RTMP_STREAM_PUBLISH_STATE_CONNECTING
@ RTMP_STREAM_PUBLISH_STATE_CONNECTING
Definition: AgoraBase.h:3637
agora::rtc::LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID
@ LOCAL_AUDIO_STREAM_REASON_RECORD_INVALID_ID
Definition: AgoraBase.h:2969
agora::rtc::Rectangle::y
int y
Definition: AgoraBase.h:2232
agora::rtc::STYLE_TRANSFORMATION_RNB
@ STYLE_TRANSFORMATION_RNB
Definition: AgoraBase.h:5435
agora::rtc::PUB_STATE_NO_PUBLISHED
@ PUB_STATE_NO_PUBLISHED
Definition: AgoraBase.h:6437
agora::util::AList::value_type
T value_type
Definition: AgoraBase.h:238
agora::rtc::ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE
@ ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE
Definition: AgoraBase.h:6359
agora::rtc::LocalAudioStats::sentBitrate
int sentBitrate
Definition: AgoraBase.h:3596
agora::rtc::CODEC_CAPABILITY_LEVEL_UNSPECIFIED
@ CODEC_CAPABILITY_LEVEL_UNSPECIFIED
Definition: AgoraBase.h:1159
agora::rtc::AUDIO_CODEC_PCMA
@ AUDIO_CODEC_PCMA
Definition: AgoraBase.h:1344
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::RtcImage::url
const char * url
Definition: AgoraBase.h:3782
agora::rtc::IPacketObserver::Packet::buffer
const unsigned char * buffer
Definition: AgoraBase.h:3471
agora::rtc::EncodedVideoFrameInfo::decodeTimeMs
int64_t decodeTimeMs
Definition: AgoraBase.h:1732
agora::rtc::RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN
@ RTMP_STREAMING_EVENT_REQUEST_TOO_OFTEN
Definition: AgoraBase.h:3771
agora::rtc::RtcStats::firstVideoKeyFrameRenderedDurationAfterUnmute
int firstVideoKeyFrameRenderedDurationAfterUnmute
Definition: AgoraBase.h:2472
agora::rtc::COMPATIBLE_BITRATE
const int COMPATIBLE_BITRATE
Definition: AgoraBase.h:1133
agora::rtc::CONNECTION_CHANGED_REJOIN_SUCCESS
@ CONNECTION_CHANGED_REJOIN_SUCCESS
Definition: AgoraBase.h:4495
agora::rtc::EncodedAudioFrameInfo::EncodedAudioFrameInfo
EncodedAudioFrameInfo()
Definition: AgoraBase.h:1483
agora::rtc::LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE
@ LOCAL_AUDIO_STREAM_REASON_NO_PLAYOUT_DEVICE
Definition: AgoraBase.h:2962
agora::rtc::VIDEO_MIRROR_MODE_ENABLED
@ VIDEO_MIRROR_MODE_ENABLED
Definition: AgoraBase.h:1830
agora::rtc::AUDIO_EFFECT_PRESET
AUDIO_EFFECT_PRESET
Definition: AgoraBase.h:5330
agora::WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
@ WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
Definition: AgoraBase.h:409
agora::rtc::REMOTE_AUDIO_STATE_FROZEN
@ REMOTE_AUDIO_STATE_FROZEN
Definition: AgoraBase.h:3154
agora::rtc::SimulcastConfig::configs
StreamLayerConfig configs[STREAM_LAYER_COUNT_MAX]
Definition: AgoraBase.h:2218
agora::rtc::AREA_CODE_AF
@ AREA_CODE_AF
Definition: AgoraBase.h:5962
agora::util::AList::end
iterator end()
Definition: AgoraBase.h:257
agora::rtc::AGORA_IID_RTC_CONNECTION
@ AGORA_IID_RTC_CONNECTION
Definition: AgoraBase.h:876
agora::rtc::AudioRecordingConfiguration::sampleRate
int sampleRate
Definition: AgoraBase.h:5789
agora::ERR_DECRYPTION_FAILED
@ ERR_DECRYPTION_FAILED
Definition: AgoraBase.h:657
agora::ERR_DATASTREAM_DECRYPTION_FAILED
@ ERR_DATASTREAM_DECRYPTION_FAILED
Definition: AgoraBase.h:666
agora::rtc::TCcMode
TCcMode
Definition: AgoraBase.h:1243
agora::rtc::AUDIO_AINS_MODE
AUDIO_AINS_MODE
Definition: AgoraBase.h:2618
agora::rtc::track_id_t
unsigned int track_id_t
Definition: AgoraMediaBase.h:29
agora::rtc::EXPERIENCE_QUALITY_BAD
@ EXPERIENCE_QUALITY_BAD
Definition: AgoraBase.h:2585
agora::util::AList::pointer
value_type * pointer
Definition: AgoraBase.h:241
agora::rtc::AUDIO_ENCODING_TYPE_AAC_16000_LOW
@ AUDIO_ENCODING_TYPE_AAC_16000_LOW
Definition: AgoraBase.h:1390
agora::rtc::PITCH_CORRECTION
@ PITCH_CORRECTION
Definition: AgoraBase.h:5447
agora::rtc::REMOTE_AUDIO_REASON_NETWORK_RECOVERY
@ REMOTE_AUDIO_REASON_NETWORK_RECOVERY
Definition: AgoraBase.h:3177
agora::UserInfo::userId
util::AString userId
Definition: AgoraBase.h:827
agora::rtc::ScreenCaptureParameters2::videoParams
ScreenVideoParameters videoParams
Definition: AgoraBase.h:6644
agora::rtc::REMOTE_VIDEO_STATE
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:3215
agora::rtc::UplinkNetworkInfo
Definition: AgoraBase.h:6115
agora::rtc::WatermarkOptions::positionInPortraitMode
Rectangle positionInPortraitMode
Definition: AgoraBase.h:2300
agora::rtc::LocalAccessPointConfiguration::advancedConfig
AdvancedConfigInfo advancedConfig
Definition: AgoraBase.h:6789
agora::rtc::LastmileProbeResult::downlinkReport
LastmileProbeOneWayResult downlinkReport
Definition: AgoraBase.h:4405
agora::rtc::LiveTranscoding::watermarkCount
unsigned int watermarkCount
Definition: AgoraBase.h:4044
agora::rtc::AUDIO_ENCODING_TYPE_AAC_48000_HIGH
@ AUDIO_ENCODING_TYPE_AAC_48000_HIGH
Definition: AgoraBase.h:1420
agora::rtc::CONNECTION_CHANGED_LEAVE_CHANNEL
@ CONNECTION_CHANGED_LEAVE_CHANNEL
Definition: AgoraBase.h:4443
agora::rtc::INTERFACE_ID_TYPE
INTERFACE_ID_TYPE
Definition: AgoraBase.h:869
agora::rtc::SCREEN_SCENARIO_VIDEO
@ SCREEN_SCENARIO_VIDEO
Definition: AgoraBase.h:2808
agora::rtc::Rectangle::x
int x
Definition: AgoraBase.h:2228
agora::rtc::ROOM_ACOUSTICS_VOCAL_CONCERT
@ ROOM_ACOUSTICS_VOCAL_CONCERT
Definition: AgoraBase.h:5339
agora::rtc::H264PacketizeMode
H264PacketizeMode
Definition: AgoraBase.h:1563
agora::rtc::LocalTranscoderConfiguration::videoInputStreams
TranscodingVideoStream * videoInputStreams
Definition: AgoraBase.h:4199
agora::rtc::CONNECTION_CHANGED_RENEW_TOKEN
@ CONNECTION_CHANGED_RENEW_TOKEN
Definition: AgoraBase.h:4481
agora::ERR_ADM_START_PLAYOUT
@ ERR_ADM_START_PLAYOUT
Definition: AgoraBase.h:738
agora::util::IString
Definition: AgoraBase.h:172
agora::rtc::LocalAccessPointConfiguration::verifyDomainName
const char * verifyDomainName
Definition: AgoraBase.h:6783
agora::SpatialAudioParams::enable_air_absorb
Optional< bool > enable_air_absorb
Definition: AgoraBase.h:6895
agora::rtc::UPLOAD_SERVER_ERROR
@ UPLOAD_SERVER_ERROR
Definition: AgoraBase.h:6369
agora::rtc::VIDEO_CODEC_VP8
@ VIDEO_CODEC_VP8
Definition: AgoraBase.h:1183
agora::WARN_ADM_RECORD_AUDIO_SILENCE
@ WARN_ADM_RECORD_AUDIO_SILENCE
Definition: AgoraBase.h:393
agora::rtc::VOICE_CHANGER_BASS
@ VOICE_CHANGER_BASS
Definition: AgoraBase.h:5475
agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_LEVEL
LOW_LIGHT_ENHANCE_LEVEL
Definition: AgoraBase.h:4979
agora::rtc::MAX_USER_ACCOUNT_LENGTH_TYPE
MAX_USER_ACCOUNT_LENGTH_TYPE
Definition: AgoraBase.h:1633
agora::rtc::SegmentationProperty::SEG_MODEL_TYPE
SEG_MODEL_TYPE
Definition: AgoraBase.h:5165
agora::rtc::LOW
@ LOW
Definition: AgoraBase.h:6523
agora::rtc::RTMP_STREAM_PUBLISH_STATE_RECOVERING
@ RTMP_STREAM_PUBLISH_STATE_RECOVERING
Definition: AgoraBase.h:3653
agora::rtc::APPLICATION_SCENARIO_1V1
@ APPLICATION_SCENARIO_1V1
Definition: AgoraBase.h:2832
agora::rtc::EncodedAudioFrameInfo::advancedSettings
EncodedAudioFrameAdvancedSettings advancedSettings
Definition: AgoraBase.h:1518
agora::rtc::VOICE_AI_TUNER_DREAMY_FEMALE_SINGING
@ VOICE_AI_TUNER_DREAMY_FEMALE_SINGING
Definition: AgoraBase.h:5558
agora::ERR_CERT_RAW
@ ERR_CERT_RAW
Definition: AgoraBase.h:698
agora::rtc::AUDIO_ENCODING_TYPE_OPUS_48000_HIGH
@ AUDIO_ENCODING_TYPE_OPUS_48000_HIGH
Definition: AgoraBase.h:1440
agora::rtc::VOICE_CONVERSION_OFF
@ VOICE_CONVERSION_OFF
Definition: AgoraBase.h:5459
agora::rtc::AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM
@ AUDIO_ENCODING_TYPE_AAC_32000_MEDIUM
Definition: AgoraBase.h:1405
agora::rtc::VOICE_CHANGER_IRON_LADY
@ VOICE_CHANGER_IRON_LADY
Definition: AgoraBase.h:5499
agora::rtc::CODEC_CAP_MASK_SW_ENC
@ CODEC_CAP_MASK_SW_ENC
Definition: AgoraBase.h:1888
agora::rtc::CHANNEL_MEDIA_RELAY_STATE
CHANNEL_MEDIA_RELAY_STATE
Definition: AgoraBase.h:6035
agora::rtc::BeautyOptions::LIGHTENING_CONTRAST_LEVEL
LIGHTENING_CONTRAST_LEVEL
Definition: AgoraBase.h:4805
agora::rtc::WatermarkRatio::xRatio
float xRatio
Definition: AgoraBase.h:2262
agora::rtc::RELAY_ERROR_FAILED_JOIN_DEST
@ RELAY_ERROR_FAILED_JOIN_DEST
Definition: AgoraBase.h:6010
agora::util::CopyableAutoPtr::operator=
CopyableAutoPtr & operator=(const CopyableAutoPtr &rhs)
Definition: AgoraBase.h:162
agora::rtc::LocalAudioStats::sentSampleRate
int sentSampleRate
Definition: AgoraBase.h:3592
agora::WARN_ADM_IMPROPER_SETTINGS
@ WARN_ADM_IMPROPER_SETTINGS
Definition: AgoraBase.h:433
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_AUTO_FALLBACK
Definition: AgoraBase.h:3105
agora::rtc::USER_STATE_ENABLE_LOCAL_VIDEO
@ USER_STATE_ENABLE_LOCAL_VIDEO
Definition: AgoraBase.h:3322
agora::rtc::VideoSubscriptionOptions::type
Optional< VIDEO_STREAM_TYPE > type
Definition: AgoraBase.h:1620
agora::rtc::VOICE_AI_TUNER_MATURE_MALE
@ VOICE_AI_TUNER_MATURE_MALE
Definition: AgoraBase.h:5531
agora::rtc::RecorderStreamInfo::type
RecorderStreamType type
Definition: AgoraBase.h:6826
agora::rtc::LocalAudioMixerConfiguration::audioInputStreams
MixedAudioStream * audioInputStreams
Definition: AgoraBase.h:4308
agora::rtc::LastmileProbeConfig::expectedDownlinkBitrate
unsigned int expectedDownlinkBitrate
Definition: AgoraBase.h:4347
agora::rtc::REMOTE_AUDIO_REASON_REMOTE_UNMUTED
@ REMOTE_AUDIO_REASON_REMOTE_UNMUTED
Definition: AgoraBase.h:3197
agora::ERR_INIT_NET_ENGINE
@ ERR_INIT_NET_ENGINE
Definition: AgoraBase.h:561
agora::rtc::ENCRYPTION_ERROR_DECRYPTION_FAILURE
@ ENCRYPTION_ERROR_DECRYPTION_FAILURE
Definition: AgoraBase.h:6350
agora::rtc::CONNECTION_CHANGED_JOIN_FAILED
@ CONNECTION_CHANGED_JOIN_FAILED
Definition: AgoraBase.h:4439
agora::rtc::RtcStats::cpuTotalUsage
double cpuTotalUsage
Definition: AgoraBase.h:2400
agora::rtc::IPacketObserver::Packet::size
unsigned int size
Definition: AgoraBase.h:3475
agora::rtc::WLACC_SUGGEST_ACTION
WLACC_SUGGEST_ACTION
Definition: AgoraBase.h:4576
agora::WARN_ADM_RUNTIME_PLAYOUT_WARNING
@ WARN_ADM_RUNTIME_PLAYOUT_WARNING
Definition: AgoraBase.h:385
agora::rtc::CAMERA_STABILIZATION_MODE_AUTO
@ CAMERA_STABILIZATION_MODE_AUTO
Definition: AgoraBase.h:2888
agora::rtc::RecorderStreamInfo::RecorderStreamInfo
RecorderStreamInfo(const char *channelId, uid_t uid, RecorderStreamType type)
Definition: AgoraBase.h:6830
agora::rtc::VideoFormat::VideoFormat
VideoFormat(int w, int h, int f)
Definition: AgoraBase.h:2750
agora::rtc::VT_ERR_INVALID_IMAGE_PATH
@ VT_ERR_INVALID_IMAGE_PATH
Definition: AgoraBase.h:4234
agora::rtc::VOICE_CHANGER_CARTOON
@ VOICE_CHANGER_CARTOON
Definition: AgoraBase.h:5478
agora::rtc::LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS
@ LOCAL_VIDEO_STREAM_REASON_CAPTURE_MULTIPLE_FOREGROUND_APPS
Definition: AgoraBase.h:3040
agora::rtc::LiveTranscoding::advancedFeatures
LiveStreamAdvancedFeature * advancedFeatures
Definition: AgoraBase.h:4081
agora::rtc::SCREEN_SCENARIO_GAMING
@ SCREEN_SCENARIO_GAMING
Definition: AgoraBase.h:2803
agora::rtc::AGORA_IID_H265_TRANSCODER
@ AGORA_IID_H265_TRANSCODER
Definition: AgoraBase.h:883
agora::ERR_SIZE_TOO_LARGE
@ ERR_SIZE_TOO_LARGE
Definition: AgoraBase.h:634
agora::rtc::EncodedVideoFrameInfo::EncodedVideoFrameInfo
EncodedVideoFrameInfo()
Definition: AgoraBase.h:1644
agora::rtc::CONNECTION_CHANGED_SAME_UID_LOGIN
@ CONNECTION_CHANGED_SAME_UID_LOGIN
Definition: AgoraBase.h:4511
agora::rtc::LiveTranscoding::backgroundImageCount
unsigned int backgroundImageCount
Definition: AgoraBase.h:4057
agora::rtc::RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT
@ RTMP_STREAM_PUBLISH_REASON_CONNECTION_TIMEOUT
Definition: AgoraBase.h:3690
agora::rtc::LiveTranscoding::backgroundImage
RtcImage * backgroundImage
Definition: AgoraBase.h:4052
agora::rtc::VOICE_CHANGER_EFFECT_PIGKING
@ VOICE_CHANGER_EFFECT_PIGKING
Definition: AgoraBase.h:5425
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_CHIN
@ FACE_SHAPE_AREA_CHIN
Definition: AgoraBase.h:4879
agora::rtc::APPLICATION_SCENARIO_GENERAL
@ APPLICATION_SCENARIO_GENERAL
Definition: AgoraBase.h:2824
agora::rtc::AUDIENCE_LATENCY_LEVEL_LOW_LATENCY
@ AUDIENCE_LATENCY_LEVEL_LOW_LATENCY
Definition: AgoraBase.h:2558
agora::rtc::RtcStats::cpuAppUsage
double cpuAppUsage
Definition: AgoraBase.h:2389
agora::VideoLayout::VideoLayout
VideoLayout()
Definition: AgoraBase.h:6943
agora::VideoLayout::width
uint32_t width
Definition: AgoraBase.h:6932
agora::rtc::VideoFormat
Definition: AgoraBase.h:2727
agora::WARN_OPEN_CHANNEL_REJECTED
@ WARN_OPEN_CHANNEL_REJECTED
Definition: AgoraBase.h:344
agora::ERR_PCMSEND_FORMAT
@ ERR_PCMSEND_FORMAT
Definition: AgoraBase.h:712
agora::ERR_LOAD_MEDIA_ENGINE
@ ERR_LOAD_MEDIA_ENGINE
Definition: AgoraBase.h:723
agora::rtc::RTMP_STREAM_PUBLISH_STATE_RUNNING
@ RTMP_STREAM_PUBLISH_STATE_RUNNING
Definition: AgoraBase.h:3642
agora::rtc::AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY
@ AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY
Definition: AgoraBase.h:2562
agora::rtc::AdvanceOptions
Definition: AgoraBase.h:1784
agora::rtc::TranscodingUser::alpha
double alpha
Definition: AgoraBase.h:3937
agora::rtc::AUDIO_SAMPLE_RATE_44100
@ AUDIO_SAMPLE_RATE_44100
Definition: AgoraBase.h:3524
agora::rtc::SimulcastConfig::StreamLayerConfig::StreamLayerConfig
StreamLayerConfig()
Definition: AgoraBase.h:2212
agora::rtc::MixedAudioStream::trackId
track_id_t trackId
Definition: AgoraBase.h:4272
agora::rtc::WLACC_MESSAGE_REASON_CHANNEL_CONGESTION
@ WLACC_MESSAGE_REASON_CHANNEL_CONGESTION
Definition: AgoraBase.h:4570
agora::WARN_ADM_RUNTIME_RECORDING_WARNING
@ WARN_ADM_RUNTIME_RECORDING_WARNING
Definition: AgoraBase.h:389
agora::rtc::AREA_CODE_CN
@ AREA_CODE_CN
Definition: AgoraBase.h:5919
agora::rtc::WatermarkOptions::watermarkRatio
WatermarkRatio watermarkRatio
Definition: AgoraBase.h:2305
agora::rtc::PREFER_QUALITY
@ PREFER_QUALITY
Definition: AgoraBase.h:1760
agora::util::IString::length
virtual size_t length()=0
agora::rtc::VIDEO_CODEC_TYPE
VIDEO_CODEC_TYPE
Definition: AgoraBase.h:1173
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_CHEEKBONE
@ FACE_SHAPE_AREA_CHEEKBONE
Definition: AgoraBase.h:4875
agora::rtc::AES_128_GCM2
@ AES_128_GCM2
Definition: AgoraBase.h:6271
agora::rtc::VOICE_CHANGER_GROOT
@ VOICE_CHANGER_GROOT
Definition: AgoraBase.h:5493
agora::rtc::AdvanceOptions::compressionPreference
COMPRESSION_PREFERENCE compressionPreference
Definition: AgoraBase.h:1793
agora::rtc::CC_DISABLED
@ CC_DISABLED
Definition: AgoraBase.h:1251
agora::rtc::DownlinkNetworkInfo::DownlinkNetworkInfo
DownlinkNetworkInfo()
Definition: AgoraBase.h:6206
agora::rtc::LocalAudioMixerConfiguration::streamCount
unsigned int streamCount
Definition: AgoraBase.h:4304
agora::rtc::RtcStats::txAudioBytes
unsigned int txAudioBytes
Definition: AgoraBase.h:2337
agora::rtc::VOICE_CHANGER_SWEET
@ VOICE_CHANGER_SWEET
Definition: AgoraBase.h:5467
agora::rtc::RtcStats::connectTimeMs
int connectTimeMs
Definition: AgoraBase.h:2427
agora::rtc::LastmileProbeResult::state
LASTMILE_PROBE_RESULT_STATE state
Definition: AgoraBase.h:4397
agora::rtc::ULTRA_HIGH_QUALITY_VOICE
@ ULTRA_HIGH_QUALITY_VOICE
Definition: AgoraBase.h:5305
agora::rtc::LogUploadServerInfo::LogUploadServerInfo
LogUploadServerInfo()
Definition: AgoraBase.h:6754
agora::rtc::CONNECTION_CHANGED_TOKEN_EXPIRED
@ CONNECTION_CHANGED_TOKEN_EXPIRED
Definition: AgoraBase.h:4465
agora::rtc::VideoEncoderConfiguration::advanceOptions
AdvanceOptions advanceOptions
Definition: AgoraBase.h:2031
agora::rtc::VideoCanvas::position
media::base::VIDEO_MODULE_POSITION position
Definition: AgoraBase.h:4740
agora::rtc::CAMERA_FOCAL_LENGTH_DEFAULT
@ CAMERA_FOCAL_LENGTH_DEFAULT
Definition: AgoraBase.h:1225
agora::rtc::ChannelMediaInfo::channelName
const char * channelName
Definition: AgoraBase.h:6060
agora::rtc::VideoFormat::OPTIONAL_ENUM_SIZE_T
OPTIONAL_ENUM_SIZE_T
Definition: AgoraBase.h:2728
agora::rtc::LiveTranscoding::height
int height
Definition: AgoraBase.h:3981
agora::rtc::STANDARD_BITRATE
const int STANDARD_BITRATE
Definition: AgoraBase.h:1124
agora::rtc::EncodedAudioFrameAdvancedSettings::speech
bool speech
Definition: AgoraBase.h:1470
agora::rtc::TranscodingUser::TranscodingUser
TranscodingUser()
Definition: AgoraBase.h:3960
agora::rtc::PREFER_LOW_LATENCY
@ PREFER_LOW_LATENCY
Definition: AgoraBase.h:1756
agora::rtc::NETWORK_TYPE
NETWORK_TYPE
Definition: AgoraBase.h:4618
agora::rtc::REMOTE_VIDEO_DOWNSCALE_LEVEL_1
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_1
Definition: AgoraBase.h:3389
agora::rtc::LOCAL_NETWORK_QUALITY_POOR
@ LOCAL_NETWORK_QUALITY_POOR
Definition: AgoraBase.h:2603
agora::rtc::EncodedVideoFrameInfo::codecType
VIDEO_CODEC_TYPE codecType
Definition: AgoraBase.h:1697
agora::rtc::ENABLE_SIMULCAST_STREAM
@ ENABLE_SIMULCAST_STREAM
Definition: AgoraBase.h:2131
agora::rtc::DownlinkNetworkInfo
Definition: AgoraBase.h:6128
agora::rtc::RtcStats::txVideoKBitRate
unsigned short txVideoKBitRate
Definition: AgoraBase.h:2373
agora::CHANNEL_PROFILE_TYPE
CHANNEL_PROFILE_TYPE
Definition: AgoraBase.h:267
agora::rtc::VideoDenoiserOptions::VideoDenoiserOptions
VideoDenoiserOptions()
Definition: AgoraBase.h:5053
agora::rtc::HDR_CAPABILITY_UNSUPPORTED
@ HDR_CAPABILITY_UNSUPPORTED
Definition: AgoraBase.h:1868
agora::util::AOutputIterator::value_type
T value_type
Definition: AgoraBase.h:206
agora::rtc::RtcStats::rxAudioBytes
unsigned int rxAudioBytes
Definition: AgoraBase.h:2345
agora::rtc::AUDIO_ENCODING_TYPE_OPUS_16000_LOW
@ AUDIO_ENCODING_TYPE_OPUS_16000_LOW
Definition: AgoraBase.h:1425
agora::rtc::EncodedAudioFrameAdvancedSettings::sendEvenIfEmpty
bool sendEvenIfEmpty
Definition: AgoraBase.h:1476
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND
Definition: AgoraBase.h:3046
agora::rtc::RELAY_OK
@ RELAY_OK
Definition: AgoraBase.h:5991
agora::rtc::ColorEnhanceOptions::ColorEnhanceOptions
ColorEnhanceOptions()
Definition: AgoraBase.h:5080
agora::SpatialAudioParams::enable_doppler
Optional< bool > enable_doppler
Definition: AgoraBase.h:6903
agora::rtc::CodecCapLevels::hwDecodingLevel
VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel
Definition: AgoraBase.h:1892
agora::rtc::VOICE_CHANGER_MONSTER
@ VOICE_CHANGER_MONSTER
Definition: AgoraBase.h:5487
agora::rtc::VideoDimensions::VideoDimensions
VideoDimensions()
Definition: AgoraBase.h:1112
agora::UserInfo::UserInfo
UserInfo()
Definition: AgoraBase.h:841
agora::util::AList::size
size_type size() const
Definition: AgoraBase.h:258
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_TYPE
CAPTURE_BRIGHTNESS_LEVEL_TYPE
Definition: AgoraBase.h:2865
agora::rtc::AREA_CODE_SA
@ AREA_CODE_SA
Definition: AgoraBase.h:5958
agora::rtc::RtcStats::txAudioKBitRate
unsigned short txAudioKBitRate
Definition: AgoraBase.h:2365
agora::rtc::ConnectivityFirst
@ ConnectivityFirst
Definition: AgoraBase.h:6732
agora::rtc::CAMERA_STABILIZATION_MODE_LEVEL_1
@ CAMERA_STABILIZATION_MODE_LEVEL_1
Definition: AgoraBase.h:2891
agora::rtc::SingleNalUnit
@ SingleNalUnit
Definition: AgoraBase.h:1571
agora::rtc::NETWORK_TYPE_MOBILE_3G
@ NETWORK_TYPE_MOBILE_3G
Definition: AgoraBase.h:4642
agora::rtc::REMOTE_VIDEO_DOWNSCALE_LEVEL_3
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_3
Definition: AgoraBase.h:3397
agora::rtc::EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER
@ EAR_MONITORING_FILTER_REUSE_POST_PROCESSING_FILTER
Definition: AgoraBase.h:6509
agora::ERR_REFUSED
@ ERR_REFUSED
Definition: AgoraBase.h:489
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED
Definition: AgoraBase.h:3112
agora::VideoLayout::height
uint32_t height
Definition: AgoraBase.h:6936
agora::rtc::AudioVolumeInfo::uid
uid_t uid
Definition: AgoraBase.h:3414
agora::rtc::REMOTE_VIDEO_DOWNSCALE_LEVEL_4
@ REMOTE_VIDEO_DOWNSCALE_LEVEL_4
Definition: AgoraBase.h:3401
agora::rtc::BeautyOptions::LIGHTENING_CONTRAST_LOW
@ LIGHTENING_CONTRAST_LOW
Definition: AgoraBase.h:4807
agora::rtc::DownlinkNetworkInfo::lastmile_buffer_delay_time_ms
int lastmile_buffer_delay_time_ms
Definition: AgoraBase.h:6188
agora::rtc::REMOTE_AUDIO_REASON_INTERNAL
@ REMOTE_AUDIO_REASON_INTERNAL
Definition: AgoraBase.h:3169
agora::rtc::AUDIO_CODEC_OPUSMC
@ AUDIO_CODEC_OPUSMC
Definition: AgoraBase.h:1379
agora::rtc::VIDEO_ORIENTATION
VIDEO_ORIENTATION
Definition: AgoraBase.h:951
agora::rtc::SimulcastStreamConfig::SimulcastStreamConfig
SimulcastStreamConfig(const SimulcastStreamConfig &other)
Definition: AgoraBase.h:2152
agora::rtc::LiveTranscoding::videoBitrate
int videoBitrate
Definition: AgoraBase.h:3987
agora::rtc::ROOM_ACOUSTICS_VIRTUAL_STEREO
@ ROOM_ACOUSTICS_VIRTUAL_STEREO
Definition: AgoraBase.h:5352
agora::rtc::FaceShapeBeautyOptions::FACE_SHAPE_BEAUTY_STYLE_FEMALE
@ FACE_SHAPE_BEAUTY_STYLE_FEMALE
Definition: AgoraBase.h:4915
agora::rtc::LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE
@ LOCAL_VIDEO_STREAM_REASON_CAPTURE_FAILURE
Definition: AgoraBase.h:3024
agora::rtc::ADAPT_UP_BANDWIDTH
@ ADAPT_UP_BANDWIDTH
Definition: AgoraBase.h:2543
agora::rtc::CAMERA
@ CAMERA
Definition: AgoraBase.h:6382
agora::rtc::RTMP_STREAM_PUBLISH_STATE_FAILURE
@ RTMP_STREAM_PUBLISH_STATE_FAILURE
Definition: AgoraBase.h:3659
agora::rtc::VideoTrackInfo::trackId
track_id_t trackId
Definition: AgoraBase.h:3352
agora::rtc::VideoTrackInfo::encodedFrameOnly
bool encodedFrameOnly
Definition: AgoraBase.h:3366
agora::rtc::ScreenCaptureParameters::ScreenCaptureParameters
ScreenCaptureParameters()
Definition: AgoraBase.h:5633
agora::rtc::FRAME_RATE_FPS_1
@ FRAME_RATE_FPS_1
Definition: AgoraBase.h:977
agora::rtc::AUDIO_SOURCE_TYPE
AUDIO_SOURCE_TYPE
Definition: AgoraMediaBase.h:127
agora::rtc::FaceShapeBeautyOptions::FACE_SHAPE_BEAUTY_STYLE
FACE_SHAPE_BEAUTY_STYLE
Definition: AgoraBase.h:4913
agora::rtc::AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD
@ AUDIO_ENCODED_FRAME_OBSERVER_POSITION_RECORD
Definition: AgoraBase.h:5752
agora::rtc::SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS
@ SCREEN_CAPTURE_FRAMERATE_CAPABILITY_15_FPS
Definition: AgoraBase.h:1149
agora::rtc::PUB_STATE_PUBLISHING
@ PUB_STATE_PUBLISHING
Definition: AgoraBase.h:6441
agora::rtc::FRAME_HEIGHT
FRAME_HEIGHT
Definition: AgoraBase.h:1008
agora::rtc::AUDIO_PROFILE_MUSIC_STANDARD
@ AUDIO_PROFILE_MUSIC_STANDARD
Definition: AgoraBase.h:2654
agora::rtc::VIDEO_APPLICATION_SCENARIO_TYPE
VIDEO_APPLICATION_SCENARIO_TYPE
Definition: AgoraBase.h:2820
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_CHEEK
@ FACE_SHAPE_AREA_CHEEK
Definition: AgoraBase.h:4877
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_MOUTHSCALE
@ FACE_SHAPE_AREA_MOUTHSCALE
Definition: AgoraBase.h:4887
agora::rtc::COMPRESSION_PREFERENCE
COMPRESSION_PREFERENCE
Definition: AgoraBase.h:1745
agora::rtc::AGORA_IID_VIDEO_ENGINE
@ AGORA_IID_VIDEO_ENGINE
Definition: AgoraBase.h:875
agora::rtc::TranscodingUser::width
int width
Definition: AgoraBase.h:3919
agora::rtc::VIDEO_ORIENTATION_90
@ VIDEO_ORIENTATION_90
Definition: AgoraBase.h:959
agora::rtc::FaceShapeBeautyOptions::FACE_SHAPE_BEAUTY_STYLE_MALE
@ FACE_SHAPE_BEAUTY_STYLE_MALE
Definition: AgoraBase.h:4917
agora::rtc::ScreenCaptureParameters::highLightColor
unsigned int highLightColor
Definition: AgoraBase.h:5622
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_FACEWIDTH
@ FACE_SHAPE_AREA_FACEWIDTH
Definition: AgoraBase.h:4873
agora::rtc::REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_HIGH
@ REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_HIGH
Definition: AgoraBase.h:3292
agora::ERR_BIND_SOCKET
@ ERR_BIND_SOCKET
Definition: AgoraBase.h:529
agora::rtc::EchoTestConfiguration::EchoTestConfiguration
EchoTestConfiguration()
Definition: AgoraBase.h:6462
agora::base::AParameter
Definition: AgoraBase.h:6843
agora::rtc::BeautyOptions::sharpnessLevel
float sharpnessLevel
Definition: AgoraBase.h:4836
agora::rtc::CONNECTION_CHANGED_CONNECTING
@ CONNECTION_CHANGED_CONNECTING
Definition: AgoraBase.h:4421
agora::rtc::VideoCanvas::VideoCanvas
VideoCanvas()
Definition: AgoraBase.h:4742
agora::util::AOutputIterator::const_pointer
const value_type * const_pointer
Definition: AgoraBase.h:210
agora::rtc::LOCAL_AUDIO_STREAM_STATE_RECORDING
@ LOCAL_AUDIO_STREAM_STATE_RECORDING
Definition: AgoraBase.h:2914
agora::WARN_OPEN_CHANNEL_TIMEOUT
@ WARN_OPEN_CHANNEL_TIMEOUT
Definition: AgoraBase.h:339
agora::rtc::EncryptionConfig::encryptionMode
ENCRYPTION_MODE encryptionMode
Definition: AgoraBase.h:6287
agora::rtc::VOICE_BEAUTIFIER_OFF
@ VOICE_BEAUTIFIER_OFF
Definition: AgoraBase.h:5242
agora::rtc::REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
@ REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
Definition: AgoraBase.h:3270
agora::util::AOutputIterator
Definition: AgoraBase.h:202
agora::rtc::WatermarkOptions::positionInLandscapeMode
Rectangle positionInLandscapeMode
Definition: AgoraBase.h:2295
agora::rtc::AUDIO_SCENARIO_NUM
@ AUDIO_SCENARIO_NUM
Definition: AgoraBase.h:2721
agora::rtc::EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS
@ EAR_MONITORING_FILTER_BUILT_IN_AUDIO_FILTERS
Definition: AgoraBase.h:6499
agora::rtc::EncodedVideoFrameInfo::width
int width
Definition: AgoraBase.h:1701
agora::rtc::AREA_CODE_AS
@ AREA_CODE_AS
Definition: AgoraBase.h:5931
agora::rtc::RTMP_STREAM_PUBLISH_REASON_INVALID_APPID
@ RTMP_STREAM_PUBLISH_REASON_INVALID_APPID
Definition: AgoraBase.h:3741
agora::rtc::AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM
@ AUDIO_ENCODING_TYPE_AAC_16000_MEDIUM
Definition: AgoraBase.h:1395
agora::base::IEngineBase::~IEngineBase
virtual ~IEngineBase()
Definition: AgoraBase.h:6840
agora::rtc::RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST
@ RELAY_ERROR_FAILED_PACKET_SENT_TO_DEST
Definition: AgoraBase.h:6016
agora::LICENSE_ERR_INVALID
@ LICENSE_ERR_INVALID
Definition: AgoraBase.h:766
agora::rtc::VIDEO_FRAME_TYPE
VIDEO_FRAME_TYPE
Definition: AgoraBase.h:1015
agora::rtc::VideoTrackInfo::ownerUid
uid_t ownerUid
Definition: AgoraBase.h:3348
agora::rtc::VideoRenderingTracingInfo::join2JoinSuccess
int join2JoinSuccess
Definition: AgoraBase.h:6680
agora::rtc::RELAY_STATE_RUNNING
@ RELAY_STATE_RUNNING
Definition: AgoraBase.h:6045
agora::rtc::LastmileProbeOneWayResult::availableBandwidth
unsigned int availableBandwidth
Definition: AgoraBase.h:4385
agora::rtc::EncodedVideoFrameInfo::captureTimeMs
int64_t captureTimeMs
Definition: AgoraBase.h:1728
agora::rtc::AUDIO_SCENARIO_AI_CLIENT
@ AUDIO_SCENARIO_AI_CLIENT
Definition: AgoraBase.h:2717
agora::rtc::EncodedVideoFrameInfo::framesPerSecond
int framesPerSecond
Definition: AgoraBase.h:1711
agora::rtc::LiveTranscoding::transcodingExtraInfo
const char * transcodingExtraInfo
Definition: AgoraBase.h:4029
agora::rtc::__deprecated
@ __deprecated
Definition: AgoraBase.h:894
agora::rtc::AUDIO_ENCODING_TYPE_AAC_32000_LOW
@ AUDIO_ENCODING_TYPE_AAC_32000_LOW
Definition: AgoraBase.h:1400
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo
Definition: AgoraBase.h:6129
agora::rtc::LOCAL_VIDEO_STREAM_STATE_CAPTURING
@ LOCAL_VIDEO_STREAM_STATE_CAPTURING
Definition: AgoraBase.h:2986
agora::rtc::SimulcastConfig::StreamLayerConfig
Definition: AgoraBase.h:2199
agora::rtc::VideoTrackInfo::codecType
VIDEO_CODEC_TYPE codecType
Definition: AgoraBase.h:3360
agora::rtc::AUDIO_RECORDING_QUALITY_TYPE
AUDIO_RECORDING_QUALITY_TYPE
Definition: AgoraBase.h:5705
agora::AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY
@ AUDIO_SESSION_OPERATION_RESTRICTION_SET_CATEGORY
Definition: AgoraBase.h:800
agora::WARN_CHANNEL_CONNECTION_UNRECOVERABLE
@ WARN_CHANNEL_CONNECTION_UNRECOVERABLE
Definition: AgoraBase.h:366
agora::rtc::DeviceInfo::isLowLatencyAudioSupported
bool isLowLatencyAudioSupported
Definition: AgoraBase.h:3451
agora::rtc::LiveTranscoding::metadata
const char * metadata
Definition: AgoraBase.h:4033
agora::rtc::LiveTranscoding::audioSampleRate
AUDIO_SAMPLE_RATE_TYPE audioSampleRate
Definition: AgoraBase.h:4061
agora::base::AParameter::AParameter
AParameter(IEngineBase &engine)
Definition: AgoraBase.h:6845
agora::rtc::ROOM_ACOUSTICS_ETHEREAL
@ ROOM_ACOUSTICS_ETHEREAL
Definition: AgoraBase.h:5358
agora::rtc::VirtualBackgroundSource::blur_degree
BACKGROUND_BLUR_DEGREE blur_degree
Definition: AgoraBase.h:5155
agora::rtc::ROOM_ACOUSTICS_KTV
@ ROOM_ACOUSTICS_KTV
Definition: AgoraBase.h:5336
agora::WARN_CHANNEL_SOCKET_ERROR
@ WARN_CHANNEL_SOCKET_ERROR
Definition: AgoraBase.h:377
agora::rtc::VIDEO_CODEC_GENERIC
@ VIDEO_CODEC_GENERIC
Definition: AgoraBase.h:1197
agora::util::AutoPtr::queryInterface
bool queryInterface(C1 *c, C2 iid)
Definition: AgoraBase.h:138
agora::rtc::WIFI_BLUETOOTH_COEXIST
@ WIFI_BLUETOOTH_COEXIST
Definition: AgoraBase.h:2612
agora::rtc::SUB_STATE_IDLE
@ SUB_STATE_IDLE
Definition: AgoraBase.h:6394
agora::rtc::LOCAL_AUDIO_STREAM_STATE_STOPPED
@ LOCAL_AUDIO_STREAM_STATE_STOPPED
Definition: AgoraBase.h:2910
agora::rtc::UserInfo::uid
uid_t uid
Definition: AgoraBase.h:6478
agora::rtc::DataStreamConfig::ordered
bool ordered
Definition: AgoraBase.h:2113
agora::util::IIterator::release
virtual void release()=0
agora::rtc::RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE
@ RTMP_STREAMING_EVENT_FAILED_LOAD_IMAGE
Definition: AgoraBase.h:3758
agora::rtc::TIMBRE_TRANSFORMATION_FULL
@ TIMBRE_TRANSFORMATION_FULL
Definition: AgoraBase.h:5285
agora::rtc::VOICE_CONVERSION_PRESET
VOICE_CONVERSION_PRESET
Definition: AgoraBase.h:5456
agora::rtc::NETWORK_TYPE_LAN
@ NETWORK_TYPE_LAN
Definition: AgoraBase.h:4630
agora::rtc::CHAT_BEAUTIFIER_VITALITY
@ CHAT_BEAUTIFIER_VITALITY
Definition: AgoraBase.h:5260
agora::rtc::VOICE_CHANGER_EFFECT_GIRL
@ VOICE_CHANGER_EFFECT_GIRL
Definition: AgoraBase.h:5421
agora::rtc::LiveStreamAdvancedFeature
Definition: AgoraBase.h:3824
agora::util::AutoPtr::pointer_type
T * pointer_type
Definition: AgoraBase.h:103
agora::rtc::VirtualBackgroundSource::color
unsigned int color
Definition: AgoraBase.h:5139
agora::rtc::VOICE_CHANGER_SHIN_CHAN
@ VOICE_CHANGER_SHIN_CHAN
Definition: AgoraBase.h:5502
agora::util::IString::clone
virtual IString * clone()=0
agora::ERR_TOKEN_EXPIRED
@ ERR_TOKEN_EXPIRED
Definition: AgoraBase.h:597
agora::rtc::MAINTAIN_AUTO
@ MAINTAIN_AUTO
Definition: AgoraBase.h:1068
agora::rtc::VIDEO_SOURCE_CAMERA_PRIMARY
@ VIDEO_SOURCE_CAMERA_PRIMARY
Definition: AgoraMediaBase.h:71
agora::rtc::RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
@ RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
Definition: AgoraBase.h:3664
agora::ERR_LEAVE_CHANNEL_REJECTED
@ ERR_LEAVE_CHANNEL_REJECTED
Definition: AgoraBase.h:547
agora::rtc::VT_ERR_UNSUPPORT_IMAGE_FORMAT
@ VT_ERR_UNSUPPORT_IMAGE_FORMAT
Definition: AgoraBase.h:4238
agora::util::AList::begin
iterator begin()
Definition: AgoraBase.h:256
agora::rtc::WatermarkRatio::widthRatio
float widthRatio
Definition: AgoraBase.h:2275
agora::rtc::LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY
@ LOCAL_AUDIO_STREAM_REASON_DEVICE_BUSY
Definition: AgoraBase.h:2948
agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_LEVEL_HIGH_QUALITY
@ VIDEO_DENOISER_LEVEL_HIGH_QUALITY
Definition: AgoraBase.h:5032
agora::rtc::CAMERA_FOCAL_LENGTH_TELEPHOTO
@ CAMERA_FOCAL_LENGTH_TELEPHOTO
Definition: AgoraBase.h:1237
agora::WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE
@ WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE
Definition: AgoraBase.h:441
agora::rtc::VideoCanvas::cropArea
Rectangle cropArea
Definition: AgoraBase.h:4729
agora::rtc::FRAME_RATE_FPS_24
@ FRAME_RATE_FPS_24
Definition: AgoraBase.h:993
agora::rtc::AUDIO_SCENARIO_DEFAULT
@ AUDIO_SCENARIO_DEFAULT
Definition: AgoraBase.h:2688
agora::rtc::AudioPcmDataInfo::samplesOut
size_t samplesOut
Definition: AgoraBase.h:1550
agora::rtc::REMOTE_VIDEO_DOWNSCALE_LEVEL
REMOTE_VIDEO_DOWNSCALE_LEVEL
Definition: AgoraBase.h:3381
agora::rtc::VideoEncoderConfiguration::frameRate
int frameRate
Definition: AgoraBase.h:1936
agora::rtc::Rectangle::height
int height
Definition: AgoraBase.h:2240
agora::rtc::AudioPcmDataInfo::AudioPcmDataInfo
AudioPcmDataInfo()
Definition: AgoraBase.h:1529
agora::rtc::RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND
@ RTMP_STREAM_PUBLISH_REASON_STREAM_NOT_FOUND
Definition: AgoraBase.h:3715
agora::rtc::AudioPcmDataInfo::elapsedTimeMs
int64_t elapsedTimeMs
Definition: AgoraBase.h:1554
agora::rtc::WLACC_SUGGEST_ACTION_CHECK_5G
@ WLACC_SUGGEST_ACTION_CHECK_5G
Definition: AgoraBase.h:4589
agora::util::CopyableAutoPtr::CopyableAutoPtr
CopyableAutoPtr(const CopyableAutoPtr &rhs)
Definition: AgoraBase.h:161
agora::rtc::VIDEO_CODEC_VP9
@ VIDEO_CODEC_VP9
Definition: AgoraBase.h:1211
agora::rtc::RELAY_ERROR_NO_RESOURCE_AVAILABLE
@ RELAY_ERROR_NO_RESOURCE_AVAILABLE
Definition: AgoraBase.h:6004
agora::rtc::WatermarkOptions::mode
WATERMARK_FIT_MODE mode
Definition: AgoraBase.h:2309
agora::rtc::MixedAudioStream::channelId
const char * channelId
Definition: AgoraBase.h:4267
agora::rtc::CONNECTION_STATE_DISCONNECTED
@ CONNECTION_STATE_DISCONNECTED
Definition: AgoraBase.h:3857
agora::ERR_CERT_JSON_NOMEM
@ ERR_CERT_JSON_NOMEM
Definition: AgoraBase.h:701
agora::rtc::EncodedAudioFrameInfo::sampleRateHz
int sampleRateHz
Definition: AgoraBase.h:1504
agora::rtc::LastmileProbeResult::LastmileProbeResult
LastmileProbeResult()
Definition: AgoraBase.h:4411
agora::ERR_CERT_NULL
@ ERR_CERT_NULL
Definition: AgoraBase.h:707
agora::UserInfo
Definition: AgoraBase.h:823
agora::rtc::RtcStats::txPacketLossRate
int txPacketLossRate
Definition: AgoraBase.h:2476
agora::ERR_STREAM_MESSAGE_TIMEOUT
@ ERR_STREAM_MESSAGE_TIMEOUT
Definition: AgoraBase.h:648
agora::rtc::DEFAULT_MIN_BITRATE_EQUAL_TO_TARGET_BITRATE
const int DEFAULT_MIN_BITRATE_EQUAL_TO_TARGET_BITRATE
Definition: AgoraBase.h:1143
agora::rtc::VIDEO_VIEW_SETUP_REPLACE
@ VIDEO_VIEW_SETUP_REPLACE
Definition: AgoraBase.h:4660
agora::rtc::WlAccStats::frozenRatioPercent
unsigned short frozenRatioPercent
Definition: AgoraBase.h:4608
agora::rtc::LowlightEnhanceOptions::level
LOW_LIGHT_ENHANCE_LEVEL level
Definition: AgoraBase.h:4999
agora::rtc::CAMERA_FOCAL_LENGTH_ULTRA_WIDE
@ CAMERA_FOCAL_LENGTH_ULTRA_WIDE
Definition: AgoraBase.h:1233
agora::rtc::AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM
@ AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM
Definition: AgoraBase.h:1435
agora::rtc::LOCAL_VIDEO_STREAM_REASON_FAILURE
@ LOCAL_VIDEO_STREAM_REASON_FAILURE
Definition: AgoraBase.h:3008
agora::util::IString::~IString
virtual ~IString()
Definition: AgoraBase.h:180
agora::base::AParameter::AParameter
AParameter(IAgoraParameter *p)
Definition: AgoraBase.h:6847
agora::rtc::VOICE_AI_TUNER_ELEGANT_FEMALE
@ VOICE_AI_TUNER_ELEGANT_FEMALE
Definition: AgoraBase.h:5537
agora::rtc::SINGING_BEAUTIFIER
@ SINGING_BEAUTIFIER
Definition: AgoraBase.h:5270
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_NORMAL
@ CAPTURE_BRIGHTNESS_LEVEL_NORMAL
Definition: AgoraBase.h:2873
agora::rtc::VideoCanvas::view
view_t view
Definition: AgoraBase.h:4688
agora::ERR_CERT_REQUEST
@ ERR_CERT_REQUEST
Definition: AgoraBase.h:709
agora::rtc::TranscodingVideoStream::imageUrl
const char * imageUrl
Definition: AgoraBase.h:4131
agora::rtc::CONNECTION_CHANGED_INVALID_CHANNEL_NAME
@ CONNECTION_CHANGED_INVALID_CHANNEL_NAME
Definition: AgoraBase.h:4452
agora::rtc::CONNECTION_CHANGED_REASON_TYPE
CONNECTION_CHANGED_REASON_TYPE
Definition: AgoraBase.h:4417
agora::rtc::AudioEncodedFrameObserverConfig::postionType
AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType
Definition: AgoraBase.h:5850
agora::rtc::IPacketObserver::onSendAudioPacket
virtual bool onSendAudioPacket(Packet &packet)=0
agora::util::AutoPtr::~AutoPtr
~AutoPtr()
Definition: AgoraBase.h:108
agora::rtc::EncryptionConfig::encryptionKdfSalt
uint8_t encryptionKdfSalt[32]
Definition: AgoraBase.h:6302
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_DISCONNECTED
Definition: AgoraBase.h:3051
agora::rtc::WlAccStats::lossRatePercent
unsigned short lossRatePercent
Definition: AgoraBase.h:4612
agora::rtc::VIDEO_CODEC_GENERIC_JPEG
@ VIDEO_CODEC_GENERIC_JPEG
Definition: AgoraBase.h:1215
agora::ERR_INVALID_USER_ID
@ ERR_INVALID_USER_ID
Definition: AgoraBase.h:661
agora::rtc::VirtualBackgroundSource::BACKGROUND_IMG
@ BACKGROUND_IMG
Definition: AgoraBase.h:5101
agora::rtc::LiveTranscoding::watermark
RtcImage * watermark
Definition: AgoraBase.h:4039
agora::WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE
@ WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE
Definition: AgoraBase.h:454
agora::rtc::AudioVolumeInfo::vad
unsigned int vad
Definition: AgoraBase.h:3431
agora::UserInfo::hasVideo
bool hasVideo
Definition: AgoraBase.h:839
agora::rtc::VIDEO_FRAME_TYPE_B_FRAME
@ VIDEO_FRAME_TYPE_B_FRAME
Definition: AgoraBase.h:1023
agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_MANUAL
@ LOW_LIGHT_ENHANCE_MANUAL
Definition: AgoraBase.h:4974
agora::rtc::ENCRYPTION_MODE
ENCRYPTION_MODE
Definition: AgoraBase.h:6249
agora::rtc::AREA_CODE_KR
@ AREA_CODE_KR
Definition: AgoraBase.h:5966
agora::ERR_BUFFER_TOO_SMALL
@ ERR_BUFFER_TOO_SMALL
Definition: AgoraBase.h:493
agora::rtc::VIDEO_STREAM_LAYER_3
@ VIDEO_STREAM_LAYER_3
Definition: AgoraBase.h:1597
agora::rtc::VIDEO_MODULE_CAPTURER
@ VIDEO_MODULE_CAPTURER
Definition: AgoraBase.h:1851
agora::rtc::AGORA_IID_VIDEO_DEVICE_MANAGER
@ AGORA_IID_VIDEO_DEVICE_MANAGER
Definition: AgoraBase.h:871
agora::rtc::AUDIO_CODEC_PCMU
@ AUDIO_CODEC_PCMU
Definition: AgoraBase.h:1348
agora::rtc::FIT_MODE_TYPE
FIT_MODE_TYPE
Definition: AgoraBase.h:933
agora::rtc::DownlinkNetworkInfo::total_downscale_level_count
int total_downscale_level_count
Definition: AgoraBase.h:6196
agora::base::LicenseCallback::~LicenseCallback
virtual ~LicenseCallback()
Definition: AgoraBase.h:6859
agora::rtc::PREVIEW
@ PREVIEW
Definition: AgoraBase.h:6808
agora::VideoLayout::y
uint32_t y
Definition: AgoraBase.h:6928
agora::rtc::VIDEO_CODEC_H264_FOR_STREAM
@ VIDEO_CODEC_H264_FOR_STREAM
Definition: AgoraBase.h:3537
agora::rtc::NETWORK_TYPE_MOBILE_4G
@ NETWORK_TYPE_MOBILE_4G
Definition: AgoraBase.h:4646
agora::rtc::RecorderStreamInfo::RecorderStreamInfo
RecorderStreamInfo()
Definition: AgoraBase.h:6827
agora::rtc::DownlinkNetworkInfo::bandwidth_estimation_bps
int bandwidth_estimation_bps
Definition: AgoraBase.h:6192
agora::rtc::AUDIO_ENCODING_TYPE_AAC_32000_HIGH
@ AUDIO_ENCODING_TYPE_AAC_32000_HIGH
Definition: AgoraBase.h:1410
agora::rtc::LocalAudioStats::aecEstimatedDelay
int aecEstimatedDelay
Definition: AgoraBase.h:3621
agora::rtc::VideoCanvas::renderMode
media::base::RENDER_MODE_TYPE renderMode
Definition: AgoraBase.h:4697
agora::rtc::REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
@ REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
Definition: AgoraBase.h:3274
agora::SpatialAudioParams::speaker_orientation
Optional< int > speaker_orientation
Definition: AgoraBase.h:6887
agora::rtc::RTMP_STREAM_PUBLISH_STATE_IDLE
@ RTMP_STREAM_PUBLISH_STATE_IDLE
Definition: AgoraBase.h:3632
agora::rtc::UplinkNetworkInfo::operator==
bool operator==(const UplinkNetworkInfo &rhs) const
Definition: AgoraBase.h:6123
agora::rtc::REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
@ REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
Definition: AgoraBase.h:3254
agora::rtc::LocalAudioStats::earMonitorDelay
int earMonitorDelay
Definition: AgoraBase.h:3617
agora::rtc::TranscodingVideoStream::TranscodingVideoStream
TranscodingVideoStream()
Definition: AgoraBase.h:4175
agora::rtc::CAMERA_FORMAT_NV12
@ CAMERA_FORMAT_NV12
Definition: AgoraBase.h:1843
agora::rtc::FRAME_RATE_FPS_10
@ FRAME_RATE_FPS_10
Definition: AgoraBase.h:985
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA
FACE_SHAPE_AREA
Definition: AgoraBase.h:4861
agora::rtc::AES_128_XTS
@ AES_128_XTS
Definition: AgoraBase.h:6252
agora::rtc::AUDIO_EFFECT_OFF
@ AUDIO_EFFECT_OFF
Definition: AgoraBase.h:5333
agora::rtc::AUDIO_RECORDING_QUALITY_ULTRA_HIGH
@ AUDIO_RECORDING_QUALITY_ULTRA_HIGH
Definition: AgoraBase.h:5724
agora::rtc::CODEC_CAPABILITY_LEVEL_1080P30FPS
@ CODEC_CAPABILITY_LEVEL_1080P30FPS
Definition: AgoraBase.h:1163
agora::rtc::VideoTrackInfo::sourceType
VIDEO_SOURCE_TYPE sourceType
Definition: AgoraBase.h:3370
agora::rtc::RtcStats::txKBitRate
unsigned short txKBitRate
Definition: AgoraBase.h:2353
agora::rtc::EncodedAudioFrameInfo::numberOfChannels
int numberOfChannels
Definition: AgoraBase.h:1514
agora::rtc::MODE_COVER
@ MODE_COVER
Definition: AgoraBase.h:938
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_BRIGHT
@ CAPTURE_BRIGHTNESS_LEVEL_BRIGHT
Definition: AgoraBase.h:2876
agora::rtc::VOICE_CHANGER_GIRLISH_MAN
@ VOICE_CHANGER_GIRLISH_MAN
Definition: AgoraBase.h:5505
agora::rtc::EncodedVideoFrameInfo::streamType
VIDEO_STREAM_TYPE streamType
Definition: AgoraBase.h:1736
agora::rtc::FaceShapeBeautyOptions::FaceShapeBeautyOptions
FaceShapeBeautyOptions()
Definition: AgoraBase.h:4930
agora::rtc::VIDEO_CODEC_TYPE_FOR_STREAM
VIDEO_CODEC_TYPE_FOR_STREAM
Definition: AgoraBase.h:3533
agora::rtc::SimulcastConfig::STREAM_LAYER_6
@ STREAM_LAYER_6
Definition: AgoraBase.h:2189
agora::rtc::EncodedVideoFrameInfo::presentationMs
int64_t presentationMs
Definition: AgoraBase.h:1739
agora::rtc::LowlightEnhanceOptions::LowlightEnhanceOptions
LowlightEnhanceOptions()
Definition: AgoraBase.h:5004
agora::rtc::REMOTE_AUDIO_STATE_DECODING
@ REMOTE_AUDIO_STATE_DECODING
Definition: AgoraBase.h:3148
agora::rtc::LocalAudioStats::audioPlayoutDelay
int audioPlayoutDelay
Definition: AgoraBase.h:3613
agora::rtc::AUTO_SIMULCAST_STREAM
@ AUTO_SIMULCAST_STREAM
Definition: AgoraBase.h:2123
agora::ERR_ADM_STOP_PLAYOUT
@ ERR_ADM_STOP_PLAYOUT
Definition: AgoraBase.h:742
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::operator=
PeerDownlinkInfo & operator=(const PeerDownlinkInfo &rhs)
Definition: AgoraBase.h:6166
agora::SpatialAudioParams::speaker_attenuation
Optional< double > speaker_attenuation
Definition: AgoraBase.h:6899
agora::rtc::VideoTrackInfo::observationPosition
uint32_t observationPosition
Definition: AgoraBase.h:3374
agora::rtc::AUDIO_PROFILE_DEFAULT
@ AUDIO_PROFILE_DEFAULT
Definition: AgoraBase.h:2646
agora::rtc::CAMERA_STABILIZATION_MODE_MAX_LEVEL
@ CAMERA_STABILIZATION_MODE_MAX_LEVEL
Definition: AgoraBase.h:2900
agora::rtc::RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT
@ RTMP_STREAMING_EVENT_ADVANCED_FEATURE_NOT_SUPPORT
Definition: AgoraBase.h:3767
agora::rtc::AUDIO_CODEC_PROFILE_TYPE
AUDIO_CODEC_PROFILE_TYPE
Definition: AgoraBase.h:3566
agora::rtc::SCREEN_SCENARIO_DOCUMENT
@ SCREEN_SCENARIO_DOCUMENT
Definition: AgoraBase.h:2798
agora::rtc::REMOTE_AUDIO_STATE_REASON
REMOTE_AUDIO_STATE_REASON
Definition: AgoraBase.h:3165
agora::rtc::RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED
@ RTMP_STREAM_PUBLISH_REASON_FORMAT_NOT_SUPPORTED
Definition: AgoraBase.h:3720
agora::rtc::LOCAL_VIDEO_STREAM_REASON
LOCAL_VIDEO_STREAM_REASON
Definition: AgoraBase.h:3000
agora::rtc::CONNECTION_CHANGED_TOO_MANY_BROADCASTERS
@ CONNECTION_CHANGED_TOO_MANY_BROADCASTERS
Definition: AgoraBase.h:4515
agora::UserList
util::AList< UserInfo > UserList
Definition: AgoraBase.h:844
agora::rtc::AUDIO_SCENARIO_CHATROOM
@ AUDIO_SCENARIO_CHATROOM
Definition: AgoraBase.h:2700
agora::util::IString::c_str
virtual const char * c_str()=0
agora::rtc::AdvanceOptions::encodeAlpha
bool encodeAlpha
Definition: AgoraBase.h:1799
agora::VideoLayout::strUid
user_id_t strUid
Definition: AgoraBase.h:6920
agora::rtc::LogUploadServerInfo
Definition: AgoraBase.h:6738
agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_LEVEL
VIDEO_DENOISER_LEVEL
Definition: AgoraBase.h:5025
agora::rtc::THREAD_PRIORITY_TYPE
THREAD_PRIORITY_TYPE
Definition: AgoraBase.h:6515
agora::rtc::AudioTrackConfig::enableAudioProcessing
bool enableAudioProcessing
Definition: AgoraBase.h:5214
agora::rtc::VideoCanvas::sourceType
VIDEO_SOURCE_TYPE sourceType
Definition: AgoraBase.h:4717
agora::rtc::RTMP_STREAM_PUBLISH_STATE
RTMP_STREAM_PUBLISH_STATE
Definition: AgoraBase.h:3627
agora::rtc::VideoDimensions::VideoDimensions
VideoDimensions(int w, int h)
Definition: AgoraBase.h:1113
agora::rtc::QUALITY_DOWN
@ QUALITY_DOWN
Definition: AgoraBase.h:919
agora::rtc::NETWORK_TYPE_WIFI
@ NETWORK_TYPE_WIFI
Definition: AgoraBase.h:4634
agora::rtc::STREAM_SUBSCRIBE_STATE
STREAM_SUBSCRIBE_STATE
Definition: AgoraBase.h:6390
agora::WARN_LOOKUP_CHANNEL_TIMEOUT
@ WARN_LOOKUP_CHANNEL_TIMEOUT
Definition: AgoraBase.h:328
agora::rtc::AUDIO_RECORDING_QUALITY_LOW
@ AUDIO_RECORDING_QUALITY_LOW
Definition: AgoraBase.h:5710
agora::rtc::ScreenCaptureParameters::frameRate
int frameRate
Definition: AgoraBase.h:5584
agora::WARN_CODE_TYPE
WARN_CODE_TYPE
Definition: AgoraBase.h:302
agora::rtc::AudioRecordingConfiguration::recordingChannel
int recordingChannel
Definition: AgoraBase.h:5805
agora::rtc::ClientRoleOptions::ClientRoleOptions
ClientRoleOptions()
Definition: AgoraBase.h:2575
agora::rtc::EncodedVideoFrameInfo::operator=
EncodedVideoFrameInfo & operator=(const EncodedVideoFrameInfo &rhs)
Definition: AgoraBase.h:1672
agora::rtc::SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS
@ SCREEN_CAPTURE_FRAMERATE_CAPABILITY_30_FPS
Definition: AgoraBase.h:1150
agora::rtc::LOCAL_AUDIO_STREAM_STATE_ENCODING
@ LOCAL_AUDIO_STREAM_STATE_ENCODING
Definition: AgoraBase.h:2918
agora::rtc::REMOTE_VIDEO_STATE_STOPPED
@ REMOTE_VIDEO_STATE_STOPPED
Definition: AgoraBase.h:3222
agora::rtc::REMOTE_USER_STATE
REMOTE_USER_STATE
Definition: AgoraBase.h:3306
agora::rtc::RtcStats::firstVideoKeyFramePacketDurationAfterUnmute
int firstVideoKeyFramePacketDurationAfterUnmute
Definition: AgoraBase.h:2462
agora::rtc::CONNECTION_CHANGED_SETTING_PROXY_SERVER
@ CONNECTION_CHANGED_SETTING_PROXY_SERVER
Definition: AgoraBase.h:4477
agora::rtc::LiveTranscoding::audioChannels
int audioChannels
Definition: AgoraBase.h:4074
agora::rtc::RtcImage::height
int height
Definition: AgoraBase.h:3800
agora::rtc::TIMBRE_TRANSFORMATION_DEEP
@ TIMBRE_TRANSFORMATION_DEEP
Definition: AgoraBase.h:5276
agora::rtc::AGORA_IID_LOCAL_SPATIAL_AUDIO
@ AGORA_IID_LOCAL_SPATIAL_AUDIO
Definition: AgoraBase.h:879
agora::rtc::CONNECTION_CHANGED_INCONSISTENT_APPID
@ CONNECTION_CHANGED_INCONSISTENT_APPID
Definition: AgoraBase.h:4532
agora::rtc::SimulcastStreamConfig::dimensions
VideoDimensions dimensions
Definition: AgoraBase.h:2141
agora::rtc::EncodedVideoFrameInfo::frameType
VIDEO_FRAME_TYPE frameType
Definition: AgoraBase.h:1715
agora::rtc::LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND
@ LOCAL_VIDEO_STREAM_REASON_CAPTURE_INBACKGROUND
Definition: AgoraBase.h:3033
agora::rtc::VIDEO_SOURCE_TYPE
VIDEO_SOURCE_TYPE
Definition: AgoraMediaBase.h:68
agora::AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION
@ AUDIO_SESSION_OPERATION_RESTRICTION_DEACTIVATE_SESSION
Definition: AgoraBase.h:809
agora::media::base::VIDEO_MODULE_POSITION
VIDEO_MODULE_POSITION
Definition: AgoraMediaBase.h:1202
agora::rtc::LastmileProbeConfig::probeDownlink
bool probeDownlink
Definition: AgoraBase.h:4336
agora::rtc::SegmentationProperty::modelType
SEG_MODEL_TYPE modelType
Definition: AgoraBase.h:5171
agora::ERR_INVALID_CHANNEL_NAME
@ ERR_INVALID_CHANNEL_NAME
Definition: AgoraBase.h:578
agora::rtc::CRITICAL
@ CRITICAL
Definition: AgoraBase.h:6539
agora::rtc::USER_OFFLINE_QUIT
@ USER_OFFLINE_QUIT
Definition: AgoraBase.h:856
agora::rtc::CONNECTION_CHANGED_REJECTED_BY_SERVER
@ CONNECTION_CHANGED_REJECTED_BY_SERVER
Definition: AgoraBase.h:4473
agora::rtc::AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED
@ AUDIO_ENCODED_FRAME_OBSERVER_POSITION_MIXED
Definition: AgoraBase.h:5760
agora::rtc::RtcStats::userCount
unsigned int userCount
Definition: AgoraBase.h:2381
agora::rtc::VIDEO_FRAME_TYPE_BLANK_FRAME
@ VIDEO_FRAME_TYPE_BLANK_FRAME
Definition: AgoraBase.h:1017
agora::rtc::VIDEO_CODEC_GENERIC_H264
@ VIDEO_CODEC_GENERIC_H264
Definition: AgoraBase.h:1202
agora::rtc::EchoTestConfiguration::intervalInSeconds
int intervalInSeconds
Definition: AgoraBase.h:6457
agora::rtc::LocalTranscoderConfiguration::streamCount
unsigned int streamCount
Definition: AgoraBase.h:4195
agora::media::base::RENDER_MODE_TYPE
RENDER_MODE_TYPE
Definition: AgoraMediaBase.h:592
agora::rtc::BeautyOptions::LIGHTENING_CONTRAST_HIGH
@ LIGHTENING_CONTRAST_HIGH
Definition: AgoraBase.h:4811
agora::rtc::VIDEO_STREAM_LOW
@ VIDEO_STREAM_LOW
Definition: AgoraBase.h:1585
agora::base::LicenseCallback
Definition: AgoraBase.h:6857
agora::rtc::VIDEO_ORIENTATION_180
@ VIDEO_ORIENTATION_180
Definition: AgoraBase.h:963
agora::WARN_ADM_GLITCH_STATE
@ WARN_ADM_GLITCH_STATE
Definition: AgoraBase.h:429
agora::rtc::REMOTE_AUDIO_REASON_REMOTE_OFFLINE
@ REMOTE_AUDIO_REASON_REMOTE_OFFLINE
Definition: AgoraBase.h:3201
agora::rtc::VIDEO_QOE_PREFERENCE_DELAY_FIRST
@ VIDEO_QOE_PREFERENCE_DELAY_FIRST
Definition: AgoraBase.h:2850
agora::util::AOutputIterator::valid
bool valid() const
Definition: AgoraBase.h:229
agora::rtc::LiveTranscoding::videoCodecProfile
VIDEO_CODEC_PROFILE_TYPE videoCodecProfile
Definition: AgoraBase.h:4009
agora::LICENSE_ERR_EXPIRE
@ LICENSE_ERR_EXPIRE
Definition: AgoraBase.h:770
agora::rtc::SimulcastConfig::STREAM_LOW
@ STREAM_LOW
Definition: AgoraBase.h:2193
agora::rtc::VIDEO_CODEC_H264
@ VIDEO_CODEC_H264
Definition: AgoraBase.h:1187
agora::rtc::VirtualBackgroundSource::BACKGROUND_SOURCE_TYPE
BACKGROUND_SOURCE_TYPE
Definition: AgoraBase.h:5089
agora::rtc::VideoRenderingTracingInfo::start2JoinChannel
int start2JoinChannel
Definition: AgoraBase.h:6676
agora::util::AOutputIterator::pointer
value_type * pointer
Definition: AgoraBase.h:209
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_NO_PERMISSION
Definition: AgoraBase.h:3013
agora::rtc::VideoCanvas::backgroundColor
uint32_t backgroundColor
Definition: AgoraBase.h:4692
agora::rtc::LocalAccessPointConfiguration::disableAut
bool disableAut
Definition: AgoraBase.h:6795
agora::rtc::USER_OFFLINE_BECOME_AUDIENCE
@ USER_OFFLINE_BECOME_AUDIENCE
Definition: AgoraBase.h:866
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_INVALID
@ CAPTURE_BRIGHTNESS_LEVEL_INVALID
Definition: AgoraBase.h:2870
agora::rtc::ScreenAudioParameters::sampleRate
int sampleRate
Definition: AgoraBase.h:6601
agora::rtc::CONNECTION_CHANGED_INVALID_APP_ID
@ CONNECTION_CHANGED_INVALID_APP_ID
Definition: AgoraBase.h:4447
agora::rtc::WLACC_MESSAGE_REASON_WEAK_SIGNAL
@ WLACC_MESSAGE_REASON_WEAK_SIGNAL
Definition: AgoraBase.h:4566
agora::rtc::ScreenCaptureParameters::dimensions
VideoDimensions dimensions
Definition: AgoraBase.h:5578
agora::rtc::CHAT_BEAUTIFIER_MAGNETIC
@ CHAT_BEAUTIFIER_MAGNETIC
Definition: AgoraBase.h:5248
agora::ERR_NOT_SUPPORTED
@ ERR_NOT_SUPPORTED
Definition: AgoraBase.h:485
agora::rtc::ORIENTATION_MODE_ADAPTIVE
@ ORIENTATION_MODE_ADAPTIVE
Definition: AgoraBase.h:1041
agora::rtc::VideoDimensions::width
int width
Definition: AgoraBase.h:1107
agora::rtc::LiveStreamAdvancedFeature::LiveStreamAdvancedFeature
LiveStreamAdvancedFeature(const char *feat_name, bool open)
Definition: AgoraBase.h:3826
agora::rtc::VIDEO_TRANSCODER_ERROR
VIDEO_TRANSCODER_ERROR
Definition: AgoraBase.h:4222
agora::rtc::USER_STATE_MUTE_VIDEO
@ USER_STATE_MUTE_VIDEO
Definition: AgoraBase.h:3314
agora::rtc::IAudioEncodedFrameObserver::~IAudioEncodedFrameObserver
virtual ~IAudioEncodedFrameObserver()
Definition: AgoraBase.h:5910
agora::rtc::VOICE_CHANGER_PHONE_OPERATOR
@ VOICE_CHANGER_PHONE_OPERATOR
Definition: AgoraBase.h:5484
agora::rtc::TranscodingVideoStream::x
int x
Definition: AgoraBase.h:4140
agora::rtc::LiveTranscoding::lowLatency
bool lowLatency
Definition: AgoraBase.h:4000
agora::rtc::AUDIO_CODEC_LPCNET
@ AUDIO_CODEC_LPCNET
Definition: AgoraBase.h:1375
agora::ERR_RESOURCE_LIMITED
@ ERR_RESOURCE_LIMITED
Definition: AgoraBase.h:566
agora::rtc::VideoEncoderConfiguration::VideoEncoderConfiguration
VideoEncoderConfiguration()
Definition: AgoraBase.h:2063
agora::rtc::VOICE_CHANGER_NEUTRAL
@ VOICE_CHANGER_NEUTRAL
Definition: AgoraBase.h:5463
agora::rtc::RELAY_ERROR_INTERNAL_ERROR
@ RELAY_ERROR_INTERNAL_ERROR
Definition: AgoraBase.h:6023
agora::rtc::VirtualBackgroundSource::source
const char * source
Definition: AgoraBase.h:5149
agora::rtc::MEDIA_TRACE_EVENT_VIDEO_DECODED
@ MEDIA_TRACE_EVENT_VIDEO_DECODED
Definition: AgoraBase.h:6659
agora::rtc::FRAME_RATE_FPS_30
@ FRAME_RATE_FPS_30
Definition: AgoraBase.h:997
agora::rtc::HIGH
@ HIGH
Definition: AgoraBase.h:6531
agora::util::AOutputIterator::const_reference
const value_type & const_reference
Definition: AgoraBase.h:208
agora::LICENSE_ERROR_TYPE
LICENSE_ERROR_TYPE
Definition: AgoraBase.h:762
agora::rtc::CONFIG_FETCH_TYPE_JOIN_CHANNEL
@ CONFIG_FETCH_TYPE_JOIN_CHANNEL
Definition: AgoraBase.h:6725
agora::rtc::LogUploadServerInfo::serverPath
const char * serverPath
Definition: AgoraBase.h:6744
agora::rtc::CAMERA_STABILIZATION_MODE
CAMERA_STABILIZATION_MODE
Definition: AgoraBase.h:2882
agora::rtc::EncryptionConfig::datastreamEncryptionEnabled
bool datastreamEncryptionEnabled
Definition: AgoraBase.h:6304
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_EYESCALE
@ FACE_SHAPE_AREA_EYESCALE
Definition: AgoraBase.h:4881
agora::rtc::REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
@ REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
Definition: AgoraBase.h:3262
agora::rtc::REMOTE_AUDIO_STATE_STARTING
@ REMOTE_AUDIO_STATE_STARTING
Definition: AgoraBase.h:3142
agora::rtc::CODEC_CAP_MASK_SW_DEC
@ CODEC_CAP_MASK_SW_DEC
Definition: AgoraBase.h:1885
agora::rtc::SimulcastConfig::STREAM_LAYER_5
@ STREAM_LAYER_5
Definition: AgoraBase.h:2185
agora::WARN_ADM_RECORD_IS_OCCUPIED
@ WARN_ADM_RECORD_IS_OCCUPIED
Definition: AgoraBase.h:413
agora::VideoLayout::videoState
uint32_t videoState
Definition: AgoraBase.h:6941
agora::ERR_CERT_DUEDATE
@ ERR_CERT_DUEDATE
Definition: AgoraBase.h:708
agora::rtc::MixedAudioStream::sourceType
AUDIO_SOURCE_TYPE sourceType
Definition: AgoraBase.h:4257
agora::WARN_SET_CLIENT_ROLE_TIMEOUT
@ WARN_SET_CLIENT_ROLE_TIMEOUT
Definition: AgoraBase.h:354
agora::base::LicenseCallback::onLicenseValidated
virtual void onLicenseValidated()=0
agora::rtc::SUB_STATE_NO_SUBSCRIBED
@ SUB_STATE_NO_SUBSCRIBED
Definition: AgoraBase.h:6408
agora::rtc::VIDEO_ORIENTATION_270
@ VIDEO_ORIENTATION_270
Definition: AgoraBase.h:967
agora::rtc::EchoTestConfiguration::view
view_t view
Definition: AgoraBase.h:6452
agora::rtc::AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK
@ AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK
Definition: AgoraBase.h:5756
agora::rtc::NETWORK_TYPE_UNKNOWN
@ NETWORK_TYPE_UNKNOWN
Definition: AgoraBase.h:4622
agora::rtc::LOCAL_AUDIO_STREAM_REASON_OK
@ LOCAL_AUDIO_STREAM_REASON_OK
Definition: AgoraBase.h:2932
agora::rtc::VideoSubscriptionOptions::encodedFrameOnly
Optional< bool > encodedFrameOnly
Definition: AgoraBase.h:1626
agora::rtc::IAudioEncodedFrameObserver::onRecordAudioEncodedFrame
virtual void onRecordAudioEncodedFrame(const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0
agora::rtc::APPLICATION_SCENARIO_LIVESHOW
@ APPLICATION_SCENARIO_LIVESHOW
Definition: AgoraBase.h:2836
agora::rtc::SimulcastStreamConfig::operator==
bool operator==(const SimulcastStreamConfig &rhs) const
Definition: AgoraBase.h:2153
agora::ERR_ADM_GENERAL_ERROR
@ ERR_ADM_GENERAL_ERROR
Definition: AgoraBase.h:729
agora::rtc::HEADPHONE_EQUALIZER_OVEREAR
@ HEADPHONE_EQUALIZER_OVEREAR
Definition: AgoraBase.h:5520
agora::rtc::VirtualBackgroundSource::BACKGROUND_VIDEO
@ BACKGROUND_VIDEO
Definition: AgoraBase.h:5109
agora::rtc::USER_OFFLINE_REASON_TYPE
USER_OFFLINE_REASON_TYPE
Definition: AgoraBase.h:852
agora::util::IContainer::~IContainer
virtual ~IContainer()
Definition: AgoraBase.h:198
agora::rtc::WatermarkOptions::visibleInPreview
bool visibleInPreview
Definition: AgoraBase.h:2290
agora::rtc::LowlightEnhanceOptions
Definition: AgoraBase.h:4964
agora::rtc::TranscodingUser::zOrder
int zOrder
Definition: AgoraBase.h:3931
agora::rtc::VOICE_CHANGER_EFFECT_SISTER
@ VOICE_CHANGER_EFFECT_SISTER
Definition: AgoraBase.h:5415
agora::ERR_NOT_INITIALIZED
@ ERR_NOT_INITIALIZED
Definition: AgoraBase.h:497
agora::rtc::EAR_MONITORING_FILTER_TYPE
EAR_MONITORING_FILTER_TYPE
Definition: AgoraBase.h:6490
agora::rtc::TIMBRE_TRANSFORMATION_RESOUNDING
@ TIMBRE_TRANSFORMATION_RESOUNDING
Definition: AgoraBase.h:5291
agora::ERR_NOT_IN_CHANNEL
@ ERR_NOT_IN_CHANNEL
Definition: AgoraBase.h:629
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_BUSY
Definition: AgoraBase.h:3018
agora::rtc::UplinkNetworkInfo::video_encoder_target_bitrate_bps
int video_encoder_target_bitrate_bps
Definition: AgoraBase.h:6119
agora::ERR_ADM_INIT_RECORDING
@ ERR_ADM_INIT_RECORDING
Definition: AgoraBase.h:747
agora::rtc::LiveTranscoding::width
int width
Definition: AgoraBase.h:3974
agora::rtc::AudioPcmDataInfo
Definition: AgoraBase.h:1528
agora::rtc::RtcStats::rxBytes
unsigned int rxBytes
Definition: AgoraBase.h:2333
agora::ERR_CERT_SIGN
@ ERR_CERT_SIGN
Definition: AgoraBase.h:704
agora::rtc::CONFIG_FETCH_TYPE
CONFIG_FETCH_TYPE
Definition: AgoraBase.h:6717
agora::WARN_ADM_POP_STATE
@ WARN_ADM_POP_STATE
Definition: AgoraBase.h:437
agora::rtc::RtcStats::rxVideoKBitRate
unsigned short rxVideoKBitRate
Definition: AgoraBase.h:2369
agora::rtc::MAINTAIN_RESOLUTION
@ MAINTAIN_RESOLUTION
Definition: AgoraBase.h:1093
agora::rtc::FRAME_WIDTH_960
@ FRAME_WIDTH_960
Definition: AgoraBase.h:1005
agora::base::LicenseCallback::onLicenseRequest
virtual void onLicenseRequest()=0
agora::rtc::PREFER_SOFTWARE
@ PREFER_SOFTWARE
Definition: AgoraBase.h:1774
agora::rtc::VideoDenoiserOptions::mode
VIDEO_DENOISER_MODE mode
Definition: AgoraBase.h:5044
agora::rtc::RtcStats::rxAudioKBitRate
unsigned short rxAudioKBitRate
Definition: AgoraBase.h:2361
agora::util::AOutputIterator::AOutputIterator
AOutputIterator(const AOutputIterator &rhs)
Definition: AgoraBase.h:215
agora::rtc::SegmentationProperty::greenCapacity
float greenCapacity
Definition: AgoraBase.h:5173
agora::rtc::ORIENTATION_MODE_FIXED_LANDSCAPE
@ ORIENTATION_MODE_FIXED_LANDSCAPE
Definition: AgoraBase.h:1048
agora::rtc::LocalAudioStats::numChannels
int numChannels
Definition: AgoraBase.h:3588
agora::rtc::VideoRenderingTracingInfo::remoteJoined2SetView
int remoteJoined2SetView
Definition: AgoraBase.h:6696
agora::rtc::SimulcastConfig::STREAM_LAYER_COUNT_MAX
@ STREAM_LAYER_COUNT_MAX
Definition: AgoraBase.h:2197
agora::rtc::LocalAudioMixerConfiguration::LocalAudioMixerConfiguration
LocalAudioMixerConfiguration()
Definition: AgoraBase.h:4317
agora::rtc::CodecCapLevels::CodecCapLevels
CodecCapLevels()
Definition: AgoraBase.h:1895
agora::rtc::ScreenVideoParameters::bitrate
int bitrate
Definition: AgoraBase.h:6585
agora::rtc::VideoEncoderConfiguration::mirrorMode
VIDEO_MIRROR_MODE_TYPE mirrorMode
Definition: AgoraBase.h:2026
agora::rtc::PERMISSION_TYPE
PERMISSION_TYPE
Definition: AgoraBase.h:6374
agora::util::AOutputIterator::operator*
reference operator*()
Definition: AgoraBase.h:227
agora::rtc::LogUploadServerInfo::serverPort
int serverPort
Definition: AgoraBase.h:6747
agora::rtc::FRAME_RATE_FPS_7
@ FRAME_RATE_FPS_7
Definition: AgoraBase.h:981
agora::rtc::REMOTE_VIDEO_STATE_STARTING
@ REMOTE_VIDEO_STATE_STARTING
Definition: AgoraBase.h:3226
agora::rtc::ScreenCaptureParameters::captureMouseCursor
bool captureMouseCursor
Definition: AgoraBase.h:5595
agora::ERR_INVALID_APP_ID
@ ERR_INVALID_APP_ID
Definition: AgoraBase.h:573
agora::rtc::CHANNEL_MEDIA_RELAY_ERROR
CHANNEL_MEDIA_RELAY_ERROR
Definition: AgoraBase.h:5988
agora::rtc::DownlinkNetworkInfo::total_received_video_count
int total_received_video_count
Definition: AgoraBase.h:6204
agora::rtc::WatermarkOptions::WatermarkOptions
WatermarkOptions()
Definition: AgoraBase.h:2311
agora::rtc::CONNECTION_STATE_CONNECTING
@ CONNECTION_STATE_CONNECTING
Definition: AgoraBase.h:3866
agora::rtc::AUDIO_PROFILE_NUM
@ AUDIO_PROFILE_NUM
Definition: AgoraBase.h:2677
agora::rtc::DownlinkNetworkInfo::~DownlinkNetworkInfo
~DownlinkNetworkInfo()
Definition: AgoraBase.h:6240
agora::rtc::VIDEO_CODEC_PROFILE_BASELINE
@ VIDEO_CODEC_PROFILE_BASELINE
Definition: AgoraBase.h:3551
agora::rtc::MixedAudioStream::remoteUserUid
uid_t remoteUserUid
Definition: AgoraBase.h:4262
agora::rtc::AUDIO_CODEC_JC1
@ AUDIO_CODEC_JC1
Definition: AgoraBase.h:1367
agora::rtc::LOCAL_AUDIO_STREAM_STATE_FAILED
@ LOCAL_AUDIO_STREAM_STATE_FAILED
Definition: AgoraBase.h:2922
agora::rtc::NORMAL
@ NORMAL
Definition: AgoraBase.h:6527
agora::rtc::VOICE_AI_TUNER_WARM_MALE_SINGING
@ VOICE_AI_TUNER_WARM_MALE_SINGING
Definition: AgoraBase.h:5543
agora::rtc::RtcImage::y
int y
Definition: AgoraBase.h:3792
agora::rtc::FocalLengthInfo::focalLengthType
CAMERA_FOCAL_LENGTH_TYPE focalLengthType
Definition: AgoraBase.h:1918
agora::rtc::EncodedAudioFrameAdvancedSettings
Definition: AgoraBase.h:1462
agora::rtc::WLACC_SUGGEST_ACTION_CLOSE_TO_WIFI
@ WLACC_SUGGEST_ACTION_CLOSE_TO_WIFI
Definition: AgoraBase.h:4580
agora::rtc::RtcStats::memoryAppUsageRatio
double memoryAppUsageRatio
Definition: AgoraBase.h:2412
agora::rtc::CAMERA_FOCAL_LENGTH_TYPE
CAMERA_FOCAL_LENGTH_TYPE
Definition: AgoraBase.h:1221
agora::rtc::REMOTE_AUDIO_REASON_LOCAL_PLAY_FAILED
@ REMOTE_AUDIO_REASON_LOCAL_PLAY_FAILED
Definition: AgoraBase.h:3209
agora::rtc::LOCAL_AUDIO_STREAM_REASON
LOCAL_AUDIO_STREAM_REASON
Definition: AgoraBase.h:2928
agora::util::AList::~AList
~AList()
Definition: AgoraBase.h:250
agora::rtc::AGORA_IID_MUSIC_CONTENT_CENTER
@ AGORA_IID_MUSIC_CONTENT_CENTER
Definition: AgoraBase.h:882
agora::rtc::EchoTestConfiguration::enableVideo
bool enableVideo
Definition: AgoraBase.h:6454
agora::rtc::VIDEO_STREAM_LAYER_4
@ VIDEO_STREAM_LAYER_4
Definition: AgoraBase.h:1601
agora::rtc::AES_128_ECB
@ AES_128_ECB
Definition: AgoraBase.h:6255
agora::rtc::RtcStats::gatewayRtt
int gatewayRtt
Definition: AgoraBase.h:2407
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_SYSTEM_PRESSURE
Definition: AgoraBase.h:3070
agora::rtc::RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED
@ RTMP_STREAM_PUBLISH_REASON_ENCRYPTED_STREAM_NOT_ALLOWED
Definition: AgoraBase.h:3685
agora::rtc::LastmileProbeConfig::expectedUplinkBitrate
unsigned int expectedUplinkBitrate
Definition: AgoraBase.h:4342
agora::rtc::VideoTrackInfo::isLocal
bool isLocal
Definition: AgoraBase.h:3344
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::expected_bitrate_bps
int expected_bitrate_bps
Definition: AgoraBase.h:6145
agora::rtc::FIT_MODE_USE_IMAGE_RATIO
@ FIT_MODE_USE_IMAGE_RATIO
Definition: AgoraBase.h:1456
agora::WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE
@ WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE
Definition: AgoraBase.h:446
agora::rtc::IAudioEncodedFrameObserver::onPlaybackAudioEncodedFrame
virtual void onPlaybackAudioEncodedFrame(const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0
agora::rtc::AdvanceOptions::encodingPreference
ENCODING_PREFERENCE encodingPreference
Definition: AgoraBase.h:1788
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition: AgoraBase.h:1577
agora::rtc::VideoDimensions::operator==
bool operator==(const VideoDimensions &rhs) const
Definition: AgoraBase.h:1114
agora::rtc::VIDEO_FRAME_TYPE_UNKNOW
@ VIDEO_FRAME_TYPE_UNKNOW
Definition: AgoraBase.h:1027
agora::rtc::FaceShapeAreaOptions::FaceShapeAreaOptions
FaceShapeAreaOptions()
Definition: AgoraBase.h:4903
agora::rtc::SUB_STATE_SUBSCRIBED
@ SUB_STATE_SUBSCRIBED
Definition: AgoraBase.h:6416
agora::rtc::LiveTranscoding::LiveTranscoding
LiveTranscoding()
Definition: AgoraBase.h:4086
agora::rtc::CONNECTION_CHANGED_JOIN_SUCCESS
@ CONNECTION_CHANGED_JOIN_SUCCESS
Definition: AgoraBase.h:4425
agora::rtc::REMOTE_VIDEO_STATE_REASON_INTERNAL
@ REMOTE_VIDEO_STATE_REASON_INTERNAL
Definition: AgoraBase.h:3250
agora::ERR_TOO_OFTEN
@ ERR_TOO_OFTEN
Definition: AgoraBase.h:523
agora::rtc::CONNECTION_CHANGED_LICENSE_VALIDATION_FAILURE
@ CONNECTION_CHANGED_LICENSE_VALIDATION_FAILURE
Definition: AgoraBase.h:4520
agora::rtc::AREA_CODE_NA
@ AREA_CODE_NA
Definition: AgoraBase.h:5923
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT
Definition: AgoraBase.h:3061
agora::rtc::EAR_MONITORING_FILTER_NOISE_SUPPRESSION
@ EAR_MONITORING_FILTER_NOISE_SUPPRESSION
Definition: AgoraBase.h:6503
agora::rtc::VIDEO_STREAM_LAYER_1
@ VIDEO_STREAM_LAYER_1
Definition: AgoraBase.h:1589
agora::rtc::VideoTrackInfo::channelId
const char * channelId
Definition: AgoraBase.h:3356
agora::rtc::CAMERA_STABILIZATION_MODE_OFF
@ CAMERA_STABILIZATION_MODE_OFF
Definition: AgoraBase.h:2885
agora::rtc::IAudioEncodedFrameObserver::onMixedAudioEncodedFrame
virtual void onMixedAudioEncodedFrame(const uint8_t *frameBuffer, int length, const EncodedAudioFrameInfo &audioEncodedFrameInfo)=0
agora::rtc::VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST
@ VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST
Definition: AgoraBase.h:2854
agora::rtc::RECORD_AUDIO
@ RECORD_AUDIO
Definition: AgoraBase.h:6378
agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_LEVEL_FAST
@ LOW_LIGHT_ENHANCE_LEVEL_FAST
Definition: AgoraBase.h:4990
agora::rtc::RtcStats::firstVideoKeyFramePacketDuration
int firstVideoKeyFramePacketDuration
Definition: AgoraBase.h:2442
agora::rtc::AUDIO_SCENARIO_CHORUS
@ AUDIO_SCENARIO_CHORUS
Definition: AgoraBase.h:2705
agora::rtc::CodecCapInfo::codecLevels
CodecCapLevels codecLevels
Definition: AgoraBase.h:1907
agora::rtc::LiveTranscoding::advancedFeatureCount
unsigned int advancedFeatureCount
Definition: AgoraBase.h:4084
agora::rtc::VOICE_BEAUTIFIER_PRESET
VOICE_BEAUTIFIER_PRESET
Definition: AgoraBase.h:5239
agora::rtc::AUDIO_CODEC_HEAAC2
@ AUDIO_CODEC_HEAAC2
Definition: AgoraBase.h:1371
agora::rtc::CAMERA_FORMAT_TYPE
CAMERA_FORMAT_TYPE
Definition: AgoraBase.h:1841
agora::rtc::AREA_CODE_US
@ AREA_CODE_US
Definition: AgoraBase.h:5974
agora::rtc::CodecCapInfo::codecCapMask
int codecCapMask
Definition: AgoraBase.h:1905
agora::rtc::VIDEO_MIRROR_MODE_DISABLED
@ VIDEO_MIRROR_MODE_DISABLED
Definition: AgoraBase.h:1834
agora::rtc::AudioRecordingConfiguration
Definition: AgoraBase.h:5766
agora::rtc::AINS_MODE_ULTRALOWLATENCY
@ AINS_MODE_ULTRALOWLATENCY
Definition: AgoraBase.h:2630
agora::rtc::UPLOAD_ERROR_REASON
UPLOAD_ERROR_REASON
Definition: AgoraBase.h:6366
agora::rtc::VIDEO_STREAM_LAYER_5
@ VIDEO_STREAM_LAYER_5
Definition: AgoraBase.h:1605
agora::rtc::WLACC_SUGGEST_ACTION_CONNECT_SSID
@ WLACC_SUGGEST_ACTION_CONNECT_SSID
Definition: AgoraBase.h:4584
agora::rtc::CAMERA_STABILIZATION_MODE_LEVEL_3
@ CAMERA_STABILIZATION_MODE_LEVEL_3
Definition: AgoraBase.h:2897
agora::ERR_CERT_BUF
@ ERR_CERT_BUF
Definition: AgoraBase.h:706
agora::SpatialAudioParams::speaker_azimuth
Optional< double > speaker_azimuth
Definition: AgoraBase.h:6875
agora::base::LicenseCallback::onLicenseError
virtual void onLicenseError(int result)=0
agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_MODE
LOW_LIGHT_ENHANCE_MODE
Definition: AgoraBase.h:4968
agora::util::IContainer
Definition: AgoraBase.h:193
agora::rtc::AUDIO_TRACK_INVALID
@ AUDIO_TRACK_INVALID
Definition: AgoraBase.h:5184
agora::rtc::VirtualBackgroundSource::BLUR_DEGREE_HIGH
@ BLUR_DEGREE_HIGH
Definition: AgoraBase.h:5123
agora::rtc::LocalAudioMixerConfiguration::syncWithLocalMic
bool syncWithLocalMic
Definition: AgoraBase.h:4315
agora::rtc::ENCODING_PREFERENCE
ENCODING_PREFERENCE
Definition: AgoraBase.h:1766
agora::rtc::ScreenVideoParameters::frameRate
int frameRate
Definition: AgoraBase.h:6580
agora::WARN_INVALID_VIEW
@ WARN_INVALID_VIEW
Definition: AgoraBase.h:307
agora::rtc::VideoDimensions
Definition: AgoraBase.h:1103
agora::rtc::VirtualBackgroundSource::BLUR_DEGREE_LOW
@ BLUR_DEGREE_LOW
Definition: AgoraBase.h:5117
agora::rtc::RTC
@ RTC
Definition: AgoraBase.h:6807
agora::rtc::SegmentationProperty::SEG_MODEL_AI
@ SEG_MODEL_AI
Definition: AgoraBase.h:5167
agora::rtc::RTMP_STREAM_UNPUBLISH_REASON_OK
@ RTMP_STREAM_UNPUBLISH_REASON_OK
Definition: AgoraBase.h:3749
agora::rtc::LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR
@ LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR
Definition: AgoraBase.h:3066
agora::rtc::AudioVolumeInfo::AudioVolumeInfo
AudioVolumeInfo()
Definition: AgoraBase.h:3439
agora::rtc::MEDIA_TRACE_EVENT
MEDIA_TRACE_EVENT
Definition: AgoraBase.h:6651
agora::WARN_SWITCH_LIVE_VIDEO_TIMEOUT
@ WARN_SWITCH_LIVE_VIDEO_TIMEOUT
Definition: AgoraBase.h:350
agora::rtc::ScreenVideoParameters::dimensions
VideoDimensions dimensions
Definition: AgoraBase.h:6574
agora::rtc::VideoRenderingTracingInfo::joinSuccess2RemoteJoined
int joinSuccess2RemoteJoined
Definition: AgoraBase.h:6688
agora::rtc::VIDEO_MODULE_TYPE
VIDEO_MODULE_TYPE
Definition: AgoraBase.h:1849
agora::rtc::FaceShapeAreaOptions::shapeIntensity
int shapeIntensity
Definition: AgoraBase.h:4899
agora::rtc::TranscodingVideoStream::height
int height
Definition: AgoraBase.h:4153
agora::rtc::RELAY_ERROR_FAILED_JOIN_SRC
@ RELAY_ERROR_FAILED_JOIN_SRC
Definition: AgoraBase.h:6007
agora::rtc::SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS
@ SCREEN_CAPTURE_FRAMERATE_CAPABILITY_60_FPS
Definition: AgoraBase.h:1151
agora::rtc::ScreenCaptureParameters2::audioParams
ScreenAudioParameters audioParams
Definition: AgoraBase.h:6630
agora::rtc::AUDIO_SAMPLE_RATE_TYPE
AUDIO_SAMPLE_RATE_TYPE
Definition: AgoraBase.h:3516
agora::rtc::DataStreamConfig::syncWithAudio
bool syncWithAudio
Definition: AgoraBase.h:2104
agora::rtc::LowlightEnhanceOptions::mode
LOW_LIGHT_ENHANCE_MODE mode
Definition: AgoraBase.h:4995
agora::rtc::FIT_MODE_COVER_POSITION
@ FIT_MODE_COVER_POSITION
Definition: AgoraBase.h:1451
agora::rtc::AREA_CODE_HKMC
@ AREA_CODE_HKMC
Definition: AgoraBase.h:5970
agora::rtc::LiveTranscoding::userCount
unsigned int userCount
Definition: AgoraBase.h:4019
agora::rtc::SimulcastStreamConfig::SimulcastStreamConfig
SimulcastStreamConfig()
Definition: AgoraBase.h:2151
agora::rtc::MAINTAIN_FRAMERATE
@ MAINTAIN_FRAMERATE
Definition: AgoraBase.h:1082
agora::rtc::AdvanceOptions::AdvanceOptions
AdvanceOptions()
Definition: AgoraBase.h:1801
agora::rtc::Rectangle::Rectangle
Rectangle()
Definition: AgoraBase.h:2242
agora::rtc::RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED
@ RTMP_STREAM_PUBLISH_REASON_NOT_AUTHORIZED
Definition: AgoraBase.h:3711
agora::rtc::PREFER_HARDWARE
@ PREFER_HARDWARE
Definition: AgoraBase.h:1778
agora::rtc::LocalOnly
@ LocalOnly
Definition: AgoraBase.h:6735
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_FOREHEAD
@ FACE_SHAPE_AREA_FOREHEAD
Definition: AgoraBase.h:4867
agora::util::CopyableAutoPtr
Definition: AgoraBase.h:156
agora::util::AList::size_type
size_t size_type
Definition: AgoraBase.h:243
agora::rtc::CodecCapInfo::codecType
VIDEO_CODEC_TYPE codecType
Definition: AgoraBase.h:1903
agora::ERR_LICENSE_CREDENTIAL_INVALID
@ ERR_LICENSE_CREDENTIAL_INVALID
Definition: AgoraBase.h:681
agora::rtc::AUDIO_FILE_RECORDING_MIC
@ AUDIO_FILE_RECORDING_MIC
Definition: AgoraBase.h:5734
agora::rtc::FocalLengthInfo::cameraDirection
int cameraDirection
Definition: AgoraBase.h:1916
agora::rtc::PUB_STATE_PUBLISHED
@ PUB_STATE_PUBLISHED
Definition: AgoraBase.h:6445
agora::rtc::LocalAccessPointConfiguration::ipListSize
int ipListSize
Definition: AgoraBase.h:6772
agora::rtc::STYLE_TRANSFORMATION_POPULAR
@ STYLE_TRANSFORMATION_POPULAR
Definition: AgoraBase.h:5442
agora::rtc::VOICE_CHANGER_EFFECT_UNCLE
@ VOICE_CHANGER_EFFECT_UNCLE
Definition: AgoraBase.h:5396
agora::rtc::LOCAL_AUDIO_STREAM_REASON_INTERRUPTED
@ LOCAL_AUDIO_STREAM_REASON_INTERRUPTED
Definition: AgoraBase.h:2966
agora::rtc::LOCAL_VIDEO_STREAM_STATE_ENCODING
@ LOCAL_VIDEO_STREAM_STATE_ENCODING
Definition: AgoraBase.h:2990
agora::rtc::SimulcastConfig::STREAM_LAYER_4
@ STREAM_LAYER_4
Definition: AgoraBase.h:2181
agora::rtc::AREA_CODE_OVS
@ AREA_CODE_OVS
Definition: AgoraBase.h:5982
agora::rtc::Rectangle::Rectangle
Rectangle(int xx, int yy, int ww, int hh)
Definition: AgoraBase.h:2243
agora::rtc::TranscodingVideoStream::width
int width
Definition: AgoraBase.h:4149
agora::rtc::TranscodingVideoStream::mirror
bool mirror
Definition: AgoraBase.h:4173
agora::rtc::VIDEO_STREAM_LAYER_2
@ VIDEO_STREAM_LAYER_2
Definition: AgoraBase.h:1593
agora::rtc::VIDEO_MODULE_SOFTWARE_ENCODER
@ VIDEO_MODULE_SOFTWARE_ENCODER
Definition: AgoraBase.h:1853
agora::rtc::TIMBRE_TRANSFORMATION_RINGING
@ TIMBRE_TRANSFORMATION_RINGING
Definition: AgoraBase.h:5294
agora::rtc::AUDIO_CODEC_G722
@ AUDIO_CODEC_G722
Definition: AgoraBase.h:1352
agora::rtc::RtcImage
struct agora::rtc::RtcImage RtcImage
agora::rtc::AUDIO_PROFILE_SPEECH_STANDARD
@ AUDIO_PROFILE_SPEECH_STANDARD
Definition: AgoraBase.h:2650
agora::rtc::SimulcastStreamConfig::kBitrate
int kBitrate
Definition: AgoraBase.h:2146
agora::rtc::FRAME_RATE
FRAME_RATE
Definition: AgoraBase.h:973
agora::ERR_PCMSEND_BUFFEROVERFLOW
@ ERR_PCMSEND_BUFFEROVERFLOW
Definition: AgoraBase.h:713
agora::rtc::CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED
@ CONNECTION_CHANGED_CLIENT_IP_ADDRESS_CHANGED
Definition: AgoraBase.h:4486
agora::rtc::RtcImage::alpha
double alpha
Definition: AgoraBase.h:3814
agora::rtc::VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING
@ VOICE_AI_TUNER_WARM_ELEGANT_FEMALE_SINGING
Definition: AgoraBase.h:5552
agora::rtc::LOCAL_AUDIO_STREAM_STATE
LOCAL_AUDIO_STREAM_STATE
Definition: AgoraBase.h:2906
agora::rtc::AUDIO_SCENARIO_AI_SERVER
@ AUDIO_SCENARIO_AI_SERVER
Definition: AgoraBase.h:2713
agora::rtc::TranscodingVideoStream::mediaPlayerId
int mediaPlayerId
Definition: AgoraBase.h:4135
agora::rtc::VOICE_AI_TUNER_TYPE
VOICE_AI_TUNER_TYPE
Definition: AgoraBase.h:5528
agora::rtc::AUDIO_SAMPLE_RATE_32000
@ AUDIO_SAMPLE_RATE_32000
Definition: AgoraBase.h:3520
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN
Definition: AgoraBase.h:3110
agora::rtc::VideoCanvas::subviewUid
uid_t subviewUid
Definition: AgoraBase.h:4684
agora::rtc::CLIENT_ROLE_AUDIENCE
@ CLIENT_ROLE_AUDIENCE
Definition: AgoraBase.h:2528
agora::rtc::DownlinkNetworkInfo::PeerDownlinkInfo::PeerDownlinkInfo
PeerDownlinkInfo()
Definition: AgoraBase.h:6147
agora::rtc::EncryptionConfig::encryptionKey
const char * encryptionKey
Definition: AgoraBase.h:6294
agora::rtc::VIDEO_FRAME_TYPE_KEY_FRAME
@ VIDEO_FRAME_TYPE_KEY_FRAME
Definition: AgoraBase.h:1019
agora::rtc::EncodedVideoFrameInfo::trackId
int trackId
Definition: AgoraBase.h:1723
agora::rtc::VirtualBackgroundSource::BLUR_DEGREE_MEDIUM
@ BLUR_DEGREE_MEDIUM
Definition: AgoraBase.h:5120
agora::rtc::DownlinkNetworkInfo::operator=
DownlinkNetworkInfo & operator=(const DownlinkNetworkInfo &rhs)
Definition: AgoraBase.h:6225
agora::rtc::ScreenCaptureParameters::excludeWindowList
view_t * excludeWindowList
Definition: AgoraBase.h:5609
agora::rtc::LocalAccessPointConfiguration::domainList
const char ** domainList
Definition: AgoraBase.h:6775
agora::rtc::SimulcastConfig::STREAM_LAYER_3
@ STREAM_LAYER_3
Definition: AgoraBase.h:2177
agora::rtc::RELAY_STATE_IDLE
@ RELAY_STATE_IDLE
Definition: AgoraBase.h:6039
agora::rtc::VIDEO_ORIENTATION_0
@ VIDEO_ORIENTATION_0
Definition: AgoraBase.h:955
agora::rtc::IPacketObserver::onSendVideoPacket
virtual bool onSendVideoPacket(Packet &packet)=0
agora::rtc::AudioPcmDataInfo::samplesPerChannel
size_t samplesPerChannel
Definition: AgoraBase.h:1542
agora::WARN_ADM_RECORD_MALFUNCTION
@ WARN_ADM_RECORD_MALFUNCTION
Definition: AgoraBase.h:401
agora::rtc::VideoTrackInfo
Definition: AgoraBase.h:3329
agora::rtc::LocalTranscoderConfiguration::videoOutputConfiguration
VideoEncoderConfiguration videoOutputConfiguration
Definition: AgoraBase.h:4204
agora::rtc::EchoTestConfiguration::enableAudio
bool enableAudio
Definition: AgoraBase.h:6453
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_HEADSCALE
@ FACE_SHAPE_AREA_HEADSCALE
Definition: AgoraBase.h:4865
agora::rtc::AUDIO_RECORDING_QUALITY_HIGH
@ AUDIO_RECORDING_QUALITY_HIGH
Definition: AgoraBase.h:5720
agora::rtc::ROOM_ACOUSTICS_3D_VOICE
@ ROOM_ACOUSTICS_3D_VOICE
Definition: AgoraBase.h:5370
agora::rtc::VIDEO_CONTENT_HINT
VIDEO_CONTENT_HINT
Definition: AgoraBase.h:2770
agora::rtc::CONFIG_FETCH_TYPE_INITIALIZE
@ CONFIG_FETCH_TYPE_INITIALIZE
Definition: AgoraBase.h:6721
agora::rtc::RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT
@ RTMP_STREAM_PUBLISH_REASON_INVALID_ARGUMENT
Definition: AgoraBase.h:3681
agora::rtc::VideoTrackInfo::VideoTrackInfo
VideoTrackInfo()
Definition: AgoraBase.h:3330
agora::rtc::CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS
@ CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS
Definition: AgoraBase.h:4542
agora::rtc::SenderOptions::ccMode
TCcMode ccMode
Definition: AgoraBase.h:1261
agora::rtc::VirtualBackgroundSource::VirtualBackgroundSource
VirtualBackgroundSource()
Definition: AgoraBase.h:5157
agora::util::IString::release
virtual void release()=0
agora::rtc::VT_ERR_INTERNAL
@ VT_ERR_INTERNAL
Definition: AgoraBase.h:4246
agora::rtc::VOICE_AI_TUNER_POWERFUL_MALE_SINGING
@ VOICE_AI_TUNER_POWERFUL_MALE_SINGING
Definition: AgoraBase.h:5555
agora::rtc::LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE
@ LOCAL_AUDIO_STREAM_REASON_ENCODE_FAILURE
Definition: AgoraBase.h:2956
agora::rtc::ChannelMediaInfo::ChannelMediaInfo
ChannelMediaInfo()
Definition: AgoraBase.h:6066
agora::rtc::CLIENT_ROLE_CHANGE_FAILED_REASON
CLIENT_ROLE_CHANGE_FAILED_REASON
Definition: AgoraBase.h:4538
agora::util::AList::const_iterator
const AOutputIterator< value_type > const_iterator
Definition: AgoraBase.h:245
agora::rtc::uid_t
unsigned int uid_t
Definition: AgoraMediaBase.h:28
agora::rtc::SimulcastConfig::StreamLayerConfig::dimensions
VideoDimensions dimensions
Definition: AgoraBase.h:2203
agora::rtc::EXPERIENCE_REASON_NONE
@ EXPERIENCE_REASON_NONE
Definition: AgoraBase.h:2595
agora::rtc::FRAME_RATE_FPS_60
@ FRAME_RATE_FPS_60
Definition: AgoraBase.h:1001
agora::rtc::PUB_STATE_IDLE
@ PUB_STATE_IDLE
Definition: AgoraBase.h:6426
agora::rtc::VirtualBackgroundSource::BACKGROUND_COLOR
@ BACKGROUND_COLOR
Definition: AgoraBase.h:5097
agora::rtc::WatermarkRatio::WatermarkRatio
WatermarkRatio()
Definition: AgoraBase.h:2277
agora::rtc::LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID
@ LOCAL_AUDIO_STREAM_REASON_PLAYOUT_INVALID_ID
Definition: AgoraBase.h:2972
agora::rtc::VIDEO_VIEW_SETUP_MODE
VIDEO_VIEW_SETUP_MODE
Definition: AgoraBase.h:4656
agora::rtc::TIMBRE_TRANSFORMATION_VIGOROUS
@ TIMBRE_TRANSFORMATION_VIGOROUS
Definition: AgoraBase.h:5273
agora::util::IIterator::next
virtual bool next()=0
agora::rtc::CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT
@ CODEC_CAPABILITY_LEVEL_BASIC_SUPPORT
Definition: AgoraBase.h:1161
agora::rtc::CodecCapLevels::swDecodingLevel
VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel
Definition: AgoraBase.h:1893
agora::rtc::AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO
@ AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO
Definition: AgoraBase.h:2672
agora::ERR_CONNECTION_LOST
@ ERR_CONNECTION_LOST
Definition: AgoraBase.h:624
agora::ERR_NO_SERVER_RESOURCES
@ ERR_NO_SERVER_RESOURCES
Definition: AgoraBase.h:584
agora::WARN_OPEN_CHANNEL_INVALID_TICKET
@ WARN_OPEN_CHANNEL_INVALID_TICKET
Definition: AgoraBase.h:358
agora::rtc::AudioPcmDataInfo::ntpTimeMs
int64_t ntpTimeMs
Definition: AgoraBase.h:1558
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2520
agora::rtc::LowlightEnhanceOptions::LOW_LIGHT_ENHANCE_AUTO
@ LOW_LIGHT_ENHANCE_AUTO
Definition: AgoraBase.h:4972
agora::rtc::LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE
@ LOCAL_AUDIO_STREAM_REASON_NO_RECORDING_DEVICE
Definition: AgoraBase.h:2959
agora::rtc::RtcStats::firstVideoPacketDurationAfterUnmute
int firstVideoPacketDurationAfterUnmute
Definition: AgoraBase.h:2457
agora::ERR_TIMEDOUT
@ ERR_TIMEDOUT
Definition: AgoraBase.h:512
agora::ERR_MODULE_NOT_FOUND
@ ERR_MODULE_NOT_FOUND
Definition: AgoraBase.h:695
agora::rtc::NETWORK_TYPE_MOBILE_5G
@ NETWORK_TYPE_MOBILE_5G
Definition: AgoraBase.h:4650
agora::rtc::VIDEO_VIEW_SETUP_ADD
@ VIDEO_VIEW_SETUP_ADD
Definition: AgoraBase.h:4664
agora::rtc::REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT
@ REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT
Definition: AgoraBase.h:3299
agora::WARN_ADM_WINDOWS_NO_DATA_READY_EVENT
@ WARN_ADM_WINDOWS_NO_DATA_READY_EVENT
Definition: AgoraBase.h:421
agora::util::AList::empty
bool empty() const
Definition: AgoraBase.h:259
agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA_NONE
@ FACE_SHAPE_AREA_NONE
Definition: AgoraBase.h:4863
agora::rtc::LiveTranscoding::videoFramerate
int videoFramerate
Definition: AgoraBase.h:3993
agora::base::LicenseCallback::onCertificateRequired
virtual void onCertificateRequired()=0
agora::rtc::RtcStats::rxPacketLossRate
int rxPacketLossRate
Definition: AgoraBase.h:2480
agora::ERR_NOT_READY
@ ERR_NOT_READY
Definition: AgoraBase.h:481
agora::rtc::AINS_MODE_AGGRESSIVE
@ AINS_MODE_AGGRESSIVE
Definition: AgoraBase.h:2626
agora::rtc::ENCRYPTION_ERROR_TYPE
ENCRYPTION_ERROR_TYPE
Definition: AgoraBase.h:6341
agora::rtc::AudioPcmDataInfo::channelNum
int16_t channelNum
Definition: AgoraBase.h:1544
agora::rtc::RtcStats::lastmileDelay
unsigned short lastmileDelay
Definition: AgoraBase.h:2377
agora::rtc::CodecCapLevels
Definition: AgoraBase.h:1891
agora::rtc::VIDEO_QOE_PREFERENCE_BALANCE
@ VIDEO_QOE_PREFERENCE_BALANCE
Definition: AgoraBase.h:2846
agora::rtc::RTMP_STREAM_PUBLISH_REASON_NET_DOWN
@ RTMP_STREAM_PUBLISH_REASON_NET_DOWN
Definition: AgoraBase.h:3737
agora::SpatialAudioParams
Definition: AgoraBase.h:6871
agora::rtc::AUDIO_TRACK_MIXABLE
@ AUDIO_TRACK_MIXABLE
Definition: AgoraBase.h:5191
agora::rtc::WIRELESS_SIGNAL_POOR
@ WIRELESS_SIGNAL_POOR
Definition: AgoraBase.h:2607
agora::rtc::ColorEnhanceOptions::skinProtectLevel
float skinProtectLevel
Definition: AgoraBase.h:5075
agora::rtc::VOICE_AI_TUNER_GENTLE_FEMALE_SINGING
@ VOICE_AI_TUNER_GENTLE_FEMALE_SINGING
Definition: AgoraBase.h:5546
agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_LEVEL_FAST
@ VIDEO_DENOISER_LEVEL_FAST
Definition: AgoraBase.h:5040
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_HIDDEN
Definition: AgoraBase.h:3108
agora::rtc::EAR_MONITORING_FILTER_NONE
@ EAR_MONITORING_FILTER_NONE
Definition: AgoraBase.h:6494
agora::rtc::VideoEncoderConfiguration::codecType
VIDEO_CODEC_TYPE codecType
Definition: AgoraBase.h:1928
agora::rtc::REMOTE_VIDEO_STATE_FAILED
@ REMOTE_VIDEO_STATE_FAILED
Definition: AgoraBase.h:3241
agora::rtc::AudioRecordingConfiguration::AudioRecordingConfiguration
AudioRecordingConfiguration()
Definition: AgoraBase.h:5807
agora::util::AOutputIterator::operator!=
bool operator!=(const AOutputIterator &rhs) const
Definition: AgoraBase.h:226
agora::rtc::RELAY_ERROR_SRC_TOKEN_EXPIRED
@ RELAY_ERROR_SRC_TOKEN_EXPIRED
Definition: AgoraBase.h:6026
agora::rtc::LastmileProbeResult::rtt
unsigned int rtt
Definition: AgoraBase.h:4409
agora::rtc::REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
@ REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
Definition: AgoraBase.h:3282
agora::rtc::TranscodingVideoStream::y
int y
Definition: AgoraBase.h:4145
agora::util::IString::empty
virtual bool empty() const =0
agora::rtc::RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR
@ RTMP_STREAM_PUBLISH_REASON_RTMP_SERVER_ERROR
Definition: AgoraBase.h:3699
agora::ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
@ ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
Definition: AgoraBase.h:676
agora::rtc::CAMERA_STABILIZATION_MODE_LEVEL_2
@ CAMERA_STABILIZATION_MODE_LEVEL_2
Definition: AgoraBase.h:2894
agora::rtc::RtcStats::packetsBeforeFirstKeyFramePacket
int packetsBeforeFirstKeyFramePacket
Definition: AgoraBase.h:2447
agora::rtc::BeautyOptions::LIGHTENING_CONTRAST_NORMAL
@ LIGHTENING_CONTRAST_NORMAL
Definition: AgoraBase.h:4809
agora::rtc::ChannelMediaRelayConfiguration::srcInfo
ChannelMediaInfo * srcInfo
Definition: AgoraBase.h:6085
agora::WARN_PENDING
@ WARN_PENDING
Definition: AgoraBase.h:317
agora::rtc::MAINTAIN_QUALITY
@ MAINTAIN_QUALITY
Definition: AgoraBase.h:1076
agora::rtc::VideoEncoderConfiguration::orientationMode
ORIENTATION_MODE orientationMode
Definition: AgoraBase.h:2015
agora::rtc::WlAccStats::e2eDelayPercent
unsigned short e2eDelayPercent
Definition: AgoraBase.h:4604
agora::__deprecated
@ __deprecated
Definition: AgoraBase.h:284
agora::rtc::ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE
@ ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE
Definition: AgoraBase.h:6363
agora::rtc::REMOTE_AUDIO_REASON_LOCAL_MUTED
@ REMOTE_AUDIO_REASON_LOCAL_MUTED
Definition: AgoraBase.h:3182
agora::util::AOutputIterator::operator*
const_reference operator*() const
Definition: AgoraBase.h:228
agora::rtc::CONNECTION_CHANGED_INVALID_TOKEN
@ CONNECTION_CHANGED_INVALID_TOKEN
Definition: AgoraBase.h:4461
agora::rtc::FRAME_HEIGHT_540
@ FRAME_HEIGHT_540
Definition: AgoraBase.h:1009
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_OCCLUDED
Definition: AgoraBase.h:3093
agora::AUDIO_SESSION_OPERATION_RESTRICTION_ALL
@ AUDIO_SESSION_OPERATION_RESTRICTION_ALL
Definition: AgoraBase.h:814
agora::rtc::STREAM_PUBLISH_STATE
STREAM_PUBLISH_STATE
Definition: AgoraBase.h:6422
agora::rtc::MODE_END
@ MODE_END
Definition: AgoraBase.h:6278
agora::rtc::CONNECTION_STATE_TYPE
CONNECTION_STATE_TYPE
Definition: AgoraBase.h:3850
agora::rtc::LiveStreamAdvancedFeature::opened
bool opened
Definition: AgoraBase.h:3844
agora::rtc::CONNECTION_CHANGED_INTERRUPTED
@ CONNECTION_CHANGED_INTERRUPTED
Definition: AgoraBase.h:4429
agora::rtc::VIDEO_CODEC_CAPABILITY_LEVEL
VIDEO_CODEC_CAPABILITY_LEVEL
Definition: AgoraBase.h:1157
agora::rtc::VIDEO_CODEC_PROFILE_MAIN
@ VIDEO_CODEC_PROFILE_MAIN
Definition: AgoraBase.h:3556
agora::rtc::QUALITY_GOOD
@ QUALITY_GOOD
Definition: AgoraBase.h:903
agora::rtc::SCREEN_CAPTURE
@ SCREEN_CAPTURE
Definition: AgoraBase.h:6384
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_CLOSED
Definition: AgoraBase.h:3091
agora::rtc::CodecCapInfo::CodecCapInfo
CodecCapInfo()
Definition: AgoraBase.h:1909
agora::util::IIterator::current
virtual void * current()=0
agora::rtc::QUALITY_EXCELLENT
@ QUALITY_EXCELLENT
Definition: AgoraBase.h:898
agora::rtc::EchoTestConfiguration::token
const char * token
Definition: AgoraBase.h:6455
agora::base::IEngineBase
Definition: AgoraBase.h:6837
agora::rtc::SenderOptions::targetBitrate
int targetBitrate
Definition: AgoraBase.h:1327
agora::rtc::AGORA_IID_PARAMETER_ENGINE
@ AGORA_IID_PARAMETER_ENGINE
Definition: AgoraBase.h:872
agora::rtc::AudioRecordingConfiguration::quality
AUDIO_RECORDING_QUALITY_TYPE quality
Definition: AgoraBase.h:5798
agora::util::IIterator
Definition: AgoraBase.h:184
agora::rtc::UserInfo::userAccount
char userAccount[MAX_USER_ACCOUNT_LENGTH]
Definition: AgoraBase.h:6482
agora::rtc::ROOM_ACOUSTICS_PHONOGRAPH
@ ROOM_ACOUSTICS_PHONOGRAPH
Definition: AgoraBase.h:5345
agora::rtc::REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
@ REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
Definition: AgoraBase.h:3295
agora::rtc::RELAY_ERROR_SERVER_CONNECTION_LOST
@ RELAY_ERROR_SERVER_CONNECTION_LOST
Definition: AgoraBase.h:6020
agora::rtc::LogUploadServerInfo::serverHttps
bool serverHttps
Definition: AgoraBase.h:6752
agora::rtc::REMOTE_VIDEO_STATE_FROZEN
@ REMOTE_VIDEO_STATE_FROZEN
Definition: AgoraBase.h:3237
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE
Definition: AgoraBase.h:3097
agora::util::AList::AList
AList()
Definition: AgoraBase.h:248
agora::rtc::RtcStats::RtcStats
RtcStats()
Definition: AgoraBase.h:2481
agora::rtc::AGORA_IID_AUDIO_DEVICE_MANAGER
@ AGORA_IID_AUDIO_DEVICE_MANAGER
Definition: AgoraBase.h:870
agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_MANUAL
@ VIDEO_DENOISER_MANUAL
Definition: AgoraBase.h:5020
agora::LICENSE_ERR_LIMITED_PERIOD
@ LICENSE_ERR_LIMITED_PERIOD
Definition: AgoraBase.h:778
agora::rtc::HEADPHONE_EQUALIZER_INEAR
@ HEADPHONE_EQUALIZER_INEAR
Definition: AgoraBase.h:5523
agora::rtc::CAMERA_FOCAL_LENGTH_WIDE_ANGLE
@ CAMERA_FOCAL_LENGTH_WIDE_ANGLE
Definition: AgoraBase.h:1229
agora::rtc::VideoFormat::operator==
bool operator==(const VideoFormat &fmt) const
Definition: AgoraBase.h:2761
agora::rtc::HDR_CAPABILITY_SUPPORTED
@ HDR_CAPABILITY_SUPPORTED
Definition: AgoraBase.h:1870
agora::rtc::EncodedAudioFrameInfo::samplesPerChannel
int samplesPerChannel
Definition: AgoraBase.h:1510
agora::rtc::ScreenVideoParameters::ScreenVideoParameters
ScreenVideoParameters()
Definition: AgoraBase.h:6591
agora::rtc::EncodedVideoFrameInfo::height
int height
Definition: AgoraBase.h:1705
agora::rtc::RtcStats::memoryAppUsageInKbytes
int memoryAppUsageInKbytes
Definition: AgoraBase.h:2422
agora::rtc::VOICE_AI_TUNER_FRESH_MALE
@ VOICE_AI_TUNER_FRESH_MALE
Definition: AgoraBase.h:5534
agora::rtc::FaceShapeBeautyOptions::styleIntensity
int styleIntensity
Definition: AgoraBase.h:4926
agora::rtc::AUDIO_FILE_RECORDING_PLAYBACK
@ AUDIO_FILE_RECORDING_PLAYBACK
Definition: AgoraBase.h:5738
agora::rtc::LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION
@ LOCAL_AUDIO_STREAM_REASON_DEVICE_NO_PERMISSION
Definition: AgoraBase.h:2941
agora::rtc::ENCRYPTION_ERROR_INTERNAL_FAILURE
@ ENCRYPTION_ERROR_INTERNAL_FAILURE
Definition: AgoraBase.h:6345
agora::rtc::CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED
@ CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED
Definition: AgoraBase.h:4546
agora::WARN_ADM_RECORD_AUDIO_LOWLEVEL
@ WARN_ADM_RECORD_AUDIO_LOWLEVEL
Definition: AgoraBase.h:405
agora::VideoLayout::uid
rtc::uid_t uid
Definition: AgoraBase.h:6916
agora::rtc::VOICE_CHANGER_EFFECT_BOY
@ VOICE_CHANGER_EFFECT_BOY
Definition: AgoraBase.h:5408
rtc
Definition: video_node_i.h:28
agora::rtc::CODEC_CAPABILITY_LEVEL_1080P60FPS
@ CODEC_CAPABILITY_LEVEL_1080P60FPS
Definition: AgoraBase.h:1165
agora::rtc::AUDIO_SCENARIO_MEETING
@ AUDIO_SCENARIO_MEETING
Definition: AgoraBase.h:2709
agora::rtc::REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_LOW
@ REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_LOW
Definition: AgoraBase.h:3289
agora::rtc::VideoEncoderConfiguration::operator=
VideoEncoderConfiguration & operator=(const VideoEncoderConfiguration &rhs)
Definition: AgoraBase.h:2074
agora::rtc::AUDIO_CODEC_PROFILE_HE_AAC_V2
@ AUDIO_CODEC_PROFILE_HE_AAC_V2
Definition: AgoraBase.h:3578
agora::Optional< VIDEO_STREAM_TYPE >
agora::rtc::LocalAccessPointConfiguration::domainListSize
int domainListSize
Definition: AgoraBase.h:6778
agora::rtc::VIDEO_VIEW_SETUP_REMOVE
@ VIDEO_VIEW_SETUP_REMOVE
Definition: AgoraBase.h:4668
agora::AUDIO_SESSION_OPERATION_RESTRICTION
AUDIO_SESSION_OPERATION_RESTRICTION
Definition: AgoraBase.h:792
agora::rtc::NETWORK_TYPE_DISCONNECTED
@ NETWORK_TYPE_DISCONNECTED
Definition: AgoraBase.h:4626
agora::rtc::CODEC_CAP_MASK_HW_ENC
@ CODEC_CAP_MASK_HW_ENC
Definition: AgoraBase.h:1882
agora::util::IContainer::release
virtual void release()=0
agora::rtc::DISABLED
@ DISABLED
Definition: AgoraBase.h:1097
agora::rtc::QUALITY_UNSUPPORTED
@ QUALITY_UNSUPPORTED
Definition: AgoraBase.h:923
agora::ERR_CERT_CREDENTIAL
@ ERR_CERT_CREDENTIAL
Definition: AgoraBase.h:703
agora::rtc::RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR
@ RTMP_STREAM_PUBLISH_REASON_INTERNAL_SERVER_ERROR
Definition: AgoraBase.h:3695
agora::LICENSE_ERR_DIFF_DEVICES
@ LICENSE_ERR_DIFF_DEVICES
Definition: AgoraBase.h:782
agora::LICENSE_ERR_MINUTES_EXCEED
@ LICENSE_ERR_MINUTES_EXCEED
Definition: AgoraBase.h:774
agora::rtc::RecorderStreamType
RecorderStreamType
Definition: AgoraBase.h:6806
agora::rtc::WATERMARK_FIT_MODE
WATERMARK_FIT_MODE
Definition: AgoraBase.h:1446
agora::rtc::AUDIO_CODEC_PROFILE_LC_AAC
@ AUDIO_CODEC_PROFILE_LC_AAC
Definition: AgoraBase.h:3570
agora::util::IContainer::size
virtual size_t size() const =0
agora::rtc::CHAT_BEAUTIFIER_FRESH
@ CHAT_BEAUTIFIER_FRESH
Definition: AgoraBase.h:5254
agora::rtc::VIDEO_MIRROR_MODE_AUTO
@ VIDEO_MIRROR_MODE_AUTO
Definition: AgoraBase.h:1826
agora::rtc::UplinkNetworkInfo::UplinkNetworkInfo
UplinkNetworkInfo()
Definition: AgoraBase.h:6121
agora::rtc::TranscodingUser::height
int height
Definition: AgoraBase.h:3923
agora::rtc::LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED
@ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_DISPLAY_DISCONNECTED
Definition: AgoraBase.h:3124
agora::rtc::QUALITY_VBAD
@ QUALITY_VBAD
Definition: AgoraBase.h:915
agora::rtc::ScreenCaptureParameters2::captureVideo
bool captureVideo
Definition: AgoraBase.h:6640
agora::rtc::IPacketObserver::onReceiveAudioPacket
virtual bool onReceiveAudioPacket(Packet &packet)=0
agora::rtc::QUALITY_TYPE
QUALITY_TYPE
Definition: AgoraBase.h:889
agora::rtc::PREFER_AUTO
@ PREFER_AUTO
Definition: AgoraBase.h:1770
agora::rtc::USER_OFFLINE_DROPPED
@ USER_OFFLINE_DROPPED
Definition: AgoraBase.h:862
agora::rtc::LocalAudioStats::internalCodec
int internalCodec
Definition: AgoraBase.h:3600
agora::rtc::VIDEO_CODEC_NONE
@ VIDEO_CODEC_NONE
Definition: AgoraBase.h:1179
agora::rtc::AudioRecordingConfiguration::fileRecordingType
AUDIO_FILE_RECORDING_TYPE fileRecordingType
Definition: AgoraBase.h:5793
agora::rtc::SegmentationProperty
Definition: AgoraBase.h:5164
agora::rtc::LASTMILE_PROBE_RESULT_STATE
LASTMILE_PROBE_RESULT_STATE
Definition: AgoraBase.h:4353
agora::ERR_CLIENT_IS_BANNED_BY_SERVER
@ ERR_CLIENT_IS_BANNED_BY_SERVER
Definition: AgoraBase.h:670
agora::WARN_OPEN_CHANNEL_TRY_NEXT_VOS
@ WARN_OPEN_CHANNEL_TRY_NEXT_VOS
Definition: AgoraBase.h:362
agora::rtc::SimulcastConfig::StreamLayerConfig::enable
bool enable
Definition: AgoraBase.h:2211
agora::rtc::REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
@ REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
Definition: AgoraBase.h:3286
agora::rtc::ChannelMediaInfo::uid
uid_t uid
Definition: AgoraBase.h:6056
agora::rtc::AUDIO_TRACK_TYPE
AUDIO_TRACK_TYPE
Definition: AgoraBase.h:5180
agora::CHANNEL_PROFILE_LIVE_BROADCASTING
@ CHANNEL_PROFILE_LIVE_BROADCASTING
Definition: AgoraBase.h:279