I've been using a Raspberry Pi as a live camera to monitor plants on my balcony for a while. A few months ago, a friend visited and noticed this little stuff. He mentioned how he’d love to try something similar since he doesn’t like uploading videos to cloud services, paying subscription fees, or relying on third-party providers. The subscription fee would be very high, especially if he wants to install multiple cameras around his house. So I do my best to begin integrating all the features into an easy-to-use app and design easy-to-follow steps for people (like him) without a tech background to try it out.
- Key Features
* Low-Latency Live Monitoring: Achieve extremely low-latency video streaming through WebRTC.
* Playback of Historical Footage: Easily view and download recorded videos.
* Simple Setup: Configure your Raspberry Pi camera through a user-friendly interface or QR code scanning.
* Privacy Protection: Ensure your data remains private with direct P2P connections and local storage without going through third-party servers.
Open-Source Support: The camera source code is fully open-source, allowing you to customize and extend functionality.
I originally ran the camera program on my Pi 4, but I knew we needed a more affordable option! So I tried it on a Pi Zero 2W which can also achieve less than a 1-second latency while recording video simultaneously at 1280x960, however, the temperature reached up to 80°C... The Pi 4 can easily handle more than 3 users watching p2p live broadcasts at the same time. The Pi Zero 2W has no problem with two viewers, but I started to worry that overheating might ruin it. I'm considering designing a metal case to help cool it down.
Since this project is based on WebRTC we can also watch via 5G mobile data. The total hardware for the Pi Zero set cost me about $30 buck! How long videos can be stored depends on the size of the USB disk you plug in. Currently, the playback can only be played after the download is completed. If I have time, I’ll implement mp4 on-demand through WebRTC.
1 comment
[ 2.4 ms ] story [ 15.0 ms ] thread- Key Features * Low-Latency Live Monitoring: Achieve extremely low-latency video streaming through WebRTC. * Playback of Historical Footage: Easily view and download recorded videos. * Simple Setup: Configure your Raspberry Pi camera through a user-friendly interface or QR code scanning. * Privacy Protection: Ensure your data remains private with direct P2P connections and local storage without going through third-party servers.
Open-Source Support: The camera source code is fully open-source, allowing you to customize and extend functionality.
I originally ran the camera program on my Pi 4, but I knew we needed a more affordable option! So I tried it on a Pi Zero 2W which can also achieve less than a 1-second latency while recording video simultaneously at 1280x960, however, the temperature reached up to 80°C... The Pi 4 can easily handle more than 3 users watching p2p live broadcasts at the same time. The Pi Zero 2W has no problem with two viewers, but I started to worry that overheating might ruin it. I'm considering designing a metal case to help cool it down.
Since this project is based on WebRTC we can also watch via 5G mobile data. The total hardware for the Pi Zero set cost me about $30 buck! How long videos can be stored depends on the size of the USB disk you plug in. Currently, the playback can only be played after the download is completed. If I have time, I’ll implement mp4 on-demand through WebRTC.
Github: https://github.com/TzuHuanTai/RaspberryPi_WebRTC