Skip to content

Stream error restart stream #542

@roopeshsn

Description

@roopeshsn

I am trying to stream from a Dahua DVR.

INFO[2025-10-11T23:15:37+05:30] Run stream                                    call=Run channel=0 func=StreamServerRunStreamDo module=core stream=b7ed034b-ef5b-47e4-8564-0223d31c8fa9
ERRO[2025-10-11T23:15:37+05:30] Stream error restart stream dial tcp 192.168.1.108:554: connect: no route to host  call=Restart
...

Troubleshooting so far:

Route is present, Port is open, and Ping is working.

roopesh:~/ $ nc -vz 192.168.1.108 554         
Connection to 192.168.1.108 port 554 [tcp/rtsp] succeeded!

roopesh:~/ $ ping 192.168.1.108 -c 5                   
PING 192.168.1.108 (192.168.1.108): 56 data bytes
64 bytes from 192.168.1.108: icmp_seq=0 ttl=64 time=4.747 ms
64 bytes from 192.168.1.108: icmp_seq=1 ttl=64 time=4.097 ms
64 bytes from 192.168.1.108: icmp_seq=2 ttl=64 time=3.504 ms
64 bytes from 192.168.1.108: icmp_seq=3 ttl=64 time=3.963 ms
64 bytes from 192.168.1.108: icmp_seq=4 ttl=64 time=4.231 ms

--- 192.168.1.108 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3.504/4.108/4.747/0.402 ms

roopesh:~/ $ route -n get 192.168.1.108                                     
   route to: 192.168.1.108
destination: 192.168.1.108
  interface: en0
      flags: <UP,HOST,DONE,LLINFO,WASCLONED,IFSCOPE,IFREF>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0        23        13         0      1500       967

Stream url: rtsp://192.168.1.108:554/cam/realmonitor?channel=1&subtype=1

Image

Can you help? @deepch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions