본문으로 바로가기
플러그인으로 돌아가기
@capgo/capacitor-스크린 녹음기
튜토리얼
github.com/Cap-go에서

스크린 녹음기

튜토리얼, 데모, 버그 리포트를 위한 스크린 녹음과 음성 녹음으로 캡처

가이드

스크린 레코더에 대한 튜토리얼

스크린 레코더를 사용하는 방법: @capgo/capacitor-screen-recorder

Capacitor 스크린 레코더 플러그인: 디바이스 화면 녹화에 사용됩니다. 화면 녹화 동영상 캡처 및 선택적 오디오 캡처를 허용합니다.

설치

bun add @capgo/capacitor-screen-recorder
bunx cap sync

이 플러그인이 노출하는 것

  • start - 디바이스 화면 녹화 시작
  • stop - 현재 화면 녹화 중지

예시 사용법

start

화면 녹화 시작

import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';

// Start recording without audio
await ScreenRecorder.start();

// Start recording with audio
await ScreenRecorder.start({ recordAudio: true });

stop

현재 화면 녹화를 중지

import { ScreenRecorder } from '@capgo/capacitor-screen-recorder';

await ScreenRecorder.stop();
console.log('Recording saved to gallery');

전체 참조