 () => {
                await whip.stop();
                status.innerHTML = "Disconnected";
                button.onclick = connect;
            }
        }

        button.onclick = connect;
    </script>
</body>

</html>