What value should I pass inside the function for it to take a rtsp stream

source = Gst.ElementFactory.make(“filesrc”, “file-source”)

I am passing RTSP stream as the input source, what argument should I pass instead of filesrc…
What are the things to be included?

filesrc is for local file reading, relevant document can be found at filesrc (gstreamer.freedesktop.org).

You may refer to uridecodebin to open RTSP stream, the relevant deepstream example can be found in example deepstream_test3.

The RTSP stream src is supported by gstreamer. There are also samples of RTSP source in deepstream-app sample code. Please make sure you are familiar with GStreamer GStreamer: open source multimedia framework before you start with DeepStream.