nhudinhtuan.github.io
nhudinhtuan.github.io copied to clipboard
Uncaught (in promise) DOMException
Hmmm, maybe the [object%20MediaSteam]
should be a filename instead of that weird string.
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); }
It runs without error, but is not showing nothing..