@capgo/capacitor-스크린 레코더 사용
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');
전체 참조
- GitHub: https://github.com/Cap-go/capacitor-screen-recorder/
- 문서: /docs/plugins/screen-recorder/
Keep going from Using @capgo/capacitor-screen-recorder
Capacitor __CAPGO_KEEP_0__-screen-recorder을 사용하고 있다면 Using @capgo/capacitor-screen-recorder Capacitor __CAPGO_KEEP_0__-screen-recorder과 연결하세요. @capgo/capacitor-screen-recorder for the implementation detail in @capgo/capacitor-screen-recorder, Getting Started Getting Started Using @capgo/capacitor-live-activities Capgo의 @capgo/capacitor-live-활동을 위한 네이티브 기능 @capgo/capacitor-live-활동 Capgo의 @capgo/capacitor-live-활동 구현 세부 사항 Capgo의 @capgo/capacitor-비디오 플레이어를 사용하여 Capgo의 @capgo/capacitor-비디오 플레이어의 네이티브 기능