VoIP通话在android中开发

发布于 2024-12-22 06:04:14 字数 272 浏览 0 评论 0原文

我想在android上制作一个类似于SipDroid的应用程序。我查看了来自developer.android.com 的SipDemo 和android.net.sip 包。我的问题是,当您拨打/接听电话时,如何让音频流在发送/播放给用户之前对其进行加密/解密?有关于这个的教程吗?我知道我需要一个 sip 帐户和带有 android 2.3 的真实设备。我想在发送 AudioStream 之前获取它(用于加密),并在向用户播放之前接收 AudioStream (用于解密)。

伙计们请帮助我。 提前致谢 :)

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 :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

聆听风音 2024-12-29 06:04:14

使用 Android 2.3 API,不可能“获取”autio 流来对其进行加密/解密,因为 android.net.rtp 包不对“普通”开发者开放。该功能仅从 android 3.1 开始开放。

为了在较低的 Android API 版本中运行加密,请查看 CSipSimple 项目。它是开源的,并且完全实现了您的要求。然而,由于该应用程序并不是很简单,因此进入它有点复杂。但请尝试一下。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文