Page 1 of 1

RTSP/HTTPS support with TLS

Posted: 21 Nov 2018 10:23
by badgeror
Hi
A long time ago (2006) the question of support for RTSP over HTTPS had been asked and debunked as not useful...
Since then the ONVIF protocol has issued the following guidelines: https://www.onvif.org/specs/stream/ONVI ... g-Spec.pdf especially section 5.1.1.4 which specifies that if a device supports TLS, RTSP streaming should be done over HTTPS (all data encrypted to go through this tunnel)

So the question is back : is there any plan to support this in libVLC/VLC?

Thanks
Sebastien

Re: RTSP/HTTPS support with TLS

Posted: 21 Nov 2018 19:05
by Rémi Denis-Courmont
RTSP over X over TCP is not useful. If you use TCP with all its streaming problems, you are better off with HTTP, than RTSP, which will combine the problems of both TCP and RTSP.

Re: RTSP/HTTPS support with TLS

Posted: 26 Nov 2018 15:00
by badgeror
Indeed but some people are keen on encrypting all traffic, hence the use for RTSP over HTTPS... but I guess your answer means it's not supported by VLC :-)

Re: RTSP/HTTPS support with TLS

Posted: 26 Nov 2018 20:29
by Rémi Denis-Courmont
Use HTTPS directly.

Re: RTSP/HTTPS support with TLS

Posted: 04 Oct 2019 11:52
by badgeror
Digging back this question as Ffmpeg now can be compiled with OpenSSL support giving it direct support for RTSP over TLS
Apparently it's also part of the RTSP 2.0 RFC (https://tools.ietf.org/id/draft-ietf-mmusic-rfc2326bis-33.html#rfc.section.19.2)
So once again same question : do you plan on addin gthis support in libvlc anytime soon? or should I go with a custom build to support it?
Cheers
Sebastien

Re: RTSP/HTTPS support with TLS

Posted: 04 Oct 2019 21:08
by Rémi Denis-Courmont
Implementing RTSP 2.0 is several man-years of work. This has been a known problem for over a decade now (yes, the drafts are that old). Nobody has wanted to wait for that long and even less to pay for it.

Re: RTSP/HTTPS support with TLS

Posted: 13 Nov 2019 15:39
by badgeror
I can totally relate to that. So i guess the only way forward on this problem is to use FFMPEG? as latest version support RTSP over HTTPS and RTSPS