Compile pjsip to work for iphone simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,
thanks for the suggestions.

I finally have a properly functioning build script that generates a
simulator library, a device library and a universal library

Tip of the hat to Mr. Gecko - I liked your idea of making a copy of
pjproject and then combining files for the universal libs.



On Mon, Oct 4, 2010 at 4:15 PM, Pablo Nu?ez <nunezlopez at gmail.com> wrote:

> I was getting the same _kCFStreamNetworkService errors in pjsip 1.8 I
> solved them by adding the CFNetwork.framework to my project.
>
> Look the pjsua example app from pjsip-apps/src/ipjsua folder, there you can
> see what Frameworks libraries do you need to add as minimum. Also you can
> see there in pjsua_app.c a sample basic implementation. I used it as a base
> to make my app and its running fine in simulator and devices.
>
> Hope it helps!
>
>
>> Date: Sun, 3 Oct 2010 21:55:11 -0400
>> From: Rob Wilkes <wilkrob@xxxxxxxxx>
>> To: "Mr. Gecko" <grmrgecko at gmail.com>
>> Cc: pjsip list <pjsip at lists.pjsip.org>
>> Subject: Re: Compile pjsip to work for iphone simulator
>> Message-ID:
>>        <AANLkTimzfEiJQZaNU95bP4_KVNQw5RQfs3pRncUUadDE at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> Thanks - actually, it does not look like I need to put these settings. I
>> tried both with my existing configuration script and yours. I was getting
>> unreferenced errors in your install script on srtp and g722 on mine. I
>> decided to first play with yours because you have it working. On
>> investigation, it looks like you did not include libsrtp in your universal
>> build. Once I added that, I managed to get my app running on both my
>> device
>> and my simulator, but now I don't get audio in either :-))
>>
>> I think I am going to reset, go back to my old project and incrementally
>> add
>> so I know where the problems are.
>>
>>
>> Some more observations:
>> a) Have you tried building with the latest PJSIP 1.8? While the library
>> gets
>> built, if you link it with an app, you get _kCFStreamNetworkService
>> undefined errors. When I switched back to PJ1.7, this error did not come
>> up.
>> I suspect it is to do with background support in 1.8.
>>
>>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101004/d7915b20/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux