Closed SourceCodeZone closed 4 years ago
If you are using the latest WebRTC native code package, you need to install libpulse-dev in rpi_rootfs. This is because the libpulse include file in WebRTC native code is forced to be included regardless of the args.gn setting.
Currently, the RWS master branch has problems working with the latest WebRTC native code package.
Please use the commit position specified below for the WebRTC native code package. https://github.com/kclyu/rpi-webrtc-streamer/commit/8ff2e5d6a92fdfd70b19d38def379b5833362467
Thanks for the feedback, I have installed the libpulse-dev by modifying the file rpi_rootfs/scripts/update_upgrade_install_package.sh
with apt install -y gmodule-2.0 gtk+-3.0 libasound2-dev libavahi-client-dev libpulse-dev
. and the pulse audio problem goes away.
Also few question about https://github.com/kclyu/rpi-webrtc-streamer/blob/master/README_building.md
The command cp ~/Workspace/rpi-webrtc-stremer/misc/webrtc_armv6_build_args.gn arm/armv6_build/args.gn
should the directory name rpi-webrtc-stremer
is to be rpi-webrtc-streamer
(letter a mssing) and the output path to be out/armv6_build/args.gn
instead arm/armv6_build/args.gn
. Please correct me if I am wrong.
you are right, "out/arm_build" is corrent, not "out/arm_build"
Duplicate of #98
I am following the instruction here https://github.com/kclyu/rpi-webrtc-streamer/blob/master/README_building.md to cross-compile the webRTC for raspberryPi(arch=armv7l ) in Ubuntu 16.04
But getting following error after running the command
ninja -C out/arm_build
.``` ./../modules/audio_coding/neteq/decision_logic.cc:355:32: warning: operation on ‘cur_size_samples’ may be undefined [-Wsequence-point] ? cur_size_samples = span_samples_in_packet_buffer