linux - cross compile WebRTC for ARM -
i've tried cross compile webrtc armv7 architecture (allwinner a20).on www.webrtc.org there no instructions how that, android , ios, on internet i've found few posts how that, here it:
https://foxdogstudios.com/webrtc-on-linux
https://groups.google.com/forum/#!topic/discuss-webrtc/yzuk8watmu8
https://github.com/mpromonet/webrtc-streamer/wiki/cross-compile-webrtc-for-raspberry-pi
all of them written around 2 years ago , starts command:
gclient config http://webrtc.googlecode.com/svn/trunk
as understand it's old repository name , buildsystem changed last 2 years. can me complete instruction how build webtrc arm?
not best solution cross-compile webrtc arm platform:
install depot tools and...
mkdir -p web_rtc && cd web_rtc export gyp_defines="os=linux" fetch --nohooks webrtc gclient sync cd src ./build/linux/sysroot_scripts/install-sysroot.py --arch=arm gn gen out/default --args='target_os="linux" target_cpu="arm"' ## ugly hack. mv webrtc/modules/rtp_rtcp/test/testfec/test_packet_masks_metrics.cc webrtc/modules/rtp_rtcp/test/testfec/test_packet_masks_metrics.cc.bak touch webrtc/modules/rtp_rtcp/test/testfec/test_packet_masks_metrics.cc ninja -c out/default
Comments
Post a Comment