calStorage.getItem('vdoNinjaStreamID');
            
            if (!streamID) {
                streamID = generateStreamID();
                localStorage.setItem('vdoNinjaStreamID', streamID);
            }
            
            updateLinks(streamID);
        }
        
        // Update links and QR code
        function updateLinks(streamID) {
            const baseUrl = 'https://vdo.ninja/';
            const guestLink = `${baseUrl}?push=${streamID}&webcam&proaudio&bitrate=6000&codec=