Hello Ross, 

Actually, we have a requirement to support at least some secured streaming 
variant, so if we can use RTSP over TLS it will be good even if HTTPS is not 
supported.
Could you please advise me how I can use this TLS? 

On server side I should call this:
rtspServer->setTLSState("d:\\cert\\certificate.crt", 
"d:\\cert\\privatekey.key", true);
is this correct? 

I also have found on RTSP client side only this:
rtspClient->useTLS();
but when I launch RTSP server with TLS enabled, client just shows this and exit:
Created new TCP socket 244 for connection
Connecting to 127.0.0.1, port 8554 on socket 244...
[URL:"rtsp://127.0.0.1:8554/h264ESVideoTest1"]: Failed to get a SDP 
description: liveMedia0
[URL:"rtsp://127.0.0.1:8554/h264ESVideoTest1"]: Closing the stream.

Could you please tell me how to properly configure RTSP server and client to 
use TLS? 

Best regards,
-----------------------------------------
Victor Vitkovskiy
Senior software developer
mailto: victor.vitkovs...@mirasys.com
www.mirasys.com


-----Original Message-----
From: live-devel <live-devel-boun...@us.live555.com> On Behalf Of Ross Finlayson
Sent: Monday, 7 February 2022 11:48
To: LIVE555 Streaming Media - development & use <live-de...@us.live555.com>
Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions

EXTERNAL


> On Feb 7, 2022, at 10:25 PM, Victor Vitkovskiy 
> <victor.vitkovs...@mirasys.com> wrote:
>
> Hello Ross,
>
> Thank you for your answers.
> Related to HTTPS support - I have found this method for RTSP server - 
> setTLSState where we need to specify certificate and private keys.
> So, this is not related to HTTPS or this is not working currently?

The “setTLSState()” function is used to set up the server (with a certificate 
and private key) to accept RTSP connections/commands over TLS (instead of just 
TCP).  It is also used to (optionally) allow the server to stream SRTP (secure 
RTP, over UDP).  (This functionality hasn’t been fully tested yet, which is why 
I haven’t yet said much about it.)

At present, RTSP-over-HTTPS is not supported; just RTSP-over-TLS.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to