Link nvstreamdemux to two nvmsgconvs

Hi @fanzh

Thanks for your reply. I did what you suggested but again nothing is printed. However, then I separated the two sources, it means each source has its own pipeline and it doesn’t go through streamdemux, and then it started to print what I had added. Here is an example,

********STARTIGN BROKER *************self_compid: 2093901541, pauload_compid:2093901541
[mosq_mqtt_log_callback] Client null sending PUBLISH (d0, q0, r0, m32, 'traffic-data-ny:cam1', ... (121 bytes))
Publish callback with reason code: Success.
in gst_nvmsgbroker_render
********STARTIGN BROKER *************self_compid: 2093901688, pauload_compid:2093901688
[mosq_mqtt_log_callback] Client null sending PUBLISH (d0, q0, r0, m38, 'traffic-data-ny:cam2', ... (121 bytes))
Publish callback with reason code: Success.

So this means, when using stremmux and stremdemux somehow nvmsgbroker does not work properly.
I have shared the sourcecode and the make file a few messages back for your refrence.

could you help to narrow down this issue by the following steps?

  1. you can dump the pipeline to check if the negotiation is fine.
  2. please check if using fakesink is fine.
  3. add probe function on demux’s src to check if the data comes to the probe.