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

[mediacapture-main] Revive createObjectURL?

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Thu, 29 Sep 2016 10:17:22 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issues.opened-180008841-1475144240-sysbot+gh@w3.org>
foolip has just created a new issue for 
https://github.com/w3c/mediacapture-main:

== Revive createObjectURL? ==
createObjectURL was removed in 2013:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23091
7167f7339eccc21c14b575718aefa4def01efb30

However, it is still supported in Chrome, Edge and Firefox, as tested 
with this code:
```JavaScript
var stream = new (window.MediaStream || window.webkitMediaStream);
var url = URL.createObjectURL(stream);
console.log(url);
```

Rather than attempting to remove it, bringing it back in the spec may 
be less effort for everyone involved. Here's how it's spec'd for Blob 
and MediaSource:
https://w3c.github.io/FileAPI/#creating-revoking
http://w3c.github.io/media-source/#url

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/404 using your GitHub 
account
Received on Thursday, 29 September 2016 10:17:31 UTC

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