W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > September 2016

Re: [mediacapture-main] Revive createObjectURL?

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 29 Sep 2016 11:38:35 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-250442472-1475149113-sysbot+gh@w3.org>
My personal experience (a couple of years ago) was with trying to 
write an utility function that kept track of a bunch of streams and 
how they were connected to a HTMLMedia object.

In order to test this function, I passed it a mock HTMLMedia object 
and a mock stream, and attempted to run it through its paces.
I could easily mock the "srcObject" attribute on the HTMLMedia object,
 and detect that it was set correctly - but I could not catch the call
 to createObjectURL without overriding the method on the global URL 
object for all usages - which seemed dramatic to me at the time.

I would think usage in Chrome is pretty massive - it's not long ago 
that we shipped srcObject at all, and I doubt many consumers have 
converted so far. But use counters are a Good Thing.

GitHub Notification of comment by alvestrand
Please view or discuss this issue at 
 using your GitHub account
Received on Thursday, 29 September 2016 11:38:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:30 UTC