mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
simplify usage
This commit is contained in:
parent
13d9b44c73
commit
2fa0d60186
4 changed files with 12 additions and 0 deletions
|
@ -270,6 +270,9 @@ if [ $SRS_HLS = YES ]; then
|
|||
ln -sf `pwd`/research/players ${SRS_OBJS}/nginx/html/players &&
|
||||
rm -f ${SRS_OBJS}/nginx/crossdomain.xml &&
|
||||
ln -sf `pwd`/research/players/crossdomain.xml ${SRS_OBJS}/nginx/html/crossdomain.xml
|
||||
|
||||
# nginx.html to detect whether nginx is alive
|
||||
echo "nginx is ok" > ${SRS_OBJS}/nginx/html/nginx.html
|
||||
fi
|
||||
|
||||
if [ $SRS_HLS = YES ]; then
|
||||
|
|
9
trunk/conf/hls.conf
Normal file
9
trunk/conf/hls.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
listen 1935;
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
hls_path ./objs/nginx/html;
|
||||
hls_fragment 10;
|
||||
hls_window 60;
|
||||
}
|
||||
}
|
0
trunk/conf/rtmp.conf
Executable file → Normal file
0
trunk/conf/rtmp.conf
Executable file → Normal file
0
trunk/conf/srs.19350.conf
Executable file → Normal file
0
trunk/conf/srs.19350.conf
Executable file → Normal file
Loading…
Reference in a new issue