Turn your Raspberry Pi into a low-latency home security camera by using native WebRTC with the v4l2 hardware H.264 encoder and the software-based OpenH264 encoder for live video stream.
Apache License 2.0
786
stars
32
forks
source link
Looking for the right QEMU env for compiling the project #82
Since the compilation of all libraries is quite heavy, let's try to find the right QEMU setting to compile them all on an x86_64 machine. These are my cross compilation instructions that so far managed to compile libwebrtc.a. However, I encountered issues when trying to compile microsoft-signalr.so at the casablanca step (see also here).
Let me first give the specs of the system I used
# Operating System and Version:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
# kernel
uname -r
5.15.0-88-generic
# architecture
uname -m
x86_64
Since the compilation of all libraries is quite heavy, let's try to find the right QEMU setting to compile them all on an x86_64 machine. These are my cross compilation instructions that so far managed to compile
libwebrtc.a
. However, I encountered issues when trying to compilemicrosoft-signalr.so
at thecasablanca
step (see also here).Let me first give the specs of the system I used
ARM64 Root Filesystem Setup:
Chroot Environment Setup:
Debootstrap Initialization:
Basic Package Installation:
User Environment Setup:
Additional Dependencies Installation:
Depot Tools Setup:
Sysroot Dependencies for ARM64:
WebRTC Source Fetching:
Clang Setup:
Ninja Building and Installation:
GN Building and Installation:
Extra Dependencies for GN:
WebRTC Build Configuration:
Header Files Synchronization:
Compiled libwebrtc.a Location: