Comments (14)
I haven't tried in over a month and I did have issues with the libraries you have mentioned. I do agree we need to build these architectures but I do not have a process to make it happen as of now
from webrtc-build-scripts.
Yeah, I checked with the WebRTC group and the answer I got was "it's possible, but just not ready yet." They said the performance you'd get would likely be worse at this point.
from webrtc-build-scripts.
Makes sense, I haven't come across any performance optimizations specifically for armv7s or arm64.
from webrtc-build-scripts.
So I just saw this today:
https://developer.apple.com/news/?id=10202014a - short answer is there's basically a deadline now for arm64 support in webrtc. I'm not sure if the webrtc project knows this yet.
from webrtc-build-scripts.
I'd go star this issue: https://code.google.com/p/webrtc/issues/detail?can=2&start=0&num=100&q=arm64&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20Area%20Status%20Owner%20Summary&groupby=&sort=&id=3898
from webrtc-build-scripts.
Looks like the WebRTC people have this resolved--at least somewhat--in https://code.google.com/p/webrtc/source/detail?r=7573
from webrtc-build-scripts.
This is the error i get as of now when i do a build
rahuls-mbp:src rbehera$ echo $GYP_DEFINES
build_with_libjingle=1 build_with_chromium=0 libjingle_objc=1 OS=ios target_arch=arm64 target_subarch=arm64
rahuls-mbp:src rbehera$ echo $GYP_GENERATOR_FLAGS
output_dir=out_ios_arm64_v8a
rahuls-mbp:src rbehera$ echo $GYP_GENERATORS
ninja,xcode
rahuls-mbp:src rbehera$ ninja -C out_ios_arm64_v8a/Debug-iphoneos/ AppRTCDemo
ninja: Entering directory `out_ios_arm64_v8a/Debug-iphoneos/'
[11/358] RULE Generate assembly offsets ../../../../out_ios_arm64_v8a/Debug-iphoneos/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen/vp8_asm_enc_offsets.o
FAILED: cd ../../chromium/src/third_party/libvpx; export BUILT_PRODUCTS_DIR=/Users/rbehera/github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Debug-iphoneos; export CONFIGURATION=Debug-iphoneos; export PRODUCT_NAME=gen_asm_offsets_vp8; export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk; export SRCROOT=/Users/rbehera/github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Debug-iphoneos/../../chromium/src/third_party/libvpx; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/Users/rbehera/github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Debug-iphoneos; export TEMP_DIR="${TMPDIR}";python ../../../../third_party/libvpx/obj_int_extract.py -e ../../../../out_ios_arm64_v8a/Debug-iphoneos/libvpx_obj_int_extract -f rvds -b "../../../../out_ios_arm64_v8a/Debug-iphoneos/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen/vp8_asm_enc_offsets.o" -o "../../../../out_ios_arm64_v8a/Debug-iphoneos/gen/third_party/libvpx/vp8_asm_enc_offsets.asm"
Bad cputype for object file. Currently only tested for CPU_TYPE_X86_64.
Traceback (most recent call last):
File "../../../../third_party/libvpx/obj_int_extract.py", line 29, in <module>
stdout=fh)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../../../../out_ios_arm64_v8a/Debug-iphoneos/libvpx_obj_int_extract', 'rvds', '../../../../out_ios_arm64_v8a/Debug-iphoneos/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen/vp8_asm_enc_offsets.o']' returned non-zero exit status 1
[11/358] CXX obj/chromium/src/third_party/icu/source/i18n/icui18n.ucol.o
ninja: build stopped: subcommand failed.
rahuls-mbp:src rbehera$
from webrtc-build-scripts.
So I have updated the build scripts to include how to build for ARM64 on ios (it still doesnt work for me) but at anytime if you would like to try its an env variable you can set now
from webrtc-build-scripts.
@thebehera Is everything working for you with arm64 build?
Getting this error when building for arm64, works like a charm without arm64.
BAD_ACCESS.
Tried forcing the C++ to use libstdc++, anything else you can think might help?
from webrtc-build-scripts.
Have you tried doing a clean build?
rm -rf out*
directories before building
from webrtc-build-scripts.
@thebehera Yes, I've deleted the Build/ folder, removed Derived Data, performed clean etc. It's strange that I am only getting this on arm64 and not when I am using armv7 and armv7s
from webrtc-build-scripts.
Honestly I was able to get calls working but I haven't seen your issue. you might be better off posting to the webrtc group
from webrtc-build-scripts.
@thebehera Thanks anyway! I posted here in case you are interested: https://code.google.com/p/webrtc/issues/detail?id=4085&thanks=4085&ts=1418315293
from webrtc-build-scripts.
Just wanted to post an update, there seems to be some issues when mixing Firebase iOS SDK and libwebrtc: https://code.google.com/p/webrtc/issues/detail?id=3992&q=arm64&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20Area%20Status%20Owner%20Summary
from webrtc-build-scripts.
Related Issues (20)
- 找不到org.webrtc.voiceengine HOT 1
- iOS:build.sh, create_ios_framework() maybe error
- Release build for apprtc failed for revision 17231 HOT 1
- ./install-build-deps-android.sh: line 25: ./install-build-deps.sh: No such file or directory HOT 2
- how to build webrtc by android studio HOT 1
- how to build webrtc without video package HOT 3
- iOS Build Error ! Running libtool
- Error at "Adding a new libWebRTC_objc target" HOT 1
- Got error: comparison of integers of different signs while running build_webrtc
- Correct build output screenshot?
- iOS: [RTCI420Frame nativeHandle]
- I Can't found the VideoCapturerAndroid & VideoRendererGUI HOT 1
- Convert GYP to GN Urgently for future build scripts
- Fatal error,How to solve
- Build old revision for iOS? HOT 1
- Custom video source
- Some files are not generating like libboringssl.cr.so, libc++_shared.so etc. HOT 1
- libjingle_peerconnection_java.jar is empty HOT 1
- building webrtc for android fails: loading build.ninja No such file or directory HOT 3
- iOS 13- Failed to create NV12 renderer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-build-scripts.