Files
webrtc/examples/broadcast/jsfiddle/demo.html
Sean DuBois 55d53b76a9 Rename sfu-minimal -> broadcast
Will have new dedicated SFU example when re-negotation
is complete. Keep this broadcast example for users who
want fan-out example and not everything needed for multi-track
re-negotations.

Relates to #207
2020-02-09 21:40:37 -08:00

22 lines
707 B
HTML

<div id="signalingContainer" style="display: none">
Browser base64 Session Description<br />
<textarea id="localSessionDescription" readonly="true"></textarea> <br />
Golang base64 Session Description<br />
<textarea id="remoteSessionDescription"></textarea> <br/>
<button onclick="window.startSession()"> Start Session </button><br />
</div>
<br />
Video<br />
<video id="video1" width="160" height="120" autoplay muted></video> <br />
<button class="createSessionButton" onclick="window.createSession(true)"> Publish a Broadcast </button>
<button class="createSessionButton" onclick="window.createSession(false)"> Join a Broadcast </button><br />
<br />
Logs<br />
<div id="logs"></div>