Flex 视频流问题
问题是从哪里开始使用 Flex 通过网络传输视频。 请建议流媒体服务器类型(支持Linux)。有源代码示例吗?
谢谢。
the question is where to start with streaming video over the net with flex.
Please suggest streaming server type (with linux support) . Any examples of source code ?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您想要进行哪种类型的流媒体播放?有不同的级别,根据您的要求,需要不同的技术。
Adobe 有自己的解决方案,称为 Flash Media Server(或 FMS),但我不是它的粉丝。它工作得很好,但是运行它的代码都是 Actionscript,大多数“服务器”人员不喜欢这种代码,因为他们中的很多人都接受过 Java 培训。另外,FMS 需要花钱; 15 个或更少的连接是免费的,但如果您想要更多,则需要支付相当多的硬币。
Red5 项目是免费的替代方案。它使用 Java,工作方式与 FMS 几乎相同,只是它缺少一些功能,例如一些较新的 Adobe 流协议 (RTMFP)。
我听说过的另一件很棒的事情是 Wowza 服务器。它也是基于 Java 的,达到一定数量的连接是免费的,并且购买起来相当便宜。他们有不同的定价模型,适合您的企业想要做的事情,并且很容易扩大规模。 Wowza 的一大优点是它们也在亚马逊云上,这是一种让您的服务器运行的好又便宜的方式,因为它是“现收现付”类型的交易。
但是,这是一个大问题,如果您只需要在几个客户端之间进行简单的流传输(例如某种视频聊天),您可以随时使用 Adobe 的新 p2p 服务,称为 Cirrus(以前称为 Stratus)。它可以帮助人们(2 个或更多)相互连接,即使他们位于防火墙后面(但需要启用 UDP)并相互传输实时信息。对此的唯一限制是每个客户端相互连接的带宽。
希望这一切都有帮助。
What kind of streaming are you looking to do? There's different levels and depending on your requirement would need different technologies.
Adobe has their own solution called Flash Media Server (or FMS), but I'm not a fan. It works fine, but the code that runs it is all Actionscript which most 'server' guys do not appreciate since a lot of them are Java trained. Plus, FMS costs money; It's free for 15 connections or less but if you want more, you need to pay a pretty coin.
As a free alternative, there's the Red5 project. This one uses Java and works pretty much the same way as FMS except it's lacking a few features like some of the newer Adobe streaming protocols (RTMFP).
Another one that I've heard great things about is Wowza server. It's Java based as well, is free up to a certain amount of connections and is fairly cheap to buy. They have different pricing models that fits what your business wants to do and it's very easy to scale up. One big plus of Wowza is that they're also on the Amazon cloud which is a great and cheap way to have your servers running since it's a 'pay as you go' type deal.
BUT, and this is big one, if you just need simple streaming between just a few clients (like a video chat of some sort) you can always use Adobe's new p2p service called Cirrus (formerly known as Stratus). It helps people (2 or more) connect to each other even if they're behind a firewall (need to have UDP enabled however) and stream live information to each other. The only limitation on this one is the bandwidth of each client connecting to each other.
Hope this all helps.
Red5 服务器:Java、实时、免费、Linux,任何你想要的:)
Red5 server: Java, real-time, free, linux, anything you want :)
您还可以尝试更多:
Flash Media Server
ffmpeg
VLC
Some more u can try:
Flash Media Server
ffmpeg
VLC