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

发布于 2024-09-18 01:48:15 字数 100 浏览 10 评论 0原文

我想在我的商务应用程序中添加语音聊天功能。我一直在努力寻找任何有用的东西,但对此没有太多帮助。有人能给我指出一些具体的东西吗?

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 技术交流群。

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

发布评论

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

评论(2

叹倦 2024-09-25 01:48:16

为了方便服务器/客户端设置,请检查 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

永不分离 2024-09-25 01:48:15

这是一项繁重的工作,因为没有“内置”sdk 功能或第三方自组件可以帮助您完成此任务,而无需您做大量工作。
您的选择(据我所知)是:

  • 构建您自己的解决方案。
  • 寻找第三方解决方案。
  • 寻找开源解决方案。

语音“聊天”可能是许多事情之一,例如:

  • 使用蜂窝网络的语音功能进行电话会议。
  • 使用蜂窝网络的语音功能以及支持电话会议的 PBX 服务器。
  • 使用 VOIP 解决方案 使用
  • wiki/Session_Initiation_Protocol" rel="noreferrer">SIP 堆栈与使用 XMPPJingle 解决方案(我相信 Google 语音服务使用此解决方案)
  • 使用您自己的 SIP 设置解决方案
  • 自定义解决方案

这些选择都不容易。

具有 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:

  • 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.
  • using a VOIP solution using a SIP stack with a SIP server
  • using a XMPP Jingle solution (I believe the google voice service uses this)
  • using your own SIP setup solution
  • custom solution

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

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