Is is possible to use GStreamer without a GLib main loop?
Asked Answered
T

1

9

I am trying to use GStreamer as a video backend for a softphone we are developing in house. Our softphone is not GLib based, has its own event loops. Is it possible to set up a gst pipeline and put into various states without having a GMainLoop?

Treharne answered 31/10, 2012 at 12:57 Comment(0)
T
9

Yes, the video streams work independetly, so even a "main loop" like sleep(10) will do the job. However, GLib is needed to capture any events or error messages from the gst pipeline.

Treharne answered 31/10, 2012 at 13:8 Comment(1)
g_main_context_iteration() can be called manually.Krieg

© 2022 - 2024 — McMap. All rights reserved.