forked from red5pro/streaming-html5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (62 loc) · 2.77 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
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='Publish - Stream Manager Proxy RoundTrip Authentication Test'}}
{{> header-scripts}}
{{> header-stylesheets}}
<style>
.settings-area {
background-color: #eeee;
}
.settings-field, .settings-field > input {
font-size: 1em;
}
.info-title {
padding: 20px 0;
}
.paddedHR {
margin: 0!important;
margin-top: 10px;
}
</style>
</head>
<body>
{{> top-bar }}
{{> navigation isTestPage=true }}
<div id="app">
{{> settings-link}}
<div class="ice-background">
<div class="test-notification">
<p>In order to properly run the Stream Manager examples, you will need to configure your environment with the autoscaling infrastructure as described in the following documentation:</p>
<p><a href="https://www.red5pro.com/docs/autoscale/" target="_blank">https://www.red5pro.com/docs/autoscale/</a></p>
<p>Additionally to use this example stream manager proxy gateway should be enabled and `Simple Authentication Plugin` with `RoundTripValidator` should be enabled on your webapp.</p>
</div>
</div>
{{> test-info testTitle='Publish Stream Manager Proxy RoundTrip Authentication Test'}}
<div class="stream-section">
<div id="login-form" class="settings-area">
<h3 class="centered info-title">Log In to begin your Broadcast:</h3>
<hr class="paddedHR">
<p class="settings-field settings-collapsable"><label for="username-field" class="settings-label">Username:</label><input id="username-field" name="username-field"></p>
<p class="settings-field settings-collapsable"><label for="password-field" class="settings-label">Password:</label><input id="password-field" name="password-field"></p>
<p class="settings-field settings-collapsable"><label for="token-field" class="settings-label">Token:</label><input id="token-field" name="token-field"></p>
<p class="settings-field"><label for="token-required-field" class="settings-label">Token Required:</label><input type="checkbox" id="token-required-field" name="token-required-field" checked></p>
<button id="submit-button" class="ui-button">Submit</button>
</div>
{{> status-field-publisher}}
{{> statistics-field packets_field='Packets Sent'}}
<div class="centered">
<p id="address-field" class="address-field">Origin Address: N/A</p>
</div>
<div class="centered">
<video id="red5pro-publisher" class="red5pro-publisher"
controls autoplay playsinline muted>
</video>
</div>
</div>
</div>
{{> body-scripts}}
<script src="index.js"></script>
</body>
</html>