2021-10-10 18:57:54 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' />
|
|
|
|
<title>{{ configuration['pagetitle'] }} - Stream Overview</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.default.css') }}">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<h1>{{ configuration["pagetitle"] }}</h1>
|
|
|
|
<h2>{{ configuration["subtitle"] }}</h2>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{% if items == [] %}
|
|
|
|
<p style="margin-top: 20px; margin-bottom: 150px;">
|
|
|
|
<span style="color: #888; font-size: 14pt;">There are currently no streams running</span>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
{% for item in items %}
|
|
|
|
<article>
|
2021-10-12 12:46:24 -04:00
|
|
|
<h1>Stream {{ item[1] }}</h1>
|
2021-10-10 18:57:54 -04:00
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>Protocol</th>
|
|
|
|
<th>URL</th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2021-10-12 13:15:12 -04:00
|
|
|
<td>RTMP substream }}</td>
|
2021-10-12 12:46:24 -04:00
|
|
|
<td><em class="url">rtmp://{{ configuration["rtmp_base"] }}/{{ item[0] }}/{{ item[2] }}</em></td>
|
|
|
|
<td class="btn"><a href="rtmp://{{ configuration['rtmp_base'] }}/{{ item[0] }}/{{ item[2] }}" class="btn btn-red">▶<br/>RTMP</a></td>
|
2021-10-10 18:57:54 -04:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2021-10-11 16:14:01 -04:00
|
|
|
<td>HLS m3u8</td>
|
|
|
|
<td><em class="url">{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/hls/{{ item[1] }}/index.m3u8</em></td>
|
2021-10-12 12:46:24 -04:00
|
|
|
<td class="btn"><a href="{{ url_for('frontend.show_player', appname=item[0], hlsindex=item[1]) }}" class="btn btn-green">▶<br/>HLS.js</a></td>
|
2021-10-10 18:57:54 -04:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
{{ configuration["footer"] }}
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|