Re: [mediacapture-main] Revive createObjectURL?

@foolip I guess that most sites that play ```MediaStream```s still use
 the (deprecated in the spec) ```URL.createObjectURL(mediaStream)``` 
method to play them in a media element (based on comparing 0.007-0.1% 
with 0.0003%).

However, at the time when we had 
```URL.createObjectURL(mediaStream)``` it was a moving target as the 
File API (which we modeled it after) was moving back and forth 
regarding e.g. auto revocation (if memory serves). So I am not sure 
all UAs that implement ```URL.createObjectURL(mediaStream)``` do it in
 the same way. Additionally, the File API has now moved further and 
has two different methods for generating an URL for a blob.

My vision may be blurred, but to me it still makes most sense to keep 
URL generation out of the spec (which of course does not forbid UAs to
 support it) and just spec ```srcObject```.

-- 
GitHub Notification of comment by stefhak
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/404#issuecomment-271512565
 using your GitHub account

Received on Tuesday, 10 January 2017 08:15:59 UTC