ZegoLiveRoom
zego-api-defines.h
Go to the documentation of this file.
1//
2// zego-api-defines.h
3// zegoavkit
4//
5// Copyright © 2017年 Zego. All rights reserved.
6//
7
8#ifndef zego_api_defines_h
9#define zego_api_defines_h
10
11#define ZEGO_MAX_COMMON_LEN (512)
12#define ZEGO_MAX_URL_COUNT (10)
13#define ZEGO_MAX_EVENT_INFO_COUNT (10)
14#define ZEGO_MAX_MIX_INPUT_COUNT (12)
15#define ZEGO_MAX_MIX_OUTPUT_COUNT (6)
16#define ZEGO_MAX_IDENTITY_LEN (64)
17#define ZEGO_MAX_ROOMMESSAGE_LEN (10240)
18#define ZEGO_MAX_URL_LEN (1024)
19#define ZEGO_MAX_ROOMID_LEN (128)
20#define ZEGO_MAX_PATH_LEN (2048)
21
22#define ZEGO_MAX_USERID_LEN (64)
23#define ZEGO_MAX_USERNAME_LEN (256)
24#define ZEGO_MAX_EXTRA_INFO_LEN (1024)
25#define ZEGO_DEFAULT_LOG_SIZE (5242880) // 5 * 1024 * 1024 bytes, default size for single log file
26#define ZEGO_MIN_LOG_SIZE (1048576) // 1 * 1024 * 1024 bytes, min size for single log file
27#define ZEGO_MAX_LOG_SIZE (104857600) // 100 * 1024 * 1024 bytes, max size for single log file
28#define ZEGO_MIN_LOG_FILE_COUNT (3)
29#define ZEGO_MAX_LOG_FILE_COUNT (20)
30
31#define ZEGO_MAX_ROOM_EXTRA_INFO_KEY_LEN (128)
32#define ZEGO_MAX_ROOM_EXTRA_INFO_VALUE_LEN (4096)
33
34#undef _I64_
35#undef _64u_
36#undef _I64uw_
37#undef _i64uw_
38#if defined(_MSC_VER) || defined(__BORLANDC__)
39#define _I64_ "I64"
40#define _64u_ "%I64u"
41#define _I64uw_ L"%llu" L
42#define _i64uw_ L"%llu" L
43#else
44#define _I64_ "ll"
45#define _64u_ "%llu"
46#define _I64uw_ L"%llu" L
47#define _i64uw_ L"%llu" L
48#undef __int64
49#define __int64 long long
50#endif
51
52#ifdef WIN32
53
54#ifdef ZEGOAVKIT_EXPORTS
55#define ZEGOAVKIT_API __declspec(dllexport)
56#elif defined(ZEGOAVKIT_STATIC)
57#define ZEGOAVKIT_API // * nothing
58#else
59#define ZEGOAVKIT_API __declspec(dllimport)
60#endif
61
62#else
63
64#define ZEGOAVKIT_API __attribute__((visibility("default")))
65
66#endif
67
68#define ZEGO_DEPRECATED
69
70#include <stddef.h>
71
72namespace ZEGO {
73namespace AV {
78};
79
84};
85
91};
92
96 1,
101};
102
108};
109
114};
115
119 1, //当开启采集系统声卡声音时,传递此参数启用自动增益(仅支持win)
120};
121
125
127 szDeviceId[0] = '\0';
128 szDeviceName[0] = '\0';
129 }
130};
131
134 int width;
135 int fps;
136
138 height = 0;
139 width = 0;
140 fps = 0;
141 }
142};
143
148};
149
154};
155
160};
161
162struct ZegoUser {
165
167 szId[0] = '\0';
168 szName[0] = '\0';
169 }
170};
171
174 uiRtmpURLCount = 0;
175 uiHlsURLCount = 0;
176 uiFlvURLCount = 0;
177 szStreamID[0] = '\0';
178 szMixStreamID[0] = '\0';
179 for (int i = 0; i < ZEGO_MAX_URL_COUNT; i++) {
180 arrRtmpURLs[i] = NULL;
181 arrFlvRULs[i] = NULL;
182 arrHlsURLs[i] = NULL;
183 }
184 }
185
201 unsigned int uiRtmpURLCount;
209 unsigned int uiFlvURLCount;
217 unsigned int uiHlsURLCount;
218};
219
225};
226
236
240};
241
244 rtmpURL[0] = '\0';
246 stateTime = 0;
248 }
249
252 ZegoStreamRelayCDNDetail detail; //转推停止或重试时有效
253 unsigned int stateTime;
254};
255
273 ZEGO_NT_UNKNOWN = 32
275
280};
281
283 TASK_NORMAL = 1, //正常任务
284 TASK_DELAY = 2, //延时类任务(如定时器任务)
285};
286
319 int size;
324 int color;
332 bool border;
338
340 : type(FONT_SOURCE_HAN_SANS), size(24), color(16777215), transparency(0), border(false),
341 borderColor(0) {}
342};
348 int left;
349 int top;
351
352 ZegoLabelInfo() : left(0), top(0), font() { text[0] = '\0'; }
353};
354
367
380
382 url[0] = '\0';
383 displayMode = 0;
384 }
385};
386
391};
392
396 struct {
397 int top;
398 int left;
400 int right;
402 unsigned int uSoundLevelID;
405
407 szStreamID[0] = '\0';
408 layout.top = 0;
409 layout.left = 0;
410 layout.bottom = 0;
411 layout.right = 0;
412 }
423};
424
442 const unsigned char *pUserData;
452 int nExtra;
459 nExtra(0) {
460 szOutputStream[0] = '\0';
461 }
462};
463
471 unsigned int uiErrorCode;
484
486 for (int i = 0; i < ZEGO_MAX_MIX_INPUT_COUNT; i++) {
487 ppNonExistsStreamIDList[i] = NULL;
488 }
489 }
490};
491
497 unsigned int uiErrorCode;
530
534 for (int i = 0; i < ZEGO_MAX_MIX_INPUT_COUNT; i++) {
535 ppNonExistsStreamIDList[i] = NULL;
536 ppImageErrorStreamIDList[i] = NULL;
537 }
538 for (int i = 0; i < ZEGO_MAX_MIX_OUTPUT_COUNT; i++) {
539 ppErrorTargetRoomList[i] = NULL;
540 }
541 }
542};
543
546 Error = 1,
549 Debug = 4
551
553 const char *ip;
554 unsigned int port;
555 const char *hostName;
556 const char *userName;
557 const char *password;
558
560 ip = NULL;
561 port = 0;
562 hostName = NULL;
563 userName = NULL;
564 password = NULL;
565 }
566};
567
592};
593
594struct EventInfo {
595 unsigned int uiInfoCount;
598
600 for (int i = 0; i < ZEGO_MAX_EVENT_INFO_COUNT; i++) {
601 arrKeys[i] = NULL;
602 arrValues[i] = NULL;
603 }
604 }
605};
606
615
617
622
625
628
631
634 minEncodeHeight(240), minFPS(10) {}
635};
636
667};
668
670struct ZegoItem {
672 const char *key;
674 const char *value;
675};
676
680 unsigned int info_count;
683};
684
685#if defined(WIN32) || defined(ANDROID) || defined(_OS_OHOS_)
686ZEGOAVKIT_API extern const char *kZegoDeviceCamera;
687ZEGOAVKIT_API extern const char *kZegoDeviceMicrophone;
688ZEGOAVKIT_API extern const char *kZegoDeviceAudio;
689ZEGOAVKIT_API extern const char *kZegoDeviceSpeaker;
690ZEGOAVKIT_API extern const char *kZegoDeviceAudioSession;
691ZEGOAVKIT_API extern const char *kZegoStreamID;
692ZEGOAVKIT_API extern const char *kZegoUrl;
693ZEGOAVKIT_API extern const char *kZegoStreamProtocol;
694ZEGOAVKIT_API extern const char *kZegoNetProtocl;
695ZEGOAVKIT_API extern const char *kZegoResourceType;
696ZEGOAVKIT_API extern const char *kZegoError;
697#else
698extern const char *kZegoDeviceCamera;
699extern const char *kZegoDeviceMicrophone;
700extern const char *kZegoDeviceAudio;
701extern const char *kZegoDeviceSpeaker;
702extern const char *kZegoDeviceAudioSession;
703extern const char *kZegoStreamID;
704extern const char *kZegoUrl;
705extern const char *kZegoStreamProtocol;
706extern const char *kZegoNetProtocl;
707extern const char *kZegoResourceType;
708extern const char *kZegoError;
709#endif
710
717};
718
723};
724
731 4,
733 5,
735 6,
737 7,
739 8,
740};
741
750};
751
760
763
768};
769
776
784
788 Good = 1,
790 Poor = 3,
791 Die = 4,
793};
794
796 double cfps;
797 double vencFps;
798 double fps;
799 double kbps;
800
801 double acapFps;
802 double afps;
803 double akbps;
804
805 int rtt;
808
811 int width;
812 int height;
813
814 double totalBytes;
815 double audioBytes;
816 double videoBytes;
817
818 double cpuAppUsage;
820
824
826 cfps = 0;
827 vencFps = 0;
828 fps = 0;
829 kbps = 0;
830
831 acapFps = 0;
832 afps = 0;
833 akbps = 0;
834
835 rtt = 0;
836 pktLostRate = 0;
837 quality = 0;
838
839 isHardwareVenc = false;
840 videoCodecId = 0;
841 width = 0;
842 height = 0;
843
844 totalBytes = 0;
845 audioBytes = 0;
846 videoBytes = 0;
847
848 cpuAppUsage = 0;
849 cpuTotalUsage = 0;
850
851 memoryAppUsage = 0;
853 memoryAppUsed = 0;
854 }
855};
856
858 double fps;
859 double vdjFps;
860 double vdecFps;
861 double vrndFps;
862 double kbps;
863
864 double afps;
865 double adjFps;
866 double adecFps;
867 double arndFps;
868 double akbps;
869
872 int rtt;
877 int delay;
878 double
880
883 int width;
884 int height;
885
886 double totalBytes;
887 double audioBytes;
888 double videoBytes;
889
890 double cpuAppUsage;
892
897
908
910 fps = 0;
911 vdjFps = 0;
912 vdecFps = 0;
913 vrndFps = 0;
914 kbps = 0;
915
916 afps = 0;
917 adjFps = 0;
918 adecFps = 0;
919 arndFps = 0;
920 akbps = 0;
921
922 audioBreakRate = 0;
923 videoBreakRate = 0;
924 rtt = 0;
925 pktLostRate = 0;
926 peerToPeerDelay = 0;
928 quality = 0;
929 delay = 0;
930 mos = -1;
931
932 isHardwareVdec = false;
933 videoCodecId = 0;
934 width = 0;
935 height = 0;
936
937 totalBytes = 0;
938 audioBytes = 0;
939 videoBytes = 0;
940
941 cpuAppUsage = 0;
942 cpuTotalUsage = 0;
943
944 memoryAppUsage = 0;
946 memoryAppUsed = 0;
947
948 avTimestampDiff = 0;
949
958 muteVideo = 0;
959 muteAudio = 0;
960 }
961};
962
964 double rxKBitrate;
967
969 rxKBitrate = 0;
970 rxAudioKBitrate = 0;
971 rxVideoKBitrate = 0;
972 }
973};
974
981};
982
989
1016
1030
1037 unsigned int soundLevelID;
1041 unsigned char soundLevel;
1042
1044 soundLevelID = 0;
1045 soundLevel = 0;
1046 }
1047};
1048
1067};
1068
1098};
1099
1154};
1155
1161};
1162
1200};
1201
1204 // ZEGO_CHANNEL_PARAM_KEY_VIDEO_SWENCODER_USAGE = 0,
1206 // ZEGO_CHANNEL_PARAM_KEY_VIDEO_X264_CONFIG = 1,
1209};
1210
1225
1235
1238 isHardware = 0;
1239 }
1240};
1241
1254};
1255
1268 CUSTOM = 5
1270
1280
1289};
1290
1311};
1312
1320};
1321
1330};
1331
1332struct ZegoRect {
1333 int left;
1334 int top;
1337
1339 left = 0;
1340 top = 0;
1341 right = 0;
1342 bottom = 0;
1343 }
1344};
1345
1346struct ZegoSize {
1349
1351 width = 0;
1352 height = 0;
1353 }
1354};
1355
1360 // 噪声
1362 // 人声
1364};
1365
1383
1393
1401
1408
1414
1428
1436 const char *url;
1448 const char **quic_version_list;
1453
1458
1460 url = nullptr;
1461 protocol_ordered_list = nullptr;
1463 quic_version_list = nullptr;
1466 }
1467};
1468
1469//推流时视频流审查模式
1471 CENSORSHIP_NONE = 0, //不审查
1472 CENSORSHIP_AUDIO = 1, //仅审查流中的音频
1473 CENSORSHIP_VIDEO = 2, //仅审查流中的视频(不包含音频)
1474 CENSORSHIP_AUDIO_AND_VIDEO = 3 //审查流中的音频和视频
1476
1477// 能力协商范围
1480 ZEGO_CAPABILITY_NEGOTIATION_TYPE_ALL = 1, // 房间内所有用户协商
1482};
1483
1500};
1501
1512};
1513
1518 // 不使用
1520 // 包含列表所有区域
1522 // 排除列表所有区域
1524};
1525
1530 // 中国大陆(不包含港澳台)
1532 // 北美
1534 // 欧洲,包括英国
1536 // 亚洲,不包括中国大陆、印度
1538 // 印度
1540};
1541
1545struct ZegoView {
1546 void *view;
1548
1550 view = nullptr;
1551 alphaBlend = false;
1552 }
1553};
1554
1570
1580
1587
1590
1593
1596
1600
1604
1607
1614
1617
1619 const char *imageURL;
1620
1622 const char *videoURL;
1623
1626
1630};
1631
1638
1641
1644};
1645
1652
1656
1661 int fps;
1663
1666 encodeWidth = 0;
1667 encodeHeight = 0;
1668 fps = 0;
1669 bitrate = 0;
1670 }
1671};
1672
1690
1699};
1700
1707
1710
1712 unsigned int microphoneVolume;
1713
1715 unsigned int applicationVolume;
1716
1719
1722
1725 cropRect(ZegoRect()) {
1726 audioParam.channel = 2;
1727 audioParam.sampleRate = 16000;
1728 }
1729};
1730
1737};
1738
1745
1747};
1748
1756
1759
1762
1764 intensity = 0;
1767 }
1768};
1769
1780};
1781
1791};
1792
1798 OFF = 0,
1800 ON = 1,
1802 AUTO = 2,
1803};
1804
1815};
1816
1820
1824 }
1825};
1826
1833
1836
1837};
1838
1842
1845
1847 path[0] = '\0';
1849 }
1850};
1851
1864
1872};
1873
1877
1881 }
1882};
1883
1886};
1887
1893
1895 imageWidth = 0;
1896 imageHeight = 0;
1898 facePositionInfoList = nullptr;
1899 }
1900};
1901
1910
1912 totalTxBandwidth = 0.0;
1913 avgTxRtt = 0;
1915 totalRxBandwidth = 0.0;
1916 avgRxRtt = 0;
1919 }
1920};
1921
1922} // namespace AV
1923} // namespace ZEGO
1924
1925#ifdef __cplusplus
1926extern "C" {
1927#endif
1928struct ZegoStreamExtraPlayInfo;
1929
1930ZEGOAVKIT_API struct ZegoStreamExtraPlayInfo *zego_stream_extra_info_create();
1931ZEGOAVKIT_API void zego_stream_extra_info_destroy(struct ZegoStreamExtraPlayInfo *info);
1932
1933ZEGOAVKIT_API void zego_stream_extra_info_add_rtmp_url(struct ZegoStreamExtraPlayInfo *info,
1934 const char *url);
1936 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1937 const char **quic_version_list, const int quic_version_list_count);
1939 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1940 const char **quic_version_list, const int quic_version_list_count,
1942
1944 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1945 const char **quic_version_list, const int quic_version_list_count,
1946 ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode);
1947
1949 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1950 const char **quic_version_list, const int quic_version_list_count,
1951 ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode, const char *custom_params);
1952
1953ZEGOAVKIT_API void zego_stream_extra_info_add_flv_url(struct ZegoStreamExtraPlayInfo *info,
1954 const char *url);
1956 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1957 const char **quic_version_list, const int quic_version_list_count);
1959 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1960 const char **quic_version_list, const int quic_version_list_count,
1962
1964 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1965 const char **quic_version_list, const int quic_version_list_count,
1966 ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode);
1967
1969 struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol,
1970 const char **quic_version_list, const int quic_version_list_count,
1971 ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode, const char *custom_params);
1972
1973ZEGOAVKIT_API void zego_stream_extra_info_set_params(struct ZegoStreamExtraPlayInfo *info,
1974 const char *params);
1975ZEGOAVKIT_API void zego_stream_extra_info_set_decrypt_key(struct ZegoStreamExtraPlayInfo *info,
1976 const unsigned char *key, int keylen);
1977ZEGOAVKIT_API void zego_stream_extra_info_set_cross_app_info(struct ZegoStreamExtraPlayInfo *info,
1978 unsigned int appid,
1979 const unsigned char *token,
1980 int tokenlen);
1981ZEGOAVKIT_API void zego_stream_extra_info_should_switch_server(struct ZegoStreamExtraPlayInfo *info,
1982 bool should);
1983ZEGOAVKIT_API void zego_stream_extra_info_set_play_mode(struct ZegoStreamExtraPlayInfo *info,
1985ZEGOAVKIT_API void
1986zego_stream_extra_info_set_video_codec_id(struct ZegoStreamExtraPlayInfo *info,
1987 ZEGO::AV::ZegoVideoCodecAvc videoCodecID);
1988ZEGOAVKIT_API void
1989zego_stream_extra_info_set_source_resource_type(struct ZegoStreamExtraPlayInfo *info,
1990 ZEGO::AV::ZegoResourceType sourceResourceType);
1991
1992ZEGOAVKIT_API void
1993zego_stream_extra_info_set_codec_template_id(struct ZegoStreamExtraPlayInfo *info,
1994 int codec_template_id);
1995
1996ZEGOAVKIT_API void
1998 bool enable);
1999
2001 struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoPlayResourceType type);
2002
2003ZEGOAVKIT_API void
2004zego_stream_extra_info_enable_adaptive_switch(struct ZegoStreamExtraPlayInfo *info, int enable);
2005
2006ZEGOAVKIT_API void
2007zego_stream_extra_info_add_adaptive_template(struct ZegoStreamExtraPlayInfo *info, int template_id);
2008
2010 struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoResourceType before_publish,
2011 ZEGO::AV::ZegoResourceType publishing, ZEGO::AV::ZegoResourceType after_publish);
2012
2013#ifdef __cplusplus
2014} // __cplusplus defined.
2015#endif
2016
2017#endif /* zego_api_defines_h */
ZegoLogLevel
Definition: zego-api-defines.h:544
@ Error
Definition: zego-api-defines.h:546
@ Generic
通常在发布产品中使用
Definition: zego-api-defines.h:548
@ Grievous
Definition: zego-api-defines.h:545
@ Warning
Definition: zego-api-defines.h:547
@ Debug
调试阶段使用
Definition: zego-api-defines.h:549
VideoStreamLayer
Definition: zego-api-defines.h:984
@ VideoStreamLayer_Auto
Definition: zego-api-defines.h:985
@ VideoStreamLayer_BaseLayer
Definition: zego-api-defines.h:986
@ VideoStreamLayer_ExtendLayer
Definition: zego-api-defines.h:987
ZegoVideoBackendType
视频后端类型
Definition: zego-api-defines.h:1786
@ ZEGO_VIDEO_BACKEND_TYPE_OPENGL3
Definition: zego-api-defines.h:1790
@ ZEGO_VIDEO_BACKEND_TYPE_OPENGL2
Definition: zego-api-defines.h:1788
ZegoFontType
Definition: zego-api-defines.h:290
@ FONT_PANG_MEN_ZHENG_DAO_TITLE
Definition: zego-api-defines.h:302
@ FONT_SOURCE_HAN_SANS
Definition: zego-api-defines.h:294
@ FONT_HAPPY_ZCOOL
Definition: zego-api-defines.h:306
@ FONT_ALIBABA_SANS
Definition: zego-api-defines.h:298
ZegoEncodeProfile
Definition: zego-api-defines.h:1369
@ ZegoEncodeProfileHigh
Definition: zego-api-defines.h:1381
@ ZegoEncodeProfileBaseline
Definition: zego-api-defines.h:1373
@ ZegoEncodeProfileMain
Definition: zego-api-defines.h:1377
ZegoCodecError
Definition: zego-api-defines.h:1245
@ ZEGO_CODEC_ERROR_FAILED
Definition: zego-api-defines.h:1251
@ ZEGO_CODEC_ERROR_NONE
Definition: zego-api-defines.h:1247
@ ZEGO_CODEC_ERROR_LOW_FPS
Definition: zego-api-defines.h:1253
@ ZEGO_CODEC_ERROR_NOT_SUPPORT
Definition: zego-api-defines.h:1249
ZEGOAVKIT_API const char * kZegoUrl
ZegoStreamRelayCDNDetail
Definition: zego-api-defines.h:227
@ MixStream_ServerInternalError
混流服务器内部错误,混流转推CDN时有效
Definition: zego-api-defines.h:239
@ Relay_CDNServerDisconnected
CDN服务器主动断开
Definition: zego-api-defines.h:234
@ MixStream_AllInputStreamClosed
混流输入流会话关闭, 混流转推CDN时有效
Definition: zego-api-defines.h:237
@ Relay_ServerError
服务器错误
Definition: zego-api-defines.h:229
@ Relay_BadName
BAD NAME.
Definition: zego-api-defines.h:233
@ MixStream_AllInputStreamNoData
混流输入流全部没有数据, 混流转推CDN时有效
Definition: zego-api-defines.h:238
@ Relay_HandShakeFailed
握手失败
Definition: zego-api-defines.h:230
@ Relay_CreateStreamFailed
创建流失败
Definition: zego-api-defines.h:232
@ Relay_None
Definition: zego-api-defines.h:228
@ Relay_AccessPointError
接入点错误
Definition: zego-api-defines.h:231
@ Relay_Disconnected
主动断开
Definition: zego-api-defines.h:235
ZegoDummyCaptureImageMode
Definition: zego-api-defines.h:1830
@ ZEGO_DUMMY_CAPTURE_IMAGE_MODE_MANUAL
Definition: zego-api-defines.h:1832
@ ZEGO_DUMMY_CAPTURE_IMAGE_MODE_AUTO
Definition: zego-api-defines.h:1835
ZegoObjectSegmentationState
Definition: zego-api-defines.h:1649
@ ZEGO_OBJECT_SEGMENTATION_STATE_OFF
Definition: zego-api-defines.h:1651
@ ZEGO_OBJECT_SEGMENTATION_STATE_ON
Definition: zego-api-defines.h:1654
ZegoAVAPIAudioDeviceMode
Definition: zego-api-defines.h:726
@ ZEGO_AUDIO_DEVICE_MODE_COMMUNICATION4
Definition: zego-api-defines.h:738
@ ZEGO_AUDIO_DEVICE_MODE_AUTO
Definition: zego-api-defines.h:729
@ ZEGO_AUDIO_DEVICE_MODE_GENERAL3
Definition: zego-api-defines.h:736
@ ZEGO_AUDIO_DEVICE_MODE_COMMUNICATION3
Definition: zego-api-defines.h:732
@ ZEGO_AUDIO_DEVICE_MODE_COMMUNICATION
Definition: zego-api-defines.h:727
@ ZEGO_AUDIO_DEVICE_MODE_GENERAL2
Definition: zego-api-defines.h:734
@ ZEGO_AUDIO_DEVICE_MODE_GENERAL
Definition: zego-api-defines.h:728
@ ZEGO_AUDIO_DEVICE_MODE_COMMUNICATION2
Definition: zego-api-defines.h:730
ZegoAVAPIAudioRecordMask
Definition: zego-api-defines.h:778
@ ZEGO_AUDIO_RECORD_MIX
Definition: zego-api-defines.h:782
@ ZEGO_AUDIO_RECORD_RENDER
Definition: zego-api-defines.h:781
@ ZEGO_AUDIO_RECORD_NONE
Definition: zego-api-defines.h:779
@ ZEGO_AUDIO_RECORD_CAP
Definition: zego-api-defines.h:780
DeviceStatus
Definition: zego-api-defines.h:150
@ Device_Closed
Definition: zego-api-defines.h:153
@ Device_Unknown
Definition: zego-api-defines.h:151
@ Device_Opened
Definition: zego-api-defines.h:152
ZegoVideoEncoderRateControlStrategy
Definition: zego-api-defines.h:712
@ ZEGO_RC_CBR
Definition: zego-api-defines.h:714
@ ZEGO_RC_VBR
Definition: zego-api-defines.h:715
@ ZEGO_RC_ABR
Definition: zego-api-defines.h:713
@ ZEGO_RC_CRF
Definition: zego-api-defines.h:716
ZegoLowlightEnhanceType
低照度增强类型
Definition: zego-api-defines.h:1869
@ ZEGO_LOWLIGHT_ENHANCE_TYPE_AI
Definition: zego-api-defines.h:1871
@ ZEGO_LOWLIGHT_ENHANCE_TYPE_NORMAL
Definition: zego-api-defines.h:1870
ZEGOAVKIT_API const char * kZegoStreamProtocol
ZEGOAVKIT_API const char * kZegoDeviceAudioSession
ZegoDeviceErrorReason
Definition: zego-api-defines.h:1163
@ ZEGO_DEVICE_ERROR_REASON_INTERRUPTION
Definition: zego-api-defines.h:1193
@ ZEGO_DEVICE_ERROR_REASON_GENERIC
Definition: zego-api-defines.h:1165
@ ZEGO_DEVICE_ERROR_REASON_IN_USE_BY_SIRI
Definition: zego-api-defines.h:1181
@ ZEGO_DEVICE_ERROR_REASON_MEDIA_SERVICES_LOST
Definition: zego-api-defines.h:1179
@ ZEGO_DEVICE_ERROR_REASON_SOUND_LEVEL_TOO_LOW
Definition: zego-api-defines.h:1183
@ ZEGO_DEVICE_ERROR_REASON_MULTI_FOREGROUND_APP
Definition: zego-api-defines.h:1197
@ ZEGO_DEVICE_ERROR_REASON_MUTE
Definition: zego-api-defines.h:1191
@ ZEGO_DEVICE_ERROR_REASON_NONE
Definition: zego-api-defines.h:1187
@ ZEGO_DEVICE_ERROR_REASON_NO_AUTHORIZATION
Definition: zego-api-defines.h:1169
@ ZEGO_DEVICE_ERROR_REASON_MAGNETIC_CASE
Definition: zego-api-defines.h:1185
@ ZEGO_DEVICE_ERROR_REASON_UNPLUGGED
Definition: zego-api-defines.h:1175
@ ZEGO_DEVICE_ERROR_REASON_INVALID_ID
Definition: zego-api-defines.h:1167
@ ZEGO_DEVICE_ERROR_REASON_IN_USE_BY_OTHER
Definition: zego-api-defines.h:1173
@ ZEGO_DEVICE_ERROR_REASON_ZERO_FPS
Definition: zego-api-defines.h:1171
@ ZEGO_DEVICE_ERROR_REASON_SYSTEM_PRESSURE
Definition: zego-api-defines.h:1199
@ ZEGO_DEVICE_ERROR_REASON_DISABLED
Definition: zego-api-defines.h:1189
@ ZEGO_DEVICE_ERROR_REASON_IN_BACKGROUND
Definition: zego-api-defines.h:1195
@ ZEGO_DEVICE_ERROR_REASON_REBOOT_REQUIRED
Definition: zego-api-defines.h:1177
ZegoTrafficControlMinVideoBitrateMode
Definition: zego-api-defines.h:770
@ ZEGO_TRAFFIC_CONTROL_MIN_VIDEO_BITRATE_NO_VIDEO
Definition: zego-api-defines.h:772
@ ZEGO_TRAFFIC_CONTROL_MIN_VIDEO_BITRATE_ULTRA_LOW_FPS
Definition: zego-api-defines.h:774
ZegoAVAPILatencyMode
Definition: zego-api-defines.h:743
@ ZEGO_LATENCY_MODE_NORMAL
Definition: zego-api-defines.h:744
@ ZEGO_LATENCY_MODE_LOW
Definition: zego-api-defines.h:745
@ ZEGO_LATENCY_MODE_LOW2
Definition: zego-api-defines.h:747
@ ZEGO_LATENCY_MODE_LOW3
Definition: zego-api-defines.h:748
@ ZEGO_LATENCY_MODE_NORMAL2
Definition: zego-api-defines.h:746
@ ZEGO_LATENCY_MODE_NORMAL3
Definition: zego-api-defines.h:749
ZegoStreamEventType
Definition: zego-api-defines.h:638
@ STREAM_EVENT_PUBLISH_FAIL
Definition: zego-api-defines.h:644
@ STREAM_EVENT_PLAY_FAIL
Definition: zego-api-defines.h:658
@ STREAM_EVENT_RETRY_PUBLISH_SUCCESS
Definition: zego-api-defines.h:648
@ STREAM_EVENT_RETRY_PLAY_FAIL
Definition: zego-api-defines.h:664
@ STREAM_EVENT_PLAY_START
Definition: zego-api-defines.h:654
@ STREAM_EVENT_RETRY_PUBLISH_FAIL
Definition: zego-api-defines.h:650
@ STREAM_EVENT_PLAY_END
Definition: zego-api-defines.h:666
@ STREAM_EVENT_PUBLISH_START
Definition: zego-api-defines.h:640
@ STREAM_EVENT_RETRY_PLAY_SUCCESS
Definition: zego-api-defines.h:662
@ STREAM_EVENT_PUBLISH_END
Definition: zego-api-defines.h:652
@ STREAM_EVENT_PUBLISH_SUCCESS
Definition: zego-api-defines.h:642
@ STREAM_EVENT_RETRY_PLAY_START
Definition: zego-api-defines.h:660
@ STREAM_EVENT_RETRY_PUBLISH_START
Definition: zego-api-defines.h:646
@ STREAM_EVENT_PLAY_SUCCESS
Definition: zego-api-defines.h:656
ZegoANSMode
Definition: zego-api-defines.h:1069
@ ANS_MODE_AI_BALANCED
Definition: zego-api-defines.h:1089
@ ANS_MODE_MEDIUM
Definition: zego-api-defines.h:1077
@ ANS_MODE_AI_LOW_LATENCY
Definition: zego-api-defines.h:1093
@ ANS_MODE_HIGH
Definition: zego-api-defines.h:1081
@ ANS_MODE_AI_AGGRESSIVE
Definition: zego-api-defines.h:1097
@ ANS_MODE_AI
Definition: zego-api-defines.h:1085
@ ANS_MODE_LOW
Definition: zego-api-defines.h:1073
ChannelExtraParamKey
Definition: zego-api-defines.h:1202
@ ZEGO_CHANNEL_PARAM_KEY_AV_CAPTURE_DEVICE
Definition: zego-api-defines.h:1208
SeiSendType
Definition: zego-api-defines.h:1020
@ SeiSendInVideoFrame
Definition: zego-api-defines.h:1028
@ SeiSendSingleFrame
Definition: zego-api-defines.h:1024
ZegoCapabilityNegotiationType
Definition: zego-api-defines.h:1478
@ ZEGO_CAPABILITY_NEGOTIATION_TYPE_PUBLISHER
Definition: zego-api-defines.h:1481
@ ZEGO_CAPABILITY_NEGOTIATION_TYPE_NONE
Definition: zego-api-defines.h:1479
@ ZEGO_CAPABILITY_NEGOTIATION_TYPE_ALL
Definition: zego-api-defines.h:1480
ZEGOAVKIT_API const char * kZegoDeviceMicrophone
ZegoCapturePipelineScaleMode
Definition: zego-api-defines.h:720
@ ZegoCapturePipelinePreScale
Definition: zego-api-defines.h:721
@ ZegoCapturePipelinePostScale
Definition: zego-api-defines.h:722
ZegoAlphaLayoutType
Definition: zego-api-defines.h:1558
@ ZEGO_ALPHA_LAYOUT_TYPE_RIGHT_TOP
Definition: zego-api-defines.h:1568
@ ZEGO_ALPHA_LAYOUT_TYPE_LEFT
Definition: zego-api-defines.h:1562
@ ZEGO_ALPHA_LAYOUT_TYPE_BOTTOM
Definition: zego-api-defines.h:1566
@ ZEGO_ALPHA_LAYOUT_TYPE_NONE
Definition: zego-api-defines.h:1560
@ ZEGO_ALPHA_LAYOUT_TYPE_RIGHT
Definition: zego-api-defines.h:1564
ZegoVideoDenoiseMode
Definition: zego-api-defines.h:1796
@ AUTO
Definition: zego-api-defines.h:1802
@ ON
Definition: zego-api-defines.h:1800
@ OFF
Definition: zego-api-defines.h:1798
MediaInfoType
Definition: zego-api-defines.h:993
@ SideInfoZegoDefined
Definition: zego-api-defines.h:999
@ SeiZegoDefined
Definition: zego-api-defines.h:1004
@ SeiUserUnregisted
Definition: zego-api-defines.h:1014
ZegoObjectSegmentationType
Definition: zego-api-defines.h:1574
@ ZEGO_OBJECT_SEGMENTATION_TYPE_GREEN_SCREEN_BACKGROUND
Definition: zego-api-defines.h:1578
@ ZEGO_OBJECT_SEGMENTATION_TYPE_ANY_BACKGROUND
Definition: zego-api-defines.h:1576
LiveStreamQuality
Definition: zego-api-defines.h:785
@ Excellent
Definition: zego-api-defines.h:787
@ MaxGrade
Definition: zego-api-defines.h:792
@ Poor
Definition: zego-api-defines.h:790
@ Die
Definition: zego-api-defines.h:791
@ Unknown
Definition: zego-api-defines.h:786
@ Good
Definition: zego-api-defines.h:788
@ Middle
Definition: zego-api-defines.h:789
ZegoCDNProtocol
Definition: zego-api-defines.h:1418
@ ZEGO_CDN_PROTOCOL_QUIC
Definition: zego-api-defines.h:1426
@ ZEGO_CDN_PROTOCOL_TCP
Definition: zego-api-defines.h:1422
ZegoAudioMixMode
Definition: zego-api-defines.h:1274
@ ZEGO_AUDIO_MIX_MODE_FOCUSED
Definition: zego-api-defines.h:1278
@ ZEGO_AUDIO_MIX_MODE_RAW
Definition: zego-api-defines.h:1276
ZegoNotifyDeviceStateMode
Definition: zego-api-defines.h:1156
@ ZEGO_NOTIFY_DEVICE_STATE_MODE_CLOSE
Definition: zego-api-defines.h:1160
@ ZEGO_NOTIFY_DEVICE_STATE_MODE_OPEN
Definition: zego-api-defines.h:1158
ZegoGeoFenceType
Definition: zego-api-defines.h:1517
@ ZegoGeoFenceTypeNone
Definition: zego-api-defines.h:1519
@ ZegoGeoFenceTypeExclude
Definition: zego-api-defines.h:1523
@ ZegoGeoFenceTypeInclude
Definition: zego-api-defines.h:1521
ZEGOAVKIT_API const char * kZegoStreamID
ZegoVideoDenoiseStrength
Definition: zego-api-defines.h:1808
@ MEDIUM
Definition: zego-api-defines.h:1812
@ HEAVY
Definition: zego-api-defines.h:1814
@ LIGHT
Definition: zego-api-defines.h:1810
ZegoTrafficControlFocusOn
Definition: zego-api-defines.h:1284
@ ZEGO_TRAFFIC_CONTROL_FOCUS_ON_LOCAL_ONLY
Definition: zego-api-defines.h:1286
@ ZEGO_TRAFFIC_CONTROL_FOCUS_ON_REMOTE
Definition: zego-api-defines.h:1288
ZegoPlayResourceType
Definition: zego-api-defines.h:1773
@ ZEGO_PLAY_RESOURCE_TYPE_L3
Definition: zego-api-defines.h:1779
@ ZEGO_PLAY_RESOURCE_TYPE_DEFAULT
Definition: zego-api-defines.h:1775
@ ZEGO_PLAY_RESOURCE_TYPE_CDN
Definition: zego-api-defines.h:1777
ZegoBackgroundBlurLevel
Definition: zego-api-defines.h:1601
@ ZEGO_BACKGROUND_BLUR_LEVEL_LOW
Definition: zego-api-defines.h:1603
@ ZEGO_BACKGROUND_BLUR_LEVEL_MEDIUM
Definition: zego-api-defines.h:1606
@ ZEGO_BACKGROUND_BLUR_LEVEL_HIGH
Definition: zego-api-defines.h:1609
ZegoLowlightEnhanceMode
低照度增强模式
Definition: zego-api-defines.h:1856
@ ZEGO_LOWLIGHT_ENHANCE_MODE_OFF
Definition: zego-api-defines.h:1858
@ ZEGO_LOWLIGHT_ENHANCE_MODE_AUTO
Definition: zego-api-defines.h:1862
@ ZEGO_LOWLIGHT_ENHANCE_MODE_ON
Definition: zego-api-defines.h:1860
ZegoSupportHttpDNS
Definition: zego-api-defines.h:1503
@ ZEGO_SUPPORT_HTTP_DNS_NONE
Definition: zego-api-defines.h:1505
@ ZEGO_SUPPORT_HTTP_DNS_WANGSU
Definition: zego-api-defines.h:1507
@ ZEGO_SUPPORT_HTTP_DNS_TENCENT
Definition: zego-api-defines.h:1509
@ ZEGO_SUPPORT_HTTP_DNS_ALIYUN
Definition: zego-api-defines.h:1511
ZegoStreamRelayCDNState
Definition: zego-api-defines.h:221
@ RELAY_START
Definition: zego-api-defines.h:223
@ RELAY_STOP
Definition: zego-api-defines.h:222
@ RELAY_RETRY
Definition: zego-api-defines.h:224
ZEGOAVKIT_API const char * kZegoNetProtocl
ZegoTrafficControlProperty
Definition: zego-api-defines.h:753
@ ZEGO_TRAFFIC_CONTROL_BASIC
Definition: zego-api-defines.h:755
@ ZEGO_TRAFFIC_RESOLUTION
Definition: zego-api-defines.h:767
@ ZEGO_TRAFFIC_NONE
Definition: zego-api-defines.h:765
@ ZEGO_TRAFFIC_CONTROL_ADAPTIVE_RESOLUTION
Definition: zego-api-defines.h:759
@ ZEGO_TRAFFIC_FPS
Definition: zego-api-defines.h:766
@ ZEGO_TRAFFIC_CONTROL_ADAPTIVE_AUDIO_BITRATE
Definition: zego-api-defines.h:762
@ ZEGO_TRAFFIC_CONTROL_ADAPTIVE_FPS
Definition: zego-api-defines.h:757
ZegoStreamCensorshipMode
Definition: zego-api-defines.h:1470
@ CENSORSHIP_VIDEO
Definition: zego-api-defines.h:1473
@ CENSORSHIP_AUDIO
Definition: zego-api-defines.h:1472
@ CENSORSHIP_AUDIO_AND_VIDEO
Definition: zego-api-defines.h:1474
@ CENSORSHIP_NONE
Definition: zego-api-defines.h:1471
ZEGOAVKIT_API const char * kZegoError
DeviceState
Definition: zego-api-defines.h:145
@ Device_Added
Definition: zego-api-defines.h:146
@ Device_Deleted
Definition: zego-api-defines.h:147
RemoteViewIndex
Definition: zego-api-defines.h:74
@ RemoteViewIndex_First
Definition: zego-api-defines.h:75
@ RemoteViewIndex_Second
Definition: zego-api-defines.h:76
@ RemoteViewIndex_Third
Definition: zego-api-defines.h:77
ZegoDeviceErrorCode
Definition: zego-api-defines.h:1101
@ ZEGO_DEVICE_ERROR_NO_AUTHORIZATION
Definition: zego-api-defines.h:1113
@ ZEGO_DEVICE_ERROR_MEDIA_SERVICES_LOST
Definition: zego-api-defines.h:1133
@ ZEGO_DEVICE_ERROR_AUDIO_SESSION_DEACTIVE
Definition: zego-api-defines.h:1149
@ ZEGO_DEVICE_ERROR_GENERIC
Definition: zego-api-defines.h:1105
@ ZEGO_DEVICE_ERROR_SOUND_LEVEL_TOO_LOW
Definition: zego-api-defines.h:1141
@ ZEGO_DEVICE_ERROR_IN_USE_BY_OTHER
Definition: zego-api-defines.h:1121
@ ZEGO_DEVICE_ERROR_UNPLUGGED
Definition: zego-api-defines.h:1125
@ ZEGO_DEVICE_ERROR_MAGNETIC_CASE
Definition: zego-api-defines.h:1145
@ ZEGO_DEVICE_ERROR_ZERO_FPS
Definition: zego-api-defines.h:1117
@ ZEGO_DEVICE_ERROR_IN_USE_BY_SIRI
Definition: zego-api-defines.h:1137
@ ZEGO_DEVICE_ERROR_REBOOT_REQUIRED
Definition: zego-api-defines.h:1129
@ ZEGO_DEVICE_ERROR_AUDIO_SESSION_CATEGORY_CHANGE
Definition: zego-api-defines.h:1153
@ ZEGO_DEVICE_ERROR_INVALID_ID
Definition: zego-api-defines.h:1109
ZEGOAVKIT_API const char * kZegoDeviceAudio
ZegoVideoMirrorMode
Definition: zego-api-defines.h:86
@ ZegoVideoMirrorModePreviewCaptureBothNoMirror
预览不启用镜像,推流不启用镜像
Definition: zego-api-defines.h:89
@ ZegoVideoMirrorModePreviewMirrorPublishNoMirror
预览启用镜像,推流不启用镜像
Definition: zego-api-defines.h:87
@ ZegoVideoMirrorModePreviewCaptureBothMirror
预览启用镜像,推流启用镜像
Definition: zego-api-defines.h:88
@ ZegoVideoMirrorModePreviewNoMirrorPublishMirror
预览不启用镜像,推流启用镜像
Definition: zego-api-defines.h:90
ZegoDumpDataType
Definition: zego-api-defines.h:1734
@ ZEGO_DUMP_DATA_TYPE_AUDIO
Definition: zego-api-defines.h:1736
ZegoVideoSourceType
Definition: zego-api-defines.h:1294
@ VIDEO_SRC_MAIN_PUBLISH_CHN
Definition: zego-api-defines.h:1304
@ VIDEO_SRC_SCREEN_CAPTURE
Definition: zego-api-defines.h:1308
@ VIDEO_SRC_CAMERA
Definition: zego-api-defines.h:1300
@ VIDEO_SRC_DEFAULT
Definition: zego-api-defines.h:1296
@ VIDEO_SRC_PLAYER
Definition: zego-api-defines.h:1306
@ VIDEO_SRC_SECONDARY_CAMERA
Definition: zego-api-defines.h:1310
@ VIDEO_SRC_EXTERNAL_CAPTURE
Definition: zego-api-defines.h:1302
@ VIDEO_SRC_NONE
Definition: zego-api-defines.h:1298
ZegoResourceType
Definition: zego-api-defines.h:1487
@ ZEGO_RESOURCE_TYPE_RTC
Definition: zego-api-defines.h:1495
@ ZEGO_RESOURCE_TYPE_CDN
Definition: zego-api-defines.h:1491
@ ZEGO_RESOURCE_TYPE_L3
Definition: zego-api-defines.h:1499
ZegoOrientationMode
视频的朝向模式
Definition: zego-api-defines.h:1388
@ ZegoOrientationModeAlignment
对齐模式。以 Status Bar 作为参考,拉流端的视频方向与推流端预览的视频方向一致。SDK 在拉流端会以 Status Bar 作为参考对图像进行旋转,旋转角度和推流端预览的旋转角度一致。推流端用...
Definition: zego-api-defines.h:1407
@ ZegoOrientationModeAdaption
自适应模式,拉流端视频方向自动垂直地面向上,推流端用户不再需要通过 [SetAppOrientation] 设置朝向。
Definition: zego-api-defines.h:1400
@ ZegoOrientationModeFixedResolutionRatio
固定比例模式。以 Status Bar 作为参考,拉流端的视频方向与推流端预览的视频方向一致,且视频分辨率与编码分辨率保持一致,推流端用户不再需要通过 [SetAppOrientation] 设置朝向。
Definition: zego-api-defines.h:1412
@ ZegoOrientationModeCustom
自定义模式,默认为该模式,推流端用户需要通过 [SetAppOrientation] 设置朝向,通过 [SetVideoConfig] 设置视频分辨率控制视频比例。
Definition: zego-api-defines.h:1392
ZegoVideoConfigPreference
视频配置偏好
Definition: zego-api-defines.h:608
@ ZEGO_VIDEO_CONFIG_PREFERENCE_SMOOTH
Definition: zego-api-defines.h:610
@ ZEGO_VIDEO_CONFIG_PREFERENCE_CLEAR
Definition: zego-api-defines.h:612
@ ZEGO_VIDEO_CONFIG_PREFERENCE_BALANCED
Definition: zego-api-defines.h:614
ZEGOAVKIT_API const char * kZegoDeviceCamera
PublishChannelIndex
Definition: zego-api-defines.h:976
@ PUBLISH_CHN_AUX
Definition: zego-api-defines.h:978
@ PUBLISH_CHN_FOURTH
Definition: zego-api-defines.h:980
@ PUBLISH_CHN_MAIN
Definition: zego-api-defines.h:977
@ PUBLISH_CHN_THIRD
Definition: zego-api-defines.h:979
ZegoStreamResourceMode
Definition: zego-api-defines.h:1256
@ L3_ONLY
Definition: zego-api-defines.h:1262
@ RTC_ONLY
Definition: zego-api-defines.h:1264
@ CUSTOM
Definition: zego-api-defines.h:1268
@ CDN_PLUS
Definition: zego-api-defines.h:1266
@ DEFAULT
Definition: zego-api-defines.h:1258
@ CDN_ONLY
Definition: zego-api-defines.h:1260
ZEGOAVKIT_API const char * kZegoDeviceSpeaker
ZegoAudioSourceType
Definition: zego-api-defines.h:1313
@ AUDIO_SRC_EXTERNAL_CAPTURE
Definition: zego-api-defines.h:1316
@ AUDIO_SRC_MAIN_PUBLISH_CHN
Definition: zego-api-defines.h:1318
@ AUDIO_SRC_MEDIA_CAPTURE
Definition: zego-api-defines.h:1317
@ AUDIO_SRC_MIC
Definition: zego-api-defines.h:1315
@ AUDIO_SRC_PLAYER
Definition: zego-api-defines.h:1319
@ AUDIO_SRC_NONE
Definition: zego-api-defines.h:1314
ZEGONetType
Definition: zego-api-defines.h:257
@ ZEGO_NT_3G
Definition: zego-api-defines.h:267
@ ZEGO_NT_5G
Definition: zego-api-defines.h:271
@ ZEGO_NT_UNKNOWN
Definition: zego-api-defines.h:273
@ ZEGO_NT_NONE
Definition: zego-api-defines.h:259
@ ZEGO_NT_2G
Definition: zego-api-defines.h:265
@ ZEGO_NT_4G
Definition: zego-api-defines.h:269
@ ZEGO_NT_LINE
Definition: zego-api-defines.h:261
@ ZEGO_NT_WIFI
Definition: zego-api-defines.h:263
ZegoPublishFlag
Definition: zego-api-defines.h:276
@ ZEGO_JOIN_PUBLISH
连麦
Definition: zego-api-defines.h:277
@ ZEGO_SINGLE_ANCHOR
单主播
Definition: zego-api-defines.h:279
@ ZEGO_MIX_STREAM
混流,如果推出的流需要作为混流输入,请用这个模式
Definition: zego-api-defines.h:278
ZegoAudioRoute
Definition: zego-api-defines.h:1211
@ ZEGO_AUDIO_ROUTE_SPEAKER
Definition: zego-api-defines.h:1213
@ ZEGO_AUDIO_ROUTE_USB_AUDIO
Definition: zego-api-defines.h:1221
@ ZEGO_AUDIO_ROUTE_RECEIVER
Definition: zego-api-defines.h:1219
@ ZEGO_AUDIO_ROUTE_AIR_PLAY
Definition: zego-api-defines.h:1223
@ ZEGO_AUDIO_ROUTE_HEADSET
Definition: zego-api-defines.h:1215
@ ZEGO_AUDIO_ROUTE_BLUETOOTH
Definition: zego-api-defines.h:1217
ZegoBackgroundProcessType
Definition: zego-api-defines.h:1584
@ ZEGO_BACKGROUND_PROCESS_TYPE_COLOR
Definition: zego-api-defines.h:1589
@ ZEGO_BACKGROUND_PROCESS_TYPE_VIDEO
Definition: zego-api-defines.h:1598
@ ZEGO_BACKGROUND_PROCESS_TYPE_TRANSPARENT
Definition: zego-api-defines.h:1586
@ ZEGO_BACKGROUND_PROCESS_TYPE_IMAGE
Definition: zego-api-defines.h:1595
@ ZEGO_BACKGROUND_PROCESS_TYPE_BLUR
Definition: zego-api-defines.h:1592
VolumeType
Definition: zego-api-defines.h:157
@ Volume_EndPoint
Definition: zego-api-defines.h:158
@ Volume_Simple
Definition: zego-api-defines.h:159
MixSysPlayoutPropertyMask
Definition: zego-api-defines.h:116
@ MIX_PROP_ENABLE_AGC_FOR_SYS_PLAYOUT
Definition: zego-api-defines.h:118
@ MIX_PROP_NONE
Definition: zego-api-defines.h:117
ZegoVideoEncodeMode
Definition: zego-api-defines.h:1325
@ ZEGO_VIDEO_ENCODE_MODE_LOW_DELAY
Definition: zego-api-defines.h:1327
@ ZEGO_VIDEO_ENCODE_MODE_LOW_BITRATE
Definition: zego-api-defines.h:1329
AudioDeviceType
Definition: zego-api-defines.h:111
@ AudioDevice_Output
Definition: zego-api-defines.h:113
@ AudioDevice_Input
Definition: zego-api-defines.h:112
EventType
Definition: zego-api-defines.h:569
@ Play_AudioBreakCancel
Definition: zego-api-defines.h:585
@ Play_AudioBreak
Definition: zego-api-defines.h:583
@ Play_AudioBreakEnd
Definition: zego-api-defines.h:584
@ PublishInfo_RegisterSuccess
Definition: zego-api-defines.h:588
@ Play_VideoBreak
Definition: zego-api-defines.h:579
@ Play_FrameBreakEnd
Definition: zego-api-defines.h:591
@ Play_VideoBreakCancel
Definition: zego-api-defines.h:581
@ Play_VideoBreakEnd
Definition: zego-api-defines.h:580
@ Publish_BeginRetry
Definition: zego-api-defines.h:573
@ Play_BeginRetry
Definition: zego-api-defines.h:570
@ Play_FrameBreak
Definition: zego-api-defines.h:590
@ Play_TempDisconnected
Definition: zego-api-defines.h:576
@ Publish_RetrySuccess
Definition: zego-api-defines.h:574
@ Publish_TempDisconnected
Definition: zego-api-defines.h:577
@ Play_RetrySuccess
Definition: zego-api-defines.h:571
@ PublishInfo_RegisterFailed
Definition: zego-api-defines.h:587
ZegoGeoFenceAreaCode
Definition: zego-api-defines.h:1529
@ ZegoGeoFenceAreaCodeCN
Definition: zego-api-defines.h:1531
@ ZegoGeoFenceAreaCodeAS
Definition: zego-api-defines.h:1537
@ ZegoGeoFenceAreaCodeEU
Definition: zego-api-defines.h:1535
@ ZegoGeoFenceAreaCodeNA
Definition: zego-api-defines.h:1533
@ ZegoGeoFenceAreaCodeIN
Definition: zego-api-defines.h:1539
ZegoVideoCodecBackend
Definition: zego-api-defines.h:104
@ VIDEO_CODEC_BACKEND_SOFTWARE
软件
Definition: zego-api-defines.h:106
@ VIDEO_CODEC_BACKEND_HARDWARE
硬件
Definition: zego-api-defines.h:107
@ VIDEO_CODEC_BACKEND_ANY
软件或硬件
Definition: zego-api-defines.h:105
ZegoAECMode
Definition: zego-api-defines.h:1050
@ AEC_MODE_AGGRESSIVE
Definition: zego-api-defines.h:1054
@ AEC_MODE_SOFT
Definition: zego-api-defines.h:1062
@ AEC_MODE_AI
Definition: zego-api-defines.h:1066
@ AEC_MODE_MEDIUM
Definition: zego-api-defines.h:1058
ZEGOAVKIT_API const char * kZegoResourceType
AudioVADType
Definition: zego-api-defines.h:1359
@ AudioVADTypeSpeech
Definition: zego-api-defines.h:1363
@ AudioVADTypeNoise
Definition: zego-api-defines.h:1361
ZegoTaskType
Definition: zego-api-defines.h:282
@ TASK_NORMAL
Definition: zego-api-defines.h:283
@ TASK_DELAY
Definition: zego-api-defines.h:284
ZegoVideoCodecAvc
Definition: zego-api-defines.h:93
@ VIDEO_CODEC_VP8
VP8编码
Definition: zego-api-defines.h:97
@ VIDEO_CODEC_H264_DUAL_STREAM
H264 大小流分层编码,支持硬编
Definition: zego-api-defines.h:99
@ VIDEO_CODEC_H265
H265.
Definition: zego-api-defines.h:98
@ VIDEO_CODEC_UNKNOWN
未知编码格式
Definition: zego-api-defines.h:100
@ VIDEO_CODEC_DEFAULT
默认编码,不支持分层编码
Definition: zego-api-defines.h:94
@ VIDEO_CODEC_MULTILAYER
分层编码 要达到和VIDEO_CODEC_DEFAULT相同的编码质量,建议码率和VIDEO_CODEC_DEFAULT相比增加20左右
Definition: zego-api-defines.h:95
ZegoVideoViewMode
Definition: zego-api-defines.h:80
@ ZegoVideoViewModeScaleAspectFill
等比缩放填充整View,可能有部分被裁减
Definition: zego-api-defines.h:82
@ ZegoVideoViewModeScaleToFill
填充整个View
Definition: zego-api-defines.h:83
@ ZegoVideoViewModeScaleAspectFit
等比缩放,可能有黑边,SDK 默认值
Definition: zego-api-defines.h:81
Definition: AVDefines.h:17
Definition: zego-api-defines.h:122
DeviceInfo()
Definition: zego-api-defines.h:126
char szDeviceId[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:123
char szDeviceName[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:124
Definition: zego-api-defines.h:132
int fps
Definition: zego-api-defines.h:135
int width
Definition: zego-api-defines.h:134
int height
Definition: zego-api-defines.h:133
DeviceVideoCapabilityInfo()
Definition: zego-api-defines.h:137
Definition: zego-api-defines.h:594
const char * arrKeys[ZEGO_MAX_EVENT_INFO_COUNT]
Definition: zego-api-defines.h:596
unsigned int uiInfoCount
Definition: zego-api-defines.h:595
EventInfo()
Definition: zego-api-defines.h:599
const char * arrValues[ZEGO_MAX_EVENT_INFO_COUNT]
Definition: zego-api-defines.h:597
Definition: zego-api-defines.h:857
double vrndFps
视频帧率(渲染)
Definition: zego-api-defines.h:861
unsigned int audioCumulativeDecodeTime
累计音频解码时长(ms)
Definition: zego-api-defines.h:900
int width
视频宽度
Definition: zego-api-defines.h:883
double cpuTotalUsage
当前系统的 CPU 使用率
Definition: zego-api-defines.h:891
int peerToPeerPktLostRate
端到端丢包率(0~255)
Definition: zego-api-defines.h:875
double audioCumulativeBreakRate
累计音频卡比例(%)
Definition: zego-api-defines.h:901
double vdjFps
视频帧率(dejitter)
Definition: zego-api-defines.h:859
unsigned int videoCumulativeBreakTime
累计视频卡顿时长(ms)
Definition: zego-api-defines.h:903
int avTimestampDiff
音画不同步, 单位毫秒, 小于0表示视频超前音频的毫秒数, 大于0表示视频滞后音频的毫秒数, 等于0表示无差别. 当绝对值小于200,可基本认为音画同步,当绝对值连续10秒大于200可以认为异常
Definition: zego-api-defines.h:896
double mos
音质评分。-1 表示未知。小于 2 表示音质非常差,杂音频现,大量语义丢失,完全无法交流。2 到 2.5 表示音质很差,偶有杂音,部分语义丢失,难以交流。2.5 到 3 表示音质较差,卡顿频繁,需要集中...
Definition: zego-api-defines.h:879
unsigned int videoCumulativeBreakCount
累计视频卡顿次数
Definition: zego-api-defines.h:902
int delay
语音延迟(ms)
Definition: zego-api-defines.h:877
int muteAudio
Definition: zego-api-defines.h:907
double kbps
视频码率(kb/s)
Definition: zego-api-defines.h:862
double vdecFps
视频帧率(解码)
Definition: zego-api-defines.h:860
double videoBytes
已接收的视频字节数
Definition: zego-api-defines.h:888
double adjFps
音频帧率(dejitter)
Definition: zego-api-defines.h:865
PlayQuality()
Definition: zego-api-defines.h:909
double adecFps
音频帧率(解码)
Definition: zego-api-defines.h:866
double fps
视频帧率(网络接收)
Definition: zego-api-defines.h:858
double totalBytes
已接收的总字节数,包括音频、视频及媒体次要信息等
Definition: zego-api-defines.h:886
double audioBreakRate
音频卡顿次数
Definition: zego-api-defines.h:870
int quality
质量(0~3)
Definition: zego-api-defines.h:876
unsigned int audioCumulativeBreakTime
累计音频卡顿时长(ms)
Definition: zego-api-defines.h:899
double audioBytes
已接收的音频字节数
Definition: zego-api-defines.h:887
int rtt
延时(ms)
Definition: zego-api-defines.h:872
double afps
音频帧率(网络接收)
Definition: zego-api-defines.h:864
unsigned int audioCumulativeBreakCount
累计音频卡顿次数
Definition: zego-api-defines.h:898
double memoryTotalUsage
当前系统的内存使用率
Definition: zego-api-defines.h:894
double memoryAppUsed
当前 APP 的内存使用量,单位 MB
Definition: zego-api-defines.h:895
double videoCumulativeBreakRate
累计视频卡比例(%)
Definition: zego-api-defines.h:905
int videoCodecId
视频解码格式(参考ZegoVideoCodecAvc)
Definition: zego-api-defines.h:882
int peerToPeerDelay
端到端延迟
Definition: zego-api-defines.h:874
double arndFps
音频帧率(渲染)
Definition: zego-api-defines.h:867
double videoBreakRate
视频卡顿次数
Definition: zego-api-defines.h:871
double cpuAppUsage
当前 APP 的 CPU 使用率
Definition: zego-api-defines.h:890
double memoryAppUsage
当前 APP 的内存使用率
Definition: zego-api-defines.h:893
unsigned int videoCumulativeDecodeTime
累计视频解码时长(ms)
Definition: zego-api-defines.h:904
double akbps
音频码率(kb/s)
Definition: zego-api-defines.h:868
bool isHardwareVdec
是否硬解
Definition: zego-api-defines.h:881
int height
视频高度
Definition: zego-api-defines.h:884
int muteVideo
Definition: zego-api-defines.h:906
int pktLostRate
丢包率(0~255)
Definition: zego-api-defines.h:873
Definition: zego-api-defines.h:795
double cfps
视频帧率(采集)
Definition: zego-api-defines.h:796
int width
视频宽度
Definition: zego-api-defines.h:811
int height
视频高度
Definition: zego-api-defines.h:812
double audioBytes
已发送的音频字节数
Definition: zego-api-defines.h:815
double memoryAppUsed
当前 APP 的内存使用量,单位 MB
Definition: zego-api-defines.h:823
bool isHardwareVenc
是否硬编
Definition: zego-api-defines.h:809
double acapFps
音频帧率(采集)
Definition: zego-api-defines.h:801
double cpuTotalUsage
当前系统的 CPU 使用率
Definition: zego-api-defines.h:819
int videoCodecId
视频编码格式(参考ZegoVideoCodecAvc)
Definition: zego-api-defines.h:810
int pktLostRate
丢包率(0~255)
Definition: zego-api-defines.h:806
double kbps
视频码率(kb/s)
Definition: zego-api-defines.h:799
int rtt
延时(ms)
Definition: zego-api-defines.h:805
double fps
视频帧率(网络发送)
Definition: zego-api-defines.h:798
int quality
质量(0~3)
Definition: zego-api-defines.h:807
double cpuAppUsage
当前 APP 的 CPU 使用率
Definition: zego-api-defines.h:818
double totalBytes
已发送的总字节数,包括音频、视频及媒体次要信息等
Definition: zego-api-defines.h:814
double videoBytes
已发送的视频字节数
Definition: zego-api-defines.h:816
double memoryAppUsage
当前 APP 的内存使用率
Definition: zego-api-defines.h:821
double vencFps
视频帧率(编码)
Definition: zego-api-defines.h:797
double afps
音频帧率(网络发送)
Definition: zego-api-defines.h:802
PublishQuality()
Definition: zego-api-defines.h:825
double memoryTotalUsage
当前系统的内存使用率
Definition: zego-api-defines.h:822
double akbps
音频码率(kb/s)
Definition: zego-api-defines.h:803
Definition: zego-api-defines.h:1902
double totalTxBandwidth
上行总带宽
Definition: zego-api-defines.h:1903
int avgRxRtt
下行平均延时(ms)
Definition: zego-api-defines.h:1907
RtcStatsInfo()
Definition: zego-api-defines.h:1911
double totalRxBandwidth
下行总带宽
Definition: zego-api-defines.h:1906
int avgRxPacketLossRate
下行平均丢包率(0~255)
Definition: zego-api-defines.h:1908
int avgPeerToPeerDelay
下行平均抖动(ms)
Definition: zego-api-defines.h:1909
int avgTxPacketLossRate
上行平均丢包率(0~255)
Definition: zego-api-defines.h:1905
int avgTxRtt
上行平均延时(ms)
Definition: zego-api-defines.h:1904
Definition: zego-api-defines.h:1031
unsigned char soundLevel
Definition: zego-api-defines.h:1041
SoundLevelInfo()
Definition: zego-api-defines.h:1043
unsigned int soundLevelID
Definition: zego-api-defines.h:1037
Definition: zego-api-defines.h:619
ZegoAdaptiveVideoConfig()
Definition: zego-api-defines.h:632
int minEncodeHeight
动态调整允许的最小分辨率高,编码高不会低于此设定值,单位 px。默认为 240。
Definition: zego-api-defines.h:627
int preference
自适应视频配置偏好,0 流畅优先,1 清晰优先,2 均衡模式。默认为 2。
Definition: zego-api-defines.h:621
int minFPS
动态调整允许的最小视频帧率,编码帧率不会低于此设定值,单位 fps。默认为 10。
Definition: zego-api-defines.h:630
int minEncodeWidth
动态调整允许的最小分辨率宽,编码宽不会低于此设定值,单位 px。默认为 240。
Definition: zego-api-defines.h:624
Definition: zego-api-defines.h:1676
int channel
Definition: zego-api-defines.h:1698
int sampleRate
Definition: zego-api-defines.h:1689
Definition: zego-api-defines.h:1611
int color
Definition: zego-api-defines.h:1616
ZegoBackgroundConfig()
Definition: zego-api-defines.h:1627
const char * videoURL
Definition: zego-api-defines.h:1622
ZegoBackgroundProcessType processType
Definition: zego-api-defines.h:1613
const char * imageURL
Definition: zego-api-defines.h:1619
ZegoBackgroundBlurLevel blurLevel
Definition: zego-api-defines.h:1625
Definition: zego-api-defines.h:1432
ZegoCDNPublishTarget()
Definition: zego-api-defines.h:1459
int quic_version_list_count
Definition: zego-api-defines.h:1452
const char ** quic_version_list
Definition: zego-api-defines.h:1448
ZegoCDNProtocol * protocol_ordered_list
Definition: zego-api-defines.h:1440
int protocol_ordered_list_count
Definition: zego-api-defines.h:1444
const char * url
Definition: zego-api-defines.h:1436
int quic_connect_mode
Definition: zego-api-defines.h:1457
Definition: zego-api-defines.h:1226
int isHardware
Definition: zego-api-defines.h:1234
ZegoVideoCodecAvc codecId
Definition: zego-api-defines.h:1230
ZegoCodecCapabilityInfo()
Definition: zego-api-defines.h:1236
色彩增强参数
Definition: zego-api-defines.h:1753
float intensity
Definition: zego-api-defines.h:1755
float lipColorProtectionLevel
Definition: zego-api-defines.h:1761
ZegoColorEnhancementParams()
Definition: zego-api-defines.h:1763
float skinToneProtectionLevel
Definition: zego-api-defines.h:1758
Definition: zego-api-defines.h:426
char szOutputStream[ZEGO_MAX_URL_LEN]
Definition: zego-api-defines.h:427
int nOutputAudioConfig
Definition: zego-api-defines.h:437
int nOutputAudioBitrate
Definition: zego-api-defines.h:432
int nOutputWidth
Definition: zego-api-defines.h:434
int nOutputBackgroundColor
Definition: zego-api-defines.h:447
bool bOutputIsUrl
Definition: zego-api-defines.h:428
ZegoMixStreamConfig * pInputStreamList
Definition: zego-api-defines.h:439
int nChannels
Definition: zego-api-defines.h:445
int nExtra
Definition: zego-api-defines.h:452
bool bWithSoundLevel
Definition: zego-api-defines.h:450
int nOutputBitrate
Definition: zego-api-defines.h:431
int nOutputFps
Definition: zego-api-defines.h:430
ZegoCompleteMixStreamConfig()
Definition: zego-api-defines.h:454
int nInputStreamCount
Definition: zego-api-defines.h:440
int nOutputHeight
Definition: zego-api-defines.h:435
const char * pOutputBackgroundImage
Definition: zego-api-defines.h:448
int nLenOfUserData
Definition: zego-api-defines.h:443
const unsigned char * pUserData
Definition: zego-api-defines.h:442
Definition: zego-api-defines.h:1839
char path[ZEGO_MAX_PATH_LEN]
Definition: zego-api-defines.h:1841
ZegoDummyCaptureImageParams()
Definition: zego-api-defines.h:1846
ZegoDummyCaptureImageMode mode
Definition: zego-api-defines.h:1844
Definition: zego-api-defines.h:1742
ZegoDumpDataConfig()
Definition: zego-api-defines.h:1746
ZegoDumpDataType data_type
Definition: zego-api-defines.h:1744
Definition: zego-api-defines.h:1888
ZegoFaceDetectionInfo()
Definition: zego-api-defines.h:1894
int facePositionInfoListSize
Definition: zego-api-defines.h:1891
int imageHeight
Definition: zego-api-defines.h:1890
const ZegoFacePositionInfo * facePositionInfoList
Definition: zego-api-defines.h:1892
int imageWidth
Definition: zego-api-defines.h:1889
Definition: zego-api-defines.h:1884
ZegoRect position
Definition: zego-api-defines.h:1885
Definition: zego-api-defines.h:311
ZegoFontType type
Definition: zego-api-defines.h:315
int color
Definition: zego-api-defines.h:324
ZegoFontStyle()
Definition: zego-api-defines.h:339
int borderColor
Definition: zego-api-defines.h:337
bool border
Definition: zego-api-defines.h:332
int size
Definition: zego-api-defines.h:319
int transparency
Definition: zego-api-defines.h:328
Definition: zego-api-defines.h:670
const char * value
Definition: zego-api-defines.h:674
const char * key
Definition: zego-api-defines.h:672
Definition: zego-api-defines.h:346
int left
Definition: zego-api-defines.h:348
ZegoLabelInfo()
Definition: zego-api-defines.h:352
ZegoFontStyle font
Definition: zego-api-defines.h:350
int top
Definition: zego-api-defines.h:349
char text[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:347
Definition: zego-api-defines.h:1874
ZegoLowlightEnhanceParams()
Definition: zego-api-defines.h:1878
ZegoLowlightEnhanceType type
Definition: zego-api-defines.h:1876
ZegoLowlightEnhanceMode mode
Definition: zego-api-defines.h:1875
混流指定输出流的房间信息失败信息
Definition: zego-api-defines.h:388
char szStreamID[ZEGO_MAX_URL_LEN]
混流输出流ID
Definition: zego-api-defines.h:389
char szRoomID[ZEGO_MAX_ROOMID_LEN]
混流指定输出流的房间ID
Definition: zego-api-defines.h:390
Definition: zego-api-defines.h:358
int displayMode
Definition: zego-api-defines.h:379
ZegoMixImageInfo()
Definition: zego-api-defines.h:381
char url[ZEGO_MAX_URL_LEN]
Definition: zego-api-defines.h:366
混流图层信息
Definition: zego-api-defines.h:394
int top
Definition: zego-api-defines.h:397
ZegoMixStreamConfig()
Definition: zego-api-defines.h:406
unsigned int uSoundLevelID
音浪ID,用于标识用户,注意大小是32位无符号数
Definition: zego-api-defines.h:402
int nVolume
输入流音量, 有效值范围 [0, 200], 默认值 100
Definition: zego-api-defines.h:404
int left
Definition: zego-api-defines.h:398
char szStreamID[ZEGO_MAX_URL_LEN]
混流ID
Definition: zego-api-defines.h:395
int right
Definition: zego-api-defines.h:400
int nContentControl
推流内容控制,0表示音视频都要,1表示只要音频,2表示只要视频。默认值:0。
Definition: zego-api-defines.h:403
int bottom
Definition: zego-api-defines.h:399
struct ZEGO::AV::ZegoMixStreamConfig::@2 layout
Definition: zego-api-defines.h:493
const ZegoMixErrorTargetRoomInfo * ppErrorTargetRoomList[ZEGO_MAX_MIX_OUTPUT_COUNT]
Definition: zego-api-defines.h:521
ZegoMixStreamResultEx()
Definition: zego-api-defines.h:531
ZegoStreamInfo * pStreamInfoList
Definition: zego-api-defines.h:529
int nImageErrorStreamCount
Definition: zego-api-defines.h:509
const char * ppNonExistsStreamIDList[ZEGO_MAX_MIX_INPUT_COUNT]
Definition: zego-api-defines.h:505
int nErrorTargetRoomCount
Definition: zego-api-defines.h:517
const char * ppImageErrorStreamIDList[ZEGO_MAX_MIX_INPUT_COUNT]
Definition: zego-api-defines.h:513
int nStreamInfoCount
Definition: zego-api-defines.h:525
unsigned int uiErrorCode
Definition: zego-api-defines.h:497
int nNonExistsStreamCount
Definition: zego-api-defines.h:501
Definition: zego-api-defines.h:467
ZegoStreamInfo oStreamInfo
Definition: zego-api-defines.h:483
const char * ppNonExistsStreamIDList[ZEGO_MAX_MIX_INPUT_COUNT]
Definition: zego-api-defines.h:479
unsigned int uiErrorCode
Definition: zego-api-defines.h:471
int nNonExistsStreamCount
Definition: zego-api-defines.h:475
ZegoMixStreamResult()
Definition: zego-api-defines.h:485
Definition: zego-api-defines.h:1635
ZegoObjectSegmentationConfig()
Definition: zego-api-defines.h:1642
ZegoObjectSegmentationType objectSegmentationType
Definition: zego-api-defines.h:1637
ZegoBackgroundConfig backgroundConfig
Definition: zego-api-defines.h:1640
Definition: zego-api-defines.h:963
ZegoPlayStats()
Definition: zego-api-defines.h:968
double rxKBitrate
下行总码率(kb/s)
Definition: zego-api-defines.h:964
double rxVideoKBitrate
下行视频码率(kb/s)
Definition: zego-api-defines.h:966
double rxAudioKBitrate
下行音频码率(kb/s)
Definition: zego-api-defines.h:965
Definition: zego-api-defines.h:552
const char * hostName
代理域名(ip、域名 二选一)
Definition: zego-api-defines.h:555
const char * userName
代理鉴权用户名
Definition: zego-api-defines.h:556
const char * password
代理鉴权密码
Definition: zego-api-defines.h:557
const char * ip
代理 ip
Definition: zego-api-defines.h:553
ZegoProxyInfo()
Definition: zego-api-defines.h:559
unsigned int port
代理端口
Definition: zego-api-defines.h:554
Definition: zego-api-defines.h:1657
int encodeWidth
Definition: zego-api-defines.h:1659
int fps
Definition: zego-api-defines.h:1661
ZegoPublishDualStreamConfig()
Definition: zego-api-defines.h:1664
int bitrate
Definition: zego-api-defines.h:1662
int encodeHeight
Definition: zego-api-defines.h:1660
VideoStreamLayer layer
Definition: zego-api-defines.h:1658
Definition: zego-api-defines.h:1332
int left
Definition: zego-api-defines.h:1333
ZegoRect()
Definition: zego-api-defines.h:1338
int right
Definition: zego-api-defines.h:1335
int top
Definition: zego-api-defines.h:1334
int bottom
Definition: zego-api-defines.h:1336
Definition: zego-api-defines.h:1704
unsigned int microphoneVolume
Definition: zego-api-defines.h:1712
struct ZegoRect cropRect
Definition: zego-api-defines.h:1721
bool captureVideo
Definition: zego-api-defines.h:1706
ZegoScreenCaptureConfig()
Definition: zego-api-defines.h:1723
struct ZegoAudioFrameParam audioParam
Definition: zego-api-defines.h:1718
unsigned int applicationVolume
Definition: zego-api-defines.h:1715
bool captureAudio
Definition: zego-api-defines.h:1709
Definition: zego-api-defines.h:1346
int width
Definition: zego-api-defines.h:1347
ZegoSize()
Definition: zego-api-defines.h:1350
int height
Definition: zego-api-defines.h:1348
Definition: zego-api-defines.h:678
unsigned int info_count
Definition: zego-api-defines.h:680
ZegoItem info[ZEGO_MAX_EVENT_INFO_COUNT]
Definition: zego-api-defines.h:682
Definition: zego-api-defines.h:172
char * arrRtmpURLs[ZEGO_MAX_URL_COUNT]
Definition: zego-api-defines.h:197
unsigned int uiFlvURLCount
Definition: zego-api-defines.h:209
unsigned int uiRtmpURLCount
Definition: zego-api-defines.h:201
char * arrFlvRULs[ZEGO_MAX_URL_COUNT]
Definition: zego-api-defines.h:205
char * arrHlsURLs[ZEGO_MAX_URL_COUNT]
Definition: zego-api-defines.h:213
ZegoStreamInfo()
Definition: zego-api-defines.h:173
char szStreamID[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:189
char szMixStreamID[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:193
unsigned int uiHlsURLCount
Definition: zego-api-defines.h:217
Definition: zego-api-defines.h:242
char rtmpURL[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:250
ZegoStreamRelayCDNInfo()
Definition: zego-api-defines.h:243
unsigned int stateTime
Definition: zego-api-defines.h:253
ZegoStreamRelayCDNState state
Definition: zego-api-defines.h:251
ZegoStreamRelayCDNDetail detail
Definition: zego-api-defines.h:252
Definition: zego-api-defines.h:162
char szName[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:164
ZegoUser()
Definition: zego-api-defines.h:166
char szId[ZEGO_MAX_COMMON_LEN]
Definition: zego-api-defines.h:163
Definition: zego-api-defines.h:1817
ZegoVideoDenoiseMode mode
Definition: zego-api-defines.h:1818
ZegoVideoDenoiseParams()
Definition: zego-api-defines.h:1821
ZegoVideoDenoiseStrength strength
Definition: zego-api-defines.h:1819
Definition: zego-api-defines.h:1545
ZegoView()
Definition: zego-api-defines.h:1549
void * view
view 对象
Definition: zego-api-defines.h:1546
bool alphaBlend
是否进行 alpha 混合图层渲染
Definition: zego-api-defines.h:1547
ZEGOAVKIT_API void zego_stream_extra_info_add_rtmp_url_with_custom_params(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count, ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode, const char *custom_params)
ZEGOAVKIT_API void zego_stream_extra_info_set_params(struct ZegoStreamExtraPlayInfo *info, const char *params)
ZEGOAVKIT_API struct ZegoStreamExtraPlayInfo * zego_stream_extra_info_create()
ZEGOAVKIT_API void zego_stream_extra_info_set_play_mode(struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoStreamResourceMode mode)
ZEGOAVKIT_API void zego_stream_extra_info_set_source_resource_type(struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoResourceType sourceResourceType)
#define ZEGO_MAX_ROOMID_LEN
Definition: zego-api-defines.h:19
ZEGOAVKIT_API void zego_stream_extra_info_add_adaptive_template(struct ZegoStreamExtraPlayInfo *info, int template_id)
ZEGOAVKIT_API void zego_stream_extra_info_destroy(struct ZegoStreamExtraPlayInfo *info)
ZEGOAVKIT_API void zego_stream_extra_info_add_rtmp_url(struct ZegoStreamExtraPlayInfo *info, const char *url)
#define ZEGO_MAX_URL_LEN
Definition: zego-api-defines.h:18
ZEGOAVKIT_API void zego_stream_extra_info_add_flv_url_with_quic_mode_param_ex(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count, ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode)
ZEGOAVKIT_API void zego_stream_extra_info_should_switch_server(struct ZegoStreamExtraPlayInfo *info, bool should)
ZEGOAVKIT_API void zego_stream_extra_info_set_codec_template_id(struct ZegoStreamExtraPlayInfo *info, int codec_template_id)
#define ZEGO_MAX_EVENT_INFO_COUNT
Definition: zego-api-defines.h:13
ZEGOAVKIT_API void zego_stream_extra_info_add_flv_url_with_param_ex(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count, ZEGO::AV::ZegoSupportHttpDNS httpdns)
ZEGOAVKIT_API void zego_stream_extra_info_add_flv_url_with_custom_params(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count, ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode, const char *custom_params)
ZEGOAVKIT_API void zego_stream_extra_info_set_video_codec_id(struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoVideoCodecAvc videoCodecID)
ZEGOAVKIT_API void zego_stream_extra_info_enable_adaptive_switch(struct ZegoStreamExtraPlayInfo *info, int enable)
#define ZEGO_MAX_MIX_OUTPUT_COUNT
Definition: zego-api-defines.h:15
ZEGOAVKIT_API void zego_stream_extra_info_enable_auto_switch_when_publish(struct ZegoStreamExtraPlayInfo *info, bool enable)
ZEGOAVKIT_API void zego_stream_extra_info_set_cross_app_info(struct ZegoStreamExtraPlayInfo *info, unsigned int appid, const unsigned char *token, int tokenlen)
#define ZEGO_MAX_MIX_INPUT_COUNT
Definition: zego-api-defines.h:14
ZEGOAVKIT_API void zego_stream_extra_info_add_rtmp_url_with_param_ex(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count, ZEGO::AV::ZegoSupportHttpDNS httpdns)
#define ZEGO_MAX_PATH_LEN
Definition: zego-api-defines.h:20
#define ZEGO_MAX_COMMON_LEN
Definition: zego-api-defines.h:11
#define ZEGO_MAX_URL_COUNT
Definition: zego-api-defines.h:12
ZEGOAVKIT_API void zego_stream_extra_info_set_decrypt_key(struct ZegoStreamExtraPlayInfo *info, const unsigned char *key, int keylen)
ZEGOAVKIT_API void zego_stream_extra_info_add_flv_url(struct ZegoStreamExtraPlayInfo *info, const char *url)
ZEGOAVKIT_API void zego_stream_extra_info_set_play_resource_type_when_stop_publish(struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoPlayResourceType type)
ZEGOAVKIT_API void zego_stream_extra_info_set_custom_resource_type(struct ZegoStreamExtraPlayInfo *info, ZEGO::AV::ZegoResourceType before_publish, ZEGO::AV::ZegoResourceType publishing, ZEGO::AV::ZegoResourceType after_publish)
ZEGOAVKIT_API void zego_stream_extra_info_add_rtmp_url_with_param(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count)
#define ZEGOAVKIT_API
Definition: zego-api-defines.h:59
ZEGOAVKIT_API void zego_stream_extra_info_add_flv_url_with_param(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count)
ZEGOAVKIT_API void zego_stream_extra_info_add_rtmp_url_with_quic_mode_param_ex(struct ZegoStreamExtraPlayInfo *info, const char *url, ZEGO::AV::ZegoCDNProtocol protocol, const char **quic_version_list, const int quic_version_list_count, ZEGO::AV::ZegoSupportHttpDNS httpdns, int quicConnectMode)