パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v2.0.26

flutter_screen_recording

画面の録画用の新しいFlutterプラグインです。このプラグインは、Android、iOS、およびWebデバイスで画面を録画するために使用できます。

AndroidiOSWeb
30日間ダウンロード
2020
いいね数
166
Pub ポイント
110

パッケージをインストール

flutter pub add flutter_screen_recording

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Android、iOS、Web プラットフォームでの画面録画を可能にする Flutter プラグインです。開発者がアプリ内でデバイスの画面をキャプチャできるようにし、チュートリアルやデモ、ユーザー支援機能に役立ちます。Flutter エコシステムとシームレスに統合され、クロスプラットフォーム機能をサポートしています。使いやすさを重視し、録画の開始と停止を簡単な API で行えるようになっています。教育アプリ、生産性ツール、またはアプリ内画面キャプチャ機能が必要なあらゆるアプリに最適です。

用途

  • アプリ内でのチュートリアル動画の作成
  • デバッグ用にユーザー セッションを記録する
  • インタラクティブな学習アプリケーションの構築
  • ユーザー生成コンテンツの作成を有効にする
  • リモートアシスタンス機能のサポート

主な機能

  • クロスプラットフォームの画面録画(Android、iOS、Web)
  • シンプルな開始/停止録画API
  • Flutter のネイティブプラットフォームチャネルとの統合
  • アプリのUIとシステムレベルの画面コンテンツの両方を記録できます
  • 軽量で実装が簡単

適している対象

  • 教育アプリ開発者
  • 生産性ツールの作成者
  • サポートおよびヘルプデスクアプリケーションチーム
  • アプリ内デモ機能を必要とするアプリ開発者
  • インタラクティブコンテンツプラットフォームのクリエイター

注意事項

  • AndroidおよびiOSで適切な権限が必要です
  • Webの録画にはブラウザ固有の制限がある場合があります
  • 長時間の録画時のパフォーマンスへの影響
  • プライバシー準拠のためにはユーザーの同意が必要です
  • 録音品質設定に対する制御が限られている

元の 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 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。