title: Streaming mp4 live broadcasting video content over websocket to mediasource element
body: <p>I have a number of questions related to streaming (via websockets) on-air broadcasting h264 video to MediaSource element inside of mp4 container:</p>
  
  <ul>
  <li>Do i need <code>ftyp</code>? If i do, do i need it to be in the same Uint8Array as <code>moov</code>?</li>
  <li>Do i need to send every mp4 box separatly or can i hope that <code>sourceBuffer.appendBuffer(data)</code> will sort them out?</li>
  <li>Do i need to send <code>moof</code> and <code>mdat</code> together or should the be fed in different calls to <code>sourceBuffer.appendBuffer(data)</code>?</li>
  <li>Do i need any other kind of boxes, specifically for indicating timestamps?</li>
  <li>Do i need to indicate to MediaSource element when to start playing appended data chunks?</li>
  <li>Do i have to set any duration/timestampOffset-related things?</li>
  <li>Is there any crucial points in <code>moov</code> box i should be aware of when trying to produce live stream?</li>
  </ul>