Integrating Latest GLib in GStreamer
Hi Team,
We have a Voice Mail server application integrated with GStreamer1.12 to transcode audio data. The software is running fine since few years without any major issues. Recently, one of our customer reported Memory leak in the application.
On reviewing the UMDH (memory leak tool) logs, we notice that it is pointing to Glib function. In this regard we have posted a query here (g_source_remove method call is getting stuck (leading corresponding thread to get stuck) (#96 (closed)) · Issues · GStreamer / gstreamer-project · GitLab ) .
As per your suggestion, we are trying to upgrade to latest 1.20 from GStreamer 1.12.
Since the issue is pointing to Glib, we have posted query in GNome forum and they suggested to use the latest Glib (2.72.3) version which has memory leak fix pertaining to the area of interest.
On looking at the GStreamer 1.20 release; we understand that it has Glib 2.62.6 version integrated with it. However, the memory leak fix is given in Glib 2.72.3 version.
Thus, we took help from GNOME community and built latest Glib and tried replacing the latest Glib 2.72.3 in GStreamer1.20 folder and tested it.
We have compiled our application using GStreamer 1.20 headers and libs (replaced with latest Glib dll’s).
Also in GStreamer installation folder, we have replaced the latest Glib’s.
But our application is failing to integrate with G-Streamer when we process the call. This looks to be pure library mis-match issue.
Please help us with the procedure to include latest Glib’s in GStreamer 1.20 version.
Do the GStreamer need to be compiled with the latest Glib version? If yes, kindly point us with the procedure on how to do the same?
Our Application is built on Visual Studio 2012 and runs on Windows. Please let us know the correct G-streamer that we need to download i.e., MSVC or MinGW as we have used GStreamer 1.12 which did not have the MSVC or MinGW version?
The software levels we are using as below,
- Our Media server application built in VS 2012 and runs on Windows-2016 Server.
- GStreamer 1.20 MinGW 32 bit. Please correct us based on the information provided above.
- Required latest Glib version 2.72.3.
- We have compiled Glib 2.72.3 in VS2019 and tried integrating Glib and GObject with GStreamer 1.20 MSVC version. When we tried to run call, it fails. Does the Glib 2.72.3 and GObject works well with GStreamer 1.20 MSVC version?
Please advise us how to proceed on using the latest Glib in GStreamer.
Thanks in Advance, Gokila