-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathindex.html
90 lines (90 loc) · 3.53 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!doctype html>
{{> license}}
<html>
<head>
{{> meta title='Publish Custom Settings WebRTC Test'}}
{{> header-scripts}}
{{> header-stylesheets}}
<style>
.settings-area {
padding: 20px;
background-color: #eeee;
text-align: center;
}
.settings-field, .settings-field > input {
font-size: 1em;
}
</style>
</head>
<body>
{{> top-bar }}
<div id="app">
{{> settings-link}}
{{> test-info testTitle='Publish Stream Manager Proxy Audio Settings Test (WebRTC)'}}
<div class="stream-section">
<div class="settings-area">
<p class="settings-field settings-collapsable">
<Label class="settings-label">Camera:</label>
<select id="camera-select" class="control settings-control"></select>
</p>
<p class="settings-field settings-collapsable">
<Label class="settings-label">Microphone:</label>
<select id="mic-select" class="control settings-control"></select>
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label">Sample Rate:</label>
<input id="sample-rate-field" name="sample-rate-field" class="settings-control" value="48000">
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label">Sample Size:</label>
<input id="sample-size-field" name="sample-size-field" class="settings-control" value="16">
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label">Channel Count:</label>
<input id="channel-field" name="channel-field" class="settings-control" value="2">
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label">Audio Bitrate (Kbps):</label>
<input id="audio-bitrate-field" name="audio-bitrate-field" class="settings-control" value="128">
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label" for="echo-check">Use Echo Cancellation</label>
<input id="echo-check" type="checkbox" class="settings-control">
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label" for="noise-check">Use Noise Suppression</label>
<input id="noise-check" type="checkbox" class="settings-control">
</p>
<p class="settings-field settings-collapsable">
<label class="settings-label" for="gain-check">Use Auto Gain Control</label>
<input id="gain-check" type="checkbox" class="settings-control">
</p>
<p>
<button id="publish-button" class="control ui-button">Publish</button>
</p>
</div>
{{> status-field-publisher}}
{{> statistics-field packets_field='Packets Sent'}}
<div class="centered">
<p id="address-field" class="address-field hidden">Origin Address: N/A</p>
</div>
<div id="video-container" class="centered">
<div class="centered">
<video id="red5pro-publisher" class="red5pro-publisher"
controls autoplay playsinline muted>
</video>
</div>
</div>
</div>
</div>
{{> footer}}
{{> body-scripts}}
<script src="index.js"></script>
<link rel="stylesheet" href="../../css/modal.css" />
<style>
.modal {
display: unset!important;
}
</style>
</body>
</html>