gossip icon indicating copy to clipboard operation
gossip copied to clipboard

initializing pjsip from a worker thread

Open yosit opened this issue 12 years ago • 3 comments

Hi, Thanks for the great work you did on this library. Are you planing to support initializing pjsip from a worker thread per the recommendation in: http://trac.pjsip.org/repos/wiki/PJSUA_Initialization

yosit avatar Jul 14 '13 13:07 yosit

From a quick scan it looks like this is not hard to do. But not sure what are the actual benefits of supporting this in ObjC land? I haven't encountered much info about PJSIP and worker thread usage. If you can provide some good use case that'd be useful.

chakrit avatar Jul 14 '13 16:07 chakrit

Thanks for the fast response. pjsip initialization is blocking the ui thread so when ever the app starts it will actually freeze trying to connect to the pbx. I think it should be a must to support it. I've managed to do it on top of pjsip.

On Sun, Jul 14, 2013 at 7:44 PM, Chakrit Wichian [email protected]:

From a quick scan it looks like this is not hard to do. But not sure what are the actual benefits of supporting this in ObjC land? I haven't encountered much info about PJSIP and worker thread usage. If you can provide some good use case that'd be useful.

— Reply to this email directly or view it on GitHubhttps://github.com/chakrit/gossip/issues/4#issuecomment-20939278 .

Yosi Taguri | Co-Founder | Labgoo | iPhone: http://ahhhpah.com | twitter: http://twitter.com/yosit | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: [email protected]

Confidential

yosit avatar Jul 14 '13 17:07 yosit

Hi Chakrit, Since tommorow i'm trying to compile the source code you provided but it doen't work.Initially it gives "Config_site.h" file is missing then i added pjsip library but still it gives me the issues and not compiled.Can you please tell me the proper way for compiling it on xcode both on devices as well as on simulator.

jyotiSharma1 avatar Jul 08 '14 09:07 jyotiSharma1