saravnandm / pjsip-g729codec Goto Github PK
View Code? Open in Web Editor NEWg729 codec integration with pjsip 2.0
g729 codec integration with pjsip 2.0
Hey Saravanandm,
Thx for the sharing the code changes for integrating G729 to PJSIP.
But i am facing few linking issue.
i compiled for every architecture arm-v7, armv7s , arm-64, i386, x86-64, and i can see the libs got generated. But when i use lipo to make it single library file getting error as below.
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: specifed architecture type (armv7) for file (third_party/lib-armv7/libg729codec-armv7-apple-darwin_ios.a) does not match its cputype (16777223) and cpusubtype (3) (should be cputype (12) and cpusubtype (9))
i Used as below to link all the libraries :
xcrun -sdk iphoneos lipo -arch i386 pjsip/lib-iphonesim/libpjsua2-i386-apple-darwin_ios.a -arch x86_64 pjsip/lib_iphonesim64/libpjsua2-x86_64-apple-darwin_ios.a -arch armv7 pjsip/lib-armv7/libpjsua2-armv7-apple-darwin_ios.a -arch armv7s pjsip/lib-armv7s/libpjsua2-armv7s-apple-darwin_ios.a -arch arm64 pjsip/lib-arm64/libpjsua2-arm64-apple-darwin_ios.a -create -output pjsip/lib/libpjsua2-arm-apple-darwin9.a
Also when i compile the PJSIP code, also i can see the linking error's
Looks like the even if the libs got generated its not built for proper architecture.
Can you please let me know what i missed, or anything else i need to check, struggling from last few days, any help really appreciate.
PJSIP stack version : 2.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.