Skip to content
Home » ValueError: Namespace GstRtspServer not available

ValueError: Namespace GstRtspServer not available

The Namespace GstRtsperver not available error generally occurs while importing the specific package. It occurs while running the below code.

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

To resolve the issue we need to install the GstRtspServer package. The gir1.2-gst-rtsp-server-1.0 is to be installed. Run the below code to install and happy coding…!!!

sudo apt install gir1.2-gst-rtsp-server-1.0

Also find :

ValueError: Namespace Gst not available

Tags: