网站的最佳音频/视频解决方案

发布于 2024-07-26 23:55:50 字数 214 浏览 3 评论 0原文

我想知道在社区网站上支持音频/视频聊天的最佳方式是什么。 我知道的几个选项:

  1. FMS 服务器
  2. Java 小程序使用套接字直接连接发送者和接收者

你有什么建议? 我知道 Google(Gmail Gtalk)安装了某种应用程序。 但是是否可以完全避开服务器并进行直接连接(以节省我的服务器带宽)

谢谢您的时间。

I am wondering what is the best way to support audio/video chat on a community site. Couple of options that I am aware of:

  1. FMS server
  2. Java applet using sockets to directly connect both sender and receiver

What would you suggest? I know Google (Gmail Gtalk) installs some kind of an application. But is it possible to avoid the server completely and do a direct connection (to save my server bandwidth)

Thank you for your time.

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

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

发布评论

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

评论(3

魔法少女 2024-08-02 23:55:50

到目前为止,FMS 还不是点对点的,因此只要您不使用 P2P,您就始终需要为带宽付费。

Flash Player 10 内置了这些功能,但 Adob​​e 尚未提供具有 P2P 功能的 FMS,除了名为 Stratus 的“托管测试版”之外,Adobe 使这更加混乱,使您不清楚是否可以在该协议下发布商业应用程序。托管的 Stratus 服务器,使所有这些功能变得毫无用处(这些是专有的、晦涩的协议、思想封闭的公司的“优势”)。

这远不足以阻止您将第一笔资金投入 FMS 许可证! 除了协议问题之外,Adobe 并未在 Flash 中提供开放式 API 回声消除器,这使得音频通信极其痛苦且不可靠,特别是在没有耳机的情况下,更不用说网络延迟导致数秒的音频延迟。 AEC 已存在,但仅由 Acrobat 会议服务使用(与屏幕共享相同)。

我不知道基于 Java 的解决方案 - 我想您会因为当今 PC 上的 JRE 渗透率低下以及对小程序的长期反感而感到震惊,但最终这可能比 Adob​​e 的任何解决方案都做得更好!

FMS is not peer to peer to this date, therefore you'll always pay for the bandwidth as long as you're not going P2P.

Flash Player 10 has these capabilities built in, but Adobe is yet to provide FMS that is P2P capable, beside the "hosted beta" called Stratus where Adobe makes even more confusion, making it unclear whether you can release a commercial application or not under the hosted Stratus server, rendering all these features useless (these are the "advantages" of proprietary, obscure protocols, close minded companies).

And that's FAR from being all that will stop you from investing your first $$$ in a FMS license! Beside the protocol issues, Adobe doesn't provide an open API Achoustic Echo Canceler within Flash making the audio communication extremely painful, unreliable, specially without headphones, not to mention the network latency causing seconds of audio delays. The AEC is there, but it's only to be used by the Acrobat conference services (same for screen sharing).

I don't know about Java based solutions - I suppose you'll be hit by the poor JRE penetration on PCs nowadays and the long antipathy for applets but that might do better than anything from Adobe in the end!

梦一生花开无言 2024-08-02 23:55:50

最好的解决方案是使用 Adob​​e、Red5 或 Wowza 的 FMIS 等媒体服务器来处理所有音频/视频聊天,并使用 Flash 客户端在浏览器中运行并捕获/显示音频/视频。

您还可以购买现成的解决方案,例如 AVChat 3,它支持所有 3 种媒体服务器:FMIS、Red5 和 Wowza。

是否可以完全避开服务器并进行直接连接

的,但唯一可以执行 p2p 的媒体服务器是 Flash Media Enterprise Server(与 FMIS 不同),而且非常昂贵。 此外,p2p 通过防火墙不太可靠,并且不适合多 2 多实时视频聊天(仅适用于一对二或一对多)。

The best solution would be to use a media server like FMIS from Adobe, Red5 or Wowza to handle all the audio/video chat and a Flash client to run in the browser and capture/display the audio/video.

You can also purchase a solution off the shelf like AVChat 3 that supports all 3 media servers: FMIS, Red5 and Wowza.

is it possible to avoid the server completely and do a direct connection

Yes but the only media server that can do p2p is Flash Media Enterprise Server (different than FMIS) and that's very expensive. Also p2p is not so reliable trough firewalls and it's not good for many 2 many live video chat (only for one 2 one or one 2 many).

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