deepstream open rtsp stream failed

When the network status is not good, the deepstream will fail to pull the RTSP video stream.log message is :

WARNING from source: Could not read from resource.
Debug info: gstrtspsrc.c(5427): gst_rtspsrc_reconnect (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstRTSPSrc:source:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.
**PERF: 0.00 (0.00)

I’d like to ask you how to deal with this situation

Supplementary log:

**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
WARNING from source: Could not read from resource.
Debug info: gstrtspsrc.c(5427): gst_rtspsrc_reconnect (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstRTSPSrc:source:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.
**PERF: 0.00 (0.00)
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
** INFO: <bus_callback:150>: Pipeline running

Creating LL OSD context new
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
Segmentation fault (core dumped)

Hi,
Do you use a Jetson platform or PC with desktop GPU?

Hi
I use Jetson NANO.

Hi,
Please apply the prebuilt lib and try again. It fixes segment fault in TCP connection. Looks similar to this one.

Thanks!

@DaneLLL I am using Desktop GPU. I am getting this error.

Decodebin child added: source

Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5427): gst_rtspsrc_reconnect (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.
Decodebin child added: decodebin0

Decodebin child added: rtph265depay0

Decodebin child added: h265parse0

Decodebin child added: capsfilter0

Decodebin child added: nvv4l2decoder0

In cb_newpad

gstname= video/x-raw
Error: gst-stream-error-quark: memory type configured and i/p buffer mismatch ip_surf 0 muxer 3 (1): gstnvstreammux.c(467): gst_nvstreammux_chain (): /GstPipeline:pipeline0/GstNvStreamMux:Stream-muxer
Exiting app

Hi @skim1
The latest release is DS5.1. If you still observe the issue on the release, please create a new topic. This topic is for an issue in DS4.0.1

1 Like