More than six analysed RTSP stream causes cross-camera-frames to appear on each stream

Please provide complete information as applicable to your setup.

**• GPU **
Tesla P4

• DeepStream Version
V5.0 (Obtained as in image: 5.0-20.07-devel)

• TensorRT Version
Obtained as in image: 5.0-20.07-devel

**• NVIDIA GPU Driver Version (valid for GPU only) **
440.33.01

• Issue Type( questions, new requirements, bugs)
questions/bugs

• 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)
Used deepstream-app to run a config which had more than 6 sources and sinks. Once all the sinks are up, one can connect the output RTSP port to several VLC instances and observe that the frames from cameras are being randomly shown on other output displays.

It appears as if frames from all cameras are being displayed on every output RTSP feed.

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Attaching the config below:

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://support:%24Upp0r%2B543@10.125.204.195
select-rtp-protocol=4
num-sources=1
camera-id=0
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0


[source1]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://support:%24Upp0r%2B543@10.125.204.196
select-rtp-protocol=4
num-sources=1
camera-id=0
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0


[source2]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://support:%24Upp0r%2B543@10.125.204.197
select-rtp-protocol=4
num-sources=1
camera-id=2
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0

[source3]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://support:%24Upp0r%2B543@10.125.206.196
select-rtp-protocol=4
num-sources=1
camera-id=3
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0

[source4]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://support:%24Upp0r%2B543@10.125.206.198
select-rtp-protocol=4
num-sources=1
camera-id=4
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0


[source5]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://support:%24Upp0r%2B543@10.125.206.199
select-rtp-protocol=4
num-sources=1
camera-id=5
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0


[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
source-id=0
codec=1
enc-type=0
sync=0
bitrate=4000000
profile=0
rtsp-port=5000
udp-port=10000
gpu-id=0


[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
source-id=1
codec=1
enc-type=0
sync=0
bitrate=4000000
profile=0
rtsp-port=5001
udp-port=10001
gpu-id=0


[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
source-id=2
codec=1
enc-type=0
sync=0
bitrate=4000000
profile=0
rtsp-port=5002
udp-port=10002
gpu-id=0

[sink3]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
source-id=3
codec=1
enc-type=0
sync=0
bitrate=4000000
profile=0
rtsp-port=5003
udp-port=10003
gpu-id=0

[sink4]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
source-id=4
codec=1
enc-type=0
sync=0
bitrate=4000000
profile=0
rtsp-port=5004
udp-port=10004
gpu-id=0

[sink5]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
source-id=5
codec=1
enc-type=0
sync=0
bitrate=4000000
profile=0
rtsp-port=5005
udp-port=10005
gpu-id=0


[osd]
enable=1
gpu-id=0
border-width=1
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0



[streammux]
gpu-id=0
live-source=1
batch-size=6
batched-push-timeout=40000
width=1920
height=1080
enable-padding=0
nvbuf-memory-type=0


[primary-gie]
enable=1
gpu-id=0
config-file=/opt/nvidia/deepstream/deepstream-5.0/js-asset/build/sample/model/pgie.txt
batch-size=6
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
gie-unique-id=1
nvbuf-memory-type=0

[tests]
file-loop=0

[nvds-analytics]
enable=0
config-file=roi.txt


[ds-example]
enable=0
processing-width=1280
processing-height=720
full-frame=1
unique-id=15
gpu-id=0

The problem has been fixed in DS5.0.1. Please upgrade to version 5.0.1

Thanks. That sorted the issue.