react-video-recorder icon indicating copy to clipboard operation
react-video-recorder copied to clipboard

TODO: Deprecation: URL.createObjectURL()

Open paulincai opened this issue 5 years ago • 1 comments

https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL

paulincai avatar Jul 01 '19 21:07 paulincai

The page you linked gives the following warning:

Important: If you still have code that relies on createObjectURL() to attach streams to media elements, you need to update your code to simply set srcObject to the MediaStream directly.

As I understand it, this only concerns attaching streams to a video element, not blobs (like a finished recording)? So the use of createObjectURL in this package should be fine as it only handles blobs. Or am I wrong?

fabyeah avatar Jan 08 '20 21:01 fabyeah