Discussione:PJSip155 and iPhoneSDK312
Da PiemonteWireless.
If you want you can write here comments and questions.
http://www.piemontewireless.net/Compile_available_codecs_in_PJSip_with_iPhoneSDK312
to configure codecs.
[...]
SettingsFaults.txt
Siphon
Siphon2
pjproject-svn
[...]
And the right include is:
- include <pjsua-lib/pjsua.h>
ld: warning: in /Users/matelo/Documents/xcode/sipMobile/lib/libpj-arm-apple-darwin9.a, file is not of required architecture I have built pjsip according to this tutorial...
Thanks for the information. saved me lot of time. I have a problem with the sound. The sound doesnt seem to work. I followed the procedure mentioned above. Is there anything i need to do to make the sound work. Please help. Thanks.Ravi
I tried compiling the codecs as well. Everything is working fine except for the sound. Did you get the sound working. If so, do we need to do anything special to get the sound working with pjsip 1.5.5.Ravi
i really need your help!! i did everything as explained in here, but still no luck. i maneged to create all the *.a files, and i think i did all the linking in the info file of the project right. the problem is that i get 118 errors when compiling the project. (all has to do specifically with the *.a files, and not with the including or something). for example:"_pj_timer_heap_set_lock", referenced from:_pjsip_endpt_create in libpjsip-arm-apple-darwin9.a(sip_endpoint.o)
i really need your help!! i did everything as explained in here, but still no luck. i maneged to create all the *.a files, and i think i did all the linking in the info file of the project right. the problem is that i get 118 errors when compiling the project. (all has to do specifically with the *.a files, and not with the including or something). for example:"_pj_timer_heap_set_lock", referenced from:_pjsip_endpt_create in libpjsip-arm-apple-darwin9.a(sip_endpoint.o)
Thank you so much for this post!!!!!!!!!!
it was very helpful !! :-)
rules.mak APP=PJLIB app=pjlib ../lib/libpj-arm-apple-darwin9.a .pjlib-arm-apple-darwin9.depend:1: *** missing separator. Stop. make[1]: *** [pjlib] Error 2
make: *** [all] Error 1
http://www.piemontewireless.net/Compile_available_codecs_in_PJSip_with_iPhoneSDK312
I have done all steps and have compiled libs. But while building Xcode project with linked libs, I have error:
...../compat/setjmp.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pj_jmp_buf'
Screen shot: http://grab.by/3FCO
however when i make a call, i have no audio. the logs are fine. signaling looks good even seems like the rtp streams are good and connected to the proper ports in pjsip, but no audio., nothing.
I see some people here also have the same problem.
any help it would be much appreciated.
ld: framework not found CoreServices collect2: ld returned 1 exit status make[2]: *** [../bin/pjlib-test-arm-apple-darwin9] Error 1 make[1]: *** [pjlib-test] Error 2 make: *** [all] Error 1
please help..
ld: framework not found CoreServices collect2: ld returned 1 exit status make[2]: *** [../bin/pjlib-test-arm-apple-darwin9] Error 1 make[1]: *** [pjlib-test] Error 2 make: *** [all] Error 1
please help..
I was just wondering if these steps work if I have to compile and use the libraries for the iphone simulator and not the iphone device, since i want siphon to work on iphone simulator. Are there any changes to do? I'd like to know if any of you succeeded in doing that.
Also, where exactly you add the include <pjsua-lib/pjsua.h>?
I am able to compile things just fine and connect a call, but I have am not getting any audio. It shouldn't be the case of a wrong codec because both g711 or GSM are both included in the build.
Any feedback, tips and or tricks that you anyone used to get the audio to work after call connection would be greatly appreciated.
I currently have a build of pjsip 1.0.3 that compiles with iphone OS 3.1.2 with sound, but I would like to run pjsip 1.5.5 to take advantage of all of the fixes and new functionality.
Here is how I solved the problem:
After I performed the above instruction I’ve got this error after “make”: make[1]: *** [pjlib] Error 2 make: *** [all] Error 1
I successfully solved the problem by opening the "build/rules.mak" file again and changed the "+$(RANLIB) -static -o $(LIB) $(OBJS) " line to "libtool -static -o $(LIB) $(OBJS)" After that, it compiles well for me!
I hope this will help someone!
ld: framework not found CoreServices collect2: ld returned 1 exit status make[2]: *** [../bin/pjlib-test-arm-apple-darwin9] Error 1 make[1]: *** [pjlib-test] Error 2 make: *** [all] Error 1
isn't this supposed to be
- arm-apple-darwin*)
?
Otherwise it's not working!
aconfigure: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor! aconfigure: WARNING: stdio.h: proceeding with the compiler's result
may be this will cause error but how to solve that???
I follow all the steps. and got following errors and warnings aconfigure: creating ./config.status ./config.status: line 340: Data/Latest: No such file or directory ./config.status: line 389: Try: command not found ./config.status: line 416: s/./-/g: No such file or directory ./config.status: line 416: s/^.../##: No such file or directory ./config.status: line 416: s/...$/: No such file or directory ./config.status: line 418: _ASBOX: command not found
This file was extended by pjproject config.status 1.x, which was generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status
on Shakti-iPhone.local
./config.status: line 420: syntax error near unexpected token `}' ./config.status: line 420: `} >&5'

