InputFrameRecorder Class¶
Description¶
输入帧录制器。
有一个输入帧输入端口和一个输入帧输出端口,用于将经过的输入帧保存到EIF文件中。参考 概览 _ 。
本类的所有成员都是线程安全的。
input¶
输入端口。
- C
void easyar_InputFrameRecorder_input(easyar_InputFrameRecorder * This, easyar_InputFrameSink * * Return)
- C++17
std::shared_ptr<InputFrameSink> input()
- C++03
void input(InputFrameSink * * Return)
- Java
public @Nonnull InputFrameSink input()
- Kotlin
fun input(): InputFrameSink
- Objective-C
- (easyar_InputFrameSink *)input
- Swift
public func input() -> InputFrameSink
- C#
public virtual InputFrameSink input()
bufferRequirement¶
当前组件占用camera buffer的数量。
- C
int easyar_InputFrameRecorder_bufferRequirement(easyar_InputFrameRecorder * This)
- C++17
int bufferRequirement()
- C++03
int bufferRequirement()
- Java
public int bufferRequirement()
- Kotlin
fun bufferRequirement(): Int
- Objective-C
- (int)bufferRequirement
- Swift
public func bufferRequirement() -> Int32
- C#
public virtual int bufferRequirement()
output¶
输出端口。
- C
void easyar_InputFrameRecorder_output(easyar_InputFrameRecorder * This, easyar_InputFrameSource * * Return)
- C++17
std::shared_ptr<InputFrameSource> output()
- C++03
void output(InputFrameSource * * Return)
- Java
public @Nonnull InputFrameSource output()
- Kotlin
fun output(): InputFrameSource
- Objective-C
- (easyar_InputFrameSource *)output
- Swift
public func output() -> InputFrameSource
- C#
public virtual InputFrameSource output()
create¶
创建。
- C
void easyar_InputFrameRecorder_create(easyar_InputFrameRecorder * * Return)
- C++17
static std::shared_ptr<InputFrameRecorder> create()
- C++03
static void create(InputFrameRecorder * * Return)
- Java
public static @Nonnull InputFrameRecorder create()
- Kotlin
companion object fun create(): InputFrameRecorder
- Objective-C
+ (easyar_InputFrameRecorder *)create
- Swift
public static func create() -> InputFrameRecorder
- C#
public static InputFrameRecorder create()
start¶
开始录制数据。
- C
bool easyar_InputFrameRecorder_start(easyar_InputFrameRecorder * This, easyar_String * filePath)
- C++17
bool start(std::string filePath)
- C++03
bool start(String * filePath)
- Java
public boolean start(java.lang.@Nonnull String filePath)
- Kotlin
fun start(filePath: String): Boolean
- Objective-C
- (bool)start:(NSString *)filePath
- Swift
public func start(_ filePath: String) -> Bool
- C#
public virtual bool start(string filePath)
stop¶
停止录制数据。这个方法只会停止录制,连接将不会受到影响。
- C
void easyar_InputFrameRecorder_stop(easyar_InputFrameRecorder * This)
- C++17
void stop()
- C++03
void stop()
- Java
public void stop()
- Kotlin
fun stop(): Unit
- Objective-C
- (void)stop
- Swift
public func stop() -> Void
- C#
public virtual void stop()