使用 Red5 媒体服务器进行流中继
我编写了一个(Java)应用程序,将视频从一个点传输到另一个点。我使用一个能够生成和使用 RTP 流的库(即 Xuggler)。我考虑过使用 Red5 Media Server 来中继流。接下来我需要的是发送我的视频流。
到目前为止,我阅读的文档总是涉及录制流或流式传输预先录制的视频(当然还有网络摄像头)。还有一些安静的 Actionscript 代码当时对我没有帮助。 (我相信......)
所以我的问题是:Red5 可以帮助我吗?(即我应该继续阅读还是有另一个 - 更直接的 - 解决方案?)你能给我一些指导吗?会找到合适的文档吗?
I write an (Java-) application that streams a video from one peer to another. I use a library that is able to produce and consume an RTP stream (Xuggler that is). I thought about using Red5 Media Server to relay the stream. What I need next is to send and my video stream.
The documentation I read so far always deals with recording streams or streaming prerecorded videos (and of course the web cam). Also there is quiet some amount of Actionscript code that does not help me at the time. (I belief...)
So my question is: Can Red5 help me? (I.e. should I continue reading or is there another - more direct - solution?) Could you please give me some pointer where I would find suitable documentation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Red5 主要用于通过 RTMP、RTMPT、RTMPS 等流式传输到 Flash 客户端。它不限于这些协议,但它们是“开箱即用”的协议。如果您想在 red5 中运行 xuggler 来使用 RTP,然后发布到 RTMP,那么您很幸运,因为这是非常容易做到的。如果您想以 RTP 形式重新发布,则需要完成一些额外的工作。
Red5 is primarily for streaming to Flash clients over RTMP,RTMPT,RTMPS etc. It is not limited to these protocols, but they are the ones available "out of the box". If you want to run xuggler inside red5 to consume RTP and then publish to RTMP then you are in luck as this is very ez to do. If you want to republish as RTP, you have some additional work cut out for you.