PJSUA2 android UDP/TCP encryption

49 views
Skip to first unread message

z.sat...@gmail.com

unread,
Feb 28, 2017, 3:25:34 AM2/28/17
to PJSIP experts
Hi,


I am developing an app using PJSIP on android. Earlier I used pjsip in c++ which allowed me to use the lower level apis. But in android I only have to use the PJSUA2 swig implementation. I need to encrypt the udp/ tcp RTP and RTCP packet before sending using blowfish cipher. The server I am communicating to uses this ciper. So I even need to drecrypt the packets.

While using c++, I could use

on_rx_rtp() and on_rx_rtcp() to receive the packets and for transmission, and send_rtp() and send_rtcp() for sending the data (specified in transport_udp.c)

Can you guide me to do the same thing in android? Basically i need to encrypt the tcp and udp packets.

Thanks,
Zeeshan

Reply all
Reply to author
Forward
0 new messages