<div dir="ltr"><p class="MsoNormal" style="margin-bottom:10pt;line-height:115%"><span lang="EN-US">Hi all,<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:10pt;line-height:115%"><span lang="EN-US">I'm implemented a player dash using the element Playbin3. I need perform
a pre buffering control. I implement the Buffering control explain in the
documentation of Gstreamer documentation:<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:115%"><span lang="EN-US">switch (GST_MESSAGE_TYPE (msg)) {<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:115%"><span lang="EN-US"> case
GST_MESSAGE_BUFFERING: {<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:115%"><span lang="EN-US"> gint
percent = 0;<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:115%"><span lang="EN-US">
gst_message_parse_buffering (msg, &percent);<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:115%"><span lang="EN-US">
g_print ("Buffering (%u percent done)", percent);<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:115%"><span lang="EN-US">
break;<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span lang="EN-US"> }<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-bottom:10pt;line-height:normal"><span lang="EN-US">But the Playbin3 don’t emit GST_MESSAGE_BUFFERING in the Bus of
Messages. I needed set the "use-buffering" properties in the internal
queue element? Like:<span></span></span></p>
<p class="MsoNormal" style="margin-bottom:10pt;line-height:normal"><span lang="EN-US" style="font-size:9.5pt;font-family:consolas;color:green">g_object_set(G_OBJECT(rtspPipeline.video_queue),
"use-buffering", TRUE, NULL);</span><span lang="EN-US" style="font-size:9.5pt;font-family:consolas;color:black"><span></span></span></p>
<p class="MsoNormal" style="margin-bottom:10pt;line-height:normal"><span lang="EN-US"> Or I need set any other property?<span></span></span></p><p class="MsoNormal" style="margin-bottom:10pt;line-height:normal"><span lang="EN-US">Thanks in advance</span></p>
<p class="MsoNormal" style="margin-bottom:10pt;line-height:normal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p></div>