2
0

index.html 1.0 KB

1234567891011121314151617181920212223242526
  1. <html>
  2. <head>
  3. <title>SRS</title>
  4. <meta charset="utf-8">
  5. </head>
  6. <body>
  7. <h3><a href="https://github.com/ossrs/srs">SRS</a> works!</h3>
  8. <p>
  9. Click <a id="en" href="#">here</a> to enter SRS console.<br/>
  10. 点击进入<a id="cn" href="#">SRS控制台</a>
  11. </p>
  12. <p>
  13. Click <a href="players/">here</a> to start SRS player.<br/>
  14. 点击进入<a href="players/">SRS播放器</a>
  15. </p>
  16. <p><a href="https://github.com/ossrs/srs">SRS Team &copy; 2021</a></p>
  17. <script type="text/javascript">
  18. // http://localhost:8080/console/ng_index.html#/connect?port=1985
  19. // http://localhost:8080/console/ng_index.html#/summaries?port=1985
  20. var en_url = window.location.protocol + "//" + window.location.host + "/console/en_index.html#/summaries?port=1985";
  21. var cn_url = window.location.protocol + "//" + window.location.host + "/console/ng_index.html#/summaries?port=1985";
  22. document.getElementById("en").setAttribute('href', en_url);
  23. document.getElementById("cn").setAttribute('href', cn_url);
  24. </script>
  25. </body>