Libraries/ AR / Camera/ AR Camera Background
AR / CameraWebcamMJPEG

AR Camera Background

v0.2.0 Unity 2021.3+ No dependencies Paid

Show a live webcam, a video clip, or an MJPEG network stream as a fullscreen background for AR-style overlays. Pluggable sources, two renderers, real mobile support and an auto-reconnecting feed.

01Overview

Show a live webcam / USB camera, a video clip, or an MJPEG network stream (IP camera / ESP32-CAM) as a fullscreen background for AR-style overlays. Pluggable sources and two renderers: a pipeline-agnostic uGUI RawImage (Built-in / URP / HDRP) and a URP camera-stack for compositing 3D content over the feed. Real mobile support, an auto-reconnecting network feed, and no third-party dependencies.

02Key features

  • Three source typesDevice / USB webcam, a VideoClip or URL, or an MJPEG network stream.
  • Two renderersuGUI RawImage (any pipeline) or a URP camera-stack to composite 3D over the feed.
  • Pipeline-agnosticWorks on Built-in, URP and HDRP.
  • Real mobile supportCamera permission handling, rotation and mirror correction on device.
  • Auto-reconnecting feedNetwork streams recover automatically from drops.
  • Pluggable sourcesSwap sources behind a clean interface; input-backend agnostic.

03Included samples

01

Webcam Background Demo

Fullscreen device/USB webcam behind a UI label (RawImage renderer).

02

Video Background Demo

Play a VideoClip/URL as a fullscreen virtual background (no camera needed).

03

MJPEG Background Demo

Stream an MJPEG network feed (IP camera / ESP32-CAM) as a fullscreen background.