github.com/pion/webrtc/v4@v4.0.1/examples/swap-tracks/jsfiddle/demo.html (about)

     1  <!--
     2  	SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
     3  	SPDX-License-Identifier: MIT
     4  -->
     5  Browser base64 Session Description<br />
     6  <textarea id="localSessionDescription" readonly="true"></textarea> <br />
     7  <button onclick="window.copySDP()">
     8    Copy browser SDP to clipboard
     9  </button>
    10  <br />
    11  <br />
    12  
    13  Golang base64 Session Description<br />
    14  <textarea id="remoteSessionDescription"></textarea> <br/>
    15  <button onclick="window.startSession()"> Start Session </button><br />
    16  
    17  <br />
    18  
    19  <div style="display: flex">
    20    <div>
    21      Browser stream 1<br />
    22      <canvas id="canvasOne" height="200" width="200"></canvas>
    23    </div>
    24    <div>
    25      Browser stream 2<br />
    26      <canvas id="canvasTwo" height="200" width="200"></canvas>
    27    </div>
    28    <div>
    29      Browser stream 3<br />
    30      <canvas id="canvasThree" height="200" width="200"></canvas>
    31    </div>
    32  </div>
    33  
    34  Video from server<br />
    35  <video id="serverVideo" width="200" height="200" autoplay muted></video> <br />