InputFrameRecorder Class

This type is an EasyAR Sense API in C#: InputFrameRecorder . Some descriptions may not apply to Unity environment on this page.

This type is fully wrapped into Unity components: FrameRecorder . There is no need to use this type directly.

Description

Input frame recorder.

There is an input frame input port and an input frame output port. It can be used to record input frames into an EIF file. Refer to Overview .

All members of this class is thread-safe.


Methods

input

C#

public virtual InputFrameSink input()

Input port.

bufferRequirement

C#

public virtual int bufferRequirement()

Camera buffers occupied in this component.

output

C#

public virtual InputFrameSource output()

Output port.

create

C#

public static InputFrameRecorder create()

Creates an instance.

start

C#

public virtual bool start(string filePath, int initialScreenRotation)

Starts frame recording. initialScreenRotation is the initial screen rotation when recording data, and it will be used in rendering for playback. The definition of screen rotation is the same as in CameraParameters .

stop

C#

public virtual void stop()

Stops frame recording. It will only stop recording and will not affect connection.