DetectRTC v1.2.6
Latest release.
To check whether WebSockets is blocked or not, you must use DetectRTC.checkWebSocketsSupport
function e.g.
DetectRTC.checkWebSocketsSupport(function() {
DetectRTC.isWebSocketsSupported;
DetectRTC.isWebSocketsBlocked;
});