Pi Camera not streaming in OctoPrint UI

Using a Offical Pi Camera V2.1 on a Raspberry Pi 4B 4GB on a 32GB micro-SD card running the latest OctoPrint version 1.3.12.

In the OctoPrint UI I have changed the settings under "Webcam & Timelapse" to the following: Stream URL: http://octopi.local:8080/?action=stream

When I hit "TEST" I get nothing, but if I input that address on the browser of my computer, I see the image. It's upside down, but it IS streaming, just not in OctoPrint UI.

Any suggestions as to why it won't show in the CONTROL tab of the OctoPrint UI, but can be reached via the web browser??? Also, the image is 180 degrees out (upside down).

Help.

If you're using a Microsoft-based browser then it's probably not happy with the <img src="" /> approach that OctoPrint uses. See if it works in another browser and check back with us.

Hi @wardnuke,
take a look into the browser developer tools maybe you can see an error message in the console or in the network tab. Something like this:

Try to replace the "octopi.local" with your IP-Address, sometimes the the name-resolution didn't work.

1 Like

I discovered that it will only display using Chrome as the web browser. If I use Internet Explorer or Edge, it gives me the "Webcam stream not loaded" window.

I read somewhere on the forum that for some reason OctoPrint didn't like IE or Edge. Go figure.

Carl

Alright, now that you know what's going on, if you really love your IE browser then it may be possible to do something like this. Somewhere here on the forum someone has done this already but I can't find the post.

Update: Here you go.

This may not matter soon... https://slashdot.org/story/20/01/13/1544223/microsoft-to-replace-edge-with-its-chromium-browser-this-wednesday

1 Like