chat.html: when relayed, log how to force a direct P2P path (disable mDNS masking)
This commit is contained in:
parent
6002732581
commit
5077e982fe
1 changed files with 5 additions and 2 deletions
|
|
@ -1207,8 +1207,11 @@ async function reportTransport() {
|
|||
const loc = stats.get(pair.localCandidateId) || {}, rem = stats.get(pair.remoteCandidateId) || {};
|
||||
const relayed = loc.candidateType === 'relay' || rem.candidateType === 'relay';
|
||||
if (relayed) {
|
||||
setPath('path: RELAYED through TURN (proxy.uncloseai.com sees encrypted audio)', 'err');
|
||||
logLine('sys', 'transport: relayed via TURN — a server is in the path (audio stays encrypted)');
|
||||
setPath('path: RELAYED through TURN — a server forwards your (encrypted) audio', 'err');
|
||||
logLine('sys', 'transport: relayed via TURN (proxy.uncloseai.com is in the path; audio stays encrypted)');
|
||||
logLine('sys', 'to go DIRECT (nobody between): disable mDNS host masking, then reset + reconnect — '
|
||||
+ 'Firefox about:config media.peerconnection.ice.obfuscate_host_addresses=false; '
|
||||
+ 'Chromium chrome://flags #enable-webrtc-hide-local-ips-with-mdns = Disabled');
|
||||
} else {
|
||||
setPath(`path: DIRECT peer-to-peer — nobody between you (${loc.candidateType || '?'}/${rem.candidateType || '?'})`, 'ok');
|
||||
logLine('sys', `transport: direct peer-to-peer (${loc.candidateType || '?'}/${rem.candidateType || '?'})`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue