phoboslab/jsmpeg — pull request #15 by James-TR (2014-06-26 05:26:19+00:00)
Title: Handle "not connected" errors

This stops the script from attempting to write to closed websockets, which causes websocket.js to throw an error and exit the process. Instead it emits an error and continues.