        
                    testPc.onicecandidate = (event) => {
                        if (event.candidate) {
                            candidateCount++;
                            const parsed = parseCandidate(event.candidate.candidate);
                            
                            if (parsed.type === 'host') {
                                if (parsed.ip.endsWith('.local')) {
                                    foundMdns = true;
                                } else {
                 