正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -4,8 +4,9 @@ if [[ ! -d $src_dir ]]; then echo "错误:必须在src同目录执行脚本"; | @@ -4,8 +4,9 @@ if [[ ! -d $src_dir ]]; then echo "错误:必须在src同目录执行脚本"; | ||
| 4 | 4 | ||
| 5 | # step 1: build srs | 5 | # step 1: build srs |
| 6 | # nginx is not needed, we use cherrypy to delivery hls. | 6 | # nginx is not needed, we use cherrypy to delivery hls. |
| 7 | +# demo needs ffmpeg to transcode the live stream. | ||
| 7 | echo "编译SRS" | 8 | echo "编译SRS" |
| 8 | -./configure --x86-x64 && make | 9 | +./configure --x86-x64 --with-ffmpeg && make |
| 9 | ret=$?; if [[ 0 -ne $ret ]]; then echo "错误:编译SRS失败"; exit $ret; fi | 10 | ret=$?; if [[ 0 -ne $ret ]]; then echo "错误:编译SRS失败"; exit $ret; fi |
| 10 | 11 | ||
| 11 | echo "编译SRS成功" | 12 | echo "编译SRS成功" |
-
请 注册 或 登录 后发表评论