Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video is not shown #15

Open
anjanaNewput opened this issue Sep 19, 2018 · 3 comments
Open

Video is not shown #15

anjanaNewput opened this issue Sep 19, 2018 · 3 comments

Comments

@anjanaNewput
Copy link

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

@gilpanal
Copy link

Hi, please have a look into my fork. I solved some issues of the current project:
https://github.com/gilpanal/react-native-webrtc-server

Let me know if you are able to see the video. Which browser are you using, by the way?

Thank you!

@anjanaNewput
Copy link
Author

@gilpanal
I am facing this issue on both FF and Chrome.

@gilpanal
Copy link

OK. For me, using my repo it works fine in both, from Mac, with latest version of the browsers. Please try it, and reply with the result. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants