RTSP issue with VLC player

Hi

I am using gstreamer RTSP server application and able to view the stream with gst-launch

gst-launch-1.0 rtspsrc location=rtsp://IP:PORT_NUMBER/stream latency=10 ! decodebin ! autovideosink

When I tried to open the same stream with VLC player (rtsp://IP:PORT_NUMBER/stream), getting "Your input can’t be opened: "

If I open the stream in VLC player after gst-launch (i.e. client-1 with gst-launch, client-2 VLC player), it is working.

So I am able to view in VLC only if there exists an active session with gst-launch.

Please let me know, what could be the reason for this behavior?