The web has been largely built around the so-called request/response model of HTTP. A client loads up a web page and then not anything happens until the user clicks onto the next page. AJAX started to make the web more dynamic. Still, all HTTP message was steered by the client, which required user interaction or interrupted polling to load new data from the server. Web Socket is a protocol providing full-duplex communications channels over a single TCP connection. The Web Socket specification—developed as part of the HTML5 defining a full-duplex single socket connection over which messages can be sent between client and server from both the direction simultaneously. In this paper the websocket protocol is designed to have video streaming fast compare to http. It shows that the throughput is increased by 54% than http. Also the delay factor is improved by 2% than http. The Web Socket simplify the complexity around bi-directional web communication and connection management. Also the websocket protocol removes much of the overhead of Http protocol.