TuSDKVideoSourceProtocol Protocol Reference

Conforms to NSObject
Declared in TuSDKVideoSourceProtocol.h

Overview

视频输出协议

  inputCamera required method

系统相机对象

@property (readonly) AVCaptureDevice *inputCamera

Declared In

TuSDKVideoSourceProtocol.h

– cameraPosition required method

摄像头位置

- (AVCaptureDevicePosition)cameraPosition

Declared In

TuSDKVideoSourceProtocol.h

– getInternalRotation required method

旋转模式

- (LSQGPUImageRotationMode)getInternalRotation

Return Value

LSQGPUImageRotationMode

Declared In

TuSDKVideoSourceProtocol.h

– getDeviceOrientation required method

设备当前朝向

- (UIDeviceOrientation)getDeviceOrientation

Return Value

UIDeviceOrientation

Declared In

TuSDKVideoSourceProtocol.h

– getFocusTouchView required method

获取聚焦视图

- (UIView<TuSDKVideoCameraExtendViewInterface> *)getFocusTouchView

Return Value

id

Declared In

TuSDKVideoSourceProtocol.h

– updateFaceFeatures:radian: required method

更新脸部信息,运行在主线程

- (void)updateFaceFeatures:(NSArray<TuSDKFaceAligment*> *)faces radian:(CGFloat)radian

Parameters

faces

特征点数据

radian

设备弧度

Declared In

TuSDKVideoSourceProtocol.h