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

Harald Alvestrand harald at alvestrand.no
Tue Jul 12 00:31:48 PDT 2011

Not a comment directly on the spec, but you might want to check what 
people are suggesting for interactive media handling in the WEBRTC 
working group.

Streaming is different from interactive media, but it would be a shame 
to have incompatibilities that can be avoided.

On 07/11/11 20:42, Aaron Colwell wrote:
> 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

More information about the whatwg mailing list