Reputation: 717
I would like to make an application similar to SipDroid on android. I took a look at SipDemo from developer.android.com and at the android.net.sip package. My question is, when you make/receive a call, how can you get the audio stream to encrypt/decrypt it before is being sent/played back to the user? Is there a tutorial about this somewhere? I am aware that I need a sip account and real devices with android 2.3. I would like to get the AudioStream before it's sent (for encryption) and to receive the AudioStream before it gets played-back to the user(for decryption).
Guys please help me . Thanks in advance :)
Upvotes: 1
Views: 2237
Reputation: 93
With the Android 2.3 API it is not possilbe to "get" to the autio stream to en/decrypt it, because the android.net.rtp package is not open to the "normal" developers. This only opened from android 3.1 onwards.
In order to get an encryption running in lower android API versions have a look at the CSipSimple project. It is open source and fully implements what you're asking for. However, it is kind of complicated to get into it since the app isn't very simple. But give it a try.
Upvotes: 1