           if (pc.iceGatheringState === 'complete') {
                // We only want to provide an answer once all of our candidates have been added to the SDP.
                const answer = pc.localDescription;
                document.getElementById('send-text').value = JSON.stringify({
                    type: answer.type,
                    sdp: answer.sdp
                });
                document.getElementById('send-help').value = 'Please paste the answer in the application.';
                a