AW: Getting pipeline for GstRTSPServer

Thornton, Keith keith.thornton at
Wed Apr 7 13:18:42 UTC 2021

there are lots of ways to access the elements in a pipeline depending upon where you are starting from. 
e.g. if you have an element with a name such as pay0 you might use


I personally don't use valve, I prefer to use a pad-probe to decide which data should flow and which data to drop.
If you want to stop recording it is better to send an EOS down the pipeline and then wait for the EOS message on the bus.

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at> Im Auftrag von watertreader
Gesendet: Mittwoch, 7. April 2021 08:29
An: gstreamer-devel at
Betreff: Getting pipeline for GstRTSPServer


GstRTSPServer is used in my appplication to launch a video stream. However I would require greater control (to start/stop/record/Restream a file) which can only be achieve if I have the access to the pipeline object?

Is there a way beside subclassing GstRTSPMEdiaFactory to get GstPipeline (or maybe to get GstRTSPMedia or GstBin)? Or is there other way to do the above

Also would need some comments on the following control techniques
  >>>>   using valve(to control for start/stop/record) 
 >>>>   using threads... maybe start video recording in Gthreads... then
when time comes to stop video recording... kill the threads


Sent from:
gstreamer-devel mailing list
gstreamer-devel at

More information about the gstreamer-devel mailing list