TuSDKVideoOutputWriter Protocol Reference

Conforms to SLGPUImageInput
Declared in TuSDKVideoSourceProtocol.h

Overview

视频输出接口

  camera required method

相机对象

@property (nonatomic, assign) id<TuSDKVideoCameraInterface> camera

Declared In

TuSDKVideoSourceProtocol.h

– onCameraPositionChanged required method

相机位置发生改变

- (void)onCameraPositionChanged

Declared In

TuSDKVideoSourceProtocol.h

– startRecording required method

开始视频录制

- (void)startRecording

Declared In

TuSDKVideoSourceProtocol.h

– finishRecording required method

完成视频录制

- (void)finishRecording

Declared In

TuSDKVideoSourceProtocol.h

– cancelRecording required method

终止录制

- (void)cancelRecording

Declared In

TuSDKVideoSourceProtocol.h

– publicFinishRecordingWithCompletionHandler: required method

完成视频录制,且在完成后,执行block内容

- (void)publicFinishRecordingWithCompletionHandler:(void ( ^ ) ( void ))handler

Declared In

TuSDKVideoSourceProtocol.h