Table of Contents

Class InputFrameRecorder

Espaço de nomes
easyar

Gravador de input frame. Possui uma porta de entrada de input frame e uma porta de saída de input frame, usado para salvar input frames passantes em um arquivo EIF. Todos os membros desta classe são thread-safe.

InputFrameRecorder

Métodos

input

Porta de entrada.

void easyar_InputFrameRecorder_input(easyar_InputFrameRecorder * This, easyar_InputFrameSink * * Return)
std::shared_ptr<InputFrameSink> input()
public @Nonnull InputFrameSink input()
fun input(): InputFrameSink
- (easyar_InputFrameSink *)input
public func input() -> InputFrameSink
public virtual InputFrameSink input()

Retorna

Tipo Descrição
InputFrameSink

bufferRequirement

Número de camera buffers ocupados pelo componente atual.

int easyar_InputFrameRecorder_bufferRequirement(easyar_InputFrameRecorder * This)
int bufferRequirement()
public int bufferRequirement()
fun bufferRequirement(): Int
- (int)bufferRequirement
public func bufferRequirement() -> Int32
public virtual int bufferRequirement()

Retorna

Tipo Descrição
Int32

output

Porta de saída.

void easyar_InputFrameRecorder_output(easyar_InputFrameRecorder * This, easyar_InputFrameSource * * Return)
std::shared_ptr<InputFrameSource> output()
public @Nonnull InputFrameSource output()
fun output(): InputFrameSource
- (easyar_InputFrameSource *)output
public func output() -> InputFrameSource
public virtual InputFrameSource output()

Retorna

Tipo Descrição
InputFrameSource

create

Cria.

void easyar_InputFrameRecorder_create(easyar_InputFrameRecorder * * Return)
static std::shared_ptr<InputFrameRecorder> create()
public static @Nonnull InputFrameRecorder create()
companion object fun create(): InputFrameRecorder
+ (easyar_InputFrameRecorder *)create
public static func create() -> InputFrameRecorder
public static InputFrameRecorder create()

Retorna

Tipo Descrição
InputFrameRecorder

start

Inicia a gravação de dados. initialScreenRotation é a direção inicial de rotação da tela ao gravar dados. Durante a reprodução, a renderização usa esta direção como referência. A definição da direção de rotação é a mesma que em CameraParameters.

bool easyar_InputFrameRecorder_start(easyar_InputFrameRecorder * This, easyar_String * filePath, int initialScreenRotation)
bool start(std::string filePath, int initialScreenRotation)
public boolean start(java.lang.@Nonnull String filePath, int initialScreenRotation)
fun start(filePath: String, initialScreenRotation: Int): Boolean
- (bool)start:(NSString *)filePath initialScreenRotation:(int)initialScreenRotation
public func start(_ filePath: String, _ initialScreenRotation: Int32) -> Bool
public virtual bool start(string filePath, int initialScreenRotation)

Parâmetros

Nome Tipo Descrição
filePath String
initialScreenRotation Int32

Retorna

Tipo Descrição
Boolean

stop

Para a gravação de dados. Este método apenas para a gravação; as conexões não são afetadas.

void easyar_InputFrameRecorder_stop(easyar_InputFrameRecorder * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()

Retorna

Tipo Descrição
Void