PSA: Deprecation of URL.createObjectURL() with MediaStream objects

191 views
Skip to first unread message

orp...@chromium.org

unread,
Jan 24, 2018, 11:02:48 AM1/24/18
to discuss-webrtc

Hi,


Starting from Chrome M65, URL.createObjectURL() called with MediaStream objects will emit a deprecation message and removal is planned for M68.


This feature has been removed from the standard in 2013 and replaced by assigning MediaStream objects to HTMLMediaElement.srcObject. This is supported by all UAs, unlike URL.createObjectURL() and is the recommended and safe way to use them.


For reference, Firefox is also currently emitting a deprecation warning and Safari doesn’t support this.


Chrome platform status: https://www.chromestatus.com/features/5618491470118912

Reply all
Reply to author
Forward
0 new messages