Live video playback using websocket


I would like to stream a video that is in my database (MySQL) and would like to know if it is possible to play live media content using websocket, and if that is how I could build? I have in mind that I will use html5 and JS and a back end language (php or even python). If someone can give you a hint or example of how could I start?

asked by anonymous 01.08.2014 / 17:15

2 answers


This blogpost shows you how to stream video using websockets, node.js and ffmpeg, using the jsmpeg library. The post focuses on the server side, but the library documentation explains in detail both sides. It seems to be exactly what you're looking for.

This tutorial about video interactivity over sockets may also interest you.

08.08.2014 / 17:15

Hello, a good idea would be to use the technology nodejs , it's very easy, I've tested it myself, but I did not create anything big, but it's possible I can not tell you how to do it, but I can contribute ideas.

08.08.2014 / 17:27