use websocket, videojs and tomcat to control remote video.