Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Chrome : Cannot read property '1' of null #5

Open
yarekc opened this issue Nov 22, 2019 · 1 comment
Open

Chrome : Cannot read property '1' of null #5

yarekc opened this issue Nov 22, 2019 · 1 comment

Comments

@yarekc
Copy link

yarekc commented Nov 22, 2019

In chrome:

2imprint.min.js:1 Uncaught TypeError: Cannot read property '1' of null
    at RTCPeerConnection.r.onicecandidate (imprint.min.js:1)

Works fine in FF and Opera

http://prntscr.com/q0iazy

@BitPerformance
Copy link

Chrome has anonymized local IP by default. Currently have to be used different regexp to get the anonymized local IP address for chrome.
/^ |((?:[0-9A-Za-z]{1,8}))-((?:[0-9A-Za-z]{1,4}))-((?:[0-9A-Za-z]{1,4}))-((?:[0-9A-Za-z]{1,4}))-((?:[0-9A-Za-z]{1,12}))*.((?:[0-9A-Za-z]{1,5}))| $/
Pull those changes to imprint.js and imprint.min.js files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants