Tuesday 15 April 2014

java - How to use PJSIP on Android? -



java - How to use PJSIP on Android? -

i lost hours of searching , reading. didnt understand how work pjsip.

i have questions it:

can explain how library used when developing android? when build library utilize java code or defintely i'll have write in c++? my goal encrypted voip application android. is there documentation description of methods, fields , constructors? do have references tutorials or samples?

i assuming familiar pjsip , have experience using of apis, @ to the lowest degree top level layer, viz. pjsua.

if that's true, can go ahead , take csipsimple project. open source android project based on pjsip.

you can seek out app google play store , see if fits needs before start modifying source.

edit: since say, new pjsip, suggest familiar on desktop platform first.

first of need build pjsip libraries target platform. include libraries in application , start using apis. begin can accomplish sip features require using pjsua api - high level softphone api. pjsua stands pjsip user agent , command line softphone in itself. apis in pjsua-lib categorized based on functionality transport creation, business relationship registration, phone call handling, media handling etc. , can find links each category in previous link. give documentation description of methods, fields , constructors.

i suggest go through sample application simple pjsua familiar way of initializing pjsip, business relationship registration, how handle incoming invite in case of incoming call, how create outbound phone call , how handle phone call media.

coming android can either go ahead , utilize csipsimple uses modified version of pjsip-jni. else can build pjsip android next intructions here.

hope helps.

java android voip pjsip

No comments:

Post a Comment