Hi, If you are using stream port, this can only be done by modifying the stream.c which is not recommended. In case you haven't seen the SRTP encryption approach, here is the short description. The encryption is done after the RTP encapsulation in media transport layer. pjmedia_transport_srtp (which do the encryption) is stacked before pjmedia_transport_udp (which do the real sending/receving packets). So perhaps you can use the same approach. Regards, nanang 2009/3/29 Elias AC <ace__1981 at hotmail.com>: > Dear all, > > I'm interested in exclusively encrypting the RTP payload, i.e. right after > the codec output and before RTP encapsulation. > > Is there any schematic diagram or any document that explains the architecure > of PJSIP? > > And if not, do you know in which file or on which function should I focus? > > Thanks in advance, > Elias. > > P.S: sRTP is not an option for me. > > ________________________________ > Hotmail? is up to 70% faster. Now good news travels really fast. Find out > more. > _______________________________________________ > 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 > >