When I add a new stream that is not open by restful api, that stream that is not open, this will cause that all pipeline quit

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson AGX
• DeepStream Version 7.0
**• JetPack Version (valid for Jetson only) 6.0 GA
**• TensorRT Version 8.6
**• NVIDIA GPU Driver Version (valid for GPU only) 540.3.0
**• Issue Type( questions, new requirements, bugs) questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

with deepstream-test5-app When I add a new stream that is not open by restful api, that stream that is not open, this will cause that all pipeline quit

about “When I add a new stream that is not open by restful api” , do you mean you only set some rtsp uri in the configuration file? could you share the configuration file of test5?

No , I use restful api to add stream, like below
curl -XPOST ‘http://localhost:40257/api/v1/stream/add’ -d ‘{
“key”: “sensor”,
“value”: {
“camera_id”: “303239333436003d15ab4eb5165a0001”,
“camera_name”: “hik”,
“camera_url”: “rtsp://admin:a12345678@192.168.31.9/Streaming/Channels/1”,
“change”: “camera_add”,
},
}’

but this camera_url can not be opened.
for example, I used restful api to add 4 streams , because previous 4 streams can be opened.
When I add the 5th stream like above ,but this camera_url can not be opened.
The program quit. previous 4 streams are also down

  1. my test is fine. please refer to log-0722.txt (554 Bytes).
  2. could you share more log 1.log by the following steps?
export GST_DEBUG=6
"start app"  >1.log 2>1.log
  1. from the logs you shared, it should be related to RTSP. can this pipeline work?
gst-launch-1.0 rtspsrc location=rtsp://admin:a12345678@192.168.31.9/Streaming/Channels/1  ! fakesink

Did you understand what I said?

1、、for example, I used restful api to add 4 streams , because previous 4 streams can be opened. This is success.
2、When I add the 5th stream like above ,but this camera_url can not be opened. The program quit. previous 4 streams added are also down.
I want to explain that the 5th stream that can not be opened let previous 4 streams added down

  1. Could you share more log mentioned in my last comment? Thanks.
  2. Can the camera support 5 connections?you can use the gst-launch command-line in my last comment to test.

answer :
1、The picture above showed error message.
2、don.t support. The 5 streams are not from the same camera.

Test Scenario
1、With deepstream-test5-app,you can use restful api adding 2 , 3, or 4 streams, ( The streams are not from the same camera). The pipeline is normal.
2、 you can add next stream (this stream is abnormal), you can see the log of deepstream-test5-app.

I want to ask this question , when you add an abnormal stream to a normal pipeline, whether deepstream-test5-app is down? In other words,whether the next stream(this stream is abnormal) being adding let a normal pipeline down? Can you understand what I said?

it depends on what kind of abnormal stream. I tested with an invalid stream, and can’t reproduce the quit issue. here is the log log-0723.txt (1.6 KB). it is related with the error “No supported authentication protocol was found”. this error message will be passed to bus_callback. deepstream-test5 code is opensource. you can add custom code in
bus_callback of opt\nvidia\deepstream\deepstream-7.0\sources\apps\sample_apps\deepstream-app\deepstream_app.c. for example, you can make the app not quit after getting this error message in bus_callback.

log.txt (4.3 MB)
The log is like this
This is all message

ERROR from src: Internal data stream error.
Debug info: …/g
the log above is printed in bus_callback. then the app will quit because of “appCtx->quit = TRUE;”. you can make the app not quit after getting some specific error.

So this pipeline support n streams, if one stream recevice eos message , others will be abnormal?

no, one stream EOS will not affect the other streams. after all streams EOS, the application will quit.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.