NodeJs server issue with large file serving to multiple clients


I have created video server application using NodeJs. I am able to serve all the static application files, upload videos as expected. But I am not able to watch same media file simultaneously on two different clients. It does not start playing a media in different browser until it stopped or paused on earlier client. Issue occurs only when I try to play same file on different clients.

I tried using http server range requests, express, connect, vid-server modules.

I tried using nginx, lighthttp for the serving media file.

Could you please suggest me how to serve large(upto 1.5 gb) media files to multiple clients simultaneously.

Problem courtesy of: kiranB


If you are using different tabs in Chrome/Chromium, beware that you cannot play the same video more than once (1, 2).

(This behaviour made me very confused once)

Instead test with different browsers, or even different computers.

Solution courtesy of: Eloff


There is currently no discussion for this recipe.

This recipe can be found in it's original form on Stack Over Flow.