<div dir="ltr">I have just noticed this happens with the gst-rtsp-server examples as well.<div><br></div><div>I am using the 1.6 branch.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 March 2016 at 21:50, Serj TorresSoldado <span dir="ltr"><<a href="mailto:torres.soldado@gmail.com" target="_blank">torres.soldado@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div> I am doing a sink -> src push. The sink is in a separate pipeline and the src is created by gst-rtsp-server when creating the media pipeline.</div><div><br></div><div> I have tried both using a pull (need-data signal) and push (new-sample) methods and the result is the same.</div><div><br></div><div> I am copying the buffer from the sink to the source. I am setting the PTS on the copied buffer otherwise after the first client disconnects I am unable to connect again.</div><div><br></div><div> GST_BUFFER_PTS(bufcpy) = client->timestamp_;</div><div> client->timestamp_ += GST_BUFFER_DURATION(bufcpy);</div><div> gst_app_src_push_buffer(client->appsrc_, bufcpy);</div><div><br></div><div> When cofiguring the client I have "played" with the following appsrc properties but they don't seem to make a difference:</div><div><br></div><div><div>  gst_util_set_object_arg(reinterpret_cast<GObject*>(appsrc.Get()), "format", "time");</div><div>  g_object_set(reinterpret_cast<GObject*>(appsrc.Get()), "block", false, nullptr);</div><div>  g_object_set(reinterpret_cast<GObject*>(appsrc.Get()), "is-live", true, nullptr);</div><div>  g_object_set(reinterpret_cast<GObject*>(appsrc.Get()), "do-timestamp", true, nullptr);</div><div>//  g_object_set(reinterpret_cast<GObject*>(appsrc.Get()), "stream-type", "random-access", nullptr);</div><div>//  g_object_set(reinterpret_cast<GObject*>(appsrc.Get()), "max-bytes", 1000, nullptr);</div></div><div><br></div><div>Any help would be awesome, thanks.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Serj</div></font></span></div>
</blockquote></div><br></div>