AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
4.14k stars 336 forks source link

Go2rtc stream stuck issue randomly #1256

Open nnamera opened 1 month ago

nnamera commented 1 month ago

I'm using 1.9.4 latest version Issue 1 : in which I'm getting stream stream issue and restarting the stream it is rediscovering.so can you please provide the solution for this error log : WRN go2rtc-1.9.4/internal/streams/producer.go:170 > error="read tcp 192.168.1.120:49370->192.168.1.120:554: i/o timeout" url=rtsps://admin:admin@123@192.168.1.120:554/main_stream

Issue2 . also I'm getting randomly stream stuck which is not recovering by doing anything it will recover after restarting the full process error log for the same : WRN go2rtc/go2rtc-1.9.4/internal/streams/producer.go:170 > error="read tcp 192.168.1.120:49370->192.168.1.120:554: i/o timeout" url=rtsps://admin:admin@123@192.168.1.120:554/main_stream what can be the reason for this

dagleaves commented 1 month ago

Those are the same error logs. Issue 1 doesn't make sense as to what you're trying to say.

If you use an audio stream (ffmpeg:CAMERA#audio=opus) then look at #1254

AlexxIT commented 1 month ago

"i/o timeout" - problems with network connection or camera software.