使用 Red5 制作直播 - 需要 oflaDemo 吗?
我刚刚完成了一个基本的 Flash 视频聊天客户端的组装,该客户端将相机发布到流并从另一个客户端接收类似的流。 (本着这个精神 博客文章。)
这些流正在发布/订阅到 Red5 附带的“oflaDemo”。
这似乎对我的原型工作得很好,但我担心如果我要将这个聊天应用程序投入生产,就必须使用名称中带有“demo”的东西。看来另一种选择是从本质上重写该演示,也许添加更多功能,这似乎不适合利用 Red5 的核心功能之一。
所以,我的问题是:Red5 中生产直播的标准/最佳实践是什么?使用oflaDemo吗?是否必须编写自定义流代理?如果我自己不托管它,大多数主机都有自己的(生产质量)版本的 oflaDemo 吗?
I've just finished putting together a basic flash video chat client that publishes the camera to a stream and receives a similar stream from another client. (Something in the spirit of this blog post.)
The streams are being pub/sub'd to the "oflaDemo" that ships with Red5.
This seems to work fine for my prototype, but I'm concerned about having to use something with "demo" in the name if I were to roll this chat application into production. It seems that the alternative is to essentially re-write that demo, perhaps with a few more features, which doesn't seem right in order to take advantage of one of Red5's core functionalities.
So, my question is: what is standard/best practice for production live streams in Red5? Is the oflaDemo used? Do custom stream brokers have to be written? If I don't host it myself, do most hosts have their own (production-quality) version of oflaDemo?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该演示是为不久前的一次会议编写的,当然欢迎您使用它。许多人使用服务器端和客户端代码来构建自己的代码,这也很好并且在 LGPL 许可证范围内。如果您只想重命名应用程序并以其他名称部署应用程序,只需进行全局搜索并替换 oflaDemo 并重新打包类即可。如果您需要更多详细信息,请发表评论。
That demo was written for a conference quite some time ago and you are certainly welcome to use it. Many people use both the server and client side code to base their own code upon and this is also just fine and within the LGPL license. If you want to simply rename and deploy the application under another name, simply do a global search and replace for oflaDemo and repackage the classes. If you need further detail, just post a comment.