[Live-devel] Live555 support for RTSP over TLS

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Jun 25 16:09:28 PDT 2014


On 06/24/2014 05:41 PM, Ross Finlayson wrote:
>> Do you intend to supply this feature any time soon ?
> If you already have a (TCP) TLS socket set up between your client and
> server, then you can use it now, using existing code.
> 
> In "RTSPClient::createNew()", note the (optional) "socketNumToServer"
> parameter.  You can set this to specify the (TLS) socket number.
> 
> At the server end, note the "ourSocket" parameter to the (protected)
> "RTSPServer" constructor.  You can subclass "RTSPServer", and, in your
> subclass constructor, pass the (TLS) socket number to the "RTSPServer"
> constructor.

Hi Ross,

a related question, if I want to add SRTP, I have found a library which
does it (http://srtp.sourceforge.net/srtp.html), I guess I would have to
implement the groupsock interface using this library, however, I still
guess, because I have not looked in detail that the key(s) used for SRTP
would be negotiated during the RTSP dialog, so the question I have is,
would it be easy to extend the RTSPServer class by subclassing to add
the key negotiation?

Regards.


-- 
                                                                Gilles.


More information about the live-devel mailing list