RTSP server access to pipeline bus

Tyler Compton xaviosx at gmail.com
Fri Aug 21 00:03:09 UTC 2020

As you may have found, gst-rtsp-server uses the pipeline's bus and a bus
can only have one watcher. One way around this is to make your own subclass
of RTSPMedia that overrides the "do_handle_message" method. Then, you can
use "set_media_gtype" on your RTSPMediaFactory to make it use your custom
RTSPMedia type.

On Thu, Aug 20, 2020 at 12:07 PM colmekik <iank at colmek.com> wrote:

> I’ve set up a GStreamer RTSP server and gotten it working to stream both
> audio and video the way I’d like. I’m looking for a way to keep track of
> the
> health of the pipelines doing the streaming, e.g. an issue happens with the
> live stream camera, the mic has problems. I’ve been poking around the rtsp
> server’s source and I haven’t found a great place/way to set up call backs
> to monitor if the pipeline errors.
> If it were a simple pipeline I'd be able to get the bus from the pipeline
> and watch for messages.  Is there a way to do this with the rtsp server?
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200820/5d16efa7/attachment.htm>

More information about the gstreamer-devel mailing list