Dear all, attached two tar files that contain a first version of GNU ZRTP for PJ and a small sample program. This first distribution shall give a first impression about the structure, how to build, etc. If you detect some problem please report. This version does not yet implement all possible features, this will be done step-by-step. Thus Benny's proposal to have it completely separated from pj core pays back for this stepwise approach. Please have a look at the README files in the tar files to get some ideas how to deal with it :-) . You can use ZRTP as a norml transport as shown in the sample. Once the ticket (see Benny's mail below) is done then you can use it together with pjsua. Best regards, Werner Am 08.12.2010 12:06, schrieb Benny Prijono: > On Wed, Dec 8, 2010 at 12:45 AM, Werner Dittmann > <Werner.Dittmann at t-online.de> wrote: >> Benny, >> >> two answers in one mail :-) . >> >> Regarding the media callback: >> >> IMHO your proposal to have a new callback function >> "*on_create_media_transport(...)" is very good and would solve the >> problem. Applications can use this to create the transport chain they >> need. It's simple and easy to use, in particular if pjsua creates the >> base transport (usually UDP or ICE) as you proposed. >> > > Great, I just created https://trac.pjsip.org/repos/ticket/1173 for this. > >> >> While it is not a real problem to put the ZRTP stuff into a complete >> separate directory it would require some additional effort for >> application developers. Using the well established third party >> structure and build mechanisms simplify many things. >> > > Okay. I guess either way it doesn't really matter as long as there is > clear instruction for the users. > >>>> >>>> Only topic to solve: enable an application to tell pjsua to use the >>>> transport_zrtp :-) . >>>> >>> >>> Yes, that's always a problem for new features that are not in the trunk. >> >> This will be solved for transport_zrtp with your proposal to add the >> new callback. >> > > I see. I thought you mean how to add few feature into (existing) pjsua > application. > > Cheers > Benny > > _______________________________________________ > 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 -------------- A non-text attachment was scrubbed... Name: ZSRTP4PJ.tar.gz Type: application/x-gzip Size: 148464 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101208/86a10f0f/attachment-0002.gz> -------------- next part -------------- A non-text attachment was scrubbed... Name: zrtpsample.tar.gz Type: application/x-gzip Size: 13746 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101208/86a10f0f/attachment-0003.gz>