title: HTTP Live Streaming: Fragmented MP4 or MPEG-TS?
body: <p>I have an IP camera which sends out a live stream in RTSP over UDP and I want to display this stream in the browser, and I want it to work on the major browsers and on mobile (both iOs and Android). To achieve this I want to convert the stream to HTTP Live Streaming (HLS) on the server before sending it to the client. Now I've read that not very long ago Apple added support for fragmented MP4 (fMP4) as format for the stream, whereas normally the stream would be sent in MPEG-TS format. And fMP4 is also the format that MPEG-DASH supports, and MPEG-DASH might be the industry standard in a few years. </p>
  
  <p>Now my question is, what the advantages and disadvantages of both fMP4 and MPEG-TS are?</p>
  
  <p>EDIT: According to the technical notes for HLS from Apple, live streams must be encoded as MPEG-TS streams (<a href="https://developer.apple.com/library/content/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-ENCODEYOURVARIANTS" rel="nofollow noreferrer">https://developer.apple.com/library/content/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-ENCODEYOURVARIANTS</a>). Is there a reason for this or is this information outdated?</p>