restreamer
restreamer copied to clipboard
Not able to pull camera signal via udp transport
Describe the bug Currently testing new stream setup with Restreamer 2.4.2 on Raspberry Pi 4, 8gb. Camera is a Hikvision DS-2DE7A432IW-AEB Pulling RTSP-stream via tcp works fine, via udp transport it doesn't. I attach the process details.
To Reproduce Steps to reproduce the behavior:
- Setup a RTSP network source in Restreamer
- Use UDP transport
- Save settings and connect to camera
- See error
I could reproduce it everytime so far.
Desktop (please complete the following information):
- OS: [Raspberry Pi OS, Bullseye 32 bit]
- Browser [Chromium]
- Version [ 104.0.5112.105] process_details2.txt process_details1.txt
Nevermind, it were network issues. Sorry for the noise.
I need to reopen, it isn't a network issue. Constantly when trying to pull the rtsp-stream via udp it fails. Occasionally it connects but mostly after several unsuccessful connection attempts. In contrast, when using tcp it connects instantly without problems. I attach some more process details.
I remember when tinkering with plain ffmpeg v5 last year, I had similar errors using udp which I hadn't with ffmpeg 4. I could solve this by adding "-ss 00:00:01
" to the ffmpeg command. So something like ffmpeg -thread_queue_size 1024 -ss 00:00:01 -rtsp_transport udp -i rtsp://url ...