Red5 流式传输动态内容
我正在尝试使用 red5,并尝试制作一个基本的应用程序,将随机视频流传输给客户端。
假设我的服务器上有 3 个 flv,我希望客户端连接到我的 red5 应用程序并将这 3 个视频中的 1 个流式传输给它们。到目前为止,我能够弄清楚的唯一流媒体使用 netStream.play("video.flv")
,这对我不起作用,我不想让服务器决定文件流而不是客户端,非常感谢任何帮助,提前致谢。
I'm getting my feet wet with red5 and am trying to make a basic app that will stream a random video to the client.
Let's say I have 3 flvs on my server, I'd like a client to connect to my red5 app and have 1 of these 3 videos streamed to them. The only streaming i've been able to figure out so far uses netStream.play("video.flv")
, this doesn't work for me, I wan't the server to decide on the file to stream rather than the client, any help is really appreciated, thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们已经首次支持动态流,您可以在这里阅读我关于它的文章:http://gregoire.org/2011/07/19/dynamic-streaming-with-red5/
We've made a first-pass at supporting dynamic streaming and you can read my post about it here: http://gregoire.org/2011/07/19/dynamic-streaming-with-red5/