TuSDKVideoCameraSampleBufferDelegate Protocol Reference

Conforms to NSObject
Declared in TuSDKVideoCameraInterface.h

Overview

相机帧采样缓冲委托

– onProcessVideoSampleBuffer:rotation:previewSize:angle: required method

原始帧采样缓冲数据

- (void)onProcessVideoSampleBuffer:(CMSampleBufferRef)sampleBuffer rotation:(UIImageOrientation)rotation previewSize:(CGSize)previewSize angle:(float)angle

Parameters

sampleBuffer

帧采样缓冲

rotation

原始图像方向

previewSize

预览尺寸

angle

设备角度

Declared In

TuSDKVideoCameraInterface.h

– onProcessVideoPixelBuffer:rotation:angle:

原始帧采样缓冲数据

- (void)onProcessVideoPixelBuffer:(CVPixelBufferRef)pixelBuffer rotation:(UIImageOrientation)rotation angle:(float)angle

Parameters

pixelBuffer

帧采样缓冲

rotation

原始图像方向

angle

设备角度

Declared In

TuSDKVideoCameraInterface.h