RTSP server catch-all URL or empty node

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RTSP server catch-all URL or empty node

Gregoire Gentil
Hello,

Is it possible with gst_rtsp_* to have a catch-all URL so that anything
triggered on rtsp://ip:port/* is handled by the gstreamer RTSP server?

Similarly, is it possible to handle the empty node such as
rtsp://ip:port? I tried:
gst_rtsp_mount_points_add_factory(mounts, "/", factory);
gst_rtsp_mount_points_add_factory(mounts, "", factory);
but it's not working.

Thanks for any clarification,

Grégoire
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP server catch-all URL or empty node

Tim Müller
On Fri, 2018-02-23 at 09:55 -0800, Grégoire Gentil wrote:

Hi,

> Is it possible with gst_rtsp_* to have a catch-all URL so that
> anything  triggered on rtsp://ip:port/* is handled by the gstreamer
> RTSP server?
>
> Similarly, is it possible to handle the empty node such as
> rtsp://ip:port?

You could subclass GstRTSPMountPoints and override the ::make_path()
virtual method. That should allow you to do these things.

Cheers
-Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel