<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 5, 2017 at 8:38 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le mardi 05 décembre 2017 à 18:00 +0100, Eloi Bail a écrit :<br>
</span><span class="">> We were thinking about the ability to set / get a bin to a<br>
> GstRtspMediaFactory.<br>
> The use case is to be able to modify an element of the pipeline<br>
> during a live RTSP session without renegotiating a RTSP stream.<br>
<br>
</span>This does not work conceptually. The factory will be unable to clone<br>
the provided GstBin if there is a second connection and the media is<br>
not shared. You can get the same functionality by connecting the media-<br>
configured signal and then using gst_rtsp_media_get_element() to get<br>
the GstBin create from the template provided to the factory. From there<br>
you can extract the flip element using gst_bin_get_by_name() or the<br>
_recurse_up() variant if you have multiple level of bins. For an<br>
example how to interact with RTSP elements see:<br>
<br>
<a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-appsrc.cs" rel="noreferrer" target="_blank">https://github.com/GStreamer/<wbr>gst-rtsp-server/blob/master/<wbr>examples/test-appsrc.cs</a><br>
<span class="HOEnZb"></span></blockquote><div><br></div><div>Perfect. It works like a charm. <br></div><div>Thanks !</div><div><br></div><div>Eloi<br></div></div></div></div>