2
0

streams_en.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <div>
  2. <div class="accordion">
  3. <div class="accordion-group">
  4. <div class="accordion-heading" sc-collapse="in">
  5. <a class="accordion-toggle" href="javascript:void(0)">
  6. System Streams
  7. </a>
  8. </div>
  9. <div id="collapseOne" class="accordion-body collapse">
  10. <div class="accordion-inner">
  11. <table class="table table-striped table-bordered">
  12. <tr>
  13. <th>ID</th>
  14. <th>Name</th>
  15. <th>URL</th>
  16. <th>Vhost</th>
  17. <th>Status</th>
  18. <th>Clients</th>
  19. <th>Inbound</th>
  20. <th>Outbound</th>
  21. <th>Video</th>
  22. <th>Audio</th>
  23. <th>Manage</th>
  24. </tr>
  25. <tr ng-repeat="stream in streams">
  26. <td><a href="javascript:void(0)" ng-click="gogogo('/streams/' + stream.id)">{{stream.id}}</a></td>
  27. <td>{{stream.name| sc_filter_less}}</td>
  28. <td>{{stream |sc_filter_streamURL}}</td>
  29. <td><a href="javascript:void(0)" ng-click="gogogo('/vhosts/' + stream.vhost)">{{stream.owner.name}}</a></td>
  30. <td>{{stream.publish.active| sc_filter_has_stream}}</td>
  31. <td>{{stream.clients}}人</td>
  32. <td>{{stream.kbps.recv_30s| sc_filter_bitrate_k}}</td>
  33. <td>{{stream.kbps.send_30s| sc_filter_bitrate_k}}</td>
  34. <td><span ng-if="stream.video">{{stream.video| sc_filter_video}}</span></td>
  35. <td><span ng-if="stream.audio">{{stream.audio| sc_filter_audio}}</span></td>
  36. <td>
  37. <a ng-href="{{stream| sc_filter_preview_url}}" target="_blank">Preview</a>
  38. <a ng-show="stream.publish.active" ng-click="kickoff(stream)" href="javascript:void(0)">Kickoff</a>
  39. <span ng-show="support_raw_api">
  40. <a href="javascript:void(0)" ng-click="dvr(stream)">Record</a>
  41. </span>
  42. </td>
  43. </tr>
  44. </table>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>