mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support disable the librtmp
This commit is contained in:
parent
179e2a2bba
commit
0a2b8b797d
2 changed files with 56 additions and 9 deletions
10
trunk/auto/options.sh
Normal file → Executable file
10
trunk/auto/options.sh
Normal file → Executable file
|
@ -15,6 +15,7 @@ SRS_HLS=RESERVED
|
|||
SRS_SSL=RESERVED
|
||||
SRS_FFMPEG=RESERVED
|
||||
SRS_HTTP=RESERVED
|
||||
SRS_LIBRTMP=RESERVED # srs-librtmp
|
||||
SRS_RESEARCH=RESERVED
|
||||
SRS_UTEST=RESERVED
|
||||
SRS_GPERF=RESERVED # tcmalloc
|
||||
|
@ -30,6 +31,7 @@ SRS_HLS=YES
|
|||
SRS_SSL=YES
|
||||
SRS_FFMPEG=YES
|
||||
SRS_HTTP=YES
|
||||
SRS_LIBRTMP=YES
|
||||
SRS_RESEARCH=NO
|
||||
SRS_UTEST=YES
|
||||
SRS_GPERF=NO
|
||||
|
@ -62,6 +64,7 @@ do
|
|||
--with-hls) SRS_HLS=YES ;;
|
||||
--with-ffmpeg) SRS_FFMPEG=YES ;;
|
||||
--with-http) SRS_HTTP=YES ;;
|
||||
--with-librtmp) SRS_LIBRTMP=YES ;;
|
||||
--with-research) SRS_RESEARCH=YES ;;
|
||||
--with-utest) SRS_UTEST=YES ;;
|
||||
--with-gperf) SRS_GPERF=YES ;;
|
||||
|
@ -74,6 +77,7 @@ do
|
|||
--without-hls) SRS_HLS=NO ;;
|
||||
--without-ffmpeg) SRS_FFMPEG=NO ;;
|
||||
--without-http) SRS_HTTP=NO ;;
|
||||
--without-librtmp) SRS_LIBRTMP=NO ;;
|
||||
--without-research) SRS_RESEARCH=NO ;;
|
||||
--without-utest) SRS_UTEST=NO ;;
|
||||
--without-gperf) SRS_GPERF=NO ;;
|
||||
|
@ -115,6 +119,7 @@ if [ $help = yes ]; then
|
|||
--with-http enable http hooks, build cherrypy as demo api server.
|
||||
srs will call the http hooks, such as: on_connect.
|
||||
--with-ffmpeg enable transcoding with ffmpeg.
|
||||
--with-librtmp enable srs-librtmp, library for client.
|
||||
--with-research build the research tools.
|
||||
--with-utest build the utest for srs.
|
||||
--with-gperf build srs with gperf tools(no gmc/gmp/gcp, with tcmalloc only).
|
||||
|
@ -127,6 +132,7 @@ if [ $help = yes ]; then
|
|||
--without-hls disable hls, rtmp streaming only.
|
||||
--without-http disable http, http hooks callback.
|
||||
--without-ffmpeg disable the ffmpeg transcoding feature.
|
||||
--without-librtmp disable srs-librtmp, library for client.
|
||||
--without-research do not build the research tools.
|
||||
--without-utest do not build the utest for srs.
|
||||
--without-gperf do not build srs with gperf tools(without tcmalloc and gmc/gmp/gcp).
|
||||
|
@ -230,6 +236,10 @@ if [ $SRS_GPERF_CP = RESERVED ]; then
|
|||
echo "you must specifies the gperf-cp, 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 [ $__check_ok = NO ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue