pygobject / pgi-docgen

API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/
GNU Lesser General Public License v2.1
127 stars 36 forks source link

cerbero build python bindings causing seg fault #206

Open jmyth742 opened 2 years ago

jmyth742 commented 2 years ago

Hi Guys,

I have built gst and the relevant packages to test the webrtcbin related items on ubuntu 18.04, within the cerbero env.

This builds fine and i can using the gst-launch-1.0 cli run the various aspect of the gstreamer ecosystem.

I am trying to implement a webrtcbin related pipeline for audio. From within the cerbero "gst-shell" i am trying to run the the example sendrecv.py found at https://github.com/centricular/gstwebrtc-demos - however this is giving me segmentation fault when i try to do the imports

import gi
gi.require_version('Gst', '1.0')
from gi.repository import Gst
gi.require_version('GstWebRTC', '1.0')
from gi.repository import GstWebRTC
gi.require_version('GstSdp', '1.0')
from gi.repository import GstSdp

specifically when the above imports is trying to load gi.repository.GModule. I am wondering if anyone can shed some light on where i seem to have my paths messed up , or where i need to move something too?