title: Provide/create MOOV atom of mp4 file while streaming it
body: <p>This question is related to my previous question
  <a href="https://stackoverflow.com/questions/59895767/trying-to-stream-telegram-media-and-playing-it-in-a-web-page">Trying to stream telegram media and playing it in a web page</a>.</p>
  
  <p>I am trying to stream Telegram videos on a website using <a href="https://github.com/tulir/tgfilestream" rel="nofollow noreferrer">this</a> library. I found out that most of the videos have the MOOV atom at the end, so they cannot be streamed until completely downloaded. </p>
  
  <p>I wanted to know if I can create or move the MOOV atom of the mp4 file while streaming it as I cannot download the file completely and then do the same. Or if there is any other type of HTTP metadata that can be sent along the file to compensate for the MOOV atom.</p>