https://mamchenkov.net/wordpress/2015/11/26/http-live-streaming-in-javascript/
HTTP Live Streaming In Javascript