Regarding webrtc armv7 support

527 views
Skip to first unread message

Yash Rathore

unread,
Mar 15, 2016, 10:23:05 AM3/15/16
to discuss-webrtc
Hello,

I am using webrtc library in my custom project on iOS

Brief info:
- Created webrtc build in 2013 for iOS.
- Supported architecture were simulator, arm64 & armv7

Now i want to upgrade webrtc library to m49 2016 version
- As mentioned on Website, i am successfully able to create the build for simulator, arm and arm64
- When i tried to generate the build for armv7 its giving errors related to VP9 & some implicit declarations of funtions.

Code used to generate the build for armv7 architecture:

{

echo "-- building WebRTC for iOS devices"

export GYP_GENERATORS="ninja"

export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 libjingle_objc=1 OS=ios target_arch=armv7 target_subarch=arm32"

export GYP_GENERATOR_FLAGS="$GYP_GENERATOR_FLAGS output_dir=out_ios"

export GYP_CROSSCOMPILE=1

pushd src

gclient runhooks

ninja -C out_ios/Release-iphoneos AppRTCDemo

popd

}


I am not clear on below point:
- Webrtc build generated for target architecture (i.e. arm) will also compatible with armv7. If not than how to add support for armv7 architecture ?

Thanks.

Zeke Chin

unread,
Mar 15, 2016, 5:36:07 PM3/15/16
to discuss-webrtc
use GYP_DEFINES="OS=ios target_arch=arm" and that should build for you.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/3c5758e1-9663-45e5-804b-a6a42723fe35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yash Rathore

unread,
Mar 17, 2016, 10:02:54 AM3/17/16
to discuss-webrtc
Thanks a lot Zeke Chin for such a quick reply :)

Hope you are doing well!

- As mentioned on Website, i have successfully created the libs for simulator & arm architecture.
- After following the steps mentioned on Website, i am successfully able to generate the app and make it run on ios device.
- Added all the libs generated in to my custom project.
- Added header files located inside public folder. 
- Also, set values for Library search Path, Framework search path & header search path
- Project got compiled successfully
While running the application i am getting unrecognized selector error. For ex:
[RTCPeerConnectionFactory initializeSSL]: unrecognized selector sent to class 0x3b6f2c

Since webrtc is such vast framework and i have just started playing with it. So i am not able to figure out, Will you please point out if i have missed some step while integrating lib in my project OR some problem in generation of lib OR any pointer which would help in integrating lib in custom iOS project?

Thanks in advance.  Good day!

Zeke Chin

unread,
Mar 17, 2016, 1:49:34 PM3/17/16
to discuss-webrtc
you should be linking against libjingle_peerconnection_objc. I'd check to see if that is in your lib includes. 

Jack

unread,
Jun 13, 2016, 3:15:10 AM6/13/16
to discuss-webrtc
Hello, I met with you exactly the same problem, can not find a way to solve the problem, you can tell me how you solve it?

Vahid D

unread,
Mar 14, 2017, 5:13:31 PM3/14/17
to discuss-webrtc
Hi all;

Does anyone have a solution for this problem? I'd really appreciate it. I wanna build WebRTC for Raspberry Pi 3 with armv7.

Thanks,
Vahid

Lyu KeunChang

unread,
Jun 30, 2017, 3:17:10 AM6/30/17
to discuss-webrtc
HI, 

If you are still interested in compiling webrtc for raspbrry pi 3, see here.
It's not enough to be open to all users, but it's enough to compile and use it as a developer.

Regards, 
Lyu.
Reply all
Reply to author
Forward
0 new messages