Agora C++ API Reference for All Platforms
IAgoraRtcEngine.h
1 //
2 // Agora Rtc Engine SDK
3 //
4 // Copyright (c) 2018 Agora.io. All rights reserved.
5 //
6 #pragma once
7 
8 #include "AgoraBase.h"
9 #include "AgoraMediaBase.h"
10 #include "IAgoraLog.h"
11 #include "AgoraOptional.h"
12 #include "IAudioDeviceManager.h"
13 #include "IAgoraRhythmPlayer.h"
14 #include "IAgoraMediaEngine.h"
15 
16 namespace agora {
17 namespace rtc {
18 
19 template <typename T>
20 static void SetFrom(Optional<T>* s, const Optional<T>& o) {
21  if (o) {
22  *s = o;
23  }
24 }
25 
26 template <typename T>
27 static void ReplaceBy(Optional<T>* s, const Optional<T>& o) {
28  *s = o;
29 }
30 
31 //class IAudioDeviceManager;
32 
61 };
62 
76 };
77 
96 };
97 
146 };
147 
192 };
193 
218 };
219 
234 };
235 
243 };
244 
248 {
317  unsigned short txPacketLossRate;
330 };
331 
347  int delay __deprecated;
351  int width;
355  int height;
411  int mosValue;
412 };
413 
415  struct Region {
421  double x; // [0,1]
424  double y; // [0,1]
428  double width; // [0,1]
430  double height; // [0,1]
434  int zOrder; // optional, [0, 100] //0 (default): bottom most, 100: top most
435 
439  double alpha;
440 
442  renderMode; // RENDER_MODE_HIDDEN: Crop, RENDER_MODE_FIT: Zoom to fit
443 
445  : uid(0),
446  x(0),
447  y(0),
448  width(0),
449  height(0),
450  zOrder(0),
451  alpha(1.0),
452  renderMode(media::base::RENDER_MODE_HIDDEN) {}
453  };
454 
467  const char* backgroundColor; // e.g. "#C0C0C0" in RGB
471  const Region* regions;
477  const char* appData;
481 
483  : canvasWidth(0),
484  canvasHeight(0),
485  backgroundColor(NULL),
486  regions(NULL),
487  regionCount(0),
488  appData(NULL),
489  appDataLength(0) {}
490 };
491 
498  int width;
502  int height;
506  int videoGop;
526 
527  // width / height default set to 0 means pull the stream with its original
528  // resolution
530  : width(0),
531  height(0),
532  videoGop(30),
533  videoFramerate(15),
534  videoBitrate(400),
536  audioBitrate(48),
537  audioChannels(1) {}
538 };
539 
549 };
550 
557  int width;
561  int height;
569  int bitrate;
583  bool owner;
592  const char* injectStreamUrl;
596  const char* publishUrl;
600  const char* rawStreamUrl;
603  const char* extraInfo;
604 
606  : width(640),
607  height(360),
608  framerate(15),
609  bitrate(500),
610  defaultLayout(1),
612  owner(true),
615  injectStreamUrl(NULL),
616  publishUrl(NULL),
617  rawStreamUrl(NULL),
618  extraInfo(NULL) {}
619 };
620 
624 };
633 };
634 
647 
649  TCP_PROXY = 2,
651 };
652 
654 struct CameraCapturerConfiguration {
656 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
657 
661 #else
662 
663  char deviceId[MAX_DEVICE_ID_LENGTH];
664 #endif
665 
669 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
671 #else
672  memset(deviceId, 0, sizeof(deviceId));
673 #endif
674  }
675 };
679 struct ScreenCaptureConfiguration {
685  bool isCaptureWindow; // true - capture window, false - capture display
689  uint32_t displayId;
694  Rectangle screenRect; //Windows only
703  ScreenCaptureParameters params;
711  Rectangle regionRect;
712 
714 };
715 
716 #if (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
717 
719 struct SIZE {
722  int width;
725  int height;
726 
727  SIZE() : width(0), height(0) {}
728  SIZE(int ww, int hh) : width(ww), height(hh) {}
729 };
730 #endif
731 
732 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
733 
738 struct ThumbImageBuffer {
742  const char* buffer;
746  unsigned int length;
750  unsigned int width;
754  unsigned int height;
755  ThumbImageBuffer() : buffer(nullptr), length(0), width(0), height(0) {}
756 };
769 };
771 struct ScreenCaptureSourceInfo {
783  const char* sourceName;
787  ThumbImageBuffer thumbImage;
791  ThumbImageBuffer iconImage;
795  const char* processPath;
799  const char* sourceTitle;
806  bool isOccluded;
807 #if defined(_WIN32)
808 
813  processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false), minimizeWindow(false) {}
814 #else
816 #endif
817 };
821 class IScreenCaptureSourceList {
822  protected:
823  virtual ~IScreenCaptureSourceList(){};
824 
825  public:
831  virtual unsigned int getCount() = 0;
841  virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0;
848  virtual void release() = 0;
849 };
850 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
851 
854 struct AdvancedAudioOptions {
859 
862 };
863 
865  const char* imageUrl;
866  int fps;
869 };
870 
879 struct ChannelMediaOptions {
898 
899  #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
900 
912  #else
913 
925  #endif
926 
1085  void SetAll(const ChannelMediaOptions& change) {
1086 #define SET_FROM(X) SetFrom(&X, change.X)
1087 
1088  SET_FROM(publishCameraTrack);
1089  SET_FROM(publishSecondaryCameraTrack);
1090  SET_FROM(publishMicrophoneTrack);
1091 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1092  SET_FROM(publishScreenCaptureVideo);
1093  SET_FROM(publishScreenCaptureAudio);
1094 #else
1095  SET_FROM(publishScreenTrack);
1096  SET_FROM(publishSecondaryScreenTrack);
1097 #endif
1098  SET_FROM(publishTrancodedVideoTrack);
1099  SET_FROM(publishCustomAudioTrack);
1101  SET_FROM(publishCustomAudioSourceId);
1103  SET_FROM(publishCustomAudioTrackAec);
1104  SET_FROM(publishCustomVideoTrack);
1105  SET_FROM(publishEncodedVideoTrack);
1106  SET_FROM(publishMediaPlayerAudioTrack);
1107  SET_FROM(publishMediaPlayerVideoTrack);
1108  SET_FROM(autoSubscribeAudio);
1109  SET_FROM(autoSubscribeVideo);
1110  SET_FROM(publishMediaPlayerId);
1112  SET_FROM(clientRoleType);
1113  SET_FROM(audienceLatencyLevel);
1114  SET_FROM(defaultVideoStreamType);
1115  SET_FROM(channelProfile);
1116  SET_FROM(audioDelayMs);
1117  SET_FROM(mediaPlayerAudioDelayMs);
1118  SET_FROM(token);
1119  SET_FROM(enableBuiltInMediaEncryption);
1120  SET_FROM(publishRhythmPlayerTrack);
1121  SET_FROM(customVideoTrackId);
1122  SET_FROM(isAudioFilterable);
1123  SET_FROM(isInteractiveAudience);
1124 #undef SET_FROM
1125  }
1127  bool operator==(const ChannelMediaOptions& o) const {
1128 #define BEGIN_COMPARE() bool b = true
1129 #define ADD_COMPARE(X) b = (b && (X == o.X))
1130 #define END_COMPARE()
1131 
1132  BEGIN_COMPARE();
1133  ADD_COMPARE(publishCameraTrack);
1134  ADD_COMPARE(publishSecondaryCameraTrack);
1135  ADD_COMPARE(publishMicrophoneTrack);
1136 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1137  ADD_COMPARE(publishScreenCaptureVideo);
1138  ADD_COMPARE(publishScreenCaptureAudio);
1139 #else
1140  ADD_COMPARE(publishScreenTrack);
1141  ADD_COMPARE(publishSecondaryScreenTrack);
1142 #endif
1143  ADD_COMPARE(publishTrancodedVideoTrack);
1144  ADD_COMPARE(publishCustomAudioTrack);
1145  ADD_COMPARE(publishDirectCustomAudioTrack);
1146  ADD_COMPARE(publishCustomAudioSourceId);
1147  ADD_COMPARE(publishCustomAudioTrackEnableAec);
1148  ADD_COMPARE(publishCustomAudioTrackAec);
1149  ADD_COMPARE(publishCustomVideoTrack);
1150  ADD_COMPARE(publishEncodedVideoTrack);
1151  ADD_COMPARE(publishMediaPlayerAudioTrack);
1152  ADD_COMPARE(publishMediaPlayerVideoTrack);
1153  ADD_COMPARE(autoSubscribeAudio);
1154  ADD_COMPARE(autoSubscribeVideo);
1155  ADD_COMPARE(publishMediaPlayerId);
1156  ADD_COMPARE(enableAudioRecordingOrPlayout);
1157  ADD_COMPARE(clientRoleType);
1158  ADD_COMPARE(audienceLatencyLevel);
1159  ADD_COMPARE(defaultVideoStreamType);
1160  ADD_COMPARE(channelProfile);
1161  ADD_COMPARE(audioDelayMs);
1162  ADD_COMPARE(mediaPlayerAudioDelayMs);
1163  ADD_COMPARE(token);
1164  ADD_COMPARE(enableBuiltInMediaEncryption);
1165  ADD_COMPARE(publishRhythmPlayerTrack);
1166  ADD_COMPARE(customVideoTrackId);
1167  ADD_COMPARE(isAudioFilterable);
1168  ADD_COMPARE(isInteractiveAudience);
1169  END_COMPARE();
1170 
1171 #undef BEGIN_COMPARE
1172 #undef ADD_COMPARE
1173 #undef END_COMPARE
1174  return b;
1175  }
1178  if (this != &replace) {
1179 #define REPLACE_BY(X) ReplaceBy(&X, replace.X)
1180 
1181  REPLACE_BY(publishCameraTrack);
1182  REPLACE_BY(publishSecondaryCameraTrack);
1183  REPLACE_BY(publishMicrophoneTrack);
1184 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1185  REPLACE_BY(publishScreenCaptureVideo);
1186  REPLACE_BY(publishScreenCaptureAudio);
1187 #else
1188  REPLACE_BY(publishScreenTrack);
1189  REPLACE_BY(publishSecondaryScreenTrack);
1190 #endif
1191  REPLACE_BY(publishTrancodedVideoTrack);
1192  REPLACE_BY(publishCustomAudioTrack);
1193  REPLACE_BY(publishDirectCustomAudioTrack);
1194  REPLACE_BY(publishCustomAudioSourceId);
1196  REPLACE_BY(publishCustomAudioTrackAec);
1197  REPLACE_BY(publishCustomVideoTrack);
1198  REPLACE_BY(publishEncodedVideoTrack);
1199  REPLACE_BY(publishMediaPlayerAudioTrack);
1200  REPLACE_BY(publishMediaPlayerVideoTrack);
1201  REPLACE_BY(autoSubscribeAudio);
1202  REPLACE_BY(autoSubscribeVideo);
1203  REPLACE_BY(publishMediaPlayerId);
1204  REPLACE_BY(enableAudioRecordingOrPlayout);
1205  REPLACE_BY(clientRoleType);
1206  REPLACE_BY(audienceLatencyLevel);
1207  REPLACE_BY(defaultVideoStreamType);
1208  REPLACE_BY(channelProfile);
1209  REPLACE_BY(audioDelayMs);
1210  REPLACE_BY(mediaPlayerAudioDelayMs);
1211  REPLACE_BY(token);
1212  REPLACE_BY(enableBuiltInMediaEncryption);
1213  REPLACE_BY(publishRhythmPlayerTrack);
1214  REPLACE_BY(customVideoTrackId);
1215  REPLACE_BY(isAudioFilterable);
1216  REPLACE_BY(isInteractiveAudience);
1217 #undef REPLACE_BY
1218  }
1219  return *this;
1220  }
1221 };
1222 
1224 enum LOCAL_PROXY_MODE {
1227  ConnectivityFirst = 0,
1230  LocalOnly = 1,
1231 };
1233 enum PROXY_TYPE {
1236  NONE_PROXY_TYPE = 0,
1239  UDP_PROXY_TYPE = 1,
1242  TCP_PROXY_TYPE = 2,
1245  LOCAL_PROXY_TYPE = 3,
1249 };
1251 struct LogUploadServerInfo {
1254  const char* serverDomain;
1257  const char* serverPath;
1260  int serverPort;
1265  bool serverHttps;
1267  LogUploadServerInfo() : serverDomain(NULL), serverPath(NULL), serverPort(0), serverHttps(true) {}
1269  LogUploadServerInfo(const char* domain, const char* path, int port, bool https) : serverDomain(domain), serverPath(path), serverPort(port), serverHttps(https) {}
1270 };
1272 struct AdvancedConfigInfo {
1276 };
1281  const char** ipList;
1284  int ipListSize;
1287  const char** domainList;
1290  int domainListSize;
1294  const char* verifyDomainName;
1302 };
1303 
1307 struct LeaveChannelOptions {
1313  bool stopAudioMixing;
1319  bool stopAllEffect;
1328 };
1329 
1340 class IRtcEngineEventHandler {
1341  public:
1342  virtual ~IRtcEngineEventHandler() {}
1344  virtual const char* eventHandlerType() const { return "event_handler"; }
1345 
1355  virtual void onJoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
1356  (void)channel;
1357  (void)uid;
1358  (void)elapsed;
1359  }
1360 
1371  virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
1372  (void)channel;
1373  (void)uid;
1374  (void)elapsed;
1375  }
1376 
1384  virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) {
1385  (void)channel;
1386  (void)uid;
1387  (void)proxyType;
1388  (void)localProxyIp;
1389  (void)elapsed;
1390  }
1391 
1397  virtual void onError(int err, const char* msg) {
1398  (void)err;
1399  (void)msg;
1400  }
1401 
1417  virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay,
1418  unsigned short lost) {
1419  (void)uid;
1420  (void)quality;
1421  (void)delay;
1422  (void)lost;
1423  }
1424 
1430  virtual void onLastmileProbeResult(const LastmileProbeResult& result) {
1431  (void)result;
1432  }
1433 
1460  virtual void onAudioVolumeIndication(const AudioVolumeInfo* speakers, unsigned int speakerNumber,
1461  int totalVolume) {
1462  (void)speakers;
1463  (void)speakerNumber;
1464  (void)totalVolume;
1465  }
1466 
1475  virtual void onLeaveChannel(const RtcStats& stats) { (void)stats; }
1476 
1484  virtual void onRtcStats(const RtcStats& stats) { (void)stats; }
1485 
1499  virtual void onAudioDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
1500  (void)deviceId;
1501  (void)deviceType;
1502  (void)deviceState;
1503  }
1504 
1511  virtual void onAudioMixingPositionChanged(int64_t position) {}
1512 
1519  virtual void onAudioMixingFinished() __deprecated {}
1527  virtual void onAudioEffectFinished(int soundId) {}
1528 
1538  virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
1539  (void)deviceId;
1540  (void)deviceType;
1541  (void)deviceState;
1542  }
1543 
1566  virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality) {
1567  (void)uid;
1568  (void)txQuality;
1569  (void)rxQuality;
1570  }
1571 
1578  virtual void onIntraRequestReceived() {}
1579 
1590  virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) {
1591  (void)info;
1592  }
1593 
1601  virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) {
1602  (void)info;
1603  }
1604 
1617  virtual void onLastmileQuality(int quality) { (void)quality; }
1618 
1629  virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed) {
1630  (void)source;
1631  (void)width;
1632  (void)height;
1633  (void)elapsed;
1634  }
1635 
1646  virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed) {
1647  (void)source;
1648  (void)elapsed;
1649  }
1650 
1667  virtual void onFirstRemoteVideoDecoded(uid_t uid, int width, int height, int elapsed) __deprecated {
1668  (void)uid;
1669  (void)width;
1670  (void)height;
1671  (void)elapsed;
1672  }
1673 
1682  virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) {
1683  (void)uid;
1684  (void)width;
1685  (void)height;
1686  (void)rotation;
1687  }
1688 
1716  (void)source;
1717  (void)state;
1718  (void)error;
1719  }
1720 
1732  virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) {
1733  (void)uid;
1734  (void)state;
1735  (void)reason;
1736  (void)elapsed;
1737  }
1738 
1746  virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) {
1747  (void)userId;
1748  (void)width;
1749  (void)height;
1750  (void)elapsed;
1751  }
1752 
1772  virtual void onUserJoined(uid_t uid, int elapsed) {
1773  (void)uid;
1774  (void)elapsed;
1775  }
1776 
1791  virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason) {
1792  (void)uid;
1793  (void)reason;
1794  }
1795 
1808  virtual void onUserMuteAudio(uid_t uid, bool muted) {
1809  (void)uid;
1810  (void)muted;
1811  }
1812 
1827  virtual void onUserMuteVideo(uid_t userId, bool muted) {
1828  (void)userId;
1829  (void)muted;
1830  }
1831 
1844  virtual void onUserEnableVideo(uid_t uid, bool enabled) __deprecated {
1845  (void)uid;
1846  (void)enabled;
1847  }
1848 
1854  virtual void onUserStateChanged(uid_t uid, uint32_t state) {
1855  (void)uid;
1856  (void)state;
1857  }
1858 
1869  virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) __deprecated {
1870  (void)uid;
1871  (void)enabled;
1872  }
1873 
1883  virtual void onApiCallExecuted(int err, const char* api, const char* result) __deprecated {
1884  (void)err;
1885  (void)api;
1886  (void)result;
1887  }
1888 
1896  virtual void onLocalAudioStats(const LocalAudioStats& stats) {
1897  (void)stats;
1898  }
1899 
1907  virtual void onRemoteAudioStats(const RemoteAudioStats& stats) {
1908  (void)stats;
1909  }
1910 
1924  virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats& stats) {
1925  (void)source;
1926  (void)stats;
1927  }
1928 
1937  virtual void onRemoteVideoStats(const RemoteVideoStats& stats) {
1938  (void)stats;
1939  }
1945  virtual void onCameraReady() {}
1956  virtual void onCameraFocusAreaChanged(int x, int y, int width, int height) {
1957  (void)x;
1958  (void)y;
1959  (void)width;
1960  (void)height;
1961  }
1970  virtual void onCameraExposureAreaChanged(int x, int y, int width, int height) {
1971  (void)x;
1972  (void)y;
1973  (void)width;
1974  (void)height;
1975  }
1976 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
1977 
2007  virtual void onFacePositionChanged(int imageWidth, int imageHeight,
2008  const Rectangle* vecRectangle, const int* vecDistance,
2009  int numFaces) {
2010  (void) imageWidth;
2011  (void) imageHeight;
2012  (void) vecRectangle;
2013  (void) vecDistance;
2014  (void) numFaces;
2015  }
2016 #endif
2017 
2024  virtual void onVideoStopped() {}
2025 
2034  (void)state;
2035  (void)reason;
2036  }
2037 
2046  virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode) {
2047  (void)state;
2048  (void)errorCode;
2049  }
2050 
2059  virtual void onConnectionLost() {}
2060 
2072  virtual void onConnectionInterrupted() {}
2073 
2077  virtual void onConnectionBanned() {}
2078 
2090  virtual void onStreamMessage(uid_t userId, int streamId, const char* data, size_t length, uint64_t sentTs) {
2091  (void)userId;
2092  (void)streamId;
2093  (void)data;
2094  (void)length;
2095  (void)sentTs;
2096  }
2097 
2110  virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached) {
2111  (void)userId;
2112  (void)streamId;
2113  (void)code;
2114  (void)missed;
2115  (void)cached;
2116  }
2117 
2127  virtual void onRequestToken() {}
2128 
2140  virtual void onTokenPrivilegeWillExpire(const char* token) {
2141  (void)token;
2142  }
2143 
2149  virtual void onLicenseValidationFailure(LICENSE_ERROR_TYPE error) {
2150  (void)error;
2151  }
2152 
2163  virtual void onFirstLocalAudioFramePublished(int elapsed) {
2164  (void)elapsed;
2165  }
2166 
2174  virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) {
2175  (void)uid;
2176  (void)elapsed;
2177  }
2178 
2195  virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) {
2196  (void)uid;
2197  (void)elapsed;
2198  }
2199 
2215  (void)state;
2216  (void)error;
2217  }
2218 
2235  virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed) {
2236  (void)uid;
2237  (void)state;
2238  (void)reason;
2239  (void)elapsed;
2240  }
2241 
2255  virtual void onActiveSpeaker(uid_t userId) { (void)userId; }
2260  virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; }
2278  virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) {
2279  (void)uid;
2280  (void)filePath;
2281  (void)width;
2282  (void)height;
2283  (void)errCode;
2284  }
2292  virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole, const ClientRoleOptions& newRoleOptions) {
2293  (void)oldRole;
2294  (void)newRole;
2295  (void)newRoleOptions;
2296  }
2305  (void)reason;
2306  (void)currentRole;
2307  }
2315  virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) {
2316  (void)deviceType;
2317  (void)volume;
2318  (void)muted;
2319  }
2320 
2332  virtual void onRtmpStreamingStateChanged(const char* url, RTMP_STREAM_PUBLISH_STATE state,
2334  (void)url;
2335  (void)state;
2336  (void)errCode;
2337  }
2338 
2344  virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) {
2345  (void)url;
2346  (void)eventCode;
2347  }
2348 
2359  virtual void onTranscodingUpdated() {}
2360 
2374  virtual void onAudioRoutingChanged(int routing) { (void)routing; }
2375 
2376 
2408  virtual void onChannelMediaRelayStateChanged(int state, int code) {
2409  (void)state;
2410  (void)code;
2411  }
2412 
2436  virtual void onChannelMediaRelayEvent(int code) {
2437  (void)code;
2438  }
2452  virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) {
2453  (void)isFallbackOrRecover;
2454  }
2472  virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) {
2473  (void)uid;
2474  (void)isFallbackOrRecover;
2475  }
2476 
2491  virtual void onRemoteAudioTransportStats(uid_t uid, unsigned short delay, unsigned short lost,
2492  unsigned short rxKBitRate) {
2493  (void)uid;
2494  (void)delay;
2495  (void)lost;
2496  (void)rxKBitRate;
2497  }
2498 
2516  virtual void onRemoteVideoTransportStats(uid_t uid, unsigned short delay, unsigned short lost,
2517  unsigned short rxKBitRate) {
2518  (void)uid;
2519  (void)delay;
2520  (void)lost;
2521  (void)rxKBitRate;
2522  }
2523 
2532  virtual void onConnectionStateChanged(
2534  (void)state;
2535  (void)reason;
2536  }
2537 
2544  virtual void onWlAccMessage(WLACC_MESSAGE_REASON reason, WLACC_SUGGEST_ACTION action, const char* wlAccMsg) {
2545  (void)reason;
2546  (void)action;
2547  (void)wlAccMsg;
2548  }
2549 
2555  virtual void onWlAccStats(WlAccStats currentStats, WlAccStats averageStats) {
2556  (void)currentStats;
2557  (void)averageStats;
2558  }
2559 
2569  virtual void onNetworkTypeChanged(NETWORK_TYPE type) {
2570  (void)type;
2571  }
2572 
2580  virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) {
2581  (void)errorType;
2582  }
2583 
2593  virtual void onPermissionError(PERMISSION_TYPE permissionType) {
2594  (void)permissionType;
2595  }
2596 
2606  virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) {
2607  (void)uid;
2608  (void)userAccount;
2609  }
2610 
2619  virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) {
2620  (void)uid;
2621  (void)info;
2622  }
2629  virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) {
2630  (void)requestId;
2631  (void)success;
2632  (void)reason;
2633  }
2634 
2644  virtual void onAudioSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) {
2645  (void)channel;
2646  (void)uid;
2647  (void)oldState;
2648  (void)newState;
2649  (void)elapseSinceLastState;
2650  }
2651 
2661  virtual void onVideoSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) {
2662  (void)channel;
2663  (void)uid;
2664  (void)oldState;
2665  (void)newState;
2666  (void)elapseSinceLastState;
2667  }
2668 
2677  virtual void onAudioPublishStateChanged(const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
2678  (void)channel;
2679  (void)oldState;
2680  (void)newState;
2681  (void)elapseSinceLastState;
2682  }
2683 
2693  virtual void onVideoPublishStateChanged(VIDEO_SOURCE_TYPE source, const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
2694  (void)source;
2695  (void)channel;
2696  (void)oldState;
2697  (void)newState;
2698  (void)elapseSinceLastState;
2699  }
2710  virtual void onExtensionEvent(const char* provider, const char* extension, const char* key, const char* value) {
2711  (void)provider;
2712  (void)extension;
2713  (void)key;
2714  (void)value;
2715  }
2724  virtual void onExtensionStarted(const char* provider, const char* extension) {
2725  (void)provider;
2726  (void)extension;
2727  }
2736  virtual void onExtensionStopped(const char* provider, const char* extension) {
2737  (void)provider;
2738  (void)extension;
2739  }
2751  virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) {
2752  (void)provider;
2753  (void)extension;
2754  (void)error;
2755  (void)message;
2756  }
2763  virtual void onUserAccountUpdated(uid_t uid, const char* userAccount){
2764  (void)uid;
2765  (void)userAccount;
2766  }
2767 };
2768 
2772 class IVideoDeviceCollection {
2773  public:
2774  virtual ~IVideoDeviceCollection() {}
2775 
2781  virtual int getCount() = 0;
2782 
2792  virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2793 
2804  virtual int getDevice(int index, char deviceNameUTF8[MAX_DEVICE_ID_LENGTH],
2805  char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2806 
2810  virtual void release() = 0;
2811 };
2812 
2816 class IVideoDeviceManager {
2817  public:
2818  virtual ~IVideoDeviceManager() {}
2831 
2842  virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2843 
2852  virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2853 
2854 #if defined(_WIN32) || (defined(__linux__) && !defined(__ANDROID__)) || \
2855  (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
2856 
2873  virtual int numberOfCapabilities(const char* deviceIdUTF8) = 0;
2874 
2892  virtual int getCapability(const char* deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat& capability) = 0;
2893 #endif
2894 
2907  virtual int startDeviceTest(view_t hwnd) = 0;
2908 
2915  virtual int stopDeviceTest() = 0;
2916 
2920  virtual void release() = 0;
2921 };
2922 
2923 
2924 class IRtcEngineEventHandlerEx;
2928 struct RtcEngineContext {
2932  IRtcEngineEventHandler* eventHandler;
2939  const char* appId;
2945  void* context;
2950 
2954  const char* license;
2955 
2972  unsigned int areaCode;
2973 
2990 
2995 
3003  bool useExternalEglContext;
3004 
3010  bool domainLimit;
3013  : eventHandler(NULL), appId(NULL), context(NULL),
3015  license(NULL),
3018  logConfig(), useExternalEglContext(false), domainLimit(false) {}
3019 };
3020 
3023 class IMetadataObserver {
3024 public:
3029  enum METADATA_TYPE
3030  {
3033  UNKNOWN_METADATA = -1,
3036  VIDEO_METADATA = 0,
3037  };
3042  {
3046  };
3047 
3050  struct Metadata
3051  {
3056  unsigned int uid;
3059  unsigned int size;
3062  unsigned char *buffer;
3066  long long timeStampMs;
3067  };
3069  virtual ~IMetadataObserver() {}
3070 
3081  virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; }
3082 
3093  virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0;
3094 
3102  virtual void onMetadataReceived(const Metadata &metadata) = 0;
3103 };
3104 
3105 // The error codes for media streaming
3106 // GENERATED_JAVA_ENUM_PACKAGE: io.agora.streaming
3108  // No error occurs.
3110  // A general error occurs (no specified reason).
3112  // Audio publication error.
3114  // Video publication error.
3118  // Already exist stream name.
3120 };
3121 
3122 // The connection state of media streaming
3123 // GENERATED_JAVA_ENUM_PACKAGE: io.agora.streaming
3135 };
3136 
3140 struct DirectCdnStreamingStats {
3144  int videoWidth;
3145 
3149  int videoHeight;
3150 
3154  int fps;
3155 
3159  int videoBitrate;
3160 
3164  int audioBitrate;
3165 };
3166 
3171 class IDirectCdnStreamingEventHandler {
3172  public:
3174 
3181  virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char* message) {
3182  (void)state;
3183  (void)error;
3184  (void)message;
3185  };
3187  virtual void onDirectCdnStreamingStats(const DirectCdnStreamingStats& stats) {
3188  (void)stats;
3189  };
3190 };
3191 
3195 struct DirectCdnStreamingMediaOptions {
3240  void SetAll(const DirectCdnStreamingMediaOptions& change) {
3241 #define SET_FROM(X) SetFrom(&X, change.X)
3242  SET_FROM(publishCameraTrack);
3243  SET_FROM(publishMicrophoneTrack);
3244  SET_FROM(publishCustomAudioTrack);
3245  SET_FROM(publishCustomVideoTrack);
3246  SET_FROM(publishMediaPlayerAudioTrack);
3247  SET_FROM(publishMediaPlayerId);
3248  SET_FROM(customVideoTrackId);
3249 #undef SET_FROM
3250  }
3252  bool operator==(const DirectCdnStreamingMediaOptions& o) const {
3253 #define BEGIN_COMPARE() bool b = true
3254 #define ADD_COMPARE(X) b = (b && (X == o.X))
3255 #define END_COMPARE()
3256 
3257  BEGIN_COMPARE();
3258  ADD_COMPARE(publishCameraTrack);
3259  ADD_COMPARE(publishMicrophoneTrack);
3260  ADD_COMPARE(publishCustomAudioTrack);
3261  ADD_COMPARE(publishCustomVideoTrack);
3262  ADD_COMPARE(publishMediaPlayerAudioTrack);
3263  ADD_COMPARE(customVideoTrackId);
3264  ADD_COMPARE(publishMediaPlayerId);
3265  END_COMPARE();
3266 
3267 #undef BEGIN_COMPARE
3268 #undef ADD_COMPARE
3269 #undef END_COMPARE
3270  return b;
3271  }
3274  if (this != &replace) {
3275 #define REPLACE_BY(X) ReplaceBy(&X, replace.X)
3276 
3277  REPLACE_BY(publishCameraTrack);
3278  REPLACE_BY(publishMicrophoneTrack);
3279  REPLACE_BY(publishCustomAudioTrack);
3280  REPLACE_BY(publishCustomVideoTrack);
3281  REPLACE_BY(publishMediaPlayerAudioTrack);
3282  REPLACE_BY(customVideoTrackId);
3283  REPLACE_BY(publishMediaPlayerId);
3284 #undef REPLACE_BY
3285  }
3286  return *this;
3287  }
3288 };
3289 
3293 struct ExtensionInfo {
3298 
3304  uid_t remoteUid;
3305 
3317  const char* channelId;
3318 
3322  uid_t localUid;
3324  ExtensionInfo()
3325  : mediaSourceType(agora::media::UNKNOWN_MEDIA_SOURCE),
3326  remoteUid(0),
3327  channelId(NULL),
3328  localUid(0) {}
3329 };
3330 
3331 class IMediaPlayer;
3332 
3340 class IRtcEngine : public agora::base::IEngineBase {
3341  public:
3366  virtual void release(bool sync = false) = 0;
3367 
3384  virtual int initialize(const RtcEngineContext& context) = 0;
3385 
3395  virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0;
3396 
3397 
3403  virtual const char* getVersion(int* build) = 0;
3404 
3410  virtual const char* getErrorDescription(int code) = 0;
3411 
3471  virtual int joinChannel(const char* token, const char* channelId, const char* info,
3472  uid_t uid) = 0;
3473 
3541  virtual int joinChannel(const char* token, const char* channelId, uid_t uid,
3542  const ChannelMediaOptions& options) = 0;
3543 
3552  virtual int updateChannelMediaOptions(const ChannelMediaOptions& options) = 0;
3553 
3571  virtual int leaveChannel() = 0;
3572 
3592  virtual int leaveChannel(const LeaveChannelOptions& options) = 0;
3593 
3610  virtual int renewToken(const char* token) = 0;
3611 
3630  virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0;
3631 
3655  virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0;
3656 
3678  virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0;
3679 
3699  virtual int startEchoTest() = 0;
3700 
3717  virtual int startEchoTest(int intervalInSeconds) = 0;
3718 
3727  virtual int startEchoTest(const EchoTestConfiguration& config) = 0;
3728 
3735  virtual int stopEchoTest() = 0;
3736 
3737 #if defined(__APPLE__) && TARGET_OS_IOS
3738 
3747  virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration& config) = 0;
3748 #endif
3749 
3764  virtual int enableVideo() = 0;
3765 
3775  virtual int disableVideo() = 0;
3776 
3788  virtual int startPreview() = 0;
3789 
3797  virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0;
3798 
3806  virtual int stopPreview() = 0;
3807 
3815  virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0;
3816 
3850  virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0;
3851 
3853  virtual int stopLastmileProbeTest() = 0;
3854 
3871  virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration& config) = 0;
3872 
3882  virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
3909  virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
3936  virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
3963  virtual int setColorEnhanceOptions(bool enabled, const ColorEnhanceOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
3964 
3997  virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
3998 
4055  virtual int enableRemoteSuperResolution(uid_t userId, bool enable) = 0;
4056 
4079  virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0;
4080 
4097  virtual int setupLocalVideo(const VideoCanvas& canvas) = 0;
4098 
4112  virtual int enableAudio() = 0;
4113 
4125  virtual int disableAudio() = 0;
4126 
4148  virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) __deprecated = 0;
4149 
4165  virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0;
4174  virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0;
4197  virtual int enableLocalAudio(bool enabled) = 0;
4198 
4224  virtual int muteLocalAudioStream(bool mute) = 0;
4225 
4267  virtual int muteAllRemoteAudioStreams(bool mute) = 0;
4268 
4290  virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) __deprecated = 0;
4291 
4308  virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0;
4309 
4321  virtual int muteLocalVideoStream(bool mute) = 0;
4322 
4347  virtual int enableLocalVideo(bool enabled) = 0;
4348 
4388  virtual int muteAllRemoteVideoStreams(bool mute) = 0;
4389 
4411  virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) __deprecated = 0;
4412 
4429  virtual int muteRemoteVideoStream(uid_t uid, bool mute) = 0;
4430 
4448  virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0;
4449 
4460  virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options) = 0;
4461 
4471  virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType) = 0;
4472 
4487  virtual int setSubscribeAudioBlocklist(uid_t* uidList, int uidNumber) = 0;
4488 
4505  virtual int setSubscribeAudioAllowlist(uid_t* uidList, int uidNumber) = 0;
4506 
4521  virtual int setSubscribeVideoBlocklist(uid_t* uidList, int uidNumber) = 0;
4522 
4539  virtual int setSubscribeVideoAllowlist(uid_t* uidList, int uidNumber) = 0;
4540 
4567  virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad) = 0;
4568 
4589  virtual int startAudioRecording(const char* filePath,
4590  AUDIO_RECORDING_QUALITY_TYPE quality) = 0;
4612  virtual int startAudioRecording(const char* filePath,
4613  int sampleRate,
4614  AUDIO_RECORDING_QUALITY_TYPE quality) = 0;
4615 
4634  virtual int startAudioRecording(const AudioRecordingConfiguration& config) = 0;
4635 
4641  virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig& config, IAudioEncodedFrameObserver *observer) = 0;
4642 
4651  virtual int stopAudioRecording() = 0;
4652 
4664 
4676  virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0;
4677 
4719  virtual int startAudioMixing(const char* filePath, bool loopback, int cycle) = 0;
4720 
4764  virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0;
4765 
4774  virtual int stopAudioMixing() = 0;
4775 
4784  virtual int pauseAudioMixing() = 0;
4785 
4794  virtual int resumeAudioMixing() = 0;
4795 
4804  virtual int selectAudioTrack(int index) = 0;
4813  virtual int getAudioTrackCount() = 0;
4814 
4829  virtual int adjustAudioMixingVolume(int volume) = 0;
4830 
4838  virtual int adjustAudioMixingPublishVolume(int volume) = 0;
4839 
4847  virtual int getAudioMixingPublishVolume() = 0;
4848 
4856  virtual int adjustAudioMixingPlayoutVolume(int volume) = 0;
4857 
4865  virtual int getAudioMixingPlayoutVolume() = 0;
4866 
4875  virtual int getAudioMixingDuration() = 0;
4876 
4886  virtual int getAudioMixingCurrentPosition() = 0;
4887 
4897  virtual int setAudioMixingPosition(int pos /*in ms*/) = 0;
4898 
4910 
4927  virtual int setAudioMixingPitch(int pitch) = 0;
4935  virtual int getEffectsVolume() = 0;
4945  virtual int setEffectsVolume(int volume) = 0;
4969  virtual int preloadEffect(int soundId, const char* filePath, int startPos = 0) = 0;
5011  virtual int playEffect(int soundId, const char* filePath, int loopCount, double pitch, double pan, int gain, bool publish = false, int startPos = 0) = 0;
5042  virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0;
5043 
5053  virtual int getVolumeOfEffect(int soundId) = 0;
5054 
5065  virtual int setVolumeOfEffect(int soundId, int volume) = 0;
5074  virtual int pauseEffect(int soundId) = 0;
5081  virtual int pauseAllEffects() = 0;
5090  virtual int resumeEffect(int soundId) = 0;
5097  virtual int resumeAllEffects() = 0;
5106  virtual int stopEffect(int soundId) = 0;
5113  virtual int stopAllEffects() = 0;
5122  virtual int unloadEffect(int soundId) = 0;
5129  virtual int unloadAllEffects() = 0;
5148  virtual int getEffectDuration(const char* filePath) = 0;
5165  virtual int setEffectPosition(int soundId, int pos) = 0;
5180  virtual int getEffectCurrentPosition(int soundId) = 0;
5193  virtual int enableSoundPositionIndication(bool enabled) = 0;
5214  virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0;
5215 
5225  virtual int enableSpatialAudio(bool enabled) = 0;
5226 
5236  virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0;
5237 
5275  virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0;
5276 
5314  virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0;
5315 
5351  virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0;
5352 
5428  virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0;
5429 
5473  int param1, int param2) = 0;
5474 
5488  int param1, int param2) = 0;
5489 
5500  virtual int setLocalVoicePitch(double pitch) = 0;
5501 
5514  int bandGain) = 0;
5515 
5524  virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0;
5536  virtual int setHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset) = 0;
5546  virtual int setHeadphoneEQParameters(int lowGain, int highGain) = 0;
5547 
5563  virtual int setLogFile(const char* filePath) = 0;
5564 
5587  virtual int setLogFilter(unsigned int filter) = 0;
5588 
5605  virtual int setLogLevel(commons::LOG_LEVEL level) = 0;
5606 
5621  virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0;
5622 
5631  virtual int uploadLogFile(agora::util::AString& requestId) = 0;
5632 
5651  virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5672  virtual int setRemoteRenderMode(uid_t uid, media::base::RENDER_MODE_TYPE renderMode,
5673  VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5674 
5675  // The following APIs are either deprecated and going to deleted.
5676 
5694  virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0;
5695 
5707  virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5708 
5723  virtual int enableDualStreamMode(bool enabled) = 0;
5724 
5741  virtual int enableDualStreamMode(bool enabled, const SimulcastStreamConfig& streamConfig) = 0;
5742 
5743 
5757  virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode) = 0;
5758 
5772  virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode,
5773  const SimulcastStreamConfig& streamConfig) = 0;
5774 
5784  virtual int enableEchoCancellationExternal(bool enabled, int audioSourceDelay) = 0;
5785 
5800  virtual int enableCustomAudioLocalPlayback(int sourceId, bool enabled) = 0;
5801 
5809  virtual int startPrimaryCustomAudioTrack(const AudioTrackConfig& config) = 0;
5810 
5818  virtual int stopPrimaryCustomAudioTrack() = 0;
5819 
5827  virtual int startSecondaryCustomAudioTrack(const AudioTrackConfig& config) = 0;
5828 
5836  virtual int stopSecondaryCustomAudioTrack() = 0;
5837 
5856  virtual int setRecordingAudioFrameParameters(int sampleRate, int channel,
5858  int samplesPerCall) = 0;
5859 
5879  virtual int setPlaybackAudioFrameParameters(int sampleRate, int channel,
5881  int samplesPerCall) = 0;
5882 
5898  virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall) = 0;
5899 
5919  virtual int setEarMonitoringAudioFrameParameters(int sampleRate, int channel,
5921  int samplesPerCall) = 0;
5922 
5938  virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0;
5939 
5950  virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0;
5958  virtual int disableAudioSpectrumMonitor() = 0;
5959 
5985 
5999  virtual int adjustRecordingSignalVolume(int volume) = 0;
6000 
6012  virtual int muteRecordingSignal(bool mute) = 0;
6013 
6027  virtual int adjustPlaybackSignalVolume(int volume) = 0;
6028 
6029  /*
6030  * Adjust the playback volume of the user specified by uid.
6031  *
6032  * You can call this method to adjust the playback volume of the user specified by uid
6033  * in call. If you want to adjust playback volume of the multi user, you can call this
6034  * this method multi times.
6035  *
6036  * @note
6037  * Please call this method after join channel.
6038  * This method adjust the playback volume of specified user.
6039  *
6040  * @param uid Remote user ID.
6041  * @param volume The playback volume of the specified remote user. The value ranges between 0 and 400, including the following:
6042  * 0: Mute.
6043  * 100: (Default) Original volume.
6044  * 400: Four times the original volume with signal-clipping protection.
6045  * @return
6046  * - 0: Success.
6047  * - < 0: Failure.
6048  */
6049  virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0;
6050 
6073 
6090 
6109  virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0;
6110 
6111 
6124  virtual int adjustLoopbackSignalVolume(int volume) = 0;
6125 
6132  virtual int getLoopbackRecordingVolume() = 0;
6133 
6145  virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0;
6146 
6157  virtual int setInEarMonitoringVolume(int volume) = 0;
6158 
6159 #if defined (_WIN32) || defined(__linux__) || defined(__ANDROID__)
6160  virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0;
6161 #endif
6162 
6174  virtual int setExtensionProviderProperty(
6175  const char* provider, const char* key, const char* value) = 0;
6176 
6188  virtual int registerExtension(const char* provider, const char* extension,
6190 
6204  virtual int enableExtension(
6205  const char* provider, const char* extension, bool enable=true, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
6206 
6219  virtual int setExtensionProperty(
6220  const char* provider, const char* extension,
6221  const char* key, const char* value, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
6222 
6236  virtual int getExtensionProperty(
6237  const char* provider, const char* extension,
6238  const char* key, char* value, int buf_len, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
6239 
6254  virtual int enableExtension(const char* provider, const char* extension, const ExtensionInfo& extensionInfo, bool enable = true) = 0;
6255 
6269  virtual int setExtensionProperty(const char* provider, const char* extension, const ExtensionInfo& extensionInfo, const char* key, const char* value) = 0;
6270 
6285  virtual int getExtensionProperty(const char* provider, const char* extension, const ExtensionInfo& extensionInfo, const char* key, char* value, int buf_len) = 0;
6286 
6298  virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0;
6299 
6300 
6309 
6317  virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions& sender_option) = 0;
6318 
6327  virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0;
6328 
6337  virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id) = 0;
6338 
6339 
6340 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
6341 
6350  virtual int switchCamera() = 0;
6351 
6359  virtual bool isCameraZoomSupported() = 0;
6360 
6368  virtual bool isCameraFaceDetectSupported() = 0;
6369 
6377  virtual bool isCameraTorchSupported() = 0;
6378 
6386  virtual bool isCameraFocusSupported() = 0;
6387 
6395  virtual bool isCameraAutoFocusFaceModeSupported() = 0;
6396 
6406  virtual int setCameraZoomFactor(float factor) = 0;
6407 
6416  virtual int enableFaceDetection(bool enabled) = 0;
6417 
6422  virtual float getCameraMaxZoomFactor() = 0;
6423 
6433  virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0;
6434 
6442  virtual int setCameraTorchOn(bool isOn) = 0;
6443 
6451  virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0;
6452 
6464  virtual bool isCameraExposurePositionSupported() = 0;
6465 
6481  virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0;
6482 
6483 #if defined(__APPLE__)
6484 
6491  virtual bool isCameraAutoExposureFaceModeSupported() = 0;
6492 
6493 
6501  virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0;
6502 #endif
6503 
6537  virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0;
6538 
6565  virtual int setEnableSpeakerphone(bool speakerOn) = 0;
6566 
6574  virtual bool isSpeakerphoneEnabled() = 0;
6575 
6576 #endif // __ANDROID__ || (__APPLE__ && TARGET_OS_IOS)
6577 
6578 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
6579 
6589  virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0;
6590 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6591 #if (defined(__APPLE__) && TARGET_OS_IOS)
6592 
6617 #endif // __APPLE__ && TARGET_OS_IOS
6618 
6619 #if defined(_WIN32) || (defined(__APPLE__) && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6620 
6641  virtual int startScreenCaptureByDisplayId(uint32_t displayId, const Rectangle& regionRect,
6642  const ScreenCaptureParameters& captureParams) = 0;
6643 
6644 #endif // __APPLE__ && TARGET_OS_MAC && !TARGET_OS_IPHONE
6645 
6646 #if defined(_WIN32)
6647 
6671  virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect,
6672  const Rectangle& regionRect,
6673  const ScreenCaptureParameters& captureParams) = 0;
6674 
6675 #endif // _WIN32
6676 
6677 #if defined(__ANDROID__)
6678 
6684  virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0;
6685 
6686 #endif // __ANDROID__
6687 
6688 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
6689 
6707  virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle& regionRect,
6708  const ScreenCaptureParameters& captureParams) = 0;
6709 
6725  virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0;
6726 
6743  virtual int setScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario) = 0;
6744 
6761  virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0;
6762 
6776  virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0;
6777 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6778 
6779 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
6780 
6789  virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0;
6790 
6800  virtual int updateScreenCapture(const ScreenCaptureParameters2& captureParams) = 0;
6801 #endif
6802 
6803 #if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__)
6804 
6811  virtual int stopScreenCapture() = 0;
6812 
6813 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC) || __ANDROID__
6814 
6831  virtual int getCallId(agora::util::AString& callId) = 0;
6832 
6847  virtual int rate(const char* callId, int rating,
6848  const char* description) = 0; // 0~10
6849 
6863  virtual int complain(const char* callId, const char* description) = 0;
6864 
6884  virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0;
6885 
6906  virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0;
6907 
6917  virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0;
6936  virtual int stopRtmpStream(const char* url) = 0;
6937 
6941  virtual int stopLocalVideoTranscoder() = 0;
6950  virtual int startPrimaryCameraCapture(const CameraCapturerConfiguration& config) = 0;
6959  virtual int startSecondaryCameraCapture(const CameraCapturerConfiguration& config) = 0;
6968  virtual int stopPrimaryCameraCapture() = 0;
6977  virtual int stopSecondaryCameraCapture() = 0;
6989  virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0;
7001  virtual int setScreenCaptureOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0;
7002 
7011  virtual int startPrimaryScreenCapture(const ScreenCaptureConfiguration& config) = 0;
7020  virtual int startSecondaryScreenCapture(const ScreenCaptureConfiguration& config) = 0;
7030  virtual int stopPrimaryScreenCapture() = 0;
7040  virtual int stopSecondaryScreenCapture() = 0;
7041 
7047 
7048  // The following APIs are not implemented yet.
7049  virtual bool registerEventHandler(IRtcEngineEventHandler* eventHandler) = 0;
7050  virtual bool unregisterEventHandler(IRtcEngineEventHandler* eventHandler) = 0;
7051  virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0;
7052 
7064  virtual int registerPacketObserver(IPacketObserver* observer) = 0;
7065 
7088  virtual int setEncryptionMode(const char* encryptionMode) __deprecated = 0;
7089 
7106  virtual int setEncryptionSecret(const char* secret) __deprecated = 0;
7107 
7129  virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0;
7130 
7162  virtual int createDataStream(int* streamId, bool reliable, bool ordered) = 0;
7163 
7173  virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0;
7174 
7205  virtual int sendStreamMessage(int streamId, const char* data, size_t length) = 0;
7206 
7228  virtual int addVideoWatermark(const RtcImage& watermark) = 0;
7229 
7255  virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) = 0;
7256 
7264  virtual int clearVideoWatermarks() = 0;
7265 
7266  // The following APIs are either deprecated and going to deleted.
7267 
7276  virtual int pauseAudio() __deprecated = 0;
7285  virtual int resumeAudio() __deprecated = 0;
7286 
7304  virtual int enableWebSdkInteroperability(bool enabled) __deprecated = 0;
7305 
7315  virtual int sendCustomReportMessage(
7316  const char* id, const char* category, const char* event, const char* label, int value) = 0;
7317 
7339  virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0;
7340 
7349  virtual int unregisterMediaMetadataObserver(IMetadataObserver* observer, IMetadataObserver::METADATA_TYPE type) = 0;
7350 
7360  virtual int startAudioFrameDump(const char* channel_id, uid_t user_id, const char* location,
7361  const char* uuid, const char* passwd, long duration_ms, bool auto_upload) = 0;
7365  virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0;
7366 
7398  virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0;
7399 
7430  virtual int joinChannelWithUserAccount(const char* token, const char* channelId,
7431  const char* userAccount) = 0;
7432 
7464  virtual int joinChannelWithUserAccount(const char* token, const char* channelId,
7465  const char* userAccount, const ChannelMediaOptions& options) = 0;
7466 
7499  virtual int joinChannelWithUserAccountEx(const char* token, const char* channelId,
7500  const char* userAccount, const ChannelMediaOptions& options,
7501  IRtcEngineEventHandler* eventHandler) = 0;
7502 
7520  virtual int getUserInfoByUserAccount(const char* userAccount, rtc::UserInfo* userInfo) = 0;
7521 
7539  virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo* userInfo) = 0;
7580  virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;
7581 
7605  virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;
7606 
7631  virtual int stopChannelMediaRelay() = 0;
7632 
7633 
7639  virtual int pauseAllChannelMediaRelay() = 0;
7640 
7646  virtual int resumeAllChannelMediaRelay() = 0;
7647 
7661 
7677 
7689  virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler* eventHandler,
7690  const char* publishUrl, const DirectCdnStreamingMediaOptions& options) = 0;
7691 
7701  virtual int stopDirectCdnStreaming() = 0;
7702 
7715 
7726  virtual int startRhythmPlayer(const char* sound1, const char* sound2, const AgoraRhythmPlayerConfig& config) = 0;
7727 
7734  virtual int stopRhythmPlayer() = 0;
7735 
7744  virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0;
7774  virtual int takeSnapshot(uid_t uid, const char* filePath) = 0;
7784  virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0;
7785  /*
7786  * Adjust the custom audio publish volume by source id.
7787  * @param sourceId custom audio source id.
7788  * @param volume The volume, range is [0,100]:
7789  * 0: mute, 100: The original volume
7790  * @return
7791  * - 0: Success.
7792  * - < 0: Failure.
7793  */
7794  virtual int adjustCustomAudioPublishVolume(int32_t sourceId, int volume) = 0;
7795 
7796  /*
7797  * Adjust the custom audio playout volume by source id.
7798  * @param sourceId custom audio source id.
7799  * @param volume The volume, range is [0,100]:
7800  * 0: mute, 100: The original volume
7801  * @return
7802  * - 0: Success.
7803  * - < 0: Failure.
7804  */
7805  virtual int adjustCustomAudioPlayoutVolume(int32_t sourceId, int volume) = 0;
7806 
7836  virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0;
7845  virtual int setLocalAccessPoint(const LocalAccessPointConfiguration& config) = 0;
7846 
7854  virtual int setAdvancedAudioOptions(AdvancedAudioOptions &options, int sourceType = 0) = 0;
7855 
7866  virtual int setAVSyncSource(const char* channelId, uid_t uid) = 0;
7867 
7874  virtual int enableVideoImageSource(bool enable, const ImageTrackOptions& options) = 0;
7875 
7876  /*
7877  * Get monotonic time in ms which can be used by capture time,
7878  * typical scenario is as follows:
7879  *
7880  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7881  * | // custom audio/video base capture time, e.g. the first audio/video capture time. |
7882  * | int64_t custom_capture_time_base; |
7883  * | |
7884  * | int64_t agora_monotonic_time = getCurrentMonotonicTimeInMs(); |
7885  * | |
7886  * | // offset is fixed once calculated in the begining. |
7887  * | const int64_t offset = agora_monotonic_time - custom_capture_time_base; |
7888  * | |
7889  * | // realtime_custom_audio/video_capture_time is the origin capture time that customer provided.|
7890  * | // actual_audio/video_capture_time is the actual capture time transfered to sdk. |
7891  * | int64_t actual_audio_capture_time = realtime_custom_audio_capture_time + offset; |
7892  * | int64_t actual_video_capture_time = realtime_custom_video_capture_time + offset; |
7893  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7894  *
7895  * @return
7896  * - >= 0: Success.
7897  * - < 0: Failure.
7898  */
7899  virtual int64_t getCurrentMonotonicTimeInMs() = 0;
7900 
7916  virtual int enableWirelessAccelerate(bool enabled) = 0;
7931  virtual int getNetworkType() = 0;
7932 
7941  virtual int setParameters(const char* parameters) = 0;
7942 };
7944 class AAudioDeviceManager : public agora::util::AutoPtr<IAudioDeviceManager> {
7945  public:
7946  AAudioDeviceManager(IRtcEngine* engine) {
7948  }
7949 };
7951 class AVideoDeviceManager : public agora::util::AutoPtr<IVideoDeviceManager> {
7952  public:
7953  AVideoDeviceManager(IRtcEngine* engine) {
7955  }
7956 };
7957 
7958 // The following types are either deprecated or not implmented yet.
7962  QUALITY_REPORT_JSON = 0,
7965  QUALITY_REPORT_HTML = 1,
7966 };
7967 
7985 };
7987 enum VIDEO_PROFILE_TYPE { // res fps
7989  VIDEO_PROFILE_LANDSCAPE_120P = 0, // 160x120 15
7991  VIDEO_PROFILE_LANDSCAPE_120P_3 = 2, // 120x120 15
7993  VIDEO_PROFILE_LANDSCAPE_180P = 10, // 320x180 15
7995  VIDEO_PROFILE_LANDSCAPE_180P_3 = 12, // 180x180 15
7997  VIDEO_PROFILE_LANDSCAPE_180P_4 = 13, // 240x180 15
7999  VIDEO_PROFILE_LANDSCAPE_240P = 20, // 320x240 15
8001  VIDEO_PROFILE_LANDSCAPE_240P_3 = 22, // 240x240 15
8003  VIDEO_PROFILE_LANDSCAPE_240P_4 = 23, // 424x240 15
8005  VIDEO_PROFILE_LANDSCAPE_360P = 30, // 640x360 15
8007  VIDEO_PROFILE_LANDSCAPE_360P_3 = 32, // 360x360 15
8009  VIDEO_PROFILE_LANDSCAPE_360P_4 = 33, // 640x360 30
8011  VIDEO_PROFILE_LANDSCAPE_360P_6 = 35, // 360x360 30
8013  VIDEO_PROFILE_LANDSCAPE_360P_7 = 36, // 480x360 15
8015  VIDEO_PROFILE_LANDSCAPE_360P_8 = 37, // 480x360 30
8017  VIDEO_PROFILE_LANDSCAPE_360P_9 = 38, // 640x360 15
8019  VIDEO_PROFILE_LANDSCAPE_360P_10 = 39, // 640x360 24
8021  VIDEO_PROFILE_LANDSCAPE_360P_11 = 100, // 640x360 24
8023  VIDEO_PROFILE_LANDSCAPE_480P = 40, // 640x480 15
8025  VIDEO_PROFILE_LANDSCAPE_480P_3 = 42, // 480x480 15
8027  VIDEO_PROFILE_LANDSCAPE_480P_4 = 43, // 640x480 30
8029  VIDEO_PROFILE_LANDSCAPE_480P_6 = 45, // 480x480 30
8031  VIDEO_PROFILE_LANDSCAPE_480P_8 = 47, // 848x480 15
8033  VIDEO_PROFILE_LANDSCAPE_480P_9 = 48, // 848x480 30
8035  VIDEO_PROFILE_LANDSCAPE_480P_10 = 49, // 640x480 10
8037  VIDEO_PROFILE_LANDSCAPE_720P = 50, // 1280x720 15
8039  VIDEO_PROFILE_LANDSCAPE_720P_3 = 52, // 1280x720 30
8041  VIDEO_PROFILE_LANDSCAPE_720P_5 = 54, // 960x720 15
8043  VIDEO_PROFILE_LANDSCAPE_720P_6 = 55, // 960x720 30
8045  VIDEO_PROFILE_LANDSCAPE_1080P = 60, // 1920x1080 15
8047  VIDEO_PROFILE_LANDSCAPE_1080P_3 = 62, // 1920x1080 30
8049  VIDEO_PROFILE_LANDSCAPE_1080P_5 = 64, // 1920x1080 60
8051  VIDEO_PROFILE_LANDSCAPE_1440P = 66, // 2560x1440 30
8053  VIDEO_PROFILE_LANDSCAPE_1440P_2 = 67, // 2560x1440 60
8055  VIDEO_PROFILE_LANDSCAPE_4K = 70, // 3840x2160 30
8057  VIDEO_PROFILE_LANDSCAPE_4K_3 = 72, // 3840x2160 60
8059  VIDEO_PROFILE_PORTRAIT_120P = 1000, // 120x160 15
8061  VIDEO_PROFILE_PORTRAIT_120P_3 = 1002, // 120x120 15
8063  VIDEO_PROFILE_PORTRAIT_180P = 1010, // 180x320 15
8065  VIDEO_PROFILE_PORTRAIT_180P_3 = 1012, // 180x180 15
8067  VIDEO_PROFILE_PORTRAIT_180P_4 = 1013, // 180x240 15
8069  VIDEO_PROFILE_PORTRAIT_240P = 1020, // 240x320 15
8071  VIDEO_PROFILE_PORTRAIT_240P_3 = 1022, // 240x240 15
8073  VIDEO_PROFILE_PORTRAIT_240P_4 = 1023, // 240x424 15
8075  VIDEO_PROFILE_PORTRAIT_360P = 1030, // 360x640 15
8077  VIDEO_PROFILE_PORTRAIT_360P_3 = 1032, // 360x360 15
8079  VIDEO_PROFILE_PORTRAIT_360P_4 = 1033, // 360x640 30
8081  VIDEO_PROFILE_PORTRAIT_360P_6 = 1035, // 360x360 30
8083  VIDEO_PROFILE_PORTRAIT_360P_7 = 1036, // 360x480 15
8085  VIDEO_PROFILE_PORTRAIT_360P_8 = 1037, // 360x480 30
8087  VIDEO_PROFILE_PORTRAIT_360P_9 = 1038, // 360x640 15
8089  VIDEO_PROFILE_PORTRAIT_360P_10 = 1039, // 360x640 24
8091  VIDEO_PROFILE_PORTRAIT_360P_11 = 1100, // 360x640 24
8093  VIDEO_PROFILE_PORTRAIT_480P = 1040, // 480x640 15
8095  VIDEO_PROFILE_PORTRAIT_480P_3 = 1042, // 480x480 15
8097  VIDEO_PROFILE_PORTRAIT_480P_4 = 1043, // 480x640 30
8099  VIDEO_PROFILE_PORTRAIT_480P_6 = 1045, // 480x480 30
8101  VIDEO_PROFILE_PORTRAIT_480P_8 = 1047, // 480x848 15
8103  VIDEO_PROFILE_PORTRAIT_480P_9 = 1048, // 480x848 30
8105  VIDEO_PROFILE_PORTRAIT_480P_10 = 1049, // 480x640 10
8107  VIDEO_PROFILE_PORTRAIT_720P = 1050, // 720x1280 15
8109  VIDEO_PROFILE_PORTRAIT_720P_3 = 1052, // 720x1280 30
8111  VIDEO_PROFILE_PORTRAIT_720P_5 = 1054, // 720x960 15
8113  VIDEO_PROFILE_PORTRAIT_720P_6 = 1055, // 720x960 30
8115  VIDEO_PROFILE_PORTRAIT_1080P = 1060, // 1080x1920 15
8117  VIDEO_PROFILE_PORTRAIT_1080P_3 = 1062, // 1080x1920 30
8119  VIDEO_PROFILE_PORTRAIT_1080P_5 = 1064, // 1080x1920 60
8121  VIDEO_PROFILE_PORTRAIT_1440P = 1066, // 1440x2560 30
8123  VIDEO_PROFILE_PORTRAIT_1440P_2 = 1067, // 1440x2560 60
8125  VIDEO_PROFILE_PORTRAIT_4K = 1070, // 2160x3840 30
8127  VIDEO_PROFILE_PORTRAIT_4K_3 = 1072, // 2160x3840 60
8130 };
8131 
8132 } // namespace rtc
8133 } // namespace agora
8134 
8140 #define getAgoraRtcEngineVersion getAgoraSdkVersion
8141 
8143 
8146 
8152 AGORA_API agora::rtc::IRtcEngine* AGORA_CALL createAgoraRtcEngine();
8153 
8155 
8156 
8163 #define getAgoraRtcEngineErrorDescription getAgoraSdkErrorDescription
8164 #define setAgoraRtcEngineExternalSymbolLoader setAgoraSdkExternalSymbolLoader
agora::rtc::IRtcEngine::startScreenCapture
virtual int startScreenCapture(const ScreenCaptureParameters2 &captureParams)=0
agora::rtc::IRtcEngine::setDirectCdnStreamingAudioConfiguration
virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile)=0
agora::rtc::IRtcEngine::getErrorDescription
virtual const char * getErrorDescription(int code)=0
agora::rtc::IRtcEngine::enableAudioSpectrumMonitor
virtual int enableAudioSpectrumMonitor(int intervalInMS=100)=0
agora::rtc::IRtcEngine::setSubscribeVideoAllowlist
virtual int setSubscribeVideoAllowlist(uid_t *uidList, int uidNumber)=0
agora::rtc::LogUploadServerInfo::serverDomain
const char * serverDomain
Definition: IAgoraRtcEngine.h:1253
agora::rtc::ScreenCaptureConfiguration::windowId
view_t windowId
Definition: IAgoraRtcEngine.h:698
agora::rtc::IRtcEngine::adjustRecordingSignalVolume
virtual int adjustRecordingSignalVolume(int volume)=0
agora::rtc::IRtcEngine::enableWebSdkInteroperability
virtual int enableWebSdkInteroperability(bool enabled) __deprecated=0
agora::rtc::IRtcEngine::enableSpatialAudio
virtual int enableSpatialAudio(bool enabled)=0
agora::rtc::ChannelMediaOptions::publishMediaPlayerAudioTrack
Optional< bool > publishMediaPlayerAudioTrack
Definition: IAgoraRtcEngine.h:974
agora::rtc::PublisherConfiguration::extraInfo
const char * extraInfo
Definition: IAgoraRtcEngine.h:603
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_11
@ VIDEO_PROFILE_LANDSCAPE_360P_11
Definition: IAgoraRtcEngine.h:8020
agora::rtc::IRtcEngine::setRemoteUserPriority
virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority)=0
agora::rtc::IRtcEngine::setCameraAutoFocusFaceModeEnabled
virtual int setCameraAutoFocusFaceModeEnabled(bool enabled)=0
agora::rtc::IRtcEngine::setAVSyncSource
virtual int setAVSyncSource(const char *channelId, uid_t uid)=0
agora::rtc::RtcEngineContext::appId
const char * appId
Definition: IAgoraRtcEngine.h:2938
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P_4
@ VIDEO_PROFILE_PORTRAIT_180P_4
Definition: IAgoraRtcEngine.h:8066
agora::rtc::IRtcEngine::setSubscribeAudioBlocklist
virtual int setSubscribeAudioBlocklist(uid_t *uidList, int uidNumber)=0
agora::rtc::ChannelMediaOptions::SetAll
void SetAll(const ChannelMediaOptions &change)
Definition: IAgoraRtcEngine.h:1084
agora::rtc::IRtcEngineEventHandler::onUserAccountUpdated
virtual void onUserAccountUpdated(uid_t uid, const char *userAccount)
Definition: IAgoraRtcEngine.h:2762
agora::rtc::LOCAL_VIDEO_STREAM_STATE
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2751
agora::rtc::IRtcEngine::adjustCustomAudioPublishVolume
virtual int adjustCustomAudioPublishVolume(int32_t sourceId, int volume)=0
agora::rtc::IRtcEngine::enableInEarMonitoring
virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters)=0
agora::rtc::IRtcEngine::isSpeakerphoneEnabled
virtual bool isSpeakerphoneEnabled()=0
agora::rtc::ReplaceBy
static void ReplaceBy(Optional< T > *s, const Optional< T > &o)
Definition: IAgoraRtcEngine.h:27
agora::rtc::IRtcEngineEventHandler::onRtmpStreamingEvent
virtual void onRtmpStreamingEvent(const char *url, RTMP_STREAMING_EVENT eventCode)
Definition: IAgoraRtcEngine.h:2343
agora::rtc::LocalVideoStats::regulatedCaptureFrameHeight
int regulatedCaptureFrameHeight
Definition: IAgoraRtcEngine.h:281
agora::rtc::AUDIO_SAMPLE_RATE_48000
@ AUDIO_SAMPLE_RATE_48000
Definition: AgoraBase.h:3252
agora::rtc::IRtcEngine::setEnableSpeakerphone
virtual int setEnableSpeakerphone(bool speakerOn)=0
agora::rtc::IRtcEngine::startScreenCaptureByScreenRect
virtual int startScreenCaptureByScreenRect(const Rectangle &screenRect, const Rectangle &regionRect, const ScreenCaptureParameters &captureParams)=0
agora::rtc::IRtcEngine::getScreenCaptureSources
virtual IScreenCaptureSourceList * getScreenCaptureSources(const SIZE &thumbSize, const SIZE &iconSize, const bool includeScreen)=0
agora::rtc::IRtcEngine::setEffectPosition
virtual int setEffectPosition(int soundId, int pos)=0
agora::rtc::UserInfo
Definition: AgoraBase.h:5566
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_6
@ VIDEO_PROFILE_PORTRAIT_360P_6
Definition: IAgoraRtcEngine.h:8080
agora::rtc::RemoteVideoStats::publishDuration
int publishDuration
Definition: IAgoraRtcEngine.h:399
agora::rtc::AUDIO_REVERB_TYPE
AUDIO_REVERB_TYPE
Definition: IAgoraRtcEngine.h:197
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_11
@ VIDEO_PROFILE_PORTRAIT_360P_11
Definition: IAgoraRtcEngine.h:8090
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_7
@ VIDEO_PROFILE_LANDSCAPE_360P_7
Definition: IAgoraRtcEngine.h:8012
agora::rtc::IRtcEngine::stopDirectCdnStreaming
virtual int stopDirectCdnStreaming()=0
agora::rtc::ImageTrackOptions::mirrorMode
VIDEO_MIRROR_MODE_TYPE mirrorMode
Definition: IAgoraRtcEngine.h:866
agora::rtc::IRtcEngine::setEncryptionSecret
virtual int setEncryptionSecret(const char *secret) __deprecated=0
agora::rtc::ScreenCaptureParameters
Definition: AgoraBase.h:4709
agora::rtc::IRtcEngine::muteAllRemoteVideoStreams
virtual int muteAllRemoteVideoStreams(bool mute)=0
agora::rtc::IRtcEngine::setRemoteVideoSubscriptionOptions
virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options)=0
agora::rtc::INJECT_STREAM_STATUS_START_UNAUTHORIZED
@ INJECT_STREAM_STATUS_START_UNAUTHORIZED
Definition: IAgoraRtcEngine.h:113
agora::rtc::ScreenCaptureSourceInfo::processPath
const char * processPath
Definition: IAgoraRtcEngine.h:794
agora::rtc::InjectStreamConfig::audioChannels
int audioChannels
Definition: IAgoraRtcEngine.h:525
agora::rtc::IRtcEngine::updateScreenCapture
virtual int updateScreenCapture(const ScreenCaptureParameters2 &captureParams)=0
agora::rtc::LocalVideoStats::regulatedCaptureFrameWidth
int regulatedCaptureFrameWidth
Definition: IAgoraRtcEngine.h:277
agora::rtc::AdvancedConfigInfo::logUploadServer
LogUploadServerInfo logUploadServer
Definition: IAgoraRtcEngine.h:1274
agora::rtc::IRtcEngine::pauseEffect
virtual int pauseEffect(int soundId)=0
agora::rtc::ChannelMediaOptions::publishSecondaryCameraTrack
Optional< bool > publishSecondaryCameraTrack
Definition: IAgoraRtcEngine.h:890
agora::rtc::AUDIO_MIXING_STATE_FAILED
@ AUDIO_MIXING_STATE_FAILED
Definition: IAgoraRtcEngine.h:75
agora::rtc::SenderOptions
Definition: AgoraBase.h:1178
agora::rtc::INJECT_STREAM_STATUS_STOP_TIMEDOUT
@ INJECT_STREAM_STATUS_STOP_TIMEDOUT
Definition: IAgoraRtcEngine.h:137
agora::rtc::IRtcEngine::muteLocalVideoStream
virtual int muteLocalVideoStream(bool mute)=0
agora::rtc::RtcEngineContext::eventHandler
IRtcEngineEventHandler * eventHandler
Definition: IAgoraRtcEngine.h:2931
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_5
@ VIDEO_PROFILE_LANDSCAPE_720P_5
Definition: IAgoraRtcEngine.h:8040
agora::rtc::AUDIO_REVERB_STRENGTH
@ AUDIO_REVERB_STRENGTH
Definition: IAgoraRtcEngine.h:217
agora::rtc::LOCAL_PROXY_MODE
LOCAL_PROXY_MODE
Definition: IAgoraRtcEngine.h:1223
agora::rtc::IRtcEngineEventHandler::onIntraRequestReceived
virtual void onIntraRequestReceived()
Definition: IAgoraRtcEngine.h:1577
agora::rtc::VideoCompositingLayout
Definition: IAgoraRtcEngine.h:414
agora::rtc::VideoCompositingLayout::canvasHeight
int canvasHeight
Definition: IAgoraRtcEngine.h:464
agora::rtc::IRtcEngine::setVoiceConversionPreset
virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset)=0
agora::rtc::TCP_PROXY_TYPE
@ TCP_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1241
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_6
@ VIDEO_PROFILE_LANDSCAPE_360P_6
Definition: IAgoraRtcEngine.h:8010
agora::rtc::DirectCdnStreamingStats::videoHeight
int videoHeight
Definition: IAgoraRtcEngine.h:3148
agora::rtc::IRtcEngine::enableLocalVideo
virtual int enableLocalVideo(bool enabled)=0
agora::rtc::IRtcEngineEventHandler::onLeaveChannel
virtual void onLeaveChannel(const RtcStats &stats)
Definition: IAgoraRtcEngine.h:1474
agora::media::UNKNOWN_MEDIA_SOURCE
@ UNKNOWN_MEDIA_SOURCE
Definition: AgoraMediaBase.h:189
agora::rtc::IRtcEngine::stopPrimaryScreenCapture
virtual int stopPrimaryScreenCapture()=0
agora::rtc::IRtcEngine::isCameraTorchSupported
virtual bool isCameraTorchSupported()=0
agora::rtc::IRtcEngine::stopAudioFrameDump
virtual int stopAudioFrameDump(const char *channel_id, uid_t user_id, const char *location)=0
agora::rtc::IRtcEngine::getAudioTrackCount
virtual int getAudioTrackCount()=0
agora::rtc::AUDIO_MIXING_REASON_OK
@ AUDIO_MIXING_REASON_OK
Definition: IAgoraRtcEngine.h:95
agora::rtc::IRtcEngineEventHandler::onFirstRemoteVideoDecoded
virtual void onFirstRemoteVideoDecoded(uid_t uid, int width, int height, int elapsed) __deprecated
Definition: IAgoraRtcEngine.h:1666
agora::rtc::RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL
@ RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL
Definition: IAgoraRtcEngine.h:545
agora::rtc::IVideoDeviceManager::~IVideoDeviceManager
virtual ~IVideoDeviceManager()
Definition: IAgoraRtcEngine.h:2817
agora::rtc::LocalVideoStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:252
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_6
@ VIDEO_PROFILE_PORTRAIT_480P_6
Definition: IAgoraRtcEngine.h:8098
agora::rtc::IRtcEngine::stopChannelMediaRelay
virtual int stopChannelMediaRelay()=0
agora::rtc::IRtcEngineEventHandler::onAudioEffectFinished
virtual void onAudioEffectFinished(int soundId)
Definition: IAgoraRtcEngine.h:1526
agora::rtc::WLACC_MESSAGE_REASON
WLACC_MESSAGE_REASON
Definition: AgoraBase.h:4066
agora::rtc::ScreenCaptureSourceType_Custom
@ ScreenCaptureSourceType_Custom
Definition: IAgoraRtcEngine.h:767
agora::rtc::RtcEngineContext::threadPriority
Optional< THREAD_PRIORITY_TYPE > threadPriority
Definition: IAgoraRtcEngine.h:2993
agora::media::PRIMARY_CAMERA_SOURCE
@ PRIMARY_CAMERA_SOURCE
Definition: AgoraMediaBase.h:145
agora::rtc::IRtcEngine::registerAudioEncodedFrameObserver
virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig &config, IAudioEncodedFrameObserver *observer)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_1440P
@ VIDEO_PROFILE_PORTRAIT_1440P
Definition: IAgoraRtcEngine.h:8120
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_3
@ VIDEO_PROFILE_PORTRAIT_480P_3
Definition: IAgoraRtcEngine.h:8094
agora::rtc::AUDIO_MIXING_STATE_PLAYING
@ AUDIO_MIXING_STATE_PLAYING
Definition: IAgoraRtcEngine.h:68
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_6
@ VIDEO_PROFILE_PORTRAIT_720P_6
Definition: IAgoraRtcEngine.h:8112
agora::rtc::ChannelMediaOptions::enableBuiltInMediaEncryption
Optional< bool > enableBuiltInMediaEncryption
Definition: IAgoraRtcEngine.h:1054
agora::rtc::IRtcEngine::resumeAllEffects
virtual int resumeAllEffects()=0
agora::rtc::IRtcEngine::joinChannelWithUserAccountEx
virtual int joinChannelWithUserAccountEx(const char *token, const char *channelId, const char *userAccount, const ChannelMediaOptions &options, IRtcEngineEventHandler *eventHandler)=0
agora::rtc::InjectStreamConfig::width
int width
Definition: IAgoraRtcEngine.h:498
agora::rtc::IRtcEngine::pauseAudioMixing
virtual int pauseAudioMixing()=0
agora::rtc::IRtcEngine::setPlaybackAudioFrameBeforeMixingParameters
virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel)=0
agora::rtc::SCREEN_SCENARIO_TYPE
SCREEN_SCENARIO_TYPE
Definition: AgoraBase.h:2634
agora::rtc::ScreenCaptureSourceInfo::type
ScreenCaptureSourceType type
Definition: IAgoraRtcEngine.h:774
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::IVideoDeviceManager::getCapability
virtual int getCapability(const char *deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat &capability)=0
agora::rtc::ChannelMediaOptions::ChannelMediaOptions
ChannelMediaOptions()
Definition: IAgoraRtcEngine.h:1081
agora::rtc::LocalAccessPointConfiguration::LocalAccessPointConfiguration
LocalAccessPointConfiguration()
Definition: IAgoraRtcEngine.h:1300
agora::rtc::IVideoDeviceCollection::release
virtual void release()=0
agora::rtc::AUDIO_RECORDING_DEVICE
@ AUDIO_RECORDING_DEVICE
Definition: IAgoraRtcEngine.h:48
agora::rtc::IVideoDeviceManager::enumerateVideoDevices
virtual IVideoDeviceCollection * enumerateVideoDevices()=0
agora::rtc::LeaveChannelOptions::stopAudioMixing
bool stopAudioMixing
Definition: IAgoraRtcEngine.h:1312
agora::rtc::IRtcEngine::getVersion
virtual const char * getVersion(int *build)=0
agora::rtc::RemoteVideoStats::totalActiveTime
int totalActiveTime
Definition: IAgoraRtcEngine.h:395
agora::rtc::IRtcEngine::setAudioMixingPitch
virtual int setAudioMixingPitch(int pitch)=0
agora::rtc::ChannelMediaOptions::publishRhythmPlayerTrack
Optional< bool > publishRhythmPlayerTrack
Definition: IAgoraRtcEngine.h:1060
agora::rtc::ChannelMediaOptions::publishCustomVideoTrack
Optional< bool > publishCustomVideoTrack
Definition: IAgoraRtcEngine.h:962
agora::media::IAudioSpectrumObserver
Definition: AgoraMediaBase.h:1080
agora::rtc::DirectCdnStreamingStats::videoWidth
int videoWidth
Definition: IAgoraRtcEngine.h:3143
agora::rtc::RTMP_STREAMING_EVENT
RTMP_STREAMING_EVENT
Definition: AgoraBase.h:3443
agora::rtc::IRtcEngineEventHandler::onRemoteAudioTransportStats
virtual void onRemoteAudioTransportStats(uid_t uid, unsigned short delay, unsigned short lost, unsigned short rxKBitRate)
Definition: IAgoraRtcEngine.h:2490
agora::rtc::MEDIA_DEVICE_STATE_DISABLED
@ MEDIA_DEVICE_STATE_DISABLED
Definition: IAgoraRtcEngine.h:7977
agora::rtc::IMetadataObserver::Metadata::buffer
unsigned char * buffer
Definition: IAgoraRtcEngine.h:3061
agora::rtc::REMOTE_AUDIO_STATE
REMOTE_AUDIO_STATE
Definition: AgoraBase.h:2870
agora::rtc::ThumbImageBuffer::length
unsigned int length
Definition: IAgoraRtcEngine.h:745
agora::rtc::PublisherConfiguration::publishUrl
const char * publishUrl
Definition: IAgoraRtcEngine.h:596
agora::rtc::IRtcEngine::stopSecondaryCameraCapture
virtual int stopSecondaryCameraCapture()=0
agora::rtc::NONE_PROXY
@ NONE_PROXY
Definition: IAgoraRtcEngine.h:642
agora::rtc::ExtensionInfo
Definition: IAgoraRtcEngine.h:3292
agora::rtc::ChannelMediaOptions::publishCustomAudioSourceId
Optional< int > publishCustomAudioSourceId
Definition: IAgoraRtcEngine.h:938
agora::rtc::ExtensionInfo::remoteUid
uid_t remoteUid
Definition: IAgoraRtcEngine.h:3303
agora::rtc::PublisherConfiguration::lifecycle
int lifecycle
Definition: IAgoraRtcEngine.h:578
agora::rtc::IRtcEngine::startPreview
virtual int startPreview()=0
agora::rtc::LocalAccessPointConfiguration::mode
LOCAL_PROXY_MODE mode
Definition: IAgoraRtcEngine.h:1296
agora::rtc::IMetadataObserver::Metadata::timeStampMs
long long timeStampMs
Definition: IAgoraRtcEngine.h:3065
agora::rtc::VideoCompositingLayout::Region::Region
Region()
Definition: IAgoraRtcEngine.h:444
agora::rtc::DIRECT_CDN_STREAMING_ERROR_VIDEO_PUBLICATION
@ DIRECT_CDN_STREAMING_ERROR_VIDEO_PUBLICATION
Definition: IAgoraRtcEngine.h:3114
agora::rtc::MEDIA_DEVICE_STATE_TYPE
MEDIA_DEVICE_STATE_TYPE
Definition: IAgoraRtcEngine.h:7968
agora::rtc::IRtcEngineEventHandler::onLocalAudioStats
virtual void onLocalAudioStats(const LocalAudioStats &stats)
Definition: IAgoraRtcEngine.h:1895
agora::rtc::ChannelMediaOptions::autoSubscribeAudio
Optional< bool > autoSubscribeAudio
Definition: IAgoraRtcEngine.h:992
agora::rtc::VIDEO_PROFILE_PORTRAIT_1440P_2
@ VIDEO_PROFILE_PORTRAIT_1440P_2
Definition: IAgoraRtcEngine.h:8122
agora::rtc::IRtcEngineEventHandler::onCameraExposureAreaChanged
virtual void onCameraExposureAreaChanged(int x, int y, int width, int height)
Definition: IAgoraRtcEngine.h:1969
agora::rtc::LocalAccessPointConfiguration
Definition: IAgoraRtcEngine.h:1277
agora::rtc::IRtcEngineEventHandler::onClientRoleChangeFailed
virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole)
Definition: IAgoraRtcEngine.h:2303
agora::rtc::VideoCompositingLayout::VideoCompositingLayout
VideoCompositingLayout()
Definition: IAgoraRtcEngine.h:482
agora::rtc::IVideoDeviceCollection::getDevice
virtual int getDevice(int index, char deviceNameUTF8[MAX_DEVICE_ID_LENGTH], char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::ThumbImageBuffer::buffer
const char * buffer
Definition: IAgoraRtcEngine.h:741
agora::rtc::DirectCdnStreamingStats::videoBitrate
int videoBitrate
Definition: IAgoraRtcEngine.h:3158
agora::rtc::VIDEO_PROFILE_LANDSCAPE_4K_3
@ VIDEO_PROFILE_LANDSCAPE_4K_3
Definition: IAgoraRtcEngine.h:8056
agora::rtc::IRtcEngineEventHandler::onLastmileQuality
virtual void onLastmileQuality(int quality)
Definition: IAgoraRtcEngine.h:1616
agora::rtc::AUDIO_PROFILE_TYPE
AUDIO_PROFILE_TYPE
Definition: AgoraBase.h:2486
agora::rtc::CameraCapturerConfiguration::deviceId
char deviceId[MAX_DEVICE_ID_LENGTH]
Definition: IAgoraRtcEngine.h:662
agora::rtc::IRtcEngine::startPrimaryCameraCapture
virtual int startPrimaryCameraCapture(const CameraCapturerConfiguration &config)=0
agora::rtc::IRtcEngineEventHandler::onUserEnableVideo
virtual void onUserEnableVideo(uid_t uid, bool enabled) __deprecated
Definition: IAgoraRtcEngine.h:1843
agora::rtc::IRtcEngine::setCameraFocusPositionInPreview
virtual int setCameraFocusPositionInPreview(float positionX, float positionY)=0
agora::rtc::IRtcEngine::setRemoteRenderMode
virtual int setRemoteRenderMode(uid_t uid, media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P
@ VIDEO_PROFILE_PORTRAIT_180P
Definition: IAgoraRtcEngine.h:8062
agora::rtc::ChannelMediaOptions::isAudioFilterable
Optional< bool > isAudioFilterable
Definition: IAgoraRtcEngine.h:1079
agora::rtc::AREA_CODE_GLOB
@ AREA_CODE_GLOB
Definition: AgoraBase.h:5015
agora::rtc::LiveTranscoding
Definition: AgoraBase.h:3643
agora::rtc::IVideoDeviceManager::numberOfCapabilities
virtual int numberOfCapabilities(const char *deviceIdUTF8)=0
agora::rtc::ChannelMediaOptions::audienceLatencyLevel
Optional< AUDIENCE_LATENCY_LEVEL_TYPE > audienceLatencyLevel
Definition: IAgoraRtcEngine.h:1017
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P
@ VIDEO_PROFILE_PORTRAIT_1080P
Definition: IAgoraRtcEngine.h:8114
agora::rtc::IRtcEngineEventHandler::eventHandlerType
virtual const char * eventHandlerType() const
Definition: IAgoraRtcEngine.h:1343
agora::rtc::RTMP_STREAM_LIFE_CYCLE_TYPE
RTMP_STREAM_LIFE_CYCLE_TYPE
Definition: IAgoraRtcEngine.h:542
agora::rtc::LocalVideoStats::sentFrameRate
int sentFrameRate
Definition: IAgoraRtcEngine.h:260
agora::rtc::Rectangle
Definition: AgoraBase.h:1930
agora::rtc::LocalAccessPointConfiguration::ipList
const char ** ipList
Definition: IAgoraRtcEngine.h:1280
agora::rtc::IRtcEngine::setDirectCdnStreamingVideoConfiguration
virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration &config)=0
agora::rtc::STREAM_FALLBACK_OPTION_DISABLED
@ STREAM_FALLBACK_OPTION_DISABLED
Definition: IAgoraRtcEngine.h:224
agora::rtc::IRtcEngine::createDataStream
virtual int createDataStream(int *streamId, bool reliable, bool ordered)=0
agora::rtc::ScreenCaptureSourceInfo::sourceTitle
const char * sourceTitle
Definition: IAgoraRtcEngine.h:798
agora::rtc::IVideoDeviceManager::release
virtual void release()=0
agora::rtc::IRtcEngineEventHandler::onFacePositionChanged
virtual void onFacePositionChanged(int imageWidth, int imageHeight, const Rectangle *vecRectangle, const int *vecDistance, int numFaces)
Definition: IAgoraRtcEngine.h:2006
agora::rtc::IRtcEngine::setVolumeOfEffect
virtual int setVolumeOfEffect(int soundId, int volume)=0
agora::rtc::IRtcEngineEventHandler::onUserInfoUpdated
virtual void onUserInfoUpdated(uid_t uid, const UserInfo &info)
Definition: IAgoraRtcEngine.h:2618
agora::rtc::IRtcEngineEventHandler::onNetworkTypeChanged
virtual void onNetworkTypeChanged(NETWORK_TYPE type)
Definition: IAgoraRtcEngine.h:2568
agora::rtc::InjectStreamConfig::videoFramerate
int videoFramerate
Definition: IAgoraRtcEngine.h:510
agora::rtc::SIMULCAST_STREAM_MODE
SIMULCAST_STREAM_MODE
Definition: AgoraBase.h:1889
agora::rtc::ChannelMediaOptions::publishCustomAudioTrackEnableAec
Optional< bool > publishCustomAudioTrackEnableAec
Definition: IAgoraRtcEngine.h:944
agora::rtc::IRtcEngine::enableAudioVolumeIndication
virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P_3
@ VIDEO_PROFILE_LANDSCAPE_240P_3
Definition: IAgoraRtcEngine.h:8000
agora::rtc::ChannelMediaOptions::mediaPlayerAudioDelayMs
Optional< int > mediaPlayerAudioDelayMs
Definition: IAgoraRtcEngine.h:1037
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P_4
@ VIDEO_PROFILE_LANDSCAPE_180P_4
Definition: IAgoraRtcEngine.h:7996
agora::rtc::IRtcEngine::updateLocalTranscoderConfiguration
virtual int updateLocalTranscoderConfiguration(const LocalTranscoderConfiguration &config)=0
agora::rtc::IMetadataObserver::onReadyToSendMetadata
virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type)=0
agora::rtc::INJECT_STREAM_STATUS_START_SUCCESS
@ INJECT_STREAM_STATUS_START_SUCCESS
Definition: IAgoraRtcEngine.h:105
agora::rtc::IRtcEngine::registerPacketObserver
virtual int registerPacketObserver(IPacketObserver *observer)=0
agora::rtc::IVideoDeviceCollection::~IVideoDeviceCollection
virtual ~IVideoDeviceCollection()
Definition: IAgoraRtcEngine.h:2773
agora::view_t
void * view_t
Definition: AgoraBase.h:799
agora::rtc::IRtcEngine::enableMultiCamera
virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration &config)=0
agora::rtc::IRtcEngine::switchCamera
virtual int switchCamera()=0
agora::rtc::IRtcEngine::unregisterMediaMetadataObserver
virtual int unregisterMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type)=0
agora::rtc::IRtcEngine::getUserInfoByUid
virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo *userInfo)=0
agora::rtc::IRtcEngine::pauseAllEffects
virtual int pauseAllEffects()=0
agora::rtc::IRtcEngine::disableAudioSpectrumMonitor
virtual int disableAudioSpectrumMonitor()=0
agora::rtc::CLOUD_PROXY_TYPE
CLOUD_PROXY_TYPE
Definition: IAgoraRtcEngine.h:639
agora::rtc::IRtcEngineEventHandler::onFirstLocalAudioFramePublished
virtual void onFirstLocalAudioFramePublished(int elapsed)
Definition: IAgoraRtcEngine.h:2162
agora::util::AutoPtr
Definition: AgoraBase.h:97
agora::rtc::LocalVideoStats::sentBitrate
int sentBitrate
Definition: IAgoraRtcEngine.h:256
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P_3
@ VIDEO_PROFILE_PORTRAIT_240P_3
Definition: IAgoraRtcEngine.h:8070
agora::rtc::IRtcEngineEventHandler::onExtensionStopped
virtual void onExtensionStopped(const char *provider, const char *extension)
Definition: IAgoraRtcEngine.h:2735
agora::rtc::IRtcEngine::getAudioMixingPublishVolume
virtual int getAudioMixingPublishVolume()=0
agora::rtc::ScreenCaptureSourceType_Window
@ ScreenCaptureSourceType_Window
Definition: IAgoraRtcEngine.h:763
agora::rtc::IRtcEngineEventHandler::onRejoinChannelSuccess
virtual void onRejoinChannelSuccess(const char *channel, uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1370
agora::rtc::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
Definition: AgoraBase.h:2532
agora::rtc::SIZE::SIZE
SIZE(int ww, int hh)
Definition: IAgoraRtcEngine.h:727
agora::rtc::ImageTrackOptions::fps
int fps
Definition: IAgoraRtcEngine.h:865
agora::rtc::STREAM_FALLBACK_OPTION_AUDIO_ONLY
@ STREAM_FALLBACK_OPTION_AUDIO_ONLY
Definition: IAgoraRtcEngine.h:233
agora::rtc::RemoteVideoStats::totalFrozenTime
int totalFrozenTime
Definition: IAgoraRtcEngine.h:381
agora::rtc::IRtcEngine::stopPrimaryCustomAudioTrack
virtual int stopPrimaryCustomAudioTrack()=0
agora::rtc::AudioTrackConfig::enableLocalPlayback
bool enableLocalPlayback
Definition: IAgoraRtcEngine.h:622
agora::rtc::IMetadataObserver::METADATA_TYPE
METADATA_TYPE
Definition: IAgoraRtcEngine.h:3029
agora::rtc::DIRECT_CDN_STREAMING_ERROR_AUDIO_PUBLICATION
@ DIRECT_CDN_STREAMING_ERROR_AUDIO_PUBLICATION
Definition: IAgoraRtcEngine.h:3112
agora::rtc::IRtcEngine::adjustUserPlaybackSignalVolume
virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume)=0
agora::rtc::IRtcEngine::stopLocalVideoTranscoder
virtual int stopLocalVideoTranscoder()=0
agora::rtc::IRtcEngine::setCloudProxy
virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType)=0
agora::rtc::VideoEncoderConfiguration
Definition: AgoraBase.h:1700
agora::rtc::ScreenCaptureSourceInfo::sourceId
view_t sourceId
Definition: IAgoraRtcEngine.h:778
agora::rtc::IRtcEngineEventHandler
Definition: IAgoraRtcEngine.h:1339
agora::rtc::AUDIO_MIXING_STATE_TYPE
AUDIO_MIXING_STATE_TYPE
Definition: IAgoraRtcEngine.h:66
agora::rtc::VideoCompositingLayout::Region::height
double height
Definition: IAgoraRtcEngine.h:430
agora::rtc::IVideoDeviceManager::getDevice
virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngine::isCameraExposurePositionSupported
virtual bool isCameraExposurePositionSupported()=0
agora::rtc::DirectCdnStreamingMediaOptions::operator==
bool operator==(const DirectCdnStreamingMediaOptions &o) const
Definition: IAgoraRtcEngine.h:3251
agora::rtc::IRtcEngineEventHandler::onUserMuteAudio
virtual void onUserMuteAudio(uid_t uid, bool muted)
Definition: IAgoraRtcEngine.h:1807
agora::rtc::__deprecated
@ __deprecated
Definition: AgoraBase.h:876
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P
@ VIDEO_PROFILE_LANDSCAPE_360P
Definition: IAgoraRtcEngine.h:8004
agora::rtc::ScreenCaptureSourceInfo::sourceName
const char * sourceName
Definition: IAgoraRtcEngine.h:782
agora::rtc::AudioTrackConfig::AudioTrackConfig
AudioTrackConfig()
Definition: IAgoraRtcEngine.h:623
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_3
@ VIDEO_PROFILE_PORTRAIT_360P_3
Definition: IAgoraRtcEngine.h:8076
agora::rtc::IRtcEngine::registerLocalUserAccount
virtual int registerLocalUserAccount(const char *appId, const char *userAccount)=0
agora::rtc::QUALITY_ADAPT_INDICATION
QUALITY_ADAPT_INDICATION
Definition: AgoraBase.h:2296
agora::rtc::IRtcEngineEventHandler::onUplinkNetworkInfoUpdated
virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo &info)
Definition: IAgoraRtcEngine.h:1589
agora::rtc::AUDIO_EQUALIZATION_BAND_250
@ AUDIO_EQUALIZATION_BAND_250
Definition: IAgoraRtcEngine.h:167
agora::rtc::DirectCdnStreamingMediaOptions::publishMicrophoneTrack
Optional< bool > publishMicrophoneTrack
Definition: IAgoraRtcEngine.h:3206
agora::rtc::RtcImage
Definition: AgoraBase.h:3465
agora::rtc::InjectStreamConfig::InjectStreamConfig
InjectStreamConfig()
Definition: IAgoraRtcEngine.h:529
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_4
@ VIDEO_PROFILE_PORTRAIT_360P_4
Definition: IAgoraRtcEngine.h:8078
agora::rtc::VideoCompositingLayout::backgroundColor
const char * backgroundColor
Definition: IAgoraRtcEngine.h:467
agora::rtc::VIDEO_PROFILE_PORTRAIT_4K_3
@ VIDEO_PROFILE_PORTRAIT_4K_3
Definition: IAgoraRtcEngine.h:8126
agora::rtc::IRtcEngine::getAudioMixingCurrentPosition
virtual int getAudioMixingCurrentPosition()=0
agora::rtc::IMetadataObserver::DEFAULT_METADATA_SIZE_IN_BYTE
@ DEFAULT_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:3043
agora::rtc::IRtcEngine::startDirectCdnStreaming
virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler *eventHandler, const char *publishUrl, const DirectCdnStreamingMediaOptions &options)=0
agora::rtc::IRtcEngine::registerAudioSpectrumObserver
virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::AUDIO_MIXING_STATE_STOPPED
@ AUDIO_MIXING_STATE_STOPPED
Definition: IAgoraRtcEngine.h:72
agora::rtc::NONE_PROXY_TYPE
@ NONE_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1235
agora::rtc::AUDIO_REVERB_WET_DELAY
@ AUDIO_REVERB_WET_DELAY
Definition: IAgoraRtcEngine.h:213
agora::rtc::LocalVideoStats::encodedBitrate
int encodedBitrate
Definition: IAgoraRtcEngine.h:307
agora::rtc::REMOTE_VIDEO_STATE_REASON
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:2974
agora::rtc::LocalVideoStats::qualityAdaptIndication
QUALITY_ADAPT_INDICATION qualityAdaptIndication
Definition: IAgoraRtcEngine.h:303
agora::rtc::ChannelMediaOptions::customVideoTrackId
Optional< video_track_id_t > customVideoTrackId
Definition: IAgoraRtcEngine.h:1073
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1440P
@ VIDEO_PROFILE_LANDSCAPE_1440P
Definition: IAgoraRtcEngine.h:8050
agora::rtc::IRtcEngine::setMixedAudioFrameParameters
virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_31
@ AUDIO_EQUALIZATION_BAND_31
Definition: IAgoraRtcEngine.h:155
agora::rtc::VIDEO_PROFILE_TYPE
VIDEO_PROFILE_TYPE
Definition: IAgoraRtcEngine.h:7986
agora::rtc::IRtcEngine::getVolumeOfEffect
virtual int getVolumeOfEffect(int soundId)=0
agora::rtc::IMetadataObserver::getMaxMetadataSize
virtual int getMaxMetadataSize()
Definition: IAgoraRtcEngine.h:3080
agora::rtc::ChannelMediaOptions::publishDirectCustomAudioTrack
Optional< bool > publishDirectCustomAudioTrack
Definition: IAgoraRtcEngine.h:950
agora::rtc::IRtcEngine::setSubscribeAudioAllowlist
virtual int setSubscribeAudioAllowlist(uid_t *uidList, int uidNumber)=0
agora::rtc::VIDEO_MIRROR_MODE_TYPE
VIDEO_MIRROR_MODE_TYPE
Definition: AgoraBase.h:1682
agora::rtc::IRtcEngine::getConnectionState
virtual CONNECTION_STATE_TYPE getConnectionState()=0
agora::rtc::ExtensionInfo::channelId
const char * channelId
Definition: IAgoraRtcEngine.h:3316
agora::rtc::AUDIO_PLAYOUT_DEVICE
@ AUDIO_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:44
agora::rtc::IRtcEngine::setCameraTorchOn
virtual int setCameraTorchOn(bool isOn)=0
agora::rtc::IRtcEngine::setExtensionProperty
virtual int setExtensionProperty(const char *provider, const char *extension, const char *key, const char *value, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::IRtcEngine::enableEncryption
virtual int enableEncryption(bool enabled, const EncryptionConfig &config)=0
agora::rtc::UDP_PROXY_TYPE
@ UDP_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1238
agora::rtc::IRtcEngine::enableContentInspect
virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config)=0
agora::rtc::IRtcEngine::isCameraZoomSupported
virtual bool isCameraZoomSupported()=0
agora::rtc::ChannelMediaOptions::publishTrancodedVideoTrack
Optional< bool > publishTrancodedVideoTrack
Definition: IAgoraRtcEngine.h:986
agora::rtc::IRtcEngineEventHandler::onRemoteAudioStateChanged
virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed)
Definition: IAgoraRtcEngine.h:2234
agora::rtc::IRtcEngine::enableCustomAudioLocalPlayback
virtual int enableCustomAudioLocalPlayback(int sourceId, bool enabled)=0
agora::rtc::IRtcEngine::setAudioSessionOperationRestriction
virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction)=0
agora::rtc::IRtcEngine::startRhythmPlayer
virtual int startRhythmPlayer(const char *sound1, const char *sound2, const AgoraRhythmPlayerConfig &config)=0
agora::rtc::IRtcEngine::configRhythmPlayer
virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig &config)=0
agora::rtc::IRtcEngine::adjustAudioMixingPublishVolume
virtual int adjustAudioMixingPublishVolume(int volume)=0
agora::rtc::DirectCdnStreamingMediaOptions::publishCameraTrack
Optional< bool > publishCameraTrack
Definition: IAgoraRtcEngine.h:3200
agora::rtc::IVideoDeviceCollection::getCount
virtual int getCount()=0
agora::rtc::AdvancedConfigInfo
Definition: IAgoraRtcEngine.h:1271
agora::rtc::IRtcEngineEventHandler::onUserMuteVideo
virtual void onUserMuteVideo(uid_t userId, bool muted)
Definition: IAgoraRtcEngine.h:1826
agora::rtc::IRtcEngine::getAudioMixingDuration
virtual int getAudioMixingDuration()=0
agora::rtc::HEADPHONE_EQUALIZER_PRESET
HEADPHONE_EQUALIZER_PRESET
Definition: AgoraBase.h:4694
agora::rtc::IScreenCaptureSourceList
Definition: IAgoraRtcEngine.h:820
agora::rtc::ScreenCaptureConfiguration::params
ScreenCaptureParameters params
Definition: IAgoraRtcEngine.h:702
agora::rtc::IRtcEngineEventHandler::onVideoStopped
virtual void onVideoStopped()
Definition: IAgoraRtcEngine.h:2023
agora::rtc::IRtcEngineEventHandler::onVideoDeviceStateChanged
virtual void onVideoDeviceStateChanged(const char *deviceId, int deviceType, int deviceState)
Definition: IAgoraRtcEngine.h:1537
agora::rtc::IMetadataObserver
Definition: IAgoraRtcEngine.h:3022
agora::rtc::VideoCompositingLayout::appData
const char * appData
Definition: IAgoraRtcEngine.h:477
agora::rtc::SIZE::width
int width
Definition: IAgoraRtcEngine.h:721
agora::media::AUDIO_MIXING_DUAL_MONO_MODE
AUDIO_MIXING_DUAL_MONO_MODE
Definition: IAgoraMediaEngine.h:17
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::IRtcEngineEventHandler::onAudioMixingPositionChanged
virtual void onAudioMixingPositionChanged(int64_t position)
Reports current AudioMixing progress.
Definition: IAgoraRtcEngine.h:1510
agora::rtc::IRtcEngine::setRemoteVoicePosition
virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain)=0
agora::rtc::DIRECT_CDN_STREAMING_STATE_RECOVERING
@ DIRECT_CDN_STREAMING_STATE_RECOVERING
Definition: IAgoraRtcEngine.h:3133
agora::rtc::IRtcEngine::startScreenCaptureByWindowId
virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle &regionRect, const ScreenCaptureParameters &captureParams)=0
agora::rtc::AUDIO_EFFECT_PRESET
AUDIO_EFFECT_PRESET
Definition: AgoraBase.h:4556
agora::rtc::IRtcEngine::registerMediaMetadataObserver
virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type)=0
agora::rtc::IRtcEngineEventHandler::onRhythmPlayerStateChanged
virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode)
Definition: IAgoraRtcEngine.h:2045
agora::rtc::ScreenCaptureSourceType_Screen
@ ScreenCaptureSourceType_Screen
Definition: IAgoraRtcEngine.h:765
agora::rtc::IRtcEngine::startChannelMediaRelay
virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration)=0
agora::rtc::PublisherConfiguration::defaultLayout
int defaultLayout
Definition: IAgoraRtcEngine.h:575
agora::rtc::IRtcEngineEventHandler::onTranscodingUpdated
virtual void onTranscodingUpdated()
Definition: IAgoraRtcEngine.h:2358
agora::rtc::IRtcEngine::updateRtmpTranscoding
virtual int updateRtmpTranscoding(const LiveTranscoding &transcoding)=0
agora::rtc::IRtcEngineEventHandler::onWlAccMessage
virtual void onWlAccMessage(WLACC_MESSAGE_REASON reason, WLACC_SUGGEST_ACTION action, const char *wlAccMsg)
Definition: IAgoraRtcEngine.h:2543
agora::rtc::IRtcEngineEventHandler::onRequestToken
virtual void onRequestToken()
Definition: IAgoraRtcEngine.h:2126
agora::rtc::IRtcEngineEventHandler::onError
virtual void onError(int err, const char *msg)
Definition: IAgoraRtcEngine.h:1396
agora::rtc::REMOTE_VIDEO_STATE
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:2945
agora::rtc::LocalAccessPointConfiguration::advancedConfig
AdvancedConfigInfo advancedConfig
Definition: IAgoraRtcEngine.h:1299
agora::rtc::ChannelMediaOptions::publishCustomAudioTrackAec
Optional< bool > publishCustomAudioTrackAec
Definition: IAgoraRtcEngine.h:956
agora::rtc::IRtcEngine::startRtmpStreamWithoutTranscoding
virtual int startRtmpStreamWithoutTranscoding(const char *url)=0
agora::rtc::VideoCompositingLayout::regionCount
int regionCount
Definition: IAgoraRtcEngine.h:474
agora::rtc::ExtensionInfo::mediaSourceType
agora::media::MEDIA_SOURCE_TYPE mediaSourceType
Definition: IAgoraRtcEngine.h:3296
agora::rtc::IRtcEngineEventHandler::onProxyConnected
virtual void onProxyConnected(const char *channel, uid_t uid, PROXY_TYPE proxyType, const char *localProxyIp, int elapsed)
Definition: IAgoraRtcEngine.h:1383
agora::rtc::MEDIA_DEVICE_TYPE
MEDIA_DEVICE_TYPE
Definition: IAgoraRtcEngine.h:36
agora::rtc::IRtcEngineEventHandler::onLocalPublishFallbackToAudioOnly
virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover)
Definition: IAgoraRtcEngine.h:2451
agora::rtc::AUDIO_EQUALIZATION_BAND_62
@ AUDIO_EQUALIZATION_BAND_62
Definition: IAgoraRtcEngine.h:159
agora::rtc::ScreenCaptureSourceInfo::iconImage
ThumbImageBuffer iconImage
Definition: IAgoraRtcEngine.h:790
agora::rtc::INTERFACE_ID_TYPE
INTERFACE_ID_TYPE
Definition: AgoraBase.h:850
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_10
@ VIDEO_PROFILE_LANDSCAPE_480P_10
Definition: IAgoraRtcEngine.h:8034
agora::rtc::IRtcEngine::enableExtension
virtual int enableExtension(const char *provider, const char *extension, bool enable=true, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::PublisherConfiguration::height
int height
Definition: IAgoraRtcEngine.h:561
agora::rtc::IRtcEngineEventHandler::onAudioMixingFinished
virtual void onAudioMixingFinished() __deprecated
Definition: IAgoraRtcEngine.h:1518
agora::rtc::LocalAccessPointConfiguration::verifyDomainName
const char * verifyDomainName
Definition: IAgoraRtcEngine.h:1293
agora::rtc::IRtcEngine::setScreenCaptureScenario
virtual int setScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario)=0
agora::rtc::AVideoDeviceManager
Definition: IAgoraRtcEngine.h:7950
agora::rtc::AUDIO_EQUALIZATION_BAND_4K
@ AUDIO_EQUALIZATION_BAND_4K
Definition: IAgoraRtcEngine.h:183
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE
RAW_AUDIO_FRAME_OP_MODE_TYPE
Definition: AgoraMediaBase.h:115
agora::rtc::LocalVideoStats::codecType
VIDEO_CODEC_TYPE codecType
Definition: IAgoraRtcEngine.h:313
agora::rtc::QUALITY_REPORT_JSON
@ QUALITY_REPORT_JSON
Definition: IAgoraRtcEngine.h:7961
agora::rtc::ExtensionInfo::localUid
uid_t localUid
Definition: IAgoraRtcEngine.h:3321
agora::rtc::INJECT_STREAM_STATUS_START_FAILED
@ INJECT_STREAM_STATUS_START_FAILED
Definition: IAgoraRtcEngine.h:121
agora::rtc::IRtcEngine::setSubscribeVideoBlocklist
virtual int setSubscribeVideoBlocklist(uid_t *uidList, int uidNumber)=0
agora::rtc::LocalTranscoderConfiguration
Definition: AgoraBase.h:3820
agora::rtc::TCP_PROXY_AUTO_FALLBACK_TYPE
@ TCP_PROXY_AUTO_FALLBACK_TYPE
Definition: IAgoraRtcEngine.h:1247
agora::rtc::IRtcEngine::adjustAudioMixingPlayoutVolume
virtual int adjustAudioMixingPlayoutVolume(int volume)=0
agora::rtc::STREAM_FALLBACK_OPTIONS
STREAM_FALLBACK_OPTIONS
Definition: IAgoraRtcEngine.h:220
agora::rtc::InjectStreamConfig::audioBitrate
int audioBitrate
Definition: IAgoraRtcEngine.h:522
agora::rtc::DirectCdnStreamingMediaOptions::SetAll
void SetAll(const DirectCdnStreamingMediaOptions &change)
Definition: IAgoraRtcEngine.h:3239
agora::rtc::IDirectCdnStreamingEventHandler::onDirectCdnStreamingStateChanged
virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char *message)
Definition: IAgoraRtcEngine.h:3180
agora::rtc::WLACC_SUGGEST_ACTION
WLACC_SUGGEST_ACTION
Definition: AgoraBase.h:4080
agora::rtc::CameraCapturerConfiguration::followEncodeDimensionRatio
bool followEncodeDimensionRatio
Definition: IAgoraRtcEngine.h:666
agora::rtc::ScreenCaptureSourceInfo::minimizeWindow
bool minimizeWindow
Definition: IAgoraRtcEngine.h:810
agora::rtc::IRtcEngine::setCameraDeviceOrientation
virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation)=0
agora::rtc::IRtcEngineEventHandler::onAudioVolumeIndication
virtual void onAudioVolumeIndication(const AudioVolumeInfo *speakers, unsigned int speakerNumber, int totalVolume)
Definition: IAgoraRtcEngine.h:1459
agora::rtc::IRtcEngineEventHandler::onConnectionBanned
virtual void onConnectionBanned()
Definition: IAgoraRtcEngine.h:2076
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_4
@ VIDEO_PROFILE_LANDSCAPE_480P_4
Definition: IAgoraRtcEngine.h:8026
agora::rtc::IPacketObserver
Definition: AgoraBase.h:3183
agora::rtc::IRtcEngine::setLocalPublishFallbackOption
virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::LocalVideoStats::dualStreamEnabled
bool dualStreamEnabled
Definition: IAgoraRtcEngine.h:324
agora::rtc::VIDEO_PROFILE_PORTRAIT_120P_3
@ VIDEO_PROFILE_PORTRAIT_120P_3
Definition: IAgoraRtcEngine.h:8060
agora::rtc::ChannelMediaOptions::publishEncodedVideoTrack
Optional< bool > publishEncodedVideoTrack
Definition: IAgoraRtcEngine.h:968
agora::rtc::IRtcEngine::setDualStreamMode
virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode)=0
agora::rtc::DirectCdnStreamingStats
Definition: IAgoraRtcEngine.h:3139
agora::rtc::IRtcEngine::registerEventHandler
virtual bool registerEventHandler(IRtcEngineEventHandler *eventHandler)=0
agora::rtc::VideoFormat
Definition: AgoraBase.h:2567
agora::rtc::RemoteVideoStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:339
agora::rtc::IRtcEngineEventHandler::onUserOffline
virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:1790
agora::rtc::IRtcEngine::registerExtension
virtual int registerExtension(const char *provider, const char *extension, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P
@ VIDEO_PROFILE_PORTRAIT_480P
Definition: IAgoraRtcEngine.h:8092
agora::rtc::DIRECT_CDN_STREAMING_ERROR_OK
@ DIRECT_CDN_STREAMING_ERROR_OK
Definition: IAgoraRtcEngine.h:3108
agora::rtc::IRtcEngine::setCameraAutoExposureFaceModeEnabled
virtual int setCameraAutoExposureFaceModeEnabled(bool enabled)=0
agora::rtc::VIDEO_CODEC_TYPE
VIDEO_CODEC_TYPE
Definition: AgoraBase.h:1124
agora::rtc::IRtcEngine::stopRtmpStream
virtual int stopRtmpStream(const char *url)=0
agora::rtc::ChannelMediaOptions::operator==
bool operator==(const ChannelMediaOptions &o) const
Definition: IAgoraRtcEngine.h:1126
agora::rtc::DataStreamConfig
Definition: AgoraBase.h:1863
agora::rtc::IRtcEngineEventHandler::onCameraFocusAreaChanged
virtual void onCameraFocusAreaChanged(int x, int y, int width, int height)
Definition: IAgoraRtcEngine.h:1955
agora::rtc::VideoCompositingLayout::Region::y
double y
Definition: IAgoraRtcEngine.h:424
agora::rtc::STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
@ STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
Definition: IAgoraRtcEngine.h:229
agora::rtc::LogUploadServerInfo::LogUploadServerInfo
LogUploadServerInfo()
Definition: IAgoraRtcEngine.h:1266
agora::rtc::IRtcEngine::stopAudioMixing
virtual int stopAudioMixing()=0
agora::rtc::PublisherConfiguration
Definition: IAgoraRtcEngine.h:553
agora::rtc::IRtcEngine::setLogLevel
virtual int setLogLevel(commons::LOG_LEVEL level)=0
agora::rtc::RtcEngineContext::logConfig
commons::LogConfig logConfig
Definition: IAgoraRtcEngine.h:2988
agora::rtc::IRtcEngineEventHandler::onChannelMediaRelayEvent
virtual void onChannelMediaRelayEvent(int code)
Definition: IAgoraRtcEngine.h:2435
agora::rtc::DIRECT_CDN_STREAMING_ERROR_BAD_NAME
@ DIRECT_CDN_STREAMING_ERROR_BAD_NAME
Definition: IAgoraRtcEngine.h:3118
agora::rtc::IRtcEngine::setRemoteDefaultVideoStreamType
virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType)=0
agora::rtc::NETWORK_TYPE
NETWORK_TYPE
Definition: AgoraBase.h:4120
agora::rtc::IRtcEngine::setRemoteVideoStreamType
virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_8K
@ AUDIO_EQUALIZATION_BAND_8K
Definition: IAgoraRtcEngine.h:187
agora::CHANNEL_PROFILE_TYPE
CHANNEL_PROFILE_TYPE
Definition: AgoraBase.h:264
agora::rtc::InjectStreamConfig::height
int height
Definition: IAgoraRtcEngine.h:502
agora::rtc::CAMERA_FRONT
@ CAMERA_FRONT
Definition: IAgoraRtcEngine.h:632
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_TYPE
CAPTURE_BRIGHTNESS_LEVEL_TYPE
Definition: AgoraBase.h:2662
agora::rtc::DIRECT_CDN_STREAMING_STATE_STOPPED
@ DIRECT_CDN_STREAMING_STATE_STOPPED
Definition: IAgoraRtcEngine.h:3129
agora::rtc::IRtcEngine::startRtmpStreamWithTranscoding
virtual int startRtmpStreamWithTranscoding(const char *url, const LiveTranscoding &transcoding)=0
agora::rtc::ScreenCaptureConfiguration::ScreenCaptureConfiguration
ScreenCaptureConfiguration()
Definition: IAgoraRtcEngine.h:712
agora::rtc::DirectCdnStreamingMediaOptions
Definition: IAgoraRtcEngine.h:3194
agora::rtc::ConnectivityFirst
@ ConnectivityFirst
Definition: IAgoraRtcEngine.h:1226
agora::rtc::IRtcEngineEventHandler::onStreamMessageError
virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached)
Definition: IAgoraRtcEngine.h:2109
agora::rtc::AdvancedAudioOptions
Definition: IAgoraRtcEngine.h:853
agora::rtc::IRtcEngine::setVideoEncoderConfiguration
virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration &config)=0
agora::rtc::IRtcEngine::stopAllEffects
virtual int stopAllEffects()=0
agora::rtc::ExtensionInfo::ExtensionInfo
ExtensionInfo()
Definition: IAgoraRtcEngine.h:3323
agora::rtc::IRtcEngine::pauseAllChannelMediaRelay
virtual int pauseAllChannelMediaRelay()=0
agora::rtc::ScreenCaptureSourceType_Unknown
@ ScreenCaptureSourceType_Unknown
Definition: IAgoraRtcEngine.h:761
agora::rtc::LocalVideoStats::captureFrameHeight
int captureFrameHeight
Definition: IAgoraRtcEngine.h:269
agora::rtc::IRtcEngine::startAudioMixing
virtual int startAudioMixing(const char *filePath, bool loopback, int cycle)=0
agora::rtc::IRtcEngine::adjustLoopbackSignalVolume
virtual int adjustLoopbackSignalVolume(int volume)=0
agora::rtc::VIDEO_ORIENTATION
VIDEO_ORIENTATION
Definition: AgoraBase.h:933
agora::rtc::IRtcEngine::takeSnapshot
virtual int takeSnapshot(uid_t uid, const char *filePath)=0
agora::rtc::RtcEngineContext::license
const char * license
Definition: IAgoraRtcEngine.h:2953
agora::rtc::AUDIO_EQUALIZATION_BAND_125
@ AUDIO_EQUALIZATION_BAND_125
Definition: IAgoraRtcEngine.h:163
agora::rtc::ScreenCaptureConfiguration::regionRect
Rectangle regionRect
Definition: IAgoraRtcEngine.h:710
agora::rtc::VideoCompositingLayout::canvasWidth
int canvasWidth
Definition: IAgoraRtcEngine.h:459
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_3
@ VIDEO_PROFILE_LANDSCAPE_360P_3
Definition: IAgoraRtcEngine.h:8006
agora::rtc::LeaveChannelOptions::stopMicrophoneRecording
bool stopMicrophoneRecording
Definition: IAgoraRtcEngine.h:1324
agora::rtc::PublisherConfiguration::rawStreamUrl
const char * rawStreamUrl
Definition: IAgoraRtcEngine.h:600
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_8
@ VIDEO_PROFILE_LANDSCAPE_360P_8
Definition: IAgoraRtcEngine.h:8014
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_9
@ VIDEO_PROFILE_LANDSCAPE_480P_9
Definition: IAgoraRtcEngine.h:8032
agora::rtc::ScreenCaptureSourceInfo::thumbImage
ThumbImageBuffer thumbImage
Definition: IAgoraRtcEngine.h:786
agora::rtc::IRtcEngineEventHandler::onRemoteVideoStats
virtual void onRemoteVideoStats(const RemoteVideoStats &stats)
Definition: IAgoraRtcEngine.h:1936
agora::rtc::AUDIO_MIXING_STATE_PAUSED
@ AUDIO_MIXING_STATE_PAUSED
Definition: IAgoraRtcEngine.h:70
agora::rtc::IRtcEngine::setAudioEffectParameters
virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2)=0
agora::rtc::IRtcEngine::setColorEnhanceOptions
virtual int setColorEnhanceOptions(bool enabled, const ColorEnhanceOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::commons::LOG_LEVEL
OPTIONAL_ENUM_CLASS LOG_LEVEL
Definition: IAgoraLog.h:33
agora::rtc::IRtcEngineEventHandler::onTokenPrivilegeWillExpire
virtual void onTokenPrivilegeWillExpire(const char *token)
Definition: IAgoraRtcEngine.h:2139
agora::rtc::LocalVideoStats::targetFrameRate
int targetFrameRate
Definition: IAgoraRtcEngine.h:299
agora::rtc::DirectCdnStreamingStats::audioBitrate
int audioBitrate
Definition: IAgoraRtcEngine.h:3163
agora::rtc::IRtcEngine::setRemoteSubscribeFallbackOption
virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::RtcEngineContext::channelProfile
CHANNEL_PROFILE_TYPE channelProfile
Definition: IAgoraRtcEngine.h:2948
agora::rtc::IRtcEngineEventHandler::onRemoteSubscribeFallbackToAudioOnly
virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover)
Definition: IAgoraRtcEngine.h:2471
agora::rtc::IRtcEngine::setEarMonitoringAudioFrameParameters
virtual int setEarMonitoringAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::IRtcEngineEventHandler::onContentInspectResult
virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result)
Definition: IAgoraRtcEngine.h:2259
agora::rtc::IRtcEngine::getAudioDeviceInfo
virtual int getAudioDeviceInfo(DeviceInfo &deviceInfo)=0
agora::rtc::IRtcEngineEventHandler::onAudioDeviceStateChanged
virtual void onAudioDeviceStateChanged(const char *deviceId, int deviceType, int deviceState)
Definition: IAgoraRtcEngine.h:1498
agora::rtc::RTMP_STREAM_PUBLISH_ERROR_TYPE
RTMP_STREAM_PUBLISH_ERROR_TYPE
Definition: AgoraBase.h:3372
agora::rtc::ChannelMediaOptions::token
Optional< const char * > token
Definition: IAgoraRtcEngine.h:1046
agora::rtc::AUDIO_EQUALIZATION_BAND_16K
@ AUDIO_EQUALIZATION_BAND_16K
Definition: IAgoraRtcEngine.h:191
agora::rtc::IRtcEngineEventHandler::onAudioQuality
virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay, unsigned short lost)
Definition: IAgoraRtcEngine.h:1416
agora::rtc::IRtcEngineEventHandler::onRemoteAudioStats
virtual void onRemoteAudioStats(const RemoteAudioStats &stats)
Definition: IAgoraRtcEngine.h:1906
agora::rtc::IRtcEngine::stopSecondaryScreenCapture
virtual int stopSecondaryScreenCapture()=0
agora::rtc::IRtcEngine::startSecondaryCameraCapture
virtual int startSecondaryCameraCapture(const CameraCapturerConfiguration &config)=0
agora::rtc::IRtcEngine::setEffectsVolume
virtual int setEffectsVolume(int volume)=0
agora::rtc::IRtcEngine::playAllEffects
virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish=false)=0
agora::rtc::DirectCdnStreamingStats::fps
int fps
Definition: IAgoraRtcEngine.h:3153
agora::rtc::IDirectCdnStreamingEventHandler::~IDirectCdnStreamingEventHandler
virtual ~IDirectCdnStreamingEventHandler()
Definition: IAgoraRtcEngine.h:3172
agora::rtc::AUDIO_RECORDING_QUALITY_TYPE
AUDIO_RECORDING_QUALITY_TYPE
Definition: AgoraBase.h:4793
agora::rtc::ScreenCaptureSourceInfo::isOccluded
bool isOccluded
Definition: IAgoraRtcEngine.h:805
agora::rtc::IRtcEngine::stopLastmileProbeTest
virtual int stopLastmileProbeTest()=0
agora::rtc::ChannelMediaRelayConfiguration
Definition: AgoraBase.h:5185
agora::rtc::IRtcEngine::setAdvancedAudioOptions
virtual int setAdvancedAudioOptions(AdvancedAudioOptions &options, int sourceType=0)=0
agora::rtc::IRtcEngine::createMediaPlayer
virtual agora_refptr< IMediaPlayer > createMediaPlayer()=0
agora::rtc::IRtcEngine::queryInterface
virtual int queryInterface(INTERFACE_ID_TYPE iid, void **inter)=0
agora::rtc::IVideoDeviceCollection
Definition: IAgoraRtcEngine.h:2771
agora::rtc::IRtcEngineEventHandler::onRtmpStreamingStateChanged
virtual void onRtmpStreamingStateChanged(const char *url, RTMP_STREAM_PUBLISH_STATE state, RTMP_STREAM_PUBLISH_ERROR_TYPE errCode)
Definition: IAgoraRtcEngine.h:2331
agora::rtc::IRtcEngine::renewToken
virtual int renewToken(const char *token)=0
agora::rtc::IRtcEngine::pauseAudio
virtual int pauseAudio() __deprecated=0
agora::rtc::IRtcEngine::sendStreamMessage
virtual int sendStreamMessage(int streamId, const char *data, size_t length)=0
agora::rtc::LocalVideoStats::txPacketLossRate
unsigned short txPacketLossRate
Definition: IAgoraRtcEngine.h:317
agora::rtc::VOICE_CONVERSION_PRESET
VOICE_CONVERSION_PRESET
Definition: AgoraBase.h:4674
agora::rtc::IRtcEngineEventHandler::onLocalVideoStats
virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats &stats)
Definition: IAgoraRtcEngine.h:1923
agora::rtc::ChannelMediaOptions::publishCustomAudioTrack
Optional< bool > publishCustomAudioTrack
Definition: IAgoraRtcEngine.h:931
agora::rtc::RemoteVideoStats::avSyncTimeMs
int avSyncTimeMs
Definition: IAgoraRtcEngine.h:390
agora::rtc::RtcEngineContext::domainLimit
bool domainLimit
Definition: IAgoraRtcEngine.h:3009
agora::rtc::IRtcEngine::isCameraAutoExposureFaceModeSupported
virtual bool isCameraAutoExposureFaceModeSupported()=0
agora::rtc::IRtcEngine::enableFaceDetection
virtual int enableFaceDetection(bool enabled)=0
agora::rtc::IRtcEngine::unregisterEventHandler
virtual bool unregisterEventHandler(IRtcEngineEventHandler *eventHandler)=0
agora::rtc::VIDEO_RENDER_DEVICE
@ VIDEO_RENDER_DEVICE
Definition: IAgoraRtcEngine.h:52
agora::rtc::IRtcEngineEventHandler::onStreamMessage
virtual void onStreamMessage(uid_t userId, int streamId, const char *data, size_t length, uint64_t sentTs)
Definition: IAgoraRtcEngine.h:2089
agora::rtc::RemoteVideoStats::decoderOutputFrameRate
int decoderOutputFrameRate
Definition: IAgoraRtcEngine.h:362
agora::rtc::RtcEngineContext::context
void * context
Definition: IAgoraRtcEngine.h:2944
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P
@ VIDEO_PROFILE_PORTRAIT_360P
Definition: IAgoraRtcEngine.h:8074
agora::rtc::UNKNOWN_AUDIO_DEVICE
@ UNKNOWN_AUDIO_DEVICE
Definition: IAgoraRtcEngine.h:40
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P_4
@ VIDEO_PROFILE_PORTRAIT_240P_4
Definition: IAgoraRtcEngine.h:8072
agora::rtc::ChannelMediaOptions::publishCameraTrack
Optional< bool > publishCameraTrack
Definition: IAgoraRtcEngine.h:884
agora::rtc::DIRECT_CDN_STREAMING_ERROR_FAILED
@ DIRECT_CDN_STREAMING_ERROR_FAILED
Definition: IAgoraRtcEngine.h:3110
agora::rtc::IRtcEngineEventHandler::onFirstLocalVideoFrame
virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed)
Definition: IAgoraRtcEngine.h:1628
agora::rtc::AUDIO_SCENARIO_DEFAULT
@ AUDIO_SCENARIO_DEFAULT
Definition: AgoraBase.h:2537
agora::rtc::ChannelMediaOptions::clientRoleType
Optional< CLIENT_ROLE_TYPE > clientRoleType
Definition: IAgoraRtcEngine.h:1013
agora::rtc::AUDIO_MIXING_REASON_STOPPED_BY_USER
@ AUDIO_MIXING_REASON_STOPPED_BY_USER
Definition: IAgoraRtcEngine.h:93
agora::rtc::AUDIO_REVERB_WET_LEVEL
@ AUDIO_REVERB_WET_LEVEL
Definition: IAgoraRtcEngine.h:205
agora::rtc::ScreenCaptureParameters2
Definition: AgoraBase.h:5704
agora::rtc::IRtcEngineEventHandler::onJoinChannelSuccess
virtual void onJoinChannelSuccess(const char *channel, uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1354
agora::rtc::IRtcEngine::startLocalVideoTranscoder
virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration &config)=0
agora::rtc::ThumbImageBuffer::width
unsigned int width
Definition: IAgoraRtcEngine.h:749
agora::rtc::DirectCdnStreamingMediaOptions::publishMediaPlayerId
Optional< int > publishMediaPlayerId
Definition: IAgoraRtcEngine.h:3229
agora::rtc::ChannelMediaOptions::channelProfile
Optional< CHANNEL_PROFILE_TYPE > channelProfile
Definition: IAgoraRtcEngine.h:1027
agora::rtc::AUDIO_REVERB_ROOM_SIZE
@ AUDIO_REVERB_ROOM_SIZE
Definition: IAgoraRtcEngine.h:209
agora::rtc::IRtcEngine::setEncryptionMode
virtual int setEncryptionMode(const char *encryptionMode) __deprecated=0
agora::rtc::VideoCompositingLayout::Region::zOrder
int zOrder
Definition: IAgoraRtcEngine.h:434
agora::rtc::LocalVideoStats::captureFrameRate
int captureFrameRate
Definition: IAgoraRtcEngine.h:263
agora::rtc::IRtcEngine::startPrimaryCustomAudioTrack
virtual int startPrimaryCustomAudioTrack(const AudioTrackConfig &config)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_4
@ VIDEO_PROFILE_PORTRAIT_480P_4
Definition: IAgoraRtcEngine.h:8096
agora::rtc::ChannelMediaOptions::operator=
ChannelMediaOptions & operator=(const ChannelMediaOptions &replace)
Definition: IAgoraRtcEngine.h:1176
agora::rtc::IRtcEngine::startScreenCaptureByDisplayId
virtual int startScreenCaptureByDisplayId(uint32_t displayId, const Rectangle &regionRect, const ScreenCaptureParameters &captureParams)=0
agora::rtc::IRtcEngine::setParameters
virtual int setParameters(const char *parameters)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_3
@ VIDEO_PROFILE_PORTRAIT_720P_3
Definition: IAgoraRtcEngine.h:8108
agora::rtc::IRtcEngine::muteRemoteVideoStream
virtual int muteRemoteVideoStream(uid_t uid, bool mute)=0
agora::rtc::ChannelMediaOptions::publishScreenCaptureAudio
Optional< bool > publishScreenCaptureAudio
Definition: IAgoraRtcEngine.h:910
agora::rtc::IRtcEngine::isCameraFocusSupported
virtual bool isCameraFocusSupported()=0
agora::rtc::IRtcEngine::setLowlightEnhanceOptions
virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::IScreenCaptureSourceList::getCount
virtual unsigned int getCount()=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P
@ VIDEO_PROFILE_LANDSCAPE_180P
Definition: IAgoraRtcEngine.h:7992
agora::rtc::CONNECTION_CHANGED_REASON_TYPE
CONNECTION_CHANGED_REASON_TYPE
Definition: AgoraBase.h:3945
agora::rtc::RemoteVideoStats::frozenRate
int frozenRate
Definition: IAgoraRtcEngine.h:385
agora::rtc::IRtcEngine::getCurrentMonotonicTimeInMs
virtual int64_t getCurrentMonotonicTimeInMs()=0
agora::rtc::IRtcEngine::startSecondaryScreenCapture
virtual int startSecondaryScreenCapture(const ScreenCaptureConfiguration &config)=0
agora::rtc::IRtcEngine::enableLocalAudio
virtual int enableLocalAudio(bool enabled)=0
agora::rtc::IRtcEngine::setupLocalVideo
virtual int setupLocalVideo(const VideoCanvas &canvas)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_500
@ AUDIO_EQUALIZATION_BAND_500
Definition: IAgoraRtcEngine.h:171
agora::rtc::VideoCompositingLayout::appDataLength
int appDataLength
Definition: IAgoraRtcEngine.h:480
agora::rtc::IRtcEngine::setLocalVoiceReverb
virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value)=0
agora::rtc::IRtcEngine::stopEffect
virtual int stopEffect(int soundId)=0
agora::rtc::VideoCompositingLayout::Region::alpha
double alpha
Definition: IAgoraRtcEngine.h:439
agora::rtc::IRtcEngine::release
virtual void release(bool sync=false)=0
agora::rtc::DirectCdnStreamingMediaOptions::operator=
DirectCdnStreamingMediaOptions & operator=(const DirectCdnStreamingMediaOptions &replace)
Definition: IAgoraRtcEngine.h:3272
agora::rtc::DirectCdnStreamingMediaOptions::publishCustomVideoTrack
Optional< bool > publishCustomVideoTrack
Definition: IAgoraRtcEngine.h:3218
agora::rtc::ScreenCaptureConfiguration::isCaptureWindow
bool isCaptureWindow
Definition: IAgoraRtcEngine.h:684
agora::rtc::LocalVideoStats::encodedFrameHeight
int encodedFrameHeight
Definition: IAgoraRtcEngine.h:290
agora::rtc::AGORA_IID_VIDEO_DEVICE_MANAGER
@ AGORA_IID_VIDEO_DEVICE_MANAGER
Definition: AgoraBase.h:852
agora::rtc::AdvancedAudioOptions::audioProcessingChannels
Optional< int > audioProcessingChannels
Definition: IAgoraRtcEngine.h:857
agora::rtc::IRtcEngine::stopScreenCapture
virtual int stopScreenCapture()=0
agora::rtc::ImageTrackOptions::imageUrl
const char * imageUrl
Definition: IAgoraRtcEngine.h:864
agora::rtc::IRtcEngineEventHandler::onLocalAudioStateChanged
virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error)
Definition: IAgoraRtcEngine.h:2213
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P_3
@ VIDEO_PROFILE_PORTRAIT_1080P_3
Definition: IAgoraRtcEngine.h:8116
agora::rtc::RemoteVideoStats::superResolutionType
int superResolutionType
Definition: IAgoraRtcEngine.h:403
agora::rtc::DirectCdnStreamingMediaOptions::DirectCdnStreamingMediaOptions
DirectCdnStreamingMediaOptions()
Definition: IAgoraRtcEngine.h:3236
agora::rtc::IRtcEngine::getUserInfoByUserAccount
virtual int getUserInfoByUserAccount(const char *userAccount, rtc::UserInfo *userInfo)=0
agora::rtc::IRtcEngine::setDefaultMuteAllRemoteAudioStreams
virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) __deprecated=0
agora::rtc::IRtcEngine::updateChannelMediaRelay
virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration)=0
agora::rtc::IRtcEngine::setLogFile
virtual int setLogFile(const char *filePath)=0
agora::rtc::IRtcEngine::enableVirtualBackground
virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::IVideoDeviceCollection::setDevice
virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngine::setCameraCapturerConfiguration
virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration &config)=0
agora::rtc::VideoCompositingLayout::Region::renderMode
media::base::RENDER_MODE_TYPE renderMode
Definition: IAgoraRtcEngine.h:442
agora::rtc::IRtcEngine::setCameraZoomFactor
virtual int setCameraZoomFactor(float factor)=0
agora::rtc::IMetadataObserver::INVALID_METADATA_SIZE_IN_BYTE
@ INVALID_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:3042
agora::rtc::RemoteVideoStats::__deprecated
int delay __deprecated
Definition: IAgoraRtcEngine.h:347
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P_3
@ VIDEO_PROFILE_LANDSCAPE_1080P_3
Definition: IAgoraRtcEngine.h:8046
agora::rtc::AdvancedAudioOptions::AdvancedAudioOptions
AdvancedAudioOptions()
Definition: IAgoraRtcEngine.h:859
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_3
@ VIDEO_PROFILE_LANDSCAPE_720P_3
Definition: IAgoraRtcEngine.h:8038
agora::rtc::PublisherConfiguration::width
int width
Definition: IAgoraRtcEngine.h:557
agora::rtc::VideoCompositingLayout::Region::width
double width
Definition: IAgoraRtcEngine.h:428
agora::rtc::IRtcEngine::setDefaultAudioRouteToSpeakerphone
virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker)=0
agora::rtc::ScreenCaptureSourceInfo
Definition: IAgoraRtcEngine.h:770
agora::rtc::IRtcEngine::getEffectsVolume
virtual int getEffectsVolume()=0
agora::rtc::IRtcEngineEventHandler::onEncryptionError
virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType)
Definition: IAgoraRtcEngine.h:2579
agora::rtc::REMOTE_AUDIO_STATE_REASON
REMOTE_AUDIO_STATE_REASON
Definition: AgoraBase.h:2903
agora::rtc::DIRECT_CDN_STREAMING_ERROR_NET_CONNECT
@ DIRECT_CDN_STREAMING_ERROR_NET_CONNECT
Definition: IAgoraRtcEngine.h:3116
agora::rtc::LOCAL_VIDEO_STREAM_ERROR
LOCAL_VIDEO_STREAM_ERROR
Definition: AgoraBase.h:2774
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_6
@ VIDEO_PROFILE_LANDSCAPE_720P_6
Definition: IAgoraRtcEngine.h:8042
agora::rtc::IRtcEngine::startPrimaryScreenCapture
virtual int startPrimaryScreenCapture(const ScreenCaptureConfiguration &config)=0
agora::rtc::IRtcEngine::getEffectDuration
virtual int getEffectDuration(const char *filePath)=0
agora::rtc::LogUploadServerInfo
Definition: IAgoraRtcEngine.h:1250
agora::rtc::RTMP_STREAM_PUBLISH_STATE
RTMP_STREAM_PUBLISH_STATE
Definition: AgoraBase.h:3340
agora::rtc::STREAM_SUBSCRIBE_STATE
STREAM_SUBSCRIBE_STATE
Definition: AgoraBase.h:5492
agora::commons::LogConfig
Definition: IAgoraLog.h:82
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_7
@ VIDEO_PROFILE_PORTRAIT_360P_7
Definition: IAgoraRtcEngine.h:8082
agora::rtc::IRtcEngineEventHandler::onLocalVideoStateChanged
virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error)
Definition: IAgoraRtcEngine.h:1714
agora::rtc::IRtcEngine::setPlaybackAudioFrameParameters
virtual int setPlaybackAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::IRtcEngine::setLogFileSize
virtual int setLogFileSize(unsigned int fileSizeInKBytes)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P
@ VIDEO_PROFILE_PORTRAIT_720P
Definition: IAgoraRtcEngine.h:8106
agora::rtc::LeaveChannelOptions::stopAllEffect
bool stopAllEffect
Definition: IAgoraRtcEngine.h:1318
agora::rtc::ChannelMediaOptions::defaultVideoStreamType
Optional< VIDEO_STREAM_TYPE > defaultVideoStreamType
Definition: IAgoraRtcEngine.h:1022
agora::rtc::VIDEO_PROFILE_LANDSCAPE_120P_3
@ VIDEO_PROFILE_LANDSCAPE_120P_3
Definition: IAgoraRtcEngine.h:7990
createAgoraRtcEngine
AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine()
agora::rtc::VIDEO_PROFILE_DEFAULT
@ VIDEO_PROFILE_DEFAULT
Definition: IAgoraRtcEngine.h:8128
agora::rtc::IRtcEngine::setBeautyEffectOptions
virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::VIDEO_SOURCE_TYPE
VIDEO_SOURCE_TYPE
Definition: AgoraBase.h:2220
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_9
@ VIDEO_PROFILE_PORTRAIT_360P_9
Definition: IAgoraRtcEngine.h:8086
agora::rtc::LocalVideoStats
Definition: IAgoraRtcEngine.h:248
agora::rtc::IMetadataObserver::onMetadataReceived
virtual void onMetadataReceived(const Metadata &metadata)=0
agora::rtc::IRtcEngine::startAudioFrameDump
virtual int startAudioFrameDump(const char *channel_id, uid_t user_id, const char *location, const char *uuid, const char *passwd, long duration_ms, bool auto_upload)=0
agora::rtc::IRtcEngine::resumeAllChannelMediaRelay
virtual int resumeAllChannelMediaRelay()=0
agora::rtc::IRtcEngineEventHandler::onUserStateChanged
virtual void onUserStateChanged(uid_t uid, uint32_t state)
Definition: IAgoraRtcEngine.h:1853
agora::rtc::QUALITY_REPORT_FORMAT_TYPE
QUALITY_REPORT_FORMAT_TYPE
Definition: IAgoraRtcEngine.h:7958
agora::rtc::ChannelMediaOptions::publishMediaPlayerId
Optional< int > publishMediaPlayerId
Definition: IAgoraRtcEngine.h:1008
agora::rtc::IDirectCdnStreamingEventHandler
Definition: IAgoraRtcEngine.h:3170
agora::media::base::RENDER_MODE_TYPE
RENDER_MODE_TYPE
Definition: AgoraMediaBase.h:462
agora::rtc::IRtcEngineEventHandler::onAudioSubscribeStateChanged
virtual void onAudioSubscribeStateChanged(const char *channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2643
agora::rtc::DIRECT_CDN_STREAMING_STATE_RUNNING
@ DIRECT_CDN_STREAMING_STATE_RUNNING
Definition: IAgoraRtcEngine.h:3127
agora::rtc::DIRECT_CDN_STREAMING_ERROR
DIRECT_CDN_STREAMING_ERROR
Definition: IAgoraRtcEngine.h:3106
agora::rtc::IRtcEngine::startSecondaryCustomAudioTrack
virtual int startSecondaryCustomAudioTrack(const AudioTrackConfig &config)=0
agora::rtc::ImageTrackOptions::ImageTrackOptions
ImageTrackOptions()
Definition: IAgoraRtcEngine.h:867
agora::rtc::EncryptionConfig
Definition: AgoraBase.h:5388
agora::rtc::IRtcEngine::enableEchoCancellationExternal
virtual int enableEchoCancellationExternal(bool enabled, int audioSourceDelay)=0
agora::rtc::IRtcEngineEventHandler::onWlAccStats
virtual void onWlAccStats(WlAccStats currentStats, WlAccStats averageStats)
Definition: IAgoraRtcEngine.h:2554
agora::rtc::IRtcEngine::destroyMediaPlayer
virtual int destroyMediaPlayer(agora_refptr< IMediaPlayer > media_player)=0
agora::rtc::INJECT_STREAM_STATUS_BROKEN
@ INJECT_STREAM_STATUS_BROKEN
Definition: IAgoraRtcEngine.h:145
agora::rtc::UDP_PROXY
@ UDP_PROXY
Definition: IAgoraRtcEngine.h:645
agora::rtc::AUDIO_MIXING_REASON_INTERRUPTED_EOF
@ AUDIO_MIXING_REASON_INTERRUPTED_EOF
Definition: IAgoraRtcEngine.h:87
agora::rtc::DIRECT_CDN_STREAMING_STATE
DIRECT_CDN_STREAMING_STATE
Definition: IAgoraRtcEngine.h:3123
agora::rtc::IRtcEngine::setAudioMixingPosition
virtual int setAudioMixingPosition(int pos)=0
agora::rtc::PRIORITY_NORMAL
@ PRIORITY_NORMAL
Definition: IAgoraRtcEngine.h:242
agora::rtc::ScreenCaptureConfiguration::displayId
uint32_t displayId
Definition: IAgoraRtcEngine.h:688
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_5
@ VIDEO_PROFILE_PORTRAIT_720P_5
Definition: IAgoraRtcEngine.h:8110
agora::rtc::ChannelMediaOptions::enableAudioRecordingOrPlayout
Optional< bool > enableAudioRecordingOrPlayout
Definition: IAgoraRtcEngine.h:1004
agora::rtc::IRtcEngineEventHandler::onVideoPublishStateChanged
virtual void onVideoPublishStateChanged(VIDEO_SOURCE_TYPE source, const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2692
agora::rtc::RemoteVideoStats::receivedBitrate
int receivedBitrate
Definition: IAgoraRtcEngine.h:359
agora::rtc::IRtcEngine::updateScreenCaptureRegion
virtual int updateScreenCaptureRegion(const Rectangle &regionRect)=0
agora::rtc::IMetadataObserver::MAX_METADATA_SIZE_TYPE
MAX_METADATA_SIZE_TYPE
Definition: IAgoraRtcEngine.h:3041
agora::rtc::IRtcEngine::enableVideoImageSource
virtual int enableVideoImageSource(bool enable, const ImageTrackOptions &options)=0
enable or disable video image source to replace the current video source published or resume it
agora::rtc::IRtcEngineEventHandler::onFirstRemoteVideoFrame
virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed)
Definition: IAgoraRtcEngine.h:1745
agora::rtc::QUALITY_REPORT_HTML
@ QUALITY_REPORT_HTML
Definition: IAgoraRtcEngine.h:7964
agora::rtc::LocalVideoStats::encoderOutputFrameRate
int encoderOutputFrameRate
Definition: IAgoraRtcEngine.h:284
agora::rtc::IRtcEngine::unregisterAudioSpectrumObserver
virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::PublisherConfiguration::PublisherConfiguration
PublisherConfiguration()
Definition: IAgoraRtcEngine.h:605
agora::rtc::IRtcEngine::setupRemoteVideo
virtual int setupRemoteVideo(const VideoCanvas &canvas)=0
agora::rtc::IRtcEngineEventHandler::onLastmileProbeResult
virtual void onLastmileProbeResult(const LastmileProbeResult &result)
Definition: IAgoraRtcEngine.h:1429
agora::rtc::IVideoDeviceManager::startDeviceTest
virtual int startDeviceTest(view_t hwnd)=0
agora::rtc::IRtcEngine::setLocalVideoMirrorMode
virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::LICENSE_ERROR_TYPE
LICENSE_ERROR_TYPE
Definition: AgoraBase.h:743
agora::rtc::AUDIO_MIXING_REASON_TYPE
AUDIO_MIXING_REASON_TYPE
Definition: IAgoraRtcEngine.h:81
agora::rtc::LogUploadServerInfo::serverPath
const char * serverPath
Definition: IAgoraRtcEngine.h:1256
agora::rtc::CameraCapturerConfiguration::cameraDirection
CAMERA_DIRECTION cameraDirection
Definition: IAgoraRtcEngine.h:659
agora::rtc::RTMP_STREAM_LIFE_CYCLE_BIND2OWNER
@ RTMP_STREAM_LIFE_CYCLE_BIND2OWNER
Definition: IAgoraRtcEngine.h:548
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_10
@ VIDEO_PROFILE_PORTRAIT_480P_10
Definition: IAgoraRtcEngine.h:8104
agora::rtc::IRtcEngineEventHandler::onConnectionLost
virtual void onConnectionLost()
Definition: IAgoraRtcEngine.h:2058
agora::rtc::PublisherConfiguration::owner
bool owner
Definition: IAgoraRtcEngine.h:583
agora::rtc::IRtcEngine::setCameraExposurePosition
virtual int setCameraExposurePosition(float positionXinView, float positionYinView)=0
agora::rtc::IRtcEngine::setInEarMonitoringVolume
virtual int setInEarMonitoringVolume(int volume)=0
agora::rtc::ScreenCaptureSourceInfo::primaryMonitor
bool primaryMonitor
Definition: IAgoraRtcEngine.h:804
agora::rtc::IRtcEngine::setDefaultMuteAllRemoteVideoStreams
virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) __deprecated=0
agora::rtc::IRtcEngine::enableSoundPositionIndication
virtual int enableSoundPositionIndication(bool enabled)=0
agora::rtc::VideoCompositingLayout::regions
const Region * regions
Definition: IAgoraRtcEngine.h:471
agora::rtc::ChannelMediaOptions::publishMediaPlayerVideoTrack
Optional< bool > publishMediaPlayerVideoTrack
Definition: IAgoraRtcEngine.h:980
agora::rtc::INJECT_STREAM_STATUS_STOP_SUCCESS
@ INJECT_STREAM_STATUS_STOP_SUCCESS
Definition: IAgoraRtcEngine.h:125
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P_5
@ VIDEO_PROFILE_PORTRAIT_1080P_5
Definition: IAgoraRtcEngine.h:8118
agora::rtc::IRtcEngine::stopPreview
virtual int stopPreview()=0
agora::rtc::MEDIA_DEVICE_STATE_NOT_PRESENT
@ MEDIA_DEVICE_STATE_NOT_PRESENT
Definition: IAgoraRtcEngine.h:7980
agora::rtc::RemoteVideoStats::mosValue
int mosValue
Definition: IAgoraRtcEngine.h:411
agora::rtc::MEDIA_DEVICE_STATE_ACTIVE
@ MEDIA_DEVICE_STATE_ACTIVE
Definition: IAgoraRtcEngine.h:7974
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_8
@ VIDEO_PROFILE_PORTRAIT_480P_8
Definition: IAgoraRtcEngine.h:8100
agora::rtc::IRtcEngine::destroyCustomEncodedVideoTrack
virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id)=0
agora::rtc::DirectCdnStreamingMediaOptions::customVideoTrackId
Optional< video_track_id_t > customVideoTrackId
Definition: IAgoraRtcEngine.h:3234
agora::rtc::IRtcEngineEventHandler::onVideoSizeChanged
virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation)
Definition: IAgoraRtcEngine.h:1681
agora::rtc::IRtcEngine::muteRecordingSignal
virtual int muteRecordingSignal(bool mute)=0
agora::rtc::IRtcEngineEventHandler::onLocalUserRegistered
virtual void onLocalUserRegistered(uid_t uid, const char *userAccount)
Definition: IAgoraRtcEngine.h:2605
agora::rtc::LocalVideoStats::encodedFrameWidth
int encodedFrameWidth
Definition: IAgoraRtcEngine.h:287
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P_3
@ VIDEO_PROFILE_LANDSCAPE_180P_3
Definition: IAgoraRtcEngine.h:7994
agora::rtc::AUDIO_APPLICATION_PLAYOUT_DEVICE
@ AUDIO_APPLICATION_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:60
agora::rtc::USER_OFFLINE_REASON_TYPE
USER_OFFLINE_REASON_TYPE
Definition: AgoraBase.h:833
agora::rtc::INJECT_STREAM_STATUS_START_ALREADY_EXISTS
@ INJECT_STREAM_STATUS_START_ALREADY_EXISTS
Definition: IAgoraRtcEngine.h:109
agora::rtc::AdvancedAudioOptions::~AdvancedAudioOptions
~AdvancedAudioOptions()
Definition: IAgoraRtcEngine.h:860
agora::rtc::IRtcEngine::setVoiceBeautifierParameters
virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2)=0
agora::rtc::IRtcEngine::muteRemoteAudioStream
virtual int muteRemoteAudioStream(uid_t uid, bool mute)=0
agora::rtc::AUDIO_REVERB_DRY_LEVEL
@ AUDIO_REVERB_DRY_LEVEL
Definition: IAgoraRtcEngine.h:201
agora::rtc::IRtcEngine::setVideoDenoiserOptions
virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::IRtcEngineEventHandler::onSnapshotTaken
virtual void onSnapshotTaken(uid_t uid, const char *filePath, int width, int height, int errCode)
Definition: IAgoraRtcEngine.h:2277
agora::rtc::ThumbImageBuffer::ThumbImageBuffer
ThumbImageBuffer()
Definition: IAgoraRtcEngine.h:754
agora::rtc::SIZE
Definition: IAgoraRtcEngine.h:718
agora::rtc::INJECT_STREAM_STATUS_STOP_NOT_FOUND
@ INJECT_STREAM_STATUS_STOP_NOT_FOUND
Definition: IAgoraRtcEngine.h:129
agora::rtc::IRtcEngine::destroyCustomVideoTrack
virtual int destroyCustomVideoTrack(video_track_id_t video_track_id)=0
agora::rtc::MEDIA_DEVICE_STATE_UNPLUGGED
@ MEDIA_DEVICE_STATE_UNPLUGGED
Definition: IAgoraRtcEngine.h:7983
agora::rtc::IRtcEngine::setVoiceConversionParameters
virtual int setVoiceConversionParameters(VOICE_CONVERSION_PRESET preset, int param1, int param2)=0
agora::rtc::IScreenCaptureSourceList::release
virtual void release()=0
agora::rtc::IRtcEngine::adjustAudioMixingVolume
virtual int adjustAudioMixingVolume(int volume)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P
@ VIDEO_PROFILE_PORTRAIT_240P
Definition: IAgoraRtcEngine.h:8068
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_9
@ VIDEO_PROFILE_LANDSCAPE_360P_9
Definition: IAgoraRtcEngine.h:8016
agora::rtc::WatermarkOptions
Definition: AgoraBase.h:1987
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1440P_2
@ VIDEO_PROFILE_LANDSCAPE_1440P_2
Definition: IAgoraRtcEngine.h:8052
agora::rtc::PERMISSION_TYPE
PERMISSION_TYPE
Definition: AgoraBase.h:5467
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_9
@ VIDEO_PROFILE_PORTRAIT_480P_9
Definition: IAgoraRtcEngine.h:8102
agora::rtc::DIRECT_CDN_STREAMING_STATE_FAILED
@ DIRECT_CDN_STREAMING_STATE_FAILED
Definition: IAgoraRtcEngine.h:3131
agora::rtc::LogUploadServerInfo::serverPort
int serverPort
Definition: IAgoraRtcEngine.h:1259
agora::rtc::IRtcEngineEventHandler::onAudioDeviceVolumeChanged
virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted)
Definition: IAgoraRtcEngine.h:2314
agora::rtc::IRtcEngine::leaveChannel
virtual int leaveChannel()=0
agora::rtc::IRtcEngine::setAudioScenario
virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario)=0
agora::rtc::IRtcEngine::setClientRole
virtual int setClientRole(CLIENT_ROLE_TYPE role)=0
agora::rtc::IRtcEngineEventHandler::onClientRoleChanged
virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole, const ClientRoleOptions &newRoleOptions)
Definition: IAgoraRtcEngine.h:2291
agora::rtc::IRtcEngineEventHandler::onExtensionError
virtual void onExtensionError(const char *provider, const char *extension, int error, const char *message)
Definition: IAgoraRtcEngine.h:2750
agora::rtc::RemoteVideoStats::width
int width
Definition: IAgoraRtcEngine.h:351
agora::rtc::RtcEngineContext::audioScenario
AUDIO_SCENARIO_TYPE audioScenario
Definition: IAgoraRtcEngine.h:2962
agora::rtc::RemoteVideoStats::rendererOutputFrameRate
int rendererOutputFrameRate
Definition: IAgoraRtcEngine.h:365
agora::rtc::CameraCapturerConfiguration::CameraCapturerConfiguration
CameraCapturerConfiguration()
Definition: IAgoraRtcEngine.h:667
agora::rtc::IRtcEngine::setVoiceBeautifierPreset
virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset)=0
agora::rtc::IRtcEngine::rate
virtual int rate(const char *callId, int rating, const char *description)=0
agora::rtc::LocalVideoStats::targetBitrate
int targetBitrate
Definition: IAgoraRtcEngine.h:296
agora::rtc::ChannelMediaOptions::publishSecondaryScreenTrack
Optional< bool > publishSecondaryScreenTrack
Definition: IAgoraRtcEngine.h:923
agora::rtc::IRtcEngine::loadExtensionProvider
virtual int loadExtensionProvider(const char *path, bool unload_after_use=false)=0
agora::rtc::CAMERA_REAR
@ CAMERA_REAR
Definition: IAgoraRtcEngine.h:630
agora::rtc::IRtcEngine::isCameraFaceDetectSupported
virtual bool isCameraFaceDetectSupported()=0
agora::rtc::IRtcEngine::getCallId
virtual int getCallId(agora::util::AString &callId)=0
agora::rtc::VIDEO_CAPTURE_DEVICE
@ VIDEO_CAPTURE_DEVICE
Definition: IAgoraRtcEngine.h:56
agora::rtc::IRtcEngine::isCameraAutoFocusFaceModeSupported
virtual bool isCameraAutoFocusFaceModeSupported()=0
agora::rtc::PROXY_TYPE
PROXY_TYPE
Definition: IAgoraRtcEngine.h:1232
agora::rtc::IMetadataObserver::MAX_METADATA_SIZE_IN_BYTE
@ MAX_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:3044
agora::rtc::InjectStreamConfig
Definition: IAgoraRtcEngine.h:494
agora::rtc::IRtcEngine::uploadLogFile
virtual int uploadLogFile(agora::util::AString &requestId)=0
agora::rtc::IRtcEngineEventHandler::~IRtcEngineEventHandler
virtual ~IRtcEngineEventHandler()
Definition: IAgoraRtcEngine.h:1341
agora::rtc::CameraCapturerConfiguration::format
VideoFormat format
Definition: IAgoraRtcEngine.h:665
agora::rtc::LocalVideoStats::encodedFrameCount
int encodedFrameCount
Definition: IAgoraRtcEngine.h:310
agora::rtc::PublisherConfiguration::bitrate
int bitrate
Definition: IAgoraRtcEngine.h:569
agora::rtc::LocalVideoStats::regulatedCaptureFrameRate
int regulatedCaptureFrameRate
Definition: IAgoraRtcEngine.h:273
agora::rtc::IRtcEngine::enableWirelessAccelerate
virtual int enableWirelessAccelerate(bool enabled)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_120P
@ VIDEO_PROFILE_LANDSCAPE_120P
Definition: IAgoraRtcEngine.h:7988
agora::rtc::IRtcEngine::createCustomEncodedVideoTrack
virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions &sender_option)=0
agora::rtc::AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
@ AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
Definition: IAgoraRtcEngine.h:85
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition: AgoraBase.h:1494
agora::rtc::DIRECT_CDN_STREAMING_STATE_IDLE
@ DIRECT_CDN_STREAMING_STATE_IDLE
Definition: IAgoraRtcEngine.h:3125
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P_5
@ VIDEO_PROFILE_LANDSCAPE_1080P_5
Definition: IAgoraRtcEngine.h:8048
agora::rtc::IRtcEngine::unloadAllEffects
virtual int unloadAllEffects()=0
agora::rtc::RtcEngineContext::RtcEngineContext
RtcEngineContext()
Definition: IAgoraRtcEngine.h:3011
agora::rtc::ChannelMediaOptions
Definition: IAgoraRtcEngine.h:878
agora::rtc::IRtcEngine
Definition: IAgoraRtcEngine.h:3339
agora::rtc::AUDIO_MIXING_REASON_CAN_NOT_OPEN
@ AUDIO_MIXING_REASON_CAN_NOT_OPEN
Definition: IAgoraRtcEngine.h:83
agora::rtc::INJECT_STREAM_STATUS
INJECT_STREAM_STATUS
Definition: IAgoraRtcEngine.h:101
agora::rtc::IRtcEngine::enableLoopbackRecording
virtual int enableLoopbackRecording(bool enabled, const char *deviceName=NULL)=0
agora::rtc::IRtcEngineEventHandler::onActiveSpeaker
virtual void onActiveSpeaker(uid_t userId)
Definition: IAgoraRtcEngine.h:2254
agora::rtc::AUDIO_EQUALIZATION_BAND_FREQUENCY
AUDIO_EQUALIZATION_BAND_FREQUENCY
Definition: IAgoraRtcEngine.h:151
agora::rtc::ScreenCaptureConfiguration
Definition: IAgoraRtcEngine.h:678
agora::rtc::IRtcEngine::setAudioMixingDualMonoMode
virtual int setAudioMixingDualMonoMode(media::AUDIO_MIXING_DUAL_MONO_MODE mode)=0
agora::rtc::ChannelMediaOptions::autoSubscribeVideo
Optional< bool > autoSubscribeVideo
Definition: IAgoraRtcEngine.h:998
agora::rtc::VOICE_BEAUTIFIER_PRESET
VOICE_BEAUTIFIER_PRESET
Definition: AgoraBase.h:4470
agora::rtc::DirectCdnStreamingMediaOptions::~DirectCdnStreamingMediaOptions
~DirectCdnStreamingMediaOptions()
Definition: IAgoraRtcEngine.h:3237
agora::rtc::VIDEO_MIRROR_MODE_DISABLED
@ VIDEO_MIRROR_MODE_DISABLED
Definition: AgoraBase.h:1694
agora::rtc::UPLOAD_ERROR_REASON
UPLOAD_ERROR_REASON
Definition: AgoraBase.h:5459
agora::rtc::IRtcEngine::getEffectCurrentPosition
virtual int getEffectCurrentPosition(int soundId)=0
agora::rtc::ChannelMediaOptions::publishMicrophoneTrack
Optional< bool > publishMicrophoneTrack
Definition: IAgoraRtcEngine.h:896
agora::rtc::IRtcEngine::resumeAudio
virtual int resumeAudio() __deprecated=0
agora::rtc::IRtcEngine::muteLocalAudioStream
virtual int muteLocalAudioStream(bool mute)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_3
@ VIDEO_PROFILE_LANDSCAPE_480P_3
Definition: IAgoraRtcEngine.h:8024
agora::rtc::IRtcEngine::joinChannelWithUserAccount
virtual int joinChannelWithUserAccount(const char *token, const char *channelId, const char *userAccount)=0
agora::rtc::IRtcEngine::setChannelProfile
virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile)=0
agora::rtc::SIZE::SIZE
SIZE()
Definition: IAgoraRtcEngine.h:726
agora::rtc::RemoteVideoStats::frameLossRate
int frameLossRate
Definition: IAgoraRtcEngine.h:368
agora::rtc::IRtcEngine::updateDirectCdnStreamingMediaOptions
virtual int updateDirectCdnStreamingMediaOptions(const DirectCdnStreamingMediaOptions &options)=0
agora::rtc::IRtcEngine::setLocalVoicePitch
virtual int setLocalVoicePitch(double pitch)=0
agora::rtc::RemoteVideoStats::height
int height
Definition: IAgoraRtcEngine.h:355
agora::rtc::LocalVideoStats::captureFrameWidth
int captureFrameWidth
Definition: IAgoraRtcEngine.h:266
agora::rtc::IRtcEngine::setScreenCaptureContentHint
virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint)=0
agora::rtc::IRtcEngine::setAudioEffectPreset
virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset)=0
agora::rtc::IRtcEngineEventHandler::onExtensionEvent
virtual void onExtensionEvent(const char *provider, const char *extension, const char *key, const char *value)
Definition: IAgoraRtcEngine.h:2709
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P
@ VIDEO_PROFILE_LANDSCAPE_480P
Definition: IAgoraRtcEngine.h:8022
agora::rtc::AUDIO_SAMPLE_RATE_TYPE
AUDIO_SAMPLE_RATE_TYPE
Definition: AgoraBase.h:3240
agora::rtc::MEDIA_DEVICE_STATE_IDLE
@ MEDIA_DEVICE_STATE_IDLE
Definition: IAgoraRtcEngine.h:7971
agora::rtc::IRtcEngine::updateScreenCaptureParameters
virtual int updateScreenCaptureParameters(const ScreenCaptureParameters &captureParams)=0
agora::rtc::RtcEngineContext::useExternalEglContext
bool useExternalEglContext
Definition: IAgoraRtcEngine.h:3002
agora::rtc::IRtcEngine::preloadEffect
virtual int preloadEffect(int soundId, const char *filePath, int startPos=0)=0
agora::rtc::IRtcEngine::stopEchoTest
virtual int stopEchoTest()=0
agora::rtc::IRtcEngine::startAudioRecording
virtual int startAudioRecording(const char *filePath, AUDIO_RECORDING_QUALITY_TYPE quality)=0
agora::rtc::IRtcEngine::enableRemoteSuperResolution
virtual int enableRemoteSuperResolution(uid_t userId, bool enable)=0
agora::rtc::IRtcEngine::setLocalVoiceEqualization
virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain)=0
agora::rtc::LocalOnly
@ LocalOnly
Definition: IAgoraRtcEngine.h:1229
agora::rtc::DirectCdnStreamingMediaOptions::publishMediaPlayerAudioTrack
Optional< bool > publishMediaPlayerAudioTrack
Definition: IAgoraRtcEngine.h:3224
agora::util::CopyableAutoPtr
Definition: AgoraBase.h:153
agora::rtc::IRtcEngine::getCameraMaxZoomFactor
virtual float getCameraMaxZoomFactor()=0
agora::rtc::AudioTrackConfig
Definition: IAgoraRtcEngine.h:621
agora::rtc::IRtcEngine::getNetworkType
virtual int getNetworkType()=0
agora::rtc::AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
@ AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
Definition: IAgoraRtcEngine.h:91
agora::rtc::IRtcEngine::stopPrimaryCameraCapture
virtual int stopPrimaryCameraCapture()=0
agora::rtc::LocalAccessPointConfiguration::ipListSize
int ipListSize
Definition: IAgoraRtcEngine.h:1283
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P
@ VIDEO_PROFILE_LANDSCAPE_720P
Definition: IAgoraRtcEngine.h:8036
agora::rtc::InjectStreamConfig::audioSampleRate
AUDIO_SAMPLE_RATE_TYPE audioSampleRate
Definition: IAgoraRtcEngine.h:518
agora::rtc::IRtcEngineEventHandler::onConnectionInterrupted
virtual void onConnectionInterrupted()
Definition: IAgoraRtcEngine.h:2071
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_8
@ VIDEO_PROFILE_LANDSCAPE_480P_8
Definition: IAgoraRtcEngine.h:8030
agora::rtc::PublisherConfiguration::framerate
int framerate
Definition: IAgoraRtcEngine.h:565
agora::rtc::IRtcEngine::resumeEffect
virtual int resumeEffect(int soundId)=0
agora::rtc::PublisherConfiguration::injectStreamUrl
const char * injectStreamUrl
Definition: IAgoraRtcEngine.h:592
agora::rtc::ChannelMediaOptions::publishScreenTrack
Optional< bool > publishScreenTrack
Definition: IAgoraRtcEngine.h:917
agora::rtc::IRtcEngineEventHandler::onApiCallExecuted
virtual void onApiCallExecuted(int err, const char *api, const char *result) __deprecated
Definition: IAgoraRtcEngine.h:1882
agora::rtc::AUDIO_EQUALIZATION_BAND_2K
@ AUDIO_EQUALIZATION_BAND_2K
Definition: IAgoraRtcEngine.h:179
agora::rtc::IRtcEngineEventHandler::onAudioRoutingChanged
virtual void onAudioRoutingChanged(int routing)
Definition: IAgoraRtcEngine.h:2373
agora::rtc::IRtcEngine::playEffect
virtual int playEffect(int soundId, const char *filePath, int loopCount, double pitch, double pan, int gain, bool publish=false, int startPos=0)=0
agora::rtc::InjectStreamConfig::videoBitrate
int videoBitrate
Definition: IAgoraRtcEngine.h:514
agora::rtc::IScreenCaptureSourceList::getSourceInfo
virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_4K
@ VIDEO_PROFILE_LANDSCAPE_4K
Definition: IAgoraRtcEngine.h:8054
agora::rtc::LocalVideoStats::captureBrightnessLevel
CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel
Definition: IAgoraRtcEngine.h:320
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P
@ VIDEO_PROFILE_LANDSCAPE_240P
Definition: IAgoraRtcEngine.h:7998
agora::rtc::IRtcEngine::enableVideo
virtual int enableVideo()=0
agora::rtc::LOCAL_AUDIO_STREAM_STATE
LOCAL_AUDIO_STREAM_STATE
Definition: AgoraBase.h:2681
agora::rtc::VIDEO_PROFILE_PORTRAIT_4K
@ VIDEO_PROFILE_PORTRAIT_4K
Definition: IAgoraRtcEngine.h:8124
agora::rtc::IRtcEngine::setRemoteUserSpatialAudioParams
virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams &params)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_1K
@ AUDIO_EQUALIZATION_BAND_1K
Definition: IAgoraRtcEngine.h:175
agora::rtc::IRtcEngine::enableDualStreamMode
virtual int enableDualStreamMode(bool enabled)=0
agora::rtc::INJECT_STREAM_STATUS_STOP_FAILED
@ INJECT_STREAM_STATUS_STOP_FAILED
Definition: IAgoraRtcEngine.h:141
agora::rtc::video_track_id_t
unsigned int video_track_id_t
Definition: AgoraMediaBase.h:32
agora::rtc::IRtcEngine::setHeadphoneEQParameters
virtual int setHeadphoneEQParameters(int lowGain, int highGain)=0
agora::rtc::LocalAccessPointConfiguration::domainList
const char ** domainList
Definition: IAgoraRtcEngine.h:1286
agora::rtc::ScreenCaptureSourceType
ScreenCaptureSourceType
Definition: IAgoraRtcEngine.h:759
agora::rtc::IMetadataObserver::UNKNOWN_METADATA
@ UNKNOWN_METADATA
Definition: IAgoraRtcEngine.h:3032
agora::rtc::IRtcEngineEventHandler::onFirstLocalVideoFramePublished
virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed)
Definition: IAgoraRtcEngine.h:1645
agora::rtc::LOCAL_PROXY_TYPE
@ LOCAL_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1244
agora::rtc::IRtcEngine::startEchoTest
virtual int startEchoTest()=0
agora::rtc::VIDEO_CONTENT_HINT
VIDEO_CONTENT_HINT
Definition: AgoraBase.h:2612
agora::rtc::IRtcEngine::updateChannelMediaOptions
virtual int updateChannelMediaOptions(const ChannelMediaOptions &options)=0
agora::rtc::IDirectCdnStreamingEventHandler::onDirectCdnStreamingStats
virtual void onDirectCdnStreamingStats(const DirectCdnStreamingStats &stats)
Definition: IAgoraRtcEngine.h:3186
agora::rtc::ChannelMediaOptions::audioDelayMs
Optional< int > audioDelayMs
Definition: IAgoraRtcEngine.h:1032
agora::rtc::IRtcEngine::adjustCustomAudioPlayoutVolume
virtual int adjustCustomAudioPlayoutVolume(int32_t sourceId, int volume)=0
agora::rtc::IRtcEngine::initialize
virtual int initialize(const RtcEngineContext &context)=0
agora::rtc::CLIENT_ROLE_CHANGE_FAILED_REASON
CLIENT_ROLE_CHANGE_FAILED_REASON
Definition: AgoraBase.h:4044
agora::rtc::VIDEO_PROFILE_PORTRAIT_120P
@ VIDEO_PROFILE_PORTRAIT_120P
Definition: IAgoraRtcEngine.h:8058
agora::rtc::IRtcEngineEventHandler::onNetworkQuality
virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality)
Definition: IAgoraRtcEngine.h:1565
agora::rtc::IRtcEngine::resumeAudioMixing
virtual int resumeAudioMixing()=0
agora::rtc::uid_t
unsigned int uid_t
Definition: AgoraMediaBase.h:29
agora::rtc::ImageTrackOptions
Definition: IAgoraRtcEngine.h:863
agora::rtc::INJECT_STREAM_STATUS_START_TIMEDOUT
@ INJECT_STREAM_STATUS_START_TIMEDOUT
Definition: IAgoraRtcEngine.h:117
agora::rtc::IRtcEngine::unloadEffect
virtual int unloadEffect(int soundId)=0
agora::rtc::VideoCompositingLayout::Region
Definition: IAgoraRtcEngine.h:415
agora::rtc::IRtcEngine::stopRhythmPlayer
virtual int stopRhythmPlayer()=0
agora::rtc::IRtcEngine::getAudioMixingPlayoutVolume
virtual int getAudioMixingPlayoutVolume()=0
agora::rtc::IRtcEngine::startLastmileProbeTest
virtual int startLastmileProbeTest(const LastmileProbeConfig &config)=0
agora::rtc::IRtcEngineEventHandler::onVideoSubscribeStateChanged
virtual void onVideoSubscribeStateChanged(const char *channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2660
agora::rtc::IRtcEngine::getExtensionProperty
virtual int getExtensionProperty(const char *provider, const char *extension, const char *key, char *value, int buf_len, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
@ AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
Definition: IAgoraRtcEngine.h:89
agora::rtc::IRtcEngine::adjustPlaybackSignalVolume
virtual int adjustPlaybackSignalVolume(int volume)=0
agora::rtc::IRtcEngineEventHandler::onRemoteVideoStateChanged
virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed)
Definition: IAgoraRtcEngine.h:1731
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2282
agora::rtc::IRtcEngine::setExtensionProviderProperty
virtual int setExtensionProviderProperty(const char *provider, const char *key, const char *value)=0
agora::rtc::INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
@ INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
Definition: IAgoraRtcEngine.h:133
agora::rtc::PublisherConfiguration::injectStreamWidth
int injectStreamWidth
Definition: IAgoraRtcEngine.h:586
agora::rtc::ChannelMediaOptions::publishScreenCaptureVideo
Optional< bool > publishScreenCaptureVideo
Definition: IAgoraRtcEngine.h:904
agora::rtc::IRtcEngineEventHandler::onCameraReady
virtual void onCameraReady()
Definition: IAgoraRtcEngine.h:1944
agora::rtc::RemoteVideoStats::rxStreamType
VIDEO_STREAM_TYPE rxStreamType
Definition: IAgoraRtcEngine.h:375
agora::rtc::IRtcEngine::enableAudio
virtual int enableAudio()=0
agora::rtc::IVideoDeviceManager::stopDeviceTest
virtual int stopDeviceTest()=0
agora::rtc::IMetadataObserver::Metadata::uid
unsigned int uid
Definition: IAgoraRtcEngine.h:3055
agora::rtc::IRtcEngine::disableVideo
virtual int disableVideo()=0
agora::rtc::ChannelMediaOptions::~ChannelMediaOptions
~ChannelMediaOptions()
Definition: IAgoraRtcEngine.h:1082
agora::rtc::ENCRYPTION_ERROR_TYPE
ENCRYPTION_ERROR_TYPE
Definition: AgoraBase.h:5443
agora::rtc::InjectStreamConfig::videoGop
int videoGop
Definition: IAgoraRtcEngine.h:506
agora::rtc::ChannelMediaOptions::isInteractiveAudience
Optional< bool > isInteractiveAudience
Definition: IAgoraRtcEngine.h:1068
agora::SpatialAudioParams
Definition: AgoraBase.h:5774
agora::media::MEDIA_SOURCE_TYPE
MEDIA_SOURCE_TYPE
Definition: AgoraMediaBase.h:133
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_4
@ VIDEO_PROFILE_LANDSCAPE_360P_4
Definition: IAgoraRtcEngine.h:8008
agora::rtc::IRtcEngine::setLogFilter
virtual int setLogFilter(unsigned int filter)=0
agora::rtc::IRtcEngine::getLoopbackRecordingVolume
virtual int getLoopbackRecordingVolume()=0
agora::rtc::IRtcEngineEventHandler::onPermissionError
virtual void onPermissionError(PERMISSION_TYPE permissionType)
Definition: IAgoraRtcEngine.h:2592
agora::rtc::IRtcEngineEventHandler::onUploadLogResult
virtual void onUploadLogResult(const char *requestId, bool success, UPLOAD_ERROR_REASON reason)
Definition: IAgoraRtcEngine.h:2628
agora::rtc::IRtcEngine::addVideoWatermark
virtual int addVideoWatermark(const RtcImage &watermark)=0
agora::rtc::LeaveChannelOptions::LeaveChannelOptions
LeaveChannelOptions()
Definition: IAgoraRtcEngine.h:1326
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_10
@ VIDEO_PROFILE_LANDSCAPE_360P_10
Definition: IAgoraRtcEngine.h:8018
agora::rtc::IRtcEngine::setHeadphoneEQPreset
virtual int setHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset)=0
agora::rtc::IRtcEngine::setLocalAccessPoint
virtual int setLocalAccessPoint(const LocalAccessPointConfiguration &config)=0
agora::media::CONTENT_INSPECT_RESULT
CONTENT_INSPECT_RESULT
Definition: AgoraMediaBase.h:194
agora::rtc::IRtcEngineEventHandler::onRemoteVideoTransportStats
virtual void onRemoteVideoTransportStats(uid_t uid, unsigned short delay, unsigned short lost, unsigned short rxKBitRate)
Definition: IAgoraRtcEngine.h:2515
agora::rtc::IRtcEngine::stopSecondaryCustomAudioTrack
virtual int stopSecondaryCustomAudioTrack()=0
agora::rtc::IRtcEngine::createCustomVideoTrack
virtual video_track_id_t createCustomVideoTrack()=0
agora::rtc::SetFrom
static void SetFrom(Optional< T > *s, const Optional< T > &o)
Definition: IAgoraRtcEngine.h:20
agora::rtc::IRtcEngine::disableAudio
virtual int disableAudio()=0
agora::rtc::IRtcEngine::muteAllRemoteAudioStreams
virtual int muteAllRemoteAudioStreams(bool mute)=0
agora::rtc::IRtcEngineEventHandler::onRtcStats
virtual void onRtcStats(const RtcStats &stats)
Definition: IAgoraRtcEngine.h:1483
agora::rtc::IRtcEngineEventHandler::onUserJoined
virtual void onUserJoined(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1771
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P_4
@ VIDEO_PROFILE_LANDSCAPE_240P_4
Definition: IAgoraRtcEngine.h:8002
agora::rtc::AAudioDeviceManager
Definition: IAgoraRtcEngine.h:7943
agora::rtc::STREAM_PUBLISH_STATE
STREAM_PUBLISH_STATE
Definition: AgoraBase.h:5523
agora::rtc::CONNECTION_STATE_TYPE
CONNECTION_STATE_TYPE
Definition: AgoraBase.h:3533
agora::rtc::IRtcEngine::sendCustomReportMessage
virtual int sendCustomReportMessage(const char *id, const char *category, const char *event, const char *label, int value)=0
agora::rtc::ScreenCaptureSourceInfo::ScreenCaptureSourceInfo
ScreenCaptureSourceInfo()
Definition: IAgoraRtcEngine.h:811
agora::rtc::RemoteVideoStats::packetLossRate
int packetLossRate
Definition: IAgoraRtcEngine.h:371
agora::rtc::LocalVideoStats::hwEncoderAccelerating
int hwEncoderAccelerating
Definition: IAgoraRtcEngine.h:329
agora::rtc::DeviceInfo
Definition: AgoraBase.h:3169
agora::base::IEngineBase
Definition: AgoraBase.h:5740
agora::rtc::LocalVideoStats::rendererOutputFrameRate
int rendererOutputFrameRate
Definition: IAgoraRtcEngine.h:293
agora::rtc::ThumbImageBuffer::height
unsigned int height
Definition: IAgoraRtcEngine.h:753
agora::rtc::IRtcEngineEventHandler::onDownlinkNetworkInfoUpdated
virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo &info)
Definition: IAgoraRtcEngine.h:1600
agora::rtc::DirectCdnStreamingMediaOptions::publishCustomAudioTrack
Optional< bool > publishCustomAudioTrack
Definition: IAgoraRtcEngine.h:3212
agora::rtc::IRtcEngineEventHandler::onAudioMixingStateChanged
virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:2032
agora::rtc::LogUploadServerInfo::serverHttps
bool serverHttps
Definition: IAgoraRtcEngine.h:1264
agora::rtc::AGORA_IID_AUDIO_DEVICE_MANAGER
@ AGORA_IID_AUDIO_DEVICE_MANAGER
Definition: AgoraBase.h:851
agora::rtc::IRtcEngineEventHandler::onFirstRemoteAudioFrame
virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:2173
agora::rtc::IRtcEngine::setLocalRenderMode
virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::IRtcEngine::setAudioProfile
virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) __deprecated=0
agora::rtc::RtcEngineContext::areaCode
unsigned int areaCode
Definition: IAgoraRtcEngine.h:2971
agora::rtc::IRtcEngineEventHandler::onLicenseValidationFailure
virtual void onLicenseValidationFailure(LICENSE_ERROR_TYPE error)
Definition: IAgoraRtcEngine.h:2148
agora::rtc::CameraCapturerConfiguration
Definition: IAgoraRtcEngine.h:653
agora::rtc::IMetadataObserver::VIDEO_METADATA
@ VIDEO_METADATA
Definition: IAgoraRtcEngine.h:3035
rtc
Definition: video_node_i.h:25
agora::rtc::IRtcEngine::selectAudioTrack
virtual int selectAudioTrack(int index)=0
agora::rtc::RemoteVideoStats
Definition: IAgoraRtcEngine.h:335
agora::rtc::PublisherConfiguration::injectStreamHeight
int injectStreamHeight
Definition: IAgoraRtcEngine.h:589
agora::Optional
Definition: AgoraOptional.h:52
agora::rtc::LocalAccessPointConfiguration::domainListSize
int domainListSize
Definition: IAgoraRtcEngine.h:1289
agora::rtc::IRtcEngine::joinChannel
virtual int joinChannel(const char *token, const char *channelId, const char *info, uid_t uid)=0
agora::rtc::IMetadataObserver::Metadata::size
unsigned int size
Definition: IAgoraRtcEngine.h:3058
agora::rtc::CAMERA_DIRECTION
CAMERA_DIRECTION
Definition: IAgoraRtcEngine.h:628
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_10
@ VIDEO_PROFILE_PORTRAIT_360P_10
Definition: IAgoraRtcEngine.h:8088
agora::AUDIO_SESSION_OPERATION_RESTRICTION
AUDIO_SESSION_OPERATION_RESTRICTION
Definition: AgoraBase.h:773
agora::rtc::IRtcEngine::setRecordingAudioFrameParameters
virtual int setRecordingAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P_3
@ VIDEO_PROFILE_PORTRAIT_180P_3
Definition: IAgoraRtcEngine.h:8064
agora::rtc::ScreenCaptureConfiguration::screenRect
Rectangle screenRect
Definition: IAgoraRtcEngine.h:693
agora::rtc::LOCAL_AUDIO_STREAM_ERROR
LOCAL_AUDIO_STREAM_ERROR
Definition: AgoraBase.h:2703
agora::rtc::IScreenCaptureSourceList::~IScreenCaptureSourceList
virtual ~IScreenCaptureSourceList()
Definition: IAgoraRtcEngine.h:822
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P
@ VIDEO_PROFILE_LANDSCAPE_1080P
Definition: IAgoraRtcEngine.h:8044
agora::rtc::IRtcEngineEventHandler::onUserEnableLocalVideo
virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) __deprecated
Definition: IAgoraRtcEngine.h:1868
agora::rtc::IVideoDeviceManager::setDevice
virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngineEventHandler::onChannelMediaRelayStateChanged
virtual void onChannelMediaRelayStateChanged(int state, int code)
Definition: IAgoraRtcEngine.h:2407
agora::rtc::IRtcEngine::complain
virtual int complain(const char *callId, const char *description)=0
agora::rtc::IRtcEngine::clearVideoWatermarks
virtual int clearVideoWatermarks()=0
agora::rtc::IRtcEngine::stopAudioRecording
virtual int stopAudioRecording()=0
agora::rtc::SIZE::height
int height
Definition: IAgoraRtcEngine.h:724
agora::rtc::IRtcEngineEventHandler::onAudioPublishStateChanged
virtual void onAudioPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2676
agora::rtc::IMetadataObserver::~IMetadataObserver
virtual ~IMetadataObserver()
Definition: IAgoraRtcEngine.h:3068
agora::rtc::IRtcEngineEventHandler::onFirstRemoteAudioDecoded
virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:2194
agora::rtc::IRtcEngine::setScreenCaptureOrientation
virtual int setScreenCaptureOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation)=0
agora::rtc::VideoCompositingLayout::Region::uid
uid_t uid
Definition: IAgoraRtcEngine.h:418
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_8
@ VIDEO_PROFILE_PORTRAIT_360P_8
Definition: IAgoraRtcEngine.h:8084
agora::rtc::PRIORITY_TYPE
PRIORITY_TYPE
Definition: IAgoraRtcEngine.h:236
agora::rtc::IRtcEngineEventHandler::onConnectionStateChanged
virtual void onConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:2531
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_6
@ VIDEO_PROFILE_LANDSCAPE_480P_6
Definition: IAgoraRtcEngine.h:8028
agora::rtc::PRIORITY_HIGH
@ PRIORITY_HIGH
Definition: IAgoraRtcEngine.h:239
agora::rtc::VideoCompositingLayout::Region::x
double x
Definition: IAgoraRtcEngine.h:421
agora::rtc::IRtcEngineEventHandler::onExtensionStarted
virtual void onExtensionStarted(const char *provider, const char *extension)
Definition: IAgoraRtcEngine.h:2723
agora::CHANNEL_PROFILE_LIVE_BROADCASTING
@ CHANNEL_PROFILE_LIVE_BROADCASTING
Definition: AgoraBase.h:276