Description
On platforms that support Transport Stream via MediaSource, we are able to play TS content. Currently, that is just Edge and Chromecast. (Safari is not working due to #743.)
This is consistently surprising to developers, and not everyone can transmux their content to fMP4 ahead of time. Developers expect that working content will work everywhere.
To meet this expectation, we should start offering transmuxing of TS content in the browser. We should optimize this, if needed, to reduce impact on CPU and battery life. If the process is too expensive, we should warn developers and provide guidance on transmuxing content en masse on the server, to reduce the burden on clients.
We should examine the transmuxing implementation of hls.js (which is also Apache-licensed) before we begin work. There may be a way to collaborate with hls.js to reuse their transmuxer rather than build a new one.