mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
3.03k stars 608 forks source link

Building this project for RasPI via cross compile #114

Closed dherman516 closed 6 years ago

dherman516 commented 6 years ago

OK ... Building webrtc is done.. Building this project is a mess.

I tried setting export CROSS=arm-linux-gnueabihf- and a bunch of other export variables...

The Live 555 makefile just brute force uses g++, so it looks like short of major edits to the makefile in question, I have to compile on native

mpromonet commented 6 years ago

Hi, You could find the step in the automatic build: https://github.com/mpromonet/webrtc-streamer/blob/master/.circleci/config.yml I think it is complex to compile on native rasperry, the gn tools is not available on arm. maybe with scratchbox or qemu. Best Regards, Michel.

dherman516 commented 6 years ago

I build the webrtc bits on an ubuntu box... tar balled 'em all up to move to my raspi

dherman516 commented 6 years ago

How do I grab your circle.ci build?

mpromonet commented 6 years ago

Hi, I don't know how o give access to the circleci artefact but you can try the lastest release https://github.com/mpromonet/webrtc-streamer/releases/download/v0.0.9/webrtc-streamer_v0.0.9_rpi-armv7.tgz Best Regards, Michel.

dherman516 commented 6 years ago

Cool it runs.. but it appears the foced path for the alsa config is giving it fits

ALSA lib conf.c:3942:(snd_config_update_r) Cannot access file /webrtc/src/rpi-armv7/out/Release/../../../build/linux/debian_sid_arm-sysroot/usr/share/alsa/alsa.conf