I want to use Gstreamer with Juce and can’t see how to integrate the two loops. I’d rather use Juce as the main loop, and I have found g_main_context_iteration on that side, to run the gmainloop that it uses, but I can’t find where to run it with the MessageManager so it gets pumped once per pass.
I can certainly use a thread, but since it’s the main part of the app, and GStreamer already puts out threads as needed, that seems redundant and will cause a lot of inter-thread blocking anyway.
I have a feeling someone will say - use a Timer - but really?
Can I, for instance, run my own loop and service Juce (like a plug-in host would) and glib too?