This was misused almost everywhere. See https://gi.readthedocs.io/en/latest/annotations/giannotations.html#support-for-gobject-closures and: https://www.bassi.io/articles/2023/02/20/bindable-api-2023/ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7725>
gst-rtsp-server is a library on top of GStreamer for building an RTSP server There are some examples in the examples/ directory and more comprehensive documentation in docs/README.