is_enable_web_socket
is_enable_web_socket(); - check whether WebScoket is enabled or disabled in the browser. (what is WebSocket can be read here ) (Available from version 4.9.39)
you can disable or allow WebSocket with the command href="http://humanemulator.net/objects/WEB/browser/internal_params/enable_web_socket.php">enable_web_socket
Note: when WebSocket is disabled, WebRTC also does not work.
After testing, the function returns the result of its work to the script :
true – allowed
false – forbidden