How to create a video stream with the torrent?

The goal is to create a online cinema. The user selects the film, after which the film begins downloaded to the server and, in parallel, is played to the user. You need to implement as changing the video format on the fly if unsupported by the browser. The stream must not be interrupted to pause the movie fix / change the resolution of the stream. Using libraries to stream from torrents (webtorrent, pulsar, peerflix ... ) is prohibited.
Are you going to do Python, Flask/Django. Please explain in what direction to look, what to Google? Especially incomprehensible to stream not yet downloaded the torrent. What do in this task the role of the server, and what can be done via Javascript?
April 4th 20 at 00:41
1 answer
April 4th 20 at 00:43
The goal is to create a online cinema.

Start with this.

Find more questions by tags Web Development