<div dir="ltr">Based on this question<div><a href="https://lists.freedesktop.org/archives/gstreamer-devel/2015-July/053523.html">https://lists.freedesktop.org/archives/gstreamer-devel/2015-July/053523.html</a><br></div><div><br></div><div>Would <span style="color:rgb(0,0,0);white-space:pre-wrap">gstrtpjitterbuffer work?</span></div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">gst-launch rtspsrc location="<a>rtsp://192.168.4.40:5544/</a>" latency=100 !
gstrtpjitterbuffer ! decodebin ! autoaudiosink</pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-20 14:13 GMT-03:00 Azure1 Sureale <span dir="ltr"><<a href="mailto:sureale.azure1@gmail.com" target="_blank">sureale.azure1@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, I'm trying to have an Android Player receiving a RTSP stream from the internet and play it with very low latency. <div>I'm using Tutorial 5 from the GStreamer home. Without any change my stream has a latency about 2 seconds (worst than Vitamio that I was using previously).</div><div><br></div><div>With futher investigation we realized we could change the latency to 0 in the pipeline using this code:</div><div><br></div><div>******************************<wbr>******************************<wbr>****</div><div><div>data->pipeline = gst_parse_launch("playbin", &error);</div><div>    gst_pipeline_set_latency(data-<wbr>>pipeline,0); //This is what I wrote</div><div><br></div><div>    if (error) {</div><div>    gchar *message = g_strdup_printf("Unable to build pipeline: %s", error->message);</div><div>    g_clear_error (&error);</div><div>    set_ui_message(message, data);</div><div>    g_free (message);</div><div>    return NULL;</div><div>  }</div><br class="m_-3445982556560930512gmail-Apple-interchange-newline">******************************<wbr>******************************<wbr>****</div><div><br></div><div>Now the stream is strutting, alas dropping frames. However the stream is faster than the base code.</div><div>Based on other questions, I tried to add rtpjitterbuffer into the pipeline but seems that is not that simple.</div><div><br></div><div>How can I construct or change the pipeline to have low latency and no strutting?</div></div>
<br>______________________________<wbr>_________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-android" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>android</a><br>
<br></blockquote></div><br></div>