etElementById('password').value.trim();
            const streamId = document.getElementById('streamId').value.trim();
            const autostart = document.getElementById('autostart').checked;
            const webcam = document.getElementById('webcam').checked;
            const broadcastMode = document.querySelector('input[name="broadcastMode"]:checked').value;

            if (roomName) {
                url.searchParams.set('r', roomName);
                if (broadcastMode !== 'normal') {
   