h264`;
            const obsLink = `${baseUrl}?view=${streamID}&codec=h264`;
            
            document.getElementById('guest-link').value = guestLink;
            document.getElementById('obs-link').value = obsLink;
            
            // Generate QR Code
            const qrCodeElement = document.getElementById('qrcode');
            qrCodeElement.innerHTML = ''; // Clear previous QR code
            new QRCode(qrCodeElement, {
                text: guestLink,
                width: