RTSP/HTTPS support with TLS

This forum is about all development around libVLC.
badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

RTSP/HTTPS support with TLS

Postby badgeror » 21 Nov 2018 10:23

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTSP/HTTPS support with TLS

Postby Rémi Denis-Courmont » 21 Nov 2018 19:05

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

Re: RTSP/HTTPS support with TLS

Postby badgeror » 26 Nov 2018 15:00

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 :-)

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTSP/HTTPS support with TLS

Postby Rémi Denis-Courmont » 26 Nov 2018 20:29

Use HTTPS directly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

Re: RTSP/HTTPS support with TLS

Postby badgeror » 04 Oct 2019 11:52

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTSP/HTTPS support with TLS

Postby Rémi Denis-Courmont » 04 Oct 2019 21:08

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

badgeror
Blank Cone
Blank Cone
Posts: 22
Joined: 15 Oct 2014 15:31
Operating System: Windows
Location: Sophia-Antipolis - FRANCE

Re: RTSP/HTTPS support with TLS

Postby badgeror » 13 Nov 2019 15:39

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests