Check WebRTC STUN and TURN connectivity
Tests connectivity with a STUN or TURN server using WebRTC.
var stunturncheck = ;;
The first argument to stunturncheck follows the same convention as the
To test a TURN/TCP server you would pass something along the lines of
url: 'turn:some.host:3478?transport=tcp' username: 'user' credential: 'secret'
as first argument.
If you like this, follow: @HCornFlower on twitter.