[foms] Proposal: adaptive streaming using open codecs

Chris Pearce chris at pearce.org.nz
Tue Nov 9 12:48:27 PST 2010


On 9/11/2010 10:22 p.m., Philip Jägenstedt wrote:
>
> I still strongly prefer to put the chunking+concatenating in a layer
> outside of<video>, by extending the suitably named Stream API, see
> <http://www.whatwg.org/specs/web-apps/current-work/multipage/commands.html#stream-api>.
>
> Here's how it might work:
>
> var s = new Stream();
> s.appendURL('chunk1.webm');
> s.appendURL('chunk2.webm');
> video.src = s.url;
>
> That's it. From the point of view of the video decoder, it's just an
> infinite stream.

I'm happy with this idea, provided that chunks can be appended after the 
src is set.


Chris P.


More information about the foms mailing list