WebRTC detect connection type
WebRTC detect connection type
Test on Chromium 87 and 90
Detecting the connection type of webrtc, p2p or relay.
// Listen for connectionstatechange on the local RTCPeerConnection
peerConnection.addEventListener('connectionstatechange', event => {
console.info("connectionstatech[......]