Close RTSP Session on live source element failure

bomba jhonata.poma at
Thu Aug 31 13:13:02 UTC 2017

Hello guys,

In my RTSP server implementation, I acquire video from the laptop's webcam
and audio from an USB dongle.
While running and with a client connected, I accidentally removed my USB
audio dongle, unvealing a possible scenario: one of the pipeline's sources
suddenly disappears. The connected client will still be connected, the
session will still be up.

How is it possible to trap messages coming from the pipeline in order to
terminate the sessions, if there is any?

Sent from:

More information about the gstreamer-devel mailing list