github.com/pion/webrtc/v4@v4.0.1/examples/broadcast/jsfiddle/demo.html (about) 1 <!-- 2 SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly> 3 SPDX-License-Identifier: MIT 4 --> 5 <div id="signalingContainer" style="display: none"> 6 Browser base64 Session Description<br /> 7 <textarea id="localSessionDescription" readonly="true"></textarea> <br /> 8 <button onclick="window.copySDP()"> 9 Copy browser SDP to clipboard 10 </button> 11 <br /> 12 <br /> 13 14 Golang base64 Session Description<br /> 15 <textarea id="remoteSessionDescription"></textarea> <br/> 16 <button onclick="window.startSession()"> Start Session </button><br /> 17 </div> 18 19 <br /> 20 21 Video<br /> 22 <video id="video1" width="160" height="120" autoplay muted></video> <br /> 23 24 <button class="createSessionButton" onclick="window.createSession(true)"> Publish a Broadcast </button> 25 <button class="createSessionButton" onclick="window.createSession(false)"> Join a Broadcast </button><br /> 26 27 <br /> 28 29 Logs<br /> 30 <div id="logs"></div>