Hello,
I am using gstreamer-1.0 and C.
I have successfully decoded four RTSP streams simultaneously using “nvcompositor” and “nvoverlaysink”.
If I get an error on any of the four streams, how do I retry the connect just one of stream?
case GST_MESSAGE_ERROR:
{
gchar *debug;
GError *error;
gst_message_parse_error(msg, &error, &debug);
g_printerr(“Error received from element %s: %s\n”, GST_OBJECT_NAME(msg->src), error->message);
g_printerr(“Debugging information: %s\n”, debug ? debug : “none”);
gchar *errObj=GST_OBJECT_NAME(msg->src);//Identify the streaming event that caused the error.
g_free(debug);
g_error_free (error);
/*How do I get the rtspsrc to retry the connection.?*/
//g_main_loop_quit (loop);
}
break;