pusher_webrtc icon indicating copy to clipboard operation
pusher_webrtc copied to clipboard

Failed to execute 'createObjectURL' on 'URL'

Open ahmedsaifreza opened this issue 5 years ago • 2 comments

an error occured TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided. at (index):128

ahmedsaifreza avatar Apr 01 '19 11:04 ahmedsaifreza

You may try to change index.html to:

//document.getElementById("selfview").src = window.URL.createObjectURL(stream); document.getElementById("selfview").srcObject = stream;

But I still get problem in showing the video on both sides.

BaBaSwan avatar Apr 03 '19 13:04 BaBaSwan

first create a MediaStream object

const mediaStream = new MediaStream(stream)
document.getElementById("view").srcObject = mediaStream

saraheisa avatar Apr 28 '19 13:04 saraheisa