Webcam stream not working


#1

The webcam stream via the web frontend worked 2 months ago. Now it only shows "Webcam Stream Loading" on a black background. When I use the iPad app the cam works just fine but not on the website.
I also tried to change the USB ports but it didn't help. I have the latest version of Octoprint installed.

Thanks in advance


#2

What browser are we talking about?


#3

Chrome but I also tried FF which didn't work either. Both the latest versions.


#4

Open another tab and visit http://octopi.local:8080/ and see what's there.


#5

There is a shot from the cam.


#6

Brilliant. That means that mjpg_streamer is running and seems to be happy. I'm guessing that you're seeing two images, one a snapshot and one a video. The second one is something like http://octopi.local:8080/?action=stream . Just the / path from before by itself is some HTML which includes both outputs.

You might want to visit your OctoPrint -> Settings -> Webcam & Timelapse and see if that's been changed from the default.

If you're trying to reach your OctoPrint instance using HTTPS then it's possible that it doesn't like trying to include an HTTP stream as part of that for the webcam. In other words, just try http://octopi.local/ rather than https://octopi.local/ .