Files
webrtc/examples/simulcast/jsfiddle/demo.html
Simone Gotti 570ddd0b1c Add simulcast example
Add jsfiddle and documentation around using the example
2020-07-24 01:01:43 -07:00

19 lines
540 B
HTML

<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
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 />
<br />
<div>
Browser stream<br />
<video id="browserVideo" width="200" height="200" autoplay muted></video>
</div>
<div id="serverVideos">
Video from server<br />
</div>