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?