如何通过 wifi 和 3G 网络设置语音聊天?
我想在我的商务应用程序中添加语音聊天功能。我一直在努力寻找任何有用的东西,但对此没有太多帮助。有人能给我指出一些具体的东西吗?
PS:Skype 应用程序利用了此功能。
I wanted to add a voice chat feature to my business app. I have been trying hard to find anything useful but there is not much help regarding this. Could anyone plz point me to something concrete??
PS: The skype app makes use of this feature.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为了方便服务器/客户端设置,请检查 Jingle Nodes 与桌面应用程序 SIP Communicator 的结合。但作为开源,我认为您可以重用大量代码以使其具有移动性。专为安卓系统设计。查看Jingle Nodes 设置指南的草稿
For easy Server / Client setup check Jingle Nodes in combination with SIP Communicator which is a Desktop application. But as being opensource I presume you can reuse a lot of the code to make it mobile. Specially for Android. Check this draft of a Jingle Nodes Setup Guide
这是一项繁重的工作,因为没有“内置”sdk 功能或第三方自组件可以帮助您完成此任务,而无需您做大量工作。
您的选择(据我所知)是:
语音“聊天”可能是许多事情之一,例如:
这些选择都不容易。
具有 iphone 端口的开源 SIP 实现(据我所知):
更新:
SIP 和Jingle 都使用 RTP 作为双方之间的实际传输协议。 RTP 是UDP 点对点协议。形成会话的端口使用其他协议进行协商,例如 RTSP(在设置方法中使用 SDP)和 SIP。 RTP 和 RTCP 通常使用非特权 UDP 端口(1024 至 65535)。
This is a lot of work as there is no "built in" sdk features or third party off the self components that will help you do it without a lot of work on your end.
Your options (as far as I know) are:
Voice "chat" could be one of many things like:
None of these options are easy.
Open Source SIP implementations that have iphone ports (that I know of):
Update:
SIP & Jingle both use RTP for the actual transport protocol between the parties. RTP is a UDP point-to-point protocol. The ports which form a session are negotiated using other protocols such as RTSP (using SDP in the setup method) and SIP. RTP and RTCP typically use unprivileged UDP ports (1024 to 65535).