如何通过负载平衡流式传输点播视频

我想弄清楚如何对视频服务器进行负载平衡.
现实世界的场景是;

i have a storage server which stores all my video files,an several
servers to load balance my http request(works like a CDN service).
Client requests a video file -> Nearest Load balancing server
answers request (lets say it LBS) LBS -> Storage (find the video and
start sending first N kbyte to client,so it starts to play) -> LBS caches the rest of the
file on its own storage,and on the next request,serves it directly
from its cache,not from storage.

这种设置的问题是,我想通过RTMP提供视频,但是在平衡机(其Nginx Web服务器)上,我无法提供虚拟文件(如rtmp流).

简而言之;我正在寻找一种类似于Nginx Web服务器的rtmp服务器实现.任何想法,建议都会很棒.

注意:当前我正在尝试实现crtmpserver

最佳答案
您可以使用Nginx_rtmp模块…它支持流flv文件作为rtmp流(以及对rtmp流进行转码,并且也将rtmp重新打包为hls)

参见有关文档:https://github.com/arut/nginx-rtmp-module/

Ĵ

相关文章

Nginx (engine x) 是一个高性能的HTTP和反向代理服务,也是一...
本地项目配置 1 复制 luffy/settings/dev.py为prop.py 修改l...
nginx不仅可以隐藏版本信息,还支持自定义web服务器信息 先看...
一 、此次漏洞分析 1 nginx HTTP/2漏洞 [nginx-announce] ng...
###进入nginx 目录cd /usr/local/nginx###递归显示 2 级目录...
在cmd命令窗口输入下面命令进行查看 tasklist /fi "ima...