Support for Apple latest adaptive streaming format

As some of you may already know, Apple has announced during WWDC2016 the support for fragmented MP4 files in HLS:

https://developer.apple.com/videos/play/wwdc2016/504/

We have been adding support in GPAC for fmp4 HLS, both at the client side and at MP4Box side.

You can translate a fmp4 m3u8 manifest into a DASH manifest:

For DASH main profile (using segment lists):

For DASH live profile (using segment template):

Here is GPAC playing the demo fmp4 stream for Apple (https://developer.apple.com/streaming/examples/advanced-stream-fmp4.html)

GPAC_HLS_FMP4

This is early stage work, feedback is of course welcome !