--without-http-server disable http server, use external server to delivery http stream.
--without-ffmpeg disable the ffmpeg transcoding feature.
--without-librtmp disable srs-librtmp, library for client.
--without-bwtc disable srs bandwidth test client tool.
...
...
@@ -297,7 +310,8 @@ if [ $SRS_HLS = RESERVED ]; then echo "you must specifies the hls, see: ./config
if[$SRS_NGINX= RESERVED ]; then echo"you must specifies the nginx, 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_CALLBACK= 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-callback, see: ./configure --help"; __check_ok=NO; fi
if[$SRS_HTTP_SERVER= RESERVED ]; then echo"you must specifies the http-server, 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
...
...
@@ -322,6 +336,7 @@ if [ $SRS_NGINX = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-nginx"; els
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_CALLBACK= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-callback"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-callback"; fi
if[$SRS_HTTP_SERVER= YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-server"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-server"; 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_CALLBACK= YES ]; then LibHttpParserRoot="${SRS_OBJS}/hp"; LibHttpParserfile="${LibHttpParserRoot}/libhttp_parser.a"; fi
if[$SRS_HTTP_PARSER= 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
...
...
@@ -519,6 +522,11 @@ if [ $SRS_HTTP_CALLBACK = YES ]; then
else
echo -e "${YELLOW}warning: without http hooks callback over CherryPy support${BLACK}"
fi
if[$SRS_HTTP_SERVER= YES ]; then
echo -e "${GREEN}http server to delivery http stream is enabled${BLACK}"
else
echo -e "${YELLOW}warning: without http server to delivery http stream support${BLACK}"
fi
if[$SRS_LIBRTMP= YES ]; then
echo -e "${GREEN}srs-librtmp for client is enabled${BLACK}"