javascript – To solve the problem of live streaming with JS -> Streaming: 91 Uncught TypeError: & # 39; createObjectURL & # 39; for & # 39; URL & # 39; Could not be executed:

I wanted to try a bit of live broadcast. But in my view, many have the same problem. But I could not see the answer in other articles or answers.

When I access the website, I request permission from the camera and it will be activated. But nothing is shown at all.

PS: ignore the socket.io. hehe

The error appears specifically in

video.src = window.URL.createObjectURL (Stream);

I will leave the code

video.src = window.URL.createObjectURL (Stream);

Streaming Server