Class InputFrameRecorder
- 네임스페이스
- easyar
입력 프레임 레코더. 통과하는 입력 프레임을 EIF 파일로 저장하기 위한 입력 프레임 입력 포트와 입력 프레임 출력 포트가 있습니다. 본 클래스의 모든 멤버는 스레드 안전합니다.
InputFrameRecorder
메서드
input
입력 포트.
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()
반환 값
| 형식 | 설명 |
|---|---|
| InputFrameSink |
bufferRequirement
현재 구성 요소가 카메라 버퍼를 점유하는 수량.
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()
반환 값
| 형식 | 설명 |
|---|---|
| Int32 |
output
출력 포트.
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()
반환 값
| 형식 | 설명 |
|---|---|
| InputFrameSource |
create
생성.
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()
반환 값
| 형식 | 설명 |
|---|---|
| InputFrameRecorder |
start
데이터 녹화를 시작합니다. initialScreenRotation은 녹화 시의 초기 화면 회전 방향으로, 재생 시 이 방향을 기준으로 렌더링됩니다. 회전 방향의 정의는 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)
매개 변수
| 이름 | 형식 | 설명 |
|---|---|---|
| filePath | String | |
| initialScreenRotation | Int32 |
반환 값
| 형식 | 설명 |
|---|---|
| Boolean |
stop
데이터 녹화를 중지합니다. 이 방법은 녹화만 중지하며, 연결은 영향을 받지 않습니다.
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()
반환 값
| 형식 | 설명 |
|---|---|
| Void |