mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			No EOL
		
	
	
		
			2.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			No EOL
		
	
	
		
			2.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div>
 | |
|     <div class="accordion">
 | |
|         <div class="accordion-group">
 | |
|             <div class="accordion-heading" sc-collapse="in">
 | |
|                 <a class="accordion-toggle" href="javascript:void(0)">
 | |
|                     视频流(Streams)列表
 | |
|                 </a>
 | |
|             </div>
 | |
|             <div id="collapseOne" class="accordion-body collapse">
 | |
|                 <div class="accordion-inner">
 | |
|                     <table class="table table-striped table-bordered">
 | |
|                         <tr>
 | |
|                             <th>ID</th>
 | |
|                             <th>流名称</th>
 | |
|                             <th>URL</th>
 | |
|                             <th>Vhost</th>
 | |
|                             <th>状态</th>
 | |
|                             <th>在线人数</th>
 | |
|                             <th>入口带宽</th>
 | |
|                             <th>出口带宽</th>
 | |
|                             <th>视频信息</th>
 | |
|                             <th>音频信息</th>
 | |
|                             <th>管理</th>
 | |
|                         </tr>
 | |
|                         <tr ng-repeat="stream in streams">
 | |
|                             <td><a href="javascript:void(0)" ng-click="gogogo('/streams/' + stream.id)">{{stream.id}}</a></td>
 | |
|                             <td>{{stream.name| sc_filter_less}}</td>
 | |
|                             <td>{{stream |sc_filter_streamURL}}</td>
 | |
|                             <td><a href="javascript:void(0)" ng-click="gogogo('/vhosts/' + stream.vhost)">{{stream.owner.name}}</a></td>
 | |
|                             <td>{{stream.publish.active| sc_filter_has_stream}}</td>
 | |
|                             <td>{{stream.clients}}人</td>
 | |
|                             <td>{{stream.kbps.recv_30s| sc_filter_bitrate_k}}</td>
 | |
|                             <td>{{stream.kbps.send_30s| sc_filter_bitrate_k}}</td>
 | |
|                             <td><span ng-if="stream.video">{{stream.video| sc_filter_video}}</span></td>
 | |
|                             <td><span ng-if="stream.audio">{{stream.audio| sc_filter_audio}}</span></td>
 | |
|                             <td>
 | |
|                                 <a ng-href="{{stream| sc_filter_preview_url}}" target="_blank">预览</a>
 | |
|                                 <a ng-show="stream.publish.active" ng-click="kickoff(stream)" href="javascript:void(0)">踢流</a>
 | |
|                                 <span ng-show="support_raw_api">
 | |
|                                     <a href="javascript:void(0)" ng-click="dvr(stream)">录制</a>
 | |
|                                 </span>
 | |
|                             </td>
 | |
|                         </tr>
 | |
|                     </table>
 | |
|                 </div>
 | |
|             </div>
 | |
|         </div>
 | |
|     </div>
 | |
| </div> |