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
2.91k stars 595 forks source link

Provide binary for RPi Zero and 1 #42

Closed nistath closed 7 years ago

nistath commented 7 years ago

The build provided by Travis CI currently does not work on a Raspberry Pi Zero W. Would it be possible to add builds for the Pi Zero (armv6h) for future releases?

nistath commented 7 years ago

Here is gdb output:

(gdb) run
Starting program: /home/pi/wrtcstrm/webrtc-streamer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x00053840 in rtc::LogMessage::LogMessage(char const*, int, rtc::LoggingSeverity, rtc::LogErrorContext, int, char const*) ()
nistath commented 7 years ago

I think it might have worked! https://travis-ci.org/mpromonet/webrtc-streamer/jobs/247299384 Can we get the binary released so that I can test it?

mpromonet commented 7 years ago

Hi, It doesnot run on a raspberry pi B, compiler option or cross-compiler is not good. Regards, Michel.

nistath commented 7 years ago

Can you also please test this build your travis-ci made and provide me the binary somehow so that I can also have a go at it? Thank you for your work.

mpromonet commented 7 years ago

Hi nistath, You can try https://github.com/mpromonet/webrtc-streamer/releases/download/v0.0.3/webrtc-streamer_v0.0.3_armv6.tgz, but it doesnot work on raspberry piB. It exits with Illegal instruction error, then probably it will not works on Pi Zero too. Let me know if it works in a different way on pi zero. Regards, Michel.

mpromonet commented 7 years ago

Hi nistash, After some numers of tries, I build for armv6, the package https://github.com/mpromonet/webrtc-streamer/releases/download/v0.0.4/webrtc-streamer_v0.0.4_rpi-armv6.tgz is running on my raspberry pi B. I guess it could run on a pi zero. The compilation of WebRTC have less feature, but it works with the raspbicam. Let me know if it works. Best Regards, Michel.