Please enter the offer provided to you by the application: </p>
    <textarea id="recv-text" style="width:100%;" cols="40" rows="25"></textarea>
    <button id="recv-button">Submit</button>
</div>

<div id="videos">
</div>

<script>
    document.getElementById('send-button').addEventListener('click',  async () => {
        const pc = new RTCPeerConnection({
            // Recommended for libdatachannel
            bundlePolicy: 'max-bundle',
        });

        pc.onicegatheringstatechange = (state) => {
 