问题标签 [pjsip]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
iphone - 你如何为设备和模拟器编译 PJSip iPhone 以在 iOS 3 和 iOS 4 上使用虹吸管?
我正在尝试为 iOS 3 和 iOS 4编译和运行pjsip和siphon 。
我正在通过 pjsip.org 网站上关于 iPhone 的“入门”的说明进行操作。
我也按照虹吸网站上的说明进行操作。
我的目标是让 siphon 的应用程序在我的 iOS 3 和 iOS4 的设备和模拟器上运行,但是刚刚通过 pjsip 的编译阶段就令人头疼。
所以我决定只为设备编译,至少让虹吸管启动并运行,但这似乎更让人头疼。
编译说明不清楚(至少对我这个初学者来说不是),此外,有两组编译说明:1)在源代码中阅读我,2)在网站的 wiki 页面上。
我的问题是这样的:
- 关于让 pjsip 和 siphon 在 iOS 3 和 4 的 Device & Simultaor 上编译和运行的分步说明是什么。(我知道 lipo 命令,但我不清楚如何使用它,考虑到有很多很多文件,而且犯错的机会太多)
- 我应该使用 pjsip 1.x 版还是 2.x 版?
- 虹吸管是最新的吗?
- 在 siphon 源目录中,有一个 siphon2 和 siphon4 目录……但只有在 siphon2 目录中有一个 .xcodeproj。如何实现 siphon4 项目文件?
iphone - 在 xcode4.2 上编译 pjsip 的问题
当我在 xcode 4.2 上运行我的项目时,我得到了这种响应,其中 .o 文件丢失了 31 个错误
那个 31 错误看起来像这样
ld Build/Siphon/Build/Products/Debug-iphoneos/Siphon.app/Siphon normal armv7 cd /Users/jaxtrinc/Desktop/Siphone/Siphon2 setenv IPHONEOS_DEPLOYMENT_TARGET 4.0 setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/ bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms /iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/jaxtrinc/Desktop/Siphone/Siphon2/Build/Siphon/Build/Products/Debug-iphoneos -L../pjproject-svn/pjlib/lib -L../pjproject-svn/pjsip/lib -L../pjproject-svn/pjmedia/lib -L../pjproject-svn/pjlib-util/lib -L../pjproject-svn/pjnath/lib -L../pjproject-svn/third_party/lib -L../pjproject-svn/pjmedia/lib -L../pjproject-svn/third_party/lib -L/Users/jaxtrinc/Desktop/Siphone/Siphon2/。 ./pjproject-svn/third_party/lib -L/Users/jaxtrinc/Desktop/Siphone/Siphon2/../pjproject-svn/pjmedia/lib -F/Users/jaxtrinc/Desktop/Siphone/Siphon2/Build/Siphon/Build/ Products/Debug-iphoneos -filelist /Users/jaxtrinc/Desktop/Siphone/Siphon2/Build/Siphon/Build/Intermediates/Siphon.build/Debug-iphoneos/Siphon.build/Objects-normal/armv7/Siphon.LinkFileList -dead_strip - framework Foundation -framework UIKit -miphoneos-version-min=4.0 -framework SystemConfiguration -framework UIKit -framework AddressBookUI -framework AddressBook -framework Foundation -framework AudioToolbox -lpj-arm-apple-darwin9 -lpjlib-util-arm-apple-darwin9 - lpjnath-arm-apple-darwin9 -lpjmedia-arm-apple-darwin9 -lpjsip-arm-apple-darwin9 -lpjsip-simple-arm-apple-darwin9 -lpjsip-ua-arm-apple-darwin9 -lpjsua-arm-apple- darwin9 -framework CoreGraphics -lsqlite3。0 -lpjmedia-codec-arm-apple-darwin9 -lgsmcodec-arm-apple-darwin9 -framework CFNetwork -lpjmedia-audiodev-arm-apple-darwin9 -lresample-arm-apple-darwin9 -lg7221codec-arm-apple-darwin9 -framework IOKit -o /Users/jaxtrinc/Desktop/Siphone/Siphon2/Build/Siphon/Build/Products/Debug-iphoneos/Siphon.app/Siphon
我也遇到了链接器错误,例如
谁能帮我解决这个问题?
java - pjsip-jni编译导入到eclipse
我正在尝试使用pjsip-jni wrapper
foreclipse
制作基于 Android sip 的客户端。
我曾尝试使用 eclipse 编译和使用它,但还没有找到正确的轨道。任何信息将不胜感激!!
iphone - iOS5 的 PJSIP 编译错误
请帮助为 iOS 5 编译 siphone。
我正在尝试为 siphone 项目编译 pjsip。PJSIP 源 - svn co http://svn.pjsip.org/repos/pjproject/trunk pjproject Siphone 代码 - svn checkout http://siphon.googlecode.com/svn/trunk/ siphon 遵循 build-libpj.sh 脚本code.google.com/p/siphon/downloads/list
收到以下错误:
在此先感谢您的帮助!
iphone - ios设备编译中的SIPHON错误
我正在尝试为 ios 编译 pjsip 库并从谷歌代码运行虹吸代码。收到以下错误。架构 armv7 的未定义符号:“_assert”,引用自: call.o 中的 _on_call_state ring.o ld 中的 _sip_ring_stop:未找到架构 armv7 的符号。
请帮忙!
iphone - iphone模拟器的PJSIP编译
我正在尝试为 iphone 模拟器编译 pjsip 并收到错误:
请帮忙。
c - building pjsip in gnu/linux platform
I'm trying to build pjsip(www.pjsip.org) in centos 6.2 x86 .
Whenever i issue make dep, it completes without showing an error. after i give make it stops with following error.
in faq page of pjsip its said that if this error happens, then
should solve it. But in my case same error happens after make distclean. someone at the pjsip mailing list suggested to remove every *.depend file by :
i've done that. but still no luck. although this not a pjsip mailing list, the problem occurs because of .depend files, so i thought someone can shed some light on it so that i get a clue for solving it.
thanks in advance.
EDIT:
After carefully reading the faulty .depend file i've discovered that actually no dependencies were generated at all. they are just name of some targets smashed togather without any dependency list at all. So i guess make dep step is actually buggy to generate correct dependencies. I am trying to find which caused make dep to fail.
objective-c - PJSIP 未定义符号架构 Armv7
我正在尝试从 http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone编译pjsip。
我收到以下未定义符号错误。
请帮助为 Xcode 4.3 编译这个项目。
ios - 在 iOS 上,有没有办法让某个单例对象上的所有操作都发生在它自己的专用线程中?
我正在 iOS 上构建一个 VoIP 手机应用程序(使用 PJSIP 库),PJSIP 要求您注册访问它并管理其配置的线程,以实现线程安全。这意味着处理或管理对该库的调用不能由 GCD 处理,并且需要在主线程上(糟糕的解决方案,因为它会阻塞并且如果出现问题 UI 将不会绘制),或者创建自己的专用线程.
我在我的应用程序委托中创建了自己的专用线程和运行循环,并在其上执行了一些选择器,但它很混乱。我想将对当前会话的所有调用封装到我在启动时创建的单例对象中,并让所有这些调用发生在它们自己的线程中。
Apple 的文档有点稀疏,所以我试图弄清楚是否有更智能的方法来管理此 PJSIP 实例上的注册线程。见鬼,可能有一些我什至没有想到的事情。
我知道这更像是一个技术问题,但我很想看看人们提出了什么想法。
我已经在 NSThread 之上构建了一个类别,允许我在该特定线程上执行块,但这是一个丑陋丑陋的 hack。