Agora RTC Objective-C API Reference  Refactor
IAgoraRtcEngine.h
Go to the documentation of this file.
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 #include "IAgoraH265Transcoder.h"
16 
17 namespace agora {
18 namespace rtc {
19 
20 template <typename T>
21 static void SetFrom(Optional<T>* s, const Optional<T>& o) {
22  if (o) {
23  *s = o;
24  }
25 }
26 
27 template <typename T>
28 static void ReplaceBy(Optional<T>* s, const Optional<T>& o) {
29  *s = o;
30 }
31 
32 //class IAudioDeviceManager;
33 
70 };
71 
85 };
86 
105 };
106 
155 };
156 
201 };
202 
227 };
228 
243 };
244 
252 };
253 
254 struct RtcConnection;
255 
259 {
328  unsigned short txPacketLossRate;
341 };
342 
347 {
355  int quality;
411  int mosValue;
420  uint32_t plcCount;
421 
442  unsigned int rxAudioBytes;
443 
445  uid(0),
446  quality(0),
449  audioLossRate(0),
450  numChannels(0),
452  receivedBitrate(0),
453  totalFrozenTime(0),
454  frozenRate(0),
455  mosValue(0),
457  plcCount(0),
458  totalActiveTime(0),
459  publishDuration(0),
460  qoeQuality(0),
462  rxAudioBytes(0) {}
463 };
464 
484  int e2eDelay;
488  int width;
492  int height;
544  int mosValue;
548  unsigned int rxVideoBytes;
549 };
550 
552  struct Region {
558  double x; // [0,1]
561  double y; // [0,1]
565  double width; // [0,1]
567  double height; // [0,1]
571  int zOrder; // optional, [0, 100] //0 (default): bottom most, 100: top most
572 
576  double alpha;
577 
579  renderMode; // RENDER_MODE_HIDDEN: Crop, RENDER_MODE_FIT: Zoom to fit
580 
582  : uid(0),
583  x(0),
584  y(0),
585  width(0),
586  height(0),
587  zOrder(0),
588  alpha(1.0),
589  renderMode(media::base::RENDER_MODE_HIDDEN) {}
590  };
591 
604  const char* backgroundColor; // e.g. "#C0C0C0" in RGB
608  const Region* regions;
614  const char* appData;
618 
620  : canvasWidth(0),
621  canvasHeight(0),
622  backgroundColor(NULL),
623  regions(NULL),
624  regionCount(0),
625  appData(NULL),
626  appDataLength(0) {}
627 };
628 
635  int width;
639  int height;
643  int videoGop;
663 
664  // width / height default set to 0 means pull the stream with its original
665  // resolution
667  : width(0),
668  height(0),
669  videoGop(30),
670  videoFramerate(15),
671  videoBitrate(400),
673  audioBitrate(48),
674  audioChannels(1) {}
675 };
676 
686 };
687 
694  int width;
698  int height;
706  int bitrate;
720  bool owner;
729  const char* injectStreamUrl;
733  const char* publishUrl;
737  const char* rawStreamUrl;
740  const char* extraInfo;
741 
743  : width(640),
744  height(360),
745  framerate(15),
746  bitrate(500),
747  defaultLayout(1),
749  owner(true),
752  injectStreamUrl(NULL),
753  publishUrl(NULL),
754  rawStreamUrl(NULL),
755  extraInfo(NULL) {}
756 };
757 
766 };
767 
780 
782  TCP_PROXY = 2,
784 };
785 
789 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
790 
793  CAMERA_DIRECTION cameraDirection;
794 #else
795 
796  char deviceId[MAX_DEVICE_ID_LENGTH];
797 #endif
798 
802 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
803  cameraDirection = CAMERA_REAR;
804 #else
805  memset(deviceId, 0, sizeof(deviceId));
806 #endif
807  }
808 };
818  bool isCaptureWindow; // true - capture window, false - capture display
822  uint32_t displayId;
827  Rectangle screenRect; //Windows only
845 
847 };
848 
849 #if (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
850 
852 struct SIZE {
855  int width;
858  int height;
859 
860  SIZE() : width(0), height(0) {}
861  SIZE(int ww, int hh) : width(ww), height(hh) {}
862 };
863 #endif
864 
865 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
866 
871 struct ThumbImageBuffer {
875  const char* buffer;
879  unsigned int length;
883  unsigned int width;
887  unsigned int height;
888  ThumbImageBuffer() : buffer(nullptr), length(0), width(0), height(0) {}
889 };
893 enum ScreenCaptureSourceType {
895  ScreenCaptureSourceType_Unknown = -1,
897  ScreenCaptureSourceType_Window = 0,
899  ScreenCaptureSourceType_Screen = 1,
901  ScreenCaptureSourceType_Custom = 2,
902 };
904 struct ScreenCaptureSourceInfo {
908  ScreenCaptureSourceType type;
912  view_t sourceId;
916  const char* sourceName;
920  ThumbImageBuffer thumbImage;
924  ThumbImageBuffer iconImage;
928  const char* processPath;
932  const char* sourceTitle;
938  bool primaryMonitor;
939  bool isOccluded;
943  Rectangle position;
944 #if defined(_WIN32)
945 
948  bool minimizeWindow;
955  view_t sourceDisplayId;
956  ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(nullptr), sourceName(nullptr),
957  processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false), minimizeWindow(false), sourceDisplayId((view_t)-2) {}
958 #else
959  ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(nullptr), sourceName(nullptr), processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false) {}
960 #endif
961 };
965 class IScreenCaptureSourceList {
966  protected:
967  virtual ~IScreenCaptureSourceList(){};
968 
969  public:
975  virtual unsigned int getCount() = 0;
985  virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0;
992  virtual void release() = 0;
993 };
994 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
995 
1003 
1006 };
1007 
1009  const char* imageUrl;
1010  int fps;
1013 };
1014 
1054 
1055  #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1056 
1068  #else
1069 
1074  Optional<bool> publishScreenTrack;
1080  Optional<bool> publishSecondaryScreenTrack;
1086  Optional<bool> publishThirdScreenTrack;
1092  Optional<bool> publishFourthScreenTrack;
1093  #endif
1094 
1228 
1231 
1232  void SetAll(const ChannelMediaOptions& change) {
1233 #define SET_FROM(X) SetFrom(&X, change.X)
1234 
1240 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1243 #else
1244  SET_FROM(publishScreenTrack);
1245  SET_FROM(publishSecondaryScreenTrack);
1246  SET_FROM(publishThirdScreenTrack);
1247  SET_FROM(publishFourthScreenTrack);
1248 #endif
1266  SET_FROM(token);
1272 #undef SET_FROM
1273  }
1274 
1275  bool operator==(const ChannelMediaOptions& o) const {
1276 #define BEGIN_COMPARE() bool b = true
1277 #define ADD_COMPARE(X) b = (b && (X == o.X))
1278 #define END_COMPARE()
1279 
1280  BEGIN_COMPARE();
1286 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1289 #else
1290  ADD_COMPARE(publishScreenTrack);
1291  ADD_COMPARE(publishSecondaryScreenTrack);
1292  ADD_COMPARE(publishThirdScreenTrack);
1293  ADD_COMPARE(publishFourthScreenTrack);
1294 #endif
1312  ADD_COMPARE(token);
1318  END_COMPARE();
1319 
1320 #undef BEGIN_COMPARE
1321 #undef ADD_COMPARE
1322 #undef END_COMPARE
1323  return b;
1324  }
1325 
1327  if (this != &replace) {
1328 #define REPLACE_BY(X) ReplaceBy(&X, replace.X)
1329 
1335 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1338 #else
1339  REPLACE_BY(publishScreenTrack);
1340  REPLACE_BY(publishSecondaryScreenTrack);
1341  REPLACE_BY(publishThirdScreenTrack);
1342  REPLACE_BY(publishFourthScreenTrack);
1343 #endif
1361  REPLACE_BY(token);
1367 #undef REPLACE_BY
1368  }
1369  return *this;
1370  }
1371 };
1372 
1395 };
1396 
1400 };
1401 
1411  bool stopAudioMixing;
1417  bool stopAllEffect;
1424 
1425  LeaveChannelOptions() : stopAudioMixing(true), stopAllEffect(true), stopMicrophoneRecording(true) {}
1426 };
1427 
1439  public:
1441 
1442  virtual const char* eventHandlerType() const { return "event_handler"; }
1443 
1453  virtual void onJoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
1454  (void)channel;
1455  (void)uid;
1456  (void)elapsed;
1457  }
1458 
1469  virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
1470  (void)channel;
1471  (void)uid;
1472  (void)elapsed;
1473  }
1474 
1482  virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) {
1483  (void)channel;
1484  (void)uid;
1485  (void)proxyType;
1486  (void)localProxyIp;
1487  (void)elapsed;
1488  }
1489 
1495  virtual void onError(int err, const char* msg) {
1496  (void)err;
1497  (void)msg;
1498  }
1499 
1515  virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay,
1516  unsigned short lost) __deprecated {
1517  (void)uid;
1518  (void)quality;
1519  (void)delay;
1520  (void)lost;
1521  }
1522 
1528  virtual void onLastmileProbeResult(const LastmileProbeResult& result) {
1529  (void)result;
1530  }
1531 
1558  virtual void onAudioVolumeIndication(const AudioVolumeInfo* speakers, unsigned int speakerNumber,
1559  int totalVolume) {
1560  (void)speakers;
1561  (void)speakerNumber;
1562  (void)totalVolume;
1563  }
1564 
1573  virtual void onLeaveChannel(const RtcStats& stats) { (void)stats; }
1574 
1582  virtual void onRtcStats(const RtcStats& stats) { (void)stats; }
1583 
1597  virtual void onAudioDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
1598  (void)deviceId;
1599  (void)deviceType;
1600  (void)deviceState;
1601  }
1602 
1609  virtual void onAudioMixingPositionChanged(int64_t position) {}
1610 
1617  virtual void onAudioMixingFinished() __deprecated {}
1625  virtual void onAudioEffectFinished(int soundId) {}
1626 
1636  virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
1637  (void)deviceId;
1638  (void)deviceType;
1639  (void)deviceState;
1640  }
1641 
1664  virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality) {
1665  (void)uid;
1666  (void)txQuality;
1667  (void)rxQuality;
1668  }
1669 
1676  virtual void onIntraRequestReceived() {}
1677 
1688  virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) {
1689  (void)info;
1690  }
1691 
1700  (void)info;
1701  }
1702 
1715  virtual void onLastmileQuality(int quality) { (void)quality; }
1716 
1727  virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed) {
1728  (void)source;
1729  (void)width;
1730  (void)height;
1731  (void)elapsed;
1732  }
1733 
1744  virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed) {
1745  (void)source;
1746  (void)elapsed;
1747  }
1748 
1765  virtual void onFirstRemoteVideoDecoded(uid_t uid, int width, int height, int elapsed) __deprecated {
1766  (void)uid;
1767  (void)width;
1768  (void)height;
1769  (void)elapsed;
1770  }
1771 
1780  virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation) {
1781  (void)uid;
1782  (void)width;
1783  (void)height;
1784  (void)rotation;
1785  }
1786 
1814  (void)source;
1815  (void)state;
1816  (void)error;
1817  }
1818 
1830  virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) {
1831  (void)uid;
1832  (void)state;
1833  (void)reason;
1834  (void)elapsed;
1835  }
1836 
1844  virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) {
1845  (void)userId;
1846  (void)width;
1847  (void)height;
1848  (void)elapsed;
1849  }
1850 
1870  virtual void onUserJoined(uid_t uid, int elapsed) {
1871  (void)uid;
1872  (void)elapsed;
1873  }
1874 
1889  virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason) {
1890  (void)uid;
1891  (void)reason;
1892  }
1893 
1906  virtual void onUserMuteAudio(uid_t uid, bool muted) {
1907  (void)uid;
1908  (void)muted;
1909  }
1910 
1925  virtual void onUserMuteVideo(uid_t userId, bool muted) {
1926  (void)userId;
1927  (void)muted;
1928  }
1929 
1942  virtual void onUserEnableVideo(uid_t uid, bool enabled) {
1943  (void)uid;
1944  (void)enabled;
1945  }
1946 
1952  virtual void onUserStateChanged(uid_t uid, uint32_t state) {
1953  (void)uid;
1954  (void)state;
1955  }
1956 
1967  virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) __deprecated {
1968  (void)uid;
1969  (void)enabled;
1970  }
1971 
1979  virtual void onLocalAudioStats(const LocalAudioStats& stats) {
1980  (void)stats;
1981  }
1982 
1990  virtual void onRemoteAudioStats(const RemoteAudioStats& stats) {
1991  (void)stats;
1992  }
1993 
2007  virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats& stats) {
2008  (void)source;
2009  (void)stats;
2010  }
2011 
2020  virtual void onRemoteVideoStats(const RemoteVideoStats& stats) {
2021  (void)stats;
2022  }
2028  virtual void onCameraReady() __deprecated {}
2039  virtual void onCameraFocusAreaChanged(int x, int y, int width, int height) {
2040  (void)x;
2041  (void)y;
2042  (void)width;
2043  (void)height;
2044  }
2053  virtual void onCameraExposureAreaChanged(int x, int y, int width, int height) {
2054  (void)x;
2055  (void)y;
2056  (void)width;
2057  (void)height;
2058  }
2059 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
2060 
2090  virtual void onFacePositionChanged(int imageWidth, int imageHeight,
2091  const Rectangle* vecRectangle, const int* vecDistance,
2092  int numFaces) {
2093  (void) imageWidth;
2094  (void) imageHeight;
2095  (void) vecRectangle;
2096  (void) vecDistance;
2097  (void) numFaces;
2098  }
2099 #endif
2100 
2107  virtual void onVideoStopped() __deprecated {}
2108 
2116  virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason) {
2117  (void)state;
2118  (void)reason;
2119  }
2120 
2129  virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode) {
2130  (void)state;
2131  (void)errorCode;
2132  }
2133 
2142  virtual void onConnectionLost() {}
2143 
2156 
2161 
2173  virtual void onStreamMessage(uid_t userId, int streamId, const char* data, size_t length, uint64_t sentTs) {
2174  (void)userId;
2175  (void)streamId;
2176  (void)data;
2177  (void)length;
2178  (void)sentTs;
2179  }
2180 
2193  virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached) {
2194  (void)userId;
2195  (void)streamId;
2196  (void)code;
2197  (void)missed;
2198  (void)cached;
2199  }
2200 
2210  virtual void onRequestToken() {}
2211 
2223  virtual void onTokenPrivilegeWillExpire(const char* token) {
2224  (void)token;
2225  }
2226 
2233  (void)error;
2234  }
2235 
2246  virtual void onFirstLocalAudioFramePublished(int elapsed) {
2247  (void)elapsed;
2248  }
2249 
2257  virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) __deprecated {
2258  (void)uid;
2259  (void)elapsed;
2260  }
2261 
2278  virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) __deprecated {
2279  (void)uid;
2280  (void)elapsed;
2281  }
2282 
2298  (void)state;
2299  (void)error;
2300  }
2301 
2318  virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed) {
2319  (void)uid;
2320  (void)state;
2321  (void)reason;
2322  (void)elapsed;
2323  }
2324 
2338  virtual void onActiveSpeaker(uid_t userId) { (void)userId; }
2343  virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; }
2361  virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) {
2362  (void)uid;
2363  (void)filePath;
2364  (void)width;
2365  (void)height;
2366  (void)errCode;
2367  }
2375  virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole, const ClientRoleOptions& newRoleOptions) {
2376  (void)oldRole;
2377  (void)newRole;
2378  (void)newRoleOptions;
2379  }
2388  (void)reason;
2389  (void)currentRole;
2390  }
2398  virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) {
2399  (void)deviceType;
2400  (void)volume;
2401  (void)muted;
2402  }
2403 
2415  virtual void onRtmpStreamingStateChanged(const char* url, RTMP_STREAM_PUBLISH_STATE state,
2417  (void)url;
2418  (void)state;
2419  (void)errCode;
2420  }
2421 
2427  virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) {
2428  (void)url;
2429  (void)eventCode;
2430  }
2431 
2442  virtual void onTranscodingUpdated() {}
2443 
2457  virtual void onAudioRoutingChanged(int routing) { (void)routing; }
2458 
2459 
2491  virtual void onChannelMediaRelayStateChanged(int state, int code) {
2492  (void)state;
2493  (void)code;
2494  }
2495 
2519  virtual void onChannelMediaRelayEvent(int code) __deprecated {
2520  (void)code;
2521  }
2535  virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) {
2536  (void)isFallbackOrRecover;
2537  }
2555  virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) {
2556  (void)uid;
2557  (void)isFallbackOrRecover;
2558  }
2559 
2574  virtual void onRemoteAudioTransportStats(uid_t uid, unsigned short delay, unsigned short lost,
2575  unsigned short rxKBitRate) __deprecated {
2576  (void)uid;
2577  (void)delay;
2578  (void)lost;
2579  (void)rxKBitRate;
2580  }
2581 
2599  virtual void onRemoteVideoTransportStats(uid_t uid, unsigned short delay, unsigned short lost,
2600  unsigned short rxKBitRate) __deprecated {
2601  (void)uid;
2602  (void)delay;
2603  (void)lost;
2604  (void)rxKBitRate;
2605  }
2606 
2616  CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason) {
2617  (void)state;
2618  (void)reason;
2619  }
2620 
2627  virtual void onWlAccMessage(WLACC_MESSAGE_REASON reason, WLACC_SUGGEST_ACTION action, const char* wlAccMsg) {
2628  (void)reason;
2629  (void)action;
2630  (void)wlAccMsg;
2631  }
2632 
2638  virtual void onWlAccStats(WlAccStats currentStats, WlAccStats averageStats) {
2639  (void)currentStats;
2640  (void)averageStats;
2641  }
2642 
2652  virtual void onNetworkTypeChanged(NETWORK_TYPE type) {
2653  (void)type;
2654  }
2655 
2663  virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) {
2664  (void)errorType;
2665  }
2666 
2676  virtual void onPermissionError(PERMISSION_TYPE permissionType) {
2677  (void)permissionType;
2678  }
2679 
2689  virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) {
2690  (void)uid;
2691  (void)userAccount;
2692  }
2693 
2702  virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) {
2703  (void)uid;
2704  (void)info;
2705  }
2712  virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) {
2713  (void)requestId;
2714  (void)success;
2715  (void)reason;
2716  }
2717 
2727  virtual void onAudioSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) {
2728  (void)channel;
2729  (void)uid;
2730  (void)oldState;
2731  (void)newState;
2732  (void)elapseSinceLastState;
2733  }
2734 
2744  virtual void onVideoSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) {
2745  (void)channel;
2746  (void)uid;
2747  (void)oldState;
2748  (void)newState;
2749  (void)elapseSinceLastState;
2750  }
2751 
2760  virtual void onAudioPublishStateChanged(const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
2761  (void)channel;
2762  (void)oldState;
2763  (void)newState;
2764  (void)elapseSinceLastState;
2765  }
2766 
2776  virtual void onVideoPublishStateChanged(VIDEO_SOURCE_TYPE source, const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
2777  (void)source;
2778  (void)channel;
2779  (void)oldState;
2780  (void)newState;
2781  (void)elapseSinceLastState;
2782  }
2793  virtual void onExtensionEvent(const char* provider, const char* extension, const char* key, const char* value) {
2794  (void)provider;
2795  (void)extension;
2796  (void)key;
2797  (void)value;
2798  }
2807  virtual void onExtensionStarted(const char* provider, const char* extension) {
2808  (void)provider;
2809  (void)extension;
2810  }
2819  virtual void onExtensionStopped(const char* provider, const char* extension) {
2820  (void)provider;
2821  (void)extension;
2822  }
2834  virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) {
2835  (void)provider;
2836  (void)extension;
2837  (void)error;
2838  (void)message;
2839  }
2846  virtual void onUserAccountUpdated(uid_t uid, const char* userAccount){
2847  (void)uid;
2848  (void)userAccount;
2849  }
2850 
2858  (void)stream;
2859  (void)error;
2860  }
2861 
2870  (void)uid;
2871  (void)currentEvent;
2872  (void)tracingInfo;
2873  }
2874 };
2875 
2880  public:
2882 
2888  virtual int getCount() = 0;
2889 
2899  virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2900 
2911  virtual int getDevice(int index, char deviceNameUTF8[MAX_DEVICE_ID_LENGTH],
2912  char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2913 
2917  virtual void release() = 0;
2918 };
2919 
2924  public:
2938 
2949  virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2950 
2959  virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2960 
2961 #if defined(_WIN32) || (defined(__linux__) && !defined(__ANDROID__)) || \
2962  (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
2963 
2980  virtual int numberOfCapabilities(const char* deviceIdUTF8) = 0;
2981 
2999  virtual int getCapability(const char* deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat& capability) = 0;
3000 #endif
3001 
3014  virtual int startDeviceTest(view_t hwnd) = 0;
3015 
3022  virtual int stopDeviceTest() = 0;
3023 
3027  virtual void release() = 0;
3028 };
3029 
3030 
3046  const char* appId;
3052  void* context;
3057 
3061  const char* license;
3062 
3079  unsigned int areaCode;
3080 
3097 
3102 
3111 
3118 
3125 
3127  : eventHandler(NULL), appId(NULL), context(NULL),
3129  license(NULL),
3133 };
3134 
3138 public:
3144  {
3151  };
3156  {
3160  };
3161 
3164  struct Metadata
3165  {
3170  unsigned int uid;
3173  unsigned int size;
3176  unsigned char *buffer;
3180  long long timeStampMs;
3181  };
3182 
3183  virtual ~IMetadataObserver() {}
3184 
3196 
3207  virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0;
3208 
3216  virtual void onMetadataReceived(const Metadata &metadata) = 0;
3217 };
3218 
3219 // The error codes for media streaming
3220 // GENERATED_JAVA_ENUM_PACKAGE: io.agora.streaming
3222  // No error occurs.
3224  // A general error occurs (no specified reason).
3226  // Audio publication error.
3228  // Video publication error.
3230 
3232  // Already exist stream name.
3234 };
3235 
3236 // The connection state of media streaming
3237 // GENERATED_JAVA_ENUM_PACKAGE: io.agora.streaming
3239 
3241 
3243 
3245 
3247 
3249 };
3250 
3259 
3264 
3268  int fps;
3269 
3274 
3279 };
3280 
3286  public:
3288 
3296  (void)state;
3297  (void)error;
3298  (void)message;
3299  };
3300 
3302  (void)stats;
3303  };
3304 };
3305 
3350 
3353 
3355 #define SET_FROM(X) SetFrom(&X, change.X)
3363 #undef SET_FROM
3364  }
3365 
3367 #define BEGIN_COMPARE() bool b = true
3368 #define ADD_COMPARE(X) b = (b && (X == o.X))
3369 #define END_COMPARE()
3370 
3371  BEGIN_COMPARE();
3379  END_COMPARE();
3380 
3381 #undef BEGIN_COMPARE
3382 #undef ADD_COMPARE
3383 #undef END_COMPARE
3384  return b;
3385  }
3386 
3388  if (this != &replace) {
3389 #define REPLACE_BY(X) ReplaceBy(&X, replace.X)
3390 
3398 #undef REPLACE_BY
3399  }
3400  return *this;
3401  }
3402 };
3403 
3412 
3419 
3431  const char* channelId;
3432 
3437 
3440  remoteUid(0),
3441  channelId(NULL),
3442  localUid(0) {}
3443 };
3444 
3445 class IMediaPlayer;
3446 class IMediaRecorder;
3447 
3456  public:
3481  virtual void release(bool sync = false) = 0;
3482 
3499  virtual int initialize(const RtcEngineContext& context) = 0;
3500 
3510  virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0;
3511 
3512 
3518  virtual const char* getVersion(int* build) = 0;
3519 
3525  virtual const char* getErrorDescription(int code) = 0;
3526 
3536  virtual int queryCodecCapability(CodecCapInfo* codecInfo, int& size) = 0;
3537 
3576  virtual int preloadChannel(const char* token, const char* channelId, uid_t uid) = 0;
3577 
3618  virtual int preloadChannel(const char* token, const char* channelId, const char* userAccount) = 0;
3619 
3639  virtual int updatePreloadChannelToken(const char* token) = 0;
3640 
3700  virtual int joinChannel(const char* token, const char* channelId, const char* info,
3701  uid_t uid) = 0;
3702 
3770  virtual int joinChannel(const char* token, const char* channelId, uid_t uid,
3771  const ChannelMediaOptions& options) = 0;
3772 
3781  virtual int updateChannelMediaOptions(const ChannelMediaOptions& options) = 0;
3782 
3800  virtual int leaveChannel() = 0;
3801 
3821  virtual int leaveChannel(const LeaveChannelOptions& options) = 0;
3822 
3839  virtual int renewToken(const char* token) = 0;
3840 
3859  virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0;
3860 
3884  virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0;
3885 
3907  virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0;
3908 
3928  virtual int startEchoTest() = 0;
3929 
3946  virtual int startEchoTest(int intervalInSeconds) = 0;
3947 
3956  virtual int startEchoTest(const EchoTestConfiguration& config) = 0;
3957 
3964  virtual int stopEchoTest() = 0;
3965 
3966 #if defined(__APPLE__) && TARGET_OS_IOS
3967 
3976  virtual int enableMultiCamera(bool enabled, const CameraCapturerConfiguration& config) = 0;
3977 #endif
3978 
3993  virtual int enableVideo() = 0;
3994 
4004  virtual int disableVideo() = 0;
4005 
4017  virtual int startPreview() = 0;
4018 
4026  virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0;
4027 
4035  virtual int stopPreview() = 0;
4036 
4044  virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0;
4045 
4079  virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0;
4080 
4082  virtual int stopLastmileProbeTest() = 0;
4083 
4101 
4111  virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0;
4193 
4227 
4250  virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0;
4251 
4268  virtual int setupLocalVideo(const VideoCanvas& canvas) = 0;
4269 
4288  virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0;
4289 
4303  virtual int enableAudio() = 0;
4304 
4316  virtual int disableAudio() = 0;
4317 
4340 
4356  virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0;
4365  virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0;
4388  virtual int enableLocalAudio(bool enabled) = 0;
4389 
4415  virtual int muteLocalAudioStream(bool mute) = 0;
4416 
4458  virtual int muteAllRemoteAudioStreams(bool mute) = 0;
4459 
4482 
4499  virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0;
4500 
4512  virtual int muteLocalVideoStream(bool mute) = 0;
4513 
4538  virtual int enableLocalVideo(bool enabled) = 0;
4539 
4579  virtual int muteAllRemoteVideoStreams(bool mute) = 0;
4580 
4603 
4620  virtual int muteRemoteVideoStream(uid_t uid, bool mute) = 0;
4621 
4639  virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0;
4640 
4652 
4663 
4678  virtual int setSubscribeAudioBlocklist(uid_t* uidList, int uidNumber) = 0;
4679 
4696  virtual int setSubscribeAudioAllowlist(uid_t* uidList, int uidNumber) = 0;
4697 
4712  virtual int setSubscribeVideoBlocklist(uid_t* uidList, int uidNumber) = 0;
4713 
4730  virtual int setSubscribeVideoAllowlist(uid_t* uidList, int uidNumber) = 0;
4731 
4758  virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad) = 0;
4759 
4780  virtual int startAudioRecording(const char* filePath,
4781  AUDIO_RECORDING_QUALITY_TYPE quality) = 0;
4803  virtual int startAudioRecording(const char* filePath,
4804  int sampleRate,
4805  AUDIO_RECORDING_QUALITY_TYPE quality) = 0;
4806 
4825  virtual int startAudioRecording(const AudioRecordingConfiguration& config) = 0;
4826 
4833 
4842  virtual int stopAudioRecording() = 0;
4843 
4855 
4867  virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0;
4868 
4880 
4890  virtual int destroyMediaRecorder(agora_refptr<IMediaRecorder> mediaRecorder) = 0;
4891 
4933  virtual int startAudioMixing(const char* filePath, bool loopback, int cycle) = 0;
4934 
4978  virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0;
4979 
4988  virtual int stopAudioMixing() = 0;
4989 
4998  virtual int pauseAudioMixing() = 0;
4999 
5008  virtual int resumeAudioMixing() = 0;
5009 
5018  virtual int selectAudioTrack(int index) = 0;
5027  virtual int getAudioTrackCount() = 0;
5028 
5043  virtual int adjustAudioMixingVolume(int volume) = 0;
5044 
5052  virtual int adjustAudioMixingPublishVolume(int volume) = 0;
5053 
5061  virtual int getAudioMixingPublishVolume() = 0;
5062 
5070  virtual int adjustAudioMixingPlayoutVolume(int volume) = 0;
5071 
5079  virtual int getAudioMixingPlayoutVolume() = 0;
5080 
5089  virtual int getAudioMixingDuration() = 0;
5090 
5100  virtual int getAudioMixingCurrentPosition() = 0;
5101 
5111  virtual int setAudioMixingPosition(int pos /*in ms*/) = 0;
5112 
5123  virtual int setAudioMixingDualMonoMode(media::AUDIO_MIXING_DUAL_MONO_MODE mode) = 0;
5124 
5141  virtual int setAudioMixingPitch(int pitch) = 0;
5149  virtual int getEffectsVolume() = 0;
5159  virtual int setEffectsVolume(int volume) = 0;
5183  virtual int preloadEffect(int soundId, const char* filePath, int startPos = 0) = 0;
5225  virtual int playEffect(int soundId, const char* filePath, int loopCount, double pitch, double pan, int gain, bool publish = false, int startPos = 0) = 0;
5256  virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0;
5257 
5267  virtual int getVolumeOfEffect(int soundId) = 0;
5268 
5279  virtual int setVolumeOfEffect(int soundId, int volume) = 0;
5288  virtual int pauseEffect(int soundId) = 0;
5295  virtual int pauseAllEffects() = 0;
5304  virtual int resumeEffect(int soundId) = 0;
5311  virtual int resumeAllEffects() = 0;
5320  virtual int stopEffect(int soundId) = 0;
5327  virtual int stopAllEffects() = 0;
5336  virtual int unloadEffect(int soundId) = 0;
5343  virtual int unloadAllEffects() = 0;
5362  virtual int getEffectDuration(const char* filePath) = 0;
5379  virtual int setEffectPosition(int soundId, int pos) = 0;
5394  virtual int getEffectCurrentPosition(int soundId) = 0;
5407  virtual int enableSoundPositionIndication(bool enabled) = 0;
5428  virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0;
5429 
5439  virtual int enableSpatialAudio(bool enabled) = 0;
5440 
5450  virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0;
5451 
5490 
5528  virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0;
5529 
5567 
5643  virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0;
5644 
5688  int param1, int param2) = 0;
5689 
5703  int param1, int param2) = 0;
5704 
5715  virtual int setLocalVoicePitch(double pitch) = 0;
5716 
5727  virtual int setLocalVoiceFormant(double formantRatio) = 0;
5728 
5740  virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency,
5741  int bandGain) = 0;
5742 
5751  virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0;
5773  virtual int setHeadphoneEQParameters(int lowGain, int highGain) = 0;
5774 
5790  virtual int setLogFile(const char* filePath) = 0;
5791 
5814  virtual int setLogFilter(unsigned int filter) = 0;
5815 
5832  virtual int setLogLevel(commons::LOG_LEVEL level) = 0;
5833 
5848  virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0;
5849 
5858  virtual int uploadLogFile(agora::util::AString& requestId) = 0;
5859 
5900  VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5901 
5902  // The following APIs are either deprecated and going to deleted.
5903 
5922 
5935 
5952  virtual int enableDualStreamMode(bool enabled) __deprecated = 0;
5953 
5972  virtual int enableDualStreamMode(bool enabled, const SimulcastStreamConfig& streamConfig) __deprecated = 0;
5973 
5974 
5989 
6004  const SimulcastStreamConfig& streamConfig) = 0;
6005 
6020  virtual int enableCustomAudioLocalPlayback(track_id_t trackId, bool enabled) = 0;
6021 
6040  virtual int setRecordingAudioFrameParameters(int sampleRate, int channel,
6042  int samplesPerCall) = 0;
6043 
6063  virtual int setPlaybackAudioFrameParameters(int sampleRate, int channel,
6065  int samplesPerCall) = 0;
6066 
6082  virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall) = 0;
6083 
6103  virtual int setEarMonitoringAudioFrameParameters(int sampleRate, int channel,
6105  int samplesPerCall) = 0;
6106 
6122  virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0;
6123 
6134  virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0;
6142  virtual int disableAudioSpectrumMonitor() = 0;
6143 
6169 
6183  virtual int adjustRecordingSignalVolume(int volume) = 0;
6184 
6196  virtual int muteRecordingSignal(bool mute) = 0;
6197 
6211  virtual int adjustPlaybackSignalVolume(int volume) = 0;
6212 
6213  /*
6214  * Adjust the playback volume of the user specified by uid.
6215  *
6216  * You can call this method to adjust the playback volume of the user specified by uid
6217  * in call. If you want to adjust playback volume of the multi user, you can call this
6218  * this method multi times.
6219  *
6220  * @note
6221  * Please call this method after join channel.
6222  * This method adjust the playback volume of specified user.
6223  *
6224  * @param uid Remote user ID.
6225  * @param volume The playback volume of the specified remote user. The value ranges between 0 and 400, including the following:
6226  * 0: Mute.
6227  * 100: (Default) Original volume.
6228  * 400: Four times the original volume with signal-clipping protection.
6229  * @return
6230  * - 0: Success.
6231  * - < 0: Failure.
6232  */
6233  virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0;
6234 
6257 
6274 
6288  virtual int setHighPriorityUserList(uid_t* uidList, int uidNum, STREAM_FALLBACK_OPTIONS option) = 0;
6289 
6308  virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0;
6309 
6310 
6323  virtual int adjustLoopbackSignalVolume(int volume) = 0;
6324 
6331  virtual int getLoopbackRecordingVolume() = 0;
6332 
6344  virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0;
6345 
6356  virtual int setInEarMonitoringVolume(int volume) = 0;
6357 
6358 #if defined (_WIN32) || defined(__linux__) || defined(__ANDROID__)
6359  virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0;
6360 #endif
6361 
6374  const char* provider, const char* key, const char* value) = 0;
6375 
6388  virtual int registerExtension(const char* provider, const char* extension,
6390 
6411  virtual int enableExtension(
6412  const char* provider, const char* extension, bool enable=true, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
6413 
6434  virtual int enableExtension(const char* provider, const char* extension, const ExtensionInfo& extensionInfo, bool enable = true) = 0;
6435 
6449  const char* provider, const char* extension,
6450  const char* key, const char* value, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
6451 
6466  const char* provider, const char* extension,
6467  const char* key, char* value, int buf_len, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
6468 
6482  virtual int setExtensionProperty(const char* provider, const char* extension, const ExtensionInfo& extensionInfo, const char* key, const char* value) = 0;
6483 
6498  virtual int getExtensionProperty(const char* provider, const char* extension, const ExtensionInfo& extensionInfo, const char* key, char* value, int buf_len) = 0;
6499 
6511  virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0;
6512 
6513 
6522 
6531 
6540  virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0;
6541 
6550  virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id) = 0;
6551 
6552 
6553 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
6554 
6563  virtual int switchCamera() = 0;
6564 
6572  virtual bool isCameraZoomSupported() = 0;
6573 
6581  virtual bool isCameraFaceDetectSupported() = 0;
6582 
6590  virtual bool isCameraTorchSupported() = 0;
6591 
6599  virtual bool isCameraFocusSupported() = 0;
6600 
6608  virtual bool isCameraAutoFocusFaceModeSupported() = 0;
6609 
6619  virtual int setCameraZoomFactor(float factor) = 0;
6620 
6629  virtual int enableFaceDetection(bool enabled) = 0;
6630 
6635  virtual float getCameraMaxZoomFactor() = 0;
6636 
6646  virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0;
6647 
6655  virtual int setCameraTorchOn(bool isOn) = 0;
6656 
6664  virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0;
6665 
6677  virtual bool isCameraExposurePositionSupported() = 0;
6678 
6694  virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0;
6695 
6708  virtual bool isCameraExposureSupported() = 0;
6709 
6720  virtual int setCameraExposureFactor(float factor) = 0;
6721 
6722 #if defined(__APPLE__)
6723 
6730  virtual bool isCameraAutoExposureFaceModeSupported() = 0;
6731 
6732 
6740  virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0;
6741 #endif
6742 
6776  virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0;
6777 
6804  virtual int setEnableSpeakerphone(bool speakerOn) = 0;
6805 
6813  virtual bool isSpeakerphoneEnabled() = 0;
6814 
6822  virtual int setRouteInCommunicationMode(int route) = 0;
6823 
6824 #endif // __ANDROID__ || (__APPLE__ && TARGET_OS_IOS)
6825 
6826 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
6827 
6837  virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0;
6838 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6839 #if (defined(__APPLE__) && TARGET_OS_IOS)
6840 
6864  virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction) = 0;
6865 #endif // __APPLE__ && TARGET_OS_IOS
6866 
6867 #if defined(_WIN32) || (defined(__APPLE__) && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6868 
6889  virtual int startScreenCaptureByDisplayId(uint32_t displayId, const Rectangle& regionRect,
6890  const ScreenCaptureParameters& captureParams) = 0;
6891 
6892 #endif // __APPLE__ && TARGET_OS_MAC && !TARGET_OS_IPHONE
6893 
6894 #if defined(_WIN32)
6895 
6919  virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect,
6920  const Rectangle& regionRect,
6921  const ScreenCaptureParameters& captureParams) __deprecated = 0;
6922 
6923 #endif // _WIN32
6924 
6925 #if defined(__ANDROID__)
6926 
6932  virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0;
6933 
6934 #endif // __ANDROID__
6935 
6936 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
6937 
6955  virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle& regionRect,
6956  const ScreenCaptureParameters& captureParams) = 0;
6957 
6973  virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0;
6974 
6991  virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0;
6992 
7006  virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0;
7007 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
7008 
7009 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
7010 
7019  virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0;
7020 
7030  virtual int updateScreenCapture(const ScreenCaptureParameters2& captureParams) = 0;
7031 
7043  virtual int queryScreenCaptureCapability() = 0;
7044 #endif
7045 
7046 #if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__)
7047 
7063  virtual int setScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario) = 0;
7064 
7072  virtual int stopScreenCapture() = 0;
7073 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC) || __ANDROID__
7074 
7091  virtual int getCallId(agora::util::AString& callId) = 0;
7092 
7107  virtual int rate(const char* callId, int rating,
7108  const char* description) = 0; // 0~10
7109 
7123  virtual int complain(const char* callId, const char* description) = 0;
7124 
7145  virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0;
7146 
7168  virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0;
7169 
7179  virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0;
7198  virtual int stopRtmpStream(const char* url) = 0;
7199 
7200 
7203  virtual int stopLocalVideoTranscoder() = 0;
7213  virtual int startCameraCapture(VIDEO_SOURCE_TYPE sourceType, const CameraCapturerConfiguration& config) = 0;
7214 
7225  virtual int stopCameraCapture(VIDEO_SOURCE_TYPE sourceType) = 0;
7237  virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation) = 0;
7250 
7260  virtual int startScreenCapture(VIDEO_SOURCE_TYPE sourceType, const ScreenCaptureConfiguration& config) = 0;
7261 
7272  virtual int stopScreenCapture(VIDEO_SOURCE_TYPE sourceType) = 0;
7273 
7278  virtual CONNECTION_STATE_TYPE getConnectionState() = 0;
7279 
7280  // The following APIs are not implemented yet.
7281  virtual bool registerEventHandler(IRtcEngineEventHandler* eventHandler) = 0;
7282  virtual bool unregisterEventHandler(IRtcEngineEventHandler* eventHandler) = 0;
7283  virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0;
7284 
7296  virtual int registerPacketObserver(IPacketObserver* observer) = 0;
7297 
7320  virtual int setEncryptionMode(const char* encryptionMode) __deprecated = 0;
7321 
7338  virtual int setEncryptionSecret(const char* secret) __deprecated = 0;
7339 
7361  virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0;
7362 
7394  virtual int createDataStream(int* streamId, bool reliable, bool ordered) = 0;
7395 
7405  virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0;
7406 
7437  virtual int sendStreamMessage(int streamId, const char* data, size_t length) = 0;
7438 
7460  virtual int addVideoWatermark(const RtcImage& watermark) = 0;
7461 
7487  virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) = 0;
7488 
7496  virtual int clearVideoWatermarks() = 0;
7497 
7498  // The following APIs are either deprecated and going to deleted.
7499 
7508  virtual int pauseAudio() __deprecated = 0;
7517  virtual int resumeAudio() __deprecated = 0;
7518 
7536  virtual int enableWebSdkInteroperability(bool enabled) __deprecated = 0;
7537 
7548  const char* id, const char* category, const char* event, const char* label, int value) = 0;
7549 
7571  virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0;
7572 
7581  virtual int unregisterMediaMetadataObserver(IMetadataObserver* observer, IMetadataObserver::METADATA_TYPE type) = 0;
7582 
7592  virtual int startAudioFrameDump(const char* channel_id, uid_t user_id, const char* location,
7593  const char* uuid, const char* passwd, long duration_ms, bool auto_upload) = 0;
7597  virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0;
7598 
7614  virtual int setAINSMode(bool enabled, AUDIO_AINS_MODE mode) = 0;
7615 
7647  virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0;
7648 
7679  virtual int joinChannelWithUserAccount(const char* token, const char* channelId,
7680  const char* userAccount) = 0;
7681 
7713  virtual int joinChannelWithUserAccount(const char* token, const char* channelId,
7714  const char* userAccount, const ChannelMediaOptions& options) = 0;
7715 
7748  virtual int joinChannelWithUserAccountEx(const char* token, const char* channelId,
7749  const char* userAccount, const ChannelMediaOptions& options,
7750  IRtcEngineEventHandler* eventHandler) = 0;
7751 
7769  virtual int getUserInfoByUserAccount(const char* userAccount, rtc::UserInfo* userInfo) = 0;
7770 
7788  virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo* userInfo) = 0;
7831 
7878 
7908 
7937  virtual int stopChannelMediaRelay() = 0;
7938 
7939 
7949  virtual int pauseAllChannelMediaRelay() = 0;
7950 
7960  virtual int resumeAllChannelMediaRelay() = 0;
7961 
7975 
7991 
8006  const char* publishUrl, const DirectCdnStreamingMediaOptions& options) = 0;
8007 
8017  virtual int stopDirectCdnStreaming() = 0;
8018 
8031 
8042  virtual int startRhythmPlayer(const char* sound1, const char* sound2, const AgoraRhythmPlayerConfig& config) = 0;
8043 
8050  virtual int stopRhythmPlayer() = 0;
8051 
8060  virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0;
8090  virtual int takeSnapshot(uid_t uid, const char* filePath) = 0;
8100  virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0;
8101  /*
8102  * Adjust the custom audio publish volume by track id.
8103  * @param trackId custom audio track id.
8104  * @param volume The volume, range is [0,100]:
8105  * 0: mute, 100: The original volume
8106  * @return
8107  * - 0: Success.
8108  * - < 0: Failure.
8109  */
8110  virtual int adjustCustomAudioPublishVolume(track_id_t trackId, int volume) = 0;
8111 
8112  /*
8113  * Adjust the custom audio playout volume by track id.
8114  * @param trackId custom audio track id.
8115  * @param volume The volume, range is [0,100]:
8116  * 0: mute, 100: The original volume
8117  * @return
8118  * - 0: Success.
8119  * - < 0: Failure.
8120  */
8121  virtual int adjustCustomAudioPlayoutVolume(track_id_t trackId, int volume) = 0;
8122 
8152  virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0;
8161  virtual int setLocalAccessPoint(const LocalAccessPointConfiguration& config) = 0;
8162 
8170  virtual int setAdvancedAudioOptions(AdvancedAudioOptions &options, int sourceType = 0) = 0;
8171 
8182  virtual int setAVSyncSource(const char* channelId, uid_t uid) = 0;
8183 
8190  virtual int enableVideoImageSource(bool enable, const ImageTrackOptions& options) = 0;
8191 
8192  /*
8193  * Get monotonic time in ms which can be used by capture time,
8194  * typical scenario is as follows:
8195  *
8196  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8197  * | // custom audio/video base capture time, e.g. the first audio/video capture time. |
8198  * | int64_t custom_capture_time_base; |
8199  * | |
8200  * | int64_t agora_monotonic_time = getCurrentMonotonicTimeInMs(); |
8201  * | |
8202  * | // offset is fixed once calculated in the begining. |
8203  * | const int64_t offset = agora_monotonic_time - custom_capture_time_base; |
8204  * | |
8205  * | // realtime_custom_audio/video_capture_time is the origin capture time that customer provided.|
8206  * | // actual_audio/video_capture_time is the actual capture time transfered to sdk. |
8207  * | int64_t actual_audio_capture_time = realtime_custom_audio_capture_time + offset; |
8208  * | int64_t actual_video_capture_time = realtime_custom_video_capture_time + offset; |
8209  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8210  *
8211  * @return
8212  * - >= 0: Success.
8213  * - < 0: Failure.
8214  */
8215  virtual int64_t getCurrentMonotonicTimeInMs() = 0;
8216 
8232  virtual int enableWirelessAccelerate(bool enabled) = 0;
8233 
8248  virtual int getNetworkType() = 0;
8249 
8258  virtual int setParameters(const char* parameters) = 0;
8259 
8274  virtual int startMediaRenderingTracing() = 0;
8275 
8289  virtual int enableInstantMediaRendering() = 0;
8290 
8294  virtual uint64_t getNtpWallTimeInMs() = 0;
8295 
8304  virtual bool isFeatureAvailableOnDevice(FeatureType type) = 0;
8305 
8306 };
8307 
8308 class AAudioDeviceManager : public agora::util::AutoPtr<IAudioDeviceManager> {
8309  public:
8312  }
8313 };
8314 
8315 class AVideoDeviceManager : public agora::util::AutoPtr<IVideoDeviceManager> {
8316  public:
8319  }
8320 };
8321 
8322 // The following types are either deprecated or not implmented yet.
8330 };
8331 
8349 };
8350 
8351 enum VIDEO_PROFILE_TYPE { // res fps
8353  VIDEO_PROFILE_LANDSCAPE_120P = 0, // 160x120 15
8357  VIDEO_PROFILE_LANDSCAPE_180P = 10, // 320x180 15
8363  VIDEO_PROFILE_LANDSCAPE_240P = 20, // 320x240 15
8369  VIDEO_PROFILE_LANDSCAPE_360P = 30, // 640x360 15
8385  VIDEO_PROFILE_LANDSCAPE_360P_11 = 100, // 640x360 24
8387  VIDEO_PROFILE_LANDSCAPE_480P = 40, // 640x480 15
8401  VIDEO_PROFILE_LANDSCAPE_720P = 50, // 1280x720 15
8403  VIDEO_PROFILE_LANDSCAPE_720P_3 = 52, // 1280x720 30
8409  VIDEO_PROFILE_LANDSCAPE_1080P = 60, // 1920x1080 15
8411  VIDEO_PROFILE_LANDSCAPE_1080P_3 = 62, // 1920x1080 30
8413  VIDEO_PROFILE_LANDSCAPE_1080P_5 = 64, // 1920x1080 60
8415  VIDEO_PROFILE_LANDSCAPE_1440P = 66, // 2560x1440 30
8417  VIDEO_PROFILE_LANDSCAPE_1440P_2 = 67, // 2560x1440 60
8419  VIDEO_PROFILE_LANDSCAPE_4K = 70, // 3840x2160 30
8421  VIDEO_PROFILE_LANDSCAPE_4K_3 = 72, // 3840x2160 60
8423  VIDEO_PROFILE_PORTRAIT_120P = 1000, // 120x160 15
8425  VIDEO_PROFILE_PORTRAIT_120P_3 = 1002, // 120x120 15
8427  VIDEO_PROFILE_PORTRAIT_180P = 1010, // 180x320 15
8429  VIDEO_PROFILE_PORTRAIT_180P_3 = 1012, // 180x180 15
8431  VIDEO_PROFILE_PORTRAIT_180P_4 = 1013, // 180x240 15
8433  VIDEO_PROFILE_PORTRAIT_240P = 1020, // 240x320 15
8435  VIDEO_PROFILE_PORTRAIT_240P_3 = 1022, // 240x240 15
8437  VIDEO_PROFILE_PORTRAIT_240P_4 = 1023, // 240x424 15
8439  VIDEO_PROFILE_PORTRAIT_360P = 1030, // 360x640 15
8441  VIDEO_PROFILE_PORTRAIT_360P_3 = 1032, // 360x360 15
8443  VIDEO_PROFILE_PORTRAIT_360P_4 = 1033, // 360x640 30
8445  VIDEO_PROFILE_PORTRAIT_360P_6 = 1035, // 360x360 30
8447  VIDEO_PROFILE_PORTRAIT_360P_7 = 1036, // 360x480 15
8449  VIDEO_PROFILE_PORTRAIT_360P_8 = 1037, // 360x480 30
8451  VIDEO_PROFILE_PORTRAIT_360P_9 = 1038, // 360x640 15
8453  VIDEO_PROFILE_PORTRAIT_360P_10 = 1039, // 360x640 24
8455  VIDEO_PROFILE_PORTRAIT_360P_11 = 1100, // 360x640 24
8457  VIDEO_PROFILE_PORTRAIT_480P = 1040, // 480x640 15
8459  VIDEO_PROFILE_PORTRAIT_480P_3 = 1042, // 480x480 15
8461  VIDEO_PROFILE_PORTRAIT_480P_4 = 1043, // 480x640 30
8463  VIDEO_PROFILE_PORTRAIT_480P_6 = 1045, // 480x480 30
8465  VIDEO_PROFILE_PORTRAIT_480P_8 = 1047, // 480x848 15
8467  VIDEO_PROFILE_PORTRAIT_480P_9 = 1048, // 480x848 30
8469  VIDEO_PROFILE_PORTRAIT_480P_10 = 1049, // 480x640 10
8471  VIDEO_PROFILE_PORTRAIT_720P = 1050, // 720x1280 15
8473  VIDEO_PROFILE_PORTRAIT_720P_3 = 1052, // 720x1280 30
8475  VIDEO_PROFILE_PORTRAIT_720P_5 = 1054, // 720x960 15
8477  VIDEO_PROFILE_PORTRAIT_720P_6 = 1055, // 720x960 30
8479  VIDEO_PROFILE_PORTRAIT_1080P = 1060, // 1080x1920 15
8481  VIDEO_PROFILE_PORTRAIT_1080P_3 = 1062, // 1080x1920 30
8483  VIDEO_PROFILE_PORTRAIT_1080P_5 = 1064, // 1080x1920 60
8485  VIDEO_PROFILE_PORTRAIT_1440P = 1066, // 1440x2560 30
8487  VIDEO_PROFILE_PORTRAIT_1440P_2 = 1067, // 1440x2560 60
8489  VIDEO_PROFILE_PORTRAIT_4K = 1070, // 2160x3840 30
8491  VIDEO_PROFILE_PORTRAIT_4K_3 = 1072, // 2160x3840 60
8494 };
8495 
8496 } // namespace rtc
8497 } // namespace agora
8498 
8504 #define getAgoraRtcEngineVersion getAgoraSdkVersion
8505 
8507 
8510 
8517 
8519 
8520 
8527 #define getAgoraRtcEngineErrorDescription getAgoraSdkErrorDescription
8528 #define setAgoraRtcEngineExternalSymbolLoader setAgoraSdkExternalSymbolLoader
agora::rtc::IRtcEngine::setVideoEncoderConfiguration
virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration &config)=0
agora::rtc::IRtcEngine::stopLocalVideoTranscoder
virtual int stopLocalVideoTranscoder()=0
agora::rtc::WLACC_MESSAGE_REASON
WLACC_MESSAGE_REASON
Definition: AgoraBase.h:4048
agora::rtc::IRtcEngineEventHandler::onFirstLocalVideoFrame
virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed)
Definition: IAgoraRtcEngine.h:1727
agora::rtc::RemoteVideoStats::delay
int delay
Definition: IAgoraRtcEngine.h:480
agora::rtc::VIDEO_TRANSCODER_ERROR
VIDEO_TRANSCODER_ERROR
Definition: AgoraBase.h:3798
agora::rtc::UPLOAD_ERROR_REASON
UPLOAD_ERROR_REASON
Definition: AgoraBase.h:5540
agora::rtc::ChannelMediaOptions::publishMediaPlayerId
Optional< int > publishMediaPlayerId
Definition: IAgoraRtcEngine.h:1156
agora::rtc::IRtcEngine::configRhythmPlayer
virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig &config)=0
agora::rtc::IRtcEngine::getAudioTrackCount
virtual int getAudioTrackCount()=0
agora::rtc::IRtcEngineEventHandler::onRequestToken
virtual void onRequestToken()
Definition: IAgoraRtcEngine.h:2210
agora::rtc::ChannelMediaOptions::defaultVideoStreamType
Optional< VIDEO_STREAM_TYPE > defaultVideoStreamType
Definition: IAgoraRtcEngine.h:1170
agora::rtc::DirectCdnStreamingStats::videoWidth
int videoWidth
Definition: IAgoraRtcEngine.h:3258
agora::rtc::AUDIO_EQUALIZATION_BAND_16K
@ AUDIO_EQUALIZATION_BAND_16K
Definition: IAgoraRtcEngine.h:200
agora::rtc::IRtcEngine::getVersion
virtual const char * getVersion(int *build)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_10
@ VIDEO_PROFILE_LANDSCAPE_360P_10
Definition: IAgoraRtcEngine.h:8383
agora::rtc::ExtensionInfo::mediaSourceType
agora::media::MEDIA_SOURCE_TYPE mediaSourceType
Definition: IAgoraRtcEngine.h:3411
agora::rtc::DIRECT_CDN_STREAMING_STATE_FAILED
@ DIRECT_CDN_STREAMING_STATE_FAILED
Definition: IAgoraRtcEngine.h:3246
agora::rtc::ChannelMediaOptions::SetAll
void SetAll(const ChannelMediaOptions &change)
Definition: IAgoraRtcEngine.h:1232
agora::CHANNEL_PROFILE_LIVE_BROADCASTING
@ CHANNEL_PROFILE_LIVE_BROADCASTING
Definition: AgoraBase.h:268
agora::rtc::IRtcEngineEventHandler::onExtensionStopped
virtual void onExtensionStopped(const char *provider, const char *extension)
Definition: IAgoraRtcEngine.h:2819
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_3
@ VIDEO_PROFILE_LANDSCAPE_720P_3
Definition: IAgoraRtcEngine.h:8403
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_8
@ VIDEO_PROFILE_LANDSCAPE_360P_8
Definition: IAgoraRtcEngine.h:8379
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_3
@ VIDEO_PROFILE_LANDSCAPE_360P_3
Definition: IAgoraRtcEngine.h:8371
agora::rtc::ChannelMediaOptions::publishCameraTrack
Optional< bool > publishCameraTrack
Definition: IAgoraRtcEngine.h:1029
agora::rtc::IRtcEngine::updateChannelMediaOptions
virtual int updateChannelMediaOptions(const ChannelMediaOptions &options)=0
agora::rtc::IRtcEngine::setParameters
virtual int setParameters(const char *parameters)=0
agora::rtc::ChannelMediaOptions::channelProfile
Optional< CHANNEL_PROFILE_TYPE > channelProfile
Definition: IAgoraRtcEngine.h:1175
agora::rtc::ReplaceBy
static void ReplaceBy(Optional< T > *s, const Optional< T > &o)
Definition: IAgoraRtcEngine.h:28
agora::rtc::MEDIA_DEVICE_STATE_DISABLED
@ MEDIA_DEVICE_STATE_DISABLED
Definition: IAgoraRtcEngine.h:8342
agora::rtc::IRtcEngine::setRemoteRenderMode
virtual int setRemoteRenderMode(uid_t uid, media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::IRtcEngine::uploadLogFile
virtual int uploadLogFile(agora::util::AString &requestId)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_FREQUENCY
AUDIO_EQUALIZATION_BAND_FREQUENCY
Definition: IAgoraRtcEngine.h:160
agora::rtc::UserInfo
Definition: AgoraBase.h:5648
agora::rtc::IRtcEngine::enableExtension
virtual int enableExtension(const char *provider, const char *extension, const ExtensionInfo &extensionInfo, bool enable=true)=0
agora::rtc::IRtcEngineEventHandler::onLocalAudioStats
virtual void onLocalAudioStats(const LocalAudioStats &stats)
Definition: IAgoraRtcEngine.h:1979
agora::rtc::LastmileProbeResult
Definition: AgoraBase.h:3896
agora::rtc::AudioEncodedFrameObserverConfig
Definition: AgoraBase.h:5006
agora::rtc::ScreenCaptureParameters
Definition: AgoraBase.h:4789
agora::rtc::IRtcEngine::updateLocalTranscoderConfiguration
virtual int updateLocalTranscoderConfiguration(const LocalTranscoderConfiguration &config)=0
agora::rtc::IMetadataObserver::MAX_METADATA_SIZE_IN_BYTE
@ MAX_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:3159
agora::rtc::IRtcEngine::initialize
virtual int initialize(const RtcEngineContext &context)=0
agora::rtc::SCREEN_SCENARIO_TYPE
SCREEN_SCENARIO_TYPE
Definition: AgoraBase.h:2546
agora::rtc::MEDIA_DEVICE_TYPE
MEDIA_DEVICE_TYPE
Definition: IAgoraRtcEngine.h:37
agora::rtc::CameraCapturerConfiguration::CameraCapturerConfiguration
CameraCapturerConfiguration()
Definition: IAgoraRtcEngine.h:801
agora::rtc::AudioVolumeInfo
Definition: AgoraBase.h:3079
agora::rtc::VideoCompositingLayout::regionCount
int regionCount
Definition: IAgoraRtcEngine.h:611
agora::rtc::VIDEO_SOURCE_TYPE
VIDEO_SOURCE_TYPE
Definition: AgoraMediaBase.h:45
agora::rtc::AUDIO_MIXING_STATE_PAUSED
@ AUDIO_MIXING_STATE_PAUSED
Definition: IAgoraRtcEngine.h:79
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P_5
@ VIDEO_PROFILE_LANDSCAPE_1080P_5
Definition: IAgoraRtcEngine.h:8413
agora::rtc::REMOTE_AUDIO_STATE
REMOTE_AUDIO_STATE
Definition: AgoraBase.h:2813
agora::rtc::RemoteAudioStats::rxAudioBytes
unsigned int rxAudioBytes
Definition: IAgoraRtcEngine.h:442
agora::rtc::BeautyOptions
Definition: AgoraBase.h:4234
agora::rtc::IRtcEngine::createMediaPlayer
virtual agora_refptr< IMediaPlayer > createMediaPlayer()=0
agora::rtc::INJECT_STREAM_STATUS_START_FAILED
@ INJECT_STREAM_STATUS_START_FAILED
Definition: IAgoraRtcEngine.h:130
agora::rtc::IMetadataObserver::METADATA_TYPE
METADATA_TYPE
Definition: IAgoraRtcEngine.h:3144
agora::rtc::SenderOptions
Definition: AgoraBase.h:1200
agora::rtc::IRtcEngineEventHandler::onConnectionStateChanged
virtual void onConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:2615
agora::rtc::AUDIO_EQUALIZATION_BAND_2K
@ AUDIO_EQUALIZATION_BAND_2K
Definition: IAgoraRtcEngine.h:188
agora::rtc::RemoteVideoStats::avSyncTimeMs
int avSyncTimeMs
Definition: IAgoraRtcEngine.h:527
agora::rtc::ScreenCaptureConfiguration::screenRect
Rectangle screenRect
Definition: IAgoraRtcEngine.h:827
agora::rtc::DIRECT_CDN_STREAMING_ERROR_NET_CONNECT
@ DIRECT_CDN_STREAMING_ERROR_NET_CONNECT
Definition: IAgoraRtcEngine.h:3231
agora::rtc::ScreenCaptureConfiguration::ScreenCaptureConfiguration
ScreenCaptureConfiguration()
Definition: IAgoraRtcEngine.h:846
agora::rtc::IRtcEngineEventHandler::onConnectionBanned
virtual void onConnectionBanned() 1
Definition: IAgoraRtcEngine.h:2160
agora::rtc::video_track_id_t
unsigned int video_track_id_t
Definition: AgoraMediaBase.h:32
agora::rtc::AUDIO_MIXING_STATE_STOPPED
@ AUDIO_MIXING_STATE_STOPPED
Definition: IAgoraRtcEngine.h:81
agora::rtc::UNKNOWN_AUDIO_DEVICE
@ UNKNOWN_AUDIO_DEVICE
Definition: IAgoraRtcEngine.h:41
agora::rtc::IRtcEngineEventHandler::eventHandlerType
virtual const char * eventHandlerType() const
Definition: IAgoraRtcEngine.h:1442
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_3
@ VIDEO_PROFILE_PORTRAIT_480P_3
Definition: IAgoraRtcEngine.h:8459
agora::rtc::RemoteVideoStats::width
int width
Definition: IAgoraRtcEngine.h:488
agora::rtc::VideoCompositingLayout
Definition: IAgoraRtcEngine.h:551
agora::rtc::LastmileProbeConfig
Definition: AgoraBase.h:3828
agora::rtc::LocalVideoStats::captureFrameRate
int captureFrameRate
Definition: IAgoraRtcEngine.h:274
agora::rtc::VIDEO_PROFILE_PORTRAIT_1440P_2
@ VIDEO_PROFILE_PORTRAIT_1440P_2
Definition: IAgoraRtcEngine.h:8487
agora::rtc::IVideoDeviceManager::release
virtual void release()=0
agora::rtc::InjectStreamConfig::audioBitrate
int audioBitrate
Definition: IAgoraRtcEngine.h:659
agora::rtc::ChannelMediaOptions::~ChannelMediaOptions
~ChannelMediaOptions()
Definition: IAgoraRtcEngine.h:1230
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P
@ VIDEO_PROFILE_LANDSCAPE_720P
Definition: IAgoraRtcEngine.h:8401
agora::rtc::IVideoDeviceManager::startDeviceTest
virtual int startDeviceTest(view_t hwnd)=0
agora::rtc::AUDIO_APPLICATION_PLAYOUT_DEVICE
@ AUDIO_APPLICATION_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:61
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::IRtcEngine::enableEncryption
virtual int enableEncryption(bool enabled, const EncryptionConfig &config)=0
agora::rtc::AAudioDeviceManager::AAudioDeviceManager
AAudioDeviceManager(IRtcEngine *engine)
Definition: IAgoraRtcEngine.h:8310
agora::rtc::AdvancedAudioOptions::AdvancedAudioOptions
AdvancedAudioOptions()
Definition: IAgoraRtcEngine.h:1004
agora::rtc::IRtcEngine::setChannelProfile
virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile)=0
agora::rtc::DirectCdnStreamingStats::videoHeight
int videoHeight
Definition: IAgoraRtcEngine.h:3263
agora::rtc::RtcEngineContext::domainLimit
bool domainLimit
Definition: IAgoraRtcEngine.h:3117
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P_3
@ VIDEO_PROFILE_LANDSCAPE_240P_3
Definition: IAgoraRtcEngine.h:8365
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:2776
agora::rtc::RtcEngineContext::useExternalEglContext
bool useExternalEglContext
Definition: IAgoraRtcEngine.h:3110
AgoraBase.h
agora::rtc::IRtcEngine::adjustCustomAudioPlayoutVolume
virtual int adjustCustomAudioPlayoutVolume(track_id_t trackId, int volume)=0
agora::rtc::INJECT_STREAM_STATUS_STOP_NOT_FOUND
@ INJECT_STREAM_STATUS_STOP_NOT_FOUND
Definition: IAgoraRtcEngine.h:138
agora::rtc::ChannelMediaOptions::publishMicrophoneTrack
Optional< bool > publishMicrophoneTrack
Definition: IAgoraRtcEngine.h:1053
agora::rtc::IMetadataObserver::Metadata::size
unsigned int size
Definition: IAgoraRtcEngine.h:3173
agora::rtc::IRtcEngineEventHandler::onCameraFocusAreaChanged
virtual void onCameraFocusAreaChanged(int x, int y, int width, int height)
Definition: IAgoraRtcEngine.h:2039
agora::rtc::IRtcEngineEventHandler::onChannelMediaRelayEvent
virtual void onChannelMediaRelayEvent(int code) 1
Definition: IAgoraRtcEngine.h:2519
agora::rtc::AGORA_IID_AUDIO_DEVICE_MANAGER
@ AGORA_IID_AUDIO_DEVICE_MANAGER
Definition: AgoraBase.h:848
agora::rtc::USER_OFFLINE_REASON_TYPE
USER_OFFLINE_REASON_TYPE
Definition: AgoraBase.h:830
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P
@ VIDEO_PROFILE_PORTRAIT_360P
Definition: IAgoraRtcEngine.h:8439
agora::rtc::uid_t
unsigned int uid_t
Definition: AgoraMediaBase.h:29
agora::rtc::IRtcEngine::enableWirelessAccelerate
virtual int enableWirelessAccelerate(bool enabled)=0
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::VIDEO_PROFILE_DEFAULT
@ VIDEO_PROFILE_DEFAULT
Definition: IAgoraRtcEngine.h:8493
agora::rtc::MEDIA_DEVICE_STATE_IDLE
@ MEDIA_DEVICE_STATE_IDLE
Definition: IAgoraRtcEngine.h:8336
agora::rtc::VideoCompositingLayout::canvasHeight
int canvasHeight
Definition: IAgoraRtcEngine.h:601
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P_4
@ VIDEO_PROFILE_PORTRAIT_180P_4
Definition: IAgoraRtcEngine.h:8431
agora::rtc::ChannelMediaOptions::token
Optional< const char * > token
Definition: IAgoraRtcEngine.h:1194
agora::rtc::RemoteAudioStats::numChannels
int numChannels
Definition: IAgoraRtcEngine.h:373
agora::rtc::RemoteVideoStats::packetLossRate
int packetLossRate
Definition: IAgoraRtcEngine.h:508
AgoraRhythmPlayerConfig
Definition: AgoraObjects.h:2956
agora::media::IAudioSpectrumObserver
Definition: AgoraMediaBase.h:1191
agora::rtc::QUALITY_ADAPT_INDICATION
QUALITY_ADAPT_INDICATION
Definition: AgoraBase.h:2295
agora::rtc::IRtcEngine::stopLastmileProbeTest
virtual int stopLastmileProbeTest()=0
agora::rtc::PublisherConfiguration::injectStreamUrl
const char * injectStreamUrl
Definition: IAgoraRtcEngine.h:729
agora::rtc::VIDEO_APPLICATION_SCENARIO_TYPE
VIDEO_APPLICATION_SCENARIO_TYPE
Definition: AgoraBase.h:2575
agora::rtc::PublisherConfiguration::injectStreamWidth
int injectStreamWidth
Definition: IAgoraRtcEngine.h:723
agora::rtc::IRtcEngineEventHandler::onClientRoleChanged
virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole, const ClientRoleOptions &newRoleOptions)
Definition: IAgoraRtcEngine.h:2375
agora::rtc::IRtcEngine::startPreview
virtual int startPreview(VIDEO_SOURCE_TYPE sourceType)=0
agora::rtc::VideoCompositingLayout::Region::y
double y
Definition: IAgoraRtcEngine.h:561
agora::rtc::IRtcEngine::getCurrentMonotonicTimeInMs
virtual int64_t getCurrentMonotonicTimeInMs()=0
agora::rtc::IRtcEngineEventHandler::~IRtcEngineEventHandler
virtual ~IRtcEngineEventHandler()
Definition: IAgoraRtcEngine.h:1440
agora::rtc::IRtcEngineEventHandler::onLocalVideoStats
virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats &stats)
Definition: IAgoraRtcEngine.h:2007
agora::rtc::ExtensionInfo
Definition: IAgoraRtcEngine.h:3407
BEGIN_COMPARE
#define BEGIN_COMPARE()
agora::rtc::IRtcEngine::setExtensionProperty
virtual int setExtensionProperty(const char *provider, const char *extension, const ExtensionInfo &extensionInfo, const char *key, const char *value)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_4K
@ VIDEO_PROFILE_LANDSCAPE_4K
Definition: IAgoraRtcEngine.h:8419
agora::rtc::RemoteVideoStats::totalActiveTime
int totalActiveTime
Definition: IAgoraRtcEngine.h:532
agora::rtc::IRtcEngineEventHandler::onUserInfoUpdated
virtual void onUserInfoUpdated(uid_t uid, const UserInfo &info)
Definition: IAgoraRtcEngine.h:2702
agora::rtc::ImageTrackOptions::mirrorMode
VIDEO_MIRROR_MODE_TYPE mirrorMode
Definition: IAgoraRtcEngine.h:1011
agora::rtc::RemoteAudioStats::totalFrozenTime
int totalFrozenTime
Definition: IAgoraRtcEngine.h:389
agora::rtc::LocalAccessPointConfiguration
Definition: AgoraBase.h:5952
agora::rtc::CAMERA_REAR
@ CAMERA_REAR
Definition: IAgoraRtcEngine.h:763
agora::media::base::RENDER_MODE_HIDDEN
@ RENDER_MODE_HIDDEN
Definition: AgoraMediaBase.h:522
agora::rtc::IRtcEngineEventHandler::onWlAccStats
virtual void onWlAccStats(WlAccStats currentStats, WlAccStats averageStats)
Definition: IAgoraRtcEngine.h:2638
agora::rtc::MEDIA_DEVICE_STATE_UNPLUGGED
@ MEDIA_DEVICE_STATE_UNPLUGGED
Definition: IAgoraRtcEngine.h:8348
agora::rtc::AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
@ AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
Definition: IAgoraRtcEngine.h:94
agora::rtc::RemoteAudioStats::receivedBitrate
int receivedBitrate
Definition: IAgoraRtcEngine.h:382
agora::rtc::IMetadataObserver::getMaxMetadataSize
virtual int getMaxMetadataSize()
Definition: IAgoraRtcEngine.h:3195
agora::rtc::RtcEngineContext::threadPriority
Optional< THREAD_PRIORITY_TYPE > threadPriority
Definition: IAgoraRtcEngine.h:3101
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_5
@ VIDEO_PROFILE_PORTRAIT_720P_5
Definition: IAgoraRtcEngine.h:8475
agora::rtc::INJECT_STREAM_STATUS_START_SUCCESS
@ INJECT_STREAM_STATUS_START_SUCCESS
Definition: IAgoraRtcEngine.h:114
agora::rtc::LiveTranscoding
Definition: AgoraBase.h:3590
agora::rtc::IRtcEngineEventHandler::onLocalUserRegistered
virtual void onLocalUserRegistered(uid_t uid, const char *userAccount)
Definition: IAgoraRtcEngine.h:2689
agora::rtc::IRtcEngineEventHandler::onWlAccMessage
virtual void onWlAccMessage(WLACC_MESSAGE_REASON reason, WLACC_SUGGEST_ACTION action, const char *wlAccMsg)
Definition: IAgoraRtcEngine.h:2627
agora::rtc::IRtcEngineEventHandler::onVideoStopped
virtual void onVideoStopped() 1
Definition: IAgoraRtcEngine.h:2107
agora::rtc::ChannelMediaOptions::autoSubscribeVideo
Optional< bool > autoSubscribeVideo
Definition: IAgoraRtcEngine.h:1146
agora::AUDIO_SESSION_OPERATION_RESTRICTION
AUDIO_SESSION_OPERATION_RESTRICTION
Definition: AgoraBase.h:770
agora::rtc::RemoteVideoStats::decoderOutputFrameRate
int decoderOutputFrameRate
Definition: IAgoraRtcEngine.h:499
agora::rtc::VIDEO_RENDER_DEVICE
@ VIDEO_RENDER_DEVICE
Definition: IAgoraRtcEngine.h:53
agora::rtc::VIDEO_PROFILE_LANDSCAPE_120P
@ VIDEO_PROFILE_LANDSCAPE_120P
Definition: IAgoraRtcEngine.h:8353
agora::rtc::IRtcEngine::updateChannelMediaRelay
virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) 1=0
agora::rtc::Rectangle
Definition: AgoraBase.h:1991
agora::rtc::IDirectCdnStreamingEventHandler::onDirectCdnStreamingStateChanged
virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char *message)
Definition: IAgoraRtcEngine.h:3295
agora::rtc::IRtcEngineEventHandler::onUserOffline
virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:1889
agora::rtc::CameraCapturerConfiguration::format
VideoFormat format
Definition: IAgoraRtcEngine.h:799
agora::rtc::AUDIO_SAMPLE_RATE_48000
@ AUDIO_SAMPLE_RATE_48000
Definition: AgoraBase.h:3199
agora::rtc::ChannelMediaOptions::operator=
ChannelMediaOptions & operator=(const ChannelMediaOptions &replace)
Definition: IAgoraRtcEngine.h:1326
agora::rtc::ScreenCaptureConfiguration::regionRect
Rectangle regionRect
Definition: IAgoraRtcEngine.h:844
agora::rtc::DirectCdnStreamingStats::audioBitrate
int audioBitrate
Definition: IAgoraRtcEngine.h:3278
agora::rtc::IRtcEngine::unregisterAudioSpectrumObserver
virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::IRtcEngineEventHandler::onLocalAudioStateChanged
virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error)
Definition: IAgoraRtcEngine.h:2297
agora::rtc::CameraCapturerConfiguration::followEncodeDimensionRatio
bool followEncodeDimensionRatio
Definition: IAgoraRtcEngine.h:800
agora::rtc::ChannelMediaOptions::publishCustomVideoTrack
Optional< bool > publishCustomVideoTrack
Definition: IAgoraRtcEngine.h:1110
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::rtc::IRtcEngineEventHandler::onAudioPublishStateChanged
virtual void onAudioPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2760
agora::rtc::INJECT_STREAM_STATUS_STOP_TIMEDOUT
@ INJECT_STREAM_STATUS_STOP_TIMEDOUT
Definition: IAgoraRtcEngine.h:146
agora::rtc::InjectStreamConfig::audioChannels
int audioChannels
Definition: IAgoraRtcEngine.h:662
agora::rtc::QUALITY_REPORT_FORMAT_TYPE
QUALITY_REPORT_FORMAT_TYPE
Definition: IAgoraRtcEngine.h:8323
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:2744
agora::rtc::IRtcEngineEventHandler::onAudioQuality
virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay, unsigned short lost) 1
Definition: IAgoraRtcEngine.h:1515
agora::rtc::ChannelMediaOptions::customVideoTrackId
Optional< video_track_id_t > customVideoTrackId
Definition: IAgoraRtcEngine.h:1221
agora::rtc::IRtcEngine::setVoiceConversionPreset
virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_6
@ VIDEO_PROFILE_LANDSCAPE_480P_6
Definition: IAgoraRtcEngine.h:8393
agora::rtc::InjectStreamConfig::InjectStreamConfig
InjectStreamConfig()
Definition: IAgoraRtcEngine.h:666
agora::rtc::IRtcEngine::unregisterEventHandler
virtual bool unregisterEventHandler(IRtcEngineEventHandler *eventHandler)=0
agora::rtc::IRtcEngine::setLocalVideoMirrorMode
virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::IMetadataObserver::Metadata::uid
unsigned int uid
Definition: IAgoraRtcEngine.h:3170
agora::rtc::IRtcEngineEventHandlerEx
Definition: IAgoraRtcEngineEx.h:42
agora::rtc::IRtcEngine::complain
virtual int complain(const char *callId, const char *description)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_8
@ VIDEO_PROFILE_PORTRAIT_360P_8
Definition: IAgoraRtcEngine.h:8449
agora::rtc::IRtcEngineEventHandler::onRtmpStreamingEvent
virtual void onRtmpStreamingEvent(const char *url, RTMP_STREAMING_EVENT eventCode)
Definition: IAgoraRtcEngine.h:2427
agora::rtc::AUDIO_EQUALIZATION_BAND_250
@ AUDIO_EQUALIZATION_BAND_250
Definition: IAgoraRtcEngine.h:176
agora::util::AutoPtr
Definition: AgoraBase.h:89
agora::rtc::IRtcEngine::startRhythmPlayer
virtual int startRhythmPlayer(const char *sound1, const char *sound2, const AgoraRhythmPlayerConfig &config)=0
agora::rtc::IRtcEngine::queryInterface
virtual int queryInterface(INTERFACE_ID_TYPE iid, void **inter)=0
agora::rtc::IRtcEngineEventHandler::onActiveSpeaker
virtual void onActiveSpeaker(uid_t userId)
Definition: IAgoraRtcEngine.h:2338
agora::rtc::HTTPS_PROXY_TYPE
@ HTTPS_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1394
agora::rtc::RemoteVideoStats::rendererOutputFrameRate
int rendererOutputFrameRate
Definition: IAgoraRtcEngine.h:502
agora::rtc::AdvancedAudioOptions::audioProcessingChannels
Optional< int > audioProcessingChannels
Definition: IAgoraRtcEngine.h:1002
agora::rtc::IRtcEngineEventHandler::onCameraExposureAreaChanged
virtual void onCameraExposureAreaChanged(int x, int y, int width, int height)
Definition: IAgoraRtcEngine.h:2053
agora::rtc::IRtcEngine::setHeadphoneEQParameters
virtual int setHeadphoneEQParameters(int lowGain, int highGain)=0
agora::rtc::VideoCompositingLayout::Region::x
double x
Definition: IAgoraRtcEngine.h:558
agora::rtc::IRtcEngine::stopAudioFrameDump
virtual int stopAudioFrameDump(const char *channel_id, uid_t user_id, const char *location)=0
agora::rtc::IRtcEngine::startChannelMediaRelay
virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) 1=0
agora::rtc::RemoteAudioStats::qualityChangedReason
int qualityChangedReason
Definition: IAgoraRtcEngine.h:438
agora::rtc::IRtcEngine::enableSoundPositionIndication
virtual int enableSoundPositionIndication(bool enabled)=0
agora::view_t
void * view_t
Definition: AgoraBase.h:796
agora::rtc::DIRECT_CDN_STREAMING_ERROR_BAD_NAME
@ DIRECT_CDN_STREAMING_ERROR_BAD_NAME
Definition: IAgoraRtcEngine.h:3233
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1440P_2
@ VIDEO_PROFILE_LANDSCAPE_1440P_2
Definition: IAgoraRtcEngine.h:8417
agora::rtc::AUDIO_MIXING_REASON_STOPPED_BY_USER
@ AUDIO_MIXING_REASON_STOPPED_BY_USER
Definition: IAgoraRtcEngine.h:102
agora::rtc::IRtcEngineEventHandler::onUserMuteVideo
virtual void onUserMuteVideo(uid_t userId, bool muted)
Definition: IAgoraRtcEngine.h:1925
agora::rtc::IRtcEngine::setCloudProxy
virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType)=0
agora::rtc::VideoEncoderConfiguration
Definition: AgoraBase.h:1758
agora::rtc::RemoteAudioStats::quality
int quality
Definition: IAgoraRtcEngine.h:355
agora::rtc::IRtcEngineEventHandler
Definition: IAgoraRtcEngine.h:1438
agora::rtc::LocalVideoStats::encodedFrameHeight
int encodedFrameHeight
Definition: IAgoraRtcEngine.h:301
agora::rtc::IRtcEngine::muteRemoteAudioStream
virtual int muteRemoteAudioStream(uid_t uid, bool mute)=0
agora::rtc::AUDIO_REVERB_WET_DELAY
@ AUDIO_REVERB_WET_DELAY
Definition: IAgoraRtcEngine.h:222
agora::rtc::PRIORITY_TYPE
PRIORITY_TYPE
Definition: IAgoraRtcEngine.h:245
agora::rtc::INJECT_STREAM_STATUS_BROKEN
@ INJECT_STREAM_STATUS_BROKEN
Definition: IAgoraRtcEngine.h:154
agora::rtc::VOICE_CONVERSION_PRESET
VOICE_CONVERSION_PRESET
Definition: AgoraBase.h:4720
agora::rtc::IRtcEngineEventHandler::onUserEnableVideo
virtual void onUserEnableVideo(uid_t uid, bool enabled)
Definition: IAgoraRtcEngine.h:1942
agora::rtc::LocalVideoStats::dualStreamEnabled
bool dualStreamEnabled
Definition: IAgoraRtcEngine.h:335
agora::rtc::IRtcEngine::setLogFilter
virtual int setLogFilter(unsigned int filter)=0
agora::rtc::VIDEO_BEAUTY_EFFECT
@ VIDEO_BEAUTY_EFFECT
Definition: IAgoraRtcEngine.h:1399
agora::rtc::ChannelMediaOptions::publishTranscodedVideoTrack
Optional< bool > publishTranscodedVideoTrack
Definition: IAgoraRtcEngine.h:1134
agora::rtc::IRtcEngine::startPreview
virtual int startPreview()=0
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::VideoSubscriptionOptions
Definition: AgoraBase.h:1527
agora::rtc::IRtcEngine::createDataStream
virtual int createDataStream(int *streamId, DataStreamConfig &config)=0
agora::rtc::VideoCompositingLayout::Region::width
double width
Definition: IAgoraRtcEngine.h:565
agora::rtc::DIRECT_CDN_STREAMING_STATE
DIRECT_CDN_STREAMING_STATE
Definition: IAgoraRtcEngine.h:3238
agora::rtc::LocalVideoStats::regulatedCaptureFrameHeight
int regulatedCaptureFrameHeight
Definition: IAgoraRtcEngine.h:292
agora::rtc::LocalVideoStats::regulatedCaptureFrameRate
int regulatedCaptureFrameRate
Definition: IAgoraRtcEngine.h:284
agora::rtc::VOICE_BEAUTIFIER_PRESET
VOICE_BEAUTIFIER_PRESET
Definition: AgoraBase.h:4516
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1440P
@ VIDEO_PROFILE_LANDSCAPE_1440P
Definition: IAgoraRtcEngine.h:8415
agora::rtc::IRtcEngine::setScreenCaptureOrientation
virtual int setScreenCaptureOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation)=0
agora::rtc::CLOUD_PROXY_TYPE
CLOUD_PROXY_TYPE
Definition: IAgoraRtcEngine.h:772
agora::rtc::RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL
@ RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL
Definition: IAgoraRtcEngine.h:682
agora::rtc::IRtcEngine::joinChannel
virtual int joinChannel(const char *token, const char *channelId, const char *info, uid_t uid)=0
agora::rtc::PublisherConfiguration::extraInfo
const char * extraInfo
Definition: IAgoraRtcEngine.h:740
agora::rtc::EchoTestConfiguration
Definition: AgoraBase.h:5630
agora::rtc::RtcImage
Definition: AgoraBase.h:3412
agora::rtc::DIRECT_CDN_STREAMING_ERROR_OK
@ DIRECT_CDN_STREAMING_ERROR_OK
Definition: IAgoraRtcEngine.h:3223
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_11
@ VIDEO_PROFILE_PORTRAIT_360P_11
Definition: IAgoraRtcEngine.h:8455
agora::rtc::AUDIO_SCENARIO_DEFAULT
@ AUDIO_SCENARIO_DEFAULT
Definition: AgoraBase.h:2449
agora::rtc::IRtcEngineEventHandler::onError
virtual void onError(int err, const char *msg)
Definition: IAgoraRtcEngine.h:1495
agora::rtc::IRtcEngineEventHandler::onVideoRenderingTracingResult
virtual void onVideoRenderingTracingResult(uid_t uid, MEDIA_TRACE_EVENT currentEvent, VideoRenderingTracingInfo tracingInfo)
Definition: IAgoraRtcEngine.h:2869
agora::media::PRIMARY_CAMERA_SOURCE
@ PRIMARY_CAMERA_SOURCE
Definition: AgoraMediaBase.h:203
agora::rtc::ChannelMediaOptions::publishSecondaryCameraTrack
Optional< bool > publishSecondaryCameraTrack
Definition: IAgoraRtcEngine.h:1035
agora::rtc::ChannelMediaOptions::publishEncodedVideoTrack
Optional< bool > publishEncodedVideoTrack
Definition: IAgoraRtcEngine.h:1116
agora::rtc::IRtcEngineEventHandler::onContentInspectResult
virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result)
Definition: IAgoraRtcEngine.h:2343
agora::rtc::IRtcEngineEventHandler::onAudioVolumeIndication
virtual void onAudioVolumeIndication(const AudioVolumeInfo *speakers, unsigned int speakerNumber, int totalVolume)
Definition: IAgoraRtcEngine.h:1558
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_9
@ VIDEO_PROFILE_LANDSCAPE_360P_9
Definition: IAgoraRtcEngine.h:8381
agora::rtc::IRtcEngine::preloadChannel
virtual int preloadChannel(const char *token, const char *channelId, uid_t uid)=0
agora::rtc::RTMP_STREAM_PUBLISH_ERROR_TYPE
RTMP_STREAM_PUBLISH_ERROR_TYPE
Definition: AgoraBase.h:3319
agora::rtc::HTTP_PROXY_TYPE
@ HTTP_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1391
agora::rtc::IRtcEngineEventHandler::onUserEnableLocalVideo
virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) 1
Definition: IAgoraRtcEngine.h:1967
agora::rtc::IRtcEngineEventHandler::onLocalPublishFallbackToAudioOnly
virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover)
Definition: IAgoraRtcEngine.h:2535
agora::rtc::IRtcEngine::getNetworkType
virtual int getNetworkType()=0
agora::rtc::IRtcEngine::setDefaultMuteAllRemoteAudioStreams
virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) 1=0
agora::rtc::AUDIO_REVERB_STRENGTH
@ AUDIO_REVERB_STRENGTH
Definition: IAgoraRtcEngine.h:226
agora::rtc::ChannelMediaOptions::publishCustomAudioTrackId
Optional< int > publishCustomAudioTrackId
Definition: IAgoraRtcEngine.h:1104
agora::rtc::SimulcastStreamConfig
Definition: AgoraBase.h:1968
agora::rtc::RemoteVideoStats::totalFrozenTime
int totalFrozenTime
Definition: IAgoraRtcEngine.h:518
agora::rtc::IRtcEngineEventHandler::onUploadLogResult
virtual void onUploadLogResult(const char *requestId, bool success, UPLOAD_ERROR_REASON reason)
Definition: IAgoraRtcEngine.h:2712
agora::rtc::PRIORITY_NORMAL
@ PRIORITY_NORMAL
Definition: IAgoraRtcEngine.h:251
agora::rtc::IRtcEngine::setEarMonitoringAudioFrameParameters
virtual int setEarMonitoringAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::IRtcEngineEventHandler::onRejoinChannelSuccess
virtual void onRejoinChannelSuccess(const char *channel, uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1469
agora::rtc::VIDEO_CONTENT_HINT
VIDEO_CONTENT_HINT
Definition: AgoraBase.h:2524
agora::rtc::IRtcEngine::muteAllRemoteVideoStreams
virtual int muteAllRemoteVideoStreams(bool mute)=0
agora::rtc::IRtcEngine::createDataStream
virtual int createDataStream(int *streamId, bool reliable, bool ordered)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P
@ VIDEO_PROFILE_PORTRAIT_180P
Definition: IAgoraRtcEngine.h:8427
agora::rtc::ChannelMediaOptions::publishCustomAudioTrack
Optional< bool > publishCustomAudioTrack
Definition: IAgoraRtcEngine.h:1100
agora::rtc::PublisherConfiguration::publishUrl
const char * publishUrl
Definition: IAgoraRtcEngine.h:733
agora::rtc::IRtcEngine::getErrorDescription
virtual const char * getErrorDescription(int code)=0
agora::rtc::VIDEO_MIRROR_MODE_TYPE
VIDEO_MIRROR_MODE_TYPE
Definition: AgoraBase.h:1704
agora::rtc::PublisherConfiguration::owner
bool owner
Definition: IAgoraRtcEngine.h:720
agora::rtc::IRtcEngineEventHandler::onExtensionEvent
virtual void onExtensionEvent(const char *provider, const char *extension, const char *key, const char *value)
Definition: IAgoraRtcEngine.h:2793
agora::rtc::IMetadataObserver::onReadyToSendMetadata
virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_9
@ VIDEO_PROFILE_PORTRAIT_360P_9
Definition: IAgoraRtcEngine.h:8451
agora::rtc::ExtensionInfo::remoteUid
uid_t remoteUid
Definition: IAgoraRtcEngine.h:3418
agora::rtc::IRtcEngine::enableDualStreamMode
virtual int enableDualStreamMode(bool enabled, const SimulcastStreamConfig &streamConfig) 1=0
agora::rtc::IRtcEngineEventHandler::onRemoteVideoStats
virtual void onRemoteVideoStats(const RemoteVideoStats &stats)
Definition: IAgoraRtcEngine.h:2020
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P
@ VIDEO_PROFILE_PORTRAIT_1080P
Definition: IAgoraRtcEngine.h:8479
agora::rtc::ChannelMediaOptions::publishScreenCaptureVideo
Optional< bool > publishScreenCaptureVideo
Definition: IAgoraRtcEngine.h:1061
agora::rtc::IRtcEngine::destroyCustomVideoTrack
virtual int destroyCustomVideoTrack(video_track_id_t video_track_id)=0
agora::rtc::VideoCompositingLayout::Region::renderMode
media::base::RENDER_MODE_TYPE renderMode
Definition: IAgoraRtcEngine.h:579
agora::rtc::RemoteAudioStats::frozenRateByCustomPlcCount
uint32_t frozenRateByCustomPlcCount
Definition: IAgoraRtcEngine.h:416
agora::rtc::IRtcEngine::enableInstantMediaRendering
virtual int enableInstantMediaRendering()=0
Enable instant media rendering.
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P_5
@ VIDEO_PROFILE_PORTRAIT_1080P_5
Definition: IAgoraRtcEngine.h:8483
agora::rtc::LocalVideoStats::rendererOutputFrameRate
int rendererOutputFrameRate
Definition: IAgoraRtcEngine.h:304
agora::rtc::AUDIO_MIXING_STATE_FAILED
@ AUDIO_MIXING_STATE_FAILED
Definition: IAgoraRtcEngine.h:84
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2281
agora::rtc::IMetadataObserver
Definition: IAgoraRtcEngine.h:3137
agora::rtc::IRtcEngine::getCallId
virtual int getCallId(agora::util::AString &callId)=0
agora::rtc::IRtcEngine::createMediaRecorder
virtual agora_refptr< IMediaRecorder > createMediaRecorder(const RecorderStreamInfo &info)=0
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::NONE_PROXY
@ NONE_PROXY
Definition: IAgoraRtcEngine.h:775
agora::rtc::IRtcEngine::setSubscribeVideoAllowlist
virtual int setSubscribeVideoAllowlist(uid_t *uidList, int uidNumber)=0
agora::rtc::IRtcEngine::release
virtual void release(bool sync=false)=0
agora::rtc::RemoteAudioStats::mosValue
int mosValue
Definition: IAgoraRtcEngine.h:411
agora::rtc::RemoteVideoStats::receivedBitrate
int receivedBitrate
Definition: IAgoraRtcEngine.h:496
agora::rtc::ColorEnhanceOptions
Definition: AgoraBase.h:4358
agora::rtc::INJECT_STREAM_STATUS_START_ALREADY_EXISTS
@ INJECT_STREAM_STATUS_START_ALREADY_EXISTS
Definition: IAgoraRtcEngine.h:118
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P
@ VIDEO_PROFILE_PORTRAIT_240P
Definition: IAgoraRtcEngine.h:8433
agora::rtc::CAMERA_FRONT
@ CAMERA_FRONT
Definition: IAgoraRtcEngine.h:765
agora::rtc::PublisherConfiguration::framerate
int framerate
Definition: IAgoraRtcEngine.h:702
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P_3
@ VIDEO_PROFILE_PORTRAIT_240P_3
Definition: IAgoraRtcEngine.h:8435
agora::rtc::ENCRYPTION_ERROR_TYPE
ENCRYPTION_ERROR_TYPE
Definition: AgoraBase.h:5524
agora::rtc::WLACC_SUGGEST_ACTION
WLACC_SUGGEST_ACTION
Definition: AgoraBase.h:4062
agora::rtc::AUDIO_VIRTUAL_PLAYOUT_DEVICE
@ AUDIO_VIRTUAL_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:65
agora::rtc::IRtcEngineEventHandler::onLocalVideoStateChanged
virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error)
Definition: IAgoraRtcEngine.h:1813
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_TYPE
CAPTURE_BRIGHTNESS_LEVEL_TYPE
Definition: AgoraBase.h:2589
agora::rtc::IRtcEngineEventHandler::onSnapshotTaken
virtual void onSnapshotTaken(uid_t uid, const char *filePath, int width, int height, int errCode)
Definition: IAgoraRtcEngine.h:2361
agora::rtc::IRtcEngine::registerMediaMetadataObserver
virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type)=0
agora::rtc::IRtcEngine::stopChannelMediaRelay
virtual int stopChannelMediaRelay()=0
agora::rtc::PublisherConfiguration::bitrate
int bitrate
Definition: IAgoraRtcEngine.h:706
agora::rtc::IRtcEngine::updatePreloadChannelToken
virtual int updatePreloadChannelToken(const char *token)=0
agora::rtc::IRtcEngine::getNtpWallTimeInMs
virtual uint64_t getNtpWallTimeInMs()=0
agora::rtc::IRtcEngine::destroyCustomEncodedVideoTrack
virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id)=0
agora::rtc::AUDIO_MIXING_REASON_OK
@ AUDIO_MIXING_REASON_OK
Definition: IAgoraRtcEngine.h:104
agora::rtc::RemoteVideoStats::frozenRate
int frozenRate
Definition: IAgoraRtcEngine.h:522
agora::rtc::IRtcEngine::adjustLoopbackSignalVolume
virtual int adjustLoopbackSignalVolume(int volume)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P_3
@ VIDEO_PROFILE_LANDSCAPE_180P_3
Definition: IAgoraRtcEngine.h:8359
agora::rtc::IRtcEngine::updateDirectCdnStreamingMediaOptions
virtual int updateDirectCdnStreamingMediaOptions(const DirectCdnStreamingMediaOptions &options)=0
agora::rtc::IRtcEngine::setHighPriorityUserList
virtual int setHighPriorityUserList(uid_t *uidList, int uidNum, STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_8
@ VIDEO_PROFILE_LANDSCAPE_480P_8
Definition: IAgoraRtcEngine.h:8395
agora::rtc::AVideoDeviceManager
Definition: IAgoraRtcEngine.h:8315
agora::rtc::ChannelMediaOptions::publishFourthCameraTrack
Optional< bool > publishFourthCameraTrack
Definition: IAgoraRtcEngine.h:1047
agora::rtc::IRtcEngine::setSubscribeAudioAllowlist
virtual int setSubscribeAudioAllowlist(uid_t *uidList, int uidNumber)=0
agora::rtc::SIMULCAST_STREAM_MODE
SIMULCAST_STREAM_MODE
Definition: AgoraBase.h:1950
agora::rtc::RemoteAudioStats::publishDuration
int publishDuration
Definition: IAgoraRtcEngine.h:430
agora::rtc::IRtcEngine::setDirectCdnStreamingAudioConfiguration
virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P
@ VIDEO_PROFILE_LANDSCAPE_180P
Definition: IAgoraRtcEngine.h:8357
agora::rtc::LocalTranscoderConfiguration
Definition: AgoraBase.h:3771
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_9
@ VIDEO_PROFILE_PORTRAIT_480P_9
Definition: IAgoraRtcEngine.h:8467
agora::rtc::IRtcEngine::startMediaRenderingTracing
virtual int startMediaRenderingTracing()=0
Start tracing media rendering events.
agora::rtc::IRtcEngine::setLocalRenderMode
virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::REMOTE_VIDEO_STATE
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:2888
agora::rtc::DirectCdnStreamingMediaOptions::SetAll
void SetAll(const DirectCdnStreamingMediaOptions &change)
Definition: IAgoraRtcEngine.h:3354
agora::rtc::RemoteAudioStats::audioLossRate
int audioLossRate
Definition: IAgoraRtcEngine.h:369
agora::rtc::VIDEO_PROFILE_PORTRAIT_1440P
@ VIDEO_PROFILE_PORTRAIT_1440P
Definition: IAgoraRtcEngine.h:8485
agora::rtc::IRtcEngine::pauseAllChannelMediaRelay
virtual int pauseAllChannelMediaRelay()=0
agora::rtc::IMetadataObserver::INVALID_METADATA_SIZE_IN_BYTE
@ INVALID_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:3157
agora::rtc::RemoteVideoStats::frameLossRate
int frameLossRate
Definition: IAgoraRtcEngine.h:505
agora::rtc::IRtcEngine::selectAudioTrack
virtual int selectAudioTrack(int index)=0
agora::rtc::InjectStreamConfig::videoFramerate
int videoFramerate
Definition: IAgoraRtcEngine.h:647
agora::rtc::RemoteAudioStats::receivedSampleRate
int receivedSampleRate
Definition: IAgoraRtcEngine.h:377
agora::rtc::IRtcEngine::updateRtmpTranscoding
virtual int updateRtmpTranscoding(const LiveTranscoding &transcoding)=0
agora::rtc::IPacketObserver
Definition: AgoraBase.h:3130
agora::rtc::LOCAL_VIDEO_STREAM_STATE
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2678
agora::rtc::CONNECTION_CHANGED_REASON_TYPE
CONNECTION_CHANGED_REASON_TYPE
Definition: AgoraBase.h:3923
agora::rtc::AUDIO_EQUALIZATION_BAND_125
@ AUDIO_EQUALIZATION_BAND_125
Definition: IAgoraRtcEngine.h:172
agora::rtc::IRtcEngine::enableInEarMonitoring
virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters)=0
agora::rtc::ChannelMediaOptions::isInteractiveAudience
Optional< bool > isInteractiveAudience
Definition: IAgoraRtcEngine.h:1216
agora::rtc::ChannelMediaOptions::enableAudioRecordingOrPlayout
Optional< bool > enableAudioRecordingOrPlayout
Definition: IAgoraRtcEngine.h:1152
agora::rtc::VIDEO_PROFILE_PORTRAIT_120P_3
@ VIDEO_PROFILE_PORTRAIT_120P_3
Definition: IAgoraRtcEngine.h:8425
agora::rtc::RemoteVideoStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:472
agora::rtc::RemoteAudioStats::totalActiveTime
int totalActiveTime
Definition: IAgoraRtcEngine.h:426
agora::rtc::IRtcEngineEventHandler::onProxyConnected
virtual void onProxyConnected(const char *channel, uid_t uid, PROXY_TYPE proxyType, const char *localProxyIp, int elapsed)
Definition: IAgoraRtcEngine.h:1482
agora::rtc::DirectCdnStreamingStats
Definition: IAgoraRtcEngine.h:3254
agora::media::AUDIO_MIXING_DUAL_MONO_MODE
AUDIO_MIXING_DUAL_MONO_MODE
Definition: IAgoraMediaEngine.h:17
agora::rtc::VideoFormat
Definition: AgoraBase.h:2479
agora::rtc::LocalVideoStats::captureFrameHeight
int captureFrameHeight
Definition: IAgoraRtcEngine.h:280
agora::rtc::AGORA_IID_VIDEO_DEVICE_MANAGER
@ AGORA_IID_VIDEO_DEVICE_MANAGER
Definition: AgoraBase.h:849
agora::rtc::IRtcEngine::startEchoTest
virtual int startEchoTest(int intervalInSeconds)=0
agora::rtc::RTMP_STREAM_LIFE_CYCLE_TYPE
RTMP_STREAM_LIFE_CYCLE_TYPE
Definition: IAgoraRtcEngine.h:679
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::VIDEO_PROFILE_PORTRAIT_360P_6
@ VIDEO_PROFILE_PORTRAIT_360P_6
Definition: IAgoraRtcEngine.h:8445
agora::rtc::IRtcEngine::setVideoScenario
virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType)=0
agora::rtc::IRtcEngine::getUserInfoByUserAccount
virtual int getUserInfoByUserAccount(const char *userAccount, rtc::UserInfo *userInfo)=0
agora::rtc::DataStreamConfig
Definition: AgoraBase.h:1924
agora::rtc::IRtcEngineEventHandler::onVideoDeviceStateChanged
virtual void onVideoDeviceStateChanged(const char *deviceId, int deviceType, int deviceState)
Definition: IAgoraRtcEngine.h:1636
agora::rtc::IRtcEngine::getExtensionProperty
virtual int getExtensionProperty(const char *provider, const char *extension, const ExtensionInfo &extensionInfo, const char *key, char *value, int buf_len)=0
agora::rtc::PublisherConfiguration
Definition: IAgoraRtcEngine.h:690
agora::rtc::IRtcEngine::enableAudioVolumeIndication
virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad)=0
agora::rtc::IRtcEngine::setAVSyncSource
virtual int setAVSyncSource(const char *channelId, uid_t uid)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P_4
@ VIDEO_PROFILE_PORTRAIT_240P_4
Definition: IAgoraRtcEngine.h:8437
agora::rtc::IRtcEngineEventHandler::onUserJoined
virtual void onUserJoined(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1870
agora::rtc::RemoteVideoStats::e2eDelay
int e2eDelay
Definition: IAgoraRtcEngine.h:484
agora::rtc::DirectCdnStreamingMediaOptions::customVideoTrackId
Optional< video_track_id_t > customVideoTrackId
Definition: IAgoraRtcEngine.h:3349
agora::rtc::AUDIO_EQUALIZATION_BAND_8K
@ AUDIO_EQUALIZATION_BAND_8K
Definition: IAgoraRtcEngine.h:196
REPLACE_BY
#define REPLACE_BY(X)
agora::rtc::IRtcEngine::setHeadphoneEQPreset
virtual int setHeadphoneEQPreset(HEADPHONE_EQUALIZER_PRESET preset)=0
agora::rtc::DirectCdnStreamingMediaOptions
Definition: IAgoraRtcEngine.h:3309
agora::rtc::AdvancedAudioOptions
Definition: IAgoraRtcEngine.h:998
agora::rtc::ScreenCaptureConfiguration::displayId
uint32_t displayId
Definition: IAgoraRtcEngine.h:822
agora::rtc::PERMISSION_TYPE
PERMISSION_TYPE
Definition: AgoraBase.h:5548
agora::rtc::AUDIO_MIXING_REASON_INTERRUPTED_EOF
@ AUDIO_MIXING_REASON_INTERRUPTED_EOF
Definition: IAgoraRtcEngine.h:96
agora::rtc::RemoteAudioStats::qoeQuality
int qoeQuality
Definition: IAgoraRtcEngine.h:434
agora::rtc::IRtcEngine::setLogFileSize
virtual int setLogFileSize(unsigned int fileSizeInKBytes)=0
agora::rtc::LocalVideoStats::regulatedCaptureFrameWidth
int regulatedCaptureFrameWidth
Definition: IAgoraRtcEngine.h:288
agora::rtc::IRtcEngineEventHandler::onAudioRoutingChanged
virtual void onAudioRoutingChanged(int routing)
Definition: IAgoraRtcEngine.h:2457
agora::rtc::InjectStreamConfig::audioSampleRate
AUDIO_SAMPLE_RATE_TYPE audioSampleRate
Definition: IAgoraRtcEngine.h:655
agora::rtc::IRtcEngineEventHandler::onExtensionStarted
virtual void onExtensionStarted(const char *provider, const char *extension)
Definition: IAgoraRtcEngine.h:2807
agora::rtc::IRtcEngine::startAudioRecording
virtual int startAudioRecording(const char *filePath, int sampleRate, AUDIO_RECORDING_QUALITY_TYPE quality)=0
agora::rtc::VideoCompositingLayout::regions
const Region * regions
Definition: IAgoraRtcEngine.h:608
agora::rtc::IVideoDeviceCollection::~IVideoDeviceCollection
virtual ~IVideoDeviceCollection()
Definition: IAgoraRtcEngine.h:2881
agora::commons::LOG_LEVEL
OPTIONAL_ENUM_CLASS LOG_LEVEL
Definition: IAgoraLog.h:33
agora::rtc::AUDIO_MIXING_STATE_PLAYING
@ AUDIO_MIXING_STATE_PLAYING
Definition: IAgoraRtcEngine.h:77
agora::rtc::DIRECT_CDN_STREAMING_STATE_IDLE
@ DIRECT_CDN_STREAMING_STATE_IDLE
Definition: IAgoraRtcEngine.h:3240
agora::rtc::IRtcEngine::addVideoWatermark
virtual int addVideoWatermark(const char *watermarkUrl, const WatermarkOptions &options)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_8
@ VIDEO_PROFILE_PORTRAIT_480P_8
Definition: IAgoraRtcEngine.h:8465
agora::rtc::IRtcEngineEventHandler::onRemoteSubscribeFallbackToAudioOnly
virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover)
Definition: IAgoraRtcEngine.h:2555
agora::rtc::DirectCdnStreamingMediaOptions::publishCameraTrack
Optional< bool > publishCameraTrack
Definition: IAgoraRtcEngine.h:3315
agora::media::UNKNOWN_MEDIA_SOURCE
@ UNKNOWN_MEDIA_SOURCE
Definition: AgoraMediaBase.h:247
agora::rtc::IRtcEngineEventHandler::onNetworkTypeChanged
virtual void onNetworkTypeChanged(NETWORK_TYPE type)
Definition: IAgoraRtcEngine.h:2652
agora::rtc::RtcEngineContext::eventHandler
IRtcEngineEventHandler * eventHandler
Definition: IAgoraRtcEngine.h:3039
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_3
@ VIDEO_PROFILE_LANDSCAPE_480P_3
Definition: IAgoraRtcEngine.h:8389
agora::rtc::INJECT_STREAM_STATUS_STOP_FAILED
@ INJECT_STREAM_STATUS_STOP_FAILED
Definition: IAgoraRtcEngine.h:150
agora::rtc::IRtcEngine::setRemoteVideoSubscriptionOptions
virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_10
@ VIDEO_PROFILE_PORTRAIT_480P_10
Definition: IAgoraRtcEngine.h:8469
agora::rtc::IRtcEngine::startScreenCapture
virtual int startScreenCapture(VIDEO_SOURCE_TYPE sourceType, const ScreenCaptureConfiguration &config)=0
agora::rtc::IRtcEngine::disableVideo
virtual int disableVideo()=0
agora::rtc::AVideoDeviceManager::AVideoDeviceManager
AVideoDeviceManager(IRtcEngine *engine)
Definition: IAgoraRtcEngine.h:8317
agora::rtc::LocalVideoStats::hwEncoderAccelerating
int hwEncoderAccelerating
Definition: IAgoraRtcEngine.h:340
agora::rtc::IRtcEngineEventHandler::onRemoteVideoStateChanged
virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed)
Definition: IAgoraRtcEngine.h:1830
agora::rtc::IAudioEncodedFrameObserver
Definition: AgoraBase.h:5024
agora::rtc::DirectCdnStreamingMediaOptions::operator=
DirectCdnStreamingMediaOptions & operator=(const DirectCdnStreamingMediaOptions &replace)
Definition: IAgoraRtcEngine.h:3387
agora::rtc::IRtcEngine::setAudioScenario
virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario)=0
agora::rtc::IDirectCdnStreamingEventHandler::~IDirectCdnStreamingEventHandler
virtual ~IDirectCdnStreamingEventHandler()
Definition: IAgoraRtcEngine.h:3287
agora::rtc::IRtcEngine::setLocalAccessPoint
virtual int setLocalAccessPoint(const LocalAccessPointConfiguration &config)=0
agora::rtc::IRtcEngineEventHandler::onLocalVideoTranscoderError
virtual void onLocalVideoTranscoderError(const TranscodingVideoStream &stream, VIDEO_TRANSCODER_ERROR error)
Definition: IAgoraRtcEngine.h:2857
agora::rtc::IRtcEngine::setExtensionProviderProperty
virtual int setExtensionProviderProperty(const char *provider, const char *key, const char *value)=0
agora::rtc::LeaveChannelOptions
Definition: IAgoraRtcEngine.h:1405
agora::rtc::VIDEO_PROFILE_PORTRAIT_120P
@ VIDEO_PROFILE_PORTRAIT_120P
Definition: IAgoraRtcEngine.h:8423
agora::CHANNEL_PROFILE_TYPE
CHANNEL_PROFILE_TYPE
Definition: AgoraBase.h:256
agora::rtc::LocalVideoStats::sentBitrate
int sentBitrate
Definition: IAgoraRtcEngine.h:267
agora::rtc::ChannelMediaOptions::ChannelMediaOptions
ChannelMediaOptions()
Definition: IAgoraRtcEngine.h:1229
agora::rtc::IRtcEngine::stopPreview
virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType)=0
agora::rtc::DIRECT_CDN_STREAMING_ERROR_AUDIO_PUBLICATION
@ DIRECT_CDN_STREAMING_ERROR_AUDIO_PUBLICATION
Definition: IAgoraRtcEngine.h:3227
agora::rtc::STREAM_SUBSCRIBE_STATE
STREAM_SUBSCRIBE_STATE
Definition: AgoraBase.h:5573
agora::rtc::IRtcEngine::startRtmpStreamWithTranscoding
virtual int startRtmpStreamWithTranscoding(const char *url, const LiveTranscoding &transcoding)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P
@ VIDEO_PROFILE_PORTRAIT_480P
Definition: IAgoraRtcEngine.h:8457
agora::rtc::IRtcEngineEventHandler::onFirstLocalAudioFramePublished
virtual void onFirstLocalAudioFramePublished(int elapsed)
Definition: IAgoraRtcEngine.h:2246
agora::rtc::ChannelMediaRelayConfiguration
Definition: AgoraBase.h:5265
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::INTERFACE_ID_TYPE
INTERFACE_ID_TYPE
Definition: AgoraBase.h:847
agora::rtc::AUDIO_REVERB_ROOM_SIZE
@ AUDIO_REVERB_ROOM_SIZE
Definition: IAgoraRtcEngine.h:218
agora::rtc::VIDEO_VIRTUAL_BACKGROUND
@ VIDEO_VIRTUAL_BACKGROUND
Definition: IAgoraRtcEngine.h:1398
agora::rtc::IRtcEngine::sendStreamMessage
virtual int sendStreamMessage(int streamId, const char *data, size_t length)=0
agora::rtc::IRtcEngine::setRemoteVoicePosition
virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain)=0
agora::rtc::IRtcEngine::startCameraCapture
virtual int startCameraCapture(VIDEO_SOURCE_TYPE sourceType, const CameraCapturerConfiguration &config)=0
agora::rtc::IVideoDeviceCollection
Definition: IAgoraRtcEngine.h:2879
agora::rtc::IRtcEngine::setDualStreamMode
virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode, const SimulcastStreamConfig &streamConfig)=0
agora::rtc::VideoCompositingLayout::Region::height
double height
Definition: IAgoraRtcEngine.h:567
agora::rtc::IRtcEngine::setAINSMode
virtual int setAINSMode(bool enabled, AUDIO_AINS_MODE mode)=0
agora::rtc::LocalVideoStats::sentFrameRate
int sentFrameRate
Definition: IAgoraRtcEngine.h:271
IAgoraH265Transcoder.h
AGORA_API
#define AGORA_API
Definition: AgoraBase.h:60
agora::rtc::VIDEO_CODEC_TYPE
VIDEO_CODEC_TYPE
Definition: AgoraBase.h:1146
agora::rtc::LocalVideoStats::encodedFrameWidth
int encodedFrameWidth
Definition: IAgoraRtcEngine.h:298
agora::rtc::VideoDenoiserOptions
Definition: AgoraBase.h:4311
agora::rtc::CameraCapturerConfiguration::deviceId
char deviceId[MAX_DEVICE_ID_LENGTH]
Definition: IAgoraRtcEngine.h:796
agora::rtc::IRtcEngine::leaveChannel
virtual int leaveChannel(const LeaveChannelOptions &options)=0
agora::rtc::IRtcEngine::getLoopbackRecordingVolume
virtual int getLoopbackRecordingVolume()=0
agora::rtc::IRtcEngine::registerPacketObserver
virtual int registerPacketObserver(IPacketObserver *observer)=0
agora::rtc::DirectCdnStreamingStats::videoBitrate
int videoBitrate
Definition: IAgoraRtcEngine.h:3273
agora::rtc::IRtcEngine::stopRhythmPlayer
virtual int stopRhythmPlayer()=0
agora::rtc::IRtcEngine::muteLocalAudioStream
virtual int muteLocalAudioStream(bool mute)=0
agora::rtc::DirectCdnStreamingStats::fps
int fps
Definition: IAgoraRtcEngine.h:3268
agora::rtc::LOCAL_AUDIO_STREAM_ERROR
LOCAL_AUDIO_STREAM_ERROR
Definition: AgoraBase.h:2630
END_COMPARE
#define END_COMPARE()
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P_4
@ VIDEO_PROFILE_LANDSCAPE_240P_4
Definition: IAgoraRtcEngine.h:8367
agora::rtc::IRtcEngine::takeSnapshot
virtual int takeSnapshot(uid_t uid, const char *filePath)=0
agora::rtc::IRtcEngine::setRemoteSubscribeFallbackOption
virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_1K
@ AUDIO_EQUALIZATION_BAND_1K
Definition: IAgoraRtcEngine.h:184
agora::rtc::IMetadataObserver::VIDEO_METADATA
@ VIDEO_METADATA
Definition: IAgoraRtcEngine.h:3150
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_9
@ VIDEO_PROFILE_LANDSCAPE_480P_9
Definition: IAgoraRtcEngine.h:8397
agora::rtc::IRtcEngine::enableContentInspect
virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config)=0
agora::rtc::AUDIO_MIXING_REASON_CAN_NOT_OPEN
@ AUDIO_MIXING_REASON_CAN_NOT_OPEN
Definition: IAgoraRtcEngine.h:92
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_4
@ VIDEO_PROFILE_PORTRAIT_360P_4
Definition: IAgoraRtcEngine.h:8443
agora::rtc::RemoteAudioStats::frozenRate
int frozenRate
Definition: IAgoraRtcEngine.h:394
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_6
@ VIDEO_PROFILE_LANDSCAPE_360P_6
Definition: IAgoraRtcEngine.h:8375
agora::rtc::ChannelMediaOptions::autoSubscribeAudio
Optional< bool > autoSubscribeAudio
Definition: IAgoraRtcEngine.h:1140
agora::rtc::VirtualBackgroundSource
Definition: AgoraBase.h:4377
agora::rtc::IVideoDeviceManager
Definition: IAgoraRtcEngine.h:2923
agora::rtc::IRtcEngine::adjustCustomAudioPublishVolume
virtual int adjustCustomAudioPublishVolume(track_id_t trackId, int volume)=0
agora::rtc::IMetadataObserver::DEFAULT_METADATA_SIZE_IN_BYTE
@ DEFAULT_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:3158
agora::rtc::AUDIO_REVERB_WET_LEVEL
@ AUDIO_REVERB_WET_LEVEL
Definition: IAgoraRtcEngine.h:214
agora::rtc::VIDEO_CAPTURE_DEVICE
@ VIDEO_CAPTURE_DEVICE
Definition: IAgoraRtcEngine.h:57
agora::rtc::IRtcEngineEventHandler::onStreamMessage
virtual void onStreamMessage(uid_t userId, int streamId, const char *data, size_t length, uint64_t sentTs)
Definition: IAgoraRtcEngine.h:2173
agora::rtc::AUDIO_REVERB_TYPE
AUDIO_REVERB_TYPE
Definition: IAgoraRtcEngine.h:206
agora::media::base::RENDER_MODE_TYPE
RENDER_MODE_TYPE
Definition: AgoraMediaBase.h:517
agora::rtc::IRtcEngine::muteLocalVideoStream
virtual int muteLocalVideoStream(bool mute)=0
agora::rtc::LocalVideoStats::targetBitrate
int targetBitrate
Definition: IAgoraRtcEngine.h:307
agora::rtc::DirectCdnStreamingMediaOptions::publishCustomAudioTrack
Optional< bool > publishCustomAudioTrack
Definition: IAgoraRtcEngine.h:3327
agora::rtc::IMetadataObserver::UNKNOWN_METADATA
@ UNKNOWN_METADATA
Definition: IAgoraRtcEngine.h:3147
agora::rtc::INJECT_STREAM_STATUS
INJECT_STREAM_STATUS
Definition: IAgoraRtcEngine.h:110
agora::rtc::IRtcEngine::setVoiceBeautifierParameters
virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2)=0
agora::rtc::ChannelMediaOptions::publishScreenCaptureAudio
Optional< bool > publishScreenCaptureAudio
Definition: IAgoraRtcEngine.h:1067
agora::rtc::IRtcEngine::setLogLevel
virtual int setLogLevel(commons::LOG_LEVEL level)=0
agora::rtc::IRtcEngineEventHandler::onChannelMediaRelayStateChanged
virtual void onChannelMediaRelayStateChanged(int state, int code)
Definition: IAgoraRtcEngine.h:2491
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::setRemoteUserPriority
virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority)=0
agora::rtc::RemoteAudioStats::jitterBufferDelay
int jitterBufferDelay
Definition: IAgoraRtcEngine.h:365
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_6
@ VIDEO_PROFILE_PORTRAIT_720P_6
Definition: IAgoraRtcEngine.h:8477
agora::rtc::PublisherConfiguration::width
int width
Definition: IAgoraRtcEngine.h:694
agora::rtc::IRtcEngineEventHandler::onUserStateChanged
virtual void onUserStateChanged(uid_t uid, uint32_t state)
Definition: IAgoraRtcEngine.h:1952
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P_3
@ VIDEO_PROFILE_LANDSCAPE_1080P_3
Definition: IAgoraRtcEngine.h:8411
agora::rtc::IRtcEngineEventHandler::onRhythmPlayerStateChanged
virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode)
Definition: IAgoraRtcEngine.h:2129
agora::rtc::IRtcEngineEventHandler::onStreamMessageError
virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached)
Definition: IAgoraRtcEngine.h:2193
agora::rtc::IRtcEngine::startDirectCdnStreaming
virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler *eventHandler, const char *publishUrl, const DirectCdnStreamingMediaOptions &options)=0
agora::rtc::IRtcEngine::setPlaybackAudioFrameParameters
virtual int setPlaybackAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::IVideoDeviceManager::getDevice
virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IMetadataObserver::onMetadataReceived
virtual void onMetadataReceived(const Metadata &metadata)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_4
@ VIDEO_PROFILE_PORTRAIT_480P_4
Definition: IAgoraRtcEngine.h:8461
agora::rtc::WlAccStats
Definition: AgoraBase.h:4084
agora::rtc::RtcEngineContext::logConfig
commons::LogConfig logConfig
Definition: IAgoraRtcEngine.h:3096
agora::rtc::IRtcEngineEventHandler::onRtmpStreamingStateChanged
virtual void onRtmpStreamingStateChanged(const char *url, RTMP_STREAM_PUBLISH_STATE state, RTMP_STREAM_PUBLISH_ERROR_TYPE errCode)
Definition: IAgoraRtcEngine.h:2415
agora::rtc::PublisherConfiguration::defaultLayout
int defaultLayout
Definition: IAgoraRtcEngine.h:712
agora::rtc::STREAM_FALLBACK_OPTION_DISABLED
@ STREAM_FALLBACK_OPTION_DISABLED
Definition: IAgoraRtcEngine.h:233
agora::rtc::AUDIO_EQUALIZATION_BAND_31
@ AUDIO_EQUALIZATION_BAND_31
Definition: IAgoraRtcEngine.h:164
agora::rtc::UDP_PROXY_TYPE
@ UDP_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1379
agora::rtc::VideoCompositingLayout::canvasWidth
int canvasWidth
Definition: IAgoraRtcEngine.h:596
agora::rtc::IRtcEngine::stopScreenCapture
virtual int stopScreenCapture(VIDEO_SOURCE_TYPE sourceType)=0
agora::rtc::VideoCompositingLayout::appDataLength
int appDataLength
Definition: IAgoraRtcEngine.h:617
agora::rtc::PROXY_TYPE
PROXY_TYPE
Definition: IAgoraRtcEngine.h:1373
agora::rtc::STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
@ STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
Definition: IAgoraRtcEngine.h:238
agora::rtc::ExtensionInfo::ExtensionInfo
ExtensionInfo()
Definition: IAgoraRtcEngine.h:3438
agora::rtc::MEDIA_TRACE_EVENT
MEDIA_TRACE_EVENT
Definition: AgoraBase.h:5821
agora::rtc::DirectCdnStreamingMediaOptions::DirectCdnStreamingMediaOptions
DirectCdnStreamingMediaOptions()
Definition: IAgoraRtcEngine.h:3351
agora::rtc::AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
@ AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
Definition: IAgoraRtcEngine.h:98
agora::rtc::IRtcEngine::setDirectCdnStreamingVideoConfiguration
virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration &config)=0
agora::rtc::IRtcEngineEventHandler::onFirstRemoteVideoDecoded
virtual void onFirstRemoteVideoDecoded(uid_t uid, int width, int height, int elapsed) 1
Definition: IAgoraRtcEngine.h:1765
agora::rtc::RTMP_STREAMING_EVENT
RTMP_STREAMING_EVENT
Definition: AgoraBase.h:3390
agora::rtc::VideoCompositingLayout::Region::zOrder
int zOrder
Definition: IAgoraRtcEngine.h:571
agora::rtc::IRtcEngine::registerAudioEncodedFrameObserver
virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig &config, IAudioEncodedFrameObserver *observer)=0
agora::rtc::RtcEngineContext::audioScenario
AUDIO_SCENARIO_TYPE audioScenario
Definition: IAgoraRtcEngine.h:3070
agora::rtc::STREAM_FALLBACK_OPTION_AUDIO_ONLY
@ STREAM_FALLBACK_OPTION_AUDIO_ONLY
Definition: IAgoraRtcEngine.h:242
agora::rtc::IRtcEngine::joinChannel
virtual int joinChannel(const char *token, const char *channelId, uid_t uid, const ChannelMediaOptions &options)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_3
@ VIDEO_PROFILE_PORTRAIT_720P_3
Definition: IAgoraRtcEngine.h:8473
agora::rtc::AUDIO_EQUALIZATION_BAND_500
@ AUDIO_EQUALIZATION_BAND_500
Definition: IAgoraRtcEngine.h:180
agora::rtc::RemoteVideoStats::publishDuration
int publishDuration
Definition: IAgoraRtcEngine.h:536
agora::rtc::RemoteAudioStats::RemoteAudioStats
RemoteAudioStats()
Definition: IAgoraRtcEngine.h:444
agora::rtc::IRtcEngine::setDualStreamMode
virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode)=0
agora::rtc::IRtcEngine::joinChannelWithUserAccountEx
virtual int joinChannelWithUserAccountEx(const char *token, const char *channelId, const char *userAccount, const ChannelMediaOptions &options, IRtcEngineEventHandler *eventHandler)=0
agora::media::CONTENT_INSPECT_RESULT
CONTENT_INSPECT_RESULT
Definition: AgoraMediaBase.h:252
agora::rtc::LocalVideoStats::targetFrameRate
int targetFrameRate
Definition: IAgoraRtcEngine.h:310
agora::rtc::ChannelMediaOptions::enableBuiltInMediaEncryption
Optional< bool > enableBuiltInMediaEncryption
Definition: IAgoraRtcEngine.h:1202
agora::rtc::IRtcEngine::sendCustomReportMessage
virtual int sendCustomReportMessage(const char *id, const char *category, const char *event, const char *label, int value)=0
agora::rtc::IRtcEngineEventHandler::onUserMuteAudio
virtual void onUserMuteAudio(uid_t uid, bool muted)
Definition: IAgoraRtcEngine.h:1906
agora::rtc::NONE_PROXY_TYPE
@ NONE_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1376
agora::rtc::CodecCapInfo
Definition: AgoraBase.h:1746
agora::commons::LogConfig
Definition: IAgoraLog.h:82
agora::rtc::IRtcEngine::enableDualStreamMode
virtual int enableDualStreamMode(bool enabled) 1=0
agora::rtc::IRtcEngineEventHandler::onPermissionError
virtual void onPermissionError(PERMISSION_TYPE permissionType)
Definition: IAgoraRtcEngine.h:2676
agora::rtc::IRtcEngineEventHandler::onVideoSizeChanged
virtual void onVideoSizeChanged(VIDEO_SOURCE_TYPE sourceType, uid_t uid, int width, int height, int rotation)
Definition: IAgoraRtcEngine.h:1780
agora::rtc::MEDIA_DEVICE_STATE_TYPE
MEDIA_DEVICE_STATE_TYPE
Definition: IAgoraRtcEngine.h:8333
agora::rtc::ChannelMediaOptions::operator==
bool operator==(const ChannelMediaOptions &o) const
Definition: IAgoraRtcEngine.h:1275
createAgoraRtcEngine
AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine()
IAgoraLog.h
agora::rtc::LocalVideoStats
Definition: IAgoraRtcEngine.h:259
agora::rtc::RemoteVideoStats::mosValue
int mosValue
Definition: IAgoraRtcEngine.h:544
agora::rtc::VIDEO_ORIENTATION
VIDEO_ORIENTATION
Definition: AgoraBase.h:930
agora::rtc::InjectStreamConfig::height
int height
Definition: IAgoraRtcEngine.h:639
agora::rtc::INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
@ INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
Definition: IAgoraRtcEngine.h:142
agora::rtc::IRtcEngine::muteAllRemoteAudioStreams
virtual int muteAllRemoteAudioStreams(bool mute)=0
agora::rtc::IRtcEngine::enableLoopbackRecording
virtual int enableLoopbackRecording(bool enabled, const char *deviceName=NULL)=0
agora::rtc::TCP_PROXY_AUTO_FALLBACK_TYPE
@ TCP_PROXY_AUTO_FALLBACK_TYPE
Definition: IAgoraRtcEngine.h:1388
agora::rtc::IRtcEngine::enableAudio
virtual int enableAudio()=0
agora::rtc::IDirectCdnStreamingEventHandler
Definition: IAgoraRtcEngine.h:3285
agora::rtc::STREAM_FALLBACK_OPTIONS
STREAM_FALLBACK_OPTIONS
Definition: IAgoraRtcEngine.h:229
agora::rtc::MEDIA_DEVICE_STATE_ACTIVE
@ MEDIA_DEVICE_STATE_ACTIVE
Definition: IAgoraRtcEngine.h:8339
agora::rtc::IMetadataObserver::~IMetadataObserver
virtual ~IMetadataObserver()
Definition: IAgoraRtcEngine.h:3183
agora::rtc::DirectCdnStreamingMediaOptions::operator==
bool operator==(const DirectCdnStreamingMediaOptions &o) const
Definition: IAgoraRtcEngine.h:3366
agora::rtc::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
Definition: AgoraBase.h:2444
agora::rtc::IRtcEngine::createCustomEncodedVideoTrack
virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions &sender_option)=0
agora::rtc::EncryptionConfig
Definition: AgoraBase.h:5468
agora::rtc::IRtcEngine::startEchoTest
virtual int startEchoTest()=0
agora::rtc::LocalVideoStats::qualityAdaptIndication
QUALITY_ADAPT_INDICATION qualityAdaptIndication
Definition: IAgoraRtcEngine.h:314
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::INJECT_STREAM_STATUS_START_TIMEDOUT
@ INJECT_STREAM_STATUS_START_TIMEDOUT
Definition: IAgoraRtcEngine.h:126
agora::rtc::RtcEngineContext::channelProfile
CHANNEL_PROFILE_TYPE channelProfile
Definition: IAgoraRtcEngine.h:3056
agora::rtc::AUDIO_PLAYOUT_DEVICE
@ AUDIO_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:45
agora::rtc::IRtcEngineEventHandler::onFirstRemoteAudioDecoded
virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) 1
Definition: IAgoraRtcEngine.h:2278
agora::rtc::REMOTE_AUDIO_STATE_REASON
REMOTE_AUDIO_STATE_REASON
Definition: AgoraBase.h:2846
agora::rtc::RtcEngineContext::autoRegisterAgoraExtensions
bool autoRegisterAgoraExtensions
Definition: IAgoraRtcEngine.h:3124
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE
RAW_AUDIO_FRAME_OP_MODE_TYPE
Definition: AgoraMediaBase.h:173
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_4
@ VIDEO_PROFILE_LANDSCAPE_480P_4
Definition: IAgoraRtcEngine.h:8391
agora::rtc::IRtcEngine::setMixedAudioFrameParameters
virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall)=0
agora::rtc::IRtcEngineEventHandler::onTokenPrivilegeWillExpire
virtual void onTokenPrivilegeWillExpire(const char *token)
Definition: IAgoraRtcEngine.h:2223
agora::rtc::AdvancedAudioOptions::~AdvancedAudioOptions
~AdvancedAudioOptions()
Definition: IAgoraRtcEngine.h:1005
agora::rtc::IRtcEngineEventHandler::onFirstRemoteAudioFrame
virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) 1
Definition: IAgoraRtcEngine.h:2257
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_10
@ VIDEO_PROFILE_LANDSCAPE_480P_10
Definition: IAgoraRtcEngine.h:8399
agora::rtc::PRIORITY_HIGH
@ PRIORITY_HIGH
Definition: IAgoraRtcEngine.h:248
AgoraOptional.h
agora::rtc::IRtcEngine::startLastmileProbeTest
virtual int startLastmileProbeTest(const LastmileProbeConfig &config)=0
agora::rtc::RtcEngineContext::appId
const char * appId
Definition: IAgoraRtcEngine.h:3046
agora::rtc::RemoteVideoStats::rxVideoBytes
unsigned int rxVideoBytes
Definition: IAgoraRtcEngine.h:548
agora::rtc::RemoteAudioStats
Definition: IAgoraRtcEngine.h:347
agora::rtc::VideoCompositingLayout::VideoCompositingLayout
VideoCompositingLayout()
Definition: IAgoraRtcEngine.h:619
agora::rtc::TranscodingVideoStream
Definition: AgoraBase.h:3701
agora::rtc::IVideoDeviceCollection::setDevice
virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngine::setLocalRenderMode
virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode)=0
agora::rtc::IRtcEngineEventHandler::onAudioDeviceStateChanged
virtual void onAudioDeviceStateChanged(const char *deviceId, int deviceType, int deviceState)
Definition: IAgoraRtcEngine.h:1597
agora::rtc::RemoteAudioStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:351
agora::rtc::IRtcEngineEventHandler::onCameraReady
virtual void onCameraReady() 1
Definition: IAgoraRtcEngine.h:2028
agora::rtc::ChannelMediaOptions::publishThirdCameraTrack
Optional< bool > publishThirdCameraTrack
Definition: IAgoraRtcEngine.h:1041
agora::rtc::AUDIO_EFFECT_PRESET
AUDIO_EFFECT_PRESET
Definition: AgoraBase.h:4602
agora::rtc::IRtcEngine::destroyMediaPlayer
virtual int destroyMediaPlayer(agora_refptr< IMediaPlayer > media_player)=0
agora::rtc::IRtcEngine::setVoiceBeautifierPreset
virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset)=0
agora::rtc::IRtcEngineEventHandler::onRemoteAudioStateChanged
virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed)
Definition: IAgoraRtcEngine.h:2318
agora::rtc::LocalVideoStats::captureBrightnessLevel
CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel
Definition: IAgoraRtcEngine.h:331
agora::rtc::IRtcEngineEventHandler::onUserAccountUpdated
virtual void onUserAccountUpdated(uid_t uid, const char *userAccount)
Definition: IAgoraRtcEngine.h:2846
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P
@ VIDEO_PROFILE_LANDSCAPE_360P
Definition: IAgoraRtcEngine.h:8369
agora::rtc::IRtcEngine::setAudioProfile
virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) 1=0
agora::rtc::LocalVideoStats::encoderOutputFrameRate
int encoderOutputFrameRate
Definition: IAgoraRtcEngine.h:295
agora::rtc::LocalVideoStats::codecType
VIDEO_CODEC_TYPE codecType
Definition: IAgoraRtcEngine.h:324
agora::rtc::ChannelMediaOptions::isAudioFilterable
Optional< bool > isAudioFilterable
Definition: IAgoraRtcEngine.h:1227
agora::rtc::AUDIO_AINS_MODE
AUDIO_AINS_MODE
Definition: AgoraBase.h:2380
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition: AgoraBase.h:1516
agora::rtc::VIDEO_PROFILE_PORTRAIT_4K_3
@ VIDEO_PROFILE_PORTRAIT_4K_3
Definition: IAgoraRtcEngine.h:8491
agora::rtc::IVideoDeviceManager::setDevice
virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::RtcStats
Definition: AgoraBase.h:2085
agora::rtc::PublisherConfiguration::lifecycle
int lifecycle
Definition: IAgoraRtcEngine.h:715
agora::rtc::ChannelMediaOptions::audienceLatencyLevel
Optional< AUDIENCE_LATENCY_LEVEL_TYPE > audienceLatencyLevel
Definition: IAgoraRtcEngine.h:1165
agora::rtc::RtcEngineContext::license
const char * license
Definition: IAgoraRtcEngine.h:3061
AgoraMediaBase.h
agora::rtc::PublisherConfiguration::PublisherConfiguration
PublisherConfiguration()
Definition: IAgoraRtcEngine.h:742
agora::rtc::ChannelMediaOptions::publishMediaPlayerVideoTrack
Optional< bool > publishMediaPlayerVideoTrack
Definition: IAgoraRtcEngine.h:1128
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P_3
@ VIDEO_PROFILE_PORTRAIT_1080P_3
Definition: IAgoraRtcEngine.h:8481
agora::rtc::IRtcEngine::startRtmpStreamWithoutTranscoding
virtual int startRtmpStreamWithoutTranscoding(const char *url)=0
agora::rtc::QUALITY_REPORT_HTML
@ QUALITY_REPORT_HTML
Definition: IAgoraRtcEngine.h:8329
agora::rtc::LowlightEnhanceOptions
Definition: AgoraBase.h:4270
agora::rtc::IRtcEngine::setRecordingAudioFrameParameters
virtual int setRecordingAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::RemoteVideoStats::rxStreamType
VIDEO_STREAM_TYPE rxStreamType
Definition: IAgoraRtcEngine.h:512
agora::rtc::DIRECT_CDN_STREAMING_STATE_STOPPED
@ DIRECT_CDN_STREAMING_STATE_STOPPED
Definition: IAgoraRtcEngine.h:3244
agora::rtc::IRtcEngine::stopRtmpStream
virtual int stopRtmpStream(const char *url)=0
agora::rtc::IRtcEngine::adjustUserPlaybackSignalVolume
virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume)=0
agora::rtc::IRtcEngine::startEchoTest
virtual int startEchoTest(const EchoTestConfiguration &config)=0
agora::rtc::ChannelMediaOptions::mediaPlayerAudioDelayMs
Optional< int > mediaPlayerAudioDelayMs
Definition: IAgoraRtcEngine.h:1185
agora::rtc::ChannelMediaOptions::clientRoleType
Optional< CLIENT_ROLE_TYPE > clientRoleType
Definition: IAgoraRtcEngine.h:1161
agora::rtc::LocalVideoStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:263
agora::rtc::STREAM_PUBLISH_STATE
STREAM_PUBLISH_STATE
Definition: AgoraBase.h:5604
agora::rtc::IRtcEngineEventHandler::onJoinChannelSuccess
virtual void onJoinChannelSuccess(const char *channel, uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1453
agora::rtc::WatermarkOptions
Definition: AgoraBase.h:2048
agora::rtc::IRtcEngine::adjustPlaybackSignalVolume
virtual int adjustPlaybackSignalVolume(int volume)=0
agora::rtc::LocalAudioStats
Definition: AgoraBase.h:3256
agora::rtc::RecorderStreamInfo
Definition: AgoraBase.h:5902
agora::rtc::LOCAL_AUDIO_STREAM_STATE
LOCAL_AUDIO_STREAM_STATE
Definition: AgoraBase.h:2608
agora::rtc::VIDEO_MIRROR_MODE_DISABLED
@ VIDEO_MIRROR_MODE_DISABLED
Definition: AgoraBase.h:1716
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::AUDIO_RECORDING_QUALITY_TYPE
AUDIO_RECORDING_QUALITY_TYPE
Definition: AgoraBase.h:4873
agora::rtc::IRtcEngine::setupRemoteVideo
virtual int setupRemoteVideo(const VideoCanvas &canvas)=0
agora::rtc::IRtcEngine::stopCameraCapture
virtual int stopCameraCapture(VIDEO_SOURCE_TYPE sourceType)=0
__deprecated
#define __deprecated
Definition: AgoraBase.h:63
agora::rtc::VideoCompositingLayout::backgroundColor
const char * backgroundColor
Definition: IAgoraRtcEngine.h:604
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_4
@ VIDEO_PROFILE_LANDSCAPE_360P_4
Definition: IAgoraRtcEngine.h:8373
agora::rtc::ScreenCaptureConfiguration::params
ScreenCaptureParameters params
Definition: IAgoraRtcEngine.h:836
agora::rtc::IMetadataObserver::Metadata::buffer
unsigned char * buffer
Definition: IAgoraRtcEngine.h:3176
agora::rtc::IRtcEngine::setVoiceConversionParameters
virtual int setVoiceConversionParameters(VOICE_CONVERSION_PRESET preset, int param1, int param2)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_5
@ VIDEO_PROFILE_LANDSCAPE_720P_5
Definition: IAgoraRtcEngine.h:8405
agora::rtc::IRtcEngine::setupLocalVideo
virtual int setupLocalVideo(const VideoCanvas &canvas)=0
agora::rtc::InjectStreamConfig
Definition: IAgoraRtcEngine.h:631
agora::rtc::HEADPHONE_EQUALIZER_PRESET
HEADPHONE_EQUALIZER_PRESET
Definition: AgoraBase.h:4774
agora::media::MEDIA_SOURCE_TYPE
MEDIA_SOURCE_TYPE
Definition: AgoraMediaBase.h:191
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P
@ VIDEO_PROFILE_LANDSCAPE_240P
Definition: IAgoraRtcEngine.h:8363
agora::rtc::ChannelMediaOptions::publishRhythmPlayerTrack
Optional< bool > publishRhythmPlayerTrack
Definition: IAgoraRtcEngine.h:1208
agora::rtc::IRtcEngine::startOrUpdateChannelMediaRelay
virtual int startOrUpdateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration)=0
agora::rtc::ScreenCaptureConfiguration::isCaptureWindow
bool isCaptureWindow
Definition: IAgoraRtcEngine.h:818
agora::rtc::QUALITY_REPORT_JSON
@ QUALITY_REPORT_JSON
Definition: IAgoraRtcEngine.h:8326
agora::rtc::AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
@ AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
Definition: IAgoraRtcEngine.h:100
agora::rtc::IRtcEngine::startAudioRecording
virtual int startAudioRecording(const AudioRecordingConfiguration &config)=0
agora::rtc::IRtcEngineEventHandler::onConnectionInterrupted
virtual void onConnectionInterrupted() 1
Definition: IAgoraRtcEngine.h:2155
agora::rtc::LocalVideoStats::captureFrameWidth
int captureFrameWidth
Definition: IAgoraRtcEngine.h:277
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::RtcEngineContext
Definition: IAgoraRtcEngine.h:3035
agora::rtc::IRtcEngine::resumeAllChannelMediaRelay
virtual int resumeAllChannelMediaRelay()=0
agora::rtc::ChannelMediaOptions
Definition: IAgoraRtcEngine.h:1023
agora::rtc::IRtcEngine::enableVideo
virtual int enableVideo()=0
agora::rtc::IRtcEngine
Definition: IAgoraRtcEngine.h:3455
agora::rtc::LocalVideoStats::encodedBitrate
int encodedBitrate
Definition: IAgoraRtcEngine.h:318
agora::rtc::IVideoDeviceCollection::getDevice
virtual int getDevice(int index, char deviceNameUTF8[MAX_DEVICE_ID_LENGTH], char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
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:2727
agora::rtc::IRtcEngineEventHandler::onRemoteAudioStats
virtual void onRemoteAudioStats(const RemoteAudioStats &stats)
Definition: IAgoraRtcEngine.h:1990
agora::rtc::IRtcEngineEventHandler::onRemoteAudioTransportStats
virtual void onRemoteAudioTransportStats(uid_t uid, unsigned short delay, unsigned short lost, unsigned short rxKBitRate) 1
Definition: IAgoraRtcEngine.h:2574
agora::rtc::IRtcEngine::setClientRole
virtual int setClientRole(CLIENT_ROLE_TYPE role)=0
agora::rtc::IRtcEngineEventHandler::onFirstRemoteVideoFrame
virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed)
Definition: IAgoraRtcEngine.h:1844
agora::rtc::DIRECT_CDN_STREAMING_ERROR_VIDEO_PUBLICATION
@ DIRECT_CDN_STREAMING_ERROR_VIDEO_PUBLICATION
Definition: IAgoraRtcEngine.h:3229
agora::rtc::AUDIO_MIXING_REASON_TYPE
AUDIO_MIXING_REASON_TYPE
Definition: IAgoraRtcEngine.h:90
agora::rtc::RemoteAudioStats::plcCount
uint32_t plcCount
Definition: IAgoraRtcEngine.h:420
agora::rtc::ScreenCaptureConfiguration
Definition: IAgoraRtcEngine.h:812
agora::rtc::IRtcEngine::startAudioRecording
virtual int startAudioRecording(const char *filePath, AUDIO_RECORDING_QUALITY_TYPE quality)=0
agora::rtc::IVideoDeviceManager::enumerateVideoDevices
virtual IVideoDeviceCollection * enumerateVideoDevices()=0
agora::rtc::VideoCompositingLayout::Region::Region
Region()
Definition: IAgoraRtcEngine.h:581
agora::rtc::ImageTrackOptions::fps
int fps
Definition: IAgoraRtcEngine.h:1010
agora::rtc::LOCAL_VIDEO_STREAM_ERROR
LOCAL_VIDEO_STREAM_ERROR
Definition: AgoraBase.h:2701
agora::rtc::DIRECT_CDN_STREAMING_STATE_RECOVERING
@ DIRECT_CDN_STREAMING_STATE_RECOVERING
Definition: IAgoraRtcEngine.h:3248
agora::rtc::IVideoDeviceManager::~IVideoDeviceManager
virtual ~IVideoDeviceManager()
Definition: IAgoraRtcEngine.h:2925
agora::rtc::AudioRecordingConfiguration
Definition: AgoraBase.h:4931
agora::rtc::AUDIO_RECORDING_DEVICE
@ AUDIO_RECORDING_DEVICE
Definition: IAgoraRtcEngine.h:49
agora::rtc::ExtensionInfo::channelId
const char * channelId
Definition: IAgoraRtcEngine.h:3431
agora::rtc::IMetadataObserver::Metadata::timeStampMs
long long timeStampMs
Definition: IAgoraRtcEngine.h:3180
agora::rtc::IVideoDeviceCollection::release
virtual void release()=0
agora::rtc::REMOTE_VIDEO_STATE_REASON
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:2917
agora::rtc::DirectCdnStreamingMediaOptions::publishMediaPlayerAudioTrack
Optional< bool > publishMediaPlayerAudioTrack
Definition: IAgoraRtcEngine.h:3339
agora::rtc::IRtcEngine::renewToken
virtual int renewToken(const char *token)=0
agora::rtc::IRtcEngine::disableAudioSpectrumMonitor
virtual int disableAudioSpectrumMonitor()=0
agora::rtc::AUDIO_EQUALIZATION_BAND_62
@ AUDIO_EQUALIZATION_BAND_62
Definition: IAgoraRtcEngine.h:168
agora::rtc::IRtcEngine::setAdvancedAudioOptions
virtual int setAdvancedAudioOptions(AdvancedAudioOptions &options, int sourceType=0)=0
agora::rtc::IRtcEngine::startLocalVideoTranscoder
virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration &config)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_7
@ VIDEO_PROFILE_LANDSCAPE_360P_7
Definition: IAgoraRtcEngine.h:8377
agora::rtc::IRtcEngineEventHandler::onClientRoleChangeFailed
virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole)
Definition: IAgoraRtcEngine.h:2387
agora::rtc::IRtcEngine::unregisterMediaMetadataObserver
virtual int unregisterMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type)=0
agora::rtc::IRtcEngine::muteRecordingSignal
virtual int muteRecordingSignal(bool mute)=0
agora::rtc::IRtcEngine::enableSpatialAudio
virtual int enableSpatialAudio(bool enabled)=0
agora::rtc::InjectStreamConfig::videoGop
int videoGop
Definition: IAgoraRtcEngine.h:643
agora::rtc::IRtcEngine::rate
virtual int rate(const char *callId, int rating, const char *description)=0
agora::rtc::ImageTrackOptions::ImageTrackOptions
ImageTrackOptions()
Definition: IAgoraRtcEngine.h:1012
agora::rtc::FeatureType
FeatureType
Definition: IAgoraRtcEngine.h:1397
agora::util::CopyableAutoPtr
Definition: AgoraBase.h:145
agora::rtc::INJECT_STREAM_STATUS_STOP_SUCCESS
@ INJECT_STREAM_STATUS_STOP_SUCCESS
Definition: IAgoraRtcEngine.h:134
agora::rtc::NETWORK_TYPE
NETWORK_TYPE
Definition: AgoraBase.h:4102
agora::rtc::IRtcEngineEventHandler::onAudioDeviceVolumeChanged
virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted)
Definition: IAgoraRtcEngine.h:2398
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_3
@ VIDEO_PROFILE_PORTRAIT_360P_3
Definition: IAgoraRtcEngine.h:8441
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P
@ VIDEO_PROFILE_PORTRAIT_720P
Definition: IAgoraRtcEngine.h:8471
agora::rtc::VideoCompositingLayout::appData
const char * appData
Definition: IAgoraRtcEngine.h:614
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_6
@ VIDEO_PROFILE_PORTRAIT_480P_6
Definition: IAgoraRtcEngine.h:8463
agora::rtc::IRtcEngine::muteRemoteVideoStream
virtual int muteRemoteVideoStream(uid_t uid, bool mute)=0
agora::rtc::IRtcEngine::setRemoteVideoStreamType
virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType)=0
agora::rtc::IRtcEngineEventHandler::onExtensionError
virtual void onExtensionError(const char *provider, const char *extension, int error, const char *message)
Definition: IAgoraRtcEngine.h:2834
agora::rtc::DirectCdnStreamingMediaOptions::~DirectCdnStreamingMediaOptions
~DirectCdnStreamingMediaOptions()
Definition: IAgoraRtcEngine.h:3352
agora::rtc::IRtcEngineEventHandler::onNetworkQuality
virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality)
Definition: IAgoraRtcEngine.h:1664
agora::rtc::CAMERA_DIRECTION
CAMERA_DIRECTION
Definition: IAgoraRtcEngine.h:761
agora::rtc::ChannelMediaOptions::audioDelayMs
Optional< int > audioDelayMs
Definition: IAgoraRtcEngine.h:1180
agora::rtc::IRtcEngine::setRemoteDefaultVideoStreamType
virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType)=0
agora::rtc::AUDIO_PROFILE_TYPE
AUDIO_PROFILE_TYPE
Definition: AgoraBase.h:2398
agora::rtc::DirectCdnStreamingMediaOptions::publishMicrophoneTrack
Optional< bool > publishMicrophoneTrack
Definition: IAgoraRtcEngine.h:3321
agora::rtc::IRtcEngine::setPlaybackAudioFrameBeforeMixingParameters
virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel)=0
agora::rtc::IRtcEngine::disableAudio
virtual int disableAudio()=0
agora::rtc::IRtcEngine::leaveChannel
virtual int leaveChannel()=0
agora::rtc::IRtcEngineEventHandler::onLicenseValidationFailure
virtual void onLicenseValidationFailure(LICENSE_ERROR_TYPE error)
Definition: IAgoraRtcEngine.h:2232
agora::rtc::IRtcEngine::setClientRole
virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions &options)=0
agora::rtc::LeaveChannelOptions::LeaveChannelOptions
LeaveChannelOptions()
Definition: IAgoraRtcEngine.h:1425
agora::rtc::IDirectCdnStreamingEventHandler::onDirectCdnStreamingStats
virtual void onDirectCdnStreamingStats(const DirectCdnStreamingStats &stats)
Definition: IAgoraRtcEngine.h:3301
agora::rtc::IMetadataObserver::MAX_METADATA_SIZE_TYPE
MAX_METADATA_SIZE_TYPE
Definition: IAgoraRtcEngine.h:3156
agora::rtc::DIRECT_CDN_STREAMING_STATE_RUNNING
@ DIRECT_CDN_STREAMING_STATE_RUNNING
Definition: IAgoraRtcEngine.h:3242
agora::rtc::MEDIA_DEVICE_STATE_NOT_PRESENT
@ MEDIA_DEVICE_STATE_NOT_PRESENT
Definition: IAgoraRtcEngine.h:8345
agora::rtc::INJECT_STREAM_STATUS_START_UNAUTHORIZED
@ INJECT_STREAM_STATUS_START_UNAUTHORIZED
Definition: IAgoraRtcEngine.h:122
agora::rtc::VideoCompositingLayout::Region::uid
uid_t uid
Definition: IAgoraRtcEngine.h:555
agora::rtc::IRtcEngine::destroyMediaRecorder
virtual int destroyMediaRecorder(agora_refptr< IMediaRecorder > mediaRecorder)=0
agora::rtc::IRtcEngine::setLogFile
virtual int setLogFile(const char *filePath)=0
agora::rtc::RtcEngineContext::context
void * context
Definition: IAgoraRtcEngine.h:3052
ADD_COMPARE
#define ADD_COMPARE(X)
agora::rtc::ImageTrackOptions
Definition: IAgoraRtcEngine.h:1008
agora::rtc::ImageTrackOptions::imageUrl
const char * imageUrl
Definition: IAgoraRtcEngine.h:1009
agora::rtc::VIDEO_PROFILE_PORTRAIT_4K
@ VIDEO_PROFILE_PORTRAIT_4K
Definition: IAgoraRtcEngine.h:8489
agora::rtc::VideoCompositingLayout::Region
Definition: IAgoraRtcEngine.h:552
agora::rtc::IRtcEngine::registerLocalUserAccount
virtual int registerLocalUserAccount(const char *appId, const char *userAccount)=0
agora::rtc::LocalVideoStats::encodedFrameCount
int encodedFrameCount
Definition: IAgoraRtcEngine.h:321
agora::rtc::IRtcEngine::stopPreview
virtual int stopPreview()=0
agora::rtc::IRtcEngine::createCustomVideoTrack
virtual video_track_id_t createCustomVideoTrack()=0
agora::rtc::RemoteVideoStats::height
int height
Definition: IAgoraRtcEngine.h:492
agora::rtc::IRtcEngine::registerEventHandler
virtual bool registerEventHandler(IRtcEngineEventHandler *eventHandler)=0
agora::rtc::IVideoDeviceCollection::getCount
virtual int getCount()=0
agora::rtc::ScreenCaptureConfiguration::windowId
view_t windowId
Definition: IAgoraRtcEngine.h:832
agora::rtc::PublisherConfiguration::height
int height
Definition: IAgoraRtcEngine.h:698
agora::rtc::ChannelMediaOptions::publishMediaPlayerAudioTrack
Optional< bool > publishMediaPlayerAudioTrack
Definition: IAgoraRtcEngine.h:1122
agora::rtc::DirectCdnStreamingMediaOptions::publishMediaPlayerId
Optional< int > publishMediaPlayerId
Definition: IAgoraRtcEngine.h:3344
agora::rtc::IRtcEngineEventHandler::onUplinkNetworkInfoUpdated
virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo &info)
Definition: IAgoraRtcEngine.h:1688
agora::rtc::VIDEO_PROFILE_TYPE
VIDEO_PROFILE_TYPE
Definition: IAgoraRtcEngine.h:8351
agora::rtc::IRtcEngine::stopDirectCdnStreaming
virtual int stopDirectCdnStreaming()=0
agora::rtc::IRtcEngine::preloadChannel
virtual int preloadChannel(const char *token, const char *channelId, const char *userAccount)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_4K
@ AUDIO_EQUALIZATION_BAND_4K
Definition: IAgoraRtcEngine.h:192
agora::rtc::RtcEngineContext::RtcEngineContext
RtcEngineContext()
Definition: IAgoraRtcEngine.h:3126
agora::rtc::InjectStreamConfig::width
int width
Definition: IAgoraRtcEngine.h:635
agora::rtc::IRtcEngine::getUserInfoByUid
virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo *userInfo)=0
agora::rtc::IVideoDeviceManager::stopDeviceTest
virtual int stopDeviceTest()=0
IAgoraMediaEngine.h
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_6
@ VIDEO_PROFILE_LANDSCAPE_720P_6
Definition: IAgoraRtcEngine.h:8407
agora::rtc::IRtcEngine::adjustRecordingSignalVolume
virtual int adjustRecordingSignalVolume(int volume)=0
agora::rtc::IRtcEngineEventHandler::onTranscodingUpdated
virtual void onTranscodingUpdated()
Definition: IAgoraRtcEngine.h:2442
agora::rtc::IRtcEngine::addVideoWatermark
virtual int addVideoWatermark(const RtcImage &watermark)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P_4
@ VIDEO_PROFILE_LANDSCAPE_180P_4
Definition: IAgoraRtcEngine.h:8361
agora::LICENSE_ERROR_TYPE
LICENSE_ERROR_TYPE
Definition: AgoraBase.h:740
agora::rtc::IRtcEngine::joinChannelWithUserAccount
virtual int joinChannelWithUserAccount(const char *token, const char *channelId, const char *userAccount)=0
agora::rtc::AREA_CODE_GLOB
@ AREA_CODE_GLOB
Definition: AgoraBase.h:5095
AGORA_CALL
#define AGORA_CALL
Definition: AgoraBase.h:61
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P
@ VIDEO_PROFILE_LANDSCAPE_480P
Definition: IAgoraRtcEngine.h:8387
agora::rtc::IRtcEngine::isFeatureAvailableOnDevice
virtual bool isFeatureAvailableOnDevice(FeatureType type)=0
Whether the target feature is available for the device.
agora::rtc::TCP_PROXY_TYPE
@ TCP_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1382
agora::rtc::IRtcEngineEventHandler::onDownlinkNetworkInfoUpdated
virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo &info)
Definition: IAgoraRtcEngine.h:1699
agora::rtc::IRtcEngine::getConnectionState
virtual CONNECTION_STATE_TYPE getConnectionState()=0
agora::rtc::LocalVideoStats::txPacketLossRate
unsigned short txPacketLossRate
Definition: IAgoraRtcEngine.h:328
agora::rtc::DirectCdnStreamingMediaOptions::publishCustomVideoTrack
Optional< bool > publishCustomVideoTrack
Definition: IAgoraRtcEngine.h:3333
agora::rtc::RemoteAudioStats::networkTransportDelay
int networkTransportDelay
Definition: IAgoraRtcEngine.h:359
agora::rtc::PublisherConfiguration::rawStreamUrl
const char * rawStreamUrl
Definition: IAgoraRtcEngine.h:737
agora::rtc::SetFrom
static void SetFrom(Optional< T > *s, const Optional< T > &o)
Definition: IAgoraRtcEngine.h:21
agora::rtc::CLIENT_ROLE_CHANGE_FAILED_REASON
CLIENT_ROLE_CHANGE_FAILED_REASON
Definition: AgoraBase.h:4026
agora::rtc::IRtcEngineEventHandler::onLeaveChannel
virtual void onLeaveChannel(const RtcStats &stats)
Definition: IAgoraRtcEngine.h:1573
agora::rtc::AAudioDeviceManager
Definition: IAgoraRtcEngine.h:8308
agora::rtc::IMetadataObserver::Metadata
Definition: IAgoraRtcEngine.h:3165
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_10
@ VIDEO_PROFILE_PORTRAIT_360P_10
Definition: IAgoraRtcEngine.h:8453
agora::rtc::IRtcEngine::registerAudioSpectrumObserver
virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::IRtcEngineEventHandler::onLastmileQuality
virtual void onLastmileQuality(int quality)
Definition: IAgoraRtcEngine.h:1715
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::LOCAL_PROXY_TYPE
@ LOCAL_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1385
agora::rtc::IRtcEngineEventHandler::onEncryptionError
virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType)
Definition: IAgoraRtcEngine.h:2663
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_7
@ VIDEO_PROFILE_PORTRAIT_360P_7
Definition: IAgoraRtcEngine.h:8447
agora::rtc::DeviceInfo
Definition: AgoraBase.h:3116
agora::base::IEngineBase
Definition: AgoraBase.h:5983
agora::rtc::IRtcEngine::setLocalPublishFallbackOption
virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_120P_3
@ VIDEO_PROFILE_LANDSCAPE_120P_3
Definition: IAgoraRtcEngine.h:8355
agora::rtc::IRtcEngine::queryCodecCapability
virtual int queryCodecCapability(CodecCapInfo *codecInfo, int &size)=0
agora::rtc::VideoRenderingTracingInfo
Definition: AgoraBase.h:5835
agora::rtc::IRtcEngine::enableAudioSpectrumMonitor
virtual int enableAudioSpectrumMonitor(int intervalInMS=100)=0
agora::rtc::IRtcEngineEventHandler::onRtcStats
virtual void onRtcStats(const RtcStats &stats)
Definition: IAgoraRtcEngine.h:1582
agora::rtc::UDP_PROXY
@ UDP_PROXY
Definition: IAgoraRtcEngine.h:778
agora::rtc::IRtcEngineEventHandler::onConnectionLost
virtual void onConnectionLost()
Definition: IAgoraRtcEngine.h:2142
SET_FROM
#define SET_FROM(X)
agora::rtc::LeaveChannelOptions::stopMicrophoneRecording
bool stopMicrophoneRecording
Definition: IAgoraRtcEngine.h:1423
agora::rtc::PublisherConfiguration::injectStreamHeight
int injectStreamHeight
Definition: IAgoraRtcEngine.h:726
agora::rtc::DIRECT_CDN_STREAMING_ERROR_FAILED
@ DIRECT_CDN_STREAMING_ERROR_FAILED
Definition: IAgoraRtcEngine.h:3225
agora::rtc::IRtcEngine::setInEarMonitoringVolume
virtual int setInEarMonitoringVolume(int volume)=0
agora::rtc::IRtcEngineEventHandler::onFirstLocalVideoFramePublished
virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed)
Definition: IAgoraRtcEngine.h:1744
agora::rtc::CameraCapturerConfiguration
Definition: IAgoraRtcEngine.h:787
agora::rtc::ExtensionInfo::localUid
uid_t localUid
Definition: IAgoraRtcEngine.h:3436
agora::rtc::VIDEO_PROFILE_LANDSCAPE_4K_3
@ VIDEO_PROFILE_LANDSCAPE_4K_3
Definition: IAgoraRtcEngine.h:8421
agora::rtc::DIRECT_CDN_STREAMING_ERROR
DIRECT_CDN_STREAMING_ERROR
Definition: IAgoraRtcEngine.h:3221
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P_3
@ VIDEO_PROFILE_PORTRAIT_180P_3
Definition: IAgoraRtcEngine.h:8429
agora::rtc::RemoteVideoStats
Definition: IAgoraRtcEngine.h:468
agora::rtc::AUDIO_MIXING_STATE_TYPE
AUDIO_MIXING_STATE_TYPE
Definition: IAgoraRtcEngine.h:75
agora::Optional
Definition: AgoraOptional.h:413
agora::rtc::IRtcEngine::enableLocalVideo
virtual int enableLocalVideo(bool enabled)=0
agora::rtc::IRtcEngine::enableCustomAudioLocalPlayback
virtual int enableCustomAudioLocalPlayback(track_id_t trackId, bool enabled)=0
agora::rtc::ClientRoleOptions
Definition: AgoraBase.h:2330
agora::rtc::IRtcEngine::setAudioProfile
virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile)=0
agora::rtc::RTMP_STREAM_PUBLISH_STATE
RTMP_STREAM_PUBLISH_STATE
Definition: AgoraBase.h:3287
agora::rtc::AUDIO_VIRTUAL_RECORDING_DEVICE
@ AUDIO_VIRTUAL_RECORDING_DEVICE
Definition: IAgoraRtcEngine.h:69
agora::rtc::IRtcEngine::setDefaultMuteAllRemoteVideoStreams
virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) 1=0
agora::rtc::InjectStreamConfig::videoBitrate
int videoBitrate
Definition: IAgoraRtcEngine.h:651
agora::rtc::IRtcEngineEventHandler::onRemoteVideoTransportStats
virtual void onRemoteVideoTransportStats(uid_t uid, unsigned short delay, unsigned short lost, unsigned short rxKBitRate) 1
Definition: IAgoraRtcEngine.h:2599
agora::rtc::RTMP_STREAM_LIFE_CYCLE_BIND2OWNER
@ RTMP_STREAM_LIFE_CYCLE_BIND2OWNER
Definition: IAgoraRtcEngine.h:685
agora::rtc::IRtcEngine::enableLocalAudio
virtual int enableLocalAudio(bool enabled)=0
agora::rtc::IRtcEngine::enableWebSdkInteroperability
virtual int enableWebSdkInteroperability(bool enabled) 1=0
agora::rtc::VideoCanvas
Definition: AgoraBase.h:4158
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_11
@ VIDEO_PROFILE_LANDSCAPE_360P_11
Definition: IAgoraRtcEngine.h:8385
agora::rtc::AUDIO_REVERB_DRY_LEVEL
@ AUDIO_REVERB_DRY_LEVEL
Definition: IAgoraRtcEngine.h:210
agora::rtc::VideoCompositingLayout::Region::alpha
double alpha
Definition: IAgoraRtcEngine.h:576
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P
@ VIDEO_PROFILE_LANDSCAPE_1080P
Definition: IAgoraRtcEngine.h:8409
agora::rtc::RtcEngineContext::areaCode
unsigned int areaCode
Definition: IAgoraRtcEngine.h:3079
agora::rtc::SegmentationProperty
Definition: AgoraBase.h:4444
agora::rtc::AUDIO_SAMPLE_RATE_TYPE
AUDIO_SAMPLE_RATE_TYPE
Definition: AgoraBase.h:3187
agora::rtc::IRtcEngineEventHandler::onIntraRequestReceived
virtual void onIntraRequestReceived()
Definition: IAgoraRtcEngine.h:1676
agora::rtc::track_id_t
unsigned int track_id_t
Definition: AgoraMediaBase.h:30
agora::rtc::IRtcEngineEventHandler::onLastmileProbeResult
virtual void onLastmileProbeResult(const LastmileProbeResult &result)
Definition: IAgoraRtcEngine.h:1528