Can from nvmultiurisrcbin get camera_id, camera_name,camera_url to other pipeline

when curl add a stream

the nvmultiurisrcbin will has camera_id, camera_name,camera_url and so on

so how get these key for other pipeline , for example perf function?

The nvmultiurisrcbin is open source now. If you want to get the parameters and customize those, you can try to customize our source code deepstream-7.1\sources\gst-plugins\gst-nvmultiurisrcbin.

thanks you ,This is a bit challenging for me.now

can get it by a probe func?

You can try to get those from the message. Please refer to the source code gst_nvmessage_parse_stream_add in the deepstream-7.1\sources\libs\gstnvdscustomhelper\gst-nvdscustommessage.c.

  const GstStructure *str;

  if (!gst_nvmessage_is_stream_add (message))
    return FALSE;

  str = gst_message_get_structure (message);
  gst_structure_get_uint (str, "source-id", &sensor_info->source_id);
  sensor_info->sensor_id = gst_structure_get_string (str, "sensor-id");
  sensor_info->sensor_name = gst_structure_get_string (str, "sensor-name");
  sensor_info->uri = gst_structure_get_string (str, "uri");