What is a way of detecting any buffer going through pipeline?
Mandar Joshi
emailmandar at gmail.com
Fri Nov 18 05:43:38 UTC 2016
> I am connecting to a live source rtsp. If the rtsp server is disconnected how
> can you detect no more buffer and end the pipeline? I am currently using a
> g_timeout_add_seconds every second.
Can you check if adding gst_bus_add_watch (GstBus *bus, GstMessage
*msg, gpointer data) and looking for GST_MESSAGE_EOS in
GST_MESSAGE_TYPE (msg) works for you.
Regards
Mandar Joshi
More information about the gstreamer-devel
mailing list