W3C home > Mailing lists > Public > public-html-media@w3.org > June 2012

Re: [MSE] Moving Media Source methods into a separate object.

From: David Dorwin <ddorwin@google.com>
Date: Sat, 16 Jun 2012 20:07:52 -0700
Message-ID: <CAHD2rsi31hdUnzXRNStHVPihCu7f_7pdM3wq_G60urkdWquuQw@mail.gmail.com>
To: Aaron Colwell <acolwell@google.com>
Cc: public-html-media@w3.org
> Associating the MediaSource with a <video> would be similar to
> LocalMediaStream.
> 1. Create a MediaSource object.
> 2. Use createObjectURL() to get a blob URL for the MediaSource object.

Does this imply overloading createObjectURL() to accept a MediaSource
A new URL is created every time createObjectURL() is called, so one might
have multiple URLs pointing to the same MediaSource object. Does this pose
any problems?
Does it make sense to just add getURL() to MediaSource instead?

3. Assign the blob URL to HTMLMediaElement.src.

What happens if the URL is associated with multiple HTMLMediaElements?
Sharing data might be nice, but what are the implications for
Received on Sunday, 17 June 2012 03:08:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:22 UTC