forked from red5pro/streaming-html5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (76 loc) · 2.29 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='Subscriber Two Streams Test'}}
{{> header-scripts}}
{{> header-stylesheets}}
<style>
.red5pro-media-container {
height: auto;
}
.streams-container {
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.stream-section {
flex: 1;
}
.stream-title {
border-bottom: 1px solid #999;
}
@media (max-width: 1023px) {
.stream-section {
width: 50%;
margin: 0 10px;
}
}
@media (max-width: 767px) {
.stream-section {
width: 100%;
margin: 0px auto;
}
.streams-container {
flex-direction: column;
}
.stream-section:nth-child(even) {
margin-top: 20px;
}
}
</style>
</head>
<body>
{{> top-bar }}
{{> navigation isTestPage=true }}
<div id="app">
{{> settings-link}}
{{> test-title title='Subscriber Two Stream Test'}}
<div class="streams-container">
<div class="stream-section">
<p id="stream1-title" class="centered status-field stream-title"></p>
<p id="stream1-status" class="centered status-field">On hold.</p>
{{> statistics-field packets_field='Packets Received'}}
<video id="red5pro-stream1"
controls="controls" autoplay="autoplay" playsinline
class="red5pro-subscriber red5pro-media red5pro-media-background"
width="640" height="480">
</video>
</div>
<div class="stream-section">
<p id="stream2-title" class="centered status-field stream-title"></p>
<p id="stream2-status" class="centered status-field">On hold.</p>
{{> statistics-field packets_field='Packets Received'}}
<video id="red5pro-stream2"
controls="controls" autoplay="autoplay" playsinline
class="red5pro-subscriber red5pro-media red5pro-media-background"
width="640" height="480">
</video>
</div>
</div>
</div>
{{> body-scripts}}
<script src="../../script/subscription-status.js"></script>
<script src="index.js"></script>
</body>
</html>