8#ifndef zego_api_defines_h
9#define zego_api_defines_h
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)
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)
26#define ZEGO_MIN_LOG_SIZE (1048576)
27#define ZEGO_MAX_LOG_SIZE (104857600)
28#define ZEGO_MIN_LOG_FILE_COUNT (3)
29#define ZEGO_MAX_LOG_FILE_COUNT (20)
31#define ZEGO_MAX_ROOM_EXTRA_INFO_KEY_LEN (128)
32#define ZEGO_MAX_ROOM_EXTRA_INFO_VALUE_LEN (4096)
38#if defined(_MSC_VER) || defined(__BORLANDC__)
41#define _I64uw_ L"%llu" L
42#define _i64uw_ L"%llu" L
46#define _I64uw_ L"%llu" L
47#define _i64uw_ L"%llu" L
49#define __int64 long long
54#ifdef ZEGOAVKIT_EXPORTS
55#define ZEGOAVKIT_API __declspec(dllexport)
56#elif defined(ZEGOAVKIT_STATIC)
59#define ZEGOAVKIT_API __declspec(dllimport)
64#define ZEGOAVKIT_API __attribute__((visibility("default")))
68#define ZEGO_DEPRECATED
685#if defined(WIN32) || defined(ANDROID) || defined(_OS_OHOS_)
1928struct ZegoStreamExtraPlayInfo;
1937 const char **quic_version_list,
const int quic_version_list_count);
1940 const char **quic_version_list,
const int quic_version_list_count,
1945 const char **quic_version_list,
const int quic_version_list_count,
1950 const char **quic_version_list,
const int quic_version_list_count,
1957 const char **quic_version_list,
const int quic_version_list_count);
1960 const char **quic_version_list,
const int quic_version_list_count,
1965 const char **quic_version_list,
const int quic_version_list_count,
1970 const char **quic_version_list,
const int quic_version_list_count,
1974 const char *params);
1976 const unsigned char *key,
int keylen);
1979 const unsigned char *token,
1994 int codec_template_id);
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: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)