Anonymousdog / displaycameras

System for displaying RTSP feeds from IP cameras on the Raspberry Pi
Apache License 2.0
572 stars 114 forks source link

No streams / possible to use udp? #32

Closed Zunipox closed 5 years ago

Zunipox commented 5 years ago

Hi, I can't get any camera stream to show up. I'm not using UniFi cameras, but instead a mixture of raspbeery pi cameras/usb cameras.

The displaycamera services are running and my config looks right. I can get the streams to show by running it manually and using vlc or omxplayer to watch them.

Under the debugging section, it states to use tcp: sudo omxplayer --no-keys --no-osd --avdict rtsp_transport:tcp --live -n -1 --timeout 30

if I use rtsp_transport:udp, or leave it out completely, the stream shows up. But with tcp omxplayer returns: have a nice day ;)

So, is displaycameras written to only use tcp? Can this be modified? I can't find it in the displaycameras.conf or layout.conf.default to switch to using udp.

Zunipox commented 5 years ago

As im using different kind of cameras, I'm starting the streams using cvlc. If I'm using protocol http for the streams they shows up automatically. So it's solved by using http for my feeds in layout.conf file