uncaught typeerror: failed to execute 'createobjecturl' on 'url': overload resolution failed. code example

Example: uncaught typeerror: failed to execute 'createobjecturl' on 'url': overload resolution failed.

The URL.createObjectURL() method has been removed from the MediaStream 
interface. This method has been deprecated in 2013 and superseded by 
assigning streams to HTMLMediaElement.srcObject. 
The old method was removed because it is less safe, 
requiring a call to URL.revokeOjbectURL() to end the stream.
Other user agents have either deprecated (Firefox)
or removed (Safari) this feature feature.

Tags:

Misc Example