xcamera 0.1.0 copy "xcamera: ^0.1.0" to clipboard
xcamera: ^0.1.0 copied to clipboard

PlatformLinux

A lightweight Flutter camera plugin for Linux supporting high-performance V4L2 streaming and synchronized H.264/AAC video recording.

0.1.0 #

  • Added local H.264 RTSP Stream Server and HTTP MJPEG Server outputs.
  • Added IP Camera Client support (CameraController.ipCamera(url)) for connecting to remote network streams.
  • Added dedicated example applications demonstrating camera hardware controls and local/IP streaming features.
  • Fixed server thread deadlocks during shutdown by replacing blocking accept calls with select timeouts.
  • Fixed OpenH264 spatial layer crash by configuring baseline profile parameters.
  • Added comprehensive unit test suites for RTSP and HTTP server use cases.

0.0.3 #

  • Added hardware V4L2 device controls (brightness, contrast, focus, exposure, gain, white balance, anti-flicker).
  • Added software digital zoom with horizontal/vertical panning crop region-of-interest support.
  • Added customizable dynamic OSD watermark text overlays and microsecond timestamp burn-in.
  • Added native low-light Night Vision mode utilizing adaptive CLAHE contrast enhancement.
  • Added Green Screen Chroma Key background color removal.
  • Added Barrel Fisheye Distortion lens correction filters.
  • Added retroactive Pre-Roll video recording backed by an in-memory circular RAM buffer.
  • Added real-time luminance motion detection with configurable sensitivity thresholds and snapshot events.
  • Added Virtual Camera loopback streaming support via v4l2loopback.
  • Added zero-copy memory frame sharing with external processes via DMA-BUF file descriptor export.
  • Added professional camera assist overlays (Rule of Thirds grid, Focus Peaking highlights, Exposure Zebra lines).
  • Added real-time udev connection event stream for dynamic USB camera hotplug detection.
  • Added multi-camera Picture-in-Picture (PiP) video compositing support.
  • Added PipeWire streaming driver support alongside V4L2.
  • Added hardware-accelerated video encoding support via VA-API and V4L2 M2M.
  • Added real-time performance telemetry and metrics monitoring (FPS, frame drop count, latency, bitrate).
  • Refactored tests into separate individual unit test files for modular execution.

0.0.2 #

  • Refactored the package using Clean Architecture.
  • Replaced FFI with Platform Channels and Event Channels for improved performance and communication.
  • Switched to Flutter Textures for optimized camera preview rendering.
  • Introduced video recording with optional audio support via the enableAudio setting.
  • Added an updated example application demonstrating package features and usage.

0.0.1 #

  • Initial release of the xcamera package.
  • Provides a high-level API for camera operations on Linux.
  • Features include device discovery, live preview, still image capture, and raw stream access.
  • Powered by a native C++ backend using Video4Linux2 for high performance.
1
likes
160
points
168
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter camera plugin for Linux supporting high-performance V4L2 streaming and synchronized H.264/AAC video recording.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

cross_file, equatable, flutter, get_it, plugin_platform_interface

More

Packages that depend on xcamera

Packages that implement xcamera