2
0

srs_publisher.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>SRS</title>
  5. <meta charset="utf-8">
  6. <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
  7. <style>
  8. body{
  9. padding-top: 30px;
  10. }
  11. .accordion-group {
  12. width: 310px;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <img style="width: 0px; height: 0px;" src='//ossrs.net/gif/v1/sls.gif?site=ossrs.net&path=/player/obs'/>
  18. <div class="navbar navbar-fixed-top">
  19. <div class="navbar-inner">
  20. <div class="container">
  21. <a id="srs_index" class="brand" href="#">SRS</a>
  22. <div class="nav-collapse collapse">
  23. <ul class="nav">
  24. <li><a id="nav_srs_player" href="srs_player.html">LivePlayer</a></li>
  25. <li><a id="nav_rtc_player" href="rtc_player.html">RTC播放器</a></li>
  26. <li><a id="nav_rtc_publisher" href="rtc_publisher.html">RTC推流</a></li>
  27. </ul>
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="container">
  33. <!-- for the log -->
  34. <div class="alert alert-danger fade in" id="txt_log">
  35. <button type="button" class="close" data-dismiss="alert">×</button>
  36. <strong><span id="txt_log_title">Warning:</span></strong>
  37. <span id="txt_log_msg">
  38. Flash推流已经很少用,建议用<a href="rtc_publisher.html">RTC推流</a>,<a href="https://obsproject.com/" target="_blank">OBS</a>或<a href="http://ffmpeg.org/" target="_blank">FFMPEG</a>推流,
  39. 如果一定要使用Flash推流请点<a id="https_publisher" href="srs_publisher_flash.html">这里</a>。
  40. </span>
  41. </div>
  42. <hr/>
  43. <footer>
  44. <p><a href="https://github.com/ossrs/srs">SRS Team &copy; 2013</a></p>
  45. </footer>
  46. </div>
  47. </body>
  48. <script type="text/javascript" src="js/jquery-1.12.2.min.js"></script>
  49. <script type="text/javascript" src="js/bootstrap.min.js"></script>
  50. <script type="text/javascript">
  51. $(function(){
  52. var l = window.location;
  53. var url = window.location.href;
  54. if (l.hostname !== 'localhost' && l.hostname !== '127.0.0.1' && l.protocol === 'http:') {
  55. // For flash publisher, must use HTTPS.
  56. url = window.location.href.replace('http:', 'https:');
  57. }
  58. url = url.substring(0, url.lastIndexOf('/')) + '/srs_publisher_flash.html';
  59. $('#https_publisher').attr('href', url);
  60. });
  61. </script>
  62. </html>