<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Il 02/08/2017 17:56, alcosar ha
      scritto:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1501689366258-4684069.post@n4.nabble.com">
      <pre wrap="">Yes, I tried it.It seems to be working.
Though it is not a prove that it is legitimate, and it has not concurrency
issues.</pre>
    </blockquote>
    <br>
    I think it is thread safe, <code>please take a look here:<br>
    </code><code></code><br>
<a class="moz-txt-link-freetext" href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstudpsink.c#n167">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstudpsink.c#n167</a><br>
    <br>
    the actual client is removed using <code>gst_multiudpsink_remove
      and the new client is added using </code><code>gst_multiudpsink_add,</code><code><br>
      <br>
      both this methods are thread safe (note lock = TRUE passed to</code><code>
      gst_multiudpsink_add_internal</code><code>)</code><br>
    <code></code>
    <pre style="padding: 0px; margin: 0px; color: rgb(0, 0, 0); font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><code></code></pre>
    <code><br>
<a class="moz-txt-link-freetext" href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstmultiudpsink.c#n1669">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstmultiudpsink.c#n1669</a><br>
<a class="moz-txt-link-freetext" href="https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstmultiudpsink.c#n1675">https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/udp/gstmultiudpsink.c#n1675</a><br>
      <br>
      for audio only stream you need no additional steps, if you add
      video you need to ensure that the new host receive a keyframe as
      first packet (it will be unable to display video until the first
      keyframe anyway)<br>
      <br>
      Nicola<br>
      <br>
    </code>
    <blockquote type="cite"
      cite="mid:1501689366258-4684069.post@n4.nabble.com">
      <pre wrap="">



--
View this message in context: <a class="moz-txt-link-freetext" href="http://gstreamer-devel.966125.n4.nabble.com/is-it-allowed-to-change-updsink-host-property-dynamically-without-stopping-pipeline-tp4684038p4684069.html">http://gstreamer-devel.966125.n4.nabble.com/is-it-allowed-to-change-updsink-host-property-dynamically-without-stopping-pipeline-tp4684038p4684069.html</a>
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>