Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.28 KB

File metadata and controls

25 lines (17 loc) · 1.28 KB

UVC Camera plugin for Flutter

GitHub Repo stars GitHub License Pub Version

A USB Video Class (UVC) camera plugin for Flutter based on UVCCamera library for Android, brought to you by Alexey Pelykh.

Compatibility

Flutter 3.29.2+ is strongly recommended. Flutter 3.27–3.28 enabled Impeller by default on Android, which causes black screens on some devices (MediaTek/PowerVR GPUs). This was fixed in Flutter 3.29.0 with automatic GLES fallback (and a crash fix in 3.29.2). If you use Flutter 3.27.x–3.28.x and experience a black screen, disable Impeller:

<meta-data android:name="io.flutter.embedding.android.EnableImpeller" android:value="false" />

Flutter 3.24–3.26 users are unaffected (Impeller was not default on Android).

Usage

The plugin's API is intentionally kept similar to the camera package. See the example for an app that uses the plugin.