mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
create http handler framework
This commit is contained in:
parent
eae9b94153
commit
341b5151d9
10 changed files with 244 additions and 9 deletions
|
@ -285,7 +285,7 @@ fi
|
|||
#####################################################################################
|
||||
function write_nginx_html5()
|
||||
{
|
||||
cat<<END >> ${html_file}
|
||||
cat<<END > ${html_file}
|
||||
<video width="640" height="360"
|
||||
autoplay controls autobuffer
|
||||
src="${hls_stream}"
|
||||
|
@ -398,7 +398,7 @@ if [ $__SRS_BUILD_NGINX = YES ]; then
|
|||
ln -sf `pwd`/research/players/nginx_index.html ${SRS_OBJS}/nginx/html/index.html
|
||||
else
|
||||
rm -f ${SRS_OBJS}/nginx/html/index.html &&
|
||||
cat<<END >> ${SRS_OBJS}/nginx/html/index.html
|
||||
cat<<END > ${SRS_OBJS}/nginx/html/index.html
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue