Pipeline thread id

Sebastian Dröge sebastian at centricular.com
Fri Dec 9 09:59:16 UTC 2016


On Fri, 2016-12-09 at 01:36 -0800, LC wrote:
> Hello! 
> 
> As i am launching multiple pipelines with different src element. Like some
> pipelines are with shmsrc, some with rtspsrc and some filesrc, i need some
> common way to understand if specific pipeline streaming thread still works. 
> 
> As i know, if rtspsrc based on TCP-timeout in time 20s does not receive any
> data, rtspsrc will send eos, and stream will cash. Some other sources could
> handle this differently. I dont know it for sure. And once that eos
> signaled, thread will be dead as i suppose. Is it possible to get
> information on each pipeline streaming thread id to create some mapping of
> live streams ? 
> 
> Maybe there is some better ways to handle streaming thread ?

What is it that you want to do with the threads? One way to get
notified about them is via the stream-status messages.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161209/bc00d8eb/attachment-0001.sig>


More information about the gstreamer-devel mailing list