GstRtspServer grabbing pipelines/bin to clients

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GstRtspServer grabbing pipelines/bin to clients

evaluat0r
I’m looking for a way to get a handle on the pipeline/bin associated with a client that made a request to GstRstpServer. I see I can supply a call back on client connects which gives me both the server and client objects, but no way to access the bin that represents the pipeline.

I want to take this bin to generate a dot file.
Reply | Threaded
Open this post in threaded view
|

Re: GstRtspServer grabbing pipelines/bin to clients

Marianna S. Buschle
If the server or client are GstElement* you should be able to get the parent:

https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c#GST_ELEMENT_PARENT