正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -4,7 +4,7 @@ if [[ ! -d $src_dir ]]; then echo "错误:必须在src同目录执行脚本"; | @@ -4,7 +4,7 @@ if [[ ! -d $src_dir ]]; then echo "错误:必须在src同目录执行脚本"; | ||
4 | 4 | ||
5 | # step 1: build srs | 5 | # step 1: build srs |
6 | echo "编译SRS" | 6 | echo "编译SRS" |
7 | -./configure --with-ssl --with-hls --with-http-server --with-ingest --with-transcode --with-http-callback && make | 7 | +./configure --with-ssl --with-hls --with-http-server --with-http-api --with-ingest --with-transcode --with-http-callback && make |
8 | ret=$?; if [[ 0 -ne $ret ]]; then echo "错误:编译SRS失败"; exit $ret; fi | 8 | ret=$?; if [[ 0 -ne $ret ]]; then echo "错误:编译SRS失败"; exit $ret; fi |
9 | 9 | ||
10 | echo "编译SRS成功" | 10 | echo "编译SRS成功" |
@@ -94,7 +94,7 @@ if [ $DO_BUILD = YES ]; then | @@ -94,7 +94,7 @@ if [ $DO_BUILD = YES ]; then | ||
94 | else | 94 | else |
95 | ( | 95 | ( |
96 | cd $work_dir && | 96 | cd $work_dir && |
97 | - ./configure --with-ssl --with-hls --with-nginx --with-ffmpeg --with-http-callback --prefix=$INSTALL && make | 97 | + ./configure --with-ssl --with-hls --with-http-server --with-http-api --with-ingest --with-http-callback --prefix=$INSTALL && make |
98 | ) >> $log 2>&1 | 98 | ) >> $log 2>&1 |
99 | fi | 99 | fi |
100 | ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "build srs failed"; exit $ret; fi | 100 | ret=$?; if [[ 0 -ne ${ret} ]]; then failed_msg "build srs failed"; exit $ret; fi |
-
请 注册 或 登录 后发表评论