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 disappears sometimes #69

Closed
mdaneman opened this issue Oct 4, 2019 · 9 comments
Closed

Video disappears sometimes #69

mdaneman opened this issue Oct 4, 2019 · 9 comments
Labels
bug Something isn't working
Milestone

Comments

@mdaneman
Copy link

mdaneman commented Oct 4, 2019

Describe the bug
I have the "Show Webcam" checked in settings and it sometimes shows the video on the Dashboard, but sometimes it doesn't show it. It sill allocates space for the video, but it's blank. The video can still be seen the normal way in the Octoprint control tab. Toggling "Show Webcam" on and off doesn't help.

To Reproduce
Not sure if this is exactly consistent, but for me the steps are to start a print and then wait for awhile or try to open Octoprint from a computer or phone. The video mostly tends to show up the first time you connect to Octoprint from a particular browser, but then may disappear when you come back to the same browser window later. Again, this may not be consistent every time.

Expected behavior
I expected the video to show up in all locations at all times.

Screenshots
From Windows 7 Chrome:
DashboardSnip

From iPhone 6S:
OctoPrint

Desktop (please complete the following information):
I've seen this both on Chrome through a Windows 7 and Windows 10 desktops, and on an iPhone through Safari (iOS13)

@StefanCohen
Copy link
Collaborator

I have seen this too but only in Safari on OSX and I haven’t yet figured out why it happens.

@StefanCohen StefanCohen added the bug Something isn't working label Oct 4, 2019
@overload08
Copy link

This append on control tab too, not related to the plugin I think

@StefanCohen
Copy link
Collaborator

Then it is most likely not related to the Dashboard.

@StefanCohen
Copy link
Collaborator

I am not sure at all that this will help but I added a url parameter to the stream to prevent browser caching. This is something I have intended to do for a while anyway.

StefanCohen pushed a commit that referenced this issue Oct 4, 2019
@StefanCohen StefanCohen added this to the 1.9.0 milestone Oct 4, 2019
@StefanCohen
Copy link
Collaborator

Attempted fix in v1.9.0

@mdaneman
Copy link
Author

mdaneman commented Oct 4, 2019

Thanks. For me this definitely happens on both iOS and Chrome on Windows. Also, the control tab is still showing video, so it's not related to any issue with video not streaming. I'll update to the latest version once my current print completes (tomorrow) and let you know if I still see the problem or not.

@StefanCohen
Copy link
Collaborator

Please do. I have no idea how to investigate this further at this time.

@mdaneman
Copy link
Author

mdaneman commented Oct 7, 2019

Unfortunately this issue is not fixed yet. I'm still seeing video disappear sometimes.

@StefanCohen
Copy link
Collaborator

Ok. We need some way to reproduce this. I don’t see it on any of my systems. Do you have any idea how to trigger the problem or how to debug the issue on your system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants