You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: