#include <video_capture.h>
◆ EnableTorch()
virtual int AVE::SupportsVideoCapture::EnableTorch |
( |
bool |
bEnable | ) |
|
|
pure virtual |
打开闪光灯
- Parameters
-
bEnable | true表示打开,false表示关闭 |
- Note
- SDK EnableTorch异步调用
-
可以不实现
◆ SetCaptureRotation()
virtual int AVE::SupportsVideoCapture::SetCaptureRotation |
( |
int |
nRotation | ) |
|
|
pure virtual |
设置采集buffer的顺时针旋转角度
- Parameters
-
- Note
- SDK SetDisplayRotation 异步调用,主要用于修复移动端的横竖屏旋转问题
-
可以不实现
◆ SetFrameRate()
virtual int AVE::SupportsVideoCapture::SetFrameRate |
( |
int |
framerate | ) |
|
|
pure virtual |
设置采集帧率
- Parameters
-
framerate | 帧率,一般为10,15,20,30 |
- Note
- SDK SetVideoFPS异步调用,透传该方法入参
-
可以不实现
◆ SetFrontCam()
virtual int AVE::SupportsVideoCapture::SetFrontCam |
( |
int |
bFront | ) |
|
|
pure virtual |
切换前后摄像头,移动端专用,PC端不需要实现
- Parameters
-
bFront | true表示前摄像头,false表示后摄像头 |
- Note
- SDK SetFrontCam异步调用,透传该方法入参
-
可以不实现
◆ SetPowerlineFreq()
virtual int AVE::SupportsVideoCapture::SetPowerlineFreq |
( |
unsigned int |
nFreq | ) |
|
|
inlinevirtual |
设置采集刷新率
- Parameters
-
- Note
- 可以不实现
◆ SetResolution()
virtual int AVE::SupportsVideoCapture::SetResolution |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
pure virtual |
设置采集分辨率,采集的分辨率最大不能超过1920*1080
- Parameters
-
- Note
- SDK SetVideoResolution异步调用,透传该方法入参
-
可以不实现
◆ SetView()
virtual int AVE::SupportsVideoCapture::SetView |
( |
void * |
view | ) |
|
|
pure virtual |
设置采集使用载体
- Parameters
-
- Note
- SDK SetPreviewView同步调用,透传该方法入参
-
可以不实现
◆ SetViewMode()
virtual int AVE::SupportsVideoCapture::SetViewMode |
( |
int |
nMode | ) |
|
|
pure virtual |
设置采集预览模式
- Parameters
-
nMode | 取值参考ZegoVideoViewMode |
- Note
- SDK SetPreviewViewMode异步调用,透传该方法入参
-
可以不实现
◆ SetViewRotation()
virtual int AVE::SupportsVideoCapture::SetViewRotation |
( |
int |
nRotation | ) |
|
|
pure virtual |
设置采集预览的逆时针旋转角度
- Parameters
-
- Note
- SDK SetDisplayRotation 异步调用,主要用于修复移动端的横竖屏旋转问题
-
可以不实现
◆ StartPreview()
virtual int AVE::SupportsVideoCapture::StartPreview |
( |
| ) |
|
|
pure virtual |
启动预览
- Note
- SDK StartPreview异步调用
-
可以不实现
◆ StopPreview()
virtual int AVE::SupportsVideoCapture::StopPreview |
( |
| ) |
|
|
pure virtual |
停止预览
- Note
- SDK StopPreview异步调用
-
可以不实现
◆ TakeSnapshot()
virtual int AVE::SupportsVideoCapture::TakeSnapshot |
( |
| ) |
|
|
pure virtual |
对采集预览进行截图,完成后通过client的OnTakeSnapshot方法通知SDK
- Note
- SDK TakeSnapshotPreview异步调用
-
可以不实现
The documentation for this class was generated from the following file: