W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > January 2017

Re: [mediacapture-main] Revive createObjectURL?

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Jan 2017 21:13:10 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-271996087-1484169189-sysbot+gh@w3.org>
> Does adapter.js not already try srcObject before 
URL.createObjectURL(stream)?

@foolip As @alvestrand says, adapter only polyfills the spec now (all 
helpers are gone). People can use `srcObject` which is polyfilled in 
old browsers, so there's no obstacle switching, people just haven't.

@alvestrand A polyfill would need to intercept `.src`, basically do 
what @ShijunS has done.

However, polyfilling `URL.createObjectURL(mediaSource)` is blocked on 
srcObject support for it, which [we don't have 
yet](](https://bugzil.la/886194)).

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/404#issuecomment-271996087
 using your GitHub account
Received on Wednesday, 11 January 2017 21:13:16 UTC

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