Playbin3 Buffering Message

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Playbin3 Buffering Message

Dagomi

Hi all,

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:

switch (GST_MESSAGE_TYPE (msg)) {

  case GST_MESSAGE_BUFFERING: {

    gint percent = 0;

    gst_message_parse_buffering (msg, &percent);

    g_print ("Buffering (%u percent done)", percent);

    break;

  }

 

 

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:

g_object_set(G_OBJECT(rtspPipeline.video_queue), "use-buffering", TRUE, NULL);

 Or I need set any other property?

Thanks in advance

 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin3 Buffering Message

HoonHee Lee
Could you add flags for "GST_PLAY_FLAG_BUFFERING" to playbin3 ?
 
==================
gint f;
g_object_get (G_OBJECT (playbin3), "flags", &f, NULL);
f |= GST_PLAY_FLAG_BUFFERING;
g_object_set (G_OBJECT (playbin3), "flags", f, NULL);
==================
 
Thanks.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel