|
|
|
@ -444,6 +444,7 @@ else
|
|
|
|
|
echo "#undef SRS_AUTO_HTTP_CALLBACK" >> $SRS_AUTO_HEADERS_H
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
|
|
|
|
|
echo "link players to cherrypy static-dir"
|
|
|
|
|
rm -rf research/api-server/static-dir/players &&
|
|
|
|
|
ln -sf `pwd`/research/players research/api-server/static-dir/players &&
|
|
|
|
@ -456,6 +457,7 @@ rm -rf research/api-server/static-dir/forward &&
|
|
|
|
|
mkdir -p `pwd`/${SRS_OBJS}/nginx/html/forward &&
|
|
|
|
|
ln -sf `pwd`/${SRS_OBJS}/nginx/html/forward research/api-server/static-dir/forward
|
|
|
|
|
ret=$?; if [[ $ret -ne 0 ]]; then echo "link players to cherrypy static-dir failed, ret=$ret"; exit $ret; fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
#####################################################################################
|
|
|
|
|
# generate demo index.html
|
|
|
|
|