ux(ice-test): clarify result when browser hides reflexive/relay candidates (Safari)
CodeQL Analysis / Analyze CodeQL (push) Waiting to run
Deploy Application / deploy (push) Waiting to run
Mirror to Codeberg / mirror (push) Waiting to run
Mirror to PrivacyGuides / mirror (push) Waiting to run

This commit is contained in:
lockbitchat
2026-06-16 01:50:40 -04:00
parent 6dac4ce52a
commit 9244250835
5 changed files with 16 additions and 14 deletions
+3 -1
View File
@@ -194,7 +194,9 @@ const IceServerSettings = ({ isOpen, onClose, initial, hasSaved, onApply, onForg
className: 'ml-3 text-sm ' + (testResult.error ? 'text-red-400' : 'text-secondary')
}, testResult.error
? `Test failed: ${testResult.error}`
: `STUN ${testResult.srflx > 0 ? 'OK' : 'none'} · TURN ${testResult.relay > 0 ? 'OK' : 'none'} · host ${testResult.host}`
: (testResult.srflx > 0 || testResult.relay > 0)
? `STUN ${testResult.srflx > 0 ? 'OK' : 'none'} · TURN ${testResult.relay > 0 ? 'OK' : 'none'} · host ${testResult.host}`
: `host ${testResult.host} · this browser (e.g. Safari) hides STUN/TURN candidates from the test — your servers are still applied to real connections`
) : null
]));
}