Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing tracers runtime and listening to signals #95

Open
mariannasb opened this issue Jan 14, 2021 · 0 comments
Open

Changing tracers runtime and listening to signals #95

mariannasb opened this issue Jan 14, 2021 · 0 comments

Comments

@mariannasb
Copy link

I'm using gst-shark and tracers inside a custom C gstreamer application.

I have it working in the sense that I set environment variables before starting the program and then Im able to get the result either in stdout/stderr or a file with the contents of stdout/stderr.

But what I'm really interested in is being able to modify the tracers runtime (GST_TRACERS="..."), to enable/disable them based on need.
Is that possible?
will calling 'setenv("GST_TRACERS","...", 1)' after 'gst_init()' work?

And instead of having the results in stdout/stderr or a file would it be possible to listen to signals from tracers so that I can forward information to other applications?
Something like 'g_signal_connect (bus, "message::error", G_CALLBACK (cb_message_error), NULL);'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant