pgi-docgen icon indicating copy to clipboard operation
pgi-docgen copied to clipboard

cerbero build python bindings causing seg fault

Open jmyth742 opened this issue 3 years ago • 0 comments

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?

jmyth742 avatar Sep 01 '21 10:09 jmyth742