Accessing hlsdemux stats

Srinath, Kamaldeep kasrinat at
Thu Dec 18 08:45:38 PST 2014

On 12/18/14, 9:44 PM, "Tim Müller" <tim at> wrote:

>On Thu, 2014-12-18 at 21:30 +0530, Srinath, Kamaldeep wrote:
>> I see in the hlsdemux source that it sends two kinds of information
>> under the ³adaptive-streaming-statistics² message name:
>>  (snip)
>> I want to access this information regularly for each
>> fragment/manifest, ideally in a downstream filter, or at least in the
>> pipeline bus message handler. Right now, I am not able to do either of
>> these. Any insight into how I can get this data would be really
>> helpful. I can explain how I am trying to listen for this data
>> currently if useful.
>These should show up on the pipeline's GstBus just like all other
>messages. These messages are of GST_MESSAGE_ELEMENT type, and then you
>need to do gst_message_get_structure() and gst_structure_has_name() to
>check if it's the one you're looking for.
>gst-launch-1.0 playbin -m

Hi Tim,

This is exactly what I have been doing. I try:
   gst_structure_to_string(gst_message_get_structure(msg)) inside

The execution does not seem to get here at all. Hence I was wondering if
it was some other message type. Let me look again to see why this may be.


> -Tim
>Tim Müller, Centricular Ltd -
>gstreamer-devel mailing list
>gstreamer-devel at

More information about the gstreamer-devel mailing list