aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 20 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9072edd..8c29c5f 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ follow these steps:
This configuration ensures that GPIO and PWM operations can be performed
without needing root access.
-## Libcamera Setup
+## Libcamera Setup:
The upstream libcamera package in Arch Linux ARM (as of August 2025) has
compatibility issues with the Raspberry Pi kernel, preventing detection of
official camera modules. Until this is resolved upstream, you'll need to build
@@ -71,6 +71,22 @@ References:
- [RPi Kernel Issue #6983](https://github.com/raspberrypi/linux/issues/6983)
- [Libcamera Installation Guide](https://blog.jirkabalhar.cz/2024/02/raspberry-camera-on-archlinux-arm-in-2024/)
+## GStreamer Streaming Setup:
+The repository includes a low-latency video streaming pipeline from libcamera to WebRTC,
+enabling browser-based video streaming directly from the Raspberry Pi camera.
+
+### Installation
+Install required GStreamer packages:
+```console
+user@alarm$ sudo pacman -S glib2 gstreamer gst-plugin-rswebrtc gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly
+```
+
+### Testing
+Verify the pipeline works:
+```console
+user@alarm$ gst-launch-1.0 libcamerasrc ! videoconvert ! vp8enc deadline=1 ! webrtcsink run-signalling-server=true
+```
+
## I2C Setup:
The provided `config.txt` exposes `/dev/i2c-0` on GPIO pins 0 (SDA) and 1 (SCL).
Ensure your user has I2C permissions:
@@ -92,7 +108,7 @@ user@alarm$ sudo i2cdetect -y 0
70: -- -- -- -- -- -- -- --
```
-## Battery Monitoring with INA226
+## Battery Monitoring with INA226:
This repository includes INA226 voltage/current sensing via I2C.
For battery-powered operation:
@@ -122,5 +138,5 @@ user@alarm$ sudo i2cdetect -y 0
installation.
2. Run `make` to compile the libraries and executables
-> Note: You may need to install system dependencies on your host first (e.g.,
-> `libgpiod`, `libcamera`, etc.)
+> Note: You may need to install system dependencies on your host first
+> (e.g., `glib2`, `gstreamer`, `libcamera`, `libgpiod`, etc.)