Java 与 Flash 的网络摄像头访问比较

发布于 2024-10-11 05:12:13 字数 190 浏览 6 评论 0原文

我将制作一个视频聊天网站,但来自 PHP 和 Python 网络,我没有视频流的经验。

你有什么建议吗? Java 还是 Flash?什么更灵活?

我什至正在考虑制作一个 C++ 服务器应用程序,用于以 PHP 为前端的流控制。由于这将是一个高流量的网站,因此性能是必须的。

你能指出一些方向吗? 有什么文档吗?框架?

I will make a video chat website, but coming from PHP and Python for the web i have no experience with video steaming.

What do you recommend? Java or Flash? What's more flexible ?

I am thinking of even making a C++ server application for stream controlling with a PHP fronted. Since is going to be a high traffic website and performance is a must.

Can you point to some direction?
Any documentation? Framework?

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

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

发布评论

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

评论(2

笔芯 2024-10-18 05:12:13

我要警告你:这不是一个小项目。大多数预先打包的视频聊天网站和服务每月花费数百美元是有原因的。

首先,您需要选择客户端运行时。这是一个重大决定,因为它将影响您的可用客户群以及网站的进入成本。 Flash 无疑是最普遍的,但 Java 在技术文化中相当流行。 Silverlight 则不然,但您应该查看最新的统计数据。请注意,您应该选择要开发的特定版本,因为 API 可能会发生变化,而且市场渗透率也会不同。

开发完客户端代码后,您需要选择服务器环境。如果您使用 Silverlight,显然您需要使用 C#.NET 来开发服务器端代码(用于视频流)。 Java和Flash作为客户端都使用Java作为服务器端。

如果您选择使用 Flash,请注意,您可以使用官方 Flash Media Server,或者您也可以使用开源 Red5 服务器。

I'm going to warn you: this is no small project. There's a reason why most prepackaged video chat websites and services cost hundreds of dollars a month.

First off, you need to pick your client side runtime. This is a major decision, since it will impact your available client base, and the cost of entry for your site. Flash is hands down the most pervasive, but Java is fairly prevalent in the techie culture. Silverlight less so, but you should check the latest statistics. Note that you should pick a particular version you're going to develop for, since the APIs may change, and market penetration is different.

Once you've developed the client-side code, you'll need to pick the server environment. If you use Silverlight, obviously you need to use C#.NET to develop the server side code (for the video streaming). Both Java and Flash as clients use Java as the server-end.

If you choose to go with Flash, be aware that you can either go with the official Flash Media Server, or you can go with the open-source Red5 server.

我一直都在从未离去 2024-10-18 05:12:13

正如 SEK 所指出的,您应该谨慎行事,因为提供可靠的流媒体服务可能并不像听起来那么容易。

我建议阅读有关流媒体的内容(它是什么/意味着什么、技术等),然后继续实施。

向客户端提供流服务

像 Flash Media Server 这样的解决方案可能会减少您的麻烦。正如前面提到的,Red5 是一个“不错的”开源解决方案,尽管我不确定其容量和稳定性。

您可能需要检查:

http://www.wowzamedia.com/(Flash Media Server) - 有趣的

注意:适用于 Amazon EC2 的 Wowza Media Server 2 也已推出

http://mammothserver.org/ (另一个开源 Flash Media 服务器)

http://fmsguru.com/(Flash Media 相关教程)

在这个大主题上,Google 始终是您的朋友。祝你好运。

As noted by SEK, you should proceed with caution since providing a reliable streaming service might not be as easy as it sounds.

I would recommend reading about streaming (what it is/means, technologies, etc) and then moving on with the implementation.

Serving streams to clients

Solutions like the Flash Media Server, might give you less headaches. Red5, as previously mentioned is a 'nice' open source solution, although i am not sure about the capacity and stability.

You might want to check:

http://www.wowzamedia.com/ (Flash Media Server) - interesting

NOTE: Wowza Media Server 2 for Amazon EC2 is also available

http://mammothserver.org/ (Another Open source Flash Media Server)

http://fmsguru.com/ (Flash Media related tutorials)

Google is always your friend on this big topic..good luck.

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