haumacher / mjSIP

mjSIP - a complete Java-based SIP stack implementation
https://github.com/haumacher/mjSIP
GNU General Public License v2.0
8 stars 8 forks source link

SRTP #7

Open Sliosh opened 3 months ago

Sliosh commented 3 months ago

Hello,

is there support for SRTP encrytped audio traffic? If so how can i enable SRTP for my UA.

Thanks

haumacher commented 2 months ago

Hi @Sliosh,

there seems to be "rudimentary" support of SRTP, since there is support for header fields that are required for encryption, see org.mjsip.sdp.field.SrtpKeyParam (https://github.com/haumacher/mjSIP/blob/master/mjsip-sip/src/main/java/org/mjsip/sdp/field/SrtpKeyParam.java).

However, I do not believe that SRTP support is in any way complete or usable, because the above mentioned class is not referred from other code. But I'm not the original author of this library and therefore cannot given any definitive answers here.