1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine http server pages. change to 0.9.51

This commit is contained in:
winlin 2014-04-05 13:14:59 +08:00
parent 1c02f4551c
commit 4e3fe36ae2
24 changed files with 307 additions and 96 deletions

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>SRS</title>
<meta charset="utf-8">
<script type="text/javascript" src="players/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="players/js/srs.page.js"></script>
<script type="text/javascript" src="players/js/srs.utility.js"></script>
</head>
<body>
<script type="text/javascript">
setTimeout(function(){
window.location.href = "players/index.html" + window.location.search;
}, 500);
</script>
</body>

0
trunk/research/players/index.html Executable file → Normal file
View file

View file

@ -15,6 +15,8 @@ function srs_get_version_code() { return "1.19"; }
function srs_get_player_vhost() { return "players"; }
// the api server port, for chat room.
function srs_get_api_server_port() { return 8085; }
// the srs http server port
function srs_get_srs_http_server_port() { return 8080; }
// get the stream published to vhost,
// generally we need to transcode the stream to support HLS and filters.
// for example, src_vhost is "players", we transcode stream to vhost "players_pub".

0
trunk/research/players/jwplayer6.html Executable file → Normal file
View file

14
trunk/research/players/nginx_index.html Executable file → Normal file
View file

@ -3,19 +3,11 @@
<head>
<title>SRS</title>
<meta charset="utf-8">
<script type="text/javascript" src="players/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="players/js/srs.page.js"></script>
<script type="text/javascript" src="players/js/srs.utility.js"></script>
</head>
<body>
<script type="text/javascript">
var query = parse_query_string();
var url = window.location.protocol + "//" + query.hostname + ":" + srs_get_api_server_port() + "/index.html" + window.location.search;
document.write("请确认api-server已经开启跳转到api-server的页面解决IE跨域问题<br/>");
document.write("正在跳转,若您的浏览器没有跳转,请点击: <a href='" + url + "'>" + url + "</a>");
setTimeout(function(){
window.location.href = url;
}, 3000);
window.location.href = "players/index.html" + window.location.search;
}, 500);
</script>
</body>
</body>

0
trunk/research/players/osmf.html Executable file → Normal file
View file

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>SRS</title>
<meta charset="utf-8">
<script type="text/javascript" src="players/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="players/js/srs.page.js"></script>
<script type="text/javascript" src="players/js/srs.utility.js"></script>
</head>
<body>
<script type="text/javascript">
setTimeout(function(){
window.location.href = "players/index.html" + window.location.search;
}, 500);
</script>
</body>

0
trunk/research/players/srs_bwt.html Executable file → Normal file
View file

0
trunk/research/players/srs_chat.html Executable file → Normal file
View file

0
trunk/research/players/srs_player.html Executable file → Normal file
View file

0
trunk/research/players/srs_publisher.html Executable file → Normal file
View file

0
trunk/research/players/vlc.html Executable file → Normal file
View file