Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL.createObjectURL is deprecated and does not work in Safari, will soon stop working in Firefox/Chrome #51

Open
BobVul opened this issue Aug 9, 2018 · 0 comments

Comments

@BobVul
Copy link

BobVul commented Aug 9, 2018

URL.createObjectURL is deprecated for media streams.

It will likely be removed from Chrome in version 69, Sept 2018.

It will be removed from Firefox in version 62, Sept 2018.

It is already not supported in Safari.


The replacement is assigning the stream directly to srcObject. This does bump up the minimum browser version. If older browser version support is required, either user agent detection or fallback (TypeError from createObjectURL?) will need to be done.

BobVul added a commit to BobVul/qcode-decoder that referenced this issue Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant