BreeeZe / rpos

Raspberry Pi Onvif Server
http://breeeze.github.io/rpos
MIT License
643 stars 146 forks source link

Gstreamer Issue #129

Closed cdaher78 closed 2 years ago

cdaher78 commented 2 years ago

I've built from source using gst-build (branch 1.18.0) and this is the error I'm getting:

** (python:1127): WARNING **: 11:57:16.753: Failed to load shared library 'libgstrtspserver-1.0.so.0' referenced by the typelib: /usr/lib/arm-linux-gnueabihf/libgstrtspserver-1.0.so.0: undefined symbol: GST_CAT_DEFAULT

rtspServer: ./python/gst-rtsp-launch.py:60: Warning: cannot retrieve class for invalid (unclassed) type 'void'
  self.server = GstRtspServer.RTSPServer()
Traceback (most recent call last):
  File "./python/gst-rtsp-launch.py", line 362, in <module>
    codec)
  File "./python/gst-rtsp-launch.py", line 60, in __init__
    self.server = GstRtspServer.RTSPServer()
TypeError: could not get a reference to type class

rtspServer exited with code: 1

Anyone faced some similar issue?

I don't know how to solve this.

DoubleChuang commented 2 years ago

https://github.com/BreeeZe/rpos#step-5c---option-3-using-gstreamer-rtsp-server

cdaher78 commented 2 years ago

I started from the beginning with a fresh Buster image and followed step by step. It worked!

Thanks @DoubleChuang