Handle ERROR or EOS in my gst-rtsp-server application

Aniket Hande anikethande779 at gmail.com
Mon Jun 19 11:43:08 UTC 2023


I'm trying to write a custom error or eos handler in my gstreamer rtsp
server application.
The reason is I wanted to catch the "error" signal raised by my watchdog

I have created a pipeline bin and overriden the create_element method of
GstRTSPMediaFactory class. Then I tried to add a watch to my pipeline but
it didn't work. I also tried to attach "media-configure" signal to the
factory object and do the bus watch thing inside the signal handler but
that didn't work either.

Has anyone done something like this? I'm attaching code for reference. Any
help would be appreciated, thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230619/4249e0a1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-launch.c
Type: text/x-csrc
Size: 3269 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230619/4249e0a1/attachment.c>

More information about the gstreamer-devel mailing list