Agora C++ API Reference for All Platforms
Public Member Functions | List of all members
agora::rtc::ICameraCapturerEx Class Referenceabstract

Inherits agora::rtc::ICameraCapturer.

Public Member Functions

virtual ~ICameraCapturerEx ()
 
virtual void setPreviewInfo (const PreviewMetaInfo &info)
 
virtual void setCameraOutputDataType (CAMERA_OUTPUT_DATA_TYPE type)=0
 
virtual CAMERA_OUTPUT_DATA_TYPE getCameraOutputDataType ()=0
 
virtual void setCameraSelected (int module_selected)=0
 
virtual void setCameraSelectedLevel (int camera_selected_level)=0
 
virtual void setCameraPqFirst (bool pq_first)=0
 
virtual void setCameraDropCount (int dropcount)=0
 
virtual void setHDRCaptureEnable (bool enableHDRCapture)=0
 
virtual void setColorSpaceInfo (webrtc::ColorSpace colorSpace)=0
 
virtual std::string getDeviceId ()=0
 
virtual void setOutputFormat (const rtc::VideoFormat &format, bool fixed=false)=0
 
virtual void enableRegulator (bool enable)=0
 
virtual bool regulatorEnabled ()=0
 
- Public Member Functions inherited from agora::rtc::ICameraCapturer
virtual int setCameraSource (CAMERA_SOURCE source)=0
 
virtual CAMERA_SOURCE getCameraSource ()=0
 
virtual void switchCamera ()=0
 
virtual bool isZoomSupported ()=0
 
virtual int32_t setCameraZoom (float zoomValue)=0
 
virtual float getCameraMaxZoom ()=0
 
virtual bool isFocusSupported ()=0
 
virtual int32_t setCameraFocus (float x, float y)=0
 
virtual bool isAutoFaceFocusSupported ()=0
 
virtual int32_t setCameraAutoFaceFocus (bool enable)=0
 
virtual int32_t enableFaceDetection (bool enable)=0
 
virtual bool isCameraFaceDetectSupported ()=0
 
virtual bool isCameraTorchSupported ()=0
 
virtual int setCameraTorchOn (bool isOn)=0
 
virtual bool isCameraExposurePositionSupported ()=0
 
virtual int setCameraExposurePosition (float positionXinView, float positionYinView)=0
 
virtual bool enableMultiCamera (bool enable)=0
 
virtual bool isCameraAutoExposureFaceModeSupported ()=0
 
virtual int setCameraAutoExposureFaceModeEnabled (bool enabled)=0
 
virtual IDeviceInfocreateDeviceInfo ()=0
 
virtual int initWithDeviceId (const char *deviceId)=0
 
virtual int initWithDeviceName (const char *deviceName)=0
 
virtual void setDeviceOrientation (VIDEO_ORIENTATION orientation)=0
 
virtual void setCaptureFormat (const VideoFormat &capture_format)=0
 
virtual VideoFormat getCaptureFormat ()=0
 
virtual int registerCameraObserver (ICameraCaptureObserver *observer)=0
 
virtual int unregisterCameraObserver (ICameraCaptureObserver *observer)=0
 
- Public Member Functions inherited from agora::RefCountInterface
virtual void AddRef () const =0
 
virtual RefCountReleaseStatus Release () const =0
 
virtual bool HasOneRef () const =0
 

Additional Inherited Members

- Public Types inherited from agora::rtc::ICameraCapturer
enum  CAMERA_SOURCE { CAMERA_BACK, CAMERA_FRONT }
 
enum  CAMERA_STATE { CAMERA_STARTED, CAMERA_STOPPED }
 
- Protected Member Functions inherited from agora::rtc::ICameraCapturer
 ~ICameraCapturer ()
 
- Protected Member Functions inherited from agora::RefCountInterface
virtual ~RefCountInterface ()
 

Constructor & Destructor Documentation

◆ ~ICameraCapturerEx()

virtual agora::rtc::ICameraCapturerEx::~ICameraCapturerEx ( )
inlinevirtual

Member Function Documentation

◆ setPreviewInfo()

virtual void agora::rtc::ICameraCapturerEx::setPreviewInfo ( const PreviewMetaInfo info)
inlinevirtual

◆ setCameraOutputDataType()

virtual void agora::rtc::ICameraCapturerEx::setCameraOutputDataType ( CAMERA_OUTPUT_DATA_TYPE  type)
pure virtual

◆ getCameraOutputDataType()

virtual CAMERA_OUTPUT_DATA_TYPE agora::rtc::ICameraCapturerEx::getCameraOutputDataType ( )
pure virtual

◆ setCameraSelected()

virtual void agora::rtc::ICameraCapturerEx::setCameraSelected ( int  module_selected)
pure virtual

◆ setCameraSelectedLevel()

virtual void agora::rtc::ICameraCapturerEx::setCameraSelectedLevel ( int  camera_selected_level)
pure virtual

◆ setCameraPqFirst()

virtual void agora::rtc::ICameraCapturerEx::setCameraPqFirst ( bool  pq_first)
pure virtual

◆ setCameraDropCount()

virtual void agora::rtc::ICameraCapturerEx::setCameraDropCount ( int  dropcount)
pure virtual

◆ setHDRCaptureEnable()

virtual void agora::rtc::ICameraCapturerEx::setHDRCaptureEnable ( bool  enableHDRCapture)
pure virtual

◆ setColorSpaceInfo()

virtual void agora::rtc::ICameraCapturerEx::setColorSpaceInfo ( webrtc::ColorSpace  colorSpace)
pure virtual

◆ getDeviceId()

virtual std::string agora::rtc::ICameraCapturerEx::getDeviceId ( )
pure virtual

◆ setOutputFormat()

virtual void agora::rtc::ICameraCapturerEx::setOutputFormat ( const rtc::VideoFormat format,
bool  fixed = false 
)
pure virtual

◆ enableRegulator()

virtual void agora::rtc::ICameraCapturerEx::enableRegulator ( bool  enable)
pure virtual

◆ regulatorEnabled()

virtual bool agora::rtc::ICameraCapturerEx::regulatorEnabled ( )
pure virtual