github.com/pion/webrtc/v4@v4.0.1/examples/data-channels/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  Message<br />
    20  <textarea id="message">This is my DataChannel message!</textarea> <br/>
    21  <button onclick="window.sendMessage()">Send Message</button> <br />
    22  
    23  <br />
    24  Logs<br />
    25  <div id="logs"></div>