A media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache, VHosts (one IP for multi domain names) and JSON style statistics are supported now.
When you meet a bug, please open the issue including a title prefixed by '[bug]' and describe it as follows:
当你碰到一个 bug,请在提出问题时以 '[bug]' 为前缀写明标题,并且像下面的内容一样描述它:
When you meet a bug, please open the issue including a title prefixed by '[bug]' and describe it as follows: 当你碰到一个 bug,请在提出问题时以 '[bug]' 为前缀写明标题,并且像下面的内容一样描述它:
Expected behavior / 期望行为
多页面访问,各自能正常播放视频流
Actual behavior / 实际行为
第一个用户能正常播放,之后打开的页面均卡在视频第一秒左右处
Steps to reproduce the behavior / 复现问题步骤
后台通过ffmpeg推流, 命令为: ffmpeg -re -i /xxx/demo.wmv -c:v libx264 -preset:v ultrafast -f flv rtmp://127.0.0.1:1935/live/test
Nginx配置文件常规设置,参考过各种写法,特别是issues #116,需要的话我可以贴出来
前端通过flv.js拉流,第一个用户访问完全没有问题, 接下来如果有第二个用户和第一个用户差不多时间打开,那么也没问题,如果间隔一段时间比如5秒,那么第二个用户会看到视频最开头的一秒动画,然后就一直卡住