webrtc/samples/js/apprtc/turn-prober
fischman@webrtc.org ccb33a67b9 turn-prober: enable running headlessly and only emit output on error.
With these changes I have the script running in a 10m cronjob on my desktop and
emailing me on failure.  (extremely poor man's monitoring; still, baby steps)

BUG=2187
R=juberti@google.com

Review URL: https://webrtc-codereview.appspot.com/9659004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5709 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-17 16:27:41 +00:00
..
README Added turn-prober.sh: a super-simple prober for TURN servers & candidates. 2014-02-24 21:52:59 +00:00
turn-prober.html Added turn-prober.sh: a super-simple prober for TURN servers & candidates. 2014-02-24 21:52:59 +00:00
turn-prober.sh turn-prober: enable running headlessly and only emit output on error. 2014-03-17 16:27:41 +00:00

This script contains a simple prober that verifies that:
- CEOD vends TURN server URIs with credentials on demand (mimicking apprtc)
- rfc5766-turn-server vends TURN candidates from the servers vended by CEOD.

To use simply run ./turn-prober.sh
If it prints "PASS" (and exits 0) then all is well.
If it prints a mess of logs (and exits non-0) then something has gone sideways
and apprtc.appspot.com is probably not working well (b/c of missing TURN
functionality).