What is a way of detecting any buffer going through pipeline?

Sebastian Dröge sebastian at centricular.com
Sat Nov 19 10:25:25 UTC 2016


On Thu, 2016-11-17 at 14:47 -0800, killerrats wrote:
> 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.

Additional to what others said, there's also the watchdog element which
will post a custom message on the bus whenever there was no data after
a configurable amount of time.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161119/efcc48ab/attachment.sig>


More information about the gstreamer-devel mailing list