Please provide complete information as applicable to your setup.
• (dGPU)
• DeepStream Version 7.1
• Docker Image
• Bug
Hello,
I’m using Deepstream 7.1 service-maker in C++, to create pipelines which consume RTSP streams from MediaMTX.
After a temporary outage where all upstream RTSP sources went down, my pipelines did not reconnect when the streams came back up. We rely on nvurisrcbin
reconnection settings (which have worked for partial/individual feed drops before). In this scenario, pipelines did not recover/reconnect to MediaMTX despite the feeds being live again until we manually restarted the deepstream pipelines.
The snippet below shows my nvurisrcbin
setup. I can share more of the pipeline code if needed.
for (uint i = 0; i < num_sources; i++)
{
std::string name = "src_" + std::to_string(i);
pipeline.add("nvurisrcbin", name, "uri", uris[i], "rtsp-reconnect-interval", 15, "rtsp-reconnect-attempts", -1);
}
Here are my mediamtx config file and logs from one of the pipelines. Please note I have replaced all rtsp urls and IP addresses with placeholders.
ds_pipeline_logs.log (20.8 MB)
mediamtx.txt (24.5 KB)
Thank you.