-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
I reference your code to create webrtc web app
Earlier It was working fine. But today When I run the app its not showing video.
I got a warning in console
URL.createObjectURL(stream) has been deprecated. use srcObject instead.
So I looks for its fix and got a solution suggested by many people.
// Don't do this
video.src = URL.createObjectURL(stream);
// Do this
video.srcObject = stream;
After using it warning goes away, but still i am not able to see the local as well as remote video.
Please help me.
Thanks in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels