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

Watcher produces black screen indefinitely #11

Closed
andrew103 opened this issue May 28, 2020 · 2 comments
Closed

Watcher produces black screen indefinitely #11

andrew103 opened this issue May 28, 2020 · 2 comments

Comments

@andrew103
Copy link

When running the code, viewer pages are completely black and don't seem to update with video feed. The broadcaster sees that a viewer is joining and they seem to exchange offer/answer successfully.

Steps to reproduce
Run the code as usual with node.

Expected behavior
Live video feed to display in the watcher's browser.

Desktop (please complete the following information):

Server/Broadcaster:

  • NVidia Jetpack 4.3 (based on ubuntu 18.04)
  • Chromium
  • 80.0.3987.87

Viewer (1): Same as Broadcaster

Viewer (2):

  • Ubuntu 18.04
  • Chrome
  • 81.0.4044.138

Viewer (3):

  • Android 10
  • Chrome
  • 81.0.4044.138
@andrew103
Copy link
Author

Adding controls and pressing play begins the video feed, but autoplay doesn't seem to work for some reason.

@andrew103
Copy link
Author

Found the solution. Apparently most browsers won't autoplay unless provided with the "muted" option in the video tag. Adding this option fixed the problem immediately.

Source: https://stackoverflow.com/questions/17994666/video-auto-play-is-not-working-in-safari-and-chrome-desktop-browser

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

1 participant