简体   繁体   English

如何通过wifi和3g网络设置语音聊天?

[英]how to setup voice chat over wifi and 3G network?

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. PS:Skype应用程序利用了此功能。

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. 这是很多工作,因为没有“内置” sdk功能或自助组件没有第三方可以帮助您完成此工作,而无需进行大量工作。 Your options (as far as I know) are: 您的选择(据我所知)是:

  • Build your own solution. 构建自己的解决方案。
  • Look for a third party solution. 寻找第三方解决方案。
  • Look for a open source solution. 寻找开源解决方案。

Voice "chat" could be one of many things like: 语音“聊天”可能是许多事情之一,例如:

  • using the voice features of a cellular network to a conference call. 使用蜂窝网络的语音功能进行电话会议。
  • using the voice features of a cellular network with a PBX server that supports conference calls. 在支持电话会议的PBX服务器上使用蜂窝网络的语音功能。
  • using a VOIP solution using a SIP stack with a SIP server 使用VOIP解决方案,将SIP堆栈与SIP服务器一起使用
  • using a XMPP Jingle solution (I believe the google voice service uses this) 使用XMPP Jingle解决方案(我相信Google语音服务会使用此解决方案)
  • using your own SIP setup solution 使用您自己的SIP设置解决方案
  • custom solution 定制解决方案

None of these options are easy. 这些选项都不容易。

Open Source SIP implementations that have iphone ports (that I know of): 具有iphone端口(我知道)的开源SIP实现:

Update: 更新:

SIP & Jingle both use RTP for the actual transport protocol between the parties. SIP和Jingle都使用RTP作为双方之间的实际传输协议。 RTP is a UDP point-to-point protocol. RTP是UDP点对点协议。 The ports which form a session are negotiated using other protocols such as RTSP (using SDP in the setup method) and SIP. 使用其他协议(例如RTSP(在设置方法中使用SDP)和SIP)协商构成会话的端口。 RTP and RTCP typically use unprivileged UDP ports (1024 to 65535). RTP和RTCP通常使用无特权的UDP端口(1024至65535)。

For easy Server / Client setup check Jingle Nodes in combination with SIP Communicator which is a Desktop application. 为了轻松进行服务器/客户端设置,请结合使用作为桌面应用程序的SIP Communicator选中“ 叮当节点” But as being opensource I presume you can reuse a lot of the code to make it mobile. 但是作为开源,我想您可以重用许多代码以使其具有移动性。 Specially for Android. 特别适用于Android。 Check this draft of a Jingle Nodes Setup Guide 查看《 Jingle节点设置指南》的草稿

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM