nhudinhtuan / nhudinhtuan.github.io

39 stars 12 forks source link

Uncaught (in promise) DOMException #3

Open bikash-ghorai opened 5 years ago

bikash-ghorai commented 5 years ago

screenshot_1

Atap23 commented 5 years ago

Hmmm, maybe the [object%20MediaSteam] should be a filename instead of that weird string.

Euler-JS commented 2 years ago

I am having the same issue. But i change something:

try { JSHG.video.attr("src", compatibility.URL.createObjectURL(stream)); } catch (error) { JSHG.video.attr("src", stream); }

To :

try { JSHG.video.attr("srcObject", compatibility.URL.createObjectURL(stream)); } catch (error) { JSHG.video.attr("srcObject", stream); }

Euler-JS commented 2 years ago

It runs without error, but is not showing nothing..