Agora C++ API Reference for All Platforms
IAgoraRtcEngine.h
1 //
2 // Agora Rtc Engine SDK
3 //
4 // Copyright (c) 2018 Agora.io. All rights reserved.
5 //
6 #pragma once
7 
8 #include "AgoraBase.h"
9 #include "AgoraMediaBase.h"
10 #include "IAgoraLog.h"
11 #include "AgoraOptional.h"
12 #include "IAudioDeviceManager.h"
13 #include "IAgoraRhythmPlayer.h"
14 #include "IAgoraMediaEngine.h"
15 
16 namespace agora {
17 namespace rtc {
18 
19 template <typename T>
20 static void SetFrom(Optional<T>* s, const Optional<T>& o) {
21  if (o) {
22  *s = o;
23  }
24 }
25 
26 template <typename T>
27 static void ReplaceBy(Optional<T>* s, const Optional<T>& o) {
28  *s = o;
29 }
30 
31 //class IAudioDeviceManager;
32 
61 };
62 
77 };
78 
97 };
98 
147 };
148 
193 };
194 
219 };
220 
235 };
236 
244 };
245 
249 {
321  unsigned short txPacketLossRate;
329 };
330 
346  int delay __deprecated;
350  int width;
354  int height;
403 };
404 
406  struct Region {
412  double x; // [0,1]
415  double y; // [0,1]
419  double width; // [0,1]
421  double height; // [0,1]
425  int zOrder; // optional, [0, 100] //0 (default): bottom most, 100: top most
426 
430  double alpha;
431 
433  renderMode; // RENDER_MODE_HIDDEN: Crop, RENDER_MODE_FIT: Zoom to fit
434 
436  : uid(0),
437  x(0),
438  y(0),
439  width(0),
440  height(0),
441  zOrder(0),
442  alpha(1.0),
443  renderMode(media::base::RENDER_MODE_HIDDEN) {}
444  };
445 
458  const char* backgroundColor; // e.g. "#C0C0C0" in RGB
462  const Region* regions;
468  const char* appData;
472 
474  : canvasWidth(0),
475  canvasHeight(0),
476  backgroundColor(NULL),
477  regions(NULL),
478  regionCount(0),
479  appData(NULL),
480  appDataLength(0) {}
481 };
482 
489  int width;
493  int height;
497  int videoGop;
517 
518  // width / height default set to 0 means pull the stream with its original
519  // resolution
521  : width(0),
522  height(0),
523  videoGop(30),
524  videoFramerate(15),
525  videoBitrate(400),
527  audioBitrate(48),
528  audioChannels(1) {}
529 };
530 
540 };
541 
548  int width;
552  int height;
560  int bitrate;
574  bool owner;
583  const char* injectStreamUrl;
587  const char* publishUrl;
591  const char* rawStreamUrl;
594  const char* extraInfo;
595 
597  : width(640),
598  height(360),
599  framerate(15),
600  bitrate(500),
601  defaultLayout(1),
603  owner(true),
606  injectStreamUrl(NULL),
607  publishUrl(NULL),
608  rawStreamUrl(NULL),
609  extraInfo(NULL) {}
610 };
611 
615 };
616 
622 };
623 
636 
638  TCP_PROXY = 2,
640 };
641 
643 struct CameraCapturerConfiguration {
645 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
647 #else
648 
649  char deviceId[MAX_DEVICE_ID_LENGTH];
650 #endif
654 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
656 #else
657  memset(deviceId, 0, sizeof(deviceId));
658 #endif
659  }
660 };
661 
663  bool isCaptureWindow; // true - capture window, false - capture display
664  uint32_t displayId;
665  Rectangle screenRect; //Windows only
669 
671 };
672 
673 #if (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
674 
676 struct SIZE {
679  int width;
682  int height;
683 
684  SIZE() : width(0), height(0) {}
685  SIZE(int ww, int hh) : width(ww), height(hh) {}
686 };
687 #endif
688 
689 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
691  const char* buffer;
692  unsigned int length;
693  unsigned int width;
694  unsigned int height;
695  ThumbImageBuffer() : buffer(nullptr), length(0), width(0), height(0) {}
696 };
697 
703 };
704 
709  const char* sourceName;
712 
713  const char* processPath;
714  const char* sourceTitle;
718  processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false) {}
719 };
720 
722  protected:
723  virtual ~IScreenCaptureSourceList(){};
724 
725  public:
726  virtual unsigned int getCount() = 0;
727  virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index) = 0;
728  virtual void release() = 0;
729 };
730 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
731 
732 struct AdvancedAudioOptions {
737 
740 };
741 
743  const char* imageUrl;
744  int fps;
745  ImageTrackOptions() : imageUrl(NULL), fps(1) {}
746 };
747 
751 struct ChannelMediaOptions {
770 
771  #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
772 
784  #else
785 
797  #endif
798 
932 
937 
944 
947 
948  void SetAll(const ChannelMediaOptions& change) {
949 #define SET_FROM(X) SetFrom(&X, change.X)
950 
951  SET_FROM(publishCameraTrack);
952  SET_FROM(publishSecondaryCameraTrack);
953  SET_FROM(publishMicrophoneTrack);
954 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
955  SET_FROM(publishScreenCaptureVideo);
956  SET_FROM(publishScreenCaptureAudio);
957 #else
958  SET_FROM(publishScreenTrack);
959  SET_FROM(publishSecondaryScreenTrack);
960 #endif
961  SET_FROM(publishTrancodedVideoTrack);
962  SET_FROM(publishCustomAudioTrack);
964  SET_FROM(publishCustomAudioSourceId);
966  SET_FROM(publishCustomAudioTrackAec);
967  SET_FROM(publishCustomVideoTrack);
968  SET_FROM(publishEncodedVideoTrack);
971  SET_FROM(autoSubscribeAudio);
972  SET_FROM(autoSubscribeVideo);
973  SET_FROM(publishMediaPlayerId);
975  SET_FROM(clientRoleType);
976  SET_FROM(audienceLatencyLevel);
977  SET_FROM(defaultVideoStreamType);
978  SET_FROM(channelProfile);
979  SET_FROM(audioDelayMs);
980  SET_FROM(mediaPlayerAudioDelayMs);
981  SET_FROM(token);
983  SET_FROM(publishRhythmPlayerTrack);
984  SET_FROM(customVideoTrackId);
985  SET_FROM(isAudioFilterable);
986  SET_FROM(isInteractiveAudience);
987 #undef SET_FROM
988  }
989 
990  bool operator==(const ChannelMediaOptions& o) const {
991 #define BEGIN_COMPARE() bool b = true
992 #define ADD_COMPARE(X) b = (b && (X == o.X))
993 #define END_COMPARE()
994 
995  BEGIN_COMPARE();
996  ADD_COMPARE(publishCameraTrack);
997  ADD_COMPARE(publishSecondaryCameraTrack);
998  ADD_COMPARE(publishMicrophoneTrack);
999 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1000  ADD_COMPARE(publishScreenCaptureVideo);
1001  ADD_COMPARE(publishScreenCaptureAudio);
1002 #else
1003  ADD_COMPARE(publishScreenTrack);
1004  ADD_COMPARE(publishSecondaryScreenTrack);
1005 #endif
1006  ADD_COMPARE(publishTrancodedVideoTrack);
1007  ADD_COMPARE(publishCustomAudioTrack);
1008  ADD_COMPARE(publishDirectCustomAudioTrack);
1009  ADD_COMPARE(publishCustomAudioSourceId);
1010  ADD_COMPARE(publishCustomAudioTrackEnableAec);
1011  ADD_COMPARE(publishCustomAudioTrackAec);
1012  ADD_COMPARE(publishCustomVideoTrack);
1013  ADD_COMPARE(publishEncodedVideoTrack);
1014  ADD_COMPARE(publishMediaPlayerAudioTrack);
1015  ADD_COMPARE(publishMediaPlayerVideoTrack);
1016  ADD_COMPARE(autoSubscribeAudio);
1017  ADD_COMPARE(autoSubscribeVideo);
1018  ADD_COMPARE(publishMediaPlayerId);
1019  ADD_COMPARE(enableAudioRecordingOrPlayout);
1020  ADD_COMPARE(clientRoleType);
1021  ADD_COMPARE(audienceLatencyLevel);
1022  ADD_COMPARE(defaultVideoStreamType);
1023  ADD_COMPARE(channelProfile);
1024  ADD_COMPARE(audioDelayMs);
1025  ADD_COMPARE(mediaPlayerAudioDelayMs);
1026  ADD_COMPARE(token);
1027  ADD_COMPARE(enableBuiltInMediaEncryption);
1028  ADD_COMPARE(publishRhythmPlayerTrack);
1029  ADD_COMPARE(customVideoTrackId);
1030  ADD_COMPARE(isAudioFilterable);
1031  ADD_COMPARE(isInteractiveAudience);
1032  END_COMPARE();
1033 
1034 #undef BEGIN_COMPARE
1035 #undef ADD_COMPARE
1036 #undef END_COMPARE
1037  return b;
1038  }
1041  if (this != &replace) {
1042 #define REPLACE_BY(X) ReplaceBy(&X, replace.X)
1043 
1044  REPLACE_BY(publishCameraTrack);
1045  REPLACE_BY(publishSecondaryCameraTrack);
1046  REPLACE_BY(publishMicrophoneTrack);
1047 #if defined(__ANDROID__) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
1048  REPLACE_BY(publishScreenCaptureVideo);
1049  REPLACE_BY(publishScreenCaptureAudio);
1050 #else
1051  REPLACE_BY(publishScreenTrack);
1052  REPLACE_BY(publishSecondaryScreenTrack);
1053 #endif
1054  REPLACE_BY(publishTrancodedVideoTrack);
1055  REPLACE_BY(publishCustomAudioTrack);
1056  REPLACE_BY(publishDirectCustomAudioTrack);
1057  REPLACE_BY(publishCustomAudioSourceId);
1059  REPLACE_BY(publishCustomAudioTrackAec);
1060  REPLACE_BY(publishCustomVideoTrack);
1061  REPLACE_BY(publishEncodedVideoTrack);
1062  REPLACE_BY(publishMediaPlayerAudioTrack);
1063  REPLACE_BY(publishMediaPlayerVideoTrack);
1064  REPLACE_BY(autoSubscribeAudio);
1065  REPLACE_BY(autoSubscribeVideo);
1066  REPLACE_BY(publishMediaPlayerId);
1067  REPLACE_BY(enableAudioRecordingOrPlayout);
1068  REPLACE_BY(clientRoleType);
1069  REPLACE_BY(audienceLatencyLevel);
1070  REPLACE_BY(defaultVideoStreamType);
1071  REPLACE_BY(channelProfile);
1072  REPLACE_BY(audioDelayMs);
1073  REPLACE_BY(mediaPlayerAudioDelayMs);
1074  REPLACE_BY(token);
1075  REPLACE_BY(enableBuiltInMediaEncryption);
1076  REPLACE_BY(publishRhythmPlayerTrack);
1077  REPLACE_BY(customVideoTrackId);
1078  REPLACE_BY(isAudioFilterable);
1079  REPLACE_BY(isInteractiveAudience);
1080 #undef REPLACE_BY
1081  }
1082  return *this;
1083  }
1084 };
1085 
1087 enum LOCAL_PROXY_MODE {
1090  ConnectivityFirst = 0,
1093  LocalOnly = 1,
1094 };
1096 enum PROXY_TYPE {
1099  NONE_PROXY_TYPE = 0,
1102  UDP_PROXY_TYPE = 1,
1104 
1106  TCP_PROXY_TYPE = 2,
1110  LOCAL_PROXY_TYPE = 3,
1115 };
1116 
1120  const char** ipList;
1123  int ipListSize;
1126  const char** domainList;
1129  int domainListSize;
1132  const char* verifyDomainName;
1137 };
1138 
1142 struct LeaveChannelOptions {
1148  bool stopAudioMixing;
1154  bool stopAllEffect;
1161 
1163 };
1164 
1177  public:
1179 
1180  virtual const char* eventHandlerType() const { return "event_handler"; }
1181 
1191  virtual void onJoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
1192  (void)channel;
1193  (void)uid;
1194  (void)elapsed;
1195  }
1196 
1209  virtual void onRejoinChannelSuccess(const char* channel, uid_t uid, int elapsed) {
1210  (void)channel;
1211  (void)uid;
1212  (void)elapsed;
1213  }
1214 
1222  virtual void onProxyConnected(const char* channel, uid_t uid, PROXY_TYPE proxyType, const char* localProxyIp, int elapsed) {
1223  (void)channel;
1224  (void)uid;
1225  (void)proxyType;
1226  (void)localProxyIp;
1227  (void)elapsed;
1228  }
1229 
1235  virtual void onError(int err, const char* msg) {
1236  (void)err;
1237  (void)msg;
1238  }
1239 
1254  virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay,
1255  unsigned short lost) {
1256  (void)uid;
1257  (void)quality;
1258  (void)delay;
1259  (void)lost;
1260  }
1261 
1268  virtual void onLastmileProbeResult(const LastmileProbeResult& result) {
1269  (void)result;
1270  }
1271 
1312  virtual void onAudioVolumeIndication(const AudioVolumeInfo* speakers, unsigned int speakerNumber,
1313  int totalVolume) {
1314  (void)speakers;
1315  (void)speakerNumber;
1316  (void)totalVolume;
1317  }
1318 
1330  virtual void onLeaveChannel(const RtcStats& stats) { (void)stats; }
1331 
1339  virtual void onRtcStats(const RtcStats& stats) { (void)stats; }
1340 
1350  virtual void onAudioDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
1351  (void)deviceId;
1352  (void)deviceType;
1353  (void)deviceState;
1354  }
1355 
1364 
1365  virtual void onAudioEffectFinished(int soundId) {}
1366 
1376  virtual void onVideoDeviceStateChanged(const char* deviceId, int deviceType, int deviceState) {
1377  (void)deviceId;
1378  (void)deviceType;
1379  (void)deviceState;
1380  }
1381 
1389  virtual void onMediaDeviceChanged(int deviceType) {
1390  (void)deviceType;
1391  }
1392 
1402  virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality) {
1403  (void)uid;
1404  (void)txQuality;
1405  (void)rxQuality;
1406  }
1407 
1414  virtual void onIntraRequestReceived() {}
1415 
1424  virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo& info) {
1425  (void)info;
1426  }
1427 
1435  virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo& info) {
1436  (void)info;
1437  }
1438 
1451  virtual void onLastmileQuality(int quality) { (void)quality; }
1452 
1463  virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed) {
1464  (void)source;
1465  (void)width;
1466  (void)height;
1467  (void)elapsed;
1468  }
1469 
1475  virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed) {
1476  (void)source;
1477  (void)elapsed;
1478  }
1479 
1480  virtual void onVideoSourceFrameSizeChanged(VIDEO_SOURCE_TYPE sourceType, int width, int height) {
1481  (void)sourceType;
1482  (void)width;
1483  (void)height;
1484  }
1485 
1501  virtual void onFirstRemoteVideoDecoded(uid_t uid, int width, int height, int elapsed) __deprecated {
1502  (void)uid;
1503  (void)width;
1504  (void)height;
1505  (void)elapsed;
1506  }
1507 
1508  virtual void onVideoSizeChanged(uid_t uid, int width, int height, int rotation) {
1509  (void)uid;
1510  (void)width;
1511  (void)height;
1512  (void)rotation;
1513  }
1514 
1528  (void)source;
1529  (void)state;
1530  (void)error;
1531  }
1532 
1544  virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed) {
1545  (void)uid;
1546  (void)state;
1547  (void)reason;
1548  (void)elapsed;
1549  }
1550 
1565  virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed) {
1566  (void)userId;
1567  (void)width;
1568  (void)height;
1569  (void)elapsed;
1570  }
1571 
1590  virtual void onUserJoined(uid_t uid, int elapsed) {
1591  (void)uid;
1592  (void)elapsed;
1593  }
1594 
1609  virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason) {
1610  (void)uid;
1611  (void)reason;
1612  }
1613 
1625  virtual void onUserMuteAudio(uid_t uid, bool muted) {
1626  (void)uid;
1627  (void)muted;
1628  }
1629 
1643  virtual void onUserMuteVideo(uid_t userId, bool muted) __deprecated {
1644  (void)userId;
1645  (void)muted;
1646  }
1647 
1664  virtual void onUserEnableVideo(uid_t uid, bool enabled) __deprecated {
1665  (void)uid;
1666  (void)enabled;
1667  }
1668 
1674  virtual void onUserStateChanged(uid_t uid, uint32_t state) {
1675  (void)uid;
1676  (void)state;
1677  }
1678 
1689  virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) __deprecated {
1690  (void)uid;
1691  (void)enabled;
1692  }
1693 
1701  virtual void onApiCallExecuted(int err, const char* api, const char* result) {
1702  (void)err;
1703  (void)api;
1704  (void)result;
1705  }
1706 
1714  virtual void onLocalAudioStats(const LocalAudioStats& stats) {
1715  (void)stats;
1716  }
1717 
1728  virtual void onRemoteAudioStats(const RemoteAudioStats& stats) {
1729  (void)stats;
1730  }
1731 
1746  virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats& stats) {
1747  (void)source;
1748  (void)stats;
1749  }
1750 
1760  virtual void onRemoteVideoStats(const RemoteVideoStats& stats) {
1761  (void)stats;
1762  }
1763 
1764  virtual void onCameraReady() {}
1765 
1766  virtual void onCameraFocusAreaChanged(int x, int y, int width, int height) {
1767  (void)x;
1768  (void)y;
1769  (void)width;
1770  (void)height;
1771  }
1772 
1773  virtual void onCameraExposureAreaChanged(int x, int y, int width, int height) {
1774  (void)x;
1775  (void)y;
1776  (void)width;
1777  (void)height;
1778  }
1779 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
1780  virtual void onFacePositionChanged(int imageWidth, int imageHeight,
1781  const Rectangle* vecRectangle, const int* vecDistance,
1782  int numFaces) {
1783  (void) imageWidth;
1784  (void) imageHeight;
1785  (void) vecRectangle;
1786  (void) vecDistance;
1787  (void) numFaces;
1788  }
1789 #endif
1790  virtual void onVideoStopped() {}
1791 
1809  (void)state;
1810  (void)reason;
1811  }
1812 
1821  virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode) {
1822  (void)state;
1823  (void)errorCode;
1824  }
1825 
1833  virtual void onConnectionLost() {}
1834 
1846  virtual void onConnectionInterrupted() {}
1847 
1850  virtual void onConnectionBanned() {}
1851 
1865  virtual void onStreamMessage(uid_t userId, int streamId, const char* data, size_t length, uint64_t sentTs) {
1866  (void)userId;
1867  (void)streamId;
1868  (void)data;
1869  (void)length;
1870  (void)sentTs;
1871  }
1872 
1886  virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached) {
1887  (void)userId;
1888  (void)streamId;
1889  (void)code;
1890  (void)missed;
1891  (void)cached;
1892  }
1893 
1905  virtual void onRequestToken() {}
1906 
1921  virtual void onTokenPrivilegeWillExpire(const char* token) {
1922  (void)token;
1923  }
1924 
1930  virtual void onFirstLocalAudioFramePublished(int elapsed) {
1931  (void)elapsed;
1932  }
1933 
1940  virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed) {
1941  (void)uid;
1942  (void)elapsed;
1943  }
1944 
1952  virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed) {
1953  (void)uid;
1954  (void)elapsed;
1955  }
1956 
1972  (void)state;
1973  (void)error;
1974  }
1975 
1988  virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed) {
1989  (void)uid;
1990  (void)state;
1991  (void)reason;
1992  (void)elapsed;
1993  }
1994 
2007  virtual void onActiveSpeaker(uid_t userId) { (void)userId; }
2009  virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result) { (void)result; }
2022  virtual void onSnapshotTaken(uid_t uid, const char* filePath, int width, int height, int errCode) {
2023  (void)uid;
2024  (void)filePath;
2025  (void)width;
2026  (void)height;
2027  (void)errCode;
2028  }
2036  virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole) {
2037  (void)oldRole;
2038  (void)newRole;
2039  }
2048  (void)reason;
2049  (void)currentRole;
2050  }
2058  virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted) {
2059  (void)deviceType;
2060  (void)volume;
2061  (void)muted;
2062  }
2063 
2077  virtual void onRtmpStreamingStateChanged(const char* url, RTMP_STREAM_PUBLISH_STATE state,
2079  (void)url;
2080  (void)state;
2081  (void)errCode;
2082  }
2083 
2091  virtual void onRtmpStreamingEvent(const char* url, RTMP_STREAMING_EVENT eventCode) {
2092  (void)url;
2093  (void)eventCode;
2094  }
2095 
2107  virtual void onTranscodingUpdated() {}
2108 
2122  virtual void onAudioRoutingChanged(int routing) { (void)routing; }
2123 
2124 
2156  virtual void onChannelMediaRelayStateChanged(int state, int code) {
2157  (void)state;
2158  (void)code;
2159  }
2160 
2184  virtual void onChannelMediaRelayEvent(int code) {
2185  (void)code;
2186  }
2187 
2188  virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover) {
2189  (void)isFallbackOrRecover;
2190  }
2191 
2192  virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover) {
2193  (void)uid;
2194  (void)isFallbackOrRecover;
2195  }
2196 
2210  virtual void onRemoteAudioTransportStats(uid_t uid, unsigned short delay, unsigned short lost,
2211  unsigned short rxKBitRate) {
2212  (void)uid;
2213  (void)delay;
2214  (void)lost;
2215  (void)rxKBitRate;
2216  }
2217 
2231  virtual void onRemoteVideoTransportStats(uid_t uid, unsigned short delay, unsigned short lost,
2232  unsigned short rxKBitRate) {
2233  (void)uid;
2234  (void)delay;
2235  (void)lost;
2236  (void)rxKBitRate;
2237  }
2238 
2244  virtual void onConnectionStateChanged(
2246  (void)state;
2247  (void)reason;
2248  }
2249 
2256  virtual void onWlAccMessage(WLACC_MESSAGE_REASON reason, WLACC_SUGGEST_ACTION action, const char* wlAccMsg) {
2257  (void)reason;
2258  (void)action;
2259  (void)wlAccMsg;
2260  }
2261 
2267  virtual void onWlAccStats(WlAccStats currentStats, WlAccStats averageStats) {
2268  (void)currentStats;
2269  (void)averageStats;
2270  }
2271 
2276  virtual void onNetworkTypeChanged(NETWORK_TYPE type) {
2277  (void)type;
2278  }
2279 
2284  virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType) {
2285  (void)errorType;
2286  }
2287 
2292  virtual void onPermissionError(PERMISSION_TYPE permissionType) {
2293  (void)permissionType;
2294  }
2295 
2304  virtual void onLocalUserRegistered(uid_t uid, const char* userAccount) {
2305  (void)uid;
2306  (void)userAccount;
2307  }
2308 
2317  virtual void onUserInfoUpdated(uid_t uid, const UserInfo& info) {
2318  (void)uid;
2319  (void)info;
2320  }
2327  virtual void onUploadLogResult(const char* requestId, bool success, UPLOAD_ERROR_REASON reason) {
2328  (void)requestId;
2329  (void)success;
2330  (void)reason;
2331  }
2332 
2342  virtual void onAudioSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) {
2343  (void)channel;
2344  (void)uid;
2345  (void)oldState;
2346  (void)newState;
2347  (void)elapseSinceLastState;
2348  }
2349 
2359  virtual void onVideoSubscribeStateChanged(const char* channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) {
2360  (void)channel;
2361  (void)uid;
2362  (void)oldState;
2363  (void)newState;
2364  (void)elapseSinceLastState;
2365  }
2366 
2375  virtual void onAudioPublishStateChanged(const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
2376  (void)channel;
2377  (void)oldState;
2378  (void)newState;
2379  (void)elapseSinceLastState;
2380  }
2381 
2391  virtual void onVideoPublishStateChanged(VIDEO_SOURCE_TYPE source, const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) {
2392  (void)source;
2393  (void)channel;
2394  (void)oldState;
2395  (void)newState;
2396  (void)elapseSinceLastState;
2397  }
2398 
2399  virtual void onExtensionEvent(const char* provider, const char* extension, const char* key, const char* value) {
2400  (void)provider;
2401  (void)extension;
2402  (void)key;
2403  (void)value;
2404  }
2405 
2406  virtual void onExtensionStarted(const char* provider, const char* extension) {
2407  (void)provider;
2408  (void)extension;
2409  }
2410 
2411  virtual void onExtensionStopped(const char* provider, const char* extension) {
2412  (void)provider;
2413  (void)extension;
2414  }
2415 
2416  virtual void onExtensionError(const char* provider, const char* extension, int error, const char* message) {
2417  (void)provider;
2418  (void)extension;
2419  (void)error;
2420  (void)message;
2421  }
2422 
2423  virtual void onUserAccountUpdated(uid_t uid, const char* userAccount){
2424  (void)uid;
2425  (void)userAccount;
2426  }
2427 };
2428 
2433  public:
2434  virtual ~IVideoDeviceCollection() {}
2435 
2441  virtual int getCount() = 0;
2442 
2451  virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2452 
2464  virtual int getDevice(int index, char deviceNameUTF8[MAX_DEVICE_ID_LENGTH],
2465  char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2466 
2470  virtual void release() = 0;
2471 };
2472 
2477  public:
2478  virtual ~IVideoDeviceManager() {}
2494 
2504  virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2505 
2514  virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH]) = 0;
2515 
2516 #if defined(_WIN32) || (defined(__linux__) && !defined(__ANDROID__)) || \
2517  (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
2518 
2526  virtual int numberOfCapabilities(const char* deviceIdUTF8) = 0;
2527 
2539  virtual int getCapability(const char* deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat& capability) = 0;
2540 #endif
2541 
2554  virtual int startDeviceTest(view_t hwnd) = 0;
2555 
2562  virtual int stopDeviceTest() = 0;
2563 
2567  virtual void release() = 0;
2568 };
2569 
2574 
2575 struct RtcEngineContext {
2580 
2585  const char* appId;
2586 
2592  void* context;
2593 
2598 
2607 
2617  unsigned int areaCode;
2618 
2623 
2628 
2637 
2639  : eventHandler(NULL), appId(NULL), context(NULL),
2643  logConfig(), useExternalEglContext(false) {}
2644 };
2645 
2648 class IMetadataObserver {
2649 public:
2654  enum METADATA_TYPE
2655  {
2658  UNKNOWN_METADATA = -1,
2661  VIDEO_METADATA = 0,
2662  };
2667  {
2671  };
2672 
2675  struct Metadata
2676  {
2681  unsigned int uid;
2684  unsigned int size;
2687  unsigned char *buffer;
2692  long long timeStampMs;
2693  };
2694 
2695  virtual ~IMetadataObserver() {}
2696 
2706  virtual int getMaxMetadataSize() { return DEFAULT_METADATA_SIZE_IN_BYTE; }
2707 
2717  virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type) = 0;
2718 
2726  virtual void onMetadataReceived(const Metadata &metadata) = 0;
2727 };
2728 
2729 // The error codes for media streaming
2730 // GENERATED_JAVA_ENUM_PACKAGE: io.agora.streaming
2732  // No error occurs.
2734  // A general error occurs (no specified reason).
2736  // Audio publication error.
2738  // Video publication error.
2740 
2742  // Already exist stream name.
2744 };
2745 
2746 // The connection state of media streaming
2747 // GENERATED_JAVA_ENUM_PACKAGE: io.agora.streaming
2749 
2751 
2753 
2755 
2757 
2759 };
2760 
2764 struct DirectCdnStreamingStats {
2768  int videoWidth;
2769 
2773  int videoHeight;
2774 
2778  int fps;
2779 
2783  int videoBitrate;
2784 
2788  int audioBitrate;
2789 };
2790 
2796  public:
2798 
2805  virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char* message) {
2806  (void)state;
2807  (void)error;
2808  (void)message;
2809  };
2810 
2811  virtual void onDirectCdnStreamingStats(const DirectCdnStreamingStats& stats) {
2812  (void)stats;
2813  };
2814 };
2815 
2819 struct DirectCdnStreamingMediaOptions {
2825  Optional<bool> publishCameraTrack;
2831  Optional<bool> publishMicrophoneTrack;
2837  Optional<bool> publishCustomAudioTrack;
2843  Optional<bool> publishCustomVideoTrack;
2849  Optional<bool> publishMediaPlayerAudioTrack;
2854  Optional<int> publishMediaPlayerId;
2855 
2863 
2864  void SetAll(const DirectCdnStreamingMediaOptions& change) {
2865 #define SET_FROM(X) SetFrom(&X, change.X)
2866  SET_FROM(publishCameraTrack);
2867  SET_FROM(publishMicrophoneTrack);
2868  SET_FROM(publishCustomAudioTrack);
2869  SET_FROM(publishCustomVideoTrack);
2870  SET_FROM(publishMediaPlayerAudioTrack);
2871  SET_FROM(publishMediaPlayerId);
2872  SET_FROM(customVideoTrackId);
2873 #undef SET_FROM
2874  }
2875 
2876  bool operator==(const DirectCdnStreamingMediaOptions& o) const {
2877 #define BEGIN_COMPARE() bool b = true
2878 #define ADD_COMPARE(X) b = (b && (X == o.X))
2879 #define END_COMPARE()
2880 
2881  BEGIN_COMPARE();
2882  ADD_COMPARE(publishCameraTrack);
2883  ADD_COMPARE(publishMicrophoneTrack);
2884  ADD_COMPARE(publishCustomAudioTrack);
2885  ADD_COMPARE(publishCustomVideoTrack);
2886  ADD_COMPARE(publishMediaPlayerAudioTrack);
2887  ADD_COMPARE(customVideoTrackId);
2888  ADD_COMPARE(publishMediaPlayerId);
2889  END_COMPARE();
2890 
2891 #undef BEGIN_COMPARE
2892 #undef ADD_COMPARE
2893 #undef END_COMPARE
2894  return b;
2895  }
2896 
2898  if (this != &replace) {
2899 #define REPLACE_BY(X) ReplaceBy(&X, replace.X)
2900 
2901  REPLACE_BY(publishCameraTrack);
2902  REPLACE_BY(publishMicrophoneTrack);
2903  REPLACE_BY(publishCustomAudioTrack);
2904  REPLACE_BY(publishCustomVideoTrack);
2905  REPLACE_BY(publishMediaPlayerAudioTrack);
2906  REPLACE_BY(customVideoTrackId);
2907  REPLACE_BY(publishMediaPlayerId);
2908 #undef REPLACE_BY
2909  }
2910  return *this;
2911  }
2912 };
2913 
2914 class IMediaPlayer;
2915 
2925 class IRtcEngine : public agora::base::IEngineBase {
2926  public:
2946  virtual void release(bool sync = false) = 0;
2947 
2961  virtual int initialize(const RtcEngineContext& context) = 0;
2963 
2964  virtual int queryInterface(INTERFACE_ID_TYPE iid, void** inter) = 0;
2965 
2966 
2972  virtual const char* getVersion(int* build) = 0;
2973 
2979  virtual const char* getErrorDescription(int code) = 0;
2980 
3021  virtual int joinChannel(const char* token, const char* channelId, const char* info,
3022  uid_t uid) = 0;
3023 
3062  virtual int joinChannel(const char* token, const char* channelId, uid_t uid,
3063  const ChannelMediaOptions& options) = 0;
3064 
3073  virtual int updateChannelMediaOptions(const ChannelMediaOptions& options) = 0;
3074 
3092  virtual int leaveChannel() = 0;
3093 
3113  virtual int leaveChannel(const LeaveChannelOptions& options) = 0;
3114 
3131  virtual int renewToken(const char* token) = 0;
3132 
3151  virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile) = 0;
3152 
3176  virtual int setClientRole(CLIENT_ROLE_TYPE role) = 0;
3177 
3199  virtual int setClientRole(CLIENT_ROLE_TYPE role, const ClientRoleOptions& options) = 0;
3200 
3220  virtual int startEchoTest() = 0;
3221 
3238  virtual int startEchoTest(int intervalInSeconds) = 0;
3239 
3248  virtual int startEchoTest(const EchoTestConfiguration& config) = 0;
3249 
3256  virtual int stopEchoTest() = 0;
3257 
3273  virtual int enableVideo() = 0;
3274 
3284  virtual int disableVideo() = 0;
3285 
3297  virtual int startPreview() = 0;
3298 
3306  virtual int startPreview(VIDEO_SOURCE_TYPE sourceType) = 0;
3307 
3315  virtual int stopPreview() = 0;
3316 
3324  virtual int stopPreview(VIDEO_SOURCE_TYPE sourceType) = 0;
3325 
3359  virtual int startLastmileProbeTest(const LastmileProbeConfig& config) = 0;
3362  virtual int stopLastmileProbeTest() = 0;
3363 
3380  virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration& config) = 0;
3381 
3473 
3507 
3564  virtual int enableRemoteSuperResolution(uid_t userId, bool enable) = 0;
3565 
3588  virtual int setupRemoteVideo(const VideoCanvas& canvas) = 0;
3589 
3606  virtual int setupLocalVideo(const VideoCanvas& canvas) = 0;
3607 
3621  virtual int enableAudio() = 0;
3622 
3634  virtual int disableAudio() = 0;
3635 
3657  virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) __deprecated = 0;
3658 
3674  virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0;
3675 
3676  virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0;
3699  virtual int enableLocalAudio(bool enabled) = 0;
3700 
3726  virtual int muteLocalAudioStream(bool mute) = 0;
3727 
3770  virtual int muteAllRemoteAudioStreams(bool mute) = 0;
3771 
3793  virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) __deprecated = 0;
3794 
3811  virtual int muteRemoteAudioStream(uid_t uid, bool mute) = 0;
3812 
3824  virtual int muteLocalVideoStream(bool mute) = 0;
3825 
3850  virtual int enableLocalVideo(bool enabled) = 0;
3851 
3892  virtual int muteAllRemoteVideoStreams(bool mute) = 0;
3893 
3915  virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) __deprecated = 0;
3916 
3933  virtual int muteRemoteVideoStream(uid_t uid, bool mute) = 0;
3934 
3952  virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType) = 0;
3953 
3964  virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options) = 0;
3965 
3975  virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType) = 0;
3976 
3991  virtual int setSubscribeAudioBlacklist(uid_t* uidList, int uidNumber) = 0;
3992 
4009  virtual int setSubscribeAudioWhitelist(uid_t* uidList, int uidNumber) = 0;
4010 
4025  virtual int setSubscribeVideoBlacklist(uid_t* uidList, int uidNumber) = 0;
4026 
4043  virtual int setSubscribeVideoWhitelist(uid_t* uidList, int uidNumber) = 0;
4044 
4065  virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad) = 0;
4066 
4087  virtual int startAudioRecording(const char* filePath,
4088  AUDIO_RECORDING_QUALITY_TYPE quality) = 0;
4110  virtual int startAudioRecording(const char* filePath,
4111  int sampleRate,
4112  AUDIO_RECORDING_QUALITY_TYPE quality) = 0;
4113 
4132  virtual int startAudioRecording(const AudioRecordingConfiguration& config) = 0;
4133 
4140 
4149  virtual int stopAudioRecording() = 0;
4151 
4161  virtual agora_refptr<IMediaPlayer> createMediaPlayer() = 0;
4162 
4174  virtual int destroyMediaPlayer(agora_refptr<IMediaPlayer> media_player) = 0;
4176 
4218  virtual int startAudioMixing(const char* filePath, bool loopback, int cycle) = 0;
4219 
4263  virtual int startAudioMixing(const char* filePath, bool loopback, int cycle, int startPos) = 0;
4264 
4273  virtual int stopAudioMixing() = 0;
4274 
4283  virtual int pauseAudioMixing() = 0;
4284 
4293  virtual int resumeAudioMixing() = 0;
4294 
4303  virtual int selectAudioTrack(int index) = 0;
4312  virtual int getAudioTrackCount() = 0;
4313 
4328  virtual int adjustAudioMixingVolume(int volume) = 0;
4329 
4337  virtual int adjustAudioMixingPublishVolume(int volume) = 0;
4338 
4346  virtual int getAudioMixingPublishVolume() = 0;
4347 
4355  virtual int adjustAudioMixingPlayoutVolume(int volume) = 0;
4356 
4364  virtual int getAudioMixingPlayoutVolume() = 0;
4365 
4374  virtual int getAudioMixingDuration() = 0;
4375 
4385  virtual int getAudioMixingCurrentPosition() = 0;
4386 
4396  virtual int setAudioMixingPosition(int pos /*in ms*/) = 0;
4397 
4409 
4426  virtual int setAudioMixingPitch(int pitch) = 0;
4434  virtual int getEffectsVolume() = 0;
4444  virtual int setEffectsVolume(int volume) = 0;
4468  virtual int preloadEffect(int soundId, const char* filePath, int startPos = 0) = 0;
4510  virtual int playEffect(int soundId, const char* filePath, int loopCount, double pitch, double pan, int gain, bool publish = false, int startPos = 0) = 0;
4541  virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish = false) = 0;
4542 
4552  virtual int getVolumeOfEffect(int soundId) = 0;
4553 
4564  virtual int setVolumeOfEffect(int soundId, int volume) = 0;
4573  virtual int pauseEffect(int soundId) = 0;
4580  virtual int pauseAllEffects() = 0;
4589  virtual int resumeEffect(int soundId) = 0;
4596  virtual int resumeAllEffects() = 0;
4605  virtual int stopEffect(int soundId) = 0;
4612  virtual int stopAllEffects() = 0;
4621  virtual int unloadEffect(int soundId) = 0;
4628  virtual int unloadAllEffects() = 0;
4647  virtual int getEffectDuration(const char* filePath) = 0;
4664  virtual int setEffectPosition(int soundId, int pos) = 0;
4679  virtual int getEffectCurrentPosition(int soundId) = 0;
4692  virtual int enableSoundPositionIndication(bool enabled) = 0;
4713  virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain) = 0;
4714 
4724  virtual int enableSpatialAudio(bool enabled) = 0;
4725 
4735  virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams& params) = 0;
4736 
4774  virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset) = 0;
4775 
4813  virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset) = 0;
4814 
4850  virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset) = 0;
4851 
4927  virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2) = 0;
4928 
4972  int param1, int param2) = 0;
4973 
4987  int param1, int param2) = 0;
4988 
4999  virtual int setLocalVoicePitch(double pitch) = 0;
5000 
5013  int bandGain) = 0;
5014 
5023  virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value) = 0;
5024 
5040  virtual int setLogFile(const char* filePath) = 0;
5041 
5064  virtual int setLogFilter(unsigned int filter) = 0;
5065 
5082  virtual int setLogLevel(commons::LOG_LEVEL level) = 0;
5083 
5098  virtual int setLogFileSize(unsigned int fileSizeInKBytes) = 0;
5099 
5108  virtual int uploadLogFile(agora::util::AString& requestId) = 0;
5109 
5128  virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5149  virtual int setRemoteRenderMode(uid_t uid, media::base::RENDER_MODE_TYPE renderMode,
5150  VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5151 
5152  // The following APIs are either deprecated and going to deleted.
5153 
5171  virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode) = 0;
5172 
5184  virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode) = 0;
5185 
5200  virtual int enableDualStreamMode(bool enabled) = 0;
5201 
5218  virtual int enableDualStreamMode(VIDEO_SOURCE_TYPE sourceType, bool enabled) = 0;
5219 
5238  virtual int enableDualStreamMode(VIDEO_SOURCE_TYPE sourceType, bool enabled, const SimulcastStreamConfig& streamConfig) = 0;
5239 
5240 
5254  virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode) = 0;
5255 
5271  virtual int setDualStreamMode(VIDEO_SOURCE_TYPE sourceType, SIMULCAST_STREAM_MODE mode) = 0;
5272 
5290  virtual int setDualStreamMode(VIDEO_SOURCE_TYPE sourceType, SIMULCAST_STREAM_MODE mode,
5291  const SimulcastStreamConfig& streamConfig) = 0;
5292 
5293 
5294  virtual int enableEchoCancellationExternal(bool enabled, int audioSourceDelay) = 0;
5295 
5310  virtual int enableCustomAudioLocalPlayback(int sourceId, bool enabled) = 0;
5311 
5319  virtual int startPrimaryCustomAudioTrack(const AudioTrackConfig& config) = 0;
5320 
5328  virtual int stopPrimaryCustomAudioTrack() = 0;
5329 
5337  virtual int startSecondaryCustomAudioTrack(const AudioTrackConfig& config) = 0;
5338 
5346  virtual int stopSecondaryCustomAudioTrack() = 0;
5347 
5366  virtual int setRecordingAudioFrameParameters(int sampleRate, int channel,
5368  int samplesPerCall) = 0;
5369 
5389  virtual int setPlaybackAudioFrameParameters(int sampleRate, int channel,
5391  int samplesPerCall) = 0;
5392 
5408  virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall) = 0;
5409 
5425  virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel) = 0;
5426 
5437  virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0;
5445  virtual int disableAudioSpectrumMonitor() = 0;
5446 
5472 
5486  virtual int adjustRecordingSignalVolume(int volume) = 0;
5487 
5499  virtual int muteRecordingSignal(bool mute) = 0;
5500 
5514  virtual int adjustPlaybackSignalVolume(int volume) = 0;
5515 
5516  /*
5517  * Adjust the playback volume of the user specified by uid.
5518  *
5519  * You can call this method to adjust the playback volume of the user specified by uid
5520  * in call. If you want to adjust playback volume of the multi user, you can call this
5521  * this method multi times.
5522  *
5523  * @note
5524  * Please call this method after join channel.
5525  * This method adjust the playback volume of specified user.
5526  *
5527  * @param uid Remote user ID.
5528  * @param volume The playback volume of the specified remote user. The value ranges between 0 and 400, including the following:
5529  * 0: Mute.
5530  * 100: (Default) Original volume.
5531  * 400: Four times the original volume with signal-clipping protection.
5532  * @return
5533  * - 0: Success.
5534  * - < 0: Failure.
5535  */
5536  virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume) = 0;
5537 
5560 
5577 
5596  virtual int enableLoopbackRecording(bool enabled, const char* deviceName = NULL) = 0;
5597 
5598 
5611  virtual int adjustLoopbackSignalVolume(int volume) = 0;
5612 
5619  virtual int getLoopbackRecordingVolume() = 0;
5620 
5632  virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters) = 0;
5633 
5644  virtual int setInEarMonitoringVolume(int volume) = 0;
5645 
5646 #if defined (_WIN32) || defined(__linux__) || defined(__ANDROID__)
5647  virtual int loadExtensionProvider(const char* path, bool unload_after_use = false) = 0;
5648 #endif
5649 
5661  virtual int setExtensionProviderProperty(
5662  const char* provider, const char* key, const char* value) = 0;
5663 
5677  virtual int enableExtension(
5678  const char* provider, const char* extension, bool enable=true, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
5679 
5692  virtual int setExtensionProperty(
5693  const char* provider, const char* extension,
5694  const char* key, const char* value, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
5695 
5709  virtual int getExtensionProperty(
5710  const char* provider, const char* extension,
5711  const char* key, char* value, int buf_len, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0;
5712 
5724  virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration& config) = 0;
5725 
5726 
5735 
5743  virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions& sender_option) = 0;
5744 
5753  virtual int destroyCustomVideoTrack(video_track_id_t video_track_id) = 0;
5754 
5763  virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id) = 0;
5764 
5765 
5766 #if defined(__ANDROID__) || (defined(__APPLE__) && TARGET_OS_IOS)
5767 
5776  virtual int switchCamera() = 0;
5777 
5785  virtual bool isCameraZoomSupported() = 0;
5786 
5794  virtual bool isCameraFaceDetectSupported() = 0;
5795 
5803  virtual bool isCameraTorchSupported() = 0;
5804 
5812  virtual bool isCameraFocusSupported() = 0;
5813 
5821  virtual bool isCameraAutoFocusFaceModeSupported() = 0;
5822 
5832  virtual int setCameraZoomFactor(float factor) = 0;
5833 
5842  virtual int enableFaceDetection(bool enabled) = 0;
5843 
5848  virtual float getCameraMaxZoomFactor() = 0;
5849 
5859  virtual int setCameraFocusPositionInPreview(float positionX, float positionY) = 0;
5860 
5868  virtual int setCameraTorchOn(bool isOn) = 0;
5869 
5877  virtual int setCameraAutoFocusFaceModeEnabled(bool enabled) = 0;
5878 
5890  virtual bool isCameraExposurePositionSupported() = 0;
5891 
5907  virtual int setCameraExposurePosition(float positionXinView, float positionYinView) = 0;
5908 
5909 #if defined(__APPLE__)
5910 
5917  virtual bool isCameraAutoExposureFaceModeSupported() = 0;
5918 
5919 
5927  virtual int setCameraAutoExposureFaceModeEnabled(bool enabled) = 0;
5928 #endif
5929 
5963  virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker) = 0;
5964 
5991  virtual int setEnableSpeakerphone(bool speakerOn) = 0;
5992 
6000  virtual bool isSpeakerphoneEnabled() = 0;
6001 
6002 #endif // __ANDROID__ || (__APPLE__ && TARGET_OS_IOS)
6003 
6004 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
6005 
6015  virtual IScreenCaptureSourceList* getScreenCaptureSources(const SIZE& thumbSize, const SIZE& iconSize, const bool includeScreen) = 0;
6016 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6017 #if (defined(__APPLE__) && TARGET_OS_IOS)
6018 
6043 #endif // __APPLE__ && TARGET_OS_IOS
6044 
6045 #if defined(_WIN32) || (defined(__APPLE__) && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6046 
6067  virtual int startScreenCaptureByDisplayId(uint32_t displayId, const Rectangle& regionRect,
6068  const ScreenCaptureParameters& captureParams) = 0;
6069 
6070 #endif // __APPLE__ && TARGET_OS_MAC && !TARGET_OS_IPHONE
6071 
6072 #if defined(_WIN32)
6073 
6097  virtual int startScreenCaptureByScreenRect(const Rectangle& screenRect,
6098  const Rectangle& regionRect,
6099  const ScreenCaptureParameters& captureParams) = 0;
6100 
6101 #endif // _WIN32
6102 
6103 #if defined(__ANDROID__)
6104 
6110  virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0;
6111 
6112 #endif // __ANDROID__
6113 
6114 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
6115 
6133  virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle& regionRect,
6134  const ScreenCaptureParameters& captureParams) = 0;
6135 
6151  virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint) = 0;
6152 
6169  virtual int setScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario) = 0;
6170 
6187  virtual int updateScreenCaptureRegion(const Rectangle& regionRect) = 0;
6188 
6202  virtual int updateScreenCaptureParameters(const ScreenCaptureParameters& captureParams) = 0;
6203 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC)
6204 
6205 #if defined(__ANDROID__)
6206 
6215  virtual int startScreenCapture(const ScreenCaptureParameters2& captureParams) = 0;
6216 
6226  virtual int updateScreenCapture(const ScreenCaptureParameters2& captureParams) = 0;
6227 #endif
6228 
6229 #if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE) || defined(__ANDROID__)
6230 
6237  virtual int stopScreenCapture() = 0;
6238 
6239 #endif // _WIN32 || (__APPLE__ && !TARGET_OS_IPHONE && TARGET_OS_MAC) || __ANDROID__
6240 
6257  virtual int getCallId(agora::util::AString& callId) = 0;
6258 
6273  virtual int rate(const char* callId, int rating,
6274  const char* description) = 0; // 0~10
6275 
6289  virtual int complain(const char* callId, const char* description) = 0;
6290 
6310  virtual int startRtmpStreamWithoutTranscoding(const char* url) = 0;
6311 
6332  virtual int startRtmpStreamWithTranscoding(const char* url, const LiveTranscoding& transcoding) = 0;
6333 
6343  virtual int updateRtmpTranscoding(const LiveTranscoding& transcoding) = 0;
6362  virtual int stopRtmpStream(const char* url) = 0;
6365  virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration& config) = 0;
6367  virtual int stopLocalVideoTranscoder() = 0;
6370  virtual int startSecondaryCameraCapture(const CameraCapturerConfiguration& config) = 0;
6371  virtual int stopPrimaryCameraCapture() = 0;
6372  virtual int stopSecondaryCameraCapture() = 0;
6373 
6378  virtual int startSecondaryScreenCapture(const ScreenCaptureConfiguration& config) = 0;
6379  virtual int stopPrimaryScreenCapture() = 0;
6380  virtual int stopSecondaryScreenCapture() = 0;
6381 
6388  // The following APIs are not implemented yet.
6389  virtual bool registerEventHandler(IRtcEngineEventHandler* eventHandler) = 0;
6390  virtual bool unregisterEventHandler(IRtcEngineEventHandler* eventHandler) = 0;
6391  virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority) = 0;
6392 
6404  virtual int registerPacketObserver(IPacketObserver* observer) = 0;
6405 
6428  virtual int setEncryptionMode(const char* encryptionMode) __deprecated = 0;
6429 
6446  virtual int setEncryptionSecret(const char* secret) __deprecated = 0;
6447 
6469  virtual int enableEncryption(bool enabled, const EncryptionConfig& config) = 0;
6470 
6502  virtual int createDataStream(int* streamId, bool reliable, bool ordered) = 0;
6503 
6513  virtual int createDataStream(int* streamId, DataStreamConfig& config) = 0;
6514 
6545  virtual int sendStreamMessage(int streamId, const char* data, size_t length) = 0;
6546 
6568  virtual int addVideoWatermark(const RtcImage& watermark) = 0;
6569 
6595  virtual int addVideoWatermark(const char* watermarkUrl, const WatermarkOptions& options) = 0;
6596 
6604  virtual int clearVideoWatermark() = 0;
6605 
6613  virtual int clearVideoWatermarks() = 0;
6614 
6641  virtual int addInjectStreamUrl(const char* url, const InjectStreamConfig& config) = 0;
6642 
6654  virtual int removeInjectStreamUrl(const char* url) = 0;
6655 
6656  // The following APIs are either deprecated and going to deleted.
6657 
6666  virtual int pauseAudio() __deprecated = 0;
6675  virtual int resumeAudio() __deprecated = 0;
6676 
6694  virtual int enableWebSdkInteroperability(bool enabled) __deprecated = 0;
6695 
6705  virtual int sendCustomReportMessage(
6706  const char* id, const char* category, const char* event, const char* label, int value) = 0;
6707 
6729  virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type) = 0;
6730 
6739  virtual int unregisterMediaMetadataObserver(IMetadataObserver* observer, IMetadataObserver::METADATA_TYPE type) = 0;
6740 
6750  virtual int startAudioFrameDump(const char* channel_id, uid_t user_id, const char* location,
6751  const char* uuid, const char* passwd, long duration_ms, bool auto_upload) = 0;
6752 
6753  virtual int stopAudioFrameDump(const char* channel_id, uid_t user_id, const char* location) = 0;
6754 
6786  virtual int registerLocalUserAccount(const char* appId, const char* userAccount) = 0;
6787 
6818  virtual int joinChannelWithUserAccount(const char* token, const char* channelId,
6819  const char* userAccount) = 0;
6820 
6852  virtual int joinChannelWithUserAccount(const char* token, const char* channelId,
6853  const char* userAccount, const ChannelMediaOptions& options) = 0;
6854 
6887  virtual int joinChannelWithUserAccountEx(const char* token, const char* channelId,
6888  const char* userAccount, const ChannelMediaOptions& options,
6889  IRtcEngineEventHandler* eventHandler) = 0;
6890 
6908  virtual int getUserInfoByUserAccount(const char* userAccount, rtc::UserInfo* userInfo) = 0;
6909 
6927  virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo* userInfo) = 0;
6968  virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;
6969 
6993  virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration) = 0;
6994 
7019  virtual int stopChannelMediaRelay() = 0;
7020 
7021 
7027  virtual int pauseAllChannelMediaRelay() = 0;
7028 
7034  virtual int resumeAllChannelMediaRelay() = 0;
7035 
7049 
7065 
7077  virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler* eventHandler,
7078  const char* publishUrl, const DirectCdnStreamingMediaOptions& options) = 0;
7079 
7089  virtual int stopDirectCdnStreaming() = 0;
7090 
7103 
7114  virtual int startRhythmPlayer(const char* sound1, const char* sound2, const AgoraRhythmPlayerConfig& config) = 0;
7115 
7122  virtual int stopRhythmPlayer() = 0;
7123 
7132  virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig& config) = 0;
7142  virtual int takeSnapshot(uid_t uid, const char* filePath) = 0;
7150  virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config) = 0;
7151  /*
7152  * Adjust the custom audio publish volume by source id.
7153  * @param sourceId custom audio source id.
7154  * @param volume The volume, range is [0,100]:
7155  * 0: mute, 100: The original volume
7156  * @return
7157  * - 0: Success.
7158  * - < 0: Failure.
7159  */
7160  virtual int adjustCustomAudioPublishVolume(int32_t sourceId, int volume) = 0;
7161 
7162  /*
7163  * Adjust the custom audio playout volume by source id.
7164  * @param sourceId custom audio source id.
7165  * @param volume The volume, range is [0,100]:
7166  * 0: mute, 100: The original volume
7167  * @return
7168  * - 0: Success.
7169  * - < 0: Failure.
7170  */
7171  virtual int adjustCustomAudioPlayoutVolume(int32_t sourceId, int volume) = 0;
7172 
7202  virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType) = 0;
7211  virtual int setLocalAccessPoint(const LocalAccessPointConfiguration& config) = 0;
7212 
7220  virtual int setAdvancedAudioOptions(AdvancedAudioOptions &options) = 0;
7221 
7232  virtual int setAVSyncSource(const char* channelId, uid_t uid) = 0;
7233 
7240  virtual int enableVideoImageSource(bool enable, const ImageTrackOptions& options) = 0;
7241 
7257  virtual int enableWirelessAccelerate(bool enabled) = 0;
7258 };
7260 class IRtcEngineParameter {
7261  public:
7262  virtual ~IRtcEngineParameter() {}
7263 
7267  virtual void release() = 0;
7268 
7277  virtual int setBool(const char* key, bool value) = 0;
7278 
7287  virtual int setInt(const char* key, int value) = 0;
7288 
7297  virtual int setUInt(const char* key, unsigned int value) = 0;
7298 
7307  virtual int setNumber(const char* key, double value) = 0;
7308 
7317  virtual int setString(const char* key, const char* value) = 0;
7318 
7327  virtual int setObject(const char* key, const char* value) = 0;
7328 
7337  virtual int getBool(const char* key, bool& value) = 0;
7338 
7347  virtual int getInt(const char* key, int& value) = 0;
7348 
7357  virtual int getUInt(const char* key, unsigned int& value) = 0;
7358 
7367  virtual int getNumber(const char* key, double& value) = 0;
7368 
7377  virtual int getString(const char* key, agora::util::AString& value) = 0;
7378 
7387  virtual int getObject(const char* key, agora::util::AString& value) = 0;
7388 
7397  virtual int getArray(const char* key, agora::util::AString& value) = 0;
7398 
7406  virtual int setParameters(const char* parameters) = 0;
7407 
7418  virtual int setProfile(const char* profile, bool merge) = 0;
7419 
7420  virtual int convertPath(const char* filePath, agora::util::AString& value) = 0;
7421 };
7423 class AAudioDeviceManager : public agora::util::AutoPtr<IAudioDeviceManager> {
7424  public:
7425  AAudioDeviceManager(IRtcEngine* engine) {
7427  }
7428 };
7430 class AVideoDeviceManager : public agora::util::AutoPtr<IVideoDeviceManager> {
7431  public:
7432  AVideoDeviceManager(IRtcEngine* engine) {
7434  }
7435 };
7436 
7437 // The following types are either deprecated or not implmented yet.
7444  QUALITY_REPORT_HTML = 1,
7445 };
7446 
7464 };
7466 enum VIDEO_PROFILE_TYPE { // res fps
7468  VIDEO_PROFILE_LANDSCAPE_120P = 0, // 160x120 15
7470  VIDEO_PROFILE_LANDSCAPE_120P_3 = 2, // 120x120 15
7472  VIDEO_PROFILE_LANDSCAPE_180P = 10, // 320x180 15
7474  VIDEO_PROFILE_LANDSCAPE_180P_3 = 12, // 180x180 15
7476  VIDEO_PROFILE_LANDSCAPE_180P_4 = 13, // 240x180 15
7478  VIDEO_PROFILE_LANDSCAPE_240P = 20, // 320x240 15
7480  VIDEO_PROFILE_LANDSCAPE_240P_3 = 22, // 240x240 15
7482  VIDEO_PROFILE_LANDSCAPE_240P_4 = 23, // 424x240 15
7484  VIDEO_PROFILE_LANDSCAPE_360P = 30, // 640x360 15
7486  VIDEO_PROFILE_LANDSCAPE_360P_3 = 32, // 360x360 15
7488  VIDEO_PROFILE_LANDSCAPE_360P_4 = 33, // 640x360 30
7490  VIDEO_PROFILE_LANDSCAPE_360P_6 = 35, // 360x360 30
7492  VIDEO_PROFILE_LANDSCAPE_360P_7 = 36, // 480x360 15
7494  VIDEO_PROFILE_LANDSCAPE_360P_8 = 37, // 480x360 30
7496  VIDEO_PROFILE_LANDSCAPE_360P_9 = 38, // 640x360 15
7498  VIDEO_PROFILE_LANDSCAPE_360P_10 = 39, // 640x360 24
7500  VIDEO_PROFILE_LANDSCAPE_360P_11 = 100, // 640x360 24
7502  VIDEO_PROFILE_LANDSCAPE_480P = 40, // 640x480 15
7504  VIDEO_PROFILE_LANDSCAPE_480P_3 = 42, // 480x480 15
7506  VIDEO_PROFILE_LANDSCAPE_480P_4 = 43, // 640x480 30
7508  VIDEO_PROFILE_LANDSCAPE_480P_6 = 45, // 480x480 30
7510  VIDEO_PROFILE_LANDSCAPE_480P_8 = 47, // 848x480 15
7512  VIDEO_PROFILE_LANDSCAPE_480P_9 = 48, // 848x480 30
7514  VIDEO_PROFILE_LANDSCAPE_480P_10 = 49, // 640x480 10
7516  VIDEO_PROFILE_LANDSCAPE_720P = 50, // 1280x720 15
7518  VIDEO_PROFILE_LANDSCAPE_720P_3 = 52, // 1280x720 30
7520  VIDEO_PROFILE_LANDSCAPE_720P_5 = 54, // 960x720 15
7522  VIDEO_PROFILE_LANDSCAPE_720P_6 = 55, // 960x720 30
7524  VIDEO_PROFILE_LANDSCAPE_1080P = 60, // 1920x1080 15
7526  VIDEO_PROFILE_LANDSCAPE_1080P_3 = 62, // 1920x1080 30
7528  VIDEO_PROFILE_LANDSCAPE_1080P_5 = 64, // 1920x1080 60
7530  VIDEO_PROFILE_LANDSCAPE_1440P = 66, // 2560x1440 30
7532  VIDEO_PROFILE_LANDSCAPE_1440P_2 = 67, // 2560x1440 60
7534  VIDEO_PROFILE_LANDSCAPE_4K = 70, // 3840x2160 30
7536  VIDEO_PROFILE_LANDSCAPE_4K_3 = 72, // 3840x2160 60
7538  VIDEO_PROFILE_PORTRAIT_120P = 1000, // 120x160 15
7540  VIDEO_PROFILE_PORTRAIT_120P_3 = 1002, // 120x120 15
7542  VIDEO_PROFILE_PORTRAIT_180P = 1010, // 180x320 15
7544  VIDEO_PROFILE_PORTRAIT_180P_3 = 1012, // 180x180 15
7546  VIDEO_PROFILE_PORTRAIT_180P_4 = 1013, // 180x240 15
7548  VIDEO_PROFILE_PORTRAIT_240P = 1020, // 240x320 15
7550  VIDEO_PROFILE_PORTRAIT_240P_3 = 1022, // 240x240 15
7552  VIDEO_PROFILE_PORTRAIT_240P_4 = 1023, // 240x424 15
7554  VIDEO_PROFILE_PORTRAIT_360P = 1030, // 360x640 15
7556  VIDEO_PROFILE_PORTRAIT_360P_3 = 1032, // 360x360 15
7558  VIDEO_PROFILE_PORTRAIT_360P_4 = 1033, // 360x640 30
7560  VIDEO_PROFILE_PORTRAIT_360P_6 = 1035, // 360x360 30
7562  VIDEO_PROFILE_PORTRAIT_360P_7 = 1036, // 360x480 15
7564  VIDEO_PROFILE_PORTRAIT_360P_8 = 1037, // 360x480 30
7566  VIDEO_PROFILE_PORTRAIT_360P_9 = 1038, // 360x640 15
7568  VIDEO_PROFILE_PORTRAIT_360P_10 = 1039, // 360x640 24
7570  VIDEO_PROFILE_PORTRAIT_360P_11 = 1100, // 360x640 24
7572  VIDEO_PROFILE_PORTRAIT_480P = 1040, // 480x640 15
7574  VIDEO_PROFILE_PORTRAIT_480P_3 = 1042, // 480x480 15
7576  VIDEO_PROFILE_PORTRAIT_480P_4 = 1043, // 480x640 30
7578  VIDEO_PROFILE_PORTRAIT_480P_6 = 1045, // 480x480 30
7580  VIDEO_PROFILE_PORTRAIT_480P_8 = 1047, // 480x848 15
7582  VIDEO_PROFILE_PORTRAIT_480P_9 = 1048, // 480x848 30
7584  VIDEO_PROFILE_PORTRAIT_480P_10 = 1049, // 480x640 10
7586  VIDEO_PROFILE_PORTRAIT_720P = 1050, // 720x1280 15
7588  VIDEO_PROFILE_PORTRAIT_720P_3 = 1052, // 720x1280 30
7590  VIDEO_PROFILE_PORTRAIT_720P_5 = 1054, // 720x960 15
7592  VIDEO_PROFILE_PORTRAIT_720P_6 = 1055, // 720x960 30
7594  VIDEO_PROFILE_PORTRAIT_1080P = 1060, // 1080x1920 15
7596  VIDEO_PROFILE_PORTRAIT_1080P_3 = 1062, // 1080x1920 30
7598  VIDEO_PROFILE_PORTRAIT_1080P_5 = 1064, // 1080x1920 60
7600  VIDEO_PROFILE_PORTRAIT_1440P = 1066, // 1440x2560 30
7602  VIDEO_PROFILE_PORTRAIT_1440P_2 = 1067, // 1440x2560 60
7604  VIDEO_PROFILE_PORTRAIT_4K = 1070, // 2160x3840 30
7606  VIDEO_PROFILE_PORTRAIT_4K_3 = 1072, // 2160x3840 60
7609 };
7610 
7611 } // namespace rtc
7612 } // namespace agora
7613 
7619 #define getAgoraRtcEngineVersion getAgoraSdkVersion
7620 
7622 
7625 
7631 AGORA_API agora::rtc::IRtcEngine* AGORA_CALL createAgoraRtcEngine();
7632 
7634 
7635 
7642 #define getAgoraRtcEngineErrorDescription getAgoraSdkErrorDescription
7643 #define setAgoraRtcEngineExternalSymbolLoader setAgoraSdkExternalSymbolLoader
agora::rtc::IRtcEngine::startScreenCapture
virtual int startScreenCapture(const ScreenCaptureParameters2 &captureParams)=0
agora::rtc::IRtcEngineEventHandler::onApiCallExecuted
virtual void onApiCallExecuted(int err, const char *api, const char *result)
Definition: IAgoraRtcEngine.h:1699
agora::rtc::IRtcEngine::setDirectCdnStreamingAudioConfiguration
virtual int setDirectCdnStreamingAudioConfiguration(AUDIO_PROFILE_TYPE profile)=0
agora::rtc::IRtcEngine::getErrorDescription
virtual const char * getErrorDescription(int code)=0
agora::rtc::IRtcEngine::enableAudioSpectrumMonitor
virtual int enableAudioSpectrumMonitor(int intervalInMS=100)=0
agora::rtc::ScreenCaptureConfiguration::windowId
view_t windowId
Definition: IAgoraRtcEngine.h:665
agora::rtc::IRtcEngine::adjustRecordingSignalVolume
virtual int adjustRecordingSignalVolume(int volume)=0
agora::rtc::IRtcEngine::enableWebSdkInteroperability
virtual int enableWebSdkInteroperability(bool enabled) __deprecated=0
agora::rtc::IRtcEngine::enableSpatialAudio
virtual int enableSpatialAudio(bool enabled)=0
agora::rtc::ChannelMediaOptions::publishMediaPlayerAudioTrack
Optional< bool > publishMediaPlayerAudioTrack
Definition: IAgoraRtcEngine.h:843
agora::rtc::PublisherConfiguration::extraInfo
const char * extraInfo
Definition: IAgoraRtcEngine.h:594
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_11
@ VIDEO_PROFILE_LANDSCAPE_360P_11
Definition: IAgoraRtcEngine.h:7497
agora::rtc::IRtcEngine::setRemoteUserPriority
virtual int setRemoteUserPriority(uid_t uid, PRIORITY_TYPE userPriority)=0
agora::rtc::IRtcEngine::setCameraAutoFocusFaceModeEnabled
virtual int setCameraAutoFocusFaceModeEnabled(bool enabled)=0
agora::rtc::IRtcEngine::setAVSyncSource
virtual int setAVSyncSource(const char *channelId, uid_t uid)=0
agora::rtc::RtcEngineContext::appId
const char * appId
Definition: IAgoraRtcEngine.h:2583
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P_4
@ VIDEO_PROFILE_PORTRAIT_180P_4
Definition: IAgoraRtcEngine.h:7543
agora::rtc::ChannelMediaOptions::SetAll
void SetAll(const ChannelMediaOptions &change)
Definition: IAgoraRtcEngine.h:947
agora::rtc::IRtcEngineEventHandler::onUserAccountUpdated
virtual void onUserAccountUpdated(uid_t uid, const char *userAccount)
Definition: IAgoraRtcEngine.h:2421
agora::rtc::LOCAL_VIDEO_STREAM_STATE
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2523
agora::rtc::IRtcEngine::adjustCustomAudioPublishVolume
virtual int adjustCustomAudioPublishVolume(int32_t sourceId, int volume)=0
agora::rtc::IRtcEngine::enableInEarMonitoring
virtual int enableInEarMonitoring(bool enabled, int includeAudioFilters)=0
agora::rtc::IRtcEngine::isSpeakerphoneEnabled
virtual bool isSpeakerphoneEnabled()=0
agora::rtc::ReplaceBy
static void ReplaceBy(Optional< T > *s, const Optional< T > &o)
Definition: IAgoraRtcEngine.h:27
agora::rtc::IRtcEngineEventHandler::onRtmpStreamingEvent
virtual void onRtmpStreamingEvent(const char *url, RTMP_STREAMING_EVENT eventCode)
Definition: IAgoraRtcEngine.h:2089
agora::rtc::LocalVideoStats::regulatedCaptureFrameHeight
int regulatedCaptureFrameHeight
Definition: IAgoraRtcEngine.h:282
agora::rtc::AUDIO_SAMPLE_RATE_48000
@ AUDIO_SAMPLE_RATE_48000
Definition: AgoraBase.h:2963
agora::rtc::IRtcEngine::setEnableSpeakerphone
virtual int setEnableSpeakerphone(bool speakerOn)=0
agora::rtc::IRtcEngine::startScreenCaptureByScreenRect
virtual int startScreenCaptureByScreenRect(const Rectangle &screenRect, const Rectangle &regionRect, const ScreenCaptureParameters &captureParams)=0
agora::rtc::IRtcEngine::getScreenCaptureSources
virtual IScreenCaptureSourceList * getScreenCaptureSources(const SIZE &thumbSize, const SIZE &iconSize, const bool includeScreen)=0
agora::rtc::IRtcEngine::setEffectPosition
virtual int setEffectPosition(int soundId, int pos)=0
agora::rtc::UserInfo
Definition: AgoraBase.h:5119
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_6
@ VIDEO_PROFILE_PORTRAIT_360P_6
Definition: IAgoraRtcEngine.h:7557
agora::rtc::RemoteVideoStats::publishDuration
int publishDuration
Definition: IAgoraRtcEngine.h:398
agora::rtc::AUDIO_REVERB_TYPE
AUDIO_REVERB_TYPE
Definition: IAgoraRtcEngine.h:198
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_11
@ VIDEO_PROFILE_PORTRAIT_360P_11
Definition: IAgoraRtcEngine.h:7567
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_7
@ VIDEO_PROFILE_LANDSCAPE_360P_7
Definition: IAgoraRtcEngine.h:7489
agora::rtc::IRtcEngine::stopDirectCdnStreaming
virtual int stopDirectCdnStreaming()=0
agora::rtc::IRtcEngine::setEncryptionSecret
virtual int setEncryptionSecret(const char *secret) __deprecated=0
agora::rtc::AudioEncodedFrameObserverConfig
Definition: AgoraBase.h:4567
agora::rtc::ScreenCaptureParameters
Definition: AgoraBase.h:4369
agora::rtc::IRtcEngine::muteAllRemoteVideoStreams
virtual int muteAllRemoteVideoStreams(bool mute)=0
agora::rtc::IRtcEngine::setRemoteVideoSubscriptionOptions
virtual int setRemoteVideoSubscriptionOptions(uid_t uid, const VideoSubscriptionOptions &options)=0
agora::rtc::INJECT_STREAM_STATUS_START_UNAUTHORIZED
@ INJECT_STREAM_STATUS_START_UNAUTHORIZED
Definition: IAgoraRtcEngine.h:114
agora::rtc::ScreenCaptureSourceInfo::processPath
const char * processPath
Definition: IAgoraRtcEngine.h:712
agora::rtc::InjectStreamConfig::audioChannels
int audioChannels
Definition: IAgoraRtcEngine.h:516
agora::rtc::IRtcEngine::updateScreenCapture
virtual int updateScreenCapture(const ScreenCaptureParameters2 &captureParams)=0
agora::rtc::LocalVideoStats::regulatedCaptureFrameWidth
int regulatedCaptureFrameWidth
Definition: IAgoraRtcEngine.h:278
agora::rtc::IRtcEngine::pauseEffect
virtual int pauseEffect(int soundId)=0
agora::rtc::BeautyOptions
Definition: AgoraBase.h:3862
agora::rtc::ChannelMediaOptions::publishSecondaryCameraTrack
Optional< bool > publishSecondaryCameraTrack
Definition: IAgoraRtcEngine.h:762
agora::rtc::AUDIO_MIXING_STATE_FAILED
@ AUDIO_MIXING_STATE_FAILED
Definition: IAgoraRtcEngine.h:76
agora::rtc::SenderOptions
Definition: AgoraBase.h:1155
agora::rtc::INJECT_STREAM_STATUS_STOP_TIMEDOUT
@ INJECT_STREAM_STATUS_STOP_TIMEDOUT
Definition: IAgoraRtcEngine.h:138
agora::rtc::IRtcEngine::muteLocalVideoStream
virtual int muteLocalVideoStream(bool mute)=0
agora::rtc::RtcEngineContext::eventHandler
IRtcEngineEventHandler * eventHandler
Definition: IAgoraRtcEngine.h:2577
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_5
@ VIDEO_PROFILE_LANDSCAPE_720P_5
Definition: IAgoraRtcEngine.h:7517
agora::rtc::AUDIO_REVERB_STRENGTH
@ AUDIO_REVERB_STRENGTH
Definition: IAgoraRtcEngine.h:218
agora::rtc::LOCAL_PROXY_MODE
LOCAL_PROXY_MODE
Definition: IAgoraRtcEngine.h:1086
agora::rtc::IRtcEngineEventHandler::onIntraRequestReceived
virtual void onIntraRequestReceived()
Definition: IAgoraRtcEngine.h:1412
agora::rtc::VideoCompositingLayout
Definition: IAgoraRtcEngine.h:405
agora::rtc::VideoCompositingLayout::canvasHeight
int canvasHeight
Definition: IAgoraRtcEngine.h:455
agora::rtc::IRtcEngine::setVoiceConversionPreset
virtual int setVoiceConversionPreset(VOICE_CONVERSION_PRESET preset)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_6
@ VIDEO_PROFILE_LANDSCAPE_360P_6
Definition: IAgoraRtcEngine.h:7487
agora::rtc::DirectCdnStreamingStats::videoHeight
int videoHeight
Definition: IAgoraRtcEngine.h:2771
agora::rtc::LastmileProbeConfig
Definition: AgoraBase.h:3501
agora::rtc::IRtcEngine::enableLocalVideo
virtual int enableLocalVideo(bool enabled)=0
agora::rtc::IRtcEngineEventHandler::onLeaveChannel
virtual void onLeaveChannel(const RtcStats &stats)
Definition: IAgoraRtcEngine.h:1328
agora::media::UNKNOWN_MEDIA_SOURCE
@ UNKNOWN_MEDIA_SOURCE
Definition: AgoraMediaBase.h:188
agora::rtc::IRtcEngine::stopPrimaryScreenCapture
virtual int stopPrimaryScreenCapture()=0
agora::rtc::IRtcEngine::isCameraTorchSupported
virtual bool isCameraTorchSupported()=0
agora::rtc::IRtcEngine::stopAudioFrameDump
virtual int stopAudioFrameDump(const char *channel_id, uid_t user_id, const char *location)=0
agora::rtc::IRtcEngine::getAudioTrackCount
virtual int getAudioTrackCount()=0
agora::rtc::AUDIO_MIXING_REASON_OK
@ AUDIO_MIXING_REASON_OK
Definition: IAgoraRtcEngine.h:96
agora::rtc::IRtcEngineEventHandler::onFirstRemoteVideoDecoded
virtual void onFirstRemoteVideoDecoded(uid_t uid, int width, int height, int elapsed) __deprecated
Definition: IAgoraRtcEngine.h:1499
agora::rtc::RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL
@ RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL
Definition: IAgoraRtcEngine.h:536
agora::rtc::IVideoDeviceManager::~IVideoDeviceManager
virtual ~IVideoDeviceManager()
Definition: IAgoraRtcEngine.h:2476
agora::rtc::LocalVideoStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:253
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_6
@ VIDEO_PROFILE_PORTRAIT_480P_6
Definition: IAgoraRtcEngine.h:7575
agora::rtc::IRtcEngine::stopChannelMediaRelay
virtual int stopChannelMediaRelay()=0
agora::rtc::IRtcEngineEventHandler::onAudioEffectFinished
virtual void onAudioEffectFinished(int soundId)
Definition: IAgoraRtcEngine.h:1363
agora::rtc::WLACC_MESSAGE_REASON
WLACC_MESSAGE_REASON
Definition: AgoraBase.h:3715
agora::rtc::ScreenCaptureSourceType_Custom
@ ScreenCaptureSourceType_Custom
Definition: IAgoraRtcEngine.h:701
agora::rtc::RtcEngineContext::threadPriority
Optional< THREAD_PRIORITY_TYPE > threadPriority
Definition: IAgoraRtcEngine.h:2625
agora::media::PRIMARY_CAMERA_SOURCE
@ PRIMARY_CAMERA_SOURCE
Definition: AgoraMediaBase.h:144
agora::rtc::IRtcEngine::registerAudioEncodedFrameObserver
virtual int registerAudioEncodedFrameObserver(const AudioEncodedFrameObserverConfig &config, IAudioEncodedFrameObserver *observer)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_1440P
@ VIDEO_PROFILE_PORTRAIT_1440P
Definition: IAgoraRtcEngine.h:7597
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_3
@ VIDEO_PROFILE_PORTRAIT_480P_3
Definition: IAgoraRtcEngine.h:7571
agora::rtc::AUDIO_MIXING_STATE_PLAYING
@ AUDIO_MIXING_STATE_PLAYING
Definition: IAgoraRtcEngine.h:68
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_6
@ VIDEO_PROFILE_PORTRAIT_720P_6
Definition: IAgoraRtcEngine.h:7589
agora::rtc::ChannelMediaOptions::enableBuiltInMediaEncryption
Optional< bool > enableBuiltInMediaEncryption
Definition: IAgoraRtcEngine.h:916
agora::rtc::IRtcEngine::resumeAllEffects
virtual int resumeAllEffects()=0
agora::rtc::IRtcEngine::joinChannelWithUserAccountEx
virtual int joinChannelWithUserAccountEx(const char *token, const char *channelId, const char *userAccount, const ChannelMediaOptions &options, IRtcEngineEventHandler *eventHandler)=0
agora::rtc::InjectStreamConfig::width
int width
Definition: IAgoraRtcEngine.h:489
agora::rtc::IRtcEngine::pauseAudioMixing
virtual int pauseAudioMixing()=0
agora::rtc::IRtcEngine::setPlaybackAudioFrameBeforeMixingParameters
virtual int setPlaybackAudioFrameBeforeMixingParameters(int sampleRate, int channel)=0
agora::rtc::SCREEN_SCENARIO_TYPE
SCREEN_SCENARIO_TYPE
Definition: AgoraBase.h:2426
agora::rtc::ScreenCaptureSourceInfo::type
ScreenCaptureSourceType type
Definition: IAgoraRtcEngine.h:705
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::ThumbImageBuffer
Definition: IAgoraRtcEngine.h:689
agora::rtc::IRtcEngine::clearVideoWatermark
virtual int clearVideoWatermark()=0
agora::rtc::IVideoDeviceManager::getCapability
virtual int getCapability(const char *deviceIdUTF8, const uint32_t deviceCapabilityNumber, VideoFormat &capability)=0
agora::rtc::ChannelMediaOptions::ChannelMediaOptions
ChannelMediaOptions()
Definition: IAgoraRtcEngine.h:944
agora::rtc::LocalAccessPointConfiguration::LocalAccessPointConfiguration
LocalAccessPointConfiguration()
Definition: IAgoraRtcEngine.h:1134
agora::rtc::IVideoDeviceCollection::release
virtual void release()=0
agora::rtc::AUDIO_RECORDING_DEVICE
@ AUDIO_RECORDING_DEVICE
Definition: IAgoraRtcEngine.h:48
agora::rtc::IVideoDeviceManager::enumerateVideoDevices
virtual IVideoDeviceCollection * enumerateVideoDevices()=0
agora::rtc::LeaveChannelOptions::stopAudioMixing
bool stopAudioMixing
Definition: IAgoraRtcEngine.h:1146
agora::rtc::IRtcEngine::getVersion
virtual const char * getVersion(int *build)=0
agora::rtc::RemoteVideoStats::totalActiveTime
int totalActiveTime
Definition: IAgoraRtcEngine.h:394
agora::rtc::IRtcEngine::setAudioMixingPitch
virtual int setAudioMixingPitch(int pitch)=0
agora::rtc::ChannelMediaOptions::publishRhythmPlayerTrack
Optional< bool > publishRhythmPlayerTrack
Definition: IAgoraRtcEngine.h:922
agora::rtc::ChannelMediaOptions::publishCustomVideoTrack
Optional< bool > publishCustomVideoTrack
Definition: IAgoraRtcEngine.h:831
agora::media::IAudioSpectrumObserver
Definition: AgoraMediaBase.h:1048
agora::rtc::DirectCdnStreamingStats::videoWidth
int videoWidth
Definition: IAgoraRtcEngine.h:2766
agora::rtc::RTMP_STREAMING_EVENT
RTMP_STREAMING_EVENT
Definition: AgoraBase.h:3120
agora::rtc::IRtcEngineEventHandler::onRemoteAudioTransportStats
virtual void onRemoteAudioTransportStats(uid_t uid, unsigned short delay, unsigned short lost, unsigned short rxKBitRate)
Definition: IAgoraRtcEngine.h:2208
agora::rtc::MEDIA_DEVICE_STATE_DISABLED
@ MEDIA_DEVICE_STATE_DISABLED
Definition: IAgoraRtcEngine.h:7454
agora::rtc::IMetadataObserver::Metadata::buffer
unsigned char * buffer
Definition: IAgoraRtcEngine.h:2685
agora::rtc::REMOTE_AUDIO_STATE
REMOTE_AUDIO_STATE
Definition: AgoraBase.h:2584
agora::rtc::ThumbImageBuffer::length
unsigned int length
Definition: IAgoraRtcEngine.h:691
agora::rtc::PublisherConfiguration::publishUrl
const char * publishUrl
Definition: IAgoraRtcEngine.h:587
agora::rtc::IRtcEngine::stopSecondaryCameraCapture
virtual int stopSecondaryCameraCapture()=0
agora::rtc::NONE_PROXY
@ NONE_PROXY
Definition: IAgoraRtcEngine.h:631
agora::rtc::ChannelMediaOptions::publishCustomAudioSourceId
Optional< int > publishCustomAudioSourceId
Definition: IAgoraRtcEngine.h:807
agora::rtc::PublisherConfiguration::lifecycle
int lifecycle
Definition: IAgoraRtcEngine.h:569
agora::rtc::IRtcEngine::startPreview
virtual int startPreview()=0
agora::rtc::LocalAccessPointConfiguration::mode
LOCAL_PROXY_MODE mode
Definition: IAgoraRtcEngine.h:1133
agora::rtc::IMetadataObserver::Metadata::timeStampMs
long long timeStampMs
Definition: IAgoraRtcEngine.h:2690
agora::rtc::VideoCompositingLayout::Region::Region
Region()
Definition: IAgoraRtcEngine.h:435
agora::rtc::DIRECT_CDN_STREAMING_ERROR_VIDEO_PUBLICATION
@ DIRECT_CDN_STREAMING_ERROR_VIDEO_PUBLICATION
Definition: IAgoraRtcEngine.h:2737
agora::rtc::MEDIA_DEVICE_STATE_TYPE
MEDIA_DEVICE_STATE_TYPE
Definition: IAgoraRtcEngine.h:7445
agora::rtc::IRtcEngineEventHandler::onLocalAudioStats
virtual void onLocalAudioStats(const LocalAudioStats &stats)
Definition: IAgoraRtcEngine.h:1712
agora::rtc::ChannelMediaOptions::autoSubscribeAudio
Optional< bool > autoSubscribeAudio
Definition: IAgoraRtcEngine.h:862
agora::rtc::VIDEO_PROFILE_PORTRAIT_1440P_2
@ VIDEO_PROFILE_PORTRAIT_1440P_2
Definition: IAgoraRtcEngine.h:7599
agora::rtc::IRtcEngineEventHandler::onCameraExposureAreaChanged
virtual void onCameraExposureAreaChanged(int x, int y, int width, int height)
Definition: IAgoraRtcEngine.h:1771
agora::rtc::LocalAccessPointConfiguration
Definition: IAgoraRtcEngine.h:1115
agora::rtc::IRtcEngineEventHandler::onClientRoleChangeFailed
virtual void onClientRoleChangeFailed(CLIENT_ROLE_CHANGE_FAILED_REASON reason, CLIENT_ROLE_TYPE currentRole)
Definition: IAgoraRtcEngine.h:2045
agora::rtc::VideoCompositingLayout::VideoCompositingLayout
VideoCompositingLayout()
Definition: IAgoraRtcEngine.h:473
agora::rtc::IVideoDeviceCollection::getDevice
virtual int getDevice(int index, char deviceNameUTF8[MAX_DEVICE_ID_LENGTH], char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::ThumbImageBuffer::buffer
const char * buffer
Definition: IAgoraRtcEngine.h:690
agora::rtc::DirectCdnStreamingStats::videoBitrate
int videoBitrate
Definition: IAgoraRtcEngine.h:2781
agora::rtc::VIDEO_PROFILE_LANDSCAPE_4K_3
@ VIDEO_PROFILE_LANDSCAPE_4K_3
Definition: IAgoraRtcEngine.h:7533
agora::rtc::IRtcEngineEventHandler::onLastmileQuality
virtual void onLastmileQuality(int quality)
Definition: IAgoraRtcEngine.h:1449
agora::rtc::AUDIO_PROFILE_TYPE
AUDIO_PROFILE_TYPE
Definition: AgoraBase.h:2287
agora::rtc::CameraCapturerConfiguration::deviceId
char deviceId[MAX_DEVICE_ID_LENGTH]
Definition: IAgoraRtcEngine.h:648
agora::rtc::IRtcEngine::startPrimaryCameraCapture
virtual int startPrimaryCameraCapture(const CameraCapturerConfiguration &config)=0
agora::rtc::IRtcEngineEventHandler::onUserEnableVideo
virtual void onUserEnableVideo(uid_t uid, bool enabled) __deprecated
Definition: IAgoraRtcEngine.h:1662
agora::rtc::IRtcEngine::setCameraFocusPositionInPreview
virtual int setCameraFocusPositionInPreview(float positionX, float positionY)=0
agora::rtc::IRtcEngine::setRemoteRenderMode
virtual int setRemoteRenderMode(uid_t uid, media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P
@ VIDEO_PROFILE_PORTRAIT_180P
Definition: IAgoraRtcEngine.h:7539
agora::rtc::ChannelMediaOptions::isAudioFilterable
Optional< bool > isAudioFilterable
Definition: IAgoraRtcEngine.h:942
agora::rtc::AREA_CODE_GLOB
@ AREA_CODE_GLOB
Definition: AgoraBase.h:4645
agora::rtc::LiveTranscoding
Definition: AgoraBase.h:3290
agora::rtc::IVideoDeviceManager::numberOfCapabilities
virtual int numberOfCapabilities(const char *deviceIdUTF8)=0
agora::rtc::ChannelMediaOptions::audienceLatencyLevel
Optional< AUDIENCE_LATENCY_LEVEL_TYPE > audienceLatencyLevel
Definition: IAgoraRtcEngine.h:888
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P
@ VIDEO_PROFILE_PORTRAIT_1080P
Definition: IAgoraRtcEngine.h:7591
agora::rtc::IRtcEngineEventHandler::eventHandlerType
virtual const char * eventHandlerType() const
Definition: IAgoraRtcEngine.h:1178
agora::rtc::RTMP_STREAM_LIFE_CYCLE_TYPE
RTMP_STREAM_LIFE_CYCLE_TYPE
Definition: IAgoraRtcEngine.h:533
agora::rtc::LocalVideoStats::sentFrameRate
int sentFrameRate
Definition: IAgoraRtcEngine.h:261
agora::rtc::Rectangle
Definition: AgoraBase.h:1801
agora::rtc::LocalAccessPointConfiguration::ipList
const char ** ipList
Definition: IAgoraRtcEngine.h:1118
agora::rtc::IRtcEngine::setDirectCdnStreamingVideoConfiguration
virtual int setDirectCdnStreamingVideoConfiguration(const VideoEncoderConfiguration &config)=0
agora::rtc::STREAM_FALLBACK_OPTION_DISABLED
@ STREAM_FALLBACK_OPTION_DISABLED
Definition: IAgoraRtcEngine.h:225
agora::rtc::IRtcEngine::createDataStream
virtual int createDataStream(int *streamId, bool reliable, bool ordered)=0
agora::rtc::ScreenCaptureSourceInfo::sourceTitle
const char * sourceTitle
Definition: IAgoraRtcEngine.h:713
agora::rtc::IVideoDeviceManager::release
virtual void release()=0
agora::rtc::IRtcEngineEventHandler::onFacePositionChanged
virtual void onFacePositionChanged(int imageWidth, int imageHeight, const Rectangle *vecRectangle, const int *vecDistance, int numFaces)
Definition: IAgoraRtcEngine.h:1778
agora::rtc::IRtcEngine::setVolumeOfEffect
virtual int setVolumeOfEffect(int soundId, int volume)=0
agora::rtc::IRtcEngineEventHandler::onUserInfoUpdated
virtual void onUserInfoUpdated(uid_t uid, const UserInfo &info)
Definition: IAgoraRtcEngine.h:2315
agora::rtc::IRtcEngineEventHandler::onNetworkTypeChanged
virtual void onNetworkTypeChanged(NETWORK_TYPE type)
Definition: IAgoraRtcEngine.h:2274
agora::rtc::InjectStreamConfig::videoFramerate
int videoFramerate
Definition: IAgoraRtcEngine.h:501
agora::rtc::SIMULCAST_STREAM_MODE
SIMULCAST_STREAM_MODE
Definition: AgoraBase.h:1761
agora::rtc::ChannelMediaOptions::publishCustomAudioTrackEnableAec
Optional< bool > publishCustomAudioTrackEnableAec
Definition: IAgoraRtcEngine.h:813
agora::rtc::IRtcEngine::enableAudioVolumeIndication
virtual int enableAudioVolumeIndication(int interval, int smooth, bool reportVad)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P_3
@ VIDEO_PROFILE_LANDSCAPE_240P_3
Definition: IAgoraRtcEngine.h:7477
agora::rtc::ChannelMediaOptions::mediaPlayerAudioDelayMs
Optional< int > mediaPlayerAudioDelayMs
Definition: IAgoraRtcEngine.h:906
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P_4
@ VIDEO_PROFILE_LANDSCAPE_180P_4
Definition: IAgoraRtcEngine.h:7473
agora::rtc::IRtcEngine::updateLocalTranscoderConfiguration
virtual int updateLocalTranscoderConfiguration(const LocalTranscoderConfiguration &config)=0
agora::rtc::IMetadataObserver::onReadyToSendMetadata
virtual bool onReadyToSendMetadata(Metadata &metadata, VIDEO_SOURCE_TYPE source_type)=0
agora::rtc::INJECT_STREAM_STATUS_START_SUCCESS
@ INJECT_STREAM_STATUS_START_SUCCESS
Definition: IAgoraRtcEngine.h:106
agora::rtc::IRtcEngine::registerPacketObserver
virtual int registerPacketObserver(IPacketObserver *observer)=0
agora::rtc::IVideoDeviceCollection::~IVideoDeviceCollection
virtual ~IVideoDeviceCollection()
Definition: IAgoraRtcEngine.h:2432
agora::view_t
void * view_t
Definition: AgoraBase.h:783
agora::rtc::IRtcEngine::switchCamera
virtual int switchCamera()=0
agora::rtc::IRtcEngine::unregisterMediaMetadataObserver
virtual int unregisterMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type)=0
agora::rtc::IRtcEngine::getUserInfoByUid
virtual int getUserInfoByUid(uid_t uid, rtc::UserInfo *userInfo)=0
agora::rtc::IRtcEngine::pauseAllEffects
virtual int pauseAllEffects()=0
agora::rtc::IRtcEngine::disableAudioSpectrumMonitor
virtual int disableAudioSpectrumMonitor()=0
agora::rtc::IRtcEngineEventHandlerEx
Definition: IAgoraRtcEngineEx.h:42
agora::rtc::CLOUD_PROXY_TYPE
CLOUD_PROXY_TYPE
Definition: IAgoraRtcEngine.h:628
agora::rtc::IRtcEngineEventHandler::onFirstLocalAudioFramePublished
virtual void onFirstLocalAudioFramePublished(int elapsed)
Definition: IAgoraRtcEngine.h:1928
agora::util::AutoPtr
Definition: AgoraBase.h:108
agora::rtc::IRtcEngineEventHandler::onVideoSourceFrameSizeChanged
virtual void onVideoSourceFrameSizeChanged(VIDEO_SOURCE_TYPE sourceType, int width, int height)
Definition: IAgoraRtcEngine.h:1478
agora::rtc::LocalVideoStats::sentBitrate
int sentBitrate
Definition: IAgoraRtcEngine.h:257
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P_3
@ VIDEO_PROFILE_PORTRAIT_240P_3
Definition: IAgoraRtcEngine.h:7547
agora::rtc::IRtcEngineEventHandler::onExtensionStopped
virtual void onExtensionStopped(const char *provider, const char *extension)
Definition: IAgoraRtcEngine.h:2409
agora::rtc::IRtcEngine::getAudioMixingPublishVolume
virtual int getAudioMixingPublishVolume()=0
agora::rtc::ScreenCaptureSourceType_Window
@ ScreenCaptureSourceType_Window
Definition: IAgoraRtcEngine.h:699
agora::rtc::IRtcEngineEventHandler::onRejoinChannelSuccess
virtual void onRejoinChannelSuccess(const char *channel, uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1207
agora::rtc::IRtcEngineEventHandler::onVideoSizeChanged
virtual void onVideoSizeChanged(uid_t uid, int width, int height, int rotation)
Definition: IAgoraRtcEngine.h:1506
agora::rtc::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
Definition: AgoraBase.h:2327
agora::rtc::SIZE::SIZE
SIZE(int ww, int hh)
Definition: IAgoraRtcEngine.h:684
agora::rtc::ImageTrackOptions::fps
int fps
Definition: IAgoraRtcEngine.h:743
agora::rtc::STREAM_FALLBACK_OPTION_AUDIO_ONLY
@ STREAM_FALLBACK_OPTION_AUDIO_ONLY
Definition: IAgoraRtcEngine.h:234
agora::rtc::RemoteVideoStats::totalFrozenTime
int totalFrozenTime
Definition: IAgoraRtcEngine.h:380
agora::rtc::IRtcEngine::stopPrimaryCustomAudioTrack
virtual int stopPrimaryCustomAudioTrack()=0
agora::rtc::AudioTrackConfig::enableLocalPlayback
bool enableLocalPlayback
Definition: IAgoraRtcEngine.h:613
agora::rtc::IRtcEngine::setSubscribeVideoWhitelist
virtual int setSubscribeVideoWhitelist(uid_t *uidList, int uidNumber)=0
agora::rtc::IMetadataObserver::METADATA_TYPE
METADATA_TYPE
Definition: IAgoraRtcEngine.h:2653
agora::rtc::DIRECT_CDN_STREAMING_ERROR_AUDIO_PUBLICATION
@ DIRECT_CDN_STREAMING_ERROR_AUDIO_PUBLICATION
Definition: IAgoraRtcEngine.h:2735
agora::rtc::IRtcEngine::adjustUserPlaybackSignalVolume
virtual int adjustUserPlaybackSignalVolume(unsigned int uid, int volume)=0
agora::rtc::IRtcEngine::stopLocalVideoTranscoder
virtual int stopLocalVideoTranscoder()=0
agora::rtc::IRtcEngine::setCloudProxy
virtual int setCloudProxy(CLOUD_PROXY_TYPE proxyType)=0
agora::rtc::VideoEncoderConfiguration
Definition: AgoraBase.h:1596
agora::rtc::ScreenCaptureSourceInfo::sourceId
view_t sourceId
Definition: IAgoraRtcEngine.h:707
agora::rtc::IRtcEngineEventHandler
Definition: IAgoraRtcEngine.h:1174
agora::rtc::AUDIO_MIXING_STATE_TYPE
AUDIO_MIXING_STATE_TYPE
Definition: IAgoraRtcEngine.h:66
agora::rtc::VideoCompositingLayout::Region::height
double height
Definition: IAgoraRtcEngine.h:421
agora::rtc::IVideoDeviceManager::getDevice
virtual int getDevice(char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngine::isCameraExposurePositionSupported
virtual bool isCameraExposurePositionSupported()=0
agora::rtc::DirectCdnStreamingMediaOptions::operator==
bool operator==(const DirectCdnStreamingMediaOptions &o) const
Definition: IAgoraRtcEngine.h:2874
agora::rtc::IRtcEngineEventHandler::onUserMuteAudio
virtual void onUserMuteAudio(uid_t uid, bool muted)
Definition: IAgoraRtcEngine.h:1623
agora::rtc::VideoSubscriptionOptions
Definition: AgoraBase.h:1469
agora::rtc::__deprecated
@ __deprecated
Definition: AgoraBase.h:857
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P
@ VIDEO_PROFILE_LANDSCAPE_360P
Definition: IAgoraRtcEngine.h:7481
agora::rtc::ScreenCaptureSourceInfo::sourceName
const char * sourceName
Definition: IAgoraRtcEngine.h:708
agora::rtc::AudioTrackConfig::AudioTrackConfig
AudioTrackConfig()
Definition: IAgoraRtcEngine.h:614
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_3
@ VIDEO_PROFILE_PORTRAIT_360P_3
Definition: IAgoraRtcEngine.h:7553
agora::rtc::IRtcEngine::registerLocalUserAccount
virtual int registerLocalUserAccount(const char *appId, const char *userAccount)=0
agora::rtc::QUALITY_ADAPT_INDICATION
QUALITY_ADAPT_INDICATION
Definition: AgoraBase.h:2116
agora::rtc::IRtcEngineEventHandler::onUplinkNetworkInfoUpdated
virtual void onUplinkNetworkInfoUpdated(const UplinkNetworkInfo &info)
Definition: IAgoraRtcEngine.h:1422
agora::rtc::AUDIO_EQUALIZATION_BAND_250
@ AUDIO_EQUALIZATION_BAND_250
Definition: IAgoraRtcEngine.h:168
agora::rtc::DirectCdnStreamingMediaOptions::publishMicrophoneTrack
Optional< bool > publishMicrophoneTrack
Definition: IAgoraRtcEngine.h:2829
agora::rtc::EchoTestConfiguration
Definition: AgoraBase.h:5102
agora::rtc::RtcImage
Definition: AgoraBase.h:3139
agora::rtc::InjectStreamConfig::InjectStreamConfig
InjectStreamConfig()
Definition: IAgoraRtcEngine.h:520
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_4
@ VIDEO_PROFILE_PORTRAIT_360P_4
Definition: IAgoraRtcEngine.h:7555
agora::rtc::VideoCompositingLayout::backgroundColor
const char * backgroundColor
Definition: IAgoraRtcEngine.h:458
agora::rtc::VIDEO_PROFILE_PORTRAIT_4K_3
@ VIDEO_PROFILE_PORTRAIT_4K_3
Definition: IAgoraRtcEngine.h:7603
agora::rtc::IRtcEngine::getAudioMixingCurrentPosition
virtual int getAudioMixingCurrentPosition()=0
agora::rtc::IMetadataObserver::DEFAULT_METADATA_SIZE_IN_BYTE
@ DEFAULT_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:2667
agora::rtc::IRtcEngine::startDirectCdnStreaming
virtual int startDirectCdnStreaming(IDirectCdnStreamingEventHandler *eventHandler, const char *publishUrl, const DirectCdnStreamingMediaOptions &options)=0
agora::rtc::IRtcEngine::registerAudioSpectrumObserver
virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::AUDIO_MIXING_STATE_STOPPED
@ AUDIO_MIXING_STATE_STOPPED
Definition: IAgoraRtcEngine.h:72
agora::rtc::NONE_PROXY_TYPE
@ NONE_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1098
agora::rtc::AUDIO_REVERB_WET_DELAY
@ AUDIO_REVERB_WET_DELAY
Definition: IAgoraRtcEngine.h:214
agora::rtc::LocalVideoStats::encodedBitrate
int encodedBitrate
Definition: IAgoraRtcEngine.h:309
agora::rtc::IRtcEngine::addInjectStreamUrl
virtual int addInjectStreamUrl(const char *url, const InjectStreamConfig &config)=0
agora::rtc::REMOTE_VIDEO_STATE_REASON
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:2687
agora::rtc::LocalVideoStats::qualityAdaptIndication
QUALITY_ADAPT_INDICATION qualityAdaptIndication
Definition: IAgoraRtcEngine.h:308
agora::rtc::ChannelMediaOptions::customVideoTrackId
Optional< video_track_id_t > customVideoTrackId
Definition: IAgoraRtcEngine.h:935
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1440P
@ VIDEO_PROFILE_LANDSCAPE_1440P
Definition: IAgoraRtcEngine.h:7527
agora::rtc::SimulcastStreamConfig
Definition: AgoraBase.h:1779
agora::rtc::IRtcEngine::setMixedAudioFrameParameters
virtual int setMixedAudioFrameParameters(int sampleRate, int channel, int samplesPerCall)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_31
@ AUDIO_EQUALIZATION_BAND_31
Definition: IAgoraRtcEngine.h:156
agora::rtc::VIDEO_PROFILE_TYPE
VIDEO_PROFILE_TYPE
Definition: IAgoraRtcEngine.h:7463
agora::rtc::IRtcEngine::getVolumeOfEffect
virtual int getVolumeOfEffect(int soundId)=0
agora::rtc::IMetadataObserver::getMaxMetadataSize
virtual int getMaxMetadataSize()
Definition: IAgoraRtcEngine.h:2704
agora::rtc::ChannelMediaOptions::publishDirectCustomAudioTrack
Optional< bool > publishDirectCustomAudioTrack
Definition: IAgoraRtcEngine.h:819
agora::rtc::VIDEO_MIRROR_MODE_TYPE
VIDEO_MIRROR_MODE_TYPE
Definition: AgoraBase.h:1578
agora::rtc::IRtcEngine::getConnectionState
virtual CONNECTION_STATE_TYPE getConnectionState()=0
agora::rtc::AUDIO_PLAYOUT_DEVICE
@ AUDIO_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:44
agora::rtc::IRtcEngine::setCameraTorchOn
virtual int setCameraTorchOn(bool isOn)=0
agora::rtc::IRtcEngine::setAdvancedAudioOptions
virtual int setAdvancedAudioOptions(AdvancedAudioOptions &options)=0
agora::rtc::IRtcEngine::setExtensionProperty
virtual int setExtensionProperty(const char *provider, const char *extension, const char *key, const char *value, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::IRtcEngine::enableEncryption
virtual int enableEncryption(bool enabled, const EncryptionConfig &config)=0
agora::rtc::UDP_PROXY_TYPE
@ UDP_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1101
agora::rtc::IRtcEngine::enableContentInspect
virtual int enableContentInspect(bool enabled, const media::ContentInspectConfig &config)=0
agora::rtc::IRtcEngine::isCameraZoomSupported
virtual bool isCameraZoomSupported()=0
agora::rtc::ChannelMediaOptions::publishTrancodedVideoTrack
Optional< bool > publishTrancodedVideoTrack
Definition: IAgoraRtcEngine.h:855
agora::rtc::IRtcEngineEventHandler::onRemoteAudioStateChanged
virtual void onRemoteAudioStateChanged(uid_t uid, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed)
Definition: IAgoraRtcEngine.h:1986
agora::rtc::IRtcEngine::enableCustomAudioLocalPlayback
virtual int enableCustomAudioLocalPlayback(int sourceId, bool enabled)=0
agora::rtc::IRtcEngine::setAudioSessionOperationRestriction
virtual int setAudioSessionOperationRestriction(AUDIO_SESSION_OPERATION_RESTRICTION restriction)=0
agora::rtc::IRtcEngine::startRhythmPlayer
virtual int startRhythmPlayer(const char *sound1, const char *sound2, const AgoraRhythmPlayerConfig &config)=0
agora::rtc::IRtcEngine::configRhythmPlayer
virtual int configRhythmPlayer(const AgoraRhythmPlayerConfig &config)=0
agora::rtc::IRtcEngine::adjustAudioMixingPublishVolume
virtual int adjustAudioMixingPublishVolume(int volume)=0
agora::rtc::DirectCdnStreamingMediaOptions::publishCameraTrack
Optional< bool > publishCameraTrack
Definition: IAgoraRtcEngine.h:2823
agora::rtc::IVideoDeviceCollection::getCount
virtual int getCount()=0
agora::rtc::IRtcEngine::getAudioMixingDuration
virtual int getAudioMixingDuration()=0
agora::rtc::IScreenCaptureSourceList
Definition: IAgoraRtcEngine.h:720
agora::rtc::ScreenCaptureConfiguration::params
ScreenCaptureParameters params
Definition: IAgoraRtcEngine.h:666
agora::rtc::IRtcEngineEventHandler::onUserMuteVideo
virtual void onUserMuteVideo(uid_t userId, bool muted) __deprecated
Definition: IAgoraRtcEngine.h:1641
agora::rtc::IRtcEngineEventHandler::onVideoStopped
virtual void onVideoStopped()
Definition: IAgoraRtcEngine.h:1788
agora::rtc::IRtcEngineEventHandler::onVideoDeviceStateChanged
virtual void onVideoDeviceStateChanged(const char *deviceId, int deviceType, int deviceState)
Definition: IAgoraRtcEngine.h:1374
agora::rtc::IMetadataObserver
Definition: IAgoraRtcEngine.h:2646
agora::rtc::VideoCompositingLayout::appData
const char * appData
Definition: IAgoraRtcEngine.h:468
agora::rtc::SIZE::width
int width
Definition: IAgoraRtcEngine.h:678
agora::media::AUDIO_MIXING_DUAL_MONO_MODE
AUDIO_MIXING_DUAL_MONO_MODE
Definition: IAgoraMediaEngine.h:17
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::IRtcEngine::setRemoteVoicePosition
virtual int setRemoteVoicePosition(uid_t uid, double pan, double gain)=0
agora::rtc::DIRECT_CDN_STREAMING_STATE_RECOVERING
@ DIRECT_CDN_STREAMING_STATE_RECOVERING
Definition: IAgoraRtcEngine.h:2756
agora::rtc::IRtcEngine::startScreenCaptureByWindowId
virtual int startScreenCaptureByWindowId(view_t windowId, const Rectangle &regionRect, const ScreenCaptureParameters &captureParams)=0
agora::rtc::AUDIO_EFFECT_PRESET
AUDIO_EFFECT_PRESET
Definition: AgoraBase.h:4160
agora::rtc::IRtcEngine::registerMediaMetadataObserver
virtual int registerMediaMetadataObserver(IMetadataObserver *observer, IMetadataObserver::METADATA_TYPE type)=0
agora::rtc::IRtcEngineEventHandler::onRhythmPlayerStateChanged
virtual void onRhythmPlayerStateChanged(RHYTHM_PLAYER_STATE_TYPE state, RHYTHM_PLAYER_ERROR_TYPE errorCode)
Definition: IAgoraRtcEngine.h:1819
agora::rtc::ScreenCaptureSourceType_Screen
@ ScreenCaptureSourceType_Screen
Definition: IAgoraRtcEngine.h:700
agora::rtc::IRtcEngine::startChannelMediaRelay
virtual int startChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration)=0
agora::rtc::ColorEnhanceOptions
Definition: AgoraBase.h:3986
agora::rtc::PublisherConfiguration::defaultLayout
int defaultLayout
Definition: IAgoraRtcEngine.h:566
agora::rtc::IRtcEngineEventHandler::onTranscodingUpdated
virtual void onTranscodingUpdated()
Definition: IAgoraRtcEngine.h:2105
agora::rtc::IRtcEngine::updateRtmpTranscoding
virtual int updateRtmpTranscoding(const LiveTranscoding &transcoding)=0
agora::rtc::IRtcEngineEventHandler::onWlAccMessage
virtual void onWlAccMessage(WLACC_MESSAGE_REASON reason, WLACC_SUGGEST_ACTION action, const char *wlAccMsg)
Definition: IAgoraRtcEngine.h:2254
agora::rtc::IRtcEngineEventHandler::onRequestToken
virtual void onRequestToken()
Definition: IAgoraRtcEngine.h:1903
agora::rtc::IRtcEngineEventHandler::onError
virtual void onError(int err, const char *msg)
Definition: IAgoraRtcEngine.h:1233
agora::rtc::REMOTE_VIDEO_STATE
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:2659
agora::rtc::ChannelMediaOptions::publishCustomAudioTrackAec
Optional< bool > publishCustomAudioTrackAec
Definition: IAgoraRtcEngine.h:825
agora::rtc::IRtcEngine::startRtmpStreamWithoutTranscoding
virtual int startRtmpStreamWithoutTranscoding(const char *url)=0
agora::rtc::VideoCompositingLayout::regionCount
int regionCount
Definition: IAgoraRtcEngine.h:465
agora::rtc::IRtcEngineEventHandler::onProxyConnected
virtual void onProxyConnected(const char *channel, uid_t uid, PROXY_TYPE proxyType, const char *localProxyIp, int elapsed)
Definition: IAgoraRtcEngine.h:1220
agora::rtc::MEDIA_DEVICE_TYPE
MEDIA_DEVICE_TYPE
Definition: IAgoraRtcEngine.h:36
agora::rtc::IRtcEngineEventHandler::onLocalPublishFallbackToAudioOnly
virtual void onLocalPublishFallbackToAudioOnly(bool isFallbackOrRecover)
Definition: IAgoraRtcEngine.h:2186
agora::rtc::AUDIO_EQUALIZATION_BAND_62
@ AUDIO_EQUALIZATION_BAND_62
Definition: IAgoraRtcEngine.h:160
agora::rtc::ScreenCaptureSourceInfo::iconImage
ThumbImageBuffer iconImage
Definition: IAgoraRtcEngine.h:710
agora::rtc::INTERFACE_ID_TYPE
INTERFACE_ID_TYPE
Definition: AgoraBase.h:834
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_10
@ VIDEO_PROFILE_LANDSCAPE_480P_10
Definition: IAgoraRtcEngine.h:7511
agora::rtc::IRtcEngine::enableExtension
virtual int enableExtension(const char *provider, const char *extension, bool enable=true, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::PublisherConfiguration::height
int height
Definition: IAgoraRtcEngine.h:552
agora::rtc::IRtcEngineEventHandler::onAudioMixingFinished
virtual void onAudioMixingFinished() __deprecated
Definition: IAgoraRtcEngine.h:1361
agora::rtc::LocalAccessPointConfiguration::verifyDomainName
const char * verifyDomainName
Definition: IAgoraRtcEngine.h:1130
agora::rtc::IRtcEngine::setScreenCaptureScenario
virtual int setScreenCaptureScenario(SCREEN_SCENARIO_TYPE screenScenario)=0
agora::rtc::AVideoDeviceManager
Definition: IAgoraRtcEngine.h:7427
agora::rtc::AUDIO_EQUALIZATION_BAND_4K
@ AUDIO_EQUALIZATION_BAND_4K
Definition: IAgoraRtcEngine.h:184
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE
RAW_AUDIO_FRAME_OP_MODE_TYPE
Definition: AgoraMediaBase.h:112
agora::rtc::LocalVideoStats::codecType
VIDEO_CODEC_TYPE codecType
Definition: IAgoraRtcEngine.h:317
agora::rtc::QUALITY_REPORT_JSON
@ QUALITY_REPORT_JSON
Definition: IAgoraRtcEngine.h:7438
agora::rtc::INJECT_STREAM_STATUS_START_FAILED
@ INJECT_STREAM_STATUS_START_FAILED
Definition: IAgoraRtcEngine.h:122
agora::rtc::LocalTranscoderConfiguration
Definition: AgoraBase.h:3478
agora::rtc::TCP_PROXY_AUTO_FALLBACK_TYPE
@ TCP_PROXY_AUTO_FALLBACK_TYPE
Definition: IAgoraRtcEngine.h:1112
agora::rtc::IRtcEngine::adjustAudioMixingPlayoutVolume
virtual int adjustAudioMixingPlayoutVolume(int volume)=0
agora::rtc::STREAM_FALLBACK_OPTIONS
STREAM_FALLBACK_OPTIONS
Definition: IAgoraRtcEngine.h:221
agora::rtc::InjectStreamConfig::audioBitrate
int audioBitrate
Definition: IAgoraRtcEngine.h:513
agora::rtc::DirectCdnStreamingMediaOptions::SetAll
void SetAll(const DirectCdnStreamingMediaOptions &change)
Definition: IAgoraRtcEngine.h:2862
agora::rtc::IDirectCdnStreamingEventHandler::onDirectCdnStreamingStateChanged
virtual void onDirectCdnStreamingStateChanged(DIRECT_CDN_STREAMING_STATE state, DIRECT_CDN_STREAMING_ERROR error, const char *message)
Definition: IAgoraRtcEngine.h:2803
agora::rtc::WLACC_SUGGEST_ACTION
WLACC_SUGGEST_ACTION
Definition: AgoraBase.h:3729
agora::rtc::CameraCapturerConfiguration::followEncodeDimensionRatio
bool followEncodeDimensionRatio
Definition: IAgoraRtcEngine.h:651
agora::rtc::IRtcEngine::setCameraDeviceOrientation
virtual int setCameraDeviceOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation)=0
agora::rtc::IRtcEngineEventHandler::onAudioVolumeIndication
virtual void onAudioVolumeIndication(const AudioVolumeInfo *speakers, unsigned int speakerNumber, int totalVolume)
Definition: IAgoraRtcEngine.h:1310
agora::rtc::IRtcEngineEventHandler::onConnectionBanned
virtual void onConnectionBanned()
Definition: IAgoraRtcEngine.h:1848
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_4
@ VIDEO_PROFILE_LANDSCAPE_480P_4
Definition: IAgoraRtcEngine.h:7503
agora::rtc::IPacketObserver
Definition: AgoraBase.h:2896
agora::rtc::IRtcEngine::setLocalPublishFallbackOption
virtual int setLocalPublishFallbackOption(STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::LocalVideoStats::dualStreamEnabled
bool dualStreamEnabled
Definition: IAgoraRtcEngine.h:328
agora::rtc::VIDEO_PROFILE_PORTRAIT_120P_3
@ VIDEO_PROFILE_PORTRAIT_120P_3
Definition: IAgoraRtcEngine.h:7537
agora::rtc::ChannelMediaOptions::publishEncodedVideoTrack
Optional< bool > publishEncodedVideoTrack
Definition: IAgoraRtcEngine.h:837
agora::rtc::IRtcEngine::setDualStreamMode
virtual int setDualStreamMode(SIMULCAST_STREAM_MODE mode)=0
agora::rtc::DirectCdnStreamingStats
Definition: IAgoraRtcEngine.h:2762
agora::rtc::IRtcEngine::registerEventHandler
virtual bool registerEventHandler(IRtcEngineEventHandler *eventHandler)=0
agora::rtc::VideoFormat
Definition: AgoraBase.h:2361
agora::rtc::RemoteVideoStats::uid
uid_t uid
Definition: IAgoraRtcEngine.h:338
agora::rtc::IRtcEngineEventHandler::onUserOffline
virtual void onUserOffline(uid_t uid, USER_OFFLINE_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:1607
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P
@ VIDEO_PROFILE_PORTRAIT_480P
Definition: IAgoraRtcEngine.h:7569
agora::rtc::DIRECT_CDN_STREAMING_ERROR_OK
@ DIRECT_CDN_STREAMING_ERROR_OK
Definition: IAgoraRtcEngine.h:2731
agora::rtc::IRtcEngine::setSubscribeAudioBlacklist
virtual int setSubscribeAudioBlacklist(uid_t *uidList, int uidNumber)=0
agora::rtc::IRtcEngine::setCameraAutoExposureFaceModeEnabled
virtual int setCameraAutoExposureFaceModeEnabled(bool enabled)=0
agora::rtc::VIDEO_CODEC_TYPE
VIDEO_CODEC_TYPE
Definition: AgoraBase.h:1102
agora::rtc::IRtcEngine::stopRtmpStream
virtual int stopRtmpStream(const char *url)=0
agora::rtc::ChannelMediaOptions::operator==
bool operator==(const ChannelMediaOptions &o) const
Definition: IAgoraRtcEngine.h:989
agora::rtc::DataStreamConfig
Definition: AgoraBase.h:1749
agora::rtc::IRtcEngineEventHandler::onCameraFocusAreaChanged
virtual void onCameraFocusAreaChanged(int x, int y, int width, int height)
Definition: IAgoraRtcEngine.h:1764
agora::rtc::VideoCompositingLayout::Region::y
double y
Definition: IAgoraRtcEngine.h:415
agora::rtc::STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
@ STREAM_FALLBACK_OPTION_VIDEO_STREAM_LOW
Definition: IAgoraRtcEngine.h:230
agora::rtc::IRtcEngine::stopAudioMixing
virtual int stopAudioMixing()=0
agora::rtc::PublisherConfiguration
Definition: IAgoraRtcEngine.h:544
agora::rtc::IRtcEngine::setLogLevel
virtual int setLogLevel(commons::LOG_LEVEL level)=0
agora::rtc::RtcEngineContext::logConfig
commons::LogConfig logConfig
Definition: IAgoraRtcEngine.h:2620
agora::rtc::IRtcEngineEventHandler::onChannelMediaRelayEvent
virtual void onChannelMediaRelayEvent(int code)
Definition: IAgoraRtcEngine.h:2182
agora::rtc::DIRECT_CDN_STREAMING_ERROR_BAD_NAME
@ DIRECT_CDN_STREAMING_ERROR_BAD_NAME
Definition: IAgoraRtcEngine.h:2741
agora::rtc::IRtcEngine::setRemoteDefaultVideoStreamType
virtual int setRemoteDefaultVideoStreamType(VIDEO_STREAM_TYPE streamType)=0
agora::rtc::NETWORK_TYPE
NETWORK_TYPE
Definition: AgoraBase.h:3769
agora::rtc::IRtcEngine::setRemoteVideoStreamType
virtual int setRemoteVideoStreamType(uid_t uid, VIDEO_STREAM_TYPE streamType)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_8K
@ AUDIO_EQUALIZATION_BAND_8K
Definition: IAgoraRtcEngine.h:188
agora::CHANNEL_PROFILE_TYPE
CHANNEL_PROFILE_TYPE
Definition: AgoraBase.h:275
agora::rtc::InjectStreamConfig::height
int height
Definition: IAgoraRtcEngine.h:493
agora::rtc::CAMERA_FRONT
@ CAMERA_FRONT
Definition: IAgoraRtcEngine.h:621
agora::rtc::CAPTURE_BRIGHTNESS_LEVEL_TYPE
CAPTURE_BRIGHTNESS_LEVEL_TYPE
Definition: AgoraBase.h:2436
agora::rtc::DIRECT_CDN_STREAMING_STATE_STOPPED
@ DIRECT_CDN_STREAMING_STATE_STOPPED
Definition: IAgoraRtcEngine.h:2752
agora::rtc::IRtcEngine::startRtmpStreamWithTranscoding
virtual int startRtmpStreamWithTranscoding(const char *url, const LiveTranscoding &transcoding)=0
agora::rtc::ScreenCaptureConfiguration::ScreenCaptureConfiguration
ScreenCaptureConfiguration()
Definition: IAgoraRtcEngine.h:669
agora::rtc::DirectCdnStreamingMediaOptions
Definition: IAgoraRtcEngine.h:2817
agora::rtc::ConnectivityFirst
@ ConnectivityFirst
Definition: IAgoraRtcEngine.h:1089
agora::rtc::IRtcEngineEventHandler::onStreamMessageError
virtual void onStreamMessageError(uid_t userId, int streamId, int code, int missed, int cached)
Definition: IAgoraRtcEngine.h:1884
agora::rtc::IRtcEngine::setVideoEncoderConfiguration
virtual int setVideoEncoderConfiguration(const VideoEncoderConfiguration &config)=0
agora::rtc::AdvancedAudioOptions
Definition: IAgoraRtcEngine.h:731
agora::rtc::IRtcEngine::stopAllEffects
virtual int stopAllEffects()=0
agora::rtc::IRtcEngine::pauseAllChannelMediaRelay
virtual int pauseAllChannelMediaRelay()=0
agora::rtc::ScreenCaptureSourceType_Unknown
@ ScreenCaptureSourceType_Unknown
Definition: IAgoraRtcEngine.h:698
agora::rtc::LocalVideoStats::captureFrameHeight
int captureFrameHeight
Definition: IAgoraRtcEngine.h:270
agora::rtc::IRtcEngine::startAudioMixing
virtual int startAudioMixing(const char *filePath, bool loopback, int cycle)=0
agora::rtc::IRtcEngine::adjustLoopbackSignalVolume
virtual int adjustLoopbackSignalVolume(int volume)=0
agora::rtc::VIDEO_ORIENTATION
VIDEO_ORIENTATION
Definition: AgoraBase.h:914
agora::rtc::IRtcEngine::takeSnapshot
virtual int takeSnapshot(uid_t uid, const char *filePath)=0
save current time video frame to jpeg and write as a jpeg
agora::rtc::AUDIO_EQUALIZATION_BAND_125
@ AUDIO_EQUALIZATION_BAND_125
Definition: IAgoraRtcEngine.h:164
agora::rtc::ScreenCaptureConfiguration::regionRect
Rectangle regionRect
Definition: IAgoraRtcEngine.h:667
agora::rtc::VideoCompositingLayout::canvasWidth
int canvasWidth
Definition: IAgoraRtcEngine.h:450
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_3
@ VIDEO_PROFILE_LANDSCAPE_360P_3
Definition: IAgoraRtcEngine.h:7483
agora::rtc::LeaveChannelOptions::stopMicrophoneRecording
bool stopMicrophoneRecording
Definition: IAgoraRtcEngine.h:1158
agora::rtc::PublisherConfiguration::rawStreamUrl
const char * rawStreamUrl
Definition: IAgoraRtcEngine.h:591
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_8
@ VIDEO_PROFILE_LANDSCAPE_360P_8
Definition: IAgoraRtcEngine.h:7491
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_9
@ VIDEO_PROFILE_LANDSCAPE_480P_9
Definition: IAgoraRtcEngine.h:7509
agora::rtc::ScreenCaptureSourceInfo::thumbImage
ThumbImageBuffer thumbImage
Definition: IAgoraRtcEngine.h:709
agora::rtc::IRtcEngineEventHandler::onRemoteVideoStats
virtual void onRemoteVideoStats(const RemoteVideoStats &stats)
Definition: IAgoraRtcEngine.h:1758
agora::rtc::AUDIO_MIXING_STATE_PAUSED
@ AUDIO_MIXING_STATE_PAUSED
Definition: IAgoraRtcEngine.h:70
agora::rtc::IRtcEngine::setAudioEffectParameters
virtual int setAudioEffectParameters(AUDIO_EFFECT_PRESET preset, int param1, int param2)=0
agora::rtc::IRtcEngine::setColorEnhanceOptions
virtual int setColorEnhanceOptions(bool enabled, const ColorEnhanceOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::commons::LOG_LEVEL
OPTIONAL_ENUM_CLASS LOG_LEVEL
Definition: IAgoraLog.h:35
agora::rtc::IRtcEngineEventHandler::onTokenPrivilegeWillExpire
virtual void onTokenPrivilegeWillExpire(const char *token)
Definition: IAgoraRtcEngine.h:1919
agora::rtc::LocalVideoStats::targetFrameRate
int targetFrameRate
Definition: IAgoraRtcEngine.h:301
agora::rtc::DirectCdnStreamingStats::audioBitrate
int audioBitrate
Definition: IAgoraRtcEngine.h:2786
agora::rtc::IRtcEngine::setRemoteSubscribeFallbackOption
virtual int setRemoteSubscribeFallbackOption(STREAM_FALLBACK_OPTIONS option)=0
agora::rtc::RtcEngineContext::channelProfile
CHANNEL_PROFILE_TYPE channelProfile
Definition: IAgoraRtcEngine.h:2595
agora::rtc::IRtcEngineEventHandler::onRemoteSubscribeFallbackToAudioOnly
virtual void onRemoteSubscribeFallbackToAudioOnly(uid_t uid, bool isFallbackOrRecover)
Definition: IAgoraRtcEngine.h:2190
agora::rtc::IRtcEngineEventHandler::onContentInspectResult
virtual void onContentInspectResult(media::CONTENT_INSPECT_RESULT result)
Definition: IAgoraRtcEngine.h:2007
agora::rtc::IRtcEngine::getAudioDeviceInfo
virtual int getAudioDeviceInfo(DeviceInfo &deviceInfo)=0
agora::rtc::IRtcEngineEventHandler::onAudioDeviceStateChanged
virtual void onAudioDeviceStateChanged(const char *deviceId, int deviceType, int deviceState)
Definition: IAgoraRtcEngine.h:1348
agora::rtc::IAudioEncodedFrameObserver
Definition: AgoraBase.h:4583
agora::rtc::RTMP_STREAM_PUBLISH_ERROR_TYPE
RTMP_STREAM_PUBLISH_ERROR_TYPE
Definition: AgoraBase.h:3076
agora::rtc::ChannelMediaOptions::token
Optional< const char * > token
Definition: IAgoraRtcEngine.h:910
agora::rtc::AUDIO_EQUALIZATION_BAND_16K
@ AUDIO_EQUALIZATION_BAND_16K
Definition: IAgoraRtcEngine.h:192
agora::rtc::IRtcEngineEventHandler::onAudioQuality
virtual void onAudioQuality(uid_t uid, int quality, unsigned short delay, unsigned short lost)
Definition: IAgoraRtcEngine.h:1252
agora::rtc::LeaveChannelOptions
Definition: IAgoraRtcEngine.h:1140
agora::rtc::IRtcEngineEventHandler::onRemoteAudioStats
virtual void onRemoteAudioStats(const RemoteAudioStats &stats)
Definition: IAgoraRtcEngine.h:1726
agora::rtc::IRtcEngine::stopSecondaryScreenCapture
virtual int stopSecondaryScreenCapture()=0
agora::rtc::IRtcEngine::startSecondaryCameraCapture
virtual int startSecondaryCameraCapture(const CameraCapturerConfiguration &config)=0
agora::rtc::IRtcEngine::setEffectsVolume
virtual int setEffectsVolume(int volume)=0
agora::rtc::IRtcEngine::playAllEffects
virtual int playAllEffects(int loopCount, double pitch, double pan, int gain, bool publish=false)=0
agora::rtc::DirectCdnStreamingStats::fps
int fps
Definition: IAgoraRtcEngine.h:2776
agora::rtc::IDirectCdnStreamingEventHandler::~IDirectCdnStreamingEventHandler
virtual ~IDirectCdnStreamingEventHandler()
Definition: IAgoraRtcEngine.h:2795
agora::rtc::AUDIO_RECORDING_QUALITY_TYPE
AUDIO_RECORDING_QUALITY_TYPE
Definition: AgoraBase.h:4439
agora::rtc::ScreenCaptureSourceInfo::isOccluded
bool isOccluded
Definition: IAgoraRtcEngine.h:715
agora::rtc::IRtcEngine::stopLastmileProbeTest
virtual int stopLastmileProbeTest()=0
agora::rtc::ChannelMediaRelayConfiguration
Definition: AgoraBase.h:4811
agora::rtc::IRtcEngine::queryInterface
virtual int queryInterface(INTERFACE_ID_TYPE iid, void **inter)=0
agora::rtc::IVideoDeviceCollection
Definition: IAgoraRtcEngine.h:2430
agora::rtc::IRtcEngineEventHandler::onRtmpStreamingStateChanged
virtual void onRtmpStreamingStateChanged(const char *url, RTMP_STREAM_PUBLISH_STATE state, RTMP_STREAM_PUBLISH_ERROR_TYPE errCode)
Definition: IAgoraRtcEngine.h:2075
agora::rtc::IRtcEngine::renewToken
virtual int renewToken(const char *token)=0
agora::rtc::IRtcEngine::pauseAudio
virtual int pauseAudio() __deprecated=0
agora::rtc::IRtcEngine::sendStreamMessage
virtual int sendStreamMessage(int streamId, const char *data, size_t length)=0
agora::rtc::LocalVideoStats::txPacketLossRate
unsigned short txPacketLossRate
Definition: IAgoraRtcEngine.h:321
agora::rtc::VOICE_CONVERSION_PRESET
VOICE_CONVERSION_PRESET
Definition: AgoraBase.h:4348
agora::rtc::IRtcEngineEventHandler::onLocalVideoStats
virtual void onLocalVideoStats(VIDEO_SOURCE_TYPE source, const LocalVideoStats &stats)
Definition: IAgoraRtcEngine.h:1744
agora::rtc::ChannelMediaOptions::publishCustomAudioTrack
Optional< bool > publishCustomAudioTrack
Definition: IAgoraRtcEngine.h:803
agora::rtc::RemoteVideoStats::avSyncTimeMs
int avSyncTimeMs
Definition: IAgoraRtcEngine.h:389
agora::rtc::IRtcEngine::isCameraAutoExposureFaceModeSupported
virtual bool isCameraAutoExposureFaceModeSupported()=0
agora::rtc::IRtcEngine::enableFaceDetection
virtual int enableFaceDetection(bool enabled)=0
agora::rtc::IRtcEngine::removeInjectStreamUrl
virtual int removeInjectStreamUrl(const char *url)=0
agora::rtc::VideoDenoiserOptions
Definition: AgoraBase.h:3939
agora::rtc::IRtcEngine::unregisterEventHandler
virtual bool unregisterEventHandler(IRtcEngineEventHandler *eventHandler)=0
agora::rtc::VIDEO_RENDER_DEVICE
@ VIDEO_RENDER_DEVICE
Definition: IAgoraRtcEngine.h:52
agora::rtc::IRtcEngineEventHandler::onStreamMessage
virtual void onStreamMessage(uid_t userId, int streamId, const char *data, size_t length, uint64_t sentTs)
Definition: IAgoraRtcEngine.h:1863
agora::rtc::RemoteVideoStats::decoderOutputFrameRate
int decoderOutputFrameRate
Definition: IAgoraRtcEngine.h:361
agora::rtc::RtcEngineContext::context
void * context
Definition: IAgoraRtcEngine.h:2590
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P
@ VIDEO_PROFILE_PORTRAIT_360P
Definition: IAgoraRtcEngine.h:7551
agora::rtc::UNKNOWN_AUDIO_DEVICE
@ UNKNOWN_AUDIO_DEVICE
Definition: IAgoraRtcEngine.h:40
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P_4
@ VIDEO_PROFILE_PORTRAIT_240P_4
Definition: IAgoraRtcEngine.h:7549
agora::rtc::ChannelMediaOptions::publishCameraTrack
Optional< bool > publishCameraTrack
Definition: IAgoraRtcEngine.h:756
agora::rtc::DIRECT_CDN_STREAMING_ERROR_FAILED
@ DIRECT_CDN_STREAMING_ERROR_FAILED
Definition: IAgoraRtcEngine.h:2733
agora::rtc::IRtcEngineEventHandler::onFirstLocalVideoFrame
virtual void onFirstLocalVideoFrame(VIDEO_SOURCE_TYPE source, int width, int height, int elapsed)
Definition: IAgoraRtcEngine.h:1461
agora::rtc::AUDIO_SCENARIO_DEFAULT
@ AUDIO_SCENARIO_DEFAULT
Definition: AgoraBase.h:2331
agora::rtc::ChannelMediaOptions::clientRoleType
Optional< CLIENT_ROLE_TYPE > clientRoleType
Definition: IAgoraRtcEngine.h:884
agora::rtc::AUDIO_MIXING_REASON_STOPPED_BY_USER
@ AUDIO_MIXING_REASON_STOPPED_BY_USER
Definition: IAgoraRtcEngine.h:94
agora::rtc::AUDIO_REVERB_WET_LEVEL
@ AUDIO_REVERB_WET_LEVEL
Definition: IAgoraRtcEngine.h:206
agora::rtc::ScreenCaptureParameters2
Definition: AgoraBase.h:5258
agora::rtc::IRtcEngineEventHandler::onJoinChannelSuccess
virtual void onJoinChannelSuccess(const char *channel, uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1189
agora::rtc::IRtcEngine::startLocalVideoTranscoder
virtual int startLocalVideoTranscoder(const LocalTranscoderConfiguration &config)=0
agora::rtc::ThumbImageBuffer::width
unsigned int width
Definition: IAgoraRtcEngine.h:692
agora::rtc::DirectCdnStreamingMediaOptions::publishMediaPlayerId
Optional< int > publishMediaPlayerId
Definition: IAgoraRtcEngine.h:2852
agora::rtc::ChannelMediaOptions::channelProfile
Optional< CHANNEL_PROFILE_TYPE > channelProfile
Definition: IAgoraRtcEngine.h:896
agora::rtc::AUDIO_REVERB_ROOM_SIZE
@ AUDIO_REVERB_ROOM_SIZE
Definition: IAgoraRtcEngine.h:210
agora::rtc::IRtcEngine::setEncryptionMode
virtual int setEncryptionMode(const char *encryptionMode) __deprecated=0
agora::rtc::VideoCompositingLayout::Region::zOrder
int zOrder
Definition: IAgoraRtcEngine.h:425
agora::rtc::LocalVideoStats::captureFrameRate
int captureFrameRate
Definition: IAgoraRtcEngine.h:264
agora::rtc::IRtcEngine::startPrimaryCustomAudioTrack
virtual int startPrimaryCustomAudioTrack(const AudioTrackConfig &config)=0
agora::rtc::VirtualBackgroundSource
Definition: AgoraBase.h:4003
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_4
@ VIDEO_PROFILE_PORTRAIT_480P_4
Definition: IAgoraRtcEngine.h:7573
agora::rtc::ChannelMediaOptions::operator=
ChannelMediaOptions & operator=(const ChannelMediaOptions &replace)
Definition: IAgoraRtcEngine.h:1039
agora::rtc::IRtcEngine::startScreenCaptureByDisplayId
virtual int startScreenCaptureByDisplayId(uint32_t displayId, const Rectangle &regionRect, const ScreenCaptureParameters &captureParams)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_3
@ VIDEO_PROFILE_PORTRAIT_720P_3
Definition: IAgoraRtcEngine.h:7585
agora::rtc::IRtcEngine::muteRemoteVideoStream
virtual int muteRemoteVideoStream(uid_t uid, bool mute)=0
agora::rtc::ChannelMediaOptions::publishScreenCaptureAudio
Optional< bool > publishScreenCaptureAudio
Definition: IAgoraRtcEngine.h:782
agora::rtc::IRtcEngine::isCameraFocusSupported
virtual bool isCameraFocusSupported()=0
agora::rtc::IRtcEngine::setLowlightEnhanceOptions
virtual int setLowlightEnhanceOptions(bool enabled, const LowlightEnhanceOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::IVideoDeviceManager
Definition: IAgoraRtcEngine.h:2474
agora::rtc::IScreenCaptureSourceList::getCount
virtual unsigned int getCount()=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P
@ VIDEO_PROFILE_LANDSCAPE_180P
Definition: IAgoraRtcEngine.h:7469
agora::rtc::CONNECTION_CHANGED_REASON_TYPE
CONNECTION_CHANGED_REASON_TYPE
Definition: AgoraBase.h:3602
agora::rtc::RemoteVideoStats::frozenRate
int frozenRate
Definition: IAgoraRtcEngine.h:384
agora::rtc::IRtcEngine::startSecondaryScreenCapture
virtual int startSecondaryScreenCapture(const ScreenCaptureConfiguration &config)=0
agora::rtc::IRtcEngine::enableLocalAudio
virtual int enableLocalAudio(bool enabled)=0
agora::rtc::IRtcEngine::setupLocalVideo
virtual int setupLocalVideo(const VideoCanvas &canvas)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_500
@ AUDIO_EQUALIZATION_BAND_500
Definition: IAgoraRtcEngine.h:172
agora::rtc::VideoCompositingLayout::appDataLength
int appDataLength
Definition: IAgoraRtcEngine.h:471
agora::rtc::IRtcEngine::setLocalVoiceReverb
virtual int setLocalVoiceReverb(AUDIO_REVERB_TYPE reverbKey, int value)=0
agora::rtc::IRtcEngine::stopEffect
virtual int stopEffect(int soundId)=0
agora::rtc::VideoCompositingLayout::Region::alpha
double alpha
Definition: IAgoraRtcEngine.h:430
agora::rtc::IRtcEngine::release
virtual void release(bool sync=false)=0
agora::rtc::DirectCdnStreamingMediaOptions::operator=
DirectCdnStreamingMediaOptions & operator=(const DirectCdnStreamingMediaOptions &replace)
Definition: IAgoraRtcEngine.h:2895
agora::rtc::DirectCdnStreamingMediaOptions::publishCustomVideoTrack
Optional< bool > publishCustomVideoTrack
Definition: IAgoraRtcEngine.h:2841
agora::rtc::ScreenCaptureConfiguration::isCaptureWindow
bool isCaptureWindow
Definition: IAgoraRtcEngine.h:662
agora::rtc::LocalVideoStats::encodedFrameHeight
int encodedFrameHeight
Definition: IAgoraRtcEngine.h:291
agora::rtc::AGORA_IID_VIDEO_DEVICE_MANAGER
@ AGORA_IID_VIDEO_DEVICE_MANAGER
Definition: AgoraBase.h:836
agora::rtc::AdvancedAudioOptions::audioProcessingChannels
Optional< int > audioProcessingChannels
Definition: IAgoraRtcEngine.h:735
agora::rtc::IRtcEngine::stopScreenCapture
virtual int stopScreenCapture()=0
agora::rtc::ImageTrackOptions::imageUrl
const char * imageUrl
Definition: IAgoraRtcEngine.h:742
agora::rtc::IRtcEngineEventHandler::onLocalAudioStateChanged
virtual void onLocalAudioStateChanged(LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR error)
Definition: IAgoraRtcEngine.h:1969
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P_3
@ VIDEO_PROFILE_PORTRAIT_1080P_3
Definition: IAgoraRtcEngine.h:7593
agora::rtc::RemoteVideoStats::superResolutionType
int superResolutionType
Definition: IAgoraRtcEngine.h:402
agora::rtc::DirectCdnStreamingMediaOptions::DirectCdnStreamingMediaOptions
DirectCdnStreamingMediaOptions()
Definition: IAgoraRtcEngine.h:2859
agora::rtc::IRtcEngine::getUserInfoByUserAccount
virtual int getUserInfoByUserAccount(const char *userAccount, rtc::UserInfo *userInfo)=0
agora::rtc::IRtcEngine::setDefaultMuteAllRemoteAudioStreams
virtual int setDefaultMuteAllRemoteAudioStreams(bool mute) __deprecated=0
agora::rtc::IRtcEngine::updateChannelMediaRelay
virtual int updateChannelMediaRelay(const ChannelMediaRelayConfiguration &configuration)=0
agora::rtc::IRtcEngine::setLogFile
virtual int setLogFile(const char *filePath)=0
agora::rtc::IRtcEngine::enableVirtualBackground
virtual int enableVirtualBackground(bool enabled, VirtualBackgroundSource backgroundSource, SegmentationProperty segproperty, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::IVideoDeviceCollection::setDevice
virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngine::setCameraCapturerConfiguration
virtual int setCameraCapturerConfiguration(const CameraCapturerConfiguration &config)=0
agora::rtc::VideoCompositingLayout::Region::renderMode
media::base::RENDER_MODE_TYPE renderMode
Definition: IAgoraRtcEngine.h:433
agora::rtc::IRtcEngine::setCameraZoomFactor
virtual int setCameraZoomFactor(float factor)=0
agora::rtc::IMetadataObserver::INVALID_METADATA_SIZE_IN_BYTE
@ INVALID_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:2666
agora::rtc::RemoteVideoStats::__deprecated
int delay __deprecated
Definition: IAgoraRtcEngine.h:346
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P_3
@ VIDEO_PROFILE_LANDSCAPE_1080P_3
Definition: IAgoraRtcEngine.h:7523
agora::rtc::AdvancedAudioOptions::AdvancedAudioOptions
AdvancedAudioOptions()
Definition: IAgoraRtcEngine.h:737
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_3
@ VIDEO_PROFILE_LANDSCAPE_720P_3
Definition: IAgoraRtcEngine.h:7515
agora::rtc::PublisherConfiguration::width
int width
Definition: IAgoraRtcEngine.h:548
agora::rtc::VideoCompositingLayout::Region::width
double width
Definition: IAgoraRtcEngine.h:419
agora::rtc::IRtcEngine::setDefaultAudioRouteToSpeakerphone
virtual int setDefaultAudioRouteToSpeakerphone(bool defaultToSpeaker)=0
agora::rtc::ScreenCaptureSourceInfo
Definition: IAgoraRtcEngine.h:704
agora::rtc::IRtcEngine::getEffectsVolume
virtual int getEffectsVolume()=0
agora::rtc::IRtcEngineEventHandler::onEncryptionError
virtual void onEncryptionError(ENCRYPTION_ERROR_TYPE errorType)
Definition: IAgoraRtcEngine.h:2282
agora::rtc::REMOTE_AUDIO_STATE_REASON
REMOTE_AUDIO_STATE_REASON
Definition: AgoraBase.h:2619
agora::rtc::DIRECT_CDN_STREAMING_ERROR_NET_CONNECT
@ DIRECT_CDN_STREAMING_ERROR_NET_CONNECT
Definition: IAgoraRtcEngine.h:2739
agora::rtc::LOCAL_VIDEO_STREAM_ERROR
LOCAL_VIDEO_STREAM_ERROR
Definition: AgoraBase.h:2545
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P_6
@ VIDEO_PROFILE_LANDSCAPE_720P_6
Definition: IAgoraRtcEngine.h:7519
agora::rtc::IRtcEngine::startPrimaryScreenCapture
virtual int startPrimaryScreenCapture(const ScreenCaptureConfiguration &config)=0
agora::rtc::IRtcEngine::getEffectDuration
virtual int getEffectDuration(const char *filePath)=0
agora::rtc::RTMP_STREAM_PUBLISH_STATE
RTMP_STREAM_PUBLISH_STATE
Definition: AgoraBase.h:3049
agora::rtc::STREAM_SUBSCRIBE_STATE
STREAM_SUBSCRIBE_STATE
Definition: AgoraBase.h:5082
agora::commons::LogConfig
Definition: IAgoraLog.h:84
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_7
@ VIDEO_PROFILE_PORTRAIT_360P_7
Definition: IAgoraRtcEngine.h:7559
agora::rtc::IRtcEngineEventHandler::onLocalVideoStateChanged
virtual void onLocalVideoStateChanged(VIDEO_SOURCE_TYPE source, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR error)
Definition: IAgoraRtcEngine.h:1525
agora::rtc::IRtcEngine::setPlaybackAudioFrameParameters
virtual int setPlaybackAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::IRtcEngine::setLogFileSize
virtual int setLogFileSize(unsigned int fileSizeInKBytes)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P
@ VIDEO_PROFILE_PORTRAIT_720P
Definition: IAgoraRtcEngine.h:7583
agora::rtc::LeaveChannelOptions::stopAllEffect
bool stopAllEffect
Definition: IAgoraRtcEngine.h:1152
agora::rtc::ChannelMediaOptions::defaultVideoStreamType
Optional< VIDEO_STREAM_TYPE > defaultVideoStreamType
Definition: IAgoraRtcEngine.h:892
agora::rtc::VIDEO_PROFILE_LANDSCAPE_120P_3
@ VIDEO_PROFILE_LANDSCAPE_120P_3
Definition: IAgoraRtcEngine.h:7467
createAgoraRtcEngine
AGORA_API agora::rtc::IRtcEngine *AGORA_CALL createAgoraRtcEngine()
agora::rtc::VIDEO_PROFILE_DEFAULT
@ VIDEO_PROFILE_DEFAULT
Definition: IAgoraRtcEngine.h:7605
agora::rtc::IRtcEngine::setBeautyEffectOptions
virtual int setBeautyEffectOptions(bool enabled, const BeautyOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::VIDEO_SOURCE_TYPE
VIDEO_SOURCE_TYPE
Definition: AgoraBase.h:2060
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_9
@ VIDEO_PROFILE_PORTRAIT_360P_9
Definition: IAgoraRtcEngine.h:7563
agora::rtc::LocalVideoStats
Definition: IAgoraRtcEngine.h:249
agora::rtc::IMetadataObserver::onMetadataReceived
virtual void onMetadataReceived(const Metadata &metadata)=0
agora::rtc::IRtcEngine::startAudioFrameDump
virtual int startAudioFrameDump(const char *channel_id, uid_t user_id, const char *location, const char *uuid, const char *passwd, long duration_ms, bool auto_upload)=0
agora::rtc::IRtcEngine::resumeAllChannelMediaRelay
virtual int resumeAllChannelMediaRelay()=0
agora::rtc::IRtcEngineEventHandler::onUserStateChanged
virtual void onUserStateChanged(uid_t uid, uint32_t state)
Definition: IAgoraRtcEngine.h:1672
agora::rtc::QUALITY_REPORT_FORMAT_TYPE
QUALITY_REPORT_FORMAT_TYPE
Definition: IAgoraRtcEngine.h:7435
agora::rtc::ChannelMediaOptions::publishMediaPlayerId
Optional< int > publishMediaPlayerId
Definition: IAgoraRtcEngine.h:880
agora::rtc::IDirectCdnStreamingEventHandler
Definition: IAgoraRtcEngine.h:2793
agora::media::base::RENDER_MODE_TYPE
RENDER_MODE_TYPE
Definition: AgoraMediaBase.h:466
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:2340
agora::rtc::DIRECT_CDN_STREAMING_STATE_RUNNING
@ DIRECT_CDN_STREAMING_STATE_RUNNING
Definition: IAgoraRtcEngine.h:2750
agora::rtc::DIRECT_CDN_STREAMING_ERROR
DIRECT_CDN_STREAMING_ERROR
Definition: IAgoraRtcEngine.h:2729
agora::rtc::IRtcEngine::startSecondaryCustomAudioTrack
virtual int startSecondaryCustomAudioTrack(const AudioTrackConfig &config)=0
agora::rtc::ImageTrackOptions::ImageTrackOptions
ImageTrackOptions()
Definition: IAgoraRtcEngine.h:744
agora::rtc::EncryptionConfig
Definition: AgoraBase.h:5001
agora::rtc::IRtcEngine::enableEchoCancellationExternal
virtual int enableEchoCancellationExternal(bool enabled, int audioSourceDelay)=0
agora::rtc::IRtcEngineEventHandler::onWlAccStats
virtual void onWlAccStats(WlAccStats currentStats, WlAccStats averageStats)
Definition: IAgoraRtcEngine.h:2265
agora::rtc::IRtcEngine::destroyMediaPlayer
virtual int destroyMediaPlayer(agora_refptr< IMediaPlayer > media_player)=0
agora::rtc::IRtcEngineParameter
Definition: IAgoraRtcEngine.h:7257
agora::rtc::INJECT_STREAM_STATUS_BROKEN
@ INJECT_STREAM_STATUS_BROKEN
Definition: IAgoraRtcEngine.h:146
agora::rtc::UDP_PROXY
@ UDP_PROXY
Definition: IAgoraRtcEngine.h:634
agora::rtc::IRtcEngineEventHandler::onClientRoleChanged
virtual void onClientRoleChanged(CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole)
Definition: IAgoraRtcEngine.h:2034
agora::rtc::AUDIO_MIXING_REASON_INTERRUPTED_EOF
@ AUDIO_MIXING_REASON_INTERRUPTED_EOF
Definition: IAgoraRtcEngine.h:88
agora::rtc::DIRECT_CDN_STREAMING_STATE
DIRECT_CDN_STREAMING_STATE
Definition: IAgoraRtcEngine.h:2746
agora::rtc::IRtcEngine::setAudioMixingPosition
virtual int setAudioMixingPosition(int pos)=0
agora::rtc::PRIORITY_NORMAL
@ PRIORITY_NORMAL
Definition: IAgoraRtcEngine.h:243
agora::rtc::ScreenCaptureConfiguration::displayId
uint32_t displayId
Definition: IAgoraRtcEngine.h:663
agora::rtc::VIDEO_PROFILE_PORTRAIT_720P_5
@ VIDEO_PROFILE_PORTRAIT_720P_5
Definition: IAgoraRtcEngine.h:7587
agora::rtc::ChannelMediaOptions::enableAudioRecordingOrPlayout
Optional< bool > enableAudioRecordingOrPlayout
Definition: IAgoraRtcEngine.h:875
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:2389
agora::rtc::RemoteVideoStats::receivedBitrate
int receivedBitrate
Definition: IAgoraRtcEngine.h:358
agora::rtc::IRtcEngine::updateScreenCaptureRegion
virtual int updateScreenCaptureRegion(const Rectangle &regionRect)=0
agora::rtc::IMetadataObserver::MAX_METADATA_SIZE_TYPE
MAX_METADATA_SIZE_TYPE
Definition: IAgoraRtcEngine.h:2665
agora::rtc::IRtcEngine::enableVideoImageSource
virtual int enableVideoImageSource(bool enable, const ImageTrackOptions &options)=0
enable or disable video image source to replace the current video source published or resume it
agora::rtc::IRtcEngineEventHandler::onFirstRemoteVideoFrame
virtual void onFirstRemoteVideoFrame(uid_t userId, int width, int height, int elapsed)
Definition: IAgoraRtcEngine.h:1563
agora::rtc::QUALITY_REPORT_HTML
@ QUALITY_REPORT_HTML
Definition: IAgoraRtcEngine.h:7441
agora::rtc::LocalVideoStats::encoderOutputFrameRate
int encoderOutputFrameRate
Definition: IAgoraRtcEngine.h:285
agora::rtc::IRtcEngine::unregisterAudioSpectrumObserver
virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::PublisherConfiguration::PublisherConfiguration
PublisherConfiguration()
Definition: IAgoraRtcEngine.h:596
agora::rtc::IRtcEngine::setupRemoteVideo
virtual int setupRemoteVideo(const VideoCanvas &canvas)=0
agora::rtc::IRtcEngineEventHandler::onLastmileProbeResult
virtual void onLastmileProbeResult(const LastmileProbeResult &result)
Definition: IAgoraRtcEngine.h:1266
agora::rtc::IVideoDeviceManager::startDeviceTest
virtual int startDeviceTest(view_t hwnd)=0
agora::rtc::IRtcEngine::setLocalVideoMirrorMode
virtual int setLocalVideoMirrorMode(VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::AUDIO_MIXING_REASON_TYPE
AUDIO_MIXING_REASON_TYPE
Definition: IAgoraRtcEngine.h:82
agora::rtc::CameraCapturerConfiguration::cameraDirection
CAMERA_DIRECTION cameraDirection
Definition: IAgoraRtcEngine.h:645
agora::rtc::RTMP_STREAM_LIFE_CYCLE_BIND2OWNER
@ RTMP_STREAM_LIFE_CYCLE_BIND2OWNER
Definition: IAgoraRtcEngine.h:539
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_10
@ VIDEO_PROFILE_PORTRAIT_480P_10
Definition: IAgoraRtcEngine.h:7581
agora::rtc::IRtcEngineEventHandler::onConnectionLost
virtual void onConnectionLost()
Definition: IAgoraRtcEngine.h:1831
agora::rtc::PublisherConfiguration::owner
bool owner
Definition: IAgoraRtcEngine.h:574
agora::rtc::IRtcEngine::setCameraExposurePosition
virtual int setCameraExposurePosition(float positionXinView, float positionYinView)=0
agora::rtc::IRtcEngine::setInEarMonitoringVolume
virtual int setInEarMonitoringVolume(int volume)=0
agora::rtc::ScreenCaptureSourceInfo::primaryMonitor
bool primaryMonitor
Definition: IAgoraRtcEngine.h:714
agora::rtc::IRtcEngine::setDefaultMuteAllRemoteVideoStreams
virtual int setDefaultMuteAllRemoteVideoStreams(bool mute) __deprecated=0
agora::rtc::IRtcEngine::enableSoundPositionIndication
virtual int enableSoundPositionIndication(bool enabled)=0
agora::rtc::VideoCompositingLayout::regions
const Region * regions
Definition: IAgoraRtcEngine.h:462
agora::rtc::ChannelMediaOptions::publishMediaPlayerVideoTrack
Optional< bool > publishMediaPlayerVideoTrack
Definition: IAgoraRtcEngine.h:849
agora::rtc::INJECT_STREAM_STATUS_STOP_SUCCESS
@ INJECT_STREAM_STATUS_STOP_SUCCESS
Definition: IAgoraRtcEngine.h:126
agora::rtc::VIDEO_PROFILE_PORTRAIT_1080P_5
@ VIDEO_PROFILE_PORTRAIT_1080P_5
Definition: IAgoraRtcEngine.h:7595
agora::rtc::IRtcEngine::stopPreview
virtual int stopPreview()=0
agora::rtc::MEDIA_DEVICE_STATE_NOT_PRESENT
@ MEDIA_DEVICE_STATE_NOT_PRESENT
Definition: IAgoraRtcEngine.h:7457
agora::rtc::MEDIA_DEVICE_STATE_ACTIVE
@ MEDIA_DEVICE_STATE_ACTIVE
Definition: IAgoraRtcEngine.h:7451
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_8
@ VIDEO_PROFILE_PORTRAIT_480P_8
Definition: IAgoraRtcEngine.h:7577
agora::rtc::IRtcEngine::destroyCustomEncodedVideoTrack
virtual int destroyCustomEncodedVideoTrack(video_track_id_t video_track_id)=0
agora::rtc::DirectCdnStreamingMediaOptions::customVideoTrackId
Optional< video_track_id_t > customVideoTrackId
Definition: IAgoraRtcEngine.h:2857
agora::rtc::IRtcEngine::muteRecordingSignal
virtual int muteRecordingSignal(bool mute)=0
agora::rtc::IRtcEngineEventHandler::onLocalUserRegistered
virtual void onLocalUserRegistered(uid_t uid, const char *userAccount)
Definition: IAgoraRtcEngine.h:2302
agora::rtc::LocalVideoStats::encodedFrameWidth
int encodedFrameWidth
Definition: IAgoraRtcEngine.h:288
agora::rtc::VIDEO_PROFILE_LANDSCAPE_180P_3
@ VIDEO_PROFILE_LANDSCAPE_180P_3
Definition: IAgoraRtcEngine.h:7471
agora::rtc::AUDIO_APPLICATION_PLAYOUT_DEVICE
@ AUDIO_APPLICATION_PLAYOUT_DEVICE
Definition: IAgoraRtcEngine.h:60
agora::rtc::USER_OFFLINE_REASON_TYPE
USER_OFFLINE_REASON_TYPE
Definition: AgoraBase.h:817
agora::rtc::INJECT_STREAM_STATUS_START_ALREADY_EXISTS
@ INJECT_STREAM_STATUS_START_ALREADY_EXISTS
Definition: IAgoraRtcEngine.h:110
agora::rtc::LowlightEnhanceOptions
Definition: AgoraBase.h:3898
agora::rtc::AdvancedAudioOptions::~AdvancedAudioOptions
~AdvancedAudioOptions()
Definition: IAgoraRtcEngine.h:738
agora::rtc::IRtcEngine::setVoiceBeautifierParameters
virtual int setVoiceBeautifierParameters(VOICE_BEAUTIFIER_PRESET preset, int param1, int param2)=0
agora::rtc::IRtcEngine::muteRemoteAudioStream
virtual int muteRemoteAudioStream(uid_t uid, bool mute)=0
agora::rtc::AUDIO_REVERB_DRY_LEVEL
@ AUDIO_REVERB_DRY_LEVEL
Definition: IAgoraRtcEngine.h:202
agora::rtc::IRtcEngine::setVideoDenoiserOptions
virtual int setVideoDenoiserOptions(bool enabled, const VideoDenoiserOptions &options, agora::media::MEDIA_SOURCE_TYPE type=agora::media::PRIMARY_CAMERA_SOURCE)=0
agora::rtc::IRtcEngineEventHandler::onSnapshotTaken
virtual void onSnapshotTaken(uid_t uid, const char *filePath, int width, int height, int errCode)
snapshot taken callback
Definition: IAgoraRtcEngine.h:2020
agora::rtc::ThumbImageBuffer::ThumbImageBuffer
ThumbImageBuffer()
Definition: IAgoraRtcEngine.h:694
agora::rtc::SIZE
Definition: IAgoraRtcEngine.h:675
agora::rtc::INJECT_STREAM_STATUS_STOP_NOT_FOUND
@ INJECT_STREAM_STATUS_STOP_NOT_FOUND
Definition: IAgoraRtcEngine.h:130
agora::rtc::IRtcEngine::destroyCustomVideoTrack
virtual int destroyCustomVideoTrack(video_track_id_t video_track_id)=0
agora::rtc::MEDIA_DEVICE_STATE_UNPLUGGED
@ MEDIA_DEVICE_STATE_UNPLUGGED
Definition: IAgoraRtcEngine.h:7460
agora::rtc::IRtcEngine::setVoiceConversionParameters
virtual int setVoiceConversionParameters(VOICE_CONVERSION_PRESET preset, int param1, int param2)=0
agora::rtc::IScreenCaptureSourceList::release
virtual void release()=0
agora::rtc::IRtcEngine::adjustAudioMixingVolume
virtual int adjustAudioMixingVolume(int volume)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_240P
@ VIDEO_PROFILE_PORTRAIT_240P
Definition: IAgoraRtcEngine.h:7545
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_9
@ VIDEO_PROFILE_LANDSCAPE_360P_9
Definition: IAgoraRtcEngine.h:7493
agora::rtc::WatermarkOptions
Definition: AgoraBase.h:1843
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1440P_2
@ VIDEO_PROFILE_LANDSCAPE_1440P_2
Definition: IAgoraRtcEngine.h:7529
agora::rtc::PERMISSION_TYPE
PERMISSION_TYPE
Definition: AgoraBase.h:5064
agora::rtc::VIDEO_PROFILE_PORTRAIT_480P_9
@ VIDEO_PROFILE_PORTRAIT_480P_9
Definition: IAgoraRtcEngine.h:7579
agora::rtc::DIRECT_CDN_STREAMING_STATE_FAILED
@ DIRECT_CDN_STREAMING_STATE_FAILED
Definition: IAgoraRtcEngine.h:2754
agora::rtc::IRtcEngineEventHandler::onAudioDeviceVolumeChanged
virtual void onAudioDeviceVolumeChanged(MEDIA_DEVICE_TYPE deviceType, int volume, bool muted)
Definition: IAgoraRtcEngine.h:2056
agora::rtc::IRtcEngine::leaveChannel
virtual int leaveChannel()=0
agora::rtc::IRtcEngine::setAudioScenario
virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario)=0
agora::rtc::IRtcEngine::setClientRole
virtual int setClientRole(CLIENT_ROLE_TYPE role)=0
agora::rtc::IRtcEngineEventHandler::onExtensionError
virtual void onExtensionError(const char *provider, const char *extension, int error, const char *message)
Definition: IAgoraRtcEngine.h:2414
agora::rtc::RemoteVideoStats::width
int width
Definition: IAgoraRtcEngine.h:350
agora::rtc::IRtcEngineEventHandler::onMediaDeviceChanged
virtual void onMediaDeviceChanged(int deviceType)
Definition: IAgoraRtcEngine.h:1387
agora::rtc::RtcEngineContext::audioScenario
AUDIO_SCENARIO_TYPE audioScenario
Definition: IAgoraRtcEngine.h:2604
agora::rtc::RemoteVideoStats::rendererOutputFrameRate
int rendererOutputFrameRate
Definition: IAgoraRtcEngine.h:364
agora::rtc::CameraCapturerConfiguration::CameraCapturerConfiguration
CameraCapturerConfiguration()
Definition: IAgoraRtcEngine.h:652
agora::rtc::IRtcEngine::setVoiceBeautifierPreset
virtual int setVoiceBeautifierPreset(VOICE_BEAUTIFIER_PRESET preset)=0
agora::rtc::IRtcEngine::rate
virtual int rate(const char *callId, int rating, const char *description)=0
agora::rtc::LocalVideoStats::targetBitrate
int targetBitrate
Definition: IAgoraRtcEngine.h:298
agora::rtc::ChannelMediaOptions::publishSecondaryScreenTrack
Optional< bool > publishSecondaryScreenTrack
Definition: IAgoraRtcEngine.h:795
agora::rtc::IRtcEngine::loadExtensionProvider
virtual int loadExtensionProvider(const char *path, bool unload_after_use=false)=0
agora::rtc::CAMERA_REAR
@ CAMERA_REAR
Definition: IAgoraRtcEngine.h:619
agora::rtc::IRtcEngine::isCameraFaceDetectSupported
virtual bool isCameraFaceDetectSupported()=0
agora::rtc::IRtcEngine::getCallId
virtual int getCallId(agora::util::AString &callId)=0
agora::rtc::VIDEO_CAPTURE_DEVICE
@ VIDEO_CAPTURE_DEVICE
Definition: IAgoraRtcEngine.h:56
agora::rtc::IRtcEngine::isCameraAutoFocusFaceModeSupported
virtual bool isCameraAutoFocusFaceModeSupported()=0
agora::rtc::PROXY_TYPE
PROXY_TYPE
Definition: IAgoraRtcEngine.h:1095
agora::rtc::IMetadataObserver::MAX_METADATA_SIZE_IN_BYTE
@ MAX_METADATA_SIZE_IN_BYTE
Definition: IAgoraRtcEngine.h:2668
agora::rtc::InjectStreamConfig
Definition: IAgoraRtcEngine.h:485
agora::rtc::IRtcEngine::uploadLogFile
virtual int uploadLogFile(agora::util::AString &requestId)=0
agora::rtc::IRtcEngineEventHandler::~IRtcEngineEventHandler
virtual ~IRtcEngineEventHandler()
Definition: IAgoraRtcEngine.h:1176
agora::rtc::CameraCapturerConfiguration::format
VideoFormat format
Definition: IAgoraRtcEngine.h:650
agora::rtc::LocalVideoStats::encodedFrameCount
int encodedFrameCount
Definition: IAgoraRtcEngine.h:312
agora::rtc::PublisherConfiguration::bitrate
int bitrate
Definition: IAgoraRtcEngine.h:560
agora::rtc::LocalVideoStats::regulatedCaptureFrameRate
int regulatedCaptureFrameRate
Definition: IAgoraRtcEngine.h:274
agora::rtc::IRtcEngine::enableWirelessAccelerate
virtual int enableWirelessAccelerate(bool enabled)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_120P
@ VIDEO_PROFILE_LANDSCAPE_120P
Definition: IAgoraRtcEngine.h:7465
agora::rtc::IRtcEngine::createCustomEncodedVideoTrack
virtual video_track_id_t createCustomEncodedVideoTrack(const SenderOptions &sender_option)=0
agora::rtc::AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
@ AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
Definition: IAgoraRtcEngine.h:86
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition: AgoraBase.h:1458
agora::rtc::DIRECT_CDN_STREAMING_STATE_IDLE
@ DIRECT_CDN_STREAMING_STATE_IDLE
Definition: IAgoraRtcEngine.h:2748
agora::rtc::RtcEngineContext
Definition: IAgoraRtcEngine.h:2573
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P_5
@ VIDEO_PROFILE_LANDSCAPE_1080P_5
Definition: IAgoraRtcEngine.h:7525
agora::rtc::IRtcEngine::unloadAllEffects
virtual int unloadAllEffects()=0
agora::rtc::RtcEngineContext::RtcEngineContext
RtcEngineContext()
Definition: IAgoraRtcEngine.h:2636
agora::rtc::ChannelMediaOptions
Definition: IAgoraRtcEngine.h:750
agora::rtc::IRtcEngine
Definition: IAgoraRtcEngine.h:2923
agora::rtc::AUDIO_MIXING_REASON_CAN_NOT_OPEN
@ AUDIO_MIXING_REASON_CAN_NOT_OPEN
Definition: IAgoraRtcEngine.h:84
agora::rtc::INJECT_STREAM_STATUS
INJECT_STREAM_STATUS
Definition: IAgoraRtcEngine.h:102
agora::rtc::IRtcEngine::enableLoopbackRecording
virtual int enableLoopbackRecording(bool enabled, const char *deviceName=NULL)=0
agora::rtc::IRtcEngineEventHandler::onActiveSpeaker
virtual void onActiveSpeaker(uid_t userId)
Definition: IAgoraRtcEngine.h:2005
agora::rtc::AUDIO_EQUALIZATION_BAND_FREQUENCY
AUDIO_EQUALIZATION_BAND_FREQUENCY
Definition: IAgoraRtcEngine.h:152
agora::rtc::ScreenCaptureConfiguration
Definition: IAgoraRtcEngine.h:661
agora::rtc::IRtcEngine::setAudioMixingDualMonoMode
virtual int setAudioMixingDualMonoMode(media::AUDIO_MIXING_DUAL_MONO_MODE mode)=0
agora::rtc::ChannelMediaOptions::autoSubscribeVideo
Optional< bool > autoSubscribeVideo
Definition: IAgoraRtcEngine.h:869
agora::rtc::VOICE_BEAUTIFIER_PRESET
VOICE_BEAUTIFIER_PRESET
Definition: AgoraBase.h:4094
agora::rtc::DirectCdnStreamingMediaOptions::~DirectCdnStreamingMediaOptions
~DirectCdnStreamingMediaOptions()
Definition: IAgoraRtcEngine.h:2860
agora::rtc::AudioRecordingConfiguration
Definition: AgoraBase.h:4497
agora::rtc::UPLOAD_ERROR_REASON
UPLOAD_ERROR_REASON
Definition: AgoraBase.h:5056
agora::rtc::IRtcEngine::getEffectCurrentPosition
virtual int getEffectCurrentPosition(int soundId)=0
agora::rtc::ChannelMediaOptions::publishMicrophoneTrack
Optional< bool > publishMicrophoneTrack
Definition: IAgoraRtcEngine.h:768
agora::rtc::IRtcEngine::resumeAudio
virtual int resumeAudio() __deprecated=0
agora::rtc::IRtcEngine::muteLocalAudioStream
virtual int muteLocalAudioStream(bool mute)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_3
@ VIDEO_PROFILE_LANDSCAPE_480P_3
Definition: IAgoraRtcEngine.h:7501
agora::rtc::IRtcEngine::joinChannelWithUserAccount
virtual int joinChannelWithUserAccount(const char *token, const char *channelId, const char *userAccount)=0
agora::rtc::IRtcEngine::setChannelProfile
virtual int setChannelProfile(CHANNEL_PROFILE_TYPE profile)=0
agora::rtc::SIZE::SIZE
SIZE()
Definition: IAgoraRtcEngine.h:683
agora::rtc::RemoteVideoStats::frameLossRate
int frameLossRate
Definition: IAgoraRtcEngine.h:367
agora::rtc::IRtcEngine::updateDirectCdnStreamingMediaOptions
virtual int updateDirectCdnStreamingMediaOptions(const DirectCdnStreamingMediaOptions &options)=0
agora::rtc::IRtcEngine::setLocalVoicePitch
virtual int setLocalVoicePitch(double pitch)=0
agora::rtc::RemoteVideoStats::height
int height
Definition: IAgoraRtcEngine.h:354
agora::rtc::LocalVideoStats::captureFrameWidth
int captureFrameWidth
Definition: IAgoraRtcEngine.h:267
agora::rtc::IRtcEngine::setScreenCaptureContentHint
virtual int setScreenCaptureContentHint(VIDEO_CONTENT_HINT contentHint)=0
agora::rtc::IRtcEngine::setAudioEffectPreset
virtual int setAudioEffectPreset(AUDIO_EFFECT_PRESET preset)=0
agora::rtc::IRtcEngineEventHandler::onExtensionEvent
virtual void onExtensionEvent(const char *provider, const char *extension, const char *key, const char *value)
Definition: IAgoraRtcEngine.h:2397
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P
@ VIDEO_PROFILE_LANDSCAPE_480P
Definition: IAgoraRtcEngine.h:7499
agora::rtc::AUDIO_SAMPLE_RATE_TYPE
AUDIO_SAMPLE_RATE_TYPE
Definition: AgoraBase.h:2951
agora::rtc::MEDIA_DEVICE_STATE_IDLE
@ MEDIA_DEVICE_STATE_IDLE
Definition: IAgoraRtcEngine.h:7448
agora::rtc::IRtcEngine::setSubscribeVideoBlacklist
virtual int setSubscribeVideoBlacklist(uid_t *uidList, int uidNumber)=0
agora::rtc::IRtcEngine::updateScreenCaptureParameters
virtual int updateScreenCaptureParameters(const ScreenCaptureParameters &captureParams)=0
agora::rtc::RtcEngineContext::useExternalEglContext
bool useExternalEglContext
Definition: IAgoraRtcEngine.h:2634
agora::rtc::IRtcEngine::preloadEffect
virtual int preloadEffect(int soundId, const char *filePath, int startPos=0)=0
agora::rtc::IRtcEngine::stopEchoTest
virtual int stopEchoTest()=0
agora::rtc::IRtcEngine::startAudioRecording
virtual int startAudioRecording(const char *filePath, AUDIO_RECORDING_QUALITY_TYPE quality)=0
agora::rtc::IRtcEngine::enableRemoteSuperResolution
virtual int enableRemoteSuperResolution(uid_t userId, bool enable)=0
agora::rtc::IRtcEngine::setLocalVoiceEqualization
virtual int setLocalVoiceEqualization(AUDIO_EQUALIZATION_BAND_FREQUENCY bandFrequency, int bandGain)=0
agora::rtc::LocalOnly
@ LocalOnly
Definition: IAgoraRtcEngine.h:1092
agora::rtc::DirectCdnStreamingMediaOptions::publishMediaPlayerAudioTrack
Optional< bool > publishMediaPlayerAudioTrack
Definition: IAgoraRtcEngine.h:2847
agora::util::CopyableAutoPtr
Definition: AgoraBase.h:164
agora::rtc::IRtcEngine::getCameraMaxZoomFactor
virtual float getCameraMaxZoomFactor()=0
agora::rtc::AudioTrackConfig
Definition: IAgoraRtcEngine.h:612
agora::rtc::AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
@ AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
Definition: IAgoraRtcEngine.h:92
agora::rtc::IRtcEngine::stopPrimaryCameraCapture
virtual int stopPrimaryCameraCapture()=0
agora::rtc::LocalAccessPointConfiguration::ipListSize
int ipListSize
Definition: IAgoraRtcEngine.h:1121
agora::rtc::VIDEO_PROFILE_LANDSCAPE_720P
@ VIDEO_PROFILE_LANDSCAPE_720P
Definition: IAgoraRtcEngine.h:7513
agora::rtc::InjectStreamConfig::audioSampleRate
AUDIO_SAMPLE_RATE_TYPE audioSampleRate
Definition: IAgoraRtcEngine.h:509
agora::rtc::IRtcEngineEventHandler::onConnectionInterrupted
virtual void onConnectionInterrupted()
Definition: IAgoraRtcEngine.h:1844
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_8
@ VIDEO_PROFILE_LANDSCAPE_480P_8
Definition: IAgoraRtcEngine.h:7507
agora::rtc::PublisherConfiguration::framerate
int framerate
Definition: IAgoraRtcEngine.h:556
agora::rtc::IRtcEngine::resumeEffect
virtual int resumeEffect(int soundId)=0
agora::rtc::PublisherConfiguration::injectStreamUrl
const char * injectStreamUrl
Definition: IAgoraRtcEngine.h:583
agora::rtc::ChannelMediaOptions::publishScreenTrack
Optional< bool > publishScreenTrack
Definition: IAgoraRtcEngine.h:789
agora::rtc::AUDIO_EQUALIZATION_BAND_2K
@ AUDIO_EQUALIZATION_BAND_2K
Definition: IAgoraRtcEngine.h:180
agora::rtc::IRtcEngineEventHandler::onAudioRoutingChanged
virtual void onAudioRoutingChanged(int routing)
Definition: IAgoraRtcEngine.h:2120
agora::rtc::IRtcEngine::playEffect
virtual int playEffect(int soundId, const char *filePath, int loopCount, double pitch, double pan, int gain, bool publish=false, int startPos=0)=0
agora::rtc::InjectStreamConfig::videoBitrate
int videoBitrate
Definition: IAgoraRtcEngine.h:505
agora::rtc::IScreenCaptureSourceList::getSourceInfo
virtual ScreenCaptureSourceInfo getSourceInfo(unsigned int index)=0
agora::rtc::VIDEO_PROFILE_LANDSCAPE_4K
@ VIDEO_PROFILE_LANDSCAPE_4K
Definition: IAgoraRtcEngine.h:7531
agora::rtc::LocalVideoStats::captureBrightnessLevel
CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel
Definition: IAgoraRtcEngine.h:324
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P
@ VIDEO_PROFILE_LANDSCAPE_240P
Definition: IAgoraRtcEngine.h:7475
agora::rtc::IRtcEngine::enableVideo
virtual int enableVideo()=0
agora::rtc::LOCAL_AUDIO_STREAM_STATE
LOCAL_AUDIO_STREAM_STATE
Definition: AgoraBase.h:2455
agora::rtc::VIDEO_PROFILE_PORTRAIT_4K
@ VIDEO_PROFILE_PORTRAIT_4K
Definition: IAgoraRtcEngine.h:7601
agora::rtc::IRtcEngine::setRemoteUserSpatialAudioParams
virtual int setRemoteUserSpatialAudioParams(uid_t uid, const agora::SpatialAudioParams &params)=0
agora::rtc::AUDIO_EQUALIZATION_BAND_1K
@ AUDIO_EQUALIZATION_BAND_1K
Definition: IAgoraRtcEngine.h:176
agora::rtc::IRtcEngine::enableDualStreamMode
virtual int enableDualStreamMode(bool enabled)=0
agora::rtc::INJECT_STREAM_STATUS_STOP_FAILED
@ INJECT_STREAM_STATUS_STOP_FAILED
Definition: IAgoraRtcEngine.h:142
agora::rtc::video_track_id_t
unsigned int video_track_id_t
Definition: AgoraMediaBase.h:32
agora::rtc::LocalAccessPointConfiguration::domainList
const char ** domainList
Definition: IAgoraRtcEngine.h:1124
agora::rtc::ScreenCaptureSourceType
ScreenCaptureSourceType
Definition: IAgoraRtcEngine.h:697
agora::rtc::IMetadataObserver::UNKNOWN_METADATA
@ UNKNOWN_METADATA
Definition: IAgoraRtcEngine.h:2656
agora::rtc::IRtcEngineEventHandler::onFirstLocalVideoFramePublished
virtual void onFirstLocalVideoFramePublished(VIDEO_SOURCE_TYPE source, int elapsed)
Definition: IAgoraRtcEngine.h:1473
agora::rtc::LOCAL_PROXY_TYPE
@ LOCAL_PROXY_TYPE
Definition: IAgoraRtcEngine.h:1108
agora::rtc::IRtcEngine::startEchoTest
virtual int startEchoTest()=0
agora::rtc::VIDEO_CONTENT_HINT
VIDEO_CONTENT_HINT
Definition: AgoraBase.h:2406
agora::rtc::IRtcEngine::updateChannelMediaOptions
virtual int updateChannelMediaOptions(const ChannelMediaOptions &options)=0
agora::rtc::IDirectCdnStreamingEventHandler::onDirectCdnStreamingStats
virtual void onDirectCdnStreamingStats(const DirectCdnStreamingStats &stats)
Definition: IAgoraRtcEngine.h:2809
agora::rtc::ChannelMediaOptions::audioDelayMs
Optional< int > audioDelayMs
Definition: IAgoraRtcEngine.h:901
agora::rtc::IRtcEngine::adjustCustomAudioPlayoutVolume
virtual int adjustCustomAudioPlayoutVolume(int32_t sourceId, int volume)=0
agora::rtc::IRtcEngine::initialize
virtual int initialize(const RtcEngineContext &context)=0
agora::rtc::CLIENT_ROLE_CHANGE_FAILED_REASON
CLIENT_ROLE_CHANGE_FAILED_REASON
Definition: AgoraBase.h:3693
agora::rtc::VIDEO_PROFILE_PORTRAIT_120P
@ VIDEO_PROFILE_PORTRAIT_120P
Definition: IAgoraRtcEngine.h:7535
agora::rtc::IRtcEngineEventHandler::onNetworkQuality
virtual void onNetworkQuality(uid_t uid, int txQuality, int rxQuality)
Definition: IAgoraRtcEngine.h:1400
agora::rtc::IRtcEngine::resumeAudioMixing
virtual int resumeAudioMixing()=0
agora::rtc::uid_t
unsigned int uid_t
Definition: AgoraMediaBase.h:29
agora::rtc::ImageTrackOptions
Definition: IAgoraRtcEngine.h:741
agora::rtc::INJECT_STREAM_STATUS_START_TIMEDOUT
@ INJECT_STREAM_STATUS_START_TIMEDOUT
Definition: IAgoraRtcEngine.h:118
agora::rtc::IRtcEngine::unloadEffect
virtual int unloadEffect(int soundId)=0
agora::rtc::VideoCompositingLayout::Region
Definition: IAgoraRtcEngine.h:406
agora::rtc::IRtcEngine::stopRhythmPlayer
virtual int stopRhythmPlayer()=0
agora::rtc::IRtcEngine::getAudioMixingPlayoutVolume
virtual int getAudioMixingPlayoutVolume()=0
agora::rtc::IRtcEngine::startLastmileProbeTest
virtual int startLastmileProbeTest(const LastmileProbeConfig &config)=0
agora::rtc::IRtcEngineEventHandler::onVideoSubscribeStateChanged
virtual void onVideoSubscribeStateChanged(const char *channel, uid_t uid, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2357
agora::rtc::IRtcEngine::getExtensionProperty
virtual int getExtensionProperty(const char *provider, const char *extension, const char *key, char *value, int buf_len, agora::media::MEDIA_SOURCE_TYPE type=agora::media::UNKNOWN_MEDIA_SOURCE)=0
agora::rtc::AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
@ AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
Definition: IAgoraRtcEngine.h:90
agora::rtc::IRtcEngine::adjustPlaybackSignalVolume
virtual int adjustPlaybackSignalVolume(int volume)=0
agora::rtc::IRtcEngineEventHandler::onRemoteVideoStateChanged
virtual void onRemoteVideoStateChanged(uid_t uid, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed)
Definition: IAgoraRtcEngine.h:1542
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2103
agora::rtc::IRtcEngine::setExtensionProviderProperty
virtual int setExtensionProviderProperty(const char *provider, const char *key, const char *value)=0
agora::rtc::INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
@ INJECT_STREAM_STATUS_STOP_UNAUTHORIZED
Definition: IAgoraRtcEngine.h:134
agora::rtc::PublisherConfiguration::injectStreamWidth
int injectStreamWidth
Definition: IAgoraRtcEngine.h:577
agora::rtc::ChannelMediaOptions::publishScreenCaptureVideo
Optional< bool > publishScreenCaptureVideo
Definition: IAgoraRtcEngine.h:776
agora::rtc::IRtcEngineEventHandler::onCameraReady
virtual void onCameraReady()
Definition: IAgoraRtcEngine.h:1762
agora::rtc::RemoteVideoStats::rxStreamType
VIDEO_STREAM_TYPE rxStreamType
Definition: IAgoraRtcEngine.h:374
agora::rtc::IRtcEngine::enableAudio
virtual int enableAudio()=0
agora::rtc::IVideoDeviceManager::stopDeviceTest
virtual int stopDeviceTest()=0
agora::rtc::IMetadataObserver::Metadata::uid
unsigned int uid
Definition: IAgoraRtcEngine.h:2679
agora::rtc::IRtcEngine::disableVideo
virtual int disableVideo()=0
agora::rtc::IRtcEngine::setSubscribeAudioWhitelist
virtual int setSubscribeAudioWhitelist(uid_t *uidList, int uidNumber)=0
agora::rtc::ChannelMediaOptions::~ChannelMediaOptions
~ChannelMediaOptions()
Definition: IAgoraRtcEngine.h:945
agora::rtc::ENCRYPTION_ERROR_TYPE
ENCRYPTION_ERROR_TYPE
Definition: AgoraBase.h:5049
agora::rtc::InjectStreamConfig::videoGop
int videoGop
Definition: IAgoraRtcEngine.h:497
agora::rtc::ChannelMediaOptions::isInteractiveAudience
Optional< bool > isInteractiveAudience
Definition: IAgoraRtcEngine.h:930
agora::SpatialAudioParams
Definition: AgoraBase.h:5328
agora::media::MEDIA_SOURCE_TYPE
MEDIA_SOURCE_TYPE
Definition: AgoraMediaBase.h:132
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_4
@ VIDEO_PROFILE_LANDSCAPE_360P_4
Definition: IAgoraRtcEngine.h:7485
agora::rtc::IRtcEngine::setLogFilter
virtual int setLogFilter(unsigned int filter)=0
agora::rtc::IRtcEngine::getLoopbackRecordingVolume
virtual int getLoopbackRecordingVolume()=0
agora::rtc::IRtcEngineEventHandler::onPermissionError
virtual void onPermissionError(PERMISSION_TYPE permissionType)
Definition: IAgoraRtcEngine.h:2290
agora::rtc::IRtcEngineEventHandler::onUploadLogResult
virtual void onUploadLogResult(const char *requestId, bool success, UPLOAD_ERROR_REASON reason)
Definition: IAgoraRtcEngine.h:2325
agora::rtc::IRtcEngine::addVideoWatermark
virtual int addVideoWatermark(const RtcImage &watermark)=0
agora::rtc::LeaveChannelOptions::LeaveChannelOptions
LeaveChannelOptions()
Definition: IAgoraRtcEngine.h:1160
agora::rtc::VIDEO_PROFILE_LANDSCAPE_360P_10
@ VIDEO_PROFILE_LANDSCAPE_360P_10
Definition: IAgoraRtcEngine.h:7495
agora::rtc::IRtcEngine::setLocalAccessPoint
virtual int setLocalAccessPoint(const LocalAccessPointConfiguration &config)=0
agora::media::CONTENT_INSPECT_RESULT
CONTENT_INSPECT_RESULT
Definition: AgoraMediaBase.h:193
agora::rtc::IRtcEngineEventHandler::onRemoteVideoTransportStats
virtual void onRemoteVideoTransportStats(uid_t uid, unsigned short delay, unsigned short lost, unsigned short rxKBitRate)
Definition: IAgoraRtcEngine.h:2229
agora::rtc::IRtcEngine::stopSecondaryCustomAudioTrack
virtual int stopSecondaryCustomAudioTrack()=0
agora::rtc::IRtcEngine::createCustomVideoTrack
virtual video_track_id_t createCustomVideoTrack()=0
agora::rtc::SetFrom
static void SetFrom(Optional< T > *s, const Optional< T > &o)
Definition: IAgoraRtcEngine.h:20
agora::rtc::IRtcEngine::disableAudio
virtual int disableAudio()=0
agora::rtc::IRtcEngine::muteAllRemoteAudioStreams
virtual int muteAllRemoteAudioStreams(bool mute)=0
agora::rtc::IRtcEngineEventHandler::onRtcStats
virtual void onRtcStats(const RtcStats &stats)
Definition: IAgoraRtcEngine.h:1337
agora::rtc::IRtcEngineEventHandler::onUserJoined
virtual void onUserJoined(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1588
agora::rtc::VIDEO_PROFILE_LANDSCAPE_240P_4
@ VIDEO_PROFILE_LANDSCAPE_240P_4
Definition: IAgoraRtcEngine.h:7479
agora::rtc::AAudioDeviceManager
Definition: IAgoraRtcEngine.h:7420
agora::rtc::STREAM_PUBLISH_STATE
STREAM_PUBLISH_STATE
Definition: AgoraBase.h:5092
agora::rtc::CONNECTION_STATE_TYPE
CONNECTION_STATE_TYPE
Definition: AgoraBase.h:3201
agora::rtc::IRtcEngine::sendCustomReportMessage
virtual int sendCustomReportMessage(const char *id, const char *category, const char *event, const char *label, int value)=0
agora::rtc::ScreenCaptureSourceInfo::ScreenCaptureSourceInfo
ScreenCaptureSourceInfo()
Definition: IAgoraRtcEngine.h:716
agora::rtc::RemoteVideoStats::packetLossRate
int packetLossRate
Definition: IAgoraRtcEngine.h:370
agora::rtc::DeviceInfo
Definition: AgoraBase.h:2884
agora::base::IEngineBase
Definition: AgoraBase.h:5294
agora::rtc::LocalVideoStats::rendererOutputFrameRate
int rendererOutputFrameRate
Definition: IAgoraRtcEngine.h:294
agora::rtc::ThumbImageBuffer::height
unsigned int height
Definition: IAgoraRtcEngine.h:693
agora::rtc::IRtcEngineEventHandler::onDownlinkNetworkInfoUpdated
virtual void onDownlinkNetworkInfoUpdated(const DownlinkNetworkInfo &info)
Definition: IAgoraRtcEngine.h:1433
agora::rtc::DirectCdnStreamingMediaOptions::publishCustomAudioTrack
Optional< bool > publishCustomAudioTrack
Definition: IAgoraRtcEngine.h:2835
agora::rtc::IRtcEngineEventHandler::onAudioMixingStateChanged
virtual void onAudioMixingStateChanged(AUDIO_MIXING_STATE_TYPE state, AUDIO_MIXING_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:1806
agora::rtc::AGORA_IID_AUDIO_DEVICE_MANAGER
@ AGORA_IID_AUDIO_DEVICE_MANAGER
Definition: AgoraBase.h:835
agora::rtc::IRtcEngineEventHandler::onFirstRemoteAudioFrame
virtual void onFirstRemoteAudioFrame(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1938
agora::rtc::IRtcEngine::setLocalRenderMode
virtual int setLocalRenderMode(media::base::RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode)=0
agora::rtc::IRtcEngine::setAudioProfile
virtual int setAudioProfile(AUDIO_PROFILE_TYPE profile, AUDIO_SCENARIO_TYPE scenario) __deprecated=0
agora::rtc::RtcEngineContext::areaCode
unsigned int areaCode
Definition: IAgoraRtcEngine.h:2615
agora::rtc::CameraCapturerConfiguration
Definition: IAgoraRtcEngine.h:642
agora::rtc::IMetadataObserver::VIDEO_METADATA
@ VIDEO_METADATA
Definition: IAgoraRtcEngine.h:2659
rtc
Definition: video_node_i.h:25
agora::rtc::IRtcEngine::selectAudioTrack
virtual int selectAudioTrack(int index)=0
agora::rtc::RemoteVideoStats
Definition: IAgoraRtcEngine.h:334
agora::rtc::PublisherConfiguration::injectStreamHeight
int injectStreamHeight
Definition: IAgoraRtcEngine.h:580
agora::Optional
Definition: AgoraOptional.h:52
agora::rtc::LocalAccessPointConfiguration::domainListSize
int domainListSize
Definition: IAgoraRtcEngine.h:1127
agora::rtc::IRtcEngine::joinChannel
virtual int joinChannel(const char *token, const char *channelId, const char *info, uid_t uid)=0
agora::rtc::IMetadataObserver::Metadata::size
unsigned int size
Definition: IAgoraRtcEngine.h:2682
agora::rtc::CAMERA_DIRECTION
CAMERA_DIRECTION
Definition: IAgoraRtcEngine.h:617
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_10
@ VIDEO_PROFILE_PORTRAIT_360P_10
Definition: IAgoraRtcEngine.h:7565
agora::rtc::ClientRoleOptions
Definition: AgoraBase.h:2137
agora::AUDIO_SESSION_OPERATION_RESTRICTION
AUDIO_SESSION_OPERATION_RESTRICTION
Definition: AgoraBase.h:757
agora::rtc::IRtcEngine::setRecordingAudioFrameParameters
virtual int setRecordingAudioFrameParameters(int sampleRate, int channel, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::VIDEO_PROFILE_PORTRAIT_180P_3
@ VIDEO_PROFILE_PORTRAIT_180P_3
Definition: IAgoraRtcEngine.h:7541
agora::rtc::ScreenCaptureConfiguration::screenRect
Rectangle screenRect
Definition: IAgoraRtcEngine.h:664
agora::rtc::LOCAL_AUDIO_STREAM_ERROR
LOCAL_AUDIO_STREAM_ERROR
Definition: AgoraBase.h:2477
agora::rtc::IScreenCaptureSourceList::~IScreenCaptureSourceList
virtual ~IScreenCaptureSourceList()
Definition: IAgoraRtcEngine.h:722
agora::rtc::VIDEO_PROFILE_LANDSCAPE_1080P
@ VIDEO_PROFILE_LANDSCAPE_1080P
Definition: IAgoraRtcEngine.h:7521
agora::rtc::IRtcEngineEventHandler::onUserEnableLocalVideo
virtual void onUserEnableLocalVideo(uid_t uid, bool enabled) __deprecated
Definition: IAgoraRtcEngine.h:1687
agora::rtc::IVideoDeviceManager::setDevice
virtual int setDevice(const char deviceIdUTF8[MAX_DEVICE_ID_LENGTH])=0
agora::rtc::IRtcEngineEventHandler::onChannelMediaRelayStateChanged
virtual void onChannelMediaRelayStateChanged(int state, int code)
Definition: IAgoraRtcEngine.h:2154
agora::rtc::IRtcEngine::complain
virtual int complain(const char *callId, const char *description)=0
agora::rtc::IRtcEngine::clearVideoWatermarks
virtual int clearVideoWatermarks()=0
agora::rtc::IRtcEngine::stopAudioRecording
virtual int stopAudioRecording()=0
agora::rtc::SIZE::height
int height
Definition: IAgoraRtcEngine.h:681
agora::rtc::IRtcEngineEventHandler::onAudioPublishStateChanged
virtual void onAudioPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)
Definition: IAgoraRtcEngine.h:2373
agora::rtc::IMetadataObserver::~IMetadataObserver
virtual ~IMetadataObserver()
Definition: IAgoraRtcEngine.h:2693
agora::rtc::IRtcEngineEventHandler::onFirstRemoteAudioDecoded
virtual void onFirstRemoteAudioDecoded(uid_t uid, int elapsed)
Definition: IAgoraRtcEngine.h:1950
agora::rtc::IRtcEngine::setScreenCaptureOrientation
virtual int setScreenCaptureOrientation(VIDEO_SOURCE_TYPE type, VIDEO_ORIENTATION orientation)=0
agora::rtc::VideoCanvas
Definition: AgoraBase.h:3821
agora::rtc::VideoCompositingLayout::Region::uid
uid_t uid
Definition: IAgoraRtcEngine.h:409
agora::rtc::VIDEO_PROFILE_PORTRAIT_360P_8
@ VIDEO_PROFILE_PORTRAIT_360P_8
Definition: IAgoraRtcEngine.h:7561
agora::rtc::PRIORITY_TYPE
PRIORITY_TYPE
Definition: IAgoraRtcEngine.h:237
agora::rtc::IRtcEngineEventHandler::onConnectionStateChanged
virtual void onConnectionStateChanged(CONNECTION_STATE_TYPE state, CONNECTION_CHANGED_REASON_TYPE reason)
Definition: IAgoraRtcEngine.h:2242
agora::rtc::VIDEO_PROFILE_LANDSCAPE_480P_6
@ VIDEO_PROFILE_LANDSCAPE_480P_6
Definition: IAgoraRtcEngine.h:7505
agora::rtc::PRIORITY_HIGH
@ PRIORITY_HIGH
Definition: IAgoraRtcEngine.h:240
agora::rtc::SegmentationProperty
Definition: AgoraBase.h:4058
agora::rtc::VideoCompositingLayout::Region::x
double x
Definition: IAgoraRtcEngine.h:412
agora::rtc::IRtcEngineEventHandler::onExtensionStarted
virtual void onExtensionStarted(const char *provider, const char *extension)
Definition: IAgoraRtcEngine.h:2404
agora::CHANNEL_PROFILE_LIVE_BROADCASTING
@ CHANNEL_PROFILE_LIVE_BROADCASTING
Definition: AgoraBase.h:287