Python Bindings for gst-rtsp-server - compilation

vk_gst venkateshkuppan26 at
Thu Nov 22 10:10:14 UTC 2018


I am trying to use gst-rtsp-server in my python application. for this i
included the following :
     import gi
     from gi.repository import GstRtspServer

However, I get the following error: 
  File "/usr/lib/python3/dist-packages/gi/", line 130, in
    raise ValueError('Namespace %s not available' % namespace)

1. Later I tried installing rtsp-server from source from the following repo

2. Compiling this gave me an error saying 'Gst-Rtsp.gir' files are missing
from '/usr/share/gir-1.0'. To resolve this I copied the required '*.gir'
files to  '/usr/share/gir-1.0' from repo :

3. make and make install was success. 

4. However, when importing this GstRtspServer in my application, I still
have the issue : 
    ValueError: Namespace GstRtspServer not available

5. I have seen a number of posts on this issue, and also tried different
solutions suggested, however this still is not resolved.

Does anyone have any pointers towards this issue ? 


Sent from:

More information about the gstreamer-devel mailing list