camera-streamer/RELEASE.md
2023-06-13 20:35:44 +02:00

2.1 KiB

Release #{GIT_VERSION}

  • http: extend /status with all options
  • cmd: accept --camera-options=AfMode=auto and alike
  • libcamera: expose all options with human readable settings
  • v4l2: expose all options with human readable settings
  • libcamera: do not expose some options that should not be made configurable
  • http: add /control to provide simple JS interface to live edit camera settings
  • http: change /option to accept device=, key=, and value=
  • device: show stddev estimates to measure frame pacing
  • webrtc: allow to specify --webrtc-ice_servers= on command line

Variants

Download correct version for your platform:

  • Variant: raspi: Raspberry PI compatible build with USB, CSI, WebRTC, RTSP support
  • Variant: generic: All other platforms with USB and MJPEG support only for time being
  • System: bullseye: Debian Bullseye (11) compatible build
  • Platform: amd64: x86/64 compatible build
  • Platform: arm32: ARM 32-bit kernel: PIs 0.2W, 2B, and higher, Orange PIs, Rock64, etc. No support for RPI0.
  • Platform: arm64: ARM 64-bit kernel: PIs 0.2W, 3B, and higher, Orange PIs, Rock64, etc. No support for RPI0 and RPI2B.

Install on Raspberry PI or any other platform

Copy the below and paste into terminal:

if [[ -e /etc/default/raspberrypi-kernel ]]; then
  PACKAGE=camera-streamer-raspi_#{GIT_VERSION}.bullseye_$(dpkg --print-architecture).deb
else
  PACKAGE=camera-streamer-generic_#{GIT_VERSION}.bullseye_$(dpkg --print-architecture).deb
fi
wget "https://github.com/ayufan/camera-streamer/releases/download/v#{GIT_VERSION}/$PACKAGE"
sudo apt install "$PWD/$PACKAGE"

Enable one of provided systemd configuration:

ls -al /usr/share/camera-streamer/examples/
systemctl enable /usr/share/camera-streamer/examples/camera-streamer-raspi-v3-12MP.service
systemctl start camera-streamer-raspi-v3-12MP

You can also copy an existing service and fine tune it:

cp /usr/share/camera-streamer/examples/camera-streamer-raspi-v3-12MP.service /etc/systemd/system/camera-streamer.service
edit /etc/systemd/system/camera-streamer.service
systemctl enable camera-streamer
systemctl start camera-streamer