motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.93k stars 652 forks source link

port 8081 doesn't stream #888

Open cephasiii opened 6 years ago

cephasiii commented 6 years ago

I have motioneyeos installed and setup on rpi zero w w/ raspberry camera. When I stream (http://my.ip.address:8081) it only shows a snapshot instead of the live stream.

How do I view a live video stream without logging in to web interface?

Thanks in advance for the help. motion.log motioneye.log

francisuk1989 commented 6 years ago

Try this: Login into the webinterface then go to = on the top left Go to video streaming > Streaming Port and change 8081 to say 1030 Appy try the new IP and Port, Example http://192.168.1.14:1030

if this works then there is something on your system that is using port 8081

ikke-t commented 6 years ago

I noticed the same after upgrade. It seems streaming port is nowadays bound to localhost only. Check if you have 127.0.0.1:8081 in your netstat:

sudo netstat -ltnp

If so, you need to find bind setting for motion and put 0.0.0.0 there.

ikke-t commented 6 years ago

I looked it up and fixed it for me. Option is:

stream_localhost off

Works fine. Config option for this would be nice. It's security feature.

ikke-t commented 6 years ago

Oops, replied to wrong question. Anyhow, it seems streaming is disabled by default nowadays in motion. Sorry for confusion here.