使用Red5需要Java吗
我正在开发一个 Flash 项目,有人推荐 Red5 作为媒体流服务器。
我需要了解 java 才能使用 Red5 作为服务器来构建应用程序吗?
I'm working on a Flash project and someone recommended Red5 as a media streaming server.
Do I need to know java to use build applications that use Red5 as their server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这取决于项目。
Red5 将用于服务器端部分,它具有许多开箱即用的功能。
例如,如果它只是一个简单的 RTMP 流点播视频,您可以使用 Red5 和 oflaDemo 插件来完成,该插件已经并且非常简单,无需接触 java,但如果您需要服务器端更复杂的东西(例如播放列表、cookie 的使用等),然后您需要了解 java,即使这样,这也会相当困难,因为那里没有很好的 Red5 文档。
但是您可以使用 Flash 从客户端控制许多事情。
It depends on the project.
Red5 will be used for the server-side part and it comes with a number of features out of the box.
If for example it's just a simple video on demand with RTMP streaming, you can do it with Red5 and the oflaDemo plugin which has already and is very easy without touching java, but if you need something more complex for server-side (for example a playlist, use of cookies etc), then you'll need to know java and even then it will be pretty difficult as there isn't very good documentation for Red5 out there.
But you can control many things from the client side with flash.
您可能应该学习它,或者至少有一点经验。您可以用其他语言为 Red5 编写东西,但它们都需要一些 Java 知识。例如,要使用 JRuby,您仍然必须编译一个调用 JRuby 方法的 java 类。可笑,但却是事实!我这里有一个示例 JRuby 项目: http://github.com/bbhoss/red5-jruby
You should probably learn it, or at least have minor experience with it. You can write stuff for Red5 in other languages, but they all require SOME knowledge of Java. For instance, to use JRuby, you still have to compile a java class that calls the JRuby methods. Ridiculous, but true! I have a sample JRuby project here: http://github.com/bbhoss/red5-jruby