diafygi / webrtc-ips

Demo: https://diafygi.github.io/webrtc-ips/
MIT License
3.44k stars 598 forks source link

Added ipv6 resolve support to webrtc resolving #16

Closed bendpx closed 9 years ago

bendpx commented 9 years ago

Uncaught TypeError: Cannot read property '1' of null n.Mixin.extend.findUserIPs.i.onicecandidate

Chrome Browser Version 43.0.2357.81 (64-bit): "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36"

Insight: c.exec(e.candidate.candidate)[1];

Where: c = /([0-9]{1,3}(.[0-9]{1,3}){3})/ e.candidate.candidate = "candidate:555245142 2 udp 2122197246 2601:645:8000:3c81:640c:1fb3:db7b:cb94 55314 typ host generation 0"

and c.exec(e.candidate.candidate) returns null