--without-ffmpeg disable the ffmpeg transcoding feature.
--without-librtmp disable srs-librtmp, library for client.
--without-bwtc disable srs bandwidth test client tool.
...
...
@@ -185,7 +185,7 @@ fi fi
if[$SRS_HLS= RESERVED ]; then echo"you must specifies the hls, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_SSL= RESERVED ]; then echo"you must specifies the ssl, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_FFMPEG= RESERVED ]; then echo"you must specifies the ffmpeg, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_HTTP= RESERVED ]; then echo"you must specifies the http, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_HTTP_CALLBACK= RESERVED ]; then echo"you must specifies the http, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_LIBRTMP= RESERVED ]; then echo"you must specifies the librtmp, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_BWTC= RESERVED ]; then echo"you must specifies the bwtc, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_RESEARCH= RESERVED ]; then echo"you must specifies the research, see: ./configure --help"; __check_ok=NO; fi
...
...
@@ -204,7 +204,7 @@ SRS_CONFIGURE=""
if[$SRS_HLS= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-hls"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-hls"; fi
if[$SRS_SSL= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ssl"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ssl"; fi
if[$SRS_FFMPEG= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ffmpeg"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ffmpeg"; fi
if[$SRS_HTTP= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http"; fi
if[$SRS_HTTP_CALLBACK= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-callback"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-callback"; fi
if[$SRS_LIBRTMP= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-librtmp"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-librtmp"; fi
if[$SRS_BWTC= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-bwtc"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-bwtc"; fi
if[$SRS_RESEARCH= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-research"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-research"; fi
# hp(http-parser) the http request/url parser, for SRS to support HTTP callback.
LibHttpParserRoot=""; LibHttpParserfile=""
if[$SRS_HTTP= YES ]; then LibHttpParserRoot="${SRS_OBJS}/hp"; LibHttpParserfile="${LibHttpParserRoot}/libhttp_parser.a"; fi
if[$SRS_HTTP_CALLBACK= YES ]; then LibHttpParserRoot="${SRS_OBJS}/hp"; LibHttpParserfile="${LibHttpParserRoot}/libhttp_parser.a"; fi
# openssl-1.0.1f, for the RTMP complex handshake.
LibSSLRoot="";LibSSLfile=""
if[$SRS_SSL= YES ]; then LibSSLRoot="${SRS_OBJS}/openssl/include"; LibSSLfile="${SRS_OBJS}/openssl/lib/libssl.a ${SRS_OBJS}/openssl/lib/libcrypto.a"; fi
...
...
@@ -383,7 +383,7 @@ if [ $SRS_FFMPEG = YES ]; then
else
echo -e "${YELLOW}warning: without live stream transcoding over FFMPEG support${BLACK}"
fi
if[$SRS_HTTP= YES ]; then
if[$SRS_HTTP_CALLBACK= YES ]; then
echo -e "${GREEN}http hooks callback over CherryPy is enabled${BLACK}"
else
echo -e "${YELLOW}warning: without http hooks callback over CherryPy support${BLACK}"
...
...
@@ -449,7 +449,7 @@ fi
if[$SRS_FFMPEG= YES ]; then
echo -e "\" ./objs/ffmpeg/bin/ffmpeg \" is used for live stream transcoding"
fi
if[$SRS_HTTP= YES ]; then
if[$SRS_HTTP_CALLBACK= YES ]; then
echo -e "\" python ./research/api-server/server.py 8085 \" to start the api-server"
fi
echo"\" ./objs/srs -c conf/srs.conf \" to start the srs live server"