Routing logging for each pipeline
Tyler Compton
xaviosx at gmail.com
Wed Aug 5 22:38:17 UTC 2020
Hi list,
I'm working on an application that handles multiple video streams with
GStreamer, and I would like to be able to present users with logging
information for each stream in the UI to make it easier for users to
diagnose problems. For my application, a "video stream" has only one
pipeline associated with it.
In order to capture GStreamer logs, I'm installing a new handler
with Gst.debug_add_log_function, which provides me some information
alongside the actual log message. However, it's not clear to me how I
should sort logs by their pipeline with this information. I assume the key
is the "object" field given to my log handler, but considering this object
can be of any type, I'm not sure how to reliably figure out which pipeline
this object is from.
I'm using GStreamer 1.16.2 with PyGObject.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200805/4fd09597/attachment.htm>
More information about the gstreamer-devel
mailing list