I am having a very basic issue and I do not know why. Maybe someone here could help me understand.
I am trying to use gstreamer plugins of deepstream and trying to execute the following after calling “gst_bin_add_many(GST_BIN(pipeline), source, rtph264depay, tee, NULL)”
gst_element_link_many (source, rtph264depay, tee, NULL);
which is always giving me FALSE
my source, rtph264depay and tee are as follows:
source = gst_element_factory_make (“rtspsrc”, “rtsp-source”);
g_object_set(G_OBJECT(source), “location”, location.c_str(), NULL);
rtph264depay = gst_element_factory_make(“rtph264depay”, “h264-depay”);
tee = gst_element_factory_make(“tee”, “tee”);
source, rtph264depay and tee are all okay (not NULL)
Any idea why I am having the issue? How to know why gst_element_link_many () is returning FALSE? How to debug?
Any help will be greatly appreciated.
Thanks in advance!