1#ifndef zego_api_camera_h
2#define zego_api_camera_h
7#include "TargetConditionals.h"
14#if defined(ANDROID) || defined(_OS_OHOS_)
16 enum ZegoAVAPIFocusMode
22 ZEGO_FOCUS_MODE_AUTO = 0,
27 ZEGO_FOCUS_MODE_INFINITY = 1,
33 ZEGO_FOCUS_MODE_MACRO = 2,
40 ZEGO_FOCUS_MODE_FIXED = 3,
46 ZEGO_FOCUS_MODE_EDOF = 4,
50 ZEGO_FOCUS_MODE_CONTINUOUS_VIDEO = 5,
56 ZEGO_FOCUS_MODE_AUTO_FOCUS_COMMON = 8,
61 ZEGO_FOCUS_MODE_CONTINUOUS_AUTO_FOCUS_COMMON = 9
65 enum ZegoAVAPIExposureMode
67 ZEGO_EXPOSURE_MODE_AUTO = 0,
68 ZEGO_EXPOURE_MODE_CUSTOM = 1,
70 ZEGO_EXPOSURE_MODE_AUTO_EXPOSURE_COMMON = 4,
71 ZEGO_EXPOSURE_MODE_CONTINUOUS_AUTO_EXPOSURE_COMMON = 5
118 enum ZegoAVAPIFocusMode
121 ZegoAVAPIFocusModeLocked = 0,
123 ZegoAVAPIFocusModeAutoFocus = 1,
125 ZegoAVAPIFocusModeContinuousAutoFocus = 2,
128 ZegoAVAPIFocusModeAutoFocusCommon = 8,
130 ZegoAVAPIFocusModeContinuousAutoFocusCommon = 9
134 enum ZegoAVAPIExposureMode
137 ZegoAVAPIExposureModeLocked = 0,
139 ZegoAVAPIExposureModeAutoExpose = 1,
141 ZegoAVAPIExposureModeContinuousAutoExposure = 2,
144 ZegoAVAPIExposureModeAutoExposeCommon = 4,
146 ZegoAVAPIExposureModeContinuousAutoExposureCommon = 5
174#if TARGET_OS_IPHONE || defined(ANDROID) || defined(_OS_OHOS_)
PublishChannelIndex
Definition: zego-api-defines.h:976
@ PUBLISH_CHN_MAIN
Definition: zego-api-defines.h:977
ZEGOAVKIT_API void EnableCamAdaptiveFPS(bool enable, int minFPS, int maxFPS, AV::PublishChannelIndex index=AV::PUBLISH_CHN_MAIN)
Definition: AVDefines.h:17
#define ZEGOAVKIT_API
Definition: zego-api-defines.h:59