Skip to content

Commit

Permalink
fix: webui format
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Jan 26, 2024
1 parent 84c2568 commit bf67111
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,8 @@
<center>
<section>
<button id="whip-device-button" onclick="refreshDevice()">Use Device</button>
Audio Device: <select id="whip-audio-device">
<option value="">none</option>
</select>
Video Device: <select id="whip-video-device">
<option value="">none</option>
</select>
<br/>Audio Device: <select id="whip-audio-device"><option value="">none</option></select>
<br/>Video Device: <select id="whip-video-device"><option value="">none</option></select>
</section>

<section>
Expand Down Expand Up @@ -136,7 +132,7 @@ <h3>WHEP Video:</h3>
initCommonInput(idBearerToken, idBearerToken)

function log(el, num, msg) {
el.innerHTML += `[${num}]: ` + msg + '<br>'
el.innerHTML += (!!num ? `[${num}]: ` : '') + msg + '<br>'
}

function logWhip(num, msg) {
Expand Down

0 comments on commit bf67111

Please sign in to comment.