패키지, 저장소 및 앱 카테고리 검색

패키지 상세v2.0.26

flutter_screen_recording

화면을 기록하기 위한 새로운 Flutter 플러그인입니다. 이 플러그인은 Android, iOS 및 웹 장치에서 화면을 녹화하는 데 사용할 수 있습니다.

AndroidiOSWeb
30일 다운로드
2천
좋아요
166
Pub 점수
110

패키지 설치

flutter pub add flutter_screen_recording

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

안드로이드, iOS 및 웹 플랫폼에서 화면 녹화를 가능하게 하는 플러터 플러그인입니다. 개발자가 앱 내에서 디바이스 화면을 캡처할 수 있게 하며, 튜토리얼, 데모 또는 사용자 지원 기능에 유용합니다. 플러터 생태계와 원활하게 통합되며 크로스플랫폼 기능을 지원합니다. 녹화 시작 및 중지에 대한 간단한 API 접근성을 제공하여 사용이 용이합니다. 교육용 앱, 생산성 도구 또는 앱 내 화면 캡처 기능이 필요한 모든 애플리케이션에 적합합니다.

사용 사례

  • 앱 내에서 튜토리얼 비디오 만들기
  • 디버깅을 위한 사용자 세션 기록
  • 상호작용형 학습 애플리케이션 구축
  • 사용자 생성 콘텐츠 작성 활성화
  • 원격 지원 기능 지원

주요 기능

  • 크로스 플랫폼 화면 녹화(안드로이드, iOS, 웹)
  • 간단한 시작/정지 녹음 API
  • Flutter의 네이티브 플랫폼 채널과의 통합
  • 앱 UI 및 시스템 수준의 화면 콘텐츠를 모두 녹화할 수 있습니다
  • 가볍고 구현하기 쉬움

적합한 대상

  • 교육 앱 개발자
  • 생산성 도구 제작자
  • 지원 및 헬프데스크 애플리케이션 팀
  • 앱 내 데모 기능이 필요한 앱 개발자
  • 인터랙티브 콘텐츠 플랫폼의 창작자

고려 사항

  • Android 및 iOS에서 적절한 권한이 필요합니다
  • 웹 기록은 브라우저별 제한 사항이 있을 수 있습니다
  • 긴 녹화 중 성능 영향
  • 개인정보 보호 준수를 위해 사용자 동의가 필요합니다
  • 기록 품질 설정에 대한 제어가 제한적입니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

flutter_screen_recording

Flutter plugin to record the screen on Android, iOS, and web.

Current platform support in this repository:

  • Android: minSdkVersion 23
  • iOS: iOS 11.0+
  • Web: supported through the federated web implementation

Getting Started

Import the package:

import 'package:flutter_screen_recording/flutter_screen_recording.dart';

Start screen recording:

final bool started = await FlutterScreenRecording.startRecordScreen(
  'my_recording',
  titleNotification: 'Screen recording',
  messageNotification: 'Recording in progress',
);

Start screen recording with microphone audio:

final bool started = await FlutterScreenRecording.startRecordScreenAndAudio(
  'my_recording',
  titleNotification: 'Screen recording',
  messageNotification: 'Recording in progress',
);

Stop recording and get the output path or file name:

final String path = await FlutterScreenRecording.stopRecordScreen;

Android

The Android implementation uses MediaProjection, MediaRecorder, and a foreground service.

  • The plugin currently builds with compileSdkVersion 35
  • The plugin manifest already includes its service declaration and required foreground-service permissions
  • If you record audio, request microphone permission at runtime in your app
  • On modern Android versions, you may also need notification permission for the foreground service notification

The example app requests permissions with permission_handler before starting recording.

iOS

The iOS implementation uses ReplayKit and requires iOS 11.0+.

Add the usage description for microphone access if you record audio:

<key>NSMicrophoneUsageDescription</key>
<string>Save audio in video</string>

The plugin returns the local output file path. If your app later saves the file to the Photos library, also add the appropriate Photos usage description to your app.

Web

The web implementation uses getDisplayMedia and MediaRecorder.

  • Best experience is on modern desktop browsers
  • Browser support depends on screen-capture and codec support
  • MP4 is preferred when the browser reports video/mp4 recording support; WebM is used as a fallback
  • The downloaded file receives the extension that matches the format actually recorded (.mp4 or .webm)
  • The web implementation downloads the recorded file in the browser when recording stops

Notes

  • This package exposes asynchronous APIs; use await when starting and stopping recordings
  • Notification title and message parameters are used by the Android implementation
  • Returned output differs by platform: native platforms return a local path, while web triggers a browser download

카테고리

의존성

의존성 목록 3 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.