Re: [mediacapture-main] Revive createObjectURL?

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 
https://github.com/w3c/mediacapture-main/issues/404#issuecomment-250442472
 using your GitHub account

Received on Thursday, 29 September 2016 11:38:44 UTC