<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <title>录播</title>
    {% include 'head.html' %}
</head>
<body>
<div>
    <h1>基本信息</h1>
    <table>
        <tr>
            <td>主播名</td>
            <td><span id="broadcaster"></span></td>
        </tr>
        <tr>
            <td>是否正在直播</td>
            <td><span id="isBroadcasting"></span></td>
        </tr>
        <tr>
            <td>直播视频流地址</td>
            <td><span id="streamUrl"></span></td>
        </tr>
        <tr>
            <td>信息更新时间</td>
            <td><span id="updateTime"></span></td>
        </tr>
    </table>
    <hr/>
    <h1>特殊设置</h1>
    <table>
        <tr>
            <td>是否设置强制认为不直播</td>
            <td><span id="forceNotBroadcasting"></span></td>
        </tr>
        <tr>
            <td>是否设置强制不下载</td>
            <td><span id="forceNotDownload"></span></td>
        </tr>
        <tr>
            <td>是否设置强制不上传</td>
            <td><span id="forceNotUpload"></span></td>
        </tr>
        <tr>
            <td>是否设置强制不转码</td>
            <td><span id="forceNotEncode"></span></td>
        </tr>
    </table>
    <hr/>
    <h1>当前状态</h1>
    <table>
        <tr>
            <td class='title'>下载日志</td>
            <td><span id="download"></span></td>
        </tr>
        <tr>
            <td class='title'>转码日志<br>队列<span id="encodeQueueSize"></span></td>
            <td><span id="encode"></span></td>
        </tr>
        <tr>
            <td class='title'>上传日志<br>队列<span id="uploadQueueSize"></span></td>
            <td><span id="upload"></span></td>
        </tr>
        <tr>
            <td class='title'>错误日志</td>
            <td><span id="error"></span></td>
        </tr>
        <tr>
            <td class='title'>操作日志</td>
            <td><span id="operation"></span></td>
        </tr>
    </table>
    <hr/>
    <h3><a href="/files/">所有录播文件</a></h3>
    {% include 'device.html' %}
</div>
<script src="../static/index.js"></script>
</body>
</html>