@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
Capgo __CAPGO_KEEP_1__-screen-recorder__를 사용 중이시면 Using @capgo/capacitor-screen-recorder Capgo __CAPGO_KEEP_1__-screen-recorder__와 연결하세요. @capgo/capacitor-screen-recorder for the implementation detail in @capgo/capacitor-screen-recorder, Capgo __CAPGO_KEEP_1__-live-activities__의 구현 세부 사항을 참조하세요. Capgo __CAPGO_KEEP_1__-live-activities__를 사용하여 시작하세요. Using @capgo/capacitor-live-activities Capgo의 @capgo/capacitor-live-활동을위한 원시 기능을위한 @capgo/capacitor-live-활동 Capgo의 @capgo/capacitor-live-활동 구현 세부 정보를위한 Capgo의 @capgo/capacitor-비디오 플레이어를 사용하여 Capgo의 @capgo/capacitor-비디오 플레이어의 원시 기능을위한