nginx 点播mp4方法
作者:互联网
1.配置文件
配置文件中rmtp部分:
application vod {
play html;
}
配置文件中http部分:
location ~ .mp4$ {
root html;
mp4;
limit_conn addr 20;
limit_rate 20000k;
2.视频存放路径##
将流化后的1.mp4存放到html路径下
3.点播地址
http://127.0.0.1/1.mp4
rtmp://127.0.0.1/vod/1.mp4
标签:vod,127.0,点播,配置文件,nginx,mp4,html,http 来源: https://www.cnblogs.com/liuys635/p/14934162.html