https://github.com/lanikai/alohartc
WebRTC native stack tailored for ARM/Linux embedded systems
https://github.com/lanikai/alohartc
arm embedded golang linux webrtc
Last synced: 6 months ago
JSON representation
WebRTC native stack tailored for ARM/Linux embedded systems
- Host: GitHub
- URL: https://github.com/lanikai/alohartc
- Owner: lanikai
- License: apache-2.0
- Created: 2018-05-28T07:46:20.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T08:35:59.000Z (almost 6 years ago)
- Last Synced: 2025-10-24T00:37:49.910Z (8 months ago)
- Topics: arm, embedded, golang, linux, webrtc
- Language: Go
- Homepage: https://alohartc.com
- Size: 20.7 MB
- Stars: 21
- Watchers: 3
- Forks: 7
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AlohaRTC
Real-time communication with embedded cameras, natively within the browser
## Building
First, download dependencies:
make get
To cross-compile for a Raspberry Pi Model 3B/3B+ (armv7-based architecture):
make
To cross-compile for a Raspberry Pi Zero (armv6-based architecture):
GOARM=6 make
To build for production:
GOFLAGS="-tags=production" make
## Quickstart
Build code as above, then transfer `alohacam` to Raspberry Pi and run. Open
`http://:8000` in browser. This should start a live video stream from
Raspberry Pi.
## Notes
Ensure camera is enabled on Raspberry Pi and that v4l2 module is loaded.
Modify `/etc/modules` as follows:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
bcm2835-v4l2
...
Modify `/boot/config.txt` as follows:
boot/config.txt
...
start_x=1
gpu_mem=128