muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.46k stars 1.75k forks source link

createObjectURL is deprecated for Google Chrome #779

Open praason opened 2 years ago

praason commented 2 years ago

video.src = window.URL.createObjectURL(localMediaStream); video.play();

Then I replaced that with this:

video.srcObject = localMediaStream; video.play();

tony commented 2 years ago

@praason Any more details on the deprecation? (On the google chrome side?)