openwebrtc icon indicating copy to clipboard operation
openwebrtc copied to clipboard

Add Python binding support

Open superdump opened this issue 10 years ago • 5 comments

I've started work on enabling Python binding support in our cerbero build here: https://github.com/superdump/cerbero/tree/pygi

It currently has this issue on OS X: https://gist.github.com/superdump/358454535dcae162ee05

superdump avatar May 31 '15 09:05 superdump

https://github.com/EricssonResearch/cerbero/pull/30

superdump avatar Oct 29 '15 22:10 superdump

I've made some progress on this and have pushed those changes to cerbero. I'll keep going a bit more and hopefully stabilise this and make it more reliable.

superdump avatar Nov 14 '15 13:11 superdump

Is there any documentation on how to connect openwebrtc in to the python environment and run the python tests? Installing with the posted binary packages doesn't seem to be enough:

ImportError: cannot import name Owr, introspection typelib not found

Edit: Nevermind, figured out how to make it work. I just added the following environment variables to add to python's search paths. export GI_TYPELIB_PATH=/opt/openwebrtc-0.3/lib/girepository-1.0/ export LD_LIBRARY_PATH=/opt/openwebrtc-0.3/lib/

andredigenova avatar May 10 '16 20:05 andredigenova

@andrepew Did you get this working with the binary or did you build it?

bitdivision avatar May 13 '16 13:05 bitdivision

@bitdivision I built it myself. I have never tried it with the pre-built binary.

andredigenova avatar May 13 '16 17:05 andredigenova