I am new to WebRTC. I have a WebRTC app having some issues related to connection with peer to peer. App works fine within local area network. But across network it fails to connect with the peer sometimes. I am using google stun server (stun:
stun.l.google.com:19302). In my javascript code, I am writing it as- rtc.SERVER = {iceServers:[{url:"stun:
stun.l.google.com:19302"}]}; One reason could be that the peer is behind the NAT which is not compatible with STUN.
To find out the problem I am using chrome://webrtc-internals. I don't see a way to save the log. Also can you please guide me on which part of the log should I look for resolving the problem.
Please help.