[RFC] provide a bin to GstRtspMediaFactory
Eloi Bail
eloi.bail at gmail.com
Wed Dec 6 08:47:40 UTC 2017
On Tue, Dec 5, 2017 at 8:38 PM, Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:
> Le mardi 05 décembre 2017 à 18:00 +0100, Eloi Bail a écrit :
> > We were thinking about the ability to set / get a bin to a
> > GstRtspMediaFactory.
> > The use case is to be able to modify an element of the pipeline
> > during a live RTSP session without renegotiating a RTSP stream.
>
> This does not work conceptually. The factory will be unable to clone
> the provided GstBin if there is a second connection and the media is
> not shared. You can get the same functionality by connecting the media-
> configured signal and then using gst_rtsp_media_get_element() to get
> the GstBin create from the template provided to the factory. From there
> you can extract the flip element using gst_bin_get_by_name() or the
> _recurse_up() variant if you have multiple level of bins. For an
> example how to interact with RTSP elements see:
>
> https://github.com/GStreamer/gst-rtsp-server/blob/master/
> examples/test-appsrc.cs
>
Perfect. It works like a charm.
Thanks !
Eloi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171206/b30ce9c1/attachment.html>
More information about the gstreamer-devel
mailing list