[RFC] provide a bin to GstRtspMediaFactory

Nicolas Dufresne nicolas at ndufresne.ca
Tue Dec 5 19:38:00 UTC 2017


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

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171205/9016a585/attachment.sig>


More information about the gstreamer-devel mailing list