mirror of
https://github.com/pion/webrtc.git
synced 2025-10-06 23:52:51 +08:00

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
22 lines
707 B
HTML
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>
|