go2rtc: i/o timeout

Hello, I use a Wansview W5 camera. I keep getting a timeout error and the camera image hangs. (Stream is displayed with WebRTC on a Fire Tab 24/7). How to fix this? The Log:

15:24:01.614 DBG [webrtc] new consumer url=rtsp://admin:password@10.1.1.60:554/live/ch0
15:59:30.580 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="read tcp 10.1.1.41:59958->10.1.1.60:554: i/o timeout" url=rtsp://admin:password@10.1.1.60:554/live/ch0
15:59:30.581 DBG [streams] reconnect to url=rtsp://admin:password@10.1.1.60:554/live/ch0
19:28:13.834 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:132 > error="read tcp 10.1.1.41:35904->10.1.1.60:554: i/o timeout" url=rtsp://admin:password@10.1.1.60:554/live/ch0
19:28:13.834 DBG [streams] reconnect to url=rtsp://admin:password@10.1.1.60:554/live/ch0
23:05:19.557 DBG [webrtc] new consumer url=rtsp://admin:password@10.1.1.60:554/live/ch0

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 19 (5 by maintainers)

Most upvoted comments

Hi, do you have ideas on how to diagnose this further? I don’t see any other error in log except that i/o timeout. I’ve tried Frigate-embedded go2rtc (I think 1.2.0) and also latest docker container. In both I never see the video but always get only i/o timeout. Same exact stream URL works fine in Frigate without webrtc and also in VLC.

@NickM-27 Ha! I just read the code some more and realized that it works like that. I was about to come here to comment that that indeed fixes the issue!