Skip to main content

mi_virtual_background_kit 0.1.1 copy "mi_virtual_background_kit: ^0.1.1" to clipboard
mi_virtual_background_kit: ^0.1.1 copied to clipboard

Real-time virtual background (blur, image, solid color) for flutter_webrtc camera tracks. Fully on-device, no network, no telemetry.

0.1.1 #

  • Fix iOS Swift Package Manager build failure in consumer apps that resolve a flutter_webrtc version other than 1.6.2+hotfix.4 (issue #1): Package.swift now declares the dependency as the versionless ../flutter_webrtc path, which the Flutter tool (>= 3.47.2) rewrites to the app's resolved flutter_webrtc-<version> before building.
  • Android blur now matches iOS strength: the single 3x3 pass (which offset samples by only ~radius/25 texels, barely visible even at the maximum radius) is replaced by a progressive separable Gaussian on a half-res chain whose sigma equals the radius in pixels — the same semantics as iOS CIImage.applyingGaussianBlur(sigma:). Verified side-by-side on SM-A135F and iPhone 15 at radius 5 / 20 / 50.
  • Fix displaced blurred copy of the person appearing behind them on Android (blur effect only): the composite sampled the blur chain with transform-baked camera coordinates instead of the chain's own texture coordinates.

0.1.0 #

  • Initial release.
  • Virtual background effects on local flutter_webrtc camera tracks: blur, image (asset / file / bytes, fit cover or contain), solid color, and none (bypass).
  • Switch effects at runtime without restarting the camera track (setEffect, idempotent; camera switch keeps the active effect).
  • attach with BackgroundQuality (segmentation width, edge smoothing, target fps) and runtime setQuality; presets low / balanced / high.
  • statusStream (idle, initializing, active, error) and fallbackStream with typed errors; isSupported() checks device, GPU, and model.
  • Two-stage performance fallback: quality degraded below 14 fps, effect disabled below 10 fps (FR-12), no crash.
  • Fully on-device processing (MediaPipe selfie_segmenter.tflite, Apache-2.0, bundled; GPU compositing) — no network, no telemetry.
  • Android (minSdk 24) and iOS 15.0+.
2
likes
0
points
923
downloads

Publisher

unverified uploader

Weekly Downloads

Real-time virtual background (blur, image, solid color) for flutter_webrtc camera tracks. Fully on-device, no network, no telemetry.

Repository (GitHub)
View/report issues

Topics

#webrtc #video-call #virtual-background #blur #camera

License

unknown (license)

Dependencies

flutter, flutter_webrtc, plugin_platform_interface

More

Packages that depend on mi_virtual_background_kit

Packages that implement mi_virtual_background_kit