ffmpeg - live stream into a browser video tag (localhost only)
I think that the issue is the video tag.  The video tag does not support live streaming directly, see this question on SO.  Specifically:

A. This answer for a technical description of what you want to implement

B. This answer for a code sample