[pjsip] SRTP on pjsua

Nanang Izzuddin nanang at pjsip.org
Tue Dec 8 22:15:13 EST 2009


Hi Nir,

On Sat, Dec 5, 2009 at 2:42 AM, nir elkayam <nir.elkayam at gmail.com> wrote:
> hi,
>
> pjsua API toward SRTP is very limited.
> how can I set the key for the SRTP session?

Currently setting SRTP keys manually cannot be done in pjsua level,
the keys will just be auto-generated.

>
> also, about key agreement. how can I use ZRTP? I think that in order to use
> libZRTP we need to put hooks on the RTP callbacks/send function and use them
> in the begining of the call until key is agreed. only then we should hook in
> the SRTP and init with the key agreed.
>
> am I missing something?

Know nothing about ZRTP. Just in case, seems that creating own
transport adapter/srtp wrapper could be an alternative solution (as
keys are negotiated in-band?).

BR,
nanang




More information about the pjsip mailing list