正在显示
1 个修改的文件
包含
13 行增加
和
0 行删除
| @@ -20,4 +20,17 @@ vhost __defaultVhost__ { | @@ -20,4 +20,17 @@ vhost __defaultVhost__ { | ||
| 20 | hls_window 60; | 20 | hls_window 60; |
| 21 | hls_path ./objs/nginx/html; | 21 | hls_path ./objs/nginx/html; |
| 22 | } | 22 | } |
| 23 | + ingest livestream { | ||
| 24 | + enabled on; | ||
| 25 | + input { | ||
| 26 | + type file; | ||
| 27 | + url ./doc/source.200kbps.768x320.flv; | ||
| 28 | + } | ||
| 29 | + #ffmpeg ./objs/ffmpeg/bin/ffmpeg; | ||
| 30 | + ffmpeg ./objs/research/librtmp/srs_ingest_flv; | ||
| 31 | + engine { | ||
| 32 | + enabled off; | ||
| 33 | + output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream; | ||
| 34 | + } | ||
| 35 | + } | ||
| 23 | } | 36 | } |
-
请 注册 或 登录 后发表评论