Enable RTSP Digest Authentication With Gstreamer

Michael Gruner michael.gruner at ridgerun.com
Mon Aug 30 22:33:15 UTC 2021


Hello Dwight

Here's a working example from the server repo itself:

https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-auth-digest.c <https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-auth-digest.c>

Michael
www.ridgerun.com <http://www.ridgerun.com/>


> On 30 Aug 2021, at 14:09, Dwight Kulkarni via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
> 
> Hi All,
> 
> I have got Gstreamer working with my C++ program and I am using the RTSP server in Gstreamer to work with my pipeline.
> 
> When I visit the network address: rtsp://192.168.0.20/myserviceurl <http://192.168.0.20/myserviceurl>
> 
> It is showing the network stream correctly in VLC Client.
> 
> However, now I want to turn on digest authentication so that we can secure the stream, and it can only be seen when the username and password is supplied in VLC like so:
> 
> rtsp://username:password@192.168.0.20/myserviceurl <http://username:password@192.168.0.20/myserviceurl>
> 
> If my program has a list of users and passwords, how can I register them with the Gstreamer RTSP server and require digest authentication?
> 
> -- 
> Sincerely,
> 
> Dwight Kulkarni      

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210830/220e3523/attachment.htm>


More information about the gstreamer-devel mailing list