winlin

set default to chat.

  1 +<!DOCTYPE html>
  2 +<html>
  3 +<head>
  4 + <title>SRS</title>
  5 + <meta charset="utf-8">
  6 + <link rel="stylesheet" type="text/css" href="players/css/bootstrap.min.css"/>
  7 + <script type="text/javascript" src="players/js/jquery-1.10.2.min.js"></script>
  8 + <script type="text/javascript" src="players/js/bootstrap.min.js"></script>
  9 + <script type="text/javascript" src="players/js/swfobject.js"></script>
  10 + <script type="text/javascript" src="players/js/srs.page.js"></script>
  11 + <style>
  12 + body{
  13 + padding-top: 55px;
  14 + }
  15 + </style>
  16 + <script type="text/javascript">
  17 + $(function(){
  18 + update_nav();
  19 +
  20 + // direct to the default vhost for players.
  21 + window.location.href = "players/index.html";
  22 + });
  23 + </script>
  24 +</head>
  25 +<body>
  26 +<div class="navbar navbar-fixed-top">
  27 + <div class="navbar-inner">
  28 + <div class="container">
  29 + <a class="brand" href="index.html">SRS</a>
  30 + <div class="nav-collapse collapse">
  31 + <ul class="nav">
  32 + <li><a id="nav_srs_player" href="srs_player.html">SRS播放器</a></li>
  33 + <li><a id="nav_srs_publisher" href="srs_publisher.html">SRS编码器</a></li>
  34 + <li><a id="nav_srs_chat" href="srs_chat.html">SRS会议</a></li>
  35 + <li><a id="nav_srs_bwt" href="srs_bwt.html">SRS测网速</a></li>
  36 + <li><a id="nav_jwplayer6" href="jwplayer6.html">JWPlayer6播放器</a></li>
  37 + <li><a id="nav_osmf" href="osmf.html">AdobeOSMF播放器</a></li>
  38 + <li><a id="nav_vlc" href="vlc.html">VLC播放器</a></li>
  39 + </ul>
  40 + </div>
  41 + </div>
  42 + </div>
  43 +</div>
  44 +<div class="container">
  45 + <hr>
  46 + <footer>
  47 + <p><a href="https://github.com/winlinvip/simple-rtmp-server">SRS Team &copy; 2013</a></p>
  48 + </footer>
  49 +</div>
  50 +</body>
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 update_nav(); 18 update_nav();
19 19
20 // direct to the default vhost for players. 20 // direct to the default vhost for players.
21 - window.location.href = "srs_player.html?vhost=" + srs_get_player_vhost(); 21 + window.location.href = "srs_chat.html?vhost=" + srs_get_player_vhost();
22 }); 22 });
23 </script> 23 </script>
24 </head> 24 </head>