Deepstream 4.0.2 multiple sources and multiple RTSP sinks

@1319501722 Can you try the patch in BUG REPORT: the deepstream5.0 reference application process sub_bins index incorrectly in demux setting to check if it can fix your problem or not?
It is for Deepstream5.0, so you need to apply the patch manually, rebuild and replace the deepstream apps.