W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] Proposal for a MediaSource API that allows sending media data to a HTMLMediaElement

From: Aaron Colwell <acolwell@google.com>
Date: Mon, 11 Jul 2011 11:42:59 -0700
Message-ID: <CAA0c1bCZWGWZG+hGK60Bgm0L6wEitihJubs1+73HctcnGoymFQ@mail.gmail.com>
Hi,

Based on comments in the File API Streaming
Blobs<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-January/029973.html>
thread and
my Extending HTML 5 video for adaptive
streaming<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-June/032277.html>
thread,
I decided on taking a stab at writing a MediaSource API
spec<http://html5-mediasource-api.googlecode.com/svn/trunk/draft-spec/mediasource-draft-spec.html>
for
streaming data to a media tag.

Please take a look at the
spec<http://html5-mediasource-api.googlecode.com/svn/trunk/draft-spec/mediasource-draft-spec.html>and
provide some feedback.

I've tried to start with the simplest thing that would work and hope to
expand from there if need be. For now, I'm intentionally not trying to solve
the generic streaming file case because I believe there might be media
specific requirements around handling seeking especially if we intend to
support non-packetized media streams like WAV.

If the feedback is generally positive on this approach, I'll start working
on patches for WebKit & Chrome so people can experiment with an actual
implementation.

Thanks,
Aaron
Received on Monday, 11 July 2011 11:42:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC