PeerA.js replace urls with url and credentials with credential in the following code.
iceConfiguration.iceServers.push({
url: 'turn:my-turn-server.mycompany.com:19403',
username: 'optional-username',
credential: 'auth-token'
})
Also replace
urls: 'turn:stun1.l.google.com:19302'
with
'url': 'stun:stun.l.google.com:19302'
PeerA.js replace urls with url and credentials with credential in the following code. iceConfiguration.iceServers.push({ url: 'turn:my-turn-server.mycompany.com:19403', username: 'optional-username', credential: 'auth-token' })
Also replace urls: 'turn:stun1.l.google.com:19302' with 'url': 'stun:stun.l.google.com:19302'