Re: gstreamer-devel Digest, Vol 149, Issue 39

Marianna Smidth Buschle via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Organization Qtechnology
Message-ID <[email protected]>
I would say that probes is the way to do it.

The identity element is, as the description says, just a dummy element 
which contains some diagnostic functions.

In order to have control over the information you are looking for you 
make your own probes.

I have never done heartbeats but used for inspecting framerate, bitrate, 
delay, processing time, etc...

On 27/06/2023 14.00, [email protected] wrote:
> Message: 2
> Date: Mon, 26 Jun 2023 12:39:16 -0700
> From: Divya Sampath Kumar<[email protected]>
> To:[email protected]
> Subject: Identity element vs probes
> Message-ID:
> 	<CAOZbvVzc8AYj4NT+1uiXx1v0k7B+z3N8+DFo5oYdS+bDJ+Gj=w@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello. Can anybody help me with the difference between probes and identity
> element? I have a use case where I have an appsrc acting as a file source
> -> identity -> sink. The identity element is not manipulating the incoming
> buffers, but it is a mechanism to report heartbeats or health of the
> pipeline to suggest there is data flowing from source to sink. But, I am
> noticing that despite having media flow, the identity element's callback
> does not get triggered at times and it is hard to debug why this could be
> happening. So now I am looking into probes as a mechanism to report
> heartbeats periodically, but I do not quite understand the underlying
> difference between the 2 and what I should use for this use case. Anybody
> who has implemented a similar functionality before?
>
> Regards,
> Divya

-- 
Best regards / Med venlig hilsen
“Marianna Smidth Buschle”
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.